Fix xml.el regression introduced by 2012-01-27 change.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
18edb22d
CY
12012-04-21 Chong Yidong <cyd@gnu.org>
2
3 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4 reaching eob (Bug#11286).
5
4b932ea2
PE
62012-04-20 Richard Stallman <rms@gnu.org>
7
8 Fix logic for returning to and yanking from Rmail buffer.
9
10 * mail/rmail.el (rmail-start-mail):
11 Pass (rmail-mail-return...) for the return-action.
12 Pass (rmail-yank-current-message...) for the yank-action.
13 (rmail-yank-current-message): New function.
14 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
15 (rmail-reply): Likewise.
16 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
17
18 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
19 buffer, not the last. Reject temp buffers. Use the rmail-mode
20 buffer, not newbuf.
21
9ee9f470
EZ
222012-04-20 Eli Zaretskii <eliz@gnu.org>
23
24 * progmodes/gdb-mi.el (gdb-control-level): New variable.
25 (gdb): Make it buffer-local and init to zero.
26 (gdb-control-commands-regexp): New variable.
27 (gdb-send): Don't wrap in "-interpreter-exec console" if
28 gdb-control-level is positive. Increment gdb-control-level
29 whenever the command matches gdb-control-commands-regexp, and
30 decrement it each time the command is "end". (Bug#11279)
31
41cfe0cb
MR
322012-04-20 Martin Rudalics <rudalics@gmx.at>
33
34 * window.el (adjust-window-trailing-edge, enlarge-window)
35 (shrink-window, window-resize):
36 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
37 windows (Bug#11276).
38
54071013
DN
392012-04-20 Dan Nicolaescu <dann@gnu.org>
40
41 * battery.el (battery-echo-area-format): Display remaining time
42 for sysfs backend too (Bug#11269).
43 (battery-linux-sysfs): Fix conditional for the charge.
44
f30d612a
CY
452012-04-20 Chong Yidong <cyd@gnu.org>
46
47 * progmodes/gdb-mi.el (gdb): Revert 2012-04-19 change.
48 (gdb-inferior-io--init-proc): New function.
49 (gdb-init-1): Use it.
50 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
51 responsible for allocating a new pty and hooking it to gdb when
52 the old pty gets an EIO due to process exit.
53 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
54 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
55 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
56
2116e93c
EZ
572012-04-20 Eli Zaretskii <eliz@gnu.org>
58
59 * window.el (window-min-size, window-sizable, window-min-delta)
60 (window-max-delta, window--resizable, window-resizable)
61 (window-total-size, window-full-height-p, window-full-width-p)
62 (window-in-direction, window--resize-mini-window, window-resize)
63 (window--resize-child-windows-normal)
64 (window--resize-child-windows, window--resize-siblings)
65 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 66 (enlarge-window, shrink-window): Doc fixes.
2116e93c 67
b668fa6e
CY
682012-04-19 Chong Yidong <cyd@gnu.org>
69
70 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty): New
71 function to call delete-process on the gdb-inferior buffer's pty.
72 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
73 pty process (Bug#11273).
74 (gdb-update): New arg to suppress talking to the gdb process.
75 (gdb-done-or-error): Use it.
76 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
77 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
78 sentinel not being called.
79
80 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
81
d02766ab
CY
822012-04-18 Chong Yidong <cyd@gnu.org>
83
84 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
85
016a35df
GM
862012-04-18 Glenn Morris <rgm@gnu.org>
87
88 * net/network-stream.el (open-network-stream): Doc fix.
89
2c070447
CY
902012-04-17 Chong Yidong <cyd@gnu.org>
91
92 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
93
f0f6bc35
AM
942012-04-16 Alan Mackenzie <acm@muc.de>
95
96 Ensure searching for keywords is case sensitive.
97
98 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
99 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
100 (c-defun-name, c-mark-function, c-cpp-define-name)
101 (c-comment-indent, c-scan-conditionals, c-indent-defun)
102 (c-context-line-break): bind case-fold-search to nil.
103
104 * progmodes/cc-mode.el (c-font-lock-fontify-region): bind
105 case-fold-search to nil.
106
4fc2c72a
CY
1072012-04-16 Chong Yidong <cyd@gnu.org>
108
109 * mail/sendmail.el (mail-bury): Call return action with the right
110 Rmail buffer (Bug#11242).
111
9a864fa2
CY
1122012-04-15 Chong Yidong <cyd@gnu.org>
113
114 * server.el (server-process-filter): Handle corner case where both
115 tty and nowait options are present (Bug#11102).
116
e153c136
GM
1172012-04-15 Glenn Morris <rgm@gnu.org>
118
119 * simple.el (process-file-side-effects): Doc fix.
120
ca7d96c8
GM
1212012-04-14 Glenn Morris <rgm@gnu.org>
122
123 * international/mule-cmds.el (set-language-environment): Doc fix.
124
9c2d6a4a
SM
1252012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
126
127 Avoid the use of ((lambda ...) ...) in lexical-binding code.
128 * emacs-lisp/easy-mmode.el (define-minor-mode):Use funcall (bug#11241).
129
9557e2be
CY
1302012-04-13 Kim F. Storm <storm@cua.dk>
131
132 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
133 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
134
81927dd2
CY
1352012-04-12 Chong Yidong <cyd@gnu.org>
136
137 * custom.el (custom-theme-set-variables): Doc fix.
138
8edb942b
GM
1392012-04-12 Glenn Morris <rgm@gnu.org>
140
141 * international/mule.el (set-auto-coding-for-load): Doc fix.
142
4517fe3a
SM
1432012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
144
145 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
146 Reported by Noah Friedman. Backport from trunk.
147
0de3da9f
AM
1482012-04-11 Alan Mackenzie <acm@muc.de>
149
4517fe3a
SM
150 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression):
151 Make imenu work again for Objective C Mode. Correct the *-index
152 values, these having been disturbed by a previous change in 2011-08.
57f845ee 153
0de3da9f
AM
154 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
155 Correct two search limits.
156
ede141ac
SM
1572012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
158
159 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
160
d0203d61
AS
1612012-04-10 Andreas Schwab <schwab@linux-m68k.org>
162
163 * international/characters.el: Fix sorting.
164
cb80bcd1
EZ
1652012-04-10 Eli Zaretskii <eliz@gnu.org>
166
167 * international/characters.el: Add more missing Latin case pairs.
168
0d93216c
AS
1692012-04-10 Andreas Schwab <schwab@linux-m68k.org>
170
171 * international/characters.el: Recover lost case pairs.
172
4a427f58
GM
1732012-04-10 Glenn Morris <rgm@gnu.org>
174
175 * files.el (dir-locals-set-class-variables): Doc fix.
176
9f847f41
EZ
1772012-04-09 Eli Zaretskii <eliz@gnu.org>
178
3f1b5bf8
EZ
179 * international/characters.el: Add set-case-syntax-pair call for
180 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
181 counterpart. (Bug#11209)
182
9f847f41
EZ
183 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
184
0c2014a3
GM
1852012-04-09 Glenn Morris <rgm@gnu.org>
186
187 * calendar/holidays.el (calendar-check-holidays): Doc fix.
188
e2627d21
EZ
1892012-04-08 Eli Zaretskii <eliz@gnu.org>
190
191 * textmodes/ispell.el (ispell-dictionary-base-alist): Add data for
192 Hebrew.
193
5c14e333
CY
1942012-04-08 Chong Yidong <cyd@gnu.org>
195
196 * net/rcirc.el (rcirc-cmd-quit): Revert 2012-03-18 change
197 (Bug#11192).
198
bf6fa423
GM
1992012-04-07 Glenn Morris <rgm@gnu.org>
200
201 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
202
82b24fb2
EZ
2032012-04-07 Eli Zaretskii <eliz@gnu.org>
204
4517fe3a
SM
205 * minibuffer.el (completion-in-region-mode-map):
206 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 207
f23d2c7d
LMI
2082012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
209
210 * window.el (shrink-window): Mention the `window-min-height'
211 variable in the doc string.
212
0a0a3573
BG
2132012-04-05 Bastien Guerry <bzg@altern.org>
214
215 * color.el (color-lighten-name): Fix typo.
216
e5248ac9
SM
2172012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
218
219 * server.el (server--on-display-p): New function.
220 (server--on-display-p): Use it.
221
b4243e22
GV
2222012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
223
224 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
225 (bug#11145).
226
305d9f44
SM
2272012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
228
229 * comint.el (comint--common-quoted-suffix): Check string boundary
230 before comparing (bug#11158).
231 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
232
3d439cd1
CY
2332012-04-04 Chong Yidong <cyd@gnu.org>
234
321cc491
CY
235 * minibuffer.el (completion-extra-properties): Doc fix.
236
3d439cd1
CY
237 * subr.el (delayed-warnings-hook): Doc fix.
238
2d562c0f
DU
2392012-04-04 Daiki Ueno <ueno@unixuser.org>
240
241 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
242 selection (Bug#11159).
243 (epa-insert-keys): Inform that the default public key will be
244 exported if no key is selected.
245
4443f204
RS
2462012-04-04 Richard Stallman <rms@gnu.org>
247
248 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
249
529c06b6
CY
2502012-04-03 Chong Yidong <cyd@gnu.org>
251
252 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
253 mail-insert-file, not its obsolete alias mail-attach-file.
254
66b907dc
MA
2552012-04-03 Michael Albinus <michael.albinus@gmx.de>
256
257 * notifications.el (notifications-notify): Fix docstring.
258
c0ea195d
GM
2592012-04-02 Glenn Morris <rgm@gnu.org>
260
261 * emacs-lisp/authors.el (authors-aliases): Another addition.
262
5ca64e00
MA
2632012-04-02 Michael Albinus <michael.albinus@gmx.de>
264
265 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
266 `tramp-compat-call-process' instead of `tramp-local-call-process'.
267 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
268
42ee526b
CY
2692012-04-01 Chong Yidong <cyd@gnu.org>
270
271 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
272 Handle root directory properly.
273 (copy-directory): Caller changed.
274
275 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
276 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
277
0b021094
GM
2782012-03-31 Glenn Morris <rgm@gnu.org>
279
40f86458
GM
280 * term/xterm.el (xterm-extra-capabilities): Doc fix.
281
7019c177
GM
282 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
283
a1daddd6
GM
284 * calendar/calendar.el (calendar-window-list)
285 (calendar-hide-window): Restore. (Bug#11140)
286 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
287
0b021094
GM
288 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
289
40311efc
TV
2902012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
291
292 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
293 Check if file is a symlink (Bug#10489).
294
295 * files.el (copy-directory): Likewise.
296
5319014e
CY
2972012-03-30 Chong Yidong <cyd@gnu.org>
298
299 * image.el (imagemagick-types-inhibit)
300 (imagemagick-register-types): Doc fix.
301
935d1290
AM
3022012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
303
304 * ispell.el (ispell-get-extended-character-mode): Disable
305 extended-char-mode for hunspell. hunspell does not support it and
306 treats ~word as ordinary words in pipe mode.
307
61c6e8fd
GM
3082012-03-30 Glenn Morris <rgm@gnu.org>
309
310 * tutorial.el (help-with-tutorial): Ensure local variables don't
311 happen to make the buffer read-only. (Bug#11127)
312
81fdff00
SM
3132012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
314
315 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
316 (perl-calculate-indent): Return `noindent' in strings.
317
6e7a6ec0
SS
3182012-03-28 Sam Steingold <sds@gnu.org>
319
320 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
321 instead of the broken adhockery which does not prevent calendar
322 buffers from being displayed at random after exit.
323 (calendar-window-list, calendar-hide-window): Remove the broken
324 adhockery.
325
fee88ca0
GM
3262012-03-28 Glenn Morris <rgm@gnu.org>
327
328 * replace.el (query-replace-map): Doc fix.
329
38de3354
AS
3302012-03-28 Andreas Schwab <schwab@linux-m68k.org>
331
332 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
333 contents. (Bug#11109)
334
b973155e
SM
3352012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
336
337 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
338 (bug#11077).
339 (avl-tree--check, avl-tree--check-node): New funs.
340
dcb6e7b3
MR
3412012-03-27 Martin Rudalics <rudalics@gmx.at>
342
343 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
344 (switch-to-prev-buffer, switch-to-next-buffer):
345 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
346 showing a buffer already is done on the same frame.
347
b4fa35fa
GM
3482012-03-27 Glenn Morris <rgm@gnu.org>
349
350 * startup.el (mail-host-address): Doc fix.
351
f9210e18
SM
3522012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
353
354 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
355 than 197 variables.
356
c0bf7753
AF
3572012-03-26 Ami Fischman <ami@fischman.org>
358
359 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
360
33da7b16
GM
3612012-03-26 Glenn Morris <rgm@gnu.org>
362
02243d9d
GM
363 * files.el (save-buffers-kill-emacs): Doc fix.
364
33da7b16
GM
365 * startup.el (normal-top-level, command-line, command-line-1):
366 Give them doc strings.
367
e5a69fd0
EZ
3682012-03-25 Eli Zaretskii <eliz@gnu.org>
369
370 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 371 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 372
9a69676a
CY
3732012-03-25 Chong Yidong <cyd@gnu.org>
374
4125cb8b
CY
375 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
376 theme if it was previously enabled before (Bug#11031).
377
dd470960
CY
378 * cus-theme.el (custom-theme-write-faces): Retrieve current face
379 spec with custom-face-get-current-spec if its :shown-value is not
380 determined yet (Bug#9337).
4125cb8b 381 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 382
9a69676a
CY
383 * button.el (button-at): Minor addition to docstring.
384
6e7e90fa
SL
3852012-03-24 Simon Leinen <simon.leinen@gmail.com>
386
387 * vc/vc.el (vc-merge): Fix a prompt.
388
f06e2758
CY
3892012-03-24 Chong Yidong <cyd@gnu.org>
390
391 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
392 point (Bug#9623).
393
6e7e90fa
SL
394 * button.el (button-at): Minor addition to docstring.
395
b9d0879b
SM
3962012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
397
398 * newcomment.el (comment-choose-indent): No space after BOL.
399
e71cebb3
SS
4002012-03-22 Sam Steingold <sds@gnu.org>
401
402 * window.el (switch-to-prev-buffer): Revert last patch because the
403 bug turned out to be an advertised feature (Elisp manual 28.14).
404
335aff35
GM
4052012-03-22 Glenn Morris <rgm@gnu.org>
406
407 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
408 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
409
c676576a
LMI
4102012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
411
412 * net/network-stream.el (network-stream-open-starttls): Make error
413 message under Windows be less misleading.
414
126f3d39
LW
4152012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
416
417 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
418 understands (bug#9942).
419
64fee311
CY
4202012-03-22 Chong Yidong <cyd@gnu.org>
421
422 * simple.el (end-of-visible-line): Handle return value of
423 next-single-property-change properly (Bug#9371).
424
a640d29a
KH
4252012-03-22 Kenichi Handa <handa@m17n.org>
426
427 * international/quail.el (quail-insert-kbd-layout): Fix previous
428 change. To avoid unwanted bidi reordering, use
429 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
430
39675016
DG
4312012-03-21 Dmitry Gutov <dgutov@yandex.ru>
432
433 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
434 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
435 (ruby-beginning-of-indent): Be more careful with the difference
436 between word-boundary and symbol boundary.
437 (ruby-mode-syntax-table): Make : a symbol constituent.
438
0a6934fc 4392012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 440
3d008e4f
SM
441 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
442
0a6934fc
SM
4432012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
444
af67c9d7
SM
445 * progmodes/etags.el (tags-completion-at-point-function):
446 Improve last fix.
447
1acad97c
SM
448 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
449
e298b5da
SS
4502012-03-21 Sam Steingold <sds@gnu.org>
451
452 * progmodes/etags.el (tags-completion-at-point-function):
453 Avoid the error when point is inside the pattern.
454
91d82a70
JY
4552012-03-21 John Yates <john@yates-sheets.org> (tiny change)
456
457 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
458 line (Bug#10855).
459
69188b79
CY
4602012-03-21 Drew Adams <drew.adams@oracle.com>
461
462 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
463
99fc91fe
AK
4642012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
465
466 * ido.el (ido-set-current-directory, ido-read-internal)
467 (ido-choose-completion-string, ido-completion-help): Handle nil
468 value of ido-completion-buffer (Bug#11008).
469
087bbb4c
SS
4702012-03-21 Sam Steingold <sds@gnu.org>
471
472 * window.el (switch-to-prev-buffer): Do not switch to a visible
473 window previous buffer, just like with the frame previous buffers.
474
fb5b8aca
CY
4752012-03-21 Chong Yidong <cyd@gnu.org>
476
477 * faces.el (make-face, make-empty-face, copy-face):
478 * face-remap.el (face-remap-add-relative, face-remap-set-base):
479 Doc fixes.
480
dc9924b8
SM
4812012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
482
483 * wid-edit.el (widget-complete-field): Remove (bug#11051).
484 (widget-complete): Remove broken use of it.
485
f0bcceb9
CY
4862012-03-20 Chong Yidong <cyd@gnu.org>
487
dc9924b8
SM
488 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
489 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
490 characters.
491
ee52ebf3
TH
4922012-03-20 Tassilo Horn <tassilo@member.fsf.org>
493
494 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
495 to draw rectangles, not squares. (Regression introduced by revno
496 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
497
4c5779ab
CY
4982012-03-18 Chong Yidong <cyd@gnu.org>
499
500 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
501 it is not yet defined (for temacs).
502
15360934
LL
5032012-03-18 Leo Liu <sdl.web@gmail.com>
504
dc9924b8 505 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 506
d9a8eb66
EZ
5072012-03-17 Eli Zaretskii <eliz@gnu.org>
508
509 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
510 (ispell-choices-win-default-height, ispell-silently-savep)
511 (ispell-dictionary-alist, ispell-encoding8-command)
512 (ispell-check-version, ispell-aspell-find-dictionary)
513 (ispell-valid-dictionary-list, ispell-words-keyword)
514 (ispell-get-word, ispell-internal-change-dictionary)
515 (ispell-region, ispell-skip-region-list)
516 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
517 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
518 (ispell-message-text-end, ispell-message)
519 (ispell-buffer-local-parsing): Doc fix.
520
f02ff80d
J
5212012-03-13 Jambunathan K <kjambunathan@gmail.com>
522
523 * htmlfontify.el: Add support for code block fontification for ODT
524 export (Bug #9914).
525 (hfy-optimisations): Define new option
526 `body-text-only'
527 (hfy-fontify-buffer): Honor above setting.
528 (hfy-begin-span, hfy-end-span): New routines factored out form
529 `hfy-fontify-buffer'.
530 (hfy-begin-span-handler, hfy-end-span-handler): New variables
531 that permit insertion of custom tags.
532 (hfy-fontify-buffer): Use above handlers.
533 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
534 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 535 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
f02ff80d
J
536 over multiple runs. This is made possible by having the caller let
537 bind a special variable `hfy-user-sheet-assoc'.
538 (htmlfontify-string): New defun.
539 (hfy-compile-face-map): Make sure that the last char in the
540 buffer is correctly fontified.
541 (hfy-face-resolve-face): Whitespace only change.
542
9ac7a13f
EZ
5432012-03-17 Eli Zaretskii <eliz@gnu.org>
544
545 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
546 message more clear.
547
e2b5bdd7
LL
5482012-03-16 Leo Liu <sdl.web@gmail.com>
549
550 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
551
2e492df3
AM
5522012-03-16 Alan Mackenzie <acm@muc.de>
553
554 Further optimise the handling of large macros.
555
556 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
557 limit to a call of `c-literal-limits'.
558 (c-determine-+ve-limit): New function.
dc9924b8
SM
559 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
560 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
561 In CASE 5B, restrict a search limit to 500.
562 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
563
564 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
565 Restrict macro bounds to +-500 from after-change's BEG END.
566
50e94f0c
LL
5672012-03-16 Leo Liu <sdl.web@gmail.com>
568
569 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
570
6f09f6ed
AH
5712012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
572
573 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 574 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 575
c7e73d51
GM
5762012-03-16 Glenn Morris <rgm@gnu.org>
577
da986230
GM
578 * view.el (view-buffer, view-buffer-other-window)
579 (view-buffer-other-frame): Doc fixes re special mode-class.
580
0835f01e
GM
581 * subr.el (eval-after-load): If named feature is provided not from
582 a file, run after-load forms. (Bug#10946)
583
c7e73d51
GM
584 * calendar/calendar.el (calendar-insert-at-column):
585 Handle non-unit-width characters a bit better. (Bug#10978)
586
3f2eafd1
CY
5872012-03-15 Chong Yidong <cyd@gnu.org>
588
589 * emacs-lisp/ring.el (ring-extend): New function.
590 (ring-insert+extend): Extend the ring correctly (Bug#11019).
591
592 * comint.el (comint-read-input-ring)
593 (comint-add-to-input-history): Grow comint-input-ring lazily.
594
103af3fe
SM
5952012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
596
663b1677
SM
597 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
598 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
599
103af3fe
SM
600 * imenu.el: Fix multiple inheritance breakage (bug#9199).
601 (imenu-add-to-menubar): Don't add a redundant index.
602 (imenu-update-menubar): Handle a dynamically composed keymap.
603
899cb7cb
KY
6042012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
605
606 * mail/sendmail.el (mail-encode-header):
607 Bind rfc2047-encode-encoded-words to nil.
608
3809f91d
GM
6092012-03-13 Glenn Morris <rgm@gnu.org>
610
611 * calendar/calendar.el (calendar-string-spread):
612 Handle non-unit-width characters a bit better. (Bug#10978)
613
9e345a01
LL
6142012-03-13 Leo Liu <sdl.web@gmail.com>
615
616 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
617 directory and file as argument (Bug#10822).
618
4a07df36
KS
6192012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
620
621 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
622 For dynamically generated code, follow $PC.
623 (gdb-disassembly-handler-custom): Handle no function name case.
624
4aaa9356
TL
6252012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
626
627 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
628 * emulation/ws-mode.el (ws-query-replace):
629 * sort.el (sort-regexp-fields):
630 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
631
225979da
SM
6322012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
633
634 * dabbrev.el: Fix cycle completion order (bug#10963).
635 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
636 (dabbrev-completion): Don't use an obarray; provide
637 a cycle-sort-function.
638
e2f1fdab
LL
6392012-03-12 Leo Liu <sdl.web@gmail.com>
640
dc9924b8 641 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
642 (kill-do-not-save-duplicates): Doc fix.
643
b19490ed
SM
6442012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
645
646 * dabbrev.el: Fix cycle completion (bug#10963).
647 Use lexical binding and wrap to 80 columns.
648 (dabbrev-completion): Delay computing the list of completions.
649
4b05d722
KH
6502012-03-12 Kenichi Handa <handa@m17n.org>
651
652 * international/quail.el (quail-insert-kbd-layout): Surround each
653 row by LRO and PDF instead of inserting many LRMs. Pad the left
654 and right of each non-spacing marks. Insert invisible space
655 between lower and upper characters to prevent composition.
656
dbbc2e69
SM
6572012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
658
659 * minibuffer.el (minibuffer-complete): Don't get confused when the
660 function is run twice via different commands (bug#10958).
661 (complete-with-action): Fix docstring.
662
292112ed
CY
6632012-03-12 Chong Yidong <cyd@gnu.org>
664
5d1ac394
CY
665 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
666 (nxml-completion-at-point-function): New function.
667 (nxml-mode): Use it.
668 (nxml-bind-meta-tab-to-complete-flag): Default to t.
669
292112ed
CY
670 * emacs-lisp/package.el (package-unpack, package-unpack-single):
671 Load generated autoloads file before byte compiling (Bug#10970).
672 (package--make-autoloads-and-compile): New helper fun.
673
4098f8f7
CS
6742012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
675
676 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
677
8f754691
MA
6782012-03-11 Michael Albinus <michael.albinus@gmx.de>
679
680 * autorevert.el (auto-revert-handler): Ensure, that
681 file-readable-p is applied only for local files or in
682 auto-revert-tail-mode.
683
e29ab36b
AS
6842012-03-11 Andreas Schwab <schwab@linux-m68k.org>
685
dbbc2e69
SM
686 * server.el (server-eval-at): Handle non-tcp connections.
687 Decode result string.
ad0bf5b6 688
e29ab36b
AS
689 * server.el (server-msg-size): New constant.
690 (server-reply-print): New function.
691 (server-eval-and-print): Use it.
692 (server-eval-at): Use server-quote-arg and server-unquote-arg.
693 Handle -print-nonl.
694
de5939ba
CS
6952012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
696
697 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
698 (Bug#10987).
699
0c93eabf
CY
7002012-03-11 Chong Yidong <cyd@gnu.org>
701
397a688f
CY
702 * simple.el (goto-line): Doc fix (Bug#9938).
703
2cc775f9
CY
704 * subr.el (save-window-excursion): Doc fix (Bug#9979).
705
0c93eabf
CY
706 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
707 when finished (Bug#10963).
708
c491fa41
MR
7092012-03-11 Martin Rudalics <rudalics@gmx.at>
710
711 * window.el (split-window-below): Fix bug in case where
712 split-window-keep-point is nil (Bug#10971).
713
300e8fa5
JL
7142012-03-11 Juri Linkov <juri@jurta.org>
715
716 * replace.el (replace-highlight): Set isearch-word to nil
717 unconditionally. (Bug#10887)
718
dbf6c5a1
EZ
7192012-03-10 Eli Zaretskii <eliz@gnu.org>
720
721 * net/mairix.el (mairix-replace-invalid-chars): Rename from
722 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 723 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
724 (mairix-widget-create-query): Add usage information about mairix
725 search forms: negating words, searching for substrings, etc.
726
b9e501de
JP
7272012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
728
729 * international/fontset.el (font-encoding-alist): Add an entry for
730 ksx1001 (Bug#5667).
731
92795c91
RS
7322012-03-10 Richard Stallman <rms@gnu.org>
733
1694e6c1
RS
734 * mail/sendmail.el (mail-encode-header):
735 Set rfc2047-encode-encoded-words.
736
607e8555
RS
737 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
738
de3bc99a
RS
739 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
740 view buffer means not swapped.
741 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
742 (rmail-write-region-annotate): Error if real text has disappeared.
743
92795c91
RS
744 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
745
699bd04e
CY
7462012-03-10 Chong Yidong <cyd@gnu.org>
747
748 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
749 * emulation/cua-base.el (cua--init-keymaps):
750 Add delete-forward-char to remappings (Bug#9666).
699bd04e 751
570a1714
MR
7522012-03-10 Martin Rudalics <rudalics@gmx.at>
753
dbbc2e69
SM
754 * speedbar.el (speedbar-unhighlight-one-tag-line):
755 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 756
82dcf4e4
CY
7572012-03-10 Chong Yidong <cyd@gnu.org>
758
7a2c7ca7
CY
759 * minibuffer.el (completion-in-region, completion-help-at-point):
760 Give the completion field overlay a high priority (Bug#6830).
761
82dcf4e4
CY
762 * dired.el (dired-goto-file): Recognize absolute file name
763 listings (Bug#7126).
764 (dired-goto-file-1): New helper function.
765 (dired-toggle-read-only): Inhibit warnings.
766
052e28ac
MA
7672012-03-09 Michael Albinus <michael.albinus@gmx.de>
768
769 * net/dbus.el: (dbus-property-handler): Return empty array if
770 there are no properties.
771
95d5e396
LL
7722012-03-09 Leo Liu <sdl.web@gmail.com>
773
774 * savehist.el (savehist-printable): Stricter check for string
775 value (Bug#10937).
776
3f018d6d
EZ
7772012-03-09 Eli Zaretskii <eliz@gnu.org>
778
dbbc2e69
SM
779 * mail/smtpmail.el (smtpmail-send-it):
780 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
781 valid mbox format.
782
f7fd3d79
GM
7832012-03-09 Glenn Morris <rgm@gnu.org>
784
785 * files.el (dir-locals-find-file):
786 Don't check result is regular, readable.
787 (dir-locals-read-from-file): Demote errors.
788
6ff6e72f
EZ
7892012-03-08 Eli Zaretskii <eliz@gnu.org>
790
dbbc2e69
SM
791 * international/quail.el (quail-insert-kbd-layout):
792 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
793 layout cell, to prevent their reordering by bidi display engine.
794 For details, see the discussion in
795 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
796
9cec7834
AM
7972012-03-08 Alan Mackenzie <acm@muc.de>
798
799 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
800 the starting position; make it extend the marked region when
801 invoked repeatedly - all under appropriate circumstances.
802 Fixes bugs #5525, #10906.
803
9a40b8d4
GM
8042012-03-08 Glenn Morris <rgm@gnu.org>
805
806 * files.el (locate-dominating-file, dir-locals-find-file):
807 Undo 2012-03-06 change.
808
7a08ed35
EZ
8092012-03-07 Eli Zaretskii <eliz@gnu.org>
810
dbbc2e69
SM
811 * international/quail.el (quail-help):
812 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
813 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
814 for the reason.
815
5aca4f71 8162012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
817
818 Avoid superfluous registering of signals. (Bug#10807)
819
820 * notifications.el (notifications-on-action-object)
821 (notifications-on-close-object): New defvars.
822 (notifications-on-action-signal, notifications-on-closed-signal):
823 Unregister the signal if not needed any longer.
824 (notifications-notify): Register `notifications-action-signal' or
825 `notifications-closed-signal', if :on-action or :on-close has been
826 passed as argument.
827
78e8b10a
CY
8282012-03-07 Chong Yidong <cyd@gnu.org>
829
830 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
831 non-X platforms.
832
69481eb8
GM
8332012-03-06 Glenn Morris <rgm@gnu.org>
834
835 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
836 (x-disown-selection-internal, x-get-selection-internal):
837 Doc fix (add arglist signatures). (Bug#10783)
838
133b8e11
KS
8392012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
840
841 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
842 Handle breakpoints with no "type".
843
99a83064
GM
8442012-03-06 Glenn Morris <rgm@gnu.org>
845
846 * files.el (locate-dominating-file): Add optional predicate argument.
847 (dir-locals-find-file): Make use of above change.
848
17798e78
TTN
8492012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
850
851 * info.el (Info-insert-dir): Also try "dir.gz".
852
eb182446
GM
8532012-03-06 Glenn Morris <rgm@gnu.org>
854
8f2114ee
GM
855 * files.el (dir-locals-find-file):
856 Ignore non-readable or non-regular files. (Bug#10928)
857
eb182446
GM
858 * files.el (locate-dominating-file): Doc fix.
859
24679323
AS
8602012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
861
862 * calendar/calendar.el (calendar-set-mode-line):
863 `getenv' returns a string. (Bug#10951)
864
01d972a9
LL
8652012-03-05 Leo Liu <sdl.web@gmail.com>
866
109aa8a9
LL
867 * simple.el (backward-delete-char-untabify): Constrain point to
868 field (Bug#10939).
869
01d972a9
LL
870 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
871
10607bea
CY
8722012-03-05 Chong Yidong <cyd@gnu.org>
873
874 * simple.el (count-words): If called from Lisp, return the word
875 count, for symmetry with `count-lines'. Arglist changed.
876 (count-words--message): Args changed. Consolidate counting code
877 from count-words and count-words-region.
878 (count-words-region): Caller changed.
879 (count-lines-region): Make it an obsolete alias.
880
5dd11cfe
TH
8812012-03-04 Tassilo Horn <tassilo@member.fsf.org>
882
883 * saveplace.el (save-place-to-alist)
884 (save-place-ignore-files-regexp): Allow value nil to disable this
885 feature.
886
c349f4e6
CY
8872012-03-04 Chong Yidong <cyd@gnu.org>
888
889 * faces.el (face-spec-reset-face): For the default face, reset the
890 attributes to default values (Bug#10748).
891
e627be4c
LMI
8922012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
893
894 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
895 previous patch: Check `message-send-mail-function', and not the
896 default function (bug#10897).
897
ebeabff4
MA
8982012-03-04 Michael Albinus <michael.albinus@gmx.de>
899
a41a6cf4
MA
900 * notifications.el (notifications-on-action-signal)
901 (notifications-on-closed-signal): Check for unique service name of
902 incoming event. Fix error in removing entry.
ebeabff4 903 (top): Register for signals with wildcard service name.
a41a6cf4 904 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 905
c1ca42b4
CY
9062012-03-04 Chong Yidong <cyd@gnu.org>
907
dc9924b8 908 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 909
ea16568d
GM
9102012-03-04 Glenn Morris <rgm@gnu.org>
911
912 * abbrev.el (copy-abbrev-table, abbrev-table-p)
913 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
914 (expand-abbrev, define-abbrev-table): Doc fixes.
915
fbae4637
LMI
9162012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
917
918 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
919 `message-default-send-mail-function' and not `send-mail-function'
920 when doing the prompting for `sendmail-query-once' before sending
921 in Message buffers (bug#10897).
922
a1e7225c
LMI
923 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
924 This is inconsistent with all the other stream functions, which leave
925 the setting up to the higher levels (if so wanted) (bug#10931).
926
56d093a9
AM
9272012-03-02 Alan Mackenzie <acm@muc.de>
928
929 Depessimize the handling of very large macros.
930
931 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
932 (c-macro-cache-syntactic): New variables to implement a one
933 element macro cache.
934 (c-invalidate-macro-cache): New function.
935 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
936 Adapt to use the new cache.
937 (c-state-safe-place): Use better the cache of safe positions.
938 (c-state-semi-nonlit-pos-cache)
939 (c-state-semi-nonlit-pos-cache-limit):
940 New variables for...
941 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
942 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
943 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
944 Use c-state-semi-safe-place.
56d093a9 945
dbbc2e69
SM
946 * progmodes/cc-langs.el (c-get-state-before-change-functions):
947 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 948
817e5c3d
MA
9492012-03-02 Michael Albinus <michael.albinus@gmx.de>
950
dbbc2e69
SM
951 * jka-compr.el (jka-compr-call-process):
952 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
953 not remote.
954
a032a702
MA
9552012-03-01 Michael Albinus <michael.albinus@gmx.de>
956
957 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
958 access of FILE2, if FILE1 does not exist.
959
99a54f21
MA
960 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
961 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
962
963 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
964 Add "PAGER=" to `process-environment'.
965
f6561e1f
MM
9662012-03-01 Michael R. Mauger <mmaug@yahoo.com>
967
968 * progmodes/sql.el: Bug fix
969 (sql-get-login-ext): Save login values in globals.
970 (sql-get-login): Use new version of `sql-get-login-ext'.
971 (sql-interactive-mode): Set global `sql-connection' to nil.
972 (sql-connect): Set global values for connection.
973 (sql-product-interactive): Save global values as buffer local.
974
2d44d9cc
LL
9752012-02-29 Leo Liu <sdl.web@gmail.com>
976
977 * abbrev.el (define-abbrevs): Reset sys to nil.
978
96b49301 9792012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
980
bf7f9bc5
JB
981 * files.el (file-equal-p): Rename from `files-equal-p'.
982 Return nil when one or both files don't exist.
96b49301 983 (file-subdir-of-p): Now only top directory must exists,
984 return nil if it doesn't.
bf7f9bc5
JB
985 (copy-directory): No need to test with `file-subdir-of-p' after
986 creating dir.
987 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
988 to `file-equal-p'.
96b49301 989
44e97401
GM
9902012-02-28 Glenn Morris <rgm@gnu.org>
991
992 * shell.el (shell-mode):
993 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
994 * play/landmark.el (landmark-font-lock-face-O):
995 * play/handwrite.el (handwrite):
996 * play/gomoku.el (gomoku-O):
997 * net/browse-url.el (browse-url-browser-display):
998 * international/mule.el (define-charset):
999 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1000 * filesets.el (filesets-find-file-delay):
1001 * eshell/em-xtra.el (eshell-xtra):
1002 * eshell/em-unix.el (eshell-grep):
1003 * emulation/viper.el (viper-mode):
1004 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1005 * emacs-lisp/easymenu.el (easy-menu-define):
1006 * calendar/timeclock.el (timeclock-use-display-time):
1007 * bs.el (bs-mode):
1008 * bookmark.el (bookmark-save-flag):
1009 Doc fix (standardize possessive apostrophe usage).
1010
c98c6276
CY
10112012-02-27 Chong Yidong <cyd@gnu.org>
1012
bf7f9bc5
JB
1013 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1014 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 1015
c98c6276
CY
1016 * font-lock.el (font-lock-specified-p): Rename from
1017 font-lock-spec-present. Callers changed.
1018
9c62cd04 10192012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 1020
bf7f9bc5
JB
1021 * emacs-lisp/package.el (package-compute-transaction):
1022 Handle holding a package version to t in package-load-list.
8ac9e529 1023
530739c9
MA
10242012-02-26 Michael Albinus <michael.albinus@gmx.de>
1025
1026 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1027 (tramp-get-inode, tramp-get-device): Use cached values.
1028
487915d7
AM
10292012-02-26 Alan Mackenzie <acm@muc.de>
1030
1031 Check there is a font-lock specification before doing initial
1032 fontification.
1033
1034 * font-core.el (font-lock-mode): Move the conditional from
1035 :after-hook to font-lock-initial-fontify.
1036 (font-lock-default-function): Move the check for a specification
1037 to font-lock-spec-present.
1038
dc9924b8 1039 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
1040 (font-lock-spec-present): New function.
1041
4fd96557
JB
10422012-02-26 Jim Blandy <jimb@red-bean.com>
1043
1044 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1045 (gdb-send): Apply it to the operand of the '-interpreter-exec
1046 console' command, so that we can pass arguments with (say) quotes
1047 in them. Store exact string sent in gdb-debug-log (Bug#10765).
1048
9a4888c0
CY
10492012-02-26 Chong Yidong <cyd@gnu.org>
1050
07498861
CY
1051 * help-fns.el (describe-function-1): Clarify description of
1052 remapping (Bug#10844).
1053
9a4888c0
CY
1054 * files.el (files-equal-p): Doc fix.
1055 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
1056 and quit the loop once a mismatch is found.
1057
ea8fb88d
JB
10582012-02-25 Juanma Barranquero <lekktu@gmail.com>
1059
1060 * bs.el (bs--show-with-configuration): Don't throw an error
1061 if the window cannot be split; otherwise, subsequent calls to
1062 bs-show fail, restoring a stale window config. (Bug#10882)
1063
525795c1
JD
10642012-02-25 Jan Djärv <jan.h.d@swipnet.se>
1065
1066 * term/ns-win.el (global-map): Bind ns-drag-file to
1067 ns-find-file (Bug#5855, Bug#10050).
1068
f008086f
AS
10692012-02-25 Andreas Schwab <schwab@linux-m68k.org>
1070
1071 * calendar/parse-time.el (parse-time-string): Allow extractor to
1072 return nil.
1073
a3fcfa99
MA
10742012-02-25 Michael Albinus <michael.albinus@gmx.de>
1075
91027d08
JB
1076 * net/tramp.el (tramp-file-name-for-operation):
1077 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
1078
1079 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
1080 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1081 Add COPY-CONTENTS argument.
a3fcfa99 1082
67b0de11
CY
10832012-02-25 Chong Yidong <cyd@gnu.org>
1084
1085 Add custom groups for VC backends, for consistency with vc-bzr.
1086
1087 * vc/vc-arch.el (vc-arch):
1088 * vc/vc-cvs.el (vc-cvs):
1089 * vc/vc-git.el (vc-git):
1090 * vc/vc-hg.el (vc-hg):
1091 * vc/vc-mtn.el (vc-mtn):
1092 * vc/vc-rcs.el (vc-rcs):
1093 * vc/vc-sccs.el (vc-sccs):
1094 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1095 All relevant defcustoms reassigned.
1096
3c9dfce6
CY
10972012-02-25 Chong Yidong <cyd@gnu.org>
1098
1339bf43
CY
1099 * newcomment.el (comment-styles): Add autoload (Bug#10868).
1100
3c9dfce6
CY
1101 * term/x-win.el (x-initialize-window-system): Reduce default for
1102 x-selection-timeout to 5 seconds (Bug#8869).
1103
53a46cd0 11042012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 1105
53a46cd0 1106 * files.el (file-subdir-of-p): Fix typo.
14a8a663 1107
25b2e303 11082012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1109
ec70a47d
GM
1110 * files.el (files-equal-p, file-subdir-of-p): New functions.
1111 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 1112 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
1113 * dired-aux.el (dired-copy-file-recursive): Same.
1114 (dired-create-files): Modify destination when source is equal to
1115 dest when copying files.
53a46cd0 1116 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 1117
914260cd
MA
11182012-02-24 Michael Albinus <michael.albinus@gmx.de>
1119
1120 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1121 (Bug#10874)
1122
2cb228f7
AM
11232012-02-23 Alan Mackenzie <acm@muc.de>
1124
1125 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1126 parameter "after-hook:" to allow the expansion to run code after
1127 the execution of the mode hooks.
1128
1129 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 1130 from font-lock-mode-internal.
2cb228f7 1131
91027d08 1132 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
1133 :after-hook.
1134
8f0fde21
SM
11352012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1136
3e88618b
SM
1137 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1138 (completion--cache-all-sorted-completions): New function.
1139 (completion-all-sorted-completions): Use it.
1140 (completion--do-completion, minibuffer-force-complete):
1141 Use it to re-instate the flush hook.
1142
8f0fde21
SM
1143 * icomplete.el (icomplete-completions): Replace last fix with a better
1144 one (bug#10850).
1145
8e911f6f
DG
11462012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1147
1148 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1149 when it might call us back infinitely (bug#10797).
1150
49fe4321
GM
11512012-02-23 Glenn Morris <rgm@gnu.org>
1152
1153 * minibuffer.el (completion-category-overrides): Doc fix.
1154
b291b572
SM
11552012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1156
1157 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1158 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1159
31a9ef2e
GM
11602012-02-23 Glenn Morris <rgm@gnu.org>
1161
5e6e6794 1162 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
1163 (authors-obsolete-files-regexps, authors-ignored-files)
1164 (authors-ambiguous-files, authors-renamed-files-alist):
1165 Add more entries.
1166
0bd1e074
JL
11672012-02-23 Juri Linkov <juri@jurta.org>
1168
1169 * isearch.el (isearch-occur): Sync interactive spec with occur's
1170 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1171
b617673c
JL
1172 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1173
19e9789e
JL
11742012-02-22 Juri Linkov <juri@jurta.org>
1175
1176 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1177 (ucs-insert): Doc fix. Check for hex digits in the string.
1178 Don't display `nil' in the error message. (Bug#10857)
1179
f41ce09d
AM
11802012-02-22 Alan Mackenzie <acm@muc.de>
1181
7a71b18d 1182 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 1183
ac2eceee
GM
11842012-02-22 Glenn Morris <rgm@gnu.org>
1185
1186 * ffap.el (ffap-c-path):
1187 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1188
abd1f678
CY
11892012-02-22 Chong Yidong <cyd@gnu.org>
1190
1191 * custom.el (load-theme): Doc fix.
1192
f25aef2e
GM
11932012-02-22 Glenn Morris <rgm@gnu.org>
1194
1195 * dired-x.el (dired-guess-shell-alist-default):
1196 Remove escape sequences from nroff output. (Bug#172)
1197
5f8dc2ca
GM
11982012-02-21 Glenn Morris <rgm@gnu.org>
1199
6ff86ec4
GM
1200 * vc/emerge.el (emerge-defvar-local):
1201 Set `permanent-local' property rather than unused `preserved'.
1202
be3223a3 1203 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
1204 (picture-mode-map): Use it. (Bug#10860)
1205 (picture-mode): Doc fix.
1206
3fe58f4f
JB
12072012-02-21 Juanma Barranquero <lekktu@gmail.com>
1208
1209 * newcomment.el (uncomment-region-default): Remove unused binding.
1210
f9a998c3
GM
12112012-02-21 Glenn Morris <rgm@gnu.org>
1212
1213 * textmodes/picture.el (picture-motion, picture-motion-reverse)
1214 (picture-self-insert, picture-tab-chars): Doc fix.
1215 (picture-mode-map): Fix C-a, C-e.
1216
c6029348
GM
12172012-02-20 Glenn Morris <rgm@gnu.org>
1218
1219 * emacs-lisp/authors.el (authors-aliases): Add another entry.
1220
ab1ce9d7
LL
12212012-02-20 Leo Liu <sdl.web@gmail.com>
1222
1223 * icomplete.el (icomplete-completions): Check FROM arg before
1224 passing to substring (Bug#10850).
1225
0fd40f89
CY
12262012-02-19 Chong Yidong <cyd@gnu.org>
1227
1228 * comint.el: Require ansi-color.
1229 (comint-output-filter-functions): Add ansi-color-process-output.
1230
1231 * ansi-color.el: Don't set comint-output-filter-functions; it is
1232 now in the initial value defined in comint.el.
1233 (ansi-color-apply-face-function): New variable.
1234 (ansi-color-apply-on-region): Use it.
1235 (ansi-color-apply-overlay-face): New function.
1236
1237 * shell.el (shell): No need to require ansi-color.
1238 (shell-mode): Use ansi-color-apply-face-function to highlight
1239 color escapes using font-lock-face property (Bug#10835).
1240
20af2394
CY
12412012-02-19 Chong Yidong <cyd@gnu.org>
1242
1243 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1244 mode-line formats (Bug#10839).
1245
e23a3fbe
GM
12462012-02-18 Glenn Morris <rgm@gnu.org>
1247
b474519e
GM
1248 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1249
1250 * mail/undigest.el (unforward-rmail-message): Doc fix.
1251
e23a3fbe
GM
1252 * saveplace.el (save-place-ignore-files-regexp): Add :version.
1253
57939ff4
EZ
12542012-02-18 Eli Zaretskii <eliz@gnu.org>
1255
1256 * international/characters.el (script-list): Sync with the latest
1257 Unicode Character Database.
1258
0c23686e
AS
12592012-02-18 Andreas Schwab <schwab@linux-m68k.org>
1260
1261 * international/titdic-cnv.el: Remove duplicate coding tag.
1262 * language/cham.el: Likewise.
1263 * language/tai-viet.el: Likewise.
1264
6818b449
GM
12652012-02-18 Glenn Morris <rgm@gnu.org>
1266
1267 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1268 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1269 (calendar-bahai-all-holidays-flag, calendar-other-dates):
1270 * calendar/diary-lib.el (diary-abbreviated-year-flag):
1271 * calendar/holidays.el (holiday-bahai-holidays)
1272 (calendar-holidays, list-holidays):
1273 Use utf-8 Bahá'í in doc-strings, menus, etc.
1274
0311a3fc
TH
12752012-02-17 Tassilo Horn <tassilo@member.fsf.org>
1276
1277 * saveplace.el (save-place-ignore-files-regexp): New variable
1278 allowing for excluding files from saving their location of point.
1279 The default value matches the temporary commit message editing
1280 files from Git, SVN, Bazaar, and Mercurial.
1281 (save-place-to-alist): Use it.
1282
eb864a71
LM
12832012-02-17 Lawrence Mitchell <wence@gmx.li>
1284 Stefan Monnier <monnier@iro.umontreal.ca>
1285
1286 * newcomment.el (uncomment-region-default): Don't leave extra space
1287 when an arg is provided (bug#8150).
1288
ee0ce425
TZ
12892012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1290
eb864a71 1291 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 1292
95ddf442
GM
12932012-02-17 Glenn Morris <rgm@gnu.org>
1294
1295 * net/socks.el: Require network-stream. (Bug#10599)
1296
48dd1e39 12972012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
1298
1299 * international/charprop.el:
1300 * international/uni-name.el:
1301 * international/uni-old-name.el:
1302 * international/uni-comment.el: Regenerate.
1303
d68cd087
GM
13042012-02-16 Glenn Morris <rgm@gnu.org>
1305
1306 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1307 Interactively in calendar buffer, give an error if not on a date.
1308
13932042
GM
13092012-02-15 Glenn Morris <rgm@gnu.org>
1310
1311 * shell.el (shell-delimiter-argument-list):
1312 Revert 2011-02-17 change. (Bug#8027)
1313
c3a70e2b
CY
13142012-02-15 Chong Yidong <cyd@gnu.org>
1315
60236b0d
CY
1316 * minibuffer.el (completion-at-point-functions): Doc fix.
1317
c3a70e2b
CY
1318 * custom.el (defcustom): Doc fix; note use of defvar.
1319
9f26dc24
GM
13202012-02-15 Glenn Morris <rgm@gnu.org>
1321
1322 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1323 Doc fixes.
1324
6546b134
GM
13252012-02-14 Glenn Morris <rgm@gnu.org>
1326
1327 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1328
d29b2b4c
LI
13292012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
1330
1331 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1332 way the ports list is computed.
835bdcba
LI
1333 (smtpmail-query-smtp-server): Prompt the user for a port number if
1334 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 1335
08dcdbc9
TZ
13362012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
1337
1338 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1339
2605051a
GM
13402012-02-13 Glenn Morris <rgm@gnu.org>
1341
1342 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
1343
7ee99f32
TZ
13442012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1345
1346 * net/gnutls.el (gnutls-trustfiles): New variable.
1347 (gnutls-negotiate): Use it.
1348
5f0af64f
LI
13492012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1350
1351 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1352 does its stuff if Gnus is running.
1353
c14fcc95
AM
13542012-02-13 Alan Mackenzie <acm@muc.de>
1355
1356 Fix a loop in c-set-fl-decl-start.
1357
7a71b18d 1358 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
1359 c-backward-syntactic-ws actually moves backwards.
1360
142b4d90
LL
13612012-02-13 Leo Liu <sdl.web@gmail.com>
1362
1363 * net/rcirc.el (rcirc-markup-attributes): Move point to the
1364 beginning so that all \C-o chars are removed.
1365
fa9958a6
TZ
13662012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1367
dc9924b8 1368 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 1369
0bc5886a
AM
13702012-02-12 Alan Mackenzie <acm@muc.de>
1371
1372 Fix infinite loop with long macros.
1373 * cc-engine.el (c-state-safe-place): Handle macros properly.
1374
d4bd55e7
CY
13752012-02-12 Chong Yidong <cyd@gnu.org>
1376
1377 * window.el (display-buffer): Doc fix (Bug#10785).
1378
66f3fe22
GM
13792012-02-12 Glenn Morris <rgm@gnu.org>
1380
bd7da63e
GM
1381 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1382 (x-disown-selection-internal, x-get-selection-internal):
1383 Sync docs with the xselect.c versions.
1384
66f3fe22
GM
1385 * allout-widgets.el: Add missing license notice.
1386
3e0d2fa7
GM
13872012-02-11 Glenn Morris <rgm@gnu.org>
1388
cfecdf09
GM
1389 * select.el (x-get-selection-internal, x-own-selection-internal)
1390 (x-disown-selection-internal):
1391 * x-dnd.el (x-get-selection-internal): Update declarations.
1392
6d216d7f
GM
1393 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1394
2bed3f04
GM
1395 * window.el (window-sides-slots):
1396 * tool-bar.el (tool-bar-position):
1397 * term/xterm.el (xterm-extra-capabilities):
1398 * ses.el (ses-self-reference-early-detection):
1399 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1400 (verilog-auto-wire-type)
1401 (verilog-auto-delete-trailing-whitespace)
1402 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1403 (verilog-auto-tieoff-declaration):
1404 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1405 (sql-oracle-statement-starters, sql-oracle-scan-on):
1406 * progmodes/prolog.el (prolog-align-comments-flag)
1407 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1408 (prolog-left-indent-regexp, prolog-paren-indent-p)
1409 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1410 (prolog-types, prolog-mode-specificators)
1411 (prolog-determinism-specificators, prolog-directives)
1412 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1413 (prolog-electric-dot-flag)
1414 (prolog-electric-dot-full-predicate-template)
1415 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1416 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1417 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1418 (prolog-program-switches, prolog-prompt-regexp)
1419 (prolog-debug-on-string, prolog-debug-off-string)
1420 (prolog-trace-on-string, prolog-trace-off-string)
1421 (prolog-zip-on-string, prolog-zip-off-string)
1422 (prolog-use-standard-consult-compile-method-flag)
1423 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1424 (prolog-imenu-max-lines, prolog-info-predicate-index)
1425 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1426 (prolog-char-quote-workaround):
1427 * progmodes/cc-vars.el (c-defun-tactic):
1428 * net/tramp.el (tramp-encoding-command-interactive)
1429 (tramp-local-end-of-line):
1430 * net/soap-client.el (soap-client):
1431 * net/netrc.el (netrc-file):
1432 * net/gnutls.el (gnutls):
1433 * minibuffer.el (completion-category-overrides)
1434 (completion-cycle-threshold)
1435 (completion-pcm-complete-word-inserts-delimiters):
1436 * man.el (Man-name-local-regexp):
1437 * mail/feedmail.el (feedmail-display-full-frame):
1438 * international/characters.el (glyphless-char-display-control):
1439 * eshell/em-ls.el (eshell-ls-date-format):
1440 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1441 (lisp-lambda-list-keyword-parameter-indentation)
1442 (lisp-lambda-list-keyword-parameter-alignment):
1443 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1444 * dired-x.el (dired-omit-verbose):
1445 * cus-theme.el (custom-theme-allow-multiple-selections):
1446 * calc/calc.el (calc-highlight-selections-with-faces)
1447 (calc-lu-field-reference, calc-lu-power-reference)
1448 (calc-note-threshold):
1449 * battery.el (battery-mode-line-limit):
1450 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1451 (archive-7z-update):
1452 * allout.el (allout-prefixed-keybindings)
1453 (allout-unprefixed-keybindings)
1454 (allout-inhibit-auto-fill-on-headline)
1455 (allout-flattened-numbering-abbreviation):
1456 * allout-widgets.el (allout-widgets-auto-activation)
1457 (allout-widgets-icons-dark-subdir)
1458 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1459 (allout-widgets-theme-dark-background)
1460 (allout-widgets-theme-light-background)
1461 (allout-widgets-item-image-properties-emacs)
1462 (allout-widgets-item-image-properties-xemacs)
1463 (allout-widgets-run-unit-tests-on-load)
1464 (allout-widgets-time-decoration-activity)
1465 (allout-widgets-hook-error-post-time)
1466 (allout-widgets-track-decoration):
1467 Add missing :version tags to new defcustoms and defgroups.
1468
5fec1b8e
GM
1469 * progmodes/sql.el (sql-ansi-statement-starters)
1470 (sql-oracle-statement-starters): Add custom type.
1471
3e0d2fa7
GM
1472 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1473 (prolog-system-version): Give it a type.
1474
90b671e2
EZ
14752012-02-11 Eli Zaretskii <eliz@gnu.org>
1476
1477 * term/pc-win.el (x-select-text, x-selection-owner-p)
1478 (x-own-selection-internal, x-disown-selection-internal)
1479 (x-get-selection-internal): Sync doc strings and argument lists
1480 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1481
5eac0c02
LL
14822012-02-11 Leo Liu <sdl.web@gmail.com>
1483
1484 * progmodes/python.el (python-end-of-statement): Fix infinite
1485 loop. (Bug#10788)
1486
f82cb659
GM
14872012-02-10 Glenn Morris <rgm@gnu.org>
1488
1489 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1490 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1491
cc26d239
LI
14922012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1493
1494 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1495 about SMTP before checking the From header.
1496
91027d08 1497 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
1498 into own function for reuse by emacsbug.el.
1499
1be3ca5a
LL
15002012-02-10 Leo Liu <sdl.web@gmail.com>
1501
1502 * subr.el (condition-case-unless-debug): Rename from
1503 condition-case-no-debug. All callers changed.
1504 (with-demoted-errors): Fix caller.
1505
1506 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1507 * nxml/rng-valid.el (rng-do-some-validation):
1508 * emacs-lisp/package.el (package-refresh-contents)
1509 (package-menu-execute):
1510 * desktop.el (desktop-create-buffer):
91027d08 1511 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 1512
b011fbfe
GM
15132012-02-10 Glenn Morris <rgm@gnu.org>
1514
b2096d72
GM
1515 * textmodes/bibtex.el:
1516 Add missing :version tags for new/changed defcustoms.
1517
b011fbfe
GM
1518 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1519
4c7e65bf
LI
15202012-02-09 Lars Ingebrigtsen <larsi@rusty>
1521
1522 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1523 (smtpmail-via-smtp): Use it, or fall back on the From address.
1524 (smtpmail-send-it): Ditto.
1525
f3934f6f
SM
15262012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1527
1528 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1529 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1530 (byte-compile-tmp-var): New const.
1531 (byte-compile-defvar): Use it to minimize .elc size.
1532 Just use `defvar' rather than simulate it (bug#10761).
1533
a075a2c5
GM
15342012-02-09 Glenn Morris <rgm@gnu.org>
1535
cf3aa21b
GM
1536 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1537
354998cd
GM
1538 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1539 Add :version tags.
1540
dc9924b8
SM
1541 * progmodes/compile.el (compilation-error-screen-columns)
1542 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 1543
dab3703d
GM
1544 * vc/log-view.el (log-view-toggle-entry-display):
1545 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1546
3f88cd72
GM
1547 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1548 (report-emacs-bug-can-use-xdg-email):
1549 (report-emacs-bug-insert-to-mailer): Doc fixes.
1550 (report-emacs-bug): Message fix.
1551
d95b247d
GM
1552 * net/browse-url.el (browse-url-can-use-xdg-open)
1553 (browse-url-xdg-open): Doc fixes.
1554
a075a2c5
GM
1555 * electric.el (electric-indent-mode, electric-pair-mode)
1556 (electric-layout-rules, electric-layout-mode): Doc fixes.
1557 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1558
ffb6157e
MR
15592012-02-08 Martin Rudalics <rudalics@gmx.at>
1560
1561 * server.el (server-unselect-display): Don't inadvertently kill
1562 the current buffer. (Bug#10729)
1563
e1ac4066
GM
15642012-02-08 Glenn Morris <rgm@gnu.org>
1565
34e8a2da
GM
1566 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1567 (sql-list-table): Doc fixes.
1568
b4ac6e8c
GM
1569 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1570 Comment out (does nothing).
1571
e1ac4066
GM
1572 * completion.el (dynamic-completion-mode):
1573 * dirtrack.el (dirtrack-debug-mode):
1574 * electric.el (electric-layout-mode):
1575 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1576 * face-remap.el (text-scale-mode, buffer-face-mode):
1577 * iimage.el (iimage-mode):
1578 * image-mode.el (image-transform-mode):
1579 * minibuffer.el (completion-in-region-mode):
1580 * scroll-lock.el (scroll-lock-mode):
1581 * simple.el (next-error-follow-minor-mode):
1582 * tar-mode.el (tar-subfile-mode):
1583 * tooltip.el (tooltip-mode):
1584 * vcursor.el (vcursor-use-vcursor-map):
1585 * wid-browse.el (widget-minor-mode):
1586 * emulation/tpu-edt.el (tpu-edt-mode):
1587 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1588 * international/iso-ascii.el (iso-ascii-mode):
1589 * language/thai-util.el (thai-word-mode):
1590 * mail/supercite.el (sc-minor-mode):
1591 * net/goto-addr.el (goto-address-mode):
1592 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1593 * progmodes/cwarn.el (cwarn-mode):
1594 * progmodes/flymake.el (flymake-mode):
1595 * progmodes/glasses.el (glasses-mode):
1596 * progmodes/hideshow.el (hs-minor-mode):
1597 * progmodes/pascal.el (pascal-outline-mode):
1598 * textmodes/enriched.el (enriched-mode):
1599 * vc/smerge-mode.el (smerge-mode):
1600 Doc fixes (minor mode argument).
1601
5e0d957f
EZ
16022012-02-07 Eli Zaretskii <eliz@gnu.org>
1603
1604 * ls-lisp.el (ls-lisp-sanitize): New function.
1605 (ls-lisp-insert-directory): Use it to fix or remove any elements
1606 in file-alist with missing attributes. (Bug#4673)
1607
98d7371e
AM
16082012-02-07 Alan Mackenzie <acm@muc.de>
1609
1610 Fix spurious recognition of c-in-knr-argdecl.
1611
1612 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1613 putative K&R region.
1614
667ced3a
AM
16152012-02-07 Alan Mackenzie <acm@muc.de>
1616
eb864a71
LM
1617 * progmodes/cc-engine.el (c-forward-objc-directive):
1618 Prevent looping in "#pragma mark @implementation".
667ced3a 1619
5b77774d
MA
16202012-02-07 Michael Albinus <michael.albinus@gmx.de>
1621
1622 * notifications.el (notifications-on-closed-signal): Make `reason'
1623 optional. (Bug#10744)
1624
af008560
GM
16252012-02-07 Glenn Morris <rgm@gnu.org>
1626
60d47423
GM
1627 * emacs-lisp/easy-mmode.el (define-minor-mode):
1628 Doc fixes for the macro and the mode it defines.
1629
dd605cc4
GM
1630 * image.el (imagemagick-types-inhibit): Doc fix.
1631
af008560
GM
1632 * cus-start.el (imagemagick-render-type): Add it.
1633
5cc59a37
LI
16342012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1635
1636 * progmodes/cc-mode.el
1637 (c-standard-font-lock-fontify-region-function): Set the default at
1638 load time, too, so that `font-lock-fontify-buffer' can be called
1639 without setting up the entire mode first. This fixes a bug in
1640 `mm-inline-text' with C MIME parts.
1641
9a6dd747
CY
16422012-02-06 Chong Yidong <cyd@gnu.org>
1643
2d16b285
CY
1644 * simple.el (list-processes--refresh): Delete exited processes
1645 (Bug#8094).
1646
171e9b6e
CY
1647 * comint.el (comint-next-prompt): next-single-char-property-change
1648 and prev-single-char-property-change never return nil (Bug#8657).
1649
9a6dd747
CY
1650 * custom.el (defcustom): Doc fix (Bug#9711).
1651
aa4589a7
CY
16522012-02-05 Chong Yidong <cyd@gnu.org>
1653
5c2a252f
CY
1654 * cus-edit.el (custom-variable-reset-backup): Quote the value
1655 before storing it in the customized-value property (Bug#6712).
4aab9006 1656 (custom-display): Add a customization type tag.
983b9602 1657 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 1658
aa4589a7
CY
1659 * wid-edit.el (widget-field-value-get): New optional arg to
1660 suppress trailing whitespace truncation.
1661 (character): Use it (Bug#2689).
1662
1ff980ae
AS
16632012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1664
1665 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1666 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1667
03988c98
CY
16682012-02-05 Chong Yidong <cyd@gnu.org>
1669
eeb6cc88
CY
1670 * cus-edit.el (custom-variable-value-create): For mismatched
1671 types, show the current value (Bug#7600).
1672
03988c98
CY
1673 * custom.el (defcustom): Doc fix.
1674
f8cdeef0
GM
16752012-02-05 Glenn Morris <rgm@gnu.org>
1676
1677 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1678
0696d255
JB
16792012-02-05 Juanma Barranquero <lekktu@gmail.com>
1680
1681 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1682 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1683 (pp-last-sexp): Use `looking-at-p'.
1684
34c99998
GM
16852012-02-04 Glenn Morris <rgm@gnu.org>
1686
8f05da42
GM
1687 * files.el (revert-buffer):
1688 Doc fix (mention revert-buffer-in-progress-p).
1689
f160676e
GM
1690 * emacs-lisp/ert-x.el (ert-simulate-command):
1691 Check deferred-action-list (which is obsolete) is bound.
1692
c7291ad9
GM
1693 * subr.el (with-wrapper-hook): Doc fixes.
1694
34c99998
GM
1695 * simple.el (filter-buffer-substring-functions)
1696 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1697
6283a7d3
LL
16982012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1699
1700 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1701 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1702
e96e3013
LL
17032012-02-04 Leo Liu <sdl.web@gmail.com>
1704
1705 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1706
8ded50f2
GM
17072012-02-04 Glenn Morris <rgm@gnu.org>
1708
82ff1d13
GM
1709 * image.el (image-extension-data): Add obsolete alias.
1710
987a0a16
GM
1711 * isearch.el (isearch-update): Doc fix.
1712
ea32ef46
GM
1713 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1714
8ded50f2
GM
1715 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1716
eea14f31
GM
17172012-02-03 Glenn Morris <rgm@gnu.org>
1718
1719 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1720 (image-animate-timeout): Doc fix.
1721
1722 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1723
12f381b7
GM
17242012-02-02 Glenn Morris <rgm@gnu.org>
1725
953cebf5
GM
1726 * server.el (server-auth-dir): Doc fix.
1727 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1728
12f381b7
GM
1729 * subr.el (run-mode-hooks): Doc fix.
1730
953a8c3b
JL
17312012-02-02 Juri Linkov <juri@jurta.org>
1732
1733 * image-mode.el (image-toggle-display-image): Remove tautological
1734 `major-mode' from the `derived-mode-p' test.
1735
c5d3843c
KH
17362012-02-02 Kenichi Handa <handa@m17n.org>
1737
9f6e692e 1738 * composite.el (compose-region): Cancel previous change.
c5d3843c 1739
159462d4 17402012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
1741
1742 * composite.el (compose-region, compose-string): Signal error for
1743 a null string component (Bug#6988).
1744
9f562668
CY
17452012-02-01 Chong Yidong <cyd@gnu.org>
1746
e2cef717
CY
1747 * view.el (view-buffer-other-window, view-buffer-other-frame):
1748 Handle special modes like view-buffer (Bug#10650).
1749 (view-buffer): Simplify.
1750
9f562668
CY
1751 * frame.el (set-frame-font): Tweak meaning of third argument.
1752
9f6e692e
JB
1753 * dynamic-setting.el (font-setting-change-default-font):
1754 Use set-frame-font (Bug#9982).
9f562668 1755
781acb9f
GM
17562012-02-01 Glenn Morris <rgm@gnu.org>
1757
6035be52
GM
1758 * progmodes/compile.el (compilation-internal-error-properties):
1759 Respect compilation-first-column in the "*compilation*" buffer.
1760
781acb9f
GM
1761 * emacs-lisp/easy-mmode.el (define-minor-mode):
1762 Relax :variable's test for a named function.
1763
abbceb00
AM
17642012-01-31 Alan Mackenzie <acm@muc.de>
1765
1766 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1767 off by one error.
1768
fce3fdeb
CY
17692012-01-31 Chong Yidong <cyd@gnu.org>
1770
1771 * frame.el (set-frame-font): New arg ALL-FRAMES.
1772
1773 * menu-bar.el (menu-set-font): Use set-frame-font.
1774
1775 * faces.el (face-spec-reset-face): Don't apply unspecified
1776 attribute values to the default face.
1777
47893581
JB
17782012-01-31 Juanma Barranquero <lekktu@gmail.com>
1779
1780 * progmodes/cwarn.el (cwarn): Remove dead link.
1781 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1782 Remove * from defcustom docstrings.
1783 (turn-on-cwarn-mode): Make obsolete.
1784 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1785 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1786
e58e988a
GM
17872012-01-31 Glenn Morris <rgm@gnu.org>
1788
60dc2671 1789 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 1790 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 1791 Allow named functions to be used as the cdr of :variable.
e58e988a 1792
7a3f511d
GM
17932012-01-30 Glenn Morris <rgm@gnu.org>
1794
1795 * emacs-lisp/authors.el (authors-fixed-entries):
1796 Remove reference to deleted file rnewspost.el.
1797
cb882333
JB
17982012-01-29 Juanma Barranquero <lekktu@gmail.com>
1799
1800 * window.el (window-with-parameter): Remove unused variable `windows'.
1801 (window--side-check): Remove unused variable `code'.
1802 (window--resize-siblings): Remove unused variable `first'.
1803 (adjust-window-trailing-edge): Remove unused variable `failed'.
1804 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1805 Use `let', not `let*'.
1806 (balance-windows-2): Remove unused variable `found'.
1807 (window--state-put-2): Remove unused variable `splits'.
1808 (window-state-put): Remove unused variable `selected'.
1809 (same-window-p): Use `string-match-p'.
1810 (display-buffer-assq-regexp): Remove unused variable `value'.
1811 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1812 Mark argument ALIST as ignored.
1813 (pop-to-buffer): Remove unused variable `old-window'.
1814
907201af
EZ
18152012-01-29 Eli Zaretskii <eliz@gnu.org>
1816
1817 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1818 and .lzma compressed files.
1819
ea162670
CY
18202012-01-29 Chong Yidong <cyd@gnu.org>
1821
5b95ee8a
CY
1822 * frame.el (window-system-default-frame-alist): Doc fix.
1823
ea162670
CY
1824 * dynamic-setting.el (font-setting-change-default-font): Don't
1825 change the default face if SET-FONT argument is non-nil (Bug#9982).
1826
d6e6f4b1
SB
18272012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
1828
1829 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1830
0f29fa41 18312012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
1832
1833 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1834 breakpoints in files outside current directory (Bug#6098).
1835
db174434
CY
18362012-01-29 Chong Yidong <cyd@gnu.org>
1837
6b25e4e2
SE
1838 * progmodes/python.el: Require ansi-color at top-level.
1839
6df6ae42
JB
1840 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1841 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
1842 (lisp-mode-abbrev-table): Add doc.
1843 (lisp-mode-variables): Don't set local-abbrev-table.
1844 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1845
e70ee681
RW
18462012-01-28 Roland Winkler <winkler@gnu.org>
1847
1848 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1849
ace88aa2
RW
18502012-01-28 Roland Winkler <winkler@gnu.org>
1851
1852 * textmodes/bibtex.el (bibtex-entry-alist): New function.
1853 (bibtex-set-dialect): Use it. Either set global values of
1854 dialect-dependent variables or bind these variables buffer-locally
1855 (Bug#10254).
1856 (bibtex-mode): Call bibtex-set-dialect via
1857 hack-local-variables-hook.
eb864a71
LM
1858 (bibtex-dialect): Update docstring.
1859 Add safe-local-variable predicate.
ace88aa2
RW
1860 (bibtex-entry-alist, bibtex-field-alist): Initialize via
1861 bibtex-set-dialect.
1862 (bibtex-mode-map): Define menu for each dialect.
1863 (bibtex-entry): Fix docstring.
1864
93376c5b
CY
18652012-01-28 Chong Yidong <cyd@gnu.org>
1866
1867 * eshell/esh-arg.el (eshell-quote-argument): New function.
1868
1869 * eshell/esh-ext.el (eshell-invoke-batch-file):
1870 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1871 first arg to eshell-parse-command (Bug#10523).
1872
4372494f
DA
18732012-01-28 Drew Adams <drew.adams@oracle.com>
1874
1875 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1876 `default-directory' is non-nil.
1877
4d4ec1f8
EZ
18782012-01-28 Eli Zaretskii <eliz@gnu.org>
1879
1880 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1881 line that displays system-configuration-options. (Bug#9924)
1882
7c188927
DA
18832012-01-28 Drew Adams <drew.adams@oracle.com>
1884
1885 * descr-text.el (describe-char): Show information about POS, in
1886 addition to information about the character at POS. Improve and
1887 update the doc string. Change "code point" to "code point in
1888 charset", to avoid confusion with the character's Unicode code
1889 point shown above that. (Bug#10129)
1890
e0da685a
EZ
18912012-01-28 Eli Zaretskii <eliz@gnu.org>
1892
1893 * descr-text.el (describe-char): Show the raw character, not only
1894 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
1895 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1896 for the reasons.
1897
70550acf
PH
18982012-01-28 Phil Hagelberg <phil@hagelb.org>
1899
eb864a71
LM
1900 * emacs-lisp/package.el (package-install):
1901 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 1902
0ce8e868
CY
19032012-01-28 Chong Yidong <cyd@gnu.org>
1904
cb882333
JB
1905 * emacs-lisp/package.el (package-maybe-load-descriptor):
1906 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
1907 (package-maybe-load-descriptor): Use it.
1908 (package-download-transaction): Fully load required packages
1909 inside the loop, so that `require' calls work (Bug#10593).
1910 (package-install): No need to call package-initialize now.
1911
2e7f3bea
CY
19122012-01-28 Chong Yidong <cyd@gnu.org>
1913
6e9bad14
CY
1914 * simple.el (deactivate-mark): Doc fix (Bug#8614).
1915
f823b8ca
CY
1916 * tooltip.el (tooltip-mode): Doc fix.
1917 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1918
2680c309
CY
1919 * frame.el (set-cursor-color): Doc fix (Bug#352).
1920
d7a9e63b
CY
1921 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1922 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1923
2e7f3bea
CY
1924 * cus-edit.el (custom-buffer-create-internal): Fix search button
1925 action (Bug#10542).
2ae01800 1926 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 1927
fc4f7a23
EW
19282012-01-27 Eduard Wiebe <usenet@pusto.de>
1929
1930 * dired.el (dired-mark-files-regexp):
1931 Include any subdirectory components. (Bug#10445)
1932
7dd37071
ML
19332012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
1934
1935 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1936 Handle [host]:port syntax. (Bug#10533)
1937
a268160b
AH
19382012-01-27 Alex Harsanyi <harsanyi@mac.com>
1939
1940 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1941
e43273ef
GM
19422012-01-26 Glenn Morris <rgm@gnu.org>
1943
1944 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1945 * term.el (term-raw-escape-map): Use Control-X-prefix.
1946 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
1947
1edf595d
MR
19482012-01-25 Martin Rudalics <rudalics@gmx.at>
1949
1950 * window.el (window-state-get, window--state-get-1): Don't deal
1951 with fixed-sizeness of windows. Simplify code.
1952
fa8eafef
JC
19532012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
1954
6df6ae42
JB
1955 * window.el (window--state-get-1, window--state-put-2):
1956 Don't save and restore the mark.
fa8eafef 1957
0b21c100
CY
19582012-01-25 Chong Yidong <cyd@gnu.org>
1959
1960 * custom.el (custom-variable-p): Doc fix.
1961
5ae1a6c8
GM
19622012-01-25 Glenn Morris <rgm@gnu.org>
1963
40047858
GM
1964 * dired.el (dired-goto-file): Handle some of the more common
1965 characters that `ls -b' escapes. (Bug#10596)
1966
5ddce96c
GM
1967 * progmodes/compile.el (compilation-next-error-function):
1968 Respect compilation-first-column in the "*compilation*" buffer.
1969 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
1970
5ae1a6c8
GM
1971 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
1972
b559f1a9
GM
19732012-01-24 Glenn Morris <rgm@gnu.org>
1974
1975 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
1976
6725d21a
JD
19772012-01-24 Julien Danjou <julien@danjou.info>
1978
1979 * color.el (color-rgb-to-hsl): Fix value computing.
1980 (color-hue-to-rgb): New function.
1981 (color-hsl-to-rgb): New function.
1982 (color-clamp, color-saturate-hsl, color-saturate-name)
1983 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1984 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
1985
70df4bbe
GM
19862012-01-24 Glenn Morris <rgm@gnu.org>
1987
1988 * vc/vc-rcs.el (vc-rcs-create-tag):
1989 * vc/vc-sccs.el (vc-sccs-create-tag):
1990 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
1991
802a2ae2
ML
19922012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
1993
1994 * eshell/esh-util.el (eshell-read-hosts-file):
1995 Skip comment lines. (Bug#10549)
1996
d7128bb1
ML
1997 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
1998
d1a5c3b4
JB
19992012-01-23 Juanma Barranquero <lekktu@gmail.com>
2000
2724d9c7
JB
2001 * subr.el (display-delayed-warnings): Doc fix.
2002 (collapse-delayed-warnings): New function to collapse identical
2003 adjacent warnings.
2004 (delayed-warnings-hook): Add it.
d1a5c3b4 2005
a5509865
MA
20062012-01-22 Michael Albinus <michael.albinus@gmx.de>
2007
2008 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2009
2010 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2011 properties, when "login-as" is set.
2012
2013 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2014 (tramp-default-user-alist): Don't add "pscp".
2015 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2016 property "login-as", if set. (Bug#10530)
2017
cc6d5805
MA
20182012-01-21 Michael Albinus <michael.albinus@gmx.de>
2019
2020 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2021 "plink1" and "psftp". (Bug#10530)
2022
20232012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
2024
2025 * international/mule-cmds.el (prefer-coding-system): Show a
2026 warning message if the default value of file-name-coding-system
2027 was not changed.
2028
f0960428
JC
20292012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2030
cb882333
JB
2031 * windmove.el (windmove-reference-loc):
2032 Fix windmove-reference-loc miscalculation.
f0960428 2033
dd6f2a63
JB
20342012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2035
2036 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2037 default unit.
2038
7b447e9b
GM
20392012-01-21 Glenn Morris <rgm@gnu.org>
2040
117a9ea1
GM
2041 * international/mule.el (auto-coding-alist): Add .tbz.
2042
7b447e9b
GM
2043 * files.el (local-enable-local-variables): Doc fix.
2044 (inhibit-local-variables-regexps): Rename from
2045 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
2046 Doc fix. Add some extensions from auto-coding-alist.
2047 (inhibit-local-variables-suffixes):
2048 Rename from inhibit-first-line-modes-suffixes. Doc fix.
2049 (inhibit-local-variables-p):
2050 New function, extracted from set-auto-mode-1.
2051 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
2052 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
2053 (hack-local-variables): Doc fix. Make the mode-only case
2054 respect enable-local-variables and friends.
2055 Respect inhibit-local-variables-regexps for file-locals, but
2056 not for directory-locals.
2057 (set-visited-file-name):
2058 Take account of inhibit-local-variables-regexps.
2059 Whether it applies may change as the file name is changed.
2060 * jka-cmpr-hook.el (jka-compr-install):
2061 * jka-compr.el (jka-compr-uninstall):
2062 Update for inhibit-first-line-modes-suffixes name change.
2063
dd6e3cdd
MR
20642012-01-20 Martin Rudalics <rudalics@gmx.at>
2065
2066 * help-macro.el (make-help-screen): Temporarily restore original
2067 binding for minor-mode-map-alist (Bug#10454).
2068
0d0deb38
JD
20692012-01-19 Julien Danjou <julien@danjou.info>
2070
2071 * color.el (color-name-to-rgb): Use the white color to find the max
2072 color component value and return correctly computed values.
2073 (color-name-to-rgb): Add missing float conversion for max value.
2074
34a02f46
MR
20752012-01-19 Martin Rudalics <rudalics@gmx.at>
2076
2077 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
2078 special state value for window-persistent-parameters.
2079 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
2080 (window--state-put-2): Reset all window parameters to nil before
2081 assigning values of persistent parameters.
2082
606c44c4
AM
20832012-01-18 Alan Mackenzie <acm@muc.de>
2084
2085 Eliminate sluggishness and hangs in fontification of "semicolon
2086 deserts".
2087
cb882333
JB
2088 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2089 Change value 10000 -> 3000.
606c44c4
AM
2090 (c-state-safe-place): Reformulate so it doesn't stack up an
2091 infinite number of wrong entries in c-state-nonlit-pos-cache.
2092 (c-determine-limit-get-base, c-determine-limit): New functions to
2093 determine backward search limits disregarding literals.
2094 (c-find-decl-spots): Amend commenting.
2095 (c-cheap-inside-bracelist-p): New function which detects "={".
2096
2097 * progmodes/cc-fonts.el
2098 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2099 backward search.
2100 (c-font-lock-declarations): Fix an occurrence of point being
2101 undefined. Check additionally for point being in a bracelist or
2102 near a macro invocation without a semicolon so as to avoid a
2103 fruitless time consuming search for a declarator. Give a more
2104 precise search limit for declarators using the new
2105 c-determine-limit.
2106
f3860cea
GM
21072012-01-18 Glenn Morris <rgm@gnu.org>
2108
2109 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2110 (set-auto-mode): Doc fixes.
2111
1db03b16
GM
21122012-01-17 Glenn Morris <rgm@gnu.org>
2113
0e6038be
GM
2114 * isearch.el (search-nonincremental-instead): Fix doc typo.
2115
1db03b16
GM
2116 * dired.el (dired-insert-directory): Handle newlines in directory name.
2117 (dired-build-subdir-alist): Unescape newlines in directory name.
2118
4cb0aa75
MA
21192012-01-17 Michael Albinus <michael.albinus@gmx.de>
2120
2121 * net/tramp.el (tramp-local-end-of-line): New defcustom.
2122 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2123 (tramp-action-terminal): Use it. (Bug#10530)
2124
1d00653d
SM
21252012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2126
2127 * minibuffer.el (completion--replace): Strip properties (bug#10062).
2128
6a6ee00d
MR
21292012-01-16 Martin Rudalics <rudalics@gmx.at>
2130
2131 * window.el (window-state-ignored-parameters): Remove variable.
2132 (window--state-get-1): Rename argument MARKERS to IGNORE.
2133 Handle persistent window parameters. Make copy of clone-of
2134 parameter only if requested. (Bug#10348)
2135 (window--state-put-2): Install a window parameter only if it has
2136 a non-nil value or an existing parameter shall be overwritten.
2137
97912def
MA
21382012-01-15 Michael Albinus <michael.albinus@gmx.de>
2139
2140 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2141
688070a5
EZ
21422012-01-14 Eli Zaretskii <eliz@gnu.org>
2143
2144 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2145 don't pass the (nil) value of `upnode' to string-match.
2146
301afadc
CY
21472012-01-14 Chong Yidong <cyd@gnu.org>
2148
2149 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 2150 Fix values recognized by the cursorBlink resource.
301afadc 2151
9e5788aa
PE
21522012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2153
2154 * epg.el (epg--make-temp-file): Avoid permission race condition
2155 when running on old Emacs versions (bug#10403).
2156
3cdb7f5a
GM
21572012-01-14 Glenn Morris <rgm@gnu.org>
2158
2159 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2160
8c82b1b4
AM
21612012-01-13 Alan Mackenzie <acm@muc.de>
2162
2163 Fix filling for when filladapt mode is enabled.
2164
2165 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2166 c-mask-paragraph, pass in `fill-paragraph' rather than
2167 `fill-region-as-paragraph'. (This is a reversion of a previous
2168 change.)
eb864a71
LM
2169 * progmodes/cc-mode.el (c-basic-common-init):
2170 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 2171
e517eda4
GM
21722012-01-13 Glenn Morris <rgm@gnu.org>
2173
1498536e
GM
2174 * dired.el (dired-switches-escape-p): New function.
2175 (dired-insert-directory): Use dired-switches-escape-p.
2176 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2177
e517eda4
GM
2178 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2179
328f984d
GM
21802012-01-12 Glenn Morris <rgm@gnu.org>
2181
2182 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2183 changes in adaptive-fill-regexp. (Bug#10276)
2184
2cc769a8
AM
21852012-01-11 Alan Mackenzie <acm@muc.de>
2186
2187 Fix Emacs bug #10463 - put `widen's around the critical spots.
2188
1d00653d 2189 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
2190 widen around each invocation of c-state-pp-to-literal. Remove an
2191 unused let variable.
2192
e52c37fa
GM
21932012-01-11 Glenn Morris <rgm@gnu.org>
2194
2195 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 2196 Doc fix.
e52c37fa 2197
96f8741e
CY
21982012-01-10 Chong Yidong <cyd@gnu.org>
2199
1d00653d
SM
2200 * net/network-stream.el (network-stream-open-starttls):
2201 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
2202 response to the capability command.
2203
b09a806e
GM
22042012-01-10 Glenn Morris <rgm@gnu.org>
2205
2206 * mail/unrmail.el (unrmail): Tweak previous change.
2207
7655cb66
CY
22082012-01-09 Chong Yidong <cyd@gnu.org>
2209
2210 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2211
9d5a8f0b
AM
22122012-01-08 Alan Mackenzie <acm@muc.de>
2213
2214 Optimise font locking in long enum definitions.
2215
2216 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2217 arm to a cond form to handle enums.
2218 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2219 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2220
9a0115ab 22212012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
2222
2223 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 2224 (Bug#10401)
6bb72cbd 2225
f186bb95
LMI
22262012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2227
29232a68
LMI
2228 * faces.el (set-face-attribute): Clarify the meaning of the nil
2229 frame (bug#10294).
2230
4e5d086d
LMI
2231 * subr.el (with-selected-frame): Mention that the selected frame
2232 is restored (bug#9980).
2233
8e66aebe
LMI
2234 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2235 (bug#9759).
2236
cd394be1 2237 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
2238 (password-read): Don't autoload unused function.
2239
adf4e762
JB
22402012-01-07 Juanma Barranquero <lekktu@gmail.com>
2241
2242 * progmodes/which-func.el (which-func-mode): Turn into a
2243 non-interactive function and mark as obsolete (bug#10428).
2244
89bd9ccd
CY
22452012-01-06 Chong Yidong <cyd@gnu.org>
2246
2247 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2248 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2249 functions, along with 1 and -1.
2250
4afee9d5
EZ
22512012-01-06 Eli Zaretskii <eliz@gnu.org>
2252
2253 * time.el (display-time-load-average)
2254 (display-time-default-load-average): Doc fixes. See the thread
2255 starting at
2256 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2257 for the details.
2258
536aea70
GM
22592012-01-06 Glenn Morris <rgm@gnu.org>
2260
665ae865
GM
2261 * mail/unrmail.el (unrmail): Give an explicit error if the input file
2262 has no messages. (Bug#10377)
2263
c869783d
GM
2264 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2265 than Info-edit. (Bug#10385)
2266
2bb4227e
GM
2267 * time.el (display-time-load-average, display-time-next-load-average):
2268 Doc fixes.
2269
7d5944b9
GM
2270 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2271 local setting of buffer-read-only to the input buffer. (Bug#10419)
2272
536aea70
GM
2273 * calendar/calendar.el (calendar-mode):
2274 Locally set scroll-margin to 0. (Bug#10379)
2275
7dccca16
UM
22762012-01-06 Ulrich Mueller <ulm@gentoo.org>
2277
2278 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
2279
afbb7930
GM
22802012-01-05 Glenn Morris <rgm@gnu.org>
2281
2282 * eshell/em-unix.el (diff-no-select): Autoload it.
2283 (eshell/diff): Use diff-no-select. (Bug#10420)
2284
04482335
CY
22852012-01-05 Chong Yidong <cyd@gnu.org>
2286
7baca3bc
CY
2287 * shell.el (shell-dynamic-complete-functions): Revert last change.
2288 (shell-command-completion-function): New function.
2289 (shell-completion-vars): Use it to implement
2290 shell-completion-execonly (Bug#10417).
2291
04482335
CY
2292 * custom.el (enable-theme): Don't set custom-safe-themes.
2293
1d00653d
SM
2294 * cus-theme.el (custom-theme-merge-theme):
2295 Ignore custom-enabled-themes and custom-safe-themes.
04482335 2296
bb5aa5d6
MM
22972012-01-05 Michael R. Mauger <mmaug@yahoo.com>
2298
2299 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2300 first prompt in `sql-interacive-mode'.
2301 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 2302 keywords.
6df6ae42 2303 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
2304 (sql-product-interactive): Bug fix: Set `sql-buffer' in
2305 context of original buffer. Invoke `sql-login-hook'.
2306
a7183d7c
EZ
23072012-01-04 Eli Zaretskii <eliz@gnu.org>
2308
2309 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2310 letters in cite-prefix.
2311
a1eacd1e
LMI
23122012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2313
2314 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2315
787cdb34
CY
23162012-01-03 Chong Yidong <cyd@gnu.org>
2317
1d00653d
SM
2318 * shell.el (shell-dynamic-complete-functions):
2319 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
2320 comint-filename-completion first (Bug#10417).
2321
30710442
RS
23222012-01-02 Richard Stallman <rms@gnu.org>
2323
2324 * battery.el (battery-status-function):
2325 Detect when to use battery-yeeloong-sysfs.
2326 (battery-echo-area-format): Add string for Yeeloong.
2327 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2328 (battery-yeeloong-sysfs): New function.
2329
f75bfc33
CY
23302012-01-02 Chong Yidong <cyd@gnu.org>
2331
2332 * dirtrack.el (dirtrack-list): Eliminate unused third element.
2333 (dirtrack): Merge code for handling relative filenames in prompt
2334 from shell-dir-cookie-watcher.
2335 (dirtrack-debug-message): New arg to avoid excess format calls.
2336
2337 * shell.el (shell-dir-cookie-re): Variable deleted.
2338 (shell-dir-cookie-watcher): Function deleted.
2339 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2340 with dirtrack-mode.
2341
651e947e
EZ
23422012-01-01 Eli Zaretskii <eliz@gnu.org>
2343
1d00653d
SM
2344 * term/w32-win.el (dynamic-library-alist) <gnutls>:
2345 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
2346 libgnutls-26.dll.
2347
94d4c7dc
AS
23482011-12-31 Andreas Schwab <schwab@linux-m68k.org>
2349
2350 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2351
8d43f3cd
EZ
23522011-12-31 Eli Zaretskii <eliz@gnu.org>
2353
2354 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2355 headers of non-MIME messages, when rmail-enable-mime is non-nil.
2356
98c8795a
MA
23572011-12-29 Michael Albinus <michael.albinus@gmx.de>
2358
2359 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2360 also for alternative shells.
2361 (tramp-open-connection-setup-interactive-shell): Check, whether
2362 the shell is a busybox.
2363 (tramp-send-command): Don't suppress multiple prompts for
2364 busyboxes, it hurts.
2365
51281b32
CY
23662011-12-28 Chong Yidong <cyd@gnu.org>
2367
2368 * progmodes/gdb-mi.el (gdb-get-source-file-list)
2369 (gdb-get-source-file): Move mode line update to
2370 gdb-get-source-file (Bug#10087).
2371
2170cb53
CY
23722011-12-25 Chong Yidong <cyd@gnu.org>
2373
2374 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2375 gud-gdb-marker-filter without taking it as an argument.
2376 (gud-gdb-run-command-fetch-lines): Caller changed.
2377 (gud-gdb-completion-function): New variable.
2378 (gud-gdb-completion-at-point): Use it.
2379 (gud-gdb-completions-1): Split from gud-gdb-completions.
2380
2381 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2382 function as separate arguments.
2383 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2384 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2385 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2386 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2387 (gdb-stopped, def-gdb-auto-update-trigger)
2388 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
2389 (gdb-get-changed-registers, gdb-get-main-selected-frame):
2390 Callers changed.
2170cb53
CY
2391 (gud-gdbmi-completions): New function.
2392 (gdb): Use it for generating the completion table.
2393
be8b11bb
AM
23942011-12-24 Alan Mackenzie <acm@muc.de>
2395
2396 Introduce a mechanism to widen the region used in context font
1d00653d 2397 locking. Use this to protect declarations from losing their contexts.
be8b11bb 2398
1d00653d
SM
2399 * progmodes/cc-langs.el (c-before-font-lock-functions):
2400 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 2401 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
2402 functions to be run just before context (etc.) font locking.
2403
2404 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 2405 New, functionality extracted from
be8b11bb 2406 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 2407 (c-in-after-change-fontification): New variable.
be8b11bb
AM
2408 (c-after-change): Set c-in-after-change-fontification.
2409 (c-set-fl-decl-start): Rejig its interface, so it can be called
2410 from both after-change and context fontifying.
b81d40f0
JB
2411 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2412 New functions.
2413 (c-standard-font-lock-fontify-region-function): New variable.
2414 (c-font-lock-fontify-region): New function.
be8b11bb 2415
341cf6ac
JL
24162011-12-24 Juri Linkov <juri@jurta.org>
2417
2418 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2419 (Bug#10348)
2420
bffcee0a
MA
24212011-12-23 Michael Albinus <michael.albinus@gmx.de>
2422
2423 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2424 existence of source file. (Bug#10325)
2425
cb5e207c
AM
24262011-12-23 Alan Mackenzie <acm@muc.de>
2427
2428 Fix unstable fontification inside templates.
2429
b81d40f0
JB
2430 * progmodes/cc-langs.el (c-before-font-lock-functions):
2431 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
2432 additionally has c-set-fl-decl-start. The other languages (apart
2433 from AWK) have that as a single entry.
2434
b81d40f0
JB
2435 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2436 The functionality for "local" declarations has been extracted to
cb5e207c
AM
2437 c-set-fl-decl-start.
2438
b81d40f0
JB
2439 * progmodes/cc-mode.el (c-common-init, c-after-change):
2440 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
2441 (c-set-fl-decl-start): New function, extracted from
2442 c-font-lock-enclosing-decls and enhanced.
2443
60ff536c
JB
24442011-12-23 Juanma Barranquero <lekktu@gmail.com>
2445
2446 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2447
1c4757d6
JL
24482011-12-22 Juri Linkov <juri@jurta.org>
2449
2450 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
2451
d031f2c7
CY
24522011-12-22 Chong Yidong <cyd@gnu.org>
2453
2454 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2455
bace743a
DA
24562011-12-21 Drew Adams <drew.adams@oracle.com>
2457
2458 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2459
728a1f2b
JC
24602011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2461
2462 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2463
0d373f73
TZ
24642011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2465
fec0aaa4
TZ
2466 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2467 highlighting and support. Fix up comments for capitalization.
2468 (cfengine-mode-debug): New var.
2469 (cfengine3-mode): Change the modeline indicator to "CFE3".
2470 (cfengine3-font-lock-keywords): Improve defun highlighting.
2471 (cfengine2-actions): Rename from `cfengine-actions'.
2472 (cfengine2-font-lock-keywords): Rename from
2473 `cfengine-font-lock-keywords'.
2474 (cfengine2-imenu-expression): Rename from
2475 `cfengine-imenu-expression'.
2476 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2477 (cfengine2-beginning-of-defun): Rename from
2478 `cfengine-beginning-of-defun'.
2479 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2480 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2481 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2482 modeline indicator to "CFE2".
2483 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2484 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 2485
bc86f573
CY
24862011-12-21 Chong Yidong <cyd@gnu.org>
2487
2488 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2489 filename argument.
2490
d45ba96b
MR
24912011-12-20 Martin Rudalics <rudalics@gmx.at>
2492
2493 * window.el (window-normalize-buffer-to-display): Remove.
2494 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2495
a6198c90
CY
24962011-12-19 Chong Yidong <cyd@gnu.org>
2497
2498 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2499 Don't signal an error in a predicate function; return non-nil.
2500 (vc-dir-mark-file): Move the error here.
2501 (vc-dir-mark-unmark): If acting on the region, keep going if one
2502 of the entries cannot be marked/unmarked.
2503 (vc-dir-mark-all-files): If current entry is a directory, mark
2504 only child files, as documented.
2505
34c5fb55
VB
25062011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2507
2508 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2509 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2510 addition.
2511
c803b2b7
JD
25122011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2513
2514 * term/ns-win.el (ns-get-selection-internal)
2515 (ns-store-selection-internal): Declare.
1154d12e
JB
2516 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2517 Declare as obsolete.
2518 (ns-get-pasteboard, ns-paste-secondary):
2519 Use ns-get-selection-internal.
2520 (ns-set-pasteboard, ns-copy-including-secondary):
2521 Use ns-store-selection-internal.
c803b2b7 2522
9cff91f8 25232011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
2524
2525 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 2526 (vc-deduce-fileset): Doc fix.
99a289d9 2527
f16c898a
AS
25282011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2529
2530 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2531
763237c4
SS
25322011-12-13 Sam Steingold <sds@gnu.org>
2533
2534 * man.el (Man-getpage-in-background): When running under a
2535 window-system, ignore $MANWIDTH and $COLUMNS.
2536
5fc1c122
KH
25372011-12-15 Kenichi Handa <handa@m17n.org>
2538
2539 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2540 (setup-ethiopic-environment-internal): Comment out key-binding for
2541 ethio-toggle-punctuation.
2542
13d49cbb
AM
25432011-12-13 Alan Mackenzie <acm@muc.de>
2544
898169a2
AM
2545 Add the switch statement to AWK Mode.
2546
7a71b18d 2547 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
2548 "default" to the keywords regexp.
2549
7a71b18d 2550 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 2551 expression as the rest.
1d00653d
SM
2552 (c-nonlabel-token-key): Allow string literals for AWK.
2553 Refactor for the other modes.
898169a2 2554
13d49cbb 2555 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 2556 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
2557 routines. Limit backward searching in c-font-lock-enclosing.decl.
2558
2559 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2560 pp-state and literal type in addition to the limits.
1d00653d 2561 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 2562 (c-state-literal-at): Use the above new defun.
1d00653d
SM
2563 (c-slow-in-literal, c-fast-in-literal): Remove.
2564 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
2565
2566 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2567 being in a literal. Add a limit for backward searching.
2568
2569 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2570 c-slow-in-literal.
2571
15e0efc7
SM
25722011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2573
2574 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2575
454592a6
MR
25762011-12-13 Martin Rudalics <rudalics@gmx.at>
2577
2578 * window.el (delete-other-windows): Use correct frame in call to
2579 window-with-parameter.
2580
87393f26
DP
25812011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2582
2583 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2584 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2585 (makefile-gmake-statements, makefile-makepp-statements):
2586 Use it and add new makepp keywords.
2587 (makefile-makepp-font-lock-keywords): Add new patterns.
2588 (makefile-match-function-end): Match new [...] and [[...]].
2589
11636b22
JB
25902011-12-11 Juanma Barranquero <lekktu@gmail.com>
2591
2592 * ses.el (ses-call-printer-return, ses-cell-property-get)
2593 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2594 (ses-create-cell-variable, ses-reset-header-string)
2595 (ses-cell-set-formula, ses-repair-cell-reference-all)
2596 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2597 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2598 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2599 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2600 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2601 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2602 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2603 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2604 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2605 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2606 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2607 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2608
cf018193
VB
26092011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2610
2611 * ses.el: The overall change is to add cell renaming, that is
2612 setting fancy names for cell symbols other than name matching
2613 "\\`[A-Z]+[0-9]+\\'" regexp .
2614 (ses-create-cell-variable): New defun.
2615 (ses-relocate-formula): Relocate formulas only for cells the
2616 symbols of which are not renamed, i.e. symbols whose names do not
2617 match regexp "\\`[A-Z]+[0-9]+\\'".
2618 (ses-relocate-all): Relocate values only for cells the symbols of
2619 which are not renamed.
2620 (ses-load): Create cells variables as the (ses-cell ...) are read,
2621 in order to check row col consistency with cell symbol name only
2622 for cells that are not renamed.
2623 (ses-replace-name-in-formula): New defun.
2624 (ses-rename-cell): New defun.
2625
ee957461
CY
26262011-12-11 Chong Yidong <cyd@gnu.org>
2627
2628 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2629 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2630
9a9e9ef0
MR
26312011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2632
2633 * window.el (other-window): Fix docstring.
2634
92a8eba5
EZ
26352011-12-10 Eli Zaretskii <eliz@gnu.org>
2636
2637 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
2638 `from' or `to' address before taking its substring.
2639 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
2640 encoded name is chopped in the middle of the encoded string, and
2641 thus displayed encoded.
2642
e152e577
JB
26432011-12-10 Juanma Barranquero <lekktu@gmail.com>
2644
2645 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2646
e5d84bfe
EZ
26472011-12-10 Eli Zaretskii <eliz@gnu.org>
2648
2649 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2650 to use texinfo-update-node and commands that call it if the
2651 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 2652 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
2653 (texinfo-all-menus-update, texinfo-master-menu)
2654 (texinfo-update-node, texinfo-every-node-update)
2655 (texinfo-multiple-files-update): Doc fix. Warn against updating
2656 all the @node lines.
2657 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
2658 argument is numeric. Explain better in the doc string what the
2659 function really does.
2660 (texinfo-insert-master-menu-list): Improve the error message
2661 displayed if there's no menu in the Top node.
2662 (Bug#2975) See also this thread:
e5d84bfe
EZ
2663 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2664
1d84e9bb
MG
26652011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2666
2667 * speedbar.el (speedbar-supported-extension-expressions):
2668 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2669
382c953b
JB
26702011-12-09 Juanma Barranquero <lekktu@gmail.com>
2671
2672 * printing.el (pr-mode-alist):
2673 * simple.el (filter-buffer-substring-functions)
2674 (completion-list-insert-choice-function):
2675 * window.el (window-with-parameter, window-atom-root)
2676 (window-sides-slots, window-size-fixed, window-min-delta)
2677 (window-max-delta, window--resize-mini-window)
2678 (window--resize-child-windows-normal, window-tree)
2679 (delete-other-windows, quit-window, split-window)
2680 (display-buffer-record-window, special-display-buffer-names)
2681 (special-display-regexps, special-display-popup-frame)
2682 (same-window-p, split-window-sensibly)
2683 (display-buffer-overriding-action, display-buffer-alist)
2684 (display-buffer-base-action, display-buffer, switch-to-buffer)
2685 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2686 (fit-window-to-buffer, recenter-positions)
2687 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2688 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2689 and remove unneeded backslashes in docstrings.
2690
39c9faef
SM
26912011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2692
98449af8
SM
2693 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2694
39c9faef
SM
2695 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2696 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2697 end in ".mk".
2698 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2699 when reading the makefile (bug#10116).
2700
86ed9fdc
SM
27012011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2702
2703 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2704 (bug#10116).
2705
5580f89d
GM
27062011-12-06 Glenn Morris <rgm@gnu.org>
2707
2708 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2709
28d3917c
CY
27102011-12-06 Chong Yidong <cyd@gnu.org>
2711
2712 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2713
a98edce9
JB
27142011-12-06 Juanma Barranquero <lekktu@gmail.com>
2715
2716 * textmodes/table.el (table-shorten-cell): Fix typo.
2717
e65adfac
CG
27182011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2719
2720 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2721
71cc0b74
EZ
27222011-12-05 Eli Zaretskii <eliz@gnu.org>
2723
2724 * descr-text.el (describe-char): Fix display of strong
2725 right-to-left characters and directional embeddings and overrides.
2726
2727 * simple.el (what-cursor-position): Fix display of codepoints of
2728 strong right-to-left characters.
2729
315bc30d
CY
27302011-12-05 Chong Yidong <cyd@gnu.org>
2731
2732 * faces.el (read-color): Doc fix.
2733
58a70b94
GM
27342011-12-05 Glenn Morris <rgm@gnu.org>
2735
2736 * align.el (align--set-marker): Add doc-string.
2737 Don't try to move something that is not a marker. (Bug#10216)
2738
5158face
GM
27392011-12-04 Glenn Morris <rgm@gnu.org>
2740
2741 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2742 overly zealous deletion of trailing whitespace.
2743
520fca41
JB
27442011-12-04 Juanma Barranquero <lekktu@gmail.com>
2745
2746 * server.el (server-delete-client): On Windows, do not try to delete
2747 the only terminal.
2748 (server-process-filter): On Windows, treat requests for a tty frame as
2749 if they were for a GUI frame if the running server is in GUI mode.
2750
5e605a2e
GM
27512011-12-03 Glenn Morris <rgm@gnu.org>
2752
2753 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2754
5c3fe83f
SM
27552011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2756
6f5e57e7
SM
2757 * electric.el: Streamline electric-indent's hook.
2758 (electric-indent-chars): Revert to simple list.
2759 (electric-indent-functions): New var.
2760 (electric-indent-post-self-insert-function): Use it.
2761
5c3fe83f
SM
2762 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2763 there's no inferior buffer (bug#10196).
2764 (prolog-consult-compile): Don't use toggle-read-only.
2765
6bdac736
MA
27662011-12-02 Michael Albinus <michael.albinus@gmx.de>
2767
2768 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2769 interrupt. (Bug#10187)
2770
6131ba7f
SM
27712011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2772
99c79fee
SM
2773 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2774 (bug#9160).
2775
6131ba7f
SM
2776 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2777 (bug#10191).
2778
cb0a02ea
JL
27792011-12-02 Juri Linkov <juri@jurta.org>
2780
2781 * info.el (Info-search): Display "end of manual" when Isearch
2782 reaches the end of single-file Info manual. (Bug#9918)
2783
66e0570c
EZ
27842011-12-02 Eli Zaretskii <eliz@gnu.org>
2785
2786 * isearch.el (isearch-message-prefix): Run the input method part
2787 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2788
02b16839
JL
27892011-12-02 Juri Linkov <juri@jurta.org>
2790
2791 * isearch.el (isearch-occur): Use `word-search-regexp' for
2792 `isearch-word'.
2793 (isearch-search-and-update): Add condition for `isearch-word' and
2794 call `word-search-regexp'. (Bug#10145)
2795
0b950688
GM
27962011-12-01 Glenn Morris <rgm@gnu.org>
2797
2798 * eshell/em-hist.el (eshell-hist-initialize):
2799 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 2800 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 2801
9505c3c7
SM
28022011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2803
2804 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2805
1bbe96b2 28062011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 2807
a1beca85
SM
2808 * progmodes/verilog-mode.el (verilog-pretty-expr):
2809 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
2810 verilog, such as += *= and the like.
2811 (verilog-assignment-operator-re): Regular expression to find the
2812 assigment operator in a verilog assignment.
2813 (verilog-assignment-operation-re): Regular expression to find an
2814 assignment statement for pretty-expr.
2815 (verilog-in-attribute-p): Query returns true if point is in an
2816 attribute context; used to skip these for expression line up from
2817 pretty-expr.
2818 (verilog-in-parameter-p): Query returns true if point is in an
2819 parameter definition context; used to skip these for expression
2820 line up from pretty-expr.
2821 (verilog-in-parenthesis-p): Query returns true if point is in a
2822 parenthetical expression, specifically ( ) but not [ ] or { };
2823 used by pretty-expr.
2824 (verilog-just-one-space): If there is no space, don't add one.
2825 (verilog-get-lineup-indent-2): Specifically skip just attribute
2826 contexts for expression lineup, rather than skipping all
2827 parenthetical expressions.
2828 (verilog-calculate-indent): Fix comment, and fix indent.
2829 (verilog-do-indent): Indent declarations in lists (suggested by
2830 Joachim Lechner).
2831 (verilog-mode-abbrev-table): Populate abbrev mode with the various
2832 skeleton items.
2833 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2834 by Alain Mellan).
2835
1bbe96b2 28362011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
2837
2838 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2839 parameters with embedded comments. Reported by Ray Stevens.
2840 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2841 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2842 Reported by Tim Holt.
2843 (verilog-auto): Fix AUTOing a upper module then AUTOing module
2844 instantiated by upper module causing wrong expansion until AUTOed a
2845 second time. Reported by K C Buckenmaier.
2846 (verilog-diff-auto): Fix showing .* as a difference when
2847 `verilog-auto-star-save' off. Reported by Dan Dever.
2848 (verilog-auto-reset, verilog-read-always-signals)
2849 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2850 temporary signals in reset list if
2851 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
2852 style to each signal's assignment type, bug381.
2853 Reported by Thomas Esposito.
6288f0ca
WS
2854 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2855 (verilog-uvm-statement-re): Support UVM indentation and
2856 highlighting, with old OVM keywords only.
a1beca85 2857 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
2858 Support AUTOTIEOFF creating non-wire data types.
2859 Suggested by Jonathan Greenlaw.
6288f0ca
WS
2860 (verilog-auto-insert-lisp, verilog-delete-to-paren)
2861 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2862 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
2863 (verilog-read-sub-decls, verilog-read-sub-decls-line):
2864 Fix mismatching parenthesis inside commented out code when deleting
382c953b 2865 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
2866 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2867 non-numeric vector width. Reported by Alex Reed.
2868 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 2869 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
2870 (verilog-auto-delete-trailing-whitespace):
2871 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
2872 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
2873 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2874 Fix verilog-scan-cache corruption when running user AUTO expansion
2875 hooks that call indentation routines.
2876 (verilog-simplify-range-expression): Fix typo ignoring lower case
2877 identifiers.
2878 (verilog-delete-auto): Fix delete-autos to also remove user created
2879 automatics, as long as they start with AUTO.
2880 (verilog-batch-diff-auto, verilog-diff-auto)
2881 (verilog-diff-function): Add `verilog-diff-auto' and bind to
2882 "C-c?" to report differences in AUTO expansion, ignoring spaces.
2883 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2884 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
2885 (verilog-re-search-forward-quick, verilog-syntax-ppss):
2886 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
2887 is disabled and its cache will get corrupt, causing AUTOS not to
2888 expand. Instead use only -quick functions.
2889 (verilog-scan-region): Fix scanning over escaped quotes.
2890 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2891 (verilog-re-search-backward-quick)
2892 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2893 related functions now ignore strings, to fix misparsing of strings
2894 with magic comments embedded in them.
a1beca85
SM
2895 (verilog-read-auto-template):
2896 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2897 Reported by Brad Dobbie.
2898 (verilog-read-auto-template):
2899 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 2900 Reported by Brad Dobbie.
6288f0ca
WS
2901 (verilog-auto-inst, verilog-auto-inst-param)
2902 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2903 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
2904 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
2905 debugging templates without merge conflicts, bug357.
2906 Reported by Brad Dobbie.
2907 (verilog-read-auto-template):
2908 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
2909 Reported by Brad Dobbie.
2910 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2911 abbrevs so user won't be asked to save.
2912 (verilog-read-auto-lisp-present): Fix to start at beginning of
2913 buffer in case called outside of verilog-auto.
2914 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2915 to "X-2". Reported by Matthew Myers.
2916 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2917 all inputs from module templates. Reported by Leith Johnson.
2918 (verilog-module-inside-filename-p): Fix locating programs as with
2919 modules.
2920 (verilog-auto-inst-port): Fix vl-width expressions when using
2921 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
2922 (verilog-decls-get-regs, verilog-decls-get-signals,
2923 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2924 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2925 verilog-read-decls): Combine reg and wire structures into one var
2926 structure to represent SystemVerilog concepts.
2927 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2928 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
2929 (verilog-auto-wire-type, verilog-insert-definition):
2930 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
2931 SystemVerilog "logic" keyword instead of "wire"/"reg".
2932 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2933 to declares outputs that also have assignments (presumably in an
a1beca85
SM
2934 ifdef or generate if so there's not a driver conflict).
2935 Reported by Matthew Myers.
2936 (verilog-auto-declare-nettype, verilog-insert-definition):
2937 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
2938 `default_nettype none. Reported by Julian Gorfajn.
2939 (verilog-read-always-signals-recurse, verilog-read-decls)
2940 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2941 malformed end statement, bug325. Reported by Joshua Wise and
2942 Andrew Drake.
2943 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2944 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
2945 when expanding .* in interfaces, bug320.
2946 Reported by Pierre-David Pfister.
6288f0ca 2947 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
2948 name and open parenthesis, bug317.
2949 Reported by Pierre-David Pfister.
6288f0ca
WS
2950 (verilog-simplify-range-expression): Fix simplification of
2951 multiplications inside AUTOWIRE connections, bug303.
2952 (verilog-auto-inst-port): Support parameter expansion in
2953 multidimensional arrays.
2954 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
2955 after "assert property". Reported by Julian Gorfajn.
2956 (verilog-simplify-range-expression): Fix "couldn't merge" errors
2957 with multiplication, bug303.
2958 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
2959 Reported by Jan Frode Lonnum.
2960
1bbe96b2
GM
29612011-11-30 Juanma Barranquero <lekktu@gmail.com>
2962
2963 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
2964 (hfy-shell-file-name, hfy-shell):
2965 * international/fontset.el (x-decompose-font-name): Fix typos.
2966
29672011-11-29 Ken Brown <kbrown@cornell.edu>
2968
2969 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
2970 (gdb-version): Remove defvar.
2971 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
2972 (gdb-gud-context-command, gdb-non-stop-handler)
2973 (gdb-current-context-command, gdb-stopped): Use it.
2974 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
2975 (gdb-non-stop-handler): Don't enable pretty-printing here.
2976 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
2977 non-stop mode. Use the following.
2978 (gdb-check-target-async): New defun.
2979 (gud-watch, gdb-stopped): Fix whitespace.
2980 (gdb-get-source-file): Don't try to display the source file if
2981 `gdb-main-file' is nil.
2982
29832011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2984
2985 * align.el: Try to generate fewer markers (bug#10047).
2986 (align--set-marker): New macro.
2987 (align-region): Use it.
2988
c935221f
SM
29892011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2990
2991 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
2992
e70b5064
CY
29932011-11-29 Chong Yidong <cyd@gnu.org>
2994
2995 * indent.el (indent-for-tab-command, indent-according-to-mode):
2996 Doc fix.
2997 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
2998
f3af92b7
MA
29992011-11-29 Michael Albinus <michael.albinus@gmx.de>
3000
3001 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3002 aware of remote file names. (Bug#10124)
3003
ed472be9
CY
30042011-11-29 Chong Yidong <cyd@gnu.org>
3005
3006 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3007
24510c22
SM
30082011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3009
3010 * files.el (find-file): Don't use force-same-window (bug#10144).
3011 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3012 use pop-to-buffer if the selected window can't be used.
3013 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3014
c60c3703
EZ
30152011-11-28 Eli Zaretskii <eliz@gnu.org>
3016
3017 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3018 special-mode-map.
3019
e95def75
CY
30202011-11-28 Chong Yidong <cyd@gnu.org>
3021
3022 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3023
c3f1c606
NR
30242011-11-27 Nick Roberts <nickrob@snap.net.nz>
3025
3026 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3027 gdb-get-source-file-list on gdb-create-source-file-list.
3028
00db469c
EZ
30292011-11-26 Eli Zaretskii <eliz@gnu.org>
3030
3031 * whitespace.el (whitespace-newline): Use a different foreground
3032 color for 16-color light-background displays.
3033
4ad3bc2a
CY
30342011-11-24 Chong Yidong <cyd@gnu.org>
3035
3036 * window.el (display-buffer--special-action): Doc fix.
3037
e9fce1ac
JB
30382011-11-25 Juanma Barranquero <lekktu@gmail.com>
3039
3040 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3041 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3042 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3043 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3044 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3045 (avl-tree-stack-first):
3046 * emacs-lisp/cconv.el (cconv--analyse-use):
3047 * net/gnutls.el (gnutls-negotiate): Fix typos.
3048
cb825e5d
GM
30492011-11-24 Glenn Morris <rgm@gnu.org>
3050
3adbe224
GM
3051 * lpr.el (lpr-windows-system, lpr-lp-system):
3052 * mail/binhex.el (binhex-begin-line):
3053 * progmodes/grep.el (grep-history, grep-find-history):
3054 * textmodes/flyspell.el:
3055 * vc/pcvs-defs.el (cvs-global-menu):
3056 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3057 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3058 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3059
321decc8
GM
3060 * net/tls.el: Fix case of "GnuTLS".
3061
420b63ad
GM
3062 * paths.el (rmail-file-name): Format doc-string for make-docfile.
3063
cb825e5d
GM
3064 * version.el (emacs-build-system): Give it a doc-string.
3065
a0649f08
JL
30662011-11-24 Juri Linkov <juri@jurta.org>
3067
3068 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3069
c0bc0fd4
GM
30702011-11-24 Glenn Morris <rgm@gnu.org>
3071
3072 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3073 if called on a non-mime message just toggle the headers. (Bug#8006)
3074
20db1522
JB
30752011-11-24 Juanma Barranquero <lekktu@gmail.com>
3076
3077 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3078 (allout-lead-with-comment-string, allout-structure-deleted-hook)
3079 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3080 (allout-rebullet-heading, allout-open-sibtopic)
3081 (allout-toggle-current-subtree-encryption)
3082 (allout-toggle-subtree-encryption, allout-encrypt-string)
3083 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3084 (allout-distinctive-bullets-string, allout-auto-activation):
3085 * window.el (window-normalize-buffer-to-display):
3086 * progmodes/verilog-mode.el (verilog-batch-indent):
3087 * textmodes/bibtex.el (bibtex-field-braces-opt)
3088 (bibtex-field-strings-opt):
3089 * vc/cvs-status.el (cvs-tree-merge):
3090 Fix typos.
3091
7262a87c
MA
30922011-11-23 Michael Albinus <michael.albinus@gmx.de>
3093
3094 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3095 `non-essential' to t, in order to avoid remote connections.
3096
283430a1
EZ
30972011-11-23 Eli Zaretskii <eliz@gnu.org>
3098
a1beca85
SM
3099 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3100 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
3101 case-insensitively.
3102
d2992a38
ML
31032011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3104
3105 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
3106
50419064
GM
31072011-11-23 Glenn Morris <rgm@gnu.org>
3108
da94eca1
GM
3109 * paths.el (rmail-file-name): Reformat the doc-string so that it
3110 is picked up.
3111
9aac4de2
GM
3112 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3113 (rmail-auto-file): Ignore case in the "special" field names,
3114 as mail-fetch-field does for all others.
3115
8038d2d2
GM
3116 * mail/rmail.el (rmail-forward):
3117 * mail/rmailkwd.el (rmail-set-label):
3118 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3119 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
3120
f3fe222a
GM
3121 * mail/rmail.el (rmail-current-message): Doc fix.
3122
50419064
GM
3123 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
3124
28109f49
SM
31252011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3126
3127 * server.el (server-eval-and-print): Allow C-g (bug#6585).
3128
394c65f1
GM
31292011-11-22 Glenn Morris <rgm@gnu.org>
3130
3131 * mail/rmailmm.el (test-rmail-mime-handler)
3132 (test-rmail-mime-bulk-handler)
3133 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3134
f2a0aa3a
JL
31352011-11-21 Juri Linkov <juri@jurta.org>
3136
1154d12e
JB
3137 * calc/calc.el (calc-read-key-sequence):
3138 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 3139
9c34a344
LMI
31402011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3141
3142 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3143 Tell the caller that the next line needs recomputation, even
3144 though it doesn't start a sexp (bug#10094).
3145
f04a3be9
SM
31462011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3147
3148 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3149
7978747f
SM
31502011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3151
f04a3be9
SM
3152 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3153 Use force-same-window.
7978747f 3154
fe7a3057
JB
31552011-11-20 Juanma Barranquero <lekktu@gmail.com>
3156
3157 * descr-text.el (describe-char-unicode-data):
3158 * json.el (json-string-escape):
3159 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3160 (Footnote-unicode, Footnote-style-p):
3161 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3162
24901d61
CY
31632011-11-20 Chong Yidong <cyd@gnu.org>
3164
3165 * window.el (replace-buffer-in-windows): Restore interactive spec.
3166
bac7ff22
SM
31672011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3168
24f3d7b9
SM
3169 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3170
bac7ff22
SM
3171 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3172 (byte-compile-global-not-obsolete-vars): New var.
3173 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3174 Use it.
3175 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3176
cd1181db
JB
31772011-11-20 Juanma Barranquero <lekktu@gmail.com>
3178
3179 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3180 * progmodes/pascal.el (electric-pascal-equal):
3181 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3182 * xml.el (xml-substitute-special): Fix typos.
3183
7fb18e9e
GM
31842011-11-20 Glenn Morris <rgm@gnu.org>
3185
3186 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3187 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3188 Doc fixes.
3189 (rmail-decode-mime-charset): Mark as obsolete.
3190
3191 * mail/rmailsum.el (rmail-message-regexp-p-1):
3192 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3193 Before using mime functions, check they are set. (Bug#10077)
3194
d5a6b3ba
JL
31952011-11-19 Juri Linkov <juri@jurta.org>
3196
3197 * info.el (Info-finder-find-node): Use `package--builtins' instead
3198 of `package-alist'. Use node names formed by the pattern "Keyword "
3199 and the keyword name.
3200
e981b61f
AS
32012011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3202
1d00653d 3203 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 3204
3ffbc301
JL
32052011-11-19 Juri Linkov <juri@jurta.org>
3206
3207 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3208 that calls `revert-buffer' on all Info buffers. (Bug#9915)
3209 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3210 `old-history', `old-history-forward'. Add let-binding
3211 `window-selected'. Remove calls to `kill-buffer',
3212 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
3213 before calling `Info-find-node', so `Info-find-node-2' will reread
3214 the Info file. Restore window positions only when `window-selected'
3215 is non-nil.
3216
30c62133
JL
32172011-11-19 Juri Linkov <juri@jurta.org>
3218
3219 * isearch.el (isearch-lazy-highlight-new-loop):
3220 Remove condition `(not isearch-error)'. (Bug#9918)
3221
3222 * misearch.el (multi-isearch-search-fun): Add condition
3223 `(not bound)' to ignore lazy-highlighting search.
3224 Add the search-failed message "end of multi" when the end of
3225 multi-sequence is reached. Uncapitalize the search-failed
3226 message "Repeat for next buffer".
3227
3228 * info.el (Info-search): Add the search-failed message
3229 "end of the manual" when the end of the manual is reached
3230 in Isearch mode.
3231
645ca9cf
JL
32322011-11-19 Juri Linkov <juri@jurta.org>
3233
3234 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3235 Use non-destructive `remove' instead of `delete' because
3236 `Info-history-list' stored to `Info-isearch-initial-history-list' in
3237 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3238
df754f66
JL
32392011-11-19 Juri Linkov <juri@jurta.org>
3240
3241 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3242 to nil instead of binding `search-ring' and `regexp-search-ring'.
3243 (Bug#9185)
3244
0e23d96a
EZ
32452011-11-19 Eli Zaretskii <eliz@gnu.org>
3246
3247 * simple.el (line-move): Force movement by logical lines for any
3248 hscrolled window, not only when auto-hscroll-mode is on.
3249 (line-move-visual): Update doc string to that effect. (Bug#10076)
3250
8a6ccb66
AS
32512011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3252
3253 * language/european.el (macintosh): Define as alias for mac-roman.
3254
49ae5b39
EZ
32552011-11-19 Eli Zaretskii <eliz@gnu.org>
3256
3257 * mail/rmailmm.el (rmail-mime-display-header)
3258 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3259 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3260 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3261 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3262 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3263 of a raw aref.
3264 (rmail-mime-entity-segment): To get past the tagline, move forward
3265 2 more lines, to account for the 2 empty lines that precede and
3266 follow the line with the buttons.
3267 (rmail-mime-update-tagline): Move one more line, to get past the
3268 empty line that follows the buttons in the tagline. (Bug#9520)
3269
c56cad4a
MR
32702011-11-19 Martin Rudalics <rudalics@gmx.at>
3271
3272 * window.el (window-max-delta-1, window-min-delta-1)
3273 (window-min-size-1, window-state-get-1, window-state-put-1)
3274 (window-state-put-2): Use "window--" prefix.
3275
cbe71af3
SM
32762011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3277
2ad52c60
SM
3278 * emacs-lisp/smie.el: Improve warnings and conflict detection.
3279 (smie-warning-count): New var.
3280 (smie-set-prec2tab): Use it.
3281 (smie-bnf->prec2): Improve warnings. Add docstring.
3282 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3283 (smie-bnf--set-class): New function.
3284 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
3285 corner case.
3286
6944dbc1
SM
3287 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3288 (compilation-error-properties, compilation-move-to-column):
3289 Handle compilation-first-column while in the target buffer.
3290
c400c4d7
SM
3291 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3292 Don't hardcode point-min==1.
3293
6dbe3e96
SM
3294 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3295 (eshell-rewrite-for-command): Remove workaround.
3296 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3297 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3298 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3299
cbe71af3
SM
3300 * files-x.el (modify-file-local-variable): Obey commenting conventions.
3301
a8e1496d
GM
33022011-11-17 Glenn Morris <rgm@gnu.org>
3303
3304 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3305 Ignore buffer-local generated-autoload-file if it is the same
3306 as the global value. (Bug#10049)
3307
df85d315
JB
33082011-11-17 Juanma Barranquero <lekktu@gmail.com>
3309
3310 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3311 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3312 (reftex-toc-previous-heading, reftex-toc-max-level)
3313 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3314 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3315 (reftex-toc-do-promote, reftex-toc-promote-prepare)
3316 (reftex-toc-promote-action, reftex-toc-extract-section-number)
3317 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3318 (reftex-toc-rename-label, reftex-toc-visit-location)
3319 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3320 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3321 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3322 leaving "*toc*" only for references to the buffer.
3323
a0c2d0ae
MR
33242011-11-17 Martin Rudalics <rudalics@gmx.at>
3325
3326 * window.el (window-resize, delete-window, split-window):
3327 Replace window-splits by window-combination-resize.
1d00653d 3328 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 3329
35c0bac8
GM
33302011-11-17 Glenn Morris <rgm@gnu.org>
3331
3332 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3333 Make bash entry derive from sh entry, not shell entry.
3334
d0c8fc8a
MA
33352011-11-16 Michael Albinus <michael.albinus@gmx.de>
3336
d0c8fc8a
MA
3337 * net/tramp-cache.el (tramp-flush-file-property): Flush also
3338 properties of linked files. (Bug#9879)
3339
7262a87c
MA
3340 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3341 local file name.
3342
7877f373
JB
33432011-11-16 Juanma Barranquero <lekktu@gmail.com>
3344
3345 * menu-bar.el (menu-bar-file-menu):
3346 * printing.el (pr-ps-utility):
3347 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3348 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3349 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3350 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3351 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3352 (icalendar--convert-cyclic-to-ical)
3353 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3354 (icalendar--convert-ical-to-diary)
3355 (icalendar--convert-recurring-to-diary)
3356 (icalendar--convert-non-recurring-all-day-to-diary)
3357 (icalendar-import-format-sample):
3358 * progmodes/idlw-shell.el (idlwave-shell-mode):
3359 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3360 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3361 (vhdl-ps-print-init): Fix typos.
3362
10649b82
KM
33632011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
3364
9d0cfcd6
GM
3365 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3366 FSF and collapse date sequence, obscure author/maintainer email address
3367 better, remove extra version line, track relocation of author's webpage.
10649b82 3368
9d0cfcd6
GM
3369 * progmodes/python.el (python-pdbtrack-input-prompt)
3370 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3371 regular python pdb prompts. Adjustments shamelessly taken exactly as
3372 suggested in EmacsWiki page (tiny change):
3373 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 3374
58179cce
JB
33752011-11-16 Juanma Barranquero <lekktu@gmail.com>
3376
3377 * expand.el (expand-pos, expand-index, expand-point):
3378 Remove redundant info from docstring.
3379 (expand-add-abbrevs): Doc fix.
3380 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3381 (expand-sample-perl-mode-expand-list): Fix typos.
3382
3383 * net/dbus.el (dbus-event-member-name):
3384 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3385 * term/pc-win.el (msdos-create-frame-with-faces):
3386 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3387
b6f67890
MR
33882011-11-16 Martin Rudalics <rudalics@gmx.at>
3389
3390 * window.el (split-window, window-state-get-1)
3391 (window-state-put-1, window-state-put-2): Rename occurrences of
3392 window-nest to window-combination-limit.
1d00653d 3393 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 3394
ce7ddba0
CY
33952011-11-16 Chong Yidong <cyd@gnu.org>
3396
3397 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3398 regexp (Bug#10033).
3399
3ae704f4
SM
34002011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3401
3402 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3403 `completing-read' will remove *Completions* and will preserve
3404 current-buffer for us.
3405 (tmm-add-prompt): Users of *Completions* will always (re)set its
3406 major mode.
3407 (tmm-old-comp-map): Remove.
3408
6ad1cdde
GM
34092011-11-16 Glenn Morris <rgm@gnu.org>
3410
3411 * mail/rmailedit.el: Require rmailmm when compiling.
3412 (rmail-old-mime-state): New declaration.
3413 (rmail-edit-current-message): If editing a mime message,
3414 edit the "raw" message from the mbox buffer.
3415 (rmail-cease-edit): Handle mime messages. (Bug#9840)
3416
d20faa20
GM
34172011-11-15 Glenn Morris <rgm@gnu.org>
3418
3419 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3420 which wasn't being used. Add optional arg to force given state.
3421 (rmail-mime): Add optional arg to force given state.
3422
c7015153
JB
34232011-11-15 Juanma Barranquero <lekktu@gmail.com>
3424
3425 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3426 * frame.el (display-mm-dimensions-alist):
3427 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3428 (outline-move-subtree-down):
3429 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3430 (newsticker--treeview-do-get-node):
3431 * net/quickurl.el (quickurl-list-buffer-name):
3432 * progmodes/dcl-mode.el (dcl-mode):
3433 * progmodes/gdb-mi.el (gdb-mapcar*):
3434 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3435
45261b50
GM
34362011-11-15 Glenn Morris <rgm@gnu.org>
3437
3438 * mail/rmail.el (rmail-file-coding-system): It's only ever used
3439 in a boolean sense, so just make it a boolean, and fix the doc.
3440 (rmail-show-mime-function, rmail-mime-feature)
3441 (rmail-require-mime-maybe): Doc fixes.
3442 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3443
3444 * mail/rmailmm.el (rmail-show-mime): Doc fix.
3445
0d26e0b6
JB
34462011-11-15 Juanma Barranquero <lekktu@gmail.com>
3447
3448 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3449 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3450 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3451 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3452
447f30f6
GM
34532011-11-15 Glenn Morris <rgm@gnu.org>
3454
672b871d
GM
3455 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3456 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3457 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3458 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3459 (rmail-mime, rmail-show-mime): Doc fixes.
3460
f6aa5bb1
GM
3461 * term/ns-win.el (mode-line-frame-identification):
3462 Leave it alone. (Bug#10051)
3463
947cd66b
GM
3464 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3465
447f30f6
GM
3466 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3467 Handle empty buffers. (Bug#9978)
3468
0b381c7e
JB
34692011-11-14 Juanma Barranquero <lekktu@gmail.com>
3470
3471 * international/mule.el (define-charset):
3472 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3473 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3474 * progmodes/verilog-mode.el (verilog-backward-token):
3475 * textmodes/ispell.el (lookup-words):
3476 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3477
71e027ac
GM
34782011-11-14 Glenn Morris <rgm@gnu.org>
3479
56632ce4
GM
3480 * progmodes/executable.el
3481 (executable-make-buffer-file-executable-if-script-p):
3482 Handle file-modes returning nil.
3483
40500957
GM
3484 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3485 message - not necessary, and causes problems. (Bug#9831)
3486
071c2340
GM
3487 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3488
d3cfca60
GM
3489 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3490
71e027ac
GM
3491 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3492 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
3493 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3494
89d61221
MR
34952011-11-12 Martin Rudalics <rudalics@gmx.at>
3496
3497 * window.el (window-resize, delete-window): Use window-splits
3498 variable instead of function.
3499 (window-state-get-1, window-state-put-2, window-state-put):
3500 Don't deal with windows' splits status.
3501
98282f6f
GM
35022011-11-12 Glenn Morris <rgm@gnu.org>
3503
3504 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3505 (apropos-documentation): Doc fixes.
3506
40a8bdf6
JB
35072011-11-11 Juanma Barranquero <lekktu@gmail.com>
3508
3509 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3510 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3511
65bd19ff
SM
35122011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3513
3514 * electric.el (electric-indent-post-self-insert-function): Make it
3515 possible for a char to only indent in some circumstances.
3516 (electric-indent-mode): Simplify.
3517
54f9154c
MR
35182011-11-11 Martin Rudalics <rudalics@gmx.at>
3519
3520 * window.el (windows-with-parameter): Remove unused function.
3521 (windows-at-side): Rename to window-at-side-list.
3522 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
3523 (window-side-check, window-size-ignore, window-size-fixed-1)
3524 (window-in-direction-2): Prefix with "window--".
3525 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 3526
68cbc58b
GM
35272011-11-11 Glenn Morris <rgm@gnu.org>
3528
3529 * subr.el (eval-after-load): If FILE is already loaded,
3530 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3531
b2621720
GM
35322011-11-10 Glenn Morris <rgm@gnu.org>
3533
9a4de110
GM
3534 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3535 Call svn via vc-svn-command rather than vc-do-command.
3536 (vc-svn-command): Add --non-interactive. (Bug#9993)
3537 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3538
b2621720
GM
3539 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3540 Add toggle-read-only. (Bug#7292)
3541 * files.el (toggle-read-only): Mention that it should only
3542 be used interactively. (Bug#10006)
3543
1dce7193
SM
35442011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3545
d9ac1a1e
SM
3546 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3547 Adjust regexp for OCaml warnings.
3548
0c325082
SM
3549 * electric.el (electric-pair-post-self-insert-function): Let user
3550 turn it off buffer-locally (bug#9932).
3551
90132c14
SM
3552 * progmodes/python.el (python-beginning-of-statement):
3553 Rewrite (bug#2703).
3554
1dce7193
SM
3555 * progmodes/compile.el: Better handle TABs (bug#9749).
3556 (compilation-internal-error-properties)
3557 (compilation-next-error-function): Obey the target buffer's
3558 compilation-error-screen-columns.
3559
c4e7c63a
JB
35602011-11-09 Juanma Barranquero <lekktu@gmail.com>
3561
3562 * progmodes/meta-mode.el: Remove obsolete comments.
3563 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3564 Fix typos in docstrings.
3565
2cffd681
MR
35662011-11-09 Martin Rudalics <rudalics@gmx.at>
3567
3568 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 3569 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
3570 (window--resizable): New function. Make all callers of
3571 window-resizable call window--resizable instead.
3572 (window-resizable): Rewrite in terms of window--resizable.
3573
0edcba87
GM
35742011-11-08 Glenn Morris <rgm@gnu.org>
3575
3576 * progmodes/delphi.el (delphi-mode-syntax-table):
3577 Let define-derived-mode define a proper syntax table. (Bug#9994)
3578
4b0d61e3
SM
35792011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3580
3581 * window.el: Stay away from defsubst.
3582 (window-list-no-nils): Remove.
3583 (window-state-get-1, window-state-get): Use backquote instead.
3584
cd394be1 35852011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 3586
4b0d61e3 3587 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 3588 Fix incorrect use of default argument in `completing-read'.
3589
e1c2c6f2
MR
35902011-11-08 Martin Rudalics <rudalics@gmx.at>
3591
3592 * window.el (display-buffer-function, special-display-function):
3593 Mention display-buffer-record-window but do not mention
3594 help-setup parameter in doc-strings.
b3f4a882 3595 (window-min-delta): Fix doc-string typo.
e1c2c6f2 3596
105216ed
CY
35972011-11-08 Chong Yidong <cyd@gnu.org>
3598
3599 * window.el (window-total-height, window-total-width): Doc fix.
3600 (window-body-size): Move from C.
3601 (window-body-height, window-body-width): Move to C.
3602
0a9f9ab5
SM
36032011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3604
3605 * window.el: Make special-display like display-buffer-alist (bug#9532).
3606 (display-buffer--special-action): New function, morphed
3607 from display-buffer--special.
3608 (display-buffer): Use it to handle special-display-buffers at higher
3609 priority (just after display-buffer-alist).
3610 (display-buffer-fallback-action, display-buffer--other-frame-action)
3611 (pop-to-buffer-same-window): Remove display-buffer--special.
3612
a769dd15
GM
36132011-11-07 Glenn Morris <rgm@gnu.org>
3614
3615 * calendar/cal-menu.el (cal-menu-set-date-title):
3616 Do nothing if not in a calendar. (Bug#9976)
3617
05a61ee3
SM
36182011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3619
3620 * files.el (find-file): Always use selected-window.
3621
be7f5545
MR
36222011-11-07 Martin Rudalics <rudalics@gmx.at>
3623
3624 * window.el (window-combinations): Make WINDOW argument
3625 mandatory. Rewrite doc-string.
3626 (walk-window-subtree, window-atom-check, window-min-delta)
3627 (window-max-delta, window--resize-this-window)
3628 (window--resize-root-window-vertically, window-tree)
3629 (balance-windows, window-state-put): Rewrite doc-strings as to
3630 not mention the term "subwindow".
3631 (window--resize-subwindows-skip-p): Rename to
3632 window--resize-child-windows-skip-p.
3633 (window--resize-subwindows-normal): Rename to
3634 window--resize-child-windows-normal.
3635 (window--resize-subwindows): Rename to
3636 window--resize-child-windows.
3637 (window-or-subwindow-p): Rename to window--in-subtree-p.
3638
3c6702ef
ML
36392011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3640
3641 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3642 Ensure that mbox format messages end in two newlines (Bug#9974).
3643
49745b39
CY
36442011-11-06 Chong Yidong <cyd@gnu.org>
3645
3646 * window.el (window-combination-p): Function deleted; its
3647 side-effect is not used in any existing code.
3648 (window-combinations, window-combined-p): Call window-*-child
3649 directly.
3650
24300f5f
CY
36512011-11-05 Chong Yidong <cyd@gnu.org>
3652
3653 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
3654 (window-size-ignore, window-state-get): Callers changed.
3655 (window-normalize-window): Rename from window-normalize-any-window.
3656 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 3657 (window-normalize-live-window): Delete.
447f16b8
CY
3658 (window-combination-p, window-combined-p, window-combinations)
3659 (walk-window-subtree, window-atom-root, window-min-size)
3660 (window-sizable, window-sizable-p, window-size-fixed-p)
3661 (window-min-delta, window-max-delta, window-resizable)
3662 (window-resizable-p, window-full-height-p, window-full-width-p)
3663 (window-current-scroll-bars, window-point-1, set-window-point-1)
3664 (window-at-side-p, window-in-direction, window-resize)
3665 (adjust-window-trailing-edge, maximize-window, minimize-window)
3666 (window-deletable-p, delete-window, delete-other-windows)
3667 (record-window-buffer, unrecord-window-buffer)
3668 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3669 (quit-window, split-window, window-state-put)
3670 (set-window-text-height, fit-window-to-buffer)
3671 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 3672
89bd5ee1
EZ
36732011-11-04 Eli Zaretskii <eliz@gnu.org>
3674
53479029
EZ
3675 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3676 rfc2047-decode-string.
3677 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3678 warnings.
3679
89bd5ee1
EZ
3680 * window.el (window-body-height, window-body-width): Mention in
3681 the doc string that the return values are in frame's canonical
3682 units. (Bug#9949)
3683
bd17fdee
AM
36842011-11-03 Alan Mackenzie <acm@muc.de>
3685
3686 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3687 change in cc-engine.el.
3688
acc825c5
SM
36892011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3690
3691 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3692
1885e5b8
MR
36932011-11-02 Martin Rudalics <rudalics@gmx.at>
3694
3695 * window.el (quit-window): Call unrecord-window-buffer after
3696 showing another buffer in the window. (Bug#9937)
acc825c5 3697 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 3698
ebe06da9
JB
36992011-11-02 Juanma Barranquero <lekktu@gmail.com>
3700
3701 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3702 Accept status with more than 9 shelves. (Bug#9935)
3703 Reported by Colin D Bennett <colin@gibibit.com>.
3704
4ee88440
MR
37052011-11-01 Martin Rudalics <rudalics@gmx.at>
3706
3707 * help.el (with-help-window): Don't reference
3708 temp-buffer-show-specifiers in doc-string.
3709
08e1d82c
AS
37102011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3711
3712 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3713 menu-item.
3714
84bd6e9e
VJL
37152011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3716
3717 * whitespace.el: New version 13.2.2.
3718 (whitespace-newline-mode): Disable properly. Reported by Sarah
3719 <EmacsWiki>.
3720
dba0634a
UJ
37212011-10-30 Ulf Jasper <ulf.jasper@web.de>
3722
3723 * net/newst-treeview.el: Remove "Time-stamp".
3724 (newsticker--group-manage-orphan-feeds): Do not call
3725 newsticker--treeview-tree-update.
db22a3c2
JB
3726 (newsticker-treeview-update, newsticker-treeview):
3727 Call newsticker--treeview-tree-update if necessary.
dba0634a 3728
3d8daefe
MR
37292011-10-30 Martin Rudalics <rudalics@gmx.at>
3730
3731 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
3732 (window-iso-combinations): Remove "iso-" infix.
3733 Suggested by Chong Yidong.
3d8daefe
MR
3734 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3735 (window-max-delta-1, window-resize, window--resize-siblings)
3736 (window--resize-this-window, adjust-window-trailing-edge)
3737 (split-window, balance-windows-1)
3738 (shrink-window-if-larger-than-buffer):
3739 * calendar/calendar.el (calendar-generate-window):
db22a3c2 3740 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 3741
1bc4c3ae
SM
37422011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3743
3744 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3745 in place (bug#9907).
3746 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3747 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3748 (eshell-structure-basic-command, eshell-rewrite-while-command)
3749 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3750 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3751 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3752 (eshell-do-pipelines-synchronously, eshell-eval-command):
3753 Use backquotes and prefer setq to set.
3754 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3755 (eshell-macrop): Use functionp.
c1e2f5fa 3756 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 3757
30b65d9c
CY
37582011-10-30 Chong Yidong <cyd@gnu.org>
3759
3760 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3761 instead of set-mark (Bug#9810).
3762
2d197ffb
CY
37632011-10-30 Chong Yidong <cyd@gnu.org>
3764
3765 * window.el (split-window-below, split-window-right): Rename from
3766 split-window-above-each-other and split-window-side-by-side
3767 respectively. All callers changed.
3768 (split-window-sensibly, split-window-sensibly): Use them.
3769 (split-window-keep-point): Doc fix.
3770
3771 * isearch.el: Add isearch-scroll property to split-window-below
3772 and split-window-right.
3773
3774 * follow.el (follow-mode):
3775 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3776 * progmodes/ada-xref.el (ada-gdb-application):
3777 * emulation/vip.el (vip-buffer-in-two-windows):
3778 * image-dired.el (image-dired-dired-with-window-configuration):
3779 * dired-x.el (dired-do-find-marked-files):
3780 * dired.el (dired-pop-to-buffer):
3781 * bs.el (bs--show-with-configuration):
3782 * vc/emerge.el (emerge-setup-windows):
3783 * textmodes/two-column.el (2C-two-columns):
3784 * textmodes/reftex-toc.el (reftex-toc):
3785 * progmodes/gdb-mi.el (gdb-setup-windows):
3786 * progmodes/fortran.el (fortran-window-create):
3787 * net/newst-treeview.el (newsticker--treeview-window-init):
3788 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3789 * emulation/tpu-edt.el (tpu-gold-map):
3790 * emulation/crisp.el (crisp-mode-map):
3791 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3792
38bb2ca8
CY
37932011-10-29 Chong Yidong <cyd@gnu.org>
3794
aa4de341
CY
3795 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3796
e1eb5385
CY
3797 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3798
5d2ece3c
CY
3799 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3800 forged Ispell output (Bug#7904).
3801
38bb2ca8
CY
3802 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3803
d0af9f77
SM
38042011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3805
3806 * doc-view.el: Avoid ugly errors about not finding nil.
3807 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3808 (doc-view-dvipdf-program, doc-view-unoconv-program)
3809 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3810 Avoid nil or absolute file name as default value.
3811 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3812
52bedd34
AM
38132011-10-28 Alan Mackenzie <acm@muc.de>
3814
db22a3c2 3815 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 3816
7e43cfa5
AM
38172011-10-28 Alan Mackenzie <acm@muc.de>
3818
3819 Amend the handling of c-beginning/end-of-defun in nested declaration
3820 scopes.
3821
52bedd34
AM
3822 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3823 cc-langs.el. Change it to a defcustom.
7e43cfa5 3824
52bedd34
AM
3825 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3826 cc-vars.el.
7e43cfa5 3827
d0af9f77
SM
3828 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3829 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 3830
52bedd34 3831 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 3832 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
3833 (c-widen-to-enclosing-decl-scope): New function.
3834 (c-while-widening-to-decl-block): New macro.
3835 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3836 outward for defun boundaries, and correspondingly change symbol
3837 `respect-enclosure' to `go-outward'.
3838 (c-declaration-limits): Change algorithm to report only the "innermost"
3839 defun's boundaries.
3840
1a2ce9ee
DD
38412011-10-28 Deniz Dogan <deniz@dogan.se>
3842
3843 * net/rcirc.el (rcirc-mode): Use hard newlines.
3844
bc97a826
AM
38452011-10-28 Alan Mackenzie <acm@muc.de>
3846
3847 Amend to indent and fontify macros "which include their own semicolon"
3848 correctly, using the "virtual semicolon" mechanism.
3849
52bedd34 3850 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 3851
d0af9f77 3852 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 3853 Recode to scan one line at a time rather than having \n and \r
58179cce 3854 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 3855 (c-forward-label): Amend for virtual semicolons.
58179cce 3856 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 3857
52bedd34
AM
3858 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3859 of the new C macros.
bc97a826 3860
52bedd34 3861 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
3862 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3863 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
3864 (c-opt-cpp-macro-define): Make into a full language variable.
3865 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3866 AWK Mode (including \n, \r) removed, no longer needed.
3867
d0af9f77
SM
3868 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3869 Invoke c-make-macro-with-semi-re.
bc97a826 3870
52bedd34
AM
3871 * progmodes/cc-vars.el (c-macro-with-semi-re):
3872 (c-macro-names-with-semicolon): New variables.
58179cce 3873 (c-make-macro-with-semi-re): New function.
bc97a826 3874
7a6c0941
SM
38752011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3876
3877 * vc/log-edit.el: Fill empty field rather than adding new one.
3878 (log-edit-add-field): New function.
3879 (log-edit-insert-changelog): Use it.
3880
b0c4cdcf
ML
38812011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3882
3883 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3884
ee1f1da9
SM
38852011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3886
3887 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3888 (gdb--check-interpreter): New function.
3889 (gdb): Use it.
3890
51bc5f8b
GM
38912011-10-27 Glenn Morris <rgm@gnu.org>
3892
416a2c45
GM
3893 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3894 (least-positive-float, least-negative-float)
3895 (least-positive-normalized-float, least-negative-normalized-float)
3896 (float-epsilon, float-negative-epsilon):
3897 Remove unnecessary declarations.
3898
3899 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3900 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3901 (least-positive-float, least-negative-float)
3902 (least-positive-normalized-float, least-negative-normalized-float)
3903 (float-epsilon, float-negative-epsilon): Add doc-strings,
3904 based on those in cl.texi.
3905
51bc5f8b
GM
3906 * files.el (set-visited-file-name): If the major-mode changed,
3907 reload the local variables. (Bug#9796)
3908
15de15c6
CY
39092011-10-27 Chong Yidong <cyd@gnu.org>
3910
3911 * subr.el (change-major-mode-after-body-hook): New hook.
3912 (run-mode-hooks): Run it.
3913
ee1f1da9
SM
3914 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3915 Use change-major-mode-before-body-hook.
15de15c6
CY
3916
3917 * simple.el (fundamental-mode):
3918 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3919 change introducing fundamental-mode-hook.
3920
5430d399
JB
39212011-10-26 Juanma Barranquero <lekktu@gmail.com>
3922
acc825c5 3923 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 3924
ad74a69e
MA
39252011-10-26 Michael Albinus <michael.albinus@gmx.de>
3926
3927 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 3928 tramp.el explicitly. (Bug#7583)
ad74a69e 3929
71d4c2a5
SM
39302011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3931
3932 * progmodes/octave-mod.el:
3933 * progmodes/octave-inf.el: Update maintainer.
3934
b1f6fa26
CY
39352011-10-26 Chong Yidong <cyd@gnu.org>
3936
3937 * subr.el (with-wrapper-hook): Rewrite doc.
3938
3f04efd6
MA
39392011-10-25 Michael Albinus <michael.albinus@gmx.de>
3940
3941 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 3942 filenames "/method:foo:". (Bug#9793)
3f04efd6 3943
410488d3
SM
39442011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3945
3946 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3947 (bug#9865).
3948
c1ebb47e
GM
39492011-10-24 Glenn Morris <rgm@gnu.org>
3950
3951 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
3952
7f5c46c7
MA
39532011-10-24 Michael Albinus <michael.albinus@gmx.de>
3954
3955 * notifications.el: Add the requirement of a running D-Bus session
3956 bus to the Commentary.
3957
db2440b6
JL
39582011-10-24 Juri Linkov <juri@jurta.org>
3959
3960 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3961 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
3962 (Bug#9364)
3963
feecf435
JL
39642011-10-24 Juri Linkov <juri@jurta.org>
3965
3966 * info.el (Info-following-node-name-re): Add newline to the list
3967 of allowed characters for leading space. (Bug#9824)
3968
a3839de2
SM
39692011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3970
acc825c5
SM
3971 * progmodes/octave-inf.el (inferior-octave-mode-map):
3972 Fix C-c C-h binding.
a3839de2
SM
3973 * progmodes/octave-mod.el (octave-help): Remove.
3974
09388e76
MA
39752011-10-23 Michael Albinus <michael.albinus@gmx.de>
3976
3977 Sync with Tramp 2.2.3.
3978
3979 * net/tramp-cache.el (top): Pacify byte-compiler using
3980 `init-file-user' and `site-run-file'.
3981
3982 * net/trampver.el: Update release number.
3983
86c60681
CY
39842011-10-23 Chong Yidong <cyd@gnu.org>
3985
3986 * files.el (toggle-read-only): Remove obsolete comment about
3987 version control.
3988
3989 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
3990 for toggle-read-only. Note that this hasn't called vc-next-action
3991 since 2008-05-02, though it wasn't documented at the time.
3992
a3839de2
SM
3993 * vc/ediff-init.el (ediff-toggle-read-only-function):
3994 Use toggle-read-only.
86c60681 3995
cd5495ff
AM
39962011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
3997
3998 Fix bug #9560, sporadic wrong indentation; improve instrumentation
3999 of c-parse-state.
4000
00b77525 4001 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 4002 correct faulty logical expression.
cd5495ff
AM
4003 (c-parse-state-state, c-record-parse-state-state):
4004 (c-replay-parse-state-state): New defvar/defuns.
4005 (c-debug-parse-state): Use new functions.
4006
42ee24ed
MR
40072011-10-22 Martin Rudalics <rudalics@gmx.at>
4008
4009 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 4010 last fix. Use window-in-direction correctly.
42ee24ed 4011
a7dee7e7
CY
40122011-10-21 Chong Yidong <cyd@gnu.org>
4013
4014 * progmodes/idlwave.el (idlwave-mode):
4015 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
4016 require-final-newline; that's done in prog-mode.
4017 Suggested by Stefan Monnier.
a7dee7e7 4018
e07b9a6d
MR
40192011-10-21 Martin Rudalics <rudalics@gmx.at>
4020
4021 * mouse.el (mouse-drag-window-above)
4022 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4023 (mouse-drag-mode-line-1, mouse-drag-header-line)
4024 (mouse-drag-vertical-line-rightward-window): Remove.
4025 (mouse-drag-line): New function.
4026 (mouse-drag-mode-line, mouse-drag-header-line)
4027 (mouse-drag-vertical-line): Call mouse-drag-line.
4028 * window.el (window-at-side-p, windows-at-side): New functions.
4029
7e1361d9
UM
40302011-10-21 Ulrich Mueller <ulm@gentoo.org>
4031
4032 * tar-mode.el (tar-grind-file-mode):
4033 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4034
30fcaf3a
CY
40352011-10-21 Chong Yidong <cyd@gnu.org>
4036
4037 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
4038 * progmodes/vera-mode.el (vera-mode):
4039 Use mode-require-final-newline.
30fcaf3a 4040
516eddb0
GM
40412011-10-20 Glenn Morris <rgm@gnu.org>
4042
db22a3c2 4043 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 4044
10d5f513
CS
40452011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
4046
4047 * emulation/cua-base.el (cua-set-mark): Fix case of string.
4048
ac6c8639
CY
40492011-10-20 Chong Yidong <cyd@gnu.org>
4050
4051 * emulation/cua-base.el (cua-mode):
4052 * mail/footnote.el (footnote-mode):
4053 * mail/mailabbrev.el (mail-abbrevs-mode):
4054 * net/xesam.el (xesam-minor-mode):
4055 * progmodes/bug-reference.el (bug-reference-mode):
4056 * progmodes/cap-words.el (capitalized-words-mode):
4057 * progmodes/compile.el (compilation-minor-mode)
4058 (compilation-shell-minor-mode):
4059 * progmodes/gud.el (gud-tooltip-mode):
4060 * progmodes/hideif.el (hide-ifdef-mode):
4061 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4062 * progmodes/subword.el (subword-mode):
4063 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4064 * progmodes/which-func.el (which-function-mode):
4065 * term/tvi970.el (tvi970-set-keypad-mode):
4066 * term/vt100.el (vt100-wide-mode):
4067 * textmodes/flyspell.el (flyspell-mode):
4068 * textmodes/ispell.el (ispell-minor-mode):
4069 * textmodes/nroff-mode.el (nroff-electric-mode):
4070 * textmodes/paragraphs.el (use-hard-newlines):
4071 * textmodes/refill.el (refill-mode):
4072 * textmodes/reftex.el (reftex-mode):
4073 * textmodes/rst.el (rst-minor-mode):
4074 * textmodes/sgml-mode.el (html-autoview-mode)
4075 (sgml-electric-tag-pair-mode):
4076 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4077 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4078 * emulation/crisp.el (crisp-mode):
4079 * emacs-lisp/eldoc.el (eldoc-mode):
4080 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4081 minor mode behavior.
4082
aa42ab43
JL
40832011-10-19 Juri Linkov <juri@jurta.org>
4084
4085 * descr-text.el (describe-char): Add #x2010 and #x2011 to
4086 the list of hard-coded chars with escape-glyph face.
4087
89400f1d
SM
40882011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4089
4090 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4091
305c07f6
MA
40922011-10-19 Michael Albinus <michael.albinus@gmx.de>
4093
4094 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4095 running process.
4096
13754b54
GM
40972011-10-19 Glenn Morris <rgm@gnu.org>
4098
4099 * vc/vc-bzr.el (vc-bzr-after-dir-status):
4100 Ignore ignored files. (Bug#9726)
4101
06e21633
CY
41022011-10-19 Chong Yidong <cyd@gnu.org>
4103
4104 Doc fix for minor modes, stating that an omitted argument enables
4105 the mode unconditionally when called from Lisp.
4106
4107 * abbrev.el (abbrev-mode):
4108 * allout.el (allout-mode):
4109 * autoinsert.el (auto-insert-mode):
4110 * autoarg.el (autoarg-mode, autoarg-kp-mode):
4111 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4112 (global-auto-revert-mode):
4113 * battery.el (display-battery-mode):
4114 * composite.el (global-auto-composition-mode)
4115 (auto-composition-mode):
4116 * delsel.el (delete-selection-mode):
4117 * desktop.el (desktop-save-mode):
4118 * dired-x.el (dired-omit-mode):
4119 * dirtrack.el (dirtrack-mode):
4120 * doc-view.el (doc-view-minor-mode):
4121 * double.el (double-mode):
4122 * electric.el (electric-indent-mode, electric-pair-mode):
4123 * emacs-lock.el (emacs-lock-mode):
4124 * epa-hook.el (auto-encryption-mode):
4125 * follow.el (follow-mode):
4126 * font-core.el (font-lock-mode):
4127 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4128 * help.el (temp-buffer-resize-mode):
4129 * hilit-chg.el (highlight-changes-mode)
4130 (highlight-changes-visible-mode):
4131 * hi-lock.el (hi-lock-mode):
4132 * hl-line.el (hl-line-mode, global-hl-line-mode):
4133 * icomplete.el (icomplete-mode):
4134 * ido.el (ido-everywhere):
4135 * image-file.el (auto-image-file-mode):
4136 * image-mode.el (image-minor-mode):
4137 * iswitchb.el (iswitchb-mode):
4138 * jka-cmpr-hook.el (auto-compression-mode):
4139 * linum.el (linum-mode):
4140 * longlines.el (longlines-mode):
4141 * master.el (master-mode):
4142 * mb-depth.el (minibuffer-depth-indicate-mode):
4143 * menu-bar.el (menu-bar-mode):
4144 * minibuf-eldef.el (minibuffer-electric-default-mode):
4145 * mouse-sel.el (mouse-sel-mode):
4146 * msb.el (msb-mode):
4147 * mwheel.el (mouse-wheel-mode):
4148 * outline.el (outline-minor-mode):
4149 * paren.el (show-paren-mode):
4150 * recentf.el (recentf-mode):
4151 * reveal.el (reveal-mode, global-reveal-mode):
4152 * rfn-eshadow.el (file-name-shadow-mode):
4153 * ruler-mode.el (ruler-mode):
4154 * savehist.el (savehist-mode):
4155 * scroll-all.el (scroll-all-mode):
4156 * scroll-bar.el (scroll-bar-mode):
4157 * server.el (server-mode):
4158 * shell.el (shell-dirtrack-mode):
4159 * simple.el (auto-fill-mode, transient-mark-mode)
4160 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4161 (line-number-mode, column-number-mode, size-indication-mode)
4162 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4163 * strokes.el (strokes-mode):
4164 * time.el (display-time-mode):
4165 * t-mouse.el (gpm-mouse-mode):
4166 * tool-bar.el (tool-bar-mode):
4167 * tooltip.el (tooltip-mode):
4168 * type-break.el (type-break-mode-line-message-mode)
4169 (type-break-query-mode):
4170 * view.el (view-mode):
4171 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4172 (global-whitespace-mode, global-whitespace-newline-mode):
4173 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4174
a3839de2
SM
4175 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4176 Fix autogenerated docstring.
06e21633 4177
5214e501
JL
41782011-10-19 Juri Linkov <juri@jurta.org>
4179
4180 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4181 by checking environment variables "DESKTOP_SESSION" and
4182 "XDG_CURRENT_DESKTOP". (Bug#9779)
4183
195f8db9
JL
41842011-10-19 Juri Linkov <juri@jurta.org>
4185
4186 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4187 (browse-url-chromium-program, browse-url-chromium-arguments):
4188 New defcustoms.
4189 (browse-url-default-browser): Check for `browse-url-chromium' and
4190 call `browse-url-chromium-program'.
4191 (browse-url-chromium): New command. (Bug#9779)
4192
343a34ff
JB
41932011-10-18 Juanma Barranquero <lekktu@gmail.com>
4194
4195 * facemenu.el (list-colors-duplicates): On Windows, detect more
4196 duplicates by assuming that only colors matching "^System" are
4197 special "system colors". (Bug#9722)
4198
6978a151
SM
41992011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4200
4201 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4202 to distinguish the author from the committer.
4203
6a80b297
MA
42042011-10-18 Michael Albinus <michael.albinus@gmx.de>
4205
4206 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4207
b31a5677
JK
42082011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
4209
4210 * international/mule.el (sgml-html-meta-auto-coding-function):
4211 Add support for detecting encoding in HTML5 specified only as
4212 <meta charset="UTF-8">. Implementation just makes http-equiv and
4213 content-type parts from HTML4 encoding string optional. (Bug#9716)
4214
80c6d77f
GM
42152011-10-18 Glenn Morris <rgm@gnu.org>
4216
4217 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
4218
08b0fee8
CY
42192011-10-18 Chong Yidong <cyd@gnu.org>
4220
4221 * faces.el (cursor): Doc fix.
4222
67e729a5
CY
42232011-10-17 Chong Yidong <cyd@gnu.org>
4224
4225 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4226
343a34ff 42272011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
4228
4229 * dirtrack.el (dirtrack): Support shell buffers with path
4230 prefixes, e.g. tramp-based remote shells. (Bug#9647)
4231
0bc06380
TZ
42322011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
4233
4234 * json.el: Bump version to 1.3 and note change in History.
4235 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4236
8b79f3e0
SM
42372011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4238
5a7c536b
SM
4239 * comint.el (comint-insert-input, comint-send-input)
4240 (comint-get-old-input-default, comint-backward-matching-input)
4241 (comint-next-prompt): Use nil instead of `input' for field property of
4242 past user input (bug#114).
4243
96a8a0df
SM
4244 * minibuffer.el (completion--replace): Inherit surrounding properties
4245 (bug#114).
4246 (minibuffer-complete-and-exit): Use it.
4247
8b79f3e0
SM
4248 * comint.el (comint--table-subvert): Quote the all-completions output
4249 (bug#9160).
4250
b8f7ff0d
MR
42512011-10-17 Martin Rudalics <rudalics@gmx.at>
4252
8b79f3e0 4253 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 4254
b8f7ff0d 4255 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 4256 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
4257 entries and separate them from frame entries.
4258
c235b555
GM
42592011-10-15 Glenn Morris <rgm@gnu.org>
4260
4261 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4262 Doc fixes.
4263
6bbfa6e1
CY
42642011-10-15 Chong Yidong <cyd@stupidchicken.com>
4265
8b79f3e0
SM
4266 * net/network-stream.el (network-stream-open-starttls):
4267 Improve detection of failure due to lack of TLS support.
ec5c990d 4268
6bbfa6e1
CY
4269 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4270 putting the input text in front and in bold.
4271
98488977
SM
42722011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4273
3d1337be
SM
4274 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4275
ee0b45e4
SM
4276 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4277 empty buffer.
4278
98488977
SM
4279 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4280 unread-command-events rather than pushing yet-another event.
4281
186f4720
EZ
42822011-10-14 Eli Zaretskii <eliz@gnu.org>
4283
4284 * mail/sendmail.el (sendmail-query-once): Improve the wording of
4285 the explanation of the possible choices. Make the options passed
4286 to completing-read shorter.
4287
8b7a997c
AM
42882011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4289
4290 * textmodes/flyspell.el (flyspell-large-region): Make sure
4291 extended character mode is used if defined (Bug#1339).
4292
12587bbb
EZ
42932011-10-13 Eli Zaretskii <eliz@gnu.org>
4294
4295 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
4296 character info for LRE, LRO, RLE, and RLO characters by appending
4297 an invisible PDF.
12587bbb 4298
bad41229
SM
42992011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
4300
4301 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4302 even in case of error; add debug spec; simplify data flow.
4303 (with-timeout-handler): Remove.
4304
28dbc92f
MA
43052011-10-12 Michael Albinus <michael.albinus@gmx.de>
4306
4307 Fix Bug#6019, Bug#9315.
4308
4309 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4310 complete `buffer-file-name', the local file name part could look
4311 remotely (for example on VMS).
4312
4313 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4314 `tramp-run-real-handler'.
4315 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4316 already quoted by '"'.
4317
4318 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4319 Let `file-name-handler-alist' be nil, the local file name part
4320 could look remotely (for example on VMS).
4321
e1b0b23a
SM
43222011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4323
4324 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4325 from here...
4326 (flyspell-post-command-hook): ...to here.
4327
a120bde9
SM
43282011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4329
4330 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4331 if not needed.
4332 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
4333 using completion. Protect against "slow" callers.
4334 Remove the "message hack".
4335
7ce7717b
JL
43362011-10-11 Juri Linkov <juri@jurta.org>
4337
4338 * isearch.el (isearch-lazy-highlight-word): New variable.
4339 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4340 Use it. (Bug#9727)
4341
c02ee9d6
GM
43422011-10-11 Glenn Morris <rgm@gnu.org>
4343
4344 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4345 like f90-previous-statement does.
4346
93e616fd 43472011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4348
1f190e73 4349 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
4350 only in interactive use, to avoid error.
4351
af7b6078
SM
43522011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4353
4354 * minibuffer.el (completion-file-name-table): Fix last change,
4355 i.e. ignore normal errors but not the other ones.
4356
0563dae9
MR
43572011-10-10 Martin Rudalics <rudalics@gmx.at>
4358
4359 * window.el (special-display-buffer-names)
4360 (special-display-regexps): Remove some remnants of earlier
4361 changes from doc-strings.
366ca7f3
MR
4362 (quit-windows-on): New function.
4363
4364 * vc/vc.el (vc-revert, vc-rollback):
4365 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4366 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 4367 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 4368
49677495
MR
43692011-10-09 Martin Rudalics <rudalics@gmx.at>
4370
4371 * window.el (frame-auto-hide-function): Add version tag.
4372 (Bug#9699)
4373
56f2d1e1
MA
43742011-10-09 Michael Albinus <michael.albinus@gmx.de>
4375
4376 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4377 condition.
4378
112a6592
LL
43792011-10-09 Leo Liu <sdl.web@gmail.com>
4380
4381 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4382 (Bug#9701)
4383
0812589b
GM
43842011-10-08 Glenn Morris <rgm@gnu.org>
4385
4386 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4387 before the first code statement zero indent. (Bug#9690)
4388
b2b0776e
CY
43892011-10-08 Chong Yidong <cyd@stupidchicken.com>
4390
4391 * simple.el (count-words-region): Always count in the region.
4392 Report the number of lines and characters too.
4393 (count-words): New command, which counts in the buffer if the
4394 region is inactive, as count-words-region used to.
4395 (count-words--message): New function. Handle plurals.
4396 (count-lines-region): Make it an alias for count-words-region.
4397
4398 * bindings.el (esc-map): Replace count-lines-region with
4399 count-words-region.
4400
c557cd6b
MR
44012011-10-08 Martin Rudalics <rudalics@gmx.at>
4402
4403 * window.el (window--delete): Delete dedicated frame
4404 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 4405 (switch-to-buffer): Fix doc-string typo.
c557cd6b 4406
61a57ef4 44072011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4408
3a7d293b 4409 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 4410
c3833279
CY
44112011-10-07 Chong Yidong <cyd@stupidchicken.com>
4412
4413 * bindings.el ([M-left],[M-right]): Bind to left-word and
4414 right-word respectively.
4415
21ce8245
GM
44162011-10-07 Glenn Morris <rgm@gnu.org>
4417
4418 * cus-start.el (debug-on-quit): Fix custom type.
4419
6d823bb2
LMI
44202011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4421
0181e193
LMI
4422 * subr.el (define-key-after): Clarify that the function is not
4423 useful for non-menu keymaps.
4424
6d823bb2
LMI
4425 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4426
8e3459ce 44272011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4428
21ce8245 4429 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 4430 in current minibuffer (Fix bug with recursive minibuffers).
4431
a1c2d21e
CY
44322011-10-06 Chong Yidong <cyd@stupidchicken.com>
4433
4434 * progmodes/gdb-mi.el (gdb): Doc fix.
4435
5a4cf282
MR
44362011-10-05 Martin Rudalics <rudalics@gmx.at>
4437
4438 * window.el (frame-auto-hide-function): New option replacing
4439 frame-auto-delete. Suggested by Stefan Monnier.
4440 (window--delete): Call frame-auto-hide-function instead of
4441 investigating frame-auto-delete.
c96111ea
MR
4442 (window-point-1, set-window-point-1): New functions.
4443 (window-in-direction, record-window-buffer, window-state-get-1)
4444 (display-buffer-record-window): Use window-point-1 instead of
4445 window-point.
4446 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 4447
9854542e
SM
44482011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4449
4450 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4451
8943cfb0
GM
44522011-10-05 Glenn Morris <rgm@gnu.org>
4453
4454 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4455 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
4456
647ab967
LL
44572011-10-05 Leo Liu <sdl.web@gmail.com>
4458
4459 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4460 works with buffer object.
4461
3ddfbced
SM
44622011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4463
4464 * mpc.el (mpc-tool-bar-map): Add labels.
4465
bdfa5dd2
GM
44662011-10-04 Glenn Morris <rgm@gnu.org>
4467
4468 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4469
0e2070b5
MR
44702011-10-04 Martin Rudalics <rudalics@gmx.at>
4471
4472 * window.el (window--delete): New function.
4473 (frame-auto-delete): Resuscitate option.
4474 (bury-buffer, replace-buffer-in-windows)
4475 (quit-window): Rewrite using window--delete.
4476 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4477 Pass display-buffer-mark-dedicated to window--display-buffer-2
4478 (Bug#9639).
4479
3dc61a09
SM
44802011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4481
915a9b64
SM
4482 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4483 returns a list (bug#9554). Add remote file name completion.
4484 * comint.el (comint--table-subvert): Curry and get quote&unquote
4485 functions as arguments.
4486 (comint--complete-file-name-data): Adjust call accordingly.
4487 * pcomplete.el (pcomplete--table-subvert): Remove.
4488 (pcomplete-completions-at-point): Use comint--table-subvert instead.
4489
3dc61a09
SM
4490 * minibuffer.el (completion-table-case-fold): Use currying.
4491 (completion--styles-type, completion--cycling-threshold-type):
4492 New constants.
4493 (completion-styles, completion-category-overrides)
4494 (completion-cycle-threshold): Use them.
4495 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4496 completion-table-case-fold.
4497
8ea0a993
SB
44982011-10-03 Stephen Berman <stephen.berman@gmx.net>
4499
4500 * minibuffer.el (completion-category-overrides): Fix type of styles
4501 and add more user friendly tags (bug#9660).
4502
8c24b7f6
SM
45032011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4504
4505 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4506 (mule-input-method-string): New widget.
4507 (default-input-method, language-info-custom-alist): Use it.
4508
428fe61a
SM
45092011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4510
32c1fffd
SM
4511 * pcomplete.el: Require comint.
4512 (pcomplete--common-suffix): Remove.
4513 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4514 (pcomplete--table-subvert): Sync with comint--table-subvert.
4515 (pcomplete--entries): Use comint-completion-file-name-table.
4516 * comint.el (comint-unquote-filename): Simplify.
4517 (comint-completion-file-name-table): New function (bug#9616).
4518 (comint--complete-file-name-data): Use it.
4519
428fe61a
SM
4520 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4521 (pcmpl-gnu-tar-buffer): Remove.
4522 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
4523 around. Make sure pcomplete-suffix-list is only changed temporarily.
4524 Don't look inside the tar's file if it's too large.
428fe61a 4525
04c52e2f
CY
45262011-10-01 Chong Yidong <cyd@stupidchicken.com>
4527
ce3cefcc
CY
4528 * cus-edit.el (custom-mode-map):
4529 * epa.el (epa-key-list-mode-map):
4530 * man.el (Man-mode-map):
4531 * startup.el (splash-screen-keymap):
4532 * simple.el (special-mode-map): Use scroll-up-command and
4533 scroll-down-command.
4534
4535 * progmodes/idlw-help.el (idlwave-help-mode-map):
4536 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4537 * net/newst-plainview.el (newsticker-mode-map):
4538 * emulation/ws-mode.el (wordstar-mode-map):
4539 * emulation/vi.el (vi-com-map):
4540 * calc/calc-graph.el (calc-graph-show-dumb):
4541 * term/sun.el (terminal-init-sun):
4542 * term/ns-win.el (global-map):
4543 * progmodes/grep.el (grep-mode-map):
4544 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4545 * mail/rmail.el (rmail-mode-map):
4546 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4547
04c52e2f
CY
4548 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4549 custom-safe-themes as special.
4550
79adf8c8
JD
45512011-10-01 Julien Danjou <julien@danjou.info>
4552
4553 * notifications.el (notifications-notify): Fix docstring.
4554
63bd50d3
PS
45552011-10-01 Per Starbäck <per@starback.se>
4556
4557 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4558
199e4c7e
MR
45592011-09-30 Martin Rudalics <rudalics@gmx.at>
4560
4561 * startup.el (command-line-1): Fix last fix by inserting
4562 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 4563 (Bug#9605) and (Bug#9636)
199e4c7e 4564
fe5f08dd
EZ
45652011-09-29 Eli Zaretskii <eliz@gnu.org>
4566
4567 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4568 window is hscrolled, move by logical lines. (Bug#9607)
4569 (line-move-visual): Update the doc string to the above effect.
4570
b5516bbd
MR
45712011-09-29 Martin Rudalics <rudalics@gmx.at>
4572
ccee00c0
MR
4573 * window.el (display-buffer-record-window): When WINDOW is the
4574 selected window use `point' instead of `window-point'. (Bug#9626)
4575
b5516bbd
MR
4576 * startup.el (command-line-1): Use insert-before-markers when
4577 inserting initial-scratch-message. (Bug#9605)
ccee00c0 4578
b5516bbd
MR
4579 * help.el (help-window): Remove variable.
4580
52aa0014
GM
45812011-09-29 Glenn Morris <rgm@gnu.org>
4582
4583 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4584
df9a7357
JB
45852011-09-29 Juanma Barranquero <lekktu@gmail.com>
4586
4587 * descr-text.el (describe-char-categories): Accept category
4588 descriptions more than one line long.
4589
a8406c20
SM
45902011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4591
88d9610c
SM
4592 * simple.el (delete-trailing-whitespace): Fix last change.
4593
a5daf810
SM
4594 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4595 Don't confuse "y => 3" as the beginning of a `y' operation.
4596
a8406c20
SM
4597 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4598 object has more than 4 slots (bug#9613).
4599
a239d4e9
JB
46002011-09-28 Juanma Barranquero <lekktu@gmail.com>
4601
4602 * subr.el (with-output-to-temp-buffer):
4603 * net/quickurl.el (quickurl, quickurl-browse-url):
4604 Fix typos in docstrings.
4605
693fbdb6
EZ
46062011-09-27 Eli Zaretskii <eliz@gnu.org>
4607
4608 * minibuffer.el (completion-styles)
4609 (completion-category-overrides): Cross reference each other in doc
4610 strings.
4611
8b457e28
GM
46122011-09-27 Glenn Morris <rgm@gnu.org>
4613
4614 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4615 to split-string. (Bug#9606)
4616
85a16208
LMI
46172011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4618
4619 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4620 (bug#9615).
4621
502f9ebd
CY
46222011-09-27 Chong Yidong <cyd@stupidchicken.com>
4623
4624 * emacs-lisp/package.el (list-packages): Fix echo area message.
4625
7690bdea
LL
46262011-09-27 Leo Liu <sdl.web@gmail.com>
4627
4628 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4629
e2ee6f30
MA
46302011-09-25 Michael Albinus <michael.albinus@gmx.de>
4631
4632 * net/dbus.el (dbus-unregister-object): Don't release services for
4633 registered signals. (Bug#9581)
4634
f3f98342
TZ
46352011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4636
4637 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4638 function that picks between cfengine 2 and 3 support
4639 automatically. Update docs accordingly.
4640
dd7aa8dd
KH
46412011-09-22 Kenichi Handa <handa@m17n.org>
4642
4643 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4644 ZERO.
4645 (indian-itrans-v5-table-for-tamil): New variable.
4646 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4647
3f2b07f8
KM
46482011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4649
4650 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4651 that's true if the current command involved collapsing of text.
4652 It's reset to false at the beginning of the next command.
4653 (allout-post-command-business): Move the cursor to the beginning
4654 of entry if the cursor is hidden and collapsing activity just
4655 happened.
4656
371d6a61
CY
46572011-09-24 Chong Yidong <cyd@stupidchicken.com>
4658
4659 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4660 tracking (Bug#9541).
4661
2ac2721a
UJ
46622011-09-24 Ulf Jasper <ulf.jasper@web.de>
4663
4664 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
4665 (newsticker-show-news): Automatically load html rendering package
4666 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4667 because w3m-fill-column is let-bound" and the error "Symbol's value
4668 as variable is void: w3m-fill-column".
2ac2721a 4669
fac7ae53
MA
46702011-09-24 Michael Albinus <michael.albinus@gmx.de>
4671
4672 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4673 Release services only if they are defined. (Bug#9581)
4674
e08b633b
RS
46752011-09-23 Richard Stallman <rms@gnu.org>
4676
e488d29c
RS
4677 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4678 distinguish start of paragraph from start of its text.
4679
19c38752
RS
4680 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4681
e08b633b
RS
4682 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4683 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4684 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4685
0a39f27e
AS
46862011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4687
4688 * international/mule-diag.el (mule-diag): Insert a newline after
4689 each fontset description.
4690
db4e950d
SM
46912011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4692
4693 * simple.el (delete-trailing-whitespace):
4694 Document last change; simplify.
4695
eca3f3ea
PW
46962011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4697
d68e189a
PW
4698 * simple.el (delete-trailing-whitespace): Also delete
4699 extra newlines at the end of the buffer.
4700
eca3f3ea
PW
4701 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4702 (picture-newline): Use forward-line so as to ignore fields.
4703
01c157cc
SM
47042011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4705
4706 * subr.el (with-wrapper-hook): Fix edebug spec.
4707
022de23e
LMI
47082011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4709
4710 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4711 (bug#4538).
4712
91683089
MA
47132011-09-23 Michael Albinus <michael.albinus@gmx.de>
4714
eca3f3ea
PW
4715 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4716 Fix nasty bug using wrong cached values.
91683089 4717
5bdd6fa4
AM
47182011-09-23 Alan Mackenzie <acm@muc.de>
4719
4720 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4721
97adfb97
CY
47222011-09-23 Chong Yidong <cyd@stupidchicken.com>
4723
4724 * window.el (pop-to-buffer): Ensure right window is selected if we
4725 chose another frame.
4726
d4ef2b50
EZ
47272011-09-22 Eli Zaretskii <eliz@gnu.org>
4728
4729 * simple.el (what-cursor-position): Use get-char-property-change
4730 and next-single-char-property-change, to be able to show display
4731 properties that come from overlays as well as text properties.
4732
72258fe5
CY
47332011-09-22 Chong Yidong <cyd@stupidchicken.com>
4734
4735 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4736
4737 * cmuscheme.el (run-scheme, switch-to-scheme):
4738 * cus-edit.el (customize-group, custom-buffer-create)
4739 (customize-browse):
4740 * info.el (info):
4741 * shell.el (shell):
4742 * mail/sendmail.el (mail):
4743 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4744
8f098516
RS
47452011-09-22 Richard Stallman <rms@gnu.org>
4746
4747 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4748 move back only to line beg, don't move back over blank lines.
4749
e74f1bb6
MA
47502011-09-22 Michael Albinus <michael.albinus@gmx.de>
4751
4752 * files.el (copy-directory): Set directory attributes only in case
4753 they could be retrieved from the source directory. (Bug#9565)
4754
bfeef8b6
DK
47552011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4756
4757 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4758 (hs-find-block-beginning, hs-hide-level-recursive):
4759 Ignore strings as well as comments. (Bug#9502)
4760
7e423bb8
AS
47612011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4762
4763 * progmodes/sql.el (sql-comint-postgres):
4764 Convert port number to a string. (Bug#9566)
4765
b4d72fcf
MR
47662011-09-22 Martin Rudalics <rudalics@gmx.at>
4767
4768 * window.el (quit-window): Undedicate window when switching to
4769 previous buffer. Reported by Thierry Volpiatto
4770 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
4771 (special-display-popup-frame): When popping up a new frame reset
4772 its previous buffers to nil. Simplify code.
b4d72fcf 4773
a7b88dc6
MA
47742011-09-21 Michael Albinus <michael.albinus@gmx.de>
4775
4776 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4777 and process filter, as done also in `shell-command'.
4778
cf4eacfd
MR
47792011-09-21 Martin Rudalics <rudalics@gmx.at>
4780
eca3f3ea 4781 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
4782 Call set-window-start with NOFORCE argument t.
4783 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
4784 (quit-window): Reword doc-string. Handle new format of
4785 quit-restore parameter. Don't delete window if it has a
4786 previous buffer we can show instead of the present one.
4787 (display-buffer-record-window): Rewrite using a new format for
4788 the quit-restore window parameter
4789 (special-display-popup-frame, display-buffer-same-window)
4790 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4791 (display-buffer-pop-up-window, display-buffer-use-some-window):
4792 Adapt symbol passed to display-buffer-record-window.
4793 * help.el (help-window-setup): Handle new format of quit-restore
4794 parameter.
4795
8d28cb95
SM
47962011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4797
94ab793f
SM
4798 * faces.el (face-list): Fix docstring (bug#9564).
4799
8d28cb95
SM
4800 * window.el (display-buffer--action-function-custom-type):
4801 Don't include internal functions in the Custom interface.
4802
3820edeb
JL
48032011-09-20 Juri Linkov <juri@jurta.org>
4804
4805 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4806 (Info-forward-node, Info-backward-node, Info-next-preorder)
4807 (Info-last-preorder): Use it. (Bug#9528)
4808
5147931d
JL
48092011-09-20 Juri Linkov <juri@jurta.org>
4810
4811 * info.el (Info-last-preorder): Visit last menu item only when
4812 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4813
cf499a1a
JD
48142011-09-20 Julien Danjou <julien@danjou.info>
4815
4816 * password-cache.el (password-cache-remove): Remove entries even if the
4817 value is nil, so that password with a nil value (negative caching) is
4818 possible to invalidate.
4819
f84e2fe2
LM
48202011-09-20 Lawrence Mitchell <wence@gmx.li>
4821
4822 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4823 all whitespace around breakpoint. (Bug#9553)
4824 (f90-find-breakpoint): Only break at whitespace inside a comment.
4825
78054a46
SM
48262011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4827
4828 * minibuffer.el (completion-file-name-table): Keep track of errors.
4829 (completion-table-with-predicate): Handle the case where pred1 is nil.
4830 * pcomplete.el (pcomplete-completions-at-point): Simplify.
4831
345083b2
SM
48322011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4833
e24e27be
SM
4834 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4835 (debugger-return-value): Signal an error if the debugging context does
4836 not await any return value.
4837
345083b2
SM
4838 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4839 * image-mode.el (image-toggle-display-text)
4840 (image-toggle-display-image): Stay away from evil `intangible'.
4841
08d355e3
LL
48422011-09-19 Leo Liu <sdl.web@gmail.com>
4843
4844 * replace.el (occur-revert-arguments): Make it permanent-local.
4845 (occur-mode): Don't call font-lock-defontify.
4846
f01da43f
CY
48472011-09-19 Chong Yidong <cyd@stupidchicken.com>
4848
4849 * net/ldap.el (ldap-search-internal): Don't push empty search
4850 result (Bug#9508).
4851
b6072fa6
SM
48522011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4853
4854 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4855
443d6696
MA
48562011-09-19 Michael Albinus <michael.albinus@gmx.de>
4857
4858 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4859 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4860
7cc6e154
JL
48612011-09-18 Juri Linkov <juri@jurta.org>
4862
4863 * buff-menu.el (Buffer-menu-mode-map):
4864 * dired.el (dired-mode-map):
4865 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4866 (lisp-interaction-mode-map):
4867 * emacs-lisp/package.el (package-menu-mode-map):
4868 * epa.el (epa-key-list-mode-map):
4869 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4870 (menu-bar-options-menu):
4871 * outline.el (outline-mode-menu-bar-map):
4872 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4873 * vc/vc-dir.el (vc-dir-menu-map):
4874 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4875 Capitalize non-function content words in menu item strings.
4876
4877 * dired.el (dired-mode-map): Add menu item for
4878 `image-dired-dired-toggle-marked-thumbs'.
4879
80302a81
JL
48802011-09-18 Juri Linkov <juri@jurta.org>
4881
4882 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4883 to `isearch-case-fold-search' and restore its original value
4884 after the `isearch-mode' call.
4885
46c5cf66
JL
48862011-09-18 Juri Linkov <juri@jurta.org>
4887
4888 * progmodes/grep.el (grep-process-setup): Don't check code for 1
4889 because `zgrep' returns 1 for successful matches (bug#9226).
4890
d18b513b
JL
48912011-09-18 Juri Linkov <juri@jurta.org>
4892
4893 * info.el (Info-extract-menu-node-name): Check the second match
4894 for empty string (second test-case of bug#9528).
4895 (Info-last-preorder): Let-bind `Info-history' to nil to not add
4896 intermediate nodes to the history (first test-case of bug#9528).
4897
72753f87
JL
48982011-09-18 Juri Linkov <juri@jurta.org>
4899
4900 * info.el (Info-mode-syntax-table): New variable.
1154d12e 4901 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 4902
c9384295
JL
49032011-09-18 Juri Linkov <juri@jurta.org>
4904
1154d12e
JB
4905 * info.el (Info-file-supports-index-cookies):
4906 Increment line-beginning-position's arg from 3 to 4 because makeinfo
4907 outputs one more line for long file names (bug#4142).
c9384295 4908
d473dce8
CY
49092011-09-18 Chong Yidong <cyd@stupidchicken.com>
4910
4911 * newcomment.el (comment-normalize-vars): If prompting for
4912 comment-start, set comment-start-skip too (Bug#8424).
4913
2176854d
JB
49142011-09-18 Johan Bockgård <bojohan@gnu.org>
4915
4916 * icomplete.el: Fix previous fix of Bug#5849.
4917 (icomplete-mode): Don't set completion-show-inline-help.
4918 (icomplete-minibuffer-setup): Set completion-show-inline-help
4919 locally during icompletion.
4920
3aace4e4
CY
49212011-09-18 Chong Yidong <cyd@stupidchicken.com>
4922
c940224f
CY
4923 * woman.el (woman2-process-escapes): Don't delete unrecognized
4924 escapes (Bug#7843).
4925
3aace4e4
CY
4926 * files.el (inhibit-first-line-modes-regexps): Add image files.
4927 (hack-local-variables-prop-line): Return nil for malformed
4928 prop-lines (Bug#9044).
4929
710dec63
MA
49302011-09-18 Michael Albinus <michael.albinus@gmx.de>
4931
4932 * net/tramp.el (top): Don't require 'shell.
4933 (tramp-methods): Fix docstring.
4934 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
4935 Return complete remote file name. Handle "smb" case.
4936 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
4937 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4938
4939 * net/tramp-compat.el (top): Require 'shell.
4940
4941 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4942 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4943 `tramp-current-host'.
4944 (tramp-get-remote-tmpdir): Remove.
4945
4946 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4947 `tramp-tmpdir' entries.
4948 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4949 (tramp-smb-handle-file-attributes): Ignore errors.
4950 (tramp-smb-wait-for-output): Check also for process end.
4951
5d5ac8ec
LMI
49522011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4953
4954 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
4955 when sending QUIT (bug#9312).
4956
8c0f49f0
CY
49572011-09-17 Chong Yidong <cyd@stupidchicken.com>
4958
4959 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
4960 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
4961 occur-mode-display-occurrence.
4962 (occur-edit-mode): Add usage message.
4963 (occur-cease-edit): New command.
4964 (occur-after-change-function): Use text properties to find the
4965 position of the prefix text.
4966 (occur-engine): Set stickiness of prefix text properties.
4967
8f1383f7
GM
49682011-09-17 Glenn Morris <rgm@gnu.org>
4969
4970 * progmodes/etags.el (complete-tag):
4971 Fix call to completion-in-region. (Bug#9526)
4972
744ba0e3
JL
49732011-09-17 Juri Linkov <juri@jurta.org>
4974
4975 * textmodes/ispell.el (ispell-word): Add to the error message
4976 the word, ispell program name and current dictionary (bug#9121).
4977 (ispell-tex-arg-end): Capitalize "error" in the error message.
4978
d9bbf400
AS
49792011-09-17 Andreas Schwab <schwab@linux-m68k.org>
4980
4981 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
4982 check. (Bug#4251)
4983
8da11505
JL
49842011-09-17 Juri Linkov <juri@jurta.org>
4985
4986 * window.el (window-safe-min-height, window-safe-min-width):
4987 Fix typos (followup to bug#9522).
4988
a91adc7e
SJ
49892011-09-17 Sven Joachim <svenjoac@gmx.de>
4990
4991 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
4992
064f328a
EZ
49932011-09-16 Eli Zaretskii <eliz@gnu.org>
4994
4995 * simple.el (line-move): If goal-column is set, move by logical
4996 lines, not by display lines. (Bug#971)
4997 (next-line, previous-line, goal-column, line-move-visual): Doc fix
4998 to reflect the above change.
4999
e69df516
SM
50002011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5001
5002 * image.el (imagemagick-register-types): Use regexp-opt.
5003
cbb0f9ab
CY
50042011-09-15 Chong Yidong <cyd@stupidchicken.com>
5005
5006 * window.el (display-buffer-base-action): Rename from
5007 display-buffer-default-action. Make default value empty.
5008 (display-buffer-overriding-action): Convert to defvar.
5009 (display-buffer-fallback-action): New var.
5010
25322144
CY
50112011-09-15 Chong Yidong <cyd@stupidchicken.com>
5012
5013 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5014 declaration.
5015 (package--add-to-archive-contents): If there is a duplicate entry
5016 with an older version, remove it.
5017 (package-menu-mark-delete, package-menu-mark-install)
5018 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
5019 (package-menu-mark-obsolete-for-deletion):
5020 Use package-menu-get-status instead of a regexp search.
25322144
CY
5021 (package-menu-get-status): Use tabulated-list-entry.
5022 (package-menu-mark-upgrades): New command.
d770725a 5023 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
5024 (package-menu-execute): Do installation before deletion.
5025 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5026 instead of checking major-mode.
5027 (package-menu--find-upgrades): New function.
5028
7520339c
LMI
50292011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5030
5031 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5032 passwords in the log buffer.
65a046c4
LMI
5033 (smtpmail-process-filter): Update the process marker so that the
5034 "broken by peer" status message is inserted in the right place.
7520339c 5035
d3c30954
SM
50362011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5037
3fe48822
SM
5038 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5039 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5040 bibtex-completion-at-point-function.
5041 (bibtex-completion-at-point-function): Use them.
5042
1b8b3954
SM
5043 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5044
d3c30954
SM
5045 * mpc.el (mpc-constraints-tag-lookup): New function.
5046 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5047 also to browser "album|playlist".
5048
72779976
JL
50492011-09-14 Juri Linkov <juri@jurta.org>
5050
5051 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
5052 (isearch-edit-string): Use length of `isearch-string' when
5053 `isearch-fail-pos' returns nil.
5054 (isearch-message): Remove duplicate code and call
5055 `isearch-fail-pos' with arg `t'.
5056
a0bf2bcd
CY
50572011-09-14 Chong Yidong <cyd@stupidchicken.com>
5058
17bb0a2d
CY
5059 * replace.el (occur-mode-goto-occurrence): Don't force using other
5060 window (Bug#9499).
5061
a0bf2bcd
CY
5062 * dired-aux.el (dired-do-chmod): Don't provide initial input.
5063
f678e0b6
MR
50642011-09-14 Martin Rudalics <rudalics@gmx.at>
5065
5066 * window.el (display-buffer-window): Remove.
5067 (display-buffer-record-window): Use help-setup window parameter
5068 instead of variable display-buffer-window.
5069 (display-buffer-function, special-display-buffer-names)
5070 (special-display-function): Mention help-setup parameter instead
5071 of display-buffer-window in doc-string.
d3c30954
SM
5072 * help.el (help-window-setup): New argument help-window.
5073 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
5074 Reword some messages.
5075 (with-help-window): Pass window used for displaying the buffer
5076 to help-window-setup. Don't set display-buffer-window.
5077
8e39b2e8
GM
50782011-09-13 Glenn Morris <rgm@gnu.org>
5079
5080 * emacs-lisp/debug.el (debugger-make-xrefs):
5081 Preserve point. (Bug#9462)
5082
85e9c04b
CY
50832011-09-13 Chong Yidong <cyd@stupidchicken.com>
5084
5085 * window.el (window-deletable-p): Use next-frame.
5086
1b36ed6a
MR
50872011-09-13 Martin Rudalics <rudalics@gmx.at>
5088
5089 * window.el (window-auto-delete): Remove.
5090 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 5091 dedication and previous buffers.
1b36ed6a
MR
5092 (switch-to-prev-buffer): Don't delete window.
5093 (delete-windows-on): Delete a window's frame if and only if the
5094 window is dedicated.
5095 (replace-buffer-in-windows): Delete buffer's window or frame if
5096 and only if window is dedicated.
5097 (quit-window): Handle quit-restore as before last change.
4d61f28d 5098 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 5099
ef8ef9fb
CY
51002011-09-13 Chong Yidong <cyd@stupidchicken.com>
5101
5102 * window.el (window-deletable-p): Never delete the last frame on a
5103 given terminal.
5104
b2cba41e
GM
51052011-09-13 Glenn Morris <rgm@gnu.org>
5106
5107 * help.el (describe-key-briefly): Copy previous standard-output change.
5108
51553db6 51092011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
5110
5111 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
5112
b7556719
GM
51132011-09-13 Glenn Morris <rgm@gnu.org>
5114
5115 * emacs-lisp/lisp-mode.el (lisp-indent-function):
5116 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5117
64b51947
CY
51182011-09-12 Chong Yidong <cyd@stupidchicken.com>
5119
5120 * dired-aux.el (dired-mark-read-string): Don't return default
5121 value on empty input (Bug#9361).
5122 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5123 Omit initial minibuffer contents.
5124 (dired-do-chmod): Signal an error on empty input.
5125 (dired-mark-read-string): Don't return default on empty input.
5126
5127 * files.el (file-modes-symbolic-to-number): Doc fix.
5128
393a301e
SM
51292011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5130
5131 * international/mule-cmds.el (ucs-completions): Remove.
5132 (read-char-by-name): Use complete-with-action instead; add metadata.
5133
fa5660f9
CY
51342011-09-11 Chong Yidong <cyd@stupidchicken.com>
5135
5136 * window.el (display-buffer--action-function-custom-type)
5137 (display-buffer--action-custom-type): New vars.
5138 (display-buffer-alist, display-buffer-default-action)
5139 (display-buffer-overriding-action): Add defcustom types.
5140
4a592f66
CY
5141 * frame.el (delete-other-frames): Doc fix (Bug#276).
5142
73d56dbd
LMI
51432011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5144
5145 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5146
37ac18a3
CY
51472011-09-11 Chong Yidong <cyd@stupidchicken.com>
5148
5149 Change modes that used same-window-* vars to use switch-to-buffer.
5150
5151 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5152 Use switch-to-buffer.
5153
5154 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
5155 (customize-browse, custom-buffer-create-other-window):
5156 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
5157
5158 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5159 (Info-prev, Info-up, Info-speedbar-goto-node)
5160 (info-display-manual): Use switch-to-buffer.
5161 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5162
5163 * mail/sendmail.el (mail): Use switch-to-buffer.
5164 (mail-recover): Use switch-to-buffer-other-window.
5165
5166 * cmuscheme.el (run-scheme, switch-to-scheme):
5167 * ielm.el (ielm):
5168 * shell.el (shell):
5169 * net/rlogin.el (rlogin):
5170 * net/telnet.el (telnet, rsh):
5171 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5172
10195bd6
AS
51732011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5174
5175 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5176
b322f63a
LMI
51772011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5178
39d7fed6
LMI
5179 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5180 so don't mention it (bug#9301).
ba5a81f1 5181 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 5182
ee0e9f11
LMI
5183 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5184 match `x', `w32' and `ns', like the manual says (bug#9029).
5185
0b1c89c1 5186 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
5187 (process-kill-buffer-query-function): Mention the buffer name in
5188 the query.
0b1c89c1 5189
77549ea8
LMI
5190 * image-mode.el (image-next-line): The line parameter is mandatory
5191 (bug#9258).
5192
803ef892
LMI
5193 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5194 which can be useful (bug#9301).
5195
12980837
LMI
5196 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5197
91054f8f
LMI
5198 * subr.el (match-string): Mention that the current buffer should
5199 be the same as the search was done in (bug#9282).
5200
b322f63a
LMI
5201 * facemenu.el: Disable the remove-* commands if the mark isn't
5202 active (bug#9162).
5203
3199b96f
CY
52042011-09-10 Chong Yidong <cyd@stupidchicken.com>
5205
5206 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5207 of display-buffer.
5208 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5209
5210 * replace.el (occur-mode-goto-occurrence)
5211 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5212 and display-buffer.
5213
5214 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5215 display-buffer.
5216
5217 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5218 special-display and same-window variables.
5219 (mail-other-window): Use switch-to-buffer-other-window.
5220 (mail-other-frame): USe switch-to-buffer-other-frame.
5221
393a301e
SM
5222 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5223 Use display-buffer-other-frame.
3199b96f
CY
5224 (gdb-display-gdb-buffer): Use pop-to-buffer.
5225
5226 * progmodes/gud.el (gud-goto-info): Use info-other-window.
5227
5228 * progmodes/python.el: Don't set same-window-buffer-names.
5229
5230 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5231
5232 * window.el (display-buffer-alist): Add *Python*.
5233
8319e0bf
CY
52342011-09-10 Chong Yidong <cyd@stupidchicken.com>
5235
5236 * window.el (display-buffer-alist): Add entry for buffers
5237 previously handled same-window-*.
5238 (display-buffer-alist, display-buffer-default-action)
5239 (display-buffer-overriding-action): Mark as risky.
5240 (display-buffer-alist): Document action function changes.
5241 (display-buffer--same-window-action)
5242 (display-buffer--other-frame-action): New variables.
5243 (switch-to-buffer, display-buffer-other-frame): Use them.
5244 (display-buffer): Rename reuse-frame entry to reusable-frames.
5245 (display-buffer-reuse-selected-window): Function deleted.
5246 (display-buffer-reuse-window): Handle reusable-frames alist entry.
5247 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5248 (display-buffer-special): New function.
5249 (display-buffer--maybe-pop-up-frame-or-window): Rename from
5250 display-buffer-reuse-or-pop-window. Split off special-display
5251 part into display-buffer-special.
5252 (display-buffer-use-some-window): Don't perform any special
5253 pop-up-frames handling.
5254 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 5255 (display-buffer--maybe-same-window): Rename from
0d3ff375 5256 display-buffer-maybe-same-window.
8319e0bf 5257
919a69aa
CY
5258 * info.el: Don't set same-window-regexps.
5259 (info-setup): New function.
5260 (info-other-window, info): Call it.
5261
5262 * cus-edit.el: Don't set same-window-regexps.
5263 (customize-group): New argument.
5264 (customize-group-other-window): Use it.
5265 (customize-face, customize-face-other-window): Likewise.
5266 (custom-buffer-create-other-window): Use pop-to-buffer directly.
5267
8319e0bf
CY
5268 * net/rlogin.el:
5269 * net/telnet.el:
5270 * progmodes/gud.el: Don't set same-window-regexps.
5271
5272 * cmuscheme.el:
5273 * ielm.el:
5274 * shell.el:
5275 * mail/sendmail.el:
5276 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5277
25173000
JL
52782011-09-10 Juri Linkov <juri@jurta.org>
5279
5280 * isearch.el (isearch-edit-string): Remove obsolete mention of
5281 `C-w' (`isearch-yank-word-or-char') from docstring.
5282 (isearch-query-replace): Fix typo in docstring (bug#9466).
5283
056e44ef
JL
52842011-09-10 Juri Linkov <juri@jurta.org>
5285
5286 * paren.el (show-paren-function): Don't show escaped parens.
5287 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
5288
c3760c17
EZ
52892011-09-10 Eli Zaretskii <eliz@gnu.org>
5290
5291 * mail/sendmail.el (mml-to-mime, mml-attach-file)
5292 (mm-default-file-encoding): Remove autoload forms, they are
5293 replaced with autoload cookies in mml.el and mm-encode.el.
5294 (mail-add-attachment): New command.
5295 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5296 (mail-mode): Mention mail-insert-file and mail-add-attachment in
5297 the doc string.
5298 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5299
fece895e
RT
53002011-09-10 Reuben Thomas <rrt@sc3d.org>
5301
e69df516
SM
5302 * simple.el (count-words-region): Use buffer if there's no region
5303 (bug#9429).
fece895e 5304
5e68ce4a
JL
53052011-09-09 Juri Linkov <juri@jurta.org>
5306
5307 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5308 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5309 (wdired-isearch-filter-read-only): New function. (Bug#6362)
5310
0a6b9622
AM
53112011-09-09 Alan Mackenzie <acm@muc.de>
5312
5313 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5314 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
5315
14a29deb
EZ
53162011-09-09 Eli Zaretskii <eliz@gnu.org>
5317
5318 Fix for Savannah bug#9392.
5319 * simple.el (mail-encode-mml): New defvar.
5320
5321 * mail/rmail.el (mail-encode-mml): Add a defvar.
5322 (rmail-enable-mime-composing): Default to t.
5323 (rmail-forward): Use MIME method of forwarding only if both
5324 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5325 Set mail-encode-mml non-nil if the MIME method was used.
5326
5327 * mail/sendmail.el (mml-to-mime): Add autoload form.
5328 (mail-encode-mml): Add a defvar.
5329 (mail-mode): Make mail-encode-mml buffer-local and initialize it
5330 to nil.
5331 (mail-send): If mail-encode-mml is non-nil, run the outgoing
5332 message through mml-to-mime, and reset mail-encode-mml to nil.
5333
28c45130
GM
53342011-09-09 Glenn Morris <rgm@gnu.org>
5335
5336 * woman.el (woman-if-body): When processing an .el block,
5337 do not delete the next .el block as well. (Bug#9447)
69f4b618 5338 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 5339
9b1c252e
MR
53402011-09-08 Martin Rudalics <rudalics@gmx.at>
5341
5342 * window.el (window-deletable-p): Make sure window is live before
5343 invoking window-prev-buffers.
5344
567457e3
LL
53452011-09-08 Leo Liu <sdl.web@gmail.com>
5346
5347 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
5348
97f05794
JL
53492011-09-08 Juri Linkov <juri@jurta.org>
5350
5351 * progmodes/compile.el (compilation-environment): Make it
5352 a defcustom (bug#8340).
5353
8b0874b5
MR
53542011-09-08 Martin Rudalics <rudalics@gmx.at>
5355
5356 * window.el (frame-auto-delete): Rename to window-auto-delete.
5357 Make it control auto-deletion of windows and/or frames.
5358 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 5359 for deleting window/frame. (Bug#9419)
8b0874b5
MR
5360 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5361 Rewrite handling of case when window/frame can be deleted.
5362 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 5363 argument t. (Bug#9456)
8b0874b5 5364
4feb6e73
CY
53652011-09-07 Chong Yidong <cyd@stupidchicken.com>
5366
5367 * help-mode.el (help-mode): Restore autoload.
5368
91ab9c13
JL
53692011-09-07 Juri Linkov <juri@jurta.org>
5370
5371 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5372 `compilation-environment'. Set buffer-local
5373 `compilation-environment' to `thisenv' later after (funcall mode).
5374 (Bug#8340)
5375
5376 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
5377 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5378 instead of replacing its value. (Bug#8340)
5379
0527e251
JL
53802011-09-07 Juri Linkov <juri@jurta.org>
5381
5382 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5383 based on text properties put by `grep-filter' instead of matching
5384 escape sequences.
5385 (grep-mode): Set buffer-local `compilation-error-screen-columns'
5386 to the value of `grep-error-screen-columns' (bug#9438).
5387
249f792c
JL
53882011-09-07 Juri Linkov <juri@jurta.org>
5389
5390 * simple.el (next-error-highlight, next-error-highlight-no-select):
5391 Doc fix (bug#9432).
5392
ff7271b9
OT
53932011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5394
5395 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5396 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
5397
183fc730
LL
53982011-09-07 Leo Liu <sdl.web@gmail.com>
5399
5400 * net/rcirc.el (rcirc-mode): Conditionally initialize
5401 rcirc-input-ring.
5402
77694924
SM
54032011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5404
5405 * emacs-lisp/find-func.el (find-function-C-source): Only set
5406 find-function-C-source-directory after checking that we found a source
5407 file there (bug#9440).
5408
d809b8eb
AM
54092011-09-06 Alan Mackenzie <acm@muc.de>
5410
5411 * isearch.el (isearch-other-meta-char): Wherever a key list is
5412 unread, "unread" the prefix arg, too. This fixes bug #8901.
5413
453de99f
OG
54142011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5415
5416 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5417
90439906
JL
54182011-09-05 Juri Linkov <juri@jurta.org>
5419
5420 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5421
f62bd846
JL
54222011-09-05 Juri Linkov <juri@jurta.org>
5423
5424 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5425 keeping point where processing of grep matches begins, and
5426 continue to delete remaining escape sequences from the same point.
5427 (grep-filter): Make leading zero optional in "0?1;31m" because
5428 git-grep emits "\033[1;31m" escape sequences unlike expected
5429 "\033[01;31m" as GNU Grep does (bug#9408).
5430 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5431
045820ec
JL
54322011-09-05 Juri Linkov <juri@jurta.org>
5433
5434 * subr.el (y-or-n-p): Capitalize "yes".
5435
f5e29b9b
MA
54362011-09-04 Michael Albinus <michael.albinus@gmx.de>
5437
5438 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
5439 `tramp-cache-unload-hook' where appropriate.
5440 (tramp-methods): Rename `tramp-remote-sh' to
5441 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
5442 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5443
5444 * net/tramp-sh.el (top): Don't require 'shell.
5445 (tramp-methods): Add `tramp-remote-shell' and
5446 `tramp-remote-shell-args' entries.
5447 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5448 (tramp-sh-handle-shell-command): Remove.
5449 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5450 Use `tramp-remote-shell'.
5451
2784c434
CY
54522011-09-03 Chong Yidong <cyd@stupidchicken.com>
5453
393a301e 5454 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
5455 (sendmail-query-once): Save directly to send-mail-function.
5456 Update message-send-mail-function too.
5457
5458 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5459
464cdf56
CS
54602011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5461
5462 * progmodes/python.el (python-mode-map): Use correct function to
5463 start python interpreter from menu-bar (as reported by Geert
5464 Kloosterman).
5465 (inferior-python-mode-map): Fix typo.
393a301e 5466 (python-shell-map): Remove.
464cdf56 5467
d37e5c87
DD
54682011-09-03 Deniz Dogan <deniz@dogan.se>
5469
5470 * net/rcirc.el (rcirc-print): Simplify code for
5471 rcirc-scroll-show-maximum-output. There is no need to walk
5472 through all windows to find the right one.
5473
f3ada0ee
CS
54742011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5475
5476 * help.el (help-return-method): Doc fix.
5477
1f3c99ca
MR
54782011-09-03 Martin Rudalics <rudalics@gmx.at>
5479
5480 * window.el (window-deletable-p): Don't return a non-nil value
5481 when there's a buffer that was shown in the window before.
5482 (Bug#9419)
393a301e
SM
5483 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5484 Set window's previous buffers to nil.
1f3c99ca 5485
a3cf097f
EZ
54862011-09-03 Eli Zaretskii <eliz@gnu.org>
5487
5488 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5489 newline before and after the tag line, so it doesn't interfere
5490 with determining the paragraph direction of bidirectional text.
5491
3d03de90
LL
54922011-09-03 Leo Liu <sdl.web@gmail.com>
5493
5494 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5495
c3313451
CY
54962011-09-02 Chong Yidong <cyd@stupidchicken.com>
5497
393a301e 5498 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
5499 (pop-to-buffer): Change interactive spec. Pass second argument
5500 directly to display-buffer.
5501 (display-buffer): Fix interactive spec. Use functionp to
5502 distinguish between a function and a list of functions.
5503
5504 * abbrev.el (edit-abbrevs):
5505 * arc-mode.el (archive-extract):
5506 * autoinsert.el (auto-insert):
5507 * bookmark.el (bookmark-bmenu-list):
5508 * files.el (find-file):
5509 * view.el (view-buffer):
5510 * progmodes/compile.el (compilation-goto-locus):
5511 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5512
89894cd8
CY
55132011-09-02 Chong Yidong <cyd@stupidchicken.com>
5514
5515 * window.el (display-buffer-alist): Doc fix.
5516 (display-buffer): Add docstring. Don't treat
5517 display-buffer-default specially.
5518 (display-buffer-reuse-selected-window)
5519 (display-buffer-same-window, display-buffer-maybe-same-window)
5520 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5521 (display-buffer-pop-up-window)
5522 (display-buffer-reuse-or-pop-window)
5523 (display-buffer-use-some-window): New functions.
5524 (display-buffer-default-action): Use them.
393a301e 5525 (display-buffer-default): Delete.
89894cd8
CY
5526 (pop-to-buffer-1): Fix choice of actions.
5527
ae0bc9fb
SM
55282011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5529
5530 * minibuffer.el (completion--insert-strings): Don't get confused by
5531 completion entries that end with an LF char.
5532
e9d90883
EZ
55332011-09-01 Eli Zaretskii <eliz@gnu.org>
5534
5535 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5536
437014c8
CY
55372011-09-01 Chong Yidong <cyd@stupidchicken.com>
5538
5539 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
5540 (display-buffer-same-window, display-buffer-other-window):
5541 New functions.
437014c8
CY
5542 (pop-to-buffer-1): New function. Use the above.
5543 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 5544 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
5545
5546 * view.el (view-buffer-other-window, view-buffer-other-frame):
5547 Just use pop-to-buffer.
5548
a5e063d5
TV
55492011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5550
5551 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5552
793d32bb
WH
55532011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5554
5555 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5556
d65e4c15
RS
55572011-08-31 Richard Stallman <rms@gnu.org>
5558
5559 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5560 of the separation of rmail-view-buffer from rmail-buffer.
5561 If you say no to "replace original", the decrypt is in the
5562 view buffer. If you say yes, the decrypt goes into the
5563 rmail buffer also.
5564
f818cd2a
MR
55652011-08-31 Martin Rudalics <rudalics@gmx.at>
5566
5567 * window.el (display-buffer-window): Rewrite doc-string.
5568 (display-buffer-record-window): New function.
5569 (display-buffer-macro-specifiers)
5570 (display-buffer-even-window-sizes, display-buffer-set-height)
5571 (display-buffer-set-width, display-buffer-in-window)
5572 (display-buffer-reuse-window, display-buffer-split-specifiers)
5573 (display-buffer-side-specifiers, display-buffer-split-window-1)
5574 (display-buffer-split-window, display-buffer-split-atom-window)
5575 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5576 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5577 (display-buffer-other-window-means-other-frame)
5578 (display-buffer-normalize-special)
5579 (display-buffer-normalize-default)
5580 (display-buffer-normalize-argument)
5581 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5582 (display-buffer-normalize-specifiers, display-buffer-frame)
5583 (display-buffer-same-window, display-buffer-same-frame)
5584 (display-buffer-other-window)
5585 (display-buffer-same-frame-other-window)
5586 (display-buffer-other-frame, pop-to-buffer-same-window)
5587 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5588 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5589 (switch-to-buffer-same-frame)
5590 (switch-to-buffer-other-window-same-frame)
5591 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5592 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5593 (display-buffer-alist-set): Remove.
5594 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
5595 (special-display-regexps, special-display-function):
5596 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
5597 parameter.
5598 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5599 (special-display-frame-alist, special-display-popup-frame)
5600 (same-window-buffer-names, same-window-regexps, same-window-p)
5601 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5602 (split-window-preferred-function, split-height-threshold)
5603 (split-width-threshold, window-splittable-p)
5604 (split-window-sensibly, window--try-to-split-window)
5605 (window--frame-usable-p, even-window-heights)
5606 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
5607 (window--display-buffer-2, display-buffer-other-frame):
5608 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
5609 (display-buffer-default, display-buffer-assq-regexp): New functions.
5610 (display-buffer-alist): Rewrite doc-string.
5611 (display-buffer-default-action)
5612 (display-buffer-overriding-action): New variables.
5613 (display-buffer, switch-to-buffer): Rewrite.
5614 (pop-to-buffer): Restore Emacs 23 behavior but use
5615 window-normalize-buffer-to-display.
5616 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5617 Restore Emacs 23 behavior but use
5618 window-normalize-buffer-to-switch-to.
5619 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
5620 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5621 Rewrite using Emacs 23 options.
f818cd2a 5622
5bc3b51d
MA
56232011-08-31 Michael Albinus <michael.albinus@gmx.de>
5624
5625 * net/tramp.el (tramp-root-regexp): Remove.
5626 (tramp-completion-file-name-regexp-unified)
5627 (tramp-completion-file-name-regexp-separate)
5628 (tramp-completion-file-name-regexp-url): Don't use leading volume
5629 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
5630 (tramp-drop-volume-letter): Simplify definition.
5631 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 5632
b1a4f8e1
SM
56332011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5634
5635 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5636 (bug#9356).
5637
5664fa7b
RT
56382011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5639
b1a4f8e1 5640 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 5641
9a45d6c3
JL
56422011-08-29 Juri Linkov <juri@jurta.org>
5643
5644 * isearch.el (isearch-done): Don't display message "Mark saved"
5645 when arg `edit' is non-nil to prevent its flicker in the echo area.
5646
fb87e0fb
CY
56472011-08-28 Chong Yidong <cyd@stupidchicken.com>
5648
5649 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5650 obsolete packages for deletion.
5651
09ac1c2a
CS
56522011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5653
5654 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 5655 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
5656 view-mode from help-mode.
5657 (help-xref-override-view-map): Remove.
5658 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5659 view-mode is not used anymore.
5660
7a1ff57f
CY
56612011-08-28 Chong Yidong <cyd@stupidchicken.com>
5662
5663 * server.el (server-port): Doc fix.
5664
b9696605
CY
5665 * cus-theme.el (custom-theme-choose-mode): Inherit from
5666 special-mode (Bug#9124).
5667 (custom-theme-choose-mode-map): Add special-mode to parent.
5668
ef8cdf8c
AM
56692011-08-28 Alan Mackenzie <acm@muc.de>
5670
5671 * progmodes/cc-fonts.el
5672 (c-make-font-lock-BO-decl-search-function): New function.
5673 (c-basic-matchers-after - "Fontify the clauses after various
5674 keywords"): Extract the three keyword lists for the 3 erroneous
5675 constructs from the list of four, and use the new function above
5676 in place of an old one.
5677
27de4e20
DD
56782011-08-28 Deniz Dogan <deniz@dogan.se>
5679
5680 * net/rcirc.el (rcirc-insert-prev-input)
5681 (rcirc-insert-next-input): Remove unused argument.
5682
356a3681
SM
56832011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5684
5685 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5686
3fc9b218
AM
56872011-08-27 Alan Mackenzie <acm@muc.de>
5688
5689 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5690 handle function pointer parameters properly.
5691
538a061c
MR
56922011-08-27 Martin Rudalics <rudalics@gmx.at>
5693
5694 * window.el (display-buffer-reuse-window): Fix case where
5695 selected window was reused with non-nil OTHER-WINDOW argument.
5696 (Bug#9381)
5697
35b1c40c
DD
56982011-08-27 Deniz Dogan <deniz@dogan.se>
5699
5700 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5701 oftc's NickServ messages.
5702
2f6a3e79
GM
57032011-08-27 Glenn Morris <rgm@gnu.org>
5704
5705 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5706
7254299e
CY
57072011-08-26 Chong Yidong <cyd@stupidchicken.com>
5708
5709 * emacs-lisp/package.el (package-install): Call package-initialize
5710 if called interactively.
5711
f8ccf167
LL
57122011-08-26 Leo Liu <sdl.web@gmail.com>
5713
5714 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5715
3e8cd5ce
JL
57162011-08-25 Juri Linkov <juri@jurta.org>
5717
5718 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5719 `search-whitespace-regexp' (bug#9364).
5720
93eb7113
JL
57212011-08-25 Juri Linkov <juri@jurta.org>
5722
5723 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5724 `regexp-search-ring' to their global values to protect from
5725 updating by `read-from-minibuffer' (bug#9185).
5726
f65d1611
JL
57272011-08-25 Juri Linkov <juri@jurta.org>
5728
5729 * textmodes/ispell.el (ispell-command-loop): Add newline
5730 at the end of the "Use option `i'..." line.
5731
f1cf7a31
JL
57322011-08-25 Juri Linkov <juri@jurta.org>
5733
5734 * battery.el (display-battery-mode): If `battery-status-function'
5735 or `battery-mode-line-format' is nil, display the message and set
5736 `display-battery-mode' to nil (bug#9363).
5737
0c95fcf7
EZ
57382011-08-25 Eli Zaretskii <eliz@gnu.org>
5739
5740 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5741 bidi-string-mark-left-to-right; they are unnecessary now.
5742
a2ebe600
DD
57432011-08-25 Deniz Dogan <deniz@dogan.se>
5744
5745 * net/quickurl.el: Documentation typo fixes.
5746
e4ed06f1
CY
57472011-08-25 Chong Yidong <cyd@stupidchicken.com>
5748
5749 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5750
e5f1c99e
GM
57512011-08-25 Glenn Morris <rgm@gnu.org>
5752
b2948976
GM
5753 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5754
e5f1c99e
GM
5755 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5756 (smtpmail-via-smtp): Handle nil response from smtp.
5757
f22f4808
JL
57582011-08-24 Juri Linkov <juri@jurta.org>
5759
5760 * proced.el (proced-marked): Inherit from `error' instead of
5761 `font-lock-warning-face'.
5762
5763 * ibuffer.el (ibuffer-marked-face): Change default face from
5764 `font-lock-warning-face' to `warning'.
5765 (ibuffer-deletion-face): Change default face from
5766 `font-lock-type-face' to `error'.
5767
5768 * battery.el (battery-update): Use the face `error' instead of
5769 `font-lock-warning-face' (bug#6117).
5770
6a93965e
JL
57712011-08-24 Juri Linkov <juri@jurta.org>
5772
5773 * faces.el (success): Change face color from "Green3" to
5774 "ForestGreen" on light background (bug#9353).
5775
1ed43b09
CY
57762011-08-24 Chong Yidong <cyd@stupidchicken.com>
5777
5664fa7b
RT
5778 * window.el (quit-window): Rename from quit-restore-window.
5779 Use same arglist as old quit-window.
1ed43b09
CY
5780 (frame-auto-delete): Doc fix.
5781
5782 * view.el (view-mode-exit): Use quit-window.
5783
11dcdbb2
JL
57842011-08-24 Juri Linkov <juri@jurta.org>
5785
5786 * isearch.el (isearch-ring-adjust1): Start visiting previous
5787 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5788 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5789 for empty search string (when the last search string is reused
5790 automatically) to adjust the isearch ring to the last element and
5791 prepare the correct index for further M-p commands (bug#9185).
5792
de62b4df
KH
57932011-08-24 Kenichi Handa <handa@m17n.org>
5794
5795 * international/ucs-normalize.el: If decomposition property of
5796 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5797 nil.
5798 (nfd, nfkd): Likewise.
5799
963b492b
SM
58002011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5801
5802 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5803 from process filters aren't reliably transmitted to the surrounding
5804 accept-process-output.
5805 (mpc-proc-check): New function.
5806 (mpc-proc-sync): Use it (bug#8293)
5807
93b6b5e1
SM
58082011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5809
5810 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5811 Add compatibility functions (bug#9313).
5812
bca633fb
EZ
58132011-08-23 Eli Zaretskii <eliz@gnu.org>
5814
b177498a
EZ
5815 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5816
6df6ae42 5817 * international/uni-bidi.el: Regenerate.
bca633fb 5818
0902a04e
KH
58192011-08-23 Kenichi Handa <handa@m17n.org>
5820
5821 * international/charprop.el:
5822 * international/uni-bidi.el:
5823 * international/uni-category.el:
5824 * international/uni-combining.el:
5825 * international/uni-comment.el:
5826 * international/uni-decimal.el:
5827 * international/uni-decomposition.el:
5828 * international/uni-digit.el:
5829 * international/uni-lowercase.el:
5830 * international/uni-mirrored.el:
5831 * international/uni-name.el:
5832 * international/uni-numeric.el:
5833 * international/uni-old-name.el:
5834 * international/uni-titlecase.el:
5835 * international/uni-uppercase.el: Regenerate.
5836
3bbf23bc
MR
58372011-08-23 Martin Rudalics <rudalics@gmx.at>
5838
5839 * help.el (help-window-setup): Fix message displayed when other
5840 window is reused. (Bug#9341)
5841
b3fd59bd
SM
58422011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5843
1802e444
SM
5844 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5845 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5846
b3fd59bd
SM
5847 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5848 Mark obsolete.
5849 * shell.el (shell-parse-pcomplete-arguments): New function.
5850 (shell-completion-vars): Use it instead (bug#9160).
5851
4eb61348
SM
58522011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5853
867cab74
SM
5854 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5855 strings and comments (bug#9333).
5856
4eb61348
SM
5857 * emacs-lisp/debug.el (debug-arglist): New function.
5858 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
5859 (debug-on-entry-1): Handle interpreted closures (bug#9120).
5860
262a1439
JL
58612011-08-22 Juri Linkov <juri@jurta.org>
5862
56ee679c
JL
5863 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5864 Revert regexp that highlights output switches to its old
5865 pre-2010-10-28 value and remove one `?' from it (bug#9319).
5866
262a1439
JL
5867 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5868 to check for empty output (bug#9226).
5869
f13f86fb
CY
58702011-08-22 Chong Yidong <cyd@stupidchicken.com>
5871
5872 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5873 symbol-constituent as the default, as that stops font-lock from
5874 working properly (Bug#8843).
5875
c65c9622
LMI
58762011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5877
5878 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5879 `coding-system-for-*' around the process open call to avoid
5880 auth-source side effects.
e7f2c178 5881 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
5882 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5883 probe hangs.
c65c9622 5884
23a8a5ab
CY
58852011-08-21 Chong Yidong <cyd@stupidchicken.com>
5886
ff98b2dd
CY
5887 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5888
23a8a5ab
CY
5889 * emacs-lisp/find-func.el (find-function-noselect): New arg
5890 lisp-only.
5891
5892 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5893 signal an error for built-in functions (Bug#6664).
5894
f5e3c598
LMI
58952011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5896
5897 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5898 (smtpmail-try-auth-methods): Use it.
5899
a3f2468a
CY
59002011-08-21 Chong Yidong <cyd@stupidchicken.com>
5901
2c34e8da
CY
5902 * font-lock.el (font-lock-fontify-region)
5903 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5904 (font-lock-default-unfontify-buffer)
5905 (font-lock-default-fontify-region)
5906 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5907
b3fd59bd
SM
5908 * progmodes/compile.el (compilation-error-properties):
5909 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
5910 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5911 `ant' regexp.
ee31aabc 5912
a3f2468a
CY
5913 * net/browse-url.el (browse-url-firefox): Don't call
5914 browse-url-firefox-sentinel unless using -remote (Bug#9328).
5915
8e999f70
GM
59162011-08-20 Glenn Morris <rgm@gnu.org>
5917
c21a496a
GM
5918 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5919
59ee0542
GM
5920 * tutorial.el (tutorial--default-keys): Update some default bindings.
5921
8e999f70
GM
5922 * files.el (hack-local-variables): Fully ignore case for "mode:".
5923
e3715033
AM
59242011-08-20 Alan Mackenzie <acm@muc.de>
5925
5926 Resolve invalid use of a regexp in regexp-opt.
5927
4d61f28d
JB
5928 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5929 detection for a java annotation.
e3715033 5930
4d61f28d 5931 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
5932 detection for a java annotation.
5933
4d61f28d
JB
5934 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5935 handling for java.
e3715033
AM
5936 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5937
04ed2e9c
CY
59382011-08-20 Chong Yidong <cyd@stupidchicken.com>
5939
5940 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5941 (Bug#9274).
5942
826cee64
AM
59432011-08-20 Alan Mackenzie <acm@muc.de>
5944
58179cce 5945 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
5946 such a construct. Mainly for when jit-lock etc. starts a chunk
5947 here.
5948
58179cce 5949 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 5950 variable.
58179cce 5951 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
5952 c-make-font-lock-search-function.
5953 (c-make-font-lock-search-function): Use the above function.
5954 (c-make-font-lock-context-search-function): New function.
5955 (c-cpp-matchers): Enhance the preprocessor expression case with
5956 the above function
5957 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
5958 which takes an expression.
5959
5960 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
5961
13009bd8
MR
59622011-08-20 Martin Rudalics <rudalics@gmx.at>
5963
5964 * window.el (display-buffer-reuse-window)
5965 (display-buffer-pop-up-window): Don't reuse or split a side
5966 window.
5967
9234ff7f
GM
59682011-08-19 Glenn Morris <rgm@gnu.org>
5969
5970 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 5971 Downcase "Mode:". (Bug#9331)
9234ff7f 5972
f635daa1
CY
59732011-08-18 Chong Yidong <cyd@stupidchicken.com>
5974
5975 * international/characters.el: Add L and R categories.
5976
5977 * subr.el (bidi-string-mark-left-to-right): Rename from
5978 string-mark-left-to-right. Use category search.
5979
5980 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
5981
bc987f8b
JL
59822011-08-18 Juri Linkov <juri@jurta.org>
5983
5984 * faces.el (error, warning, success): New faces with definitions
5985 copied from old default values of `font-lock-warning-face',
5986 `compilation-warning', `compilation-info' (bug#6117).
5987
5988 * font-lock.el (font-lock-warning-face): Inherit from `error'.
5989
5990 * progmodes/compile.el (compilation-error): Inherit from `error'.
5991 (compilation-warning): Inherit from `warning'.
5992 (compilation-info): Inherit from `success'.
5993
5994 * dired.el (dired-marked): Inherit from `warning'.
5995 (dired-flagged): Inherit from `error'.
5996
57173b96
LMI
59972011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5998
3e79eb87
LMI
5999 * mail/smtpmail.el (auth-source): Require to avoid problems with
6000 binding variables (bug#9298). Also clean up some unused
6001 autoloads.
6002
b3fd59bd
SM
6003 * net/network-stream.el (network-stream-open-starttls):
6004 Support using starttls.el without using gnutls-cli.
57173b96 6005
02b404de
JL
60062011-08-17 Juri Linkov <juri@jurta.org>
6007
6008 * progmodes/grep.el (rgrep): Handle the case when
6009 `grep-find-command' is a cons cell (bug#9278).
6010
8c9177f2
MR
60112011-08-17 Martin Rudalics <rudalics@gmx.at>
6012
6013 * window.el (display-buffer-pop-up-frame): Run frame creation
6014 function with BUFFER current (as special-display-popup-frame
6015 does). Reported by Drew Adams.
6016
3644a0ab
DU
60172011-08-17 Daiki Ueno <ueno@unixuser.org>
6018
6019 * epa-mail.el: Simplify GnuPG group expansion using
6020 epg-expand-group.
6021 (epa-mail-group-alist, epa-mail-group-modtime)
6022 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6023 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6024 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6025 Remove.
6026
5e617bc2 60272011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
6028
6029 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6030
9c4aeabf
AM
60312011-08-16 Alan Mackenzie <acm@muc.de>
6032
6033 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6034 Correct, to avoid the inside of macros.
6035
3a99bf64
RS
60362011-08-16 Richard Stallman <rms@gnu.org>
6037
04963aa8
RS
6038 * epa-mail.el: Handle GnuPG group definitions.
6039 (epa-mail-group-alist, epa-mail-group-modtime)
6040 (epa-mail-gnupg-conf-file): New variables.
6041 (epa-mail-parse-groups, epa-mail-sync-groups)
6042 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6043 (epa-mail-expand-recipients): New functions.
6044 (epa-mail-encrypt): Call epa-mail-expand-recipients.
6045
177549d0
RS
6046 * mail/rmail.el (rmail-epa-decrypt): New command.
6047
fe38beef
RS
6048 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6049 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
6050 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6051 (epa-decrypt-armor-in-region): Make error message clearer.
6052
934eacb9
SM
60532011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6054
6055 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6056 and "a2b" to "ab" for `prefix'.
6057
d024fb4e
CY
60582011-08-14 Chong Yidong <cyd@stupidchicken.com>
6059
6060 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6061 filter groups.
de148fee
CY
6062 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
6063 Fourquet (Bug#8804).
d024fb4e 6064
62f1ca49
JB
60652011-08-12 Juanma Barranquero <lekktu@gmail.com>
6066
6067 * startup.el (argi): Declare as global variable (bug#9275).
6068
9ccaaa4b
CY
60692011-08-12 Chong Yidong <cyd@stupidchicken.com>
6070
6071 * subr.el (string-mark-left-to-right): Search the entire string
6072 for RTL script, not just the terminating character. Doc fix.
6073
a3dae87a
SM
60742011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6075
6cd18349
SM
6076 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6077 New function.
6078 (js--regexp-literal, js-syntax-propertize-function): Remove.
6079 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6080 (js-mode-map): Don't rebind electric keys.
6081 (js-insert-and-indent): Remove.
6082 (js-mode): Setup electric-layout and electric-indent instead.
6083
a3dae87a
SM
6084 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6085
9d5cb631
DU
60862011-08-12 Daiki Ueno <ueno@unixuser.org>
6087
6088 * epa.el (epa-progress-callback-function): Fix the logic of
6089 displaying progress.
6090 * epa-file.el (epa-file-insert-file-contents): Make progress
6091 display more user-friendly.
6092 (epa-file-write-region): Ditto.
6093
3e26a4a2
CY
60942011-08-10 Chong Yidong <cyd@stupidchicken.com>
6095
6096 * subr.el (string-mark-left-to-right): New function.
6097
6098 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6099 Use string-mark-left-to-right.
6100 (list-buffers-noselect): Caller changed.
6101
a3dae87a
SM
6102 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6103 Use string-mark-left-to-right.
3e26a4a2
CY
6104 (tabulated-list-print): Recenter after moving point.
6105
ac8cf6e6
JL
61062011-08-10 Juri Linkov <juri@jurta.org>
6107
6108 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6109 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6110 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6111
8d96c9a4
CY
61122011-08-09 Chong Yidong <cyd@stupidchicken.com>
6113
6114 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6115 (Bug#7554).
6116
7be1c708 61172011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
6118
6119 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6120 character. (Bug#6594)
6121
37e11a63
CY
61222011-08-08 Chong Yidong <cyd@stupidchicken.com>
6123
839dde57
CY
6124 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6125 (image-dired--with-db-file): New macro.
6126 (image-dired-write-tags, image-dired-remove-tag)
6127 (image-dired-create-gallery-lists, image-dired-write-comments)
6128 (image-dired-get-comment, image-dired-mark-tagged-files)
6129 (image-dired-list-tags, image-dired-gallery-generate): Use it.
6130 (image-dired-gallery-generate): Use insert-file-contents.
6131
37e11a63
CY
6132 * time.el (display-time-world-list, display-time-world-display):
6133 * time-stamp.el (time-stamp-string):
6134 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6135 set-time-zone-rule (Bug#7337).
6136
0b4946c4
DU
61372011-08-08 Daiki Ueno <ueno@unixuser.org>
6138
6139 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6140 (epg-error-to-string, epg-errors-to-string): New function.
6141 (epg-wait-for-completion): Reverse errors list.
6142 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6143 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6144 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6145 (epg-sign-keys, epg-generate-key-from-file)
6146 (epg-generate-key-from-string): Format errors by using
6147 epg-errors-to-string (bug#9255).
6148 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6149
75bfc667
JL
61502011-08-07 Juri Linkov <juri@jurta.org>
6151
6152 * faces.el (list-faces-display): Remove extra angle bracket
6153 from `help-mode-map'.
6154
6155 * info.el (Info-history-toc-nodes): Doc fix.
6156
6157 * longlines.el (longlines-mode): Doc fix.
6158
673e08bb
SM
61592011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6160
4640dd88
SM
6161 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6162 of statements and in a few more cases (bug#9183).
6163
673e08bb
SM
6164 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6165 New functions.
6166 (cl-transform-lambda): Use them (bug#9239).
6167
89b3f019
MR
61682011-08-05 Martin Rudalics <rudalics@gmx.at>
6169
6170 * window.el (display-buffer-same-window)
6171 (display-buffer-same-frame, display-buffer-other-window)
6172 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6173 (pop-to-buffer-other-window)
6174 (pop-to-buffer-same-frame-other-window)
6175 (pop-to-buffer-other-frame): Make them defuns.
6176 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6177
640c8776
SM
61782011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6179
6180 * subr.el (make-composed-keymap): Move from C. Change calling
6181 convention, and improve docstring to bring attention to a subtle point.
6182 * minibuffer.el (completing-read-default): Adjust accordingly.
6183
63648a95
MA
61842011-08-03 Michael Albinus <michael.albinus@gmx.de>
6185
6186 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6187 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6188
6189 * net/trampver.el: Update release number.
6190
b796c9b7
SM
61912011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6192
6193 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6194 "in" (bug#9190).
6195
2239d7d5
LMI
61962011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6197
e07dd7c3
LMI
6198 * mail/sendmail.el (sendmail-query-once): Restore the current
6199 buffer after querying (bug#9074).
6200
0e6a2bd7
LMI
6201 * dired.el (dired-flagged): Use different faces for marked and
6202 flagged files (bug#6117).
6203
ce887515
LMI
6204 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6205 (bug#4433).
6206
92f2affc
LMI
6207 * ido.el (ido-mode): Switch off the message if called
6208 non-interactively.
6209
57d5aff0
LMI
6210 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6211 before 587, since it appears that that's more likely to work for
6212 more people.
6213
98cd6c18 6214 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 6215 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
6216 exist.
6217
b96dec83
LMI
6218 * info.el: Remove the `Info-beginning-of-buffer' function
6219 (bug#8325).
6220
b796c9b7
SM
6221 * net/network-stream.el (network-stream-open-starttls):
6222 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 6223
d90e2ea0
MR
62242011-08-01 Martin Rudalics <rudalics@gmx.at>
6225
6226 * window.el (display-buffer-in-window): Don't set dedicated status
6227 of window here (Bug#9215).
6228 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6229 (display-buffer-pop-up-side-window)
b796c9b7 6230 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 6231
cca09170
SM
62322011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6233
6234 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6235 before binding generated-autoload-file.
6236
027b979c
DD
62372011-08-01 Deniz Dogan <deniz@dogan.se>
6238
6239 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6240
3c7ee4f3
MA
62412011-07-30 Michael Albinus <michael.albinus@gmx.de>
6242
6243 Sync with Tramp 2.2.2.
6244
6245 * net/trampver.el: Update release number.
6246
2cc8e51a
JL
62472011-07-30 Juri Linkov <juri@jurta.org>
6248
6249 * dired-aux.el (dired-touch-initial): Remove function.
6250 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6251 current time, and `default' to the last modification time of the
6252 current marked file (bug#6887).
6253
a514d856
JM
62542011-07-28 Jose E. Marchesi <jemarch@gnu.org>
6255
6256 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 6257 numeric argument to read-number (bug#9163).
a514d856 6258
8a7eddd7
MA
62592011-07-27 Michael Albinus <michael.albinus@gmx.de>
6260
6261 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6262 connection process, it could be nil.
6263
1ddd96f5
LL
62642011-07-27 Leo Liu <sdl.web@gmail.com>
6265
6266 Simplify url handling in rcirc-mode.
6267
6268 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6269 (rcirc-browse-url-at-mouse): Remove.
6270 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6271
b248a85d
AM
62722011-07-26 Alan Mackenzie <acm@muc.de>
6273
6274 Fontify bitfield declarations properly.
6275
6276 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6277 (c-symbol-chars): Now exported as a lang variable.
6278 (c-not-primitive-type-keywords): New lang variable.
6279
6280 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6281 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 6282 parsed as a bitfield declaration.
b248a85d 6283
b796c9b7
SM
6284 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6285 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
6286 (c-punctuation-in): New function.
6287 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6288 declarations properly.
6289
68575ab0
UJ
62902011-07-26 Ulf Jasper <ulf.jasper@web.de>
6291
6292 * calendar/icalendar.el (icalendar--all-events): Take care of
6293 multiple vcalendars in a single file.
b796c9b7 6294 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 6295
0f0a88b9
DD
62962011-07-25 Deniz Dogan <deniz@dogan.se>
6297
6298 * image.el (insert-image): Clarifying docstring.
6299
0b3f36df
MA
63002011-07-24 Michael Albinus <michael.albinus@gmx.de>
6301
6302 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6303 `tramp-send-command-and-check' if there is no error.
6304 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6305
a9901f61
AM
63062011-07-22 Alan Mackenzie <acm@muc.de>
6307
6308 Prevent cc-langs.elc being loaded at run time.
6309
6310 * progmodes/cc-mode.el: Remove two autoload forms which loaded
6311 cc-langs.
6312
4d61f28d 6313 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
6314 "(require 'cc-langs)". Quote a form so it will evaluate at
6315 (cc-mode's) compilation time.
6316
11d074b2
MA
63172011-07-22 Michael Albinus <michael.albinus@gmx.de>
6318
6319 * net/tramp.el (tramp-file-name-handler): Avoid recursive
6320 loading. (Bug#9114)
6321
938b94c8
MR
63222011-07-21 Martin Rudalics <rudalics@gmx.at>
6323
6324 * window.el (display-buffer-pop-up-window)
6325 (display-buffer-pop-up-side-window)
6326 (display-buffer-in-side-window): Call display-buffer-set-height
6327 and display-buffer-set-width after setting the new window's
b796c9b7 6328 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 6329
bfa4f190
SS
63302011-07-20 Sam Steingold <sds@gnu.org>
6331
6332 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6333 (etags-tags-included-tables): Call `convert-standard-filename' on
6334 the file names contained in TAGS so that windows Emacs can handle
6335 TAGS files created by cygwin ctags.
6336
8ca42262
LMI
63372011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
6338
6339 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6340 which apparently didn't work.
6341
5db2afd2 63422011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 6343
5db2afd2
RW
6344 * proced.el (proced-send-signal): For *Marked Processes* buffer
6345 put point at beginning of buffer.
6346
92e15d10
SB
63472011-07-19 Stephen Berman <stephen.berman@gmx.net>
6348
6349 * proced.el (proced-format): Make header lines align with the text
6350 (bug#1779).
6351
1bfd59e5
LMI
63522011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6353
6354 * view.el (view-buffer): Allow running in `special' modes if we're
6355 visiting a file (bug#8615).
6356
f5aae37c
MR
63572011-07-19 Martin Rudalics <rudalics@gmx.at>
6358
6359 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
6360 (display-buffer-alist-set-1, display-buffer-alist-set-2):
6361 New functions.
f5aae37c
MR
6362 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6363 more accurately.
6364
bf2c1571
AM
63652011-07-18 Alan Mackenzie <acm@muc.de>
6366
6367 Fontify declarators properly when, e.g., a jit-lock chunk begins
6368 inside a declaration.
6369
6370 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6371
b796c9b7
SM
6372 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6373 New function.
bf2c1571
AM
6374 (c-complex-decl-matchers): Insert reference to
6375 c-font-lock-enclosing-decls.
6376
6377 * progmodes/cc-engine.el (c-backward-single-comment):
6378 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6379 to nil around calls to (forward-comment -1).
6380
4e190b80
LMI
63812011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6382
12dc863d
LMI
6383 * image.el (put-image): Doc typo fix.
6384
a762e966
LMI
6385 * progmodes/etags.el (tags-search): Doc typo fix.
6386
4e190b80
LMI
6387 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6388 password if we get errors 550 to 554.
6389
f019fb21
LMI
63902011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6391
b796c9b7 6392 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 6393
81746738
LMI
6394 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6395 indentation character (bug#6380).
6396
3ee3a1b5
LMI
6397 * files.el (buffer-offer-save): Made permanently local (bug#6241).
6398
c82f64de
LMI
6399 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6400 to clarify what the problem is (bug#4291).
6401
f019fb21
LMI
6402 * simple.el (current-kill): Clarify what
6403 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
6404 (auto-fill-mode): Document `auto-fill-function' in relation to
6405 `auto-fill-mode' (bug#2470).
f019fb21 6406
0794775d
LM
64072011-07-16 Lawrence Mitchell <wence@gmx.li>
6408
6409 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6410 method if slot is read-only (bug#9035).
6411
be39b8cc
MR
64122011-07-16 Martin Rudalics <rudalics@gmx.at>
6413
b796c9b7 6414 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 6415 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
6416 selected before, see discussion of (Bug#8615), (Bug#6954).
6417 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 6418
6ccf7859
GM
64192011-07-15 Glenn Morris <rgm@gnu.org>
6420
6421 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 6422 Respect help-form.
6ccf7859 6423
87e86684
LM
64242011-07-09 Lawrence Mitchell <wence@gmx.li>
6425
6426 * net/gnutls.el (gnutls-min-prime-bits): New variable.
6427 (gnutls-negotiate): Use it.
6428
d6066239
LMI
64292011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6430
b796c9b7
SM
6431 * net/gnutls.el (gnutls-negotiate):
6432 Upcase `gnutls-algorithm-priority'.
d6066239 6433
bd23ebc0
GM
64342011-07-15 Glenn Morris <rgm@gnu.org>
6435
c65bca65
GM
6436 * jka-compr.el (jka-compr-verbose): Move from here...
6437 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
6438 Add missing :version tag.
6439 * info.el: No need to require jka-compr when compiling.
bd23ebc0 6440
478615cc
LMI
64412011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6442
7b41decb
LMI
6443 * net/gnutls.el (gnutls-algorithm-priority): New variable.
6444 (gnutls-negotiate): Use it.
6445
dbc44fcd
LMI
6446 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6447
06789f97
LMI
6448 * info.el (Info-beginning-of-buffer): New command.
6449 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6450 announcing `b' as the key (bug#8325).
ab896c37 6451 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 6452
c39da690
LMI
6453 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6454
3aa5f34b
LMI
6455 * international/mule-cmds.el
6456 (describe-specified-language-support): Make the error message
6457 clearer (bug#8905).
6458
4bf0979f
LMI
6459 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6460
478615cc
LMI
6461 * isearch.el (isearch-barrier): Add a doc string, since it's
6462 mentioned in a function doc string (bug#8678).
6463
75c68aa1
MR
64642011-07-15 Martin Rudalics <rudalics@gmx.at>
6465
6466 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6467 buffer argument (Bug#9083) and self-identifying label argument.
6468
a7c33da2
GM
64692011-07-15 Glenn Morris <rgm@gnu.org>
6470
6471 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6472
2f5c6024
LMI
64732011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6474
6475 * man.el (Man-fontify-manpage): Fix message when formatting the
6476 man page (bug#7929).
6477
0bb23927 64782011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
6479
6480 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6481 argument LRM; if non-nil, append an invisible LRM character to the
6482 buffer name.
6483 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6484 last argument non-nil, when formatting buffer names.
0bb23927
EZ
6485 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6486 paragraph direction.
cce4b0a7 6487
621ef9ab
LMI
64882011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6489
d1583c48
LMI
6490 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6491 the man page name (bug#7929).
6492
6a57fb5f
LMI
6493 * image.el (put-image): Mention the `put-image' overlay property
6494 (bug#7834).
6495
d7956b14
LMI
6496 * scroll-bar.el (set-scroll-bar-mode): Mention that
6497 `scroll-bar-mode' lists the values (bug#7772).
6498
5b2d4a66
LMI
6499 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6500 command (bug#7729).
6501
7509a874
LMI
6502 * rect.el (apply-on-rectangle): Return the point after the last
6503 operation.
6504 (string-rectangle): Go to the point after the last operation
6505 (bug#7522).
6506
4fe74b19
LMI
6507 * printing.el (pr-toggle-region): Clarify the documentation
6508 slightly (bug#7493).
6509
b796c9b7
SM
6510 * time.el (display-time-update):
6511 Allow `display-time-mail-function' to return nil (bug#7158).
6512 Fix suggested by Detlev Zundel.
ab283561 6513
fc233c9d
LMI
6514 * vc/diff.el (diff): Clarify the order the file names are read
6515 (bug#7111).
6516
43f5740b
LMI
6517 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6518 the doc string (bug#7015).
6519
f2182a76
LMI
6520 * font-lock.el (font-lock-maximum-decoration): Mention what
6521 numeric levels mean (bug#6935).
6522
621ef9ab
LMI
6523 * startup.el (initial-buffer-choice): Don't mention the `none'
6524 selection, which is against policy.
6525
adc47434
MR
65262011-07-14 Martin Rudalics <rudalics@gmx.at>
6527
b796c9b7
SM
6528 * window.el (display-buffer-normalize-special):
6529 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 6530
7e5bfb8f
EZ
65312011-07-14 Eli Zaretskii <eliz@gnu.org>
6532
6533 * subr.el (version<, version<=, version=): Mention "-CVS" and
6534 "-12345" alpha version numbers.
6535
27fa387a
CY
65362011-07-14 Chong Yidong <cyd@stupidchicken.com>
6537
6538 * bindings.el: Add advertised binding for set-mark-command
6539 (Bug#5772).
6540
8bdfa064
CY
65412011-07-14 Chong Yidong <cyd@stupidchicken.com>
6542
6543 * bindings.el (mode-line-other-buffer):
6544 * bookmark.el (bookmark-bmenu-2-window):
6545 * bs.el (bs-cycle-next, bs-cycle-previous):
6546 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6547 switch-to-buffer.
6548
6549 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 6550 Delete.
8bdfa064 6551
5eba16a3
JB
65522011-07-14 Juanma Barranquero <lekktu@gmail.com>
6553
6554 * follow.el (follow-debug-message, follow-redisplay):
6555 * jka-cmpr-hook.el (with-auto-compression-mode):
6556 Fix typos in docstrings.
6557
15853710
LMI
65582011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6559
a28e4607
LMI
6560 * subr.el (with-silent-modifications): Clarify somewhat what the
6561 macro inhibits (bug#6525).
6562
15853710
LMI
6563 * simple.el (eval-expression): Note what it does if called
6564 interactively (bug#6495).
6565
bee0fcef
CY
65662011-07-13 Chong Yidong <cyd@stupidchicken.com>
6567
b796c9b7
SM
6568 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6569 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
6570
6571 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6572 Remove switch-to-buffer.
6573
58274504
LMI
65742011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6575
bd2fcc8d
LMI
6576 * files.el (make-directory): Clarify that an error will be raised
6577 if there's an error (bug#6397).
6578
0f04b32c
LMI
6579 * startup.el (initial-buffer-choice): Add `none' as a choice
6580 (bug#6234).
6581
465c5fc8
LMI
6582 * subr.el (add-hook): Clarify section about buffer-local hooks
6583 (bug#6218).
6584
58274504
LMI
6585 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6586
bead9a43
JB
65872011-07-13 Juanma Barranquero <lekktu@gmail.com>
6588
6589 * tabify.el (untabify): Preserve the current column so that point
6590 doesn't move (bug#6032).
6591
3af98a7b
LMI
65922011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6593
b796c9b7
SM
6594 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6595 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 6596
6240145a
GM
65972011-07-13 Glenn Morris <rgm@gnu.org>
6598
6599 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6600 (dired-insert-directory): Give a message the first time
6601 if ls is found not to support --dired.
6602
1d8c2ccc
LMI
66032011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6604
6605 * simple.el (toggle-truncate-lines): Clarify what is toggled
6606 (bug#5580). Text by Drew Adams.
6607
5fc4038e
CY
66082011-07-13 Chong Yidong <cyd@stupidchicken.com>
6609
6610 * simple.el (blink-matching-open): Make the error message from the
6611 last change less verbose.
6612
bf6012e5
DN
66132011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6614
6615 * font-lock.el (font-lock-comment-face): Use the high contrast
6616 "yellow" color for font-lock-comment-face on low color terminals
6617 using a dark background color (bug#4221).
6618
343c3b5a
LMI
66192011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6620
7e9505c5
LMI
6621 * dired.el (dired-insert-set-properties): Make the doc string
6622 reflect what it does now (bug#5325).
6623
c26fdcf5
LMI
6624 * simple.el (blink-matching-open): Say that we were unable to find
6625 the match within the limit, if we're limited (bug#5122).
6626
bb388cc5
LMI
6627 * international/mule-cmds.el (prefer-coding-system): Add an
6628 example (bug#4869).
6629
343c3b5a
LMI
6630 * progmodes/etags.el (tags-search): Document `file-list-form'
6631 (bug#4731).
6632
2a517d45
LM
66332011-07-13 Lawrence Mitchell <wence@gmx.li>
6634
6635 * net/browse-url.el (browse-url-default-browser)
6636 (browse-url-browser-function): Make the default browser choice a
6637 bit more logical (bug#4300). Also clean up the doc string.
6638
b6c78ef2
JB
66392011-07-13 Juanma Barranquero <lekktu@gmail.com>
6640
6641 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6642 binary endings (bug#4440).
6643
1c4dd947
LMI
66442011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6645
a2014063
LMI
6646 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6647 which can be pretty annoying (bug#8971).
6648
9c9c2d88
LMI
6649 * jka-compr.el (jka-compr-verbose): New variable, and use
6650 throughout (bug#8971).
6651
1c4dd947
LMI
6652 * info.el (Info-find-file): Fall back on the installation
6653 directory if we can't find the info node anywhere else.
6654
a1c9f41b
SO
66552011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6656
6657 * vc/vc.el (vc-revert-file):
6658 Don't set file time-stamp in the past. (Bug#5181)
6659
536f3d36
LMI
66602011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6661
7152b011
LMI
6662 * files.el (after-find-file): Give a better error message when
6663 trying to find a symlink that points to a file that doesn't exist
6664 (bug#4398).
6665
536f3d36
LMI
6666 * progmodes/cc-vars.el: Remove (probably) misleading comment
6667 (bug#4396).
6668
460c0fba
JB
66692011-07-12 Johan Bockgård <bojohan@gnu.org>
6670
6671 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6672
7a6bda45
CY
66732011-07-12 Chong Yidong <cyd@stupidchicken.com>
6674
6675 * mouse-sel.el: Hack restoring functionality, while keeping
6676 compatibility with 2010-07-03 changes to mouse selection.
6677 (mouse-sel-primary-overlay): New var.
6678 (mouse-sel-selection-alist): Use it.
6679 (mouse-sel-mode): Doc fix; remove points that are default features
6680 of mouse.el.
6681
c79598ef
JB
66822011-07-12 Johan Bockgård <bojohan@gnu.org>
6683
6684 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6685 Fix previous fix (bug#2490).
6686
ff8be6ef
RW
66872011-07-12 Roland Winkler <winkler@gnu.org>
6688
b796c9b7
SM
6689 * textmodes/bibtex.el (bibtex-initialize):
6690 Use pop-to-buffer-same-window.
ff8be6ef
RW
6691 (bibtex-search-entries): Fix interactive call.
6692
296ba3ee
LMI
66932011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6694
f5242a02 6695 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
6696 Fontise bytecomp Error lines more correctly (bug#2490).
6697 Fix suggested by Johan Bockgård.
f5242a02 6698
296ba3ee
LMI
6699 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6700
6701 * dired-x.el (dired-guess-default): Use `delete-dups'.
6702
f69fd0d2
CY
67032011-07-12 Chong Yidong <cyd@stupidchicken.com>
6704
6705 * dired.el (dired-mark-prompt):
6706 * dired-aux.el (dired-read-shell-command): Doc fix.
6707
eab5dc07
LMI
67082011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6709
b796c9b7
SM
6710 * mail/sendmail.el (sendmail-query-once):
6711 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
6712 emacs -Q.
6713
6714 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6715
eab5dc07
LMI
6716 * cus-edit.el (custom-file): Take an optional no-error variable.
6717 (customize-save-variable): Set the variable, and give a warning if
6718 running under "emacs -q".
6719
a1e65d42
JB
67202011-07-11 Juanma Barranquero <lekktu@gmail.com>
6721
6722 * loadhist.el (unload-feature-special-hooks):
6723 Add `auto-coding-functions', `fill-nobreak-predicate' and
6724 `find-directory-functions' (bug#5327).
6725
1d52da10
LMI
67262011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6727
be958f1d
LMI
6728 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6729
5bedb26c
LMI
6730 * cus-edit.el (custom-guess-name-alist): -alist variables should
6731 use the `alist' type (bug#3120). Suggested by Drew Adams.
6732
1d52da10
LMI
6733 * printing.el: Add documentation to all the `pr-toggle-' commands.
6734
cd394be1 67352011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
6736
6737 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6738 backends where it makes sense (bug#2623).
6739
dcc88d8a
LMI
67402011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6741
c3de9feb
LMI
6742 * dired-x.el (dired-guess-default): Remove duplicate shell command
6743 entries (bug#2028).
8a93078b 6744 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 6745 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 6746
dcc88d8a
LMI
6747 * subr.el (remove-duplicates): New conveniency function.
6748
505e3645
LMI
67492011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6750
6751 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6752 (bug#1526).
6753
67542011-07-10 Martin Rudalics <rudalics@gmx.at>
6755
6756 * window.el (display-buffer-normalize-default): Don't invert
6757 meaning of even-window-heights. Reported by Eli Zaretskii
6758 <eliz@gnu.org>.
6759
455e4fa1
BR
67602011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6761
6762 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6763
8e0bc3e9
CY
67642011-07-10 Chong Yidong <cyd@stupidchicken.com>
6765
6766 * window.el (display-buffer): Fix arguments to
6767 display-buffer-reuse-window in last change.
6768
fa7c3228
CY
6769 * faces.el (link): Use a less saturated blue on light backgrounds.
6770
6771 * startup.el (fancy-startup-text, fancy-about-text)
6772 (fancy-startup-tail): Use font-lock faces, for background safety.
6773
c0a7f300
BN
67742011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6775
b796c9b7
SM
6776 * emulation/viper-cmd.el (viper-change-state-to-vi):
6777 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 6778
4dc2a129
MR
67792011-07-09 Martin Rudalics <rudalics@gmx.at>
6780
6781 * window.el (display-buffer-default-specifiers): Remove.
6782 (display-buffer-macro-specifiers): Remove default specifiers.
6783 (display-buffer-alist): Default to nil.
b796c9b7 6784 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
6785 (display-buffer-pop-up-window): Allow splitting internal
6786 windows. Check whether a live window was created.
6787 (display-buffer-other-window-means-other-frame)
6788 (display-buffer-normalize-arguments): Rename to
6789 display-buffer-normalize-argument and rewrite. Set the
6790 other-window specifier.
6791 (display-buffer-normalize-special): New function.
6792 (display-buffer-normalize-options): Rename to
6793 display-buffer-normalize-default and rewrite.
6794 (display-buffer-normalize-options-inhibit): Remove.
6795 (display-buffer-normalize-specifiers): Rewrite.
6796 (display-buffer): Process other-window specifier and call
6797 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6798 more faithfully.
b796c9b7 6799 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 6800 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
6801 (display-buffer-in-window, display-buffer-alist-set):
6802 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
6803 <tassilo@member.fsf.org>.
6804
2d43b8c9
LL
68052011-07-09 Leo Liu <sdl.web@gmail.com>
6806
6807 * register.el (insert-register): Restore accidental change on
6808 2011-06-26. (Bug#9028)
6809
7f9b7c53
GM
68102011-07-09 Glenn Morris <rgm@gnu.org>
6811
6812 * subr.el (remq): Handle the empty list. (Bug#9024)
6813
f042cfd8
AS
68142011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6815
6816 * mail/sendmail.el (send-mail-function): No longer delay custom
6817 initialization.
6818 * custom.el (custom-initialize-delay): Doc fix.
6819
856b2f11
SM
68202011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6821
6822 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6823
afae1d68
MA
68242011-07-08 Michael Albinus <michael.albinus@gmx.de>
6825
6826 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6827 human-friendly prompt.
6828
0757af94
SM
68292011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6830
6831 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6832 provided by a particular plugin.
6833
d760b731
LMI
68342011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6835
6836 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6837 save customizations (with "emacs -Q"), just set the variable
6838 instead of erroring out.
6839
6840 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6841
cd79ce90
JL
68422011-07-08 Juri Linkov <juri@jurta.org>
6843
6844 * arc-mode.el (archive-zip-expunge, archive-zip-update)
6845 (archive-zip-update-case): Use 7z if found by `executable-find'.
6846 The order of searching the available programs is the same as in
6847 `archive-zip-extract' (bug#8968).
6848
14cc04aa
CY
68492011-07-07 Chong Yidong <cyd@stupidchicken.com>
6850
6851 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6852 (menu-bar-options-menu): Tweak descriptions.
6853
0a1848ec
LMI
68542011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6855
6856 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6857 menu items into verb phrases (bug#1421). Also refill to fit under
6858 80 columns.
6859
f5bd0689
CY
68602011-07-07 Chong Yidong <cyd@stupidchicken.com>
6861
538e85c6
CY
6862 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6863 (Info-read-node-name): Doc fix (Bug#1084).
6864
f5bd0689
CY
6865 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6866 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6867 (end-of-sexp, beginning-of-sexp)
6868 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6869 (forward-symbol, forward-same-syntax, word-at-point)
6870 (sentence-at-point): Doc fix (Bug#1144).
6871
56ec5115
LMI
68722011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6873
f3f8e37f
LMI
6874 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6875 should cover it (bug#1281).
6876
0757af94 6877 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 6878
e9fce1ac 6879 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
6880 negotiation fails, then possibly try again with a non-encrypted
6881 connection (bug#9017).
6882
56ec5115
LMI
6883 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6884 be used.
6885
c2f9aec8
RS
68862011-07-07 Richard Stallman <rms@gnu.org>
6887
6888 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6889 property, and handle its changed format.
6890 Look for the correct line number.
6891 Use file's line contents (but not past first =) to find
6892 correct line in message.
6893
ef7b981d 68942011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
6895
6896 * international/characters.el (build-unicode-category-table):
6897 Delete it.
0757af94 6898 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 6899
0757af94 6900 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
6901 to src/chartab.c.
6902 (get-char-code-property): Call unicode-property-table-internal to
6903 load a file. Call get-unicode-property-internal where necessary.
6904 (put-char-code-property): Call unicode-property-table-internal to
6905 load a file. Call put-unicode-property-internal where necessary.
6906 put-unicode-property-internal where necessary.
0757af94
SM
6907 (char-code-property-description):
6908 Call unicode-property-table-internal to load a file.
c805dec0
KH
6909
6910 * international/charprop.el:
6911 * international/uni-bidi.el:
6912 * international/uni-category.el:
6913 * international/uni-combining.el:
6914 * international/uni-comment.el:
6915 * international/uni-decimal.el:
6916 * international/uni-decomposition.el:
6917 * international/uni-digit.el:
6918 * international/uni-lowercase.el:
6919 * international/uni-mirrored.el:
6920 * international/uni-name.el:
6921 * international/uni-numeric.el:
6922 * international/uni-old-name.el:
6923 * international/uni-titlecase.el:
6924 * international/uni-uppercase.el: Regenerate.
6925
6926 * loadup.el: Load international/charprop.el before
6927 international/characters.
6928
e14b388a
CY
69292011-07-07 Chong Yidong <cyd@stupidchicken.com>
6930
6931 * window.el (next-buffer, previous-buffer): Signal an error if
6932 called from a minibuffer window.
6933
6934 * bindings.el: Revert 2011-07-04 change.
6935
354cf0ba
RS
69362011-07-06 Richard Stallman <rms@gnu.org>
6937
6938 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6939 (rmail-mime-insert-bulk, rmail-mime-insert-text):
6940 Treat markers like ints.
6941 (rmail-mime-entity): Doc fix.
6942
a48868a7
LMI
69432011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6944
4906cd3d
LMI
6945 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6946 defcustom again for backwards compatibility.
6947
e0457abe
LMI
6948 * simple.el (shell-command-on-region): Fill.
6949
d67f7e1f
LMI
6950 * dired-aux.el (dired-kill-line): Add a doc string.
6951
fe204702
LMI
6952 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6953 to "\\sw\\|\\s_" (bug#358).
6954
a48868a7
LMI
6955 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
6956 (dired-unmark-backward): Ditto.
6957 (dired-flag-backup-files): Ditto.
6958
6959 * dired-x.el (dired-mark-sexp): Ditto.
6960
aa8a705c
RS
69612011-07-06 Richard Stallman <rms@gnu.org>
6962
6963 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
6964 (rmail-mime-entity): New arg TRUNCATED.
6965 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
6966 New functions.
6967 (rmail-mime-save): Warn if entity is truncated.
6968 (rmail-mime-toggle-hidden): Likewise, for showing.
6969 (rmail-mime-process-multipart): Record when an entity is truncated.
6970
a9a936b9
RS
6971 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
6972 if ENTITY is a string.
6973
1f2b92cb
LMI
69742011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6975
f4f73198 6976 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
6977 of faces when `M-C-x'-ing their definitions (bug#8378).
6978 Also clean up the code slightly.
f4f73198 6979
12b16734 6980 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 6981 because that makes the colors go away.
12b16734 6982
f0691d22
LMI
6983 * mail/sendmail.el (send-mail-function): Change the default to
6984 `sendmail-query-once'.
9e87df06 6985 (sendmail-query-once): Add an autoload cookie.
f0691d22 6986
1f2b92cb
LMI
6987 * net/network-stream.el (network-stream-open-starttls): Try using
6988 a plain connection even if the server offered STARTTLS, and we
6989 kinda wanted to use it, if Emacs doesn't have any STARTTLS
6990 capability. This should make smtpmail.el work in slightly more
6991 configurations.
6992
1cdd2a1b
MA
69932011-07-06 Michael Albinus <michael.albinus@gmx.de>
6994
6995 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6996 New defun.
6997 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
6998
fbcc67e2
MM
69992011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7000
7001 * progmodes/sql.el: Version 3.0
0757af94 7002 (sql-product-alist): Add product :completion-object,
fbcc67e2 7003 :completion-column, and :statement attributes.
0757af94 7004 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 7005 (sql-mode-syntax-table): Mark all punctuation.
0757af94 7006 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
7007 ansi keywords.
7008 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 7009 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
7010 (sql-oracle-show-reserved-words): New function for development.
7011 (sql-product-font-lock): Simplify for source code buffers.
7012 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7013 New functions.
7014 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
7015 (sql-mode-map): Add statement movement functions.
7016 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7017 New variable.
fbcc67e2
MM
7018 (sql-statement-regexp, sql-beginning-of-statement)
7019 (sql-end-of-statement, sql-signum): New functions.
0757af94 7020 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
7021 (sql-show-sqli-buffer): Bug fix.
7022 (sql-interactive-mode): Store connection data as buffer local.
0757af94 7023 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
7024 with sql-interactive-mode.
7025 (sql-save-connection): Save buffer local settings.
0757af94 7026 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
7027 (sql-product-interactive): Bug fix.
7028 (sql-preoutput-hold): New variable.
7029 (sql-interactive-remove-continuation-prompt): Bug fixes.
7030 (sql-debug-redirect): New variable.
7031 (sql-str-literal): New function.
7032 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 7033 Redesign.
fbcc67e2
MM
7034 (sql-oracle-save-settings, sql-oracle-restore-settings)
7035 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7036 (sql-completion-object, sql-completion-column)
7037 (sql-completion-sqlbuf): New variables.
7038 (sql-build-completions-1, sql-build-completions)
7039 (sql-try-completion): New functions.
7040 (sql-read-table-name): Use them.
7041 (sql-contains-names): New buffer local variable.
7042 (sql-list-all, sql-list-table): Use it.
7043 (sql-oracle-completion-types): New variable.
7044 (sql-oracle-completion-object, sql-sqlite-completion-object)
7045 (sql-postgres-completion-object): New functions.
7046
d4eaeab1
GM
70472011-07-06 Glenn Morris <rgm@gnu.org>
7048
7049 * window.el (pop-to-buffer): Doc fix.
7050
322b7dab 70512011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
7052
7053 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7054
322b7dab 70552011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 7056
322b7dab 7057 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 7058
322b7dab 7059 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 7060
605dd5bf
CY
70612011-07-05 Chong Yidong <cyd@stupidchicken.com>
7062
7063 * button.el (button): Inherit from link face. Suggested by Dan
7064 Nicolaescu.
7065
7dbfa719
SM
70662011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7067
3db614b0
SM
7068 * progmodes/gdb-mi.el: Fit in 80 columns.
7069 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7070 switch-to-buffer.
7071
7dbfa719
SM
7072 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7073 if imenu is simply not configured (bug#8941).
7074
919d884a
KM
70752011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7076
7077 * allout.el (allout-post-undo-hook): New allout outline-change
7078 event hook to signal undo activity.
7079 (allout-post-command-business): Run allout-post-undo-hook if an
7080 undo just occurred.
7dbfa719
SM
7081 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7082 * allout-widgets.el (allout-widgets-after-undo-function):
7083 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
7084 in the vicinity of an undo.
7085 (allout-widgets-mode): Include allout-widgets-after-undo-function
7086 on the new allout-post-undo-hook.
7087
450a0f09
SM
70882011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7089
7090 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7091 Let define-derived-mode define it.
7092 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7093 cycles of abbrev-table inheritance (bug#8998).
7094
2de69e00
RW
70952011-07-05 Roland Winkler <winkler@gnu.org>
7096
7097 * textmodes/bibtex.el: Add support for biblatex.
7098 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7099 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7100 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7101 (bibtex-entry-alist, bibtex-field-alist): New variables.
7102 (bibtex-entry-field-alist): Obsolete alias for
7103 bibtex-BibTeX-entry-alist.
7104 (bibtex-entry-alist, bibtex-field-alist): New widgets.
7105 (bibtex-set-dialect): New command.
7106 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
7107 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7108 Bind via bibtex-set-dialect.
2de69e00
RW
7109 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7110 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7111 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7112 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7113 Define via bibtex-set-dialect.
450a0f09
SM
7114 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7115 Obey bibtex-no-opt-remove-re.
2de69e00
RW
7116 (bibtex-vec-push, bibtex-vec-incr): New functions.
7117 (bibtex-format-entry, bibtex-field-list)
7118 (bibtex-print-help-message, bibtex-validate)
7119 (bibtex-search-entries): Use new format of bibtex-entry-alist.
7120
2dcdbdd9
SM
71212011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7122
7123 * progmodes/compile.el (compilation-goto-locus):
7124 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7125 * bs.el (bs-cycle-next, bs-cycle-previous):
7126 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7127 * bindings.el (mode-line-other-buffer):
7128 * autoinsert.el (auto-insert):
7129 * arc-mode.el (archive-extract):
7130 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7131
b27640fe
JB
71322011-07-05 Juanma Barranquero <lekktu@gmail.com>
7133
7134 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7135 Fix check of `emacs-lock-unlockable-modes'.
7136 Coerce true values of `emacs-lock--try-unlocking' to t.
7137
53bbe3ad
JB
71382011-07-05 Juanma Barranquero <lekktu@gmail.com>
7139
7140 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7141 * emacs-lock.el: New file.
7142
1d3cdbc7
JD
71432011-07-05 Julien Danjou <julien@danjou.info>
7144
7145 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7146 than `boundp' to check if face is set.
7147
9173deec
JB
71482011-07-05 Juanma Barranquero <lekktu@gmail.com>
7149
7150 * register.el (registerv-make):
7151 * window.el (window-min-height): Fix typos in docstrings.
7152
869795d6
JD
71532011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7154
9173deec 7155 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
7156 Update doc string.
7157
b768cdcd
JB
71582011-07-04 Juanma Barranquero <lekktu@gmail.com>
7159
7160 * server.el (server-execute): Catch quit and call
7161 `server-return-error' to pass the error back to emacsclient and
7162 close the connection (bug#8942).
7163
13aa217b
KM
71642011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
7165
7166 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7167 insecure exception for current topic. Also note that auto-saves
7168 are handled differently.
7169
7170 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7171 State variables for tracking auto-save inhibition situation.
7172
7173 (allout-write-contents-hook-handler): Rename from
7174 'allout-write-file-hook-handler', and describe how it depends on
7175 write-contents-functions sensitivity to non-nil value to prevent
7176 file write.
7177
7178 (allout-auto-save-hook-handler): Remove. auto-save does not check
7179 this in individual buffers, only in the starting buffer, so this
7180 is not the right way for us to inhibit auto-save in a buffer
7181 according to its condition.
7182
7183 (allout-mode): Use new allout-write-contents-hook-handler, and
7184 only with write-contents-functions. Remove auto-save provisions -
7185 they're implemented elsewhere.
7186
7187 (allout-before-change-handler): If undo is in progress, note that
7188 for attention of allout-post-command-business.
7189
7190 (allout-post-command-business): If the command we're following was
7191 an undo, check for change in the status of encrypted items and
7192 adjust auto-save inhibitions accordingly.
7193
7194 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7195 according to whether there are or aren't any plain-text topics
7196 pending encryption.
7197
2dcdbdd9 7198 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
7199 Adjust buffer-saved-size and some allout state to inhibit auto-saves
7200 if there are plain-text topics pending encryption.
13aa217b
KM
7201
7202 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7203 buffer-saved-size and some allout state to not inhibit auto-saves
7204 if there are no longer any plain-text topics pending encryption.
7205
0757af94
SM
7206 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7207 No longer provide for exemption of the current topic.
13aa217b 7208
ac89b32c
JL
72092011-07-04 Juri Linkov <juri@jurta.org>
7210
7211 Add 7z operations to delete and save changed members (bug#8968).
7212 * arc-mode.el (archive-7z-expunge, archive-7z-update):
7213 New defcustoms.
7214 (archive-7z-write-file-member): New function.
7215 (archive-7z-summarize): Fix the number of dashes in the
7216 listing output.
7217
8fa39615
SM
72182011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7219
7220 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7221 (bug#8958).
7222
2f11b3f1
CY
72232011-07-04 Chong Yidong <cyd@stupidchicken.com>
7224
d66fef2b
CY
7225 * bindings.el: Ignore next-buffer and previous-buffer in
7226 minibuffer-local-map.
7227
2f11b3f1
CY
7228 * font-lock.el (font-lock-builtin-face): Change light background
7229 color to dark slate blue (Bug#6693).
7230
f932a347
WD
72312011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
7232
7233 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7234
c8af70e1
SM
72352011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7236
7237 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7238 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7239 Add switch-to-buffer.
7240
f158badc
LMI
72412011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7242
7243 * isearch.el (isearch-search-fun-function): Clarify further the
7244 meaning of the function returned.
7245
6d95bd46
MA
72462011-07-04 Michael Albinus <michael.albinus@gmx.de>
7247
7248 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7249
7250 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7251 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7252 Use it.
7253 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
7254 `tramp-default-remote-path' does not exist.
7255 (tramp-send-command-and-read): New optional argument NOERROR.
7256 (tramp-open-connection-setup-interactive-shell)
7257 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7258 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7259 (tramp-process-sentinel): Flush also process' connection property.
7260 (tramp-sh-handle-start-file-process): Do not set process
7261 sentinel. It is done now ...
7262 (tramp-maybe-open-connection): ... here. (Bug#8929)
7263
909e6b67
MK
72642011-07-04 MON KEY <monkey@sandpframing.com>
7265
7266 * play/animate.el (animate-string): Doc fixes and allow changing
7267 the buffer name (bug#5417).
7268
72692011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7270
c8af70e1 7271 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 7272
f34755dc
PE
72732011-07-04 Paul Eggert <eggert@cs.ucla.edu>
7274
396cec72
PE
7275 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7276 This is simpler and helps future-proof the code.
7277 (timer-until): Use time-subtract and float-time.
08235028 7278 (timer--time-less-p): Use time-less-p.
f34755dc 7279
56e6cc31
JB
72802011-07-04 Juanma Barranquero <lekktu@gmail.com>
7281
3abb79e5
JB
7282 * type-break.el (timep): Use the value of `float-time' to avoid a
7283 byte-compiler warning.
7284
56e6cc31
JB
7285 * server.el (server-eval-and-print): Return any result, even nil.
7286
7b9430b4
PE
72872011-07-03 Paul Eggert <eggert@cs.ucla.edu>
7288
7289 * type-break.el: Accept time formats that the builtins accept.
7290 (timep, type-break-time-difference): Accept any format that
7291 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7292 This is simpler and helps future-proof the code.
7293 (type-break-time-difference): Round rather than ignoring
7294 subseconds components.
7295
3034e9e7
LMI
72962011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7297
7298 * info.el (Info-apropos-matches): Make non-interactive, since it
7299 doesn't seem to do anything useful as a command (bug#8829).
7300
1485f4c0
CY
73012011-07-03 Chong Yidong <cyd@stupidchicken.com>
7302
7303 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 7304 Move from faces.el.
1485f4c0
CY
7305 (frame-default-terminal-background): New function.
7306
7307 * custom.el (custom-push-theme): Don't record faces in `changed'
7308 theme; this doesn't work correctly for per-frame face settings.
7309 (disable-theme): Use face-set-after-frame-default to reset faces.
7310 (custom--frame-color-default): New function.
7311
9fa3dd45
LMI
73122011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7313
c8af70e1 7314 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
7315 (bug#8769).
7316
6cbbc20c
KR
73172011-03-29 Kevin Ryde <user42@zip.com.au>
7318
7319 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7320 `perl-Test2' extend to match possible "fail #N" rep count
7321 (bug#8377).
7322
c7f98048
LMI
73232011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7324
65676592
LMI
7325 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7326 `smtpmail-via-smtp' now returns the error instead of nil.
7327
c7f98048
LMI
7328 * isearch.el (isearch-search-fun-function): Clarify the doc string
7329 (bug#8101).
7330
56e6cc31 73312011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
7332
7333 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7334 unnecessary spaces (bug#8987).
7335
2b216704
LMI
73362011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7337
7338 * net/network-stream.el (open-network-stream): Use the
7339 :end-of-capability command thoughout.
7340
73412011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7342
7343 * net/network-stream.el (open-network-stream): Add the
7344 :end-of-capability command parameter, used by pop3.el.
7345
36adf6ce
LMI
73462011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7347
1ca0da0e
LMI
7348 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7349
fc00f69c
LMI
7350 * fringe.el (fringe-query-style): Remove redundant text " (type ?
7351 for list)" (bug#6475).
7352
28fd8759 7353 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 7354 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
7355 an error (bug#6297).
7356
0dd8b6da
LMI
7357 * man.el (Man-reference-regexp): Allow matching possible
7358 word-wrapped references (bug#6289).
7359
ce1438d6
LMI
7360 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7361 for consistency with the other vc buffers (bug#6197).
7362 (vc-checkin): Ditto.
7363
7364 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7365
36adf6ce
LMI
7366 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7367
e83cc1f7
LMI
73682011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7369
8a20ca4c
LMI
7370 * custom.el (defcustom): Clarify that :set is only used in the
7371 Customize user interface (bug#6089).
7372
83319045
LMI
7373 * progmodes/flymake.el (flymake-mode): If the buffer isn't
7374 associated with a file, refuse to run instead of erroring out
7375 (bug#6084).
7376
a8392169
LMI
7377 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7378 the doc string, since it appears that using `fill-column' always
7379 controls the width (bug#7845).
7380
e83cc1f7
LMI
7381 * simple.el (shell-command-on-region): Say where the error output
7382 went if `shell-command-default-error-buffer' is set (bug#6857).
7383
e47ca23b
KM
73842011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
7385
7386 * allout.el (allout-yank-processing): Adjust cursor position for
7387 backwards-deleted space.
7388
7389 (allout-rebullet-heading): Register changes with
7390 allout-exposure-changed-hook, so the modified topic is properly
7391 decorated.
7392
5cf56143
LMI
73932011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7394
08549772
LMI
7395 * minibuffer.el (completion-in-region): Document PREDICATE
7396 (bug#7136).
7397
48e96771
LMI
7398 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7399 of keyword/argument pairs (bug#6904).
7400
c8af70e1
SM
7401 * replace.el (multi-occur):
7402 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 7403
e17d05e2
LMI
74042011-07-02 Drew Adams <drew.adams@oracle.com>
7405
7406 * dired.el (dired-mark-if): Make the message about whether it's
7407 marking or unmarking clearer (bug#8523).
7408
063b0e45
LMI
74092011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7410
7411 * disp-table.el (display-table-print-array): New function.
7412 (describe-display-table): Use it to print the vectors more pretty
7413 (Bug#8859).
7414
28545e04
MR
74152011-07-02 Martin Rudalics <rudalics@gmx.at>
7416
7417 * window.el (window-state-get-1): Don't assign clone numbers.
7418 Add clone-of item to list of window parameters.
7419 (window-state-put-2): Don't process clone numbers.
7420 (display-buffer-alist): Fix doc-string.
7421
3349e122
SM
74222011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7423
7424 * subr.el (remq): Don't allocate if it's not needed.
7425 (keymap--menu-item-binding, keymap--menu-item-with-binding)
7426 (keymap--merge-bindings): New functions.
7427 (keymap-canonicalize): Use them to refine the canonicalization.
7428 * minibuffer.el (minibuffer-local-completion-map)
7429 (minibuffer-local-must-match-map): Move initialization from C.
7430 (minibuffer-local-filename-completion-map): Move initialization from C;
7431 don't inherit from anything here.
7432 (minibuffer-local-filename-must-match-map): Make obsolete.
7433 (completing-read-default): Use make-composed-keymap to combine
7434 minibuffer-local-filename-completion-map with either
7435 minibuffer-local-must-match-map or
7436 minibuffer-local-filename-completion-map.
7437
d224ac83
GM
74382011-07-01 Glenn Morris <rgm@gnu.org>
7439
3de63bf8
GM
7440 * type-break.el (type-break-time-sum): Use dolist.
7441
d224ac83
GM
7442 * textmodes/flyspell.el (flyspell-word-search-backward):
7443 Replace CL function.
7444
1a1e3f32
SM
74452011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7446
fe3f64d5
SM
7447 * mouse.el (mouse--strip-first-event): New function.
7448 (function-key-map): Use it to map fringe clicks to normal clicks
7449 by default.
7450
eb604e34
SM
7451 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7452 (vc-bzr-revision-completion-table): Add support for annotate and date.
7453
1a1e3f32
SM
7454 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7455 inherit from parent.
7456
5bd35902
LMI
74572011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7458
ace6c69c 7459 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 7460 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 7461
191e2bed
LMI
7462 * dired.el (dired-mode): Fix up the doc string as suggested by
7463 Drew Adams (bug#8817).
7464
5bd35902
LMI
7465 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7466 cookie, since the manual says that it should be possible to add
7467 this function to `find-file-hook' (bug#8709).
7468
eee8207a
TZ
74692011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7470
7471 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7472 here. Noted Ted Zlatanov as the maintainer.
7473 (cfengine-common-settings, cfengine-common-syntax): New functions
7474 to set up common things between `cfengine-mode' and
7475 `cfengine3-mode'.
7476 (cfengine3-mode): New mode.
7477 (cfengine3-defuns cfengine3-defuns-regex
7478 (cfengine3-class-selector-regex cfengine3-category-regex)
7479 (cfengine3-vartypes cfengine3-font-lock-keywords)
7480 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 7481 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 7482
36b148cf
MA
74832011-07-01 Michael Albinus <michael.albinus@gmx.de>
7484
7485 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7486
7487 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7488
0bf4ba9a
MR
74892011-07-01 Martin Rudalics <rudalics@gmx.at>
7490
7491 * window.el (same-window-buffer-names, same-window-regexps)
7492 (same-window-p, special-display-frame-alist)
7493 (special-display-popup-frame, special-display-function)
7494 (special-display-buffer-names, special-display-regexps)
7495 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7496 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7497 (split-window-preferred-function, split-height-threshold)
7498 (split-width-threshold, even-window-heights)
7499 (display-buffer-mark-dedicated, window-splittable-p)
7500 (split-window-sensibly, window-safely-shrinkable-p):
7501 Un-obsolete.
7502 (display-buffer): Don't spread args with function specifier
7503 because special-display-popup-frame won't like it.
7504
35837f51
PE
75052011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7506
d0672f86
PE
7507 Time-stamp simplifications and fixes.
7508 These improve accuracy slightly, and future-proof the code
7509 against some potential changes to current-time format.
7510
b9444d97
PE
7511 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7512 by using time-since and float-time.
7513
0ef923dc
PE
7514 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7515 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7516 + NNN microseconds".
7517
2f81380d
PE
7518 * type-break.el (type-break-time-sum): Rewrite using time-add.
7519
845b5c3e
PE
7520 * play/hanoi.el (hanoi-current-time-float): Remove.
7521 All uses replaced by float-time.
7522
ee6f1be0
PE
7523 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7524 This yields a more-accurate answer.
7525 (rng-time-to-float): Remove; no longer needed.
7526
fe955043
PE
7527 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7528
5777162a
PE
7529 * calendar/timeclock.el (timeclock-seconds-to-time):
7530 Defalias to seconds-to-time, since they're the same thing.
7531
3103f8b6 7532 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 7533 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
7534 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7535
0e61a35f
SM
75362011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7537
7538 * window.el (bury-buffer): Don't iconify the only frame.
7539 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7540 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7541
ddd63a1e
CY
75422011-07-01 Chong Yidong <cyd@stupidchicken.com>
7543
0e61a35f
SM
7544 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7545 Add mouse-yank-primary.
ddd63a1e 7546
055f4923
TZ
75472011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7548
7549 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7550
6a2fb145
SM
75512011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7552
7553 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7554 (find-library-name): Use it to find relative load names when provided
7555 absolute file name (bug#8803).
7556
fd4983f2
LMI
75572011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7558
887d14ad
LMI
7559 * textmodes/flyspell.el (flyspell-word): Consider words that
7560 differ only in case as potential doublons (bug#5687).
7561
c53dc7fc
LMI
7562 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7563 Remove two rather uninteresting debugging-like messages to make
7564 debbugs.el more silent.
7565
fd4983f2
LMI
7566 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7567 a password-like phrase.
7568
7a71b18d 75692011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
7570
7571 * progmodes/cc-guess.el: New file.
7572
6a2fb145 7573 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
7574
7575 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7576 derived from `c-basic-common-init'.
7577
7578 * progmodes/cc-mode.el (top-level): Require cc-guess.
7579 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7580
1fa280a3
LM
75812011-06-30 Lawrence Mitchell <wence@gmx.li>
7582
7583 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7584
e6597158
AM
75852011-06-30 Alan Mackenzie <acm@muc.de>
7586
1fa280a3
LM
7587 * progmodes/cc-engine.el (c-guess-continued-construct):
7588 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
7589 lock is disabled. Name this case as "CASE G".
7590
68ba37fb
KM
75912011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7592
7593 * allout.el (allout-yank-processing): Fix injection of extra space
7594 between bullet and non-whitespace character in first topic when
7595 pasting, ensuring that the actual spacing in the pasted topic
7596 following the bullet char is preserved. This extra space was
7597 causing pasted encrypted topics to get a decrypted status even
7598 when the content was actually still encrypted. Now the decryption
7599 status from before the paste is preserved.
7600
7601 (allout-flag-region): Set all allout overlays so they evaporate
7602 when reduced to zero length (evanescent), to prevent overlay
7603 leakage.
7604
887a0b34
GM
76052011-06-30 Glenn Morris <rgm@gnu.org>
7606
94b9acce
GM
7607 * w32-fns.el (w32-charset-info-alist): Declare.
7608
1d9b46d4
GM
7609 * find-dired.el (find-grep-options): Simplify.
7610
cc232200
GM
7611 * term/ns-win.el (ns-set-resource): Declare.
7612
28e77c46
GM
7613 * ses.el (row, col): Declare dynamic variables honestly.
7614
887a0b34
GM
7615 * textmodes/reftex-parse.el (index-tags): Declare.
7616
658d8eb8
CY
76172011-06-30 Chong Yidong <cyd@stupidchicken.com>
7618
7619 * cus-edit.el (customize-push-and-save): New function.
7620
7621 * files.el (hack-local-variables-confirm): Use it.
7622
1fa280a3
LM
7623 * custom.el (load-theme): New arg NO-CONFIRM.
7624 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
7625 (custom-enabled-themes): Doc fix.
7626
7627 * cus-theme.el (customize-create-theme)
7628 (custom-theme-merge-theme): Callers to load-theme changed.
7629
bb617717
LMI
76302011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7631
d61bdd5d
LMI
7632 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7633 short URLs have at least one dot in them (bug #7614).
7634
bb617717
LMI
7635 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7636 nil, because using a pty is apparently too slow (bug #895).
7637
2f31f37a
LMI
76382011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7639
7640 * mail/sendmail.el (sendmail-query-once): New function.
7641 (sendmail-query-once-function): New variable.
7642
3076b24e
GM
76432011-06-29 Glenn Morris <rgm@gnu.org>
7644
faf2a174
GM
7645 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7646
3076b24e
GM
7647 * ses.el (top-level): Require cl when compiling.
7648 (ses-set-localvars): Fix error statement.
7649 Call it at compile time to silence a storm of warnings.
7650
5386012d
MR
76512011-06-29 Martin Rudalics <rudalics@gmx.at>
7652
7653 * window.el (normalize-live-buffer): Rename to
7654 window-normalize-buffer.
7655 (normalize-live-frame): Rename to window-normalize-frame.
7656 (normalize-any-window): Rename to window-normalize-any-window.
7657 (normalize-live-window): Rename to window-normalize-live-window.
7658 (make-window-atom): Rename to window-make-atom.
7659 (window-resize-reset): Rename to window--resize-reset.
7660 (window-resize-reset-1): Rename to window--resize-reset-1.
7661 (resize-mini-window): Rename to window--resize-mini-window.
7662 (resize-subwindows-skip-p): Rename to
7663 window--resize-subwindows-skip-p.
7664 (resize-subwindows-normal): Rename to
7665 window--resize-subwindows-normal.
7666 (resize-subwindows): Rename to window--resize-subwindows.
7667 (resize-other-windows): Rename to window--resize-siblings.
7668 (resize-this-window): Rename to window--resize-this-window.
7669 (resize-root-window): Rename to window--resize-root-window.
7670 (resize-root-window-vertically): Rename to
7671 window--resize-root-window-vertically.
7672 (normalize-buffer-to-display): Rename to
7673 window-normalize-buffer-to-display.
7674 (normalize-buffer-to-switch-to): Rename to
7675 window-normalize-buffer-to-switch-to.
7676 Correspondingly update all callers of the functions listed
7677 above.
7678 (display-buffer-alist, display-buffer-normalize-arguments)
7679 (display-buffer-normalize-options, display-buffer)
7680 (display-buffer-alist-set): Use "function" instead of
7681 "fun-with-args".
7682
1176868d
CY
76832011-06-28 Chong Yidong <cyd@stupidchicken.com>
7684
7685 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7686 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7687 debbugs.gnu.org. Mention acknowledgment email.
7688
20a7a65f
LMI
76892011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7690
7691 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7692 buffer multibyteness, since it shouldn't matter.
7693
5f45cca5
MR
76942011-06-28 Martin Rudalics <rudalics@gmx.at>
7695
7696 * window.el (display-buffer-in-side-window): Handle dedicated
7697 windows as in display-buffer-reuse-window.
7698 (display-buffer-normalize-alist): Use value of override
7699 specifier.
7700 (display-buffer-normalize-specifiers): Use value of
7701 other-window-means-other-frame specifier.
7702 (display-buffer-alist): Rewrite some texts in widgets.
7703 (display-buffer): Spread arguments when calling function
7704 specified by fun-with-args.
7705
ad85fe1f
DD
77062011-06-28 Deniz Dogan <deniz@dogan.se>
7707
1fa280a3
LM
7708 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7709 Unnest `let'.
da68c4c8 7710
ad85fe1f
DD
7711 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7712 selectors (Bug#5732).
ec49bd31 7713 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 7714
a08cc025
JA
77152011-06-27 Jari Aalto <jari.aalto@cante.net>
7716
7717 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7718 (eshell-ls-date-format): New defcustom.
7719 (eshell-ls-file): Use it.
7720
e2b551c5
SM
77212011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7722
7723 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7724
8982b231
KY
77252011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7726
7727 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7728 (ange-ftp-make-tmp-name): New arg.
7729 (ange-ftp-file-local-copy): Use it.
7730
36c9fa27
J
77312011-06-27 Jambunathan K <kjambunathan@gmail.com>
7732
7733 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7734 no-conversion (Bug#8870).
7735
d68443dc
MR
77362011-06-27 Martin Rudalics <rudalics@gmx.at>
7737
7738 * window.el (window-right, window-left, window-child)
7739 (window-child-count, window-last-child)
7740 (window-iso-combination-p, walk-window-tree-1)
7741 (window-atom-check-1, window-tree-1, delete-window)
7742 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7743 new naming conventions - window-vchild, window-hchild,
7744 window-next and window-prev are now called window-top-child,
7745 window-left-child, window-next-sibling and window-prev-sibling
7746 respectively.
d615d6d2
MR
7747 (resize-window-reset): Rename to window-resize-reset.
7748 (resize-window-reset-1): Rename to window-resize-reset-1.
7749 (resize-window): Rename to window-resize.
7750 (window-min-height, window-min-width)
7751 (resize-mini-window, resize-this-window, resize-root-window)
7752 (resize-root-window-vertically, adjust-window-trailing-edge)
7753 (enlarge-window, shrink-window, maximize-window)
7754 (minimize-window, delete-window, quit-restore-window)
7755 (split-window, balance-windows, balance-windows-area-adjust)
7756 (balance-windows-area, window-state-put-2)
7757 (display-buffer-even-window-sizes, display-buffer-set-height)
7758 (display-buffer-set-width, set-window-text-height)
7759 (fit-window-to-buffer): Rename all "resize-window" prefixed
7760 calls to use the "window-resize" prefix convention.
7761 (display-buffer-alist): Fix symbol for label specifier.
7762 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7763 corresponding specifier.
7764 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 7765
b6458526
VB
77662011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7767
7768 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7769 convention.
7770 (ses-call-printer): Does not pass an empty string to formatter when the
7771 cell is empty to keep from barking printer Calc math-format-value.
7772
d31fd9ac
RS
77732011-06-27 Richard Stallman <rms@gnu.org>
7774
43d5bf84
RS
7775 * battery.el (battery-mode-line-limit): New variable.
7776 (battery-update): Handle it.
7777
d31fd9ac
RS
7778 * mail/rmailmm.el (rmail-mime-process-multipart):
7779 Handle truncated messages.
7780
819a6054
GM
77812011-06-27 Glenn Morris <rgm@gnu.org>
7782
7783 * progmodes/flymake.el (flymake-err-line-patterns):
7784 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7785
cedc73f2
VB
77862011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7787
819a6054 7788 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
7789 (ses--clean-!, ses--clean-_): New functions.
7790 (ses-range): Add configurability of readout order, and conversion
7791 to Calc vector.
7792
5e5d49b6
VB
7793 * ses.el (ses-repair-cell-reference-all): New function.
7794 (ses-cell-symbol): Set macro as safe, so that it can be used in
7795 formulas.
7796
56e6cc31 7797 * ses.el: Update cycle detection algorithm.
90ca8b49 7798 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 7799 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
7800 (ses-set-localvars): New function.
7801 (ses-make-cell): Add property-list as a cell element.
7802 (ses-cell-property-get-fun, ses-cell-property-get)
7803 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
7804 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7805 New functions.
90ca8b49
VB
7806 (ses-cell-property-set, ses-cell-property-pop)
7807 (ses-cell-property-get-handle): New macro.
7808 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7809 New aliases, used for code readability.
7810 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7811 cycle detection.
7812 (ses-self-reference-early-detection): New defcustom.
fac916bf 7813 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
7814 (ses-mode): Use ses-set-localvars.
7815 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7816 before lauching the update processing.
7817 (ses-initialize-Dijkstra-attempt): New function.
7818 (ses-recalculate-cell): Update for cycle detection based on
7819 Dijkstra algorithm.
7820
2bb63e81
VB
7821 * ses.el: Fix commenting and indenting convention.
7822
c9d29fb8
SM
78232011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7824
7825 * bs.el (bs-cycle-next): Complete last change.
7826
d8e4b68b
JB
78272011-06-27 Drew Adams <drew.adams@oracle.com>
7828
7829 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7830
40098786
LMI
78312011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7832
c9d29fb8
SM
7833 * net/network-stream.el (network-stream-open-starttls):
7834 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
7835 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7836
40098786
LMI
7837 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7838 to binary to possibly avoid line encoding issues on Windows (among
7839 other things).
7840
468d09d4
LMI
78412011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7842
7843 * net/network-stream.el (open-network-stream): Return an :error
7844 saying what the problem was, if possible.
7845
7846 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7847 server.
7848
7849 * net/network-stream.el (network-stream-open-starttls): If we
7850 wanted to use STARTTLS, and the server offered it, but we weren't
7851 able to because we had no STARTTLS support, then close the connection.
7852 (open-network-stream): Return an :error element, if present.
7853
16f07dd7
CY
78542011-06-26 Chong Yidong <cyd@stupidchicken.com>
7855
88821ca0
CY
7856 * hl-line.el (hl-line-sticky-flag): Doc fix.
7857 (global-hl-line-sticky-flag): New option (Bug#8323).
7858 (global-hl-line-highlight): Obey it.
7859
16f07dd7
CY
7860 * vc/vc.el (vc-revert-show-diff): Default to t.
7861
6b5ccddf
KM
78622011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
7863
c9d29fb8
SM
7864 * allout-widgets.el (allout-widgets-post-command-business):
7865 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
7866 undecorated when an isearch is continued past, and isearch
7867 automatically collapses them. This leads to "widget leaks", where
7868 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
7869 hidden widgets can slow down cursor travel, substantially.
7870 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
7871 so we're doing without this nicety.
7872
7873 (allout-widgets-tally-string): Don't try to do a hash-table-count
7874 of allout-widgets-tally when it's nil. This eliminates spurious "Error
7875 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7876 *Messages* when allout-widgets-maintain-tally is t.
7877
355f2e07
MR
78782011-06-26 Martin Rudalics <rudalics@gmx.at>
7879
7880 * window.el (display-buffer-normalize-argument): Rename to
7881 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
7882 LABEL argument. Respect special-display-function when popping up
7883 a new frame. Fix code searching for a window showing the buffer
7884 on another frame.
c9d29fb8
SM
7885 (display-buffer-normalize-specifiers):
7886 Call display-buffer-normalize-arguments.
355f2e07
MR
7887 (display-buffer-in-window): Don't undedicate the window if its
7888 buffer remains the same.
7889 Reported by Drew Adams <drew.adams@oracle.com>.
7890 (display-buffer-alist): Add choice for same-window macro
7891 specfier.
7892 (display-buffer): Mention special meaning of LABEL argument in
7893 doc-string. Fix quoting. Don't pop up a new frame even as
7894 fallback.
7895
7ca8fc42
JB
78962011-06-26 Juanma Barranquero <lekktu@gmail.com>
7897
7898 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7899 avoid deleting the current window in some cases (bug#8911).
7900
bc312254
AS
79012011-06-26 Andreas Schwab <schwab@linux-m68k.org>
7902
7903 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7904 (Bug#8934)
7905
2db18f3f
LMI
79062011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7907
c9d29fb8
SM
7908 * net/network-stream.el (network-stream-open-starttls):
7909 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
7910 (network-stream-open-tls): Ditto.
7911
6302e0d3
LL
79122011-06-26 Leo Liu <sdl.web@gmail.com>
7913
7914 * register.el (registerv): New struct.
7915 (registerv-make): New function.
c9d29fb8
SM
7916 (jump-to-register, describe-register-1, insert-register):
7917 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
7918 struct. (Bug#8415)
7919
5fdd4046
CY
79202011-06-26 Chong Yidong <cyd@stupidchicken.com>
7921
2afef60a
CY
7922 * vc/vc.el (vc-revert-show-diff): New defcustom.
7923 (vc-diff-internal): New arg specifying diff buffer.
7924 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
7925 reuse an existing *vc-diff* buffer (Bug#8927).
7926
5fdd4046
CY
7927 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7928
e93db24a
GM
79292011-06-26 Glenn Morris <rgm@gnu.org>
7930
7931 * progmodes/f90.el (f90-critical-indent): New option.
7932 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7933 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7934 (f90-mode): Doc fix.
7935 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7936 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7937 (f90-beginning-of-block, f90-next-block, f90-indent-region)
7938 (f90-match-end): Handle block, critical.
7939
eefff499
GM
79402011-06-25 Glenn Morris <rgm@gnu.org>
7941
f6ba4cc9
GM
7942 * calendar/diary-lib.el (diary-included-files): Doc fix.
7943 (diary-include-files): New function, extracted from
7944 diary-include-other-diary-files and diary-mark-included-diary-files.
7945 (diary-include-other-diary-files, diary-mark-included-diary-files):
7946 Just call diary-include-files.
7947 (diary-mark-entries): Reset diary-included-files on first call.
7948
16712304
GM
7949 * calendar/diary-lib.el (diary-mark-entries)
7950 (diary-mark-included-diary-files):
7951 Visit included diary-files in temp buffers.
7952
5d8e0d43
GM
7953 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
7954 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
7955 (f90-start-block-re, f90-imenu-generic-expression)
7956 (f90-looking-at-program-block-start, f90-no-block-limit):
7957 Add support for submodules.
7958
ccf7a5d5
GM
7959 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7960 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 7961
11fdef7d 79622011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
7963
7964 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
7965 buffer-file-type before setting its value, to avoid disastrous
eefff499 7966 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 7967
74f53697
JB
79682011-06-25 Juanma Barranquero <lekktu@gmail.com>
7969
7970 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
7971
7972 * ses.el (ses-unload-function):
7973 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7974
7975 * proced.el (proced-unload-function):
7976 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7977
18a4ce5e
AR
79782011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
7979
7980 * server.el (server-create-window-system-frame): Add parameters arg.
7981 (server-process-filter): Doc fix. Handle frame-parameters.
7982
519d22cc
JB
79832011-06-25 Juanma Barranquero <lekktu@gmail.com>
7984
7985 Fix bug#8730, bug#8781.
7986
7987 * loadhist.el (unload--set-major-mode): New function.
7988 (unload-feature): Use it.
7989
7990 * progmodes/python.el (python-after-info-look): Add autoload cookie.
7991 (python-unload-function): New function.
7992
c206f5b0
SM
79932011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7994
7995 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
7996
f9ad64f3
GS
79972011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
7998
7999 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8000 the candidates list.
8001
7d0da90e
JB
80022011-06-24 Juanma Barranquero <lekktu@gmail.com>
8003
8004 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8005
14b4e83d
RS
80062011-06-23 Richard Stallman <rms@gnu.org>
8007
8008 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8009 (rmail-variables): Set next-error-move-function.
8010 (rmail-what-message): Take argument POS.
8011 (rmail-next-error-move): New function.
8012
273d2baf
SM
80132011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8014
8015 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8016 messages for adjacent non-terminals.
8017
56c2cc9a
RS
80182011-06-23 Richard Stallman <rms@gnu.org>
8019
8020 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 8021 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
8022 (rmail-start-mail): Don't specify use of rmail-mail-return;
8023 that's done by mail-bury now.
8024 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 8025
d59eb518
MA
80262011-06-23 Michael Albinus <michael.albinus@gmx.de>
8027
8028 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8029 SIZE is a number.
8030
02cfc6d6
MR
80312011-06-23 Martin Rudalics <rudalics@gmx.at>
8032
8033 * window.el (get-lru-window, get-mru-window)
8034 (get-largest-window): Never return a minibuffer window.
8035 (display-buffer-pop-up-window): Fix a bug that could lead to
8036 reusing the minibuffer window.
8037 (display-buffer): Pass original specifier argument to
8038 display-buffer-function instead of the normalized one.
8039 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8040
4e323265
LL
80412011-06-22 Leo Liu <sdl.web@gmail.com>
8042
8043 * minibuffer.el (completing-read-function)
8044 (completing-read-default): Move from minibuf.c
8045
7a70468f
RS
80462011-06-22 Richard Stallman <rms@gnu.org>
8047
50718fc2
RS
8048 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8049 to Rmail even if not started by a special Rmail command.
8050
7a70468f
RS
8051 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8052 Copy the buffer currently showing just one message.
8053
297dde5a
RW
80542011-06-22 Roland Winkler <winkler@gnu.org>
8055
8056 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8057 (bibtex-clean-entry): First delete the old key so that a
8058 customized algorithm for generating the new key does not get
8059 confused by the old key.
8060 (bibtex-url): Obey regexp of first step.
8061 (bibtex-search-entries): Do not use add-to-list with local
8062 list-var.
8063
97bb1093
LMI
80642011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8065
8066 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8067 stored a user name, then query for the password first, instead of
8068 waiting for SMTP to give an error message and the trying again.
8069
1c0f1a19
JD
80702011-06-22 Lawrence Mitchell <wence@gmx.li>
8071
8072 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8073 BUFFER in call-process.
8074
396f7c9d
LMI
80752011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8076
8077 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8078 QUIT twice.
ddb7ffee
LMI
8079 (smtpmail-try-auth-methods): Require user name and password from
8080 auth-source.
396f7c9d 8081
8998d1b3
MR
80822011-06-22 Martin Rudalics <rudalics@gmx.at>
8083
8084 * window.el (display-buffer-default-specifiers)
8085 (display-buffer-alist): Remove entries for pop-up-frame-alist.
8086 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 8087 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
8088
8089 * frame.el (pop-up-frame-alist, pop-up-frame-function)
8090 (special-display-frame-alist, special-display-popup-frame):
8091 Remove duplicate declarations. These are now in window.el.
8092
4ea31e07
LMI
80932011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8094
c9d29fb8
SM
8095 * mail/smtpmail.el (smtpmail-via-smtp):
8096 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
8097 server supports it. SMTP servers that support STARTTLS commonly
8098 require it.
8099
8100 * net/network-stream.el (network-stream-open-starttls): Support
8101 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 8102 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 8103
95f41d9a
LMI
8104 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8105 upgrades with `open-network-stream', and rely solely on
8106 auth-source for all credentials. Big changes throughout the file,
8107 but in particular:
c9d29fb8
SM
8108 (smtpmail-auth-credentials): Remove.
8109 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
8110 (smtpmail-via-smtp): Check for servers saying they want AUTH after
8111 MAIL FROM, too.
95f41d9a 8112
c9d29fb8
SM
8113 * net/network-stream.el (network-stream-open-starttls):
8114 Provide support for client certificates both for external and built-in
4ea31e07
LMI
8115 STARTTLS.
8116 (auth-source): Require.
8117 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
8118 (network-stream-certificate): Change cert-cert to cert and
8119 cert-key to key.
4ea31e07 8120
065ec2c7
MA
81212011-06-21 Michael Albinus <michael.albinus@gmx.de>
8122
8123 * net/tramp-cache.el (top): Don't load the persistency file when
8124 "emacs -Q" has been called.
8125
cd93b359
DR
81262011-06-21 Tim Harper <timcharper@gmail.com>
8127
d8e4b68b
JB
8128 * term/ns-win.el (ns-initialize-window-system):
8129 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
8130 resource to NO as it is not yet supported by the NS port.
8131
ae9c0411
JB
81322011-06-21 Juanma Barranquero <lekktu@gmail.com>
8133
8134 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8135 (list-dynamic-libraries): ...not here.
8136
7f3f739f
LL
81372011-06-21 Leo Liu <sdl.web@gmail.com>
8138
8139 * subr.el (sha1): Implement sha1 using secure-hash.
8140
327c8fb1
MR
81412011-06-21 Martin Rudalics <rudalics@gmx.at>
8142
8143 * window.el (display-buffer-alist): In default value do not
8144 enforce searching a window on any but the selected frame.
8145 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8146 (display-buffer-select-window): Remove function.
8147 (display-buffer-in-window): When a window on another frame gets
8148 reused, do not select it any more but just raise its frame if
8149 necessary (Bug#8851) and (Bug#8856).
8150 (display-buffer-normalize-options): Handle pop-up-frames related
8151 options more faithfully.
8152 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8153 window if it is on another frame.
c9d29fb8
SM
8154 (display-buffer-alist, display-buffer-default-specifiers):
8155 Don't make new frame unsplittable by default.
9e9de014
MR
8156 (display-buffer-normalize-argument): Fix doc-string typo and use
8157 'same-frame-other-window instead of 'other-window when associating
8158 with display-buffer-macro-specifiers.
327c8fb1 8159
7cf3f556
VB
81602011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8161
8162 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8163 New functions.
8164 (5x5-mode-map, 5x5-mode-menu): Bind them.
8165 (5x5-draw-grid): Tweak the solver's rendering.
8166
60a406cf
SM
81672011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8168
8169 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8170 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8171
d8e4b68b 81722011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
8173
8174 * menu-bar.el: Use function variable instead of switch-to-buffer.
8175 (menu-bar-select-buffer-function): New variable.
60a406cf 8176 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 8177
478d6f95
SM
81782011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8179
8180 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8181 variable's status.
8182
ca530739
JD
81832011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8184
8185 * x-dnd.el (x-dnd-version-from-flags)
8186 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8187 and long as number (Bug#8899).
8188 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8189
bcd70d97
SM
81902011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8191
60a406cf 8192 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
8193 (completion-try-completion, completion-all-completions): Compute the
8194 metadata argument if it's missing; make it optional (bug#8795).
8195
60a406cf 8196 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
8197 (widget-complete): Use new :completion-function property.
8198 (widget-completions-at-point): New function.
8199 (default): Use :completion-function instead of :complete.
60a406cf
SM
8200 (widget-default-completions): Rename from widget-default-complete;
8201 Rewrite.
bcd70d97
SM
8202 (widget-string-complete, widget-file-complete, widget-color-complete):
8203 Remove functions.
8204 (file, symbol, function, variable, coding-system, color):
8205 * international/mule-cmds.el (default-input-method, charset)
8206 (language-info-custom-alist):
8207 * cus-edit.el (face): Use new property :completions.
8208
8209 * progmodes/pascal.el (pascal-completions-at-point): New function.
8210 (pascal-mode): Use it.
8211 (pascal-mode-map): Use completion-at-point.
8212 (pascal-toggle-completions): Make obsolete.
8213 (pascal-complete-word, pascal-show-completions):
8214 * progmodes/octave-mod.el (octave-complete-symbol):
8215 Redefine as obsolete alias.
8216 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8217 Signal absence of completion info for old Octave,
8218 (inferior-octave-complete): Redefine as obsolete alias.
8219 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8220 (meta-completions-at-point): Rename from meta-complete-symbol and
8221 adapt it for use on completion-at-point-functions.
8222 (meta-common-mode): Use it.
8223 (meta-looking-at-backward, meta-match-buffer): Remove.
8224 (meta-complete-symbol): Redefine as obsolete alias.
8225 (meta-common-mode-map): Use completion-at-point.
8226 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8227 (makefile-mode-map): Use completion-at-point.
8228 (makefile-completions-at-point): Rename from makefile-complete and
8229 adapt it for use on completion-at-point-functions.
8230 (makefile-mode): Use it.
8231 (makefile-complete): Redefine as obsolete alias.
8232
aebf69c8
DD
82332011-06-20 Deniz Dogan <deniz@dogan.se>
8234
8235 * net/rcirc.el: Delete trailing whitespaces once and for all.
8236
bfbbb27d
DC
82372011-06-20 Daniel Colascione <dan.colascione@gmail.com>
8238
8239 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8240
d264a46b
CY
82412011-06-19 Chong Yidong <cyd@stupidchicken.com>
8242
4ca009e5
CY
8243 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8244
d264a46b
CY
8245 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8246
fbf5b3ce
MR
82472011-06-19 Martin Rudalics <rudalics@gmx.at>
8248
8249 * window.el (display-buffer-other-window-means-other-frame):
8250 Call display-buffer-normalize-alist.
8251 (display-buffer-normalize-specifiers-1): Rename to
8252 display-buffer-normalize-argument. New argument other-frame.
8253 Rewrite.
8254 (display-buffer-normalize-specifiers-2): Rename to
8255 display-buffer-normalize-options.
8256 (display-buffer-normalize-alist-1): New function.
8257 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
8258 display-buffer-normalize-alist.
8259 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
8260 (display-buffer-normalize-options-inhibit): New variable.
8261 (display-buffer-normalize-specifiers): Rewrite calling
8262 display-buffer-normalize-alist,
8263 display-buffer-normalize-argument, and
8264 display-buffer-normalize-options. Don't call the latter if
8265 display-buffer-normalize-options-inhibit is non-nil.
8266 (frame-auto-delete): New option.
8267 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
8268 (window-list-no-nils, window-state-ignored-parameters)
8269 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
8270 (window-state-put-1, window-state-put-2, window-state-put):
8271 New functions.
9a028c23
MR
8272 (display-buffer-normalize-options): Move special-display-p group
8273 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 8274
6d10d800
CY
82752011-06-18 Chong Yidong <cyd@stupidchicken.com>
8276
6420d28b
CY
8277 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8278 groups (Bug#8776).
8279 (rx-submatch-n): New function.
8280 (rx): Document it.
8281
ddb8b596
CY
8282 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8283 (Bug#8768).
8284
8285 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8286
77080289
CY
8287 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8288
61dfb316
CY
8289 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8290 anytime existing face settings are present (Bug#8889).
8291
6d10d800
CY
8292 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8293 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8294 Remove unused argument.
8295
be3fb2b8
MR
82962011-06-18 Martin Rudalics <rudalics@gmx.at>
8297
bcd70d97
SM
8298 * window.el (display-buffer-default-specifiers):
8299 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
8300 pop-up-window-min-width, and another reuse-window specifier
8301 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
8302 (display-buffer-normalize-specifiers-2):
8303 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
8304 pop-up-windows is unset. Add a reuse-window specifier for the
8305 case popping up a new window fails.
8306 (special-display-popup-frame): Remove double quoting.
28dec25a 8307 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 8308
1c6d8c76
SM
83092011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8310
8311 * shell.el (shell-completion-vars): Set pcomplete-termination-string
8312 according to comint-completion-addsuffix.
8313
8314 * pcomplete.el: Convert to lexical binding and fix bug#8819.
8315 (pcomplete-suffix-list): Mark as obsolete.
8316 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8317 pcomplete-seen in the closure.
8318 (pcomplete-comint-setup): Setup completion-at-point as well.
8319 (pcomplete--entries): New function.
8320 (pcomplete--env-regexp): New var.
8321 (pcomplete-entries): Rewrite to work with partial-completion and
8322 without relying on pcomplete-suffix-list.
8323 (pcomplete-pare-list): Remove, unused.
8324
25aef8b8
MR
83252011-06-17 Martin Rudalics <rudalics@gmx.at>
8326
8327 * window.el (display-buffer-alist): Set pop-up-window-min-height
8328 and pop-up-window-min-width in default value. Reported by
8329 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
8330 other-window-means-other-frame.
8331 (display-buffer-macro-specifiers): Comment out entry for
8332 other-window specifier.
8333 (display-buffer-other-window-means-other-frame): New function.
8334 (display-buffer-normalize-specifiers-1): New arguments
8335 buffer-name and label. Treat other-window case specially.
8336 (display-buffer-normalize-specifiers-2): Treat other-window case
8337 specially.
8338 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
8339 (display-buffer-normalize-specifiers):
8340 Call display-buffer-normalize-specifiers-3.
25aef8b8 8341
dbad4f69
MR
83422011-06-17 Martin Rudalics <rudalics@gmx.at>
8343
8344 * window.el (same-window-p): Fix two typos introduced when
8345 adding with-no-warnings.
d1067961
MR
8346 (display-buffer-normalize-specifiers-1): Don't check
8347 pop-up-frames for 'unset initialization.
8348 (display-buffer-normalize-specifiers-2): Major rewrite using
8349 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8350 (pop-up-frames, display-buffer-reuse-frames)
8351 (display-buffer-mark-dedicated): Don't initialize to 'unset.
8352 Suggested by David Engster <deng@randomsample.de>.
8353 (even-window-heights): Initialize to 'unset.
8354 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
8355 (display-buffer-macro-specifiers): Don't pop up a new frame in the
8356 other window case.
dbad4f69 8357
9b9c9e3a
MR
83582011-06-16 Martin Rudalics <rudalics@gmx.at>
8359
bcd70d97
SM
8360 * window.el (display-buffer-normalize-specifiers-1):
8361 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 8362 second argument of display-buffer (Bug#8865).
981d5c09
MR
8363 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8364 (switch-to-buffer-other-window-same-frame)
8365 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
8366 Adams (Bug#8875).
9c2755e9
MR
8367 (display-buffer): Don't check noninteractive when calling
8368 display-buffer-pop-up-frame.
8369 (display-buffer-pop-up-frame): Never pop up a frame in
8370 noninteractive mode (Bug#8857).
67222e1d
MR
8371 (enlarge-window, shrink-window): Don't report an error when the
8372 window can't be resized as requested (Bug#8862).
9b9c9e3a 8373
2b75be67
SM
83742011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8375
9ffdd3ba
SM
8376 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8377
cb581a67
SM
8378 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8379
2b75be67
SM
8380 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8381
8c0e3589
AM
83822011-06-15 Alan Mackenzie <acm@muc.de>
8383
cb581a67
SM
8384 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8385 for declarators, disable knr checking to speed up for normal files.
8386 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 8387
b96e6cde
LMI
83882011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8389
4bba86e6
LMI
8390 * net/network-stream.el (open-network-stream): Add the keyword
8391 :always-query-capabilities for the case where you want to force a
8392 `plain' network connection, but the protocol still requires the
8393 capabilitiy command (i.e., SMTP and EHLO).
8394
2b75be67 8395 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
8396 consistency with other `-live-p' functions.
8397
efdcdbf8
SM
83982011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8399
8400 * window.el (same-window-buffer-names, same-window-regexps)
8401 (special-display-frame-alist, special-display-popup-frame)
8402 (special-display-function, special-display-buffer-names)
8403 (special-display-regexps, pop-up-frame-alist)
8404 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8405 (pop-up-windows, split-window-preferred-function)
8406 (split-height-threshold, split-width-threshold, even-window-heights)
8407 (display-buffer-mark-dedicated): Don't encourage the use of
8408 display-buffer-alist from Elisp code.
8409
c5cde042
DN
84102011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
8411
8412 * progmodes/python.el (python-mode): Derive from prog-mode.
8413 * progmodes/ps-mode.el (ps-mode):
8414 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 8415 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
8416 * progmodes/ld-script.el (ld-script-mode): Likewise.
8417
baa1c9ab
MR
84182011-06-15 Martin Rudalics <rudalics@gmx.at>
8419
8420 * window.el (display-buffer-alist): Trim default value to avoid
8421 popping up a new frame (Bug#8857) or reusing an arbitrary window
8422 on another frame.
8423 (display-buffer): Do not fall back on popping up a new frame in
8424 batch mode (Bug#8857).
8425
c5dd5a51
CY
84262011-06-14 Chong Yidong <cyd@stupidchicken.com>
8427
8428 * cus-theme.el (describe-theme-1): Use custom-theme-p.
8429 (custom-theme-summary): New function.
8430 (customize-themes): Use it.
8431
d647b7c4
GM
84322011-06-13 Glenn Morris <rgm@gnu.org>
8433
8434 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8435
9481c002
MR
84362011-06-13 Martin Rudalics <rudalics@gmx.at>
8437
357f93d2
MR
8438 * help.el (help-window): Remove variable.
8439 (help-window-point-marker, temp-buffer-max-height)
8440 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8441 (help-print-return-message): Don't set help-window.
8442 (resize-temp-buffer-window): Rewrite cod eand doc-string.
8443 (help-window-setup-finish): Remove.
8444 (help-window-display-message, help-window-setup)
8445 (with-help-window): Major rewrite based on new
8446 display-buffer-window variable.
8447
8448 * help-mode.el (help-mode-finish): Remove help-window related
8449 code.
8450
8451 * view.el (view-exits-all-viewing-windows): Remove reference to
8452 view-return-to-alist in doc-string.
8453 (view-return-to-alist): Make obsolete.
8454 (view-buffer): Call pop-to-buffer-same-window and remove
8455 undo-window code.
8456 (view-buffer-other-window): Call pop-to-buffer-other-window and
8457 simplify code. Ignore second argument.
8458 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8459 simplify code. Ignore second argument.
8460 (view-return-to-alist-update): Make obsolete.
8461 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8462 Rewrite using quit-restore window parameters.
2b75be67
SM
8463 (view-mode-exit): Rename second argument to EXIT-ONLY.
8464 Rewrite using quit-restore-window.
357f93d2
MR
8465 (View-exit, View-exit-and-edit, View-leave, View-quit)
8466 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8467 appropriate arguments.
8468 (view-end-message): Use quit-restore window parameter.
8469
9481c002
MR
8470 * window.el (display-buffer-function): Rewrite doc-string.
8471 (display-buffer-window, display-buffer-alist): New variables.
8472 (display-buffer-split-specifiers)
8473 (display-buffer-side-specifiers)
8474 (display-buffer-macro-specifiers): New constants.
8475 (display-buffer-even-window-sizes, display-buffer-set-height)
8476 (display-buffer-set-width, display-buffer-select-window)
8477 (display-buffer-in-window, display-buffer-reuse-window)
8478 (display-buffer-split-window-1, display-buffer-split-window)
8479 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8480 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8481 (display-buffer-in-side-window, normalize-buffer-to-display)
8482 (display-buffer-normalize-specifiers-1)
8483 (display-buffer-normalize-specifiers-2)
2b75be67
SM
8484 (display-buffer-normalize-specifiers, display-buffer-frame):
8485 New functions.
9481c002
MR
8486 (display-buffer): Major rewrite.
8487 (display-buffer-other-window, display-buffer-other-frame)
8488 (pop-to-buffer, switch-to-buffer-other-window)
8489 (switch-to-buffer-other-frame): Rewrite.
8490 (display-buffer-same-window, display-buffer-same-frame)
8491 (display-buffer-same-frame-other-window)
8492 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8493 (pop-to-buffer-other-window)
8494 (pop-to-buffer-same-frame-other-window)
8495 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8496 (switch-to-buffer-other-window-same-frame): New functions.
8497 (same-window-p, special-display-p): Rewrite disabling warnings.
8498 Make obsolete.
8499 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8500 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8501 Make obsolete
8502 (same-window-buffer-names, same-window-regexps)
8503 (special-display-frame-alist, special-display-popup-frame)
8504 (special-display-function, special-display-buffer-names)
8505 (special-display-regexps, pop-up-frame-alist)
8506 (pop-up-frame-function, split-window-preferred-function)
8507 (split-height-threshold, split-width-threshold)
8508 (even-window-heights): Make obsolete.
8509
9db51aca
GM
85102011-06-12 Glenn Morris <rgm@gnu.org>
8511
8512 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 8513 Misc simplifications.
9db51aca 8514
39cffb44
MR
85152011-06-12 Martin Rudalics <rudalics@gmx.at>
8516
8517 * window.el (window-safely-shrinkable-p): Restore function which
8518 was inadvertently removed in change from 2011-06-11. Declare as
8519 obsolete.
8520
2b75be67
SM
8521 * calendar/calendar.el (calendar-generate-window):
8522 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
8523 window-safely-shrinkable-p.
8524
a8955be7
GM
85252011-06-12 Glenn Morris <rgm@gnu.org>
8526
8527 * progmodes/fortran.el (fortran-mode-syntax-table):
8528 * progmodes/f90.el (f90-mode-syntax-table):
8529 Set % to punctuation. (Bug#8820)
8530 (f90-find-tag-default): Remove, no longer needed.
8531
f0d4059d
DC
85322011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8533
8534 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8535
1100a63c
CY
85362011-06-11 Chong Yidong <cyd@stupidchicken.com>
8537
8538 * image.el (image-animated-p): Return animation delay in seconds.
8539 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8540 (image-animate-timeout): Remove DELAY argument. Don't assume
8541 every subimage has the same delay; get it from image-animated-p.
8542 (image-animate): Caller changed.
8543
def722bf
MA
85442011-06-11 Michael Albinus <michael.albinus@gmx.de>
8545
8546 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8547 to ignored backtrace functions.
8548
0a2bb1a9
GM
85492011-06-11 Glenn Morris <rgm@gnu.org>
8550
8551 * calendar/appt.el (appt-disp-window-function): Doc fix.
8552 (appt-check): Handle overlapping appointments. (Bug#8337)
8553
6198ccd0
MR
85542011-06-11 Martin Rudalics <rudalics@gmx.at>
8555
8556 * window.el (window-tree-1, window-tree): New functions, moving
8557 the latter to window.el.
8558 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8559 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8560 (bw-refresh-edges): Remove.
8561 (balance-windows-1, balance-windows-2): New functions.
8562 (balance-windows): Rewrite in terms of window tree functions,
8563 balance-windows-1 and balance-windows-2.
8564 (bw-adjust-window): Remove.
8565 (balance-windows-area-adjust): New function with functionality of
8566 bw-adjust-window but using resize-window.
2b75be67
SM
8567 (set-window-text-height): Rewrite doc-string.
8568 Use normalize-live-window and resize-window.
8569 (enlarge-window-horizontally, shrink-window-horizontally):
8570 Rename argument to DELTA.
6198ccd0
MR
8571 (window-buffer-height): New function.
8572 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8573 Rewrite using new window resize routines.
2b75be67
SM
8574 (kill-buffer-and-window, mouse-autoselect-window-select):
8575 Use ignore-errors instead of condition-case.
6198ccd0
MR
8576 (quit-window): Call delete-frame instead of delete-windows-on
8577 for the only buffer on frame.
8578
9397e56f
MR
85792011-06-10 Martin Rudalics <rudalics@gmx.at>
8580
8581 * loadup.el (top-level): Load window before files for the sake
8582 of replace-buffer-in-windows.
8583
8584 * files.el (read-buffer-to-switch)
8585 (switch-to-buffer-other-window)
2b75be67
SM
8586 (switch-to-buffer-other-frame, display-buffer-other-frame):
8587 Move to window.el.
9397e56f
MR
8588
8589 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8590 (previous-buffer): Move to window.el.
8591
8592 * bindings.el (unbury-buffer): Move to window.el.
8593
8594 * window.el (delete-other-windows-vertically): Move after
8595 definition of delete-other-windows.
8596 (other-window, delete-windows-on, replace-buffer-in-windows):
8597 Move here from window.c.
8598 (record-window-buffer, unrecord-window-buffer)
8599 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8600 (switch-to-next-buffer): New functions.
8601 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8602 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
8603 (previous-buffer): Move here from simple.el.
8604 Call switch-to-prev-buffer.
9397e56f
MR
8605 (bury-buffer): Move here from buffer.c. Switch to previous
8606 buffer when window cannot be deleted.
8607 (unbury-buffer): Move here from bindings.el.
8608 (ctl-x-map): Move binding for other-window from window.c to
8609 here.
8610 (read-buffer-to-switch, switch-to-buffer-other-window)
8611 (switch-to-buffer-other-frame): Move here from files.el.
8612 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
8613 (switch-to-buffer): Move here from buffer.c.
8614 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 8615
562dd5e9
MR
86162011-06-10 Martin Rudalics <rudalics@gmx.at>
8617
8618 * window.el (window-min-height, window-min-width): Move here
8619 from window.c. Add defcustoms and rewrite doc-strings.
8620 (resize-mini-window, resize-window): New functions.
8621 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8622 Move here from window.c.
8623 (maximize-window, minimize-window): New functions.
8624 (delete-window, delete-other-windows, split-window): Move here
8625 from window.c.
8626 (window-split-min-size): New function.
8627 (split-window-keep-point): Mention split-window-above-each-other
8628 instead of split-window-vertically.
2b75be67 8629 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
8630 Rename split-window-vertically to split-window-above-each-other
8631 and provide defalias for old definition.
8632 (split-window-side-by-side, split-window-horizontally):
8633 Rename split-window-horizontally to split-window-side-by-side
8634 and provide defalias for the old definition.
562dd5e9
MR
8635 (ctl-x-map): Move bindings for delete-window,
8636 delete-other-windows and enlarge-window here from window.c.
8637 Replace bindings for split-window-vertically and
8638 split-window-horizontally by bindings for
8639 split-window-above-each-other and split-window-side-by-side.
8640
8641 * cus-start.el (all): Remove entries for window-min-height and
8642 window-min-width. Add entries for window-splits and
8643 window-nest.
8644
f0da764a
GM
86452011-06-09 Glenn Morris <rgm@gnu.org>
8646
80675c21
GM
8647 * calendar/appt.el (appt-mode-line): New function.
8648 (appt-check, appt-disp-window): Use it.
8649
f0da764a
GM
8650 * files.el (hack-one-local-variable-eval-safep):
8651 Allow minor-modes with explicit +/-1 arguments.
8652
59f623b7
TZ
86532011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8654
8655 * term/xterm.el (xterm): Add defgroup.
8656 (xterm-extra-capabilities): Add defcustom to supply known xterm
8657 capabilities, skip querying them, or query them (default).
8658 (terminal-init-xterm): Use it.
8659 (terminal-init-xterm-modify-other-keys): New function to set up
8660 modifyOtherKeys support to simplify `terminal-init-xterm'.
8661
9aab8e0d
MR
86622011-06-09 Martin Rudalics <rudalics@gmx.at>
8663
8664 * window.el (resize-window-reset, resize-window-reset-1)
8665 (resize-subwindows-skip-p, resize-subwindows-normal)
8666 (resize-subwindows, resize-other-windows, resize-this-window)
8667 (resize-root-window, resize-root-window-vertically)
8668 (window-deletable-p, window-or-subwindow-p)
8669 (frame-root-window-p): New functions.
8670
e8b08aee
GM
86712011-06-09 Glenn Morris <rgm@gnu.org>
8672
8673 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8674 (ange-ftp-get-files): Use it.
8675
254c37a5
AK
86762011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8677
8678 * mail/sendmail.el (mail-recover-1, mail-recover):
8679 * files.el (recover-file, recover-session):
8680 Handle dired-listing-switches not being just a single short option.
8681
35d7dbd3
GM
86822011-06-09 Glenn Morris <rgm@gnu.org>
8683
8684 * calendar/appt.el (appt-display-message, appt-disp-window):
8685 Handle lists of appointments.
8686
387522b2
MR
86872011-06-08 Martin Rudalics <rudalics@gmx.at>
8688
2b75be67
SM
8689 * window.el (one-window-p): Move down in code.
8690 Rewrite doc-string.
8691 (window-current-scroll-bars): Rewrite doc-string.
8692 Normalize live window argument.
387522b2
MR
8693 (walk-windows, get-window-with-predicate, count-windows):
8694 Rewrite doc-string. Use window-list-1.
8695 (window-in-direction-2, window-in-direction, get-mru-window):
8696 New functions.
8697
d8e4b68b 86982011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
8699
8700 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8701 Doc fix (Bug#8713).
8702
87032011-06-08 Chong Yidong <cyd@stupidchicken.com>
8704
8705 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8706
87072011-06-08 Juanma Barranquero <lekktu@gmail.com>
8708
8709 * loadhist.el (unload-feature-special-hooks):
8710 Add `comint-output-filter-functions'.
8711
0de12c52
IK
87122011-06-08 Ivan Kanis <gnu@kanis.fr>
8713
8714 * calendar/appt.el (appt-check): Move some initializations into the let.
8715
f3d1777e
MR
87162011-06-08 Martin Rudalics <rudalics@gmx.at>
8717
8718 * window.el (window-height): Defalias to window-total-height.
8719 (window-width): Defalias to window-body-width.
8720
18af70d0
CY
87212011-06-07 Chong Yidong <cyd@stupidchicken.com>
8722
8723 * image-mode.el (image-toggle-animation): New command.
8724 (image-mode-map): Bind it to RET.
8725 (image-mode): Update message.
8726 (image-toggle-display-image): Avoid a spurious cache flush.
8727 (image-transform-rotation): Doc fix.
8728 (image-transform-properties): Return quickly in the normal case.
8729 (image-animate-loop): Rename from image-animate-max-time.
8730
2b75be67 8731 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
8732 (create-animated-image): Remove unnecessary function.
8733 (image-animate): Rename from image-animate-start. New arg.
2b75be67 8734 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
8735 (image-animate-timer): Use car-safe.
8736 (image-animate-timeout): Rename argument.
8737
190b47e6
MR
87382011-06-07 Martin Rudalics <rudalics@gmx.at>
8739
8740 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
8741 window.c. Rename first argument to ALL-FRAMES.
8742 Rephrase doc-strings.
8743 (get-buffer-window-list): Rewrite using window-list-1.
8744 Rephrase doc-string.
a1511caf
MR
8745 (window-safe-min-height, window-safe-min-width): New constants.
8746 (window-size-ignore, window-min-size, window-min-size-1)
8747 (window-sizable, window-sizable-p, window-size-fixed-1)
8748 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8749 (window-max-delta-1, window-max-delta, window-resizable)
8750 (window-resizable-p, window-total-height, window-total-width)
8751 (window-body-width): New functions.
8752 (window-full-height-p, window-full-width-p): Rewrite using
8753 window-total-size.
8754 (window-body-height): Rewrite using window-body-size.
190b47e6 8755
85cc1f11
MR
87562011-06-06 Martin Rudalics <rudalics@gmx.at>
8757
8758 * window.el (window-right, window-left, window-child)
8759 (window-child-count, window-last-child, window-any-p)
8760 (normalize-live-buffer, normalize-live-frame)
8761 (normalize-any-window, normalize-live-window)
8762 (window-iso-combination-p, window-iso-combined-p)
8763 (window-iso-combinations)
8764 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8765 (windows-with-parameter, window-with-parameter)
8766 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
8767 (window-atom-check, window-side-check, window-check):
8768 New functions.
85cc1f11
MR
8769 (ignore-window-parameters, window-sides, window-sides-vertical)
8770 (window-sides-slots): New variables.
8771 (window-size-fixed): Move down in code. Minor doc-string fix.
8772
e7156492
AS
87732011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8774
8775 * comint.el (comint-dynamic-complete-as-filename)
8776 (comint-dynamic-complete-filename): Correctly call
8777 completion-in-region.
8778
7e821d0d
DD
87792011-06-05 Deniz Dogan <deniz@dogan.se>
8780
8781 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8782 in last change.
8783
ac09b8a1
DD
87842011-06-05 Deniz Dogan <deniz@dogan.se>
8785
8786 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8787 (rcirc): Use it to prompt for encryption.
8788
34699b85
RW
87892011-06-05 Roland Winkler <winkler@gnu.org>
8790
8791 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8792 (bibtex-search-entries): New command bound to C-c C-a.
8793 (bibtex-display-entries): New function.
8794
004dedd3
RW
87952011-06-05 Roland Winkler <winkler@gnu.org>
8796
8797 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8798 (bibtex-insert-kill): After yanking insert newline if necessary.
8799 (bibtex-initialize): Call bibtex-string-files-init only once.
8800 (bibtex-mode): Do not call easy-menu-add.
8801 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8802 (bibtex-yank): Set arg properly if nil.
8803
022fe7ce
RW
88042011-06-05 Roland Winkler <winkler@gnu.org>
8805
2b75be67
SM
8806 * textmodes/bibtex.el (bibtex-search-entry-globally):
8807 New variable.
022fe7ce
RW
8808 (bibtex-search-entry): Use it.
8809
b7c3692a
RW
88102011-06-05 Roland Winkler <winkler@gnu.org>
8811
8812 * textmodes/bibtex.el (bibtex-entry-format): New option
8813 sort-fields.
8814 (bibtex-format-entry, bibtex-reformat): Honor this option.
8815 (bibtex-parse-entry): Return fields in proper order.
8816
8eda563d
JB
88172011-06-05 Juanma Barranquero <lekktu@gmail.com>
8818
8819 * doc-view.el (doc-view-remove-if): Move computation of result out
8820 of `dolist' to silence misleading lexical-binding warning.
8821
7dbe3dbc
CY
88222011-06-04 Chong Yidong <cyd@stupidchicken.com>
8823
8824 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8825 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8826
0c33dd17
MA
88272011-06-04 Michael Albinus <michael.albinus@gmx.de>
8828
8829 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8830 "SunOS 5.10".
8831
f8f91c2b
MA
88322011-06-04 Michael Albinus <michael.albinus@gmx.de>
8833
8834 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8835 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8836 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8837 (tramp-parse-putty):
8838 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8839 (tramp-completion-function-alist-ssh)
8840 (tramp-completion-function-alist-telnet)
8841 (tramp-completion-function-alist-su)
8842 (tramp-completion-function-alist-putty): Set `tramp-autoload'
8843 cookie.
8844
8845 * net/tramp-ftp.el:
8846 * net/tramp-sh.el:
8847 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8848 load "tramp.el" `tramp-set-completion-function'.
8849
e17d9003
SM
88502011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8851
8852 * shell.el: Require and use pcomplete.
8853 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8854 (shell-completion-vars): Set pcomplete-default-completion-function.
8855
6c4cab03
DD
88562011-06-04 Deniz Dogan <deniz@dogan.se>
8857
8858 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8859 `memq' (Bug#8799).
8860
ea9fafe0
SM
88612011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8862
8863 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8864
b3e945d3
JB
88652011-06-02 Juanma Barranquero <lekktu@gmail.com>
8866
8867 * bs.el (bs--mark-unmark, bs--nth-wrapper):
8868 * mpc.el (mpc-select-extend, mpc-songpointer-context):
8869 * vc/log-view.el (log-view-beginning-of-defun):
8870 * vc/smerge-mode.el (smerge-apply-resolution-patch)
8871 (smerge-refine-forward, smerge-refine-chopup-region):
8872 Silence warning for unused `dotimes' counter variables.
8873
7d520089
SM
88742011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8875
8876 * net/tramp.el (tramp-with-progress-reporter): Rename from
8877 with-progress-reporter. Use `declare'.
8878 * net/tramp-smb.el:
8879 * net/tramp-sh.el:
8880 * net/tramp-gvfs.el: Update all uses.
8881
a1c2400f
JB
88822011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
8883
8884 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8885 buffer isn't killed before making it current.
8886
2403c841
SM
88872011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8888
8889 Silence various byte-compiler warnings.
8890 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8891 `access-type' and new obsolescence format.
8892 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8893 new format.
8894 (byte-compile-check-variable): New `access-type' argument.
8895 Only warn if the access-type is obsolete.
8896 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8897 (byte-compile-variable-set): Adjust callers.
8898 * help-fns.el (describe-variable): Adjust to new obsolescence format.
8899 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8900 setting it as obsolete.
8901 * simple.el (minibuffer-completing-symbol):
8902 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8903 access as obsolete.
8904 * minibuffer.el (minibuffer-completing-file-name): Don't make it
8905 obsolete yet.
8906 * international/quail.el (quail-mouse-choose-completion): Remove unused
8907 code referring to obsolete var.
8908 (quail-choose-completion-string): Remove.
8909 * server.el (server-clients-with, server-kill-buffer-query-function)
8910 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8911 * proced.el (proced-send-signal):
8912 * emacs-lisp/lisp.el (lisp-complete-symbol):
8913 Replace completion-annotate-function with completion-extra-properties.
8914
2462470b
SM
89152011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8916
fb5b2591
SM
8917 * simple.el (goto-line): Use read-number.
8918 (overriding-map-is-bound): Remove.
8919 (saved-overriding-map): Change default.
8920 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8921 Take the map as argument.
8922 (universal-argument, negative-argument, digit-argument): Use it.
8923 (restore-overriding-map): Adjust.
8924 (do-auto-fill): Use fill-forward-paragraph.
8925 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8926
fd6fa53f
SM
8927 * minibuffer.el (minibuffer-inactive-mode-map): New var.
8928 (minibuffer-inactive-mode): New major mode.
8929 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8930 the *Messages* buffer" hack.
8931 (mouse-popup-menubar): Don't burp if the event is a normal key.
8932
2462470b
SM
8933 Miscellaneous tweaks.
8934 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8935 lexical scoping as in subr.el's dolist and dotimes.
8936 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8937 Silence compiler warning.
8938 * thingatpt.el (forward-whitespace): Trivial coding style fix.
8939 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8940 * international/ccl.el (ccl-compile): Trivial simplification.
8941 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8942 * emacs-lisp/testcover.el (testcover-end): Remove spurious
8943 `printflag' argument.
8944 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8945 Purecopy the whole obsolescence data.
8946
108bf785
LL
89472011-06-01 Leo Liu <sdl.web@gmail.com>
8948
8949 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8950 improve doc-string as suggested by Marco Pessotto
8951 <melmothx@gmail.com>.
8952 (rcirc-print): Fix last change.
8953
30a23501
SM
89542011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8955
8956 * minibuffer.el (complete-with-action): Return nil for the metadata and
8957 boundaries of non-functional tables.
8958 (completion-table-dynamic): Return nil for the metadata.
8959 (completion-table-with-terminator): Add default case, using
8960 complete-with-action.
8961 (completion--metadata): New function.
8962 (completion-all-sorted-completions, minibuffer-completion-help): Use it
8963 to try and avoid pathological performance problems.
8964 (completion--embedded-envvar-table): Return `category' metadata.
8965
bcd54f83
LMI
89662011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
8967
8968 * subr.el (process-alive-p): New tiny convenience function.
8969
e227544d
SM
89702011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8971
8972 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8973 content but also its previous major mode.
8974
e8296fdc
HE
89752011-05-31 Helmut Eller <eller.helmut@gmail.com>
8976
4d61f28d 8977 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
8978 *Backtrace* buffer when we exit with C-M-c.
8979
620c53a6
SM
89802011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8981
8982 * minibuffer.el: Add metadata method to completion tables.
8983 (completion-category-overrides): New defcustom.
8984 (completion-metadata, completion--field-metadata)
8985 (completion-metadata-get, completion--styles)
8986 (completion--cycle-threshold): New functions.
8987 (completion-try-completion, completion-all-completions):
8988 Add `metadata' argument to choose completion-styles.
8989 (completion--do-completion): Use metadata to choose cycling.
8990 (completion-all-sorted-completions): Use metadata for sorting.
8991 Remove :completion-cycle-penalty which is not needed any more.
8992 (completion--try-word-completion): Add `metadata' argument.
8993 (minibuffer-completion-help): Check metadata for annotation function
8994 and sorting.
8995 (completion-file-name-table): Return `category' metadata.
8996 (minibuffer-completing-file-name): Make obsolete.
8997 * simple.el (minibuffer-completing-symbol): Make obsolete.
8998 * icomplete.el (icomplete-completions): Pass new `metadata' param to
8999 completion-try-completion.
9000
1257e755
SM
90012011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9002
9003 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9004
3767e706
LL
90052011-05-30 Leo Liu <sdl.web@gmail.com>
9006
9007 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
9008 (rcirc-print): Decode all incoming messages (bug#8744).
9009 (rcirc-decode-coding-system): Allow value nil for automatic coding
9010 system detection.
3767e706 9011
d1a5d56a
GM
90122011-06-01 Glenn Morris <rgm@gnu.org>
9013
9014 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9015
e8cbec34
CY
90162011-05-29 Chong Yidong <cyd@stupidchicken.com>
9017
9018 * image.el (image-animate-max-time): Allow nil and t values.
9019 Default to nil.
9020 (create-animated-image): Doc fix.
9021 (image-animate-start): Remove second arg; just use
9022 image-animate-max-time.
9023 (image-animate-timeout): Doc fix. Args changed.
9024
9025 * image-mode.el (image-toggle-display-image): Ensure that the
9026 image spec passed to the animate timer is the same object as in
58179cce 9027 the buffer's display property (Bug#6981).
e8cbec34
CY
9028 (image-transform-properties): Doc fix.
9029
9030 * image.el (image-animate-max-time): Default to nil.
9031
159daf87
MR
90322011-05-29 Martin Rudalics <rudalics@gmx.at>
9033
9034 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9035 entire buffer list (Bug#8184).
9036
d66c4c7c
CY
90372011-05-29 Chong Yidong <cyd@stupidchicken.com>
9038
9039 * image.el (imagemagick-types-inhibit)
9040 (imagemagick-register-types): Doc fix.
9041
80aec780
DD
90422011-05-29 Deniz Dogan <deniz@dogan.se>
9043
9044 * net/rcirc.el (rcirc): Use the user's stored encryption method by
9045 default.
9046
1dd3c2d9
CY
90472011-05-29 Chong Yidong <cyd@stupidchicken.com>
9048
9049 * select.el: Don't perform clipboard-manager saving in hooks;
9050 leave the hooks empty.
9051
60e56523
LL
90522011-05-28 Leo Liu <sdl.web@gmail.com>
9053
9054 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9055 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
9056 (occur-edit-mode): New major mode (Bug#8463).
9057 (occur-after-change-function): New function.
9058 (occur-engine): Give Occur tags a read-only property.
9059
2b1e1a22
KR
90602011-05-28 Kevin Ryde <user42@zip.com.au>
9061
9062 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9063
5d344e88
CY
90642011-05-28 Chong Yidong <cyd@stupidchicken.com>
9065
8e6ca83d
CY
9066 * bindings.el (help-echo): Make the initial non-indicator dash
9067 empty on graphical terminals (Bug#7295).
9068
5d344e88
CY
9069 * files.el (auto-mode-alist): Move config rule after the
9070 in-stripping one (Bug#8547).
9071
bfbbace7
CY
9072 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9073
fbeba6e2
CY
9074 * startup.el (normal-splash-screen): Remove gratuitous mode-line
9075 setting (Bug#8740).
9076
60ed8c72
AA
90772011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
9078
4ac619f0
AA
9079 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9080 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9081 (Bug#8539).
60ed8c72 9082
23db196e
CY
90832011-05-28 Chong Yidong <cyd@stupidchicken.com>
9084
9085 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9086
5012f24c
DK
90872011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
9088
9089 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9090 (hs-hide-block-at-point, hs-find-block-beginning)
9091 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9092 (Bug#8279).
9093
6a639b16
GM
90942011-05-28 Glenn Morris <rgm@gnu.org>
9095
9096 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9097
d43eaf2c
CY
90982011-05-28 Chong Yidong <cyd@stupidchicken.com>
9099
5199bde1
CY
9100 * help-fns.el (describe-function-1): If the function is a derived
9101 major mode, print the parent mode.
9102
d43eaf2c
CY
9103 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9104 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9105
423428a8
SM
91062011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9107
0ff8e1ba 9108 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 9109 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
9110 * progmodes/etags.el (tags-completion-at-point-function):
9111 * info-look.el (info-lookup-completions-at-point): Mark as
9112 non-exclusive.
9113 (info-complete): Adjust accordingly.
9114
423428a8
SM
9115 * info-look.el: Convert to lexical-binding and completion-at-point.
9116 (info-lookup-completions-at-point): New function.
9117 (info-complete): Use it and completion-in-region.
9118
b74aa22b
DA
91192011-05-28 Drew Adams <drew.adams@oracle.com>
9120
9121 * isearch.el: Let M-e start with point at the first mismatched char.
9122 (isearch-fail-pos): New function.
9123 (isearch-edit-string): Use it.
9124
66e2e71d
DK
91252011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9126
9127 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9128
b1890b0f 91292011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
9130
9131 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9132 traversal functions for avl-trees.
9133 (avl-tree--stack): New struct.
9134 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9135 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
9136 (avl-tree--do-enter): Add optional `updatefun' arg.
9137 Change return value.
eb95d01d 9138 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
9139 (avl-tree--do-delete): Add `test' and `nilflag' args.
9140 Change return value.
eb95d01d
TC
9141 (avl-tree-member): Add optional `nilflag'
9142 (avl-tree-member-p): New function.
9143 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9144 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9145 (avl-tree-stack-empty-p): New functions.
9146
3769ddcf
TC
9147 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9148 avl-tree--del-balance1 and make it work both ways.
9149 (avl-tree--del-balance2): Remove.
9150 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9151 make it work both ways.
9152 (avl-tree--enter-balance2): Remove.
9153 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9154 New macros.
9155 (avl-tree--mapc, avl-tree-map): Add direction argument.
9156
eb95d01d 91572011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
9158
9159 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9160
a9f737ee
CY
91612011-05-27 Chong Yidong <cyd@stupidchicken.com>
9162
9163 * select.el: Support clipboard managers with built-in function
9164 x-clipboard-manager-save, via delete-frame-functions and
9165 kill-emacs-hook.
9166 (xselect-convert-to-targets): Add MULTIPLE target to list.
9167 (xselect-convert-to-save-targets): New function.
9168
c92a1e54
KH
91692011-05-27 Kenichi Handa <handa@m17n.org>
9170
9171 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9172 let-binding rfc2047-encode-encoded-words to nil.
9173
e145f188
GM
91742011-05-27 Glenn Morris <rgm@gnu.org>
9175
5ec8a862
GM
9176 * mail/emacsbug.el: Don't require url-util.
9177
4b29d9fb
GM
9178 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9179
e145f188
GM
9180 * files.el (set-auto-mode):
9181 Also respect mode: entries at the end of the file. (Bug#8586)
9182
7d15102b
GM
91832011-05-26 Glenn Morris <rgm@gnu.org>
9184
98f593b8
GM
9185 * files.el (hack-local-variables-prop-line, hack-local-variables):
9186 Downcase mode names, as seems to be traditional.
27b48e63 9187 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 9188
7d15102b
GM
9189 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9190 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
9191
51d5b4ec
JD
91922011-05-25 Julien Danjou <julien@danjou.info>
9193
9194 * textmodes/rst.el (rst-define-level-faces): Do not define face
9195 symbol if it is already defined.
9196
91513f63
VB
91972011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
9198
9199 * play/5x5.el (5x5-new-game, 5x5-randomize):
9200 Reset 5x5-solver-output to nil when a new grid is cast.
9201 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9202 these debugging traces, as defmacro breaks the compiled code.
9203
4d90d6d0
DK
92042011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9205
9206 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9207
e1b90ef6
LL
92082011-05-24 Leo Liu <sdl.web@gmail.com>
9209
9210 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9211 (vc-bzr-sha1): Adapt.
9212
d8e4b68b 9213 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
9214
9215 * bindings.el: Provide sha1 feature.
9216
db0406bb 92172011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
9218
9219 * mail/sendmail.el: Require `rfc2047'.
9220 (mail-insert-from-field): Do not perform RFC2047 encoding.
9221 (mail-encode-header): New function.
9222 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
9223 buffer to the return value of select-message-coding-system.
9224 Call mail-encode-header.
b8d747b9
KH
9225
9226 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9227
db0406bb 92282011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 9229
4d90d6d0
DK
9230 * mail/supercite.el (sc-default-cite-frame):
9231 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 9232
eb8a5e9b
GM
92332011-05-24 Glenn Morris <rgm@gnu.org>
9234
f8630703
GM
9235 * progmodes/python.el (brm-menu): Declare.
9236
8831bbed
GM
9237 * emulation/viper.el (viper-set-hooks): Declare.
9238
eb8a5e9b
GM
9239 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9240 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9241 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9242 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9243 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9244 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9245
a2a25d24
SM
92462011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9247
9248 Add an :exit-function for completion-at-point.
9249
9250 * minibuffer.el (completion--done): New fun.
9251 (completion--do-completion): Use it. New arg `expect-exact'.
9252 (minibuffer-complete, minibuffer-complete-word): Don't output message,
9253 since completion--do-completion does it for us now.
9254 (minibuffer-force-complete): Use completion--done and
9255 completion--replace. Handle sole-completion case with more care.
9256 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9257 (completion-extra-properties): New var.
9258 (completion-annotate-function): Make obsolete.
9259 (minibuffer-completion-help): Adjust accordingly.
9260 Use completion-list-insert-choice-function.
9261 (completion-at-point, completion-help-at-point):
9262 Bind completion-extra-properties.
9263 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9264 * simple.el (completion-list-insert-choice-function): New var.
9265 (completion-setup-function): Preserve it.
9266 (choose-completion): Pay attention to it, shuffle the code a bit.
9267 (choose-completion-string): New arg `insert-function'.
9268
9269 * textmodes/bibtex.el: Convert to lexical binding.
9270 (bibtex-mode-map): Use completion-at-point.
9271 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9272 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9273 (bibtex-complete): Define as obsolete alias.
9274 (bibtex-complete-internal): Remove.
9275 (bibtex-format-entry): Remove unused sub-group in regexp.
9276 * shell.el (shell--command-completion-data)
9277 (shell-environment-variable-completion):
9278 * pcomplete.el (pcomplete-completions-at-point):
9279 * comint.el (comint--complete-file-name-data): Use :exit-function
9280 instead of completion-table-with-terminator so it also works for
9281 choose-completion.
9282
e44e373d
SM
92832011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9284
4f91a816
SM
9285 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9286
782fc819
SM
9287 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9288 (bug#8710).
9289
e44e373d
SM
9290 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9291
381987c3
KM
92922011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
9293
9294 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9295 customization variable and implement: If non-nil, auto-fill will
9296 be inhibited while on topic's header line.
9297
b776bc70
VB
92982011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
9299
9300 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 9301 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
9302 always have a solution in grid size = 5 cases.
9303 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9304 (5x5-solver-output, 5x5-log-buffer): New vars.
9305 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9306 Make these variables buffer local to achieve 5x5 multi-session-ness.
9307 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9308 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9309 (5x5-solve-suggest): New funs.
9310 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9311 randomize a grid so that we ensure that there is always a solution.
9312 (5x5-make-random-grid): Allow other movement than flipping.
9313
7de88b6e
KR
93142011-05-23 Kevin Ryde <user42@zip.com.au>
9315
9316 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 9317 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
9318 advice and passes PREDICATE.
9319
b1ef1257
SM
93202011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9321
bbca48fe
SM
9322 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9323 byte-compile-lambda if it's actually a lambda.
9324
b1ef1257
SM
9325 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9326 Fix function quoting. Use backquote better.
9327
92a9cc65
YS
93282011-05-22 Yuanle Song <sylecn@gmail.com>
9329
9330 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9331 matching (Bug#8516).
9332
f0fb8059
JA
93332011-01-22 Jari Aalto <jari.aalto@cante.net>
9334
9335 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9336 different face (Bug#8178).
9337
d5b44c93
CY
93382011-05-22 Chong Yidong <cyd@stupidchicken.com>
9339
9340 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9341 defface (Bug#8144).
9342
79106a44
SM
93432011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
9344
9c848d8a
SM
9345 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9346 funcall as well (bug#8712). Warn when performing those conversions.
9347 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9348
79106a44
SM
9349 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9350
88dfa756
GM
93512011-05-22 Glenn Morris <rgm@gnu.org>
9352
9353 * files.el (hack-local-variables-prop-line): Small simplifications.
9354 (hack-local-variables, hack-local-variables-prop-line):
9355 If MODE-ONLY, return the mode, rather than just `t'.
9356
b7cf2c79
SM
93572011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9358
9359 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9360
3f1a8558
GM
93612011-05-21 Glenn Morris <rgm@gnu.org>
9362
7e4ccca3
GM
9363 * files.el (hack-local-variables-prop-line, hack-local-variables):
9364 If only interested in the mode, don't bother doing the other stuff.
9365
637d46ca
GM
9366 * image-mode.el (image-after-revert-hook):
9367 Redraw all frames on which the image is visible. (Bug#8567)
9368
973d955b
GM
9369 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
9370
3f1a8558
GM
9371 * wid-edit.el (widget-checklist-match-inline):
9372 Fix 2011-04-19 change. (Bug#8649)
9373
96479927
SM
93742011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
9375
1dcf791f
SM
9376 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9377 Also allow singlespace after single-letter capitals followed by a dot.
9378
96479927
SM
9379 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9380 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9381
35fd0881
N
93822011-05-20 Nix <nix@esperi.org.uk>
9383
9384 * files.el (basic-save-buffer-2):
9385 Fix handling of break-hardlink-on-save with non-existent files.
9386
82745640
DD
93872011-05-19 Deniz Dogan <deniz@dogan.se>
9388
9389 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 9390 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 9391
4a720484
GM
93922011-05-19 Glenn Morris <rgm@gnu.org>
9393
d1f21341
GM
9394 * progmodes/f90.el (f90-type-def-re):
9395 Handle "type, bind(c)". (Bug#8691)
9396
4a720484
GM
9397 * emacs-lisp/autoload.el (batch-update-autoloads):
9398 Set autoload-excludes by parsing loadup.el rather than Makefiles.
9399
2fb0a219
MA
94002011-05-18 Michael Albinus <michael.albinus@gmx.de>
9401
9402 * net/tramp.el (tramp-process-actions): Set "first-password-request"
9403 property for the correct connection in case of multihops.
9404
e565dd37
GM
94052011-05-18 Glenn Morris <rgm@gnu.org>
9406
c2571358 9407 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
9408 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9409
e565dd37
GM
9410 Rationalize calendar handling of day and month abbrev-arrays.
9411 * calendar/calendar.el (calendar-customized-p): New function.
9412 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9413 (calendar-day-name-array, calendar-month-name-array): Doc fix.
9414 Add :set function.
9415 (calendar-abbrev-length, calendar-day-abbrev-array)
9416 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9417 (calendar-day-abbrev-array, calendar-month-abbrev-array):
9418 Elements may no longer be nil.
9419 (calendar-day-name, calendar-month-name):
9420 Update for changed nature of abbrev arrays.
9421 * calendar/diary-lib.el (diary-name-pattern):
9422 Update for changed nature of abbrev arrays.
9423 (diary-mark-entries-1): Update calendar-make-alist calls.
9424 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9425 * calendar/cal-html.el (cal-html-day-abbrev-array):
9426 Simply inherit from calendar-day-abbrev-array.
9427
1d99a745
SM
94282011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9429
9430 * progmodes/grep.el (grep-mode): Disable default
9431 compilation-directory-matcher setting (bug#8684).
9432
7c1d9aa0
MA
94332011-05-17 Michael Albinus <michael.albinus@gmx.de>
9434
9435 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9436 instead of "head" and "tail". There were problems with SunOS 5.9,
9437 and it performs better.
9438
3952e9d8
GM
94392011-05-17 Glenn Morris <rgm@gnu.org>
9440
2dd12e7f
GM
9441 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9442
e4157b9c
GM
9443 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9444 Replace obsolete function.
9445
8e249bbd
GM
9446 * shell.el (pcomplete-parse-arguments-function): Declare.
9447
3952e9d8
GM
9448 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9449 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9450 (appt-check): Doc fixes.
9451 (appt-disp-window-function, appt-delete-window-function):
9452 Remove needless special case in custom :type.
9453 (appt-display-count): Default to 0, not nil.
9454 (appt-check): Reset appt-display-count to 0, not nil.
9455
c71a0d48 94562011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 9457
c71a0d48
GM
9458 * progmodes/python.el (python-font-lock-keywords):
9459 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 9460
31d55be9
SM
94612011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9462
9463 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9464
3bfacb2f
KR
94652011-05-16 Kevin Ryde <user42@zip.com.au>
9466
9467 * info-look.el (makefile-automake-mode): New setups, looking in
9468 automake manual, then makefile-mode.
9469 (makefile-mode): Remove automake manual, have it just in
9470 makefile-automake-mode since there's various things different or
9471 not relevant to plain make.
9472 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9473 believe a hypothetical automake-mode would go to makefile-mode,
9474 not the other way around.
9475
c8e83751
CY
94762011-05-15 Chong Yidong <cyd@stupidchicken.com>
9477
5e9e35cd
CY
9478 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9479 hunk-end tags (Bug#8672).
9480
c8e83751
CY
9481 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9482 vc-annotate-show-diff-revision-at-line (Bug#8671).
9483
50b23e5a
GM
94842011-05-14 Glenn Morris <rgm@gnu.org>
9485
7210a739
GM
9486 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9487 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
9488 (change-log-font-lock-keywords): Also handle multiple author lines
9489 with leading tabs. (Bug#8644)
7210a739 9490
4691905a
GM
9491 * calendar/appt.el (appt-check): Rename some local variables.
9492 Some simplification/reordering.
9493
50b23e5a
GM
9494 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9495 (feedmail-sendmail-f-doesnt-sell-me-out)
9496 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9497 (feedmail-debug-sit-for, feedmail-queue-express-hook)
9498 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
9499 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9500 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
9501 (feedmail-binmail-gnulinuxish-template):
9502 Rename from feedmail-binmail-linuxish-template.
9503 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9504 Use insert-buffer-substring.
9505
215cda7c
BC
95062011-05-14 Bill Carpenter <bill@carpenter.org>
9507
9508 * mail/feedmail.el (feedmail-patch-level): Increase.
9509 (feedmail-debug): New custom group.
9510 (feedmail-confirm-outgoing-timeout)
9511 (feedmail-sendmail-f-doesnt-sell-me-out)
9512 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9513 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9514 (feedmail-sender-line, feedmail-from-line)
9515 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 9516 (feedmail-spray-this-address)
215cda7c
BC
9517 (feedmail-spray-address-fiddle-plex-list)
9518 (feedmail-queue-use-send-time-for-date)
9519 (feedmail-queue-use-send-time-for-message-id)
9520 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9521 (feedmail-buffer-eating-function):
9522 Doc fixes.
9523 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9524 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9525 (feedmail-message-action-scroll-down): New functions.
9526 (feedmail-queue-directory, feedmail-queue-draft-directory):
9527 Use expand-file-name.
9528 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9529 Remove C-v help entry.
9530 (feedmail-queue-buffer-file-name): New variable.
9531 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9532 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9533 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9534 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9535 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9536 (feedmail-message-action-toggle-spray)
9537 (feedmail-run-the-queue-no-prompts)
9538 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9539 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9540 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9541 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9542 (feedmail-envelope-deducer, feedmail-fiddle-from)
9543 (feedmail-fiddle-sender, feedmail-default-date-generator)
9544 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9545 (feedmail-fiddle-spray-address)
9546 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9547 (feedmail-fiddle-list-of-fiddle-plexes)
9548 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9549 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9550 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9551 Change default. Doc fix.
9552 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9553 (feedmail-binmail-linuxish-template): New constant.
9554 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9555 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9556 (feedmail-send-it): Add debug call.
9557 Use feedmail-queue-buffer-file-name, and
9558 feedmail-send-it-immediately-wrapper.
9559 (feedmail-message-action-send): Add debug call.
9560 Use feedmail-send-it-immediately-wrapper.
9561 (feedmail-queue-express-to-queue): Add debug call.
9562 Run feedmail-queue-express-hook.
9563 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9564 (feedmail-message-action-help-blat):
9565 Rename from feedmail-queue-send-edit-prompt-help-first.
9566 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9567 Check line-endings. Handle errors better.
9568 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9569 Doc fix. Add debug call.
9570 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9571 Use feedmail-queue-send-edit-prompt-inner.
9572 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9573 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9574 from feedmail-queue-send-edit-prompt.
9575 (feedmail-queue-send-edit-prompt-help)
9576 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9577 (feedmail-tidy-up-slug): Add debug call.
9578 Respect feedmail-queue-slug-suspect-regexp.
9579 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9580 (feedmail-dump-message-to-queue): Add debug call.
9581 Expand queue-directory.
9582 (feedmail-dump-message-to-queue): Change message slightly.
9583 Use feedmail-say-chatter.
9584 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9585 (feedmail-send-it-immediately-wrapper): New function.
9586 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9587 Insert empty string rather than newline. Handle full-frame case.
9588 Use catch/throw. Use feedmail-say-chatter.
9589 (feedmail-fiddle-from): Try mail-host-address.
9590 (feedmail-default-message-id-generator): Doc fix.
9591 Bind system-time-locale. Handle missing end.
9592 (feedmail-fiddle-x-mailer): Add debug call.
9593 Handle feedmail-x-mailer-line being nil.
9594 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9595 Add debug call. Use buffer-substring-no-properties.
9596 (feedmail-say-debug, feedmail-say-chatter): New functions.
9597 (feedmail-find-eoh): Give an explicit error.
9598
42c7e61e
UJ
95992011-05-13 Ulf Jasper <ulf.jasper@web.de>
9600
c2571358 9601 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 9602 family from helvetica to sans.
c2571358 9603 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9604 etc/images/newsticker.
9605
c2571358 9606 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
9607 family from helvetica to sans.
9608
9609 * net/newst-plainview.el (newsticker-new-item-face)
9610 (newsticker-old-item-face, newsticker-immortal-item-face)
9611 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 9612 (newsticker-statistics-face): Change default family from
42c7e61e 9613 helvetica to sans.
c2571358 9614 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9615 etc/images/newsticker.
9616
9617 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9618 (newsticker--process-auto-mark-filter-match): : Tell user about
9619 auto-marking.
9620
8497a297
DV
96212011-05-13 Didier Verna <didier@xemacs.org>
9622
9623 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
9624 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9625 TODO entries.
8497a297
DV
9626 (lisp-lambda-list-keyword-parameter-indentation)
9627 (lisp-lambda-list-keyword-parameter-alignment)
9628 (lisp-lambda-list-keyword-alignment): New customizable user options.
9629 (lisp-indent-defun-method): Improve docstring.
9630 (extended-loop-p): Fix comment.
9631 (lisp-indent-lambda-list-keywords-regexp): New variable.
9632 (lisp-indent-lambda-list): New function.
9633 (lisp-indent-259): Use it.
9634 (lisp-indent-defmethod): Support for more than one
9635 method qualifier and properly indent methods lambda-lists.
9636 (defgeneric): Provide a missing common-lisp-indent-function property.
9637
f278f87f
SM
96382011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9639
9640 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9641 bounds for the empty string (bug#8667).
9642
5233edd7
GM
96432011-05-13 Glenn Morris <rgm@gnu.org>
9644
5237a44f
GM
9645 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9646
8340026c 9647 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 9648 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 9649
5233edd7 9650 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 9651 (appt-time-msg-list): Doc fix.
a5464014 9652 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 9653
92d10796
AS
96542011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9655
9656 * progmodes/ld-script.el (ld-script-keywords)
9657 (ld-script-builtins): Update keywords list.
9658
914a0ae1
SM
96592011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9660
c89be45f
SM
9661 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9662
914a0ae1
SM
9663 * shell.el (shell-completion-vars): New function.
9664 (shell-mode):
9665 * simple.el (read-shell-command): Use it.
9666 (blink-matching-open): No need for " [...]" in minibuffer-message.
9667
98dc3df3
GM
96682011-05-12 Glenn Morris <rgm@gnu.org>
9669
9670 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9671 (appt-check): Simplify.
9672
d2fc7e3d 96732011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 9674
4d61f28d 9675 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
9676 literal "/dev/null".
9677
d2fc7e3d 96782011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
9679
9680 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9681 Fix typo.
9682
d2fc7e3d 96832011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 9684
3f254caa
SM
9685 * progmodes/which-func.el (which-function):
9686 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
9687 which might not be defined (Bug#8260).
9688
d45885f7
GM
96892011-05-12 Glenn Morris <rgm@gnu.org>
9690
9691 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9692 Let byte-compile-initial-macro-environment always take precedence.
9693
488086f4
SM
96942011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9695
9696 * net/rcirc.el: Add support for SSL/TLS connections.
9697 (rcirc-server-alist): New field `encryption'.
9698 (rcirc): Check `encryption' settings.
9699 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9700 Merge make-local-variable into `set'.
9701 (rcirc--connection-open-p): New function.
9702 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9703 the process is not a network process (e.g. running gnutls-cli).
9704 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9705 Make rcirc-(en|de)code-coding-system local here.
9706 (rcirc-mode): Merge make-local-variable into `set'.
9707 (rcirc-parent-buffer): Make permanent buffer-local.
9708 (rcirc-multiline-minor-mode): Don't do it here.
9709 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9710 there's no server buffer.
9711
7d3b9d44
GM
97122011-05-11 Glenn Morris <rgm@gnu.org>
9713
f64049c6
GM
9714 * newcomment.el (comment-kill): Prefix "unused" local.
9715
93c9df73
GM
9716 * term/w32console.el (get-screen-color): Declare.
9717
7d3b9d44
GM
9718 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9719 Handle symbol elements of byte-compile-initial-macro-environment.
9720
9e2dd53f
LL
97212011-05-10 Leo Liu <sdl.web@gmail.com>
9722
488086f4
SM
9723 * bookmark.el (bookmark-bmenu-mode-map):
9724 Bind bookmark-bmenu-search to `/'.
8b340240 9725
9e2dd53f 9726 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
9727 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9728 (Footnote-unicode): New function.
9729 (footnote-style-alist): Add unicode style to the list.
9730 (footnote-style): Doc fix.
9e2dd53f 9731
79b70037
GM
97322011-05-10 Jim Meyering <meyering@redhat.com>
9733
9734 Fix doubled-word typos.
9735 * international/quail.el (quail-insert-kbd-layout): and and -> and
9736 * kermit.el: and and -> and
9737 * net/ldap.el (ldap-search-internal): to to -> to
9738 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9739 * progmodes/js.el (js-mode): and and -> and
9740 * textmodes/artist.el (artist-move-to-xy): at at -> at
9741 (artist-draw-region-trim-line-endings): if if -> if
9742 And Safetyc -> Safety.
9743 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9744
b8f82dc1 97452011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 9746 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
9747
9748 * files.el (hack-one-local-variable-eval-safep):
9749 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9750
4f99f44b
GM
97512011-05-10 Glenn Morris <rgm@gnu.org>
9752
9753 * calendar/diary-lib.el (diary-list-entries-hook)
9754 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9755 (diary-nongregorian-marking-hook, diary-list-entries)
9756 (diary-include-other-diary-files, diary-mark-entries)
9757 (diary-mark-included-diary-files): Doc fixes.
9758
84f29e6b
JB
97592011-05-09 Juanma Barranquero <lekktu@gmail.com>
9760
9761 * misc.el: Require tabulated-list.el during compilation.
9762
9bedd73a
CY
97632011-05-09 Chong Yidong <cyd@stupidchicken.com>
9764
488086f4
SM
9765 * progmodes/compile.el (compilation-start):
9766 Run compilation-filter-hook for the async case too.
9bedd73a
CY
9767 (compilation-filter-hook): Doc fix.
9768
797c735c
DD
97692011-05-09 Deniz Dogan <deniz@dogan.se>
9770
9771 * wdired.el: Remove outdated installation comment. Fix usage
9772 comment.
9773
5f4b1dfe
JB
97742011-05-09 Juanma Barranquero <lekktu@gmail.com>
9775
9776 * misc.el: Implement new command `list-dynamic-libraries'.
9777 (list-dynamic-libraries--loaded-only-p): New variable.
9778 (list-dynamic-libraries--refresh): New function.
9779 (list-dynamic-libraries): New command.
9780
4c44026c
CY
97812011-05-09 Chong Yidong <cyd@stupidchicken.com>
9782
488086f4
SM
9783 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9784 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
9785 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9786 higher priority to avoid clobbering by gnu.
9787
027f966d
CY
97882011-05-08 Chong Yidong <cyd@stupidchicken.com>
9789
9790 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9791 if the face has existing theme settings (Bug#8454).
9792
085f5d7d
CY
97932011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9794
488086f4
SM
9795 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9796 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 9797
2a86a00c
RS
9798 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9799 special file names `.' and `..' (Bug#8259).
9800
d9c54a06
CY
98012011-05-08 Chong Yidong <cyd@stupidchicken.com>
9802
488086f4
SM
9803 * progmodes/grep.el (grep-mode-font-lock-keywords):
9804 Remove buffer-changing entries.
d9c54a06
CY
9805 (grep-filter): New function.
9806 (grep-mode): Add it to compilation-filter-hook.
9807
9808 * progmodes/compile.el (compilation-filter-hook)
9809 (compilation-filter-start): New defvars.
9810 (compilation-filter): Call compilation-filter-hook prior to
9811 updating the process mark.
9812
c4662635
SM
98132011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9814
9815 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9816
b0512a1d
EZ
98172011-05-07 Eli Zaretskii <eliz@gnu.org>
9818
605c9376
EZ
9819 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9820 mailclient-send-it even if window-system is nil. (Bug#8595)
9821
c4662635
SM
9822 * term/w32console.el (terminal-init-w32console):
9823 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
9824 background-mode. (Bug#8597)
9825
d1dc2cc2
SM
98262011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9827
9828 Make bytecomp.el understand that defmethod defines funs (bug#8631).
9829 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9830 New functions.
9831 (defgeneric, eieio--defmethod): Use them.
9832 (eieio-defgeneric): Remove.
9833 (defmethod): Call defgeneric in a way visible to the byte-compiler.
9834
915d1300
GM
98352011-05-07 Glenn Morris <rgm@gnu.org>
9836
a3961c3e
GM
9837 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9838 Use let rather than let*.
9839 (timeclock-find-discrep): Remove unused local.
9840
314347b9
GM
9841 * calendar/diary-lib.el (diary-comment-start): Doc fix.
9842
915d1300
GM
9843 * calendar/appt.el (appt-time-msg-list): Doc fix.
9844
275b59b0
NF
98452011-05-06 Noah Friedman <friedman@splode.com>
9846
9847 * apropos.el (apropos-print-doc): Only use
9848 emacs-lisp-docstring-fill-column when it is bound to an integer,
9849 per that variable's documentation.
9850
6c19f744
SM
98512011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9852
9853 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 9854 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 9855
60f884b2
GM
98562011-05-06 Glenn Morris <rgm@gnu.org>
9857
5006e634
GM
9858 * calendar/appt.el (appt-message-warning-time): Doc fix.
9859 (appt-warning-time-regexp): New option.
9860 (appt-make-list): Respect appt-message-warning-time.
9861
548d0a63
GM
9862 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9863 New options.
9864 (diary-add-to-list): Strip comments from the displayed string.
9865 (diary-mode): Set comment-start and comment-end.
9866
60f884b2
GM
9867 * vc/diff-mode.el (smerge-refine-subst): Declare.
9868 (diff-refine-hunk): Don't require smerge-mode when compiling.
9869
989681bb
JB
98702011-05-06 Juanma Barranquero <lekktu@gmail.com>
9871
9872 * simple.el (list-processes): Return nil as the docstring says.
9873
a6bc05e1
MA
98742011-05-05 Michael Albinus <michael.albinus@gmx.de>
9875
9876 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9877 to "".
9878 (ange-ftp-write-region, ange-ftp-insert-file-contents)
9879 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9880 determining of binary transfer. (Bug#7383)
9881
23c22e9a
MA
98822011-05-05 Michael Albinus <michael.albinus@gmx.de>
9883
c4662635
SM
9884 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9885 Fix port computation bug. (Bug#8618)
23c22e9a 9886
0bff894f
GM
98872011-05-05 Glenn Morris <rgm@gnu.org>
9888
b8296902
GM
9889 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9890
1f522ce8
GM
9891 * simple.el (shell-dynamic-complete-functions)
9892 (comint-dynamic-complete-functions): Declare.
9893
cf5bee67
GM
9894 * net/network-stream.el (gnutls-negotiate):
9895 * simple.el (tabulated-list-print): Fix declarations.
9896
9897 * progmodes/gud.el (syntax-symbol, syntax-point):
9898 Remove unnecessary and incorrect declarations.
9899
0bff894f
GM
9900 * emacs-lisp/check-declare.el (check-declare-scan):
9901 Handle byte-compile-initial-macro-environment in bytecomp.el
9902
9869b3ae
SM
99032011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9904
9905 Fix earlier half-done eieio-defmethod change (bug#8338).
9906 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9907 Streamline and change calling convention.
9908 (defmethod): Adjust accordingly and simplify.
9909 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9910 new eieio--defmethod.
9911 (slot-boundp): Minor CSE simplification.
9912
9c1d5ac5
MZ
99132011-05-05 Milan Zamazal <pdm@zamazal.org>
9914
9915 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9916 (glasses-make-readable): Use glasses-separate-capital-groups.
9917
455c834e
JB
99182011-05-05 Juanma Barranquero <lekktu@gmail.com>
9919
9920 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9921 (warning-series): Doc fix.
9922 (display-warning): Don't try to create the buffer if we just found it.
9923
9ed7c8cb
CY
99242011-05-04 Chong Yidong <cyd@stupidchicken.com>
9925
9926 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9927 (autoload-find-generated-file): New function.
9928 (generate-file-autoloads): Bind generated-autoload-file to
9929 buffer-file-name.
9869b3ae
SM
9930 (update-file-autoloads, update-directory-autoloads):
9931 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
9932 output file (Bug#7989).
9933 (batch-update-autoloads): Doc fix.
9934
0898ca10
JB
99352011-05-04 Juanma Barranquero <lekktu@gmail.com>
9936
9937 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9938
31dfb76c
GM
99392011-05-04 Glenn Morris <rgm@gnu.org>
9940
f330b642
GM
9941 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9942 function, so it follows changes in calendar-date-style.
9943 (diary-fancy-date-matcher): New function.
9944 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9945 (diary-fancy-font-lock-fontify-region-function):
9946 Use diary-fancy-date-pattern as a function.
9947
31dfb76c
GM
9948 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9949 non-numbers for `year' etc pseudo-variables. (Bug#8583)
9950
48e79d6a
TZ
99512011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
9952
9953 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
9954 instead of positional arguments. Allow :keylist and :crlfiles
9955 arguments.
9956 (open-gnutls-stream): Call it.
9957
9958 * net/network-stream.el (network-stream-open-starttls): Adjust to
9959 call `gnutls-negotiate' with :process and :hostname arguments.
9960
dd5a5ee0
SM
99612011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9962
ef80fc09
SM
9963 * minibuffer.el (completion--message): New function.
9964 (completion--do-completion, minibuffer-complete)
9965 (minibuffer-force-complete, minibuffer-complete-word): Use it.
9966 (completion--do-completion): Don't ignore completion-auto-help when in
9967 icomplete-mode.
9968
dd5a5ee0
SM
9969 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
9970 internal encoding (e.g. tibetan zero is not whitespace).
9971 (global-whitespace-mode): Prefer save-current-buffer.
9972 (whitespace-trailing-regexp): Remove useless save-match-data.
9973 (whitespace-empty-at-bob-regexp): Minor simplification.
9974
b7d22a83
CY
99752011-05-03 Chong Yidong <cyd@stupidchicken.com>
9976
9977 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9978
5192af46
AM
99792011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9980
9981 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 9982 Use `concat' to create string for insertion.
5192af46 9983
5767d190
SM
99842011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9985
9986 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
9987 Avoid open-line which runs post-self-insert-hook.
9988 (bibtex-fill-entry): Remove unused `end' var.
9989
bf242939
AM
99902011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
9991
5767d190
SM
9992 * textmodes/ispell.el (ispell-add-per-file-word-list):
9993 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 9994
25666126
LL
99952011-05-03 Leo Liu <sdl.web@gmail.com>
9996
9997 * isearch.el (isearch-yank-pop): New command.
5767d190 9998 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
9999 (isearch-forward): Mention it.
10000
52d3c2d0
SM
100012011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10002
1bcace58
SM
10003 * simple.el (minibuffer-complete-shell-command): Remove.
10004 (minibuffer-local-shell-command-map): Use completion-at-point.
10005 (read-shell-command): Setup completion vars here instead.
10006 (read-expression-map): Bind TAB to symbol completion.
10007
52d3c2d0
SM
10008 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10009 error directly rather via storing it into `results'.
10010
35813471
LL
100112011-05-02 Leo Liu <sdl.web@gmail.com>
10012
10013 * vc/diff.el: Fix description.
10014
e793a940
LMI
100152011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10016
10017 * server.el (server-eval-at): New function.
10018
8de66e05
LMI
100192011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10020
10021 * net/network-stream.el (open-network-stream): Take a :nowait
10022 parameter and pass it on to `make-network-process'.
10023 (network-stream-open-plain): Ditto.
10024
dcb79f20
AS
100252011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10026
10027 * faces.el (face-spec-set-match-display): Don't match toolkit
10028 options on terminal frames.
10029
14a7fbd8
SM
100302011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10031
7eabc1be
SM
10032 * progmodes/pascal.el: Use lexical binding.
10033 (pascal-mode-map): Remove author preferences.
10034
14a7fbd8
SM
10035 * pcomplete.el (pcomplete-std-complete): Don't abuse
10036 completion-at-point.
10037
50f84510
JB
100382011-04-28 Juanma Barranquero <lekktu@gmail.com>
10039
6e087a44
JB
10040 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10041 removing code that has been dead since 1991 or so.
10042
50f84510
JB
10043 * startup.el (command-line): When warning about "_emacs", use a
10044 delayed warning to allow the user to filter it out.
10045
0ba690bd
DD
100462011-04-28 Deniz Dogan <deniz@dogan.se>
10047
10048 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10049 user has not joined.
10050
08abfaad
SM
100512011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10052
10053 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10054 aren't any completions at point.
10055
638f053a
JB
100562011-04-28 Juanma Barranquero <lekktu@gmail.com>
10057
10058 * subr.el (display-delayed-warnings): New function.
10059 (delayed-warnings-hook): New variable.
10060
8fff8daa
SM
100612011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10062
08abfaad
SM
10063 * minibuffer.el (completion-at-point, completion-help-at-point):
10064 Don't presume that a given completion-at-point-function will always
10065 use the same calling convention.
10066
8fff8daa
SM
10067 * pcomplete.el (pcomplete-completions-at-point):
10068 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10069 pcomplete-seen is non-nil.
10070 (pcomplete-comint-setup): Also recognize the new comint/shell
10071 completion functions.
10072 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10073 pcomplete-seen is non-nil.
10074
841a1577 100752011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 10076
841a1577 10077 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 10078 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 10079 the first character in the entry. This allows for code to add its
211ec907
UJ
10080 own uid to the entry.
10081 (icalendar--convert-float-to-ical): Add export of
10082 `diary-float'-entries save for those with the optional DAY
10083 argument.
10084
2a782793
DC
100852011-04-27 Daniel Colascione <dan.colascione@gmail.com>
10086
10087 * subr.el (shell-quote-argument): Use alternate escaping strategy
10088 when we spot a variable reference in a string.
10089
0438ce91
DC
100902011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10091
10092 * cus-start.el (all): Define customization for debug-on-event.
10093
841a1577 100942011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
10095
10096 * subr.el (shell-quote-argument): Escape correctly under Windows.
10097
d090ed6c
SM
100982011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10099
10100 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10101
bfd31217
MA
101022011-04-25 Michael Albinus <michael.albinus@gmx.de>
10103
d090ed6c
SM
10104 * net/tramp.el (tramp-process-actions): Add POS argument.
10105 Delete region between POS and (pos).
bfd31217 10106
d090ed6c
SM
10107 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10108 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
10109 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10110
10111 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10112 position in `tramp-process-actions' call.
10113
10114 * net/trampver.el: Update release number.
10115
e92f3bd3
SM
101162011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10117
850256b5
SM
10118 * custom.el (defcustom): Obey lexical-binding.
10119
e92f3bd3
SM
10120 Fix octave-inf completion problems reported by Alexander Klimov.
10121 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10122 Inherit from octave-mode-syntax-table.
10123 (inferior-octave-mode): Set info-lookup-mode.
10124 (inferior-octave-completion-at-point): New function.
10125 (inferior-octave-complete): Use it and completion-in-region.
10126 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10127 comint-filename-completion.
10128 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10129 symbol elements which shouldn't be word elements.
10130 (octave-font-lock-keywords, octave-beginning-of-defun)
10131 (octave-function-header-regexp): Adjust regexps accordingly.
10132 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10133
cd22b309
JB
101342011-04-25 Juanma Barranquero <lekktu@gmail.com>
10135
10136 * net/gnutls.el (gnutls-errorp): Declare before first use.
10137
8b492194
TZ
101382011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10139
10140 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10141 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 10142 default trustfile exists before going to use it. Add missing
5a5fa834 10143 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
10144 Reported by Claudio Bley <claudio.bley@gmail.com>.
10145 (open-gnutls-stream): Add usage example.
10146
10147 * net/network-stream.el (network-stream-open-starttls): Give host
10148 parameter to `gnutls-negotiate'.
10149 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 10150 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 10151
841a1577 101522011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 10153
cd22b309
JB
10154 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10155 Use correct match group (bug#8438).
05842630 10156
3ba7869c
CY
101572011-04-24 Chong Yidong <cyd@stupidchicken.com>
10158
512e3ae1
CY
10159 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10160 (package-menu--generate): New arg specifying packages to show.
10161 (package-menu-refresh, package-menu-execute, list-packages):
10162 Callers changed.
10163 (package-show-package-list): New function, replacing deleted
10164 package--list-packages (renamed because it is non-internal).
10165
10166 * finder.el (finder-list-matches): Use package-show-package-list
10167 instead of deleted package--list-packages.
10168
e92f3bd3
SM
10169 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10170 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
10171 (vc-annotate-mode-map): Bind it to RET.
10172
7031be6d
UR
101732011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10174
10175 * progmodes/etags.el (next-file): Don't use set-buffer to change
10176 buffers (Bug#8478).
10177
4ef177aa
CY
101782011-04-24 Chong Yidong <cyd@stupidchicken.com>
10179
c8d173eb
CY
10180 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10181
4ef177aa
CY
10182 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10183 (apropos-accumulator): Doc fix.
10184 (apropos-function, apropos-macro, apropos-command)
10185 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10186 (apropos-plist): Add face property.
10187 (apropos-symbols-internal): Fix indentation.
10188 (apropos-print): Simplify help, and recognize apropos-multi-type.
10189 (apropos-print-doc): Use button-type-get to extract the button's
10190 face property. Fill docstring (Bug#8352).
10191
4ffd0d6b 101922011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
10193
10194 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10195
c6c32125 10196 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 10197 (mpuz-mode-map): Use mapc.
c6c32125
JB
10198 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10199 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10200 Fix typos in docstrings.
10201
58d468b4
JB
10202 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10203 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10204
6470c3c6
JB
10205 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10206
4ffd0d6b 102072011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
10208
10209 * minibuffer.el (completion--do-completion): Avoid the "Next char
10210 not unique" prompt if icomplete-mode is enabled (Bug#5849).
10211
3ad8bad0
CY
10212 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10213 mouse-2 into unread-command-events, it is interpreted correctly.
10214
71d73c9c 10215 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 10216 (image-toggle-display): Doc fix.
71d73c9c 10217
841a1577 102182011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 10219
4ffd0d6b
GM
10220 * textmodes/page.el (what-page): Use line-number-at-pos to
10221 calculate line number (Bug#6825).
6e1dbaa9 10222
c2fb1b60
JB
102232011-04-22 Juanma Barranquero <lekktu@gmail.com>
10224
10225 * eshell/esh-mode.el (find-tag-interactive): Declare function.
10226 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10227 Pass argument NO-DEFAULT to `find-tag-interactive'.
10228
e02f48d7
JB
102292011-04-22 Juanma Barranquero <lekktu@gmail.com>
10230
10231 Lexical-binding cleanup.
10232
10233 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10234 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10235 * progmodes/ada-prj.el (ada-prj-initialize-values)
10236 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10237 (ada-prj-show-value):
10238 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10239 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10240 (antlr-invalidate-context-cache, antlr-options-menu-filter)
10241 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10242 * progmodes/bug-reference.el (bug-reference-push-button):
10243 * progmodes/fortran.el (fortran-line-length):
10244 * progmodes/glasses.el (glasses-change):
10245 * progmodes/octave-mod.el (octave-fill-paragraph):
10246 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10247 (python-pdbtrack-grub-for-buffer, python-sentinel):
10248 * progmodes/sql.el (sql-save-connection):
10249 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10250 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10251 Mark unused parameters.
10252
10253 * progmodes/compile.el (compilation--flush-directory-cache)
10254 (compilation--flush-parse, compile-internal): Mark unused parameters.
10255 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10256 (compilation-next-error-function): Remove unused variable `timestamp'.
10257
10258 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10259 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10260
10261 * progmodes/dcl-mode.el (dcl-end-of-command):
10262 Remove unused variable `start'.
10263 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10264 (dcl-option-value-basic, dcl-option-value-offset)
10265 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10266 Mark unused parameters.
10267 (dcl-save-local-variable): Remove unused variable `val'.
10268 (mode): Declare.
10269
10270 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10271 Mark unused parameters.
10272 (delphi-ignore-changes): Move before first use.
10273 (delphi-charset-token-at): Remove unused variable `start'.
10274 (delphi-else-start): Remove unused variable `if-count'.
10275 (delphi-comment-block-start, delphi-comment-block-end):
10276 Remove unused variable `kind'.
10277 (delphi-indent-line): Remove unused variable `new-point'.
10278
10279 * progmodes/ebrowse.el (ebrowse-files-list)
10280 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10281 Mark unused parameters. Don't quote `lambda'.
10282 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10283 Don't quote `lambda'.
10284 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10285 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10286 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10287 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10288 Use `ignore-errors'.
10289 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10290 (ebrowse-view/find-file-and-search-pattern)
10291 (ebrowse-view/find-member-declaration/definition):
10292 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10293 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10294 Rename parameter PREFIX-ARG to PREFIX.
10295 (ebrowse-tags-read-name): Remove unused variables `start' and
10296 `member-info'.
10297 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10298 to `tags-file'.
10299
10300 * progmodes/etags.el (local-find-tag-hook): Declare.
10301 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10302 Mark unused parameters.
10303
10304 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10305 (executable-interpret): Mark unused parameter.
10306
10307 * progmodes/flymake.el (flymake-process-sentinel)
10308 (flymake-after-change-function)
10309 (flymake-create-temp-with-folder-structure)
10310 (flymake-get-include-dirs-dot): Mark unused parameters.
10311 (flymake-safe-delete-directory): Remove unused variable `err'.
10312
10313 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10314 (speedbar-timer-fn, speedbar-line-text)
10315 (speedbar-change-expand-button-char, speedbar-delete-subblock)
10316 (speedbar-center-buffer-smartly): Declare functions.
10317 (gdb-find-watch-expression): Remove unused variable `array'.
10318 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10319 (gdb-starting): Mark unused parameters.
10320 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10321 (gdb-table-string): Remove unused variable `res'.
10322 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10323 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10324 (gdb-display-buffer): Remove unused variable `cur-size'.
10325
10326 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10327 allow lexical-binding compilation.
10328 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10329 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10330 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10331 Mark unused parameters.
10332 (gud-gdb-marker-filter): Remove unused variable `match'.
10333 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10334 lambda expressions and funcall them, instead of using `fset'.
10335
10336 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10337 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10338
10339 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10340 variable `header-beg'; use `let'.
10341
10342 * progmodes/icon.el (indent-icon-exp): Remove unused variables
10343 `restart', `last-sexp' and `at-do'.
10344
10345 * progmodes/js.el (js--debug): Mark unused parameter.
10346 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10347 (js--splice-into-items): Remove unused variable `item'.
10348 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10349
10350 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10351 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10352 (makefile-complete): Remove unused variable `try'.
10353 (makefile-fill-paragraph, makefile-match-function-end):
10354 Mark unused parameters.
10355
10356 * progmodes/octave-inf.el (inferior-octave-complete):
10357 Remove unused variable `proc'.
10358 (inferior-octave-output-digest): Mark unused parameter.
10359
10360 * progmodes/perl-mode.el (perl-calculate-indent):
10361 Remove unused variable `err'.
10362
10363 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10364 (prolog-indent-line): Mark unused parameters.
10365 (prolog-indent-line): Remove unused variable `beg'.
10366
10367 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10368 (reporter-dont-compact-list): Declare.
10369
10370 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10371 Remove unused variable `char'.
10372 (sh-debug): Mark unused parameter.
10373 (sh-get-indent-info): Remove unused variable `start'.
10374 (sh-calculate-indent): Remove unused variable `var'.
10375
10376 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10377 (simula-electric-keyword): Remove unused variable `null'.
10378 (simula-search-backward, simula-search-forward): Remove unused
10379 variables `begin' and `end'.
10380
10381 * progmodes/vera-mode.el (vera-guess-basic-syntax):
10382 Remove unused variable `pos'.
10383 (vera-electric-tab, vera-comment-uncomment-region):
10384 Mark unused parameters.
10385 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10386
7ede3b65
CY
103872011-04-22 Chong Yidong <cyd@stupidchicken.com>
10388
10389 * emacs-lisp/package.el (package--builtins, package-alist)
10390 (package-load-descriptor, package-built-in-p, package-activate)
10391 (define-package, package-installed-p)
10392 (package-compute-transaction, package-buffer-info)
10393 (package--push): Doc fix. Distinguish more clearly between
10394 version strings and version lists.
10395
121656e9
JB
103962011-04-21 Juanma Barranquero <lekktu@gmail.com>
10397
10398 Lexical-binding cleanup.
10399
10400 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10401 (5x5-make-mutate-best):
10402 * play/fortune.el (fortune-in-buffer):
10403 * play/gomoku.el (gomoku-init-display):
10404 * play/solitaire.el (solitaire, solitaire-do-check):
10405 * play/tetris.el (tetris-default-update-speed-function):
10406 Mark unused parameters.
10407
10408 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10409 (bubbles--shift): Remove unused variable `char-org'.
10410 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
10411 (bubbles--show-images): Remove unused variable `char'.
10412
10413 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10414 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10415 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10416 (decipher-analyze-buffer): Use ?\s.
10417 (decipher-make-checkpoint): Remove unused variable `mapping'.
10418
10419 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10420
10421 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10422 Remove unused variable `result'; use `let'.
10423
10424 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10425 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10426 (gametree-children-shown-p, gametree-compute-reduced-score):
10427 Use `ignore-errors'.
10428
10429 * play/handwrite.el (ps-lpr-switches): Declare.
10430 (handwrite): Remove unused variables `pmin' and `lastp'.
10431
10432 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10433
10434 * play/landmark.el (landmark-init-display)
10435 (landmark-update-naught-weights): Mark unused parameters.
10436 (landmark-y): Remove unused variable `noise'. Simplify.
10437 (landmark-human-plays): Remove unused variable `score'.
10438
10439 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10440 (mpuz-try-proposal): Remove unused variable `game'.
10441
10442 * play/zone.el (life-patterns): Declare.
10443
80f499c7
JB
104442011-04-20 Juanma Barranquero <lekktu@gmail.com>
10445
10446 * vc/vc.el (ediff-vc-internal): Declare function.
10447
024ff170
SM
104482011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10449
c0a193ea
SM
10450 * shell.el: Use lexical-binding and std completion UI.
10451 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10452 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10453 comint-preoutput-filter-functions rather than on
10454 comint-output-filter-functions.
10455 (shell-command-completion, shell--command-completion-data)
10456 (shell-filename-completion, shell-environment-variable-completion)
10457 (shell-c-a-p-replace-by-expanded-directory): New functions.
10458 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10459 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10460 (shell-dynamic-complete-environment-variable): Use them.
10461 (shell-dynamic-complete-as-environment-variable)
10462 (shell-dynamic-complete-as-command): Remove.
10463 (shell-match-partial-variable): Match past point.
10464 * comint.el: Clean up use of completion-at-point-functions.
10465 (comint-completion-at-point): New function.
10466 (comint-mode): Use it completion-at-point-functions.
10467 (comint-dynamic-complete): Make it obsolete.
10468 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10469 (comint-c-a-p-replace-by-expanded-history): New function.
10470 (comint-dynamic-complete-functions)
10471 (comint-replace-by-expanded-history): Use it.
10472 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10473 termination strings. Try harder to avoid second try-completion.
10474 (completion-in-region-mode-map): Disable bindings that don't work yet.
10475
2dbaa080
SM
10476 * comint.el: Use lexical-binding. Require CL.
10477 (comint-dynamic-complete-functions): Use comint-filename-completion.
10478 (comint-completion-addsuffix): Tweak custom type.
10479 (comint-filename-completion, comint--common-suffix)
10480 (comint--common-quoted-suffix, comint--table-subvert)
10481 (comint--complete-file-name-data): New functions.
10482 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10483 (comint-dynamic-list-filename-completions): Use them.
10484 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 10485
2dbaa080
SM
10486 * minibuffer.el (completion-in-region-mode):
10487 Keep completion-in-region-mode--predicate global.
10488 (completion-in-region--postch):
10489 Assume completion-in-region-mode--predicate is not null.
10490
c79a6f38
SM
10491 * progmodes/flymake.el (flymake-start-syntax-check-process):
10492 Obey `dir'. Simplify.
10493
024ff170
SM
10494 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10495 we're in VC after all.
10496
1c6c854e
CS
104972011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10498
10499 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 10500 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
10501 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10502
bed7f140
SM
105032011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10504
332e62ab
SM
10505 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10506 add sanity check.
10507
bed7f140
SM
10508 * obsolete/erc-hecomplete.el: Make obsolete.
10509 * obsolete/: Standardize obsolescence info in the header.
10510
f195c582
GM
105112011-04-20 Glenn Morris <rgm@gnu.org>
10512
10513 * calendar/solar.el (solar-horizontal-coordinates):
10514 Use the longitude argument rather than `calendar-longitude'.
10515 (solar-date-next-longitude): Remove unused locals.
10516
cb79b8c0
VJL
105172011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10518
10519 * whitespace.el: New version 13.2.1.
10520
105212011-04-20 felix <EmacsWiki> (tiny change)
10522
d8e4b68b 10523 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
10524 switching between major modes on a file.
10525
602ea69d
SM
105262011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10527
10528 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10529 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10530 multi-line comments as well.
10531
06b60517
JB
105322011-04-19 Juanma Barranquero <lekktu@gmail.com>
10533
10534 Lexical-binding cleanup.
10535
10536 * arc-mode.el (archive-mode-revert):
10537 * cmuscheme.el (scheme-interactively-start-process):
10538 * custom.el (custom-initialize-delay):
10539 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10540 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10541 * emacs-lock.el (emacs-lock-clear-sentinel):
10542 * ezimage.el (defezimage):
10543 * follow.el (follow-avoid-tail-recenter):
10544 * fringe.el (set-fringe-mode-1):
10545 * generic-x.el (bat-generic-mode-compile):
10546 * help-mode.el (help-info-variable, help-do-xref)
10547 (help-mode-revert-buffer):
10548 * help.el (view-emacs-todo):
10549 * iswitchb.el (iswitchb-completion-help):
10550 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10551 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10552 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10553 * locate.el (locate-update):
10554 * longlines.el (longlines-encode-region)
10555 (longlines-after-change-function):
10556 * outline.el (outline-isearch-open-invisible):
10557 * ps-def.el (declare-function, charset-dimension, char-width)
10558 (encode-char):
10559 * ps-mule.el (ps-mule-plot-string):
10560 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10561 (recentf-edit-list-select, recentf-edit-list-validate)
10562 (recentf-open-files-action):
10563 * rect.el (delete-whitespace-rectangle-line)
10564 (rectangle-number-line-callback):
10565 * register.el (window-configuration-to-register)
10566 (frame-configuration-to-register):
10567 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10568 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10569 (xselect-convert-to-targets, xselect-convert-to-delete)
10570 (xselect-convert-to-filename, xselect-convert-to-charpos)
10571 (xselect-convert-to-lineno, xselect-convert-to-colno)
10572 (xselect-convert-to-os, xselect-convert-to-host)
10573 (xselect-convert-to-user, xselect-convert-to-class)
10574 (xselect-convert-to-name, xselect-convert-to-integer)
10575 (xselect-convert-to-atom, xselect-convert-to-identity):
10576 * subr.el (declare, ignore, process-kill-without-query)
10577 (text-clone-maintain):
10578 * terminal.el (te-get-char, te-tic-sentinel):
10579 * tool-bar.el (tool-bar-make-keymap):
10580 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10581 * type-break.el (type-break-mode, type-break-noninteractive-query):
10582 * view.el (View-back-to-mark):
10583 * wid-browse.el (widget-browse-action, widget-browse-widget)
10584 (widget-browse-widgets, widget-browse-sexp):
10585 * widget.el (define-widget-keywords):
10586 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10587 Mark unused parameters.
10588
10589 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10590 (align-areas): Remove unused variable `look'.
10591 (align-region): Remove unused variables `real-end' and `pos-list'.
10592
10593 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10594
10595 * bindings.el (mode-line-modified, mode-line-remote):
10596 Mark unused parameters.
10597 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10598
10599 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10600 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10601
10602 * comint.el (comint-history-isearch-pop-state)
10603 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10604 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10605 (comint-substitute-in-file-name): Doc fix.
10606
10607 * completion.el (cmpl-statistics-block): Mark unused parameter.
10608 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10609 (save-completions-to-file, load-completions-from-file):
10610 Remove unused local variable `e'.
10611
10612 * composite.el (compose-chars): Remove unused variable `len'.
10613 (lgstring-insert-glyph): Remove unused variable `g'.
10614 (compose-glyph-string): Remove unused variables `ascent',
10615 `descent', `lbearing' and `rbearing'.
10616 (compose-glyph-string-relative): Remove unused variables
10617 `lbearing', `rbearing' and `wadjust'.
10618 (compose-gstring-for-graphic): Remove unused variables `header',
10619 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10620 (compose-gstring-for-terminal): Remove unused variables `header'
10621 and `nchars'. Use `let', not `let*'.
10622
10623 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10624 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10625 (Custom-buffer-done, custom-buffer-create-internal)
10626 (custom-browse-visibility-action, custom-browse-group-tag-action)
10627 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10628 (widget-magic-mouse-down-action, custom-toggle-parent)
10629 (custom-add-parent-links, custom-toggle-hide-variable)
10630 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10631 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10632 (custom-face-menu-create, custom-variable-menu-create, get)
10633 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10634 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10635 (customize-apropos): Remove unused variable `tests'.
10636 (custom-group-value-create): Remove unused variable `hidden-p'.
10637 (sort-fold-case): Declare.
10638
10639 * cus-theme.el (custom-reset-standard-faces-list)
10640 (custom-reset-standard-variables-list): Declare.
10641 (customize-create-theme, custom-theme-revert, custom-theme-write)
10642 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10643 Mark unused parameters.
10644
10645 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10646
10647 * delim-col.el (delimit-columns-max): Move defvar before first use.
10648
10649 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 10650 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
10651
10652 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10653 (auto-insert): Declare.
10654 (desktop-restore-file-buffer): Rename desktop-* parameters;
10655 mark unused ones.
10656 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10657 (desktop-buffer): Rename desktop-* parameters.
10658
10659 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10660 (dframe-reposition-frame-xemacs, dframe-help-echo)
10661 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10662 Mark unused parameters.
10663
10664 * dired-aux.el (backup-extract-version-start, overwrite-query)
10665 (overwrite-backup-query, rename-regexp-query)
10666 (rename-non-directory-query): Declare.
10667 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10668 (dired-add-entry): Remove unused variable `orig-file-name'.
10669 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10670 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10671 `dired-copy-preserve-time' directly.
10672 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10673 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10674
10675 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10676 (dired-virtual-revert, dired-make-relative-symlink):
10677 Mark unused parameters.
10678 (manual-program): Declare.
10679 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10680 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10681 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10682
10683 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10684
10685 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10686
10687 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10688 Declare.
10689
10690 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10691
10692 * electric.el (Electric-command-loop): Rename parameter
10693 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10694
10695 * expand.el (expand-in-literal): Remove unused variable `here'.
10696
10697 * facemenu.el (facemenu-add-new-color):
10698 Remove unused variable `docstring'.
10699
10700 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10701 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10702 (face-attr-construct): Mark unused parameter. Doc fix.
10703 (read-color): Remove unused variable `hex-string'.
10704
10705 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10706 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10707 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10708 (display-buffer-other-frame): Remove unused variable `old-window'.
10709 (kill-buffer-hook): Declare.
10710 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10711 Mark unused parameters.
10712 (after-find-file): Pass 1 to `auto-save-mode', not t.
10713
10714 * files-x.el (auto-insert): Declare.
10715 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10716
10717 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 10718 variable `buf'. Mark unused parameter.
06b60517
JB
10719 (find-lisp-insert-directory): Mark unused parameter.
10720
10721 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10722 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10723 (format-common-tail): Remove, unused.
10724 (format-deannotate-region): Remove unused variable `loc'.
10725 (format-annotate-region): Remove unused variable `p'.
10726 (format-annotate-single-property-change): Remove unused variables
10727 `default' and `tail'.
10728
10729 * forms.el (read-file-filter): Declare.
10730 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10731
10732 * frame.el (frame-creation-function-alist): Mark unused parameter.
10733 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10734
10735 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10736 Remove unused parameters.
10737 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10738 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10739
10740 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10741 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10742 (hfy-prepare-tag-map): Mark unused parameters.
10743 (htmlfontify-buffer): Use `called-interactively-p'.
10744
10745 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10746 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10747 (ibuffer-do-occur): Mark unused parameters.
10748 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10749 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10750
10751 * ibuffer.el: Don't quote `lambda'.
10752 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10753 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10754 Mark unused parameters.
10755
10756 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10757 (ido-completing-read): Mark unused parameters.
10758 (ido-copy-current-word): Mark unused parameters;
10759 remove unused variable `name'.
10760 (ido-sort-merged-list): Remove unused parameter `dirs'.
10761
10762 * ielm.el (ielm-input-sender): Mark unused parameter.
10763 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10764 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10765 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10766 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10767 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10768
10769 * image-dired.el (image-dired-display-thumbs): Remove unused
10770 variables `curr-file' and `count'.
10771 (image-dired-remove-tag): Remove unused variable `start'.
10772 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10773 variable `curr-file'
10774 (image-dired-rotate-original): Remove unused variable `temp-file'.
10775 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10776 Remove unused variable `file'.
10777 (image-dired-gallery-generate): Remove unused variable `curr'.
10778 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10779
10780 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10781
10782 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10783
10784 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10785
10786 * isearch.el (minibuffer-history-symbol): Declare.
10787 (isearch-edit-string): Remove unused variable `err'.
10788 (isearch-message-prefix, isearch-message-suffix):
10789 Mark unused parameters.
10790
10791 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10792
10793 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10794
10795 * makesum.el (double-column): Remove unused variable `cnt'.
10796
10797 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10798 (ido-ignore-item-temp-list): Declare.
10799
10800 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10801 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10802 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10803 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10804 `mouse-col-delta'.
10805
10806 * mouse-sel.el (mouse-extend-internal):
10807 Remove unused variable `orig-window-frame'.
10808
10809 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10810 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10811 Move declarations before first use.
10812 (pcomplete-opt): Mark unused parameters; doc fix.
10813
10814 * proced.el (proced-revert): Mark unused parameter.
10815 (proced-send-signal): Remove unused variable `err'.
10816
10817 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10818 Rename parameter PREFIX-ARG to ARG.
10819 (ps-basic-plot-string, ps-basic-plot-whitespace):
10820 Mark unused parameters.
10821
10822 * replace.el (replace-count): Define.
10823 (occur-revert-function): Mark unused parameters.
10824 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10825 (isearch-case-fold-search, isearch-string): Declare.
10826 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10827 bind `case-fold-search'. Remove unused variables `beg' and `end',
10828 and simplify.
10829 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10830 COUNT and bind `replace-count'.
10831 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10832 to COUNT.
10833
10834 * savehist.el (print-readably, print-string-length): Declare.
10835
10836 * shadowfile.el (shadow-expand-cluster-in-file-name):
10837 Remove unused variable `cluster'.
10838 (shadow-copy-file): Remove unused variable `i'.
10839 (shadow-noquery, shadow-clusters, shadow-site-cluster)
10840 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10841 (shadow-define-literal-group, shadow-define-regexp-group)
10842 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10843
10844 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10845 (shell): Use `called-interactively-p'.
10846 (shell-directory-tracker): Remove unused variable `chdir-failure'.
10847
10848 * simple.el (compilation-context-lines, comint-file-name-quote-list)
10849 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10850 (delete-backward-char): Remove unused variable `ocol'.
10851 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10852 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10853 (event-apply-hyper-modifier, event-apply-shift-modifier)
10854 (event-apply-control-modifier, event-apply-meta-modifier):
10855 Mark unused parameters.
10856 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10857 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10858
10859 * speedbar.el (speedbar-ignored-directory-expressions)
10860 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10861 (speedbar-find-file, speedbar-dir-follow)
10862 (speedbar-directory-buttons-follow, speedbar-tag-find)
10863 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10864 (speedbar-buffers-line-directory, speedbar-buffer-click):
10865 Mark unused parameters.
10866 (speedbar-tag-file): Remove unused variable `mode'.
10867 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10868
10869 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10870
10871 * talk.el (talk): Remove unused variable `display'.
10872
10873 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10874 (tar-write-region-annotate): Mark unused parameter.
10875
10876 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10877 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10878 Declare them, wrapped in `with-no-warnings' to avoid replacing one
10879 warning by another.
10880
10881 * time-stamp.el (time-stamp-string-preprocess):
10882 Remove unused variable `require-padding'.
10883
10884 * tree-widget.el (widget-glyph-enable): Declare.
10885 (tree-widget-action): Mark unused parameter.
10886
10887 * w32-fns.el (x-get-selection): Mark unused parameter.
10888 (autoload-make-program, generated-autoload-file): Declare.
10889
10890 * wdired.el (wdired-revert): Mark unused parameters.
10891 (wdired-xcase-word): Remove unused variable `err'.
10892
10893 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10894 (whitespace-help-scroll): Remove unused variable `data-help'.
10895
10896 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10897 (widget-image-insert, widget-after-change, default)
10898 (widget-default-format-handler, widget-default-notify)
10899 (widget-default-prompt-value, widget-info-link-action)
10900 (widget-url-link-action, widget-function-link-action)
10901 (widget-variable-link-action, widget-file-link-action)
10902 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10903 (widget-field-prompt-internal, widget-field-action, widget-field-match)
10904 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10905 (widget-insert-button-action, widget-delete-button-action, visibility)
10906 (widget-documentation-link-action, widget-documentation-string-action)
10907 (widget-const-prompt-value, widget-regexp-match, symbol)
10908 (widget-coding-system-prompt-value)
10909 (widget-key-sequence-value-to-external, sexp)
10910 (widget-sexp-value-to-internal, character, vector, cons)
10911 (widget-choice-prompt-value, widget-boolean-prompt-value)
10912 (widget-color--choose-action): Mark unused parameters.
10913 (widget-item-match-inline, widget-choice-match-inline)
10914 (widget-checklist-match, widget-checklist-match-inline)
10915 (widget-group-match): Rename parameter VALUES to VALS.
10916 (widget-field-value-set): Remove unused variable `size'.
10917 (widget-color-action): Remove unused variables `value' and `start'.
10918
10919 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 10920 variable `dir'. Doc fix.
06b60517
JB
10921 (windmove-find-other-window): Don't pass it.
10922
10923 * window.el (count-windows): Mark unused parameter.
10924 (bw-adjust-window): Remove unused variable `err'.
10925
10926 * woman.el (woman-file-name): Remove unused variable `default'.
10927 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10928 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10929 (global-font-lock-mode): Declare.
10930 (woman-decode-region): Mark unused parameter.
10931 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10932
10933 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10934 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10935 (x-dnd-handle-moz-url): Remove unused variable `title'.
10936 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10937
10938 * xml.el (xml-parse-tag, xml-parse-attlist):
10939 Remove unused variable `pos'.
10940
bc4f7f3d
GM
109412011-04-19 Glenn Morris <rgm@gnu.org>
10942
10943 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10944 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10945 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10946 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10947 * calendar/cal-html.el (cal-html-insert-minical):
10948 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10949 (calendar-mark-date-pattern):
10950 Prefix "unused" locals.
10951
10952 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10953 optional argument `style'.
10954
10955 * calendar/appt.el (appt-make-list):
10956 * calendar/cal-china.el (calendar-chinese-date-string):
10957 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
10958 (diary-hebrew-yahrzeit):
10959 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
10960 * calendar/calendar.el (calendar-generate-window):
10961 * calendar/time-date.el (time-to-days):
10962 Remove unused local variables.
10963
16a43933
CY
109642011-04-18 Chong Yidong <cyd@stupidchicken.com>
10965
10966 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
10967 glyphless-char-display table.
10968 (tabulated-list-glyphless-char-display): New var.
10969
7eed1860
SS
109702011-04-18 Sam Steingold <sds@gnu.org>
10971
10972 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10973 to acknowledgments.
10974
4d2d1ccd
GM
109752011-04-17 Glenn Morris <rgm@gnu.org>
10976
10977 * calendar/diary-lib.el (diary-sexp-entry):
10978 * calendar/holidays.el (holiday-sexp):
10979 Set debug-on-error rather than the removed stack-trace-on-error.
10980
239da61d
GM
109812011-04-16 Glenn Morris <rgm@gnu.org>
10982
10983 * progmodes/f90.el: Use lexical-binding.
10984 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
10985
8b05752a
SM
109862011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10987
daca8ba5
SM
10988 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
10989 (mail-mode): Setup mailalias completion here instead.
10990 * mail/mailalias.el: Use lexical-binding.
10991 (pattern, mailalias-done): Declare dynamic.
10992 (mail-completion-at-point-function): New function, from mail-complete.
10993 (mail-complete): Use it.
10994 (mail-completion-expand): New function.
10995 (mail-get-names): Use it.
10996 (mail-directory, mail-directory-process, mail-directory-stream):
10997 Don't use `pattern' for lexically bound arg.
10998
6f542485
SM
10999 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11000
037e7c3f
SM
11001 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11002 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11003 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11004
8b05752a
SM
11005 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11006 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11007 (byte-interactive-p): Define them again, for use when inlining
11008 old code.
11009
49093f60
JB
110102011-04-15 Juanma Barranquero <lekktu@gmail.com>
11011
11012 * loadup.el: Use `string-to-number', not `string-to-int'.
11013
b5b8e7de
SM
110142011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11015
11016 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11017 gud-gdb-complete-command.
11018 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11019 (gud-gdb-completion-at-point): New function.
11020 (gud-gdb-completions): Remove.
11021
f42efeb5
MA
110222011-04-14 Michael Albinus <michael.albinus@gmx.de>
11023
49093f60
JB
11024 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11025 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11026 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11027 whether `executable-find' is bound.
f42efeb5
MA
11028
11029 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11030
e240cc21
SM
110312011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11032
11033 * minibuffer.el (completion-in-region-mode-predicate)
11034 (completion-in-region-mode--predicate): New vars.
11035 (completion-in-region, completion-in-region--postch)
11036 (completion-in-region-mode): Use them.
11037 (completion--capf-wrapper): Also return the hook function.
11038 (completion-at-point, completion-help-at-point):
11039 Adjust and provide a predicate.
c2bd2ab0
SM
11040
11041 Preserve arg names for advice of subr and lexical functions (bug#8457).
11042 * help-fns.el (help-function-arglist): Consolidate the subr and
11043 new-byte-code cases. Add argument `preserve-names' to extract names
11044 from the docstring when needed.
11045 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11046 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11047 (ad-arglist): Use help-function-arglist's new arg.
11048 (ad-definition-type): Use cond.
11049
c183f693
JB
110502011-04-13 Juanma Barranquero <lekktu@gmail.com>
11051
06641a47
JB
11052 * autorevert.el (auto-revert-handler):
11053 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11054 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11055 Don't quote lambda.
11056
c183f693
JB
11057 * image-mode.el (image-transform-set-scale):
11058 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11059
1e3b6001
G
110602011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11061
11062 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 11063 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
11064 Upgrades via gnutls-cli are too slow to be done opportunistically.
11065
2d6af8dd
JB
110662011-04-12 Juanma Barranquero <lekktu@gmail.com>
11067
11068 * dframe.el (dframe-current-frame): Remove spurious quote.
11069
c0749a51
GM
110702011-04-12 Glenn Morris <rgm@gnu.org>
11071
088d0d61
GM
11072 * calendar/cal-tex.el (cal-tex-end-document):
11073 Try to automatically use latin1 input if needed.
11074
c0749a51
GM
11075 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11076 Don't try to cons a mark onto an empty element.
11077
5c90fde0
LL
110782011-04-11 Leo Liu <sdl.web@gmail.com>
11079
11080 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11081 buffers.
11082 (ido-kill-buffer-at-head): Support killing virtual buffers.
11083
369e974d
CY
110842011-04-10 Chong Yidong <cyd@stupidchicken.com>
11085
11086 * minibuffer.el (completion-show-inline-help): New var.
11087 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
11088 (minibuffer-force-complete, minibuffer-complete-word):
11089 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
11090
11091 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11092 to avoid interference from inline help (Bug#5849).
11093
37f1c930
LL
110942011-04-10 Leo Liu <sdl.web@gmail.com>
11095
099c39a4
JB
11096 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11097 Fix typo.
37f1c930 11098
a32d4040
CY
110992011-04-09 Chong Yidong <cyd@stupidchicken.com>
11100
11101 * image-mode.el (image-toggle-display-image): Signal an error if
11102 not in Image mode.
11103 (image-transform-mode, image-transform-resize)
11104 (image-transform-set-rotation): Doc fix.
daca8ba5 11105 (image-transform-set-resize): Delete.
a32d4040
CY
11106 (image-transform-set-scale, image-transform-fit-to-height)
11107 (image-transform-fit-to-width): Handle image-toggle-display-image
11108 and image-transform-resize directly.
11109
099c39a4 111102011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
11111
11112 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
11113 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11114 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
11115 (doc-view-mode-map): Add bindings for the new functions.
11116
099c39a4 111172011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 11118
4d61f28d 11119 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
11120 Fix typo in docstring.
11121
3726838a
EZ
111222011-04-08 Eli Zaretskii <eliz@gnu.org>
11123
04f33f1e
EZ
11124 * files.el (file-size-human-readable): Produce one digit after
11125 decimal, like "ls -lh" does.
11126
11127 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11128 the file size representation.
11129
3726838a
EZ
11130 * simple.el (list-processes): If async subprocesses are not
11131 available, error out with a clear error message.
11132
cbb59342
CY
111332011-04-08 Chong Yidong <cyd@stupidchicken.com>
11134
11135 * help.el (help-form-show): New function, to be called from C.
11136 Put help-form output in a buffer named differently than *Help*.
11137
e3971c44
EZ
111382011-04-08 Eli Zaretskii <eliz@gnu.org>
11139
11140 * files.el (file-size-human-readable): New function.
11141
11142 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11143 computing the representation inline. Don't require `cl'.
11144
12544bbe
GM
111452011-04-08 Glenn Morris <rgm@gnu.org>
11146
a1de6c6a
GM
11147 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11148
3c4671f4
GM
11149 * net/browse-url.el (browse-url-firefox):
11150 Test system-type, not system-configuration.
11151
b605679c
GM
11152 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11153 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11154 Use log-edit-empty-buffer-p. (Bug#7598)
11155
56442f0c
GM
11156 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11157 (rlogin-mode-map): Initialize in the defvar.
11158 (rlogin): Use ignore-errors.
11159
12544bbe
GM
11160 * replace.el (occur-mode-map): Some fixes for menu items.
11161
eb237b0f
AH
111622011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11163
11164 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
11165
7d668f2c
CY
111662011-04-06 Chong Yidong <cyd@stupidchicken.com>
11167
e67a13ab
CY
11168 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11169 issuing unused warnings.
11170
11171 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11172 macro directly.
11173
7d668f2c
CY
11174 * simple.el: Lisp reimplement of list-processes. Based on an
11175 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11176 (process-menu-mode): New major mode.
11177 (list-processes--refresh, list-processes):
11178 (process-menu-visit-buffer): New functions.
11179
11180 * files.el (save-buffers-kill-emacs): Don't assume any return
11181 value of list-processes, which is undocumented anyway.
11182
a83ec3c9
CY
111832011-04-06 Chong Yidong <cyd@stupidchicken.com>
11184
11185 * emacs-lisp/tabulated-list.el: New file.
11186
e91a96fe
CY
11187 * emacs-lisp/package.el: Use Tabulated List mode.
11188 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11189 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11190 table format using Tabulated List mode variables.
11191 (package--push): New macro, replacing package-list-maybe-add.
11192 (package-menu--generate): Use package--push. Renamed from
11193 package--generate-package-list.
11194 (package-menu-refresh, list-packages): Use it.
daca8ba5 11195 (package-menu--print-info): Rename from package-print-package.
e91a96fe 11196 Return insertion data instead of inserting it directly.
099c39a4
JB
11197 (package-menu-describe-package, package-menu-execute):
11198 Use tabulated-list-get-id.
e91a96fe
CY
11199 (package-menu-mark-delete, package-menu-mark-install)
11200 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
11201 (package-menu-mark-obsolete-for-deletion):
11202 Use tabulated-list-put-tag.
e91a96fe
CY
11203 (package--list-packages, package-menu-revert)
11204 (package-menu-get-package, package-menu-get-version)
11205 (package-menu-sort-by-column): Functions deleted.
11206 (package-menu-package-list, package-menu-sort-key): Vars deleted.
11207 (package-menu--status-predicate, package-menu--version-predicate)
11208 (package-menu--name-predicate)
11209 (package-menu--description-predicate): Handle arguments in the
11210 Tabulated List format.
11211 (package-list-packages-no-fetch): Call list-packages.
11212
3e214b50
JB
112132011-04-06 Juanma Barranquero <lekktu@gmail.com>
11214
11215 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 11216 (after-find-file): Don't bind it.
3e214b50
JB
11217 (revert-buffer-in-progress-p): New variable.
11218 (revert-buffer): Bind it.
11219 Pass nil for `after-find-file-from-revert-buffer'.
11220
11221 * saveplace.el (save-place-find-file-hook): Use new variable
11222 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11223
3f0f1700
GM
112242011-04-06 Glenn Morris <rgm@gnu.org>
11225
c0274801
GM
11226 * Makefile.in (AUTOGEN_VCS): New variable.
11227 (autoloads): Use $AUTOGEN_VCS.
11228
3f0f1700
GM
11229 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11230 * calendar/calendar.el (calendar-mode-map):
11231 Check for toolkit scroll bars. (Bug#8305)
11232
41ea9e48
CY
112332011-04-05 Chong Yidong <cyd@stupidchicken.com>
11234
11235 * minibuffer.el (completion-in-region--postch)
11236 (completion-in-region-mode): Remove unnecessary messages.
11237
6194c800
JB
112382011-04-05 Juanma Barranquero <lekktu@gmail.com>
11239
33256f14
JB
11240 * font-lock.el (font-lock-refresh-defaults):
11241 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11242 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11243
6194c800
JB
11244 * info.el (Info-directory-list, Info-read-node-name-2)
11245 (Info-split-parameter-string): Doc fixes.
11246 (Info-virtual-nodes): Reflow docstring.
11247 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11248 (Info-apropos-toc-nodes, info-finder, Info-get-token)
11249 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11250 Fix typos in docstrings.
11251 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11252 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11253 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11254 (Info-restore-desktop-buffer): Mark unused parameters.
11255 (Info-directory-find-file, Info-directory-find-node)
11256 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11257 (Info-virtual-index-find-node, Info-apropos-find-file)
11258 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 11259 Mark unused parameters; fix typos in docstrings.
6194c800
JB
11260 (Info-virtual-index): Remove unused local variable `nodename'.
11261
b87a8200 112622011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 11263
b87a8200
DD
11264 * net/rcirc.el: Update my e-mail address.
11265 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 11266
3b2ff876
CY
112672011-04-05 Chong Yidong <cyd@stupidchicken.com>
11268
11269 * startup.el (command-line): Save the cursor's theme-face
11270 directly, instead of using face-override-spec.
11271
11272 * custom.el (load-theme): Minor optimization in assigning faces.
11273
8d17e7ca
JB
112742011-04-04 Juanma Barranquero <lekktu@gmail.com>
11275
11276 * help-fns.el (describe-variable): Complete all variables having
11277 documentation, including keywords.
11278 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11279
2fbc1934
JB
112802011-04-04 Juanma Barranquero <lekktu@gmail.com>
11281
11282 Convert to lexical-binding.
11283
11284 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11285 (bs--get-marked-string, bs--get-modified-string)
11286 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11287 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11288 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11289
11290 * ehelp.el (electric-help-execute-extended)
11291 (electric-help-ctrl-x-prefix):
11292 * hexl.el (hexl-revert-buffer-function):
11293 * linum.el (linum-after-change, linum-after-scroll):
11294 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11295
11296 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11297
74f50695
DU
112982011-04-04 Daiki Ueno <ueno@unixuser.org>
11299
11300 * epa-dired.el:
11301 * epa-mail.el:
11302 * epa-hook.el:
11303 * epa-file.el:
11304 * epa.el:
11305 * epg.el: Use lexical binding.
11306
c11325f7
CY
113072011-04-03 Chong Yidong <cyd@stupidchicken.com>
11308
0d9e9a12
CY
11309 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11310
c11325f7 11311 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
11312 dictionary case for flyspell-mark-duplications-exceptions.
11313 Use regexp matching for languages.
c11325f7
CY
11314 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11315 default dictionary (Bug#7926).
11316
da91b5f2
CY
113172011-04-02 Chong Yidong <cyd@stupidchicken.com>
11318
099c39a4
JB
11319 * emacs-lisp/package.el (package--with-work-buffer):
11320 Recognize https URLs.
da91b5f2 11321
099c39a4
JB
11322 * net/network-stream.el: Move from gnus/proto-stream.el.
11323 Change prefix to network-stream throughout.
da91b5f2
CY
11324 (open-protocol-stream): Merge into open-network-stream, leaving
11325 open-protocol-stream as an alias. Handle nil BUFFER args.
11326
11327 * subr.el (open-network-stream): Move to net/network-stream.el.
11328
afa8e9f6
GM
113292011-04-02 Glenn Morris <rgm@gnu.org>
11330
1d2e369d
GM
11331 * find-dired.el (find-exec-terminator): New option.
11332 (find-ls-option): Test for -ls support.
11333 (find-ls-subdir-switches): Test for -b in find-ls-option.
11334 (find-dired, find-grep-dired): Doc fixes.
11335 (find-dired): Use find-exec-terminator.
11336
8abb7da8 11337 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
11338 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11339 (find-name-arg): Remove purecopy.
8abb7da8 11340
f3ca7378
GM
11341 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11342 (grep-compute-defaults): Check for `-exec COMMAND +' support.
11343 Set grep-find-use-xargs, grep-find-command, and grep-find-template
11344 accordingly. Don't add the null-device if not needed.
11345
afa8e9f6
GM
11346 * files.el (save-some-buffers): Doc fix.
11347
35eae264
EZ
113482011-04-02 Eli Zaretskii <eliz@gnu.org>
11349
11350 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11351
26b51db5
JB
113522011-04-01 Juanma Barranquero <lekktu@gmail.com>
11353
11354 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11355 Use `dolist' rather than `mapcar'.
11356
7200d79c
SM
113572011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11358
03408648 11359 Add lexical binding.
7200d79c 11360
03408648
SM
11361 * subr.el (apply-partially): Use new closures rather than CL.
11362 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11363 (dolist, dotimes): Use slightly different expansion for lexical code.
11364 (functionp): Move to C.
11365 (letrec): New macro.
11366 (with-wrapper-hook): Use it and apply-partially instead of CL.
11367 (eval-after-load): Preserve lexical-binding.
11368 (save-window-excursion, with-output-to-temp-buffer): Turn them
11369 into macros.
7200d79c 11370
03408648
SM
11371 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11372
11373 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11374 than the arglist.
11375 (help-add-fundoc-usage): Don't add `Not documented'.
11376 (help-function-arglist): Handle closures, subroutines, and new
11377 byte-code-functions.
11378 (help-make-usage): Remove leading underscores.
11379 (describe-function-1): Handle closures.
11380 (describe-variable): Use special-variable-p for completion.
11381
11382 * files.el (lexical-binding): Declare safe.
f488fb65 11383
03408648
SM
11384 * emacs-lisp/pcase.el: Don't use destructuring-bind.
11385 (pcase--memoize): Rename from pcase-memoize. Change weakness.
11386 (pcase): Add `let' pattern.
11387 Change memoization so it actually works.
11388 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11389 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11390 <let>: New case.
f488fb65 11391
03408648
SM
11392 * emacs-lisp/macroexp.el: Use lexical binding.
11393 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
11394 Don't convert ' to #' without checking that it's indeed quoting
11395 a lambda.
11396
11397 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 11398 Use eval-sexp-add-defvars.
03408648
SM
11399 (eval-sexp-add-defvars): New fun.
11400
11401 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11402
11403 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11404 Don't autoload.
11405 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11406 than the internal `byte-compile-lambda'.
11407 (defmethod): Don't hide code under quotes.
11408 (eieio-defmethod): New `code' argument.
11409
11410 * emacs-lisp/eieio-comp.el: Remove.
11411
11412 * emacs-lisp/edebug.el (edebug-eval-defun)
11413 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11414 (edebug-toggle): Avoid `eval'.
11415
11416 * emacs-lisp/disass.el (disassemble-internal): Handle new
11417 `closure' objects.
11418 (disassemble-1): Handle new byte codes.
11419
11420 * emacs-lisp/cl.el (pushnew): Silence warning.
11421
11422 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11423 (cl-byte-compile-throw): Remove.
11424 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11425
11426 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11427 closures.
11428
11429 * emacs-lisp/cconv.el: New file.
11430
11431 * emacs-lisp/bytecomp.el: Use lexical binding instead of
11432 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
11433 (byte-compile-initial-macro-environment):
11434 Handle declare-function here.
11435 (byte-compile--lexical-environment): New var.
11436 (byte-stack-ref, byte-stack-set, byte-discardN)
11437 (byte-discardN-preserve-tos): New lap codes.
11438 (byte-interactive-p): Don't use any more.
11439 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11440 New macros.
11441 (byte-compile-lapcode): Use them and handle new lap codes.
11442 (byte-compile-obsolete): Remove.
11443 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11444 (byte-compile-arglist-warn): Check late def of inlinable funs.
11445 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11446 since they should have been expanded by now.
11447 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11448 (byte-compile-from-buffer): Remove unused second arg.
11449 (byte-compile-preprocess): New function.
11450 (byte-compile-toplevel-file-form): New function to distinguish
11451 file-form calls from outside from file-form calls from hunk-handlers.
11452 (byte-compile-file-form): Simplify.
11453 (byte-compile-file-form-defsubst): Remove.
11454 (byte-compile-file-form-defmumble): Simplify now that
11455 byte-compile-lambda always returns a byte-code-function.
11456 (byte-compile): Preprocess.
11457 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11458 Remove, not used any more.
11459 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11460 (byte-compile-make-args-desc): New funs.
11461 (byte-compile-lambda): Handle lexical functions. Always return
11462 a byte-code-function.
11463 (byte-compile-reserved-constants): New var, to make up room for
11464 closed-over variables.
11465 (byte-compile-constants-vector): Obey it.
11466 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11467 (byte-compile-macroexpand-declare-function): New function.
11468 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11469 byte-code-functions.
11470 (byte-compile-form): Check obsolescence here.
11471 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11472 (byte-compile-variable-ref): Remove.
11473 (byte-compile-dynamic-variable-op): New fun.
11474 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11475 (byte-compile-variable-set): New funs.
11476 (byte-compile-discard): Add 2 args.
11477 (byte-compile-stack-ref, byte-compile-stack-set)
11478 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11479 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11480 macroexpand-all instead.
11481 (byte-compile-quote-form): Remove.
11482 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11483 (byte-compile-bind, byte-compile-unbind): New funs.
11484 (byte-compile-let): Handle let* and lexical binding.
11485 (byte-compile-let*): Remove.
11486 (byte-compile-catch, byte-compile-unwind-protect)
11487 (byte-compile-track-mouse, byte-compile-condition-case):
11488 Handle a new :fun-body form, used for lexical scoping.
11489 (byte-compile-save-window-excursion)
11490 (byte-compile-with-output-to-temp-buffer): Remove.
11491 (byte-compile-defun): Simplify.
11492 (byte-compile-stack-adjustment): New fun.
11493 (byte-compile-out): Use it.
11494 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11495
11496 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11497 handler any more.
11498
11499 * emacs-lisp/byte-opt.el: Use lexical binding.
11500 (byte-inline-lapcode): Remove (to bytecomp).
11501 (byte-compile-inline-expand): Pay attention to inlining to/from
11502 lexically bound code.
11503 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11504 any more.
11505 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11506 any more and don't call compiler-macros.
11507 (byte-compile-splice-in-already-compiled-code): Remove.
11508 (byte-code): Don't inline any more.
11509 (disassemble-offset): Receive `bytes' as argument rather than via
11510 dynamic scoping.
11511 (byte-compile-tag-number): Declare before first use.
11512 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11513 `return' even if make-spliceable.
11514 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11515 obsolete interactive-p.
11516 (byte-optimize-lapcode): Optimize new lap-codes.
11517 Don't trip up on new form of `byte-constant' lap code.
11518
11519 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11520
11521 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11522
11523 * custom.el (custom-initialize-default, custom-declare-variable):
11524 Use `defvar'.
11525
11526 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11527 New variables.
11528 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11529 (COMPILE_FIRST): Add macroexp and cconv.
11530 * makefile.w32-in: Mirror changes in Makefile.in.
11531
11532 * vc/cvs-status.el:
11533 * vc/diff-mode.el:
11534 * vc/log-edit.el:
11535 * vc/log-view.el:
11536 * vc/smerge-mode.el:
11537 * textmodes/bibtex-style.el:
11538 * textmodes/css.el:
11539 * startup.el:
11540 * uniquify.el:
da91b5f2
CY
11541 * minibuffer.el:
11542 * newcomment.el:
11543 * reveal.el:
11544 * server.el:
11545 * mpc.el:
11546 * emacs-lisp/smie.el:
11547 * doc-view.el:
11548 * dired.el:
03408648
SM
11549 * abbrev.el: Use lexical binding.
11550
0f0c1f27
EZ
115512011-04-01 Eli Zaretskii <eliz@gnu.org>
11552
11553 * info.el (info-display-manual): New function.
11554
c82b2579
SM
115552011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11556
11557 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11558
221ddf68
TH
115592011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11560
11561 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 11562 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 11563
cba6e77e
GM
115642011-03-31 Glenn Morris <rgm@gnu.org>
11565
e040639f
GM
11566 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11567
cba6e77e
GM
11568 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11569
6d0f1c9e
CS
115702011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11571
11572 * progmodes/python.el (python-default-interpreter)
11573 (python-python-command-args, python-jython-command-args)
11574 (python-which-shell, python-which-args, python-which-bufname)
11575 (python-file-queue, python-comint-output-filter-function)
11576 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11577 variables and functions.
11578
3e2d70fd
SM
115792011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11580
11581 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11582 (completion-in-region-mode): New minor mode.
11583 (completion-in-region): Use it.
11584 (completion-in-region--data, completion-in-region-mode-map): New vars.
11585 (completion-in-region--postch): New function.
11586 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11587 New vars.
11588 (completion--capf-wrapper): New function.
11589 (completion-at-point): Use it to track well-behavedness of
11590 hook functions.
11591 (completion-help-at-point): New command.
11592
f3e4086c
JM
115932011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11594
11595 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11596 syntax class to search for whitespace on a single line
11597 (Message-ID: <4D938140.4030905@redhat.com>).
11598
eb7ffc14
LL
115992011-03-30 Leo Liu <sdl.web@gmail.com>
11600
11601 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11602 New commands.
11603 (edit-abbrevs-map): Bind them here.
11604 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11605
d806ab68
KM
116062011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11607
11608 * allout.el (allout-hide-by-annotation, allout-flag-region):
11609 Reduce possibility of overlay leakage by making them volatile.
11610
11611 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11612 hash is not shared between buffers. Mode initialization is
11613 responsible for giving it a useful starting value.
11614 (allout-item-span): Reduce possibility of overlay leakage by
11615 making them volatile.
11616 (allout-widgets-count-buttons-in-region): Add diagnostic function
11617 for tracking down button overlay leaks.
11618
ea622834
LL
116192011-03-29 Leo Liu <sdl.web@gmail.com>
11620
11621 * ido.el (ido-read-internal): Use the default history var
11622 minibuffer-history if no HISTORY is specified.
11623
b62f8267
G
116242011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11625
03408648
SM
11626 * net/imap.el (imap-shell-open, imap-process-connection-type):
11627 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
11628 Kerberos, SSL, other subprocesses.
11629
947b6566
LL
116302011-03-28 Leo Liu <sdl.web@gmail.com>
11631
11632 * abbrev.el (abbrev-table-empty-p): New function.
11633 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11634 nonempty ones. (Bug#5937)
11635
5ffb62aa
JD
116362011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11637
11638 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11639
7a097943
LL
116402011-03-27 Leo Liu <sdl.web@gmail.com>
11641
11642 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11643 for foreground and background colors.
11644 (ansi-color-make-color-map): Adapt.
11645
c5b40130
LL
116462011-03-25 Leo Liu <sdl.web@gmail.com>
11647
1f48f7d2
LL
11648 * midnight.el (midnight-time-float): Remove. Note it calculates
11649 the microsecond component incorrectly and seconds-to-time does the
11650 same job.
625897ec 11651 Remove redundant (require 'timer).
1f48f7d2 11652
c5b40130
LL
11653 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11654 (ido-completions): Remove unused arguments. (Bug#8329)
11655
d86d2721
SM
116562011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11657
11658 * minibuffer.el (completion--flush-all-sorted-completions):
11659 Remove itself from hook.
11660 (completion-at-point): Let the functions perform the completion
11661 immediately and return nil or t.
11662 * comint.el (comint-dynamic-complete-functions): Now identical to
11663 completion-at-point-functions.
11664 (comint-dynamic-list-input-ring): Remove unused var `index'.
11665 (comint--match-partial-filename, comint--unquote&expand-filename):
11666 New funs, split from comint-match-partial-filename.
11667 (comint-dynamic-complete): Use completion-at-point.
11668 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11669
e8974c48
DA
116702011-03-24 Drew Adams <drew.adams@oracle.com>
11671
11672 * thingatpt.el: Support `defun'.
11673
def71b5e
LL
116742011-03-23 Leo Liu <sdl.web@gmail.com>
11675
cb5af48e
LL
11676 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11677
def71b5e
LL
11678 * help-mode.el (help-mode-finish): Tweak regexp.
11679
927c53e7
GM
116802011-03-23 Glenn Morris <rgm@gnu.org>
11681
18d05bed
GM
11682 * eshell/esh-opt.el (eshell-eval-using-options):
11683 Do not bind unused local variable `eshell-option-stub'.
11684
927c53e7
GM
11685 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11686
9d0da923
JB
116872011-03-22 Juanma Barranquero <lekktu@gmail.com>
11688
11689 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11690 keymap variable in `with-no-warnings' to avoid a warning when the
11691 keymap has been already `defconst'ed.
11692
4b978a67
LL
116932011-03-22 Leo Liu <sdl.web@gmail.com>
11694
11695 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11696 encode all chars in abbrevs; otherwise use emacs-mule or
11697 utf-8-emacs. (Bug#8308)
11698
5fd62452
JB
116992011-03-22 Juanma Barranquero <lekktu@gmail.com>
11700
0b1596c6
JB
11701 * simple.el (backward-delete-char-untabify):
11702 Avoid warning about using `delete-backward-char'.
11703
5fd62452
JB
11704 * image.el (image-type-file-name-regexps): Make it variable.
11705 `imagemagick-register-types' modifies it, and the user may want
11706 to add new extensions for known image types.
11707 (imagemagick-register-types): Throw error if not using ImageMagick.
11708
0b4e93f1
LL
117092011-03-22 Leo Liu <sdl.web@gmail.com>
11710
11711 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11712 located before rcirc-prompt-end-marker.
11713 (rcirc-complete): Error if point is not after rcirc prompt.
11714 Handle the case when table is nil.
9882e214 11715 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 11716
fccee4ab
CY
117172011-03-22 Chong Yidong <cyd@stupidchicken.com>
11718
11719 * custom.el (custom--inhibit-theme-enable): Make it affect only
11720 custom-theme-set-variables and custom-theme-set-faces.
11721 (provide-theme): Ignore custom--inhibit-theme-enable.
11722 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11723 (custom-enabling-themes): Delete variable.
d86d2721
SM
11724 (enable-theme): Accept only loaded themes as arguments.
11725 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
11726 (custom-enabled-themes): Forbid themes from setting this.
11727 Eliminate use of custom-enabling-themes.
11728 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 11729
af896da6
LL
117302011-03-21 Leo Liu <sdl.web@gmail.com>
11731
11732 * ido.el (ido-read-internal): Add ido-selected to history instead
11733 of user input.
11734
78f64af0
SM
117352011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11736
11737 * subr.el (deferred-action-list, deferred-action-function):
11738 Mark obsolete.
11739
b16ac1ec
LL
117402011-03-21 Leo Liu <sdl.web@gmail.com>
11741
810f7698
LL
11742 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11743 change on 2011-02-13 (bug#8309).
11744
b16ac1ec
LL
11745 * minibuffer.el (read-file-name-function): Change default value.
11746 (read-file-name--defaults): Rename from read-file-name-defaults.
11747 (read-file-name-default): Rename from read-file-name.
11748 (read-file-name): Call read-file-name-function.
11749
4e05e67e
GM
117502011-03-21 Glenn Morris <rgm@gnu.org>
11751
11752 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11753 Doc fixes.
11754
4359915b
CY
117552011-03-21 Chong Yidong <cyd@stupidchicken.com>
11756
11757 * cus-theme.el: Add missing provide statement.
11758 (customize-create-theme): Extract theme value correctly.
11759 (custom-theme-visit-theme): Autoload.
11760 (customize-create-theme): Prompt before inserting default faces.
11761
1fe275ee
JB
117622011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11763
11764 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11765 units and musical notes.
11766
cd394be1 117672011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
11768
11769 * ido.el (ido-read-internal): Use completing-read-default.
11770 (ido-completing-read): Fix compatibility with completing-read.
11771
7d476bde
CO
117722011-03-20 Christian Ohler <ohler@gnu.org>
11773
11774 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11775 (ert-delete-all-tests): Use `called-interactively-p' rather than
11776 `interactive-p'.
11777 (ert--make-xrefs-region): Respect END.
11778
fe0fb33e
CY
117792011-03-19 Chong Yidong <cyd@stupidchicken.com>
11780
ff854b0b
CY
11781 * dired-aux.el (dired-create-directory): Signal an error if the
11782 directory already exists (Bug#8246).
11783
fe0fb33e
CY
11784 * facemenu.el (list-colors-display): Call list-faces-display
11785 inside with-help-window.
11786 (list-colors-print): Use display property to align the final
11787 column, instead of checking window-width.
11788
576bce32
EZ
117892011-03-19 Eli Zaretskii <eliz@gnu.org>
11790
4d61f28d 11791 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
11792 windows-nt systems.
11793 (emerge-protect-metachars): Quote correctly for ms-dos and
11794 windows-nt systems.
11795
89c41d68 117962011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
11797
11798 * info.el (info-initialize): Replace all uses of `:' with
11799 path-separator for compatibility with non-Unix systems.
11800 Cache quoting of path-separator. (Bug#8258)
11801
b14e3e21 118022011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
11803
11804 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11805 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11806 (mouse-avoidance-mode): Fix typos in docstrings.
11807
4525ce3e
CY
118082011-03-19 Chong Yidong <cyd@stupidchicken.com>
11809
11810 * startup.el (package-subdirectory-regexp): Move from package.el.
11811 Omit \\` and \\', and let callers add them.
11812
11813 * emacs-lisp/package.el (package-strip-version)
11814 (package-load-all-descriptors): Add \\` and \\' to
11815 package-subdirectory-regexp before using it.
11816 (package-untar-buffer): New arg DIR; ensure that file untars only
11817 into this expected directory. Remove superfluous delete-region.
11818 (package-unpack): Caller changed.
11819 (package-tar-file-info): Use package-subdirectory-regexp.
11820
a904a09a 118212011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 11822
a904a09a
SM
11823 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11824 diff-mode-shared-map (bug#8284).
11825 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
11826
118272011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11828
11829 * calendar/time-date.el (format-seconds): Use assoc instead of
11830 assoc-string, since assoc-string doesn't exist in XEmacs.
11831
171fc304
JB
118322011-03-17 Juanma Barranquero <lekktu@gmail.com>
11833
11834 * custom.el (custom-known-themes): Reflow docstring.
11835 (custom-theme-load-path): Fix typo in docstring.
11836 (load-theme): Fix typo in error message.
11837 (custom-available-themes, custom-variable-theme-value):
11838 Use `let', not `let*'.
11839
d71990a1
JB
118402011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11841
11842 * calc/README: Mention inclusion of musical notes.
11843
11844 * calc/calc-units.el (calc-lu-quant): Rename from
11845 `calc-logunits-quantity'.
11846 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11847 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11848 (calc-db): Rename from `calc-dblevel'.
11849 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11850 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11851 (calc-np): Rename from `calc-nplevel'.
11852 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11853 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11854 (calc-lu-plus): Rename from `calc-logunits-add'.
11855 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11856 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11857 (calc-lu-minus): Rename from `calc-logunits-sub'.
11858 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11859 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11860 (calc-lu-times): Rename from `calc-logunits-mul'.
11861 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11862 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11863 (calc-lu-divide): Rename from `calc-logunits-div'.
11864 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11865 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11866
11867 * calc/calc-ext.el (calc-init-extensions): Update the names of the
11868 functions being autoloaded.
11869
11870 * calc/calc.el (calc-lu-power-reference): Rename from
11871 `calc-logunits-power-reference'.
11872 (calc-lu-field-reference): Rename from
11873 `calc-logunits-field-reference'.
11874
7a71b18d
GM
11875 * calc/calc-help.el (calc-l-prefix-help):
11876 Mention musical note functions.
d71990a1 11877
40c2934b
SM
118782011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11879
11880 * minibuffer.el (completion-all-sorted-completions):
11881 Use :completion-cycle-penalty text property if present.
11882
b0911414
KM
118832011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
11884
11885 * allout.el (allout-yank-processing): Adjust for new rebulleting
11886 regime so bullet being yanked is used without prompting the user
11887 for a choice.
11888
8a05b668
JB
118892011-03-16 Juanma Barranquero <lekktu@gmail.com>
11890
11891 * startup.el (command-line): Warn the user that _emacs is deprecated.
11892
5ba5fb81
JB
118932011-03-16 Juanma Barranquero <lekktu@gmail.com>
11894
11895 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11896 (delphi-verbose, delphi-comment-face, delphi-string-face)
11897 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11898 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11899 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11900 (delphi-new-comment-line, delphi-font-lock-defaults)
11901 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11902 Fix typos in docstrings.
11903
2dab465b
KM
119042011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
11905
5ba5fb81 11906 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
11907 Invert the roles of character and string values for INSTEAD, so a
11908 string is used for the more common case of a defaulting prompt.
11909
0adf5618
SM
119102011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11911
11912 * progmodes/ruby-mode.el (ruby-backward-sexp):
11913 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11914 * play/gamegrid.el (gamegrid-make-face):
11915 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11916 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11917 * notifications.el (notifications-notify):
11918 * net/xesam.el (xesam-search-engines):
11919 * net/quickurl.el (quickurl-list-insert):
11920 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11921
d72700e5
CY
119222011-03-15 Chong Yidong <cyd@stupidchicken.com>
11923
11924 * startup.el (command-line): Update package subdirectory regexp.
11925
49c5410a
SM
119262011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11927
c6eee9aa
SM
11928 * allout.el (allout-abbreviate-flattened-numbering)
11929 (allout-mode-deactivate-hook): Fix up obsolescence "date".
11930
49c5410a
SM
11931 * subr.el (read-char-choice): Only show the cursor after the prompt,
11932 not after the answer.
11933
047b2bb9
KR
119342011-03-15 Kevin Ryde <user42@zip.com.au>
11935
11936 * help-fns.el (variable-at-point): Skip leading quotes, if any
11937 (bug#8253).
11938
0a57d256
SM
119392011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11940
11941 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11942 warning message.
11943
77c992bc
MA
119442011-03-14 Michael Albinus <michael.albinus@gmx.de>
11945
11946 * shell.el (shell): When called interactively, offer to change the
11947 shell file name on remote hosts.
11948
eebc475d
TZ
119492011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
11950
11951 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11952 integration for LDAP parameters. The host, base, user or binddn,
11953 and secret tokens can be specified in a netrc file, for instance.
11954 This is optional because an `auth-source' parameter must be
11955 specified in the search attributes.
11956
9d05d1ba
JB
119572011-03-13 Juanma Barranquero <lekktu@gmail.com>
11958
11959 * help.el (describe-mode): Link to the mode's definition (bug#8185).
11960
09d9db2c
GM
119612011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11962
11963 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
11964 into declaration. Remove redundant and harmful binding.
11965
119662011-03-12 Eli Zaretskii <eliz@gnu.org>
11967
11968 * files.el (file-ownership-preserved-p): Pass `integer' as an
11969 explicit 2nd argument to `file-attributes'. If the file's owner
11970 is the Administrators group on Windows, and the current user is
11971 Administrator, consider that a match.
11972
11973 * server.el (server-ensure-safe-dir): Consider server directory
11974 safe on MS-Windows if its owner is the Administrators group while
11975 the current Emacs user is Administrator. Use `=' to compare
11976 numerical UIDs, since they could be integers or floats.
11977
219bd536
JB
119782011-03-12 Juanma Barranquero <lekktu@gmail.com>
11979
11980 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
11981
f3afd36b
MA
119822011-03-12 Michael Albinus <michael.albinus@gmx.de>
11983
11984 Sync with Tramp 2.2.1.
11985
11986 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11987
11988 * net/trampver.el: Update release number.
11989
3aaaa6f1
SM
119902011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11991
94642599
SM
11992 * progmodes/compile.el (compilation--previous-directory): Fix up
11993 various nil/dead-marker mismatches (bug#8014).
11994 (compilation-directory-properties, compilation-error-properties):
11995 Don't call it at a position past the one we're about to change.
11996
3aaaa6f1
SM
11997 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
11998 Disable obsolescence warnings in the file that declares it.
11999
14239447
KM
120002011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12001
099c39a4
JB
12002 * allout-widgets.el (allout-widgets-tally):
12003 Initialize allout-widgets-tally as a hash table rather than nil to
12004 prevent mode-line redisplay warnings. Also, clarify the module
12005 description and fix a comment typo.
14239447 12006
135e287c
JB
120072011-03-11 Juanma Barranquero <lekktu@gmail.com>
12008
12009 * help-fns.el (describe-variable): Don't complete keywords.
12010 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12011
ffbf300e
CY
120122011-03-10 Chong Yidong <cyd@stupidchicken.com>
12013
ba08b241
CY
12014 * emacs-lisp/package.el (package-version-join): Impose a standard
12015 string representation for pre/alpha/beta version lists.
12016 (package-unpack-single): Standardize the directory name by passing
12017 it through package-version-join.
12018 (package-strip-rcs-id): Accept any version string that does not
12019 signal an error in version-to-list.
ffbf300e 12020
f346fd6b
MA
120212011-03-10 Michael Albinus <michael.albinus@gmx.de>
12022
12023 * simple.el (delete-trailing-whitespace): Return nil for the
12024 benefit of `write-file-functions'.
12025
ccb55d27
GM
120262011-03-10 Glenn Morris <rgm@gnu.org>
12027
5ceaac0c
GM
12028 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12029
02da65ff
GM
12030 * vc/vc-git.el (vc-git-program): New option.
12031 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12032 (vc-git--call): Use it.
12033
b2f603cc
GM
12034 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12035
5772caab
GM
12036 * cus-edit.el (Custom-newline): If no button at point, look
12037 for a subgroup button at start-of-line. (Bug#2298)
12038
ccb55d27
GM
12039 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12040
ec6ecaed
JD
120412011-03-10 Julien Danjou <julien@danjou.info>
12042
12043 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12044 `cursor-type' is nil.
12045
9d5aa01d
JB
120462011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
12047
12048 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12049
b6a5875b
KM
120502011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
12051
7a71b18d 12052 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
12053 preserves the existing header prefix, rebulleting it if necessary,
12054 rather than replacing it. This is necessary for proper operation
12055 of cooperative addons like allout-widgets.
1154d12e
JB
12056 (allout-make-topic-prefix, allout-rebullet-heading):
12057 Change SOLICIT arg to INSTEAD, and interpret additionally a string
12058 value as alternate bullet to be used, instead of prompting the user
12059 for a bullet character.
b6a5875b 12060
ee545c35
MA
120612011-03-09 Michael Albinus <michael.albinus@gmx.de>
12062
d86d2721
SM
12063 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12064 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
12065 `tramp-default-port'.
12066
c47971d7
DD
120672011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12068
12069 * net/rcirc.el (rcirc-handler-001): Remove useless
12070 with-rcirc-process-buffer.
12071 (rcirc-check-auth-status): Swap arguments to string-match.
12072
13522cb4
GM
120732011-03-09 Glenn Morris <rgm@gnu.org>
12074
0be6f4f1
GM
12075 * shell.el (shell-mode):
12076 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
12077
13522cb4
GM
12078 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12079 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
12080
515de2e3
CY
120812011-03-08 Chong Yidong <cyd@stupidchicken.com>
12082
12083 * emacs-lisp/package.el (package-refresh-contents)
12084 (package-menu-execute): Use condition-case-no-debug.
12085
b511b994
MA
120862011-03-08 Michael Albinus <michael.albinus@gmx.de>
12087
12088 * simple.el (shell-command-to-string): Use `process-file'.
12089
12090 * emacs-lisp/package.el (package-tar-file-info): Handle also
12091 remote files.
12092
d86d2721
SM
12093 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12094 Use `equal' for upload base check.
b511b994 12095
25bbfb31
AM
120962011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12097
12098 * textmodes/texinfo.el (texinfo-environments):
12099 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
12100
be996521
GM
121012011-03-08 Glenn Morris <rgm@gnu.org>
12102
e9c8529f
GM
12103 * cus-start.el (cursor-in-non-selected-windows):
12104 Fix :set quoting oddness. (Bug#8192)
12105
be996521
GM
12106 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12107 in some setf expressions. (Bug#2159)
12108
2bb5649e
CY
121092011-03-08 Chong Yidong <cyd@stupidchicken.com>
12110
12111 * custom.el (custom-available-themes): Return themes in
12112 alphabetical order.
12113
33383987 12114See ChangeLog.15 for earlier changes.
e3d51b27
MR
12115
12116;; Local Variables:
12117;; coding: utf-8
e3d51b27
MR
12118;; End:
12119
acaf905b 12120 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
12121
12122 This file is part of GNU Emacs.
12123
12124 GNU Emacs is free software: you can redistribute it and/or modify
12125 it under the terms of the GNU General Public License as published by
12126 the Free Software Foundation, either version 3 of the License, or
12127 (at your option) any later version.
12128
12129 GNU Emacs is distributed in the hope that it will be useful,
12130 but WITHOUT ANY WARRANTY; without even the implied warranty of
12131 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12132 GNU General Public License for more details.
12133
12134 You should have received a copy of the GNU General Public License
12135 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.