* lisp/shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
3d53ee1b
SM
12012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
4 shell-delimiter-argument-list (bug#11348).
5 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6
f16e5386
CY
72012-05-04 Chong Yidong <cyd@gnu.org>
8
9 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
10 Nextstep.
11
e59fb960
KH
122012-05-03 Kenichi Handa <handa@m17n.org>
13
14 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
15 decoding, and show a warning message without signalling an error
16 (Bug#11282).
17
91af76bf
EZ
182012-04-30 Eli Zaretskii <eliz@gnu.org>
19
20 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
21 the yanked message in preference to the default value of
22 buffer-file-coding-system.
23
d9558cad
MR
242012-04-30 Martin Rudalics <rudalics@gmx.at>
25
26 * window.el (display-buffer--action-function-custom-type): Fix
27 entry.
28
09affde0
AM
292012-04-27 Alan Mackenzie <acm@muc.de>
30
31 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
32
c5bb7569
CY
332012-04-27 Chong Yidong <cyd@gnu.org>
34
35 * subr.el (read-key): Avoid running filter function when setting
36 up temporary tool bar entries (Bug#9922).
37
c4347ab9
AS
382012-04-26 Andreas Schwab <schwab@linux-m68k.org>
39
40 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
41 (Bug#11344)
42
acb71f1d
CY
432012-04-24 Chong Yidong <cyd@gnu.org>
44
45 * select.el (xselect--encode-string): New function, split from
46 xselect-convert-to-string.
47 (xselect-convert-to-string): Use it.
48 (xselect-convert-to-filename, xselect-convert-to-os)
49 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
50 returned strings are properly encoded (Bug#11315).
51
d55486c7
CY
522012-04-22 Chong Yidong <cyd@gnu.org>
53
54 * simple.el (delete-active-region): Move to killing custom group.
55
581b6788
AS
562012-04-21 Andreas Schwab <schwab@linux-m68k.org>
57
58 * progmodes/which-func.el (which-func-current): Quote %
59 characters for mode-line processing.
60
18edb22d
CY
612012-04-21 Chong Yidong <cyd@gnu.org>
62
63 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
64 reaching eob (Bug#11286).
65
4b932ea2
PE
662012-04-20 Richard Stallman <rms@gnu.org>
67
68 Fix logic for returning to and yanking from Rmail buffer.
69
70 * mail/rmail.el (rmail-start-mail):
71 Pass (rmail-mail-return...) for the return-action.
72 Pass (rmail-yank-current-message...) for the yank-action.
73 (rmail-yank-current-message): New function.
74 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
75 (rmail-reply): Likewise.
76 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
77
78 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
79 buffer, not the last. Reject temp buffers. Use the rmail-mode
80 buffer, not newbuf.
81
9ee9f470
EZ
822012-04-20 Eli Zaretskii <eliz@gnu.org>
83
84 * progmodes/gdb-mi.el (gdb-control-level): New variable.
85 (gdb): Make it buffer-local and init to zero.
86 (gdb-control-commands-regexp): New variable.
87 (gdb-send): Don't wrap in "-interpreter-exec console" if
88 gdb-control-level is positive. Increment gdb-control-level
89 whenever the command matches gdb-control-commands-regexp, and
90 decrement it each time the command is "end". (Bug#11279)
91
41cfe0cb
MR
922012-04-20 Martin Rudalics <rudalics@gmx.at>
93
94 * window.el (adjust-window-trailing-edge, enlarge-window)
95 (shrink-window, window-resize):
96 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
97 windows (Bug#11276).
98
54071013
DN
992012-04-20 Dan Nicolaescu <dann@gnu.org>
100
101 * battery.el (battery-echo-area-format): Display remaining time
102 for sysfs backend too (Bug#11269).
103 (battery-linux-sysfs): Fix conditional for the charge.
104
f30d612a
CY
1052012-04-20 Chong Yidong <cyd@gnu.org>
106
107 * progmodes/gdb-mi.el (gdb): Revert 2012-04-19 change.
108 (gdb-inferior-io--init-proc): New function.
109 (gdb-init-1): Use it.
110 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
111 responsible for allocating a new pty and hooking it to gdb when
112 the old pty gets an EIO due to process exit.
113 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
114 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
115 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
116
2116e93c
EZ
1172012-04-20 Eli Zaretskii <eliz@gnu.org>
118
119 * window.el (window-min-size, window-sizable, window-min-delta)
120 (window-max-delta, window--resizable, window-resizable)
121 (window-total-size, window-full-height-p, window-full-width-p)
122 (window-in-direction, window--resize-mini-window, window-resize)
123 (window--resize-child-windows-normal)
124 (window--resize-child-windows, window--resize-siblings)
125 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 126 (enlarge-window, shrink-window): Doc fixes.
2116e93c 127
b668fa6e
CY
1282012-04-19 Chong Yidong <cyd@gnu.org>
129
130 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty): New
131 function to call delete-process on the gdb-inferior buffer's pty.
132 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
133 pty process (Bug#11273).
134 (gdb-update): New arg to suppress talking to the gdb process.
135 (gdb-done-or-error): Use it.
136 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
137 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
138 sentinel not being called.
139
140 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
141
d02766ab
CY
1422012-04-18 Chong Yidong <cyd@gnu.org>
143
144 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
145
016a35df
GM
1462012-04-18 Glenn Morris <rgm@gnu.org>
147
148 * net/network-stream.el (open-network-stream): Doc fix.
149
2c070447
CY
1502012-04-17 Chong Yidong <cyd@gnu.org>
151
152 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
153
f0f6bc35
AM
1542012-04-16 Alan Mackenzie <acm@muc.de>
155
156 Ensure searching for keywords is case sensitive.
157
158 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
159 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
160 (c-defun-name, c-mark-function, c-cpp-define-name)
161 (c-comment-indent, c-scan-conditionals, c-indent-defun)
162 (c-context-line-break): bind case-fold-search to nil.
163
164 * progmodes/cc-mode.el (c-font-lock-fontify-region): bind
165 case-fold-search to nil.
166
4fc2c72a
CY
1672012-04-16 Chong Yidong <cyd@gnu.org>
168
169 * mail/sendmail.el (mail-bury): Call return action with the right
170 Rmail buffer (Bug#11242).
171
9a864fa2
CY
1722012-04-15 Chong Yidong <cyd@gnu.org>
173
174 * server.el (server-process-filter): Handle corner case where both
175 tty and nowait options are present (Bug#11102).
176
e153c136
GM
1772012-04-15 Glenn Morris <rgm@gnu.org>
178
179 * simple.el (process-file-side-effects): Doc fix.
180
ca7d96c8
GM
1812012-04-14 Glenn Morris <rgm@gnu.org>
182
183 * international/mule-cmds.el (set-language-environment): Doc fix.
184
9c2d6a4a
SM
1852012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
186
187 Avoid the use of ((lambda ...) ...) in lexical-binding code.
188 * emacs-lisp/easy-mmode.el (define-minor-mode):Use funcall (bug#11241).
189
9557e2be
CY
1902012-04-13 Kim F. Storm <storm@cua.dk>
191
192 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
193 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
194
81927dd2
CY
1952012-04-12 Chong Yidong <cyd@gnu.org>
196
197 * custom.el (custom-theme-set-variables): Doc fix.
198
8edb942b
GM
1992012-04-12 Glenn Morris <rgm@gnu.org>
200
201 * international/mule.el (set-auto-coding-for-load): Doc fix.
202
4517fe3a
SM
2032012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
204
205 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
206 Reported by Noah Friedman. Backport from trunk.
207
0de3da9f
AM
2082012-04-11 Alan Mackenzie <acm@muc.de>
209
4517fe3a
SM
210 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression):
211 Make imenu work again for Objective C Mode. Correct the *-index
212 values, these having been disturbed by a previous change in 2011-08.
57f845ee 213
0de3da9f
AM
214 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
215 Correct two search limits.
216
ede141ac
SM
2172012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
218
219 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
220
d0203d61
AS
2212012-04-10 Andreas Schwab <schwab@linux-m68k.org>
222
223 * international/characters.el: Fix sorting.
224
cb80bcd1
EZ
2252012-04-10 Eli Zaretskii <eliz@gnu.org>
226
227 * international/characters.el: Add more missing Latin case pairs.
228
0d93216c
AS
2292012-04-10 Andreas Schwab <schwab@linux-m68k.org>
230
231 * international/characters.el: Recover lost case pairs.
232
4a427f58
GM
2332012-04-10 Glenn Morris <rgm@gnu.org>
234
235 * files.el (dir-locals-set-class-variables): Doc fix.
236
9f847f41
EZ
2372012-04-09 Eli Zaretskii <eliz@gnu.org>
238
3f1b5bf8
EZ
239 * international/characters.el: Add set-case-syntax-pair call for
240 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
241 counterpart. (Bug#11209)
242
9f847f41
EZ
243 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
244
0c2014a3
GM
2452012-04-09 Glenn Morris <rgm@gnu.org>
246
247 * calendar/holidays.el (calendar-check-holidays): Doc fix.
248
e2627d21
EZ
2492012-04-08 Eli Zaretskii <eliz@gnu.org>
250
251 * textmodes/ispell.el (ispell-dictionary-base-alist): Add data for
252 Hebrew.
253
5c14e333
CY
2542012-04-08 Chong Yidong <cyd@gnu.org>
255
256 * net/rcirc.el (rcirc-cmd-quit): Revert 2012-03-18 change
257 (Bug#11192).
258
bf6fa423
GM
2592012-04-07 Glenn Morris <rgm@gnu.org>
260
261 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
262
82b24fb2
EZ
2632012-04-07 Eli Zaretskii <eliz@gnu.org>
264
4517fe3a
SM
265 * minibuffer.el (completion-in-region-mode-map):
266 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 267
f23d2c7d
LMI
2682012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
269
270 * window.el (shrink-window): Mention the `window-min-height'
271 variable in the doc string.
272
0a0a3573
BG
2732012-04-05 Bastien Guerry <bzg@altern.org>
274
275 * color.el (color-lighten-name): Fix typo.
276
e5248ac9
SM
2772012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
278
279 * server.el (server--on-display-p): New function.
280 (server--on-display-p): Use it.
281
b4243e22
GV
2822012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
283
284 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
285 (bug#11145).
286
305d9f44
SM
2872012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
288
289 * comint.el (comint--common-quoted-suffix): Check string boundary
290 before comparing (bug#11158).
291 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
292
3d439cd1
CY
2932012-04-04 Chong Yidong <cyd@gnu.org>
294
321cc491
CY
295 * minibuffer.el (completion-extra-properties): Doc fix.
296
3d439cd1
CY
297 * subr.el (delayed-warnings-hook): Doc fix.
298
2d562c0f
DU
2992012-04-04 Daiki Ueno <ueno@unixuser.org>
300
301 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
302 selection (Bug#11159).
303 (epa-insert-keys): Inform that the default public key will be
304 exported if no key is selected.
305
4443f204
RS
3062012-04-04 Richard Stallman <rms@gnu.org>
307
308 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
309
529c06b6
CY
3102012-04-03 Chong Yidong <cyd@gnu.org>
311
312 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
313 mail-insert-file, not its obsolete alias mail-attach-file.
314
66b907dc
MA
3152012-04-03 Michael Albinus <michael.albinus@gmx.de>
316
317 * notifications.el (notifications-notify): Fix docstring.
318
c0ea195d
GM
3192012-04-02 Glenn Morris <rgm@gnu.org>
320
321 * emacs-lisp/authors.el (authors-aliases): Another addition.
322
5ca64e00
MA
3232012-04-02 Michael Albinus <michael.albinus@gmx.de>
324
325 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
326 `tramp-compat-call-process' instead of `tramp-local-call-process'.
327 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
328
42ee526b
CY
3292012-04-01 Chong Yidong <cyd@gnu.org>
330
331 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
332 Handle root directory properly.
333 (copy-directory): Caller changed.
334
335 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
336 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
337
0b021094
GM
3382012-03-31 Glenn Morris <rgm@gnu.org>
339
40f86458
GM
340 * term/xterm.el (xterm-extra-capabilities): Doc fix.
341
7019c177
GM
342 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
343
a1daddd6
GM
344 * calendar/calendar.el (calendar-window-list)
345 (calendar-hide-window): Restore. (Bug#11140)
346 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
347
0b021094
GM
348 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
349
40311efc
TV
3502012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
351
352 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
353 Check if file is a symlink (Bug#10489).
354
355 * files.el (copy-directory): Likewise.
356
5319014e
CY
3572012-03-30 Chong Yidong <cyd@gnu.org>
358
359 * image.el (imagemagick-types-inhibit)
360 (imagemagick-register-types): Doc fix.
361
935d1290
AM
3622012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
363
364 * ispell.el (ispell-get-extended-character-mode): Disable
365 extended-char-mode for hunspell. hunspell does not support it and
366 treats ~word as ordinary words in pipe mode.
367
61c6e8fd
GM
3682012-03-30 Glenn Morris <rgm@gnu.org>
369
370 * tutorial.el (help-with-tutorial): Ensure local variables don't
371 happen to make the buffer read-only. (Bug#11127)
372
81fdff00
SM
3732012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
374
375 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
376 (perl-calculate-indent): Return `noindent' in strings.
377
6e7a6ec0
SS
3782012-03-28 Sam Steingold <sds@gnu.org>
379
380 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
381 instead of the broken adhockery which does not prevent calendar
382 buffers from being displayed at random after exit.
383 (calendar-window-list, calendar-hide-window): Remove the broken
384 adhockery.
385
fee88ca0
GM
3862012-03-28 Glenn Morris <rgm@gnu.org>
387
388 * replace.el (query-replace-map): Doc fix.
389
38de3354
AS
3902012-03-28 Andreas Schwab <schwab@linux-m68k.org>
391
392 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
393 contents. (Bug#11109)
394
b973155e
SM
3952012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
396
397 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
398 (bug#11077).
399 (avl-tree--check, avl-tree--check-node): New funs.
400
dcb6e7b3
MR
4012012-03-27 Martin Rudalics <rudalics@gmx.at>
402
403 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
404 (switch-to-prev-buffer, switch-to-next-buffer):
405 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
406 showing a buffer already is done on the same frame.
407
b4fa35fa
GM
4082012-03-27 Glenn Morris <rgm@gnu.org>
409
410 * startup.el (mail-host-address): Doc fix.
411
f9210e18
SM
4122012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
413
414 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
415 than 197 variables.
416
c0bf7753
AF
4172012-03-26 Ami Fischman <ami@fischman.org>
418
419 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
420
33da7b16
GM
4212012-03-26 Glenn Morris <rgm@gnu.org>
422
02243d9d
GM
423 * files.el (save-buffers-kill-emacs): Doc fix.
424
33da7b16
GM
425 * startup.el (normal-top-level, command-line, command-line-1):
426 Give them doc strings.
427
e5a69fd0
EZ
4282012-03-25 Eli Zaretskii <eliz@gnu.org>
429
430 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 431 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 432
9a69676a
CY
4332012-03-25 Chong Yidong <cyd@gnu.org>
434
4125cb8b
CY
435 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
436 theme if it was previously enabled before (Bug#11031).
437
dd470960
CY
438 * cus-theme.el (custom-theme-write-faces): Retrieve current face
439 spec with custom-face-get-current-spec if its :shown-value is not
440 determined yet (Bug#9337).
4125cb8b 441 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 442
9a69676a
CY
443 * button.el (button-at): Minor addition to docstring.
444
6e7e90fa
SL
4452012-03-24 Simon Leinen <simon.leinen@gmail.com>
446
447 * vc/vc.el (vc-merge): Fix a prompt.
448
f06e2758
CY
4492012-03-24 Chong Yidong <cyd@gnu.org>
450
451 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
452 point (Bug#9623).
453
6e7e90fa
SL
454 * button.el (button-at): Minor addition to docstring.
455
b9d0879b
SM
4562012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
457
458 * newcomment.el (comment-choose-indent): No space after BOL.
459
e71cebb3
SS
4602012-03-22 Sam Steingold <sds@gnu.org>
461
462 * window.el (switch-to-prev-buffer): Revert last patch because the
463 bug turned out to be an advertised feature (Elisp manual 28.14).
464
335aff35
GM
4652012-03-22 Glenn Morris <rgm@gnu.org>
466
467 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
468 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
469
c676576a
LMI
4702012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
471
472 * net/network-stream.el (network-stream-open-starttls): Make error
473 message under Windows be less misleading.
474
126f3d39
LW
4752012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
476
477 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
478 understands (bug#9942).
479
64fee311
CY
4802012-03-22 Chong Yidong <cyd@gnu.org>
481
482 * simple.el (end-of-visible-line): Handle return value of
483 next-single-property-change properly (Bug#9371).
484
a640d29a
KH
4852012-03-22 Kenichi Handa <handa@m17n.org>
486
487 * international/quail.el (quail-insert-kbd-layout): Fix previous
488 change. To avoid unwanted bidi reordering, use
489 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
490
39675016
DG
4912012-03-21 Dmitry Gutov <dgutov@yandex.ru>
492
493 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
494 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
495 (ruby-beginning-of-indent): Be more careful with the difference
496 between word-boundary and symbol boundary.
497 (ruby-mode-syntax-table): Make : a symbol constituent.
498
0a6934fc 4992012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 500
3d008e4f
SM
501 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
502
0a6934fc
SM
5032012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
504
af67c9d7
SM
505 * progmodes/etags.el (tags-completion-at-point-function):
506 Improve last fix.
507
1acad97c
SM
508 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
509
e298b5da
SS
5102012-03-21 Sam Steingold <sds@gnu.org>
511
512 * progmodes/etags.el (tags-completion-at-point-function):
513 Avoid the error when point is inside the pattern.
514
91d82a70
JY
5152012-03-21 John Yates <john@yates-sheets.org> (tiny change)
516
517 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
518 line (Bug#10855).
519
69188b79
CY
5202012-03-21 Drew Adams <drew.adams@oracle.com>
521
522 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
523
99fc91fe
AK
5242012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
525
526 * ido.el (ido-set-current-directory, ido-read-internal)
527 (ido-choose-completion-string, ido-completion-help): Handle nil
528 value of ido-completion-buffer (Bug#11008).
529
087bbb4c
SS
5302012-03-21 Sam Steingold <sds@gnu.org>
531
532 * window.el (switch-to-prev-buffer): Do not switch to a visible
533 window previous buffer, just like with the frame previous buffers.
534
fb5b8aca
CY
5352012-03-21 Chong Yidong <cyd@gnu.org>
536
537 * faces.el (make-face, make-empty-face, copy-face):
538 * face-remap.el (face-remap-add-relative, face-remap-set-base):
539 Doc fixes.
540
dc9924b8
SM
5412012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
542
543 * wid-edit.el (widget-complete-field): Remove (bug#11051).
544 (widget-complete): Remove broken use of it.
545
f0bcceb9
CY
5462012-03-20 Chong Yidong <cyd@gnu.org>
547
dc9924b8
SM
548 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
549 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
550 characters.
551
ee52ebf3
TH
5522012-03-20 Tassilo Horn <tassilo@member.fsf.org>
553
554 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
555 to draw rectangles, not squares. (Regression introduced by revno
556 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
557
4c5779ab
CY
5582012-03-18 Chong Yidong <cyd@gnu.org>
559
560 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
561 it is not yet defined (for temacs).
562
15360934
LL
5632012-03-18 Leo Liu <sdl.web@gmail.com>
564
dc9924b8 565 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 566
d9a8eb66
EZ
5672012-03-17 Eli Zaretskii <eliz@gnu.org>
568
569 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
570 (ispell-choices-win-default-height, ispell-silently-savep)
571 (ispell-dictionary-alist, ispell-encoding8-command)
572 (ispell-check-version, ispell-aspell-find-dictionary)
573 (ispell-valid-dictionary-list, ispell-words-keyword)
574 (ispell-get-word, ispell-internal-change-dictionary)
575 (ispell-region, ispell-skip-region-list)
576 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
577 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
578 (ispell-message-text-end, ispell-message)
579 (ispell-buffer-local-parsing): Doc fix.
580
f02ff80d
J
5812012-03-13 Jambunathan K <kjambunathan@gmail.com>
582
583 * htmlfontify.el: Add support for code block fontification for ODT
584 export (Bug #9914).
585 (hfy-optimisations): Define new option
586 `body-text-only'
587 (hfy-fontify-buffer): Honor above setting.
588 (hfy-begin-span, hfy-end-span): New routines factored out form
589 `hfy-fontify-buffer'.
590 (hfy-begin-span-handler, hfy-end-span-handler): New variables
591 that permit insertion of custom tags.
592 (hfy-fontify-buffer): Use above handlers.
593 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
594 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 595 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
f02ff80d
J
596 over multiple runs. This is made possible by having the caller let
597 bind a special variable `hfy-user-sheet-assoc'.
598 (htmlfontify-string): New defun.
599 (hfy-compile-face-map): Make sure that the last char in the
600 buffer is correctly fontified.
601 (hfy-face-resolve-face): Whitespace only change.
602
9ac7a13f
EZ
6032012-03-17 Eli Zaretskii <eliz@gnu.org>
604
605 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
606 message more clear.
607
e2b5bdd7
LL
6082012-03-16 Leo Liu <sdl.web@gmail.com>
609
610 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
611
2e492df3
AM
6122012-03-16 Alan Mackenzie <acm@muc.de>
613
614 Further optimise the handling of large macros.
615
616 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
617 limit to a call of `c-literal-limits'.
618 (c-determine-+ve-limit): New function.
dc9924b8
SM
619 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
620 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
621 In CASE 5B, restrict a search limit to 500.
622 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
623
624 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
625 Restrict macro bounds to +-500 from after-change's BEG END.
626
50e94f0c
LL
6272012-03-16 Leo Liu <sdl.web@gmail.com>
628
629 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
630
6f09f6ed
AH
6312012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
632
633 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 634 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 635
c7e73d51
GM
6362012-03-16 Glenn Morris <rgm@gnu.org>
637
da986230
GM
638 * view.el (view-buffer, view-buffer-other-window)
639 (view-buffer-other-frame): Doc fixes re special mode-class.
640
0835f01e
GM
641 * subr.el (eval-after-load): If named feature is provided not from
642 a file, run after-load forms. (Bug#10946)
643
c7e73d51
GM
644 * calendar/calendar.el (calendar-insert-at-column):
645 Handle non-unit-width characters a bit better. (Bug#10978)
646
3f2eafd1
CY
6472012-03-15 Chong Yidong <cyd@gnu.org>
648
649 * emacs-lisp/ring.el (ring-extend): New function.
650 (ring-insert+extend): Extend the ring correctly (Bug#11019).
651
652 * comint.el (comint-read-input-ring)
653 (comint-add-to-input-history): Grow comint-input-ring lazily.
654
103af3fe
SM
6552012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
656
663b1677
SM
657 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
658 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
659
103af3fe
SM
660 * imenu.el: Fix multiple inheritance breakage (bug#9199).
661 (imenu-add-to-menubar): Don't add a redundant index.
662 (imenu-update-menubar): Handle a dynamically composed keymap.
663
899cb7cb
KY
6642012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
665
666 * mail/sendmail.el (mail-encode-header):
667 Bind rfc2047-encode-encoded-words to nil.
668
3809f91d
GM
6692012-03-13 Glenn Morris <rgm@gnu.org>
670
671 * calendar/calendar.el (calendar-string-spread):
672 Handle non-unit-width characters a bit better. (Bug#10978)
673
9e345a01
LL
6742012-03-13 Leo Liu <sdl.web@gmail.com>
675
676 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
677 directory and file as argument (Bug#10822).
678
4a07df36
KS
6792012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
680
681 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
682 For dynamically generated code, follow $PC.
683 (gdb-disassembly-handler-custom): Handle no function name case.
684
4aaa9356
TL
6852012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
686
687 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
688 * emulation/ws-mode.el (ws-query-replace):
689 * sort.el (sort-regexp-fields):
690 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
691
225979da
SM
6922012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
693
694 * dabbrev.el: Fix cycle completion order (bug#10963).
695 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
696 (dabbrev-completion): Don't use an obarray; provide
697 a cycle-sort-function.
698
e2f1fdab
LL
6992012-03-12 Leo Liu <sdl.web@gmail.com>
700
dc9924b8 701 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
702 (kill-do-not-save-duplicates): Doc fix.
703
b19490ed
SM
7042012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
705
706 * dabbrev.el: Fix cycle completion (bug#10963).
707 Use lexical binding and wrap to 80 columns.
708 (dabbrev-completion): Delay computing the list of completions.
709
4b05d722
KH
7102012-03-12 Kenichi Handa <handa@m17n.org>
711
712 * international/quail.el (quail-insert-kbd-layout): Surround each
713 row by LRO and PDF instead of inserting many LRMs. Pad the left
714 and right of each non-spacing marks. Insert invisible space
715 between lower and upper characters to prevent composition.
716
dbbc2e69
SM
7172012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
718
719 * minibuffer.el (minibuffer-complete): Don't get confused when the
720 function is run twice via different commands (bug#10958).
721 (complete-with-action): Fix docstring.
722
292112ed
CY
7232012-03-12 Chong Yidong <cyd@gnu.org>
724
5d1ac394
CY
725 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
726 (nxml-completion-at-point-function): New function.
727 (nxml-mode): Use it.
728 (nxml-bind-meta-tab-to-complete-flag): Default to t.
729
292112ed
CY
730 * emacs-lisp/package.el (package-unpack, package-unpack-single):
731 Load generated autoloads file before byte compiling (Bug#10970).
732 (package--make-autoloads-and-compile): New helper fun.
733
4098f8f7
CS
7342012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
735
736 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
737
8f754691
MA
7382012-03-11 Michael Albinus <michael.albinus@gmx.de>
739
740 * autorevert.el (auto-revert-handler): Ensure, that
741 file-readable-p is applied only for local files or in
742 auto-revert-tail-mode.
743
e29ab36b
AS
7442012-03-11 Andreas Schwab <schwab@linux-m68k.org>
745
dbbc2e69
SM
746 * server.el (server-eval-at): Handle non-tcp connections.
747 Decode result string.
ad0bf5b6 748
e29ab36b
AS
749 * server.el (server-msg-size): New constant.
750 (server-reply-print): New function.
751 (server-eval-and-print): Use it.
752 (server-eval-at): Use server-quote-arg and server-unquote-arg.
753 Handle -print-nonl.
754
de5939ba
CS
7552012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
756
757 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
758 (Bug#10987).
759
0c93eabf
CY
7602012-03-11 Chong Yidong <cyd@gnu.org>
761
397a688f
CY
762 * simple.el (goto-line): Doc fix (Bug#9938).
763
2cc775f9
CY
764 * subr.el (save-window-excursion): Doc fix (Bug#9979).
765
0c93eabf
CY
766 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
767 when finished (Bug#10963).
768
c491fa41
MR
7692012-03-11 Martin Rudalics <rudalics@gmx.at>
770
771 * window.el (split-window-below): Fix bug in case where
772 split-window-keep-point is nil (Bug#10971).
773
300e8fa5
JL
7742012-03-11 Juri Linkov <juri@jurta.org>
775
776 * replace.el (replace-highlight): Set isearch-word to nil
777 unconditionally. (Bug#10887)
778
dbf6c5a1
EZ
7792012-03-10 Eli Zaretskii <eliz@gnu.org>
780
781 * net/mairix.el (mairix-replace-invalid-chars): Rename from
782 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 783 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
784 (mairix-widget-create-query): Add usage information about mairix
785 search forms: negating words, searching for substrings, etc.
786
b9e501de
JP
7872012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
788
789 * international/fontset.el (font-encoding-alist): Add an entry for
790 ksx1001 (Bug#5667).
791
92795c91
RS
7922012-03-10 Richard Stallman <rms@gnu.org>
793
1694e6c1
RS
794 * mail/sendmail.el (mail-encode-header):
795 Set rfc2047-encode-encoded-words.
796
607e8555
RS
797 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
798
de3bc99a
RS
799 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
800 view buffer means not swapped.
801 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
802 (rmail-write-region-annotate): Error if real text has disappeared.
803
92795c91
RS
804 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
805
699bd04e
CY
8062012-03-10 Chong Yidong <cyd@gnu.org>
807
808 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
809 * emulation/cua-base.el (cua--init-keymaps):
810 Add delete-forward-char to remappings (Bug#9666).
699bd04e 811
570a1714
MR
8122012-03-10 Martin Rudalics <rudalics@gmx.at>
813
dbbc2e69
SM
814 * speedbar.el (speedbar-unhighlight-one-tag-line):
815 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 816
82dcf4e4
CY
8172012-03-10 Chong Yidong <cyd@gnu.org>
818
7a2c7ca7
CY
819 * minibuffer.el (completion-in-region, completion-help-at-point):
820 Give the completion field overlay a high priority (Bug#6830).
821
82dcf4e4
CY
822 * dired.el (dired-goto-file): Recognize absolute file name
823 listings (Bug#7126).
824 (dired-goto-file-1): New helper function.
825 (dired-toggle-read-only): Inhibit warnings.
826
052e28ac
MA
8272012-03-09 Michael Albinus <michael.albinus@gmx.de>
828
829 * net/dbus.el: (dbus-property-handler): Return empty array if
830 there are no properties.
831
95d5e396
LL
8322012-03-09 Leo Liu <sdl.web@gmail.com>
833
834 * savehist.el (savehist-printable): Stricter check for string
835 value (Bug#10937).
836
3f018d6d
EZ
8372012-03-09 Eli Zaretskii <eliz@gnu.org>
838
dbbc2e69
SM
839 * mail/smtpmail.el (smtpmail-send-it):
840 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
841 valid mbox format.
842
f7fd3d79
GM
8432012-03-09 Glenn Morris <rgm@gnu.org>
844
845 * files.el (dir-locals-find-file):
846 Don't check result is regular, readable.
847 (dir-locals-read-from-file): Demote errors.
848
6ff6e72f
EZ
8492012-03-08 Eli Zaretskii <eliz@gnu.org>
850
dbbc2e69
SM
851 * international/quail.el (quail-insert-kbd-layout):
852 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
853 layout cell, to prevent their reordering by bidi display engine.
854 For details, see the discussion in
855 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
856
9cec7834
AM
8572012-03-08 Alan Mackenzie <acm@muc.de>
858
859 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
860 the starting position; make it extend the marked region when
861 invoked repeatedly - all under appropriate circumstances.
862 Fixes bugs #5525, #10906.
863
9a40b8d4
GM
8642012-03-08 Glenn Morris <rgm@gnu.org>
865
866 * files.el (locate-dominating-file, dir-locals-find-file):
867 Undo 2012-03-06 change.
868
7a08ed35
EZ
8692012-03-07 Eli Zaretskii <eliz@gnu.org>
870
dbbc2e69
SM
871 * international/quail.el (quail-help):
872 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
873 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
874 for the reason.
875
5aca4f71 8762012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
877
878 Avoid superfluous registering of signals. (Bug#10807)
879
880 * notifications.el (notifications-on-action-object)
881 (notifications-on-close-object): New defvars.
882 (notifications-on-action-signal, notifications-on-closed-signal):
883 Unregister the signal if not needed any longer.
884 (notifications-notify): Register `notifications-action-signal' or
885 `notifications-closed-signal', if :on-action or :on-close has been
886 passed as argument.
887
78e8b10a
CY
8882012-03-07 Chong Yidong <cyd@gnu.org>
889
890 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
891 non-X platforms.
892
69481eb8
GM
8932012-03-06 Glenn Morris <rgm@gnu.org>
894
895 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
896 (x-disown-selection-internal, x-get-selection-internal):
897 Doc fix (add arglist signatures). (Bug#10783)
898
133b8e11
KS
8992012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
900
901 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
902 Handle breakpoints with no "type".
903
99a83064
GM
9042012-03-06 Glenn Morris <rgm@gnu.org>
905
906 * files.el (locate-dominating-file): Add optional predicate argument.
907 (dir-locals-find-file): Make use of above change.
908
17798e78
TTN
9092012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
910
911 * info.el (Info-insert-dir): Also try "dir.gz".
912
eb182446
GM
9132012-03-06 Glenn Morris <rgm@gnu.org>
914
8f2114ee
GM
915 * files.el (dir-locals-find-file):
916 Ignore non-readable or non-regular files. (Bug#10928)
917
eb182446
GM
918 * files.el (locate-dominating-file): Doc fix.
919
24679323
AS
9202012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
921
922 * calendar/calendar.el (calendar-set-mode-line):
923 `getenv' returns a string. (Bug#10951)
924
01d972a9
LL
9252012-03-05 Leo Liu <sdl.web@gmail.com>
926
109aa8a9
LL
927 * simple.el (backward-delete-char-untabify): Constrain point to
928 field (Bug#10939).
929
01d972a9
LL
930 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
931
10607bea
CY
9322012-03-05 Chong Yidong <cyd@gnu.org>
933
934 * simple.el (count-words): If called from Lisp, return the word
935 count, for symmetry with `count-lines'. Arglist changed.
936 (count-words--message): Args changed. Consolidate counting code
937 from count-words and count-words-region.
938 (count-words-region): Caller changed.
939 (count-lines-region): Make it an obsolete alias.
940
5dd11cfe
TH
9412012-03-04 Tassilo Horn <tassilo@member.fsf.org>
942
943 * saveplace.el (save-place-to-alist)
944 (save-place-ignore-files-regexp): Allow value nil to disable this
945 feature.
946
c349f4e6
CY
9472012-03-04 Chong Yidong <cyd@gnu.org>
948
949 * faces.el (face-spec-reset-face): For the default face, reset the
950 attributes to default values (Bug#10748).
951
e627be4c
LMI
9522012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
953
954 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
955 previous patch: Check `message-send-mail-function', and not the
956 default function (bug#10897).
957
ebeabff4
MA
9582012-03-04 Michael Albinus <michael.albinus@gmx.de>
959
a41a6cf4
MA
960 * notifications.el (notifications-on-action-signal)
961 (notifications-on-closed-signal): Check for unique service name of
962 incoming event. Fix error in removing entry.
ebeabff4 963 (top): Register for signals with wildcard service name.
a41a6cf4 964 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 965
c1ca42b4
CY
9662012-03-04 Chong Yidong <cyd@gnu.org>
967
dc9924b8 968 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 969
ea16568d
GM
9702012-03-04 Glenn Morris <rgm@gnu.org>
971
972 * abbrev.el (copy-abbrev-table, abbrev-table-p)
973 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
974 (expand-abbrev, define-abbrev-table): Doc fixes.
975
fbae4637
LMI
9762012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
977
978 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
979 `message-default-send-mail-function' and not `send-mail-function'
980 when doing the prompting for `sendmail-query-once' before sending
981 in Message buffers (bug#10897).
982
a1e7225c
LMI
983 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
984 This is inconsistent with all the other stream functions, which leave
985 the setting up to the higher levels (if so wanted) (bug#10931).
986
56d093a9
AM
9872012-03-02 Alan Mackenzie <acm@muc.de>
988
989 Depessimize the handling of very large macros.
990
991 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
992 (c-macro-cache-syntactic): New variables to implement a one
993 element macro cache.
994 (c-invalidate-macro-cache): New function.
995 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
996 Adapt to use the new cache.
997 (c-state-safe-place): Use better the cache of safe positions.
998 (c-state-semi-nonlit-pos-cache)
999 (c-state-semi-nonlit-pos-cache-limit):
1000 New variables for...
1001 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1002 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
1003 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1004 Use c-state-semi-safe-place.
56d093a9 1005
dbbc2e69
SM
1006 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1007 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 1008
817e5c3d
MA
10092012-03-02 Michael Albinus <michael.albinus@gmx.de>
1010
dbbc2e69
SM
1011 * jka-compr.el (jka-compr-call-process):
1012 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
1013 not remote.
1014
a032a702
MA
10152012-03-01 Michael Albinus <michael.albinus@gmx.de>
1016
1017 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1018 access of FILE2, if FILE1 does not exist.
1019
99a54f21
MA
1020 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1021 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1022
1023 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1024 Add "PAGER=" to `process-environment'.
1025
f6561e1f
MM
10262012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1027
1028 * progmodes/sql.el: Bug fix
1029 (sql-get-login-ext): Save login values in globals.
1030 (sql-get-login): Use new version of `sql-get-login-ext'.
1031 (sql-interactive-mode): Set global `sql-connection' to nil.
1032 (sql-connect): Set global values for connection.
1033 (sql-product-interactive): Save global values as buffer local.
1034
2d44d9cc
LL
10352012-02-29 Leo Liu <sdl.web@gmail.com>
1036
1037 * abbrev.el (define-abbrevs): Reset sys to nil.
1038
96b49301 10392012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1040
bf7f9bc5
JB
1041 * files.el (file-equal-p): Rename from `files-equal-p'.
1042 Return nil when one or both files don't exist.
96b49301 1043 (file-subdir-of-p): Now only top directory must exists,
1044 return nil if it doesn't.
bf7f9bc5
JB
1045 (copy-directory): No need to test with `file-subdir-of-p' after
1046 creating dir.
1047 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1048 to `file-equal-p'.
96b49301 1049
44e97401
GM
10502012-02-28 Glenn Morris <rgm@gnu.org>
1051
1052 * shell.el (shell-mode):
1053 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1054 * play/landmark.el (landmark-font-lock-face-O):
1055 * play/handwrite.el (handwrite):
1056 * play/gomoku.el (gomoku-O):
1057 * net/browse-url.el (browse-url-browser-display):
1058 * international/mule.el (define-charset):
1059 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1060 * filesets.el (filesets-find-file-delay):
1061 * eshell/em-xtra.el (eshell-xtra):
1062 * eshell/em-unix.el (eshell-grep):
1063 * emulation/viper.el (viper-mode):
1064 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1065 * emacs-lisp/easymenu.el (easy-menu-define):
1066 * calendar/timeclock.el (timeclock-use-display-time):
1067 * bs.el (bs-mode):
1068 * bookmark.el (bookmark-save-flag):
1069 Doc fix (standardize possessive apostrophe usage).
1070
c98c6276
CY
10712012-02-27 Chong Yidong <cyd@gnu.org>
1072
bf7f9bc5
JB
1073 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1074 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 1075
c98c6276
CY
1076 * font-lock.el (font-lock-specified-p): Rename from
1077 font-lock-spec-present. Callers changed.
1078
9c62cd04 10792012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 1080
bf7f9bc5
JB
1081 * emacs-lisp/package.el (package-compute-transaction):
1082 Handle holding a package version to t in package-load-list.
8ac9e529 1083
530739c9
MA
10842012-02-26 Michael Albinus <michael.albinus@gmx.de>
1085
1086 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1087 (tramp-get-inode, tramp-get-device): Use cached values.
1088
487915d7
AM
10892012-02-26 Alan Mackenzie <acm@muc.de>
1090
1091 Check there is a font-lock specification before doing initial
1092 fontification.
1093
1094 * font-core.el (font-lock-mode): Move the conditional from
1095 :after-hook to font-lock-initial-fontify.
1096 (font-lock-default-function): Move the check for a specification
1097 to font-lock-spec-present.
1098
dc9924b8 1099 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
1100 (font-lock-spec-present): New function.
1101
4fd96557
JB
11022012-02-26 Jim Blandy <jimb@red-bean.com>
1103
1104 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1105 (gdb-send): Apply it to the operand of the '-interpreter-exec
1106 console' command, so that we can pass arguments with (say) quotes
1107 in them. Store exact string sent in gdb-debug-log (Bug#10765).
1108
9a4888c0
CY
11092012-02-26 Chong Yidong <cyd@gnu.org>
1110
07498861
CY
1111 * help-fns.el (describe-function-1): Clarify description of
1112 remapping (Bug#10844).
1113
9a4888c0
CY
1114 * files.el (files-equal-p): Doc fix.
1115 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
1116 and quit the loop once a mismatch is found.
1117
ea8fb88d
JB
11182012-02-25 Juanma Barranquero <lekktu@gmail.com>
1119
1120 * bs.el (bs--show-with-configuration): Don't throw an error
1121 if the window cannot be split; otherwise, subsequent calls to
1122 bs-show fail, restoring a stale window config. (Bug#10882)
1123
525795c1
JD
11242012-02-25 Jan Djärv <jan.h.d@swipnet.se>
1125
1126 * term/ns-win.el (global-map): Bind ns-drag-file to
1127 ns-find-file (Bug#5855, Bug#10050).
1128
f008086f
AS
11292012-02-25 Andreas Schwab <schwab@linux-m68k.org>
1130
1131 * calendar/parse-time.el (parse-time-string): Allow extractor to
1132 return nil.
1133
a3fcfa99
MA
11342012-02-25 Michael Albinus <michael.albinus@gmx.de>
1135
91027d08
JB
1136 * net/tramp.el (tramp-file-name-for-operation):
1137 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
1138
1139 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
1140 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1141 Add COPY-CONTENTS argument.
a3fcfa99 1142
67b0de11
CY
11432012-02-25 Chong Yidong <cyd@gnu.org>
1144
1145 Add custom groups for VC backends, for consistency with vc-bzr.
1146
1147 * vc/vc-arch.el (vc-arch):
1148 * vc/vc-cvs.el (vc-cvs):
1149 * vc/vc-git.el (vc-git):
1150 * vc/vc-hg.el (vc-hg):
1151 * vc/vc-mtn.el (vc-mtn):
1152 * vc/vc-rcs.el (vc-rcs):
1153 * vc/vc-sccs.el (vc-sccs):
1154 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1155 All relevant defcustoms reassigned.
1156
3c9dfce6
CY
11572012-02-25 Chong Yidong <cyd@gnu.org>
1158
1339bf43
CY
1159 * newcomment.el (comment-styles): Add autoload (Bug#10868).
1160
3c9dfce6
CY
1161 * term/x-win.el (x-initialize-window-system): Reduce default for
1162 x-selection-timeout to 5 seconds (Bug#8869).
1163
53a46cd0 11642012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 1165
53a46cd0 1166 * files.el (file-subdir-of-p): Fix typo.
14a8a663 1167
25b2e303 11682012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1169
ec70a47d
GM
1170 * files.el (files-equal-p, file-subdir-of-p): New functions.
1171 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 1172 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
1173 * dired-aux.el (dired-copy-file-recursive): Same.
1174 (dired-create-files): Modify destination when source is equal to
1175 dest when copying files.
53a46cd0 1176 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 1177
914260cd
MA
11782012-02-24 Michael Albinus <michael.albinus@gmx.de>
1179
1180 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1181 (Bug#10874)
1182
2cb228f7
AM
11832012-02-23 Alan Mackenzie <acm@muc.de>
1184
1185 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1186 parameter "after-hook:" to allow the expansion to run code after
1187 the execution of the mode hooks.
1188
1189 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 1190 from font-lock-mode-internal.
2cb228f7 1191
91027d08 1192 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
1193 :after-hook.
1194
8f0fde21
SM
11952012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1196
3e88618b
SM
1197 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1198 (completion--cache-all-sorted-completions): New function.
1199 (completion-all-sorted-completions): Use it.
1200 (completion--do-completion, minibuffer-force-complete):
1201 Use it to re-instate the flush hook.
1202
8f0fde21
SM
1203 * icomplete.el (icomplete-completions): Replace last fix with a better
1204 one (bug#10850).
1205
8e911f6f
DG
12062012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1207
1208 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1209 when it might call us back infinitely (bug#10797).
1210
49fe4321
GM
12112012-02-23 Glenn Morris <rgm@gnu.org>
1212
1213 * minibuffer.el (completion-category-overrides): Doc fix.
1214
b291b572
SM
12152012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1216
1217 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1218 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1219
31a9ef2e
GM
12202012-02-23 Glenn Morris <rgm@gnu.org>
1221
5e6e6794 1222 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
1223 (authors-obsolete-files-regexps, authors-ignored-files)
1224 (authors-ambiguous-files, authors-renamed-files-alist):
1225 Add more entries.
1226
0bd1e074
JL
12272012-02-23 Juri Linkov <juri@jurta.org>
1228
1229 * isearch.el (isearch-occur): Sync interactive spec with occur's
1230 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1231
b617673c
JL
1232 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1233
19e9789e
JL
12342012-02-22 Juri Linkov <juri@jurta.org>
1235
1236 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1237 (ucs-insert): Doc fix. Check for hex digits in the string.
1238 Don't display `nil' in the error message. (Bug#10857)
1239
f41ce09d
AM
12402012-02-22 Alan Mackenzie <acm@muc.de>
1241
7a71b18d 1242 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 1243
ac2eceee
GM
12442012-02-22 Glenn Morris <rgm@gnu.org>
1245
1246 * ffap.el (ffap-c-path):
1247 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1248
abd1f678
CY
12492012-02-22 Chong Yidong <cyd@gnu.org>
1250
1251 * custom.el (load-theme): Doc fix.
1252
f25aef2e
GM
12532012-02-22 Glenn Morris <rgm@gnu.org>
1254
1255 * dired-x.el (dired-guess-shell-alist-default):
1256 Remove escape sequences from nroff output. (Bug#172)
1257
5f8dc2ca
GM
12582012-02-21 Glenn Morris <rgm@gnu.org>
1259
6ff86ec4
GM
1260 * vc/emerge.el (emerge-defvar-local):
1261 Set `permanent-local' property rather than unused `preserved'.
1262
be3223a3 1263 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
1264 (picture-mode-map): Use it. (Bug#10860)
1265 (picture-mode): Doc fix.
1266
3fe58f4f
JB
12672012-02-21 Juanma Barranquero <lekktu@gmail.com>
1268
1269 * newcomment.el (uncomment-region-default): Remove unused binding.
1270
f9a998c3
GM
12712012-02-21 Glenn Morris <rgm@gnu.org>
1272
1273 * textmodes/picture.el (picture-motion, picture-motion-reverse)
1274 (picture-self-insert, picture-tab-chars): Doc fix.
1275 (picture-mode-map): Fix C-a, C-e.
1276
c6029348
GM
12772012-02-20 Glenn Morris <rgm@gnu.org>
1278
1279 * emacs-lisp/authors.el (authors-aliases): Add another entry.
1280
ab1ce9d7
LL
12812012-02-20 Leo Liu <sdl.web@gmail.com>
1282
1283 * icomplete.el (icomplete-completions): Check FROM arg before
1284 passing to substring (Bug#10850).
1285
0fd40f89
CY
12862012-02-19 Chong Yidong <cyd@gnu.org>
1287
1288 * comint.el: Require ansi-color.
1289 (comint-output-filter-functions): Add ansi-color-process-output.
1290
1291 * ansi-color.el: Don't set comint-output-filter-functions; it is
1292 now in the initial value defined in comint.el.
1293 (ansi-color-apply-face-function): New variable.
1294 (ansi-color-apply-on-region): Use it.
1295 (ansi-color-apply-overlay-face): New function.
1296
1297 * shell.el (shell): No need to require ansi-color.
1298 (shell-mode): Use ansi-color-apply-face-function to highlight
1299 color escapes using font-lock-face property (Bug#10835).
1300
20af2394
CY
13012012-02-19 Chong Yidong <cyd@gnu.org>
1302
1303 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1304 mode-line formats (Bug#10839).
1305
e23a3fbe
GM
13062012-02-18 Glenn Morris <rgm@gnu.org>
1307
b474519e
GM
1308 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1309
1310 * mail/undigest.el (unforward-rmail-message): Doc fix.
1311
e23a3fbe
GM
1312 * saveplace.el (save-place-ignore-files-regexp): Add :version.
1313
57939ff4
EZ
13142012-02-18 Eli Zaretskii <eliz@gnu.org>
1315
1316 * international/characters.el (script-list): Sync with the latest
1317 Unicode Character Database.
1318
0c23686e
AS
13192012-02-18 Andreas Schwab <schwab@linux-m68k.org>
1320
1321 * international/titdic-cnv.el: Remove duplicate coding tag.
1322 * language/cham.el: Likewise.
1323 * language/tai-viet.el: Likewise.
1324
6818b449
GM
13252012-02-18 Glenn Morris <rgm@gnu.org>
1326
1327 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1328 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1329 (calendar-bahai-all-holidays-flag, calendar-other-dates):
1330 * calendar/diary-lib.el (diary-abbreviated-year-flag):
1331 * calendar/holidays.el (holiday-bahai-holidays)
1332 (calendar-holidays, list-holidays):
1333 Use utf-8 Bahá'í in doc-strings, menus, etc.
1334
0311a3fc
TH
13352012-02-17 Tassilo Horn <tassilo@member.fsf.org>
1336
1337 * saveplace.el (save-place-ignore-files-regexp): New variable
1338 allowing for excluding files from saving their location of point.
1339 The default value matches the temporary commit message editing
1340 files from Git, SVN, Bazaar, and Mercurial.
1341 (save-place-to-alist): Use it.
1342
eb864a71
LM
13432012-02-17 Lawrence Mitchell <wence@gmx.li>
1344 Stefan Monnier <monnier@iro.umontreal.ca>
1345
1346 * newcomment.el (uncomment-region-default): Don't leave extra space
1347 when an arg is provided (bug#8150).
1348
ee0ce425
TZ
13492012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1350
eb864a71 1351 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 1352
95ddf442
GM
13532012-02-17 Glenn Morris <rgm@gnu.org>
1354
1355 * net/socks.el: Require network-stream. (Bug#10599)
1356
48dd1e39 13572012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
1358
1359 * international/charprop.el:
1360 * international/uni-name.el:
1361 * international/uni-old-name.el:
1362 * international/uni-comment.el: Regenerate.
1363
d68cd087
GM
13642012-02-16 Glenn Morris <rgm@gnu.org>
1365
1366 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1367 Interactively in calendar buffer, give an error if not on a date.
1368
13932042
GM
13692012-02-15 Glenn Morris <rgm@gnu.org>
1370
1371 * shell.el (shell-delimiter-argument-list):
1372 Revert 2011-02-17 change. (Bug#8027)
1373
c3a70e2b
CY
13742012-02-15 Chong Yidong <cyd@gnu.org>
1375
60236b0d
CY
1376 * minibuffer.el (completion-at-point-functions): Doc fix.
1377
c3a70e2b
CY
1378 * custom.el (defcustom): Doc fix; note use of defvar.
1379
9f26dc24
GM
13802012-02-15 Glenn Morris <rgm@gnu.org>
1381
1382 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1383 Doc fixes.
1384
6546b134
GM
13852012-02-14 Glenn Morris <rgm@gnu.org>
1386
1387 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1388
d29b2b4c
LI
13892012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
1390
1391 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1392 way the ports list is computed.
835bdcba
LI
1393 (smtpmail-query-smtp-server): Prompt the user for a port number if
1394 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 1395
08dcdbc9
TZ
13962012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
1397
1398 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1399
2605051a
GM
14002012-02-13 Glenn Morris <rgm@gnu.org>
1401
1402 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
1403
7ee99f32
TZ
14042012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1405
1406 * net/gnutls.el (gnutls-trustfiles): New variable.
1407 (gnutls-negotiate): Use it.
1408
5f0af64f
LI
14092012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1410
1411 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1412 does its stuff if Gnus is running.
1413
c14fcc95
AM
14142012-02-13 Alan Mackenzie <acm@muc.de>
1415
1416 Fix a loop in c-set-fl-decl-start.
1417
7a71b18d 1418 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
1419 c-backward-syntactic-ws actually moves backwards.
1420
142b4d90
LL
14212012-02-13 Leo Liu <sdl.web@gmail.com>
1422
1423 * net/rcirc.el (rcirc-markup-attributes): Move point to the
1424 beginning so that all \C-o chars are removed.
1425
fa9958a6
TZ
14262012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1427
dc9924b8 1428 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 1429
0bc5886a
AM
14302012-02-12 Alan Mackenzie <acm@muc.de>
1431
1432 Fix infinite loop with long macros.
1433 * cc-engine.el (c-state-safe-place): Handle macros properly.
1434
d4bd55e7
CY
14352012-02-12 Chong Yidong <cyd@gnu.org>
1436
1437 * window.el (display-buffer): Doc fix (Bug#10785).
1438
66f3fe22
GM
14392012-02-12 Glenn Morris <rgm@gnu.org>
1440
bd7da63e
GM
1441 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1442 (x-disown-selection-internal, x-get-selection-internal):
1443 Sync docs with the xselect.c versions.
1444
66f3fe22
GM
1445 * allout-widgets.el: Add missing license notice.
1446
3e0d2fa7
GM
14472012-02-11 Glenn Morris <rgm@gnu.org>
1448
cfecdf09
GM
1449 * select.el (x-get-selection-internal, x-own-selection-internal)
1450 (x-disown-selection-internal):
1451 * x-dnd.el (x-get-selection-internal): Update declarations.
1452
6d216d7f
GM
1453 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1454
2bed3f04
GM
1455 * window.el (window-sides-slots):
1456 * tool-bar.el (tool-bar-position):
1457 * term/xterm.el (xterm-extra-capabilities):
1458 * ses.el (ses-self-reference-early-detection):
1459 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1460 (verilog-auto-wire-type)
1461 (verilog-auto-delete-trailing-whitespace)
1462 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1463 (verilog-auto-tieoff-declaration):
1464 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1465 (sql-oracle-statement-starters, sql-oracle-scan-on):
1466 * progmodes/prolog.el (prolog-align-comments-flag)
1467 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1468 (prolog-left-indent-regexp, prolog-paren-indent-p)
1469 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1470 (prolog-types, prolog-mode-specificators)
1471 (prolog-determinism-specificators, prolog-directives)
1472 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1473 (prolog-electric-dot-flag)
1474 (prolog-electric-dot-full-predicate-template)
1475 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1476 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1477 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1478 (prolog-program-switches, prolog-prompt-regexp)
1479 (prolog-debug-on-string, prolog-debug-off-string)
1480 (prolog-trace-on-string, prolog-trace-off-string)
1481 (prolog-zip-on-string, prolog-zip-off-string)
1482 (prolog-use-standard-consult-compile-method-flag)
1483 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1484 (prolog-imenu-max-lines, prolog-info-predicate-index)
1485 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1486 (prolog-char-quote-workaround):
1487 * progmodes/cc-vars.el (c-defun-tactic):
1488 * net/tramp.el (tramp-encoding-command-interactive)
1489 (tramp-local-end-of-line):
1490 * net/soap-client.el (soap-client):
1491 * net/netrc.el (netrc-file):
1492 * net/gnutls.el (gnutls):
1493 * minibuffer.el (completion-category-overrides)
1494 (completion-cycle-threshold)
1495 (completion-pcm-complete-word-inserts-delimiters):
1496 * man.el (Man-name-local-regexp):
1497 * mail/feedmail.el (feedmail-display-full-frame):
1498 * international/characters.el (glyphless-char-display-control):
1499 * eshell/em-ls.el (eshell-ls-date-format):
1500 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1501 (lisp-lambda-list-keyword-parameter-indentation)
1502 (lisp-lambda-list-keyword-parameter-alignment):
1503 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1504 * dired-x.el (dired-omit-verbose):
1505 * cus-theme.el (custom-theme-allow-multiple-selections):
1506 * calc/calc.el (calc-highlight-selections-with-faces)
1507 (calc-lu-field-reference, calc-lu-power-reference)
1508 (calc-note-threshold):
1509 * battery.el (battery-mode-line-limit):
1510 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1511 (archive-7z-update):
1512 * allout.el (allout-prefixed-keybindings)
1513 (allout-unprefixed-keybindings)
1514 (allout-inhibit-auto-fill-on-headline)
1515 (allout-flattened-numbering-abbreviation):
1516 * allout-widgets.el (allout-widgets-auto-activation)
1517 (allout-widgets-icons-dark-subdir)
1518 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1519 (allout-widgets-theme-dark-background)
1520 (allout-widgets-theme-light-background)
1521 (allout-widgets-item-image-properties-emacs)
1522 (allout-widgets-item-image-properties-xemacs)
1523 (allout-widgets-run-unit-tests-on-load)
1524 (allout-widgets-time-decoration-activity)
1525 (allout-widgets-hook-error-post-time)
1526 (allout-widgets-track-decoration):
1527 Add missing :version tags to new defcustoms and defgroups.
1528
5fec1b8e
GM
1529 * progmodes/sql.el (sql-ansi-statement-starters)
1530 (sql-oracle-statement-starters): Add custom type.
1531
3e0d2fa7
GM
1532 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1533 (prolog-system-version): Give it a type.
1534
90b671e2
EZ
15352012-02-11 Eli Zaretskii <eliz@gnu.org>
1536
1537 * term/pc-win.el (x-select-text, x-selection-owner-p)
1538 (x-own-selection-internal, x-disown-selection-internal)
1539 (x-get-selection-internal): Sync doc strings and argument lists
1540 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1541
5eac0c02
LL
15422012-02-11 Leo Liu <sdl.web@gmail.com>
1543
1544 * progmodes/python.el (python-end-of-statement): Fix infinite
1545 loop. (Bug#10788)
1546
f82cb659
GM
15472012-02-10 Glenn Morris <rgm@gnu.org>
1548
1549 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1550 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1551
cc26d239
LI
15522012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1553
1554 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1555 about SMTP before checking the From header.
1556
91027d08 1557 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
1558 into own function for reuse by emacsbug.el.
1559
1be3ca5a
LL
15602012-02-10 Leo Liu <sdl.web@gmail.com>
1561
1562 * subr.el (condition-case-unless-debug): Rename from
1563 condition-case-no-debug. All callers changed.
1564 (with-demoted-errors): Fix caller.
1565
1566 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1567 * nxml/rng-valid.el (rng-do-some-validation):
1568 * emacs-lisp/package.el (package-refresh-contents)
1569 (package-menu-execute):
1570 * desktop.el (desktop-create-buffer):
91027d08 1571 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 1572
b011fbfe
GM
15732012-02-10 Glenn Morris <rgm@gnu.org>
1574
b2096d72
GM
1575 * textmodes/bibtex.el:
1576 Add missing :version tags for new/changed defcustoms.
1577
b011fbfe
GM
1578 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1579
4c7e65bf
LI
15802012-02-09 Lars Ingebrigtsen <larsi@rusty>
1581
1582 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1583 (smtpmail-via-smtp): Use it, or fall back on the From address.
1584 (smtpmail-send-it): Ditto.
1585
f3934f6f
SM
15862012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1587
1588 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1589 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1590 (byte-compile-tmp-var): New const.
1591 (byte-compile-defvar): Use it to minimize .elc size.
1592 Just use `defvar' rather than simulate it (bug#10761).
1593
a075a2c5
GM
15942012-02-09 Glenn Morris <rgm@gnu.org>
1595
cf3aa21b
GM
1596 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1597
354998cd
GM
1598 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1599 Add :version tags.
1600
dc9924b8
SM
1601 * progmodes/compile.el (compilation-error-screen-columns)
1602 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 1603
dab3703d
GM
1604 * vc/log-view.el (log-view-toggle-entry-display):
1605 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1606
3f88cd72
GM
1607 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1608 (report-emacs-bug-can-use-xdg-email):
1609 (report-emacs-bug-insert-to-mailer): Doc fixes.
1610 (report-emacs-bug): Message fix.
1611
d95b247d
GM
1612 * net/browse-url.el (browse-url-can-use-xdg-open)
1613 (browse-url-xdg-open): Doc fixes.
1614
a075a2c5
GM
1615 * electric.el (electric-indent-mode, electric-pair-mode)
1616 (electric-layout-rules, electric-layout-mode): Doc fixes.
1617 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1618
ffb6157e
MR
16192012-02-08 Martin Rudalics <rudalics@gmx.at>
1620
1621 * server.el (server-unselect-display): Don't inadvertently kill
1622 the current buffer. (Bug#10729)
1623
e1ac4066
GM
16242012-02-08 Glenn Morris <rgm@gnu.org>
1625
34e8a2da
GM
1626 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1627 (sql-list-table): Doc fixes.
1628
b4ac6e8c
GM
1629 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1630 Comment out (does nothing).
1631
e1ac4066
GM
1632 * completion.el (dynamic-completion-mode):
1633 * dirtrack.el (dirtrack-debug-mode):
1634 * electric.el (electric-layout-mode):
1635 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1636 * face-remap.el (text-scale-mode, buffer-face-mode):
1637 * iimage.el (iimage-mode):
1638 * image-mode.el (image-transform-mode):
1639 * minibuffer.el (completion-in-region-mode):
1640 * scroll-lock.el (scroll-lock-mode):
1641 * simple.el (next-error-follow-minor-mode):
1642 * tar-mode.el (tar-subfile-mode):
1643 * tooltip.el (tooltip-mode):
1644 * vcursor.el (vcursor-use-vcursor-map):
1645 * wid-browse.el (widget-minor-mode):
1646 * emulation/tpu-edt.el (tpu-edt-mode):
1647 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1648 * international/iso-ascii.el (iso-ascii-mode):
1649 * language/thai-util.el (thai-word-mode):
1650 * mail/supercite.el (sc-minor-mode):
1651 * net/goto-addr.el (goto-address-mode):
1652 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1653 * progmodes/cwarn.el (cwarn-mode):
1654 * progmodes/flymake.el (flymake-mode):
1655 * progmodes/glasses.el (glasses-mode):
1656 * progmodes/hideshow.el (hs-minor-mode):
1657 * progmodes/pascal.el (pascal-outline-mode):
1658 * textmodes/enriched.el (enriched-mode):
1659 * vc/smerge-mode.el (smerge-mode):
1660 Doc fixes (minor mode argument).
1661
5e0d957f
EZ
16622012-02-07 Eli Zaretskii <eliz@gnu.org>
1663
1664 * ls-lisp.el (ls-lisp-sanitize): New function.
1665 (ls-lisp-insert-directory): Use it to fix or remove any elements
1666 in file-alist with missing attributes. (Bug#4673)
1667
98d7371e
AM
16682012-02-07 Alan Mackenzie <acm@muc.de>
1669
1670 Fix spurious recognition of c-in-knr-argdecl.
1671
1672 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1673 putative K&R region.
1674
667ced3a
AM
16752012-02-07 Alan Mackenzie <acm@muc.de>
1676
eb864a71
LM
1677 * progmodes/cc-engine.el (c-forward-objc-directive):
1678 Prevent looping in "#pragma mark @implementation".
667ced3a 1679
5b77774d
MA
16802012-02-07 Michael Albinus <michael.albinus@gmx.de>
1681
1682 * notifications.el (notifications-on-closed-signal): Make `reason'
1683 optional. (Bug#10744)
1684
af008560
GM
16852012-02-07 Glenn Morris <rgm@gnu.org>
1686
60d47423
GM
1687 * emacs-lisp/easy-mmode.el (define-minor-mode):
1688 Doc fixes for the macro and the mode it defines.
1689
dd605cc4
GM
1690 * image.el (imagemagick-types-inhibit): Doc fix.
1691
af008560
GM
1692 * cus-start.el (imagemagick-render-type): Add it.
1693
5cc59a37
LI
16942012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1695
1696 * progmodes/cc-mode.el
1697 (c-standard-font-lock-fontify-region-function): Set the default at
1698 load time, too, so that `font-lock-fontify-buffer' can be called
1699 without setting up the entire mode first. This fixes a bug in
1700 `mm-inline-text' with C MIME parts.
1701
9a6dd747
CY
17022012-02-06 Chong Yidong <cyd@gnu.org>
1703
2d16b285
CY
1704 * simple.el (list-processes--refresh): Delete exited processes
1705 (Bug#8094).
1706
171e9b6e
CY
1707 * comint.el (comint-next-prompt): next-single-char-property-change
1708 and prev-single-char-property-change never return nil (Bug#8657).
1709
9a6dd747
CY
1710 * custom.el (defcustom): Doc fix (Bug#9711).
1711
aa4589a7
CY
17122012-02-05 Chong Yidong <cyd@gnu.org>
1713
5c2a252f
CY
1714 * cus-edit.el (custom-variable-reset-backup): Quote the value
1715 before storing it in the customized-value property (Bug#6712).
4aab9006 1716 (custom-display): Add a customization type tag.
983b9602 1717 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 1718
aa4589a7
CY
1719 * wid-edit.el (widget-field-value-get): New optional arg to
1720 suppress trailing whitespace truncation.
1721 (character): Use it (Bug#2689).
1722
1ff980ae
AS
17232012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1724
1725 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1726 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1727
03988c98
CY
17282012-02-05 Chong Yidong <cyd@gnu.org>
1729
eeb6cc88
CY
1730 * cus-edit.el (custom-variable-value-create): For mismatched
1731 types, show the current value (Bug#7600).
1732
03988c98
CY
1733 * custom.el (defcustom): Doc fix.
1734
f8cdeef0
GM
17352012-02-05 Glenn Morris <rgm@gnu.org>
1736
1737 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1738
0696d255
JB
17392012-02-05 Juanma Barranquero <lekktu@gmail.com>
1740
1741 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1742 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1743 (pp-last-sexp): Use `looking-at-p'.
1744
34c99998
GM
17452012-02-04 Glenn Morris <rgm@gnu.org>
1746
8f05da42
GM
1747 * files.el (revert-buffer):
1748 Doc fix (mention revert-buffer-in-progress-p).
1749
f160676e
GM
1750 * emacs-lisp/ert-x.el (ert-simulate-command):
1751 Check deferred-action-list (which is obsolete) is bound.
1752
c7291ad9
GM
1753 * subr.el (with-wrapper-hook): Doc fixes.
1754
34c99998
GM
1755 * simple.el (filter-buffer-substring-functions)
1756 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1757
6283a7d3
LL
17582012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1759
1760 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1761 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1762
e96e3013
LL
17632012-02-04 Leo Liu <sdl.web@gmail.com>
1764
1765 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1766
8ded50f2
GM
17672012-02-04 Glenn Morris <rgm@gnu.org>
1768
82ff1d13
GM
1769 * image.el (image-extension-data): Add obsolete alias.
1770
987a0a16
GM
1771 * isearch.el (isearch-update): Doc fix.
1772
ea32ef46
GM
1773 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1774
8ded50f2
GM
1775 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1776
eea14f31
GM
17772012-02-03 Glenn Morris <rgm@gnu.org>
1778
1779 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1780 (image-animate-timeout): Doc fix.
1781
1782 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1783
12f381b7
GM
17842012-02-02 Glenn Morris <rgm@gnu.org>
1785
953cebf5
GM
1786 * server.el (server-auth-dir): Doc fix.
1787 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1788
12f381b7
GM
1789 * subr.el (run-mode-hooks): Doc fix.
1790
953a8c3b
JL
17912012-02-02 Juri Linkov <juri@jurta.org>
1792
1793 * image-mode.el (image-toggle-display-image): Remove tautological
1794 `major-mode' from the `derived-mode-p' test.
1795
c5d3843c
KH
17962012-02-02 Kenichi Handa <handa@m17n.org>
1797
9f6e692e 1798 * composite.el (compose-region): Cancel previous change.
c5d3843c 1799
159462d4 18002012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
1801
1802 * composite.el (compose-region, compose-string): Signal error for
1803 a null string component (Bug#6988).
1804
9f562668
CY
18052012-02-01 Chong Yidong <cyd@gnu.org>
1806
e2cef717
CY
1807 * view.el (view-buffer-other-window, view-buffer-other-frame):
1808 Handle special modes like view-buffer (Bug#10650).
1809 (view-buffer): Simplify.
1810
9f562668
CY
1811 * frame.el (set-frame-font): Tweak meaning of third argument.
1812
9f6e692e
JB
1813 * dynamic-setting.el (font-setting-change-default-font):
1814 Use set-frame-font (Bug#9982).
9f562668 1815
781acb9f
GM
18162012-02-01 Glenn Morris <rgm@gnu.org>
1817
6035be52
GM
1818 * progmodes/compile.el (compilation-internal-error-properties):
1819 Respect compilation-first-column in the "*compilation*" buffer.
1820
781acb9f
GM
1821 * emacs-lisp/easy-mmode.el (define-minor-mode):
1822 Relax :variable's test for a named function.
1823
abbceb00
AM
18242012-01-31 Alan Mackenzie <acm@muc.de>
1825
1826 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1827 off by one error.
1828
fce3fdeb
CY
18292012-01-31 Chong Yidong <cyd@gnu.org>
1830
1831 * frame.el (set-frame-font): New arg ALL-FRAMES.
1832
1833 * menu-bar.el (menu-set-font): Use set-frame-font.
1834
1835 * faces.el (face-spec-reset-face): Don't apply unspecified
1836 attribute values to the default face.
1837
47893581
JB
18382012-01-31 Juanma Barranquero <lekktu@gmail.com>
1839
1840 * progmodes/cwarn.el (cwarn): Remove dead link.
1841 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1842 Remove * from defcustom docstrings.
1843 (turn-on-cwarn-mode): Make obsolete.
1844 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1845 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1846
e58e988a
GM
18472012-01-31 Glenn Morris <rgm@gnu.org>
1848
60dc2671 1849 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 1850 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 1851 Allow named functions to be used as the cdr of :variable.
e58e988a 1852
7a3f511d
GM
18532012-01-30 Glenn Morris <rgm@gnu.org>
1854
1855 * emacs-lisp/authors.el (authors-fixed-entries):
1856 Remove reference to deleted file rnewspost.el.
1857
cb882333
JB
18582012-01-29 Juanma Barranquero <lekktu@gmail.com>
1859
1860 * window.el (window-with-parameter): Remove unused variable `windows'.
1861 (window--side-check): Remove unused variable `code'.
1862 (window--resize-siblings): Remove unused variable `first'.
1863 (adjust-window-trailing-edge): Remove unused variable `failed'.
1864 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1865 Use `let', not `let*'.
1866 (balance-windows-2): Remove unused variable `found'.
1867 (window--state-put-2): Remove unused variable `splits'.
1868 (window-state-put): Remove unused variable `selected'.
1869 (same-window-p): Use `string-match-p'.
1870 (display-buffer-assq-regexp): Remove unused variable `value'.
1871 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1872 Mark argument ALIST as ignored.
1873 (pop-to-buffer): Remove unused variable `old-window'.
1874
907201af
EZ
18752012-01-29 Eli Zaretskii <eliz@gnu.org>
1876
1877 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1878 and .lzma compressed files.
1879
ea162670
CY
18802012-01-29 Chong Yidong <cyd@gnu.org>
1881
5b95ee8a
CY
1882 * frame.el (window-system-default-frame-alist): Doc fix.
1883
ea162670
CY
1884 * dynamic-setting.el (font-setting-change-default-font): Don't
1885 change the default face if SET-FONT argument is non-nil (Bug#9982).
1886
d6e6f4b1
SB
18872012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
1888
1889 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1890
0f29fa41 18912012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
1892
1893 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1894 breakpoints in files outside current directory (Bug#6098).
1895
db174434
CY
18962012-01-29 Chong Yidong <cyd@gnu.org>
1897
6b25e4e2
SE
1898 * progmodes/python.el: Require ansi-color at top-level.
1899
6df6ae42
JB
1900 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1901 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
1902 (lisp-mode-abbrev-table): Add doc.
1903 (lisp-mode-variables): Don't set local-abbrev-table.
1904 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1905
e70ee681
RW
19062012-01-28 Roland Winkler <winkler@gnu.org>
1907
1908 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1909
ace88aa2
RW
19102012-01-28 Roland Winkler <winkler@gnu.org>
1911
1912 * textmodes/bibtex.el (bibtex-entry-alist): New function.
1913 (bibtex-set-dialect): Use it. Either set global values of
1914 dialect-dependent variables or bind these variables buffer-locally
1915 (Bug#10254).
1916 (bibtex-mode): Call bibtex-set-dialect via
1917 hack-local-variables-hook.
eb864a71
LM
1918 (bibtex-dialect): Update docstring.
1919 Add safe-local-variable predicate.
ace88aa2
RW
1920 (bibtex-entry-alist, bibtex-field-alist): Initialize via
1921 bibtex-set-dialect.
1922 (bibtex-mode-map): Define menu for each dialect.
1923 (bibtex-entry): Fix docstring.
1924
93376c5b
CY
19252012-01-28 Chong Yidong <cyd@gnu.org>
1926
1927 * eshell/esh-arg.el (eshell-quote-argument): New function.
1928
1929 * eshell/esh-ext.el (eshell-invoke-batch-file):
1930 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1931 first arg to eshell-parse-command (Bug#10523).
1932
4372494f
DA
19332012-01-28 Drew Adams <drew.adams@oracle.com>
1934
1935 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1936 `default-directory' is non-nil.
1937
4d4ec1f8
EZ
19382012-01-28 Eli Zaretskii <eliz@gnu.org>
1939
1940 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1941 line that displays system-configuration-options. (Bug#9924)
1942
7c188927
DA
19432012-01-28 Drew Adams <drew.adams@oracle.com>
1944
1945 * descr-text.el (describe-char): Show information about POS, in
1946 addition to information about the character at POS. Improve and
1947 update the doc string. Change "code point" to "code point in
1948 charset", to avoid confusion with the character's Unicode code
1949 point shown above that. (Bug#10129)
1950
e0da685a
EZ
19512012-01-28 Eli Zaretskii <eliz@gnu.org>
1952
1953 * descr-text.el (describe-char): Show the raw character, not only
1954 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
1955 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1956 for the reasons.
1957
70550acf
PH
19582012-01-28 Phil Hagelberg <phil@hagelb.org>
1959
eb864a71
LM
1960 * emacs-lisp/package.el (package-install):
1961 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 1962
0ce8e868
CY
19632012-01-28 Chong Yidong <cyd@gnu.org>
1964
cb882333
JB
1965 * emacs-lisp/package.el (package-maybe-load-descriptor):
1966 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
1967 (package-maybe-load-descriptor): Use it.
1968 (package-download-transaction): Fully load required packages
1969 inside the loop, so that `require' calls work (Bug#10593).
1970 (package-install): No need to call package-initialize now.
1971
2e7f3bea
CY
19722012-01-28 Chong Yidong <cyd@gnu.org>
1973
6e9bad14
CY
1974 * simple.el (deactivate-mark): Doc fix (Bug#8614).
1975
f823b8ca
CY
1976 * tooltip.el (tooltip-mode): Doc fix.
1977 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1978
2680c309
CY
1979 * frame.el (set-cursor-color): Doc fix (Bug#352).
1980
d7a9e63b
CY
1981 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1982 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1983
2e7f3bea
CY
1984 * cus-edit.el (custom-buffer-create-internal): Fix search button
1985 action (Bug#10542).
2ae01800 1986 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 1987
fc4f7a23
EW
19882012-01-27 Eduard Wiebe <usenet@pusto.de>
1989
1990 * dired.el (dired-mark-files-regexp):
1991 Include any subdirectory components. (Bug#10445)
1992
7dd37071
ML
19932012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
1994
1995 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1996 Handle [host]:port syntax. (Bug#10533)
1997
a268160b
AH
19982012-01-27 Alex Harsanyi <harsanyi@mac.com>
1999
2000 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2001
e43273ef
GM
20022012-01-26 Glenn Morris <rgm@gnu.org>
2003
2004 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2005 * term.el (term-raw-escape-map): Use Control-X-prefix.
2006 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2007
1edf595d
MR
20082012-01-25 Martin Rudalics <rudalics@gmx.at>
2009
2010 * window.el (window-state-get, window--state-get-1): Don't deal
2011 with fixed-sizeness of windows. Simplify code.
2012
fa8eafef
JC
20132012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2014
6df6ae42
JB
2015 * window.el (window--state-get-1, window--state-put-2):
2016 Don't save and restore the mark.
fa8eafef 2017
0b21c100
CY
20182012-01-25 Chong Yidong <cyd@gnu.org>
2019
2020 * custom.el (custom-variable-p): Doc fix.
2021
5ae1a6c8
GM
20222012-01-25 Glenn Morris <rgm@gnu.org>
2023
40047858
GM
2024 * dired.el (dired-goto-file): Handle some of the more common
2025 characters that `ls -b' escapes. (Bug#10596)
2026
5ddce96c
GM
2027 * progmodes/compile.el (compilation-next-error-function):
2028 Respect compilation-first-column in the "*compilation*" buffer.
2029 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2030
5ae1a6c8
GM
2031 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2032
b559f1a9
GM
20332012-01-24 Glenn Morris <rgm@gnu.org>
2034
2035 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2036
6725d21a
JD
20372012-01-24 Julien Danjou <julien@danjou.info>
2038
2039 * color.el (color-rgb-to-hsl): Fix value computing.
2040 (color-hue-to-rgb): New function.
2041 (color-hsl-to-rgb): New function.
2042 (color-clamp, color-saturate-hsl, color-saturate-name)
2043 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2044 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2045
70df4bbe
GM
20462012-01-24 Glenn Morris <rgm@gnu.org>
2047
2048 * vc/vc-rcs.el (vc-rcs-create-tag):
2049 * vc/vc-sccs.el (vc-sccs-create-tag):
2050 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2051
802a2ae2
ML
20522012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2053
2054 * eshell/esh-util.el (eshell-read-hosts-file):
2055 Skip comment lines. (Bug#10549)
2056
d7128bb1
ML
2057 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2058
d1a5c3b4
JB
20592012-01-23 Juanma Barranquero <lekktu@gmail.com>
2060
2724d9c7
JB
2061 * subr.el (display-delayed-warnings): Doc fix.
2062 (collapse-delayed-warnings): New function to collapse identical
2063 adjacent warnings.
2064 (delayed-warnings-hook): Add it.
d1a5c3b4 2065
a5509865
MA
20662012-01-22 Michael Albinus <michael.albinus@gmx.de>
2067
2068 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2069
2070 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2071 properties, when "login-as" is set.
2072
2073 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2074 (tramp-default-user-alist): Don't add "pscp".
2075 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2076 property "login-as", if set. (Bug#10530)
2077
cc6d5805
MA
20782012-01-21 Michael Albinus <michael.albinus@gmx.de>
2079
2080 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2081 "plink1" and "psftp". (Bug#10530)
2082
20832012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
2084
2085 * international/mule-cmds.el (prefer-coding-system): Show a
2086 warning message if the default value of file-name-coding-system
2087 was not changed.
2088
f0960428
JC
20892012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2090
cb882333
JB
2091 * windmove.el (windmove-reference-loc):
2092 Fix windmove-reference-loc miscalculation.
f0960428 2093
dd6f2a63
JB
20942012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2095
2096 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2097 default unit.
2098
7b447e9b
GM
20992012-01-21 Glenn Morris <rgm@gnu.org>
2100
117a9ea1
GM
2101 * international/mule.el (auto-coding-alist): Add .tbz.
2102
7b447e9b
GM
2103 * files.el (local-enable-local-variables): Doc fix.
2104 (inhibit-local-variables-regexps): Rename from
2105 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
2106 Doc fix. Add some extensions from auto-coding-alist.
2107 (inhibit-local-variables-suffixes):
2108 Rename from inhibit-first-line-modes-suffixes. Doc fix.
2109 (inhibit-local-variables-p):
2110 New function, extracted from set-auto-mode-1.
2111 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
2112 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
2113 (hack-local-variables): Doc fix. Make the mode-only case
2114 respect enable-local-variables and friends.
2115 Respect inhibit-local-variables-regexps for file-locals, but
2116 not for directory-locals.
2117 (set-visited-file-name):
2118 Take account of inhibit-local-variables-regexps.
2119 Whether it applies may change as the file name is changed.
2120 * jka-cmpr-hook.el (jka-compr-install):
2121 * jka-compr.el (jka-compr-uninstall):
2122 Update for inhibit-first-line-modes-suffixes name change.
2123
dd6e3cdd
MR
21242012-01-20 Martin Rudalics <rudalics@gmx.at>
2125
2126 * help-macro.el (make-help-screen): Temporarily restore original
2127 binding for minor-mode-map-alist (Bug#10454).
2128
0d0deb38
JD
21292012-01-19 Julien Danjou <julien@danjou.info>
2130
2131 * color.el (color-name-to-rgb): Use the white color to find the max
2132 color component value and return correctly computed values.
2133 (color-name-to-rgb): Add missing float conversion for max value.
2134
34a02f46
MR
21352012-01-19 Martin Rudalics <rudalics@gmx.at>
2136
2137 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
2138 special state value for window-persistent-parameters.
2139 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
2140 (window--state-put-2): Reset all window parameters to nil before
2141 assigning values of persistent parameters.
2142
606c44c4
AM
21432012-01-18 Alan Mackenzie <acm@muc.de>
2144
2145 Eliminate sluggishness and hangs in fontification of "semicolon
2146 deserts".
2147
cb882333
JB
2148 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2149 Change value 10000 -> 3000.
606c44c4
AM
2150 (c-state-safe-place): Reformulate so it doesn't stack up an
2151 infinite number of wrong entries in c-state-nonlit-pos-cache.
2152 (c-determine-limit-get-base, c-determine-limit): New functions to
2153 determine backward search limits disregarding literals.
2154 (c-find-decl-spots): Amend commenting.
2155 (c-cheap-inside-bracelist-p): New function which detects "={".
2156
2157 * progmodes/cc-fonts.el
2158 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2159 backward search.
2160 (c-font-lock-declarations): Fix an occurrence of point being
2161 undefined. Check additionally for point being in a bracelist or
2162 near a macro invocation without a semicolon so as to avoid a
2163 fruitless time consuming search for a declarator. Give a more
2164 precise search limit for declarators using the new
2165 c-determine-limit.
2166
f3860cea
GM
21672012-01-18 Glenn Morris <rgm@gnu.org>
2168
2169 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2170 (set-auto-mode): Doc fixes.
2171
1db03b16
GM
21722012-01-17 Glenn Morris <rgm@gnu.org>
2173
0e6038be
GM
2174 * isearch.el (search-nonincremental-instead): Fix doc typo.
2175
1db03b16
GM
2176 * dired.el (dired-insert-directory): Handle newlines in directory name.
2177 (dired-build-subdir-alist): Unescape newlines in directory name.
2178
4cb0aa75
MA
21792012-01-17 Michael Albinus <michael.albinus@gmx.de>
2180
2181 * net/tramp.el (tramp-local-end-of-line): New defcustom.
2182 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2183 (tramp-action-terminal): Use it. (Bug#10530)
2184
1d00653d
SM
21852012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2186
2187 * minibuffer.el (completion--replace): Strip properties (bug#10062).
2188
6a6ee00d
MR
21892012-01-16 Martin Rudalics <rudalics@gmx.at>
2190
2191 * window.el (window-state-ignored-parameters): Remove variable.
2192 (window--state-get-1): Rename argument MARKERS to IGNORE.
2193 Handle persistent window parameters. Make copy of clone-of
2194 parameter only if requested. (Bug#10348)
2195 (window--state-put-2): Install a window parameter only if it has
2196 a non-nil value or an existing parameter shall be overwritten.
2197
97912def
MA
21982012-01-15 Michael Albinus <michael.albinus@gmx.de>
2199
2200 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2201
688070a5
EZ
22022012-01-14 Eli Zaretskii <eliz@gnu.org>
2203
2204 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2205 don't pass the (nil) value of `upnode' to string-match.
2206
301afadc
CY
22072012-01-14 Chong Yidong <cyd@gnu.org>
2208
2209 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 2210 Fix values recognized by the cursorBlink resource.
301afadc 2211
9e5788aa
PE
22122012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2213
2214 * epg.el (epg--make-temp-file): Avoid permission race condition
2215 when running on old Emacs versions (bug#10403).
2216
3cdb7f5a
GM
22172012-01-14 Glenn Morris <rgm@gnu.org>
2218
2219 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2220
8c82b1b4
AM
22212012-01-13 Alan Mackenzie <acm@muc.de>
2222
2223 Fix filling for when filladapt mode is enabled.
2224
2225 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2226 c-mask-paragraph, pass in `fill-paragraph' rather than
2227 `fill-region-as-paragraph'. (This is a reversion of a previous
2228 change.)
eb864a71
LM
2229 * progmodes/cc-mode.el (c-basic-common-init):
2230 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 2231
e517eda4
GM
22322012-01-13 Glenn Morris <rgm@gnu.org>
2233
1498536e
GM
2234 * dired.el (dired-switches-escape-p): New function.
2235 (dired-insert-directory): Use dired-switches-escape-p.
2236 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2237
e517eda4
GM
2238 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2239
328f984d
GM
22402012-01-12 Glenn Morris <rgm@gnu.org>
2241
2242 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2243 changes in adaptive-fill-regexp. (Bug#10276)
2244
2cc769a8
AM
22452012-01-11 Alan Mackenzie <acm@muc.de>
2246
2247 Fix Emacs bug #10463 - put `widen's around the critical spots.
2248
1d00653d 2249 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
2250 widen around each invocation of c-state-pp-to-literal. Remove an
2251 unused let variable.
2252
e52c37fa
GM
22532012-01-11 Glenn Morris <rgm@gnu.org>
2254
2255 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 2256 Doc fix.
e52c37fa 2257
96f8741e
CY
22582012-01-10 Chong Yidong <cyd@gnu.org>
2259
1d00653d
SM
2260 * net/network-stream.el (network-stream-open-starttls):
2261 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
2262 response to the capability command.
2263
b09a806e
GM
22642012-01-10 Glenn Morris <rgm@gnu.org>
2265
2266 * mail/unrmail.el (unrmail): Tweak previous change.
2267
7655cb66
CY
22682012-01-09 Chong Yidong <cyd@gnu.org>
2269
2270 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2271
9d5a8f0b
AM
22722012-01-08 Alan Mackenzie <acm@muc.de>
2273
2274 Optimise font locking in long enum definitions.
2275
2276 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2277 arm to a cond form to handle enums.
2278 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2279 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2280
9a0115ab 22812012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
2282
2283 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 2284 (Bug#10401)
6bb72cbd 2285
f186bb95
LMI
22862012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2287
29232a68
LMI
2288 * faces.el (set-face-attribute): Clarify the meaning of the nil
2289 frame (bug#10294).
2290
4e5d086d
LMI
2291 * subr.el (with-selected-frame): Mention that the selected frame
2292 is restored (bug#9980).
2293
8e66aebe
LMI
2294 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2295 (bug#9759).
2296
cd394be1 2297 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
2298 (password-read): Don't autoload unused function.
2299
adf4e762
JB
23002012-01-07 Juanma Barranquero <lekktu@gmail.com>
2301
2302 * progmodes/which-func.el (which-func-mode): Turn into a
2303 non-interactive function and mark as obsolete (bug#10428).
2304
89bd9ccd
CY
23052012-01-06 Chong Yidong <cyd@gnu.org>
2306
2307 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2308 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2309 functions, along with 1 and -1.
2310
4afee9d5
EZ
23112012-01-06 Eli Zaretskii <eliz@gnu.org>
2312
2313 * time.el (display-time-load-average)
2314 (display-time-default-load-average): Doc fixes. See the thread
2315 starting at
2316 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2317 for the details.
2318
536aea70
GM
23192012-01-06 Glenn Morris <rgm@gnu.org>
2320
665ae865
GM
2321 * mail/unrmail.el (unrmail): Give an explicit error if the input file
2322 has no messages. (Bug#10377)
2323
c869783d
GM
2324 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2325 than Info-edit. (Bug#10385)
2326
2bb4227e
GM
2327 * time.el (display-time-load-average, display-time-next-load-average):
2328 Doc fixes.
2329
7d5944b9
GM
2330 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2331 local setting of buffer-read-only to the input buffer. (Bug#10419)
2332
536aea70
GM
2333 * calendar/calendar.el (calendar-mode):
2334 Locally set scroll-margin to 0. (Bug#10379)
2335
7dccca16
UM
23362012-01-06 Ulrich Mueller <ulm@gentoo.org>
2337
2338 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
2339
afbb7930
GM
23402012-01-05 Glenn Morris <rgm@gnu.org>
2341
2342 * eshell/em-unix.el (diff-no-select): Autoload it.
2343 (eshell/diff): Use diff-no-select. (Bug#10420)
2344
04482335
CY
23452012-01-05 Chong Yidong <cyd@gnu.org>
2346
7baca3bc
CY
2347 * shell.el (shell-dynamic-complete-functions): Revert last change.
2348 (shell-command-completion-function): New function.
2349 (shell-completion-vars): Use it to implement
2350 shell-completion-execonly (Bug#10417).
2351
04482335
CY
2352 * custom.el (enable-theme): Don't set custom-safe-themes.
2353
1d00653d
SM
2354 * cus-theme.el (custom-theme-merge-theme):
2355 Ignore custom-enabled-themes and custom-safe-themes.
04482335 2356
bb5aa5d6
MM
23572012-01-05 Michael R. Mauger <mmaug@yahoo.com>
2358
2359 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2360 first prompt in `sql-interacive-mode'.
2361 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 2362 keywords.
6df6ae42 2363 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
2364 (sql-product-interactive): Bug fix: Set `sql-buffer' in
2365 context of original buffer. Invoke `sql-login-hook'.
2366
a7183d7c
EZ
23672012-01-04 Eli Zaretskii <eliz@gnu.org>
2368
2369 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2370 letters in cite-prefix.
2371
a1eacd1e
LMI
23722012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2373
2374 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2375
787cdb34
CY
23762012-01-03 Chong Yidong <cyd@gnu.org>
2377
1d00653d
SM
2378 * shell.el (shell-dynamic-complete-functions):
2379 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
2380 comint-filename-completion first (Bug#10417).
2381
30710442
RS
23822012-01-02 Richard Stallman <rms@gnu.org>
2383
2384 * battery.el (battery-status-function):
2385 Detect when to use battery-yeeloong-sysfs.
2386 (battery-echo-area-format): Add string for Yeeloong.
2387 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2388 (battery-yeeloong-sysfs): New function.
2389
f75bfc33
CY
23902012-01-02 Chong Yidong <cyd@gnu.org>
2391
2392 * dirtrack.el (dirtrack-list): Eliminate unused third element.
2393 (dirtrack): Merge code for handling relative filenames in prompt
2394 from shell-dir-cookie-watcher.
2395 (dirtrack-debug-message): New arg to avoid excess format calls.
2396
2397 * shell.el (shell-dir-cookie-re): Variable deleted.
2398 (shell-dir-cookie-watcher): Function deleted.
2399 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2400 with dirtrack-mode.
2401
651e947e
EZ
24022012-01-01 Eli Zaretskii <eliz@gnu.org>
2403
1d00653d
SM
2404 * term/w32-win.el (dynamic-library-alist) <gnutls>:
2405 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
2406 libgnutls-26.dll.
2407
94d4c7dc
AS
24082011-12-31 Andreas Schwab <schwab@linux-m68k.org>
2409
2410 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2411
8d43f3cd
EZ
24122011-12-31 Eli Zaretskii <eliz@gnu.org>
2413
2414 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2415 headers of non-MIME messages, when rmail-enable-mime is non-nil.
2416
98c8795a
MA
24172011-12-29 Michael Albinus <michael.albinus@gmx.de>
2418
2419 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2420 also for alternative shells.
2421 (tramp-open-connection-setup-interactive-shell): Check, whether
2422 the shell is a busybox.
2423 (tramp-send-command): Don't suppress multiple prompts for
2424 busyboxes, it hurts.
2425
51281b32
CY
24262011-12-28 Chong Yidong <cyd@gnu.org>
2427
2428 * progmodes/gdb-mi.el (gdb-get-source-file-list)
2429 (gdb-get-source-file): Move mode line update to
2430 gdb-get-source-file (Bug#10087).
2431
2170cb53
CY
24322011-12-25 Chong Yidong <cyd@gnu.org>
2433
2434 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2435 gud-gdb-marker-filter without taking it as an argument.
2436 (gud-gdb-run-command-fetch-lines): Caller changed.
2437 (gud-gdb-completion-function): New variable.
2438 (gud-gdb-completion-at-point): Use it.
2439 (gud-gdb-completions-1): Split from gud-gdb-completions.
2440
2441 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2442 function as separate arguments.
2443 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2444 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2445 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2446 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2447 (gdb-stopped, def-gdb-auto-update-trigger)
2448 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
2449 (gdb-get-changed-registers, gdb-get-main-selected-frame):
2450 Callers changed.
2170cb53
CY
2451 (gud-gdbmi-completions): New function.
2452 (gdb): Use it for generating the completion table.
2453
be8b11bb
AM
24542011-12-24 Alan Mackenzie <acm@muc.de>
2455
2456 Introduce a mechanism to widen the region used in context font
1d00653d 2457 locking. Use this to protect declarations from losing their contexts.
be8b11bb 2458
1d00653d
SM
2459 * progmodes/cc-langs.el (c-before-font-lock-functions):
2460 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 2461 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
2462 functions to be run just before context (etc.) font locking.
2463
2464 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 2465 New, functionality extracted from
be8b11bb 2466 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 2467 (c-in-after-change-fontification): New variable.
be8b11bb
AM
2468 (c-after-change): Set c-in-after-change-fontification.
2469 (c-set-fl-decl-start): Rejig its interface, so it can be called
2470 from both after-change and context fontifying.
b81d40f0
JB
2471 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2472 New functions.
2473 (c-standard-font-lock-fontify-region-function): New variable.
2474 (c-font-lock-fontify-region): New function.
be8b11bb 2475
341cf6ac
JL
24762011-12-24 Juri Linkov <juri@jurta.org>
2477
2478 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2479 (Bug#10348)
2480
bffcee0a
MA
24812011-12-23 Michael Albinus <michael.albinus@gmx.de>
2482
2483 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2484 existence of source file. (Bug#10325)
2485
cb5e207c
AM
24862011-12-23 Alan Mackenzie <acm@muc.de>
2487
2488 Fix unstable fontification inside templates.
2489
b81d40f0
JB
2490 * progmodes/cc-langs.el (c-before-font-lock-functions):
2491 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
2492 additionally has c-set-fl-decl-start. The other languages (apart
2493 from AWK) have that as a single entry.
2494
b81d40f0
JB
2495 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2496 The functionality for "local" declarations has been extracted to
cb5e207c
AM
2497 c-set-fl-decl-start.
2498
b81d40f0
JB
2499 * progmodes/cc-mode.el (c-common-init, c-after-change):
2500 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
2501 (c-set-fl-decl-start): New function, extracted from
2502 c-font-lock-enclosing-decls and enhanced.
2503
60ff536c
JB
25042011-12-23 Juanma Barranquero <lekktu@gmail.com>
2505
2506 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2507
1c4757d6
JL
25082011-12-22 Juri Linkov <juri@jurta.org>
2509
2510 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
2511
d031f2c7
CY
25122011-12-22 Chong Yidong <cyd@gnu.org>
2513
2514 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2515
bace743a
DA
25162011-12-21 Drew Adams <drew.adams@oracle.com>
2517
2518 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2519
728a1f2b
JC
25202011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2521
2522 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2523
0d373f73
TZ
25242011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2525
fec0aaa4
TZ
2526 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2527 highlighting and support. Fix up comments for capitalization.
2528 (cfengine-mode-debug): New var.
2529 (cfengine3-mode): Change the modeline indicator to "CFE3".
2530 (cfengine3-font-lock-keywords): Improve defun highlighting.
2531 (cfengine2-actions): Rename from `cfengine-actions'.
2532 (cfengine2-font-lock-keywords): Rename from
2533 `cfengine-font-lock-keywords'.
2534 (cfengine2-imenu-expression): Rename from
2535 `cfengine-imenu-expression'.
2536 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2537 (cfengine2-beginning-of-defun): Rename from
2538 `cfengine-beginning-of-defun'.
2539 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2540 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2541 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2542 modeline indicator to "CFE2".
2543 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2544 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 2545
bc86f573
CY
25462011-12-21 Chong Yidong <cyd@gnu.org>
2547
2548 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2549 filename argument.
2550
d45ba96b
MR
25512011-12-20 Martin Rudalics <rudalics@gmx.at>
2552
2553 * window.el (window-normalize-buffer-to-display): Remove.
2554 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2555
a6198c90
CY
25562011-12-19 Chong Yidong <cyd@gnu.org>
2557
2558 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2559 Don't signal an error in a predicate function; return non-nil.
2560 (vc-dir-mark-file): Move the error here.
2561 (vc-dir-mark-unmark): If acting on the region, keep going if one
2562 of the entries cannot be marked/unmarked.
2563 (vc-dir-mark-all-files): If current entry is a directory, mark
2564 only child files, as documented.
2565
34c5fb55
VB
25662011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2567
2568 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2569 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2570 addition.
2571
c803b2b7
JD
25722011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2573
2574 * term/ns-win.el (ns-get-selection-internal)
2575 (ns-store-selection-internal): Declare.
1154d12e
JB
2576 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2577 Declare as obsolete.
2578 (ns-get-pasteboard, ns-paste-secondary):
2579 Use ns-get-selection-internal.
2580 (ns-set-pasteboard, ns-copy-including-secondary):
2581 Use ns-store-selection-internal.
c803b2b7 2582
9cff91f8 25832011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
2584
2585 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 2586 (vc-deduce-fileset): Doc fix.
99a289d9 2587
f16c898a
AS
25882011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2589
2590 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2591
763237c4
SS
25922011-12-13 Sam Steingold <sds@gnu.org>
2593
2594 * man.el (Man-getpage-in-background): When running under a
2595 window-system, ignore $MANWIDTH and $COLUMNS.
2596
5fc1c122
KH
25972011-12-15 Kenichi Handa <handa@m17n.org>
2598
2599 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2600 (setup-ethiopic-environment-internal): Comment out key-binding for
2601 ethio-toggle-punctuation.
2602
13d49cbb
AM
26032011-12-13 Alan Mackenzie <acm@muc.de>
2604
898169a2
AM
2605 Add the switch statement to AWK Mode.
2606
7a71b18d 2607 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
2608 "default" to the keywords regexp.
2609
7a71b18d 2610 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 2611 expression as the rest.
1d00653d
SM
2612 (c-nonlabel-token-key): Allow string literals for AWK.
2613 Refactor for the other modes.
898169a2 2614
13d49cbb 2615 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 2616 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
2617 routines. Limit backward searching in c-font-lock-enclosing.decl.
2618
2619 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2620 pp-state and literal type in addition to the limits.
1d00653d 2621 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 2622 (c-state-literal-at): Use the above new defun.
1d00653d
SM
2623 (c-slow-in-literal, c-fast-in-literal): Remove.
2624 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
2625
2626 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2627 being in a literal. Add a limit for backward searching.
2628
2629 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2630 c-slow-in-literal.
2631
15e0efc7
SM
26322011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2633
2634 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2635
454592a6
MR
26362011-12-13 Martin Rudalics <rudalics@gmx.at>
2637
2638 * window.el (delete-other-windows): Use correct frame in call to
2639 window-with-parameter.
2640
87393f26
DP
26412011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2642
2643 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2644 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2645 (makefile-gmake-statements, makefile-makepp-statements):
2646 Use it and add new makepp keywords.
2647 (makefile-makepp-font-lock-keywords): Add new patterns.
2648 (makefile-match-function-end): Match new [...] and [[...]].
2649
11636b22
JB
26502011-12-11 Juanma Barranquero <lekktu@gmail.com>
2651
2652 * ses.el (ses-call-printer-return, ses-cell-property-get)
2653 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2654 (ses-create-cell-variable, ses-reset-header-string)
2655 (ses-cell-set-formula, ses-repair-cell-reference-all)
2656 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2657 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2658 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2659 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2660 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2661 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2662 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2663 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2664 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2665 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2666 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2667 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2668
cf018193
VB
26692011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2670
2671 * ses.el: The overall change is to add cell renaming, that is
2672 setting fancy names for cell symbols other than name matching
2673 "\\`[A-Z]+[0-9]+\\'" regexp .
2674 (ses-create-cell-variable): New defun.
2675 (ses-relocate-formula): Relocate formulas only for cells the
2676 symbols of which are not renamed, i.e. symbols whose names do not
2677 match regexp "\\`[A-Z]+[0-9]+\\'".
2678 (ses-relocate-all): Relocate values only for cells the symbols of
2679 which are not renamed.
2680 (ses-load): Create cells variables as the (ses-cell ...) are read,
2681 in order to check row col consistency with cell symbol name only
2682 for cells that are not renamed.
2683 (ses-replace-name-in-formula): New defun.
2684 (ses-rename-cell): New defun.
2685
ee957461
CY
26862011-12-11 Chong Yidong <cyd@gnu.org>
2687
2688 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2689 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2690
9a9e9ef0
MR
26912011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2692
2693 * window.el (other-window): Fix docstring.
2694
92a8eba5
EZ
26952011-12-10 Eli Zaretskii <eliz@gnu.org>
2696
2697 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
2698 `from' or `to' address before taking its substring.
2699 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
2700 encoded name is chopped in the middle of the encoded string, and
2701 thus displayed encoded.
2702
e152e577
JB
27032011-12-10 Juanma Barranquero <lekktu@gmail.com>
2704
2705 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2706
e5d84bfe
EZ
27072011-12-10 Eli Zaretskii <eliz@gnu.org>
2708
2709 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2710 to use texinfo-update-node and commands that call it if the
2711 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 2712 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
2713 (texinfo-all-menus-update, texinfo-master-menu)
2714 (texinfo-update-node, texinfo-every-node-update)
2715 (texinfo-multiple-files-update): Doc fix. Warn against updating
2716 all the @node lines.
2717 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
2718 argument is numeric. Explain better in the doc string what the
2719 function really does.
2720 (texinfo-insert-master-menu-list): Improve the error message
2721 displayed if there's no menu in the Top node.
2722 (Bug#2975) See also this thread:
e5d84bfe
EZ
2723 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2724
1d84e9bb
MG
27252011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2726
2727 * speedbar.el (speedbar-supported-extension-expressions):
2728 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2729
382c953b
JB
27302011-12-09 Juanma Barranquero <lekktu@gmail.com>
2731
2732 * printing.el (pr-mode-alist):
2733 * simple.el (filter-buffer-substring-functions)
2734 (completion-list-insert-choice-function):
2735 * window.el (window-with-parameter, window-atom-root)
2736 (window-sides-slots, window-size-fixed, window-min-delta)
2737 (window-max-delta, window--resize-mini-window)
2738 (window--resize-child-windows-normal, window-tree)
2739 (delete-other-windows, quit-window, split-window)
2740 (display-buffer-record-window, special-display-buffer-names)
2741 (special-display-regexps, special-display-popup-frame)
2742 (same-window-p, split-window-sensibly)
2743 (display-buffer-overriding-action, display-buffer-alist)
2744 (display-buffer-base-action, display-buffer, switch-to-buffer)
2745 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2746 (fit-window-to-buffer, recenter-positions)
2747 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2748 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2749 and remove unneeded backslashes in docstrings.
2750
39c9faef
SM
27512011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2752
98449af8
SM
2753 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2754
39c9faef
SM
2755 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2756 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2757 end in ".mk".
2758 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2759 when reading the makefile (bug#10116).
2760
86ed9fdc
SM
27612011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2762
2763 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2764 (bug#10116).
2765
5580f89d
GM
27662011-12-06 Glenn Morris <rgm@gnu.org>
2767
2768 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2769
28d3917c
CY
27702011-12-06 Chong Yidong <cyd@gnu.org>
2771
2772 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2773
a98edce9
JB
27742011-12-06 Juanma Barranquero <lekktu@gmail.com>
2775
2776 * textmodes/table.el (table-shorten-cell): Fix typo.
2777
e65adfac
CG
27782011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2779
2780 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2781
71cc0b74
EZ
27822011-12-05 Eli Zaretskii <eliz@gnu.org>
2783
2784 * descr-text.el (describe-char): Fix display of strong
2785 right-to-left characters and directional embeddings and overrides.
2786
2787 * simple.el (what-cursor-position): Fix display of codepoints of
2788 strong right-to-left characters.
2789
315bc30d
CY
27902011-12-05 Chong Yidong <cyd@gnu.org>
2791
2792 * faces.el (read-color): Doc fix.
2793
58a70b94
GM
27942011-12-05 Glenn Morris <rgm@gnu.org>
2795
2796 * align.el (align--set-marker): Add doc-string.
2797 Don't try to move something that is not a marker. (Bug#10216)
2798
5158face
GM
27992011-12-04 Glenn Morris <rgm@gnu.org>
2800
2801 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2802 overly zealous deletion of trailing whitespace.
2803
520fca41
JB
28042011-12-04 Juanma Barranquero <lekktu@gmail.com>
2805
2806 * server.el (server-delete-client): On Windows, do not try to delete
2807 the only terminal.
2808 (server-process-filter): On Windows, treat requests for a tty frame as
2809 if they were for a GUI frame if the running server is in GUI mode.
2810
5e605a2e
GM
28112011-12-03 Glenn Morris <rgm@gnu.org>
2812
2813 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2814
5c3fe83f
SM
28152011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2816
6f5e57e7
SM
2817 * electric.el: Streamline electric-indent's hook.
2818 (electric-indent-chars): Revert to simple list.
2819 (electric-indent-functions): New var.
2820 (electric-indent-post-self-insert-function): Use it.
2821
5c3fe83f
SM
2822 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2823 there's no inferior buffer (bug#10196).
2824 (prolog-consult-compile): Don't use toggle-read-only.
2825
6bdac736
MA
28262011-12-02 Michael Albinus <michael.albinus@gmx.de>
2827
2828 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2829 interrupt. (Bug#10187)
2830
6131ba7f
SM
28312011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2832
99c79fee
SM
2833 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2834 (bug#9160).
2835
6131ba7f
SM
2836 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2837 (bug#10191).
2838
cb0a02ea
JL
28392011-12-02 Juri Linkov <juri@jurta.org>
2840
2841 * info.el (Info-search): Display "end of manual" when Isearch
2842 reaches the end of single-file Info manual. (Bug#9918)
2843
66e0570c
EZ
28442011-12-02 Eli Zaretskii <eliz@gnu.org>
2845
2846 * isearch.el (isearch-message-prefix): Run the input method part
2847 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2848
02b16839
JL
28492011-12-02 Juri Linkov <juri@jurta.org>
2850
2851 * isearch.el (isearch-occur): Use `word-search-regexp' for
2852 `isearch-word'.
2853 (isearch-search-and-update): Add condition for `isearch-word' and
2854 call `word-search-regexp'. (Bug#10145)
2855
0b950688
GM
28562011-12-01 Glenn Morris <rgm@gnu.org>
2857
2858 * eshell/em-hist.el (eshell-hist-initialize):
2859 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 2860 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 2861
9505c3c7
SM
28622011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2863
2864 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2865
1bbe96b2 28662011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 2867
a1beca85
SM
2868 * progmodes/verilog-mode.el (verilog-pretty-expr):
2869 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
2870 verilog, such as += *= and the like.
2871 (verilog-assignment-operator-re): Regular expression to find the
2872 assigment operator in a verilog assignment.
2873 (verilog-assignment-operation-re): Regular expression to find an
2874 assignment statement for pretty-expr.
2875 (verilog-in-attribute-p): Query returns true if point is in an
2876 attribute context; used to skip these for expression line up from
2877 pretty-expr.
2878 (verilog-in-parameter-p): Query returns true if point is in an
2879 parameter definition context; used to skip these for expression
2880 line up from pretty-expr.
2881 (verilog-in-parenthesis-p): Query returns true if point is in a
2882 parenthetical expression, specifically ( ) but not [ ] or { };
2883 used by pretty-expr.
2884 (verilog-just-one-space): If there is no space, don't add one.
2885 (verilog-get-lineup-indent-2): Specifically skip just attribute
2886 contexts for expression lineup, rather than skipping all
2887 parenthetical expressions.
2888 (verilog-calculate-indent): Fix comment, and fix indent.
2889 (verilog-do-indent): Indent declarations in lists (suggested by
2890 Joachim Lechner).
2891 (verilog-mode-abbrev-table): Populate abbrev mode with the various
2892 skeleton items.
2893 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2894 by Alain Mellan).
2895
1bbe96b2 28962011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
2897
2898 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2899 parameters with embedded comments. Reported by Ray Stevens.
2900 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2901 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2902 Reported by Tim Holt.
2903 (verilog-auto): Fix AUTOing a upper module then AUTOing module
2904 instantiated by upper module causing wrong expansion until AUTOed a
2905 second time. Reported by K C Buckenmaier.
2906 (verilog-diff-auto): Fix showing .* as a difference when
2907 `verilog-auto-star-save' off. Reported by Dan Dever.
2908 (verilog-auto-reset, verilog-read-always-signals)
2909 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2910 temporary signals in reset list if
2911 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
2912 style to each signal's assignment type, bug381.
2913 Reported by Thomas Esposito.
6288f0ca
WS
2914 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2915 (verilog-uvm-statement-re): Support UVM indentation and
2916 highlighting, with old OVM keywords only.
a1beca85 2917 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
2918 Support AUTOTIEOFF creating non-wire data types.
2919 Suggested by Jonathan Greenlaw.
6288f0ca
WS
2920 (verilog-auto-insert-lisp, verilog-delete-to-paren)
2921 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2922 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
2923 (verilog-read-sub-decls, verilog-read-sub-decls-line):
2924 Fix mismatching parenthesis inside commented out code when deleting
382c953b 2925 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
2926 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2927 non-numeric vector width. Reported by Alex Reed.
2928 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 2929 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
2930 (verilog-auto-delete-trailing-whitespace):
2931 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
2932 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
2933 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2934 Fix verilog-scan-cache corruption when running user AUTO expansion
2935 hooks that call indentation routines.
2936 (verilog-simplify-range-expression): Fix typo ignoring lower case
2937 identifiers.
2938 (verilog-delete-auto): Fix delete-autos to also remove user created
2939 automatics, as long as they start with AUTO.
2940 (verilog-batch-diff-auto, verilog-diff-auto)
2941 (verilog-diff-function): Add `verilog-diff-auto' and bind to
2942 "C-c?" to report differences in AUTO expansion, ignoring spaces.
2943 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2944 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
2945 (verilog-re-search-forward-quick, verilog-syntax-ppss):
2946 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
2947 is disabled and its cache will get corrupt, causing AUTOS not to
2948 expand. Instead use only -quick functions.
2949 (verilog-scan-region): Fix scanning over escaped quotes.
2950 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2951 (verilog-re-search-backward-quick)
2952 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2953 related functions now ignore strings, to fix misparsing of strings
2954 with magic comments embedded in them.
a1beca85
SM
2955 (verilog-read-auto-template):
2956 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2957 Reported by Brad Dobbie.
2958 (verilog-read-auto-template):
2959 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 2960 Reported by Brad Dobbie.
6288f0ca
WS
2961 (verilog-auto-inst, verilog-auto-inst-param)
2962 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2963 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
2964 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
2965 debugging templates without merge conflicts, bug357.
2966 Reported by Brad Dobbie.
2967 (verilog-read-auto-template):
2968 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
2969 Reported by Brad Dobbie.
2970 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2971 abbrevs so user won't be asked to save.
2972 (verilog-read-auto-lisp-present): Fix to start at beginning of
2973 buffer in case called outside of verilog-auto.
2974 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2975 to "X-2". Reported by Matthew Myers.
2976 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2977 all inputs from module templates. Reported by Leith Johnson.
2978 (verilog-module-inside-filename-p): Fix locating programs as with
2979 modules.
2980 (verilog-auto-inst-port): Fix vl-width expressions when using
2981 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
2982 (verilog-decls-get-regs, verilog-decls-get-signals,
2983 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2984 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2985 verilog-read-decls): Combine reg and wire structures into one var
2986 structure to represent SystemVerilog concepts.
2987 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2988 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
2989 (verilog-auto-wire-type, verilog-insert-definition):
2990 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
2991 SystemVerilog "logic" keyword instead of "wire"/"reg".
2992 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2993 to declares outputs that also have assignments (presumably in an
a1beca85
SM
2994 ifdef or generate if so there's not a driver conflict).
2995 Reported by Matthew Myers.
2996 (verilog-auto-declare-nettype, verilog-insert-definition):
2997 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
2998 `default_nettype none. Reported by Julian Gorfajn.
2999 (verilog-read-always-signals-recurse, verilog-read-decls)
3000 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3001 malformed end statement, bug325. Reported by Joshua Wise and
3002 Andrew Drake.
3003 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3004 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
3005 when expanding .* in interfaces, bug320.
3006 Reported by Pierre-David Pfister.
6288f0ca 3007 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
3008 name and open parenthesis, bug317.
3009 Reported by Pierre-David Pfister.
6288f0ca
WS
3010 (verilog-simplify-range-expression): Fix simplification of
3011 multiplications inside AUTOWIRE connections, bug303.
3012 (verilog-auto-inst-port): Support parameter expansion in
3013 multidimensional arrays.
3014 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3015 after "assert property". Reported by Julian Gorfajn.
3016 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3017 with multiplication, bug303.
3018 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3019 Reported by Jan Frode Lonnum.
3020
1bbe96b2
GM
30212011-11-30 Juanma Barranquero <lekktu@gmail.com>
3022
3023 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3024 (hfy-shell-file-name, hfy-shell):
3025 * international/fontset.el (x-decompose-font-name): Fix typos.
3026
30272011-11-29 Ken Brown <kbrown@cornell.edu>
3028
3029 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3030 (gdb-version): Remove defvar.
3031 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3032 (gdb-gud-context-command, gdb-non-stop-handler)
3033 (gdb-current-context-command, gdb-stopped): Use it.
3034 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
3035 (gdb-non-stop-handler): Don't enable pretty-printing here.
3036 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
3037 non-stop mode. Use the following.
3038 (gdb-check-target-async): New defun.
3039 (gud-watch, gdb-stopped): Fix whitespace.
3040 (gdb-get-source-file): Don't try to display the source file if
3041 `gdb-main-file' is nil.
3042
30432011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3044
3045 * align.el: Try to generate fewer markers (bug#10047).
3046 (align--set-marker): New macro.
3047 (align-region): Use it.
3048
c935221f
SM
30492011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3050
3051 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3052
e70b5064
CY
30532011-11-29 Chong Yidong <cyd@gnu.org>
3054
3055 * indent.el (indent-for-tab-command, indent-according-to-mode):
3056 Doc fix.
3057 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3058
f3af92b7
MA
30592011-11-29 Michael Albinus <michael.albinus@gmx.de>
3060
3061 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3062 aware of remote file names. (Bug#10124)
3063
ed472be9
CY
30642011-11-29 Chong Yidong <cyd@gnu.org>
3065
3066 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3067
24510c22
SM
30682011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3069
3070 * files.el (find-file): Don't use force-same-window (bug#10144).
3071 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3072 use pop-to-buffer if the selected window can't be used.
3073 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3074
c60c3703
EZ
30752011-11-28 Eli Zaretskii <eliz@gnu.org>
3076
3077 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3078 special-mode-map.
3079
e95def75
CY
30802011-11-28 Chong Yidong <cyd@gnu.org>
3081
3082 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3083
c3f1c606
NR
30842011-11-27 Nick Roberts <nickrob@snap.net.nz>
3085
3086 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3087 gdb-get-source-file-list on gdb-create-source-file-list.
3088
00db469c
EZ
30892011-11-26 Eli Zaretskii <eliz@gnu.org>
3090
3091 * whitespace.el (whitespace-newline): Use a different foreground
3092 color for 16-color light-background displays.
3093
4ad3bc2a
CY
30942011-11-24 Chong Yidong <cyd@gnu.org>
3095
3096 * window.el (display-buffer--special-action): Doc fix.
3097
e9fce1ac
JB
30982011-11-25 Juanma Barranquero <lekktu@gmail.com>
3099
3100 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3101 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3102 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3103 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3104 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3105 (avl-tree-stack-first):
3106 * emacs-lisp/cconv.el (cconv--analyse-use):
3107 * net/gnutls.el (gnutls-negotiate): Fix typos.
3108
cb825e5d
GM
31092011-11-24 Glenn Morris <rgm@gnu.org>
3110
3adbe224
GM
3111 * lpr.el (lpr-windows-system, lpr-lp-system):
3112 * mail/binhex.el (binhex-begin-line):
3113 * progmodes/grep.el (grep-history, grep-find-history):
3114 * textmodes/flyspell.el:
3115 * vc/pcvs-defs.el (cvs-global-menu):
3116 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3117 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3118 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3119
321decc8
GM
3120 * net/tls.el: Fix case of "GnuTLS".
3121
420b63ad
GM
3122 * paths.el (rmail-file-name): Format doc-string for make-docfile.
3123
cb825e5d
GM
3124 * version.el (emacs-build-system): Give it a doc-string.
3125
a0649f08
JL
31262011-11-24 Juri Linkov <juri@jurta.org>
3127
3128 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3129
c0bc0fd4
GM
31302011-11-24 Glenn Morris <rgm@gnu.org>
3131
3132 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3133 if called on a non-mime message just toggle the headers. (Bug#8006)
3134
20db1522
JB
31352011-11-24 Juanma Barranquero <lekktu@gmail.com>
3136
3137 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3138 (allout-lead-with-comment-string, allout-structure-deleted-hook)
3139 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3140 (allout-rebullet-heading, allout-open-sibtopic)
3141 (allout-toggle-current-subtree-encryption)
3142 (allout-toggle-subtree-encryption, allout-encrypt-string)
3143 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3144 (allout-distinctive-bullets-string, allout-auto-activation):
3145 * window.el (window-normalize-buffer-to-display):
3146 * progmodes/verilog-mode.el (verilog-batch-indent):
3147 * textmodes/bibtex.el (bibtex-field-braces-opt)
3148 (bibtex-field-strings-opt):
3149 * vc/cvs-status.el (cvs-tree-merge):
3150 Fix typos.
3151
7262a87c
MA
31522011-11-23 Michael Albinus <michael.albinus@gmx.de>
3153
3154 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3155 `non-essential' to t, in order to avoid remote connections.
3156
283430a1
EZ
31572011-11-23 Eli Zaretskii <eliz@gnu.org>
3158
a1beca85
SM
3159 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3160 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
3161 case-insensitively.
3162
d2992a38
ML
31632011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3164
3165 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
3166
50419064
GM
31672011-11-23 Glenn Morris <rgm@gnu.org>
3168
da94eca1
GM
3169 * paths.el (rmail-file-name): Reformat the doc-string so that it
3170 is picked up.
3171
9aac4de2
GM
3172 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3173 (rmail-auto-file): Ignore case in the "special" field names,
3174 as mail-fetch-field does for all others.
3175
8038d2d2
GM
3176 * mail/rmail.el (rmail-forward):
3177 * mail/rmailkwd.el (rmail-set-label):
3178 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3179 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
3180
f3fe222a
GM
3181 * mail/rmail.el (rmail-current-message): Doc fix.
3182
50419064
GM
3183 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
3184
28109f49
SM
31852011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3186
3187 * server.el (server-eval-and-print): Allow C-g (bug#6585).
3188
394c65f1
GM
31892011-11-22 Glenn Morris <rgm@gnu.org>
3190
3191 * mail/rmailmm.el (test-rmail-mime-handler)
3192 (test-rmail-mime-bulk-handler)
3193 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3194
f2a0aa3a
JL
31952011-11-21 Juri Linkov <juri@jurta.org>
3196
1154d12e
JB
3197 * calc/calc.el (calc-read-key-sequence):
3198 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 3199
9c34a344
LMI
32002011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3201
3202 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3203 Tell the caller that the next line needs recomputation, even
3204 though it doesn't start a sexp (bug#10094).
3205
f04a3be9
SM
32062011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3207
3208 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3209
7978747f
SM
32102011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3211
f04a3be9
SM
3212 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3213 Use force-same-window.
7978747f 3214
fe7a3057
JB
32152011-11-20 Juanma Barranquero <lekktu@gmail.com>
3216
3217 * descr-text.el (describe-char-unicode-data):
3218 * json.el (json-string-escape):
3219 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3220 (Footnote-unicode, Footnote-style-p):
3221 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3222
24901d61
CY
32232011-11-20 Chong Yidong <cyd@gnu.org>
3224
3225 * window.el (replace-buffer-in-windows): Restore interactive spec.
3226
bac7ff22
SM
32272011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3228
24f3d7b9
SM
3229 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3230
bac7ff22
SM
3231 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3232 (byte-compile-global-not-obsolete-vars): New var.
3233 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3234 Use it.
3235 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3236
cd1181db
JB
32372011-11-20 Juanma Barranquero <lekktu@gmail.com>
3238
3239 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3240 * progmodes/pascal.el (electric-pascal-equal):
3241 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3242 * xml.el (xml-substitute-special): Fix typos.
3243
7fb18e9e
GM
32442011-11-20 Glenn Morris <rgm@gnu.org>
3245
3246 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3247 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3248 Doc fixes.
3249 (rmail-decode-mime-charset): Mark as obsolete.
3250
3251 * mail/rmailsum.el (rmail-message-regexp-p-1):
3252 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3253 Before using mime functions, check they are set. (Bug#10077)
3254
d5a6b3ba
JL
32552011-11-19 Juri Linkov <juri@jurta.org>
3256
3257 * info.el (Info-finder-find-node): Use `package--builtins' instead
3258 of `package-alist'. Use node names formed by the pattern "Keyword "
3259 and the keyword name.
3260
e981b61f
AS
32612011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3262
1d00653d 3263 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 3264
3ffbc301
JL
32652011-11-19 Juri Linkov <juri@jurta.org>
3266
3267 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3268 that calls `revert-buffer' on all Info buffers. (Bug#9915)
3269 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3270 `old-history', `old-history-forward'. Add let-binding
3271 `window-selected'. Remove calls to `kill-buffer',
3272 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
3273 before calling `Info-find-node', so `Info-find-node-2' will reread
3274 the Info file. Restore window positions only when `window-selected'
3275 is non-nil.
3276
30c62133
JL
32772011-11-19 Juri Linkov <juri@jurta.org>
3278
3279 * isearch.el (isearch-lazy-highlight-new-loop):
3280 Remove condition `(not isearch-error)'. (Bug#9918)
3281
3282 * misearch.el (multi-isearch-search-fun): Add condition
3283 `(not bound)' to ignore lazy-highlighting search.
3284 Add the search-failed message "end of multi" when the end of
3285 multi-sequence is reached. Uncapitalize the search-failed
3286 message "Repeat for next buffer".
3287
3288 * info.el (Info-search): Add the search-failed message
3289 "end of the manual" when the end of the manual is reached
3290 in Isearch mode.
3291
645ca9cf
JL
32922011-11-19 Juri Linkov <juri@jurta.org>
3293
3294 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3295 Use non-destructive `remove' instead of `delete' because
3296 `Info-history-list' stored to `Info-isearch-initial-history-list' in
3297 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3298
df754f66
JL
32992011-11-19 Juri Linkov <juri@jurta.org>
3300
3301 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3302 to nil instead of binding `search-ring' and `regexp-search-ring'.
3303 (Bug#9185)
3304
0e23d96a
EZ
33052011-11-19 Eli Zaretskii <eliz@gnu.org>
3306
3307 * simple.el (line-move): Force movement by logical lines for any
3308 hscrolled window, not only when auto-hscroll-mode is on.
3309 (line-move-visual): Update doc string to that effect. (Bug#10076)
3310
8a6ccb66
AS
33112011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3312
3313 * language/european.el (macintosh): Define as alias for mac-roman.
3314
49ae5b39
EZ
33152011-11-19 Eli Zaretskii <eliz@gnu.org>
3316
3317 * mail/rmailmm.el (rmail-mime-display-header)
3318 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3319 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3320 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3321 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3322 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3323 of a raw aref.
3324 (rmail-mime-entity-segment): To get past the tagline, move forward
3325 2 more lines, to account for the 2 empty lines that precede and
3326 follow the line with the buttons.
3327 (rmail-mime-update-tagline): Move one more line, to get past the
3328 empty line that follows the buttons in the tagline. (Bug#9520)
3329
c56cad4a
MR
33302011-11-19 Martin Rudalics <rudalics@gmx.at>
3331
3332 * window.el (window-max-delta-1, window-min-delta-1)
3333 (window-min-size-1, window-state-get-1, window-state-put-1)
3334 (window-state-put-2): Use "window--" prefix.
3335
cbe71af3
SM
33362011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3337
2ad52c60
SM
3338 * emacs-lisp/smie.el: Improve warnings and conflict detection.
3339 (smie-warning-count): New var.
3340 (smie-set-prec2tab): Use it.
3341 (smie-bnf->prec2): Improve warnings. Add docstring.
3342 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3343 (smie-bnf--set-class): New function.
3344 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
3345 corner case.
3346
6944dbc1
SM
3347 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3348 (compilation-error-properties, compilation-move-to-column):
3349 Handle compilation-first-column while in the target buffer.
3350
c400c4d7
SM
3351 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3352 Don't hardcode point-min==1.
3353
6dbe3e96
SM
3354 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3355 (eshell-rewrite-for-command): Remove workaround.
3356 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3357 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3358 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3359
cbe71af3
SM
3360 * files-x.el (modify-file-local-variable): Obey commenting conventions.
3361
a8e1496d
GM
33622011-11-17 Glenn Morris <rgm@gnu.org>
3363
3364 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3365 Ignore buffer-local generated-autoload-file if it is the same
3366 as the global value. (Bug#10049)
3367
df85d315
JB
33682011-11-17 Juanma Barranquero <lekktu@gmail.com>
3369
3370 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3371 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3372 (reftex-toc-previous-heading, reftex-toc-max-level)
3373 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3374 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3375 (reftex-toc-do-promote, reftex-toc-promote-prepare)
3376 (reftex-toc-promote-action, reftex-toc-extract-section-number)
3377 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3378 (reftex-toc-rename-label, reftex-toc-visit-location)
3379 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3380 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3381 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3382 leaving "*toc*" only for references to the buffer.
3383
a0c2d0ae
MR
33842011-11-17 Martin Rudalics <rudalics@gmx.at>
3385
3386 * window.el (window-resize, delete-window, split-window):
3387 Replace window-splits by window-combination-resize.
1d00653d 3388 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 3389
35c0bac8
GM
33902011-11-17 Glenn Morris <rgm@gnu.org>
3391
3392 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3393 Make bash entry derive from sh entry, not shell entry.
3394
d0c8fc8a
MA
33952011-11-16 Michael Albinus <michael.albinus@gmx.de>
3396
d0c8fc8a
MA
3397 * net/tramp-cache.el (tramp-flush-file-property): Flush also
3398 properties of linked files. (Bug#9879)
3399
7262a87c
MA
3400 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3401 local file name.
3402
7877f373
JB
34032011-11-16 Juanma Barranquero <lekktu@gmail.com>
3404
3405 * menu-bar.el (menu-bar-file-menu):
3406 * printing.el (pr-ps-utility):
3407 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3408 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3409 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3410 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3411 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3412 (icalendar--convert-cyclic-to-ical)
3413 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3414 (icalendar--convert-ical-to-diary)
3415 (icalendar--convert-recurring-to-diary)
3416 (icalendar--convert-non-recurring-all-day-to-diary)
3417 (icalendar-import-format-sample):
3418 * progmodes/idlw-shell.el (idlwave-shell-mode):
3419 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3420 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3421 (vhdl-ps-print-init): Fix typos.
3422
10649b82
KM
34232011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
3424
9d0cfcd6
GM
3425 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3426 FSF and collapse date sequence, obscure author/maintainer email address
3427 better, remove extra version line, track relocation of author's webpage.
10649b82 3428
9d0cfcd6
GM
3429 * progmodes/python.el (python-pdbtrack-input-prompt)
3430 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3431 regular python pdb prompts. Adjustments shamelessly taken exactly as
3432 suggested in EmacsWiki page (tiny change):
3433 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 3434
58179cce
JB
34352011-11-16 Juanma Barranquero <lekktu@gmail.com>
3436
3437 * expand.el (expand-pos, expand-index, expand-point):
3438 Remove redundant info from docstring.
3439 (expand-add-abbrevs): Doc fix.
3440 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3441 (expand-sample-perl-mode-expand-list): Fix typos.
3442
3443 * net/dbus.el (dbus-event-member-name):
3444 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3445 * term/pc-win.el (msdos-create-frame-with-faces):
3446 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3447
b6f67890
MR
34482011-11-16 Martin Rudalics <rudalics@gmx.at>
3449
3450 * window.el (split-window, window-state-get-1)
3451 (window-state-put-1, window-state-put-2): Rename occurrences of
3452 window-nest to window-combination-limit.
1d00653d 3453 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 3454
ce7ddba0
CY
34552011-11-16 Chong Yidong <cyd@gnu.org>
3456
3457 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3458 regexp (Bug#10033).
3459
3ae704f4
SM
34602011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3461
3462 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3463 `completing-read' will remove *Completions* and will preserve
3464 current-buffer for us.
3465 (tmm-add-prompt): Users of *Completions* will always (re)set its
3466 major mode.
3467 (tmm-old-comp-map): Remove.
3468
6ad1cdde
GM
34692011-11-16 Glenn Morris <rgm@gnu.org>
3470
3471 * mail/rmailedit.el: Require rmailmm when compiling.
3472 (rmail-old-mime-state): New declaration.
3473 (rmail-edit-current-message): If editing a mime message,
3474 edit the "raw" message from the mbox buffer.
3475 (rmail-cease-edit): Handle mime messages. (Bug#9840)
3476
d20faa20
GM
34772011-11-15 Glenn Morris <rgm@gnu.org>
3478
3479 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3480 which wasn't being used. Add optional arg to force given state.
3481 (rmail-mime): Add optional arg to force given state.
3482
c7015153
JB
34832011-11-15 Juanma Barranquero <lekktu@gmail.com>
3484
3485 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3486 * frame.el (display-mm-dimensions-alist):
3487 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3488 (outline-move-subtree-down):
3489 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3490 (newsticker--treeview-do-get-node):
3491 * net/quickurl.el (quickurl-list-buffer-name):
3492 * progmodes/dcl-mode.el (dcl-mode):
3493 * progmodes/gdb-mi.el (gdb-mapcar*):
3494 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3495
45261b50
GM
34962011-11-15 Glenn Morris <rgm@gnu.org>
3497
3498 * mail/rmail.el (rmail-file-coding-system): It's only ever used
3499 in a boolean sense, so just make it a boolean, and fix the doc.
3500 (rmail-show-mime-function, rmail-mime-feature)
3501 (rmail-require-mime-maybe): Doc fixes.
3502 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3503
3504 * mail/rmailmm.el (rmail-show-mime): Doc fix.
3505
0d26e0b6
JB
35062011-11-15 Juanma Barranquero <lekktu@gmail.com>
3507
3508 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3509 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3510 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3511 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3512
447f30f6
GM
35132011-11-15 Glenn Morris <rgm@gnu.org>
3514
672b871d
GM
3515 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3516 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3517 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3518 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3519 (rmail-mime, rmail-show-mime): Doc fixes.
3520
f6aa5bb1
GM
3521 * term/ns-win.el (mode-line-frame-identification):
3522 Leave it alone. (Bug#10051)
3523
947cd66b
GM
3524 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3525
447f30f6
GM
3526 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3527 Handle empty buffers. (Bug#9978)
3528
0b381c7e
JB
35292011-11-14 Juanma Barranquero <lekktu@gmail.com>
3530
3531 * international/mule.el (define-charset):
3532 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3533 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3534 * progmodes/verilog-mode.el (verilog-backward-token):
3535 * textmodes/ispell.el (lookup-words):
3536 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3537
71e027ac
GM
35382011-11-14 Glenn Morris <rgm@gnu.org>
3539
56632ce4
GM
3540 * progmodes/executable.el
3541 (executable-make-buffer-file-executable-if-script-p):
3542 Handle file-modes returning nil.
3543
40500957
GM
3544 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3545 message - not necessary, and causes problems. (Bug#9831)
3546
071c2340
GM
3547 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3548
d3cfca60
GM
3549 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3550
71e027ac
GM
3551 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3552 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
3553 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3554
89d61221
MR
35552011-11-12 Martin Rudalics <rudalics@gmx.at>
3556
3557 * window.el (window-resize, delete-window): Use window-splits
3558 variable instead of function.
3559 (window-state-get-1, window-state-put-2, window-state-put):
3560 Don't deal with windows' splits status.
3561
98282f6f
GM
35622011-11-12 Glenn Morris <rgm@gnu.org>
3563
3564 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3565 (apropos-documentation): Doc fixes.
3566
40a8bdf6
JB
35672011-11-11 Juanma Barranquero <lekktu@gmail.com>
3568
3569 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3570 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3571
65bd19ff
SM
35722011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3573
3574 * electric.el (electric-indent-post-self-insert-function): Make it
3575 possible for a char to only indent in some circumstances.
3576 (electric-indent-mode): Simplify.
3577
54f9154c
MR
35782011-11-11 Martin Rudalics <rudalics@gmx.at>
3579
3580 * window.el (windows-with-parameter): Remove unused function.
3581 (windows-at-side): Rename to window-at-side-list.
3582 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
3583 (window-side-check, window-size-ignore, window-size-fixed-1)
3584 (window-in-direction-2): Prefix with "window--".
3585 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 3586
68cbc58b
GM
35872011-11-11 Glenn Morris <rgm@gnu.org>
3588
3589 * subr.el (eval-after-load): If FILE is already loaded,
3590 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3591
b2621720
GM
35922011-11-10 Glenn Morris <rgm@gnu.org>
3593
9a4de110
GM
3594 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3595 Call svn via vc-svn-command rather than vc-do-command.
3596 (vc-svn-command): Add --non-interactive. (Bug#9993)
3597 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3598
b2621720
GM
3599 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3600 Add toggle-read-only. (Bug#7292)
3601 * files.el (toggle-read-only): Mention that it should only
3602 be used interactively. (Bug#10006)
3603
1dce7193
SM
36042011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3605
d9ac1a1e
SM
3606 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3607 Adjust regexp for OCaml warnings.
3608
0c325082
SM
3609 * electric.el (electric-pair-post-self-insert-function): Let user
3610 turn it off buffer-locally (bug#9932).
3611
90132c14
SM
3612 * progmodes/python.el (python-beginning-of-statement):
3613 Rewrite (bug#2703).
3614
1dce7193
SM
3615 * progmodes/compile.el: Better handle TABs (bug#9749).
3616 (compilation-internal-error-properties)
3617 (compilation-next-error-function): Obey the target buffer's
3618 compilation-error-screen-columns.
3619
c4e7c63a
JB
36202011-11-09 Juanma Barranquero <lekktu@gmail.com>
3621
3622 * progmodes/meta-mode.el: Remove obsolete comments.
3623 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3624 Fix typos in docstrings.
3625
2cffd681
MR
36262011-11-09 Martin Rudalics <rudalics@gmx.at>
3627
3628 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 3629 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
3630 (window--resizable): New function. Make all callers of
3631 window-resizable call window--resizable instead.
3632 (window-resizable): Rewrite in terms of window--resizable.
3633
0edcba87
GM
36342011-11-08 Glenn Morris <rgm@gnu.org>
3635
3636 * progmodes/delphi.el (delphi-mode-syntax-table):
3637 Let define-derived-mode define a proper syntax table. (Bug#9994)
3638
4b0d61e3
SM
36392011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3640
3641 * window.el: Stay away from defsubst.
3642 (window-list-no-nils): Remove.
3643 (window-state-get-1, window-state-get): Use backquote instead.
3644
cd394be1 36452011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 3646
4b0d61e3 3647 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 3648 Fix incorrect use of default argument in `completing-read'.
3649
e1c2c6f2
MR
36502011-11-08 Martin Rudalics <rudalics@gmx.at>
3651
3652 * window.el (display-buffer-function, special-display-function):
3653 Mention display-buffer-record-window but do not mention
3654 help-setup parameter in doc-strings.
b3f4a882 3655 (window-min-delta): Fix doc-string typo.
e1c2c6f2 3656
105216ed
CY
36572011-11-08 Chong Yidong <cyd@gnu.org>
3658
3659 * window.el (window-total-height, window-total-width): Doc fix.
3660 (window-body-size): Move from C.
3661 (window-body-height, window-body-width): Move to C.
3662
0a9f9ab5
SM
36632011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3664
3665 * window.el: Make special-display like display-buffer-alist (bug#9532).
3666 (display-buffer--special-action): New function, morphed
3667 from display-buffer--special.
3668 (display-buffer): Use it to handle special-display-buffers at higher
3669 priority (just after display-buffer-alist).
3670 (display-buffer-fallback-action, display-buffer--other-frame-action)
3671 (pop-to-buffer-same-window): Remove display-buffer--special.
3672
a769dd15
GM
36732011-11-07 Glenn Morris <rgm@gnu.org>
3674
3675 * calendar/cal-menu.el (cal-menu-set-date-title):
3676 Do nothing if not in a calendar. (Bug#9976)
3677
05a61ee3
SM
36782011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3679
3680 * files.el (find-file): Always use selected-window.
3681
be7f5545
MR
36822011-11-07 Martin Rudalics <rudalics@gmx.at>
3683
3684 * window.el (window-combinations): Make WINDOW argument
3685 mandatory. Rewrite doc-string.
3686 (walk-window-subtree, window-atom-check, window-min-delta)
3687 (window-max-delta, window--resize-this-window)
3688 (window--resize-root-window-vertically, window-tree)
3689 (balance-windows, window-state-put): Rewrite doc-strings as to
3690 not mention the term "subwindow".
3691 (window--resize-subwindows-skip-p): Rename to
3692 window--resize-child-windows-skip-p.
3693 (window--resize-subwindows-normal): Rename to
3694 window--resize-child-windows-normal.
3695 (window--resize-subwindows): Rename to
3696 window--resize-child-windows.
3697 (window-or-subwindow-p): Rename to window--in-subtree-p.
3698
3c6702ef
ML
36992011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3700
3701 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3702 Ensure that mbox format messages end in two newlines (Bug#9974).
3703
49745b39
CY
37042011-11-06 Chong Yidong <cyd@gnu.org>
3705
3706 * window.el (window-combination-p): Function deleted; its
3707 side-effect is not used in any existing code.
3708 (window-combinations, window-combined-p): Call window-*-child
3709 directly.
3710
24300f5f
CY
37112011-11-05 Chong Yidong <cyd@gnu.org>
3712
3713 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
3714 (window-size-ignore, window-state-get): Callers changed.
3715 (window-normalize-window): Rename from window-normalize-any-window.
3716 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 3717 (window-normalize-live-window): Delete.
447f16b8
CY
3718 (window-combination-p, window-combined-p, window-combinations)
3719 (walk-window-subtree, window-atom-root, window-min-size)
3720 (window-sizable, window-sizable-p, window-size-fixed-p)
3721 (window-min-delta, window-max-delta, window-resizable)
3722 (window-resizable-p, window-full-height-p, window-full-width-p)
3723 (window-current-scroll-bars, window-point-1, set-window-point-1)
3724 (window-at-side-p, window-in-direction, window-resize)
3725 (adjust-window-trailing-edge, maximize-window, minimize-window)
3726 (window-deletable-p, delete-window, delete-other-windows)
3727 (record-window-buffer, unrecord-window-buffer)
3728 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3729 (quit-window, split-window, window-state-put)
3730 (set-window-text-height, fit-window-to-buffer)
3731 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 3732
89bd5ee1
EZ
37332011-11-04 Eli Zaretskii <eliz@gnu.org>
3734
53479029
EZ
3735 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3736 rfc2047-decode-string.
3737 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3738 warnings.
3739
89bd5ee1
EZ
3740 * window.el (window-body-height, window-body-width): Mention in
3741 the doc string that the return values are in frame's canonical
3742 units. (Bug#9949)
3743
bd17fdee
AM
37442011-11-03 Alan Mackenzie <acm@muc.de>
3745
3746 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3747 change in cc-engine.el.
3748
acc825c5
SM
37492011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3750
3751 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3752
1885e5b8
MR
37532011-11-02 Martin Rudalics <rudalics@gmx.at>
3754
3755 * window.el (quit-window): Call unrecord-window-buffer after
3756 showing another buffer in the window. (Bug#9937)
acc825c5 3757 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 3758
ebe06da9
JB
37592011-11-02 Juanma Barranquero <lekktu@gmail.com>
3760
3761 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3762 Accept status with more than 9 shelves. (Bug#9935)
3763 Reported by Colin D Bennett <colin@gibibit.com>.
3764
4ee88440
MR
37652011-11-01 Martin Rudalics <rudalics@gmx.at>
3766
3767 * help.el (with-help-window): Don't reference
3768 temp-buffer-show-specifiers in doc-string.
3769
08e1d82c
AS
37702011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3771
3772 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3773 menu-item.
3774
84bd6e9e
VJL
37752011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3776
3777 * whitespace.el: New version 13.2.2.
3778 (whitespace-newline-mode): Disable properly. Reported by Sarah
3779 <EmacsWiki>.
3780
dba0634a
UJ
37812011-10-30 Ulf Jasper <ulf.jasper@web.de>
3782
3783 * net/newst-treeview.el: Remove "Time-stamp".
3784 (newsticker--group-manage-orphan-feeds): Do not call
3785 newsticker--treeview-tree-update.
db22a3c2
JB
3786 (newsticker-treeview-update, newsticker-treeview):
3787 Call newsticker--treeview-tree-update if necessary.
dba0634a 3788
3d8daefe
MR
37892011-10-30 Martin Rudalics <rudalics@gmx.at>
3790
3791 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
3792 (window-iso-combinations): Remove "iso-" infix.
3793 Suggested by Chong Yidong.
3d8daefe
MR
3794 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3795 (window-max-delta-1, window-resize, window--resize-siblings)
3796 (window--resize-this-window, adjust-window-trailing-edge)
3797 (split-window, balance-windows-1)
3798 (shrink-window-if-larger-than-buffer):
3799 * calendar/calendar.el (calendar-generate-window):
db22a3c2 3800 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 3801
1bc4c3ae
SM
38022011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3803
3804 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3805 in place (bug#9907).
3806 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3807 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3808 (eshell-structure-basic-command, eshell-rewrite-while-command)
3809 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3810 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3811 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3812 (eshell-do-pipelines-synchronously, eshell-eval-command):
3813 Use backquotes and prefer setq to set.
3814 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3815 (eshell-macrop): Use functionp.
c1e2f5fa 3816 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 3817
30b65d9c
CY
38182011-10-30 Chong Yidong <cyd@gnu.org>
3819
3820 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3821 instead of set-mark (Bug#9810).
3822
2d197ffb
CY
38232011-10-30 Chong Yidong <cyd@gnu.org>
3824
3825 * window.el (split-window-below, split-window-right): Rename from
3826 split-window-above-each-other and split-window-side-by-side
3827 respectively. All callers changed.
3828 (split-window-sensibly, split-window-sensibly): Use them.
3829 (split-window-keep-point): Doc fix.
3830
3831 * isearch.el: Add isearch-scroll property to split-window-below
3832 and split-window-right.
3833
3834 * follow.el (follow-mode):
3835 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3836 * progmodes/ada-xref.el (ada-gdb-application):
3837 * emulation/vip.el (vip-buffer-in-two-windows):
3838 * image-dired.el (image-dired-dired-with-window-configuration):
3839 * dired-x.el (dired-do-find-marked-files):
3840 * dired.el (dired-pop-to-buffer):
3841 * bs.el (bs--show-with-configuration):
3842 * vc/emerge.el (emerge-setup-windows):
3843 * textmodes/two-column.el (2C-two-columns):
3844 * textmodes/reftex-toc.el (reftex-toc):
3845 * progmodes/gdb-mi.el (gdb-setup-windows):
3846 * progmodes/fortran.el (fortran-window-create):
3847 * net/newst-treeview.el (newsticker--treeview-window-init):
3848 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3849 * emulation/tpu-edt.el (tpu-gold-map):
3850 * emulation/crisp.el (crisp-mode-map):
3851 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3852
38bb2ca8
CY
38532011-10-29 Chong Yidong <cyd@gnu.org>
3854
aa4de341
CY
3855 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3856
e1eb5385
CY
3857 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3858
5d2ece3c
CY
3859 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3860 forged Ispell output (Bug#7904).
3861
38bb2ca8
CY
3862 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3863
d0af9f77
SM
38642011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3865
3866 * doc-view.el: Avoid ugly errors about not finding nil.
3867 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3868 (doc-view-dvipdf-program, doc-view-unoconv-program)
3869 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3870 Avoid nil or absolute file name as default value.
3871 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3872
52bedd34
AM
38732011-10-28 Alan Mackenzie <acm@muc.de>
3874
db22a3c2 3875 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 3876
7e43cfa5
AM
38772011-10-28 Alan Mackenzie <acm@muc.de>
3878
3879 Amend the handling of c-beginning/end-of-defun in nested declaration
3880 scopes.
3881
52bedd34
AM
3882 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3883 cc-langs.el. Change it to a defcustom.
7e43cfa5 3884
52bedd34
AM
3885 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3886 cc-vars.el.
7e43cfa5 3887
d0af9f77
SM
3888 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3889 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 3890
52bedd34 3891 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 3892 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
3893 (c-widen-to-enclosing-decl-scope): New function.
3894 (c-while-widening-to-decl-block): New macro.
3895 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3896 outward for defun boundaries, and correspondingly change symbol
3897 `respect-enclosure' to `go-outward'.
3898 (c-declaration-limits): Change algorithm to report only the "innermost"
3899 defun's boundaries.
3900
1a2ce9ee
DD
39012011-10-28 Deniz Dogan <deniz@dogan.se>
3902
3903 * net/rcirc.el (rcirc-mode): Use hard newlines.
3904
bc97a826
AM
39052011-10-28 Alan Mackenzie <acm@muc.de>
3906
3907 Amend to indent and fontify macros "which include their own semicolon"
3908 correctly, using the "virtual semicolon" mechanism.
3909
52bedd34 3910 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 3911
d0af9f77 3912 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 3913 Recode to scan one line at a time rather than having \n and \r
58179cce 3914 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 3915 (c-forward-label): Amend for virtual semicolons.
58179cce 3916 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 3917
52bedd34
AM
3918 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3919 of the new C macros.
bc97a826 3920
52bedd34 3921 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
3922 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3923 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
3924 (c-opt-cpp-macro-define): Make into a full language variable.
3925 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3926 AWK Mode (including \n, \r) removed, no longer needed.
3927
d0af9f77
SM
3928 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3929 Invoke c-make-macro-with-semi-re.
bc97a826 3930
52bedd34
AM
3931 * progmodes/cc-vars.el (c-macro-with-semi-re):
3932 (c-macro-names-with-semicolon): New variables.
58179cce 3933 (c-make-macro-with-semi-re): New function.
bc97a826 3934
7a6c0941
SM
39352011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3936
3937 * vc/log-edit.el: Fill empty field rather than adding new one.
3938 (log-edit-add-field): New function.
3939 (log-edit-insert-changelog): Use it.
3940
b0c4cdcf
ML
39412011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3942
3943 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3944
ee1f1da9
SM
39452011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3946
3947 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3948 (gdb--check-interpreter): New function.
3949 (gdb): Use it.
3950
51bc5f8b
GM
39512011-10-27 Glenn Morris <rgm@gnu.org>
3952
416a2c45
GM
3953 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3954 (least-positive-float, least-negative-float)
3955 (least-positive-normalized-float, least-negative-normalized-float)
3956 (float-epsilon, float-negative-epsilon):
3957 Remove unnecessary declarations.
3958
3959 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3960 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3961 (least-positive-float, least-negative-float)
3962 (least-positive-normalized-float, least-negative-normalized-float)
3963 (float-epsilon, float-negative-epsilon): Add doc-strings,
3964 based on those in cl.texi.
3965
51bc5f8b
GM
3966 * files.el (set-visited-file-name): If the major-mode changed,
3967 reload the local variables. (Bug#9796)
3968
15de15c6
CY
39692011-10-27 Chong Yidong <cyd@gnu.org>
3970
3971 * subr.el (change-major-mode-after-body-hook): New hook.
3972 (run-mode-hooks): Run it.
3973
ee1f1da9
SM
3974 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3975 Use change-major-mode-before-body-hook.
15de15c6
CY
3976
3977 * simple.el (fundamental-mode):
3978 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3979 change introducing fundamental-mode-hook.
3980
5430d399
JB
39812011-10-26 Juanma Barranquero <lekktu@gmail.com>
3982
acc825c5 3983 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 3984
ad74a69e
MA
39852011-10-26 Michael Albinus <michael.albinus@gmx.de>
3986
3987 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 3988 tramp.el explicitly. (Bug#7583)
ad74a69e 3989
71d4c2a5
SM
39902011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3991
3992 * progmodes/octave-mod.el:
3993 * progmodes/octave-inf.el: Update maintainer.
3994
b1f6fa26
CY
39952011-10-26 Chong Yidong <cyd@gnu.org>
3996
3997 * subr.el (with-wrapper-hook): Rewrite doc.
3998
3f04efd6
MA
39992011-10-25 Michael Albinus <michael.albinus@gmx.de>
4000
4001 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 4002 filenames "/method:foo:". (Bug#9793)
3f04efd6 4003
410488d3
SM
40042011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4005
4006 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4007 (bug#9865).
4008
c1ebb47e
GM
40092011-10-24 Glenn Morris <rgm@gnu.org>
4010
4011 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4012
7f5c46c7
MA
40132011-10-24 Michael Albinus <michael.albinus@gmx.de>
4014
4015 * notifications.el: Add the requirement of a running D-Bus session
4016 bus to the Commentary.
4017
db2440b6
JL
40182011-10-24 Juri Linkov <juri@jurta.org>
4019
4020 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4021 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4022 (Bug#9364)
4023
feecf435
JL
40242011-10-24 Juri Linkov <juri@jurta.org>
4025
4026 * info.el (Info-following-node-name-re): Add newline to the list
4027 of allowed characters for leading space. (Bug#9824)
4028
a3839de2
SM
40292011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4030
acc825c5
SM
4031 * progmodes/octave-inf.el (inferior-octave-mode-map):
4032 Fix C-c C-h binding.
a3839de2
SM
4033 * progmodes/octave-mod.el (octave-help): Remove.
4034
09388e76
MA
40352011-10-23 Michael Albinus <michael.albinus@gmx.de>
4036
4037 Sync with Tramp 2.2.3.
4038
4039 * net/tramp-cache.el (top): Pacify byte-compiler using
4040 `init-file-user' and `site-run-file'.
4041
4042 * net/trampver.el: Update release number.
4043
86c60681
CY
40442011-10-23 Chong Yidong <cyd@gnu.org>
4045
4046 * files.el (toggle-read-only): Remove obsolete comment about
4047 version control.
4048
4049 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4050 for toggle-read-only. Note that this hasn't called vc-next-action
4051 since 2008-05-02, though it wasn't documented at the time.
4052
a3839de2
SM
4053 * vc/ediff-init.el (ediff-toggle-read-only-function):
4054 Use toggle-read-only.
86c60681 4055
cd5495ff
AM
40562011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4057
4058 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4059 of c-parse-state.
4060
00b77525 4061 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 4062 correct faulty logical expression.
cd5495ff
AM
4063 (c-parse-state-state, c-record-parse-state-state):
4064 (c-replay-parse-state-state): New defvar/defuns.
4065 (c-debug-parse-state): Use new functions.
4066
42ee24ed
MR
40672011-10-22 Martin Rudalics <rudalics@gmx.at>
4068
4069 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 4070 last fix. Use window-in-direction correctly.
42ee24ed 4071
a7dee7e7
CY
40722011-10-21 Chong Yidong <cyd@gnu.org>
4073
4074 * progmodes/idlwave.el (idlwave-mode):
4075 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
4076 require-final-newline; that's done in prog-mode.
4077 Suggested by Stefan Monnier.
a7dee7e7 4078
e07b9a6d
MR
40792011-10-21 Martin Rudalics <rudalics@gmx.at>
4080
4081 * mouse.el (mouse-drag-window-above)
4082 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4083 (mouse-drag-mode-line-1, mouse-drag-header-line)
4084 (mouse-drag-vertical-line-rightward-window): Remove.
4085 (mouse-drag-line): New function.
4086 (mouse-drag-mode-line, mouse-drag-header-line)
4087 (mouse-drag-vertical-line): Call mouse-drag-line.
4088 * window.el (window-at-side-p, windows-at-side): New functions.
4089
7e1361d9
UM
40902011-10-21 Ulrich Mueller <ulm@gentoo.org>
4091
4092 * tar-mode.el (tar-grind-file-mode):
4093 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4094
30fcaf3a
CY
40952011-10-21 Chong Yidong <cyd@gnu.org>
4096
4097 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
4098 * progmodes/vera-mode.el (vera-mode):
4099 Use mode-require-final-newline.
30fcaf3a 4100
516eddb0
GM
41012011-10-20 Glenn Morris <rgm@gnu.org>
4102
db22a3c2 4103 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 4104
10d5f513
CS
41052011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
4106
4107 * emulation/cua-base.el (cua-set-mark): Fix case of string.
4108
ac6c8639
CY
41092011-10-20 Chong Yidong <cyd@gnu.org>
4110
4111 * emulation/cua-base.el (cua-mode):
4112 * mail/footnote.el (footnote-mode):
4113 * mail/mailabbrev.el (mail-abbrevs-mode):
4114 * net/xesam.el (xesam-minor-mode):
4115 * progmodes/bug-reference.el (bug-reference-mode):
4116 * progmodes/cap-words.el (capitalized-words-mode):
4117 * progmodes/compile.el (compilation-minor-mode)
4118 (compilation-shell-minor-mode):
4119 * progmodes/gud.el (gud-tooltip-mode):
4120 * progmodes/hideif.el (hide-ifdef-mode):
4121 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4122 * progmodes/subword.el (subword-mode):
4123 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4124 * progmodes/which-func.el (which-function-mode):
4125 * term/tvi970.el (tvi970-set-keypad-mode):
4126 * term/vt100.el (vt100-wide-mode):
4127 * textmodes/flyspell.el (flyspell-mode):
4128 * textmodes/ispell.el (ispell-minor-mode):
4129 * textmodes/nroff-mode.el (nroff-electric-mode):
4130 * textmodes/paragraphs.el (use-hard-newlines):
4131 * textmodes/refill.el (refill-mode):
4132 * textmodes/reftex.el (reftex-mode):
4133 * textmodes/rst.el (rst-minor-mode):
4134 * textmodes/sgml-mode.el (html-autoview-mode)
4135 (sgml-electric-tag-pair-mode):
4136 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4137 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4138 * emulation/crisp.el (crisp-mode):
4139 * emacs-lisp/eldoc.el (eldoc-mode):
4140 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4141 minor mode behavior.
4142
aa42ab43
JL
41432011-10-19 Juri Linkov <juri@jurta.org>
4144
4145 * descr-text.el (describe-char): Add #x2010 and #x2011 to
4146 the list of hard-coded chars with escape-glyph face.
4147
89400f1d
SM
41482011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4149
4150 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4151
305c07f6
MA
41522011-10-19 Michael Albinus <michael.albinus@gmx.de>
4153
4154 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4155 running process.
4156
13754b54
GM
41572011-10-19 Glenn Morris <rgm@gnu.org>
4158
4159 * vc/vc-bzr.el (vc-bzr-after-dir-status):
4160 Ignore ignored files. (Bug#9726)
4161
06e21633
CY
41622011-10-19 Chong Yidong <cyd@gnu.org>
4163
4164 Doc fix for minor modes, stating that an omitted argument enables
4165 the mode unconditionally when called from Lisp.
4166
4167 * abbrev.el (abbrev-mode):
4168 * allout.el (allout-mode):
4169 * autoinsert.el (auto-insert-mode):
4170 * autoarg.el (autoarg-mode, autoarg-kp-mode):
4171 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4172 (global-auto-revert-mode):
4173 * battery.el (display-battery-mode):
4174 * composite.el (global-auto-composition-mode)
4175 (auto-composition-mode):
4176 * delsel.el (delete-selection-mode):
4177 * desktop.el (desktop-save-mode):
4178 * dired-x.el (dired-omit-mode):
4179 * dirtrack.el (dirtrack-mode):
4180 * doc-view.el (doc-view-minor-mode):
4181 * double.el (double-mode):
4182 * electric.el (electric-indent-mode, electric-pair-mode):
4183 * emacs-lock.el (emacs-lock-mode):
4184 * epa-hook.el (auto-encryption-mode):
4185 * follow.el (follow-mode):
4186 * font-core.el (font-lock-mode):
4187 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4188 * help.el (temp-buffer-resize-mode):
4189 * hilit-chg.el (highlight-changes-mode)
4190 (highlight-changes-visible-mode):
4191 * hi-lock.el (hi-lock-mode):
4192 * hl-line.el (hl-line-mode, global-hl-line-mode):
4193 * icomplete.el (icomplete-mode):
4194 * ido.el (ido-everywhere):
4195 * image-file.el (auto-image-file-mode):
4196 * image-mode.el (image-minor-mode):
4197 * iswitchb.el (iswitchb-mode):
4198 * jka-cmpr-hook.el (auto-compression-mode):
4199 * linum.el (linum-mode):
4200 * longlines.el (longlines-mode):
4201 * master.el (master-mode):
4202 * mb-depth.el (minibuffer-depth-indicate-mode):
4203 * menu-bar.el (menu-bar-mode):
4204 * minibuf-eldef.el (minibuffer-electric-default-mode):
4205 * mouse-sel.el (mouse-sel-mode):
4206 * msb.el (msb-mode):
4207 * mwheel.el (mouse-wheel-mode):
4208 * outline.el (outline-minor-mode):
4209 * paren.el (show-paren-mode):
4210 * recentf.el (recentf-mode):
4211 * reveal.el (reveal-mode, global-reveal-mode):
4212 * rfn-eshadow.el (file-name-shadow-mode):
4213 * ruler-mode.el (ruler-mode):
4214 * savehist.el (savehist-mode):
4215 * scroll-all.el (scroll-all-mode):
4216 * scroll-bar.el (scroll-bar-mode):
4217 * server.el (server-mode):
4218 * shell.el (shell-dirtrack-mode):
4219 * simple.el (auto-fill-mode, transient-mark-mode)
4220 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4221 (line-number-mode, column-number-mode, size-indication-mode)
4222 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4223 * strokes.el (strokes-mode):
4224 * time.el (display-time-mode):
4225 * t-mouse.el (gpm-mouse-mode):
4226 * tool-bar.el (tool-bar-mode):
4227 * tooltip.el (tooltip-mode):
4228 * type-break.el (type-break-mode-line-message-mode)
4229 (type-break-query-mode):
4230 * view.el (view-mode):
4231 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4232 (global-whitespace-mode, global-whitespace-newline-mode):
4233 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4234
a3839de2
SM
4235 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4236 Fix autogenerated docstring.
06e21633 4237
5214e501
JL
42382011-10-19 Juri Linkov <juri@jurta.org>
4239
4240 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4241 by checking environment variables "DESKTOP_SESSION" and
4242 "XDG_CURRENT_DESKTOP". (Bug#9779)
4243
195f8db9
JL
42442011-10-19 Juri Linkov <juri@jurta.org>
4245
4246 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4247 (browse-url-chromium-program, browse-url-chromium-arguments):
4248 New defcustoms.
4249 (browse-url-default-browser): Check for `browse-url-chromium' and
4250 call `browse-url-chromium-program'.
4251 (browse-url-chromium): New command. (Bug#9779)
4252
343a34ff
JB
42532011-10-18 Juanma Barranquero <lekktu@gmail.com>
4254
4255 * facemenu.el (list-colors-duplicates): On Windows, detect more
4256 duplicates by assuming that only colors matching "^System" are
4257 special "system colors". (Bug#9722)
4258
6978a151
SM
42592011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4260
4261 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4262 to distinguish the author from the committer.
4263
6a80b297
MA
42642011-10-18 Michael Albinus <michael.albinus@gmx.de>
4265
4266 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4267
b31a5677
JK
42682011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
4269
4270 * international/mule.el (sgml-html-meta-auto-coding-function):
4271 Add support for detecting encoding in HTML5 specified only as
4272 <meta charset="UTF-8">. Implementation just makes http-equiv and
4273 content-type parts from HTML4 encoding string optional. (Bug#9716)
4274
80c6d77f
GM
42752011-10-18 Glenn Morris <rgm@gnu.org>
4276
4277 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
4278
08b0fee8
CY
42792011-10-18 Chong Yidong <cyd@gnu.org>
4280
4281 * faces.el (cursor): Doc fix.
4282
67e729a5
CY
42832011-10-17 Chong Yidong <cyd@gnu.org>
4284
4285 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4286
343a34ff 42872011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
4288
4289 * dirtrack.el (dirtrack): Support shell buffers with path
4290 prefixes, e.g. tramp-based remote shells. (Bug#9647)
4291
0bc06380
TZ
42922011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
4293
4294 * json.el: Bump version to 1.3 and note change in History.
4295 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4296
8b79f3e0
SM
42972011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4298
5a7c536b
SM
4299 * comint.el (comint-insert-input, comint-send-input)
4300 (comint-get-old-input-default, comint-backward-matching-input)
4301 (comint-next-prompt): Use nil instead of `input' for field property of
4302 past user input (bug#114).
4303
96a8a0df
SM
4304 * minibuffer.el (completion--replace): Inherit surrounding properties
4305 (bug#114).
4306 (minibuffer-complete-and-exit): Use it.
4307
8b79f3e0
SM
4308 * comint.el (comint--table-subvert): Quote the all-completions output
4309 (bug#9160).
4310
b8f7ff0d
MR
43112011-10-17 Martin Rudalics <rudalics@gmx.at>
4312
8b79f3e0 4313 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 4314
b8f7ff0d 4315 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 4316 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
4317 entries and separate them from frame entries.
4318
c235b555
GM
43192011-10-15 Glenn Morris <rgm@gnu.org>
4320
4321 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4322 Doc fixes.
4323
6bbfa6e1
CY
43242011-10-15 Chong Yidong <cyd@stupidchicken.com>
4325
8b79f3e0
SM
4326 * net/network-stream.el (network-stream-open-starttls):
4327 Improve detection of failure due to lack of TLS support.
ec5c990d 4328
6bbfa6e1
CY
4329 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4330 putting the input text in front and in bold.
4331
98488977
SM
43322011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4333
3d1337be
SM
4334 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4335
ee0b45e4
SM
4336 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4337 empty buffer.
4338
98488977
SM
4339 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4340 unread-command-events rather than pushing yet-another event.
4341
186f4720
EZ
43422011-10-14 Eli Zaretskii <eliz@gnu.org>
4343
4344 * mail/sendmail.el (sendmail-query-once): Improve the wording of
4345 the explanation of the possible choices. Make the options passed
4346 to completing-read shorter.
4347
8b7a997c
AM
43482011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4349
4350 * textmodes/flyspell.el (flyspell-large-region): Make sure
4351 extended character mode is used if defined (Bug#1339).
4352
12587bbb
EZ
43532011-10-13 Eli Zaretskii <eliz@gnu.org>
4354
4355 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
4356 character info for LRE, LRO, RLE, and RLO characters by appending
4357 an invisible PDF.
12587bbb 4358
bad41229
SM
43592011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
4360
4361 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4362 even in case of error; add debug spec; simplify data flow.
4363 (with-timeout-handler): Remove.
4364
28dbc92f
MA
43652011-10-12 Michael Albinus <michael.albinus@gmx.de>
4366
4367 Fix Bug#6019, Bug#9315.
4368
4369 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4370 complete `buffer-file-name', the local file name part could look
4371 remotely (for example on VMS).
4372
4373 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4374 `tramp-run-real-handler'.
4375 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4376 already quoted by '"'.
4377
4378 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4379 Let `file-name-handler-alist' be nil, the local file name part
4380 could look remotely (for example on VMS).
4381
e1b0b23a
SM
43822011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4383
4384 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4385 from here...
4386 (flyspell-post-command-hook): ...to here.
4387
a120bde9
SM
43882011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4389
4390 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4391 if not needed.
4392 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
4393 using completion. Protect against "slow" callers.
4394 Remove the "message hack".
4395
7ce7717b
JL
43962011-10-11 Juri Linkov <juri@jurta.org>
4397
4398 * isearch.el (isearch-lazy-highlight-word): New variable.
4399 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4400 Use it. (Bug#9727)
4401
c02ee9d6
GM
44022011-10-11 Glenn Morris <rgm@gnu.org>
4403
4404 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4405 like f90-previous-statement does.
4406
93e616fd 44072011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4408
1f190e73 4409 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
4410 only in interactive use, to avoid error.
4411
af7b6078
SM
44122011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4413
4414 * minibuffer.el (completion-file-name-table): Fix last change,
4415 i.e. ignore normal errors but not the other ones.
4416
0563dae9
MR
44172011-10-10 Martin Rudalics <rudalics@gmx.at>
4418
4419 * window.el (special-display-buffer-names)
4420 (special-display-regexps): Remove some remnants of earlier
4421 changes from doc-strings.
366ca7f3
MR
4422 (quit-windows-on): New function.
4423
4424 * vc/vc.el (vc-revert, vc-rollback):
4425 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4426 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 4427 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 4428
49677495
MR
44292011-10-09 Martin Rudalics <rudalics@gmx.at>
4430
4431 * window.el (frame-auto-hide-function): Add version tag.
4432 (Bug#9699)
4433
56f2d1e1
MA
44342011-10-09 Michael Albinus <michael.albinus@gmx.de>
4435
4436 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4437 condition.
4438
112a6592
LL
44392011-10-09 Leo Liu <sdl.web@gmail.com>
4440
4441 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4442 (Bug#9701)
4443
0812589b
GM
44442011-10-08 Glenn Morris <rgm@gnu.org>
4445
4446 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4447 before the first code statement zero indent. (Bug#9690)
4448
b2b0776e
CY
44492011-10-08 Chong Yidong <cyd@stupidchicken.com>
4450
4451 * simple.el (count-words-region): Always count in the region.
4452 Report the number of lines and characters too.
4453 (count-words): New command, which counts in the buffer if the
4454 region is inactive, as count-words-region used to.
4455 (count-words--message): New function. Handle plurals.
4456 (count-lines-region): Make it an alias for count-words-region.
4457
4458 * bindings.el (esc-map): Replace count-lines-region with
4459 count-words-region.
4460
c557cd6b
MR
44612011-10-08 Martin Rudalics <rudalics@gmx.at>
4462
4463 * window.el (window--delete): Delete dedicated frame
4464 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 4465 (switch-to-buffer): Fix doc-string typo.
c557cd6b 4466
61a57ef4 44672011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4468
3a7d293b 4469 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 4470
c3833279
CY
44712011-10-07 Chong Yidong <cyd@stupidchicken.com>
4472
4473 * bindings.el ([M-left],[M-right]): Bind to left-word and
4474 right-word respectively.
4475
21ce8245
GM
44762011-10-07 Glenn Morris <rgm@gnu.org>
4477
4478 * cus-start.el (debug-on-quit): Fix custom type.
4479
6d823bb2
LMI
44802011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4481
0181e193
LMI
4482 * subr.el (define-key-after): Clarify that the function is not
4483 useful for non-menu keymaps.
4484
6d823bb2
LMI
4485 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4486
8e3459ce 44872011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4488
21ce8245 4489 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 4490 in current minibuffer (Fix bug with recursive minibuffers).
4491
a1c2d21e
CY
44922011-10-06 Chong Yidong <cyd@stupidchicken.com>
4493
4494 * progmodes/gdb-mi.el (gdb): Doc fix.
4495
5a4cf282
MR
44962011-10-05 Martin Rudalics <rudalics@gmx.at>
4497
4498 * window.el (frame-auto-hide-function): New option replacing
4499 frame-auto-delete. Suggested by Stefan Monnier.
4500 (window--delete): Call frame-auto-hide-function instead of
4501 investigating frame-auto-delete.
c96111ea
MR
4502 (window-point-1, set-window-point-1): New functions.
4503 (window-in-direction, record-window-buffer, window-state-get-1)
4504 (display-buffer-record-window): Use window-point-1 instead of
4505 window-point.
4506 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 4507
9854542e
SM
45082011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4509
4510 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4511
8943cfb0
GM
45122011-10-05 Glenn Morris <rgm@gnu.org>
4513
4514 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4515 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
4516
647ab967
LL
45172011-10-05 Leo Liu <sdl.web@gmail.com>
4518
4519 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4520 works with buffer object.
4521
3ddfbced
SM
45222011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4523
4524 * mpc.el (mpc-tool-bar-map): Add labels.
4525
bdfa5dd2
GM
45262011-10-04 Glenn Morris <rgm@gnu.org>
4527
4528 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4529
0e2070b5
MR
45302011-10-04 Martin Rudalics <rudalics@gmx.at>
4531
4532 * window.el (window--delete): New function.
4533 (frame-auto-delete): Resuscitate option.
4534 (bury-buffer, replace-buffer-in-windows)
4535 (quit-window): Rewrite using window--delete.
4536 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4537 Pass display-buffer-mark-dedicated to window--display-buffer-2
4538 (Bug#9639).
4539
3dc61a09
SM
45402011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4541
915a9b64
SM
4542 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4543 returns a list (bug#9554). Add remote file name completion.
4544 * comint.el (comint--table-subvert): Curry and get quote&unquote
4545 functions as arguments.
4546 (comint--complete-file-name-data): Adjust call accordingly.
4547 * pcomplete.el (pcomplete--table-subvert): Remove.
4548 (pcomplete-completions-at-point): Use comint--table-subvert instead.
4549
3dc61a09
SM
4550 * minibuffer.el (completion-table-case-fold): Use currying.
4551 (completion--styles-type, completion--cycling-threshold-type):
4552 New constants.
4553 (completion-styles, completion-category-overrides)
4554 (completion-cycle-threshold): Use them.
4555 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4556 completion-table-case-fold.
4557
8ea0a993
SB
45582011-10-03 Stephen Berman <stephen.berman@gmx.net>
4559
4560 * minibuffer.el (completion-category-overrides): Fix type of styles
4561 and add more user friendly tags (bug#9660).
4562
8c24b7f6
SM
45632011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4564
4565 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4566 (mule-input-method-string): New widget.
4567 (default-input-method, language-info-custom-alist): Use it.
4568
428fe61a
SM
45692011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4570
32c1fffd
SM
4571 * pcomplete.el: Require comint.
4572 (pcomplete--common-suffix): Remove.
4573 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4574 (pcomplete--table-subvert): Sync with comint--table-subvert.
4575 (pcomplete--entries): Use comint-completion-file-name-table.
4576 * comint.el (comint-unquote-filename): Simplify.
4577 (comint-completion-file-name-table): New function (bug#9616).
4578 (comint--complete-file-name-data): Use it.
4579
428fe61a
SM
4580 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4581 (pcmpl-gnu-tar-buffer): Remove.
4582 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
4583 around. Make sure pcomplete-suffix-list is only changed temporarily.
4584 Don't look inside the tar's file if it's too large.
428fe61a 4585
04c52e2f
CY
45862011-10-01 Chong Yidong <cyd@stupidchicken.com>
4587
ce3cefcc
CY
4588 * cus-edit.el (custom-mode-map):
4589 * epa.el (epa-key-list-mode-map):
4590 * man.el (Man-mode-map):
4591 * startup.el (splash-screen-keymap):
4592 * simple.el (special-mode-map): Use scroll-up-command and
4593 scroll-down-command.
4594
4595 * progmodes/idlw-help.el (idlwave-help-mode-map):
4596 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4597 * net/newst-plainview.el (newsticker-mode-map):
4598 * emulation/ws-mode.el (wordstar-mode-map):
4599 * emulation/vi.el (vi-com-map):
4600 * calc/calc-graph.el (calc-graph-show-dumb):
4601 * term/sun.el (terminal-init-sun):
4602 * term/ns-win.el (global-map):
4603 * progmodes/grep.el (grep-mode-map):
4604 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4605 * mail/rmail.el (rmail-mode-map):
4606 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4607
04c52e2f
CY
4608 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4609 custom-safe-themes as special.
4610
79adf8c8
JD
46112011-10-01 Julien Danjou <julien@danjou.info>
4612
4613 * notifications.el (notifications-notify): Fix docstring.
4614
63bd50d3
PS
46152011-10-01 Per Starbäck <per@starback.se>
4616
4617 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4618
199e4c7e
MR
46192011-09-30 Martin Rudalics <rudalics@gmx.at>
4620
4621 * startup.el (command-line-1): Fix last fix by inserting
4622 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 4623 (Bug#9605) and (Bug#9636)
199e4c7e 4624
fe5f08dd
EZ
46252011-09-29 Eli Zaretskii <eliz@gnu.org>
4626
4627 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4628 window is hscrolled, move by logical lines. (Bug#9607)
4629 (line-move-visual): Update the doc string to the above effect.
4630
b5516bbd
MR
46312011-09-29 Martin Rudalics <rudalics@gmx.at>
4632
ccee00c0
MR
4633 * window.el (display-buffer-record-window): When WINDOW is the
4634 selected window use `point' instead of `window-point'. (Bug#9626)
4635
b5516bbd
MR
4636 * startup.el (command-line-1): Use insert-before-markers when
4637 inserting initial-scratch-message. (Bug#9605)
ccee00c0 4638
b5516bbd
MR
4639 * help.el (help-window): Remove variable.
4640
52aa0014
GM
46412011-09-29 Glenn Morris <rgm@gnu.org>
4642
4643 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4644
df9a7357
JB
46452011-09-29 Juanma Barranquero <lekktu@gmail.com>
4646
4647 * descr-text.el (describe-char-categories): Accept category
4648 descriptions more than one line long.
4649
a8406c20
SM
46502011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4651
88d9610c
SM
4652 * simple.el (delete-trailing-whitespace): Fix last change.
4653
a5daf810
SM
4654 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4655 Don't confuse "y => 3" as the beginning of a `y' operation.
4656
a8406c20
SM
4657 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4658 object has more than 4 slots (bug#9613).
4659
a239d4e9
JB
46602011-09-28 Juanma Barranquero <lekktu@gmail.com>
4661
4662 * subr.el (with-output-to-temp-buffer):
4663 * net/quickurl.el (quickurl, quickurl-browse-url):
4664 Fix typos in docstrings.
4665
693fbdb6
EZ
46662011-09-27 Eli Zaretskii <eliz@gnu.org>
4667
4668 * minibuffer.el (completion-styles)
4669 (completion-category-overrides): Cross reference each other in doc
4670 strings.
4671
8b457e28
GM
46722011-09-27 Glenn Morris <rgm@gnu.org>
4673
4674 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4675 to split-string. (Bug#9606)
4676
85a16208
LMI
46772011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4678
4679 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4680 (bug#9615).
4681
502f9ebd
CY
46822011-09-27 Chong Yidong <cyd@stupidchicken.com>
4683
4684 * emacs-lisp/package.el (list-packages): Fix echo area message.
4685
7690bdea
LL
46862011-09-27 Leo Liu <sdl.web@gmail.com>
4687
4688 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4689
e2ee6f30
MA
46902011-09-25 Michael Albinus <michael.albinus@gmx.de>
4691
4692 * net/dbus.el (dbus-unregister-object): Don't release services for
4693 registered signals. (Bug#9581)
4694
f3f98342
TZ
46952011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4696
4697 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4698 function that picks between cfengine 2 and 3 support
4699 automatically. Update docs accordingly.
4700
dd7aa8dd
KH
47012011-09-22 Kenichi Handa <handa@m17n.org>
4702
4703 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4704 ZERO.
4705 (indian-itrans-v5-table-for-tamil): New variable.
4706 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4707
3f2b07f8
KM
47082011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4709
4710 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4711 that's true if the current command involved collapsing of text.
4712 It's reset to false at the beginning of the next command.
4713 (allout-post-command-business): Move the cursor to the beginning
4714 of entry if the cursor is hidden and collapsing activity just
4715 happened.
4716
371d6a61
CY
47172011-09-24 Chong Yidong <cyd@stupidchicken.com>
4718
4719 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4720 tracking (Bug#9541).
4721
2ac2721a
UJ
47222011-09-24 Ulf Jasper <ulf.jasper@web.de>
4723
4724 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
4725 (newsticker-show-news): Automatically load html rendering package
4726 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4727 because w3m-fill-column is let-bound" and the error "Symbol's value
4728 as variable is void: w3m-fill-column".
2ac2721a 4729
fac7ae53
MA
47302011-09-24 Michael Albinus <michael.albinus@gmx.de>
4731
4732 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4733 Release services only if they are defined. (Bug#9581)
4734
e08b633b
RS
47352011-09-23 Richard Stallman <rms@gnu.org>
4736
e488d29c
RS
4737 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4738 distinguish start of paragraph from start of its text.
4739
19c38752
RS
4740 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4741
e08b633b
RS
4742 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4743 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4744 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4745
0a39f27e
AS
47462011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4747
4748 * international/mule-diag.el (mule-diag): Insert a newline after
4749 each fontset description.
4750
db4e950d
SM
47512011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4752
4753 * simple.el (delete-trailing-whitespace):
4754 Document last change; simplify.
4755
eca3f3ea
PW
47562011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4757
d68e189a
PW
4758 * simple.el (delete-trailing-whitespace): Also delete
4759 extra newlines at the end of the buffer.
4760
eca3f3ea
PW
4761 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4762 (picture-newline): Use forward-line so as to ignore fields.
4763
01c157cc
SM
47642011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4765
4766 * subr.el (with-wrapper-hook): Fix edebug spec.
4767
022de23e
LMI
47682011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4769
4770 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4771 (bug#4538).
4772
91683089
MA
47732011-09-23 Michael Albinus <michael.albinus@gmx.de>
4774
eca3f3ea
PW
4775 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4776 Fix nasty bug using wrong cached values.
91683089 4777
5bdd6fa4
AM
47782011-09-23 Alan Mackenzie <acm@muc.de>
4779
4780 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4781
97adfb97
CY
47822011-09-23 Chong Yidong <cyd@stupidchicken.com>
4783
4784 * window.el (pop-to-buffer): Ensure right window is selected if we
4785 chose another frame.
4786
d4ef2b50
EZ
47872011-09-22 Eli Zaretskii <eliz@gnu.org>
4788
4789 * simple.el (what-cursor-position): Use get-char-property-change
4790 and next-single-char-property-change, to be able to show display
4791 properties that come from overlays as well as text properties.
4792
72258fe5
CY
47932011-09-22 Chong Yidong <cyd@stupidchicken.com>
4794
4795 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4796
4797 * cmuscheme.el (run-scheme, switch-to-scheme):
4798 * cus-edit.el (customize-group, custom-buffer-create)
4799 (customize-browse):
4800 * info.el (info):
4801 * shell.el (shell):
4802 * mail/sendmail.el (mail):
4803 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4804
8f098516
RS
48052011-09-22 Richard Stallman <rms@gnu.org>
4806
4807 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4808 move back only to line beg, don't move back over blank lines.
4809
e74f1bb6
MA
48102011-09-22 Michael Albinus <michael.albinus@gmx.de>
4811
4812 * files.el (copy-directory): Set directory attributes only in case
4813 they could be retrieved from the source directory. (Bug#9565)
4814
bfeef8b6
DK
48152011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4816
4817 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4818 (hs-find-block-beginning, hs-hide-level-recursive):
4819 Ignore strings as well as comments. (Bug#9502)
4820
7e423bb8
AS
48212011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4822
4823 * progmodes/sql.el (sql-comint-postgres):
4824 Convert port number to a string. (Bug#9566)
4825
b4d72fcf
MR
48262011-09-22 Martin Rudalics <rudalics@gmx.at>
4827
4828 * window.el (quit-window): Undedicate window when switching to
4829 previous buffer. Reported by Thierry Volpiatto
4830 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
4831 (special-display-popup-frame): When popping up a new frame reset
4832 its previous buffers to nil. Simplify code.
b4d72fcf 4833
a7b88dc6
MA
48342011-09-21 Michael Albinus <michael.albinus@gmx.de>
4835
4836 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4837 and process filter, as done also in `shell-command'.
4838
cf4eacfd
MR
48392011-09-21 Martin Rudalics <rudalics@gmx.at>
4840
eca3f3ea 4841 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
4842 Call set-window-start with NOFORCE argument t.
4843 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
4844 (quit-window): Reword doc-string. Handle new format of
4845 quit-restore parameter. Don't delete window if it has a
4846 previous buffer we can show instead of the present one.
4847 (display-buffer-record-window): Rewrite using a new format for
4848 the quit-restore window parameter
4849 (special-display-popup-frame, display-buffer-same-window)
4850 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4851 (display-buffer-pop-up-window, display-buffer-use-some-window):
4852 Adapt symbol passed to display-buffer-record-window.
4853 * help.el (help-window-setup): Handle new format of quit-restore
4854 parameter.
4855
8d28cb95
SM
48562011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4857
94ab793f
SM
4858 * faces.el (face-list): Fix docstring (bug#9564).
4859
8d28cb95
SM
4860 * window.el (display-buffer--action-function-custom-type):
4861 Don't include internal functions in the Custom interface.
4862
3820edeb
JL
48632011-09-20 Juri Linkov <juri@jurta.org>
4864
4865 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4866 (Info-forward-node, Info-backward-node, Info-next-preorder)
4867 (Info-last-preorder): Use it. (Bug#9528)
4868
5147931d
JL
48692011-09-20 Juri Linkov <juri@jurta.org>
4870
4871 * info.el (Info-last-preorder): Visit last menu item only when
4872 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4873
cf499a1a
JD
48742011-09-20 Julien Danjou <julien@danjou.info>
4875
4876 * password-cache.el (password-cache-remove): Remove entries even if the
4877 value is nil, so that password with a nil value (negative caching) is
4878 possible to invalidate.
4879
f84e2fe2
LM
48802011-09-20 Lawrence Mitchell <wence@gmx.li>
4881
4882 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4883 all whitespace around breakpoint. (Bug#9553)
4884 (f90-find-breakpoint): Only break at whitespace inside a comment.
4885
78054a46
SM
48862011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4887
4888 * minibuffer.el (completion-file-name-table): Keep track of errors.
4889 (completion-table-with-predicate): Handle the case where pred1 is nil.
4890 * pcomplete.el (pcomplete-completions-at-point): Simplify.
4891
345083b2
SM
48922011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4893
e24e27be
SM
4894 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4895 (debugger-return-value): Signal an error if the debugging context does
4896 not await any return value.
4897
345083b2
SM
4898 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4899 * image-mode.el (image-toggle-display-text)
4900 (image-toggle-display-image): Stay away from evil `intangible'.
4901
08d355e3
LL
49022011-09-19 Leo Liu <sdl.web@gmail.com>
4903
4904 * replace.el (occur-revert-arguments): Make it permanent-local.
4905 (occur-mode): Don't call font-lock-defontify.
4906
f01da43f
CY
49072011-09-19 Chong Yidong <cyd@stupidchicken.com>
4908
4909 * net/ldap.el (ldap-search-internal): Don't push empty search
4910 result (Bug#9508).
4911
b6072fa6
SM
49122011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4913
4914 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4915
443d6696
MA
49162011-09-19 Michael Albinus <michael.albinus@gmx.de>
4917
4918 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4919 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4920
7cc6e154
JL
49212011-09-18 Juri Linkov <juri@jurta.org>
4922
4923 * buff-menu.el (Buffer-menu-mode-map):
4924 * dired.el (dired-mode-map):
4925 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4926 (lisp-interaction-mode-map):
4927 * emacs-lisp/package.el (package-menu-mode-map):
4928 * epa.el (epa-key-list-mode-map):
4929 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4930 (menu-bar-options-menu):
4931 * outline.el (outline-mode-menu-bar-map):
4932 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4933 * vc/vc-dir.el (vc-dir-menu-map):
4934 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4935 Capitalize non-function content words in menu item strings.
4936
4937 * dired.el (dired-mode-map): Add menu item for
4938 `image-dired-dired-toggle-marked-thumbs'.
4939
80302a81
JL
49402011-09-18 Juri Linkov <juri@jurta.org>
4941
4942 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4943 to `isearch-case-fold-search' and restore its original value
4944 after the `isearch-mode' call.
4945
46c5cf66
JL
49462011-09-18 Juri Linkov <juri@jurta.org>
4947
4948 * progmodes/grep.el (grep-process-setup): Don't check code for 1
4949 because `zgrep' returns 1 for successful matches (bug#9226).
4950
d18b513b
JL
49512011-09-18 Juri Linkov <juri@jurta.org>
4952
4953 * info.el (Info-extract-menu-node-name): Check the second match
4954 for empty string (second test-case of bug#9528).
4955 (Info-last-preorder): Let-bind `Info-history' to nil to not add
4956 intermediate nodes to the history (first test-case of bug#9528).
4957
72753f87
JL
49582011-09-18 Juri Linkov <juri@jurta.org>
4959
4960 * info.el (Info-mode-syntax-table): New variable.
1154d12e 4961 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 4962
c9384295
JL
49632011-09-18 Juri Linkov <juri@jurta.org>
4964
1154d12e
JB
4965 * info.el (Info-file-supports-index-cookies):
4966 Increment line-beginning-position's arg from 3 to 4 because makeinfo
4967 outputs one more line for long file names (bug#4142).
c9384295 4968
d473dce8
CY
49692011-09-18 Chong Yidong <cyd@stupidchicken.com>
4970
4971 * newcomment.el (comment-normalize-vars): If prompting for
4972 comment-start, set comment-start-skip too (Bug#8424).
4973
2176854d
JB
49742011-09-18 Johan Bockgård <bojohan@gnu.org>
4975
4976 * icomplete.el: Fix previous fix of Bug#5849.
4977 (icomplete-mode): Don't set completion-show-inline-help.
4978 (icomplete-minibuffer-setup): Set completion-show-inline-help
4979 locally during icompletion.
4980
3aace4e4
CY
49812011-09-18 Chong Yidong <cyd@stupidchicken.com>
4982
c940224f
CY
4983 * woman.el (woman2-process-escapes): Don't delete unrecognized
4984 escapes (Bug#7843).
4985
3aace4e4
CY
4986 * files.el (inhibit-first-line-modes-regexps): Add image files.
4987 (hack-local-variables-prop-line): Return nil for malformed
4988 prop-lines (Bug#9044).
4989
710dec63
MA
49902011-09-18 Michael Albinus <michael.albinus@gmx.de>
4991
4992 * net/tramp.el (top): Don't require 'shell.
4993 (tramp-methods): Fix docstring.
4994 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
4995 Return complete remote file name. Handle "smb" case.
4996 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
4997 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4998
4999 * net/tramp-compat.el (top): Require 'shell.
5000
5001 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5002 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5003 `tramp-current-host'.
5004 (tramp-get-remote-tmpdir): Remove.
5005
5006 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5007 `tramp-tmpdir' entries.
5008 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5009 (tramp-smb-handle-file-attributes): Ignore errors.
5010 (tramp-smb-wait-for-output): Check also for process end.
5011
5d5ac8ec
LMI
50122011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5013
5014 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5015 when sending QUIT (bug#9312).
5016
8c0f49f0
CY
50172011-09-17 Chong Yidong <cyd@stupidchicken.com>
5018
5019 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5020 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5021 occur-mode-display-occurrence.
5022 (occur-edit-mode): Add usage message.
5023 (occur-cease-edit): New command.
5024 (occur-after-change-function): Use text properties to find the
5025 position of the prefix text.
5026 (occur-engine): Set stickiness of prefix text properties.
5027
8f1383f7
GM
50282011-09-17 Glenn Morris <rgm@gnu.org>
5029
5030 * progmodes/etags.el (complete-tag):
5031 Fix call to completion-in-region. (Bug#9526)
5032
744ba0e3
JL
50332011-09-17 Juri Linkov <juri@jurta.org>
5034
5035 * textmodes/ispell.el (ispell-word): Add to the error message
5036 the word, ispell program name and current dictionary (bug#9121).
5037 (ispell-tex-arg-end): Capitalize "error" in the error message.
5038
d9bbf400
AS
50392011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5040
5041 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5042 check. (Bug#4251)
5043
8da11505
JL
50442011-09-17 Juri Linkov <juri@jurta.org>
5045
5046 * window.el (window-safe-min-height, window-safe-min-width):
5047 Fix typos (followup to bug#9522).
5048
a91adc7e
SJ
50492011-09-17 Sven Joachim <svenjoac@gmx.de>
5050
5051 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5052
064f328a
EZ
50532011-09-16 Eli Zaretskii <eliz@gnu.org>
5054
5055 * simple.el (line-move): If goal-column is set, move by logical
5056 lines, not by display lines. (Bug#971)
5057 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5058 to reflect the above change.
5059
e69df516
SM
50602011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5061
5062 * image.el (imagemagick-register-types): Use regexp-opt.
5063
cbb0f9ab
CY
50642011-09-15 Chong Yidong <cyd@stupidchicken.com>
5065
5066 * window.el (display-buffer-base-action): Rename from
5067 display-buffer-default-action. Make default value empty.
5068 (display-buffer-overriding-action): Convert to defvar.
5069 (display-buffer-fallback-action): New var.
5070
25322144
CY
50712011-09-15 Chong Yidong <cyd@stupidchicken.com>
5072
5073 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5074 declaration.
5075 (package--add-to-archive-contents): If there is a duplicate entry
5076 with an older version, remove it.
5077 (package-menu-mark-delete, package-menu-mark-install)
5078 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
5079 (package-menu-mark-obsolete-for-deletion):
5080 Use package-menu-get-status instead of a regexp search.
25322144
CY
5081 (package-menu-get-status): Use tabulated-list-entry.
5082 (package-menu-mark-upgrades): New command.
d770725a 5083 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
5084 (package-menu-execute): Do installation before deletion.
5085 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5086 instead of checking major-mode.
5087 (package-menu--find-upgrades): New function.
5088
7520339c
LMI
50892011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5090
5091 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5092 passwords in the log buffer.
65a046c4
LMI
5093 (smtpmail-process-filter): Update the process marker so that the
5094 "broken by peer" status message is inserted in the right place.
7520339c 5095
d3c30954
SM
50962011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5097
3fe48822
SM
5098 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5099 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5100 bibtex-completion-at-point-function.
5101 (bibtex-completion-at-point-function): Use them.
5102
1b8b3954
SM
5103 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5104
d3c30954
SM
5105 * mpc.el (mpc-constraints-tag-lookup): New function.
5106 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5107 also to browser "album|playlist".
5108
72779976
JL
51092011-09-14 Juri Linkov <juri@jurta.org>
5110
5111 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
5112 (isearch-edit-string): Use length of `isearch-string' when
5113 `isearch-fail-pos' returns nil.
5114 (isearch-message): Remove duplicate code and call
5115 `isearch-fail-pos' with arg `t'.
5116
a0bf2bcd
CY
51172011-09-14 Chong Yidong <cyd@stupidchicken.com>
5118
17bb0a2d
CY
5119 * replace.el (occur-mode-goto-occurrence): Don't force using other
5120 window (Bug#9499).
5121
a0bf2bcd
CY
5122 * dired-aux.el (dired-do-chmod): Don't provide initial input.
5123
f678e0b6
MR
51242011-09-14 Martin Rudalics <rudalics@gmx.at>
5125
5126 * window.el (display-buffer-window): Remove.
5127 (display-buffer-record-window): Use help-setup window parameter
5128 instead of variable display-buffer-window.
5129 (display-buffer-function, special-display-buffer-names)
5130 (special-display-function): Mention help-setup parameter instead
5131 of display-buffer-window in doc-string.
d3c30954
SM
5132 * help.el (help-window-setup): New argument help-window.
5133 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
5134 Reword some messages.
5135 (with-help-window): Pass window used for displaying the buffer
5136 to help-window-setup. Don't set display-buffer-window.
5137
8e39b2e8
GM
51382011-09-13 Glenn Morris <rgm@gnu.org>
5139
5140 * emacs-lisp/debug.el (debugger-make-xrefs):
5141 Preserve point. (Bug#9462)
5142
85e9c04b
CY
51432011-09-13 Chong Yidong <cyd@stupidchicken.com>
5144
5145 * window.el (window-deletable-p): Use next-frame.
5146
1b36ed6a
MR
51472011-09-13 Martin Rudalics <rudalics@gmx.at>
5148
5149 * window.el (window-auto-delete): Remove.
5150 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 5151 dedication and previous buffers.
1b36ed6a
MR
5152 (switch-to-prev-buffer): Don't delete window.
5153 (delete-windows-on): Delete a window's frame if and only if the
5154 window is dedicated.
5155 (replace-buffer-in-windows): Delete buffer's window or frame if
5156 and only if window is dedicated.
5157 (quit-window): Handle quit-restore as before last change.
4d61f28d 5158 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 5159
ef8ef9fb
CY
51602011-09-13 Chong Yidong <cyd@stupidchicken.com>
5161
5162 * window.el (window-deletable-p): Never delete the last frame on a
5163 given terminal.
5164
b2cba41e
GM
51652011-09-13 Glenn Morris <rgm@gnu.org>
5166
5167 * help.el (describe-key-briefly): Copy previous standard-output change.
5168
51553db6 51692011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
5170
5171 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
5172
b7556719
GM
51732011-09-13 Glenn Morris <rgm@gnu.org>
5174
5175 * emacs-lisp/lisp-mode.el (lisp-indent-function):
5176 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5177
64b51947
CY
51782011-09-12 Chong Yidong <cyd@stupidchicken.com>
5179
5180 * dired-aux.el (dired-mark-read-string): Don't return default
5181 value on empty input (Bug#9361).
5182 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5183 Omit initial minibuffer contents.
5184 (dired-do-chmod): Signal an error on empty input.
5185 (dired-mark-read-string): Don't return default on empty input.
5186
5187 * files.el (file-modes-symbolic-to-number): Doc fix.
5188
393a301e
SM
51892011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5190
5191 * international/mule-cmds.el (ucs-completions): Remove.
5192 (read-char-by-name): Use complete-with-action instead; add metadata.
5193
fa5660f9
CY
51942011-09-11 Chong Yidong <cyd@stupidchicken.com>
5195
5196 * window.el (display-buffer--action-function-custom-type)
5197 (display-buffer--action-custom-type): New vars.
5198 (display-buffer-alist, display-buffer-default-action)
5199 (display-buffer-overriding-action): Add defcustom types.
5200
4a592f66
CY
5201 * frame.el (delete-other-frames): Doc fix (Bug#276).
5202
73d56dbd
LMI
52032011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5204
5205 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5206
37ac18a3
CY
52072011-09-11 Chong Yidong <cyd@stupidchicken.com>
5208
5209 Change modes that used same-window-* vars to use switch-to-buffer.
5210
5211 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5212 Use switch-to-buffer.
5213
5214 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
5215 (customize-browse, custom-buffer-create-other-window):
5216 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
5217
5218 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5219 (Info-prev, Info-up, Info-speedbar-goto-node)
5220 (info-display-manual): Use switch-to-buffer.
5221 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5222
5223 * mail/sendmail.el (mail): Use switch-to-buffer.
5224 (mail-recover): Use switch-to-buffer-other-window.
5225
5226 * cmuscheme.el (run-scheme, switch-to-scheme):
5227 * ielm.el (ielm):
5228 * shell.el (shell):
5229 * net/rlogin.el (rlogin):
5230 * net/telnet.el (telnet, rsh):
5231 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5232
10195bd6
AS
52332011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5234
5235 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5236
b322f63a
LMI
52372011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5238
39d7fed6
LMI
5239 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5240 so don't mention it (bug#9301).
ba5a81f1 5241 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 5242
ee0e9f11
LMI
5243 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5244 match `x', `w32' and `ns', like the manual says (bug#9029).
5245
0b1c89c1 5246 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
5247 (process-kill-buffer-query-function): Mention the buffer name in
5248 the query.
0b1c89c1 5249
77549ea8
LMI
5250 * image-mode.el (image-next-line): The line parameter is mandatory
5251 (bug#9258).
5252
803ef892
LMI
5253 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5254 which can be useful (bug#9301).
5255
12980837
LMI
5256 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5257
91054f8f
LMI
5258 * subr.el (match-string): Mention that the current buffer should
5259 be the same as the search was done in (bug#9282).
5260
b322f63a
LMI
5261 * facemenu.el: Disable the remove-* commands if the mark isn't
5262 active (bug#9162).
5263
3199b96f
CY
52642011-09-10 Chong Yidong <cyd@stupidchicken.com>
5265
5266 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5267 of display-buffer.
5268 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5269
5270 * replace.el (occur-mode-goto-occurrence)
5271 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5272 and display-buffer.
5273
5274 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5275 display-buffer.
5276
5277 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5278 special-display and same-window variables.
5279 (mail-other-window): Use switch-to-buffer-other-window.
5280 (mail-other-frame): USe switch-to-buffer-other-frame.
5281
393a301e
SM
5282 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5283 Use display-buffer-other-frame.
3199b96f
CY
5284 (gdb-display-gdb-buffer): Use pop-to-buffer.
5285
5286 * progmodes/gud.el (gud-goto-info): Use info-other-window.
5287
5288 * progmodes/python.el: Don't set same-window-buffer-names.
5289
5290 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5291
5292 * window.el (display-buffer-alist): Add *Python*.
5293
8319e0bf
CY
52942011-09-10 Chong Yidong <cyd@stupidchicken.com>
5295
5296 * window.el (display-buffer-alist): Add entry for buffers
5297 previously handled same-window-*.
5298 (display-buffer-alist, display-buffer-default-action)
5299 (display-buffer-overriding-action): Mark as risky.
5300 (display-buffer-alist): Document action function changes.
5301 (display-buffer--same-window-action)
5302 (display-buffer--other-frame-action): New variables.
5303 (switch-to-buffer, display-buffer-other-frame): Use them.
5304 (display-buffer): Rename reuse-frame entry to reusable-frames.
5305 (display-buffer-reuse-selected-window): Function deleted.
5306 (display-buffer-reuse-window): Handle reusable-frames alist entry.
5307 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5308 (display-buffer-special): New function.
5309 (display-buffer--maybe-pop-up-frame-or-window): Rename from
5310 display-buffer-reuse-or-pop-window. Split off special-display
5311 part into display-buffer-special.
5312 (display-buffer-use-some-window): Don't perform any special
5313 pop-up-frames handling.
5314 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 5315 (display-buffer--maybe-same-window): Rename from
0d3ff375 5316 display-buffer-maybe-same-window.
8319e0bf 5317
919a69aa
CY
5318 * info.el: Don't set same-window-regexps.
5319 (info-setup): New function.
5320 (info-other-window, info): Call it.
5321
5322 * cus-edit.el: Don't set same-window-regexps.
5323 (customize-group): New argument.
5324 (customize-group-other-window): Use it.
5325 (customize-face, customize-face-other-window): Likewise.
5326 (custom-buffer-create-other-window): Use pop-to-buffer directly.
5327
8319e0bf
CY
5328 * net/rlogin.el:
5329 * net/telnet.el:
5330 * progmodes/gud.el: Don't set same-window-regexps.
5331
5332 * cmuscheme.el:
5333 * ielm.el:
5334 * shell.el:
5335 * mail/sendmail.el:
5336 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5337
25173000
JL
53382011-09-10 Juri Linkov <juri@jurta.org>
5339
5340 * isearch.el (isearch-edit-string): Remove obsolete mention of
5341 `C-w' (`isearch-yank-word-or-char') from docstring.
5342 (isearch-query-replace): Fix typo in docstring (bug#9466).
5343
056e44ef
JL
53442011-09-10 Juri Linkov <juri@jurta.org>
5345
5346 * paren.el (show-paren-function): Don't show escaped parens.
5347 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
5348
c3760c17
EZ
53492011-09-10 Eli Zaretskii <eliz@gnu.org>
5350
5351 * mail/sendmail.el (mml-to-mime, mml-attach-file)
5352 (mm-default-file-encoding): Remove autoload forms, they are
5353 replaced with autoload cookies in mml.el and mm-encode.el.
5354 (mail-add-attachment): New command.
5355 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5356 (mail-mode): Mention mail-insert-file and mail-add-attachment in
5357 the doc string.
5358 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5359
fece895e
RT
53602011-09-10 Reuben Thomas <rrt@sc3d.org>
5361
e69df516
SM
5362 * simple.el (count-words-region): Use buffer if there's no region
5363 (bug#9429).
fece895e 5364
5e68ce4a
JL
53652011-09-09 Juri Linkov <juri@jurta.org>
5366
5367 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5368 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5369 (wdired-isearch-filter-read-only): New function. (Bug#6362)
5370
0a6b9622
AM
53712011-09-09 Alan Mackenzie <acm@muc.de>
5372
5373 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5374 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
5375
14a29deb
EZ
53762011-09-09 Eli Zaretskii <eliz@gnu.org>
5377
5378 Fix for Savannah bug#9392.
5379 * simple.el (mail-encode-mml): New defvar.
5380
5381 * mail/rmail.el (mail-encode-mml): Add a defvar.
5382 (rmail-enable-mime-composing): Default to t.
5383 (rmail-forward): Use MIME method of forwarding only if both
5384 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5385 Set mail-encode-mml non-nil if the MIME method was used.
5386
5387 * mail/sendmail.el (mml-to-mime): Add autoload form.
5388 (mail-encode-mml): Add a defvar.
5389 (mail-mode): Make mail-encode-mml buffer-local and initialize it
5390 to nil.
5391 (mail-send): If mail-encode-mml is non-nil, run the outgoing
5392 message through mml-to-mime, and reset mail-encode-mml to nil.
5393
28c45130
GM
53942011-09-09 Glenn Morris <rgm@gnu.org>
5395
5396 * woman.el (woman-if-body): When processing an .el block,
5397 do not delete the next .el block as well. (Bug#9447)
69f4b618 5398 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 5399
9b1c252e
MR
54002011-09-08 Martin Rudalics <rudalics@gmx.at>
5401
5402 * window.el (window-deletable-p): Make sure window is live before
5403 invoking window-prev-buffers.
5404
567457e3
LL
54052011-09-08 Leo Liu <sdl.web@gmail.com>
5406
5407 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
5408
97f05794
JL
54092011-09-08 Juri Linkov <juri@jurta.org>
5410
5411 * progmodes/compile.el (compilation-environment): Make it
5412 a defcustom (bug#8340).
5413
8b0874b5
MR
54142011-09-08 Martin Rudalics <rudalics@gmx.at>
5415
5416 * window.el (frame-auto-delete): Rename to window-auto-delete.
5417 Make it control auto-deletion of windows and/or frames.
5418 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 5419 for deleting window/frame. (Bug#9419)
8b0874b5
MR
5420 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5421 Rewrite handling of case when window/frame can be deleted.
5422 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 5423 argument t. (Bug#9456)
8b0874b5 5424
4feb6e73
CY
54252011-09-07 Chong Yidong <cyd@stupidchicken.com>
5426
5427 * help-mode.el (help-mode): Restore autoload.
5428
91ab9c13
JL
54292011-09-07 Juri Linkov <juri@jurta.org>
5430
5431 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5432 `compilation-environment'. Set buffer-local
5433 `compilation-environment' to `thisenv' later after (funcall mode).
5434 (Bug#8340)
5435
5436 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
5437 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5438 instead of replacing its value. (Bug#8340)
5439
0527e251
JL
54402011-09-07 Juri Linkov <juri@jurta.org>
5441
5442 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5443 based on text properties put by `grep-filter' instead of matching
5444 escape sequences.
5445 (grep-mode): Set buffer-local `compilation-error-screen-columns'
5446 to the value of `grep-error-screen-columns' (bug#9438).
5447
249f792c
JL
54482011-09-07 Juri Linkov <juri@jurta.org>
5449
5450 * simple.el (next-error-highlight, next-error-highlight-no-select):
5451 Doc fix (bug#9432).
5452
ff7271b9
OT
54532011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5454
5455 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5456 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
5457
183fc730
LL
54582011-09-07 Leo Liu <sdl.web@gmail.com>
5459
5460 * net/rcirc.el (rcirc-mode): Conditionally initialize
5461 rcirc-input-ring.
5462
77694924
SM
54632011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5464
5465 * emacs-lisp/find-func.el (find-function-C-source): Only set
5466 find-function-C-source-directory after checking that we found a source
5467 file there (bug#9440).
5468
d809b8eb
AM
54692011-09-06 Alan Mackenzie <acm@muc.de>
5470
5471 * isearch.el (isearch-other-meta-char): Wherever a key list is
5472 unread, "unread" the prefix arg, too. This fixes bug #8901.
5473
453de99f
OG
54742011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5475
5476 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5477
90439906
JL
54782011-09-05 Juri Linkov <juri@jurta.org>
5479
5480 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5481
f62bd846
JL
54822011-09-05 Juri Linkov <juri@jurta.org>
5483
5484 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5485 keeping point where processing of grep matches begins, and
5486 continue to delete remaining escape sequences from the same point.
5487 (grep-filter): Make leading zero optional in "0?1;31m" because
5488 git-grep emits "\033[1;31m" escape sequences unlike expected
5489 "\033[01;31m" as GNU Grep does (bug#9408).
5490 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5491
045820ec
JL
54922011-09-05 Juri Linkov <juri@jurta.org>
5493
5494 * subr.el (y-or-n-p): Capitalize "yes".
5495
f5e29b9b
MA
54962011-09-04 Michael Albinus <michael.albinus@gmx.de>
5497
5498 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
5499 `tramp-cache-unload-hook' where appropriate.
5500 (tramp-methods): Rename `tramp-remote-sh' to
5501 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
5502 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5503
5504 * net/tramp-sh.el (top): Don't require 'shell.
5505 (tramp-methods): Add `tramp-remote-shell' and
5506 `tramp-remote-shell-args' entries.
5507 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5508 (tramp-sh-handle-shell-command): Remove.
5509 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5510 Use `tramp-remote-shell'.
5511
2784c434
CY
55122011-09-03 Chong Yidong <cyd@stupidchicken.com>
5513
393a301e 5514 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
5515 (sendmail-query-once): Save directly to send-mail-function.
5516 Update message-send-mail-function too.
5517
5518 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5519
464cdf56
CS
55202011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5521
5522 * progmodes/python.el (python-mode-map): Use correct function to
5523 start python interpreter from menu-bar (as reported by Geert
5524 Kloosterman).
5525 (inferior-python-mode-map): Fix typo.
393a301e 5526 (python-shell-map): Remove.
464cdf56 5527
d37e5c87
DD
55282011-09-03 Deniz Dogan <deniz@dogan.se>
5529
5530 * net/rcirc.el (rcirc-print): Simplify code for
5531 rcirc-scroll-show-maximum-output. There is no need to walk
5532 through all windows to find the right one.
5533
f3ada0ee
CS
55342011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5535
5536 * help.el (help-return-method): Doc fix.
5537
1f3c99ca
MR
55382011-09-03 Martin Rudalics <rudalics@gmx.at>
5539
5540 * window.el (window-deletable-p): Don't return a non-nil value
5541 when there's a buffer that was shown in the window before.
5542 (Bug#9419)
393a301e
SM
5543 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5544 Set window's previous buffers to nil.
1f3c99ca 5545
a3cf097f
EZ
55462011-09-03 Eli Zaretskii <eliz@gnu.org>
5547
5548 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5549 newline before and after the tag line, so it doesn't interfere
5550 with determining the paragraph direction of bidirectional text.
5551
3d03de90
LL
55522011-09-03 Leo Liu <sdl.web@gmail.com>
5553
5554 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5555
c3313451
CY
55562011-09-02 Chong Yidong <cyd@stupidchicken.com>
5557
393a301e 5558 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
5559 (pop-to-buffer): Change interactive spec. Pass second argument
5560 directly to display-buffer.
5561 (display-buffer): Fix interactive spec. Use functionp to
5562 distinguish between a function and a list of functions.
5563
5564 * abbrev.el (edit-abbrevs):
5565 * arc-mode.el (archive-extract):
5566 * autoinsert.el (auto-insert):
5567 * bookmark.el (bookmark-bmenu-list):
5568 * files.el (find-file):
5569 * view.el (view-buffer):
5570 * progmodes/compile.el (compilation-goto-locus):
5571 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5572
89894cd8
CY
55732011-09-02 Chong Yidong <cyd@stupidchicken.com>
5574
5575 * window.el (display-buffer-alist): Doc fix.
5576 (display-buffer): Add docstring. Don't treat
5577 display-buffer-default specially.
5578 (display-buffer-reuse-selected-window)
5579 (display-buffer-same-window, display-buffer-maybe-same-window)
5580 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5581 (display-buffer-pop-up-window)
5582 (display-buffer-reuse-or-pop-window)
5583 (display-buffer-use-some-window): New functions.
5584 (display-buffer-default-action): Use them.
393a301e 5585 (display-buffer-default): Delete.
89894cd8
CY
5586 (pop-to-buffer-1): Fix choice of actions.
5587
ae0bc9fb
SM
55882011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5589
5590 * minibuffer.el (completion--insert-strings): Don't get confused by
5591 completion entries that end with an LF char.
5592
e9d90883
EZ
55932011-09-01 Eli Zaretskii <eliz@gnu.org>
5594
5595 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5596
437014c8
CY
55972011-09-01 Chong Yidong <cyd@stupidchicken.com>
5598
5599 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
5600 (display-buffer-same-window, display-buffer-other-window):
5601 New functions.
437014c8
CY
5602 (pop-to-buffer-1): New function. Use the above.
5603 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 5604 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
5605
5606 * view.el (view-buffer-other-window, view-buffer-other-frame):
5607 Just use pop-to-buffer.
5608
a5e063d5
TV
56092011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5610
5611 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5612
793d32bb
WH
56132011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5614
5615 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5616
d65e4c15
RS
56172011-08-31 Richard Stallman <rms@gnu.org>
5618
5619 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5620 of the separation of rmail-view-buffer from rmail-buffer.
5621 If you say no to "replace original", the decrypt is in the
5622 view buffer. If you say yes, the decrypt goes into the
5623 rmail buffer also.
5624
f818cd2a
MR
56252011-08-31 Martin Rudalics <rudalics@gmx.at>
5626
5627 * window.el (display-buffer-window): Rewrite doc-string.
5628 (display-buffer-record-window): New function.
5629 (display-buffer-macro-specifiers)
5630 (display-buffer-even-window-sizes, display-buffer-set-height)
5631 (display-buffer-set-width, display-buffer-in-window)
5632 (display-buffer-reuse-window, display-buffer-split-specifiers)
5633 (display-buffer-side-specifiers, display-buffer-split-window-1)
5634 (display-buffer-split-window, display-buffer-split-atom-window)
5635 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5636 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5637 (display-buffer-other-window-means-other-frame)
5638 (display-buffer-normalize-special)
5639 (display-buffer-normalize-default)
5640 (display-buffer-normalize-argument)
5641 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5642 (display-buffer-normalize-specifiers, display-buffer-frame)
5643 (display-buffer-same-window, display-buffer-same-frame)
5644 (display-buffer-other-window)
5645 (display-buffer-same-frame-other-window)
5646 (display-buffer-other-frame, pop-to-buffer-same-window)
5647 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5648 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5649 (switch-to-buffer-same-frame)
5650 (switch-to-buffer-other-window-same-frame)
5651 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5652 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5653 (display-buffer-alist-set): Remove.
5654 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
5655 (special-display-regexps, special-display-function):
5656 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
5657 parameter.
5658 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5659 (special-display-frame-alist, special-display-popup-frame)
5660 (same-window-buffer-names, same-window-regexps, same-window-p)
5661 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5662 (split-window-preferred-function, split-height-threshold)
5663 (split-width-threshold, window-splittable-p)
5664 (split-window-sensibly, window--try-to-split-window)
5665 (window--frame-usable-p, even-window-heights)
5666 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
5667 (window--display-buffer-2, display-buffer-other-frame):
5668 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
5669 (display-buffer-default, display-buffer-assq-regexp): New functions.
5670 (display-buffer-alist): Rewrite doc-string.
5671 (display-buffer-default-action)
5672 (display-buffer-overriding-action): New variables.
5673 (display-buffer, switch-to-buffer): Rewrite.
5674 (pop-to-buffer): Restore Emacs 23 behavior but use
5675 window-normalize-buffer-to-display.
5676 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5677 Restore Emacs 23 behavior but use
5678 window-normalize-buffer-to-switch-to.
5679 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
5680 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5681 Rewrite using Emacs 23 options.
f818cd2a 5682
5bc3b51d
MA
56832011-08-31 Michael Albinus <michael.albinus@gmx.de>
5684
5685 * net/tramp.el (tramp-root-regexp): Remove.
5686 (tramp-completion-file-name-regexp-unified)
5687 (tramp-completion-file-name-regexp-separate)
5688 (tramp-completion-file-name-regexp-url): Don't use leading volume
5689 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
5690 (tramp-drop-volume-letter): Simplify definition.
5691 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 5692
b1a4f8e1
SM
56932011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5694
5695 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5696 (bug#9356).
5697
5664fa7b
RT
56982011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5699
b1a4f8e1 5700 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 5701
9a45d6c3
JL
57022011-08-29 Juri Linkov <juri@jurta.org>
5703
5704 * isearch.el (isearch-done): Don't display message "Mark saved"
5705 when arg `edit' is non-nil to prevent its flicker in the echo area.
5706
fb87e0fb
CY
57072011-08-28 Chong Yidong <cyd@stupidchicken.com>
5708
5709 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5710 obsolete packages for deletion.
5711
09ac1c2a
CS
57122011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5713
5714 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 5715 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
5716 view-mode from help-mode.
5717 (help-xref-override-view-map): Remove.
5718 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5719 view-mode is not used anymore.
5720
7a1ff57f
CY
57212011-08-28 Chong Yidong <cyd@stupidchicken.com>
5722
5723 * server.el (server-port): Doc fix.
5724
b9696605
CY
5725 * cus-theme.el (custom-theme-choose-mode): Inherit from
5726 special-mode (Bug#9124).
5727 (custom-theme-choose-mode-map): Add special-mode to parent.
5728
ef8cdf8c
AM
57292011-08-28 Alan Mackenzie <acm@muc.de>
5730
5731 * progmodes/cc-fonts.el
5732 (c-make-font-lock-BO-decl-search-function): New function.
5733 (c-basic-matchers-after - "Fontify the clauses after various
5734 keywords"): Extract the three keyword lists for the 3 erroneous
5735 constructs from the list of four, and use the new function above
5736 in place of an old one.
5737
27de4e20
DD
57382011-08-28 Deniz Dogan <deniz@dogan.se>
5739
5740 * net/rcirc.el (rcirc-insert-prev-input)
5741 (rcirc-insert-next-input): Remove unused argument.
5742
356a3681
SM
57432011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5744
5745 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5746
3fc9b218
AM
57472011-08-27 Alan Mackenzie <acm@muc.de>
5748
5749 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5750 handle function pointer parameters properly.
5751
538a061c
MR
57522011-08-27 Martin Rudalics <rudalics@gmx.at>
5753
5754 * window.el (display-buffer-reuse-window): Fix case where
5755 selected window was reused with non-nil OTHER-WINDOW argument.
5756 (Bug#9381)
5757
35b1c40c
DD
57582011-08-27 Deniz Dogan <deniz@dogan.se>
5759
5760 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5761 oftc's NickServ messages.
5762
2f6a3e79
GM
57632011-08-27 Glenn Morris <rgm@gnu.org>
5764
5765 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5766
7254299e
CY
57672011-08-26 Chong Yidong <cyd@stupidchicken.com>
5768
5769 * emacs-lisp/package.el (package-install): Call package-initialize
5770 if called interactively.
5771
f8ccf167
LL
57722011-08-26 Leo Liu <sdl.web@gmail.com>
5773
5774 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5775
3e8cd5ce
JL
57762011-08-25 Juri Linkov <juri@jurta.org>
5777
5778 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5779 `search-whitespace-regexp' (bug#9364).
5780
93eb7113
JL
57812011-08-25 Juri Linkov <juri@jurta.org>
5782
5783 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5784 `regexp-search-ring' to their global values to protect from
5785 updating by `read-from-minibuffer' (bug#9185).
5786
f65d1611
JL
57872011-08-25 Juri Linkov <juri@jurta.org>
5788
5789 * textmodes/ispell.el (ispell-command-loop): Add newline
5790 at the end of the "Use option `i'..." line.
5791
f1cf7a31
JL
57922011-08-25 Juri Linkov <juri@jurta.org>
5793
5794 * battery.el (display-battery-mode): If `battery-status-function'
5795 or `battery-mode-line-format' is nil, display the message and set
5796 `display-battery-mode' to nil (bug#9363).
5797
0c95fcf7
EZ
57982011-08-25 Eli Zaretskii <eliz@gnu.org>
5799
5800 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5801 bidi-string-mark-left-to-right; they are unnecessary now.
5802
a2ebe600
DD
58032011-08-25 Deniz Dogan <deniz@dogan.se>
5804
5805 * net/quickurl.el: Documentation typo fixes.
5806
e4ed06f1
CY
58072011-08-25 Chong Yidong <cyd@stupidchicken.com>
5808
5809 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5810
e5f1c99e
GM
58112011-08-25 Glenn Morris <rgm@gnu.org>
5812
b2948976
GM
5813 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5814
e5f1c99e
GM
5815 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5816 (smtpmail-via-smtp): Handle nil response from smtp.
5817
f22f4808
JL
58182011-08-24 Juri Linkov <juri@jurta.org>
5819
5820 * proced.el (proced-marked): Inherit from `error' instead of
5821 `font-lock-warning-face'.
5822
5823 * ibuffer.el (ibuffer-marked-face): Change default face from
5824 `font-lock-warning-face' to `warning'.
5825 (ibuffer-deletion-face): Change default face from
5826 `font-lock-type-face' to `error'.
5827
5828 * battery.el (battery-update): Use the face `error' instead of
5829 `font-lock-warning-face' (bug#6117).
5830
6a93965e
JL
58312011-08-24 Juri Linkov <juri@jurta.org>
5832
5833 * faces.el (success): Change face color from "Green3" to
5834 "ForestGreen" on light background (bug#9353).
5835
1ed43b09
CY
58362011-08-24 Chong Yidong <cyd@stupidchicken.com>
5837
5664fa7b
RT
5838 * window.el (quit-window): Rename from quit-restore-window.
5839 Use same arglist as old quit-window.
1ed43b09
CY
5840 (frame-auto-delete): Doc fix.
5841
5842 * view.el (view-mode-exit): Use quit-window.
5843
11dcdbb2
JL
58442011-08-24 Juri Linkov <juri@jurta.org>
5845
5846 * isearch.el (isearch-ring-adjust1): Start visiting previous
5847 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5848 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5849 for empty search string (when the last search string is reused
5850 automatically) to adjust the isearch ring to the last element and
5851 prepare the correct index for further M-p commands (bug#9185).
5852
de62b4df
KH
58532011-08-24 Kenichi Handa <handa@m17n.org>
5854
5855 * international/ucs-normalize.el: If decomposition property of
5856 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5857 nil.
5858 (nfd, nfkd): Likewise.
5859
963b492b
SM
58602011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5861
5862 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5863 from process filters aren't reliably transmitted to the surrounding
5864 accept-process-output.
5865 (mpc-proc-check): New function.
5866 (mpc-proc-sync): Use it (bug#8293)
5867
93b6b5e1
SM
58682011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5869
5870 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5871 Add compatibility functions (bug#9313).
5872
bca633fb
EZ
58732011-08-23 Eli Zaretskii <eliz@gnu.org>
5874
b177498a
EZ
5875 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5876
6df6ae42 5877 * international/uni-bidi.el: Regenerate.
bca633fb 5878
0902a04e
KH
58792011-08-23 Kenichi Handa <handa@m17n.org>
5880
5881 * international/charprop.el:
5882 * international/uni-bidi.el:
5883 * international/uni-category.el:
5884 * international/uni-combining.el:
5885 * international/uni-comment.el:
5886 * international/uni-decimal.el:
5887 * international/uni-decomposition.el:
5888 * international/uni-digit.el:
5889 * international/uni-lowercase.el:
5890 * international/uni-mirrored.el:
5891 * international/uni-name.el:
5892 * international/uni-numeric.el:
5893 * international/uni-old-name.el:
5894 * international/uni-titlecase.el:
5895 * international/uni-uppercase.el: Regenerate.
5896
3bbf23bc
MR
58972011-08-23 Martin Rudalics <rudalics@gmx.at>
5898
5899 * help.el (help-window-setup): Fix message displayed when other
5900 window is reused. (Bug#9341)
5901
b3fd59bd
SM
59022011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5903
1802e444
SM
5904 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5905 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5906
b3fd59bd
SM
5907 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5908 Mark obsolete.
5909 * shell.el (shell-parse-pcomplete-arguments): New function.
5910 (shell-completion-vars): Use it instead (bug#9160).
5911
4eb61348
SM
59122011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5913
867cab74
SM
5914 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5915 strings and comments (bug#9333).
5916
4eb61348
SM
5917 * emacs-lisp/debug.el (debug-arglist): New function.
5918 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
5919 (debug-on-entry-1): Handle interpreted closures (bug#9120).
5920
262a1439
JL
59212011-08-22 Juri Linkov <juri@jurta.org>
5922
56ee679c
JL
5923 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5924 Revert regexp that highlights output switches to its old
5925 pre-2010-10-28 value and remove one `?' from it (bug#9319).
5926
262a1439
JL
5927 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5928 to check for empty output (bug#9226).
5929
f13f86fb
CY
59302011-08-22 Chong Yidong <cyd@stupidchicken.com>
5931
5932 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5933 symbol-constituent as the default, as that stops font-lock from
5934 working properly (Bug#8843).
5935
c65c9622
LMI
59362011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5937
5938 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5939 `coding-system-for-*' around the process open call to avoid
5940 auth-source side effects.
e7f2c178 5941 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
5942 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5943 probe hangs.
c65c9622 5944
23a8a5ab
CY
59452011-08-21 Chong Yidong <cyd@stupidchicken.com>
5946
ff98b2dd
CY
5947 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5948
23a8a5ab
CY
5949 * emacs-lisp/find-func.el (find-function-noselect): New arg
5950 lisp-only.
5951
5952 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5953 signal an error for built-in functions (Bug#6664).
5954
f5e3c598
LMI
59552011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5956
5957 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5958 (smtpmail-try-auth-methods): Use it.
5959
a3f2468a
CY
59602011-08-21 Chong Yidong <cyd@stupidchicken.com>
5961
2c34e8da
CY
5962 * font-lock.el (font-lock-fontify-region)
5963 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5964 (font-lock-default-unfontify-buffer)
5965 (font-lock-default-fontify-region)
5966 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5967
b3fd59bd
SM
5968 * progmodes/compile.el (compilation-error-properties):
5969 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
5970 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5971 `ant' regexp.
ee31aabc 5972
a3f2468a
CY
5973 * net/browse-url.el (browse-url-firefox): Don't call
5974 browse-url-firefox-sentinel unless using -remote (Bug#9328).
5975
8e999f70
GM
59762011-08-20 Glenn Morris <rgm@gnu.org>
5977
c21a496a
GM
5978 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5979
59ee0542
GM
5980 * tutorial.el (tutorial--default-keys): Update some default bindings.
5981
8e999f70
GM
5982 * files.el (hack-local-variables): Fully ignore case for "mode:".
5983
e3715033
AM
59842011-08-20 Alan Mackenzie <acm@muc.de>
5985
5986 Resolve invalid use of a regexp in regexp-opt.
5987
4d61f28d
JB
5988 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5989 detection for a java annotation.
e3715033 5990
4d61f28d 5991 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
5992 detection for a java annotation.
5993
4d61f28d
JB
5994 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5995 handling for java.
e3715033
AM
5996 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5997
04ed2e9c
CY
59982011-08-20 Chong Yidong <cyd@stupidchicken.com>
5999
6000 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6001 (Bug#9274).
6002
826cee64
AM
60032011-08-20 Alan Mackenzie <acm@muc.de>
6004
58179cce 6005 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
6006 such a construct. Mainly for when jit-lock etc. starts a chunk
6007 here.
6008
58179cce 6009 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 6010 variable.
58179cce 6011 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
6012 c-make-font-lock-search-function.
6013 (c-make-font-lock-search-function): Use the above function.
6014 (c-make-font-lock-context-search-function): New function.
6015 (c-cpp-matchers): Enhance the preprocessor expression case with
6016 the above function
6017 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6018 which takes an expression.
6019
6020 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6021
13009bd8
MR
60222011-08-20 Martin Rudalics <rudalics@gmx.at>
6023
6024 * window.el (display-buffer-reuse-window)
6025 (display-buffer-pop-up-window): Don't reuse or split a side
6026 window.
6027
9234ff7f
GM
60282011-08-19 Glenn Morris <rgm@gnu.org>
6029
6030 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 6031 Downcase "Mode:". (Bug#9331)
9234ff7f 6032
f635daa1
CY
60332011-08-18 Chong Yidong <cyd@stupidchicken.com>
6034
6035 * international/characters.el: Add L and R categories.
6036
6037 * subr.el (bidi-string-mark-left-to-right): Rename from
6038 string-mark-left-to-right. Use category search.
6039
6040 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6041
bc987f8b
JL
60422011-08-18 Juri Linkov <juri@jurta.org>
6043
6044 * faces.el (error, warning, success): New faces with definitions
6045 copied from old default values of `font-lock-warning-face',
6046 `compilation-warning', `compilation-info' (bug#6117).
6047
6048 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6049
6050 * progmodes/compile.el (compilation-error): Inherit from `error'.
6051 (compilation-warning): Inherit from `warning'.
6052 (compilation-info): Inherit from `success'.
6053
6054 * dired.el (dired-marked): Inherit from `warning'.
6055 (dired-flagged): Inherit from `error'.
6056
57173b96
LMI
60572011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6058
3e79eb87
LMI
6059 * mail/smtpmail.el (auth-source): Require to avoid problems with
6060 binding variables (bug#9298). Also clean up some unused
6061 autoloads.
6062
b3fd59bd
SM
6063 * net/network-stream.el (network-stream-open-starttls):
6064 Support using starttls.el without using gnutls-cli.
57173b96 6065
02b404de
JL
60662011-08-17 Juri Linkov <juri@jurta.org>
6067
6068 * progmodes/grep.el (rgrep): Handle the case when
6069 `grep-find-command' is a cons cell (bug#9278).
6070
8c9177f2
MR
60712011-08-17 Martin Rudalics <rudalics@gmx.at>
6072
6073 * window.el (display-buffer-pop-up-frame): Run frame creation
6074 function with BUFFER current (as special-display-popup-frame
6075 does). Reported by Drew Adams.
6076
3644a0ab
DU
60772011-08-17 Daiki Ueno <ueno@unixuser.org>
6078
6079 * epa-mail.el: Simplify GnuPG group expansion using
6080 epg-expand-group.
6081 (epa-mail-group-alist, epa-mail-group-modtime)
6082 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6083 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6084 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6085 Remove.
6086
5e617bc2 60872011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
6088
6089 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6090
9c4aeabf
AM
60912011-08-16 Alan Mackenzie <acm@muc.de>
6092
6093 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6094 Correct, to avoid the inside of macros.
6095
3a99bf64
RS
60962011-08-16 Richard Stallman <rms@gnu.org>
6097
04963aa8
RS
6098 * epa-mail.el: Handle GnuPG group definitions.
6099 (epa-mail-group-alist, epa-mail-group-modtime)
6100 (epa-mail-gnupg-conf-file): New variables.
6101 (epa-mail-parse-groups, epa-mail-sync-groups)
6102 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6103 (epa-mail-expand-recipients): New functions.
6104 (epa-mail-encrypt): Call epa-mail-expand-recipients.
6105
177549d0
RS
6106 * mail/rmail.el (rmail-epa-decrypt): New command.
6107
fe38beef
RS
6108 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6109 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
6110 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6111 (epa-decrypt-armor-in-region): Make error message clearer.
6112
934eacb9
SM
61132011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6114
6115 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6116 and "a2b" to "ab" for `prefix'.
6117
d024fb4e
CY
61182011-08-14 Chong Yidong <cyd@stupidchicken.com>
6119
6120 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6121 filter groups.
de148fee
CY
6122 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
6123 Fourquet (Bug#8804).
d024fb4e 6124
62f1ca49
JB
61252011-08-12 Juanma Barranquero <lekktu@gmail.com>
6126
6127 * startup.el (argi): Declare as global variable (bug#9275).
6128
9ccaaa4b
CY
61292011-08-12 Chong Yidong <cyd@stupidchicken.com>
6130
6131 * subr.el (string-mark-left-to-right): Search the entire string
6132 for RTL script, not just the terminating character. Doc fix.
6133
a3dae87a
SM
61342011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6135
6cd18349
SM
6136 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6137 New function.
6138 (js--regexp-literal, js-syntax-propertize-function): Remove.
6139 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6140 (js-mode-map): Don't rebind electric keys.
6141 (js-insert-and-indent): Remove.
6142 (js-mode): Setup electric-layout and electric-indent instead.
6143
a3dae87a
SM
6144 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6145
9d5cb631
DU
61462011-08-12 Daiki Ueno <ueno@unixuser.org>
6147
6148 * epa.el (epa-progress-callback-function): Fix the logic of
6149 displaying progress.
6150 * epa-file.el (epa-file-insert-file-contents): Make progress
6151 display more user-friendly.
6152 (epa-file-write-region): Ditto.
6153
3e26a4a2
CY
61542011-08-10 Chong Yidong <cyd@stupidchicken.com>
6155
6156 * subr.el (string-mark-left-to-right): New function.
6157
6158 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6159 Use string-mark-left-to-right.
6160 (list-buffers-noselect): Caller changed.
6161
a3dae87a
SM
6162 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6163 Use string-mark-left-to-right.
3e26a4a2
CY
6164 (tabulated-list-print): Recenter after moving point.
6165
ac8cf6e6
JL
61662011-08-10 Juri Linkov <juri@jurta.org>
6167
6168 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6169 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6170 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6171
8d96c9a4
CY
61722011-08-09 Chong Yidong <cyd@stupidchicken.com>
6173
6174 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6175 (Bug#7554).
6176
7be1c708 61772011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
6178
6179 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6180 character. (Bug#6594)
6181
37e11a63
CY
61822011-08-08 Chong Yidong <cyd@stupidchicken.com>
6183
839dde57
CY
6184 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6185 (image-dired--with-db-file): New macro.
6186 (image-dired-write-tags, image-dired-remove-tag)
6187 (image-dired-create-gallery-lists, image-dired-write-comments)
6188 (image-dired-get-comment, image-dired-mark-tagged-files)
6189 (image-dired-list-tags, image-dired-gallery-generate): Use it.
6190 (image-dired-gallery-generate): Use insert-file-contents.
6191
37e11a63
CY
6192 * time.el (display-time-world-list, display-time-world-display):
6193 * time-stamp.el (time-stamp-string):
6194 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6195 set-time-zone-rule (Bug#7337).
6196
0b4946c4
DU
61972011-08-08 Daiki Ueno <ueno@unixuser.org>
6198
6199 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6200 (epg-error-to-string, epg-errors-to-string): New function.
6201 (epg-wait-for-completion): Reverse errors list.
6202 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6203 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6204 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6205 (epg-sign-keys, epg-generate-key-from-file)
6206 (epg-generate-key-from-string): Format errors by using
6207 epg-errors-to-string (bug#9255).
6208 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6209
75bfc667
JL
62102011-08-07 Juri Linkov <juri@jurta.org>
6211
6212 * faces.el (list-faces-display): Remove extra angle bracket
6213 from `help-mode-map'.
6214
6215 * info.el (Info-history-toc-nodes): Doc fix.
6216
6217 * longlines.el (longlines-mode): Doc fix.
6218
673e08bb
SM
62192011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6220
4640dd88
SM
6221 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6222 of statements and in a few more cases (bug#9183).
6223
673e08bb
SM
6224 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6225 New functions.
6226 (cl-transform-lambda): Use them (bug#9239).
6227
89b3f019
MR
62282011-08-05 Martin Rudalics <rudalics@gmx.at>
6229
6230 * window.el (display-buffer-same-window)
6231 (display-buffer-same-frame, display-buffer-other-window)
6232 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6233 (pop-to-buffer-other-window)
6234 (pop-to-buffer-same-frame-other-window)
6235 (pop-to-buffer-other-frame): Make them defuns.
6236 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6237
640c8776
SM
62382011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6239
6240 * subr.el (make-composed-keymap): Move from C. Change calling
6241 convention, and improve docstring to bring attention to a subtle point.
6242 * minibuffer.el (completing-read-default): Adjust accordingly.
6243
63648a95
MA
62442011-08-03 Michael Albinus <michael.albinus@gmx.de>
6245
6246 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6247 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6248
6249 * net/trampver.el: Update release number.
6250
b796c9b7
SM
62512011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6252
6253 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6254 "in" (bug#9190).
6255
2239d7d5
LMI
62562011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6257
e07dd7c3
LMI
6258 * mail/sendmail.el (sendmail-query-once): Restore the current
6259 buffer after querying (bug#9074).
6260
0e6a2bd7
LMI
6261 * dired.el (dired-flagged): Use different faces for marked and
6262 flagged files (bug#6117).
6263
ce887515
LMI
6264 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6265 (bug#4433).
6266
92f2affc
LMI
6267 * ido.el (ido-mode): Switch off the message if called
6268 non-interactively.
6269
57d5aff0
LMI
6270 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6271 before 587, since it appears that that's more likely to work for
6272 more people.
6273
98cd6c18 6274 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 6275 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
6276 exist.
6277
b96dec83
LMI
6278 * info.el: Remove the `Info-beginning-of-buffer' function
6279 (bug#8325).
6280
b796c9b7
SM
6281 * net/network-stream.el (network-stream-open-starttls):
6282 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 6283
d90e2ea0
MR
62842011-08-01 Martin Rudalics <rudalics@gmx.at>
6285
6286 * window.el (display-buffer-in-window): Don't set dedicated status
6287 of window here (Bug#9215).
6288 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6289 (display-buffer-pop-up-side-window)
b796c9b7 6290 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 6291
cca09170
SM
62922011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6293
6294 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6295 before binding generated-autoload-file.
6296
027b979c
DD
62972011-08-01 Deniz Dogan <deniz@dogan.se>
6298
6299 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6300
3c7ee4f3
MA
63012011-07-30 Michael Albinus <michael.albinus@gmx.de>
6302
6303 Sync with Tramp 2.2.2.
6304
6305 * net/trampver.el: Update release number.
6306
2cc8e51a
JL
63072011-07-30 Juri Linkov <juri@jurta.org>
6308
6309 * dired-aux.el (dired-touch-initial): Remove function.
6310 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6311 current time, and `default' to the last modification time of the
6312 current marked file (bug#6887).
6313
a514d856
JM
63142011-07-28 Jose E. Marchesi <jemarch@gnu.org>
6315
6316 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 6317 numeric argument to read-number (bug#9163).
a514d856 6318
8a7eddd7
MA
63192011-07-27 Michael Albinus <michael.albinus@gmx.de>
6320
6321 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6322 connection process, it could be nil.
6323
1ddd96f5
LL
63242011-07-27 Leo Liu <sdl.web@gmail.com>
6325
6326 Simplify url handling in rcirc-mode.
6327
6328 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6329 (rcirc-browse-url-at-mouse): Remove.
6330 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6331
b248a85d
AM
63322011-07-26 Alan Mackenzie <acm@muc.de>
6333
6334 Fontify bitfield declarations properly.
6335
6336 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6337 (c-symbol-chars): Now exported as a lang variable.
6338 (c-not-primitive-type-keywords): New lang variable.
6339
6340 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6341 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 6342 parsed as a bitfield declaration.
b248a85d 6343
b796c9b7
SM
6344 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6345 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
6346 (c-punctuation-in): New function.
6347 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6348 declarations properly.
6349
68575ab0
UJ
63502011-07-26 Ulf Jasper <ulf.jasper@web.de>
6351
6352 * calendar/icalendar.el (icalendar--all-events): Take care of
6353 multiple vcalendars in a single file.
b796c9b7 6354 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 6355
0f0a88b9
DD
63562011-07-25 Deniz Dogan <deniz@dogan.se>
6357
6358 * image.el (insert-image): Clarifying docstring.
6359
0b3f36df
MA
63602011-07-24 Michael Albinus <michael.albinus@gmx.de>
6361
6362 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6363 `tramp-send-command-and-check' if there is no error.
6364 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6365
a9901f61
AM
63662011-07-22 Alan Mackenzie <acm@muc.de>
6367
6368 Prevent cc-langs.elc being loaded at run time.
6369
6370 * progmodes/cc-mode.el: Remove two autoload forms which loaded
6371 cc-langs.
6372
4d61f28d 6373 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
6374 "(require 'cc-langs)". Quote a form so it will evaluate at
6375 (cc-mode's) compilation time.
6376
11d074b2
MA
63772011-07-22 Michael Albinus <michael.albinus@gmx.de>
6378
6379 * net/tramp.el (tramp-file-name-handler): Avoid recursive
6380 loading. (Bug#9114)
6381
938b94c8
MR
63822011-07-21 Martin Rudalics <rudalics@gmx.at>
6383
6384 * window.el (display-buffer-pop-up-window)
6385 (display-buffer-pop-up-side-window)
6386 (display-buffer-in-side-window): Call display-buffer-set-height
6387 and display-buffer-set-width after setting the new window's
b796c9b7 6388 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 6389
bfa4f190
SS
63902011-07-20 Sam Steingold <sds@gnu.org>
6391
6392 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6393 (etags-tags-included-tables): Call `convert-standard-filename' on
6394 the file names contained in TAGS so that windows Emacs can handle
6395 TAGS files created by cygwin ctags.
6396
8ca42262
LMI
63972011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
6398
6399 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6400 which apparently didn't work.
6401
5db2afd2 64022011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 6403
5db2afd2
RW
6404 * proced.el (proced-send-signal): For *Marked Processes* buffer
6405 put point at beginning of buffer.
6406
92e15d10
SB
64072011-07-19 Stephen Berman <stephen.berman@gmx.net>
6408
6409 * proced.el (proced-format): Make header lines align with the text
6410 (bug#1779).
6411
1bfd59e5
LMI
64122011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6413
6414 * view.el (view-buffer): Allow running in `special' modes if we're
6415 visiting a file (bug#8615).
6416
f5aae37c
MR
64172011-07-19 Martin Rudalics <rudalics@gmx.at>
6418
6419 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
6420 (display-buffer-alist-set-1, display-buffer-alist-set-2):
6421 New functions.
f5aae37c
MR
6422 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6423 more accurately.
6424
bf2c1571
AM
64252011-07-18 Alan Mackenzie <acm@muc.de>
6426
6427 Fontify declarators properly when, e.g., a jit-lock chunk begins
6428 inside a declaration.
6429
6430 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6431
b796c9b7
SM
6432 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6433 New function.
bf2c1571
AM
6434 (c-complex-decl-matchers): Insert reference to
6435 c-font-lock-enclosing-decls.
6436
6437 * progmodes/cc-engine.el (c-backward-single-comment):
6438 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6439 to nil around calls to (forward-comment -1).
6440
4e190b80
LMI
64412011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6442
12dc863d
LMI
6443 * image.el (put-image): Doc typo fix.
6444
a762e966
LMI
6445 * progmodes/etags.el (tags-search): Doc typo fix.
6446
4e190b80
LMI
6447 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6448 password if we get errors 550 to 554.
6449
f019fb21
LMI
64502011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6451
b796c9b7 6452 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 6453
81746738
LMI
6454 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6455 indentation character (bug#6380).
6456
3ee3a1b5
LMI
6457 * files.el (buffer-offer-save): Made permanently local (bug#6241).
6458
c82f64de
LMI
6459 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6460 to clarify what the problem is (bug#4291).
6461
f019fb21
LMI
6462 * simple.el (current-kill): Clarify what
6463 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
6464 (auto-fill-mode): Document `auto-fill-function' in relation to
6465 `auto-fill-mode' (bug#2470).
f019fb21 6466
0794775d
LM
64672011-07-16 Lawrence Mitchell <wence@gmx.li>
6468
6469 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6470 method if slot is read-only (bug#9035).
6471
be39b8cc
MR
64722011-07-16 Martin Rudalics <rudalics@gmx.at>
6473
b796c9b7 6474 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 6475 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
6476 selected before, see discussion of (Bug#8615), (Bug#6954).
6477 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 6478
6ccf7859
GM
64792011-07-15 Glenn Morris <rgm@gnu.org>
6480
6481 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 6482 Respect help-form.
6ccf7859 6483
87e86684
LM
64842011-07-09 Lawrence Mitchell <wence@gmx.li>
6485
6486 * net/gnutls.el (gnutls-min-prime-bits): New variable.
6487 (gnutls-negotiate): Use it.
6488
d6066239
LMI
64892011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6490
b796c9b7
SM
6491 * net/gnutls.el (gnutls-negotiate):
6492 Upcase `gnutls-algorithm-priority'.
d6066239 6493
bd23ebc0
GM
64942011-07-15 Glenn Morris <rgm@gnu.org>
6495
c65bca65
GM
6496 * jka-compr.el (jka-compr-verbose): Move from here...
6497 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
6498 Add missing :version tag.
6499 * info.el: No need to require jka-compr when compiling.
bd23ebc0 6500
478615cc
LMI
65012011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6502
7b41decb
LMI
6503 * net/gnutls.el (gnutls-algorithm-priority): New variable.
6504 (gnutls-negotiate): Use it.
6505
dbc44fcd
LMI
6506 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6507
06789f97
LMI
6508 * info.el (Info-beginning-of-buffer): New command.
6509 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6510 announcing `b' as the key (bug#8325).
ab896c37 6511 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 6512
c39da690
LMI
6513 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6514
3aa5f34b
LMI
6515 * international/mule-cmds.el
6516 (describe-specified-language-support): Make the error message
6517 clearer (bug#8905).
6518
4bf0979f
LMI
6519 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6520
478615cc
LMI
6521 * isearch.el (isearch-barrier): Add a doc string, since it's
6522 mentioned in a function doc string (bug#8678).
6523
75c68aa1
MR
65242011-07-15 Martin Rudalics <rudalics@gmx.at>
6525
6526 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6527 buffer argument (Bug#9083) and self-identifying label argument.
6528
a7c33da2
GM
65292011-07-15 Glenn Morris <rgm@gnu.org>
6530
6531 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6532
2f5c6024
LMI
65332011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6534
6535 * man.el (Man-fontify-manpage): Fix message when formatting the
6536 man page (bug#7929).
6537
0bb23927 65382011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
6539
6540 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6541 argument LRM; if non-nil, append an invisible LRM character to the
6542 buffer name.
6543 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6544 last argument non-nil, when formatting buffer names.
0bb23927
EZ
6545 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6546 paragraph direction.
cce4b0a7 6547
621ef9ab
LMI
65482011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6549
d1583c48
LMI
6550 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6551 the man page name (bug#7929).
6552
6a57fb5f
LMI
6553 * image.el (put-image): Mention the `put-image' overlay property
6554 (bug#7834).
6555
d7956b14
LMI
6556 * scroll-bar.el (set-scroll-bar-mode): Mention that
6557 `scroll-bar-mode' lists the values (bug#7772).
6558
5b2d4a66
LMI
6559 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6560 command (bug#7729).
6561
7509a874
LMI
6562 * rect.el (apply-on-rectangle): Return the point after the last
6563 operation.
6564 (string-rectangle): Go to the point after the last operation
6565 (bug#7522).
6566
4fe74b19
LMI
6567 * printing.el (pr-toggle-region): Clarify the documentation
6568 slightly (bug#7493).
6569
b796c9b7
SM
6570 * time.el (display-time-update):
6571 Allow `display-time-mail-function' to return nil (bug#7158).
6572 Fix suggested by Detlev Zundel.
ab283561 6573
fc233c9d
LMI
6574 * vc/diff.el (diff): Clarify the order the file names are read
6575 (bug#7111).
6576
43f5740b
LMI
6577 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6578 the doc string (bug#7015).
6579
f2182a76
LMI
6580 * font-lock.el (font-lock-maximum-decoration): Mention what
6581 numeric levels mean (bug#6935).
6582
621ef9ab
LMI
6583 * startup.el (initial-buffer-choice): Don't mention the `none'
6584 selection, which is against policy.
6585
adc47434
MR
65862011-07-14 Martin Rudalics <rudalics@gmx.at>
6587
b796c9b7
SM
6588 * window.el (display-buffer-normalize-special):
6589 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 6590
7e5bfb8f
EZ
65912011-07-14 Eli Zaretskii <eliz@gnu.org>
6592
6593 * subr.el (version<, version<=, version=): Mention "-CVS" and
6594 "-12345" alpha version numbers.
6595
27fa387a
CY
65962011-07-14 Chong Yidong <cyd@stupidchicken.com>
6597
6598 * bindings.el: Add advertised binding for set-mark-command
6599 (Bug#5772).
6600
8bdfa064
CY
66012011-07-14 Chong Yidong <cyd@stupidchicken.com>
6602
6603 * bindings.el (mode-line-other-buffer):
6604 * bookmark.el (bookmark-bmenu-2-window):
6605 * bs.el (bs-cycle-next, bs-cycle-previous):
6606 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6607 switch-to-buffer.
6608
6609 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 6610 Delete.
8bdfa064 6611
5eba16a3
JB
66122011-07-14 Juanma Barranquero <lekktu@gmail.com>
6613
6614 * follow.el (follow-debug-message, follow-redisplay):
6615 * jka-cmpr-hook.el (with-auto-compression-mode):
6616 Fix typos in docstrings.
6617
15853710
LMI
66182011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6619
a28e4607
LMI
6620 * subr.el (with-silent-modifications): Clarify somewhat what the
6621 macro inhibits (bug#6525).
6622
15853710
LMI
6623 * simple.el (eval-expression): Note what it does if called
6624 interactively (bug#6495).
6625
bee0fcef
CY
66262011-07-13 Chong Yidong <cyd@stupidchicken.com>
6627
b796c9b7
SM
6628 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6629 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
6630
6631 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6632 Remove switch-to-buffer.
6633
58274504
LMI
66342011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6635
bd2fcc8d
LMI
6636 * files.el (make-directory): Clarify that an error will be raised
6637 if there's an error (bug#6397).
6638
0f04b32c
LMI
6639 * startup.el (initial-buffer-choice): Add `none' as a choice
6640 (bug#6234).
6641
465c5fc8
LMI
6642 * subr.el (add-hook): Clarify section about buffer-local hooks
6643 (bug#6218).
6644
58274504
LMI
6645 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6646
bead9a43
JB
66472011-07-13 Juanma Barranquero <lekktu@gmail.com>
6648
6649 * tabify.el (untabify): Preserve the current column so that point
6650 doesn't move (bug#6032).
6651
3af98a7b
LMI
66522011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6653
b796c9b7
SM
6654 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6655 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 6656
6240145a
GM
66572011-07-13 Glenn Morris <rgm@gnu.org>
6658
6659 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6660 (dired-insert-directory): Give a message the first time
6661 if ls is found not to support --dired.
6662
1d8c2ccc
LMI
66632011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6664
6665 * simple.el (toggle-truncate-lines): Clarify what is toggled
6666 (bug#5580). Text by Drew Adams.
6667
5fc4038e
CY
66682011-07-13 Chong Yidong <cyd@stupidchicken.com>
6669
6670 * simple.el (blink-matching-open): Make the error message from the
6671 last change less verbose.
6672
bf6012e5
DN
66732011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6674
6675 * font-lock.el (font-lock-comment-face): Use the high contrast
6676 "yellow" color for font-lock-comment-face on low color terminals
6677 using a dark background color (bug#4221).
6678
343c3b5a
LMI
66792011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6680
7e9505c5
LMI
6681 * dired.el (dired-insert-set-properties): Make the doc string
6682 reflect what it does now (bug#5325).
6683
c26fdcf5
LMI
6684 * simple.el (blink-matching-open): Say that we were unable to find
6685 the match within the limit, if we're limited (bug#5122).
6686
bb388cc5
LMI
6687 * international/mule-cmds.el (prefer-coding-system): Add an
6688 example (bug#4869).
6689
343c3b5a
LMI
6690 * progmodes/etags.el (tags-search): Document `file-list-form'
6691 (bug#4731).
6692
2a517d45
LM
66932011-07-13 Lawrence Mitchell <wence@gmx.li>
6694
6695 * net/browse-url.el (browse-url-default-browser)
6696 (browse-url-browser-function): Make the default browser choice a
6697 bit more logical (bug#4300). Also clean up the doc string.
6698
b6c78ef2
JB
66992011-07-13 Juanma Barranquero <lekktu@gmail.com>
6700
6701 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6702 binary endings (bug#4440).
6703
1c4dd947
LMI
67042011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6705
a2014063
LMI
6706 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6707 which can be pretty annoying (bug#8971).
6708
9c9c2d88
LMI
6709 * jka-compr.el (jka-compr-verbose): New variable, and use
6710 throughout (bug#8971).
6711
1c4dd947
LMI
6712 * info.el (Info-find-file): Fall back on the installation
6713 directory if we can't find the info node anywhere else.
6714
a1c9f41b
SO
67152011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6716
6717 * vc/vc.el (vc-revert-file):
6718 Don't set file time-stamp in the past. (Bug#5181)
6719
536f3d36
LMI
67202011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6721
7152b011
LMI
6722 * files.el (after-find-file): Give a better error message when
6723 trying to find a symlink that points to a file that doesn't exist
6724 (bug#4398).
6725
536f3d36
LMI
6726 * progmodes/cc-vars.el: Remove (probably) misleading comment
6727 (bug#4396).
6728
460c0fba
JB
67292011-07-12 Johan Bockgård <bojohan@gnu.org>
6730
6731 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6732
7a6bda45
CY
67332011-07-12 Chong Yidong <cyd@stupidchicken.com>
6734
6735 * mouse-sel.el: Hack restoring functionality, while keeping
6736 compatibility with 2010-07-03 changes to mouse selection.
6737 (mouse-sel-primary-overlay): New var.
6738 (mouse-sel-selection-alist): Use it.
6739 (mouse-sel-mode): Doc fix; remove points that are default features
6740 of mouse.el.
6741
c79598ef
JB
67422011-07-12 Johan Bockgård <bojohan@gnu.org>
6743
6744 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6745 Fix previous fix (bug#2490).
6746
ff8be6ef
RW
67472011-07-12 Roland Winkler <winkler@gnu.org>
6748
b796c9b7
SM
6749 * textmodes/bibtex.el (bibtex-initialize):
6750 Use pop-to-buffer-same-window.
ff8be6ef
RW
6751 (bibtex-search-entries): Fix interactive call.
6752
296ba3ee
LMI
67532011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6754
f5242a02 6755 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
6756 Fontise bytecomp Error lines more correctly (bug#2490).
6757 Fix suggested by Johan Bockgård.
f5242a02 6758
296ba3ee
LMI
6759 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6760
6761 * dired-x.el (dired-guess-default): Use `delete-dups'.
6762
f69fd0d2
CY
67632011-07-12 Chong Yidong <cyd@stupidchicken.com>
6764
6765 * dired.el (dired-mark-prompt):
6766 * dired-aux.el (dired-read-shell-command): Doc fix.
6767
eab5dc07
LMI
67682011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6769
b796c9b7
SM
6770 * mail/sendmail.el (sendmail-query-once):
6771 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
6772 emacs -Q.
6773
6774 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6775
eab5dc07
LMI
6776 * cus-edit.el (custom-file): Take an optional no-error variable.
6777 (customize-save-variable): Set the variable, and give a warning if
6778 running under "emacs -q".
6779
a1e65d42
JB
67802011-07-11 Juanma Barranquero <lekktu@gmail.com>
6781
6782 * loadhist.el (unload-feature-special-hooks):
6783 Add `auto-coding-functions', `fill-nobreak-predicate' and
6784 `find-directory-functions' (bug#5327).
6785
1d52da10
LMI
67862011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6787
be958f1d
LMI
6788 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6789
5bedb26c
LMI
6790 * cus-edit.el (custom-guess-name-alist): -alist variables should
6791 use the `alist' type (bug#3120). Suggested by Drew Adams.
6792
1d52da10
LMI
6793 * printing.el: Add documentation to all the `pr-toggle-' commands.
6794
cd394be1 67952011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
6796
6797 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6798 backends where it makes sense (bug#2623).
6799
dcc88d8a
LMI
68002011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6801
c3de9feb
LMI
6802 * dired-x.el (dired-guess-default): Remove duplicate shell command
6803 entries (bug#2028).
8a93078b 6804 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 6805 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 6806
dcc88d8a
LMI
6807 * subr.el (remove-duplicates): New conveniency function.
6808
505e3645
LMI
68092011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6810
6811 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6812 (bug#1526).
6813
68142011-07-10 Martin Rudalics <rudalics@gmx.at>
6815
6816 * window.el (display-buffer-normalize-default): Don't invert
6817 meaning of even-window-heights. Reported by Eli Zaretskii
6818 <eliz@gnu.org>.
6819
455e4fa1
BR
68202011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6821
6822 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6823
8e0bc3e9
CY
68242011-07-10 Chong Yidong <cyd@stupidchicken.com>
6825
6826 * window.el (display-buffer): Fix arguments to
6827 display-buffer-reuse-window in last change.
6828
fa7c3228
CY
6829 * faces.el (link): Use a less saturated blue on light backgrounds.
6830
6831 * startup.el (fancy-startup-text, fancy-about-text)
6832 (fancy-startup-tail): Use font-lock faces, for background safety.
6833
c0a7f300
BN
68342011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6835
b796c9b7
SM
6836 * emulation/viper-cmd.el (viper-change-state-to-vi):
6837 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 6838
4dc2a129
MR
68392011-07-09 Martin Rudalics <rudalics@gmx.at>
6840
6841 * window.el (display-buffer-default-specifiers): Remove.
6842 (display-buffer-macro-specifiers): Remove default specifiers.
6843 (display-buffer-alist): Default to nil.
b796c9b7 6844 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
6845 (display-buffer-pop-up-window): Allow splitting internal
6846 windows. Check whether a live window was created.
6847 (display-buffer-other-window-means-other-frame)
6848 (display-buffer-normalize-arguments): Rename to
6849 display-buffer-normalize-argument and rewrite. Set the
6850 other-window specifier.
6851 (display-buffer-normalize-special): New function.
6852 (display-buffer-normalize-options): Rename to
6853 display-buffer-normalize-default and rewrite.
6854 (display-buffer-normalize-options-inhibit): Remove.
6855 (display-buffer-normalize-specifiers): Rewrite.
6856 (display-buffer): Process other-window specifier and call
6857 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6858 more faithfully.
b796c9b7 6859 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 6860 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
6861 (display-buffer-in-window, display-buffer-alist-set):
6862 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
6863 <tassilo@member.fsf.org>.
6864
2d43b8c9
LL
68652011-07-09 Leo Liu <sdl.web@gmail.com>
6866
6867 * register.el (insert-register): Restore accidental change on
6868 2011-06-26. (Bug#9028)
6869
7f9b7c53
GM
68702011-07-09 Glenn Morris <rgm@gnu.org>
6871
6872 * subr.el (remq): Handle the empty list. (Bug#9024)
6873
f042cfd8
AS
68742011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6875
6876 * mail/sendmail.el (send-mail-function): No longer delay custom
6877 initialization.
6878 * custom.el (custom-initialize-delay): Doc fix.
6879
856b2f11
SM
68802011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6881
6882 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6883
afae1d68
MA
68842011-07-08 Michael Albinus <michael.albinus@gmx.de>
6885
6886 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6887 human-friendly prompt.
6888
0757af94
SM
68892011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6890
6891 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6892 provided by a particular plugin.
6893
d760b731
LMI
68942011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6895
6896 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6897 save customizations (with "emacs -Q"), just set the variable
6898 instead of erroring out.
6899
6900 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6901
cd79ce90
JL
69022011-07-08 Juri Linkov <juri@jurta.org>
6903
6904 * arc-mode.el (archive-zip-expunge, archive-zip-update)
6905 (archive-zip-update-case): Use 7z if found by `executable-find'.
6906 The order of searching the available programs is the same as in
6907 `archive-zip-extract' (bug#8968).
6908
14cc04aa
CY
69092011-07-07 Chong Yidong <cyd@stupidchicken.com>
6910
6911 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6912 (menu-bar-options-menu): Tweak descriptions.
6913
0a1848ec
LMI
69142011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6915
6916 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6917 menu items into verb phrases (bug#1421). Also refill to fit under
6918 80 columns.
6919
f5bd0689
CY
69202011-07-07 Chong Yidong <cyd@stupidchicken.com>
6921
538e85c6
CY
6922 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6923 (Info-read-node-name): Doc fix (Bug#1084).
6924
f5bd0689
CY
6925 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6926 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6927 (end-of-sexp, beginning-of-sexp)
6928 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6929 (forward-symbol, forward-same-syntax, word-at-point)
6930 (sentence-at-point): Doc fix (Bug#1144).
6931
56ec5115
LMI
69322011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6933
f3f8e37f
LMI
6934 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6935 should cover it (bug#1281).
6936
0757af94 6937 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 6938
e9fce1ac 6939 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
6940 negotiation fails, then possibly try again with a non-encrypted
6941 connection (bug#9017).
6942
56ec5115
LMI
6943 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6944 be used.
6945
c2f9aec8
RS
69462011-07-07 Richard Stallman <rms@gnu.org>
6947
6948 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6949 property, and handle its changed format.
6950 Look for the correct line number.
6951 Use file's line contents (but not past first =) to find
6952 correct line in message.
6953
ef7b981d 69542011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
6955
6956 * international/characters.el (build-unicode-category-table):
6957 Delete it.
0757af94 6958 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 6959
0757af94 6960 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
6961 to src/chartab.c.
6962 (get-char-code-property): Call unicode-property-table-internal to
6963 load a file. Call get-unicode-property-internal where necessary.
6964 (put-char-code-property): Call unicode-property-table-internal to
6965 load a file. Call put-unicode-property-internal where necessary.
6966 put-unicode-property-internal where necessary.
0757af94
SM
6967 (char-code-property-description):
6968 Call unicode-property-table-internal to load a file.
c805dec0
KH
6969
6970 * international/charprop.el:
6971 * international/uni-bidi.el:
6972 * international/uni-category.el:
6973 * international/uni-combining.el:
6974 * international/uni-comment.el:
6975 * international/uni-decimal.el:
6976 * international/uni-decomposition.el:
6977 * international/uni-digit.el:
6978 * international/uni-lowercase.el:
6979 * international/uni-mirrored.el:
6980 * international/uni-name.el:
6981 * international/uni-numeric.el:
6982 * international/uni-old-name.el:
6983 * international/uni-titlecase.el:
6984 * international/uni-uppercase.el: Regenerate.
6985
6986 * loadup.el: Load international/charprop.el before
6987 international/characters.
6988
e14b388a
CY
69892011-07-07 Chong Yidong <cyd@stupidchicken.com>
6990
6991 * window.el (next-buffer, previous-buffer): Signal an error if
6992 called from a minibuffer window.
6993
6994 * bindings.el: Revert 2011-07-04 change.
6995
354cf0ba
RS
69962011-07-06 Richard Stallman <rms@gnu.org>
6997
6998 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6999 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7000 Treat markers like ints.
7001 (rmail-mime-entity): Doc fix.
7002
a48868a7
LMI
70032011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7004
4906cd3d
LMI
7005 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7006 defcustom again for backwards compatibility.
7007
e0457abe
LMI
7008 * simple.el (shell-command-on-region): Fill.
7009
d67f7e1f
LMI
7010 * dired-aux.el (dired-kill-line): Add a doc string.
7011
fe204702
LMI
7012 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7013 to "\\sw\\|\\s_" (bug#358).
7014
a48868a7
LMI
7015 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7016 (dired-unmark-backward): Ditto.
7017 (dired-flag-backup-files): Ditto.
7018
7019 * dired-x.el (dired-mark-sexp): Ditto.
7020
aa8a705c
RS
70212011-07-06 Richard Stallman <rms@gnu.org>
7022
7023 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7024 (rmail-mime-entity): New arg TRUNCATED.
7025 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7026 New functions.
7027 (rmail-mime-save): Warn if entity is truncated.
7028 (rmail-mime-toggle-hidden): Likewise, for showing.
7029 (rmail-mime-process-multipart): Record when an entity is truncated.
7030
a9a936b9
RS
7031 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7032 if ENTITY is a string.
7033
1f2b92cb
LMI
70342011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7035
f4f73198 7036 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
7037 of faces when `M-C-x'-ing their definitions (bug#8378).
7038 Also clean up the code slightly.
f4f73198 7039
12b16734 7040 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 7041 because that makes the colors go away.
12b16734 7042
f0691d22
LMI
7043 * mail/sendmail.el (send-mail-function): Change the default to
7044 `sendmail-query-once'.
9e87df06 7045 (sendmail-query-once): Add an autoload cookie.
f0691d22 7046
1f2b92cb
LMI
7047 * net/network-stream.el (network-stream-open-starttls): Try using
7048 a plain connection even if the server offered STARTTLS, and we
7049 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7050 capability. This should make smtpmail.el work in slightly more
7051 configurations.
7052
1cdd2a1b
MA
70532011-07-06 Michael Albinus <michael.albinus@gmx.de>
7054
7055 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7056 New defun.
7057 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7058
fbcc67e2
MM
70592011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7060
7061 * progmodes/sql.el: Version 3.0
0757af94 7062 (sql-product-alist): Add product :completion-object,
fbcc67e2 7063 :completion-column, and :statement attributes.
0757af94 7064 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 7065 (sql-mode-syntax-table): Mark all punctuation.
0757af94 7066 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
7067 ansi keywords.
7068 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 7069 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
7070 (sql-oracle-show-reserved-words): New function for development.
7071 (sql-product-font-lock): Simplify for source code buffers.
7072 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7073 New functions.
7074 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
7075 (sql-mode-map): Add statement movement functions.
7076 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7077 New variable.
fbcc67e2
MM
7078 (sql-statement-regexp, sql-beginning-of-statement)
7079 (sql-end-of-statement, sql-signum): New functions.
0757af94 7080 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
7081 (sql-show-sqli-buffer): Bug fix.
7082 (sql-interactive-mode): Store connection data as buffer local.
0757af94 7083 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
7084 with sql-interactive-mode.
7085 (sql-save-connection): Save buffer local settings.
0757af94 7086 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
7087 (sql-product-interactive): Bug fix.
7088 (sql-preoutput-hold): New variable.
7089 (sql-interactive-remove-continuation-prompt): Bug fixes.
7090 (sql-debug-redirect): New variable.
7091 (sql-str-literal): New function.
7092 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 7093 Redesign.
fbcc67e2
MM
7094 (sql-oracle-save-settings, sql-oracle-restore-settings)
7095 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7096 (sql-completion-object, sql-completion-column)
7097 (sql-completion-sqlbuf): New variables.
7098 (sql-build-completions-1, sql-build-completions)
7099 (sql-try-completion): New functions.
7100 (sql-read-table-name): Use them.
7101 (sql-contains-names): New buffer local variable.
7102 (sql-list-all, sql-list-table): Use it.
7103 (sql-oracle-completion-types): New variable.
7104 (sql-oracle-completion-object, sql-sqlite-completion-object)
7105 (sql-postgres-completion-object): New functions.
7106
d4eaeab1
GM
71072011-07-06 Glenn Morris <rgm@gnu.org>
7108
7109 * window.el (pop-to-buffer): Doc fix.
7110
322b7dab 71112011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
7112
7113 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7114
322b7dab 71152011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 7116
322b7dab 7117 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 7118
322b7dab 7119 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 7120
605dd5bf
CY
71212011-07-05 Chong Yidong <cyd@stupidchicken.com>
7122
7123 * button.el (button): Inherit from link face. Suggested by Dan
7124 Nicolaescu.
7125
7dbfa719
SM
71262011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7127
3db614b0
SM
7128 * progmodes/gdb-mi.el: Fit in 80 columns.
7129 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7130 switch-to-buffer.
7131
7dbfa719
SM
7132 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7133 if imenu is simply not configured (bug#8941).
7134
919d884a
KM
71352011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7136
7137 * allout.el (allout-post-undo-hook): New allout outline-change
7138 event hook to signal undo activity.
7139 (allout-post-command-business): Run allout-post-undo-hook if an
7140 undo just occurred.
7dbfa719
SM
7141 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7142 * allout-widgets.el (allout-widgets-after-undo-function):
7143 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
7144 in the vicinity of an undo.
7145 (allout-widgets-mode): Include allout-widgets-after-undo-function
7146 on the new allout-post-undo-hook.
7147
450a0f09
SM
71482011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7149
7150 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7151 Let define-derived-mode define it.
7152 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7153 cycles of abbrev-table inheritance (bug#8998).
7154
2de69e00
RW
71552011-07-05 Roland Winkler <winkler@gnu.org>
7156
7157 * textmodes/bibtex.el: Add support for biblatex.
7158 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7159 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7160 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7161 (bibtex-entry-alist, bibtex-field-alist): New variables.
7162 (bibtex-entry-field-alist): Obsolete alias for
7163 bibtex-BibTeX-entry-alist.
7164 (bibtex-entry-alist, bibtex-field-alist): New widgets.
7165 (bibtex-set-dialect): New command.
7166 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
7167 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7168 Bind via bibtex-set-dialect.
2de69e00
RW
7169 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7170 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7171 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7172 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7173 Define via bibtex-set-dialect.
450a0f09
SM
7174 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7175 Obey bibtex-no-opt-remove-re.
2de69e00
RW
7176 (bibtex-vec-push, bibtex-vec-incr): New functions.
7177 (bibtex-format-entry, bibtex-field-list)
7178 (bibtex-print-help-message, bibtex-validate)
7179 (bibtex-search-entries): Use new format of bibtex-entry-alist.
7180
2dcdbdd9
SM
71812011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7182
7183 * progmodes/compile.el (compilation-goto-locus):
7184 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7185 * bs.el (bs-cycle-next, bs-cycle-previous):
7186 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7187 * bindings.el (mode-line-other-buffer):
7188 * autoinsert.el (auto-insert):
7189 * arc-mode.el (archive-extract):
7190 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7191
b27640fe
JB
71922011-07-05 Juanma Barranquero <lekktu@gmail.com>
7193
7194 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7195 Fix check of `emacs-lock-unlockable-modes'.
7196 Coerce true values of `emacs-lock--try-unlocking' to t.
7197
53bbe3ad
JB
71982011-07-05 Juanma Barranquero <lekktu@gmail.com>
7199
7200 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7201 * emacs-lock.el: New file.
7202
1d3cdbc7
JD
72032011-07-05 Julien Danjou <julien@danjou.info>
7204
7205 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7206 than `boundp' to check if face is set.
7207
9173deec
JB
72082011-07-05 Juanma Barranquero <lekktu@gmail.com>
7209
7210 * register.el (registerv-make):
7211 * window.el (window-min-height): Fix typos in docstrings.
7212
869795d6
JD
72132011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7214
9173deec 7215 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
7216 Update doc string.
7217
b768cdcd
JB
72182011-07-04 Juanma Barranquero <lekktu@gmail.com>
7219
7220 * server.el (server-execute): Catch quit and call
7221 `server-return-error' to pass the error back to emacsclient and
7222 close the connection (bug#8942).
7223
13aa217b
KM
72242011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
7225
7226 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7227 insecure exception for current topic. Also note that auto-saves
7228 are handled differently.
7229
7230 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7231 State variables for tracking auto-save inhibition situation.
7232
7233 (allout-write-contents-hook-handler): Rename from
7234 'allout-write-file-hook-handler', and describe how it depends on
7235 write-contents-functions sensitivity to non-nil value to prevent
7236 file write.
7237
7238 (allout-auto-save-hook-handler): Remove. auto-save does not check
7239 this in individual buffers, only in the starting buffer, so this
7240 is not the right way for us to inhibit auto-save in a buffer
7241 according to its condition.
7242
7243 (allout-mode): Use new allout-write-contents-hook-handler, and
7244 only with write-contents-functions. Remove auto-save provisions -
7245 they're implemented elsewhere.
7246
7247 (allout-before-change-handler): If undo is in progress, note that
7248 for attention of allout-post-command-business.
7249
7250 (allout-post-command-business): If the command we're following was
7251 an undo, check for change in the status of encrypted items and
7252 adjust auto-save inhibitions accordingly.
7253
7254 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7255 according to whether there are or aren't any plain-text topics
7256 pending encryption.
7257
2dcdbdd9 7258 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
7259 Adjust buffer-saved-size and some allout state to inhibit auto-saves
7260 if there are plain-text topics pending encryption.
13aa217b
KM
7261
7262 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7263 buffer-saved-size and some allout state to not inhibit auto-saves
7264 if there are no longer any plain-text topics pending encryption.
7265
0757af94
SM
7266 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7267 No longer provide for exemption of the current topic.
13aa217b 7268
ac89b32c
JL
72692011-07-04 Juri Linkov <juri@jurta.org>
7270
7271 Add 7z operations to delete and save changed members (bug#8968).
7272 * arc-mode.el (archive-7z-expunge, archive-7z-update):
7273 New defcustoms.
7274 (archive-7z-write-file-member): New function.
7275 (archive-7z-summarize): Fix the number of dashes in the
7276 listing output.
7277
8fa39615
SM
72782011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7279
7280 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7281 (bug#8958).
7282
2f11b3f1
CY
72832011-07-04 Chong Yidong <cyd@stupidchicken.com>
7284
d66fef2b
CY
7285 * bindings.el: Ignore next-buffer and previous-buffer in
7286 minibuffer-local-map.
7287
2f11b3f1
CY
7288 * font-lock.el (font-lock-builtin-face): Change light background
7289 color to dark slate blue (Bug#6693).
7290
f932a347
WD
72912011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
7292
7293 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7294
c8af70e1
SM
72952011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7296
7297 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7298 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7299 Add switch-to-buffer.
7300
f158badc
LMI
73012011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7302
7303 * isearch.el (isearch-search-fun-function): Clarify further the
7304 meaning of the function returned.
7305
6d95bd46
MA
73062011-07-04 Michael Albinus <michael.albinus@gmx.de>
7307
7308 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7309
7310 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7311 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7312 Use it.
7313 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
7314 `tramp-default-remote-path' does not exist.
7315 (tramp-send-command-and-read): New optional argument NOERROR.
7316 (tramp-open-connection-setup-interactive-shell)
7317 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7318 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7319 (tramp-process-sentinel): Flush also process' connection property.
7320 (tramp-sh-handle-start-file-process): Do not set process
7321 sentinel. It is done now ...
7322 (tramp-maybe-open-connection): ... here. (Bug#8929)
7323
909e6b67
MK
73242011-07-04 MON KEY <monkey@sandpframing.com>
7325
7326 * play/animate.el (animate-string): Doc fixes and allow changing
7327 the buffer name (bug#5417).
7328
73292011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7330
c8af70e1 7331 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 7332
f34755dc
PE
73332011-07-04 Paul Eggert <eggert@cs.ucla.edu>
7334
396cec72
PE
7335 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7336 This is simpler and helps future-proof the code.
7337 (timer-until): Use time-subtract and float-time.
08235028 7338 (timer--time-less-p): Use time-less-p.
f34755dc 7339
56e6cc31
JB
73402011-07-04 Juanma Barranquero <lekktu@gmail.com>
7341
3abb79e5
JB
7342 * type-break.el (timep): Use the value of `float-time' to avoid a
7343 byte-compiler warning.
7344
56e6cc31
JB
7345 * server.el (server-eval-and-print): Return any result, even nil.
7346
7b9430b4
PE
73472011-07-03 Paul Eggert <eggert@cs.ucla.edu>
7348
7349 * type-break.el: Accept time formats that the builtins accept.
7350 (timep, type-break-time-difference): Accept any format that
7351 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7352 This is simpler and helps future-proof the code.
7353 (type-break-time-difference): Round rather than ignoring
7354 subseconds components.
7355
3034e9e7
LMI
73562011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7357
7358 * info.el (Info-apropos-matches): Make non-interactive, since it
7359 doesn't seem to do anything useful as a command (bug#8829).
7360
1485f4c0
CY
73612011-07-03 Chong Yidong <cyd@stupidchicken.com>
7362
7363 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 7364 Move from faces.el.
1485f4c0
CY
7365 (frame-default-terminal-background): New function.
7366
7367 * custom.el (custom-push-theme): Don't record faces in `changed'
7368 theme; this doesn't work correctly for per-frame face settings.
7369 (disable-theme): Use face-set-after-frame-default to reset faces.
7370 (custom--frame-color-default): New function.
7371
9fa3dd45
LMI
73722011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7373
c8af70e1 7374 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
7375 (bug#8769).
7376
6cbbc20c
KR
73772011-03-29 Kevin Ryde <user42@zip.com.au>
7378
7379 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7380 `perl-Test2' extend to match possible "fail #N" rep count
7381 (bug#8377).
7382
c7f98048
LMI
73832011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7384
65676592
LMI
7385 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7386 `smtpmail-via-smtp' now returns the error instead of nil.
7387
c7f98048
LMI
7388 * isearch.el (isearch-search-fun-function): Clarify the doc string
7389 (bug#8101).
7390
56e6cc31 73912011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
7392
7393 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7394 unnecessary spaces (bug#8987).
7395
2b216704
LMI
73962011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7397
7398 * net/network-stream.el (open-network-stream): Use the
7399 :end-of-capability command thoughout.
7400
74012011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7402
7403 * net/network-stream.el (open-network-stream): Add the
7404 :end-of-capability command parameter, used by pop3.el.
7405
36adf6ce
LMI
74062011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7407
1ca0da0e
LMI
7408 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7409
fc00f69c
LMI
7410 * fringe.el (fringe-query-style): Remove redundant text " (type ?
7411 for list)" (bug#6475).
7412
28fd8759 7413 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 7414 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
7415 an error (bug#6297).
7416
0dd8b6da
LMI
7417 * man.el (Man-reference-regexp): Allow matching possible
7418 word-wrapped references (bug#6289).
7419
ce1438d6
LMI
7420 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7421 for consistency with the other vc buffers (bug#6197).
7422 (vc-checkin): Ditto.
7423
7424 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7425
36adf6ce
LMI
7426 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7427
e83cc1f7
LMI
74282011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7429
8a20ca4c
LMI
7430 * custom.el (defcustom): Clarify that :set is only used in the
7431 Customize user interface (bug#6089).
7432
83319045
LMI
7433 * progmodes/flymake.el (flymake-mode): If the buffer isn't
7434 associated with a file, refuse to run instead of erroring out
7435 (bug#6084).
7436
a8392169
LMI
7437 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7438 the doc string, since it appears that using `fill-column' always
7439 controls the width (bug#7845).
7440
e83cc1f7
LMI
7441 * simple.el (shell-command-on-region): Say where the error output
7442 went if `shell-command-default-error-buffer' is set (bug#6857).
7443
e47ca23b
KM
74442011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
7445
7446 * allout.el (allout-yank-processing): Adjust cursor position for
7447 backwards-deleted space.
7448
7449 (allout-rebullet-heading): Register changes with
7450 allout-exposure-changed-hook, so the modified topic is properly
7451 decorated.
7452
5cf56143
LMI
74532011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7454
08549772
LMI
7455 * minibuffer.el (completion-in-region): Document PREDICATE
7456 (bug#7136).
7457
48e96771
LMI
7458 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7459 of keyword/argument pairs (bug#6904).
7460
c8af70e1
SM
7461 * replace.el (multi-occur):
7462 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 7463
e17d05e2
LMI
74642011-07-02 Drew Adams <drew.adams@oracle.com>
7465
7466 * dired.el (dired-mark-if): Make the message about whether it's
7467 marking or unmarking clearer (bug#8523).
7468
063b0e45
LMI
74692011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7470
7471 * disp-table.el (display-table-print-array): New function.
7472 (describe-display-table): Use it to print the vectors more pretty
7473 (Bug#8859).
7474
28545e04
MR
74752011-07-02 Martin Rudalics <rudalics@gmx.at>
7476
7477 * window.el (window-state-get-1): Don't assign clone numbers.
7478 Add clone-of item to list of window parameters.
7479 (window-state-put-2): Don't process clone numbers.
7480 (display-buffer-alist): Fix doc-string.
7481
3349e122
SM
74822011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7483
7484 * subr.el (remq): Don't allocate if it's not needed.
7485 (keymap--menu-item-binding, keymap--menu-item-with-binding)
7486 (keymap--merge-bindings): New functions.
7487 (keymap-canonicalize): Use them to refine the canonicalization.
7488 * minibuffer.el (minibuffer-local-completion-map)
7489 (minibuffer-local-must-match-map): Move initialization from C.
7490 (minibuffer-local-filename-completion-map): Move initialization from C;
7491 don't inherit from anything here.
7492 (minibuffer-local-filename-must-match-map): Make obsolete.
7493 (completing-read-default): Use make-composed-keymap to combine
7494 minibuffer-local-filename-completion-map with either
7495 minibuffer-local-must-match-map or
7496 minibuffer-local-filename-completion-map.
7497
d224ac83
GM
74982011-07-01 Glenn Morris <rgm@gnu.org>
7499
3de63bf8
GM
7500 * type-break.el (type-break-time-sum): Use dolist.
7501
d224ac83
GM
7502 * textmodes/flyspell.el (flyspell-word-search-backward):
7503 Replace CL function.
7504
1a1e3f32
SM
75052011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7506
fe3f64d5
SM
7507 * mouse.el (mouse--strip-first-event): New function.
7508 (function-key-map): Use it to map fringe clicks to normal clicks
7509 by default.
7510
eb604e34
SM
7511 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7512 (vc-bzr-revision-completion-table): Add support for annotate and date.
7513
1a1e3f32
SM
7514 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7515 inherit from parent.
7516
5bd35902
LMI
75172011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7518
ace6c69c 7519 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 7520 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 7521
191e2bed
LMI
7522 * dired.el (dired-mode): Fix up the doc string as suggested by
7523 Drew Adams (bug#8817).
7524
5bd35902
LMI
7525 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7526 cookie, since the manual says that it should be possible to add
7527 this function to `find-file-hook' (bug#8709).
7528
eee8207a
TZ
75292011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7530
7531 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7532 here. Noted Ted Zlatanov as the maintainer.
7533 (cfengine-common-settings, cfengine-common-syntax): New functions
7534 to set up common things between `cfengine-mode' and
7535 `cfengine3-mode'.
7536 (cfengine3-mode): New mode.
7537 (cfengine3-defuns cfengine3-defuns-regex
7538 (cfengine3-class-selector-regex cfengine3-category-regex)
7539 (cfengine3-vartypes cfengine3-font-lock-keywords)
7540 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 7541 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 7542
36b148cf
MA
75432011-07-01 Michael Albinus <michael.albinus@gmx.de>
7544
7545 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7546
7547 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7548
0bf4ba9a
MR
75492011-07-01 Martin Rudalics <rudalics@gmx.at>
7550
7551 * window.el (same-window-buffer-names, same-window-regexps)
7552 (same-window-p, special-display-frame-alist)
7553 (special-display-popup-frame, special-display-function)
7554 (special-display-buffer-names, special-display-regexps)
7555 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7556 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7557 (split-window-preferred-function, split-height-threshold)
7558 (split-width-threshold, even-window-heights)
7559 (display-buffer-mark-dedicated, window-splittable-p)
7560 (split-window-sensibly, window-safely-shrinkable-p):
7561 Un-obsolete.
7562 (display-buffer): Don't spread args with function specifier
7563 because special-display-popup-frame won't like it.
7564
35837f51
PE
75652011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7566
d0672f86
PE
7567 Time-stamp simplifications and fixes.
7568 These improve accuracy slightly, and future-proof the code
7569 against some potential changes to current-time format.
7570
b9444d97
PE
7571 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7572 by using time-since and float-time.
7573
0ef923dc
PE
7574 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7575 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7576 + NNN microseconds".
7577
2f81380d
PE
7578 * type-break.el (type-break-time-sum): Rewrite using time-add.
7579
845b5c3e
PE
7580 * play/hanoi.el (hanoi-current-time-float): Remove.
7581 All uses replaced by float-time.
7582
ee6f1be0
PE
7583 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7584 This yields a more-accurate answer.
7585 (rng-time-to-float): Remove; no longer needed.
7586
fe955043
PE
7587 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7588
5777162a
PE
7589 * calendar/timeclock.el (timeclock-seconds-to-time):
7590 Defalias to seconds-to-time, since they're the same thing.
7591
3103f8b6 7592 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 7593 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
7594 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7595
0e61a35f
SM
75962011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7597
7598 * window.el (bury-buffer): Don't iconify the only frame.
7599 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7600 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7601
ddd63a1e
CY
76022011-07-01 Chong Yidong <cyd@stupidchicken.com>
7603
0e61a35f
SM
7604 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7605 Add mouse-yank-primary.
ddd63a1e 7606
055f4923
TZ
76072011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7608
7609 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7610
6a2fb145
SM
76112011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7612
7613 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7614 (find-library-name): Use it to find relative load names when provided
7615 absolute file name (bug#8803).
7616
fd4983f2
LMI
76172011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7618
887d14ad
LMI
7619 * textmodes/flyspell.el (flyspell-word): Consider words that
7620 differ only in case as potential doublons (bug#5687).
7621
c53dc7fc
LMI
7622 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7623 Remove two rather uninteresting debugging-like messages to make
7624 debbugs.el more silent.
7625
fd4983f2
LMI
7626 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7627 a password-like phrase.
7628
7a71b18d 76292011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
7630
7631 * progmodes/cc-guess.el: New file.
7632
6a2fb145 7633 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
7634
7635 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7636 derived from `c-basic-common-init'.
7637
7638 * progmodes/cc-mode.el (top-level): Require cc-guess.
7639 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7640
1fa280a3
LM
76412011-06-30 Lawrence Mitchell <wence@gmx.li>
7642
7643 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7644
e6597158
AM
76452011-06-30 Alan Mackenzie <acm@muc.de>
7646
1fa280a3
LM
7647 * progmodes/cc-engine.el (c-guess-continued-construct):
7648 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
7649 lock is disabled. Name this case as "CASE G".
7650
68ba37fb
KM
76512011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7652
7653 * allout.el (allout-yank-processing): Fix injection of extra space
7654 between bullet and non-whitespace character in first topic when
7655 pasting, ensuring that the actual spacing in the pasted topic
7656 following the bullet char is preserved. This extra space was
7657 causing pasted encrypted topics to get a decrypted status even
7658 when the content was actually still encrypted. Now the decryption
7659 status from before the paste is preserved.
7660
7661 (allout-flag-region): Set all allout overlays so they evaporate
7662 when reduced to zero length (evanescent), to prevent overlay
7663 leakage.
7664
887a0b34
GM
76652011-06-30 Glenn Morris <rgm@gnu.org>
7666
94b9acce
GM
7667 * w32-fns.el (w32-charset-info-alist): Declare.
7668
1d9b46d4
GM
7669 * find-dired.el (find-grep-options): Simplify.
7670
cc232200
GM
7671 * term/ns-win.el (ns-set-resource): Declare.
7672
28e77c46
GM
7673 * ses.el (row, col): Declare dynamic variables honestly.
7674
887a0b34
GM
7675 * textmodes/reftex-parse.el (index-tags): Declare.
7676
658d8eb8
CY
76772011-06-30 Chong Yidong <cyd@stupidchicken.com>
7678
7679 * cus-edit.el (customize-push-and-save): New function.
7680
7681 * files.el (hack-local-variables-confirm): Use it.
7682
1fa280a3
LM
7683 * custom.el (load-theme): New arg NO-CONFIRM.
7684 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
7685 (custom-enabled-themes): Doc fix.
7686
7687 * cus-theme.el (customize-create-theme)
7688 (custom-theme-merge-theme): Callers to load-theme changed.
7689
bb617717
LMI
76902011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7691
d61bdd5d
LMI
7692 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7693 short URLs have at least one dot in them (bug #7614).
7694
bb617717
LMI
7695 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7696 nil, because using a pty is apparently too slow (bug #895).
7697
2f31f37a
LMI
76982011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7699
7700 * mail/sendmail.el (sendmail-query-once): New function.
7701 (sendmail-query-once-function): New variable.
7702
3076b24e
GM
77032011-06-29 Glenn Morris <rgm@gnu.org>
7704
faf2a174
GM
7705 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7706
3076b24e
GM
7707 * ses.el (top-level): Require cl when compiling.
7708 (ses-set-localvars): Fix error statement.
7709 Call it at compile time to silence a storm of warnings.
7710
5386012d
MR
77112011-06-29 Martin Rudalics <rudalics@gmx.at>
7712
7713 * window.el (normalize-live-buffer): Rename to
7714 window-normalize-buffer.
7715 (normalize-live-frame): Rename to window-normalize-frame.
7716 (normalize-any-window): Rename to window-normalize-any-window.
7717 (normalize-live-window): Rename to window-normalize-live-window.
7718 (make-window-atom): Rename to window-make-atom.
7719 (window-resize-reset): Rename to window--resize-reset.
7720 (window-resize-reset-1): Rename to window--resize-reset-1.
7721 (resize-mini-window): Rename to window--resize-mini-window.
7722 (resize-subwindows-skip-p): Rename to
7723 window--resize-subwindows-skip-p.
7724 (resize-subwindows-normal): Rename to
7725 window--resize-subwindows-normal.
7726 (resize-subwindows): Rename to window--resize-subwindows.
7727 (resize-other-windows): Rename to window--resize-siblings.
7728 (resize-this-window): Rename to window--resize-this-window.
7729 (resize-root-window): Rename to window--resize-root-window.
7730 (resize-root-window-vertically): Rename to
7731 window--resize-root-window-vertically.
7732 (normalize-buffer-to-display): Rename to
7733 window-normalize-buffer-to-display.
7734 (normalize-buffer-to-switch-to): Rename to
7735 window-normalize-buffer-to-switch-to.
7736 Correspondingly update all callers of the functions listed
7737 above.
7738 (display-buffer-alist, display-buffer-normalize-arguments)
7739 (display-buffer-normalize-options, display-buffer)
7740 (display-buffer-alist-set): Use "function" instead of
7741 "fun-with-args".
7742
1176868d
CY
77432011-06-28 Chong Yidong <cyd@stupidchicken.com>
7744
7745 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7746 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7747 debbugs.gnu.org. Mention acknowledgment email.
7748
20a7a65f
LMI
77492011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7750
7751 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7752 buffer multibyteness, since it shouldn't matter.
7753
5f45cca5
MR
77542011-06-28 Martin Rudalics <rudalics@gmx.at>
7755
7756 * window.el (display-buffer-in-side-window): Handle dedicated
7757 windows as in display-buffer-reuse-window.
7758 (display-buffer-normalize-alist): Use value of override
7759 specifier.
7760 (display-buffer-normalize-specifiers): Use value of
7761 other-window-means-other-frame specifier.
7762 (display-buffer-alist): Rewrite some texts in widgets.
7763 (display-buffer): Spread arguments when calling function
7764 specified by fun-with-args.
7765
ad85fe1f
DD
77662011-06-28 Deniz Dogan <deniz@dogan.se>
7767
1fa280a3
LM
7768 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7769 Unnest `let'.
da68c4c8 7770
ad85fe1f
DD
7771 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7772 selectors (Bug#5732).
ec49bd31 7773 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 7774
a08cc025
JA
77752011-06-27 Jari Aalto <jari.aalto@cante.net>
7776
7777 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7778 (eshell-ls-date-format): New defcustom.
7779 (eshell-ls-file): Use it.
7780
e2b551c5
SM
77812011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7782
7783 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7784
8982b231
KY
77852011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7786
7787 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7788 (ange-ftp-make-tmp-name): New arg.
7789 (ange-ftp-file-local-copy): Use it.
7790
36c9fa27
J
77912011-06-27 Jambunathan K <kjambunathan@gmail.com>
7792
7793 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7794 no-conversion (Bug#8870).
7795
d68443dc
MR
77962011-06-27 Martin Rudalics <rudalics@gmx.at>
7797
7798 * window.el (window-right, window-left, window-child)
7799 (window-child-count, window-last-child)
7800 (window-iso-combination-p, walk-window-tree-1)
7801 (window-atom-check-1, window-tree-1, delete-window)
7802 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7803 new naming conventions - window-vchild, window-hchild,
7804 window-next and window-prev are now called window-top-child,
7805 window-left-child, window-next-sibling and window-prev-sibling
7806 respectively.
d615d6d2
MR
7807 (resize-window-reset): Rename to window-resize-reset.
7808 (resize-window-reset-1): Rename to window-resize-reset-1.
7809 (resize-window): Rename to window-resize.
7810 (window-min-height, window-min-width)
7811 (resize-mini-window, resize-this-window, resize-root-window)
7812 (resize-root-window-vertically, adjust-window-trailing-edge)
7813 (enlarge-window, shrink-window, maximize-window)
7814 (minimize-window, delete-window, quit-restore-window)
7815 (split-window, balance-windows, balance-windows-area-adjust)
7816 (balance-windows-area, window-state-put-2)
7817 (display-buffer-even-window-sizes, display-buffer-set-height)
7818 (display-buffer-set-width, set-window-text-height)
7819 (fit-window-to-buffer): Rename all "resize-window" prefixed
7820 calls to use the "window-resize" prefix convention.
7821 (display-buffer-alist): Fix symbol for label specifier.
7822 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7823 corresponding specifier.
7824 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 7825
b6458526
VB
78262011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7827
7828 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7829 convention.
7830 (ses-call-printer): Does not pass an empty string to formatter when the
7831 cell is empty to keep from barking printer Calc math-format-value.
7832
d31fd9ac
RS
78332011-06-27 Richard Stallman <rms@gnu.org>
7834
43d5bf84
RS
7835 * battery.el (battery-mode-line-limit): New variable.
7836 (battery-update): Handle it.
7837
d31fd9ac
RS
7838 * mail/rmailmm.el (rmail-mime-process-multipart):
7839 Handle truncated messages.
7840
819a6054
GM
78412011-06-27 Glenn Morris <rgm@gnu.org>
7842
7843 * progmodes/flymake.el (flymake-err-line-patterns):
7844 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7845
cedc73f2
VB
78462011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7847
819a6054 7848 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
7849 (ses--clean-!, ses--clean-_): New functions.
7850 (ses-range): Add configurability of readout order, and conversion
7851 to Calc vector.
7852
5e5d49b6
VB
7853 * ses.el (ses-repair-cell-reference-all): New function.
7854 (ses-cell-symbol): Set macro as safe, so that it can be used in
7855 formulas.
7856
56e6cc31 7857 * ses.el: Update cycle detection algorithm.
90ca8b49 7858 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 7859 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
7860 (ses-set-localvars): New function.
7861 (ses-make-cell): Add property-list as a cell element.
7862 (ses-cell-property-get-fun, ses-cell-property-get)
7863 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
7864 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7865 New functions.
90ca8b49
VB
7866 (ses-cell-property-set, ses-cell-property-pop)
7867 (ses-cell-property-get-handle): New macro.
7868 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7869 New aliases, used for code readability.
7870 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7871 cycle detection.
7872 (ses-self-reference-early-detection): New defcustom.
fac916bf 7873 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
7874 (ses-mode): Use ses-set-localvars.
7875 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7876 before lauching the update processing.
7877 (ses-initialize-Dijkstra-attempt): New function.
7878 (ses-recalculate-cell): Update for cycle detection based on
7879 Dijkstra algorithm.
7880
2bb63e81
VB
7881 * ses.el: Fix commenting and indenting convention.
7882
c9d29fb8
SM
78832011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7884
7885 * bs.el (bs-cycle-next): Complete last change.
7886
d8e4b68b
JB
78872011-06-27 Drew Adams <drew.adams@oracle.com>
7888
7889 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7890
40098786
LMI
78912011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7892
c9d29fb8
SM
7893 * net/network-stream.el (network-stream-open-starttls):
7894 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
7895 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7896
40098786
LMI
7897 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7898 to binary to possibly avoid line encoding issues on Windows (among
7899 other things).
7900
468d09d4
LMI
79012011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7902
7903 * net/network-stream.el (open-network-stream): Return an :error
7904 saying what the problem was, if possible.
7905
7906 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7907 server.
7908
7909 * net/network-stream.el (network-stream-open-starttls): If we
7910 wanted to use STARTTLS, and the server offered it, but we weren't
7911 able to because we had no STARTTLS support, then close the connection.
7912 (open-network-stream): Return an :error element, if present.
7913
16f07dd7
CY
79142011-06-26 Chong Yidong <cyd@stupidchicken.com>
7915
88821ca0
CY
7916 * hl-line.el (hl-line-sticky-flag): Doc fix.
7917 (global-hl-line-sticky-flag): New option (Bug#8323).
7918 (global-hl-line-highlight): Obey it.
7919
16f07dd7
CY
7920 * vc/vc.el (vc-revert-show-diff): Default to t.
7921
6b5ccddf
KM
79222011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
7923
c9d29fb8
SM
7924 * allout-widgets.el (allout-widgets-post-command-business):
7925 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
7926 undecorated when an isearch is continued past, and isearch
7927 automatically collapses them. This leads to "widget leaks", where
7928 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
7929 hidden widgets can slow down cursor travel, substantially.
7930 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
7931 so we're doing without this nicety.
7932
7933 (allout-widgets-tally-string): Don't try to do a hash-table-count
7934 of allout-widgets-tally when it's nil. This eliminates spurious "Error
7935 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7936 *Messages* when allout-widgets-maintain-tally is t.
7937
355f2e07
MR
79382011-06-26 Martin Rudalics <rudalics@gmx.at>
7939
7940 * window.el (display-buffer-normalize-argument): Rename to
7941 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
7942 LABEL argument. Respect special-display-function when popping up
7943 a new frame. Fix code searching for a window showing the buffer
7944 on another frame.
c9d29fb8
SM
7945 (display-buffer-normalize-specifiers):
7946 Call display-buffer-normalize-arguments.
355f2e07
MR
7947 (display-buffer-in-window): Don't undedicate the window if its
7948 buffer remains the same.
7949 Reported by Drew Adams <drew.adams@oracle.com>.
7950 (display-buffer-alist): Add choice for same-window macro
7951 specfier.
7952 (display-buffer): Mention special meaning of LABEL argument in
7953 doc-string. Fix quoting. Don't pop up a new frame even as
7954 fallback.
7955
7ca8fc42
JB
79562011-06-26 Juanma Barranquero <lekktu@gmail.com>
7957
7958 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7959 avoid deleting the current window in some cases (bug#8911).
7960
bc312254
AS
79612011-06-26 Andreas Schwab <schwab@linux-m68k.org>
7962
7963 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7964 (Bug#8934)
7965
2db18f3f
LMI
79662011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7967
c9d29fb8
SM
7968 * net/network-stream.el (network-stream-open-starttls):
7969 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
7970 (network-stream-open-tls): Ditto.
7971
6302e0d3
LL
79722011-06-26 Leo Liu <sdl.web@gmail.com>
7973
7974 * register.el (registerv): New struct.
7975 (registerv-make): New function.
c9d29fb8
SM
7976 (jump-to-register, describe-register-1, insert-register):
7977 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
7978 struct. (Bug#8415)
7979
5fdd4046
CY
79802011-06-26 Chong Yidong <cyd@stupidchicken.com>
7981
2afef60a
CY
7982 * vc/vc.el (vc-revert-show-diff): New defcustom.
7983 (vc-diff-internal): New arg specifying diff buffer.
7984 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
7985 reuse an existing *vc-diff* buffer (Bug#8927).
7986
5fdd4046
CY
7987 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7988
e93db24a
GM
79892011-06-26 Glenn Morris <rgm@gnu.org>
7990
7991 * progmodes/f90.el (f90-critical-indent): New option.
7992 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7993 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7994 (f90-mode): Doc fix.
7995 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7996 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7997 (f90-beginning-of-block, f90-next-block, f90-indent-region)
7998 (f90-match-end): Handle block, critical.
7999
eefff499
GM
80002011-06-25 Glenn Morris <rgm@gnu.org>
8001
f6ba4cc9
GM
8002 * calendar/diary-lib.el (diary-included-files): Doc fix.
8003 (diary-include-files): New function, extracted from
8004 diary-include-other-diary-files and diary-mark-included-diary-files.
8005 (diary-include-other-diary-files, diary-mark-included-diary-files):
8006 Just call diary-include-files.
8007 (diary-mark-entries): Reset diary-included-files on first call.
8008
16712304
GM
8009 * calendar/diary-lib.el (diary-mark-entries)
8010 (diary-mark-included-diary-files):
8011 Visit included diary-files in temp buffers.
8012
5d8e0d43
GM
8013 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8014 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8015 (f90-start-block-re, f90-imenu-generic-expression)
8016 (f90-looking-at-program-block-start, f90-no-block-limit):
8017 Add support for submodules.
8018
ccf7a5d5
GM
8019 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8020 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 8021
11fdef7d 80222011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
8023
8024 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8025 buffer-file-type before setting its value, to avoid disastrous
eefff499 8026 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 8027
74f53697
JB
80282011-06-25 Juanma Barranquero <lekktu@gmail.com>
8029
8030 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8031
8032 * ses.el (ses-unload-function):
8033 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8034
8035 * proced.el (proced-unload-function):
8036 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8037
18a4ce5e
AR
80382011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8039
8040 * server.el (server-create-window-system-frame): Add parameters arg.
8041 (server-process-filter): Doc fix. Handle frame-parameters.
8042
519d22cc
JB
80432011-06-25 Juanma Barranquero <lekktu@gmail.com>
8044
8045 Fix bug#8730, bug#8781.
8046
8047 * loadhist.el (unload--set-major-mode): New function.
8048 (unload-feature): Use it.
8049
8050 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8051 (python-unload-function): New function.
8052
c206f5b0
SM
80532011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8054
8055 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8056
f9ad64f3
GS
80572011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8058
8059 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8060 the candidates list.
8061
7d0da90e
JB
80622011-06-24 Juanma Barranquero <lekktu@gmail.com>
8063
8064 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8065
14b4e83d
RS
80662011-06-23 Richard Stallman <rms@gnu.org>
8067
8068 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8069 (rmail-variables): Set next-error-move-function.
8070 (rmail-what-message): Take argument POS.
8071 (rmail-next-error-move): New function.
8072
273d2baf
SM
80732011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8074
8075 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8076 messages for adjacent non-terminals.
8077
56c2cc9a
RS
80782011-06-23 Richard Stallman <rms@gnu.org>
8079
8080 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 8081 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
8082 (rmail-start-mail): Don't specify use of rmail-mail-return;
8083 that's done by mail-bury now.
8084 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 8085
d59eb518
MA
80862011-06-23 Michael Albinus <michael.albinus@gmx.de>
8087
8088 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8089 SIZE is a number.
8090
02cfc6d6
MR
80912011-06-23 Martin Rudalics <rudalics@gmx.at>
8092
8093 * window.el (get-lru-window, get-mru-window)
8094 (get-largest-window): Never return a minibuffer window.
8095 (display-buffer-pop-up-window): Fix a bug that could lead to
8096 reusing the minibuffer window.
8097 (display-buffer): Pass original specifier argument to
8098 display-buffer-function instead of the normalized one.
8099 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8100
4e323265
LL
81012011-06-22 Leo Liu <sdl.web@gmail.com>
8102
8103 * minibuffer.el (completing-read-function)
8104 (completing-read-default): Move from minibuf.c
8105
7a70468f
RS
81062011-06-22 Richard Stallman <rms@gnu.org>
8107
50718fc2
RS
8108 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8109 to Rmail even if not started by a special Rmail command.
8110
7a70468f
RS
8111 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8112 Copy the buffer currently showing just one message.
8113
297dde5a
RW
81142011-06-22 Roland Winkler <winkler@gnu.org>
8115
8116 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8117 (bibtex-clean-entry): First delete the old key so that a
8118 customized algorithm for generating the new key does not get
8119 confused by the old key.
8120 (bibtex-url): Obey regexp of first step.
8121 (bibtex-search-entries): Do not use add-to-list with local
8122 list-var.
8123
97bb1093
LMI
81242011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8125
8126 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8127 stored a user name, then query for the password first, instead of
8128 waiting for SMTP to give an error message and the trying again.
8129
1c0f1a19
JD
81302011-06-22 Lawrence Mitchell <wence@gmx.li>
8131
8132 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8133 BUFFER in call-process.
8134
396f7c9d
LMI
81352011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8136
8137 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8138 QUIT twice.
ddb7ffee
LMI
8139 (smtpmail-try-auth-methods): Require user name and password from
8140 auth-source.
396f7c9d 8141
8998d1b3
MR
81422011-06-22 Martin Rudalics <rudalics@gmx.at>
8143
8144 * window.el (display-buffer-default-specifiers)
8145 (display-buffer-alist): Remove entries for pop-up-frame-alist.
8146 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 8147 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
8148
8149 * frame.el (pop-up-frame-alist, pop-up-frame-function)
8150 (special-display-frame-alist, special-display-popup-frame):
8151 Remove duplicate declarations. These are now in window.el.
8152
4ea31e07
LMI
81532011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8154
c9d29fb8
SM
8155 * mail/smtpmail.el (smtpmail-via-smtp):
8156 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
8157 server supports it. SMTP servers that support STARTTLS commonly
8158 require it.
8159
8160 * net/network-stream.el (network-stream-open-starttls): Support
8161 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 8162 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 8163
95f41d9a
LMI
8164 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8165 upgrades with `open-network-stream', and rely solely on
8166 auth-source for all credentials. Big changes throughout the file,
8167 but in particular:
c9d29fb8
SM
8168 (smtpmail-auth-credentials): Remove.
8169 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
8170 (smtpmail-via-smtp): Check for servers saying they want AUTH after
8171 MAIL FROM, too.
95f41d9a 8172
c9d29fb8
SM
8173 * net/network-stream.el (network-stream-open-starttls):
8174 Provide support for client certificates both for external and built-in
4ea31e07
LMI
8175 STARTTLS.
8176 (auth-source): Require.
8177 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
8178 (network-stream-certificate): Change cert-cert to cert and
8179 cert-key to key.
4ea31e07 8180
065ec2c7
MA
81812011-06-21 Michael Albinus <michael.albinus@gmx.de>
8182
8183 * net/tramp-cache.el (top): Don't load the persistency file when
8184 "emacs -Q" has been called.
8185
cd93b359
DR
81862011-06-21 Tim Harper <timcharper@gmail.com>
8187
d8e4b68b
JB
8188 * term/ns-win.el (ns-initialize-window-system):
8189 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
8190 resource to NO as it is not yet supported by the NS port.
8191
ae9c0411
JB
81922011-06-21 Juanma Barranquero <lekktu@gmail.com>
8193
8194 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8195 (list-dynamic-libraries): ...not here.
8196
7f3f739f
LL
81972011-06-21 Leo Liu <sdl.web@gmail.com>
8198
8199 * subr.el (sha1): Implement sha1 using secure-hash.
8200
327c8fb1
MR
82012011-06-21 Martin Rudalics <rudalics@gmx.at>
8202
8203 * window.el (display-buffer-alist): In default value do not
8204 enforce searching a window on any but the selected frame.
8205 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8206 (display-buffer-select-window): Remove function.
8207 (display-buffer-in-window): When a window on another frame gets
8208 reused, do not select it any more but just raise its frame if
8209 necessary (Bug#8851) and (Bug#8856).
8210 (display-buffer-normalize-options): Handle pop-up-frames related
8211 options more faithfully.
8212 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8213 window if it is on another frame.
c9d29fb8
SM
8214 (display-buffer-alist, display-buffer-default-specifiers):
8215 Don't make new frame unsplittable by default.
9e9de014
MR
8216 (display-buffer-normalize-argument): Fix doc-string typo and use
8217 'same-frame-other-window instead of 'other-window when associating
8218 with display-buffer-macro-specifiers.
327c8fb1 8219
7cf3f556
VB
82202011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8221
8222 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8223 New functions.
8224 (5x5-mode-map, 5x5-mode-menu): Bind them.
8225 (5x5-draw-grid): Tweak the solver's rendering.
8226
60a406cf
SM
82272011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8228
8229 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8230 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8231
d8e4b68b 82322011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
8233
8234 * menu-bar.el: Use function variable instead of switch-to-buffer.
8235 (menu-bar-select-buffer-function): New variable.
60a406cf 8236 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 8237
478d6f95
SM
82382011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8239
8240 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8241 variable's status.
8242
ca530739
JD
82432011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8244
8245 * x-dnd.el (x-dnd-version-from-flags)
8246 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8247 and long as number (Bug#8899).
8248 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8249
bcd70d97
SM
82502011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8251
60a406cf 8252 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
8253 (completion-try-completion, completion-all-completions): Compute the
8254 metadata argument if it's missing; make it optional (bug#8795).
8255
60a406cf 8256 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
8257 (widget-complete): Use new :completion-function property.
8258 (widget-completions-at-point): New function.
8259 (default): Use :completion-function instead of :complete.
60a406cf
SM
8260 (widget-default-completions): Rename from widget-default-complete;
8261 Rewrite.
bcd70d97
SM
8262 (widget-string-complete, widget-file-complete, widget-color-complete):
8263 Remove functions.
8264 (file, symbol, function, variable, coding-system, color):
8265 * international/mule-cmds.el (default-input-method, charset)
8266 (language-info-custom-alist):
8267 * cus-edit.el (face): Use new property :completions.
8268
8269 * progmodes/pascal.el (pascal-completions-at-point): New function.
8270 (pascal-mode): Use it.
8271 (pascal-mode-map): Use completion-at-point.
8272 (pascal-toggle-completions): Make obsolete.
8273 (pascal-complete-word, pascal-show-completions):
8274 * progmodes/octave-mod.el (octave-complete-symbol):
8275 Redefine as obsolete alias.
8276 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8277 Signal absence of completion info for old Octave,
8278 (inferior-octave-complete): Redefine as obsolete alias.
8279 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8280 (meta-completions-at-point): Rename from meta-complete-symbol and
8281 adapt it for use on completion-at-point-functions.
8282 (meta-common-mode): Use it.
8283 (meta-looking-at-backward, meta-match-buffer): Remove.
8284 (meta-complete-symbol): Redefine as obsolete alias.
8285 (meta-common-mode-map): Use completion-at-point.
8286 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8287 (makefile-mode-map): Use completion-at-point.
8288 (makefile-completions-at-point): Rename from makefile-complete and
8289 adapt it for use on completion-at-point-functions.
8290 (makefile-mode): Use it.
8291 (makefile-complete): Redefine as obsolete alias.
8292
aebf69c8
DD
82932011-06-20 Deniz Dogan <deniz@dogan.se>
8294
8295 * net/rcirc.el: Delete trailing whitespaces once and for all.
8296
bfbbb27d
DC
82972011-06-20 Daniel Colascione <dan.colascione@gmail.com>
8298
8299 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8300
d264a46b
CY
83012011-06-19 Chong Yidong <cyd@stupidchicken.com>
8302
4ca009e5
CY
8303 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8304
d264a46b
CY
8305 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8306
fbf5b3ce
MR
83072011-06-19 Martin Rudalics <rudalics@gmx.at>
8308
8309 * window.el (display-buffer-other-window-means-other-frame):
8310 Call display-buffer-normalize-alist.
8311 (display-buffer-normalize-specifiers-1): Rename to
8312 display-buffer-normalize-argument. New argument other-frame.
8313 Rewrite.
8314 (display-buffer-normalize-specifiers-2): Rename to
8315 display-buffer-normalize-options.
8316 (display-buffer-normalize-alist-1): New function.
8317 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
8318 display-buffer-normalize-alist.
8319 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
8320 (display-buffer-normalize-options-inhibit): New variable.
8321 (display-buffer-normalize-specifiers): Rewrite calling
8322 display-buffer-normalize-alist,
8323 display-buffer-normalize-argument, and
8324 display-buffer-normalize-options. Don't call the latter if
8325 display-buffer-normalize-options-inhibit is non-nil.
8326 (frame-auto-delete): New option.
8327 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
8328 (window-list-no-nils, window-state-ignored-parameters)
8329 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
8330 (window-state-put-1, window-state-put-2, window-state-put):
8331 New functions.
9a028c23
MR
8332 (display-buffer-normalize-options): Move special-display-p group
8333 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 8334
6d10d800
CY
83352011-06-18 Chong Yidong <cyd@stupidchicken.com>
8336
6420d28b
CY
8337 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8338 groups (Bug#8776).
8339 (rx-submatch-n): New function.
8340 (rx): Document it.
8341
ddb8b596
CY
8342 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8343 (Bug#8768).
8344
8345 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8346
77080289
CY
8347 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8348
61dfb316
CY
8349 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8350 anytime existing face settings are present (Bug#8889).
8351
6d10d800
CY
8352 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8353 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8354 Remove unused argument.
8355
be3fb2b8
MR
83562011-06-18 Martin Rudalics <rudalics@gmx.at>
8357
bcd70d97
SM
8358 * window.el (display-buffer-default-specifiers):
8359 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
8360 pop-up-window-min-width, and another reuse-window specifier
8361 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
8362 (display-buffer-normalize-specifiers-2):
8363 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
8364 pop-up-windows is unset. Add a reuse-window specifier for the
8365 case popping up a new window fails.
8366 (special-display-popup-frame): Remove double quoting.
28dec25a 8367 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 8368
1c6d8c76
SM
83692011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8370
8371 * shell.el (shell-completion-vars): Set pcomplete-termination-string
8372 according to comint-completion-addsuffix.
8373
8374 * pcomplete.el: Convert to lexical binding and fix bug#8819.
8375 (pcomplete-suffix-list): Mark as obsolete.
8376 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8377 pcomplete-seen in the closure.
8378 (pcomplete-comint-setup): Setup completion-at-point as well.
8379 (pcomplete--entries): New function.
8380 (pcomplete--env-regexp): New var.
8381 (pcomplete-entries): Rewrite to work with partial-completion and
8382 without relying on pcomplete-suffix-list.
8383 (pcomplete-pare-list): Remove, unused.
8384
25aef8b8
MR
83852011-06-17 Martin Rudalics <rudalics@gmx.at>
8386
8387 * window.el (display-buffer-alist): Set pop-up-window-min-height
8388 and pop-up-window-min-width in default value. Reported by
8389 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
8390 other-window-means-other-frame.
8391 (display-buffer-macro-specifiers): Comment out entry for
8392 other-window specifier.
8393 (display-buffer-other-window-means-other-frame): New function.
8394 (display-buffer-normalize-specifiers-1): New arguments
8395 buffer-name and label. Treat other-window case specially.
8396 (display-buffer-normalize-specifiers-2): Treat other-window case
8397 specially.
8398 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
8399 (display-buffer-normalize-specifiers):
8400 Call display-buffer-normalize-specifiers-3.
25aef8b8 8401
dbad4f69
MR
84022011-06-17 Martin Rudalics <rudalics@gmx.at>
8403
8404 * window.el (same-window-p): Fix two typos introduced when
8405 adding with-no-warnings.
d1067961
MR
8406 (display-buffer-normalize-specifiers-1): Don't check
8407 pop-up-frames for 'unset initialization.
8408 (display-buffer-normalize-specifiers-2): Major rewrite using
8409 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8410 (pop-up-frames, display-buffer-reuse-frames)
8411 (display-buffer-mark-dedicated): Don't initialize to 'unset.
8412 Suggested by David Engster <deng@randomsample.de>.
8413 (even-window-heights): Initialize to 'unset.
8414 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
8415 (display-buffer-macro-specifiers): Don't pop up a new frame in the
8416 other window case.
dbad4f69 8417
9b9c9e3a
MR
84182011-06-16 Martin Rudalics <rudalics@gmx.at>
8419
bcd70d97
SM
8420 * window.el (display-buffer-normalize-specifiers-1):
8421 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 8422 second argument of display-buffer (Bug#8865).
981d5c09
MR
8423 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8424 (switch-to-buffer-other-window-same-frame)
8425 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
8426 Adams (Bug#8875).
9c2755e9
MR
8427 (display-buffer): Don't check noninteractive when calling
8428 display-buffer-pop-up-frame.
8429 (display-buffer-pop-up-frame): Never pop up a frame in
8430 noninteractive mode (Bug#8857).
67222e1d
MR
8431 (enlarge-window, shrink-window): Don't report an error when the
8432 window can't be resized as requested (Bug#8862).
9b9c9e3a 8433
2b75be67
SM
84342011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8435
9ffdd3ba
SM
8436 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8437
cb581a67
SM
8438 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8439
2b75be67
SM
8440 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8441
8c0e3589
AM
84422011-06-15 Alan Mackenzie <acm@muc.de>
8443
cb581a67
SM
8444 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8445 for declarators, disable knr checking to speed up for normal files.
8446 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 8447
b96e6cde
LMI
84482011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8449
4bba86e6
LMI
8450 * net/network-stream.el (open-network-stream): Add the keyword
8451 :always-query-capabilities for the case where you want to force a
8452 `plain' network connection, but the protocol still requires the
8453 capabilitiy command (i.e., SMTP and EHLO).
8454
2b75be67 8455 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
8456 consistency with other `-live-p' functions.
8457
efdcdbf8
SM
84582011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8459
8460 * window.el (same-window-buffer-names, same-window-regexps)
8461 (special-display-frame-alist, special-display-popup-frame)
8462 (special-display-function, special-display-buffer-names)
8463 (special-display-regexps, pop-up-frame-alist)
8464 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8465 (pop-up-windows, split-window-preferred-function)
8466 (split-height-threshold, split-width-threshold, even-window-heights)
8467 (display-buffer-mark-dedicated): Don't encourage the use of
8468 display-buffer-alist from Elisp code.
8469
c5cde042
DN
84702011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
8471
8472 * progmodes/python.el (python-mode): Derive from prog-mode.
8473 * progmodes/ps-mode.el (ps-mode):
8474 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 8475 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
8476 * progmodes/ld-script.el (ld-script-mode): Likewise.
8477
baa1c9ab
MR
84782011-06-15 Martin Rudalics <rudalics@gmx.at>
8479
8480 * window.el (display-buffer-alist): Trim default value to avoid
8481 popping up a new frame (Bug#8857) or reusing an arbitrary window
8482 on another frame.
8483 (display-buffer): Do not fall back on popping up a new frame in
8484 batch mode (Bug#8857).
8485
c5dd5a51
CY
84862011-06-14 Chong Yidong <cyd@stupidchicken.com>
8487
8488 * cus-theme.el (describe-theme-1): Use custom-theme-p.
8489 (custom-theme-summary): New function.
8490 (customize-themes): Use it.
8491
d647b7c4
GM
84922011-06-13 Glenn Morris <rgm@gnu.org>
8493
8494 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8495
9481c002
MR
84962011-06-13 Martin Rudalics <rudalics@gmx.at>
8497
357f93d2
MR
8498 * help.el (help-window): Remove variable.
8499 (help-window-point-marker, temp-buffer-max-height)
8500 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8501 (help-print-return-message): Don't set help-window.
8502 (resize-temp-buffer-window): Rewrite cod eand doc-string.
8503 (help-window-setup-finish): Remove.
8504 (help-window-display-message, help-window-setup)
8505 (with-help-window): Major rewrite based on new
8506 display-buffer-window variable.
8507
8508 * help-mode.el (help-mode-finish): Remove help-window related
8509 code.
8510
8511 * view.el (view-exits-all-viewing-windows): Remove reference to
8512 view-return-to-alist in doc-string.
8513 (view-return-to-alist): Make obsolete.
8514 (view-buffer): Call pop-to-buffer-same-window and remove
8515 undo-window code.
8516 (view-buffer-other-window): Call pop-to-buffer-other-window and
8517 simplify code. Ignore second argument.
8518 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8519 simplify code. Ignore second argument.
8520 (view-return-to-alist-update): Make obsolete.
8521 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8522 Rewrite using quit-restore window parameters.
2b75be67
SM
8523 (view-mode-exit): Rename second argument to EXIT-ONLY.
8524 Rewrite using quit-restore-window.
357f93d2
MR
8525 (View-exit, View-exit-and-edit, View-leave, View-quit)
8526 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8527 appropriate arguments.
8528 (view-end-message): Use quit-restore window parameter.
8529
9481c002
MR
8530 * window.el (display-buffer-function): Rewrite doc-string.
8531 (display-buffer-window, display-buffer-alist): New variables.
8532 (display-buffer-split-specifiers)
8533 (display-buffer-side-specifiers)
8534 (display-buffer-macro-specifiers): New constants.
8535 (display-buffer-even-window-sizes, display-buffer-set-height)
8536 (display-buffer-set-width, display-buffer-select-window)
8537 (display-buffer-in-window, display-buffer-reuse-window)
8538 (display-buffer-split-window-1, display-buffer-split-window)
8539 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8540 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8541 (display-buffer-in-side-window, normalize-buffer-to-display)
8542 (display-buffer-normalize-specifiers-1)
8543 (display-buffer-normalize-specifiers-2)
2b75be67
SM
8544 (display-buffer-normalize-specifiers, display-buffer-frame):
8545 New functions.
9481c002
MR
8546 (display-buffer): Major rewrite.
8547 (display-buffer-other-window, display-buffer-other-frame)
8548 (pop-to-buffer, switch-to-buffer-other-window)
8549 (switch-to-buffer-other-frame): Rewrite.
8550 (display-buffer-same-window, display-buffer-same-frame)
8551 (display-buffer-same-frame-other-window)
8552 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8553 (pop-to-buffer-other-window)
8554 (pop-to-buffer-same-frame-other-window)
8555 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8556 (switch-to-buffer-other-window-same-frame): New functions.
8557 (same-window-p, special-display-p): Rewrite disabling warnings.
8558 Make obsolete.
8559 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8560 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8561 Make obsolete
8562 (same-window-buffer-names, same-window-regexps)
8563 (special-display-frame-alist, special-display-popup-frame)
8564 (special-display-function, special-display-buffer-names)
8565 (special-display-regexps, pop-up-frame-alist)
8566 (pop-up-frame-function, split-window-preferred-function)
8567 (split-height-threshold, split-width-threshold)
8568 (even-window-heights): Make obsolete.
8569
9db51aca
GM
85702011-06-12 Glenn Morris <rgm@gnu.org>
8571
8572 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 8573 Misc simplifications.
9db51aca 8574
39cffb44
MR
85752011-06-12 Martin Rudalics <rudalics@gmx.at>
8576
8577 * window.el (window-safely-shrinkable-p): Restore function which
8578 was inadvertently removed in change from 2011-06-11. Declare as
8579 obsolete.
8580
2b75be67
SM
8581 * calendar/calendar.el (calendar-generate-window):
8582 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
8583 window-safely-shrinkable-p.
8584
a8955be7
GM
85852011-06-12 Glenn Morris <rgm@gnu.org>
8586
8587 * progmodes/fortran.el (fortran-mode-syntax-table):
8588 * progmodes/f90.el (f90-mode-syntax-table):
8589 Set % to punctuation. (Bug#8820)
8590 (f90-find-tag-default): Remove, no longer needed.
8591
f0d4059d
DC
85922011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8593
8594 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8595
1100a63c
CY
85962011-06-11 Chong Yidong <cyd@stupidchicken.com>
8597
8598 * image.el (image-animated-p): Return animation delay in seconds.
8599 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8600 (image-animate-timeout): Remove DELAY argument. Don't assume
8601 every subimage has the same delay; get it from image-animated-p.
8602 (image-animate): Caller changed.
8603
def722bf
MA
86042011-06-11 Michael Albinus <michael.albinus@gmx.de>
8605
8606 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8607 to ignored backtrace functions.
8608
0a2bb1a9
GM
86092011-06-11 Glenn Morris <rgm@gnu.org>
8610
8611 * calendar/appt.el (appt-disp-window-function): Doc fix.
8612 (appt-check): Handle overlapping appointments. (Bug#8337)
8613
6198ccd0
MR
86142011-06-11 Martin Rudalics <rudalics@gmx.at>
8615
8616 * window.el (window-tree-1, window-tree): New functions, moving
8617 the latter to window.el.
8618 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8619 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8620 (bw-refresh-edges): Remove.
8621 (balance-windows-1, balance-windows-2): New functions.
8622 (balance-windows): Rewrite in terms of window tree functions,
8623 balance-windows-1 and balance-windows-2.
8624 (bw-adjust-window): Remove.
8625 (balance-windows-area-adjust): New function with functionality of
8626 bw-adjust-window but using resize-window.
2b75be67
SM
8627 (set-window-text-height): Rewrite doc-string.
8628 Use normalize-live-window and resize-window.
8629 (enlarge-window-horizontally, shrink-window-horizontally):
8630 Rename argument to DELTA.
6198ccd0
MR
8631 (window-buffer-height): New function.
8632 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8633 Rewrite using new window resize routines.
2b75be67
SM
8634 (kill-buffer-and-window, mouse-autoselect-window-select):
8635 Use ignore-errors instead of condition-case.
6198ccd0
MR
8636 (quit-window): Call delete-frame instead of delete-windows-on
8637 for the only buffer on frame.
8638
9397e56f
MR
86392011-06-10 Martin Rudalics <rudalics@gmx.at>
8640
8641 * loadup.el (top-level): Load window before files for the sake
8642 of replace-buffer-in-windows.
8643
8644 * files.el (read-buffer-to-switch)
8645 (switch-to-buffer-other-window)
2b75be67
SM
8646 (switch-to-buffer-other-frame, display-buffer-other-frame):
8647 Move to window.el.
9397e56f
MR
8648
8649 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8650 (previous-buffer): Move to window.el.
8651
8652 * bindings.el (unbury-buffer): Move to window.el.
8653
8654 * window.el (delete-other-windows-vertically): Move after
8655 definition of delete-other-windows.
8656 (other-window, delete-windows-on, replace-buffer-in-windows):
8657 Move here from window.c.
8658 (record-window-buffer, unrecord-window-buffer)
8659 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8660 (switch-to-next-buffer): New functions.
8661 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8662 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
8663 (previous-buffer): Move here from simple.el.
8664 Call switch-to-prev-buffer.
9397e56f
MR
8665 (bury-buffer): Move here from buffer.c. Switch to previous
8666 buffer when window cannot be deleted.
8667 (unbury-buffer): Move here from bindings.el.
8668 (ctl-x-map): Move binding for other-window from window.c to
8669 here.
8670 (read-buffer-to-switch, switch-to-buffer-other-window)
8671 (switch-to-buffer-other-frame): Move here from files.el.
8672 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
8673 (switch-to-buffer): Move here from buffer.c.
8674 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 8675
562dd5e9
MR
86762011-06-10 Martin Rudalics <rudalics@gmx.at>
8677
8678 * window.el (window-min-height, window-min-width): Move here
8679 from window.c. Add defcustoms and rewrite doc-strings.
8680 (resize-mini-window, resize-window): New functions.
8681 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8682 Move here from window.c.
8683 (maximize-window, minimize-window): New functions.
8684 (delete-window, delete-other-windows, split-window): Move here
8685 from window.c.
8686 (window-split-min-size): New function.
8687 (split-window-keep-point): Mention split-window-above-each-other
8688 instead of split-window-vertically.
2b75be67 8689 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
8690 Rename split-window-vertically to split-window-above-each-other
8691 and provide defalias for old definition.
8692 (split-window-side-by-side, split-window-horizontally):
8693 Rename split-window-horizontally to split-window-side-by-side
8694 and provide defalias for the old definition.
562dd5e9
MR
8695 (ctl-x-map): Move bindings for delete-window,
8696 delete-other-windows and enlarge-window here from window.c.
8697 Replace bindings for split-window-vertically and
8698 split-window-horizontally by bindings for
8699 split-window-above-each-other and split-window-side-by-side.
8700
8701 * cus-start.el (all): Remove entries for window-min-height and
8702 window-min-width. Add entries for window-splits and
8703 window-nest.
8704
f0da764a
GM
87052011-06-09 Glenn Morris <rgm@gnu.org>
8706
80675c21
GM
8707 * calendar/appt.el (appt-mode-line): New function.
8708 (appt-check, appt-disp-window): Use it.
8709
f0da764a
GM
8710 * files.el (hack-one-local-variable-eval-safep):
8711 Allow minor-modes with explicit +/-1 arguments.
8712
59f623b7
TZ
87132011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8714
8715 * term/xterm.el (xterm): Add defgroup.
8716 (xterm-extra-capabilities): Add defcustom to supply known xterm
8717 capabilities, skip querying them, or query them (default).
8718 (terminal-init-xterm): Use it.
8719 (terminal-init-xterm-modify-other-keys): New function to set up
8720 modifyOtherKeys support to simplify `terminal-init-xterm'.
8721
9aab8e0d
MR
87222011-06-09 Martin Rudalics <rudalics@gmx.at>
8723
8724 * window.el (resize-window-reset, resize-window-reset-1)
8725 (resize-subwindows-skip-p, resize-subwindows-normal)
8726 (resize-subwindows, resize-other-windows, resize-this-window)
8727 (resize-root-window, resize-root-window-vertically)
8728 (window-deletable-p, window-or-subwindow-p)
8729 (frame-root-window-p): New functions.
8730
e8b08aee
GM
87312011-06-09 Glenn Morris <rgm@gnu.org>
8732
8733 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8734 (ange-ftp-get-files): Use it.
8735
254c37a5
AK
87362011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8737
8738 * mail/sendmail.el (mail-recover-1, mail-recover):
8739 * files.el (recover-file, recover-session):
8740 Handle dired-listing-switches not being just a single short option.
8741
35d7dbd3
GM
87422011-06-09 Glenn Morris <rgm@gnu.org>
8743
8744 * calendar/appt.el (appt-display-message, appt-disp-window):
8745 Handle lists of appointments.
8746
387522b2
MR
87472011-06-08 Martin Rudalics <rudalics@gmx.at>
8748
2b75be67
SM
8749 * window.el (one-window-p): Move down in code.
8750 Rewrite doc-string.
8751 (window-current-scroll-bars): Rewrite doc-string.
8752 Normalize live window argument.
387522b2
MR
8753 (walk-windows, get-window-with-predicate, count-windows):
8754 Rewrite doc-string. Use window-list-1.
8755 (window-in-direction-2, window-in-direction, get-mru-window):
8756 New functions.
8757
d8e4b68b 87582011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
8759
8760 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8761 Doc fix (Bug#8713).
8762
87632011-06-08 Chong Yidong <cyd@stupidchicken.com>
8764
8765 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8766
87672011-06-08 Juanma Barranquero <lekktu@gmail.com>
8768
8769 * loadhist.el (unload-feature-special-hooks):
8770 Add `comint-output-filter-functions'.
8771
0de12c52
IK
87722011-06-08 Ivan Kanis <gnu@kanis.fr>
8773
8774 * calendar/appt.el (appt-check): Move some initializations into the let.
8775
f3d1777e
MR
87762011-06-08 Martin Rudalics <rudalics@gmx.at>
8777
8778 * window.el (window-height): Defalias to window-total-height.
8779 (window-width): Defalias to window-body-width.
8780
18af70d0
CY
87812011-06-07 Chong Yidong <cyd@stupidchicken.com>
8782
8783 * image-mode.el (image-toggle-animation): New command.
8784 (image-mode-map): Bind it to RET.
8785 (image-mode): Update message.
8786 (image-toggle-display-image): Avoid a spurious cache flush.
8787 (image-transform-rotation): Doc fix.
8788 (image-transform-properties): Return quickly in the normal case.
8789 (image-animate-loop): Rename from image-animate-max-time.
8790
2b75be67 8791 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
8792 (create-animated-image): Remove unnecessary function.
8793 (image-animate): Rename from image-animate-start. New arg.
2b75be67 8794 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
8795 (image-animate-timer): Use car-safe.
8796 (image-animate-timeout): Rename argument.
8797
190b47e6
MR
87982011-06-07 Martin Rudalics <rudalics@gmx.at>
8799
8800 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
8801 window.c. Rename first argument to ALL-FRAMES.
8802 Rephrase doc-strings.
8803 (get-buffer-window-list): Rewrite using window-list-1.
8804 Rephrase doc-string.
a1511caf
MR
8805 (window-safe-min-height, window-safe-min-width): New constants.
8806 (window-size-ignore, window-min-size, window-min-size-1)
8807 (window-sizable, window-sizable-p, window-size-fixed-1)
8808 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8809 (window-max-delta-1, window-max-delta, window-resizable)
8810 (window-resizable-p, window-total-height, window-total-width)
8811 (window-body-width): New functions.
8812 (window-full-height-p, window-full-width-p): Rewrite using
8813 window-total-size.
8814 (window-body-height): Rewrite using window-body-size.
190b47e6 8815
85cc1f11
MR
88162011-06-06 Martin Rudalics <rudalics@gmx.at>
8817
8818 * window.el (window-right, window-left, window-child)
8819 (window-child-count, window-last-child, window-any-p)
8820 (normalize-live-buffer, normalize-live-frame)
8821 (normalize-any-window, normalize-live-window)
8822 (window-iso-combination-p, window-iso-combined-p)
8823 (window-iso-combinations)
8824 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8825 (windows-with-parameter, window-with-parameter)
8826 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
8827 (window-atom-check, window-side-check, window-check):
8828 New functions.
85cc1f11
MR
8829 (ignore-window-parameters, window-sides, window-sides-vertical)
8830 (window-sides-slots): New variables.
8831 (window-size-fixed): Move down in code. Minor doc-string fix.
8832
e7156492
AS
88332011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8834
8835 * comint.el (comint-dynamic-complete-as-filename)
8836 (comint-dynamic-complete-filename): Correctly call
8837 completion-in-region.
8838
7e821d0d
DD
88392011-06-05 Deniz Dogan <deniz@dogan.se>
8840
8841 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8842 in last change.
8843
ac09b8a1
DD
88442011-06-05 Deniz Dogan <deniz@dogan.se>
8845
8846 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8847 (rcirc): Use it to prompt for encryption.
8848
34699b85
RW
88492011-06-05 Roland Winkler <winkler@gnu.org>
8850
8851 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8852 (bibtex-search-entries): New command bound to C-c C-a.
8853 (bibtex-display-entries): New function.
8854
004dedd3
RW
88552011-06-05 Roland Winkler <winkler@gnu.org>
8856
8857 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8858 (bibtex-insert-kill): After yanking insert newline if necessary.
8859 (bibtex-initialize): Call bibtex-string-files-init only once.
8860 (bibtex-mode): Do not call easy-menu-add.
8861 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8862 (bibtex-yank): Set arg properly if nil.
8863
022fe7ce
RW
88642011-06-05 Roland Winkler <winkler@gnu.org>
8865
2b75be67
SM
8866 * textmodes/bibtex.el (bibtex-search-entry-globally):
8867 New variable.
022fe7ce
RW
8868 (bibtex-search-entry): Use it.
8869
b7c3692a
RW
88702011-06-05 Roland Winkler <winkler@gnu.org>
8871
8872 * textmodes/bibtex.el (bibtex-entry-format): New option
8873 sort-fields.
8874 (bibtex-format-entry, bibtex-reformat): Honor this option.
8875 (bibtex-parse-entry): Return fields in proper order.
8876
8eda563d
JB
88772011-06-05 Juanma Barranquero <lekktu@gmail.com>
8878
8879 * doc-view.el (doc-view-remove-if): Move computation of result out
8880 of `dolist' to silence misleading lexical-binding warning.
8881
7dbe3dbc
CY
88822011-06-04 Chong Yidong <cyd@stupidchicken.com>
8883
8884 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8885 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8886
0c33dd17
MA
88872011-06-04 Michael Albinus <michael.albinus@gmx.de>
8888
8889 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8890 "SunOS 5.10".
8891
f8f91c2b
MA
88922011-06-04 Michael Albinus <michael.albinus@gmx.de>
8893
8894 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8895 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8896 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8897 (tramp-parse-putty):
8898 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8899 (tramp-completion-function-alist-ssh)
8900 (tramp-completion-function-alist-telnet)
8901 (tramp-completion-function-alist-su)
8902 (tramp-completion-function-alist-putty): Set `tramp-autoload'
8903 cookie.
8904
8905 * net/tramp-ftp.el:
8906 * net/tramp-sh.el:
8907 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8908 load "tramp.el" `tramp-set-completion-function'.
8909
e17d9003
SM
89102011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8911
8912 * shell.el: Require and use pcomplete.
8913 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8914 (shell-completion-vars): Set pcomplete-default-completion-function.
8915
6c4cab03
DD
89162011-06-04 Deniz Dogan <deniz@dogan.se>
8917
8918 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8919 `memq' (Bug#8799).
8920
ea9fafe0
SM
89212011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8922
8923 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8924
b3e945d3
JB
89252011-06-02 Juanma Barranquero <lekktu@gmail.com>
8926
8927 * bs.el (bs--mark-unmark, bs--nth-wrapper):
8928 * mpc.el (mpc-select-extend, mpc-songpointer-context):
8929 * vc/log-view.el (log-view-beginning-of-defun):
8930 * vc/smerge-mode.el (smerge-apply-resolution-patch)
8931 (smerge-refine-forward, smerge-refine-chopup-region):
8932 Silence warning for unused `dotimes' counter variables.
8933
7d520089
SM
89342011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8935
8936 * net/tramp.el (tramp-with-progress-reporter): Rename from
8937 with-progress-reporter. Use `declare'.
8938 * net/tramp-smb.el:
8939 * net/tramp-sh.el:
8940 * net/tramp-gvfs.el: Update all uses.
8941
a1c2400f
JB
89422011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
8943
8944 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8945 buffer isn't killed before making it current.
8946
2403c841
SM
89472011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8948
8949 Silence various byte-compiler warnings.
8950 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8951 `access-type' and new obsolescence format.
8952 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8953 new format.
8954 (byte-compile-check-variable): New `access-type' argument.
8955 Only warn if the access-type is obsolete.
8956 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8957 (byte-compile-variable-set): Adjust callers.
8958 * help-fns.el (describe-variable): Adjust to new obsolescence format.
8959 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8960 setting it as obsolete.
8961 * simple.el (minibuffer-completing-symbol):
8962 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8963 access as obsolete.
8964 * minibuffer.el (minibuffer-completing-file-name): Don't make it
8965 obsolete yet.
8966 * international/quail.el (quail-mouse-choose-completion): Remove unused
8967 code referring to obsolete var.
8968 (quail-choose-completion-string): Remove.
8969 * server.el (server-clients-with, server-kill-buffer-query-function)
8970 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8971 * proced.el (proced-send-signal):
8972 * emacs-lisp/lisp.el (lisp-complete-symbol):
8973 Replace completion-annotate-function with completion-extra-properties.
8974
2462470b
SM
89752011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8976
fb5b2591
SM
8977 * simple.el (goto-line): Use read-number.
8978 (overriding-map-is-bound): Remove.
8979 (saved-overriding-map): Change default.
8980 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8981 Take the map as argument.
8982 (universal-argument, negative-argument, digit-argument): Use it.
8983 (restore-overriding-map): Adjust.
8984 (do-auto-fill): Use fill-forward-paragraph.
8985 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8986
fd6fa53f
SM
8987 * minibuffer.el (minibuffer-inactive-mode-map): New var.
8988 (minibuffer-inactive-mode): New major mode.
8989 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8990 the *Messages* buffer" hack.
8991 (mouse-popup-menubar): Don't burp if the event is a normal key.
8992
2462470b
SM
8993 Miscellaneous tweaks.
8994 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8995 lexical scoping as in subr.el's dolist and dotimes.
8996 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8997 Silence compiler warning.
8998 * thingatpt.el (forward-whitespace): Trivial coding style fix.
8999 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9000 * international/ccl.el (ccl-compile): Trivial simplification.
9001 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9002 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9003 `printflag' argument.
9004 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9005 Purecopy the whole obsolescence data.
9006
108bf785
LL
90072011-06-01 Leo Liu <sdl.web@gmail.com>
9008
9009 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9010 improve doc-string as suggested by Marco Pessotto
9011 <melmothx@gmail.com>.
9012 (rcirc-print): Fix last change.
9013
30a23501
SM
90142011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9015
9016 * minibuffer.el (complete-with-action): Return nil for the metadata and
9017 boundaries of non-functional tables.
9018 (completion-table-dynamic): Return nil for the metadata.
9019 (completion-table-with-terminator): Add default case, using
9020 complete-with-action.
9021 (completion--metadata): New function.
9022 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9023 to try and avoid pathological performance problems.
9024 (completion--embedded-envvar-table): Return `category' metadata.
9025
bcd54f83
LMI
90262011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9027
9028 * subr.el (process-alive-p): New tiny convenience function.
9029
e227544d
SM
90302011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9031
9032 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9033 content but also its previous major mode.
9034
e8296fdc
HE
90352011-05-31 Helmut Eller <eller.helmut@gmail.com>
9036
4d61f28d 9037 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
9038 *Backtrace* buffer when we exit with C-M-c.
9039
620c53a6
SM
90402011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9041
9042 * minibuffer.el: Add metadata method to completion tables.
9043 (completion-category-overrides): New defcustom.
9044 (completion-metadata, completion--field-metadata)
9045 (completion-metadata-get, completion--styles)
9046 (completion--cycle-threshold): New functions.
9047 (completion-try-completion, completion-all-completions):
9048 Add `metadata' argument to choose completion-styles.
9049 (completion--do-completion): Use metadata to choose cycling.
9050 (completion-all-sorted-completions): Use metadata for sorting.
9051 Remove :completion-cycle-penalty which is not needed any more.
9052 (completion--try-word-completion): Add `metadata' argument.
9053 (minibuffer-completion-help): Check metadata for annotation function
9054 and sorting.
9055 (completion-file-name-table): Return `category' metadata.
9056 (minibuffer-completing-file-name): Make obsolete.
9057 * simple.el (minibuffer-completing-symbol): Make obsolete.
9058 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9059 completion-try-completion.
9060
1257e755
SM
90612011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9062
9063 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9064
3767e706
LL
90652011-05-30 Leo Liu <sdl.web@gmail.com>
9066
9067 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
9068 (rcirc-print): Decode all incoming messages (bug#8744).
9069 (rcirc-decode-coding-system): Allow value nil for automatic coding
9070 system detection.
3767e706 9071
d1a5d56a
GM
90722011-06-01 Glenn Morris <rgm@gnu.org>
9073
9074 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9075
e8cbec34
CY
90762011-05-29 Chong Yidong <cyd@stupidchicken.com>
9077
9078 * image.el (image-animate-max-time): Allow nil and t values.
9079 Default to nil.
9080 (create-animated-image): Doc fix.
9081 (image-animate-start): Remove second arg; just use
9082 image-animate-max-time.
9083 (image-animate-timeout): Doc fix. Args changed.
9084
9085 * image-mode.el (image-toggle-display-image): Ensure that the
9086 image spec passed to the animate timer is the same object as in
58179cce 9087 the buffer's display property (Bug#6981).
e8cbec34
CY
9088 (image-transform-properties): Doc fix.
9089
9090 * image.el (image-animate-max-time): Default to nil.
9091
159daf87
MR
90922011-05-29 Martin Rudalics <rudalics@gmx.at>
9093
9094 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9095 entire buffer list (Bug#8184).
9096
d66c4c7c
CY
90972011-05-29 Chong Yidong <cyd@stupidchicken.com>
9098
9099 * image.el (imagemagick-types-inhibit)
9100 (imagemagick-register-types): Doc fix.
9101
80aec780
DD
91022011-05-29 Deniz Dogan <deniz@dogan.se>
9103
9104 * net/rcirc.el (rcirc): Use the user's stored encryption method by
9105 default.
9106
1dd3c2d9
CY
91072011-05-29 Chong Yidong <cyd@stupidchicken.com>
9108
9109 * select.el: Don't perform clipboard-manager saving in hooks;
9110 leave the hooks empty.
9111
60e56523
LL
91122011-05-28 Leo Liu <sdl.web@gmail.com>
9113
9114 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9115 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
9116 (occur-edit-mode): New major mode (Bug#8463).
9117 (occur-after-change-function): New function.
9118 (occur-engine): Give Occur tags a read-only property.
9119
2b1e1a22
KR
91202011-05-28 Kevin Ryde <user42@zip.com.au>
9121
9122 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9123
5d344e88
CY
91242011-05-28 Chong Yidong <cyd@stupidchicken.com>
9125
8e6ca83d
CY
9126 * bindings.el (help-echo): Make the initial non-indicator dash
9127 empty on graphical terminals (Bug#7295).
9128
5d344e88
CY
9129 * files.el (auto-mode-alist): Move config rule after the
9130 in-stripping one (Bug#8547).
9131
bfbbace7
CY
9132 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9133
fbeba6e2
CY
9134 * startup.el (normal-splash-screen): Remove gratuitous mode-line
9135 setting (Bug#8740).
9136
60ed8c72
AA
91372011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
9138
4ac619f0
AA
9139 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9140 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9141 (Bug#8539).
60ed8c72 9142
23db196e
CY
91432011-05-28 Chong Yidong <cyd@stupidchicken.com>
9144
9145 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9146
5012f24c
DK
91472011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
9148
9149 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9150 (hs-hide-block-at-point, hs-find-block-beginning)
9151 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9152 (Bug#8279).
9153
6a639b16
GM
91542011-05-28 Glenn Morris <rgm@gnu.org>
9155
9156 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9157
d43eaf2c
CY
91582011-05-28 Chong Yidong <cyd@stupidchicken.com>
9159
5199bde1
CY
9160 * help-fns.el (describe-function-1): If the function is a derived
9161 major mode, print the parent mode.
9162
d43eaf2c
CY
9163 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9164 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9165
423428a8
SM
91662011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9167
0ff8e1ba 9168 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 9169 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
9170 * progmodes/etags.el (tags-completion-at-point-function):
9171 * info-look.el (info-lookup-completions-at-point): Mark as
9172 non-exclusive.
9173 (info-complete): Adjust accordingly.
9174
423428a8
SM
9175 * info-look.el: Convert to lexical-binding and completion-at-point.
9176 (info-lookup-completions-at-point): New function.
9177 (info-complete): Use it and completion-in-region.
9178
b74aa22b
DA
91792011-05-28 Drew Adams <drew.adams@oracle.com>
9180
9181 * isearch.el: Let M-e start with point at the first mismatched char.
9182 (isearch-fail-pos): New function.
9183 (isearch-edit-string): Use it.
9184
66e2e71d
DK
91852011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9186
9187 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9188
b1890b0f 91892011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
9190
9191 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9192 traversal functions for avl-trees.
9193 (avl-tree--stack): New struct.
9194 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9195 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
9196 (avl-tree--do-enter): Add optional `updatefun' arg.
9197 Change return value.
eb95d01d 9198 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
9199 (avl-tree--do-delete): Add `test' and `nilflag' args.
9200 Change return value.
eb95d01d
TC
9201 (avl-tree-member): Add optional `nilflag'
9202 (avl-tree-member-p): New function.
9203 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9204 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9205 (avl-tree-stack-empty-p): New functions.
9206
3769ddcf
TC
9207 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9208 avl-tree--del-balance1 and make it work both ways.
9209 (avl-tree--del-balance2): Remove.
9210 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9211 make it work both ways.
9212 (avl-tree--enter-balance2): Remove.
9213 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9214 New macros.
9215 (avl-tree--mapc, avl-tree-map): Add direction argument.
9216
eb95d01d 92172011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
9218
9219 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9220
a9f737ee
CY
92212011-05-27 Chong Yidong <cyd@stupidchicken.com>
9222
9223 * select.el: Support clipboard managers with built-in function
9224 x-clipboard-manager-save, via delete-frame-functions and
9225 kill-emacs-hook.
9226 (xselect-convert-to-targets): Add MULTIPLE target to list.
9227 (xselect-convert-to-save-targets): New function.
9228
c92a1e54
KH
92292011-05-27 Kenichi Handa <handa@m17n.org>
9230
9231 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9232 let-binding rfc2047-encode-encoded-words to nil.
9233
e145f188
GM
92342011-05-27 Glenn Morris <rgm@gnu.org>
9235
5ec8a862
GM
9236 * mail/emacsbug.el: Don't require url-util.
9237
4b29d9fb
GM
9238 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9239
e145f188
GM
9240 * files.el (set-auto-mode):
9241 Also respect mode: entries at the end of the file. (Bug#8586)
9242
7d15102b
GM
92432011-05-26 Glenn Morris <rgm@gnu.org>
9244
98f593b8
GM
9245 * files.el (hack-local-variables-prop-line, hack-local-variables):
9246 Downcase mode names, as seems to be traditional.
27b48e63 9247 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 9248
7d15102b
GM
9249 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9250 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
9251
51d5b4ec
JD
92522011-05-25 Julien Danjou <julien@danjou.info>
9253
9254 * textmodes/rst.el (rst-define-level-faces): Do not define face
9255 symbol if it is already defined.
9256
91513f63
VB
92572011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
9258
9259 * play/5x5.el (5x5-new-game, 5x5-randomize):
9260 Reset 5x5-solver-output to nil when a new grid is cast.
9261 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9262 these debugging traces, as defmacro breaks the compiled code.
9263
4d90d6d0
DK
92642011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9265
9266 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9267
e1b90ef6
LL
92682011-05-24 Leo Liu <sdl.web@gmail.com>
9269
9270 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9271 (vc-bzr-sha1): Adapt.
9272
d8e4b68b 9273 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
9274
9275 * bindings.el: Provide sha1 feature.
9276
db0406bb 92772011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
9278
9279 * mail/sendmail.el: Require `rfc2047'.
9280 (mail-insert-from-field): Do not perform RFC2047 encoding.
9281 (mail-encode-header): New function.
9282 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
9283 buffer to the return value of select-message-coding-system.
9284 Call mail-encode-header.
b8d747b9
KH
9285
9286 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9287
db0406bb 92882011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 9289
4d90d6d0
DK
9290 * mail/supercite.el (sc-default-cite-frame):
9291 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 9292
eb8a5e9b
GM
92932011-05-24 Glenn Morris <rgm@gnu.org>
9294
f8630703
GM
9295 * progmodes/python.el (brm-menu): Declare.
9296
8831bbed
GM
9297 * emulation/viper.el (viper-set-hooks): Declare.
9298
eb8a5e9b
GM
9299 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9300 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9301 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9302 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9303 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9304 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9305
a2a25d24
SM
93062011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9307
9308 Add an :exit-function for completion-at-point.
9309
9310 * minibuffer.el (completion--done): New fun.
9311 (completion--do-completion): Use it. New arg `expect-exact'.
9312 (minibuffer-complete, minibuffer-complete-word): Don't output message,
9313 since completion--do-completion does it for us now.
9314 (minibuffer-force-complete): Use completion--done and
9315 completion--replace. Handle sole-completion case with more care.
9316 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9317 (completion-extra-properties): New var.
9318 (completion-annotate-function): Make obsolete.
9319 (minibuffer-completion-help): Adjust accordingly.
9320 Use completion-list-insert-choice-function.
9321 (completion-at-point, completion-help-at-point):
9322 Bind completion-extra-properties.
9323 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9324 * simple.el (completion-list-insert-choice-function): New var.
9325 (completion-setup-function): Preserve it.
9326 (choose-completion): Pay attention to it, shuffle the code a bit.
9327 (choose-completion-string): New arg `insert-function'.
9328
9329 * textmodes/bibtex.el: Convert to lexical binding.
9330 (bibtex-mode-map): Use completion-at-point.
9331 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9332 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9333 (bibtex-complete): Define as obsolete alias.
9334 (bibtex-complete-internal): Remove.
9335 (bibtex-format-entry): Remove unused sub-group in regexp.
9336 * shell.el (shell--command-completion-data)
9337 (shell-environment-variable-completion):
9338 * pcomplete.el (pcomplete-completions-at-point):
9339 * comint.el (comint--complete-file-name-data): Use :exit-function
9340 instead of completion-table-with-terminator so it also works for
9341 choose-completion.
9342
e44e373d
SM
93432011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9344
4f91a816
SM
9345 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9346
782fc819
SM
9347 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9348 (bug#8710).
9349
e44e373d
SM
9350 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9351
381987c3
KM
93522011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
9353
9354 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9355 customization variable and implement: If non-nil, auto-fill will
9356 be inhibited while on topic's header line.
9357
b776bc70
VB
93582011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
9359
9360 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 9361 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
9362 always have a solution in grid size = 5 cases.
9363 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9364 (5x5-solver-output, 5x5-log-buffer): New vars.
9365 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9366 Make these variables buffer local to achieve 5x5 multi-session-ness.
9367 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9368 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9369 (5x5-solve-suggest): New funs.
9370 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9371 randomize a grid so that we ensure that there is always a solution.
9372 (5x5-make-random-grid): Allow other movement than flipping.
9373
7de88b6e
KR
93742011-05-23 Kevin Ryde <user42@zip.com.au>
9375
9376 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 9377 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
9378 advice and passes PREDICATE.
9379
b1ef1257
SM
93802011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9381
bbca48fe
SM
9382 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9383 byte-compile-lambda if it's actually a lambda.
9384
b1ef1257
SM
9385 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9386 Fix function quoting. Use backquote better.
9387
92a9cc65
YS
93882011-05-22 Yuanle Song <sylecn@gmail.com>
9389
9390 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9391 matching (Bug#8516).
9392
f0fb8059
JA
93932011-01-22 Jari Aalto <jari.aalto@cante.net>
9394
9395 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9396 different face (Bug#8178).
9397
d5b44c93
CY
93982011-05-22 Chong Yidong <cyd@stupidchicken.com>
9399
9400 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9401 defface (Bug#8144).
9402
79106a44
SM
94032011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
9404
9c848d8a
SM
9405 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9406 funcall as well (bug#8712). Warn when performing those conversions.
9407 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9408
79106a44
SM
9409 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9410
88dfa756
GM
94112011-05-22 Glenn Morris <rgm@gnu.org>
9412
9413 * files.el (hack-local-variables-prop-line): Small simplifications.
9414 (hack-local-variables, hack-local-variables-prop-line):
9415 If MODE-ONLY, return the mode, rather than just `t'.
9416
b7cf2c79
SM
94172011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9418
9419 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9420
3f1a8558
GM
94212011-05-21 Glenn Morris <rgm@gnu.org>
9422
7e4ccca3
GM
9423 * files.el (hack-local-variables-prop-line, hack-local-variables):
9424 If only interested in the mode, don't bother doing the other stuff.
9425
637d46ca
GM
9426 * image-mode.el (image-after-revert-hook):
9427 Redraw all frames on which the image is visible. (Bug#8567)
9428
973d955b
GM
9429 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
9430
3f1a8558
GM
9431 * wid-edit.el (widget-checklist-match-inline):
9432 Fix 2011-04-19 change. (Bug#8649)
9433
96479927
SM
94342011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
9435
1dcf791f
SM
9436 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9437 Also allow singlespace after single-letter capitals followed by a dot.
9438
96479927
SM
9439 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9440 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9441
35fd0881
N
94422011-05-20 Nix <nix@esperi.org.uk>
9443
9444 * files.el (basic-save-buffer-2):
9445 Fix handling of break-hardlink-on-save with non-existent files.
9446
82745640
DD
94472011-05-19 Deniz Dogan <deniz@dogan.se>
9448
9449 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 9450 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 9451
4a720484
GM
94522011-05-19 Glenn Morris <rgm@gnu.org>
9453
d1f21341
GM
9454 * progmodes/f90.el (f90-type-def-re):
9455 Handle "type, bind(c)". (Bug#8691)
9456
4a720484
GM
9457 * emacs-lisp/autoload.el (batch-update-autoloads):
9458 Set autoload-excludes by parsing loadup.el rather than Makefiles.
9459
2fb0a219
MA
94602011-05-18 Michael Albinus <michael.albinus@gmx.de>
9461
9462 * net/tramp.el (tramp-process-actions): Set "first-password-request"
9463 property for the correct connection in case of multihops.
9464
e565dd37
GM
94652011-05-18 Glenn Morris <rgm@gnu.org>
9466
c2571358 9467 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
9468 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9469
e565dd37
GM
9470 Rationalize calendar handling of day and month abbrev-arrays.
9471 * calendar/calendar.el (calendar-customized-p): New function.
9472 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9473 (calendar-day-name-array, calendar-month-name-array): Doc fix.
9474 Add :set function.
9475 (calendar-abbrev-length, calendar-day-abbrev-array)
9476 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9477 (calendar-day-abbrev-array, calendar-month-abbrev-array):
9478 Elements may no longer be nil.
9479 (calendar-day-name, calendar-month-name):
9480 Update for changed nature of abbrev arrays.
9481 * calendar/diary-lib.el (diary-name-pattern):
9482 Update for changed nature of abbrev arrays.
9483 (diary-mark-entries-1): Update calendar-make-alist calls.
9484 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9485 * calendar/cal-html.el (cal-html-day-abbrev-array):
9486 Simply inherit from calendar-day-abbrev-array.
9487
1d99a745
SM
94882011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9489
9490 * progmodes/grep.el (grep-mode): Disable default
9491 compilation-directory-matcher setting (bug#8684).
9492
7c1d9aa0
MA
94932011-05-17 Michael Albinus <michael.albinus@gmx.de>
9494
9495 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9496 instead of "head" and "tail". There were problems with SunOS 5.9,
9497 and it performs better.
9498
3952e9d8
GM
94992011-05-17 Glenn Morris <rgm@gnu.org>
9500
2dd12e7f
GM
9501 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9502
e4157b9c
GM
9503 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9504 Replace obsolete function.
9505
8e249bbd
GM
9506 * shell.el (pcomplete-parse-arguments-function): Declare.
9507
3952e9d8
GM
9508 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9509 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9510 (appt-check): Doc fixes.
9511 (appt-disp-window-function, appt-delete-window-function):
9512 Remove needless special case in custom :type.
9513 (appt-display-count): Default to 0, not nil.
9514 (appt-check): Reset appt-display-count to 0, not nil.
9515
c71a0d48 95162011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 9517
c71a0d48
GM
9518 * progmodes/python.el (python-font-lock-keywords):
9519 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 9520
31d55be9
SM
95212011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9522
9523 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9524
3bfacb2f
KR
95252011-05-16 Kevin Ryde <user42@zip.com.au>
9526
9527 * info-look.el (makefile-automake-mode): New setups, looking in
9528 automake manual, then makefile-mode.
9529 (makefile-mode): Remove automake manual, have it just in
9530 makefile-automake-mode since there's various things different or
9531 not relevant to plain make.
9532 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9533 believe a hypothetical automake-mode would go to makefile-mode,
9534 not the other way around.
9535
c8e83751
CY
95362011-05-15 Chong Yidong <cyd@stupidchicken.com>
9537
5e9e35cd
CY
9538 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9539 hunk-end tags (Bug#8672).
9540
c8e83751
CY
9541 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9542 vc-annotate-show-diff-revision-at-line (Bug#8671).
9543
50b23e5a
GM
95442011-05-14 Glenn Morris <rgm@gnu.org>
9545
7210a739
GM
9546 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9547 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
9548 (change-log-font-lock-keywords): Also handle multiple author lines
9549 with leading tabs. (Bug#8644)
7210a739 9550
4691905a
GM
9551 * calendar/appt.el (appt-check): Rename some local variables.
9552 Some simplification/reordering.
9553
50b23e5a
GM
9554 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9555 (feedmail-sendmail-f-doesnt-sell-me-out)
9556 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9557 (feedmail-debug-sit-for, feedmail-queue-express-hook)
9558 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
9559 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9560 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
9561 (feedmail-binmail-gnulinuxish-template):
9562 Rename from feedmail-binmail-linuxish-template.
9563 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9564 Use insert-buffer-substring.
9565
215cda7c
BC
95662011-05-14 Bill Carpenter <bill@carpenter.org>
9567
9568 * mail/feedmail.el (feedmail-patch-level): Increase.
9569 (feedmail-debug): New custom group.
9570 (feedmail-confirm-outgoing-timeout)
9571 (feedmail-sendmail-f-doesnt-sell-me-out)
9572 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9573 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9574 (feedmail-sender-line, feedmail-from-line)
9575 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 9576 (feedmail-spray-this-address)
215cda7c
BC
9577 (feedmail-spray-address-fiddle-plex-list)
9578 (feedmail-queue-use-send-time-for-date)
9579 (feedmail-queue-use-send-time-for-message-id)
9580 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9581 (feedmail-buffer-eating-function):
9582 Doc fixes.
9583 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9584 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9585 (feedmail-message-action-scroll-down): New functions.
9586 (feedmail-queue-directory, feedmail-queue-draft-directory):
9587 Use expand-file-name.
9588 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9589 Remove C-v help entry.
9590 (feedmail-queue-buffer-file-name): New variable.
9591 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9592 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9593 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9594 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9595 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9596 (feedmail-message-action-toggle-spray)
9597 (feedmail-run-the-queue-no-prompts)
9598 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9599 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9600 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9601 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9602 (feedmail-envelope-deducer, feedmail-fiddle-from)
9603 (feedmail-fiddle-sender, feedmail-default-date-generator)
9604 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9605 (feedmail-fiddle-spray-address)
9606 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9607 (feedmail-fiddle-list-of-fiddle-plexes)
9608 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9609 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9610 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9611 Change default. Doc fix.
9612 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9613 (feedmail-binmail-linuxish-template): New constant.
9614 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9615 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9616 (feedmail-send-it): Add debug call.
9617 Use feedmail-queue-buffer-file-name, and
9618 feedmail-send-it-immediately-wrapper.
9619 (feedmail-message-action-send): Add debug call.
9620 Use feedmail-send-it-immediately-wrapper.
9621 (feedmail-queue-express-to-queue): Add debug call.
9622 Run feedmail-queue-express-hook.
9623 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9624 (feedmail-message-action-help-blat):
9625 Rename from feedmail-queue-send-edit-prompt-help-first.
9626 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9627 Check line-endings. Handle errors better.
9628 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9629 Doc fix. Add debug call.
9630 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9631 Use feedmail-queue-send-edit-prompt-inner.
9632 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9633 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9634 from feedmail-queue-send-edit-prompt.
9635 (feedmail-queue-send-edit-prompt-help)
9636 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9637 (feedmail-tidy-up-slug): Add debug call.
9638 Respect feedmail-queue-slug-suspect-regexp.
9639 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9640 (feedmail-dump-message-to-queue): Add debug call.
9641 Expand queue-directory.
9642 (feedmail-dump-message-to-queue): Change message slightly.
9643 Use feedmail-say-chatter.
9644 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9645 (feedmail-send-it-immediately-wrapper): New function.
9646 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9647 Insert empty string rather than newline. Handle full-frame case.
9648 Use catch/throw. Use feedmail-say-chatter.
9649 (feedmail-fiddle-from): Try mail-host-address.
9650 (feedmail-default-message-id-generator): Doc fix.
9651 Bind system-time-locale. Handle missing end.
9652 (feedmail-fiddle-x-mailer): Add debug call.
9653 Handle feedmail-x-mailer-line being nil.
9654 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9655 Add debug call. Use buffer-substring-no-properties.
9656 (feedmail-say-debug, feedmail-say-chatter): New functions.
9657 (feedmail-find-eoh): Give an explicit error.
9658
42c7e61e
UJ
96592011-05-13 Ulf Jasper <ulf.jasper@web.de>
9660
c2571358 9661 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 9662 family from helvetica to sans.
c2571358 9663 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9664 etc/images/newsticker.
9665
c2571358 9666 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
9667 family from helvetica to sans.
9668
9669 * net/newst-plainview.el (newsticker-new-item-face)
9670 (newsticker-old-item-face, newsticker-immortal-item-face)
9671 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 9672 (newsticker-statistics-face): Change default family from
42c7e61e 9673 helvetica to sans.
c2571358 9674 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9675 etc/images/newsticker.
9676
9677 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9678 (newsticker--process-auto-mark-filter-match): : Tell user about
9679 auto-marking.
9680
8497a297
DV
96812011-05-13 Didier Verna <didier@xemacs.org>
9682
9683 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
9684 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9685 TODO entries.
8497a297
DV
9686 (lisp-lambda-list-keyword-parameter-indentation)
9687 (lisp-lambda-list-keyword-parameter-alignment)
9688 (lisp-lambda-list-keyword-alignment): New customizable user options.
9689 (lisp-indent-defun-method): Improve docstring.
9690 (extended-loop-p): Fix comment.
9691 (lisp-indent-lambda-list-keywords-regexp): New variable.
9692 (lisp-indent-lambda-list): New function.
9693 (lisp-indent-259): Use it.
9694 (lisp-indent-defmethod): Support for more than one
9695 method qualifier and properly indent methods lambda-lists.
9696 (defgeneric): Provide a missing common-lisp-indent-function property.
9697
f278f87f
SM
96982011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9699
9700 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9701 bounds for the empty string (bug#8667).
9702
5233edd7
GM
97032011-05-13 Glenn Morris <rgm@gnu.org>
9704
5237a44f
GM
9705 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9706
8340026c 9707 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 9708 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 9709
5233edd7 9710 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 9711 (appt-time-msg-list): Doc fix.
a5464014 9712 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 9713
92d10796
AS
97142011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9715
9716 * progmodes/ld-script.el (ld-script-keywords)
9717 (ld-script-builtins): Update keywords list.
9718
914a0ae1
SM
97192011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9720
c89be45f
SM
9721 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9722
914a0ae1
SM
9723 * shell.el (shell-completion-vars): New function.
9724 (shell-mode):
9725 * simple.el (read-shell-command): Use it.
9726 (blink-matching-open): No need for " [...]" in minibuffer-message.
9727
98dc3df3
GM
97282011-05-12 Glenn Morris <rgm@gnu.org>
9729
9730 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9731 (appt-check): Simplify.
9732
d2fc7e3d 97332011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 9734
4d61f28d 9735 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
9736 literal "/dev/null".
9737
d2fc7e3d 97382011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
9739
9740 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9741 Fix typo.
9742
d2fc7e3d 97432011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 9744
3f254caa
SM
9745 * progmodes/which-func.el (which-function):
9746 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
9747 which might not be defined (Bug#8260).
9748
d45885f7
GM
97492011-05-12 Glenn Morris <rgm@gnu.org>
9750
9751 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9752 Let byte-compile-initial-macro-environment always take precedence.
9753
488086f4
SM
97542011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9755
9756 * net/rcirc.el: Add support for SSL/TLS connections.
9757 (rcirc-server-alist): New field `encryption'.
9758 (rcirc): Check `encryption' settings.
9759 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9760 Merge make-local-variable into `set'.
9761 (rcirc--connection-open-p): New function.
9762 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9763 the process is not a network process (e.g. running gnutls-cli).
9764 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9765 Make rcirc-(en|de)code-coding-system local here.
9766 (rcirc-mode): Merge make-local-variable into `set'.
9767 (rcirc-parent-buffer): Make permanent buffer-local.
9768 (rcirc-multiline-minor-mode): Don't do it here.
9769 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9770 there's no server buffer.
9771
7d3b9d44
GM
97722011-05-11 Glenn Morris <rgm@gnu.org>
9773
f64049c6
GM
9774 * newcomment.el (comment-kill): Prefix "unused" local.
9775
93c9df73
GM
9776 * term/w32console.el (get-screen-color): Declare.
9777
7d3b9d44
GM
9778 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9779 Handle symbol elements of byte-compile-initial-macro-environment.
9780
9e2dd53f
LL
97812011-05-10 Leo Liu <sdl.web@gmail.com>
9782
488086f4
SM
9783 * bookmark.el (bookmark-bmenu-mode-map):
9784 Bind bookmark-bmenu-search to `/'.
8b340240 9785
9e2dd53f 9786 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
9787 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9788 (Footnote-unicode): New function.
9789 (footnote-style-alist): Add unicode style to the list.
9790 (footnote-style): Doc fix.
9e2dd53f 9791
79b70037
GM
97922011-05-10 Jim Meyering <meyering@redhat.com>
9793
9794 Fix doubled-word typos.
9795 * international/quail.el (quail-insert-kbd-layout): and and -> and
9796 * kermit.el: and and -> and
9797 * net/ldap.el (ldap-search-internal): to to -> to
9798 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9799 * progmodes/js.el (js-mode): and and -> and
9800 * textmodes/artist.el (artist-move-to-xy): at at -> at
9801 (artist-draw-region-trim-line-endings): if if -> if
9802 And Safetyc -> Safety.
9803 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9804
b8f82dc1 98052011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 9806 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
9807
9808 * files.el (hack-one-local-variable-eval-safep):
9809 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9810
4f99f44b
GM
98112011-05-10 Glenn Morris <rgm@gnu.org>
9812
9813 * calendar/diary-lib.el (diary-list-entries-hook)
9814 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9815 (diary-nongregorian-marking-hook, diary-list-entries)
9816 (diary-include-other-diary-files, diary-mark-entries)
9817 (diary-mark-included-diary-files): Doc fixes.
9818
84f29e6b
JB
98192011-05-09 Juanma Barranquero <lekktu@gmail.com>
9820
9821 * misc.el: Require tabulated-list.el during compilation.
9822
9bedd73a
CY
98232011-05-09 Chong Yidong <cyd@stupidchicken.com>
9824
488086f4
SM
9825 * progmodes/compile.el (compilation-start):
9826 Run compilation-filter-hook for the async case too.
9bedd73a
CY
9827 (compilation-filter-hook): Doc fix.
9828
797c735c
DD
98292011-05-09 Deniz Dogan <deniz@dogan.se>
9830
9831 * wdired.el: Remove outdated installation comment. Fix usage
9832 comment.
9833
5f4b1dfe
JB
98342011-05-09 Juanma Barranquero <lekktu@gmail.com>
9835
9836 * misc.el: Implement new command `list-dynamic-libraries'.
9837 (list-dynamic-libraries--loaded-only-p): New variable.
9838 (list-dynamic-libraries--refresh): New function.
9839 (list-dynamic-libraries): New command.
9840
4c44026c
CY
98412011-05-09 Chong Yidong <cyd@stupidchicken.com>
9842
488086f4
SM
9843 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9844 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
9845 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9846 higher priority to avoid clobbering by gnu.
9847
027f966d
CY
98482011-05-08 Chong Yidong <cyd@stupidchicken.com>
9849
9850 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9851 if the face has existing theme settings (Bug#8454).
9852
085f5d7d
CY
98532011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9854
488086f4
SM
9855 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9856 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 9857
2a86a00c
RS
9858 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9859 special file names `.' and `..' (Bug#8259).
9860
d9c54a06
CY
98612011-05-08 Chong Yidong <cyd@stupidchicken.com>
9862
488086f4
SM
9863 * progmodes/grep.el (grep-mode-font-lock-keywords):
9864 Remove buffer-changing entries.
d9c54a06
CY
9865 (grep-filter): New function.
9866 (grep-mode): Add it to compilation-filter-hook.
9867
9868 * progmodes/compile.el (compilation-filter-hook)
9869 (compilation-filter-start): New defvars.
9870 (compilation-filter): Call compilation-filter-hook prior to
9871 updating the process mark.
9872
c4662635
SM
98732011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9874
9875 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9876
b0512a1d
EZ
98772011-05-07 Eli Zaretskii <eliz@gnu.org>
9878
605c9376
EZ
9879 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9880 mailclient-send-it even if window-system is nil. (Bug#8595)
9881
c4662635
SM
9882 * term/w32console.el (terminal-init-w32console):
9883 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
9884 background-mode. (Bug#8597)
9885
d1dc2cc2
SM
98862011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9887
9888 Make bytecomp.el understand that defmethod defines funs (bug#8631).
9889 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9890 New functions.
9891 (defgeneric, eieio--defmethod): Use them.
9892 (eieio-defgeneric): Remove.
9893 (defmethod): Call defgeneric in a way visible to the byte-compiler.
9894
915d1300
GM
98952011-05-07 Glenn Morris <rgm@gnu.org>
9896
a3961c3e
GM
9897 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9898 Use let rather than let*.
9899 (timeclock-find-discrep): Remove unused local.
9900
314347b9
GM
9901 * calendar/diary-lib.el (diary-comment-start): Doc fix.
9902
915d1300
GM
9903 * calendar/appt.el (appt-time-msg-list): Doc fix.
9904
275b59b0
NF
99052011-05-06 Noah Friedman <friedman@splode.com>
9906
9907 * apropos.el (apropos-print-doc): Only use
9908 emacs-lisp-docstring-fill-column when it is bound to an integer,
9909 per that variable's documentation.
9910
6c19f744
SM
99112011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9912
9913 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 9914 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 9915
60f884b2
GM
99162011-05-06 Glenn Morris <rgm@gnu.org>
9917
5006e634
GM
9918 * calendar/appt.el (appt-message-warning-time): Doc fix.
9919 (appt-warning-time-regexp): New option.
9920 (appt-make-list): Respect appt-message-warning-time.
9921
548d0a63
GM
9922 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9923 New options.
9924 (diary-add-to-list): Strip comments from the displayed string.
9925 (diary-mode): Set comment-start and comment-end.
9926
60f884b2
GM
9927 * vc/diff-mode.el (smerge-refine-subst): Declare.
9928 (diff-refine-hunk): Don't require smerge-mode when compiling.
9929
989681bb
JB
99302011-05-06 Juanma Barranquero <lekktu@gmail.com>
9931
9932 * simple.el (list-processes): Return nil as the docstring says.
9933
a6bc05e1
MA
99342011-05-05 Michael Albinus <michael.albinus@gmx.de>
9935
9936 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9937 to "".
9938 (ange-ftp-write-region, ange-ftp-insert-file-contents)
9939 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9940 determining of binary transfer. (Bug#7383)
9941
23c22e9a
MA
99422011-05-05 Michael Albinus <michael.albinus@gmx.de>
9943
c4662635
SM
9944 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9945 Fix port computation bug. (Bug#8618)
23c22e9a 9946
0bff894f
GM
99472011-05-05 Glenn Morris <rgm@gnu.org>
9948
b8296902
GM
9949 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9950
1f522ce8
GM
9951 * simple.el (shell-dynamic-complete-functions)
9952 (comint-dynamic-complete-functions): Declare.
9953
cf5bee67
GM
9954 * net/network-stream.el (gnutls-negotiate):
9955 * simple.el (tabulated-list-print): Fix declarations.
9956
9957 * progmodes/gud.el (syntax-symbol, syntax-point):
9958 Remove unnecessary and incorrect declarations.
9959
0bff894f
GM
9960 * emacs-lisp/check-declare.el (check-declare-scan):
9961 Handle byte-compile-initial-macro-environment in bytecomp.el
9962
9869b3ae
SM
99632011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9964
9965 Fix earlier half-done eieio-defmethod change (bug#8338).
9966 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9967 Streamline and change calling convention.
9968 (defmethod): Adjust accordingly and simplify.
9969 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9970 new eieio--defmethod.
9971 (slot-boundp): Minor CSE simplification.
9972
9c1d5ac5
MZ
99732011-05-05 Milan Zamazal <pdm@zamazal.org>
9974
9975 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9976 (glasses-make-readable): Use glasses-separate-capital-groups.
9977
455c834e
JB
99782011-05-05 Juanma Barranquero <lekktu@gmail.com>
9979
9980 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9981 (warning-series): Doc fix.
9982 (display-warning): Don't try to create the buffer if we just found it.
9983
9ed7c8cb
CY
99842011-05-04 Chong Yidong <cyd@stupidchicken.com>
9985
9986 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9987 (autoload-find-generated-file): New function.
9988 (generate-file-autoloads): Bind generated-autoload-file to
9989 buffer-file-name.
9869b3ae
SM
9990 (update-file-autoloads, update-directory-autoloads):
9991 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
9992 output file (Bug#7989).
9993 (batch-update-autoloads): Doc fix.
9994
0898ca10
JB
99952011-05-04 Juanma Barranquero <lekktu@gmail.com>
9996
9997 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9998
31dfb76c
GM
99992011-05-04 Glenn Morris <rgm@gnu.org>
10000
f330b642
GM
10001 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10002 function, so it follows changes in calendar-date-style.
10003 (diary-fancy-date-matcher): New function.
10004 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10005 (diary-fancy-font-lock-fontify-region-function):
10006 Use diary-fancy-date-pattern as a function.
10007
31dfb76c
GM
10008 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10009 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10010
48e79d6a
TZ
100112011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10012
10013 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10014 instead of positional arguments. Allow :keylist and :crlfiles
10015 arguments.
10016 (open-gnutls-stream): Call it.
10017
10018 * net/network-stream.el (network-stream-open-starttls): Adjust to
10019 call `gnutls-negotiate' with :process and :hostname arguments.
10020
dd5a5ee0
SM
100212011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10022
ef80fc09
SM
10023 * minibuffer.el (completion--message): New function.
10024 (completion--do-completion, minibuffer-complete)
10025 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10026 (completion--do-completion): Don't ignore completion-auto-help when in
10027 icomplete-mode.
10028
dd5a5ee0
SM
10029 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10030 internal encoding (e.g. tibetan zero is not whitespace).
10031 (global-whitespace-mode): Prefer save-current-buffer.
10032 (whitespace-trailing-regexp): Remove useless save-match-data.
10033 (whitespace-empty-at-bob-regexp): Minor simplification.
10034
b7d22a83
CY
100352011-05-03 Chong Yidong <cyd@stupidchicken.com>
10036
10037 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10038
5192af46
AM
100392011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10040
10041 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 10042 Use `concat' to create string for insertion.
5192af46 10043
5767d190
SM
100442011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10045
10046 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10047 Avoid open-line which runs post-self-insert-hook.
10048 (bibtex-fill-entry): Remove unused `end' var.
10049
bf242939
AM
100502011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10051
5767d190
SM
10052 * textmodes/ispell.el (ispell-add-per-file-word-list):
10053 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 10054
25666126
LL
100552011-05-03 Leo Liu <sdl.web@gmail.com>
10056
10057 * isearch.el (isearch-yank-pop): New command.
5767d190 10058 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
10059 (isearch-forward): Mention it.
10060
52d3c2d0
SM
100612011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10062
1bcace58
SM
10063 * simple.el (minibuffer-complete-shell-command): Remove.
10064 (minibuffer-local-shell-command-map): Use completion-at-point.
10065 (read-shell-command): Setup completion vars here instead.
10066 (read-expression-map): Bind TAB to symbol completion.
10067
52d3c2d0
SM
10068 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10069 error directly rather via storing it into `results'.
10070
35813471
LL
100712011-05-02 Leo Liu <sdl.web@gmail.com>
10072
10073 * vc/diff.el: Fix description.
10074
e793a940
LMI
100752011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10076
10077 * server.el (server-eval-at): New function.
10078
8de66e05
LMI
100792011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10080
10081 * net/network-stream.el (open-network-stream): Take a :nowait
10082 parameter and pass it on to `make-network-process'.
10083 (network-stream-open-plain): Ditto.
10084
dcb79f20
AS
100852011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10086
10087 * faces.el (face-spec-set-match-display): Don't match toolkit
10088 options on terminal frames.
10089
14a7fbd8
SM
100902011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10091
7eabc1be
SM
10092 * progmodes/pascal.el: Use lexical binding.
10093 (pascal-mode-map): Remove author preferences.
10094
14a7fbd8
SM
10095 * pcomplete.el (pcomplete-std-complete): Don't abuse
10096 completion-at-point.
10097
50f84510
JB
100982011-04-28 Juanma Barranquero <lekktu@gmail.com>
10099
6e087a44
JB
10100 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10101 removing code that has been dead since 1991 or so.
10102
50f84510
JB
10103 * startup.el (command-line): When warning about "_emacs", use a
10104 delayed warning to allow the user to filter it out.
10105
0ba690bd
DD
101062011-04-28 Deniz Dogan <deniz@dogan.se>
10107
10108 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10109 user has not joined.
10110
08abfaad
SM
101112011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10112
10113 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10114 aren't any completions at point.
10115
638f053a
JB
101162011-04-28 Juanma Barranquero <lekktu@gmail.com>
10117
10118 * subr.el (display-delayed-warnings): New function.
10119 (delayed-warnings-hook): New variable.
10120
8fff8daa
SM
101212011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10122
08abfaad
SM
10123 * minibuffer.el (completion-at-point, completion-help-at-point):
10124 Don't presume that a given completion-at-point-function will always
10125 use the same calling convention.
10126
8fff8daa
SM
10127 * pcomplete.el (pcomplete-completions-at-point):
10128 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10129 pcomplete-seen is non-nil.
10130 (pcomplete-comint-setup): Also recognize the new comint/shell
10131 completion functions.
10132 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10133 pcomplete-seen is non-nil.
10134
841a1577 101352011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 10136
841a1577 10137 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 10138 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 10139 the first character in the entry. This allows for code to add its
211ec907
UJ
10140 own uid to the entry.
10141 (icalendar--convert-float-to-ical): Add export of
10142 `diary-float'-entries save for those with the optional DAY
10143 argument.
10144
2a782793
DC
101452011-04-27 Daniel Colascione <dan.colascione@gmail.com>
10146
10147 * subr.el (shell-quote-argument): Use alternate escaping strategy
10148 when we spot a variable reference in a string.
10149
0438ce91
DC
101502011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10151
10152 * cus-start.el (all): Define customization for debug-on-event.
10153
841a1577 101542011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
10155
10156 * subr.el (shell-quote-argument): Escape correctly under Windows.
10157
d090ed6c
SM
101582011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10159
10160 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10161
bfd31217
MA
101622011-04-25 Michael Albinus <michael.albinus@gmx.de>
10163
d090ed6c
SM
10164 * net/tramp.el (tramp-process-actions): Add POS argument.
10165 Delete region between POS and (pos).
bfd31217 10166
d090ed6c
SM
10167 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10168 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
10169 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10170
10171 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10172 position in `tramp-process-actions' call.
10173
10174 * net/trampver.el: Update release number.
10175
e92f3bd3
SM
101762011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10177
850256b5
SM
10178 * custom.el (defcustom): Obey lexical-binding.
10179
e92f3bd3
SM
10180 Fix octave-inf completion problems reported by Alexander Klimov.
10181 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10182 Inherit from octave-mode-syntax-table.
10183 (inferior-octave-mode): Set info-lookup-mode.
10184 (inferior-octave-completion-at-point): New function.
10185 (inferior-octave-complete): Use it and completion-in-region.
10186 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10187 comint-filename-completion.
10188 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10189 symbol elements which shouldn't be word elements.
10190 (octave-font-lock-keywords, octave-beginning-of-defun)
10191 (octave-function-header-regexp): Adjust regexps accordingly.
10192 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10193
cd22b309
JB
101942011-04-25 Juanma Barranquero <lekktu@gmail.com>
10195
10196 * net/gnutls.el (gnutls-errorp): Declare before first use.
10197
8b492194
TZ
101982011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10199
10200 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10201 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 10202 default trustfile exists before going to use it. Add missing
5a5fa834 10203 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
10204 Reported by Claudio Bley <claudio.bley@gmail.com>.
10205 (open-gnutls-stream): Add usage example.
10206
10207 * net/network-stream.el (network-stream-open-starttls): Give host
10208 parameter to `gnutls-negotiate'.
10209 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 10210 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 10211
841a1577 102122011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 10213
cd22b309
JB
10214 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10215 Use correct match group (bug#8438).
05842630 10216
3ba7869c
CY
102172011-04-24 Chong Yidong <cyd@stupidchicken.com>
10218
512e3ae1
CY
10219 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10220 (package-menu--generate): New arg specifying packages to show.
10221 (package-menu-refresh, package-menu-execute, list-packages):
10222 Callers changed.
10223 (package-show-package-list): New function, replacing deleted
10224 package--list-packages (renamed because it is non-internal).
10225
10226 * finder.el (finder-list-matches): Use package-show-package-list
10227 instead of deleted package--list-packages.
10228
e92f3bd3
SM
10229 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10230 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
10231 (vc-annotate-mode-map): Bind it to RET.
10232
7031be6d
UR
102332011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10234
10235 * progmodes/etags.el (next-file): Don't use set-buffer to change
10236 buffers (Bug#8478).
10237
4ef177aa
CY
102382011-04-24 Chong Yidong <cyd@stupidchicken.com>
10239
c8d173eb
CY
10240 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10241
4ef177aa
CY
10242 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10243 (apropos-accumulator): Doc fix.
10244 (apropos-function, apropos-macro, apropos-command)
10245 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10246 (apropos-plist): Add face property.
10247 (apropos-symbols-internal): Fix indentation.
10248 (apropos-print): Simplify help, and recognize apropos-multi-type.
10249 (apropos-print-doc): Use button-type-get to extract the button's
10250 face property. Fill docstring (Bug#8352).
10251
4ffd0d6b 102522011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
10253
10254 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10255
c6c32125 10256 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 10257 (mpuz-mode-map): Use mapc.
c6c32125
JB
10258 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10259 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10260 Fix typos in docstrings.
10261
58d468b4
JB
10262 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10263 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10264
6470c3c6
JB
10265 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10266
4ffd0d6b 102672011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
10268
10269 * minibuffer.el (completion--do-completion): Avoid the "Next char
10270 not unique" prompt if icomplete-mode is enabled (Bug#5849).
10271
3ad8bad0
CY
10272 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10273 mouse-2 into unread-command-events, it is interpreted correctly.
10274
71d73c9c 10275 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 10276 (image-toggle-display): Doc fix.
71d73c9c 10277
841a1577 102782011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 10279
4ffd0d6b
GM
10280 * textmodes/page.el (what-page): Use line-number-at-pos to
10281 calculate line number (Bug#6825).
6e1dbaa9 10282
c2fb1b60
JB
102832011-04-22 Juanma Barranquero <lekktu@gmail.com>
10284
10285 * eshell/esh-mode.el (find-tag-interactive): Declare function.
10286 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10287 Pass argument NO-DEFAULT to `find-tag-interactive'.
10288
e02f48d7
JB
102892011-04-22 Juanma Barranquero <lekktu@gmail.com>
10290
10291 Lexical-binding cleanup.
10292
10293 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10294 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10295 * progmodes/ada-prj.el (ada-prj-initialize-values)
10296 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10297 (ada-prj-show-value):
10298 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10299 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10300 (antlr-invalidate-context-cache, antlr-options-menu-filter)
10301 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10302 * progmodes/bug-reference.el (bug-reference-push-button):
10303 * progmodes/fortran.el (fortran-line-length):
10304 * progmodes/glasses.el (glasses-change):
10305 * progmodes/octave-mod.el (octave-fill-paragraph):
10306 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10307 (python-pdbtrack-grub-for-buffer, python-sentinel):
10308 * progmodes/sql.el (sql-save-connection):
10309 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10310 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10311 Mark unused parameters.
10312
10313 * progmodes/compile.el (compilation--flush-directory-cache)
10314 (compilation--flush-parse, compile-internal): Mark unused parameters.
10315 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10316 (compilation-next-error-function): Remove unused variable `timestamp'.
10317
10318 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10319 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10320
10321 * progmodes/dcl-mode.el (dcl-end-of-command):
10322 Remove unused variable `start'.
10323 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10324 (dcl-option-value-basic, dcl-option-value-offset)
10325 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10326 Mark unused parameters.
10327 (dcl-save-local-variable): Remove unused variable `val'.
10328 (mode): Declare.
10329
10330 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10331 Mark unused parameters.
10332 (delphi-ignore-changes): Move before first use.
10333 (delphi-charset-token-at): Remove unused variable `start'.
10334 (delphi-else-start): Remove unused variable `if-count'.
10335 (delphi-comment-block-start, delphi-comment-block-end):
10336 Remove unused variable `kind'.
10337 (delphi-indent-line): Remove unused variable `new-point'.
10338
10339 * progmodes/ebrowse.el (ebrowse-files-list)
10340 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10341 Mark unused parameters. Don't quote `lambda'.
10342 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10343 Don't quote `lambda'.
10344 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10345 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10346 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10347 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10348 Use `ignore-errors'.
10349 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10350 (ebrowse-view/find-file-and-search-pattern)
10351 (ebrowse-view/find-member-declaration/definition):
10352 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10353 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10354 Rename parameter PREFIX-ARG to PREFIX.
10355 (ebrowse-tags-read-name): Remove unused variables `start' and
10356 `member-info'.
10357 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10358 to `tags-file'.
10359
10360 * progmodes/etags.el (local-find-tag-hook): Declare.
10361 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10362 Mark unused parameters.
10363
10364 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10365 (executable-interpret): Mark unused parameter.
10366
10367 * progmodes/flymake.el (flymake-process-sentinel)
10368 (flymake-after-change-function)
10369 (flymake-create-temp-with-folder-structure)
10370 (flymake-get-include-dirs-dot): Mark unused parameters.
10371 (flymake-safe-delete-directory): Remove unused variable `err'.
10372
10373 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10374 (speedbar-timer-fn, speedbar-line-text)
10375 (speedbar-change-expand-button-char, speedbar-delete-subblock)
10376 (speedbar-center-buffer-smartly): Declare functions.
10377 (gdb-find-watch-expression): Remove unused variable `array'.
10378 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10379 (gdb-starting): Mark unused parameters.
10380 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10381 (gdb-table-string): Remove unused variable `res'.
10382 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10383 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10384 (gdb-display-buffer): Remove unused variable `cur-size'.
10385
10386 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10387 allow lexical-binding compilation.
10388 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10389 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10390 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10391 Mark unused parameters.
10392 (gud-gdb-marker-filter): Remove unused variable `match'.
10393 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10394 lambda expressions and funcall them, instead of using `fset'.
10395
10396 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10397 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10398
10399 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10400 variable `header-beg'; use `let'.
10401
10402 * progmodes/icon.el (indent-icon-exp): Remove unused variables
10403 `restart', `last-sexp' and `at-do'.
10404
10405 * progmodes/js.el (js--debug): Mark unused parameter.
10406 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10407 (js--splice-into-items): Remove unused variable `item'.
10408 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10409
10410 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10411 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10412 (makefile-complete): Remove unused variable `try'.
10413 (makefile-fill-paragraph, makefile-match-function-end):
10414 Mark unused parameters.
10415
10416 * progmodes/octave-inf.el (inferior-octave-complete):
10417 Remove unused variable `proc'.
10418 (inferior-octave-output-digest): Mark unused parameter.
10419
10420 * progmodes/perl-mode.el (perl-calculate-indent):
10421 Remove unused variable `err'.
10422
10423 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10424 (prolog-indent-line): Mark unused parameters.
10425 (prolog-indent-line): Remove unused variable `beg'.
10426
10427 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10428 (reporter-dont-compact-list): Declare.
10429
10430 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10431 Remove unused variable `char'.
10432 (sh-debug): Mark unused parameter.
10433 (sh-get-indent-info): Remove unused variable `start'.
10434 (sh-calculate-indent): Remove unused variable `var'.
10435
10436 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10437 (simula-electric-keyword): Remove unused variable `null'.
10438 (simula-search-backward, simula-search-forward): Remove unused
10439 variables `begin' and `end'.
10440
10441 * progmodes/vera-mode.el (vera-guess-basic-syntax):
10442 Remove unused variable `pos'.
10443 (vera-electric-tab, vera-comment-uncomment-region):
10444 Mark unused parameters.
10445 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10446
7ede3b65
CY
104472011-04-22 Chong Yidong <cyd@stupidchicken.com>
10448
10449 * emacs-lisp/package.el (package--builtins, package-alist)
10450 (package-load-descriptor, package-built-in-p, package-activate)
10451 (define-package, package-installed-p)
10452 (package-compute-transaction, package-buffer-info)
10453 (package--push): Doc fix. Distinguish more clearly between
10454 version strings and version lists.
10455
121656e9
JB
104562011-04-21 Juanma Barranquero <lekktu@gmail.com>
10457
10458 Lexical-binding cleanup.
10459
10460 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10461 (5x5-make-mutate-best):
10462 * play/fortune.el (fortune-in-buffer):
10463 * play/gomoku.el (gomoku-init-display):
10464 * play/solitaire.el (solitaire, solitaire-do-check):
10465 * play/tetris.el (tetris-default-update-speed-function):
10466 Mark unused parameters.
10467
10468 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10469 (bubbles--shift): Remove unused variable `char-org'.
10470 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
10471 (bubbles--show-images): Remove unused variable `char'.
10472
10473 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10474 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10475 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10476 (decipher-analyze-buffer): Use ?\s.
10477 (decipher-make-checkpoint): Remove unused variable `mapping'.
10478
10479 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10480
10481 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10482 Remove unused variable `result'; use `let'.
10483
10484 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10485 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10486 (gametree-children-shown-p, gametree-compute-reduced-score):
10487 Use `ignore-errors'.
10488
10489 * play/handwrite.el (ps-lpr-switches): Declare.
10490 (handwrite): Remove unused variables `pmin' and `lastp'.
10491
10492 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10493
10494 * play/landmark.el (landmark-init-display)
10495 (landmark-update-naught-weights): Mark unused parameters.
10496 (landmark-y): Remove unused variable `noise'. Simplify.
10497 (landmark-human-plays): Remove unused variable `score'.
10498
10499 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10500 (mpuz-try-proposal): Remove unused variable `game'.
10501
10502 * play/zone.el (life-patterns): Declare.
10503
80f499c7
JB
105042011-04-20 Juanma Barranquero <lekktu@gmail.com>
10505
10506 * vc/vc.el (ediff-vc-internal): Declare function.
10507
024ff170
SM
105082011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10509
c0a193ea
SM
10510 * shell.el: Use lexical-binding and std completion UI.
10511 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10512 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10513 comint-preoutput-filter-functions rather than on
10514 comint-output-filter-functions.
10515 (shell-command-completion, shell--command-completion-data)
10516 (shell-filename-completion, shell-environment-variable-completion)
10517 (shell-c-a-p-replace-by-expanded-directory): New functions.
10518 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10519 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10520 (shell-dynamic-complete-environment-variable): Use them.
10521 (shell-dynamic-complete-as-environment-variable)
10522 (shell-dynamic-complete-as-command): Remove.
10523 (shell-match-partial-variable): Match past point.
10524 * comint.el: Clean up use of completion-at-point-functions.
10525 (comint-completion-at-point): New function.
10526 (comint-mode): Use it completion-at-point-functions.
10527 (comint-dynamic-complete): Make it obsolete.
10528 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10529 (comint-c-a-p-replace-by-expanded-history): New function.
10530 (comint-dynamic-complete-functions)
10531 (comint-replace-by-expanded-history): Use it.
10532 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10533 termination strings. Try harder to avoid second try-completion.
10534 (completion-in-region-mode-map): Disable bindings that don't work yet.
10535
2dbaa080
SM
10536 * comint.el: Use lexical-binding. Require CL.
10537 (comint-dynamic-complete-functions): Use comint-filename-completion.
10538 (comint-completion-addsuffix): Tweak custom type.
10539 (comint-filename-completion, comint--common-suffix)
10540 (comint--common-quoted-suffix, comint--table-subvert)
10541 (comint--complete-file-name-data): New functions.
10542 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10543 (comint-dynamic-list-filename-completions): Use them.
10544 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 10545
2dbaa080
SM
10546 * minibuffer.el (completion-in-region-mode):
10547 Keep completion-in-region-mode--predicate global.
10548 (completion-in-region--postch):
10549 Assume completion-in-region-mode--predicate is not null.
10550
c79a6f38
SM
10551 * progmodes/flymake.el (flymake-start-syntax-check-process):
10552 Obey `dir'. Simplify.
10553
024ff170
SM
10554 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10555 we're in VC after all.
10556
1c6c854e
CS
105572011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10558
10559 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 10560 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
10561 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10562
bed7f140
SM
105632011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10564
332e62ab
SM
10565 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10566 add sanity check.
10567
bed7f140
SM
10568 * obsolete/erc-hecomplete.el: Make obsolete.
10569 * obsolete/: Standardize obsolescence info in the header.
10570
f195c582
GM
105712011-04-20 Glenn Morris <rgm@gnu.org>
10572
10573 * calendar/solar.el (solar-horizontal-coordinates):
10574 Use the longitude argument rather than `calendar-longitude'.
10575 (solar-date-next-longitude): Remove unused locals.
10576
cb79b8c0
VJL
105772011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10578
10579 * whitespace.el: New version 13.2.1.
10580
105812011-04-20 felix <EmacsWiki> (tiny change)
10582
d8e4b68b 10583 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
10584 switching between major modes on a file.
10585
602ea69d
SM
105862011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10587
10588 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10589 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10590 multi-line comments as well.
10591
06b60517
JB
105922011-04-19 Juanma Barranquero <lekktu@gmail.com>
10593
10594 Lexical-binding cleanup.
10595
10596 * arc-mode.el (archive-mode-revert):
10597 * cmuscheme.el (scheme-interactively-start-process):
10598 * custom.el (custom-initialize-delay):
10599 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10600 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10601 * emacs-lock.el (emacs-lock-clear-sentinel):
10602 * ezimage.el (defezimage):
10603 * follow.el (follow-avoid-tail-recenter):
10604 * fringe.el (set-fringe-mode-1):
10605 * generic-x.el (bat-generic-mode-compile):
10606 * help-mode.el (help-info-variable, help-do-xref)
10607 (help-mode-revert-buffer):
10608 * help.el (view-emacs-todo):
10609 * iswitchb.el (iswitchb-completion-help):
10610 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10611 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10612 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10613 * locate.el (locate-update):
10614 * longlines.el (longlines-encode-region)
10615 (longlines-after-change-function):
10616 * outline.el (outline-isearch-open-invisible):
10617 * ps-def.el (declare-function, charset-dimension, char-width)
10618 (encode-char):
10619 * ps-mule.el (ps-mule-plot-string):
10620 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10621 (recentf-edit-list-select, recentf-edit-list-validate)
10622 (recentf-open-files-action):
10623 * rect.el (delete-whitespace-rectangle-line)
10624 (rectangle-number-line-callback):
10625 * register.el (window-configuration-to-register)
10626 (frame-configuration-to-register):
10627 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10628 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10629 (xselect-convert-to-targets, xselect-convert-to-delete)
10630 (xselect-convert-to-filename, xselect-convert-to-charpos)
10631 (xselect-convert-to-lineno, xselect-convert-to-colno)
10632 (xselect-convert-to-os, xselect-convert-to-host)
10633 (xselect-convert-to-user, xselect-convert-to-class)
10634 (xselect-convert-to-name, xselect-convert-to-integer)
10635 (xselect-convert-to-atom, xselect-convert-to-identity):
10636 * subr.el (declare, ignore, process-kill-without-query)
10637 (text-clone-maintain):
10638 * terminal.el (te-get-char, te-tic-sentinel):
10639 * tool-bar.el (tool-bar-make-keymap):
10640 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10641 * type-break.el (type-break-mode, type-break-noninteractive-query):
10642 * view.el (View-back-to-mark):
10643 * wid-browse.el (widget-browse-action, widget-browse-widget)
10644 (widget-browse-widgets, widget-browse-sexp):
10645 * widget.el (define-widget-keywords):
10646 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10647 Mark unused parameters.
10648
10649 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10650 (align-areas): Remove unused variable `look'.
10651 (align-region): Remove unused variables `real-end' and `pos-list'.
10652
10653 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10654
10655 * bindings.el (mode-line-modified, mode-line-remote):
10656 Mark unused parameters.
10657 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10658
10659 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10660 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10661
10662 * comint.el (comint-history-isearch-pop-state)
10663 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10664 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10665 (comint-substitute-in-file-name): Doc fix.
10666
10667 * completion.el (cmpl-statistics-block): Mark unused parameter.
10668 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10669 (save-completions-to-file, load-completions-from-file):
10670 Remove unused local variable `e'.
10671
10672 * composite.el (compose-chars): Remove unused variable `len'.
10673 (lgstring-insert-glyph): Remove unused variable `g'.
10674 (compose-glyph-string): Remove unused variables `ascent',
10675 `descent', `lbearing' and `rbearing'.
10676 (compose-glyph-string-relative): Remove unused variables
10677 `lbearing', `rbearing' and `wadjust'.
10678 (compose-gstring-for-graphic): Remove unused variables `header',
10679 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10680 (compose-gstring-for-terminal): Remove unused variables `header'
10681 and `nchars'. Use `let', not `let*'.
10682
10683 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10684 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10685 (Custom-buffer-done, custom-buffer-create-internal)
10686 (custom-browse-visibility-action, custom-browse-group-tag-action)
10687 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10688 (widget-magic-mouse-down-action, custom-toggle-parent)
10689 (custom-add-parent-links, custom-toggle-hide-variable)
10690 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10691 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10692 (custom-face-menu-create, custom-variable-menu-create, get)
10693 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10694 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10695 (customize-apropos): Remove unused variable `tests'.
10696 (custom-group-value-create): Remove unused variable `hidden-p'.
10697 (sort-fold-case): Declare.
10698
10699 * cus-theme.el (custom-reset-standard-faces-list)
10700 (custom-reset-standard-variables-list): Declare.
10701 (customize-create-theme, custom-theme-revert, custom-theme-write)
10702 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10703 Mark unused parameters.
10704
10705 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10706
10707 * delim-col.el (delimit-columns-max): Move defvar before first use.
10708
10709 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 10710 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
10711
10712 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10713 (auto-insert): Declare.
10714 (desktop-restore-file-buffer): Rename desktop-* parameters;
10715 mark unused ones.
10716 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10717 (desktop-buffer): Rename desktop-* parameters.
10718
10719 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10720 (dframe-reposition-frame-xemacs, dframe-help-echo)
10721 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10722 Mark unused parameters.
10723
10724 * dired-aux.el (backup-extract-version-start, overwrite-query)
10725 (overwrite-backup-query, rename-regexp-query)
10726 (rename-non-directory-query): Declare.
10727 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10728 (dired-add-entry): Remove unused variable `orig-file-name'.
10729 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10730 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10731 `dired-copy-preserve-time' directly.
10732 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10733 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10734
10735 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10736 (dired-virtual-revert, dired-make-relative-symlink):
10737 Mark unused parameters.
10738 (manual-program): Declare.
10739 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10740 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10741 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10742
10743 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10744
10745 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10746
10747 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10748 Declare.
10749
10750 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10751
10752 * electric.el (Electric-command-loop): Rename parameter
10753 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10754
10755 * expand.el (expand-in-literal): Remove unused variable `here'.
10756
10757 * facemenu.el (facemenu-add-new-color):
10758 Remove unused variable `docstring'.
10759
10760 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10761 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10762 (face-attr-construct): Mark unused parameter. Doc fix.
10763 (read-color): Remove unused variable `hex-string'.
10764
10765 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10766 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10767 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10768 (display-buffer-other-frame): Remove unused variable `old-window'.
10769 (kill-buffer-hook): Declare.
10770 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10771 Mark unused parameters.
10772 (after-find-file): Pass 1 to `auto-save-mode', not t.
10773
10774 * files-x.el (auto-insert): Declare.
10775 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10776
10777 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 10778 variable `buf'. Mark unused parameter.
06b60517
JB
10779 (find-lisp-insert-directory): Mark unused parameter.
10780
10781 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10782 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10783 (format-common-tail): Remove, unused.
10784 (format-deannotate-region): Remove unused variable `loc'.
10785 (format-annotate-region): Remove unused variable `p'.
10786 (format-annotate-single-property-change): Remove unused variables
10787 `default' and `tail'.
10788
10789 * forms.el (read-file-filter): Declare.
10790 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10791
10792 * frame.el (frame-creation-function-alist): Mark unused parameter.
10793 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10794
10795 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10796 Remove unused parameters.
10797 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10798 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10799
10800 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10801 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10802 (hfy-prepare-tag-map): Mark unused parameters.
10803 (htmlfontify-buffer): Use `called-interactively-p'.
10804
10805 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10806 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10807 (ibuffer-do-occur): Mark unused parameters.
10808 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10809 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10810
10811 * ibuffer.el: Don't quote `lambda'.
10812 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10813 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10814 Mark unused parameters.
10815
10816 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10817 (ido-completing-read): Mark unused parameters.
10818 (ido-copy-current-word): Mark unused parameters;
10819 remove unused variable `name'.
10820 (ido-sort-merged-list): Remove unused parameter `dirs'.
10821
10822 * ielm.el (ielm-input-sender): Mark unused parameter.
10823 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10824 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10825 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10826 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10827 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10828
10829 * image-dired.el (image-dired-display-thumbs): Remove unused
10830 variables `curr-file' and `count'.
10831 (image-dired-remove-tag): Remove unused variable `start'.
10832 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10833 variable `curr-file'
10834 (image-dired-rotate-original): Remove unused variable `temp-file'.
10835 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10836 Remove unused variable `file'.
10837 (image-dired-gallery-generate): Remove unused variable `curr'.
10838 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10839
10840 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10841
10842 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10843
10844 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10845
10846 * isearch.el (minibuffer-history-symbol): Declare.
10847 (isearch-edit-string): Remove unused variable `err'.
10848 (isearch-message-prefix, isearch-message-suffix):
10849 Mark unused parameters.
10850
10851 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10852
10853 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10854
10855 * makesum.el (double-column): Remove unused variable `cnt'.
10856
10857 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10858 (ido-ignore-item-temp-list): Declare.
10859
10860 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10861 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10862 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10863 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10864 `mouse-col-delta'.
10865
10866 * mouse-sel.el (mouse-extend-internal):
10867 Remove unused variable `orig-window-frame'.
10868
10869 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10870 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10871 Move declarations before first use.
10872 (pcomplete-opt): Mark unused parameters; doc fix.
10873
10874 * proced.el (proced-revert): Mark unused parameter.
10875 (proced-send-signal): Remove unused variable `err'.
10876
10877 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10878 Rename parameter PREFIX-ARG to ARG.
10879 (ps-basic-plot-string, ps-basic-plot-whitespace):
10880 Mark unused parameters.
10881
10882 * replace.el (replace-count): Define.
10883 (occur-revert-function): Mark unused parameters.
10884 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10885 (isearch-case-fold-search, isearch-string): Declare.
10886 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10887 bind `case-fold-search'. Remove unused variables `beg' and `end',
10888 and simplify.
10889 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10890 COUNT and bind `replace-count'.
10891 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10892 to COUNT.
10893
10894 * savehist.el (print-readably, print-string-length): Declare.
10895
10896 * shadowfile.el (shadow-expand-cluster-in-file-name):
10897 Remove unused variable `cluster'.
10898 (shadow-copy-file): Remove unused variable `i'.
10899 (shadow-noquery, shadow-clusters, shadow-site-cluster)
10900 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10901 (shadow-define-literal-group, shadow-define-regexp-group)
10902 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10903
10904 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10905 (shell): Use `called-interactively-p'.
10906 (shell-directory-tracker): Remove unused variable `chdir-failure'.
10907
10908 * simple.el (compilation-context-lines, comint-file-name-quote-list)
10909 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10910 (delete-backward-char): Remove unused variable `ocol'.
10911 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10912 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10913 (event-apply-hyper-modifier, event-apply-shift-modifier)
10914 (event-apply-control-modifier, event-apply-meta-modifier):
10915 Mark unused parameters.
10916 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10917 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10918
10919 * speedbar.el (speedbar-ignored-directory-expressions)
10920 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10921 (speedbar-find-file, speedbar-dir-follow)
10922 (speedbar-directory-buttons-follow, speedbar-tag-find)
10923 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10924 (speedbar-buffers-line-directory, speedbar-buffer-click):
10925 Mark unused parameters.
10926 (speedbar-tag-file): Remove unused variable `mode'.
10927 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10928
10929 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10930
10931 * talk.el (talk): Remove unused variable `display'.
10932
10933 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10934 (tar-write-region-annotate): Mark unused parameter.
10935
10936 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10937 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10938 Declare them, wrapped in `with-no-warnings' to avoid replacing one
10939 warning by another.
10940
10941 * time-stamp.el (time-stamp-string-preprocess):
10942 Remove unused variable `require-padding'.
10943
10944 * tree-widget.el (widget-glyph-enable): Declare.
10945 (tree-widget-action): Mark unused parameter.
10946
10947 * w32-fns.el (x-get-selection): Mark unused parameter.
10948 (autoload-make-program, generated-autoload-file): Declare.
10949
10950 * wdired.el (wdired-revert): Mark unused parameters.
10951 (wdired-xcase-word): Remove unused variable `err'.
10952
10953 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10954 (whitespace-help-scroll): Remove unused variable `data-help'.
10955
10956 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10957 (widget-image-insert, widget-after-change, default)
10958 (widget-default-format-handler, widget-default-notify)
10959 (widget-default-prompt-value, widget-info-link-action)
10960 (widget-url-link-action, widget-function-link-action)
10961 (widget-variable-link-action, widget-file-link-action)
10962 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10963 (widget-field-prompt-internal, widget-field-action, widget-field-match)
10964 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10965 (widget-insert-button-action, widget-delete-button-action, visibility)
10966 (widget-documentation-link-action, widget-documentation-string-action)
10967 (widget-const-prompt-value, widget-regexp-match, symbol)
10968 (widget-coding-system-prompt-value)
10969 (widget-key-sequence-value-to-external, sexp)
10970 (widget-sexp-value-to-internal, character, vector, cons)
10971 (widget-choice-prompt-value, widget-boolean-prompt-value)
10972 (widget-color--choose-action): Mark unused parameters.
10973 (widget-item-match-inline, widget-choice-match-inline)
10974 (widget-checklist-match, widget-checklist-match-inline)
10975 (widget-group-match): Rename parameter VALUES to VALS.
10976 (widget-field-value-set): Remove unused variable `size'.
10977 (widget-color-action): Remove unused variables `value' and `start'.
10978
10979 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 10980 variable `dir'. Doc fix.
06b60517
JB
10981 (windmove-find-other-window): Don't pass it.
10982
10983 * window.el (count-windows): Mark unused parameter.
10984 (bw-adjust-window): Remove unused variable `err'.
10985
10986 * woman.el (woman-file-name): Remove unused variable `default'.
10987 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10988 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10989 (global-font-lock-mode): Declare.
10990 (woman-decode-region): Mark unused parameter.
10991 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10992
10993 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10994 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10995 (x-dnd-handle-moz-url): Remove unused variable `title'.
10996 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10997
10998 * xml.el (xml-parse-tag, xml-parse-attlist):
10999 Remove unused variable `pos'.
11000
bc4f7f3d
GM
110012011-04-19 Glenn Morris <rgm@gnu.org>
11002
11003 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11004 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11005 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11006 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11007 * calendar/cal-html.el (cal-html-insert-minical):
11008 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11009 (calendar-mark-date-pattern):
11010 Prefix "unused" locals.
11011
11012 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11013 optional argument `style'.
11014
11015 * calendar/appt.el (appt-make-list):
11016 * calendar/cal-china.el (calendar-chinese-date-string):
11017 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11018 (diary-hebrew-yahrzeit):
11019 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11020 * calendar/calendar.el (calendar-generate-window):
11021 * calendar/time-date.el (time-to-days):
11022 Remove unused local variables.
11023
16a43933
CY
110242011-04-18 Chong Yidong <cyd@stupidchicken.com>
11025
11026 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11027 glyphless-char-display table.
11028 (tabulated-list-glyphless-char-display): New var.
11029
7eed1860
SS
110302011-04-18 Sam Steingold <sds@gnu.org>
11031
11032 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11033 to acknowledgments.
11034
4d2d1ccd
GM
110352011-04-17 Glenn Morris <rgm@gnu.org>
11036
11037 * calendar/diary-lib.el (diary-sexp-entry):
11038 * calendar/holidays.el (holiday-sexp):
11039 Set debug-on-error rather than the removed stack-trace-on-error.
11040
239da61d
GM
110412011-04-16 Glenn Morris <rgm@gnu.org>
11042
11043 * progmodes/f90.el: Use lexical-binding.
11044 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11045
8b05752a
SM
110462011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11047
daca8ba5
SM
11048 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11049 (mail-mode): Setup mailalias completion here instead.
11050 * mail/mailalias.el: Use lexical-binding.
11051 (pattern, mailalias-done): Declare dynamic.
11052 (mail-completion-at-point-function): New function, from mail-complete.
11053 (mail-complete): Use it.
11054 (mail-completion-expand): New function.
11055 (mail-get-names): Use it.
11056 (mail-directory, mail-directory-process, mail-directory-stream):
11057 Don't use `pattern' for lexically bound arg.
11058
6f542485
SM
11059 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11060
037e7c3f
SM
11061 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11062 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11063 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11064
8b05752a
SM
11065 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11066 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11067 (byte-interactive-p): Define them again, for use when inlining
11068 old code.
11069
49093f60
JB
110702011-04-15 Juanma Barranquero <lekktu@gmail.com>
11071
11072 * loadup.el: Use `string-to-number', not `string-to-int'.
11073
b5b8e7de
SM
110742011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11075
11076 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11077 gud-gdb-complete-command.
11078 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11079 (gud-gdb-completion-at-point): New function.
11080 (gud-gdb-completions): Remove.
11081
f42efeb5
MA
110822011-04-14 Michael Albinus <michael.albinus@gmx.de>
11083
49093f60
JB
11084 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11085 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11086 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11087 whether `executable-find' is bound.
f42efeb5
MA
11088
11089 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11090
e240cc21
SM
110912011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11092
11093 * minibuffer.el (completion-in-region-mode-predicate)
11094 (completion-in-region-mode--predicate): New vars.
11095 (completion-in-region, completion-in-region--postch)
11096 (completion-in-region-mode): Use them.
11097 (completion--capf-wrapper): Also return the hook function.
11098 (completion-at-point, completion-help-at-point):
11099 Adjust and provide a predicate.
c2bd2ab0
SM
11100
11101 Preserve arg names for advice of subr and lexical functions (bug#8457).
11102 * help-fns.el (help-function-arglist): Consolidate the subr and
11103 new-byte-code cases. Add argument `preserve-names' to extract names
11104 from the docstring when needed.
11105 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11106 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11107 (ad-arglist): Use help-function-arglist's new arg.
11108 (ad-definition-type): Use cond.
11109
c183f693
JB
111102011-04-13 Juanma Barranquero <lekktu@gmail.com>
11111
06641a47
JB
11112 * autorevert.el (auto-revert-handler):
11113 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11114 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11115 Don't quote lambda.
11116
c183f693
JB
11117 * image-mode.el (image-transform-set-scale):
11118 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11119
1e3b6001
G
111202011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11121
11122 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 11123 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
11124 Upgrades via gnutls-cli are too slow to be done opportunistically.
11125
2d6af8dd
JB
111262011-04-12 Juanma Barranquero <lekktu@gmail.com>
11127
11128 * dframe.el (dframe-current-frame): Remove spurious quote.
11129
c0749a51
GM
111302011-04-12 Glenn Morris <rgm@gnu.org>
11131
088d0d61
GM
11132 * calendar/cal-tex.el (cal-tex-end-document):
11133 Try to automatically use latin1 input if needed.
11134
c0749a51
GM
11135 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11136 Don't try to cons a mark onto an empty element.
11137
5c90fde0
LL
111382011-04-11 Leo Liu <sdl.web@gmail.com>
11139
11140 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11141 buffers.
11142 (ido-kill-buffer-at-head): Support killing virtual buffers.
11143
369e974d
CY
111442011-04-10 Chong Yidong <cyd@stupidchicken.com>
11145
11146 * minibuffer.el (completion-show-inline-help): New var.
11147 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
11148 (minibuffer-force-complete, minibuffer-complete-word):
11149 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
11150
11151 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11152 to avoid interference from inline help (Bug#5849).
11153
37f1c930
LL
111542011-04-10 Leo Liu <sdl.web@gmail.com>
11155
099c39a4
JB
11156 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11157 Fix typo.
37f1c930 11158
a32d4040
CY
111592011-04-09 Chong Yidong <cyd@stupidchicken.com>
11160
11161 * image-mode.el (image-toggle-display-image): Signal an error if
11162 not in Image mode.
11163 (image-transform-mode, image-transform-resize)
11164 (image-transform-set-rotation): Doc fix.
daca8ba5 11165 (image-transform-set-resize): Delete.
a32d4040
CY
11166 (image-transform-set-scale, image-transform-fit-to-height)
11167 (image-transform-fit-to-width): Handle image-toggle-display-image
11168 and image-transform-resize directly.
11169
099c39a4 111702011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
11171
11172 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
11173 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11174 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
11175 (doc-view-mode-map): Add bindings for the new functions.
11176
099c39a4 111772011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 11178
4d61f28d 11179 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
11180 Fix typo in docstring.
11181
3726838a
EZ
111822011-04-08 Eli Zaretskii <eliz@gnu.org>
11183
04f33f1e
EZ
11184 * files.el (file-size-human-readable): Produce one digit after
11185 decimal, like "ls -lh" does.
11186
11187 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11188 the file size representation.
11189
3726838a
EZ
11190 * simple.el (list-processes): If async subprocesses are not
11191 available, error out with a clear error message.
11192
cbb59342
CY
111932011-04-08 Chong Yidong <cyd@stupidchicken.com>
11194
11195 * help.el (help-form-show): New function, to be called from C.
11196 Put help-form output in a buffer named differently than *Help*.
11197
e3971c44
EZ
111982011-04-08 Eli Zaretskii <eliz@gnu.org>
11199
11200 * files.el (file-size-human-readable): New function.
11201
11202 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11203 computing the representation inline. Don't require `cl'.
11204
12544bbe
GM
112052011-04-08 Glenn Morris <rgm@gnu.org>
11206
a1de6c6a
GM
11207 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11208
3c4671f4
GM
11209 * net/browse-url.el (browse-url-firefox):
11210 Test system-type, not system-configuration.
11211
b605679c
GM
11212 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11213 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11214 Use log-edit-empty-buffer-p. (Bug#7598)
11215
56442f0c
GM
11216 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11217 (rlogin-mode-map): Initialize in the defvar.
11218 (rlogin): Use ignore-errors.
11219
12544bbe
GM
11220 * replace.el (occur-mode-map): Some fixes for menu items.
11221
eb237b0f
AH
112222011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11223
11224 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
11225
7d668f2c
CY
112262011-04-06 Chong Yidong <cyd@stupidchicken.com>
11227
e67a13ab
CY
11228 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11229 issuing unused warnings.
11230
11231 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11232 macro directly.
11233
7d668f2c
CY
11234 * simple.el: Lisp reimplement of list-processes. Based on an
11235 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11236 (process-menu-mode): New major mode.
11237 (list-processes--refresh, list-processes):
11238 (process-menu-visit-buffer): New functions.
11239
11240 * files.el (save-buffers-kill-emacs): Don't assume any return
11241 value of list-processes, which is undocumented anyway.
11242
a83ec3c9
CY
112432011-04-06 Chong Yidong <cyd@stupidchicken.com>
11244
11245 * emacs-lisp/tabulated-list.el: New file.
11246
e91a96fe
CY
11247 * emacs-lisp/package.el: Use Tabulated List mode.
11248 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11249 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11250 table format using Tabulated List mode variables.
11251 (package--push): New macro, replacing package-list-maybe-add.
11252 (package-menu--generate): Use package--push. Renamed from
11253 package--generate-package-list.
11254 (package-menu-refresh, list-packages): Use it.
daca8ba5 11255 (package-menu--print-info): Rename from package-print-package.
e91a96fe 11256 Return insertion data instead of inserting it directly.
099c39a4
JB
11257 (package-menu-describe-package, package-menu-execute):
11258 Use tabulated-list-get-id.
e91a96fe
CY
11259 (package-menu-mark-delete, package-menu-mark-install)
11260 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
11261 (package-menu-mark-obsolete-for-deletion):
11262 Use tabulated-list-put-tag.
e91a96fe
CY
11263 (package--list-packages, package-menu-revert)
11264 (package-menu-get-package, package-menu-get-version)
11265 (package-menu-sort-by-column): Functions deleted.
11266 (package-menu-package-list, package-menu-sort-key): Vars deleted.
11267 (package-menu--status-predicate, package-menu--version-predicate)
11268 (package-menu--name-predicate)
11269 (package-menu--description-predicate): Handle arguments in the
11270 Tabulated List format.
11271 (package-list-packages-no-fetch): Call list-packages.
11272
3e214b50
JB
112732011-04-06 Juanma Barranquero <lekktu@gmail.com>
11274
11275 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 11276 (after-find-file): Don't bind it.
3e214b50
JB
11277 (revert-buffer-in-progress-p): New variable.
11278 (revert-buffer): Bind it.
11279 Pass nil for `after-find-file-from-revert-buffer'.
11280
11281 * saveplace.el (save-place-find-file-hook): Use new variable
11282 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11283
3f0f1700
GM
112842011-04-06 Glenn Morris <rgm@gnu.org>
11285
c0274801
GM
11286 * Makefile.in (AUTOGEN_VCS): New variable.
11287 (autoloads): Use $AUTOGEN_VCS.
11288
3f0f1700
GM
11289 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11290 * calendar/calendar.el (calendar-mode-map):
11291 Check for toolkit scroll bars. (Bug#8305)
11292
41ea9e48
CY
112932011-04-05 Chong Yidong <cyd@stupidchicken.com>
11294
11295 * minibuffer.el (completion-in-region--postch)
11296 (completion-in-region-mode): Remove unnecessary messages.
11297
6194c800
JB
112982011-04-05 Juanma Barranquero <lekktu@gmail.com>
11299
33256f14
JB
11300 * font-lock.el (font-lock-refresh-defaults):
11301 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11302 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11303
6194c800
JB
11304 * info.el (Info-directory-list, Info-read-node-name-2)
11305 (Info-split-parameter-string): Doc fixes.
11306 (Info-virtual-nodes): Reflow docstring.
11307 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11308 (Info-apropos-toc-nodes, info-finder, Info-get-token)
11309 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11310 Fix typos in docstrings.
11311 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11312 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11313 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11314 (Info-restore-desktop-buffer): Mark unused parameters.
11315 (Info-directory-find-file, Info-directory-find-node)
11316 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11317 (Info-virtual-index-find-node, Info-apropos-find-file)
11318 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 11319 Mark unused parameters; fix typos in docstrings.
6194c800
JB
11320 (Info-virtual-index): Remove unused local variable `nodename'.
11321
b87a8200 113222011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 11323
b87a8200
DD
11324 * net/rcirc.el: Update my e-mail address.
11325 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 11326
3b2ff876
CY
113272011-04-05 Chong Yidong <cyd@stupidchicken.com>
11328
11329 * startup.el (command-line): Save the cursor's theme-face
11330 directly, instead of using face-override-spec.
11331
11332 * custom.el (load-theme): Minor optimization in assigning faces.
11333
8d17e7ca
JB
113342011-04-04 Juanma Barranquero <lekktu@gmail.com>
11335
11336 * help-fns.el (describe-variable): Complete all variables having
11337 documentation, including keywords.
11338 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11339
2fbc1934
JB
113402011-04-04 Juanma Barranquero <lekktu@gmail.com>
11341
11342 Convert to lexical-binding.
11343
11344 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11345 (bs--get-marked-string, bs--get-modified-string)
11346 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11347 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11348 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11349
11350 * ehelp.el (electric-help-execute-extended)
11351 (electric-help-ctrl-x-prefix):
11352 * hexl.el (hexl-revert-buffer-function):
11353 * linum.el (linum-after-change, linum-after-scroll):
11354 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11355
11356 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11357
74f50695
DU
113582011-04-04 Daiki Ueno <ueno@unixuser.org>
11359
11360 * epa-dired.el:
11361 * epa-mail.el:
11362 * epa-hook.el:
11363 * epa-file.el:
11364 * epa.el:
11365 * epg.el: Use lexical binding.
11366
c11325f7
CY
113672011-04-03 Chong Yidong <cyd@stupidchicken.com>
11368
0d9e9a12
CY
11369 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11370
c11325f7 11371 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
11372 dictionary case for flyspell-mark-duplications-exceptions.
11373 Use regexp matching for languages.
c11325f7
CY
11374 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11375 default dictionary (Bug#7926).
11376
da91b5f2
CY
113772011-04-02 Chong Yidong <cyd@stupidchicken.com>
11378
099c39a4
JB
11379 * emacs-lisp/package.el (package--with-work-buffer):
11380 Recognize https URLs.
da91b5f2 11381
099c39a4
JB
11382 * net/network-stream.el: Move from gnus/proto-stream.el.
11383 Change prefix to network-stream throughout.
da91b5f2
CY
11384 (open-protocol-stream): Merge into open-network-stream, leaving
11385 open-protocol-stream as an alias. Handle nil BUFFER args.
11386
11387 * subr.el (open-network-stream): Move to net/network-stream.el.
11388
afa8e9f6
GM
113892011-04-02 Glenn Morris <rgm@gnu.org>
11390
1d2e369d
GM
11391 * find-dired.el (find-exec-terminator): New option.
11392 (find-ls-option): Test for -ls support.
11393 (find-ls-subdir-switches): Test for -b in find-ls-option.
11394 (find-dired, find-grep-dired): Doc fixes.
11395 (find-dired): Use find-exec-terminator.
11396
8abb7da8 11397 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
11398 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11399 (find-name-arg): Remove purecopy.
8abb7da8 11400
f3ca7378
GM
11401 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11402 (grep-compute-defaults): Check for `-exec COMMAND +' support.
11403 Set grep-find-use-xargs, grep-find-command, and grep-find-template
11404 accordingly. Don't add the null-device if not needed.
11405
afa8e9f6
GM
11406 * files.el (save-some-buffers): Doc fix.
11407
35eae264
EZ
114082011-04-02 Eli Zaretskii <eliz@gnu.org>
11409
11410 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11411
26b51db5
JB
114122011-04-01 Juanma Barranquero <lekktu@gmail.com>
11413
11414 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11415 Use `dolist' rather than `mapcar'.
11416
7200d79c
SM
114172011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11418
03408648 11419 Add lexical binding.
7200d79c 11420
03408648
SM
11421 * subr.el (apply-partially): Use new closures rather than CL.
11422 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11423 (dolist, dotimes): Use slightly different expansion for lexical code.
11424 (functionp): Move to C.
11425 (letrec): New macro.
11426 (with-wrapper-hook): Use it and apply-partially instead of CL.
11427 (eval-after-load): Preserve lexical-binding.
11428 (save-window-excursion, with-output-to-temp-buffer): Turn them
11429 into macros.
7200d79c 11430
03408648
SM
11431 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11432
11433 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11434 than the arglist.
11435 (help-add-fundoc-usage): Don't add `Not documented'.
11436 (help-function-arglist): Handle closures, subroutines, and new
11437 byte-code-functions.
11438 (help-make-usage): Remove leading underscores.
11439 (describe-function-1): Handle closures.
11440 (describe-variable): Use special-variable-p for completion.
11441
11442 * files.el (lexical-binding): Declare safe.
f488fb65 11443
03408648
SM
11444 * emacs-lisp/pcase.el: Don't use destructuring-bind.
11445 (pcase--memoize): Rename from pcase-memoize. Change weakness.
11446 (pcase): Add `let' pattern.
11447 Change memoization so it actually works.
11448 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11449 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11450 <let>: New case.
f488fb65 11451
03408648
SM
11452 * emacs-lisp/macroexp.el: Use lexical binding.
11453 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
11454 Don't convert ' to #' without checking that it's indeed quoting
11455 a lambda.
11456
11457 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 11458 Use eval-sexp-add-defvars.
03408648
SM
11459 (eval-sexp-add-defvars): New fun.
11460
11461 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11462
11463 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11464 Don't autoload.
11465 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11466 than the internal `byte-compile-lambda'.
11467 (defmethod): Don't hide code under quotes.
11468 (eieio-defmethod): New `code' argument.
11469
11470 * emacs-lisp/eieio-comp.el: Remove.
11471
11472 * emacs-lisp/edebug.el (edebug-eval-defun)
11473 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11474 (edebug-toggle): Avoid `eval'.
11475
11476 * emacs-lisp/disass.el (disassemble-internal): Handle new
11477 `closure' objects.
11478 (disassemble-1): Handle new byte codes.
11479
11480 * emacs-lisp/cl.el (pushnew): Silence warning.
11481
11482 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11483 (cl-byte-compile-throw): Remove.
11484 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11485
11486 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11487 closures.
11488
11489 * emacs-lisp/cconv.el: New file.
11490
11491 * emacs-lisp/bytecomp.el: Use lexical binding instead of
11492 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
11493 (byte-compile-initial-macro-environment):
11494 Handle declare-function here.
11495 (byte-compile--lexical-environment): New var.
11496 (byte-stack-ref, byte-stack-set, byte-discardN)
11497 (byte-discardN-preserve-tos): New lap codes.
11498 (byte-interactive-p): Don't use any more.
11499 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11500 New macros.
11501 (byte-compile-lapcode): Use them and handle new lap codes.
11502 (byte-compile-obsolete): Remove.
11503 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11504 (byte-compile-arglist-warn): Check late def of inlinable funs.
11505 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11506 since they should have been expanded by now.
11507 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11508 (byte-compile-from-buffer): Remove unused second arg.
11509 (byte-compile-preprocess): New function.
11510 (byte-compile-toplevel-file-form): New function to distinguish
11511 file-form calls from outside from file-form calls from hunk-handlers.
11512 (byte-compile-file-form): Simplify.
11513 (byte-compile-file-form-defsubst): Remove.
11514 (byte-compile-file-form-defmumble): Simplify now that
11515 byte-compile-lambda always returns a byte-code-function.
11516 (byte-compile): Preprocess.
11517 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11518 Remove, not used any more.
11519 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11520 (byte-compile-make-args-desc): New funs.
11521 (byte-compile-lambda): Handle lexical functions. Always return
11522 a byte-code-function.
11523 (byte-compile-reserved-constants): New var, to make up room for
11524 closed-over variables.
11525 (byte-compile-constants-vector): Obey it.
11526 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11527 (byte-compile-macroexpand-declare-function): New function.
11528 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11529 byte-code-functions.
11530 (byte-compile-form): Check obsolescence here.
11531 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11532 (byte-compile-variable-ref): Remove.
11533 (byte-compile-dynamic-variable-op): New fun.
11534 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11535 (byte-compile-variable-set): New funs.
11536 (byte-compile-discard): Add 2 args.
11537 (byte-compile-stack-ref, byte-compile-stack-set)
11538 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11539 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11540 macroexpand-all instead.
11541 (byte-compile-quote-form): Remove.
11542 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11543 (byte-compile-bind, byte-compile-unbind): New funs.
11544 (byte-compile-let): Handle let* and lexical binding.
11545 (byte-compile-let*): Remove.
11546 (byte-compile-catch, byte-compile-unwind-protect)
11547 (byte-compile-track-mouse, byte-compile-condition-case):
11548 Handle a new :fun-body form, used for lexical scoping.
11549 (byte-compile-save-window-excursion)
11550 (byte-compile-with-output-to-temp-buffer): Remove.
11551 (byte-compile-defun): Simplify.
11552 (byte-compile-stack-adjustment): New fun.
11553 (byte-compile-out): Use it.
11554 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11555
11556 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11557 handler any more.
11558
11559 * emacs-lisp/byte-opt.el: Use lexical binding.
11560 (byte-inline-lapcode): Remove (to bytecomp).
11561 (byte-compile-inline-expand): Pay attention to inlining to/from
11562 lexically bound code.
11563 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11564 any more.
11565 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11566 any more and don't call compiler-macros.
11567 (byte-compile-splice-in-already-compiled-code): Remove.
11568 (byte-code): Don't inline any more.
11569 (disassemble-offset): Receive `bytes' as argument rather than via
11570 dynamic scoping.
11571 (byte-compile-tag-number): Declare before first use.
11572 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11573 `return' even if make-spliceable.
11574 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11575 obsolete interactive-p.
11576 (byte-optimize-lapcode): Optimize new lap-codes.
11577 Don't trip up on new form of `byte-constant' lap code.
11578
11579 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11580
11581 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11582
11583 * custom.el (custom-initialize-default, custom-declare-variable):
11584 Use `defvar'.
11585
11586 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11587 New variables.
11588 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11589 (COMPILE_FIRST): Add macroexp and cconv.
11590 * makefile.w32-in: Mirror changes in Makefile.in.
11591
11592 * vc/cvs-status.el:
11593 * vc/diff-mode.el:
11594 * vc/log-edit.el:
11595 * vc/log-view.el:
11596 * vc/smerge-mode.el:
11597 * textmodes/bibtex-style.el:
11598 * textmodes/css.el:
11599 * startup.el:
11600 * uniquify.el:
da91b5f2
CY
11601 * minibuffer.el:
11602 * newcomment.el:
11603 * reveal.el:
11604 * server.el:
11605 * mpc.el:
11606 * emacs-lisp/smie.el:
11607 * doc-view.el:
11608 * dired.el:
03408648
SM
11609 * abbrev.el: Use lexical binding.
11610
0f0c1f27
EZ
116112011-04-01 Eli Zaretskii <eliz@gnu.org>
11612
11613 * info.el (info-display-manual): New function.
11614
c82b2579
SM
116152011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11616
11617 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11618
221ddf68
TH
116192011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11620
11621 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 11622 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 11623
cba6e77e
GM
116242011-03-31 Glenn Morris <rgm@gnu.org>
11625
e040639f
GM
11626 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11627
cba6e77e
GM
11628 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11629
6d0f1c9e
CS
116302011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11631
11632 * progmodes/python.el (python-default-interpreter)
11633 (python-python-command-args, python-jython-command-args)
11634 (python-which-shell, python-which-args, python-which-bufname)
11635 (python-file-queue, python-comint-output-filter-function)
11636 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11637 variables and functions.
11638
3e2d70fd
SM
116392011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11640
11641 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11642 (completion-in-region-mode): New minor mode.
11643 (completion-in-region): Use it.
11644 (completion-in-region--data, completion-in-region-mode-map): New vars.
11645 (completion-in-region--postch): New function.
11646 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11647 New vars.
11648 (completion--capf-wrapper): New function.
11649 (completion-at-point): Use it to track well-behavedness of
11650 hook functions.
11651 (completion-help-at-point): New command.
11652
f3e4086c
JM
116532011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11654
11655 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11656 syntax class to search for whitespace on a single line
11657 (Message-ID: <4D938140.4030905@redhat.com>).
11658
eb7ffc14
LL
116592011-03-30 Leo Liu <sdl.web@gmail.com>
11660
11661 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11662 New commands.
11663 (edit-abbrevs-map): Bind them here.
11664 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11665
d806ab68
KM
116662011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11667
11668 * allout.el (allout-hide-by-annotation, allout-flag-region):
11669 Reduce possibility of overlay leakage by making them volatile.
11670
11671 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11672 hash is not shared between buffers. Mode initialization is
11673 responsible for giving it a useful starting value.
11674 (allout-item-span): Reduce possibility of overlay leakage by
11675 making them volatile.
11676 (allout-widgets-count-buttons-in-region): Add diagnostic function
11677 for tracking down button overlay leaks.
11678
ea622834
LL
116792011-03-29 Leo Liu <sdl.web@gmail.com>
11680
11681 * ido.el (ido-read-internal): Use the default history var
11682 minibuffer-history if no HISTORY is specified.
11683
b62f8267
G
116842011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11685
03408648
SM
11686 * net/imap.el (imap-shell-open, imap-process-connection-type):
11687 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
11688 Kerberos, SSL, other subprocesses.
11689
947b6566
LL
116902011-03-28 Leo Liu <sdl.web@gmail.com>
11691
11692 * abbrev.el (abbrev-table-empty-p): New function.
11693 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11694 nonempty ones. (Bug#5937)
11695
5ffb62aa
JD
116962011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11697
11698 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11699
7a097943
LL
117002011-03-27 Leo Liu <sdl.web@gmail.com>
11701
11702 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11703 for foreground and background colors.
11704 (ansi-color-make-color-map): Adapt.
11705
c5b40130
LL
117062011-03-25 Leo Liu <sdl.web@gmail.com>
11707
1f48f7d2
LL
11708 * midnight.el (midnight-time-float): Remove. Note it calculates
11709 the microsecond component incorrectly and seconds-to-time does the
11710 same job.
625897ec 11711 Remove redundant (require 'timer).
1f48f7d2 11712
c5b40130
LL
11713 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11714 (ido-completions): Remove unused arguments. (Bug#8329)
11715
d86d2721
SM
117162011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11717
11718 * minibuffer.el (completion--flush-all-sorted-completions):
11719 Remove itself from hook.
11720 (completion-at-point): Let the functions perform the completion
11721 immediately and return nil or t.
11722 * comint.el (comint-dynamic-complete-functions): Now identical to
11723 completion-at-point-functions.
11724 (comint-dynamic-list-input-ring): Remove unused var `index'.
11725 (comint--match-partial-filename, comint--unquote&expand-filename):
11726 New funs, split from comint-match-partial-filename.
11727 (comint-dynamic-complete): Use completion-at-point.
11728 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11729
e8974c48
DA
117302011-03-24 Drew Adams <drew.adams@oracle.com>
11731
11732 * thingatpt.el: Support `defun'.
11733
def71b5e
LL
117342011-03-23 Leo Liu <sdl.web@gmail.com>
11735
cb5af48e
LL
11736 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11737
def71b5e
LL
11738 * help-mode.el (help-mode-finish): Tweak regexp.
11739
927c53e7
GM
117402011-03-23 Glenn Morris <rgm@gnu.org>
11741
18d05bed
GM
11742 * eshell/esh-opt.el (eshell-eval-using-options):
11743 Do not bind unused local variable `eshell-option-stub'.
11744
927c53e7
GM
11745 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11746
9d0da923
JB
117472011-03-22 Juanma Barranquero <lekktu@gmail.com>
11748
11749 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11750 keymap variable in `with-no-warnings' to avoid a warning when the
11751 keymap has been already `defconst'ed.
11752
4b978a67
LL
117532011-03-22 Leo Liu <sdl.web@gmail.com>
11754
11755 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11756 encode all chars in abbrevs; otherwise use emacs-mule or
11757 utf-8-emacs. (Bug#8308)
11758
5fd62452
JB
117592011-03-22 Juanma Barranquero <lekktu@gmail.com>
11760
0b1596c6
JB
11761 * simple.el (backward-delete-char-untabify):
11762 Avoid warning about using `delete-backward-char'.
11763
5fd62452
JB
11764 * image.el (image-type-file-name-regexps): Make it variable.
11765 `imagemagick-register-types' modifies it, and the user may want
11766 to add new extensions for known image types.
11767 (imagemagick-register-types): Throw error if not using ImageMagick.
11768
0b4e93f1
LL
117692011-03-22 Leo Liu <sdl.web@gmail.com>
11770
11771 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11772 located before rcirc-prompt-end-marker.
11773 (rcirc-complete): Error if point is not after rcirc prompt.
11774 Handle the case when table is nil.
9882e214 11775 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 11776
fccee4ab
CY
117772011-03-22 Chong Yidong <cyd@stupidchicken.com>
11778
11779 * custom.el (custom--inhibit-theme-enable): Make it affect only
11780 custom-theme-set-variables and custom-theme-set-faces.
11781 (provide-theme): Ignore custom--inhibit-theme-enable.
11782 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11783 (custom-enabling-themes): Delete variable.
d86d2721
SM
11784 (enable-theme): Accept only loaded themes as arguments.
11785 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
11786 (custom-enabled-themes): Forbid themes from setting this.
11787 Eliminate use of custom-enabling-themes.
11788 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 11789
af896da6
LL
117902011-03-21 Leo Liu <sdl.web@gmail.com>
11791
11792 * ido.el (ido-read-internal): Add ido-selected to history instead
11793 of user input.
11794
78f64af0
SM
117952011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11796
11797 * subr.el (deferred-action-list, deferred-action-function):
11798 Mark obsolete.
11799
b16ac1ec
LL
118002011-03-21 Leo Liu <sdl.web@gmail.com>
11801
810f7698
LL
11802 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11803 change on 2011-02-13 (bug#8309).
11804
b16ac1ec
LL
11805 * minibuffer.el (read-file-name-function): Change default value.
11806 (read-file-name--defaults): Rename from read-file-name-defaults.
11807 (read-file-name-default): Rename from read-file-name.
11808 (read-file-name): Call read-file-name-function.
11809
4e05e67e
GM
118102011-03-21 Glenn Morris <rgm@gnu.org>
11811
11812 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11813 Doc fixes.
11814
4359915b
CY
118152011-03-21 Chong Yidong <cyd@stupidchicken.com>
11816
11817 * cus-theme.el: Add missing provide statement.
11818 (customize-create-theme): Extract theme value correctly.
11819 (custom-theme-visit-theme): Autoload.
11820 (customize-create-theme): Prompt before inserting default faces.
11821
1fe275ee
JB
118222011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11823
11824 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11825 units and musical notes.
11826
cd394be1 118272011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
11828
11829 * ido.el (ido-read-internal): Use completing-read-default.
11830 (ido-completing-read): Fix compatibility with completing-read.
11831
7d476bde
CO
118322011-03-20 Christian Ohler <ohler@gnu.org>
11833
11834 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11835 (ert-delete-all-tests): Use `called-interactively-p' rather than
11836 `interactive-p'.
11837 (ert--make-xrefs-region): Respect END.
11838
fe0fb33e
CY
118392011-03-19 Chong Yidong <cyd@stupidchicken.com>
11840
ff854b0b
CY
11841 * dired-aux.el (dired-create-directory): Signal an error if the
11842 directory already exists (Bug#8246).
11843
fe0fb33e
CY
11844 * facemenu.el (list-colors-display): Call list-faces-display
11845 inside with-help-window.
11846 (list-colors-print): Use display property to align the final
11847 column, instead of checking window-width.
11848
576bce32
EZ
118492011-03-19 Eli Zaretskii <eliz@gnu.org>
11850
4d61f28d 11851 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
11852 windows-nt systems.
11853 (emerge-protect-metachars): Quote correctly for ms-dos and
11854 windows-nt systems.
11855
89c41d68 118562011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
11857
11858 * info.el (info-initialize): Replace all uses of `:' with
11859 path-separator for compatibility with non-Unix systems.
11860 Cache quoting of path-separator. (Bug#8258)
11861
b14e3e21 118622011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
11863
11864 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11865 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11866 (mouse-avoidance-mode): Fix typos in docstrings.
11867
4525ce3e
CY
118682011-03-19 Chong Yidong <cyd@stupidchicken.com>
11869
11870 * startup.el (package-subdirectory-regexp): Move from package.el.
11871 Omit \\` and \\', and let callers add them.
11872
11873 * emacs-lisp/package.el (package-strip-version)
11874 (package-load-all-descriptors): Add \\` and \\' to
11875 package-subdirectory-regexp before using it.
11876 (package-untar-buffer): New arg DIR; ensure that file untars only
11877 into this expected directory. Remove superfluous delete-region.
11878 (package-unpack): Caller changed.
11879 (package-tar-file-info): Use package-subdirectory-regexp.
11880
a904a09a 118812011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 11882
a904a09a
SM
11883 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11884 diff-mode-shared-map (bug#8284).
11885 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
11886
118872011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11888
11889 * calendar/time-date.el (format-seconds): Use assoc instead of
11890 assoc-string, since assoc-string doesn't exist in XEmacs.
11891
171fc304
JB
118922011-03-17 Juanma Barranquero <lekktu@gmail.com>
11893
11894 * custom.el (custom-known-themes): Reflow docstring.
11895 (custom-theme-load-path): Fix typo in docstring.
11896 (load-theme): Fix typo in error message.
11897 (custom-available-themes, custom-variable-theme-value):
11898 Use `let', not `let*'.
11899
d71990a1
JB
119002011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11901
11902 * calc/README: Mention inclusion of musical notes.
11903
11904 * calc/calc-units.el (calc-lu-quant): Rename from
11905 `calc-logunits-quantity'.
11906 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11907 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11908 (calc-db): Rename from `calc-dblevel'.
11909 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11910 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11911 (calc-np): Rename from `calc-nplevel'.
11912 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11913 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11914 (calc-lu-plus): Rename from `calc-logunits-add'.
11915 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11916 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11917 (calc-lu-minus): Rename from `calc-logunits-sub'.
11918 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11919 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11920 (calc-lu-times): Rename from `calc-logunits-mul'.
11921 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11922 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11923 (calc-lu-divide): Rename from `calc-logunits-div'.
11924 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11925 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11926
11927 * calc/calc-ext.el (calc-init-extensions): Update the names of the
11928 functions being autoloaded.
11929
11930 * calc/calc.el (calc-lu-power-reference): Rename from
11931 `calc-logunits-power-reference'.
11932 (calc-lu-field-reference): Rename from
11933 `calc-logunits-field-reference'.
11934
7a71b18d
GM
11935 * calc/calc-help.el (calc-l-prefix-help):
11936 Mention musical note functions.
d71990a1 11937
40c2934b
SM
119382011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11939
11940 * minibuffer.el (completion-all-sorted-completions):
11941 Use :completion-cycle-penalty text property if present.
11942
b0911414
KM
119432011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
11944
11945 * allout.el (allout-yank-processing): Adjust for new rebulleting
11946 regime so bullet being yanked is used without prompting the user
11947 for a choice.
11948
8a05b668
JB
119492011-03-16 Juanma Barranquero <lekktu@gmail.com>
11950
11951 * startup.el (command-line): Warn the user that _emacs is deprecated.
11952
5ba5fb81
JB
119532011-03-16 Juanma Barranquero <lekktu@gmail.com>
11954
11955 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11956 (delphi-verbose, delphi-comment-face, delphi-string-face)
11957 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11958 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11959 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11960 (delphi-new-comment-line, delphi-font-lock-defaults)
11961 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11962 Fix typos in docstrings.
11963
2dab465b
KM
119642011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
11965
5ba5fb81 11966 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
11967 Invert the roles of character and string values for INSTEAD, so a
11968 string is used for the more common case of a defaulting prompt.
11969
0adf5618
SM
119702011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11971
11972 * progmodes/ruby-mode.el (ruby-backward-sexp):
11973 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11974 * play/gamegrid.el (gamegrid-make-face):
11975 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11976 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11977 * notifications.el (notifications-notify):
11978 * net/xesam.el (xesam-search-engines):
11979 * net/quickurl.el (quickurl-list-insert):
11980 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11981
d72700e5
CY
119822011-03-15 Chong Yidong <cyd@stupidchicken.com>
11983
11984 * startup.el (command-line): Update package subdirectory regexp.
11985
49c5410a
SM
119862011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11987
c6eee9aa
SM
11988 * allout.el (allout-abbreviate-flattened-numbering)
11989 (allout-mode-deactivate-hook): Fix up obsolescence "date".
11990
49c5410a
SM
11991 * subr.el (read-char-choice): Only show the cursor after the prompt,
11992 not after the answer.
11993
047b2bb9
KR
119942011-03-15 Kevin Ryde <user42@zip.com.au>
11995
11996 * help-fns.el (variable-at-point): Skip leading quotes, if any
11997 (bug#8253).
11998
0a57d256
SM
119992011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12000
12001 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12002 warning message.
12003
77c992bc
MA
120042011-03-14 Michael Albinus <michael.albinus@gmx.de>
12005
12006 * shell.el (shell): When called interactively, offer to change the
12007 shell file name on remote hosts.
12008
eebc475d
TZ
120092011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12010
12011 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12012 integration for LDAP parameters. The host, base, user or binddn,
12013 and secret tokens can be specified in a netrc file, for instance.
12014 This is optional because an `auth-source' parameter must be
12015 specified in the search attributes.
12016
9d05d1ba
JB
120172011-03-13 Juanma Barranquero <lekktu@gmail.com>
12018
12019 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12020
09d9db2c
GM
120212011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12022
12023 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12024 into declaration. Remove redundant and harmful binding.
12025
120262011-03-12 Eli Zaretskii <eliz@gnu.org>
12027
12028 * files.el (file-ownership-preserved-p): Pass `integer' as an
12029 explicit 2nd argument to `file-attributes'. If the file's owner
12030 is the Administrators group on Windows, and the current user is
12031 Administrator, consider that a match.
12032
12033 * server.el (server-ensure-safe-dir): Consider server directory
12034 safe on MS-Windows if its owner is the Administrators group while
12035 the current Emacs user is Administrator. Use `=' to compare
12036 numerical UIDs, since they could be integers or floats.
12037
219bd536
JB
120382011-03-12 Juanma Barranquero <lekktu@gmail.com>
12039
12040 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12041
f3afd36b
MA
120422011-03-12 Michael Albinus <michael.albinus@gmx.de>
12043
12044 Sync with Tramp 2.2.1.
12045
12046 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12047
12048 * net/trampver.el: Update release number.
12049
3aaaa6f1
SM
120502011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12051
94642599
SM
12052 * progmodes/compile.el (compilation--previous-directory): Fix up
12053 various nil/dead-marker mismatches (bug#8014).
12054 (compilation-directory-properties, compilation-error-properties):
12055 Don't call it at a position past the one we're about to change.
12056
3aaaa6f1
SM
12057 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12058 Disable obsolescence warnings in the file that declares it.
12059
14239447
KM
120602011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12061
099c39a4
JB
12062 * allout-widgets.el (allout-widgets-tally):
12063 Initialize allout-widgets-tally as a hash table rather than nil to
12064 prevent mode-line redisplay warnings. Also, clarify the module
12065 description and fix a comment typo.
14239447 12066
135e287c
JB
120672011-03-11 Juanma Barranquero <lekktu@gmail.com>
12068
12069 * help-fns.el (describe-variable): Don't complete keywords.
12070 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12071
ffbf300e
CY
120722011-03-10 Chong Yidong <cyd@stupidchicken.com>
12073
ba08b241
CY
12074 * emacs-lisp/package.el (package-version-join): Impose a standard
12075 string representation for pre/alpha/beta version lists.
12076 (package-unpack-single): Standardize the directory name by passing
12077 it through package-version-join.
12078 (package-strip-rcs-id): Accept any version string that does not
12079 signal an error in version-to-list.
ffbf300e 12080
f346fd6b
MA
120812011-03-10 Michael Albinus <michael.albinus@gmx.de>
12082
12083 * simple.el (delete-trailing-whitespace): Return nil for the
12084 benefit of `write-file-functions'.
12085
ccb55d27
GM
120862011-03-10 Glenn Morris <rgm@gnu.org>
12087
5ceaac0c
GM
12088 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12089
02da65ff
GM
12090 * vc/vc-git.el (vc-git-program): New option.
12091 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12092 (vc-git--call): Use it.
12093
b2f603cc
GM
12094 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12095
5772caab
GM
12096 * cus-edit.el (Custom-newline): If no button at point, look
12097 for a subgroup button at start-of-line. (Bug#2298)
12098
ccb55d27
GM
12099 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12100
ec6ecaed
JD
121012011-03-10 Julien Danjou <julien@danjou.info>
12102
12103 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12104 `cursor-type' is nil.
12105
9d5aa01d
JB
121062011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
12107
12108 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12109
b6a5875b
KM
121102011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
12111
7a71b18d 12112 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
12113 preserves the existing header prefix, rebulleting it if necessary,
12114 rather than replacing it. This is necessary for proper operation
12115 of cooperative addons like allout-widgets.
1154d12e
JB
12116 (allout-make-topic-prefix, allout-rebullet-heading):
12117 Change SOLICIT arg to INSTEAD, and interpret additionally a string
12118 value as alternate bullet to be used, instead of prompting the user
12119 for a bullet character.
b6a5875b 12120
ee545c35
MA
121212011-03-09 Michael Albinus <michael.albinus@gmx.de>
12122
d86d2721
SM
12123 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12124 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
12125 `tramp-default-port'.
12126
c47971d7
DD
121272011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12128
12129 * net/rcirc.el (rcirc-handler-001): Remove useless
12130 with-rcirc-process-buffer.
12131 (rcirc-check-auth-status): Swap arguments to string-match.
12132
13522cb4
GM
121332011-03-09 Glenn Morris <rgm@gnu.org>
12134
0be6f4f1
GM
12135 * shell.el (shell-mode):
12136 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
12137
13522cb4
GM
12138 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12139 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
12140
515de2e3
CY
121412011-03-08 Chong Yidong <cyd@stupidchicken.com>
12142
12143 * emacs-lisp/package.el (package-refresh-contents)
12144 (package-menu-execute): Use condition-case-no-debug.
12145
b511b994
MA
121462011-03-08 Michael Albinus <michael.albinus@gmx.de>
12147
12148 * simple.el (shell-command-to-string): Use `process-file'.
12149
12150 * emacs-lisp/package.el (package-tar-file-info): Handle also
12151 remote files.
12152
d86d2721
SM
12153 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12154 Use `equal' for upload base check.
b511b994 12155
25bbfb31
AM
121562011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12157
12158 * textmodes/texinfo.el (texinfo-environments):
12159 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
12160
be996521
GM
121612011-03-08 Glenn Morris <rgm@gnu.org>
12162
e9c8529f
GM
12163 * cus-start.el (cursor-in-non-selected-windows):
12164 Fix :set quoting oddness. (Bug#8192)
12165
be996521
GM
12166 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12167 in some setf expressions. (Bug#2159)
12168
2bb5649e
CY
121692011-03-08 Chong Yidong <cyd@stupidchicken.com>
12170
12171 * custom.el (custom-available-themes): Return themes in
12172 alphabetical order.
12173
33383987 12174See ChangeLog.15 for earlier changes.
e3d51b27
MR
12175
12176;; Local Variables:
12177;; coding: utf-8
e3d51b27
MR
12178;; End:
12179
acaf905b 12180 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
12181
12182 This file is part of GNU Emacs.
12183
12184 GNU Emacs is free software: you can redistribute it and/or modify
12185 it under the terms of the GNU General Public License as published by
12186 the Free Software Foundation, either version 3 of the License, or
12187 (at your option) any later version.
12188
12189 GNU Emacs is distributed in the hope that it will be useful,
12190 but WITHOUT ANY WARRANTY; without even the implied warranty of
12191 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12192 GNU General Public License for more details.
12193
12194 You should have received a copy of the GNU General Public License
12195 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.