* doc/emacs/fixit.texi (Undo): Fix typo. (tiny change)
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
c101ef0a
LL
12012-06-24 Leo Liu <sdl.web@gmail.com>
2
a08bd6bf
LL
3 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4 read-only error.
5
d939b632
LL
6 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
7
c101ef0a
LL
8 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
9
e994155e
LL
102012-06-23 Leo Liu <sdl.web@gmail.com>
11
12 * textmodes/enriched.el (enriched-next-annotation):
13 Use eq (Bug#11528).
14
ec55c5e0
SM
152012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16
17 * minibuffer.el (minibuffer-confirm-exit-commands):
18 Add completion-at-point (bug#11725).
19
9e29ca4f
GM
202012-06-21 Glenn Morris <rgm@gnu.org>
21
22 * progmodes/f90.el (f90-font-lock-keywords-2):
23 Add some preprocessor elements. (Bug#10499)
24
bde2ab6f
SM
252012-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
26
27 * progmodes/cperl-mode.el (cperl-update-syntaxification):
28 Use syntax-propertize (bug#11739).
29
9c758578
GM
302012-06-13 Glenn Morris <rgm@gnu.org>
31
32 * international/mule-cmds.el (mule-menu-keymap)
33 (set-language-environment, set-locale-environment): Doc tweaks.
34
94f0aa34
CY
352012-06-01 Chong Yidong <cyd@gnu.org>
36
37 * Version 24.1 released.
38
9e1b8ec4
GM
392012-06-01 Glenn Morris <rgm@gnu.org>
40
41 * mail/rmail.el (rmail-yank-current-message):
42 Leave point at correct position. (Bug#11660)
43
00cd0305
CY
442012-06-01 Chong Yidong <cyd@gnu.org>
45
46 * allout-widgets.el: Fix code header
47
94f0aa34
CY
482012-06-01 Chong Yidong <cyd@gnu.org>
49
bde2ab6f
SM
50 * cus-edit.el (customize-changed-options-previous-release):
51 Bump to 23.4.
94f0aa34 52
dd41169b
SM
532012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
54
bde2ab6f
SM
55 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
56 Handle arbitrary file name lengths (Bug#11585).
dd41169b 57
5221ccb9
MR
582012-05-28 Martin Rudalics <rudalics@gmx.at>
59
60 * desktop.el (desktop-read): Clear previous and next buffers for
61 all windows and bury *Messages* buffer (bug#11556).
62
b30b64b9
EZ
632012-05-18 Eli Zaretskii <eliz@gnu.org>
64
ec55c5e0
SM
65 * mail/sendmail.el (mail-yank-region):
66 Recognize rmail-yank-current-message in addition to insert-buffer.
bde2ab6f 67 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
68 a *mail* buffer created through rmail-start-mail with sendmail as
69 mail-user-agent.
70
6d4a05e3
SM
712012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
72
73 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
74 parens around the arg list (bug#11499). Silly backport.
75
4f32cc6c
CY
762012-05-16 Chong Yidong <cyd@gnu.org>
77
78 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
79
fcf2993f
CY
802012-05-15 Chong Yidong <cyd@gnu.org>
81
27d1f87a
CY
82 * help.el (describe-mode): Doc fix.
83
fcf2993f
CY
84 * net/gnutls.el (gnutls-min-prime-bits): Default to 256 (Bug#11267).
85
6cb820ba
CY
862012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
87
88 * progmodes/compile.el (compilation-internal-error-properties):
89 Calculate start position correctly when end-col is set but
90 end-line is not (Bug#11382).
91
d9d1dfef
SM
922012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
93
94 * net/rlogin.el (rlogin-mode-map): Fix last change.
95
8633b1f4
JW
962012-05-09 Jason L. Wright <jason.wright@inl.gov> (tiny change)
97
98 * mail/smtpmail.el (smtpmail-send-command): Send the command and
99 the following \r\n using a single `process-send-string', since the
100 Lotus SMTP server refuses to accept any commands if they are sent
101 with two `process-send-string's (bug#11444).
102
fe263b8f
SM
1032012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
104
105 * shell.el (shell-parse-pcomplete-arguments): Obey
106 pcomplete-arg-quote-list inside double-quoted args as well (bug#11348).
107
1cb51c12
SM
1082012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
109
110 * shell.el (shell-completion-vars): Fix last change (bug#11348).
111
18f00515
CY
1122012-05-07 Chong Yidong <cyd@gnu.org>
113
114 * ansi-color.el (ansi-color-process-output): Check for validity of
115 comint-last-output-start before using it. This avoids a bad
116 interaction with gdb-mi's input/output buffer.
117
fd075e7b
GM
1182012-05-06 Glenn Morris <rgm@gnu.org>
119
120 * files.el (dir-locals-read-from-file):
121 Mention dir-locals in any error message.
122
25f292cd
CY
1232012-05-06 Chong Yidong <cyd@gnu.org>
124
125 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
126 package (Bug#11410).
127
f677562b
CY
1282012-05-05 Chong Yidong <cyd@gnu.org>
129
130 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
131 variables into description.
132
3d53ee1b
SM
1332012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
134
135 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
136 shell-delimiter-argument-list (bug#11348).
137 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
138
f16e5386
CY
1392012-05-04 Chong Yidong <cyd@gnu.org>
140
141 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
142 Nextstep.
143
e59fb960
KH
1442012-05-03 Kenichi Handa <handa@m17n.org>
145
146 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
147 decoding, and show a warning message without signalling an error
148 (Bug#11282).
149
91af76bf
EZ
1502012-04-30 Eli Zaretskii <eliz@gnu.org>
151
152 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
153 the yanked message in preference to the default value of
154 buffer-file-coding-system.
155
d9558cad
MR
1562012-04-30 Martin Rudalics <rudalics@gmx.at>
157
fe263b8f
SM
158 * window.el (display-buffer--action-function-custom-type):
159 Fix entry.
d9558cad 160
09affde0
AM
1612012-04-27 Alan Mackenzie <acm@muc.de>
162
163 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
164
c5bb7569
CY
1652012-04-27 Chong Yidong <cyd@gnu.org>
166
167 * subr.el (read-key): Avoid running filter function when setting
168 up temporary tool bar entries (Bug#9922).
169
c4347ab9
AS
1702012-04-26 Andreas Schwab <schwab@linux-m68k.org>
171
172 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
173 (Bug#11344)
174
acb71f1d
CY
1752012-04-24 Chong Yidong <cyd@gnu.org>
176
177 * select.el (xselect--encode-string): New function, split from
178 xselect-convert-to-string.
179 (xselect-convert-to-string): Use it.
180 (xselect-convert-to-filename, xselect-convert-to-os)
181 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
182 returned strings are properly encoded (Bug#11315).
183
d55486c7
CY
1842012-04-22 Chong Yidong <cyd@gnu.org>
185
186 * simple.el (delete-active-region): Move to killing custom group.
187
581b6788
AS
1882012-04-21 Andreas Schwab <schwab@linux-m68k.org>
189
190 * progmodes/which-func.el (which-func-current): Quote %
191 characters for mode-line processing.
192
18edb22d
CY
1932012-04-21 Chong Yidong <cyd@gnu.org>
194
195 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
196 reaching eob (Bug#11286).
197
4b932ea2
PE
1982012-04-20 Richard Stallman <rms@gnu.org>
199
200 Fix logic for returning to and yanking from Rmail buffer.
201
202 * mail/rmail.el (rmail-start-mail):
203 Pass (rmail-mail-return...) for the return-action.
204 Pass (rmail-yank-current-message...) for the yank-action.
205 (rmail-yank-current-message): New function.
206 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
207 (rmail-reply): Likewise.
208 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
209
210 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
211 buffer, not the last. Reject temp buffers. Use the rmail-mode
212 buffer, not newbuf.
213
9ee9f470
EZ
2142012-04-20 Eli Zaretskii <eliz@gnu.org>
215
216 * progmodes/gdb-mi.el (gdb-control-level): New variable.
217 (gdb): Make it buffer-local and init to zero.
218 (gdb-control-commands-regexp): New variable.
219 (gdb-send): Don't wrap in "-interpreter-exec console" if
220 gdb-control-level is positive. Increment gdb-control-level
221 whenever the command matches gdb-control-commands-regexp, and
222 decrement it each time the command is "end". (Bug#11279)
223
41cfe0cb
MR
2242012-04-20 Martin Rudalics <rudalics@gmx.at>
225
226 * window.el (adjust-window-trailing-edge, enlarge-window)
227 (shrink-window, window-resize):
228 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
229 windows (Bug#11276).
230
54071013
DN
2312012-04-20 Dan Nicolaescu <dann@gnu.org>
232
233 * battery.el (battery-echo-area-format): Display remaining time
234 for sysfs backend too (Bug#11269).
235 (battery-linux-sysfs): Fix conditional for the charge.
236
f30d612a
CY
2372012-04-20 Chong Yidong <cyd@gnu.org>
238
239 * progmodes/gdb-mi.el (gdb): Revert 2012-04-19 change.
240 (gdb-inferior-io--init-proc): New function.
241 (gdb-init-1): Use it.
242 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
243 responsible for allocating a new pty and hooking it to gdb when
244 the old pty gets an EIO due to process exit.
245 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
246 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
247 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
248
2116e93c
EZ
2492012-04-20 Eli Zaretskii <eliz@gnu.org>
250
251 * window.el (window-min-size, window-sizable, window-min-delta)
252 (window-max-delta, window--resizable, window-resizable)
253 (window-total-size, window-full-height-p, window-full-width-p)
254 (window-in-direction, window--resize-mini-window, window-resize)
255 (window--resize-child-windows-normal)
256 (window--resize-child-windows, window--resize-siblings)
257 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 258 (enlarge-window, shrink-window): Doc fixes.
2116e93c 259
b668fa6e
CY
2602012-04-19 Chong Yidong <cyd@gnu.org>
261
fe263b8f
SM
262 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
263 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
264 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
265 pty process (Bug#11273).
266 (gdb-update): New arg to suppress talking to the gdb process.
267 (gdb-done-or-error): Use it.
268 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
269 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
270 sentinel not being called.
271
272 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
273
d02766ab
CY
2742012-04-18 Chong Yidong <cyd@gnu.org>
275
276 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
277
016a35df
GM
2782012-04-18 Glenn Morris <rgm@gnu.org>
279
280 * net/network-stream.el (open-network-stream): Doc fix.
281
2c070447
CY
2822012-04-17 Chong Yidong <cyd@gnu.org>
283
284 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
285
f0f6bc35
AM
2862012-04-16 Alan Mackenzie <acm@muc.de>
287
288 Ensure searching for keywords is case sensitive.
289
290 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
291 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
292 (c-defun-name, c-mark-function, c-cpp-define-name)
293 (c-comment-indent, c-scan-conditionals, c-indent-defun)
294 (c-context-line-break): bind case-fold-search to nil.
295
fe263b8f
SM
296 * progmodes/cc-mode.el (c-font-lock-fontify-region):
297 bind case-fold-search to nil.
f0f6bc35 298
4fc2c72a
CY
2992012-04-16 Chong Yidong <cyd@gnu.org>
300
301 * mail/sendmail.el (mail-bury): Call return action with the right
302 Rmail buffer (Bug#11242).
303
9a864fa2
CY
3042012-04-15 Chong Yidong <cyd@gnu.org>
305
306 * server.el (server-process-filter): Handle corner case where both
307 tty and nowait options are present (Bug#11102).
308
e153c136
GM
3092012-04-15 Glenn Morris <rgm@gnu.org>
310
311 * simple.el (process-file-side-effects): Doc fix.
312
ca7d96c8
GM
3132012-04-14 Glenn Morris <rgm@gnu.org>
314
315 * international/mule-cmds.el (set-language-environment): Doc fix.
316
9c2d6a4a
SM
3172012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
318
319 Avoid the use of ((lambda ...) ...) in lexical-binding code.
320 * emacs-lisp/easy-mmode.el (define-minor-mode):Use funcall (bug#11241).
321
9557e2be
CY
3222012-04-13 Kim F. Storm <storm@cua.dk>
323
324 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
325 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
326
81927dd2
CY
3272012-04-12 Chong Yidong <cyd@gnu.org>
328
329 * custom.el (custom-theme-set-variables): Doc fix.
330
8edb942b
GM
3312012-04-12 Glenn Morris <rgm@gnu.org>
332
333 * international/mule.el (set-auto-coding-for-load): Doc fix.
334
4517fe3a
SM
3352012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
336
337 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
338 Reported by Noah Friedman. Backport from trunk.
339
0de3da9f
AM
3402012-04-11 Alan Mackenzie <acm@muc.de>
341
4517fe3a
SM
342 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression):
343 Make imenu work again for Objective C Mode. Correct the *-index
344 values, these having been disturbed by a previous change in 2011-08.
57f845ee 345
0de3da9f
AM
346 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
347 Correct two search limits.
348
ede141ac
SM
3492012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
350
351 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
352
d0203d61
AS
3532012-04-10 Andreas Schwab <schwab@linux-m68k.org>
354
355 * international/characters.el: Fix sorting.
356
cb80bcd1
EZ
3572012-04-10 Eli Zaretskii <eliz@gnu.org>
358
359 * international/characters.el: Add more missing Latin case pairs.
360
0d93216c
AS
3612012-04-10 Andreas Schwab <schwab@linux-m68k.org>
362
363 * international/characters.el: Recover lost case pairs.
364
4a427f58
GM
3652012-04-10 Glenn Morris <rgm@gnu.org>
366
367 * files.el (dir-locals-set-class-variables): Doc fix.
368
9f847f41
EZ
3692012-04-09 Eli Zaretskii <eliz@gnu.org>
370
3f1b5bf8
EZ
371 * international/characters.el: Add set-case-syntax-pair call for
372 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
373 counterpart. (Bug#11209)
374
9f847f41
EZ
375 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
376
0c2014a3
GM
3772012-04-09 Glenn Morris <rgm@gnu.org>
378
379 * calendar/holidays.el (calendar-check-holidays): Doc fix.
380
e2627d21
EZ
3812012-04-08 Eli Zaretskii <eliz@gnu.org>
382
383 * textmodes/ispell.el (ispell-dictionary-base-alist): Add data for
384 Hebrew.
385
5c14e333
CY
3862012-04-08 Chong Yidong <cyd@gnu.org>
387
388 * net/rcirc.el (rcirc-cmd-quit): Revert 2012-03-18 change
389 (Bug#11192).
390
bf6fa423
GM
3912012-04-07 Glenn Morris <rgm@gnu.org>
392
393 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
394
82b24fb2
EZ
3952012-04-07 Eli Zaretskii <eliz@gnu.org>
396
4517fe3a
SM
397 * minibuffer.el (completion-in-region-mode-map):
398 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 399
f23d2c7d
LMI
4002012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
401
402 * window.el (shrink-window): Mention the `window-min-height'
403 variable in the doc string.
404
0a0a3573
BG
4052012-04-05 Bastien Guerry <bzg@altern.org>
406
407 * color.el (color-lighten-name): Fix typo.
408
e5248ac9
SM
4092012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
410
411 * server.el (server--on-display-p): New function.
412 (server--on-display-p): Use it.
413
b4243e22
GV
4142012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
415
416 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
417 (bug#11145).
418
305d9f44
SM
4192012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
420
421 * comint.el (comint--common-quoted-suffix): Check string boundary
422 before comparing (bug#11158).
423 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
424
3d439cd1
CY
4252012-04-04 Chong Yidong <cyd@gnu.org>
426
321cc491
CY
427 * minibuffer.el (completion-extra-properties): Doc fix.
428
3d439cd1
CY
429 * subr.el (delayed-warnings-hook): Doc fix.
430
2d562c0f
DU
4312012-04-04 Daiki Ueno <ueno@unixuser.org>
432
433 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
434 selection (Bug#11159).
435 (epa-insert-keys): Inform that the default public key will be
436 exported if no key is selected.
437
4443f204
RS
4382012-04-04 Richard Stallman <rms@gnu.org>
439
440 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
441
529c06b6
CY
4422012-04-03 Chong Yidong <cyd@gnu.org>
443
444 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
445 mail-insert-file, not its obsolete alias mail-attach-file.
446
66b907dc
MA
4472012-04-03 Michael Albinus <michael.albinus@gmx.de>
448
449 * notifications.el (notifications-notify): Fix docstring.
450
c0ea195d
GM
4512012-04-02 Glenn Morris <rgm@gnu.org>
452
453 * emacs-lisp/authors.el (authors-aliases): Another addition.
454
5ca64e00
MA
4552012-04-02 Michael Albinus <michael.albinus@gmx.de>
456
457 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
458 `tramp-compat-call-process' instead of `tramp-local-call-process'.
459 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
460
42ee526b
CY
4612012-04-01 Chong Yidong <cyd@gnu.org>
462
463 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
464 Handle root directory properly.
465 (copy-directory): Caller changed.
466
467 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
468 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
469
0b021094
GM
4702012-03-31 Glenn Morris <rgm@gnu.org>
471
40f86458
GM
472 * term/xterm.el (xterm-extra-capabilities): Doc fix.
473
7019c177
GM
474 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
475
a1daddd6
GM
476 * calendar/calendar.el (calendar-window-list)
477 (calendar-hide-window): Restore. (Bug#11140)
478 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
479
0b021094
GM
480 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
481
40311efc
TV
4822012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
483
484 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
485 Check if file is a symlink (Bug#10489).
486
487 * files.el (copy-directory): Likewise.
488
5319014e
CY
4892012-03-30 Chong Yidong <cyd@gnu.org>
490
491 * image.el (imagemagick-types-inhibit)
492 (imagemagick-register-types): Doc fix.
493
935d1290
AM
4942012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
495
496 * ispell.el (ispell-get-extended-character-mode): Disable
497 extended-char-mode for hunspell. hunspell does not support it and
498 treats ~word as ordinary words in pipe mode.
499
61c6e8fd
GM
5002012-03-30 Glenn Morris <rgm@gnu.org>
501
502 * tutorial.el (help-with-tutorial): Ensure local variables don't
503 happen to make the buffer read-only. (Bug#11127)
504
81fdff00
SM
5052012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
506
507 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
508 (perl-calculate-indent): Return `noindent' in strings.
509
6e7a6ec0
SS
5102012-03-28 Sam Steingold <sds@gnu.org>
511
512 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
513 instead of the broken adhockery which does not prevent calendar
514 buffers from being displayed at random after exit.
515 (calendar-window-list, calendar-hide-window): Remove the broken
516 adhockery.
517
fee88ca0
GM
5182012-03-28 Glenn Morris <rgm@gnu.org>
519
520 * replace.el (query-replace-map): Doc fix.
521
38de3354
AS
5222012-03-28 Andreas Schwab <schwab@linux-m68k.org>
523
524 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
525 contents. (Bug#11109)
526
b973155e
SM
5272012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
528
529 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
530 (bug#11077).
531 (avl-tree--check, avl-tree--check-node): New funs.
532
dcb6e7b3
MR
5332012-03-27 Martin Rudalics <rudalics@gmx.at>
534
535 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
536 (switch-to-prev-buffer, switch-to-next-buffer):
537 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
538 showing a buffer already is done on the same frame.
539
b4fa35fa
GM
5402012-03-27 Glenn Morris <rgm@gnu.org>
541
542 * startup.el (mail-host-address): Doc fix.
543
f9210e18
SM
5442012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
545
546 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
547 than 197 variables.
548
c0bf7753
AF
5492012-03-26 Ami Fischman <ami@fischman.org>
550
551 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
552
33da7b16
GM
5532012-03-26 Glenn Morris <rgm@gnu.org>
554
02243d9d
GM
555 * files.el (save-buffers-kill-emacs): Doc fix.
556
33da7b16
GM
557 * startup.el (normal-top-level, command-line, command-line-1):
558 Give them doc strings.
559
e5a69fd0
EZ
5602012-03-25 Eli Zaretskii <eliz@gnu.org>
561
562 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 563 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 564
9a69676a
CY
5652012-03-25 Chong Yidong <cyd@gnu.org>
566
4125cb8b
CY
567 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
568 theme if it was previously enabled before (Bug#11031).
569
dd470960
CY
570 * cus-theme.el (custom-theme-write-faces): Retrieve current face
571 spec with custom-face-get-current-spec if its :shown-value is not
572 determined yet (Bug#9337).
4125cb8b 573 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 574
9a69676a
CY
575 * button.el (button-at): Minor addition to docstring.
576
6e7e90fa
SL
5772012-03-24 Simon Leinen <simon.leinen@gmail.com>
578
579 * vc/vc.el (vc-merge): Fix a prompt.
580
f06e2758
CY
5812012-03-24 Chong Yidong <cyd@gnu.org>
582
583 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
584 point (Bug#9623).
585
6e7e90fa
SL
586 * button.el (button-at): Minor addition to docstring.
587
b9d0879b
SM
5882012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
589
590 * newcomment.el (comment-choose-indent): No space after BOL.
591
e71cebb3
SS
5922012-03-22 Sam Steingold <sds@gnu.org>
593
594 * window.el (switch-to-prev-buffer): Revert last patch because the
595 bug turned out to be an advertised feature (Elisp manual 28.14).
596
335aff35
GM
5972012-03-22 Glenn Morris <rgm@gnu.org>
598
599 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
600 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
601
c676576a
LMI
6022012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
603
604 * net/network-stream.el (network-stream-open-starttls): Make error
605 message under Windows be less misleading.
606
126f3d39
LW
6072012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
608
609 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
610 understands (bug#9942).
611
64fee311
CY
6122012-03-22 Chong Yidong <cyd@gnu.org>
613
614 * simple.el (end-of-visible-line): Handle return value of
615 next-single-property-change properly (Bug#9371).
616
a640d29a
KH
6172012-03-22 Kenichi Handa <handa@m17n.org>
618
619 * international/quail.el (quail-insert-kbd-layout): Fix previous
620 change. To avoid unwanted bidi reordering, use
621 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
622
39675016
DG
6232012-03-21 Dmitry Gutov <dgutov@yandex.ru>
624
625 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
626 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
627 (ruby-beginning-of-indent): Be more careful with the difference
628 between word-boundary and symbol boundary.
629 (ruby-mode-syntax-table): Make : a symbol constituent.
630
0a6934fc 6312012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 632
3d008e4f
SM
633 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
634
0a6934fc
SM
6352012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
636
af67c9d7
SM
637 * progmodes/etags.el (tags-completion-at-point-function):
638 Improve last fix.
639
1acad97c
SM
640 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
641
e298b5da
SS
6422012-03-21 Sam Steingold <sds@gnu.org>
643
644 * progmodes/etags.el (tags-completion-at-point-function):
645 Avoid the error when point is inside the pattern.
646
91d82a70
JY
6472012-03-21 John Yates <john@yates-sheets.org> (tiny change)
648
649 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
650 line (Bug#10855).
651
69188b79
CY
6522012-03-21 Drew Adams <drew.adams@oracle.com>
653
654 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
655
99fc91fe
AK
6562012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
657
658 * ido.el (ido-set-current-directory, ido-read-internal)
659 (ido-choose-completion-string, ido-completion-help): Handle nil
660 value of ido-completion-buffer (Bug#11008).
661
087bbb4c
SS
6622012-03-21 Sam Steingold <sds@gnu.org>
663
664 * window.el (switch-to-prev-buffer): Do not switch to a visible
665 window previous buffer, just like with the frame previous buffers.
666
fb5b8aca
CY
6672012-03-21 Chong Yidong <cyd@gnu.org>
668
669 * faces.el (make-face, make-empty-face, copy-face):
670 * face-remap.el (face-remap-add-relative, face-remap-set-base):
671 Doc fixes.
672
dc9924b8
SM
6732012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
674
675 * wid-edit.el (widget-complete-field): Remove (bug#11051).
676 (widget-complete): Remove broken use of it.
677
f0bcceb9
CY
6782012-03-20 Chong Yidong <cyd@gnu.org>
679
dc9924b8
SM
680 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
681 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
682 characters.
683
ee52ebf3
TH
6842012-03-20 Tassilo Horn <tassilo@member.fsf.org>
685
686 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
687 to draw rectangles, not squares. (Regression introduced by revno
688 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
689
4c5779ab
CY
6902012-03-18 Chong Yidong <cyd@gnu.org>
691
692 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
693 it is not yet defined (for temacs).
694
15360934
LL
6952012-03-18 Leo Liu <sdl.web@gmail.com>
696
dc9924b8 697 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 698
d9a8eb66
EZ
6992012-03-17 Eli Zaretskii <eliz@gnu.org>
700
701 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
702 (ispell-choices-win-default-height, ispell-silently-savep)
703 (ispell-dictionary-alist, ispell-encoding8-command)
704 (ispell-check-version, ispell-aspell-find-dictionary)
705 (ispell-valid-dictionary-list, ispell-words-keyword)
706 (ispell-get-word, ispell-internal-change-dictionary)
707 (ispell-region, ispell-skip-region-list)
708 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
709 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
710 (ispell-message-text-end, ispell-message)
711 (ispell-buffer-local-parsing): Doc fix.
712
f02ff80d
J
7132012-03-13 Jambunathan K <kjambunathan@gmail.com>
714
715 * htmlfontify.el: Add support for code block fontification for ODT
716 export (Bug #9914).
717 (hfy-optimisations): Define new option
718 `body-text-only'
719 (hfy-fontify-buffer): Honor above setting.
720 (hfy-begin-span, hfy-end-span): New routines factored out form
721 `hfy-fontify-buffer'.
722 (hfy-begin-span-handler, hfy-end-span-handler): New variables
723 that permit insertion of custom tags.
724 (hfy-fontify-buffer): Use above handlers.
725 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
726 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 727 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
f02ff80d
J
728 over multiple runs. This is made possible by having the caller let
729 bind a special variable `hfy-user-sheet-assoc'.
730 (htmlfontify-string): New defun.
731 (hfy-compile-face-map): Make sure that the last char in the
732 buffer is correctly fontified.
733 (hfy-face-resolve-face): Whitespace only change.
734
9ac7a13f
EZ
7352012-03-17 Eli Zaretskii <eliz@gnu.org>
736
737 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
738 message more clear.
739
e2b5bdd7
LL
7402012-03-16 Leo Liu <sdl.web@gmail.com>
741
742 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
743
2e492df3
AM
7442012-03-16 Alan Mackenzie <acm@muc.de>
745
746 Further optimise the handling of large macros.
747
748 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
749 limit to a call of `c-literal-limits'.
750 (c-determine-+ve-limit): New function.
dc9924b8
SM
751 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
752 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
753 In CASE 5B, restrict a search limit to 500.
754 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
755
756 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
757 Restrict macro bounds to +-500 from after-change's BEG END.
758
50e94f0c
LL
7592012-03-16 Leo Liu <sdl.web@gmail.com>
760
761 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
762
6f09f6ed
AH
7632012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
764
765 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 766 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 767
c7e73d51
GM
7682012-03-16 Glenn Morris <rgm@gnu.org>
769
da986230
GM
770 * view.el (view-buffer, view-buffer-other-window)
771 (view-buffer-other-frame): Doc fixes re special mode-class.
772
0835f01e
GM
773 * subr.el (eval-after-load): If named feature is provided not from
774 a file, run after-load forms. (Bug#10946)
775
c7e73d51
GM
776 * calendar/calendar.el (calendar-insert-at-column):
777 Handle non-unit-width characters a bit better. (Bug#10978)
778
3f2eafd1
CY
7792012-03-15 Chong Yidong <cyd@gnu.org>
780
781 * emacs-lisp/ring.el (ring-extend): New function.
782 (ring-insert+extend): Extend the ring correctly (Bug#11019).
783
784 * comint.el (comint-read-input-ring)
785 (comint-add-to-input-history): Grow comint-input-ring lazily.
786
103af3fe
SM
7872012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
788
663b1677
SM
789 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
790 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
791
103af3fe
SM
792 * imenu.el: Fix multiple inheritance breakage (bug#9199).
793 (imenu-add-to-menubar): Don't add a redundant index.
794 (imenu-update-menubar): Handle a dynamically composed keymap.
795
899cb7cb
KY
7962012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
797
798 * mail/sendmail.el (mail-encode-header):
799 Bind rfc2047-encode-encoded-words to nil.
800
3809f91d
GM
8012012-03-13 Glenn Morris <rgm@gnu.org>
802
803 * calendar/calendar.el (calendar-string-spread):
804 Handle non-unit-width characters a bit better. (Bug#10978)
805
9e345a01
LL
8062012-03-13 Leo Liu <sdl.web@gmail.com>
807
808 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
809 directory and file as argument (Bug#10822).
810
4a07df36
KS
8112012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
812
813 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
814 For dynamically generated code, follow $PC.
815 (gdb-disassembly-handler-custom): Handle no function name case.
816
4aaa9356
TL
8172012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
818
819 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
820 * emulation/ws-mode.el (ws-query-replace):
821 * sort.el (sort-regexp-fields):
822 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
823
225979da
SM
8242012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
825
826 * dabbrev.el: Fix cycle completion order (bug#10963).
827 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
828 (dabbrev-completion): Don't use an obarray; provide
829 a cycle-sort-function.
830
e2f1fdab
LL
8312012-03-12 Leo Liu <sdl.web@gmail.com>
832
dc9924b8 833 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
834 (kill-do-not-save-duplicates): Doc fix.
835
b19490ed
SM
8362012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
837
838 * dabbrev.el: Fix cycle completion (bug#10963).
839 Use lexical binding and wrap to 80 columns.
840 (dabbrev-completion): Delay computing the list of completions.
841
4b05d722
KH
8422012-03-12 Kenichi Handa <handa@m17n.org>
843
844 * international/quail.el (quail-insert-kbd-layout): Surround each
845 row by LRO and PDF instead of inserting many LRMs. Pad the left
846 and right of each non-spacing marks. Insert invisible space
847 between lower and upper characters to prevent composition.
848
dbbc2e69
SM
8492012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
850
851 * minibuffer.el (minibuffer-complete): Don't get confused when the
852 function is run twice via different commands (bug#10958).
853 (complete-with-action): Fix docstring.
854
292112ed
CY
8552012-03-12 Chong Yidong <cyd@gnu.org>
856
5d1ac394
CY
857 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
858 (nxml-completion-at-point-function): New function.
859 (nxml-mode): Use it.
860 (nxml-bind-meta-tab-to-complete-flag): Default to t.
861
292112ed
CY
862 * emacs-lisp/package.el (package-unpack, package-unpack-single):
863 Load generated autoloads file before byte compiling (Bug#10970).
864 (package--make-autoloads-and-compile): New helper fun.
865
4098f8f7
CS
8662012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
867
868 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
869
8f754691
MA
8702012-03-11 Michael Albinus <michael.albinus@gmx.de>
871
872 * autorevert.el (auto-revert-handler): Ensure, that
873 file-readable-p is applied only for local files or in
874 auto-revert-tail-mode.
875
e29ab36b
AS
8762012-03-11 Andreas Schwab <schwab@linux-m68k.org>
877
dbbc2e69
SM
878 * server.el (server-eval-at): Handle non-tcp connections.
879 Decode result string.
ad0bf5b6 880
e29ab36b
AS
881 * server.el (server-msg-size): New constant.
882 (server-reply-print): New function.
883 (server-eval-and-print): Use it.
884 (server-eval-at): Use server-quote-arg and server-unquote-arg.
885 Handle -print-nonl.
886
de5939ba
CS
8872012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
888
889 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
890 (Bug#10987).
891
0c93eabf
CY
8922012-03-11 Chong Yidong <cyd@gnu.org>
893
397a688f
CY
894 * simple.el (goto-line): Doc fix (Bug#9938).
895
2cc775f9
CY
896 * subr.el (save-window-excursion): Doc fix (Bug#9979).
897
0c93eabf
CY
898 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
899 when finished (Bug#10963).
900
c491fa41
MR
9012012-03-11 Martin Rudalics <rudalics@gmx.at>
902
903 * window.el (split-window-below): Fix bug in case where
904 split-window-keep-point is nil (Bug#10971).
905
300e8fa5
JL
9062012-03-11 Juri Linkov <juri@jurta.org>
907
908 * replace.el (replace-highlight): Set isearch-word to nil
909 unconditionally. (Bug#10887)
910
dbf6c5a1
EZ
9112012-03-10 Eli Zaretskii <eliz@gnu.org>
912
913 * net/mairix.el (mairix-replace-invalid-chars): Rename from
914 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 915 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
916 (mairix-widget-create-query): Add usage information about mairix
917 search forms: negating words, searching for substrings, etc.
918
b9e501de
JP
9192012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
920
921 * international/fontset.el (font-encoding-alist): Add an entry for
922 ksx1001 (Bug#5667).
923
92795c91
RS
9242012-03-10 Richard Stallman <rms@gnu.org>
925
1694e6c1
RS
926 * mail/sendmail.el (mail-encode-header):
927 Set rfc2047-encode-encoded-words.
928
607e8555
RS
929 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
930
de3bc99a
RS
931 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
932 view buffer means not swapped.
933 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
934 (rmail-write-region-annotate): Error if real text has disappeared.
935
92795c91
RS
936 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
937
699bd04e
CY
9382012-03-10 Chong Yidong <cyd@gnu.org>
939
940 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
941 * emulation/cua-base.el (cua--init-keymaps):
942 Add delete-forward-char to remappings (Bug#9666).
699bd04e 943
570a1714
MR
9442012-03-10 Martin Rudalics <rudalics@gmx.at>
945
dbbc2e69
SM
946 * speedbar.el (speedbar-unhighlight-one-tag-line):
947 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 948
82dcf4e4
CY
9492012-03-10 Chong Yidong <cyd@gnu.org>
950
7a2c7ca7
CY
951 * minibuffer.el (completion-in-region, completion-help-at-point):
952 Give the completion field overlay a high priority (Bug#6830).
953
82dcf4e4
CY
954 * dired.el (dired-goto-file): Recognize absolute file name
955 listings (Bug#7126).
956 (dired-goto-file-1): New helper function.
957 (dired-toggle-read-only): Inhibit warnings.
958
052e28ac
MA
9592012-03-09 Michael Albinus <michael.albinus@gmx.de>
960
961 * net/dbus.el: (dbus-property-handler): Return empty array if
962 there are no properties.
963
95d5e396
LL
9642012-03-09 Leo Liu <sdl.web@gmail.com>
965
966 * savehist.el (savehist-printable): Stricter check for string
967 value (Bug#10937).
968
3f018d6d
EZ
9692012-03-09 Eli Zaretskii <eliz@gnu.org>
970
dbbc2e69
SM
971 * mail/smtpmail.el (smtpmail-send-it):
972 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
973 valid mbox format.
974
f7fd3d79
GM
9752012-03-09 Glenn Morris <rgm@gnu.org>
976
977 * files.el (dir-locals-find-file):
978 Don't check result is regular, readable.
979 (dir-locals-read-from-file): Demote errors.
980
6ff6e72f
EZ
9812012-03-08 Eli Zaretskii <eliz@gnu.org>
982
dbbc2e69
SM
983 * international/quail.el (quail-insert-kbd-layout):
984 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
985 layout cell, to prevent their reordering by bidi display engine.
986 For details, see the discussion in
987 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
988
9cec7834
AM
9892012-03-08 Alan Mackenzie <acm@muc.de>
990
991 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
992 the starting position; make it extend the marked region when
993 invoked repeatedly - all under appropriate circumstances.
994 Fixes bugs #5525, #10906.
995
9a40b8d4
GM
9962012-03-08 Glenn Morris <rgm@gnu.org>
997
998 * files.el (locate-dominating-file, dir-locals-find-file):
999 Undo 2012-03-06 change.
1000
7a08ed35
EZ
10012012-03-07 Eli Zaretskii <eliz@gnu.org>
1002
dbbc2e69
SM
1003 * international/quail.el (quail-help):
1004 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
1005 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1006 for the reason.
1007
5aca4f71 10082012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
1009
1010 Avoid superfluous registering of signals. (Bug#10807)
1011
1012 * notifications.el (notifications-on-action-object)
1013 (notifications-on-close-object): New defvars.
1014 (notifications-on-action-signal, notifications-on-closed-signal):
1015 Unregister the signal if not needed any longer.
1016 (notifications-notify): Register `notifications-action-signal' or
1017 `notifications-closed-signal', if :on-action or :on-close has been
1018 passed as argument.
1019
78e8b10a
CY
10202012-03-07 Chong Yidong <cyd@gnu.org>
1021
1022 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1023 non-X platforms.
1024
69481eb8
GM
10252012-03-06 Glenn Morris <rgm@gnu.org>
1026
1027 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1028 (x-disown-selection-internal, x-get-selection-internal):
1029 Doc fix (add arglist signatures). (Bug#10783)
1030
133b8e11
KS
10312012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1032
1033 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1034 Handle breakpoints with no "type".
1035
99a83064
GM
10362012-03-06 Glenn Morris <rgm@gnu.org>
1037
1038 * files.el (locate-dominating-file): Add optional predicate argument.
1039 (dir-locals-find-file): Make use of above change.
1040
17798e78
TTN
10412012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1042
1043 * info.el (Info-insert-dir): Also try "dir.gz".
1044
eb182446
GM
10452012-03-06 Glenn Morris <rgm@gnu.org>
1046
8f2114ee
GM
1047 * files.el (dir-locals-find-file):
1048 Ignore non-readable or non-regular files. (Bug#10928)
1049
eb182446
GM
1050 * files.el (locate-dominating-file): Doc fix.
1051
24679323
AS
10522012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1053
1054 * calendar/calendar.el (calendar-set-mode-line):
1055 `getenv' returns a string. (Bug#10951)
1056
01d972a9
LL
10572012-03-05 Leo Liu <sdl.web@gmail.com>
1058
109aa8a9
LL
1059 * simple.el (backward-delete-char-untabify): Constrain point to
1060 field (Bug#10939).
1061
01d972a9
LL
1062 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1063
10607bea
CY
10642012-03-05 Chong Yidong <cyd@gnu.org>
1065
1066 * simple.el (count-words): If called from Lisp, return the word
1067 count, for symmetry with `count-lines'. Arglist changed.
1068 (count-words--message): Args changed. Consolidate counting code
1069 from count-words and count-words-region.
1070 (count-words-region): Caller changed.
1071 (count-lines-region): Make it an obsolete alias.
1072
5dd11cfe
TH
10732012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1074
1075 * saveplace.el (save-place-to-alist)
1076 (save-place-ignore-files-regexp): Allow value nil to disable this
1077 feature.
1078
c349f4e6
CY
10792012-03-04 Chong Yidong <cyd@gnu.org>
1080
1081 * faces.el (face-spec-reset-face): For the default face, reset the
1082 attributes to default values (Bug#10748).
1083
e627be4c
LMI
10842012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1085
1086 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1087 previous patch: Check `message-send-mail-function', and not the
1088 default function (bug#10897).
1089
ebeabff4
MA
10902012-03-04 Michael Albinus <michael.albinus@gmx.de>
1091
a41a6cf4
MA
1092 * notifications.el (notifications-on-action-signal)
1093 (notifications-on-closed-signal): Check for unique service name of
1094 incoming event. Fix error in removing entry.
ebeabff4 1095 (top): Register for signals with wildcard service name.
a41a6cf4 1096 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 1097
c1ca42b4
CY
10982012-03-04 Chong Yidong <cyd@gnu.org>
1099
dc9924b8 1100 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 1101
ea16568d
GM
11022012-03-04 Glenn Morris <rgm@gnu.org>
1103
1104 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1105 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1106 (expand-abbrev, define-abbrev-table): Doc fixes.
1107
fbae4637
LMI
11082012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1109
1110 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1111 `message-default-send-mail-function' and not `send-mail-function'
1112 when doing the prompting for `sendmail-query-once' before sending
1113 in Message buffers (bug#10897).
1114
a1e7225c
LMI
1115 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1116 This is inconsistent with all the other stream functions, which leave
1117 the setting up to the higher levels (if so wanted) (bug#10931).
1118
56d093a9
AM
11192012-03-02 Alan Mackenzie <acm@muc.de>
1120
1121 Depessimize the handling of very large macros.
1122
1123 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1124 (c-macro-cache-syntactic): New variables to implement a one
1125 element macro cache.
1126 (c-invalidate-macro-cache): New function.
1127 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1128 Adapt to use the new cache.
1129 (c-state-safe-place): Use better the cache of safe positions.
1130 (c-state-semi-nonlit-pos-cache)
1131 (c-state-semi-nonlit-pos-cache-limit):
1132 New variables for...
1133 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1134 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
1135 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1136 Use c-state-semi-safe-place.
56d093a9 1137
dbbc2e69
SM
1138 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1139 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 1140
817e5c3d
MA
11412012-03-02 Michael Albinus <michael.albinus@gmx.de>
1142
dbbc2e69
SM
1143 * jka-compr.el (jka-compr-call-process):
1144 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
1145 not remote.
1146
a032a702
MA
11472012-03-01 Michael Albinus <michael.albinus@gmx.de>
1148
1149 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1150 access of FILE2, if FILE1 does not exist.
1151
99a54f21
MA
1152 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1153 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1154
1155 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1156 Add "PAGER=" to `process-environment'.
1157
f6561e1f
MM
11582012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1159
1160 * progmodes/sql.el: Bug fix
1161 (sql-get-login-ext): Save login values in globals.
1162 (sql-get-login): Use new version of `sql-get-login-ext'.
1163 (sql-interactive-mode): Set global `sql-connection' to nil.
1164 (sql-connect): Set global values for connection.
1165 (sql-product-interactive): Save global values as buffer local.
1166
2d44d9cc
LL
11672012-02-29 Leo Liu <sdl.web@gmail.com>
1168
1169 * abbrev.el (define-abbrevs): Reset sys to nil.
1170
96b49301 11712012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1172
bf7f9bc5
JB
1173 * files.el (file-equal-p): Rename from `files-equal-p'.
1174 Return nil when one or both files don't exist.
96b49301 1175 (file-subdir-of-p): Now only top directory must exists,
1176 return nil if it doesn't.
bf7f9bc5
JB
1177 (copy-directory): No need to test with `file-subdir-of-p' after
1178 creating dir.
1179 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1180 to `file-equal-p'.
96b49301 1181
44e97401
GM
11822012-02-28 Glenn Morris <rgm@gnu.org>
1183
1184 * shell.el (shell-mode):
1185 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1186 * play/landmark.el (landmark-font-lock-face-O):
1187 * play/handwrite.el (handwrite):
1188 * play/gomoku.el (gomoku-O):
1189 * net/browse-url.el (browse-url-browser-display):
1190 * international/mule.el (define-charset):
1191 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1192 * filesets.el (filesets-find-file-delay):
1193 * eshell/em-xtra.el (eshell-xtra):
1194 * eshell/em-unix.el (eshell-grep):
1195 * emulation/viper.el (viper-mode):
1196 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1197 * emacs-lisp/easymenu.el (easy-menu-define):
1198 * calendar/timeclock.el (timeclock-use-display-time):
1199 * bs.el (bs-mode):
1200 * bookmark.el (bookmark-save-flag):
1201 Doc fix (standardize possessive apostrophe usage).
1202
c98c6276
CY
12032012-02-27 Chong Yidong <cyd@gnu.org>
1204
bf7f9bc5
JB
1205 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1206 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 1207
c98c6276
CY
1208 * font-lock.el (font-lock-specified-p): Rename from
1209 font-lock-spec-present. Callers changed.
1210
9c62cd04 12112012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 1212
bf7f9bc5
JB
1213 * emacs-lisp/package.el (package-compute-transaction):
1214 Handle holding a package version to t in package-load-list.
8ac9e529 1215
530739c9
MA
12162012-02-26 Michael Albinus <michael.albinus@gmx.de>
1217
1218 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1219 (tramp-get-inode, tramp-get-device): Use cached values.
1220
487915d7
AM
12212012-02-26 Alan Mackenzie <acm@muc.de>
1222
1223 Check there is a font-lock specification before doing initial
1224 fontification.
1225
1226 * font-core.el (font-lock-mode): Move the conditional from
1227 :after-hook to font-lock-initial-fontify.
1228 (font-lock-default-function): Move the check for a specification
1229 to font-lock-spec-present.
1230
dc9924b8 1231 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
1232 (font-lock-spec-present): New function.
1233
4fd96557
JB
12342012-02-26 Jim Blandy <jimb@red-bean.com>
1235
1236 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1237 (gdb-send): Apply it to the operand of the '-interpreter-exec
1238 console' command, so that we can pass arguments with (say) quotes
1239 in them. Store exact string sent in gdb-debug-log (Bug#10765).
1240
9a4888c0
CY
12412012-02-26 Chong Yidong <cyd@gnu.org>
1242
07498861
CY
1243 * help-fns.el (describe-function-1): Clarify description of
1244 remapping (Bug#10844).
1245
9a4888c0
CY
1246 * files.el (files-equal-p): Doc fix.
1247 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
1248 and quit the loop once a mismatch is found.
1249
ea8fb88d
JB
12502012-02-25 Juanma Barranquero <lekktu@gmail.com>
1251
1252 * bs.el (bs--show-with-configuration): Don't throw an error
1253 if the window cannot be split; otherwise, subsequent calls to
1254 bs-show fail, restoring a stale window config. (Bug#10882)
1255
525795c1
JD
12562012-02-25 Jan Djärv <jan.h.d@swipnet.se>
1257
1258 * term/ns-win.el (global-map): Bind ns-drag-file to
1259 ns-find-file (Bug#5855, Bug#10050).
1260
f008086f
AS
12612012-02-25 Andreas Schwab <schwab@linux-m68k.org>
1262
1263 * calendar/parse-time.el (parse-time-string): Allow extractor to
1264 return nil.
1265
a3fcfa99
MA
12662012-02-25 Michael Albinus <michael.albinus@gmx.de>
1267
91027d08
JB
1268 * net/tramp.el (tramp-file-name-for-operation):
1269 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
1270
1271 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
1272 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1273 Add COPY-CONTENTS argument.
a3fcfa99 1274
67b0de11
CY
12752012-02-25 Chong Yidong <cyd@gnu.org>
1276
1277 Add custom groups for VC backends, for consistency with vc-bzr.
1278
1279 * vc/vc-arch.el (vc-arch):
1280 * vc/vc-cvs.el (vc-cvs):
1281 * vc/vc-git.el (vc-git):
1282 * vc/vc-hg.el (vc-hg):
1283 * vc/vc-mtn.el (vc-mtn):
1284 * vc/vc-rcs.el (vc-rcs):
1285 * vc/vc-sccs.el (vc-sccs):
1286 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1287 All relevant defcustoms reassigned.
1288
3c9dfce6
CY
12892012-02-25 Chong Yidong <cyd@gnu.org>
1290
1339bf43
CY
1291 * newcomment.el (comment-styles): Add autoload (Bug#10868).
1292
3c9dfce6
CY
1293 * term/x-win.el (x-initialize-window-system): Reduce default for
1294 x-selection-timeout to 5 seconds (Bug#8869).
1295
53a46cd0 12962012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 1297
53a46cd0 1298 * files.el (file-subdir-of-p): Fix typo.
14a8a663 1299
25b2e303 13002012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1301
ec70a47d
GM
1302 * files.el (files-equal-p, file-subdir-of-p): New functions.
1303 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 1304 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
1305 * dired-aux.el (dired-copy-file-recursive): Same.
1306 (dired-create-files): Modify destination when source is equal to
1307 dest when copying files.
53a46cd0 1308 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 1309
914260cd
MA
13102012-02-24 Michael Albinus <michael.albinus@gmx.de>
1311
1312 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1313 (Bug#10874)
1314
2cb228f7
AM
13152012-02-23 Alan Mackenzie <acm@muc.de>
1316
1317 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1318 parameter "after-hook:" to allow the expansion to run code after
1319 the execution of the mode hooks.
1320
1321 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 1322 from font-lock-mode-internal.
2cb228f7 1323
91027d08 1324 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
1325 :after-hook.
1326
8f0fde21
SM
13272012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1328
3e88618b
SM
1329 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1330 (completion--cache-all-sorted-completions): New function.
1331 (completion-all-sorted-completions): Use it.
1332 (completion--do-completion, minibuffer-force-complete):
1333 Use it to re-instate the flush hook.
1334
8f0fde21
SM
1335 * icomplete.el (icomplete-completions): Replace last fix with a better
1336 one (bug#10850).
1337
8e911f6f
DG
13382012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1339
1340 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1341 when it might call us back infinitely (bug#10797).
1342
49fe4321
GM
13432012-02-23 Glenn Morris <rgm@gnu.org>
1344
1345 * minibuffer.el (completion-category-overrides): Doc fix.
1346
b291b572
SM
13472012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1348
1349 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1350 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1351
31a9ef2e
GM
13522012-02-23 Glenn Morris <rgm@gnu.org>
1353
5e6e6794 1354 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
1355 (authors-obsolete-files-regexps, authors-ignored-files)
1356 (authors-ambiguous-files, authors-renamed-files-alist):
1357 Add more entries.
1358
0bd1e074
JL
13592012-02-23 Juri Linkov <juri@jurta.org>
1360
1361 * isearch.el (isearch-occur): Sync interactive spec with occur's
1362 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1363
b617673c
JL
1364 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1365
19e9789e
JL
13662012-02-22 Juri Linkov <juri@jurta.org>
1367
1368 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1369 (ucs-insert): Doc fix. Check for hex digits in the string.
1370 Don't display `nil' in the error message. (Bug#10857)
1371
f41ce09d
AM
13722012-02-22 Alan Mackenzie <acm@muc.de>
1373
7a71b18d 1374 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 1375
ac2eceee
GM
13762012-02-22 Glenn Morris <rgm@gnu.org>
1377
1378 * ffap.el (ffap-c-path):
1379 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1380
abd1f678
CY
13812012-02-22 Chong Yidong <cyd@gnu.org>
1382
1383 * custom.el (load-theme): Doc fix.
1384
f25aef2e
GM
13852012-02-22 Glenn Morris <rgm@gnu.org>
1386
1387 * dired-x.el (dired-guess-shell-alist-default):
1388 Remove escape sequences from nroff output. (Bug#172)
1389
5f8dc2ca
GM
13902012-02-21 Glenn Morris <rgm@gnu.org>
1391
6ff86ec4
GM
1392 * vc/emerge.el (emerge-defvar-local):
1393 Set `permanent-local' property rather than unused `preserved'.
1394
be3223a3 1395 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
1396 (picture-mode-map): Use it. (Bug#10860)
1397 (picture-mode): Doc fix.
1398
3fe58f4f
JB
13992012-02-21 Juanma Barranquero <lekktu@gmail.com>
1400
1401 * newcomment.el (uncomment-region-default): Remove unused binding.
1402
f9a998c3
GM
14032012-02-21 Glenn Morris <rgm@gnu.org>
1404
1405 * textmodes/picture.el (picture-motion, picture-motion-reverse)
1406 (picture-self-insert, picture-tab-chars): Doc fix.
1407 (picture-mode-map): Fix C-a, C-e.
1408
c6029348
GM
14092012-02-20 Glenn Morris <rgm@gnu.org>
1410
1411 * emacs-lisp/authors.el (authors-aliases): Add another entry.
1412
ab1ce9d7
LL
14132012-02-20 Leo Liu <sdl.web@gmail.com>
1414
1415 * icomplete.el (icomplete-completions): Check FROM arg before
1416 passing to substring (Bug#10850).
1417
0fd40f89
CY
14182012-02-19 Chong Yidong <cyd@gnu.org>
1419
1420 * comint.el: Require ansi-color.
1421 (comint-output-filter-functions): Add ansi-color-process-output.
1422
1423 * ansi-color.el: Don't set comint-output-filter-functions; it is
1424 now in the initial value defined in comint.el.
1425 (ansi-color-apply-face-function): New variable.
1426 (ansi-color-apply-on-region): Use it.
1427 (ansi-color-apply-overlay-face): New function.
1428
1429 * shell.el (shell): No need to require ansi-color.
1430 (shell-mode): Use ansi-color-apply-face-function to highlight
1431 color escapes using font-lock-face property (Bug#10835).
1432
20af2394
CY
14332012-02-19 Chong Yidong <cyd@gnu.org>
1434
1435 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1436 mode-line formats (Bug#10839).
1437
e23a3fbe
GM
14382012-02-18 Glenn Morris <rgm@gnu.org>
1439
b474519e
GM
1440 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1441
1442 * mail/undigest.el (unforward-rmail-message): Doc fix.
1443
e23a3fbe
GM
1444 * saveplace.el (save-place-ignore-files-regexp): Add :version.
1445
57939ff4
EZ
14462012-02-18 Eli Zaretskii <eliz@gnu.org>
1447
1448 * international/characters.el (script-list): Sync with the latest
1449 Unicode Character Database.
1450
0c23686e
AS
14512012-02-18 Andreas Schwab <schwab@linux-m68k.org>
1452
1453 * international/titdic-cnv.el: Remove duplicate coding tag.
1454 * language/cham.el: Likewise.
1455 * language/tai-viet.el: Likewise.
1456
6818b449
GM
14572012-02-18 Glenn Morris <rgm@gnu.org>
1458
1459 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1460 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1461 (calendar-bahai-all-holidays-flag, calendar-other-dates):
1462 * calendar/diary-lib.el (diary-abbreviated-year-flag):
1463 * calendar/holidays.el (holiday-bahai-holidays)
1464 (calendar-holidays, list-holidays):
1465 Use utf-8 Bahá'í in doc-strings, menus, etc.
1466
0311a3fc
TH
14672012-02-17 Tassilo Horn <tassilo@member.fsf.org>
1468
1469 * saveplace.el (save-place-ignore-files-regexp): New variable
1470 allowing for excluding files from saving their location of point.
1471 The default value matches the temporary commit message editing
1472 files from Git, SVN, Bazaar, and Mercurial.
1473 (save-place-to-alist): Use it.
1474
eb864a71
LM
14752012-02-17 Lawrence Mitchell <wence@gmx.li>
1476 Stefan Monnier <monnier@iro.umontreal.ca>
1477
1478 * newcomment.el (uncomment-region-default): Don't leave extra space
1479 when an arg is provided (bug#8150).
1480
ee0ce425
TZ
14812012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1482
eb864a71 1483 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 1484
95ddf442
GM
14852012-02-17 Glenn Morris <rgm@gnu.org>
1486
1487 * net/socks.el: Require network-stream. (Bug#10599)
1488
48dd1e39 14892012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
1490
1491 * international/charprop.el:
1492 * international/uni-name.el:
1493 * international/uni-old-name.el:
1494 * international/uni-comment.el: Regenerate.
1495
d68cd087
GM
14962012-02-16 Glenn Morris <rgm@gnu.org>
1497
1498 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1499 Interactively in calendar buffer, give an error if not on a date.
1500
13932042
GM
15012012-02-15 Glenn Morris <rgm@gnu.org>
1502
1503 * shell.el (shell-delimiter-argument-list):
1504 Revert 2011-02-17 change. (Bug#8027)
1505
c3a70e2b
CY
15062012-02-15 Chong Yidong <cyd@gnu.org>
1507
60236b0d
CY
1508 * minibuffer.el (completion-at-point-functions): Doc fix.
1509
c3a70e2b
CY
1510 * custom.el (defcustom): Doc fix; note use of defvar.
1511
9f26dc24
GM
15122012-02-15 Glenn Morris <rgm@gnu.org>
1513
1514 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1515 Doc fixes.
1516
6546b134
GM
15172012-02-14 Glenn Morris <rgm@gnu.org>
1518
1519 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1520
d29b2b4c
LI
15212012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
1522
1523 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1524 way the ports list is computed.
835bdcba
LI
1525 (smtpmail-query-smtp-server): Prompt the user for a port number if
1526 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 1527
08dcdbc9
TZ
15282012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
1529
1530 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1531
2605051a
GM
15322012-02-13 Glenn Morris <rgm@gnu.org>
1533
1534 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
1535
7ee99f32
TZ
15362012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1537
1538 * net/gnutls.el (gnutls-trustfiles): New variable.
1539 (gnutls-negotiate): Use it.
1540
5f0af64f
LI
15412012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1542
1543 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1544 does its stuff if Gnus is running.
1545
c14fcc95
AM
15462012-02-13 Alan Mackenzie <acm@muc.de>
1547
1548 Fix a loop in c-set-fl-decl-start.
1549
7a71b18d 1550 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
1551 c-backward-syntactic-ws actually moves backwards.
1552
142b4d90
LL
15532012-02-13 Leo Liu <sdl.web@gmail.com>
1554
1555 * net/rcirc.el (rcirc-markup-attributes): Move point to the
1556 beginning so that all \C-o chars are removed.
1557
fa9958a6
TZ
15582012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1559
dc9924b8 1560 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 1561
0bc5886a
AM
15622012-02-12 Alan Mackenzie <acm@muc.de>
1563
1564 Fix infinite loop with long macros.
1565 * cc-engine.el (c-state-safe-place): Handle macros properly.
1566
d4bd55e7
CY
15672012-02-12 Chong Yidong <cyd@gnu.org>
1568
1569 * window.el (display-buffer): Doc fix (Bug#10785).
1570
66f3fe22
GM
15712012-02-12 Glenn Morris <rgm@gnu.org>
1572
bd7da63e
GM
1573 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1574 (x-disown-selection-internal, x-get-selection-internal):
1575 Sync docs with the xselect.c versions.
1576
66f3fe22
GM
1577 * allout-widgets.el: Add missing license notice.
1578
3e0d2fa7
GM
15792012-02-11 Glenn Morris <rgm@gnu.org>
1580
cfecdf09
GM
1581 * select.el (x-get-selection-internal, x-own-selection-internal)
1582 (x-disown-selection-internal):
1583 * x-dnd.el (x-get-selection-internal): Update declarations.
1584
6d216d7f
GM
1585 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1586
2bed3f04
GM
1587 * window.el (window-sides-slots):
1588 * tool-bar.el (tool-bar-position):
1589 * term/xterm.el (xterm-extra-capabilities):
1590 * ses.el (ses-self-reference-early-detection):
1591 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1592 (verilog-auto-wire-type)
1593 (verilog-auto-delete-trailing-whitespace)
1594 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1595 (verilog-auto-tieoff-declaration):
1596 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1597 (sql-oracle-statement-starters, sql-oracle-scan-on):
1598 * progmodes/prolog.el (prolog-align-comments-flag)
1599 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1600 (prolog-left-indent-regexp, prolog-paren-indent-p)
1601 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1602 (prolog-types, prolog-mode-specificators)
1603 (prolog-determinism-specificators, prolog-directives)
1604 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1605 (prolog-electric-dot-flag)
1606 (prolog-electric-dot-full-predicate-template)
1607 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1608 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1609 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1610 (prolog-program-switches, prolog-prompt-regexp)
1611 (prolog-debug-on-string, prolog-debug-off-string)
1612 (prolog-trace-on-string, prolog-trace-off-string)
1613 (prolog-zip-on-string, prolog-zip-off-string)
1614 (prolog-use-standard-consult-compile-method-flag)
1615 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1616 (prolog-imenu-max-lines, prolog-info-predicate-index)
1617 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1618 (prolog-char-quote-workaround):
1619 * progmodes/cc-vars.el (c-defun-tactic):
1620 * net/tramp.el (tramp-encoding-command-interactive)
1621 (tramp-local-end-of-line):
1622 * net/soap-client.el (soap-client):
1623 * net/netrc.el (netrc-file):
1624 * net/gnutls.el (gnutls):
1625 * minibuffer.el (completion-category-overrides)
1626 (completion-cycle-threshold)
1627 (completion-pcm-complete-word-inserts-delimiters):
1628 * man.el (Man-name-local-regexp):
1629 * mail/feedmail.el (feedmail-display-full-frame):
1630 * international/characters.el (glyphless-char-display-control):
1631 * eshell/em-ls.el (eshell-ls-date-format):
1632 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1633 (lisp-lambda-list-keyword-parameter-indentation)
1634 (lisp-lambda-list-keyword-parameter-alignment):
1635 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1636 * dired-x.el (dired-omit-verbose):
1637 * cus-theme.el (custom-theme-allow-multiple-selections):
1638 * calc/calc.el (calc-highlight-selections-with-faces)
1639 (calc-lu-field-reference, calc-lu-power-reference)
1640 (calc-note-threshold):
1641 * battery.el (battery-mode-line-limit):
1642 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1643 (archive-7z-update):
1644 * allout.el (allout-prefixed-keybindings)
1645 (allout-unprefixed-keybindings)
1646 (allout-inhibit-auto-fill-on-headline)
1647 (allout-flattened-numbering-abbreviation):
1648 * allout-widgets.el (allout-widgets-auto-activation)
1649 (allout-widgets-icons-dark-subdir)
1650 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1651 (allout-widgets-theme-dark-background)
1652 (allout-widgets-theme-light-background)
1653 (allout-widgets-item-image-properties-emacs)
1654 (allout-widgets-item-image-properties-xemacs)
1655 (allout-widgets-run-unit-tests-on-load)
1656 (allout-widgets-time-decoration-activity)
1657 (allout-widgets-hook-error-post-time)
1658 (allout-widgets-track-decoration):
1659 Add missing :version tags to new defcustoms and defgroups.
1660
5fec1b8e
GM
1661 * progmodes/sql.el (sql-ansi-statement-starters)
1662 (sql-oracle-statement-starters): Add custom type.
1663
3e0d2fa7
GM
1664 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1665 (prolog-system-version): Give it a type.
1666
90b671e2
EZ
16672012-02-11 Eli Zaretskii <eliz@gnu.org>
1668
1669 * term/pc-win.el (x-select-text, x-selection-owner-p)
1670 (x-own-selection-internal, x-disown-selection-internal)
1671 (x-get-selection-internal): Sync doc strings and argument lists
1672 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1673
5eac0c02
LL
16742012-02-11 Leo Liu <sdl.web@gmail.com>
1675
1676 * progmodes/python.el (python-end-of-statement): Fix infinite
1677 loop. (Bug#10788)
1678
f82cb659
GM
16792012-02-10 Glenn Morris <rgm@gnu.org>
1680
1681 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1682 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1683
cc26d239
LI
16842012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1685
1686 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1687 about SMTP before checking the From header.
1688
91027d08 1689 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
1690 into own function for reuse by emacsbug.el.
1691
1be3ca5a
LL
16922012-02-10 Leo Liu <sdl.web@gmail.com>
1693
1694 * subr.el (condition-case-unless-debug): Rename from
1695 condition-case-no-debug. All callers changed.
1696 (with-demoted-errors): Fix caller.
1697
1698 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1699 * nxml/rng-valid.el (rng-do-some-validation):
1700 * emacs-lisp/package.el (package-refresh-contents)
1701 (package-menu-execute):
1702 * desktop.el (desktop-create-buffer):
91027d08 1703 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 1704
b011fbfe
GM
17052012-02-10 Glenn Morris <rgm@gnu.org>
1706
b2096d72
GM
1707 * textmodes/bibtex.el:
1708 Add missing :version tags for new/changed defcustoms.
1709
b011fbfe
GM
1710 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1711
4c7e65bf
LI
17122012-02-09 Lars Ingebrigtsen <larsi@rusty>
1713
1714 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1715 (smtpmail-via-smtp): Use it, or fall back on the From address.
1716 (smtpmail-send-it): Ditto.
1717
f3934f6f
SM
17182012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1719
1720 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1721 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1722 (byte-compile-tmp-var): New const.
1723 (byte-compile-defvar): Use it to minimize .elc size.
1724 Just use `defvar' rather than simulate it (bug#10761).
1725
a075a2c5
GM
17262012-02-09 Glenn Morris <rgm@gnu.org>
1727
cf3aa21b
GM
1728 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1729
354998cd
GM
1730 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1731 Add :version tags.
1732
dc9924b8
SM
1733 * progmodes/compile.el (compilation-error-screen-columns)
1734 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 1735
dab3703d
GM
1736 * vc/log-view.el (log-view-toggle-entry-display):
1737 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1738
3f88cd72
GM
1739 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1740 (report-emacs-bug-can-use-xdg-email):
1741 (report-emacs-bug-insert-to-mailer): Doc fixes.
1742 (report-emacs-bug): Message fix.
1743
d95b247d
GM
1744 * net/browse-url.el (browse-url-can-use-xdg-open)
1745 (browse-url-xdg-open): Doc fixes.
1746
a075a2c5
GM
1747 * electric.el (electric-indent-mode, electric-pair-mode)
1748 (electric-layout-rules, electric-layout-mode): Doc fixes.
1749 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1750
ffb6157e
MR
17512012-02-08 Martin Rudalics <rudalics@gmx.at>
1752
1753 * server.el (server-unselect-display): Don't inadvertently kill
1754 the current buffer. (Bug#10729)
1755
e1ac4066
GM
17562012-02-08 Glenn Morris <rgm@gnu.org>
1757
34e8a2da
GM
1758 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1759 (sql-list-table): Doc fixes.
1760
b4ac6e8c
GM
1761 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1762 Comment out (does nothing).
1763
e1ac4066
GM
1764 * completion.el (dynamic-completion-mode):
1765 * dirtrack.el (dirtrack-debug-mode):
1766 * electric.el (electric-layout-mode):
1767 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1768 * face-remap.el (text-scale-mode, buffer-face-mode):
1769 * iimage.el (iimage-mode):
1770 * image-mode.el (image-transform-mode):
1771 * minibuffer.el (completion-in-region-mode):
1772 * scroll-lock.el (scroll-lock-mode):
1773 * simple.el (next-error-follow-minor-mode):
1774 * tar-mode.el (tar-subfile-mode):
1775 * tooltip.el (tooltip-mode):
1776 * vcursor.el (vcursor-use-vcursor-map):
1777 * wid-browse.el (widget-minor-mode):
1778 * emulation/tpu-edt.el (tpu-edt-mode):
1779 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1780 * international/iso-ascii.el (iso-ascii-mode):
1781 * language/thai-util.el (thai-word-mode):
1782 * mail/supercite.el (sc-minor-mode):
1783 * net/goto-addr.el (goto-address-mode):
1784 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1785 * progmodes/cwarn.el (cwarn-mode):
1786 * progmodes/flymake.el (flymake-mode):
1787 * progmodes/glasses.el (glasses-mode):
1788 * progmodes/hideshow.el (hs-minor-mode):
1789 * progmodes/pascal.el (pascal-outline-mode):
1790 * textmodes/enriched.el (enriched-mode):
1791 * vc/smerge-mode.el (smerge-mode):
1792 Doc fixes (minor mode argument).
1793
5e0d957f
EZ
17942012-02-07 Eli Zaretskii <eliz@gnu.org>
1795
1796 * ls-lisp.el (ls-lisp-sanitize): New function.
1797 (ls-lisp-insert-directory): Use it to fix or remove any elements
1798 in file-alist with missing attributes. (Bug#4673)
1799
98d7371e
AM
18002012-02-07 Alan Mackenzie <acm@muc.de>
1801
1802 Fix spurious recognition of c-in-knr-argdecl.
1803
1804 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1805 putative K&R region.
1806
667ced3a
AM
18072012-02-07 Alan Mackenzie <acm@muc.de>
1808
eb864a71
LM
1809 * progmodes/cc-engine.el (c-forward-objc-directive):
1810 Prevent looping in "#pragma mark @implementation".
667ced3a 1811
5b77774d
MA
18122012-02-07 Michael Albinus <michael.albinus@gmx.de>
1813
1814 * notifications.el (notifications-on-closed-signal): Make `reason'
1815 optional. (Bug#10744)
1816
af008560
GM
18172012-02-07 Glenn Morris <rgm@gnu.org>
1818
60d47423
GM
1819 * emacs-lisp/easy-mmode.el (define-minor-mode):
1820 Doc fixes for the macro and the mode it defines.
1821
dd605cc4
GM
1822 * image.el (imagemagick-types-inhibit): Doc fix.
1823
af008560
GM
1824 * cus-start.el (imagemagick-render-type): Add it.
1825
5cc59a37
LI
18262012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1827
1828 * progmodes/cc-mode.el
1829 (c-standard-font-lock-fontify-region-function): Set the default at
1830 load time, too, so that `font-lock-fontify-buffer' can be called
1831 without setting up the entire mode first. This fixes a bug in
1832 `mm-inline-text' with C MIME parts.
1833
9a6dd747
CY
18342012-02-06 Chong Yidong <cyd@gnu.org>
1835
2d16b285
CY
1836 * simple.el (list-processes--refresh): Delete exited processes
1837 (Bug#8094).
1838
171e9b6e
CY
1839 * comint.el (comint-next-prompt): next-single-char-property-change
1840 and prev-single-char-property-change never return nil (Bug#8657).
1841
9a6dd747
CY
1842 * custom.el (defcustom): Doc fix (Bug#9711).
1843
aa4589a7
CY
18442012-02-05 Chong Yidong <cyd@gnu.org>
1845
5c2a252f
CY
1846 * cus-edit.el (custom-variable-reset-backup): Quote the value
1847 before storing it in the customized-value property (Bug#6712).
4aab9006 1848 (custom-display): Add a customization type tag.
983b9602 1849 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 1850
aa4589a7
CY
1851 * wid-edit.el (widget-field-value-get): New optional arg to
1852 suppress trailing whitespace truncation.
1853 (character): Use it (Bug#2689).
1854
1ff980ae
AS
18552012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1856
1857 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1858 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1859
03988c98
CY
18602012-02-05 Chong Yidong <cyd@gnu.org>
1861
eeb6cc88
CY
1862 * cus-edit.el (custom-variable-value-create): For mismatched
1863 types, show the current value (Bug#7600).
1864
03988c98
CY
1865 * custom.el (defcustom): Doc fix.
1866
f8cdeef0
GM
18672012-02-05 Glenn Morris <rgm@gnu.org>
1868
1869 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1870
0696d255
JB
18712012-02-05 Juanma Barranquero <lekktu@gmail.com>
1872
1873 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1874 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1875 (pp-last-sexp): Use `looking-at-p'.
1876
34c99998
GM
18772012-02-04 Glenn Morris <rgm@gnu.org>
1878
8f05da42
GM
1879 * files.el (revert-buffer):
1880 Doc fix (mention revert-buffer-in-progress-p).
1881
f160676e
GM
1882 * emacs-lisp/ert-x.el (ert-simulate-command):
1883 Check deferred-action-list (which is obsolete) is bound.
1884
c7291ad9
GM
1885 * subr.el (with-wrapper-hook): Doc fixes.
1886
34c99998
GM
1887 * simple.el (filter-buffer-substring-functions)
1888 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1889
6283a7d3
LL
18902012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1891
1892 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1893 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1894
e96e3013
LL
18952012-02-04 Leo Liu <sdl.web@gmail.com>
1896
1897 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1898
8ded50f2
GM
18992012-02-04 Glenn Morris <rgm@gnu.org>
1900
82ff1d13
GM
1901 * image.el (image-extension-data): Add obsolete alias.
1902
987a0a16
GM
1903 * isearch.el (isearch-update): Doc fix.
1904
ea32ef46
GM
1905 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1906
8ded50f2
GM
1907 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1908
eea14f31
GM
19092012-02-03 Glenn Morris <rgm@gnu.org>
1910
1911 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1912 (image-animate-timeout): Doc fix.
1913
1914 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1915
12f381b7
GM
19162012-02-02 Glenn Morris <rgm@gnu.org>
1917
953cebf5
GM
1918 * server.el (server-auth-dir): Doc fix.
1919 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1920
12f381b7
GM
1921 * subr.el (run-mode-hooks): Doc fix.
1922
953a8c3b
JL
19232012-02-02 Juri Linkov <juri@jurta.org>
1924
1925 * image-mode.el (image-toggle-display-image): Remove tautological
1926 `major-mode' from the `derived-mode-p' test.
1927
c5d3843c
KH
19282012-02-02 Kenichi Handa <handa@m17n.org>
1929
9f6e692e 1930 * composite.el (compose-region): Cancel previous change.
c5d3843c 1931
159462d4 19322012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
1933
1934 * composite.el (compose-region, compose-string): Signal error for
1935 a null string component (Bug#6988).
1936
9f562668
CY
19372012-02-01 Chong Yidong <cyd@gnu.org>
1938
e2cef717
CY
1939 * view.el (view-buffer-other-window, view-buffer-other-frame):
1940 Handle special modes like view-buffer (Bug#10650).
1941 (view-buffer): Simplify.
1942
9f562668
CY
1943 * frame.el (set-frame-font): Tweak meaning of third argument.
1944
9f6e692e
JB
1945 * dynamic-setting.el (font-setting-change-default-font):
1946 Use set-frame-font (Bug#9982).
9f562668 1947
781acb9f
GM
19482012-02-01 Glenn Morris <rgm@gnu.org>
1949
6035be52
GM
1950 * progmodes/compile.el (compilation-internal-error-properties):
1951 Respect compilation-first-column in the "*compilation*" buffer.
1952
781acb9f
GM
1953 * emacs-lisp/easy-mmode.el (define-minor-mode):
1954 Relax :variable's test for a named function.
1955
abbceb00
AM
19562012-01-31 Alan Mackenzie <acm@muc.de>
1957
1958 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1959 off by one error.
1960
fce3fdeb
CY
19612012-01-31 Chong Yidong <cyd@gnu.org>
1962
1963 * frame.el (set-frame-font): New arg ALL-FRAMES.
1964
1965 * menu-bar.el (menu-set-font): Use set-frame-font.
1966
1967 * faces.el (face-spec-reset-face): Don't apply unspecified
1968 attribute values to the default face.
1969
47893581
JB
19702012-01-31 Juanma Barranquero <lekktu@gmail.com>
1971
1972 * progmodes/cwarn.el (cwarn): Remove dead link.
1973 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1974 Remove * from defcustom docstrings.
1975 (turn-on-cwarn-mode): Make obsolete.
1976 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1977 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1978
e58e988a
GM
19792012-01-31 Glenn Morris <rgm@gnu.org>
1980
60dc2671 1981 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 1982 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 1983 Allow named functions to be used as the cdr of :variable.
e58e988a 1984
7a3f511d
GM
19852012-01-30 Glenn Morris <rgm@gnu.org>
1986
1987 * emacs-lisp/authors.el (authors-fixed-entries):
1988 Remove reference to deleted file rnewspost.el.
1989
cb882333
JB
19902012-01-29 Juanma Barranquero <lekktu@gmail.com>
1991
1992 * window.el (window-with-parameter): Remove unused variable `windows'.
1993 (window--side-check): Remove unused variable `code'.
1994 (window--resize-siblings): Remove unused variable `first'.
1995 (adjust-window-trailing-edge): Remove unused variable `failed'.
1996 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1997 Use `let', not `let*'.
1998 (balance-windows-2): Remove unused variable `found'.
1999 (window--state-put-2): Remove unused variable `splits'.
2000 (window-state-put): Remove unused variable `selected'.
2001 (same-window-p): Use `string-match-p'.
2002 (display-buffer-assq-regexp): Remove unused variable `value'.
2003 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2004 Mark argument ALIST as ignored.
2005 (pop-to-buffer): Remove unused variable `old-window'.
2006
907201af
EZ
20072012-01-29 Eli Zaretskii <eliz@gnu.org>
2008
2009 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2010 and .lzma compressed files.
2011
ea162670
CY
20122012-01-29 Chong Yidong <cyd@gnu.org>
2013
5b95ee8a
CY
2014 * frame.el (window-system-default-frame-alist): Doc fix.
2015
ea162670
CY
2016 * dynamic-setting.el (font-setting-change-default-font): Don't
2017 change the default face if SET-FONT argument is non-nil (Bug#9982).
2018
d6e6f4b1
SB
20192012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2020
2021 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2022
0f29fa41 20232012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
2024
2025 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2026 breakpoints in files outside current directory (Bug#6098).
2027
db174434
CY
20282012-01-29 Chong Yidong <cyd@gnu.org>
2029
6b25e4e2
SE
2030 * progmodes/python.el: Require ansi-color at top-level.
2031
6df6ae42
JB
2032 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2033 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
2034 (lisp-mode-abbrev-table): Add doc.
2035 (lisp-mode-variables): Don't set local-abbrev-table.
2036 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2037
e70ee681
RW
20382012-01-28 Roland Winkler <winkler@gnu.org>
2039
2040 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2041
ace88aa2
RW
20422012-01-28 Roland Winkler <winkler@gnu.org>
2043
2044 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2045 (bibtex-set-dialect): Use it. Either set global values of
2046 dialect-dependent variables or bind these variables buffer-locally
2047 (Bug#10254).
2048 (bibtex-mode): Call bibtex-set-dialect via
2049 hack-local-variables-hook.
eb864a71
LM
2050 (bibtex-dialect): Update docstring.
2051 Add safe-local-variable predicate.
ace88aa2
RW
2052 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2053 bibtex-set-dialect.
2054 (bibtex-mode-map): Define menu for each dialect.
2055 (bibtex-entry): Fix docstring.
2056
93376c5b
CY
20572012-01-28 Chong Yidong <cyd@gnu.org>
2058
2059 * eshell/esh-arg.el (eshell-quote-argument): New function.
2060
2061 * eshell/esh-ext.el (eshell-invoke-batch-file):
2062 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2063 first arg to eshell-parse-command (Bug#10523).
2064
4372494f
DA
20652012-01-28 Drew Adams <drew.adams@oracle.com>
2066
2067 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2068 `default-directory' is non-nil.
2069
4d4ec1f8
EZ
20702012-01-28 Eli Zaretskii <eliz@gnu.org>
2071
2072 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2073 line that displays system-configuration-options. (Bug#9924)
2074
7c188927
DA
20752012-01-28 Drew Adams <drew.adams@oracle.com>
2076
2077 * descr-text.el (describe-char): Show information about POS, in
2078 addition to information about the character at POS. Improve and
2079 update the doc string. Change "code point" to "code point in
2080 charset", to avoid confusion with the character's Unicode code
2081 point shown above that. (Bug#10129)
2082
e0da685a
EZ
20832012-01-28 Eli Zaretskii <eliz@gnu.org>
2084
2085 * descr-text.el (describe-char): Show the raw character, not only
2086 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2087 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2088 for the reasons.
2089
70550acf
PH
20902012-01-28 Phil Hagelberg <phil@hagelb.org>
2091
eb864a71
LM
2092 * emacs-lisp/package.el (package-install):
2093 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 2094
0ce8e868
CY
20952012-01-28 Chong Yidong <cyd@gnu.org>
2096
cb882333
JB
2097 * emacs-lisp/package.el (package-maybe-load-descriptor):
2098 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
2099 (package-maybe-load-descriptor): Use it.
2100 (package-download-transaction): Fully load required packages
2101 inside the loop, so that `require' calls work (Bug#10593).
2102 (package-install): No need to call package-initialize now.
2103
2e7f3bea
CY
21042012-01-28 Chong Yidong <cyd@gnu.org>
2105
6e9bad14
CY
2106 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2107
f823b8ca
CY
2108 * tooltip.el (tooltip-mode): Doc fix.
2109 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2110
2680c309
CY
2111 * frame.el (set-cursor-color): Doc fix (Bug#352).
2112
d7a9e63b
CY
2113 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2114 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2115
2e7f3bea
CY
2116 * cus-edit.el (custom-buffer-create-internal): Fix search button
2117 action (Bug#10542).
2ae01800 2118 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 2119
fc4f7a23
EW
21202012-01-27 Eduard Wiebe <usenet@pusto.de>
2121
2122 * dired.el (dired-mark-files-regexp):
2123 Include any subdirectory components. (Bug#10445)
2124
7dd37071
ML
21252012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2126
2127 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2128 Handle [host]:port syntax. (Bug#10533)
2129
a268160b
AH
21302012-01-27 Alex Harsanyi <harsanyi@mac.com>
2131
2132 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2133
e43273ef
GM
21342012-01-26 Glenn Morris <rgm@gnu.org>
2135
2136 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2137 * term.el (term-raw-escape-map): Use Control-X-prefix.
2138 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2139
1edf595d
MR
21402012-01-25 Martin Rudalics <rudalics@gmx.at>
2141
2142 * window.el (window-state-get, window--state-get-1): Don't deal
2143 with fixed-sizeness of windows. Simplify code.
2144
fa8eafef
JC
21452012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2146
6df6ae42
JB
2147 * window.el (window--state-get-1, window--state-put-2):
2148 Don't save and restore the mark.
fa8eafef 2149
0b21c100
CY
21502012-01-25 Chong Yidong <cyd@gnu.org>
2151
2152 * custom.el (custom-variable-p): Doc fix.
2153
5ae1a6c8
GM
21542012-01-25 Glenn Morris <rgm@gnu.org>
2155
40047858
GM
2156 * dired.el (dired-goto-file): Handle some of the more common
2157 characters that `ls -b' escapes. (Bug#10596)
2158
5ddce96c
GM
2159 * progmodes/compile.el (compilation-next-error-function):
2160 Respect compilation-first-column in the "*compilation*" buffer.
2161 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2162
5ae1a6c8
GM
2163 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2164
b559f1a9
GM
21652012-01-24 Glenn Morris <rgm@gnu.org>
2166
2167 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2168
6725d21a
JD
21692012-01-24 Julien Danjou <julien@danjou.info>
2170
2171 * color.el (color-rgb-to-hsl): Fix value computing.
2172 (color-hue-to-rgb): New function.
2173 (color-hsl-to-rgb): New function.
2174 (color-clamp, color-saturate-hsl, color-saturate-name)
2175 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2176 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2177
70df4bbe
GM
21782012-01-24 Glenn Morris <rgm@gnu.org>
2179
2180 * vc/vc-rcs.el (vc-rcs-create-tag):
2181 * vc/vc-sccs.el (vc-sccs-create-tag):
2182 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2183
802a2ae2
ML
21842012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2185
2186 * eshell/esh-util.el (eshell-read-hosts-file):
2187 Skip comment lines. (Bug#10549)
2188
d7128bb1
ML
2189 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2190
d1a5c3b4
JB
21912012-01-23 Juanma Barranquero <lekktu@gmail.com>
2192
2724d9c7
JB
2193 * subr.el (display-delayed-warnings): Doc fix.
2194 (collapse-delayed-warnings): New function to collapse identical
2195 adjacent warnings.
2196 (delayed-warnings-hook): Add it.
d1a5c3b4 2197
a5509865
MA
21982012-01-22 Michael Albinus <michael.albinus@gmx.de>
2199
2200 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2201
2202 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2203 properties, when "login-as" is set.
2204
2205 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2206 (tramp-default-user-alist): Don't add "pscp".
2207 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2208 property "login-as", if set. (Bug#10530)
2209
cc6d5805
MA
22102012-01-21 Michael Albinus <michael.albinus@gmx.de>
2211
2212 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2213 "plink1" and "psftp". (Bug#10530)
2214
22152012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
2216
2217 * international/mule-cmds.el (prefer-coding-system): Show a
2218 warning message if the default value of file-name-coding-system
2219 was not changed.
2220
f0960428
JC
22212012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2222
cb882333
JB
2223 * windmove.el (windmove-reference-loc):
2224 Fix windmove-reference-loc miscalculation.
f0960428 2225
dd6f2a63
JB
22262012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2227
2228 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2229 default unit.
2230
7b447e9b
GM
22312012-01-21 Glenn Morris <rgm@gnu.org>
2232
117a9ea1
GM
2233 * international/mule.el (auto-coding-alist): Add .tbz.
2234
7b447e9b
GM
2235 * files.el (local-enable-local-variables): Doc fix.
2236 (inhibit-local-variables-regexps): Rename from
2237 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
2238 Doc fix. Add some extensions from auto-coding-alist.
2239 (inhibit-local-variables-suffixes):
2240 Rename from inhibit-first-line-modes-suffixes. Doc fix.
2241 (inhibit-local-variables-p):
2242 New function, extracted from set-auto-mode-1.
2243 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
2244 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
2245 (hack-local-variables): Doc fix. Make the mode-only case
2246 respect enable-local-variables and friends.
2247 Respect inhibit-local-variables-regexps for file-locals, but
2248 not for directory-locals.
2249 (set-visited-file-name):
2250 Take account of inhibit-local-variables-regexps.
2251 Whether it applies may change as the file name is changed.
2252 * jka-cmpr-hook.el (jka-compr-install):
2253 * jka-compr.el (jka-compr-uninstall):
2254 Update for inhibit-first-line-modes-suffixes name change.
2255
dd6e3cdd
MR
22562012-01-20 Martin Rudalics <rudalics@gmx.at>
2257
2258 * help-macro.el (make-help-screen): Temporarily restore original
2259 binding for minor-mode-map-alist (Bug#10454).
2260
0d0deb38
JD
22612012-01-19 Julien Danjou <julien@danjou.info>
2262
2263 * color.el (color-name-to-rgb): Use the white color to find the max
2264 color component value and return correctly computed values.
2265 (color-name-to-rgb): Add missing float conversion for max value.
2266
34a02f46
MR
22672012-01-19 Martin Rudalics <rudalics@gmx.at>
2268
2269 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
2270 special state value for window-persistent-parameters.
2271 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
2272 (window--state-put-2): Reset all window parameters to nil before
2273 assigning values of persistent parameters.
2274
606c44c4
AM
22752012-01-18 Alan Mackenzie <acm@muc.de>
2276
2277 Eliminate sluggishness and hangs in fontification of "semicolon
2278 deserts".
2279
cb882333
JB
2280 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2281 Change value 10000 -> 3000.
606c44c4
AM
2282 (c-state-safe-place): Reformulate so it doesn't stack up an
2283 infinite number of wrong entries in c-state-nonlit-pos-cache.
2284 (c-determine-limit-get-base, c-determine-limit): New functions to
2285 determine backward search limits disregarding literals.
2286 (c-find-decl-spots): Amend commenting.
2287 (c-cheap-inside-bracelist-p): New function which detects "={".
2288
2289 * progmodes/cc-fonts.el
2290 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2291 backward search.
2292 (c-font-lock-declarations): Fix an occurrence of point being
2293 undefined. Check additionally for point being in a bracelist or
2294 near a macro invocation without a semicolon so as to avoid a
2295 fruitless time consuming search for a declarator. Give a more
2296 precise search limit for declarators using the new
2297 c-determine-limit.
2298
f3860cea
GM
22992012-01-18 Glenn Morris <rgm@gnu.org>
2300
2301 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2302 (set-auto-mode): Doc fixes.
2303
1db03b16
GM
23042012-01-17 Glenn Morris <rgm@gnu.org>
2305
0e6038be
GM
2306 * isearch.el (search-nonincremental-instead): Fix doc typo.
2307
1db03b16
GM
2308 * dired.el (dired-insert-directory): Handle newlines in directory name.
2309 (dired-build-subdir-alist): Unescape newlines in directory name.
2310
4cb0aa75
MA
23112012-01-17 Michael Albinus <michael.albinus@gmx.de>
2312
2313 * net/tramp.el (tramp-local-end-of-line): New defcustom.
2314 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2315 (tramp-action-terminal): Use it. (Bug#10530)
2316
1d00653d
SM
23172012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2318
2319 * minibuffer.el (completion--replace): Strip properties (bug#10062).
2320
6a6ee00d
MR
23212012-01-16 Martin Rudalics <rudalics@gmx.at>
2322
2323 * window.el (window-state-ignored-parameters): Remove variable.
2324 (window--state-get-1): Rename argument MARKERS to IGNORE.
2325 Handle persistent window parameters. Make copy of clone-of
2326 parameter only if requested. (Bug#10348)
2327 (window--state-put-2): Install a window parameter only if it has
2328 a non-nil value or an existing parameter shall be overwritten.
2329
97912def
MA
23302012-01-15 Michael Albinus <michael.albinus@gmx.de>
2331
2332 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2333
688070a5
EZ
23342012-01-14 Eli Zaretskii <eliz@gnu.org>
2335
2336 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2337 don't pass the (nil) value of `upnode' to string-match.
2338
301afadc
CY
23392012-01-14 Chong Yidong <cyd@gnu.org>
2340
2341 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 2342 Fix values recognized by the cursorBlink resource.
301afadc 2343
9e5788aa
PE
23442012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2345
2346 * epg.el (epg--make-temp-file): Avoid permission race condition
2347 when running on old Emacs versions (bug#10403).
2348
3cdb7f5a
GM
23492012-01-14 Glenn Morris <rgm@gnu.org>
2350
2351 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2352
8c82b1b4
AM
23532012-01-13 Alan Mackenzie <acm@muc.de>
2354
2355 Fix filling for when filladapt mode is enabled.
2356
2357 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2358 c-mask-paragraph, pass in `fill-paragraph' rather than
2359 `fill-region-as-paragraph'. (This is a reversion of a previous
2360 change.)
eb864a71
LM
2361 * progmodes/cc-mode.el (c-basic-common-init):
2362 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 2363
e517eda4
GM
23642012-01-13 Glenn Morris <rgm@gnu.org>
2365
1498536e
GM
2366 * dired.el (dired-switches-escape-p): New function.
2367 (dired-insert-directory): Use dired-switches-escape-p.
2368 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2369
e517eda4
GM
2370 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2371
328f984d
GM
23722012-01-12 Glenn Morris <rgm@gnu.org>
2373
2374 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2375 changes in adaptive-fill-regexp. (Bug#10276)
2376
2cc769a8
AM
23772012-01-11 Alan Mackenzie <acm@muc.de>
2378
2379 Fix Emacs bug #10463 - put `widen's around the critical spots.
2380
1d00653d 2381 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
2382 widen around each invocation of c-state-pp-to-literal. Remove an
2383 unused let variable.
2384
e52c37fa
GM
23852012-01-11 Glenn Morris <rgm@gnu.org>
2386
2387 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 2388 Doc fix.
e52c37fa 2389
96f8741e
CY
23902012-01-10 Chong Yidong <cyd@gnu.org>
2391
1d00653d
SM
2392 * net/network-stream.el (network-stream-open-starttls):
2393 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
2394 response to the capability command.
2395
b09a806e
GM
23962012-01-10 Glenn Morris <rgm@gnu.org>
2397
2398 * mail/unrmail.el (unrmail): Tweak previous change.
2399
7655cb66
CY
24002012-01-09 Chong Yidong <cyd@gnu.org>
2401
2402 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2403
9d5a8f0b
AM
24042012-01-08 Alan Mackenzie <acm@muc.de>
2405
2406 Optimise font locking in long enum definitions.
2407
2408 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2409 arm to a cond form to handle enums.
2410 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2411 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2412
9a0115ab 24132012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
2414
2415 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 2416 (Bug#10401)
6bb72cbd 2417
f186bb95
LMI
24182012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2419
29232a68
LMI
2420 * faces.el (set-face-attribute): Clarify the meaning of the nil
2421 frame (bug#10294).
2422
4e5d086d
LMI
2423 * subr.el (with-selected-frame): Mention that the selected frame
2424 is restored (bug#9980).
2425
8e66aebe
LMI
2426 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2427 (bug#9759).
2428
cd394be1 2429 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
2430 (password-read): Don't autoload unused function.
2431
adf4e762
JB
24322012-01-07 Juanma Barranquero <lekktu@gmail.com>
2433
2434 * progmodes/which-func.el (which-func-mode): Turn into a
2435 non-interactive function and mark as obsolete (bug#10428).
2436
89bd9ccd
CY
24372012-01-06 Chong Yidong <cyd@gnu.org>
2438
2439 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2440 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2441 functions, along with 1 and -1.
2442
4afee9d5
EZ
24432012-01-06 Eli Zaretskii <eliz@gnu.org>
2444
2445 * time.el (display-time-load-average)
2446 (display-time-default-load-average): Doc fixes. See the thread
2447 starting at
2448 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2449 for the details.
2450
536aea70
GM
24512012-01-06 Glenn Morris <rgm@gnu.org>
2452
665ae865
GM
2453 * mail/unrmail.el (unrmail): Give an explicit error if the input file
2454 has no messages. (Bug#10377)
2455
c869783d
GM
2456 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2457 than Info-edit. (Bug#10385)
2458
2bb4227e
GM
2459 * time.el (display-time-load-average, display-time-next-load-average):
2460 Doc fixes.
2461
7d5944b9
GM
2462 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2463 local setting of buffer-read-only to the input buffer. (Bug#10419)
2464
536aea70
GM
2465 * calendar/calendar.el (calendar-mode):
2466 Locally set scroll-margin to 0. (Bug#10379)
2467
7dccca16
UM
24682012-01-06 Ulrich Mueller <ulm@gentoo.org>
2469
2470 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
2471
afbb7930
GM
24722012-01-05 Glenn Morris <rgm@gnu.org>
2473
2474 * eshell/em-unix.el (diff-no-select): Autoload it.
2475 (eshell/diff): Use diff-no-select. (Bug#10420)
2476
04482335
CY
24772012-01-05 Chong Yidong <cyd@gnu.org>
2478
7baca3bc
CY
2479 * shell.el (shell-dynamic-complete-functions): Revert last change.
2480 (shell-command-completion-function): New function.
2481 (shell-completion-vars): Use it to implement
2482 shell-completion-execonly (Bug#10417).
2483
04482335
CY
2484 * custom.el (enable-theme): Don't set custom-safe-themes.
2485
1d00653d
SM
2486 * cus-theme.el (custom-theme-merge-theme):
2487 Ignore custom-enabled-themes and custom-safe-themes.
04482335 2488
bb5aa5d6
MM
24892012-01-05 Michael R. Mauger <mmaug@yahoo.com>
2490
2491 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2492 first prompt in `sql-interacive-mode'.
2493 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 2494 keywords.
6df6ae42 2495 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
2496 (sql-product-interactive): Bug fix: Set `sql-buffer' in
2497 context of original buffer. Invoke `sql-login-hook'.
2498
a7183d7c
EZ
24992012-01-04 Eli Zaretskii <eliz@gnu.org>
2500
2501 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2502 letters in cite-prefix.
2503
a1eacd1e
LMI
25042012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2505
2506 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2507
787cdb34
CY
25082012-01-03 Chong Yidong <cyd@gnu.org>
2509
1d00653d
SM
2510 * shell.el (shell-dynamic-complete-functions):
2511 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
2512 comint-filename-completion first (Bug#10417).
2513
30710442
RS
25142012-01-02 Richard Stallman <rms@gnu.org>
2515
2516 * battery.el (battery-status-function):
2517 Detect when to use battery-yeeloong-sysfs.
2518 (battery-echo-area-format): Add string for Yeeloong.
2519 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2520 (battery-yeeloong-sysfs): New function.
2521
f75bfc33
CY
25222012-01-02 Chong Yidong <cyd@gnu.org>
2523
2524 * dirtrack.el (dirtrack-list): Eliminate unused third element.
2525 (dirtrack): Merge code for handling relative filenames in prompt
2526 from shell-dir-cookie-watcher.
2527 (dirtrack-debug-message): New arg to avoid excess format calls.
2528
2529 * shell.el (shell-dir-cookie-re): Variable deleted.
2530 (shell-dir-cookie-watcher): Function deleted.
2531 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2532 with dirtrack-mode.
2533
651e947e
EZ
25342012-01-01 Eli Zaretskii <eliz@gnu.org>
2535
1d00653d
SM
2536 * term/w32-win.el (dynamic-library-alist) <gnutls>:
2537 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
2538 libgnutls-26.dll.
2539
94d4c7dc
AS
25402011-12-31 Andreas Schwab <schwab@linux-m68k.org>
2541
2542 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2543
8d43f3cd
EZ
25442011-12-31 Eli Zaretskii <eliz@gnu.org>
2545
2546 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2547 headers of non-MIME messages, when rmail-enable-mime is non-nil.
2548
98c8795a
MA
25492011-12-29 Michael Albinus <michael.albinus@gmx.de>
2550
2551 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2552 also for alternative shells.
2553 (tramp-open-connection-setup-interactive-shell): Check, whether
2554 the shell is a busybox.
2555 (tramp-send-command): Don't suppress multiple prompts for
2556 busyboxes, it hurts.
2557
51281b32
CY
25582011-12-28 Chong Yidong <cyd@gnu.org>
2559
2560 * progmodes/gdb-mi.el (gdb-get-source-file-list)
2561 (gdb-get-source-file): Move mode line update to
2562 gdb-get-source-file (Bug#10087).
2563
2170cb53
CY
25642011-12-25 Chong Yidong <cyd@gnu.org>
2565
2566 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2567 gud-gdb-marker-filter without taking it as an argument.
2568 (gud-gdb-run-command-fetch-lines): Caller changed.
2569 (gud-gdb-completion-function): New variable.
2570 (gud-gdb-completion-at-point): Use it.
2571 (gud-gdb-completions-1): Split from gud-gdb-completions.
2572
2573 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2574 function as separate arguments.
2575 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2576 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2577 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2578 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2579 (gdb-stopped, def-gdb-auto-update-trigger)
2580 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
2581 (gdb-get-changed-registers, gdb-get-main-selected-frame):
2582 Callers changed.
2170cb53
CY
2583 (gud-gdbmi-completions): New function.
2584 (gdb): Use it for generating the completion table.
2585
be8b11bb
AM
25862011-12-24 Alan Mackenzie <acm@muc.de>
2587
2588 Introduce a mechanism to widen the region used in context font
1d00653d 2589 locking. Use this to protect declarations from losing their contexts.
be8b11bb 2590
1d00653d
SM
2591 * progmodes/cc-langs.el (c-before-font-lock-functions):
2592 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 2593 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
2594 functions to be run just before context (etc.) font locking.
2595
2596 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 2597 New, functionality extracted from
be8b11bb 2598 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 2599 (c-in-after-change-fontification): New variable.
be8b11bb
AM
2600 (c-after-change): Set c-in-after-change-fontification.
2601 (c-set-fl-decl-start): Rejig its interface, so it can be called
2602 from both after-change and context fontifying.
b81d40f0
JB
2603 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2604 New functions.
2605 (c-standard-font-lock-fontify-region-function): New variable.
2606 (c-font-lock-fontify-region): New function.
be8b11bb 2607
341cf6ac
JL
26082011-12-24 Juri Linkov <juri@jurta.org>
2609
2610 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2611 (Bug#10348)
2612
bffcee0a
MA
26132011-12-23 Michael Albinus <michael.albinus@gmx.de>
2614
2615 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2616 existence of source file. (Bug#10325)
2617
cb5e207c
AM
26182011-12-23 Alan Mackenzie <acm@muc.de>
2619
2620 Fix unstable fontification inside templates.
2621
b81d40f0
JB
2622 * progmodes/cc-langs.el (c-before-font-lock-functions):
2623 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
2624 additionally has c-set-fl-decl-start. The other languages (apart
2625 from AWK) have that as a single entry.
2626
b81d40f0
JB
2627 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2628 The functionality for "local" declarations has been extracted to
cb5e207c
AM
2629 c-set-fl-decl-start.
2630
b81d40f0
JB
2631 * progmodes/cc-mode.el (c-common-init, c-after-change):
2632 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
2633 (c-set-fl-decl-start): New function, extracted from
2634 c-font-lock-enclosing-decls and enhanced.
2635
60ff536c
JB
26362011-12-23 Juanma Barranquero <lekktu@gmail.com>
2637
2638 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2639
1c4757d6
JL
26402011-12-22 Juri Linkov <juri@jurta.org>
2641
2642 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
2643
d031f2c7
CY
26442011-12-22 Chong Yidong <cyd@gnu.org>
2645
2646 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2647
bace743a
DA
26482011-12-21 Drew Adams <drew.adams@oracle.com>
2649
2650 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2651
728a1f2b
JC
26522011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2653
2654 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2655
0d373f73
TZ
26562011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2657
fec0aaa4
TZ
2658 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2659 highlighting and support. Fix up comments for capitalization.
2660 (cfengine-mode-debug): New var.
2661 (cfengine3-mode): Change the modeline indicator to "CFE3".
2662 (cfengine3-font-lock-keywords): Improve defun highlighting.
2663 (cfengine2-actions): Rename from `cfengine-actions'.
2664 (cfengine2-font-lock-keywords): Rename from
2665 `cfengine-font-lock-keywords'.
2666 (cfengine2-imenu-expression): Rename from
2667 `cfengine-imenu-expression'.
2668 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2669 (cfengine2-beginning-of-defun): Rename from
2670 `cfengine-beginning-of-defun'.
2671 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2672 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2673 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2674 modeline indicator to "CFE2".
2675 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2676 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 2677
bc86f573
CY
26782011-12-21 Chong Yidong <cyd@gnu.org>
2679
2680 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2681 filename argument.
2682
d45ba96b
MR
26832011-12-20 Martin Rudalics <rudalics@gmx.at>
2684
2685 * window.el (window-normalize-buffer-to-display): Remove.
2686 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2687
a6198c90
CY
26882011-12-19 Chong Yidong <cyd@gnu.org>
2689
2690 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2691 Don't signal an error in a predicate function; return non-nil.
2692 (vc-dir-mark-file): Move the error here.
2693 (vc-dir-mark-unmark): If acting on the region, keep going if one
2694 of the entries cannot be marked/unmarked.
2695 (vc-dir-mark-all-files): If current entry is a directory, mark
2696 only child files, as documented.
2697
34c5fb55
VB
26982011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2699
2700 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2701 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2702 addition.
2703
c803b2b7
JD
27042011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2705
2706 * term/ns-win.el (ns-get-selection-internal)
2707 (ns-store-selection-internal): Declare.
1154d12e
JB
2708 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2709 Declare as obsolete.
2710 (ns-get-pasteboard, ns-paste-secondary):
2711 Use ns-get-selection-internal.
2712 (ns-set-pasteboard, ns-copy-including-secondary):
2713 Use ns-store-selection-internal.
c803b2b7 2714
9cff91f8 27152011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
2716
2717 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 2718 (vc-deduce-fileset): Doc fix.
99a289d9 2719
f16c898a
AS
27202011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2721
2722 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2723
763237c4
SS
27242011-12-13 Sam Steingold <sds@gnu.org>
2725
2726 * man.el (Man-getpage-in-background): When running under a
2727 window-system, ignore $MANWIDTH and $COLUMNS.
2728
5fc1c122
KH
27292011-12-15 Kenichi Handa <handa@m17n.org>
2730
2731 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2732 (setup-ethiopic-environment-internal): Comment out key-binding for
2733 ethio-toggle-punctuation.
2734
13d49cbb
AM
27352011-12-13 Alan Mackenzie <acm@muc.de>
2736
898169a2
AM
2737 Add the switch statement to AWK Mode.
2738
7a71b18d 2739 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
2740 "default" to the keywords regexp.
2741
7a71b18d 2742 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 2743 expression as the rest.
1d00653d
SM
2744 (c-nonlabel-token-key): Allow string literals for AWK.
2745 Refactor for the other modes.
898169a2 2746
13d49cbb 2747 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 2748 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
2749 routines. Limit backward searching in c-font-lock-enclosing.decl.
2750
2751 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2752 pp-state and literal type in addition to the limits.
1d00653d 2753 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 2754 (c-state-literal-at): Use the above new defun.
1d00653d
SM
2755 (c-slow-in-literal, c-fast-in-literal): Remove.
2756 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
2757
2758 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2759 being in a literal. Add a limit for backward searching.
2760
2761 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2762 c-slow-in-literal.
2763
15e0efc7
SM
27642011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2765
2766 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2767
454592a6
MR
27682011-12-13 Martin Rudalics <rudalics@gmx.at>
2769
2770 * window.el (delete-other-windows): Use correct frame in call to
2771 window-with-parameter.
2772
87393f26
DP
27732011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2774
2775 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2776 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2777 (makefile-gmake-statements, makefile-makepp-statements):
2778 Use it and add new makepp keywords.
2779 (makefile-makepp-font-lock-keywords): Add new patterns.
2780 (makefile-match-function-end): Match new [...] and [[...]].
2781
11636b22
JB
27822011-12-11 Juanma Barranquero <lekktu@gmail.com>
2783
2784 * ses.el (ses-call-printer-return, ses-cell-property-get)
2785 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2786 (ses-create-cell-variable, ses-reset-header-string)
2787 (ses-cell-set-formula, ses-repair-cell-reference-all)
2788 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2789 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2790 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2791 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2792 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2793 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2794 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2795 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2796 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2797 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2798 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2799 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2800
cf018193
VB
28012011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2802
2803 * ses.el: The overall change is to add cell renaming, that is
2804 setting fancy names for cell symbols other than name matching
2805 "\\`[A-Z]+[0-9]+\\'" regexp .
2806 (ses-create-cell-variable): New defun.
2807 (ses-relocate-formula): Relocate formulas only for cells the
2808 symbols of which are not renamed, i.e. symbols whose names do not
2809 match regexp "\\`[A-Z]+[0-9]+\\'".
2810 (ses-relocate-all): Relocate values only for cells the symbols of
2811 which are not renamed.
2812 (ses-load): Create cells variables as the (ses-cell ...) are read,
2813 in order to check row col consistency with cell symbol name only
2814 for cells that are not renamed.
2815 (ses-replace-name-in-formula): New defun.
2816 (ses-rename-cell): New defun.
2817
ee957461
CY
28182011-12-11 Chong Yidong <cyd@gnu.org>
2819
2820 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2821 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2822
9a9e9ef0
MR
28232011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2824
2825 * window.el (other-window): Fix docstring.
2826
92a8eba5
EZ
28272011-12-10 Eli Zaretskii <eliz@gnu.org>
2828
2829 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
2830 `from' or `to' address before taking its substring.
2831 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
2832 encoded name is chopped in the middle of the encoded string, and
2833 thus displayed encoded.
2834
e152e577
JB
28352011-12-10 Juanma Barranquero <lekktu@gmail.com>
2836
2837 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2838
e5d84bfe
EZ
28392011-12-10 Eli Zaretskii <eliz@gnu.org>
2840
2841 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2842 to use texinfo-update-node and commands that call it if the
2843 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 2844 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
2845 (texinfo-all-menus-update, texinfo-master-menu)
2846 (texinfo-update-node, texinfo-every-node-update)
2847 (texinfo-multiple-files-update): Doc fix. Warn against updating
2848 all the @node lines.
2849 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
2850 argument is numeric. Explain better in the doc string what the
2851 function really does.
2852 (texinfo-insert-master-menu-list): Improve the error message
2853 displayed if there's no menu in the Top node.
2854 (Bug#2975) See also this thread:
e5d84bfe
EZ
2855 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2856
1d84e9bb
MG
28572011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2858
2859 * speedbar.el (speedbar-supported-extension-expressions):
2860 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2861
382c953b
JB
28622011-12-09 Juanma Barranquero <lekktu@gmail.com>
2863
2864 * printing.el (pr-mode-alist):
2865 * simple.el (filter-buffer-substring-functions)
2866 (completion-list-insert-choice-function):
2867 * window.el (window-with-parameter, window-atom-root)
2868 (window-sides-slots, window-size-fixed, window-min-delta)
2869 (window-max-delta, window--resize-mini-window)
2870 (window--resize-child-windows-normal, window-tree)
2871 (delete-other-windows, quit-window, split-window)
2872 (display-buffer-record-window, special-display-buffer-names)
2873 (special-display-regexps, special-display-popup-frame)
2874 (same-window-p, split-window-sensibly)
2875 (display-buffer-overriding-action, display-buffer-alist)
2876 (display-buffer-base-action, display-buffer, switch-to-buffer)
2877 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2878 (fit-window-to-buffer, recenter-positions)
2879 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2880 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2881 and remove unneeded backslashes in docstrings.
2882
39c9faef
SM
28832011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2884
98449af8
SM
2885 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2886
39c9faef
SM
2887 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2888 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2889 end in ".mk".
2890 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2891 when reading the makefile (bug#10116).
2892
86ed9fdc
SM
28932011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2894
2895 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2896 (bug#10116).
2897
5580f89d
GM
28982011-12-06 Glenn Morris <rgm@gnu.org>
2899
2900 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2901
28d3917c
CY
29022011-12-06 Chong Yidong <cyd@gnu.org>
2903
2904 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2905
a98edce9
JB
29062011-12-06 Juanma Barranquero <lekktu@gmail.com>
2907
2908 * textmodes/table.el (table-shorten-cell): Fix typo.
2909
e65adfac
CG
29102011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2911
2912 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2913
71cc0b74
EZ
29142011-12-05 Eli Zaretskii <eliz@gnu.org>
2915
2916 * descr-text.el (describe-char): Fix display of strong
2917 right-to-left characters and directional embeddings and overrides.
2918
2919 * simple.el (what-cursor-position): Fix display of codepoints of
2920 strong right-to-left characters.
2921
315bc30d
CY
29222011-12-05 Chong Yidong <cyd@gnu.org>
2923
2924 * faces.el (read-color): Doc fix.
2925
58a70b94
GM
29262011-12-05 Glenn Morris <rgm@gnu.org>
2927
2928 * align.el (align--set-marker): Add doc-string.
2929 Don't try to move something that is not a marker. (Bug#10216)
2930
5158face
GM
29312011-12-04 Glenn Morris <rgm@gnu.org>
2932
2933 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2934 overly zealous deletion of trailing whitespace.
2935
520fca41
JB
29362011-12-04 Juanma Barranquero <lekktu@gmail.com>
2937
2938 * server.el (server-delete-client): On Windows, do not try to delete
2939 the only terminal.
2940 (server-process-filter): On Windows, treat requests for a tty frame as
2941 if they were for a GUI frame if the running server is in GUI mode.
2942
5e605a2e
GM
29432011-12-03 Glenn Morris <rgm@gnu.org>
2944
2945 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2946
5c3fe83f
SM
29472011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2948
6f5e57e7
SM
2949 * electric.el: Streamline electric-indent's hook.
2950 (electric-indent-chars): Revert to simple list.
2951 (electric-indent-functions): New var.
2952 (electric-indent-post-self-insert-function): Use it.
2953
5c3fe83f
SM
2954 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2955 there's no inferior buffer (bug#10196).
2956 (prolog-consult-compile): Don't use toggle-read-only.
2957
6bdac736
MA
29582011-12-02 Michael Albinus <michael.albinus@gmx.de>
2959
2960 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2961 interrupt. (Bug#10187)
2962
6131ba7f
SM
29632011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2964
99c79fee
SM
2965 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2966 (bug#9160).
2967
6131ba7f
SM
2968 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2969 (bug#10191).
2970
cb0a02ea
JL
29712011-12-02 Juri Linkov <juri@jurta.org>
2972
2973 * info.el (Info-search): Display "end of manual" when Isearch
2974 reaches the end of single-file Info manual. (Bug#9918)
2975
66e0570c
EZ
29762011-12-02 Eli Zaretskii <eliz@gnu.org>
2977
2978 * isearch.el (isearch-message-prefix): Run the input method part
2979 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2980
02b16839
JL
29812011-12-02 Juri Linkov <juri@jurta.org>
2982
2983 * isearch.el (isearch-occur): Use `word-search-regexp' for
2984 `isearch-word'.
2985 (isearch-search-and-update): Add condition for `isearch-word' and
2986 call `word-search-regexp'. (Bug#10145)
2987
0b950688
GM
29882011-12-01 Glenn Morris <rgm@gnu.org>
2989
2990 * eshell/em-hist.el (eshell-hist-initialize):
2991 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 2992 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 2993
9505c3c7
SM
29942011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2995
2996 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2997
1bbe96b2 29982011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 2999
a1beca85
SM
3000 * progmodes/verilog-mode.el (verilog-pretty-expr):
3001 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
3002 verilog, such as += *= and the like.
3003 (verilog-assignment-operator-re): Regular expression to find the
3004 assigment operator in a verilog assignment.
3005 (verilog-assignment-operation-re): Regular expression to find an
3006 assignment statement for pretty-expr.
3007 (verilog-in-attribute-p): Query returns true if point is in an
3008 attribute context; used to skip these for expression line up from
3009 pretty-expr.
3010 (verilog-in-parameter-p): Query returns true if point is in an
3011 parameter definition context; used to skip these for expression
3012 line up from pretty-expr.
3013 (verilog-in-parenthesis-p): Query returns true if point is in a
3014 parenthetical expression, specifically ( ) but not [ ] or { };
3015 used by pretty-expr.
3016 (verilog-just-one-space): If there is no space, don't add one.
3017 (verilog-get-lineup-indent-2): Specifically skip just attribute
3018 contexts for expression lineup, rather than skipping all
3019 parenthetical expressions.
3020 (verilog-calculate-indent): Fix comment, and fix indent.
3021 (verilog-do-indent): Indent declarations in lists (suggested by
3022 Joachim Lechner).
3023 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3024 skeleton items.
3025 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3026 by Alain Mellan).
3027
1bbe96b2 30282011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
3029
3030 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3031 parameters with embedded comments. Reported by Ray Stevens.
3032 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3033 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3034 Reported by Tim Holt.
3035 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3036 instantiated by upper module causing wrong expansion until AUTOed a
3037 second time. Reported by K C Buckenmaier.
3038 (verilog-diff-auto): Fix showing .* as a difference when
3039 `verilog-auto-star-save' off. Reported by Dan Dever.
3040 (verilog-auto-reset, verilog-read-always-signals)
3041 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3042 temporary signals in reset list if
3043 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
3044 style to each signal's assignment type, bug381.
3045 Reported by Thomas Esposito.
6288f0ca
WS
3046 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3047 (verilog-uvm-statement-re): Support UVM indentation and
3048 highlighting, with old OVM keywords only.
a1beca85 3049 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
3050 Support AUTOTIEOFF creating non-wire data types.
3051 Suggested by Jonathan Greenlaw.
6288f0ca
WS
3052 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3053 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3054 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
3055 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3056 Fix mismatching parenthesis inside commented out code when deleting
382c953b 3057 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
3058 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3059 non-numeric vector width. Reported by Alex Reed.
3060 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 3061 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
3062 (verilog-auto-delete-trailing-whitespace):
3063 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
3064 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3065 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3066 Fix verilog-scan-cache corruption when running user AUTO expansion
3067 hooks that call indentation routines.
3068 (verilog-simplify-range-expression): Fix typo ignoring lower case
3069 identifiers.
3070 (verilog-delete-auto): Fix delete-autos to also remove user created
3071 automatics, as long as they start with AUTO.
3072 (verilog-batch-diff-auto, verilog-diff-auto)
3073 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3074 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3075 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3076 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
3077 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3078 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
3079 is disabled and its cache will get corrupt, causing AUTOS not to
3080 expand. Instead use only -quick functions.
3081 (verilog-scan-region): Fix scanning over escaped quotes.
3082 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3083 (verilog-re-search-backward-quick)
3084 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3085 related functions now ignore strings, to fix misparsing of strings
3086 with magic comments embedded in them.
a1beca85
SM
3087 (verilog-read-auto-template):
3088 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3089 Reported by Brad Dobbie.
3090 (verilog-read-auto-template):
3091 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 3092 Reported by Brad Dobbie.
6288f0ca
WS
3093 (verilog-auto-inst, verilog-auto-inst-param)
3094 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3095 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3096 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
3097 debugging templates without merge conflicts, bug357.
3098 Reported by Brad Dobbie.
3099 (verilog-read-auto-template):
3100 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
3101 Reported by Brad Dobbie.
3102 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3103 abbrevs so user won't be asked to save.
3104 (verilog-read-auto-lisp-present): Fix to start at beginning of
3105 buffer in case called outside of verilog-auto.
3106 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3107 to "X-2". Reported by Matthew Myers.
3108 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3109 all inputs from module templates. Reported by Leith Johnson.
3110 (verilog-module-inside-filename-p): Fix locating programs as with
3111 modules.
3112 (verilog-auto-inst-port): Fix vl-width expressions when using
3113 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3114 (verilog-decls-get-regs, verilog-decls-get-signals,
3115 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3116 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3117 verilog-read-decls): Combine reg and wire structures into one var
3118 structure to represent SystemVerilog concepts.
3119 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3120 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
3121 (verilog-auto-wire-type, verilog-insert-definition):
3122 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
3123 SystemVerilog "logic" keyword instead of "wire"/"reg".
3124 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3125 to declares outputs that also have assignments (presumably in an
a1beca85
SM
3126 ifdef or generate if so there's not a driver conflict).
3127 Reported by Matthew Myers.
3128 (verilog-auto-declare-nettype, verilog-insert-definition):
3129 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
3130 `default_nettype none. Reported by Julian Gorfajn.
3131 (verilog-read-always-signals-recurse, verilog-read-decls)
3132 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3133 malformed end statement, bug325. Reported by Joshua Wise and
3134 Andrew Drake.
3135 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3136 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
3137 when expanding .* in interfaces, bug320.
3138 Reported by Pierre-David Pfister.
6288f0ca 3139 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
3140 name and open parenthesis, bug317.
3141 Reported by Pierre-David Pfister.
6288f0ca
WS
3142 (verilog-simplify-range-expression): Fix simplification of
3143 multiplications inside AUTOWIRE connections, bug303.
3144 (verilog-auto-inst-port): Support parameter expansion in
3145 multidimensional arrays.
3146 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3147 after "assert property". Reported by Julian Gorfajn.
3148 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3149 with multiplication, bug303.
3150 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3151 Reported by Jan Frode Lonnum.
3152
1bbe96b2
GM
31532011-11-30 Juanma Barranquero <lekktu@gmail.com>
3154
3155 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3156 (hfy-shell-file-name, hfy-shell):
3157 * international/fontset.el (x-decompose-font-name): Fix typos.
3158
31592011-11-29 Ken Brown <kbrown@cornell.edu>
3160
3161 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3162 (gdb-version): Remove defvar.
3163 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3164 (gdb-gud-context-command, gdb-non-stop-handler)
3165 (gdb-current-context-command, gdb-stopped): Use it.
3166 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
3167 (gdb-non-stop-handler): Don't enable pretty-printing here.
3168 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
3169 non-stop mode. Use the following.
3170 (gdb-check-target-async): New defun.
3171 (gud-watch, gdb-stopped): Fix whitespace.
3172 (gdb-get-source-file): Don't try to display the source file if
3173 `gdb-main-file' is nil.
3174
31752011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3176
3177 * align.el: Try to generate fewer markers (bug#10047).
3178 (align--set-marker): New macro.
3179 (align-region): Use it.
3180
c935221f
SM
31812011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3182
3183 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3184
e70b5064
CY
31852011-11-29 Chong Yidong <cyd@gnu.org>
3186
3187 * indent.el (indent-for-tab-command, indent-according-to-mode):
3188 Doc fix.
3189 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3190
f3af92b7
MA
31912011-11-29 Michael Albinus <michael.albinus@gmx.de>
3192
3193 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3194 aware of remote file names. (Bug#10124)
3195
ed472be9
CY
31962011-11-29 Chong Yidong <cyd@gnu.org>
3197
3198 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3199
24510c22
SM
32002011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3201
3202 * files.el (find-file): Don't use force-same-window (bug#10144).
3203 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3204 use pop-to-buffer if the selected window can't be used.
3205 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3206
c60c3703
EZ
32072011-11-28 Eli Zaretskii <eliz@gnu.org>
3208
3209 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3210 special-mode-map.
3211
e95def75
CY
32122011-11-28 Chong Yidong <cyd@gnu.org>
3213
3214 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3215
c3f1c606
NR
32162011-11-27 Nick Roberts <nickrob@snap.net.nz>
3217
3218 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3219 gdb-get-source-file-list on gdb-create-source-file-list.
3220
00db469c
EZ
32212011-11-26 Eli Zaretskii <eliz@gnu.org>
3222
3223 * whitespace.el (whitespace-newline): Use a different foreground
3224 color for 16-color light-background displays.
3225
4ad3bc2a
CY
32262011-11-24 Chong Yidong <cyd@gnu.org>
3227
3228 * window.el (display-buffer--special-action): Doc fix.
3229
e9fce1ac
JB
32302011-11-25 Juanma Barranquero <lekktu@gmail.com>
3231
3232 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3233 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3234 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3235 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3236 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3237 (avl-tree-stack-first):
3238 * emacs-lisp/cconv.el (cconv--analyse-use):
3239 * net/gnutls.el (gnutls-negotiate): Fix typos.
3240
cb825e5d
GM
32412011-11-24 Glenn Morris <rgm@gnu.org>
3242
3adbe224
GM
3243 * lpr.el (lpr-windows-system, lpr-lp-system):
3244 * mail/binhex.el (binhex-begin-line):
3245 * progmodes/grep.el (grep-history, grep-find-history):
3246 * textmodes/flyspell.el:
3247 * vc/pcvs-defs.el (cvs-global-menu):
3248 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3249 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3250 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3251
321decc8
GM
3252 * net/tls.el: Fix case of "GnuTLS".
3253
420b63ad
GM
3254 * paths.el (rmail-file-name): Format doc-string for make-docfile.
3255
cb825e5d
GM
3256 * version.el (emacs-build-system): Give it a doc-string.
3257
a0649f08
JL
32582011-11-24 Juri Linkov <juri@jurta.org>
3259
3260 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3261
c0bc0fd4
GM
32622011-11-24 Glenn Morris <rgm@gnu.org>
3263
3264 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3265 if called on a non-mime message just toggle the headers. (Bug#8006)
3266
20db1522
JB
32672011-11-24 Juanma Barranquero <lekktu@gmail.com>
3268
3269 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3270 (allout-lead-with-comment-string, allout-structure-deleted-hook)
3271 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3272 (allout-rebullet-heading, allout-open-sibtopic)
3273 (allout-toggle-current-subtree-encryption)
3274 (allout-toggle-subtree-encryption, allout-encrypt-string)
3275 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3276 (allout-distinctive-bullets-string, allout-auto-activation):
3277 * window.el (window-normalize-buffer-to-display):
3278 * progmodes/verilog-mode.el (verilog-batch-indent):
3279 * textmodes/bibtex.el (bibtex-field-braces-opt)
3280 (bibtex-field-strings-opt):
3281 * vc/cvs-status.el (cvs-tree-merge):
3282 Fix typos.
3283
7262a87c
MA
32842011-11-23 Michael Albinus <michael.albinus@gmx.de>
3285
3286 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3287 `non-essential' to t, in order to avoid remote connections.
3288
283430a1
EZ
32892011-11-23 Eli Zaretskii <eliz@gnu.org>
3290
a1beca85
SM
3291 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3292 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
3293 case-insensitively.
3294
d2992a38
ML
32952011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3296
3297 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
3298
50419064
GM
32992011-11-23 Glenn Morris <rgm@gnu.org>
3300
da94eca1
GM
3301 * paths.el (rmail-file-name): Reformat the doc-string so that it
3302 is picked up.
3303
9aac4de2
GM
3304 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3305 (rmail-auto-file): Ignore case in the "special" field names,
3306 as mail-fetch-field does for all others.
3307
8038d2d2
GM
3308 * mail/rmail.el (rmail-forward):
3309 * mail/rmailkwd.el (rmail-set-label):
3310 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3311 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
3312
f3fe222a
GM
3313 * mail/rmail.el (rmail-current-message): Doc fix.
3314
50419064
GM
3315 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
3316
28109f49
SM
33172011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3318
3319 * server.el (server-eval-and-print): Allow C-g (bug#6585).
3320
394c65f1
GM
33212011-11-22 Glenn Morris <rgm@gnu.org>
3322
3323 * mail/rmailmm.el (test-rmail-mime-handler)
3324 (test-rmail-mime-bulk-handler)
3325 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3326
f2a0aa3a
JL
33272011-11-21 Juri Linkov <juri@jurta.org>
3328
1154d12e
JB
3329 * calc/calc.el (calc-read-key-sequence):
3330 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 3331
9c34a344
LMI
33322011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3333
3334 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3335 Tell the caller that the next line needs recomputation, even
3336 though it doesn't start a sexp (bug#10094).
3337
f04a3be9
SM
33382011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3339
3340 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3341
7978747f
SM
33422011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3343
f04a3be9
SM
3344 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3345 Use force-same-window.
7978747f 3346
fe7a3057
JB
33472011-11-20 Juanma Barranquero <lekktu@gmail.com>
3348
3349 * descr-text.el (describe-char-unicode-data):
3350 * json.el (json-string-escape):
3351 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3352 (Footnote-unicode, Footnote-style-p):
3353 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3354
24901d61
CY
33552011-11-20 Chong Yidong <cyd@gnu.org>
3356
3357 * window.el (replace-buffer-in-windows): Restore interactive spec.
3358
bac7ff22
SM
33592011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3360
24f3d7b9
SM
3361 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3362
bac7ff22
SM
3363 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3364 (byte-compile-global-not-obsolete-vars): New var.
3365 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3366 Use it.
3367 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3368
cd1181db
JB
33692011-11-20 Juanma Barranquero <lekktu@gmail.com>
3370
3371 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3372 * progmodes/pascal.el (electric-pascal-equal):
3373 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3374 * xml.el (xml-substitute-special): Fix typos.
3375
7fb18e9e
GM
33762011-11-20 Glenn Morris <rgm@gnu.org>
3377
3378 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3379 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3380 Doc fixes.
3381 (rmail-decode-mime-charset): Mark as obsolete.
3382
3383 * mail/rmailsum.el (rmail-message-regexp-p-1):
3384 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3385 Before using mime functions, check they are set. (Bug#10077)
3386
d5a6b3ba
JL
33872011-11-19 Juri Linkov <juri@jurta.org>
3388
3389 * info.el (Info-finder-find-node): Use `package--builtins' instead
3390 of `package-alist'. Use node names formed by the pattern "Keyword "
3391 and the keyword name.
3392
e981b61f
AS
33932011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3394
1d00653d 3395 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 3396
3ffbc301
JL
33972011-11-19 Juri Linkov <juri@jurta.org>
3398
3399 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3400 that calls `revert-buffer' on all Info buffers. (Bug#9915)
3401 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3402 `old-history', `old-history-forward'. Add let-binding
3403 `window-selected'. Remove calls to `kill-buffer',
3404 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
3405 before calling `Info-find-node', so `Info-find-node-2' will reread
3406 the Info file. Restore window positions only when `window-selected'
3407 is non-nil.
3408
30c62133
JL
34092011-11-19 Juri Linkov <juri@jurta.org>
3410
3411 * isearch.el (isearch-lazy-highlight-new-loop):
3412 Remove condition `(not isearch-error)'. (Bug#9918)
3413
3414 * misearch.el (multi-isearch-search-fun): Add condition
3415 `(not bound)' to ignore lazy-highlighting search.
3416 Add the search-failed message "end of multi" when the end of
3417 multi-sequence is reached. Uncapitalize the search-failed
3418 message "Repeat for next buffer".
3419
3420 * info.el (Info-search): Add the search-failed message
3421 "end of the manual" when the end of the manual is reached
3422 in Isearch mode.
3423
645ca9cf
JL
34242011-11-19 Juri Linkov <juri@jurta.org>
3425
3426 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3427 Use non-destructive `remove' instead of `delete' because
3428 `Info-history-list' stored to `Info-isearch-initial-history-list' in
3429 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3430
df754f66
JL
34312011-11-19 Juri Linkov <juri@jurta.org>
3432
3433 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3434 to nil instead of binding `search-ring' and `regexp-search-ring'.
3435 (Bug#9185)
3436
0e23d96a
EZ
34372011-11-19 Eli Zaretskii <eliz@gnu.org>
3438
3439 * simple.el (line-move): Force movement by logical lines for any
3440 hscrolled window, not only when auto-hscroll-mode is on.
3441 (line-move-visual): Update doc string to that effect. (Bug#10076)
3442
8a6ccb66
AS
34432011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3444
3445 * language/european.el (macintosh): Define as alias for mac-roman.
3446
49ae5b39
EZ
34472011-11-19 Eli Zaretskii <eliz@gnu.org>
3448
3449 * mail/rmailmm.el (rmail-mime-display-header)
3450 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3451 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3452 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3453 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3454 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3455 of a raw aref.
3456 (rmail-mime-entity-segment): To get past the tagline, move forward
3457 2 more lines, to account for the 2 empty lines that precede and
3458 follow the line with the buttons.
3459 (rmail-mime-update-tagline): Move one more line, to get past the
3460 empty line that follows the buttons in the tagline. (Bug#9520)
3461
c56cad4a
MR
34622011-11-19 Martin Rudalics <rudalics@gmx.at>
3463
3464 * window.el (window-max-delta-1, window-min-delta-1)
3465 (window-min-size-1, window-state-get-1, window-state-put-1)
3466 (window-state-put-2): Use "window--" prefix.
3467
cbe71af3
SM
34682011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3469
2ad52c60
SM
3470 * emacs-lisp/smie.el: Improve warnings and conflict detection.
3471 (smie-warning-count): New var.
3472 (smie-set-prec2tab): Use it.
3473 (smie-bnf->prec2): Improve warnings. Add docstring.
3474 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3475 (smie-bnf--set-class): New function.
3476 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
3477 corner case.
3478
6944dbc1
SM
3479 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3480 (compilation-error-properties, compilation-move-to-column):
3481 Handle compilation-first-column while in the target buffer.
3482
c400c4d7
SM
3483 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3484 Don't hardcode point-min==1.
3485
6dbe3e96
SM
3486 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3487 (eshell-rewrite-for-command): Remove workaround.
3488 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3489 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3490 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3491
cbe71af3
SM
3492 * files-x.el (modify-file-local-variable): Obey commenting conventions.
3493
a8e1496d
GM
34942011-11-17 Glenn Morris <rgm@gnu.org>
3495
3496 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3497 Ignore buffer-local generated-autoload-file if it is the same
3498 as the global value. (Bug#10049)
3499
df85d315
JB
35002011-11-17 Juanma Barranquero <lekktu@gmail.com>
3501
3502 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3503 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3504 (reftex-toc-previous-heading, reftex-toc-max-level)
3505 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3506 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3507 (reftex-toc-do-promote, reftex-toc-promote-prepare)
3508 (reftex-toc-promote-action, reftex-toc-extract-section-number)
3509 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3510 (reftex-toc-rename-label, reftex-toc-visit-location)
3511 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3512 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3513 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3514 leaving "*toc*" only for references to the buffer.
3515
a0c2d0ae
MR
35162011-11-17 Martin Rudalics <rudalics@gmx.at>
3517
3518 * window.el (window-resize, delete-window, split-window):
3519 Replace window-splits by window-combination-resize.
1d00653d 3520 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 3521
35c0bac8
GM
35222011-11-17 Glenn Morris <rgm@gnu.org>
3523
3524 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3525 Make bash entry derive from sh entry, not shell entry.
3526
d0c8fc8a
MA
35272011-11-16 Michael Albinus <michael.albinus@gmx.de>
3528
d0c8fc8a
MA
3529 * net/tramp-cache.el (tramp-flush-file-property): Flush also
3530 properties of linked files. (Bug#9879)
3531
7262a87c
MA
3532 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3533 local file name.
3534
7877f373
JB
35352011-11-16 Juanma Barranquero <lekktu@gmail.com>
3536
3537 * menu-bar.el (menu-bar-file-menu):
3538 * printing.el (pr-ps-utility):
3539 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3540 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3541 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3542 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3543 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3544 (icalendar--convert-cyclic-to-ical)
3545 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3546 (icalendar--convert-ical-to-diary)
3547 (icalendar--convert-recurring-to-diary)
3548 (icalendar--convert-non-recurring-all-day-to-diary)
3549 (icalendar-import-format-sample):
3550 * progmodes/idlw-shell.el (idlwave-shell-mode):
3551 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3552 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3553 (vhdl-ps-print-init): Fix typos.
3554
10649b82
KM
35552011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
3556
9d0cfcd6
GM
3557 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3558 FSF and collapse date sequence, obscure author/maintainer email address
3559 better, remove extra version line, track relocation of author's webpage.
10649b82 3560
9d0cfcd6
GM
3561 * progmodes/python.el (python-pdbtrack-input-prompt)
3562 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3563 regular python pdb prompts. Adjustments shamelessly taken exactly as
3564 suggested in EmacsWiki page (tiny change):
3565 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 3566
58179cce
JB
35672011-11-16 Juanma Barranquero <lekktu@gmail.com>
3568
3569 * expand.el (expand-pos, expand-index, expand-point):
3570 Remove redundant info from docstring.
3571 (expand-add-abbrevs): Doc fix.
3572 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3573 (expand-sample-perl-mode-expand-list): Fix typos.
3574
3575 * net/dbus.el (dbus-event-member-name):
3576 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3577 * term/pc-win.el (msdos-create-frame-with-faces):
3578 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3579
b6f67890
MR
35802011-11-16 Martin Rudalics <rudalics@gmx.at>
3581
3582 * window.el (split-window, window-state-get-1)
3583 (window-state-put-1, window-state-put-2): Rename occurrences of
3584 window-nest to window-combination-limit.
1d00653d 3585 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 3586
ce7ddba0
CY
35872011-11-16 Chong Yidong <cyd@gnu.org>
3588
3589 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3590 regexp (Bug#10033).
3591
3ae704f4
SM
35922011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3593
3594 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3595 `completing-read' will remove *Completions* and will preserve
3596 current-buffer for us.
3597 (tmm-add-prompt): Users of *Completions* will always (re)set its
3598 major mode.
3599 (tmm-old-comp-map): Remove.
3600
6ad1cdde
GM
36012011-11-16 Glenn Morris <rgm@gnu.org>
3602
3603 * mail/rmailedit.el: Require rmailmm when compiling.
3604 (rmail-old-mime-state): New declaration.
3605 (rmail-edit-current-message): If editing a mime message,
3606 edit the "raw" message from the mbox buffer.
3607 (rmail-cease-edit): Handle mime messages. (Bug#9840)
3608
d20faa20
GM
36092011-11-15 Glenn Morris <rgm@gnu.org>
3610
3611 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3612 which wasn't being used. Add optional arg to force given state.
3613 (rmail-mime): Add optional arg to force given state.
3614
c7015153
JB
36152011-11-15 Juanma Barranquero <lekktu@gmail.com>
3616
3617 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3618 * frame.el (display-mm-dimensions-alist):
3619 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3620 (outline-move-subtree-down):
3621 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3622 (newsticker--treeview-do-get-node):
3623 * net/quickurl.el (quickurl-list-buffer-name):
3624 * progmodes/dcl-mode.el (dcl-mode):
3625 * progmodes/gdb-mi.el (gdb-mapcar*):
3626 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3627
45261b50
GM
36282011-11-15 Glenn Morris <rgm@gnu.org>
3629
3630 * mail/rmail.el (rmail-file-coding-system): It's only ever used
3631 in a boolean sense, so just make it a boolean, and fix the doc.
3632 (rmail-show-mime-function, rmail-mime-feature)
3633 (rmail-require-mime-maybe): Doc fixes.
3634 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3635
3636 * mail/rmailmm.el (rmail-show-mime): Doc fix.
3637
0d26e0b6
JB
36382011-11-15 Juanma Barranquero <lekktu@gmail.com>
3639
3640 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3641 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3642 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3643 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3644
447f30f6
GM
36452011-11-15 Glenn Morris <rgm@gnu.org>
3646
672b871d
GM
3647 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3648 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3649 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3650 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3651 (rmail-mime, rmail-show-mime): Doc fixes.
3652
f6aa5bb1
GM
3653 * term/ns-win.el (mode-line-frame-identification):
3654 Leave it alone. (Bug#10051)
3655
947cd66b
GM
3656 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3657
447f30f6
GM
3658 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3659 Handle empty buffers. (Bug#9978)
3660
0b381c7e
JB
36612011-11-14 Juanma Barranquero <lekktu@gmail.com>
3662
3663 * international/mule.el (define-charset):
3664 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3665 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3666 * progmodes/verilog-mode.el (verilog-backward-token):
3667 * textmodes/ispell.el (lookup-words):
3668 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3669
71e027ac
GM
36702011-11-14 Glenn Morris <rgm@gnu.org>
3671
56632ce4
GM
3672 * progmodes/executable.el
3673 (executable-make-buffer-file-executable-if-script-p):
3674 Handle file-modes returning nil.
3675
40500957
GM
3676 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3677 message - not necessary, and causes problems. (Bug#9831)
3678
071c2340
GM
3679 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3680
d3cfca60
GM
3681 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3682
71e027ac
GM
3683 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3684 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
3685 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3686
89d61221
MR
36872011-11-12 Martin Rudalics <rudalics@gmx.at>
3688
3689 * window.el (window-resize, delete-window): Use window-splits
3690 variable instead of function.
3691 (window-state-get-1, window-state-put-2, window-state-put):
3692 Don't deal with windows' splits status.
3693
98282f6f
GM
36942011-11-12 Glenn Morris <rgm@gnu.org>
3695
3696 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3697 (apropos-documentation): Doc fixes.
3698
40a8bdf6
JB
36992011-11-11 Juanma Barranquero <lekktu@gmail.com>
3700
3701 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3702 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3703
65bd19ff
SM
37042011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3705
3706 * electric.el (electric-indent-post-self-insert-function): Make it
3707 possible for a char to only indent in some circumstances.
3708 (electric-indent-mode): Simplify.
3709
54f9154c
MR
37102011-11-11 Martin Rudalics <rudalics@gmx.at>
3711
3712 * window.el (windows-with-parameter): Remove unused function.
3713 (windows-at-side): Rename to window-at-side-list.
3714 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
3715 (window-side-check, window-size-ignore, window-size-fixed-1)
3716 (window-in-direction-2): Prefix with "window--".
3717 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 3718
68cbc58b
GM
37192011-11-11 Glenn Morris <rgm@gnu.org>
3720
3721 * subr.el (eval-after-load): If FILE is already loaded,
3722 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3723
b2621720
GM
37242011-11-10 Glenn Morris <rgm@gnu.org>
3725
9a4de110
GM
3726 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3727 Call svn via vc-svn-command rather than vc-do-command.
3728 (vc-svn-command): Add --non-interactive. (Bug#9993)
3729 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3730
b2621720
GM
3731 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3732 Add toggle-read-only. (Bug#7292)
3733 * files.el (toggle-read-only): Mention that it should only
3734 be used interactively. (Bug#10006)
3735
1dce7193
SM
37362011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3737
d9ac1a1e
SM
3738 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3739 Adjust regexp for OCaml warnings.
3740
0c325082
SM
3741 * electric.el (electric-pair-post-self-insert-function): Let user
3742 turn it off buffer-locally (bug#9932).
3743
90132c14
SM
3744 * progmodes/python.el (python-beginning-of-statement):
3745 Rewrite (bug#2703).
3746
1dce7193
SM
3747 * progmodes/compile.el: Better handle TABs (bug#9749).
3748 (compilation-internal-error-properties)
3749 (compilation-next-error-function): Obey the target buffer's
3750 compilation-error-screen-columns.
3751
c4e7c63a
JB
37522011-11-09 Juanma Barranquero <lekktu@gmail.com>
3753
3754 * progmodes/meta-mode.el: Remove obsolete comments.
3755 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3756 Fix typos in docstrings.
3757
2cffd681
MR
37582011-11-09 Martin Rudalics <rudalics@gmx.at>
3759
3760 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 3761 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
3762 (window--resizable): New function. Make all callers of
3763 window-resizable call window--resizable instead.
3764 (window-resizable): Rewrite in terms of window--resizable.
3765
0edcba87
GM
37662011-11-08 Glenn Morris <rgm@gnu.org>
3767
3768 * progmodes/delphi.el (delphi-mode-syntax-table):
3769 Let define-derived-mode define a proper syntax table. (Bug#9994)
3770
4b0d61e3
SM
37712011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3772
3773 * window.el: Stay away from defsubst.
3774 (window-list-no-nils): Remove.
3775 (window-state-get-1, window-state-get): Use backquote instead.
3776
cd394be1 37772011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 3778
4b0d61e3 3779 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 3780 Fix incorrect use of default argument in `completing-read'.
3781
e1c2c6f2
MR
37822011-11-08 Martin Rudalics <rudalics@gmx.at>
3783
3784 * window.el (display-buffer-function, special-display-function):
3785 Mention display-buffer-record-window but do not mention
3786 help-setup parameter in doc-strings.
b3f4a882 3787 (window-min-delta): Fix doc-string typo.
e1c2c6f2 3788
105216ed
CY
37892011-11-08 Chong Yidong <cyd@gnu.org>
3790
3791 * window.el (window-total-height, window-total-width): Doc fix.
3792 (window-body-size): Move from C.
3793 (window-body-height, window-body-width): Move to C.
3794
0a9f9ab5
SM
37952011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3796
3797 * window.el: Make special-display like display-buffer-alist (bug#9532).
3798 (display-buffer--special-action): New function, morphed
3799 from display-buffer--special.
3800 (display-buffer): Use it to handle special-display-buffers at higher
3801 priority (just after display-buffer-alist).
3802 (display-buffer-fallback-action, display-buffer--other-frame-action)
3803 (pop-to-buffer-same-window): Remove display-buffer--special.
3804
a769dd15
GM
38052011-11-07 Glenn Morris <rgm@gnu.org>
3806
3807 * calendar/cal-menu.el (cal-menu-set-date-title):
3808 Do nothing if not in a calendar. (Bug#9976)
3809
05a61ee3
SM
38102011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3811
3812 * files.el (find-file): Always use selected-window.
3813
be7f5545
MR
38142011-11-07 Martin Rudalics <rudalics@gmx.at>
3815
3816 * window.el (window-combinations): Make WINDOW argument
3817 mandatory. Rewrite doc-string.
3818 (walk-window-subtree, window-atom-check, window-min-delta)
3819 (window-max-delta, window--resize-this-window)
3820 (window--resize-root-window-vertically, window-tree)
3821 (balance-windows, window-state-put): Rewrite doc-strings as to
3822 not mention the term "subwindow".
3823 (window--resize-subwindows-skip-p): Rename to
3824 window--resize-child-windows-skip-p.
3825 (window--resize-subwindows-normal): Rename to
3826 window--resize-child-windows-normal.
3827 (window--resize-subwindows): Rename to
3828 window--resize-child-windows.
3829 (window-or-subwindow-p): Rename to window--in-subtree-p.
3830
3c6702ef
ML
38312011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3832
3833 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3834 Ensure that mbox format messages end in two newlines (Bug#9974).
3835
49745b39
CY
38362011-11-06 Chong Yidong <cyd@gnu.org>
3837
3838 * window.el (window-combination-p): Function deleted; its
3839 side-effect is not used in any existing code.
3840 (window-combinations, window-combined-p): Call window-*-child
3841 directly.
3842
24300f5f
CY
38432011-11-05 Chong Yidong <cyd@gnu.org>
3844
3845 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
3846 (window-size-ignore, window-state-get): Callers changed.
3847 (window-normalize-window): Rename from window-normalize-any-window.
3848 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 3849 (window-normalize-live-window): Delete.
447f16b8
CY
3850 (window-combination-p, window-combined-p, window-combinations)
3851 (walk-window-subtree, window-atom-root, window-min-size)
3852 (window-sizable, window-sizable-p, window-size-fixed-p)
3853 (window-min-delta, window-max-delta, window-resizable)
3854 (window-resizable-p, window-full-height-p, window-full-width-p)
3855 (window-current-scroll-bars, window-point-1, set-window-point-1)
3856 (window-at-side-p, window-in-direction, window-resize)
3857 (adjust-window-trailing-edge, maximize-window, minimize-window)
3858 (window-deletable-p, delete-window, delete-other-windows)
3859 (record-window-buffer, unrecord-window-buffer)
3860 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3861 (quit-window, split-window, window-state-put)
3862 (set-window-text-height, fit-window-to-buffer)
3863 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 3864
89bd5ee1
EZ
38652011-11-04 Eli Zaretskii <eliz@gnu.org>
3866
53479029
EZ
3867 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3868 rfc2047-decode-string.
3869 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3870 warnings.
3871
89bd5ee1
EZ
3872 * window.el (window-body-height, window-body-width): Mention in
3873 the doc string that the return values are in frame's canonical
3874 units. (Bug#9949)
3875
bd17fdee
AM
38762011-11-03 Alan Mackenzie <acm@muc.de>
3877
3878 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3879 change in cc-engine.el.
3880
acc825c5
SM
38812011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3882
3883 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3884
1885e5b8
MR
38852011-11-02 Martin Rudalics <rudalics@gmx.at>
3886
3887 * window.el (quit-window): Call unrecord-window-buffer after
3888 showing another buffer in the window. (Bug#9937)
acc825c5 3889 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 3890
ebe06da9
JB
38912011-11-02 Juanma Barranquero <lekktu@gmail.com>
3892
3893 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3894 Accept status with more than 9 shelves. (Bug#9935)
3895 Reported by Colin D Bennett <colin@gibibit.com>.
3896
4ee88440
MR
38972011-11-01 Martin Rudalics <rudalics@gmx.at>
3898
3899 * help.el (with-help-window): Don't reference
3900 temp-buffer-show-specifiers in doc-string.
3901
08e1d82c
AS
39022011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3903
3904 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3905 menu-item.
3906
84bd6e9e
VJL
39072011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3908
3909 * whitespace.el: New version 13.2.2.
3910 (whitespace-newline-mode): Disable properly. Reported by Sarah
3911 <EmacsWiki>.
3912
dba0634a
UJ
39132011-10-30 Ulf Jasper <ulf.jasper@web.de>
3914
3915 * net/newst-treeview.el: Remove "Time-stamp".
3916 (newsticker--group-manage-orphan-feeds): Do not call
3917 newsticker--treeview-tree-update.
db22a3c2
JB
3918 (newsticker-treeview-update, newsticker-treeview):
3919 Call newsticker--treeview-tree-update if necessary.
dba0634a 3920
3d8daefe
MR
39212011-10-30 Martin Rudalics <rudalics@gmx.at>
3922
3923 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
3924 (window-iso-combinations): Remove "iso-" infix.
3925 Suggested by Chong Yidong.
3d8daefe
MR
3926 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3927 (window-max-delta-1, window-resize, window--resize-siblings)
3928 (window--resize-this-window, adjust-window-trailing-edge)
3929 (split-window, balance-windows-1)
3930 (shrink-window-if-larger-than-buffer):
3931 * calendar/calendar.el (calendar-generate-window):
db22a3c2 3932 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 3933
1bc4c3ae
SM
39342011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3935
3936 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3937 in place (bug#9907).
3938 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3939 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3940 (eshell-structure-basic-command, eshell-rewrite-while-command)
3941 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3942 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3943 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3944 (eshell-do-pipelines-synchronously, eshell-eval-command):
3945 Use backquotes and prefer setq to set.
3946 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3947 (eshell-macrop): Use functionp.
c1e2f5fa 3948 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 3949
30b65d9c
CY
39502011-10-30 Chong Yidong <cyd@gnu.org>
3951
3952 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3953 instead of set-mark (Bug#9810).
3954
2d197ffb
CY
39552011-10-30 Chong Yidong <cyd@gnu.org>
3956
3957 * window.el (split-window-below, split-window-right): Rename from
3958 split-window-above-each-other and split-window-side-by-side
3959 respectively. All callers changed.
3960 (split-window-sensibly, split-window-sensibly): Use them.
3961 (split-window-keep-point): Doc fix.
3962
3963 * isearch.el: Add isearch-scroll property to split-window-below
3964 and split-window-right.
3965
3966 * follow.el (follow-mode):
3967 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3968 * progmodes/ada-xref.el (ada-gdb-application):
3969 * emulation/vip.el (vip-buffer-in-two-windows):
3970 * image-dired.el (image-dired-dired-with-window-configuration):
3971 * dired-x.el (dired-do-find-marked-files):
3972 * dired.el (dired-pop-to-buffer):
3973 * bs.el (bs--show-with-configuration):
3974 * vc/emerge.el (emerge-setup-windows):
3975 * textmodes/two-column.el (2C-two-columns):
3976 * textmodes/reftex-toc.el (reftex-toc):
3977 * progmodes/gdb-mi.el (gdb-setup-windows):
3978 * progmodes/fortran.el (fortran-window-create):
3979 * net/newst-treeview.el (newsticker--treeview-window-init):
3980 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3981 * emulation/tpu-edt.el (tpu-gold-map):
3982 * emulation/crisp.el (crisp-mode-map):
3983 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3984
38bb2ca8
CY
39852011-10-29 Chong Yidong <cyd@gnu.org>
3986
aa4de341
CY
3987 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3988
e1eb5385
CY
3989 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3990
5d2ece3c
CY
3991 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3992 forged Ispell output (Bug#7904).
3993
38bb2ca8
CY
3994 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3995
d0af9f77
SM
39962011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3997
3998 * doc-view.el: Avoid ugly errors about not finding nil.
3999 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4000 (doc-view-dvipdf-program, doc-view-unoconv-program)
4001 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4002 Avoid nil or absolute file name as default value.
4003 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4004
52bedd34
AM
40052011-10-28 Alan Mackenzie <acm@muc.de>
4006
db22a3c2 4007 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 4008
7e43cfa5
AM
40092011-10-28 Alan Mackenzie <acm@muc.de>
4010
4011 Amend the handling of c-beginning/end-of-defun in nested declaration
4012 scopes.
4013
52bedd34
AM
4014 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4015 cc-langs.el. Change it to a defcustom.
7e43cfa5 4016
52bedd34
AM
4017 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4018 cc-vars.el.
7e43cfa5 4019
d0af9f77
SM
4020 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4021 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 4022
52bedd34 4023 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 4024 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
4025 (c-widen-to-enclosing-decl-scope): New function.
4026 (c-while-widening-to-decl-block): New macro.
4027 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4028 outward for defun boundaries, and correspondingly change symbol
4029 `respect-enclosure' to `go-outward'.
4030 (c-declaration-limits): Change algorithm to report only the "innermost"
4031 defun's boundaries.
4032
1a2ce9ee
DD
40332011-10-28 Deniz Dogan <deniz@dogan.se>
4034
4035 * net/rcirc.el (rcirc-mode): Use hard newlines.
4036
bc97a826
AM
40372011-10-28 Alan Mackenzie <acm@muc.de>
4038
4039 Amend to indent and fontify macros "which include their own semicolon"
4040 correctly, using the "virtual semicolon" mechanism.
4041
52bedd34 4042 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 4043
d0af9f77 4044 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 4045 Recode to scan one line at a time rather than having \n and \r
58179cce 4046 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 4047 (c-forward-label): Amend for virtual semicolons.
58179cce 4048 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 4049
52bedd34
AM
4050 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4051 of the new C macros.
bc97a826 4052
52bedd34 4053 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
4054 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4055 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
4056 (c-opt-cpp-macro-define): Make into a full language variable.
4057 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4058 AWK Mode (including \n, \r) removed, no longer needed.
4059
d0af9f77
SM
4060 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4061 Invoke c-make-macro-with-semi-re.
bc97a826 4062
52bedd34
AM
4063 * progmodes/cc-vars.el (c-macro-with-semi-re):
4064 (c-macro-names-with-semicolon): New variables.
58179cce 4065 (c-make-macro-with-semi-re): New function.
bc97a826 4066
7a6c0941
SM
40672011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4068
4069 * vc/log-edit.el: Fill empty field rather than adding new one.
4070 (log-edit-add-field): New function.
4071 (log-edit-insert-changelog): Use it.
4072
b0c4cdcf
ML
40732011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4074
4075 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4076
ee1f1da9
SM
40772011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4078
4079 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4080 (gdb--check-interpreter): New function.
4081 (gdb): Use it.
4082
51bc5f8b
GM
40832011-10-27 Glenn Morris <rgm@gnu.org>
4084
416a2c45
GM
4085 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4086 (least-positive-float, least-negative-float)
4087 (least-positive-normalized-float, least-negative-normalized-float)
4088 (float-epsilon, float-negative-epsilon):
4089 Remove unnecessary declarations.
4090
4091 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4092 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4093 (least-positive-float, least-negative-float)
4094 (least-positive-normalized-float, least-negative-normalized-float)
4095 (float-epsilon, float-negative-epsilon): Add doc-strings,
4096 based on those in cl.texi.
4097
51bc5f8b
GM
4098 * files.el (set-visited-file-name): If the major-mode changed,
4099 reload the local variables. (Bug#9796)
4100
15de15c6
CY
41012011-10-27 Chong Yidong <cyd@gnu.org>
4102
4103 * subr.el (change-major-mode-after-body-hook): New hook.
4104 (run-mode-hooks): Run it.
4105
ee1f1da9
SM
4106 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4107 Use change-major-mode-before-body-hook.
15de15c6
CY
4108
4109 * simple.el (fundamental-mode):
4110 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4111 change introducing fundamental-mode-hook.
4112
5430d399
JB
41132011-10-26 Juanma Barranquero <lekktu@gmail.com>
4114
acc825c5 4115 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 4116
ad74a69e
MA
41172011-10-26 Michael Albinus <michael.albinus@gmx.de>
4118
4119 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 4120 tramp.el explicitly. (Bug#7583)
ad74a69e 4121
71d4c2a5
SM
41222011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4123
4124 * progmodes/octave-mod.el:
4125 * progmodes/octave-inf.el: Update maintainer.
4126
b1f6fa26
CY
41272011-10-26 Chong Yidong <cyd@gnu.org>
4128
4129 * subr.el (with-wrapper-hook): Rewrite doc.
4130
3f04efd6
MA
41312011-10-25 Michael Albinus <michael.albinus@gmx.de>
4132
4133 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 4134 filenames "/method:foo:". (Bug#9793)
3f04efd6 4135
410488d3
SM
41362011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4137
4138 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4139 (bug#9865).
4140
c1ebb47e
GM
41412011-10-24 Glenn Morris <rgm@gnu.org>
4142
4143 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4144
7f5c46c7
MA
41452011-10-24 Michael Albinus <michael.albinus@gmx.de>
4146
4147 * notifications.el: Add the requirement of a running D-Bus session
4148 bus to the Commentary.
4149
db2440b6
JL
41502011-10-24 Juri Linkov <juri@jurta.org>
4151
4152 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4153 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4154 (Bug#9364)
4155
feecf435
JL
41562011-10-24 Juri Linkov <juri@jurta.org>
4157
4158 * info.el (Info-following-node-name-re): Add newline to the list
4159 of allowed characters for leading space. (Bug#9824)
4160
a3839de2
SM
41612011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4162
acc825c5
SM
4163 * progmodes/octave-inf.el (inferior-octave-mode-map):
4164 Fix C-c C-h binding.
a3839de2
SM
4165 * progmodes/octave-mod.el (octave-help): Remove.
4166
09388e76
MA
41672011-10-23 Michael Albinus <michael.albinus@gmx.de>
4168
4169 Sync with Tramp 2.2.3.
4170
4171 * net/tramp-cache.el (top): Pacify byte-compiler using
4172 `init-file-user' and `site-run-file'.
4173
4174 * net/trampver.el: Update release number.
4175
86c60681
CY
41762011-10-23 Chong Yidong <cyd@gnu.org>
4177
4178 * files.el (toggle-read-only): Remove obsolete comment about
4179 version control.
4180
4181 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4182 for toggle-read-only. Note that this hasn't called vc-next-action
4183 since 2008-05-02, though it wasn't documented at the time.
4184
a3839de2
SM
4185 * vc/ediff-init.el (ediff-toggle-read-only-function):
4186 Use toggle-read-only.
86c60681 4187
cd5495ff
AM
41882011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4189
4190 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4191 of c-parse-state.
4192
00b77525 4193 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 4194 correct faulty logical expression.
cd5495ff
AM
4195 (c-parse-state-state, c-record-parse-state-state):
4196 (c-replay-parse-state-state): New defvar/defuns.
4197 (c-debug-parse-state): Use new functions.
4198
42ee24ed
MR
41992011-10-22 Martin Rudalics <rudalics@gmx.at>
4200
4201 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 4202 last fix. Use window-in-direction correctly.
42ee24ed 4203
a7dee7e7
CY
42042011-10-21 Chong Yidong <cyd@gnu.org>
4205
4206 * progmodes/idlwave.el (idlwave-mode):
4207 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
4208 require-final-newline; that's done in prog-mode.
4209 Suggested by Stefan Monnier.
a7dee7e7 4210
e07b9a6d
MR
42112011-10-21 Martin Rudalics <rudalics@gmx.at>
4212
4213 * mouse.el (mouse-drag-window-above)
4214 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4215 (mouse-drag-mode-line-1, mouse-drag-header-line)
4216 (mouse-drag-vertical-line-rightward-window): Remove.
4217 (mouse-drag-line): New function.
4218 (mouse-drag-mode-line, mouse-drag-header-line)
4219 (mouse-drag-vertical-line): Call mouse-drag-line.
4220 * window.el (window-at-side-p, windows-at-side): New functions.
4221
7e1361d9
UM
42222011-10-21 Ulrich Mueller <ulm@gentoo.org>
4223
4224 * tar-mode.el (tar-grind-file-mode):
4225 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4226
30fcaf3a
CY
42272011-10-21 Chong Yidong <cyd@gnu.org>
4228
4229 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
4230 * progmodes/vera-mode.el (vera-mode):
4231 Use mode-require-final-newline.
30fcaf3a 4232
516eddb0
GM
42332011-10-20 Glenn Morris <rgm@gnu.org>
4234
db22a3c2 4235 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 4236
10d5f513
CS
42372011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
4238
4239 * emulation/cua-base.el (cua-set-mark): Fix case of string.
4240
ac6c8639
CY
42412011-10-20 Chong Yidong <cyd@gnu.org>
4242
4243 * emulation/cua-base.el (cua-mode):
4244 * mail/footnote.el (footnote-mode):
4245 * mail/mailabbrev.el (mail-abbrevs-mode):
4246 * net/xesam.el (xesam-minor-mode):
4247 * progmodes/bug-reference.el (bug-reference-mode):
4248 * progmodes/cap-words.el (capitalized-words-mode):
4249 * progmodes/compile.el (compilation-minor-mode)
4250 (compilation-shell-minor-mode):
4251 * progmodes/gud.el (gud-tooltip-mode):
4252 * progmodes/hideif.el (hide-ifdef-mode):
4253 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4254 * progmodes/subword.el (subword-mode):
4255 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4256 * progmodes/which-func.el (which-function-mode):
4257 * term/tvi970.el (tvi970-set-keypad-mode):
4258 * term/vt100.el (vt100-wide-mode):
4259 * textmodes/flyspell.el (flyspell-mode):
4260 * textmodes/ispell.el (ispell-minor-mode):
4261 * textmodes/nroff-mode.el (nroff-electric-mode):
4262 * textmodes/paragraphs.el (use-hard-newlines):
4263 * textmodes/refill.el (refill-mode):
4264 * textmodes/reftex.el (reftex-mode):
4265 * textmodes/rst.el (rst-minor-mode):
4266 * textmodes/sgml-mode.el (html-autoview-mode)
4267 (sgml-electric-tag-pair-mode):
4268 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4269 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4270 * emulation/crisp.el (crisp-mode):
4271 * emacs-lisp/eldoc.el (eldoc-mode):
4272 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4273 minor mode behavior.
4274
aa42ab43
JL
42752011-10-19 Juri Linkov <juri@jurta.org>
4276
4277 * descr-text.el (describe-char): Add #x2010 and #x2011 to
4278 the list of hard-coded chars with escape-glyph face.
4279
89400f1d
SM
42802011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4281
4282 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4283
305c07f6
MA
42842011-10-19 Michael Albinus <michael.albinus@gmx.de>
4285
4286 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4287 running process.
4288
13754b54
GM
42892011-10-19 Glenn Morris <rgm@gnu.org>
4290
4291 * vc/vc-bzr.el (vc-bzr-after-dir-status):
4292 Ignore ignored files. (Bug#9726)
4293
06e21633
CY
42942011-10-19 Chong Yidong <cyd@gnu.org>
4295
4296 Doc fix for minor modes, stating that an omitted argument enables
4297 the mode unconditionally when called from Lisp.
4298
4299 * abbrev.el (abbrev-mode):
4300 * allout.el (allout-mode):
4301 * autoinsert.el (auto-insert-mode):
4302 * autoarg.el (autoarg-mode, autoarg-kp-mode):
4303 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4304 (global-auto-revert-mode):
4305 * battery.el (display-battery-mode):
4306 * composite.el (global-auto-composition-mode)
4307 (auto-composition-mode):
4308 * delsel.el (delete-selection-mode):
4309 * desktop.el (desktop-save-mode):
4310 * dired-x.el (dired-omit-mode):
4311 * dirtrack.el (dirtrack-mode):
4312 * doc-view.el (doc-view-minor-mode):
4313 * double.el (double-mode):
4314 * electric.el (electric-indent-mode, electric-pair-mode):
4315 * emacs-lock.el (emacs-lock-mode):
4316 * epa-hook.el (auto-encryption-mode):
4317 * follow.el (follow-mode):
4318 * font-core.el (font-lock-mode):
4319 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4320 * help.el (temp-buffer-resize-mode):
4321 * hilit-chg.el (highlight-changes-mode)
4322 (highlight-changes-visible-mode):
4323 * hi-lock.el (hi-lock-mode):
4324 * hl-line.el (hl-line-mode, global-hl-line-mode):
4325 * icomplete.el (icomplete-mode):
4326 * ido.el (ido-everywhere):
4327 * image-file.el (auto-image-file-mode):
4328 * image-mode.el (image-minor-mode):
4329 * iswitchb.el (iswitchb-mode):
4330 * jka-cmpr-hook.el (auto-compression-mode):
4331 * linum.el (linum-mode):
4332 * longlines.el (longlines-mode):
4333 * master.el (master-mode):
4334 * mb-depth.el (minibuffer-depth-indicate-mode):
4335 * menu-bar.el (menu-bar-mode):
4336 * minibuf-eldef.el (minibuffer-electric-default-mode):
4337 * mouse-sel.el (mouse-sel-mode):
4338 * msb.el (msb-mode):
4339 * mwheel.el (mouse-wheel-mode):
4340 * outline.el (outline-minor-mode):
4341 * paren.el (show-paren-mode):
4342 * recentf.el (recentf-mode):
4343 * reveal.el (reveal-mode, global-reveal-mode):
4344 * rfn-eshadow.el (file-name-shadow-mode):
4345 * ruler-mode.el (ruler-mode):
4346 * savehist.el (savehist-mode):
4347 * scroll-all.el (scroll-all-mode):
4348 * scroll-bar.el (scroll-bar-mode):
4349 * server.el (server-mode):
4350 * shell.el (shell-dirtrack-mode):
4351 * simple.el (auto-fill-mode, transient-mark-mode)
4352 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4353 (line-number-mode, column-number-mode, size-indication-mode)
4354 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4355 * strokes.el (strokes-mode):
4356 * time.el (display-time-mode):
4357 * t-mouse.el (gpm-mouse-mode):
4358 * tool-bar.el (tool-bar-mode):
4359 * tooltip.el (tooltip-mode):
4360 * type-break.el (type-break-mode-line-message-mode)
4361 (type-break-query-mode):
4362 * view.el (view-mode):
4363 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4364 (global-whitespace-mode, global-whitespace-newline-mode):
4365 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4366
a3839de2
SM
4367 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4368 Fix autogenerated docstring.
06e21633 4369
5214e501
JL
43702011-10-19 Juri Linkov <juri@jurta.org>
4371
4372 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4373 by checking environment variables "DESKTOP_SESSION" and
4374 "XDG_CURRENT_DESKTOP". (Bug#9779)
4375
195f8db9
JL
43762011-10-19 Juri Linkov <juri@jurta.org>
4377
4378 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4379 (browse-url-chromium-program, browse-url-chromium-arguments):
4380 New defcustoms.
4381 (browse-url-default-browser): Check for `browse-url-chromium' and
4382 call `browse-url-chromium-program'.
4383 (browse-url-chromium): New command. (Bug#9779)
4384
343a34ff
JB
43852011-10-18 Juanma Barranquero <lekktu@gmail.com>
4386
4387 * facemenu.el (list-colors-duplicates): On Windows, detect more
4388 duplicates by assuming that only colors matching "^System" are
4389 special "system colors". (Bug#9722)
4390
6978a151
SM
43912011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4392
4393 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4394 to distinguish the author from the committer.
4395
6a80b297
MA
43962011-10-18 Michael Albinus <michael.albinus@gmx.de>
4397
4398 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4399
b31a5677
JK
44002011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
4401
4402 * international/mule.el (sgml-html-meta-auto-coding-function):
4403 Add support for detecting encoding in HTML5 specified only as
4404 <meta charset="UTF-8">. Implementation just makes http-equiv and
4405 content-type parts from HTML4 encoding string optional. (Bug#9716)
4406
80c6d77f
GM
44072011-10-18 Glenn Morris <rgm@gnu.org>
4408
4409 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
4410
08b0fee8
CY
44112011-10-18 Chong Yidong <cyd@gnu.org>
4412
4413 * faces.el (cursor): Doc fix.
4414
67e729a5
CY
44152011-10-17 Chong Yidong <cyd@gnu.org>
4416
4417 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4418
343a34ff 44192011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
4420
4421 * dirtrack.el (dirtrack): Support shell buffers with path
4422 prefixes, e.g. tramp-based remote shells. (Bug#9647)
4423
0bc06380
TZ
44242011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
4425
4426 * json.el: Bump version to 1.3 and note change in History.
4427 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4428
8b79f3e0
SM
44292011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4430
5a7c536b
SM
4431 * comint.el (comint-insert-input, comint-send-input)
4432 (comint-get-old-input-default, comint-backward-matching-input)
4433 (comint-next-prompt): Use nil instead of `input' for field property of
4434 past user input (bug#114).
4435
96a8a0df
SM
4436 * minibuffer.el (completion--replace): Inherit surrounding properties
4437 (bug#114).
4438 (minibuffer-complete-and-exit): Use it.
4439
8b79f3e0
SM
4440 * comint.el (comint--table-subvert): Quote the all-completions output
4441 (bug#9160).
4442
b8f7ff0d
MR
44432011-10-17 Martin Rudalics <rudalics@gmx.at>
4444
8b79f3e0 4445 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 4446
b8f7ff0d 4447 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 4448 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
4449 entries and separate them from frame entries.
4450
c235b555
GM
44512011-10-15 Glenn Morris <rgm@gnu.org>
4452
4453 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4454 Doc fixes.
4455
6bbfa6e1
CY
44562011-10-15 Chong Yidong <cyd@stupidchicken.com>
4457
8b79f3e0
SM
4458 * net/network-stream.el (network-stream-open-starttls):
4459 Improve detection of failure due to lack of TLS support.
ec5c990d 4460
6bbfa6e1
CY
4461 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4462 putting the input text in front and in bold.
4463
98488977
SM
44642011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4465
3d1337be
SM
4466 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4467
ee0b45e4
SM
4468 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4469 empty buffer.
4470
98488977
SM
4471 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4472 unread-command-events rather than pushing yet-another event.
4473
186f4720
EZ
44742011-10-14 Eli Zaretskii <eliz@gnu.org>
4475
4476 * mail/sendmail.el (sendmail-query-once): Improve the wording of
4477 the explanation of the possible choices. Make the options passed
4478 to completing-read shorter.
4479
8b7a997c
AM
44802011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4481
4482 * textmodes/flyspell.el (flyspell-large-region): Make sure
4483 extended character mode is used if defined (Bug#1339).
4484
12587bbb
EZ
44852011-10-13 Eli Zaretskii <eliz@gnu.org>
4486
4487 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
4488 character info for LRE, LRO, RLE, and RLO characters by appending
4489 an invisible PDF.
12587bbb 4490
bad41229
SM
44912011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
4492
4493 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4494 even in case of error; add debug spec; simplify data flow.
4495 (with-timeout-handler): Remove.
4496
28dbc92f
MA
44972011-10-12 Michael Albinus <michael.albinus@gmx.de>
4498
4499 Fix Bug#6019, Bug#9315.
4500
4501 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4502 complete `buffer-file-name', the local file name part could look
4503 remotely (for example on VMS).
4504
4505 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4506 `tramp-run-real-handler'.
4507 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4508 already quoted by '"'.
4509
4510 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4511 Let `file-name-handler-alist' be nil, the local file name part
4512 could look remotely (for example on VMS).
4513
e1b0b23a
SM
45142011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4515
4516 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4517 from here...
4518 (flyspell-post-command-hook): ...to here.
4519
a120bde9
SM
45202011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4521
4522 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4523 if not needed.
4524 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
4525 using completion. Protect against "slow" callers.
4526 Remove the "message hack".
4527
7ce7717b
JL
45282011-10-11 Juri Linkov <juri@jurta.org>
4529
4530 * isearch.el (isearch-lazy-highlight-word): New variable.
4531 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4532 Use it. (Bug#9727)
4533
c02ee9d6
GM
45342011-10-11 Glenn Morris <rgm@gnu.org>
4535
4536 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4537 like f90-previous-statement does.
4538
93e616fd 45392011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4540
1f190e73 4541 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
4542 only in interactive use, to avoid error.
4543
af7b6078
SM
45442011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4545
4546 * minibuffer.el (completion-file-name-table): Fix last change,
4547 i.e. ignore normal errors but not the other ones.
4548
0563dae9
MR
45492011-10-10 Martin Rudalics <rudalics@gmx.at>
4550
4551 * window.el (special-display-buffer-names)
4552 (special-display-regexps): Remove some remnants of earlier
4553 changes from doc-strings.
366ca7f3
MR
4554 (quit-windows-on): New function.
4555
4556 * vc/vc.el (vc-revert, vc-rollback):
4557 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4558 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 4559 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 4560
49677495
MR
45612011-10-09 Martin Rudalics <rudalics@gmx.at>
4562
4563 * window.el (frame-auto-hide-function): Add version tag.
4564 (Bug#9699)
4565
56f2d1e1
MA
45662011-10-09 Michael Albinus <michael.albinus@gmx.de>
4567
4568 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4569 condition.
4570
112a6592
LL
45712011-10-09 Leo Liu <sdl.web@gmail.com>
4572
4573 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4574 (Bug#9701)
4575
0812589b
GM
45762011-10-08 Glenn Morris <rgm@gnu.org>
4577
4578 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4579 before the first code statement zero indent. (Bug#9690)
4580
b2b0776e
CY
45812011-10-08 Chong Yidong <cyd@stupidchicken.com>
4582
4583 * simple.el (count-words-region): Always count in the region.
4584 Report the number of lines and characters too.
4585 (count-words): New command, which counts in the buffer if the
4586 region is inactive, as count-words-region used to.
4587 (count-words--message): New function. Handle plurals.
4588 (count-lines-region): Make it an alias for count-words-region.
4589
4590 * bindings.el (esc-map): Replace count-lines-region with
4591 count-words-region.
4592
c557cd6b
MR
45932011-10-08 Martin Rudalics <rudalics@gmx.at>
4594
4595 * window.el (window--delete): Delete dedicated frame
4596 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 4597 (switch-to-buffer): Fix doc-string typo.
c557cd6b 4598
61a57ef4 45992011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4600
3a7d293b 4601 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 4602
c3833279
CY
46032011-10-07 Chong Yidong <cyd@stupidchicken.com>
4604
4605 * bindings.el ([M-left],[M-right]): Bind to left-word and
4606 right-word respectively.
4607
21ce8245
GM
46082011-10-07 Glenn Morris <rgm@gnu.org>
4609
4610 * cus-start.el (debug-on-quit): Fix custom type.
4611
6d823bb2
LMI
46122011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4613
0181e193
LMI
4614 * subr.el (define-key-after): Clarify that the function is not
4615 useful for non-menu keymaps.
4616
6d823bb2
LMI
4617 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4618
8e3459ce 46192011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4620
21ce8245 4621 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 4622 in current minibuffer (Fix bug with recursive minibuffers).
4623
a1c2d21e
CY
46242011-10-06 Chong Yidong <cyd@stupidchicken.com>
4625
4626 * progmodes/gdb-mi.el (gdb): Doc fix.
4627
5a4cf282
MR
46282011-10-05 Martin Rudalics <rudalics@gmx.at>
4629
4630 * window.el (frame-auto-hide-function): New option replacing
4631 frame-auto-delete. Suggested by Stefan Monnier.
4632 (window--delete): Call frame-auto-hide-function instead of
4633 investigating frame-auto-delete.
c96111ea
MR
4634 (window-point-1, set-window-point-1): New functions.
4635 (window-in-direction, record-window-buffer, window-state-get-1)
4636 (display-buffer-record-window): Use window-point-1 instead of
4637 window-point.
4638 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 4639
9854542e
SM
46402011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4641
4642 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4643
8943cfb0
GM
46442011-10-05 Glenn Morris <rgm@gnu.org>
4645
4646 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4647 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
4648
647ab967
LL
46492011-10-05 Leo Liu <sdl.web@gmail.com>
4650
4651 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4652 works with buffer object.
4653
3ddfbced
SM
46542011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4655
4656 * mpc.el (mpc-tool-bar-map): Add labels.
4657
bdfa5dd2
GM
46582011-10-04 Glenn Morris <rgm@gnu.org>
4659
4660 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4661
0e2070b5
MR
46622011-10-04 Martin Rudalics <rudalics@gmx.at>
4663
4664 * window.el (window--delete): New function.
4665 (frame-auto-delete): Resuscitate option.
4666 (bury-buffer, replace-buffer-in-windows)
4667 (quit-window): Rewrite using window--delete.
4668 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4669 Pass display-buffer-mark-dedicated to window--display-buffer-2
4670 (Bug#9639).
4671
3dc61a09
SM
46722011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4673
915a9b64
SM
4674 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4675 returns a list (bug#9554). Add remote file name completion.
4676 * comint.el (comint--table-subvert): Curry and get quote&unquote
4677 functions as arguments.
4678 (comint--complete-file-name-data): Adjust call accordingly.
4679 * pcomplete.el (pcomplete--table-subvert): Remove.
4680 (pcomplete-completions-at-point): Use comint--table-subvert instead.
4681
3dc61a09
SM
4682 * minibuffer.el (completion-table-case-fold): Use currying.
4683 (completion--styles-type, completion--cycling-threshold-type):
4684 New constants.
4685 (completion-styles, completion-category-overrides)
4686 (completion-cycle-threshold): Use them.
4687 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4688 completion-table-case-fold.
4689
8ea0a993
SB
46902011-10-03 Stephen Berman <stephen.berman@gmx.net>
4691
4692 * minibuffer.el (completion-category-overrides): Fix type of styles
4693 and add more user friendly tags (bug#9660).
4694
8c24b7f6
SM
46952011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4696
4697 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4698 (mule-input-method-string): New widget.
4699 (default-input-method, language-info-custom-alist): Use it.
4700
428fe61a
SM
47012011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4702
32c1fffd
SM
4703 * pcomplete.el: Require comint.
4704 (pcomplete--common-suffix): Remove.
4705 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4706 (pcomplete--table-subvert): Sync with comint--table-subvert.
4707 (pcomplete--entries): Use comint-completion-file-name-table.
4708 * comint.el (comint-unquote-filename): Simplify.
4709 (comint-completion-file-name-table): New function (bug#9616).
4710 (comint--complete-file-name-data): Use it.
4711
428fe61a
SM
4712 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4713 (pcmpl-gnu-tar-buffer): Remove.
4714 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
4715 around. Make sure pcomplete-suffix-list is only changed temporarily.
4716 Don't look inside the tar's file if it's too large.
428fe61a 4717
04c52e2f
CY
47182011-10-01 Chong Yidong <cyd@stupidchicken.com>
4719
ce3cefcc
CY
4720 * cus-edit.el (custom-mode-map):
4721 * epa.el (epa-key-list-mode-map):
4722 * man.el (Man-mode-map):
4723 * startup.el (splash-screen-keymap):
4724 * simple.el (special-mode-map): Use scroll-up-command and
4725 scroll-down-command.
4726
4727 * progmodes/idlw-help.el (idlwave-help-mode-map):
4728 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4729 * net/newst-plainview.el (newsticker-mode-map):
4730 * emulation/ws-mode.el (wordstar-mode-map):
4731 * emulation/vi.el (vi-com-map):
4732 * calc/calc-graph.el (calc-graph-show-dumb):
4733 * term/sun.el (terminal-init-sun):
4734 * term/ns-win.el (global-map):
4735 * progmodes/grep.el (grep-mode-map):
4736 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4737 * mail/rmail.el (rmail-mode-map):
4738 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4739
04c52e2f
CY
4740 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4741 custom-safe-themes as special.
4742
79adf8c8
JD
47432011-10-01 Julien Danjou <julien@danjou.info>
4744
4745 * notifications.el (notifications-notify): Fix docstring.
4746
63bd50d3
PS
47472011-10-01 Per Starbäck <per@starback.se>
4748
4749 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4750
199e4c7e
MR
47512011-09-30 Martin Rudalics <rudalics@gmx.at>
4752
4753 * startup.el (command-line-1): Fix last fix by inserting
4754 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 4755 (Bug#9605) and (Bug#9636)
199e4c7e 4756
fe5f08dd
EZ
47572011-09-29 Eli Zaretskii <eliz@gnu.org>
4758
4759 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4760 window is hscrolled, move by logical lines. (Bug#9607)
4761 (line-move-visual): Update the doc string to the above effect.
4762
b5516bbd
MR
47632011-09-29 Martin Rudalics <rudalics@gmx.at>
4764
ccee00c0
MR
4765 * window.el (display-buffer-record-window): When WINDOW is the
4766 selected window use `point' instead of `window-point'. (Bug#9626)
4767
b5516bbd
MR
4768 * startup.el (command-line-1): Use insert-before-markers when
4769 inserting initial-scratch-message. (Bug#9605)
ccee00c0 4770
b5516bbd
MR
4771 * help.el (help-window): Remove variable.
4772
52aa0014
GM
47732011-09-29 Glenn Morris <rgm@gnu.org>
4774
4775 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4776
df9a7357
JB
47772011-09-29 Juanma Barranquero <lekktu@gmail.com>
4778
4779 * descr-text.el (describe-char-categories): Accept category
4780 descriptions more than one line long.
4781
a8406c20
SM
47822011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4783
88d9610c
SM
4784 * simple.el (delete-trailing-whitespace): Fix last change.
4785
a5daf810
SM
4786 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4787 Don't confuse "y => 3" as the beginning of a `y' operation.
4788
a8406c20
SM
4789 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4790 object has more than 4 slots (bug#9613).
4791
a239d4e9
JB
47922011-09-28 Juanma Barranquero <lekktu@gmail.com>
4793
4794 * subr.el (with-output-to-temp-buffer):
4795 * net/quickurl.el (quickurl, quickurl-browse-url):
4796 Fix typos in docstrings.
4797
693fbdb6
EZ
47982011-09-27 Eli Zaretskii <eliz@gnu.org>
4799
4800 * minibuffer.el (completion-styles)
4801 (completion-category-overrides): Cross reference each other in doc
4802 strings.
4803
8b457e28
GM
48042011-09-27 Glenn Morris <rgm@gnu.org>
4805
4806 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4807 to split-string. (Bug#9606)
4808
85a16208
LMI
48092011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4810
4811 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4812 (bug#9615).
4813
502f9ebd
CY
48142011-09-27 Chong Yidong <cyd@stupidchicken.com>
4815
4816 * emacs-lisp/package.el (list-packages): Fix echo area message.
4817
7690bdea
LL
48182011-09-27 Leo Liu <sdl.web@gmail.com>
4819
4820 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4821
e2ee6f30
MA
48222011-09-25 Michael Albinus <michael.albinus@gmx.de>
4823
4824 * net/dbus.el (dbus-unregister-object): Don't release services for
4825 registered signals. (Bug#9581)
4826
f3f98342
TZ
48272011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4828
4829 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4830 function that picks between cfengine 2 and 3 support
4831 automatically. Update docs accordingly.
4832
dd7aa8dd
KH
48332011-09-22 Kenichi Handa <handa@m17n.org>
4834
4835 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4836 ZERO.
4837 (indian-itrans-v5-table-for-tamil): New variable.
4838 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4839
3f2b07f8
KM
48402011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4841
4842 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4843 that's true if the current command involved collapsing of text.
4844 It's reset to false at the beginning of the next command.
4845 (allout-post-command-business): Move the cursor to the beginning
4846 of entry if the cursor is hidden and collapsing activity just
4847 happened.
4848
371d6a61
CY
48492011-09-24 Chong Yidong <cyd@stupidchicken.com>
4850
4851 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4852 tracking (Bug#9541).
4853
2ac2721a
UJ
48542011-09-24 Ulf Jasper <ulf.jasper@web.de>
4855
4856 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
4857 (newsticker-show-news): Automatically load html rendering package
4858 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4859 because w3m-fill-column is let-bound" and the error "Symbol's value
4860 as variable is void: w3m-fill-column".
2ac2721a 4861
fac7ae53
MA
48622011-09-24 Michael Albinus <michael.albinus@gmx.de>
4863
4864 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4865 Release services only if they are defined. (Bug#9581)
4866
e08b633b
RS
48672011-09-23 Richard Stallman <rms@gnu.org>
4868
e488d29c
RS
4869 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4870 distinguish start of paragraph from start of its text.
4871
19c38752
RS
4872 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4873
e08b633b
RS
4874 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4875 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4876 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4877
0a39f27e
AS
48782011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4879
4880 * international/mule-diag.el (mule-diag): Insert a newline after
4881 each fontset description.
4882
db4e950d
SM
48832011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4884
4885 * simple.el (delete-trailing-whitespace):
4886 Document last change; simplify.
4887
eca3f3ea
PW
48882011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4889
d68e189a
PW
4890 * simple.el (delete-trailing-whitespace): Also delete
4891 extra newlines at the end of the buffer.
4892
eca3f3ea
PW
4893 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4894 (picture-newline): Use forward-line so as to ignore fields.
4895
01c157cc
SM
48962011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4897
4898 * subr.el (with-wrapper-hook): Fix edebug spec.
4899
022de23e
LMI
49002011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4901
4902 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4903 (bug#4538).
4904
91683089
MA
49052011-09-23 Michael Albinus <michael.albinus@gmx.de>
4906
eca3f3ea
PW
4907 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4908 Fix nasty bug using wrong cached values.
91683089 4909
5bdd6fa4
AM
49102011-09-23 Alan Mackenzie <acm@muc.de>
4911
4912 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4913
97adfb97
CY
49142011-09-23 Chong Yidong <cyd@stupidchicken.com>
4915
4916 * window.el (pop-to-buffer): Ensure right window is selected if we
4917 chose another frame.
4918
d4ef2b50
EZ
49192011-09-22 Eli Zaretskii <eliz@gnu.org>
4920
4921 * simple.el (what-cursor-position): Use get-char-property-change
4922 and next-single-char-property-change, to be able to show display
4923 properties that come from overlays as well as text properties.
4924
72258fe5
CY
49252011-09-22 Chong Yidong <cyd@stupidchicken.com>
4926
4927 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4928
4929 * cmuscheme.el (run-scheme, switch-to-scheme):
4930 * cus-edit.el (customize-group, custom-buffer-create)
4931 (customize-browse):
4932 * info.el (info):
4933 * shell.el (shell):
4934 * mail/sendmail.el (mail):
4935 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4936
8f098516
RS
49372011-09-22 Richard Stallman <rms@gnu.org>
4938
4939 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4940 move back only to line beg, don't move back over blank lines.
4941
e74f1bb6
MA
49422011-09-22 Michael Albinus <michael.albinus@gmx.de>
4943
4944 * files.el (copy-directory): Set directory attributes only in case
4945 they could be retrieved from the source directory. (Bug#9565)
4946
bfeef8b6
DK
49472011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4948
4949 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4950 (hs-find-block-beginning, hs-hide-level-recursive):
4951 Ignore strings as well as comments. (Bug#9502)
4952
7e423bb8
AS
49532011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4954
4955 * progmodes/sql.el (sql-comint-postgres):
4956 Convert port number to a string. (Bug#9566)
4957
b4d72fcf
MR
49582011-09-22 Martin Rudalics <rudalics@gmx.at>
4959
4960 * window.el (quit-window): Undedicate window when switching to
4961 previous buffer. Reported by Thierry Volpiatto
4962 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
4963 (special-display-popup-frame): When popping up a new frame reset
4964 its previous buffers to nil. Simplify code.
b4d72fcf 4965
a7b88dc6
MA
49662011-09-21 Michael Albinus <michael.albinus@gmx.de>
4967
4968 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4969 and process filter, as done also in `shell-command'.
4970
cf4eacfd
MR
49712011-09-21 Martin Rudalics <rudalics@gmx.at>
4972
eca3f3ea 4973 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
4974 Call set-window-start with NOFORCE argument t.
4975 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
4976 (quit-window): Reword doc-string. Handle new format of
4977 quit-restore parameter. Don't delete window if it has a
4978 previous buffer we can show instead of the present one.
4979 (display-buffer-record-window): Rewrite using a new format for
4980 the quit-restore window parameter
4981 (special-display-popup-frame, display-buffer-same-window)
4982 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4983 (display-buffer-pop-up-window, display-buffer-use-some-window):
4984 Adapt symbol passed to display-buffer-record-window.
4985 * help.el (help-window-setup): Handle new format of quit-restore
4986 parameter.
4987
8d28cb95
SM
49882011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4989
94ab793f
SM
4990 * faces.el (face-list): Fix docstring (bug#9564).
4991
8d28cb95
SM
4992 * window.el (display-buffer--action-function-custom-type):
4993 Don't include internal functions in the Custom interface.
4994
3820edeb
JL
49952011-09-20 Juri Linkov <juri@jurta.org>
4996
4997 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4998 (Info-forward-node, Info-backward-node, Info-next-preorder)
4999 (Info-last-preorder): Use it. (Bug#9528)
5000
5147931d
JL
50012011-09-20 Juri Linkov <juri@jurta.org>
5002
5003 * info.el (Info-last-preorder): Visit last menu item only when
5004 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5005
cf499a1a
JD
50062011-09-20 Julien Danjou <julien@danjou.info>
5007
5008 * password-cache.el (password-cache-remove): Remove entries even if the
5009 value is nil, so that password with a nil value (negative caching) is
5010 possible to invalidate.
5011
f84e2fe2
LM
50122011-09-20 Lawrence Mitchell <wence@gmx.li>
5013
5014 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5015 all whitespace around breakpoint. (Bug#9553)
5016 (f90-find-breakpoint): Only break at whitespace inside a comment.
5017
78054a46
SM
50182011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5019
5020 * minibuffer.el (completion-file-name-table): Keep track of errors.
5021 (completion-table-with-predicate): Handle the case where pred1 is nil.
5022 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5023
345083b2
SM
50242011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5025
e24e27be
SM
5026 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5027 (debugger-return-value): Signal an error if the debugging context does
5028 not await any return value.
5029
345083b2
SM
5030 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5031 * image-mode.el (image-toggle-display-text)
5032 (image-toggle-display-image): Stay away from evil `intangible'.
5033
08d355e3
LL
50342011-09-19 Leo Liu <sdl.web@gmail.com>
5035
5036 * replace.el (occur-revert-arguments): Make it permanent-local.
5037 (occur-mode): Don't call font-lock-defontify.
5038
f01da43f
CY
50392011-09-19 Chong Yidong <cyd@stupidchicken.com>
5040
5041 * net/ldap.el (ldap-search-internal): Don't push empty search
5042 result (Bug#9508).
5043
b6072fa6
SM
50442011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5045
5046 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5047
443d6696
MA
50482011-09-19 Michael Albinus <michael.albinus@gmx.de>
5049
5050 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5051 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5052
7cc6e154
JL
50532011-09-18 Juri Linkov <juri@jurta.org>
5054
5055 * buff-menu.el (Buffer-menu-mode-map):
5056 * dired.el (dired-mode-map):
5057 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5058 (lisp-interaction-mode-map):
5059 * emacs-lisp/package.el (package-menu-mode-map):
5060 * epa.el (epa-key-list-mode-map):
5061 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5062 (menu-bar-options-menu):
5063 * outline.el (outline-mode-menu-bar-map):
5064 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5065 * vc/vc-dir.el (vc-dir-menu-map):
5066 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5067 Capitalize non-function content words in menu item strings.
5068
5069 * dired.el (dired-mode-map): Add menu item for
5070 `image-dired-dired-toggle-marked-thumbs'.
5071
80302a81
JL
50722011-09-18 Juri Linkov <juri@jurta.org>
5073
5074 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5075 to `isearch-case-fold-search' and restore its original value
5076 after the `isearch-mode' call.
5077
46c5cf66
JL
50782011-09-18 Juri Linkov <juri@jurta.org>
5079
5080 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5081 because `zgrep' returns 1 for successful matches (bug#9226).
5082
d18b513b
JL
50832011-09-18 Juri Linkov <juri@jurta.org>
5084
5085 * info.el (Info-extract-menu-node-name): Check the second match
5086 for empty string (second test-case of bug#9528).
5087 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5088 intermediate nodes to the history (first test-case of bug#9528).
5089
72753f87
JL
50902011-09-18 Juri Linkov <juri@jurta.org>
5091
5092 * info.el (Info-mode-syntax-table): New variable.
1154d12e 5093 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 5094
c9384295
JL
50952011-09-18 Juri Linkov <juri@jurta.org>
5096
1154d12e
JB
5097 * info.el (Info-file-supports-index-cookies):
5098 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5099 outputs one more line for long file names (bug#4142).
c9384295 5100
d473dce8
CY
51012011-09-18 Chong Yidong <cyd@stupidchicken.com>
5102
5103 * newcomment.el (comment-normalize-vars): If prompting for
5104 comment-start, set comment-start-skip too (Bug#8424).
5105
2176854d
JB
51062011-09-18 Johan Bockgård <bojohan@gnu.org>
5107
5108 * icomplete.el: Fix previous fix of Bug#5849.
5109 (icomplete-mode): Don't set completion-show-inline-help.
5110 (icomplete-minibuffer-setup): Set completion-show-inline-help
5111 locally during icompletion.
5112
3aace4e4
CY
51132011-09-18 Chong Yidong <cyd@stupidchicken.com>
5114
c940224f
CY
5115 * woman.el (woman2-process-escapes): Don't delete unrecognized
5116 escapes (Bug#7843).
5117
3aace4e4
CY
5118 * files.el (inhibit-first-line-modes-regexps): Add image files.
5119 (hack-local-variables-prop-line): Return nil for malformed
5120 prop-lines (Bug#9044).
5121
710dec63
MA
51222011-09-18 Michael Albinus <michael.albinus@gmx.de>
5123
5124 * net/tramp.el (top): Don't require 'shell.
5125 (tramp-methods): Fix docstring.
5126 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
5127 Return complete remote file name. Handle "smb" case.
5128 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
5129 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5130
5131 * net/tramp-compat.el (top): Require 'shell.
5132
5133 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5134 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5135 `tramp-current-host'.
5136 (tramp-get-remote-tmpdir): Remove.
5137
5138 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5139 `tramp-tmpdir' entries.
5140 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5141 (tramp-smb-handle-file-attributes): Ignore errors.
5142 (tramp-smb-wait-for-output): Check also for process end.
5143
5d5ac8ec
LMI
51442011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5145
5146 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5147 when sending QUIT (bug#9312).
5148
8c0f49f0
CY
51492011-09-17 Chong Yidong <cyd@stupidchicken.com>
5150
5151 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5152 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5153 occur-mode-display-occurrence.
5154 (occur-edit-mode): Add usage message.
5155 (occur-cease-edit): New command.
5156 (occur-after-change-function): Use text properties to find the
5157 position of the prefix text.
5158 (occur-engine): Set stickiness of prefix text properties.
5159
8f1383f7
GM
51602011-09-17 Glenn Morris <rgm@gnu.org>
5161
5162 * progmodes/etags.el (complete-tag):
5163 Fix call to completion-in-region. (Bug#9526)
5164
744ba0e3
JL
51652011-09-17 Juri Linkov <juri@jurta.org>
5166
5167 * textmodes/ispell.el (ispell-word): Add to the error message
5168 the word, ispell program name and current dictionary (bug#9121).
5169 (ispell-tex-arg-end): Capitalize "error" in the error message.
5170
d9bbf400
AS
51712011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5172
5173 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5174 check. (Bug#4251)
5175
8da11505
JL
51762011-09-17 Juri Linkov <juri@jurta.org>
5177
5178 * window.el (window-safe-min-height, window-safe-min-width):
5179 Fix typos (followup to bug#9522).
5180
a91adc7e
SJ
51812011-09-17 Sven Joachim <svenjoac@gmx.de>
5182
5183 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5184
064f328a
EZ
51852011-09-16 Eli Zaretskii <eliz@gnu.org>
5186
5187 * simple.el (line-move): If goal-column is set, move by logical
5188 lines, not by display lines. (Bug#971)
5189 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5190 to reflect the above change.
5191
e69df516
SM
51922011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5193
5194 * image.el (imagemagick-register-types): Use regexp-opt.
5195
cbb0f9ab
CY
51962011-09-15 Chong Yidong <cyd@stupidchicken.com>
5197
5198 * window.el (display-buffer-base-action): Rename from
5199 display-buffer-default-action. Make default value empty.
5200 (display-buffer-overriding-action): Convert to defvar.
5201 (display-buffer-fallback-action): New var.
5202
25322144
CY
52032011-09-15 Chong Yidong <cyd@stupidchicken.com>
5204
5205 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5206 declaration.
5207 (package--add-to-archive-contents): If there is a duplicate entry
5208 with an older version, remove it.
5209 (package-menu-mark-delete, package-menu-mark-install)
5210 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
5211 (package-menu-mark-obsolete-for-deletion):
5212 Use package-menu-get-status instead of a regexp search.
25322144
CY
5213 (package-menu-get-status): Use tabulated-list-entry.
5214 (package-menu-mark-upgrades): New command.
d770725a 5215 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
5216 (package-menu-execute): Do installation before deletion.
5217 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5218 instead of checking major-mode.
5219 (package-menu--find-upgrades): New function.
5220
7520339c
LMI
52212011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5222
5223 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5224 passwords in the log buffer.
65a046c4
LMI
5225 (smtpmail-process-filter): Update the process marker so that the
5226 "broken by peer" status message is inserted in the right place.
7520339c 5227
d3c30954
SM
52282011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5229
3fe48822
SM
5230 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5231 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5232 bibtex-completion-at-point-function.
5233 (bibtex-completion-at-point-function): Use them.
5234
1b8b3954
SM
5235 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5236
d3c30954
SM
5237 * mpc.el (mpc-constraints-tag-lookup): New function.
5238 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5239 also to browser "album|playlist".
5240
72779976
JL
52412011-09-14 Juri Linkov <juri@jurta.org>
5242
5243 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
5244 (isearch-edit-string): Use length of `isearch-string' when
5245 `isearch-fail-pos' returns nil.
5246 (isearch-message): Remove duplicate code and call
5247 `isearch-fail-pos' with arg `t'.
5248
a0bf2bcd
CY
52492011-09-14 Chong Yidong <cyd@stupidchicken.com>
5250
17bb0a2d
CY
5251 * replace.el (occur-mode-goto-occurrence): Don't force using other
5252 window (Bug#9499).
5253
a0bf2bcd
CY
5254 * dired-aux.el (dired-do-chmod): Don't provide initial input.
5255
f678e0b6
MR
52562011-09-14 Martin Rudalics <rudalics@gmx.at>
5257
5258 * window.el (display-buffer-window): Remove.
5259 (display-buffer-record-window): Use help-setup window parameter
5260 instead of variable display-buffer-window.
5261 (display-buffer-function, special-display-buffer-names)
5262 (special-display-function): Mention help-setup parameter instead
5263 of display-buffer-window in doc-string.
d3c30954
SM
5264 * help.el (help-window-setup): New argument help-window.
5265 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
5266 Reword some messages.
5267 (with-help-window): Pass window used for displaying the buffer
5268 to help-window-setup. Don't set display-buffer-window.
5269
8e39b2e8
GM
52702011-09-13 Glenn Morris <rgm@gnu.org>
5271
5272 * emacs-lisp/debug.el (debugger-make-xrefs):
5273 Preserve point. (Bug#9462)
5274
85e9c04b
CY
52752011-09-13 Chong Yidong <cyd@stupidchicken.com>
5276
5277 * window.el (window-deletable-p): Use next-frame.
5278
1b36ed6a
MR
52792011-09-13 Martin Rudalics <rudalics@gmx.at>
5280
5281 * window.el (window-auto-delete): Remove.
5282 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 5283 dedication and previous buffers.
1b36ed6a
MR
5284 (switch-to-prev-buffer): Don't delete window.
5285 (delete-windows-on): Delete a window's frame if and only if the
5286 window is dedicated.
5287 (replace-buffer-in-windows): Delete buffer's window or frame if
5288 and only if window is dedicated.
5289 (quit-window): Handle quit-restore as before last change.
4d61f28d 5290 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 5291
ef8ef9fb
CY
52922011-09-13 Chong Yidong <cyd@stupidchicken.com>
5293
5294 * window.el (window-deletable-p): Never delete the last frame on a
5295 given terminal.
5296
b2cba41e
GM
52972011-09-13 Glenn Morris <rgm@gnu.org>
5298
5299 * help.el (describe-key-briefly): Copy previous standard-output change.
5300
51553db6 53012011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
5302
5303 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
5304
b7556719
GM
53052011-09-13 Glenn Morris <rgm@gnu.org>
5306
5307 * emacs-lisp/lisp-mode.el (lisp-indent-function):
5308 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5309
64b51947
CY
53102011-09-12 Chong Yidong <cyd@stupidchicken.com>
5311
5312 * dired-aux.el (dired-mark-read-string): Don't return default
5313 value on empty input (Bug#9361).
5314 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5315 Omit initial minibuffer contents.
5316 (dired-do-chmod): Signal an error on empty input.
5317 (dired-mark-read-string): Don't return default on empty input.
5318
5319 * files.el (file-modes-symbolic-to-number): Doc fix.
5320
393a301e
SM
53212011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5322
5323 * international/mule-cmds.el (ucs-completions): Remove.
5324 (read-char-by-name): Use complete-with-action instead; add metadata.
5325
fa5660f9
CY
53262011-09-11 Chong Yidong <cyd@stupidchicken.com>
5327
5328 * window.el (display-buffer--action-function-custom-type)
5329 (display-buffer--action-custom-type): New vars.
5330 (display-buffer-alist, display-buffer-default-action)
5331 (display-buffer-overriding-action): Add defcustom types.
5332
4a592f66
CY
5333 * frame.el (delete-other-frames): Doc fix (Bug#276).
5334
73d56dbd
LMI
53352011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5336
5337 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5338
37ac18a3
CY
53392011-09-11 Chong Yidong <cyd@stupidchicken.com>
5340
5341 Change modes that used same-window-* vars to use switch-to-buffer.
5342
5343 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5344 Use switch-to-buffer.
5345
5346 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
5347 (customize-browse, custom-buffer-create-other-window):
5348 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
5349
5350 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5351 (Info-prev, Info-up, Info-speedbar-goto-node)
5352 (info-display-manual): Use switch-to-buffer.
5353 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5354
5355 * mail/sendmail.el (mail): Use switch-to-buffer.
5356 (mail-recover): Use switch-to-buffer-other-window.
5357
5358 * cmuscheme.el (run-scheme, switch-to-scheme):
5359 * ielm.el (ielm):
5360 * shell.el (shell):
5361 * net/rlogin.el (rlogin):
5362 * net/telnet.el (telnet, rsh):
5363 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5364
10195bd6
AS
53652011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5366
5367 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5368
b322f63a
LMI
53692011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5370
39d7fed6
LMI
5371 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5372 so don't mention it (bug#9301).
ba5a81f1 5373 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 5374
ee0e9f11
LMI
5375 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5376 match `x', `w32' and `ns', like the manual says (bug#9029).
5377
0b1c89c1 5378 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
5379 (process-kill-buffer-query-function): Mention the buffer name in
5380 the query.
0b1c89c1 5381
77549ea8
LMI
5382 * image-mode.el (image-next-line): The line parameter is mandatory
5383 (bug#9258).
5384
803ef892
LMI
5385 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5386 which can be useful (bug#9301).
5387
12980837
LMI
5388 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5389
91054f8f
LMI
5390 * subr.el (match-string): Mention that the current buffer should
5391 be the same as the search was done in (bug#9282).
5392
b322f63a
LMI
5393 * facemenu.el: Disable the remove-* commands if the mark isn't
5394 active (bug#9162).
5395
3199b96f
CY
53962011-09-10 Chong Yidong <cyd@stupidchicken.com>
5397
5398 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5399 of display-buffer.
5400 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5401
5402 * replace.el (occur-mode-goto-occurrence)
5403 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5404 and display-buffer.
5405
5406 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5407 display-buffer.
5408
5409 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5410 special-display and same-window variables.
5411 (mail-other-window): Use switch-to-buffer-other-window.
5412 (mail-other-frame): USe switch-to-buffer-other-frame.
5413
393a301e
SM
5414 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5415 Use display-buffer-other-frame.
3199b96f
CY
5416 (gdb-display-gdb-buffer): Use pop-to-buffer.
5417
5418 * progmodes/gud.el (gud-goto-info): Use info-other-window.
5419
5420 * progmodes/python.el: Don't set same-window-buffer-names.
5421
5422 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5423
5424 * window.el (display-buffer-alist): Add *Python*.
5425
8319e0bf
CY
54262011-09-10 Chong Yidong <cyd@stupidchicken.com>
5427
5428 * window.el (display-buffer-alist): Add entry for buffers
5429 previously handled same-window-*.
5430 (display-buffer-alist, display-buffer-default-action)
5431 (display-buffer-overriding-action): Mark as risky.
5432 (display-buffer-alist): Document action function changes.
5433 (display-buffer--same-window-action)
5434 (display-buffer--other-frame-action): New variables.
5435 (switch-to-buffer, display-buffer-other-frame): Use them.
5436 (display-buffer): Rename reuse-frame entry to reusable-frames.
5437 (display-buffer-reuse-selected-window): Function deleted.
5438 (display-buffer-reuse-window): Handle reusable-frames alist entry.
5439 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5440 (display-buffer-special): New function.
5441 (display-buffer--maybe-pop-up-frame-or-window): Rename from
5442 display-buffer-reuse-or-pop-window. Split off special-display
5443 part into display-buffer-special.
5444 (display-buffer-use-some-window): Don't perform any special
5445 pop-up-frames handling.
5446 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 5447 (display-buffer--maybe-same-window): Rename from
0d3ff375 5448 display-buffer-maybe-same-window.
8319e0bf 5449
919a69aa
CY
5450 * info.el: Don't set same-window-regexps.
5451 (info-setup): New function.
5452 (info-other-window, info): Call it.
5453
5454 * cus-edit.el: Don't set same-window-regexps.
5455 (customize-group): New argument.
5456 (customize-group-other-window): Use it.
5457 (customize-face, customize-face-other-window): Likewise.
5458 (custom-buffer-create-other-window): Use pop-to-buffer directly.
5459
8319e0bf
CY
5460 * net/rlogin.el:
5461 * net/telnet.el:
5462 * progmodes/gud.el: Don't set same-window-regexps.
5463
5464 * cmuscheme.el:
5465 * ielm.el:
5466 * shell.el:
5467 * mail/sendmail.el:
5468 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5469
25173000
JL
54702011-09-10 Juri Linkov <juri@jurta.org>
5471
5472 * isearch.el (isearch-edit-string): Remove obsolete mention of
5473 `C-w' (`isearch-yank-word-or-char') from docstring.
5474 (isearch-query-replace): Fix typo in docstring (bug#9466).
5475
056e44ef
JL
54762011-09-10 Juri Linkov <juri@jurta.org>
5477
5478 * paren.el (show-paren-function): Don't show escaped parens.
5479 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
5480
c3760c17
EZ
54812011-09-10 Eli Zaretskii <eliz@gnu.org>
5482
5483 * mail/sendmail.el (mml-to-mime, mml-attach-file)
5484 (mm-default-file-encoding): Remove autoload forms, they are
5485 replaced with autoload cookies in mml.el and mm-encode.el.
5486 (mail-add-attachment): New command.
5487 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5488 (mail-mode): Mention mail-insert-file and mail-add-attachment in
5489 the doc string.
5490 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5491
fece895e
RT
54922011-09-10 Reuben Thomas <rrt@sc3d.org>
5493
e69df516
SM
5494 * simple.el (count-words-region): Use buffer if there's no region
5495 (bug#9429).
fece895e 5496
5e68ce4a
JL
54972011-09-09 Juri Linkov <juri@jurta.org>
5498
5499 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5500 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5501 (wdired-isearch-filter-read-only): New function. (Bug#6362)
5502
0a6b9622
AM
55032011-09-09 Alan Mackenzie <acm@muc.de>
5504
5505 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5506 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
5507
14a29deb
EZ
55082011-09-09 Eli Zaretskii <eliz@gnu.org>
5509
5510 Fix for Savannah bug#9392.
5511 * simple.el (mail-encode-mml): New defvar.
5512
5513 * mail/rmail.el (mail-encode-mml): Add a defvar.
5514 (rmail-enable-mime-composing): Default to t.
5515 (rmail-forward): Use MIME method of forwarding only if both
5516 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5517 Set mail-encode-mml non-nil if the MIME method was used.
5518
5519 * mail/sendmail.el (mml-to-mime): Add autoload form.
5520 (mail-encode-mml): Add a defvar.
5521 (mail-mode): Make mail-encode-mml buffer-local and initialize it
5522 to nil.
5523 (mail-send): If mail-encode-mml is non-nil, run the outgoing
5524 message through mml-to-mime, and reset mail-encode-mml to nil.
5525
28c45130
GM
55262011-09-09 Glenn Morris <rgm@gnu.org>
5527
5528 * woman.el (woman-if-body): When processing an .el block,
5529 do not delete the next .el block as well. (Bug#9447)
69f4b618 5530 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 5531
9b1c252e
MR
55322011-09-08 Martin Rudalics <rudalics@gmx.at>
5533
5534 * window.el (window-deletable-p): Make sure window is live before
5535 invoking window-prev-buffers.
5536
567457e3
LL
55372011-09-08 Leo Liu <sdl.web@gmail.com>
5538
5539 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
5540
97f05794
JL
55412011-09-08 Juri Linkov <juri@jurta.org>
5542
5543 * progmodes/compile.el (compilation-environment): Make it
5544 a defcustom (bug#8340).
5545
8b0874b5
MR
55462011-09-08 Martin Rudalics <rudalics@gmx.at>
5547
5548 * window.el (frame-auto-delete): Rename to window-auto-delete.
5549 Make it control auto-deletion of windows and/or frames.
5550 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 5551 for deleting window/frame. (Bug#9419)
8b0874b5
MR
5552 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5553 Rewrite handling of case when window/frame can be deleted.
5554 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 5555 argument t. (Bug#9456)
8b0874b5 5556
4feb6e73
CY
55572011-09-07 Chong Yidong <cyd@stupidchicken.com>
5558
5559 * help-mode.el (help-mode): Restore autoload.
5560
91ab9c13
JL
55612011-09-07 Juri Linkov <juri@jurta.org>
5562
5563 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5564 `compilation-environment'. Set buffer-local
5565 `compilation-environment' to `thisenv' later after (funcall mode).
5566 (Bug#8340)
5567
5568 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
5569 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5570 instead of replacing its value. (Bug#8340)
5571
0527e251
JL
55722011-09-07 Juri Linkov <juri@jurta.org>
5573
5574 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5575 based on text properties put by `grep-filter' instead of matching
5576 escape sequences.
5577 (grep-mode): Set buffer-local `compilation-error-screen-columns'
5578 to the value of `grep-error-screen-columns' (bug#9438).
5579
249f792c
JL
55802011-09-07 Juri Linkov <juri@jurta.org>
5581
5582 * simple.el (next-error-highlight, next-error-highlight-no-select):
5583 Doc fix (bug#9432).
5584
ff7271b9
OT
55852011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5586
5587 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5588 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
5589
183fc730
LL
55902011-09-07 Leo Liu <sdl.web@gmail.com>
5591
5592 * net/rcirc.el (rcirc-mode): Conditionally initialize
5593 rcirc-input-ring.
5594
77694924
SM
55952011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5596
5597 * emacs-lisp/find-func.el (find-function-C-source): Only set
5598 find-function-C-source-directory after checking that we found a source
5599 file there (bug#9440).
5600
d809b8eb
AM
56012011-09-06 Alan Mackenzie <acm@muc.de>
5602
5603 * isearch.el (isearch-other-meta-char): Wherever a key list is
5604 unread, "unread" the prefix arg, too. This fixes bug #8901.
5605
453de99f
OG
56062011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5607
5608 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5609
90439906
JL
56102011-09-05 Juri Linkov <juri@jurta.org>
5611
5612 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5613
f62bd846
JL
56142011-09-05 Juri Linkov <juri@jurta.org>
5615
5616 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5617 keeping point where processing of grep matches begins, and
5618 continue to delete remaining escape sequences from the same point.
5619 (grep-filter): Make leading zero optional in "0?1;31m" because
5620 git-grep emits "\033[1;31m" escape sequences unlike expected
5621 "\033[01;31m" as GNU Grep does (bug#9408).
5622 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5623
045820ec
JL
56242011-09-05 Juri Linkov <juri@jurta.org>
5625
5626 * subr.el (y-or-n-p): Capitalize "yes".
5627
f5e29b9b
MA
56282011-09-04 Michael Albinus <michael.albinus@gmx.de>
5629
5630 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
5631 `tramp-cache-unload-hook' where appropriate.
5632 (tramp-methods): Rename `tramp-remote-sh' to
5633 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
5634 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5635
5636 * net/tramp-sh.el (top): Don't require 'shell.
5637 (tramp-methods): Add `tramp-remote-shell' and
5638 `tramp-remote-shell-args' entries.
5639 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5640 (tramp-sh-handle-shell-command): Remove.
5641 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5642 Use `tramp-remote-shell'.
5643
2784c434
CY
56442011-09-03 Chong Yidong <cyd@stupidchicken.com>
5645
393a301e 5646 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
5647 (sendmail-query-once): Save directly to send-mail-function.
5648 Update message-send-mail-function too.
5649
5650 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5651
464cdf56
CS
56522011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5653
5654 * progmodes/python.el (python-mode-map): Use correct function to
5655 start python interpreter from menu-bar (as reported by Geert
5656 Kloosterman).
5657 (inferior-python-mode-map): Fix typo.
393a301e 5658 (python-shell-map): Remove.
464cdf56 5659
d37e5c87
DD
56602011-09-03 Deniz Dogan <deniz@dogan.se>
5661
5662 * net/rcirc.el (rcirc-print): Simplify code for
5663 rcirc-scroll-show-maximum-output. There is no need to walk
5664 through all windows to find the right one.
5665
f3ada0ee
CS
56662011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5667
5668 * help.el (help-return-method): Doc fix.
5669
1f3c99ca
MR
56702011-09-03 Martin Rudalics <rudalics@gmx.at>
5671
5672 * window.el (window-deletable-p): Don't return a non-nil value
5673 when there's a buffer that was shown in the window before.
5674 (Bug#9419)
393a301e
SM
5675 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5676 Set window's previous buffers to nil.
1f3c99ca 5677
a3cf097f
EZ
56782011-09-03 Eli Zaretskii <eliz@gnu.org>
5679
5680 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5681 newline before and after the tag line, so it doesn't interfere
5682 with determining the paragraph direction of bidirectional text.
5683
3d03de90
LL
56842011-09-03 Leo Liu <sdl.web@gmail.com>
5685
5686 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5687
c3313451
CY
56882011-09-02 Chong Yidong <cyd@stupidchicken.com>
5689
393a301e 5690 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
5691 (pop-to-buffer): Change interactive spec. Pass second argument
5692 directly to display-buffer.
5693 (display-buffer): Fix interactive spec. Use functionp to
5694 distinguish between a function and a list of functions.
5695
5696 * abbrev.el (edit-abbrevs):
5697 * arc-mode.el (archive-extract):
5698 * autoinsert.el (auto-insert):
5699 * bookmark.el (bookmark-bmenu-list):
5700 * files.el (find-file):
5701 * view.el (view-buffer):
5702 * progmodes/compile.el (compilation-goto-locus):
5703 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5704
89894cd8
CY
57052011-09-02 Chong Yidong <cyd@stupidchicken.com>
5706
5707 * window.el (display-buffer-alist): Doc fix.
5708 (display-buffer): Add docstring. Don't treat
5709 display-buffer-default specially.
5710 (display-buffer-reuse-selected-window)
5711 (display-buffer-same-window, display-buffer-maybe-same-window)
5712 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5713 (display-buffer-pop-up-window)
5714 (display-buffer-reuse-or-pop-window)
5715 (display-buffer-use-some-window): New functions.
5716 (display-buffer-default-action): Use them.
393a301e 5717 (display-buffer-default): Delete.
89894cd8
CY
5718 (pop-to-buffer-1): Fix choice of actions.
5719
ae0bc9fb
SM
57202011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5721
5722 * minibuffer.el (completion--insert-strings): Don't get confused by
5723 completion entries that end with an LF char.
5724
e9d90883
EZ
57252011-09-01 Eli Zaretskii <eliz@gnu.org>
5726
5727 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5728
437014c8
CY
57292011-09-01 Chong Yidong <cyd@stupidchicken.com>
5730
5731 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
5732 (display-buffer-same-window, display-buffer-other-window):
5733 New functions.
437014c8
CY
5734 (pop-to-buffer-1): New function. Use the above.
5735 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 5736 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
5737
5738 * view.el (view-buffer-other-window, view-buffer-other-frame):
5739 Just use pop-to-buffer.
5740
a5e063d5
TV
57412011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5742
5743 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5744
793d32bb
WH
57452011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5746
5747 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5748
d65e4c15
RS
57492011-08-31 Richard Stallman <rms@gnu.org>
5750
5751 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5752 of the separation of rmail-view-buffer from rmail-buffer.
5753 If you say no to "replace original", the decrypt is in the
5754 view buffer. If you say yes, the decrypt goes into the
5755 rmail buffer also.
5756
f818cd2a
MR
57572011-08-31 Martin Rudalics <rudalics@gmx.at>
5758
5759 * window.el (display-buffer-window): Rewrite doc-string.
5760 (display-buffer-record-window): New function.
5761 (display-buffer-macro-specifiers)
5762 (display-buffer-even-window-sizes, display-buffer-set-height)
5763 (display-buffer-set-width, display-buffer-in-window)
5764 (display-buffer-reuse-window, display-buffer-split-specifiers)
5765 (display-buffer-side-specifiers, display-buffer-split-window-1)
5766 (display-buffer-split-window, display-buffer-split-atom-window)
5767 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5768 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5769 (display-buffer-other-window-means-other-frame)
5770 (display-buffer-normalize-special)
5771 (display-buffer-normalize-default)
5772 (display-buffer-normalize-argument)
5773 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5774 (display-buffer-normalize-specifiers, display-buffer-frame)
5775 (display-buffer-same-window, display-buffer-same-frame)
5776 (display-buffer-other-window)
5777 (display-buffer-same-frame-other-window)
5778 (display-buffer-other-frame, pop-to-buffer-same-window)
5779 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5780 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5781 (switch-to-buffer-same-frame)
5782 (switch-to-buffer-other-window-same-frame)
5783 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5784 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5785 (display-buffer-alist-set): Remove.
5786 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
5787 (special-display-regexps, special-display-function):
5788 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
5789 parameter.
5790 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5791 (special-display-frame-alist, special-display-popup-frame)
5792 (same-window-buffer-names, same-window-regexps, same-window-p)
5793 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5794 (split-window-preferred-function, split-height-threshold)
5795 (split-width-threshold, window-splittable-p)
5796 (split-window-sensibly, window--try-to-split-window)
5797 (window--frame-usable-p, even-window-heights)
5798 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
5799 (window--display-buffer-2, display-buffer-other-frame):
5800 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
5801 (display-buffer-default, display-buffer-assq-regexp): New functions.
5802 (display-buffer-alist): Rewrite doc-string.
5803 (display-buffer-default-action)
5804 (display-buffer-overriding-action): New variables.
5805 (display-buffer, switch-to-buffer): Rewrite.
5806 (pop-to-buffer): Restore Emacs 23 behavior but use
5807 window-normalize-buffer-to-display.
5808 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5809 Restore Emacs 23 behavior but use
5810 window-normalize-buffer-to-switch-to.
5811 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
5812 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5813 Rewrite using Emacs 23 options.
f818cd2a 5814
5bc3b51d
MA
58152011-08-31 Michael Albinus <michael.albinus@gmx.de>
5816
5817 * net/tramp.el (tramp-root-regexp): Remove.
5818 (tramp-completion-file-name-regexp-unified)
5819 (tramp-completion-file-name-regexp-separate)
5820 (tramp-completion-file-name-regexp-url): Don't use leading volume
5821 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
5822 (tramp-drop-volume-letter): Simplify definition.
5823 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 5824
b1a4f8e1
SM
58252011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5826
5827 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5828 (bug#9356).
5829
5664fa7b
RT
58302011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5831
b1a4f8e1 5832 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 5833
9a45d6c3
JL
58342011-08-29 Juri Linkov <juri@jurta.org>
5835
5836 * isearch.el (isearch-done): Don't display message "Mark saved"
5837 when arg `edit' is non-nil to prevent its flicker in the echo area.
5838
fb87e0fb
CY
58392011-08-28 Chong Yidong <cyd@stupidchicken.com>
5840
5841 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5842 obsolete packages for deletion.
5843
09ac1c2a
CS
58442011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5845
5846 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 5847 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
5848 view-mode from help-mode.
5849 (help-xref-override-view-map): Remove.
5850 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5851 view-mode is not used anymore.
5852
7a1ff57f
CY
58532011-08-28 Chong Yidong <cyd@stupidchicken.com>
5854
5855 * server.el (server-port): Doc fix.
5856
b9696605
CY
5857 * cus-theme.el (custom-theme-choose-mode): Inherit from
5858 special-mode (Bug#9124).
5859 (custom-theme-choose-mode-map): Add special-mode to parent.
5860
ef8cdf8c
AM
58612011-08-28 Alan Mackenzie <acm@muc.de>
5862
5863 * progmodes/cc-fonts.el
5864 (c-make-font-lock-BO-decl-search-function): New function.
5865 (c-basic-matchers-after - "Fontify the clauses after various
5866 keywords"): Extract the three keyword lists for the 3 erroneous
5867 constructs from the list of four, and use the new function above
5868 in place of an old one.
5869
27de4e20
DD
58702011-08-28 Deniz Dogan <deniz@dogan.se>
5871
5872 * net/rcirc.el (rcirc-insert-prev-input)
5873 (rcirc-insert-next-input): Remove unused argument.
5874
356a3681
SM
58752011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5876
5877 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5878
3fc9b218
AM
58792011-08-27 Alan Mackenzie <acm@muc.de>
5880
5881 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5882 handle function pointer parameters properly.
5883
538a061c
MR
58842011-08-27 Martin Rudalics <rudalics@gmx.at>
5885
5886 * window.el (display-buffer-reuse-window): Fix case where
5887 selected window was reused with non-nil OTHER-WINDOW argument.
5888 (Bug#9381)
5889
35b1c40c
DD
58902011-08-27 Deniz Dogan <deniz@dogan.se>
5891
5892 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5893 oftc's NickServ messages.
5894
2f6a3e79
GM
58952011-08-27 Glenn Morris <rgm@gnu.org>
5896
5897 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5898
7254299e
CY
58992011-08-26 Chong Yidong <cyd@stupidchicken.com>
5900
5901 * emacs-lisp/package.el (package-install): Call package-initialize
5902 if called interactively.
5903
f8ccf167
LL
59042011-08-26 Leo Liu <sdl.web@gmail.com>
5905
5906 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5907
3e8cd5ce
JL
59082011-08-25 Juri Linkov <juri@jurta.org>
5909
5910 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5911 `search-whitespace-regexp' (bug#9364).
5912
93eb7113
JL
59132011-08-25 Juri Linkov <juri@jurta.org>
5914
5915 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5916 `regexp-search-ring' to their global values to protect from
5917 updating by `read-from-minibuffer' (bug#9185).
5918
f65d1611
JL
59192011-08-25 Juri Linkov <juri@jurta.org>
5920
5921 * textmodes/ispell.el (ispell-command-loop): Add newline
5922 at the end of the "Use option `i'..." line.
5923
f1cf7a31
JL
59242011-08-25 Juri Linkov <juri@jurta.org>
5925
5926 * battery.el (display-battery-mode): If `battery-status-function'
5927 or `battery-mode-line-format' is nil, display the message and set
5928 `display-battery-mode' to nil (bug#9363).
5929
0c95fcf7
EZ
59302011-08-25 Eli Zaretskii <eliz@gnu.org>
5931
5932 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5933 bidi-string-mark-left-to-right; they are unnecessary now.
5934
a2ebe600
DD
59352011-08-25 Deniz Dogan <deniz@dogan.se>
5936
5937 * net/quickurl.el: Documentation typo fixes.
5938
e4ed06f1
CY
59392011-08-25 Chong Yidong <cyd@stupidchicken.com>
5940
5941 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5942
e5f1c99e
GM
59432011-08-25 Glenn Morris <rgm@gnu.org>
5944
b2948976
GM
5945 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5946
e5f1c99e
GM
5947 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5948 (smtpmail-via-smtp): Handle nil response from smtp.
5949
f22f4808
JL
59502011-08-24 Juri Linkov <juri@jurta.org>
5951
5952 * proced.el (proced-marked): Inherit from `error' instead of
5953 `font-lock-warning-face'.
5954
5955 * ibuffer.el (ibuffer-marked-face): Change default face from
5956 `font-lock-warning-face' to `warning'.
5957 (ibuffer-deletion-face): Change default face from
5958 `font-lock-type-face' to `error'.
5959
5960 * battery.el (battery-update): Use the face `error' instead of
5961 `font-lock-warning-face' (bug#6117).
5962
6a93965e
JL
59632011-08-24 Juri Linkov <juri@jurta.org>
5964
5965 * faces.el (success): Change face color from "Green3" to
5966 "ForestGreen" on light background (bug#9353).
5967
1ed43b09
CY
59682011-08-24 Chong Yidong <cyd@stupidchicken.com>
5969
5664fa7b
RT
5970 * window.el (quit-window): Rename from quit-restore-window.
5971 Use same arglist as old quit-window.
1ed43b09
CY
5972 (frame-auto-delete): Doc fix.
5973
5974 * view.el (view-mode-exit): Use quit-window.
5975
11dcdbb2
JL
59762011-08-24 Juri Linkov <juri@jurta.org>
5977
5978 * isearch.el (isearch-ring-adjust1): Start visiting previous
5979 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5980 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5981 for empty search string (when the last search string is reused
5982 automatically) to adjust the isearch ring to the last element and
5983 prepare the correct index for further M-p commands (bug#9185).
5984
de62b4df
KH
59852011-08-24 Kenichi Handa <handa@m17n.org>
5986
5987 * international/ucs-normalize.el: If decomposition property of
5988 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5989 nil.
5990 (nfd, nfkd): Likewise.
5991
963b492b
SM
59922011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5993
5994 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5995 from process filters aren't reliably transmitted to the surrounding
5996 accept-process-output.
5997 (mpc-proc-check): New function.
5998 (mpc-proc-sync): Use it (bug#8293)
5999
93b6b5e1
SM
60002011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6001
6002 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6003 Add compatibility functions (bug#9313).
6004
bca633fb
EZ
60052011-08-23 Eli Zaretskii <eliz@gnu.org>
6006
b177498a
EZ
6007 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6008
6df6ae42 6009 * international/uni-bidi.el: Regenerate.
bca633fb 6010
0902a04e
KH
60112011-08-23 Kenichi Handa <handa@m17n.org>
6012
6013 * international/charprop.el:
6014 * international/uni-bidi.el:
6015 * international/uni-category.el:
6016 * international/uni-combining.el:
6017 * international/uni-comment.el:
6018 * international/uni-decimal.el:
6019 * international/uni-decomposition.el:
6020 * international/uni-digit.el:
6021 * international/uni-lowercase.el:
6022 * international/uni-mirrored.el:
6023 * international/uni-name.el:
6024 * international/uni-numeric.el:
6025 * international/uni-old-name.el:
6026 * international/uni-titlecase.el:
6027 * international/uni-uppercase.el: Regenerate.
6028
3bbf23bc
MR
60292011-08-23 Martin Rudalics <rudalics@gmx.at>
6030
6031 * help.el (help-window-setup): Fix message displayed when other
6032 window is reused. (Bug#9341)
6033
b3fd59bd
SM
60342011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6035
1802e444
SM
6036 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6037 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6038
b3fd59bd
SM
6039 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6040 Mark obsolete.
6041 * shell.el (shell-parse-pcomplete-arguments): New function.
6042 (shell-completion-vars): Use it instead (bug#9160).
6043
4eb61348
SM
60442011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6045
867cab74
SM
6046 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6047 strings and comments (bug#9333).
6048
4eb61348
SM
6049 * emacs-lisp/debug.el (debug-arglist): New function.
6050 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6051 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6052
262a1439
JL
60532011-08-22 Juri Linkov <juri@jurta.org>
6054
56ee679c
JL
6055 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6056 Revert regexp that highlights output switches to its old
6057 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6058
262a1439
JL
6059 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6060 to check for empty output (bug#9226).
6061
f13f86fb
CY
60622011-08-22 Chong Yidong <cyd@stupidchicken.com>
6063
6064 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6065 symbol-constituent as the default, as that stops font-lock from
6066 working properly (Bug#8843).
6067
c65c9622
LMI
60682011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6069
6070 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6071 `coding-system-for-*' around the process open call to avoid
6072 auth-source side effects.
e7f2c178 6073 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
6074 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6075 probe hangs.
c65c9622 6076
23a8a5ab
CY
60772011-08-21 Chong Yidong <cyd@stupidchicken.com>
6078
ff98b2dd
CY
6079 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6080
23a8a5ab
CY
6081 * emacs-lisp/find-func.el (find-function-noselect): New arg
6082 lisp-only.
6083
6084 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6085 signal an error for built-in functions (Bug#6664).
6086
f5e3c598
LMI
60872011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6088
6089 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6090 (smtpmail-try-auth-methods): Use it.
6091
a3f2468a
CY
60922011-08-21 Chong Yidong <cyd@stupidchicken.com>
6093
2c34e8da
CY
6094 * font-lock.el (font-lock-fontify-region)
6095 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6096 (font-lock-default-unfontify-buffer)
6097 (font-lock-default-fontify-region)
6098 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6099
b3fd59bd
SM
6100 * progmodes/compile.el (compilation-error-properties):
6101 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
6102 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6103 `ant' regexp.
ee31aabc 6104
a3f2468a
CY
6105 * net/browse-url.el (browse-url-firefox): Don't call
6106 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6107
8e999f70
GM
61082011-08-20 Glenn Morris <rgm@gnu.org>
6109
c21a496a
GM
6110 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6111
59ee0542
GM
6112 * tutorial.el (tutorial--default-keys): Update some default bindings.
6113
8e999f70
GM
6114 * files.el (hack-local-variables): Fully ignore case for "mode:".
6115
e3715033
AM
61162011-08-20 Alan Mackenzie <acm@muc.de>
6117
6118 Resolve invalid use of a regexp in regexp-opt.
6119
4d61f28d
JB
6120 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6121 detection for a java annotation.
e3715033 6122
4d61f28d 6123 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
6124 detection for a java annotation.
6125
4d61f28d
JB
6126 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6127 handling for java.
e3715033
AM
6128 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6129
04ed2e9c
CY
61302011-08-20 Chong Yidong <cyd@stupidchicken.com>
6131
6132 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6133 (Bug#9274).
6134
826cee64
AM
61352011-08-20 Alan Mackenzie <acm@muc.de>
6136
58179cce 6137 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
6138 such a construct. Mainly for when jit-lock etc. starts a chunk
6139 here.
6140
58179cce 6141 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 6142 variable.
58179cce 6143 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
6144 c-make-font-lock-search-function.
6145 (c-make-font-lock-search-function): Use the above function.
6146 (c-make-font-lock-context-search-function): New function.
6147 (c-cpp-matchers): Enhance the preprocessor expression case with
6148 the above function
6149 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6150 which takes an expression.
6151
6152 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6153
13009bd8
MR
61542011-08-20 Martin Rudalics <rudalics@gmx.at>
6155
6156 * window.el (display-buffer-reuse-window)
6157 (display-buffer-pop-up-window): Don't reuse or split a side
6158 window.
6159
9234ff7f
GM
61602011-08-19 Glenn Morris <rgm@gnu.org>
6161
6162 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 6163 Downcase "Mode:". (Bug#9331)
9234ff7f 6164
f635daa1
CY
61652011-08-18 Chong Yidong <cyd@stupidchicken.com>
6166
6167 * international/characters.el: Add L and R categories.
6168
6169 * subr.el (bidi-string-mark-left-to-right): Rename from
6170 string-mark-left-to-right. Use category search.
6171
6172 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6173
bc987f8b
JL
61742011-08-18 Juri Linkov <juri@jurta.org>
6175
6176 * faces.el (error, warning, success): New faces with definitions
6177 copied from old default values of `font-lock-warning-face',
6178 `compilation-warning', `compilation-info' (bug#6117).
6179
6180 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6181
6182 * progmodes/compile.el (compilation-error): Inherit from `error'.
6183 (compilation-warning): Inherit from `warning'.
6184 (compilation-info): Inherit from `success'.
6185
6186 * dired.el (dired-marked): Inherit from `warning'.
6187 (dired-flagged): Inherit from `error'.
6188
57173b96
LMI
61892011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6190
3e79eb87
LMI
6191 * mail/smtpmail.el (auth-source): Require to avoid problems with
6192 binding variables (bug#9298). Also clean up some unused
6193 autoloads.
6194
b3fd59bd
SM
6195 * net/network-stream.el (network-stream-open-starttls):
6196 Support using starttls.el without using gnutls-cli.
57173b96 6197
02b404de
JL
61982011-08-17 Juri Linkov <juri@jurta.org>
6199
6200 * progmodes/grep.el (rgrep): Handle the case when
6201 `grep-find-command' is a cons cell (bug#9278).
6202
8c9177f2
MR
62032011-08-17 Martin Rudalics <rudalics@gmx.at>
6204
6205 * window.el (display-buffer-pop-up-frame): Run frame creation
6206 function with BUFFER current (as special-display-popup-frame
6207 does). Reported by Drew Adams.
6208
3644a0ab
DU
62092011-08-17 Daiki Ueno <ueno@unixuser.org>
6210
6211 * epa-mail.el: Simplify GnuPG group expansion using
6212 epg-expand-group.
6213 (epa-mail-group-alist, epa-mail-group-modtime)
6214 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6215 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6216 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6217 Remove.
6218
5e617bc2 62192011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
6220
6221 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6222
9c4aeabf
AM
62232011-08-16 Alan Mackenzie <acm@muc.de>
6224
6225 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6226 Correct, to avoid the inside of macros.
6227
3a99bf64
RS
62282011-08-16 Richard Stallman <rms@gnu.org>
6229
04963aa8
RS
6230 * epa-mail.el: Handle GnuPG group definitions.
6231 (epa-mail-group-alist, epa-mail-group-modtime)
6232 (epa-mail-gnupg-conf-file): New variables.
6233 (epa-mail-parse-groups, epa-mail-sync-groups)
6234 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6235 (epa-mail-expand-recipients): New functions.
6236 (epa-mail-encrypt): Call epa-mail-expand-recipients.
6237
177549d0
RS
6238 * mail/rmail.el (rmail-epa-decrypt): New command.
6239
fe38beef
RS
6240 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6241 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
6242 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6243 (epa-decrypt-armor-in-region): Make error message clearer.
6244
934eacb9
SM
62452011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6246
6247 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6248 and "a2b" to "ab" for `prefix'.
6249
d024fb4e
CY
62502011-08-14 Chong Yidong <cyd@stupidchicken.com>
6251
6252 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6253 filter groups.
de148fee
CY
6254 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
6255 Fourquet (Bug#8804).
d024fb4e 6256
62f1ca49
JB
62572011-08-12 Juanma Barranquero <lekktu@gmail.com>
6258
6259 * startup.el (argi): Declare as global variable (bug#9275).
6260
9ccaaa4b
CY
62612011-08-12 Chong Yidong <cyd@stupidchicken.com>
6262
6263 * subr.el (string-mark-left-to-right): Search the entire string
6264 for RTL script, not just the terminating character. Doc fix.
6265
a3dae87a
SM
62662011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6267
6cd18349
SM
6268 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6269 New function.
6270 (js--regexp-literal, js-syntax-propertize-function): Remove.
6271 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6272 (js-mode-map): Don't rebind electric keys.
6273 (js-insert-and-indent): Remove.
6274 (js-mode): Setup electric-layout and electric-indent instead.
6275
a3dae87a
SM
6276 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6277
9d5cb631
DU
62782011-08-12 Daiki Ueno <ueno@unixuser.org>
6279
6280 * epa.el (epa-progress-callback-function): Fix the logic of
6281 displaying progress.
6282 * epa-file.el (epa-file-insert-file-contents): Make progress
6283 display more user-friendly.
6284 (epa-file-write-region): Ditto.
6285
3e26a4a2
CY
62862011-08-10 Chong Yidong <cyd@stupidchicken.com>
6287
6288 * subr.el (string-mark-left-to-right): New function.
6289
6290 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6291 Use string-mark-left-to-right.
6292 (list-buffers-noselect): Caller changed.
6293
a3dae87a
SM
6294 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6295 Use string-mark-left-to-right.
3e26a4a2
CY
6296 (tabulated-list-print): Recenter after moving point.
6297
ac8cf6e6
JL
62982011-08-10 Juri Linkov <juri@jurta.org>
6299
6300 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6301 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6302 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6303
8d96c9a4
CY
63042011-08-09 Chong Yidong <cyd@stupidchicken.com>
6305
6306 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6307 (Bug#7554).
6308
7be1c708 63092011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
6310
6311 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6312 character. (Bug#6594)
6313
37e11a63
CY
63142011-08-08 Chong Yidong <cyd@stupidchicken.com>
6315
839dde57
CY
6316 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6317 (image-dired--with-db-file): New macro.
6318 (image-dired-write-tags, image-dired-remove-tag)
6319 (image-dired-create-gallery-lists, image-dired-write-comments)
6320 (image-dired-get-comment, image-dired-mark-tagged-files)
6321 (image-dired-list-tags, image-dired-gallery-generate): Use it.
6322 (image-dired-gallery-generate): Use insert-file-contents.
6323
37e11a63
CY
6324 * time.el (display-time-world-list, display-time-world-display):
6325 * time-stamp.el (time-stamp-string):
6326 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6327 set-time-zone-rule (Bug#7337).
6328
0b4946c4
DU
63292011-08-08 Daiki Ueno <ueno@unixuser.org>
6330
6331 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6332 (epg-error-to-string, epg-errors-to-string): New function.
6333 (epg-wait-for-completion): Reverse errors list.
6334 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6335 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6336 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6337 (epg-sign-keys, epg-generate-key-from-file)
6338 (epg-generate-key-from-string): Format errors by using
6339 epg-errors-to-string (bug#9255).
6340 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6341
75bfc667
JL
63422011-08-07 Juri Linkov <juri@jurta.org>
6343
6344 * faces.el (list-faces-display): Remove extra angle bracket
6345 from `help-mode-map'.
6346
6347 * info.el (Info-history-toc-nodes): Doc fix.
6348
6349 * longlines.el (longlines-mode): Doc fix.
6350
673e08bb
SM
63512011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6352
4640dd88
SM
6353 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6354 of statements and in a few more cases (bug#9183).
6355
673e08bb
SM
6356 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6357 New functions.
6358 (cl-transform-lambda): Use them (bug#9239).
6359
89b3f019
MR
63602011-08-05 Martin Rudalics <rudalics@gmx.at>
6361
6362 * window.el (display-buffer-same-window)
6363 (display-buffer-same-frame, display-buffer-other-window)
6364 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6365 (pop-to-buffer-other-window)
6366 (pop-to-buffer-same-frame-other-window)
6367 (pop-to-buffer-other-frame): Make them defuns.
6368 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6369
640c8776
SM
63702011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6371
6372 * subr.el (make-composed-keymap): Move from C. Change calling
6373 convention, and improve docstring to bring attention to a subtle point.
6374 * minibuffer.el (completing-read-default): Adjust accordingly.
6375
63648a95
MA
63762011-08-03 Michael Albinus <michael.albinus@gmx.de>
6377
6378 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6379 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6380
6381 * net/trampver.el: Update release number.
6382
b796c9b7
SM
63832011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6384
6385 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6386 "in" (bug#9190).
6387
2239d7d5
LMI
63882011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6389
e07dd7c3
LMI
6390 * mail/sendmail.el (sendmail-query-once): Restore the current
6391 buffer after querying (bug#9074).
6392
0e6a2bd7
LMI
6393 * dired.el (dired-flagged): Use different faces for marked and
6394 flagged files (bug#6117).
6395
ce887515
LMI
6396 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6397 (bug#4433).
6398
92f2affc
LMI
6399 * ido.el (ido-mode): Switch off the message if called
6400 non-interactively.
6401
57d5aff0
LMI
6402 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6403 before 587, since it appears that that's more likely to work for
6404 more people.
6405
98cd6c18 6406 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 6407 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
6408 exist.
6409
b96dec83
LMI
6410 * info.el: Remove the `Info-beginning-of-buffer' function
6411 (bug#8325).
6412
b796c9b7
SM
6413 * net/network-stream.el (network-stream-open-starttls):
6414 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 6415
d90e2ea0
MR
64162011-08-01 Martin Rudalics <rudalics@gmx.at>
6417
6418 * window.el (display-buffer-in-window): Don't set dedicated status
6419 of window here (Bug#9215).
6420 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6421 (display-buffer-pop-up-side-window)
b796c9b7 6422 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 6423
cca09170
SM
64242011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6425
6426 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6427 before binding generated-autoload-file.
6428
027b979c
DD
64292011-08-01 Deniz Dogan <deniz@dogan.se>
6430
6431 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6432
3c7ee4f3
MA
64332011-07-30 Michael Albinus <michael.albinus@gmx.de>
6434
6435 Sync with Tramp 2.2.2.
6436
6437 * net/trampver.el: Update release number.
6438
2cc8e51a
JL
64392011-07-30 Juri Linkov <juri@jurta.org>
6440
6441 * dired-aux.el (dired-touch-initial): Remove function.
6442 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6443 current time, and `default' to the last modification time of the
6444 current marked file (bug#6887).
6445
a514d856
JM
64462011-07-28 Jose E. Marchesi <jemarch@gnu.org>
6447
6448 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 6449 numeric argument to read-number (bug#9163).
a514d856 6450
8a7eddd7
MA
64512011-07-27 Michael Albinus <michael.albinus@gmx.de>
6452
6453 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6454 connection process, it could be nil.
6455
1ddd96f5
LL
64562011-07-27 Leo Liu <sdl.web@gmail.com>
6457
6458 Simplify url handling in rcirc-mode.
6459
6460 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6461 (rcirc-browse-url-at-mouse): Remove.
6462 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6463
b248a85d
AM
64642011-07-26 Alan Mackenzie <acm@muc.de>
6465
6466 Fontify bitfield declarations properly.
6467
6468 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6469 (c-symbol-chars): Now exported as a lang variable.
6470 (c-not-primitive-type-keywords): New lang variable.
6471
6472 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6473 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 6474 parsed as a bitfield declaration.
b248a85d 6475
b796c9b7
SM
6476 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6477 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
6478 (c-punctuation-in): New function.
6479 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6480 declarations properly.
6481
68575ab0
UJ
64822011-07-26 Ulf Jasper <ulf.jasper@web.de>
6483
6484 * calendar/icalendar.el (icalendar--all-events): Take care of
6485 multiple vcalendars in a single file.
b796c9b7 6486 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 6487
0f0a88b9
DD
64882011-07-25 Deniz Dogan <deniz@dogan.se>
6489
6490 * image.el (insert-image): Clarifying docstring.
6491
0b3f36df
MA
64922011-07-24 Michael Albinus <michael.albinus@gmx.de>
6493
6494 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6495 `tramp-send-command-and-check' if there is no error.
6496 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6497
a9901f61
AM
64982011-07-22 Alan Mackenzie <acm@muc.de>
6499
6500 Prevent cc-langs.elc being loaded at run time.
6501
6502 * progmodes/cc-mode.el: Remove two autoload forms which loaded
6503 cc-langs.
6504
4d61f28d 6505 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
6506 "(require 'cc-langs)". Quote a form so it will evaluate at
6507 (cc-mode's) compilation time.
6508
11d074b2
MA
65092011-07-22 Michael Albinus <michael.albinus@gmx.de>
6510
6511 * net/tramp.el (tramp-file-name-handler): Avoid recursive
6512 loading. (Bug#9114)
6513
938b94c8
MR
65142011-07-21 Martin Rudalics <rudalics@gmx.at>
6515
6516 * window.el (display-buffer-pop-up-window)
6517 (display-buffer-pop-up-side-window)
6518 (display-buffer-in-side-window): Call display-buffer-set-height
6519 and display-buffer-set-width after setting the new window's
b796c9b7 6520 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 6521
bfa4f190
SS
65222011-07-20 Sam Steingold <sds@gnu.org>
6523
6524 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6525 (etags-tags-included-tables): Call `convert-standard-filename' on
6526 the file names contained in TAGS so that windows Emacs can handle
6527 TAGS files created by cygwin ctags.
6528
8ca42262
LMI
65292011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
6530
6531 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6532 which apparently didn't work.
6533
5db2afd2 65342011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 6535
5db2afd2
RW
6536 * proced.el (proced-send-signal): For *Marked Processes* buffer
6537 put point at beginning of buffer.
6538
92e15d10
SB
65392011-07-19 Stephen Berman <stephen.berman@gmx.net>
6540
6541 * proced.el (proced-format): Make header lines align with the text
6542 (bug#1779).
6543
1bfd59e5
LMI
65442011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6545
6546 * view.el (view-buffer): Allow running in `special' modes if we're
6547 visiting a file (bug#8615).
6548
f5aae37c
MR
65492011-07-19 Martin Rudalics <rudalics@gmx.at>
6550
6551 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
6552 (display-buffer-alist-set-1, display-buffer-alist-set-2):
6553 New functions.
f5aae37c
MR
6554 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6555 more accurately.
6556
bf2c1571
AM
65572011-07-18 Alan Mackenzie <acm@muc.de>
6558
6559 Fontify declarators properly when, e.g., a jit-lock chunk begins
6560 inside a declaration.
6561
6562 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6563
b796c9b7
SM
6564 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6565 New function.
bf2c1571
AM
6566 (c-complex-decl-matchers): Insert reference to
6567 c-font-lock-enclosing-decls.
6568
6569 * progmodes/cc-engine.el (c-backward-single-comment):
6570 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6571 to nil around calls to (forward-comment -1).
6572
4e190b80
LMI
65732011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6574
12dc863d
LMI
6575 * image.el (put-image): Doc typo fix.
6576
a762e966
LMI
6577 * progmodes/etags.el (tags-search): Doc typo fix.
6578
4e190b80
LMI
6579 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6580 password if we get errors 550 to 554.
6581
f019fb21
LMI
65822011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6583
b796c9b7 6584 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 6585
81746738
LMI
6586 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6587 indentation character (bug#6380).
6588
3ee3a1b5
LMI
6589 * files.el (buffer-offer-save): Made permanently local (bug#6241).
6590
c82f64de
LMI
6591 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6592 to clarify what the problem is (bug#4291).
6593
f019fb21
LMI
6594 * simple.el (current-kill): Clarify what
6595 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
6596 (auto-fill-mode): Document `auto-fill-function' in relation to
6597 `auto-fill-mode' (bug#2470).
f019fb21 6598
0794775d
LM
65992011-07-16 Lawrence Mitchell <wence@gmx.li>
6600
6601 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6602 method if slot is read-only (bug#9035).
6603
be39b8cc
MR
66042011-07-16 Martin Rudalics <rudalics@gmx.at>
6605
b796c9b7 6606 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 6607 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
6608 selected before, see discussion of (Bug#8615), (Bug#6954).
6609 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 6610
6ccf7859
GM
66112011-07-15 Glenn Morris <rgm@gnu.org>
6612
6613 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 6614 Respect help-form.
6ccf7859 6615
87e86684
LM
66162011-07-09 Lawrence Mitchell <wence@gmx.li>
6617
6618 * net/gnutls.el (gnutls-min-prime-bits): New variable.
6619 (gnutls-negotiate): Use it.
6620
d6066239
LMI
66212011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6622
b796c9b7
SM
6623 * net/gnutls.el (gnutls-negotiate):
6624 Upcase `gnutls-algorithm-priority'.
d6066239 6625
bd23ebc0
GM
66262011-07-15 Glenn Morris <rgm@gnu.org>
6627
c65bca65
GM
6628 * jka-compr.el (jka-compr-verbose): Move from here...
6629 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
6630 Add missing :version tag.
6631 * info.el: No need to require jka-compr when compiling.
bd23ebc0 6632
478615cc
LMI
66332011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6634
7b41decb
LMI
6635 * net/gnutls.el (gnutls-algorithm-priority): New variable.
6636 (gnutls-negotiate): Use it.
6637
dbc44fcd
LMI
6638 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6639
06789f97
LMI
6640 * info.el (Info-beginning-of-buffer): New command.
6641 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6642 announcing `b' as the key (bug#8325).
ab896c37 6643 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 6644
c39da690
LMI
6645 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6646
3aa5f34b
LMI
6647 * international/mule-cmds.el
6648 (describe-specified-language-support): Make the error message
6649 clearer (bug#8905).
6650
4bf0979f
LMI
6651 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6652
478615cc
LMI
6653 * isearch.el (isearch-barrier): Add a doc string, since it's
6654 mentioned in a function doc string (bug#8678).
6655
75c68aa1
MR
66562011-07-15 Martin Rudalics <rudalics@gmx.at>
6657
6658 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6659 buffer argument (Bug#9083) and self-identifying label argument.
6660
a7c33da2
GM
66612011-07-15 Glenn Morris <rgm@gnu.org>
6662
6663 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6664
2f5c6024
LMI
66652011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6666
6667 * man.el (Man-fontify-manpage): Fix message when formatting the
6668 man page (bug#7929).
6669
0bb23927 66702011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
6671
6672 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6673 argument LRM; if non-nil, append an invisible LRM character to the
6674 buffer name.
6675 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6676 last argument non-nil, when formatting buffer names.
0bb23927
EZ
6677 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6678 paragraph direction.
cce4b0a7 6679
621ef9ab
LMI
66802011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6681
d1583c48
LMI
6682 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6683 the man page name (bug#7929).
6684
6a57fb5f
LMI
6685 * image.el (put-image): Mention the `put-image' overlay property
6686 (bug#7834).
6687
d7956b14
LMI
6688 * scroll-bar.el (set-scroll-bar-mode): Mention that
6689 `scroll-bar-mode' lists the values (bug#7772).
6690
5b2d4a66
LMI
6691 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6692 command (bug#7729).
6693
7509a874
LMI
6694 * rect.el (apply-on-rectangle): Return the point after the last
6695 operation.
6696 (string-rectangle): Go to the point after the last operation
6697 (bug#7522).
6698
4fe74b19
LMI
6699 * printing.el (pr-toggle-region): Clarify the documentation
6700 slightly (bug#7493).
6701
b796c9b7
SM
6702 * time.el (display-time-update):
6703 Allow `display-time-mail-function' to return nil (bug#7158).
6704 Fix suggested by Detlev Zundel.
ab283561 6705
fc233c9d
LMI
6706 * vc/diff.el (diff): Clarify the order the file names are read
6707 (bug#7111).
6708
43f5740b
LMI
6709 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6710 the doc string (bug#7015).
6711
f2182a76
LMI
6712 * font-lock.el (font-lock-maximum-decoration): Mention what
6713 numeric levels mean (bug#6935).
6714
621ef9ab
LMI
6715 * startup.el (initial-buffer-choice): Don't mention the `none'
6716 selection, which is against policy.
6717
adc47434
MR
67182011-07-14 Martin Rudalics <rudalics@gmx.at>
6719
b796c9b7
SM
6720 * window.el (display-buffer-normalize-special):
6721 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 6722
7e5bfb8f
EZ
67232011-07-14 Eli Zaretskii <eliz@gnu.org>
6724
6725 * subr.el (version<, version<=, version=): Mention "-CVS" and
6726 "-12345" alpha version numbers.
6727
27fa387a
CY
67282011-07-14 Chong Yidong <cyd@stupidchicken.com>
6729
6730 * bindings.el: Add advertised binding for set-mark-command
6731 (Bug#5772).
6732
8bdfa064
CY
67332011-07-14 Chong Yidong <cyd@stupidchicken.com>
6734
6735 * bindings.el (mode-line-other-buffer):
6736 * bookmark.el (bookmark-bmenu-2-window):
6737 * bs.el (bs-cycle-next, bs-cycle-previous):
6738 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6739 switch-to-buffer.
6740
6741 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 6742 Delete.
8bdfa064 6743
5eba16a3
JB
67442011-07-14 Juanma Barranquero <lekktu@gmail.com>
6745
6746 * follow.el (follow-debug-message, follow-redisplay):
6747 * jka-cmpr-hook.el (with-auto-compression-mode):
6748 Fix typos in docstrings.
6749
15853710
LMI
67502011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6751
a28e4607
LMI
6752 * subr.el (with-silent-modifications): Clarify somewhat what the
6753 macro inhibits (bug#6525).
6754
15853710
LMI
6755 * simple.el (eval-expression): Note what it does if called
6756 interactively (bug#6495).
6757
bee0fcef
CY
67582011-07-13 Chong Yidong <cyd@stupidchicken.com>
6759
b796c9b7
SM
6760 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6761 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
6762
6763 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6764 Remove switch-to-buffer.
6765
58274504
LMI
67662011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6767
bd2fcc8d
LMI
6768 * files.el (make-directory): Clarify that an error will be raised
6769 if there's an error (bug#6397).
6770
0f04b32c
LMI
6771 * startup.el (initial-buffer-choice): Add `none' as a choice
6772 (bug#6234).
6773
465c5fc8
LMI
6774 * subr.el (add-hook): Clarify section about buffer-local hooks
6775 (bug#6218).
6776
58274504
LMI
6777 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6778
bead9a43
JB
67792011-07-13 Juanma Barranquero <lekktu@gmail.com>
6780
6781 * tabify.el (untabify): Preserve the current column so that point
6782 doesn't move (bug#6032).
6783
3af98a7b
LMI
67842011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6785
b796c9b7
SM
6786 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6787 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 6788
6240145a
GM
67892011-07-13 Glenn Morris <rgm@gnu.org>
6790
6791 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6792 (dired-insert-directory): Give a message the first time
6793 if ls is found not to support --dired.
6794
1d8c2ccc
LMI
67952011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6796
6797 * simple.el (toggle-truncate-lines): Clarify what is toggled
6798 (bug#5580). Text by Drew Adams.
6799
5fc4038e
CY
68002011-07-13 Chong Yidong <cyd@stupidchicken.com>
6801
6802 * simple.el (blink-matching-open): Make the error message from the
6803 last change less verbose.
6804
bf6012e5
DN
68052011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6806
6807 * font-lock.el (font-lock-comment-face): Use the high contrast
6808 "yellow" color for font-lock-comment-face on low color terminals
6809 using a dark background color (bug#4221).
6810
343c3b5a
LMI
68112011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6812
7e9505c5
LMI
6813 * dired.el (dired-insert-set-properties): Make the doc string
6814 reflect what it does now (bug#5325).
6815
c26fdcf5
LMI
6816 * simple.el (blink-matching-open): Say that we were unable to find
6817 the match within the limit, if we're limited (bug#5122).
6818
bb388cc5
LMI
6819 * international/mule-cmds.el (prefer-coding-system): Add an
6820 example (bug#4869).
6821
343c3b5a
LMI
6822 * progmodes/etags.el (tags-search): Document `file-list-form'
6823 (bug#4731).
6824
2a517d45
LM
68252011-07-13 Lawrence Mitchell <wence@gmx.li>
6826
6827 * net/browse-url.el (browse-url-default-browser)
6828 (browse-url-browser-function): Make the default browser choice a
6829 bit more logical (bug#4300). Also clean up the doc string.
6830
b6c78ef2
JB
68312011-07-13 Juanma Barranquero <lekktu@gmail.com>
6832
6833 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6834 binary endings (bug#4440).
6835
1c4dd947
LMI
68362011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6837
a2014063
LMI
6838 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6839 which can be pretty annoying (bug#8971).
6840
9c9c2d88
LMI
6841 * jka-compr.el (jka-compr-verbose): New variable, and use
6842 throughout (bug#8971).
6843
1c4dd947
LMI
6844 * info.el (Info-find-file): Fall back on the installation
6845 directory if we can't find the info node anywhere else.
6846
a1c9f41b
SO
68472011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6848
6849 * vc/vc.el (vc-revert-file):
6850 Don't set file time-stamp in the past. (Bug#5181)
6851
536f3d36
LMI
68522011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6853
7152b011
LMI
6854 * files.el (after-find-file): Give a better error message when
6855 trying to find a symlink that points to a file that doesn't exist
6856 (bug#4398).
6857
536f3d36
LMI
6858 * progmodes/cc-vars.el: Remove (probably) misleading comment
6859 (bug#4396).
6860
460c0fba
JB
68612011-07-12 Johan Bockgård <bojohan@gnu.org>
6862
6863 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6864
7a6bda45
CY
68652011-07-12 Chong Yidong <cyd@stupidchicken.com>
6866
6867 * mouse-sel.el: Hack restoring functionality, while keeping
6868 compatibility with 2010-07-03 changes to mouse selection.
6869 (mouse-sel-primary-overlay): New var.
6870 (mouse-sel-selection-alist): Use it.
6871 (mouse-sel-mode): Doc fix; remove points that are default features
6872 of mouse.el.
6873
c79598ef
JB
68742011-07-12 Johan Bockgård <bojohan@gnu.org>
6875
6876 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6877 Fix previous fix (bug#2490).
6878
ff8be6ef
RW
68792011-07-12 Roland Winkler <winkler@gnu.org>
6880
b796c9b7
SM
6881 * textmodes/bibtex.el (bibtex-initialize):
6882 Use pop-to-buffer-same-window.
ff8be6ef
RW
6883 (bibtex-search-entries): Fix interactive call.
6884
296ba3ee
LMI
68852011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6886
f5242a02 6887 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
6888 Fontise bytecomp Error lines more correctly (bug#2490).
6889 Fix suggested by Johan Bockgård.
f5242a02 6890
296ba3ee
LMI
6891 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6892
6893 * dired-x.el (dired-guess-default): Use `delete-dups'.
6894
f69fd0d2
CY
68952011-07-12 Chong Yidong <cyd@stupidchicken.com>
6896
6897 * dired.el (dired-mark-prompt):
6898 * dired-aux.el (dired-read-shell-command): Doc fix.
6899
eab5dc07
LMI
69002011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6901
b796c9b7
SM
6902 * mail/sendmail.el (sendmail-query-once):
6903 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
6904 emacs -Q.
6905
6906 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6907
eab5dc07
LMI
6908 * cus-edit.el (custom-file): Take an optional no-error variable.
6909 (customize-save-variable): Set the variable, and give a warning if
6910 running under "emacs -q".
6911
a1e65d42
JB
69122011-07-11 Juanma Barranquero <lekktu@gmail.com>
6913
6914 * loadhist.el (unload-feature-special-hooks):
6915 Add `auto-coding-functions', `fill-nobreak-predicate' and
6916 `find-directory-functions' (bug#5327).
6917
1d52da10
LMI
69182011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6919
be958f1d
LMI
6920 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6921
5bedb26c
LMI
6922 * cus-edit.el (custom-guess-name-alist): -alist variables should
6923 use the `alist' type (bug#3120). Suggested by Drew Adams.
6924
1d52da10
LMI
6925 * printing.el: Add documentation to all the `pr-toggle-' commands.
6926
cd394be1 69272011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
6928
6929 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6930 backends where it makes sense (bug#2623).
6931
dcc88d8a
LMI
69322011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6933
c3de9feb
LMI
6934 * dired-x.el (dired-guess-default): Remove duplicate shell command
6935 entries (bug#2028).
8a93078b 6936 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 6937 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 6938
dcc88d8a
LMI
6939 * subr.el (remove-duplicates): New conveniency function.
6940
505e3645
LMI
69412011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6942
6943 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6944 (bug#1526).
6945
69462011-07-10 Martin Rudalics <rudalics@gmx.at>
6947
6948 * window.el (display-buffer-normalize-default): Don't invert
6949 meaning of even-window-heights. Reported by Eli Zaretskii
6950 <eliz@gnu.org>.
6951
455e4fa1
BR
69522011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6953
6954 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6955
8e0bc3e9
CY
69562011-07-10 Chong Yidong <cyd@stupidchicken.com>
6957
6958 * window.el (display-buffer): Fix arguments to
6959 display-buffer-reuse-window in last change.
6960
fa7c3228
CY
6961 * faces.el (link): Use a less saturated blue on light backgrounds.
6962
6963 * startup.el (fancy-startup-text, fancy-about-text)
6964 (fancy-startup-tail): Use font-lock faces, for background safety.
6965
c0a7f300
BN
69662011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6967
b796c9b7
SM
6968 * emulation/viper-cmd.el (viper-change-state-to-vi):
6969 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 6970
4dc2a129
MR
69712011-07-09 Martin Rudalics <rudalics@gmx.at>
6972
6973 * window.el (display-buffer-default-specifiers): Remove.
6974 (display-buffer-macro-specifiers): Remove default specifiers.
6975 (display-buffer-alist): Default to nil.
b796c9b7 6976 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
6977 (display-buffer-pop-up-window): Allow splitting internal
6978 windows. Check whether a live window was created.
6979 (display-buffer-other-window-means-other-frame)
6980 (display-buffer-normalize-arguments): Rename to
6981 display-buffer-normalize-argument and rewrite. Set the
6982 other-window specifier.
6983 (display-buffer-normalize-special): New function.
6984 (display-buffer-normalize-options): Rename to
6985 display-buffer-normalize-default and rewrite.
6986 (display-buffer-normalize-options-inhibit): Remove.
6987 (display-buffer-normalize-specifiers): Rewrite.
6988 (display-buffer): Process other-window specifier and call
6989 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6990 more faithfully.
b796c9b7 6991 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 6992 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
6993 (display-buffer-in-window, display-buffer-alist-set):
6994 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
6995 <tassilo@member.fsf.org>.
6996
2d43b8c9
LL
69972011-07-09 Leo Liu <sdl.web@gmail.com>
6998
6999 * register.el (insert-register): Restore accidental change on
7000 2011-06-26. (Bug#9028)
7001
7f9b7c53
GM
70022011-07-09 Glenn Morris <rgm@gnu.org>
7003
7004 * subr.el (remq): Handle the empty list. (Bug#9024)
7005
f042cfd8
AS
70062011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7007
7008 * mail/sendmail.el (send-mail-function): No longer delay custom
7009 initialization.
7010 * custom.el (custom-initialize-delay): Doc fix.
7011
856b2f11
SM
70122011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7013
7014 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7015
afae1d68
MA
70162011-07-08 Michael Albinus <michael.albinus@gmx.de>
7017
7018 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7019 human-friendly prompt.
7020
0757af94
SM
70212011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7022
7023 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7024 provided by a particular plugin.
7025
d760b731
LMI
70262011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7027
7028 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7029 save customizations (with "emacs -Q"), just set the variable
7030 instead of erroring out.
7031
7032 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7033
cd79ce90
JL
70342011-07-08 Juri Linkov <juri@jurta.org>
7035
7036 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7037 (archive-zip-update-case): Use 7z if found by `executable-find'.
7038 The order of searching the available programs is the same as in
7039 `archive-zip-extract' (bug#8968).
7040
14cc04aa
CY
70412011-07-07 Chong Yidong <cyd@stupidchicken.com>
7042
7043 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7044 (menu-bar-options-menu): Tweak descriptions.
7045
0a1848ec
LMI
70462011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7047
7048 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7049 menu items into verb phrases (bug#1421). Also refill to fit under
7050 80 columns.
7051
f5bd0689
CY
70522011-07-07 Chong Yidong <cyd@stupidchicken.com>
7053
538e85c6
CY
7054 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7055 (Info-read-node-name): Doc fix (Bug#1084).
7056
f5bd0689
CY
7057 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7058 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7059 (end-of-sexp, beginning-of-sexp)
7060 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7061 (forward-symbol, forward-same-syntax, word-at-point)
7062 (sentence-at-point): Doc fix (Bug#1144).
7063
56ec5115
LMI
70642011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7065
f3f8e37f
LMI
7066 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7067 should cover it (bug#1281).
7068
0757af94 7069 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 7070
e9fce1ac 7071 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
7072 negotiation fails, then possibly try again with a non-encrypted
7073 connection (bug#9017).
7074
56ec5115
LMI
7075 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7076 be used.
7077
c2f9aec8
RS
70782011-07-07 Richard Stallman <rms@gnu.org>
7079
7080 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7081 property, and handle its changed format.
7082 Look for the correct line number.
7083 Use file's line contents (but not past first =) to find
7084 correct line in message.
7085
ef7b981d 70862011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
7087
7088 * international/characters.el (build-unicode-category-table):
7089 Delete it.
0757af94 7090 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 7091
0757af94 7092 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
7093 to src/chartab.c.
7094 (get-char-code-property): Call unicode-property-table-internal to
7095 load a file. Call get-unicode-property-internal where necessary.
7096 (put-char-code-property): Call unicode-property-table-internal to
7097 load a file. Call put-unicode-property-internal where necessary.
7098 put-unicode-property-internal where necessary.
0757af94
SM
7099 (char-code-property-description):
7100 Call unicode-property-table-internal to load a file.
c805dec0
KH
7101
7102 * international/charprop.el:
7103 * international/uni-bidi.el:
7104 * international/uni-category.el:
7105 * international/uni-combining.el:
7106 * international/uni-comment.el:
7107 * international/uni-decimal.el:
7108 * international/uni-decomposition.el:
7109 * international/uni-digit.el:
7110 * international/uni-lowercase.el:
7111 * international/uni-mirrored.el:
7112 * international/uni-name.el:
7113 * international/uni-numeric.el:
7114 * international/uni-old-name.el:
7115 * international/uni-titlecase.el:
7116 * international/uni-uppercase.el: Regenerate.
7117
7118 * loadup.el: Load international/charprop.el before
7119 international/characters.
7120
e14b388a
CY
71212011-07-07 Chong Yidong <cyd@stupidchicken.com>
7122
7123 * window.el (next-buffer, previous-buffer): Signal an error if
7124 called from a minibuffer window.
7125
7126 * bindings.el: Revert 2011-07-04 change.
7127
354cf0ba
RS
71282011-07-06 Richard Stallman <rms@gnu.org>
7129
7130 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7131 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7132 Treat markers like ints.
7133 (rmail-mime-entity): Doc fix.
7134
a48868a7
LMI
71352011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7136
4906cd3d
LMI
7137 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7138 defcustom again for backwards compatibility.
7139
e0457abe
LMI
7140 * simple.el (shell-command-on-region): Fill.
7141
d67f7e1f
LMI
7142 * dired-aux.el (dired-kill-line): Add a doc string.
7143
fe204702
LMI
7144 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7145 to "\\sw\\|\\s_" (bug#358).
7146
a48868a7
LMI
7147 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7148 (dired-unmark-backward): Ditto.
7149 (dired-flag-backup-files): Ditto.
7150
7151 * dired-x.el (dired-mark-sexp): Ditto.
7152
aa8a705c
RS
71532011-07-06 Richard Stallman <rms@gnu.org>
7154
7155 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7156 (rmail-mime-entity): New arg TRUNCATED.
7157 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7158 New functions.
7159 (rmail-mime-save): Warn if entity is truncated.
7160 (rmail-mime-toggle-hidden): Likewise, for showing.
7161 (rmail-mime-process-multipart): Record when an entity is truncated.
7162
a9a936b9
RS
7163 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7164 if ENTITY is a string.
7165
1f2b92cb
LMI
71662011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7167
f4f73198 7168 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
7169 of faces when `M-C-x'-ing their definitions (bug#8378).
7170 Also clean up the code slightly.
f4f73198 7171
12b16734 7172 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 7173 because that makes the colors go away.
12b16734 7174
f0691d22
LMI
7175 * mail/sendmail.el (send-mail-function): Change the default to
7176 `sendmail-query-once'.
9e87df06 7177 (sendmail-query-once): Add an autoload cookie.
f0691d22 7178
1f2b92cb
LMI
7179 * net/network-stream.el (network-stream-open-starttls): Try using
7180 a plain connection even if the server offered STARTTLS, and we
7181 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7182 capability. This should make smtpmail.el work in slightly more
7183 configurations.
7184
1cdd2a1b
MA
71852011-07-06 Michael Albinus <michael.albinus@gmx.de>
7186
7187 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7188 New defun.
7189 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7190
fbcc67e2
MM
71912011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7192
7193 * progmodes/sql.el: Version 3.0
0757af94 7194 (sql-product-alist): Add product :completion-object,
fbcc67e2 7195 :completion-column, and :statement attributes.
0757af94 7196 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 7197 (sql-mode-syntax-table): Mark all punctuation.
0757af94 7198 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
7199 ansi keywords.
7200 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 7201 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
7202 (sql-oracle-show-reserved-words): New function for development.
7203 (sql-product-font-lock): Simplify for source code buffers.
7204 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7205 New functions.
7206 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
7207 (sql-mode-map): Add statement movement functions.
7208 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7209 New variable.
fbcc67e2
MM
7210 (sql-statement-regexp, sql-beginning-of-statement)
7211 (sql-end-of-statement, sql-signum): New functions.
0757af94 7212 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
7213 (sql-show-sqli-buffer): Bug fix.
7214 (sql-interactive-mode): Store connection data as buffer local.
0757af94 7215 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
7216 with sql-interactive-mode.
7217 (sql-save-connection): Save buffer local settings.
0757af94 7218 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
7219 (sql-product-interactive): Bug fix.
7220 (sql-preoutput-hold): New variable.
7221 (sql-interactive-remove-continuation-prompt): Bug fixes.
7222 (sql-debug-redirect): New variable.
7223 (sql-str-literal): New function.
7224 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 7225 Redesign.
fbcc67e2
MM
7226 (sql-oracle-save-settings, sql-oracle-restore-settings)
7227 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7228 (sql-completion-object, sql-completion-column)
7229 (sql-completion-sqlbuf): New variables.
7230 (sql-build-completions-1, sql-build-completions)
7231 (sql-try-completion): New functions.
7232 (sql-read-table-name): Use them.
7233 (sql-contains-names): New buffer local variable.
7234 (sql-list-all, sql-list-table): Use it.
7235 (sql-oracle-completion-types): New variable.
7236 (sql-oracle-completion-object, sql-sqlite-completion-object)
7237 (sql-postgres-completion-object): New functions.
7238
d4eaeab1
GM
72392011-07-06 Glenn Morris <rgm@gnu.org>
7240
7241 * window.el (pop-to-buffer): Doc fix.
7242
322b7dab 72432011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
7244
7245 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7246
322b7dab 72472011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 7248
322b7dab 7249 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 7250
322b7dab 7251 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 7252
605dd5bf
CY
72532011-07-05 Chong Yidong <cyd@stupidchicken.com>
7254
7255 * button.el (button): Inherit from link face. Suggested by Dan
7256 Nicolaescu.
7257
7dbfa719
SM
72582011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7259
3db614b0
SM
7260 * progmodes/gdb-mi.el: Fit in 80 columns.
7261 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7262 switch-to-buffer.
7263
7dbfa719
SM
7264 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7265 if imenu is simply not configured (bug#8941).
7266
919d884a
KM
72672011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7268
7269 * allout.el (allout-post-undo-hook): New allout outline-change
7270 event hook to signal undo activity.
7271 (allout-post-command-business): Run allout-post-undo-hook if an
7272 undo just occurred.
7dbfa719
SM
7273 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7274 * allout-widgets.el (allout-widgets-after-undo-function):
7275 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
7276 in the vicinity of an undo.
7277 (allout-widgets-mode): Include allout-widgets-after-undo-function
7278 on the new allout-post-undo-hook.
7279
450a0f09
SM
72802011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7281
7282 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7283 Let define-derived-mode define it.
7284 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7285 cycles of abbrev-table inheritance (bug#8998).
7286
2de69e00
RW
72872011-07-05 Roland Winkler <winkler@gnu.org>
7288
7289 * textmodes/bibtex.el: Add support for biblatex.
7290 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7291 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7292 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7293 (bibtex-entry-alist, bibtex-field-alist): New variables.
7294 (bibtex-entry-field-alist): Obsolete alias for
7295 bibtex-BibTeX-entry-alist.
7296 (bibtex-entry-alist, bibtex-field-alist): New widgets.
7297 (bibtex-set-dialect): New command.
7298 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
7299 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7300 Bind via bibtex-set-dialect.
2de69e00
RW
7301 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7302 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7303 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7304 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7305 Define via bibtex-set-dialect.
450a0f09
SM
7306 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7307 Obey bibtex-no-opt-remove-re.
2de69e00
RW
7308 (bibtex-vec-push, bibtex-vec-incr): New functions.
7309 (bibtex-format-entry, bibtex-field-list)
7310 (bibtex-print-help-message, bibtex-validate)
7311 (bibtex-search-entries): Use new format of bibtex-entry-alist.
7312
2dcdbdd9
SM
73132011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7314
7315 * progmodes/compile.el (compilation-goto-locus):
7316 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7317 * bs.el (bs-cycle-next, bs-cycle-previous):
7318 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7319 * bindings.el (mode-line-other-buffer):
7320 * autoinsert.el (auto-insert):
7321 * arc-mode.el (archive-extract):
7322 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7323
b27640fe
JB
73242011-07-05 Juanma Barranquero <lekktu@gmail.com>
7325
7326 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7327 Fix check of `emacs-lock-unlockable-modes'.
7328 Coerce true values of `emacs-lock--try-unlocking' to t.
7329
53bbe3ad
JB
73302011-07-05 Juanma Barranquero <lekktu@gmail.com>
7331
7332 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7333 * emacs-lock.el: New file.
7334
1d3cdbc7
JD
73352011-07-05 Julien Danjou <julien@danjou.info>
7336
7337 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7338 than `boundp' to check if face is set.
7339
9173deec
JB
73402011-07-05 Juanma Barranquero <lekktu@gmail.com>
7341
7342 * register.el (registerv-make):
7343 * window.el (window-min-height): Fix typos in docstrings.
7344
869795d6
JD
73452011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7346
9173deec 7347 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
7348 Update doc string.
7349
b768cdcd
JB
73502011-07-04 Juanma Barranquero <lekktu@gmail.com>
7351
7352 * server.el (server-execute): Catch quit and call
7353 `server-return-error' to pass the error back to emacsclient and
7354 close the connection (bug#8942).
7355
13aa217b
KM
73562011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
7357
7358 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7359 insecure exception for current topic. Also note that auto-saves
7360 are handled differently.
7361
7362 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7363 State variables for tracking auto-save inhibition situation.
7364
7365 (allout-write-contents-hook-handler): Rename from
7366 'allout-write-file-hook-handler', and describe how it depends on
7367 write-contents-functions sensitivity to non-nil value to prevent
7368 file write.
7369
7370 (allout-auto-save-hook-handler): Remove. auto-save does not check
7371 this in individual buffers, only in the starting buffer, so this
7372 is not the right way for us to inhibit auto-save in a buffer
7373 according to its condition.
7374
7375 (allout-mode): Use new allout-write-contents-hook-handler, and
7376 only with write-contents-functions. Remove auto-save provisions -
7377 they're implemented elsewhere.
7378
7379 (allout-before-change-handler): If undo is in progress, note that
7380 for attention of allout-post-command-business.
7381
7382 (allout-post-command-business): If the command we're following was
7383 an undo, check for change in the status of encrypted items and
7384 adjust auto-save inhibitions accordingly.
7385
7386 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7387 according to whether there are or aren't any plain-text topics
7388 pending encryption.
7389
2dcdbdd9 7390 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
7391 Adjust buffer-saved-size and some allout state to inhibit auto-saves
7392 if there are plain-text topics pending encryption.
13aa217b
KM
7393
7394 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7395 buffer-saved-size and some allout state to not inhibit auto-saves
7396 if there are no longer any plain-text topics pending encryption.
7397
0757af94
SM
7398 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7399 No longer provide for exemption of the current topic.
13aa217b 7400
ac89b32c
JL
74012011-07-04 Juri Linkov <juri@jurta.org>
7402
7403 Add 7z operations to delete and save changed members (bug#8968).
7404 * arc-mode.el (archive-7z-expunge, archive-7z-update):
7405 New defcustoms.
7406 (archive-7z-write-file-member): New function.
7407 (archive-7z-summarize): Fix the number of dashes in the
7408 listing output.
7409
8fa39615
SM
74102011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7411
7412 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7413 (bug#8958).
7414
2f11b3f1
CY
74152011-07-04 Chong Yidong <cyd@stupidchicken.com>
7416
d66fef2b
CY
7417 * bindings.el: Ignore next-buffer and previous-buffer in
7418 minibuffer-local-map.
7419
2f11b3f1
CY
7420 * font-lock.el (font-lock-builtin-face): Change light background
7421 color to dark slate blue (Bug#6693).
7422
f932a347
WD
74232011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
7424
7425 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7426
c8af70e1
SM
74272011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7428
7429 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7430 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7431 Add switch-to-buffer.
7432
f158badc
LMI
74332011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7434
7435 * isearch.el (isearch-search-fun-function): Clarify further the
7436 meaning of the function returned.
7437
6d95bd46
MA
74382011-07-04 Michael Albinus <michael.albinus@gmx.de>
7439
7440 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7441
7442 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7443 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7444 Use it.
7445 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
7446 `tramp-default-remote-path' does not exist.
7447 (tramp-send-command-and-read): New optional argument NOERROR.
7448 (tramp-open-connection-setup-interactive-shell)
7449 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7450 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7451 (tramp-process-sentinel): Flush also process' connection property.
7452 (tramp-sh-handle-start-file-process): Do not set process
7453 sentinel. It is done now ...
7454 (tramp-maybe-open-connection): ... here. (Bug#8929)
7455
909e6b67
MK
74562011-07-04 MON KEY <monkey@sandpframing.com>
7457
7458 * play/animate.el (animate-string): Doc fixes and allow changing
7459 the buffer name (bug#5417).
7460
74612011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7462
c8af70e1 7463 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 7464
f34755dc
PE
74652011-07-04 Paul Eggert <eggert@cs.ucla.edu>
7466
396cec72
PE
7467 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7468 This is simpler and helps future-proof the code.
7469 (timer-until): Use time-subtract and float-time.
08235028 7470 (timer--time-less-p): Use time-less-p.
f34755dc 7471
56e6cc31
JB
74722011-07-04 Juanma Barranquero <lekktu@gmail.com>
7473
3abb79e5
JB
7474 * type-break.el (timep): Use the value of `float-time' to avoid a
7475 byte-compiler warning.
7476
56e6cc31
JB
7477 * server.el (server-eval-and-print): Return any result, even nil.
7478
7b9430b4
PE
74792011-07-03 Paul Eggert <eggert@cs.ucla.edu>
7480
7481 * type-break.el: Accept time formats that the builtins accept.
7482 (timep, type-break-time-difference): Accept any format that
7483 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7484 This is simpler and helps future-proof the code.
7485 (type-break-time-difference): Round rather than ignoring
7486 subseconds components.
7487
3034e9e7
LMI
74882011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7489
7490 * info.el (Info-apropos-matches): Make non-interactive, since it
7491 doesn't seem to do anything useful as a command (bug#8829).
7492
1485f4c0
CY
74932011-07-03 Chong Yidong <cyd@stupidchicken.com>
7494
7495 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 7496 Move from faces.el.
1485f4c0
CY
7497 (frame-default-terminal-background): New function.
7498
7499 * custom.el (custom-push-theme): Don't record faces in `changed'
7500 theme; this doesn't work correctly for per-frame face settings.
7501 (disable-theme): Use face-set-after-frame-default to reset faces.
7502 (custom--frame-color-default): New function.
7503
9fa3dd45
LMI
75042011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7505
c8af70e1 7506 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
7507 (bug#8769).
7508
6cbbc20c
KR
75092011-03-29 Kevin Ryde <user42@zip.com.au>
7510
7511 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7512 `perl-Test2' extend to match possible "fail #N" rep count
7513 (bug#8377).
7514
c7f98048
LMI
75152011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7516
65676592
LMI
7517 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7518 `smtpmail-via-smtp' now returns the error instead of nil.
7519
c7f98048
LMI
7520 * isearch.el (isearch-search-fun-function): Clarify the doc string
7521 (bug#8101).
7522
56e6cc31 75232011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
7524
7525 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7526 unnecessary spaces (bug#8987).
7527
2b216704
LMI
75282011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7529
7530 * net/network-stream.el (open-network-stream): Use the
7531 :end-of-capability command thoughout.
7532
75332011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7534
7535 * net/network-stream.el (open-network-stream): Add the
7536 :end-of-capability command parameter, used by pop3.el.
7537
36adf6ce
LMI
75382011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7539
1ca0da0e
LMI
7540 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7541
fc00f69c
LMI
7542 * fringe.el (fringe-query-style): Remove redundant text " (type ?
7543 for list)" (bug#6475).
7544
28fd8759 7545 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 7546 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
7547 an error (bug#6297).
7548
0dd8b6da
LMI
7549 * man.el (Man-reference-regexp): Allow matching possible
7550 word-wrapped references (bug#6289).
7551
ce1438d6
LMI
7552 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7553 for consistency with the other vc buffers (bug#6197).
7554 (vc-checkin): Ditto.
7555
7556 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7557
36adf6ce
LMI
7558 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7559
e83cc1f7
LMI
75602011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7561
8a20ca4c
LMI
7562 * custom.el (defcustom): Clarify that :set is only used in the
7563 Customize user interface (bug#6089).
7564
83319045
LMI
7565 * progmodes/flymake.el (flymake-mode): If the buffer isn't
7566 associated with a file, refuse to run instead of erroring out
7567 (bug#6084).
7568
a8392169
LMI
7569 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7570 the doc string, since it appears that using `fill-column' always
7571 controls the width (bug#7845).
7572
e83cc1f7
LMI
7573 * simple.el (shell-command-on-region): Say where the error output
7574 went if `shell-command-default-error-buffer' is set (bug#6857).
7575
e47ca23b
KM
75762011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
7577
7578 * allout.el (allout-yank-processing): Adjust cursor position for
7579 backwards-deleted space.
7580
7581 (allout-rebullet-heading): Register changes with
7582 allout-exposure-changed-hook, so the modified topic is properly
7583 decorated.
7584
5cf56143
LMI
75852011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7586
08549772
LMI
7587 * minibuffer.el (completion-in-region): Document PREDICATE
7588 (bug#7136).
7589
48e96771
LMI
7590 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7591 of keyword/argument pairs (bug#6904).
7592
c8af70e1
SM
7593 * replace.el (multi-occur):
7594 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 7595
e17d05e2
LMI
75962011-07-02 Drew Adams <drew.adams@oracle.com>
7597
7598 * dired.el (dired-mark-if): Make the message about whether it's
7599 marking or unmarking clearer (bug#8523).
7600
063b0e45
LMI
76012011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7602
7603 * disp-table.el (display-table-print-array): New function.
7604 (describe-display-table): Use it to print the vectors more pretty
7605 (Bug#8859).
7606
28545e04
MR
76072011-07-02 Martin Rudalics <rudalics@gmx.at>
7608
7609 * window.el (window-state-get-1): Don't assign clone numbers.
7610 Add clone-of item to list of window parameters.
7611 (window-state-put-2): Don't process clone numbers.
7612 (display-buffer-alist): Fix doc-string.
7613
3349e122
SM
76142011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7615
7616 * subr.el (remq): Don't allocate if it's not needed.
7617 (keymap--menu-item-binding, keymap--menu-item-with-binding)
7618 (keymap--merge-bindings): New functions.
7619 (keymap-canonicalize): Use them to refine the canonicalization.
7620 * minibuffer.el (minibuffer-local-completion-map)
7621 (minibuffer-local-must-match-map): Move initialization from C.
7622 (minibuffer-local-filename-completion-map): Move initialization from C;
7623 don't inherit from anything here.
7624 (minibuffer-local-filename-must-match-map): Make obsolete.
7625 (completing-read-default): Use make-composed-keymap to combine
7626 minibuffer-local-filename-completion-map with either
7627 minibuffer-local-must-match-map or
7628 minibuffer-local-filename-completion-map.
7629
d224ac83
GM
76302011-07-01 Glenn Morris <rgm@gnu.org>
7631
3de63bf8
GM
7632 * type-break.el (type-break-time-sum): Use dolist.
7633
d224ac83
GM
7634 * textmodes/flyspell.el (flyspell-word-search-backward):
7635 Replace CL function.
7636
1a1e3f32
SM
76372011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7638
fe3f64d5
SM
7639 * mouse.el (mouse--strip-first-event): New function.
7640 (function-key-map): Use it to map fringe clicks to normal clicks
7641 by default.
7642
eb604e34
SM
7643 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7644 (vc-bzr-revision-completion-table): Add support for annotate and date.
7645
1a1e3f32
SM
7646 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7647 inherit from parent.
7648
5bd35902
LMI
76492011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7650
ace6c69c 7651 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 7652 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 7653
191e2bed
LMI
7654 * dired.el (dired-mode): Fix up the doc string as suggested by
7655 Drew Adams (bug#8817).
7656
5bd35902
LMI
7657 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7658 cookie, since the manual says that it should be possible to add
7659 this function to `find-file-hook' (bug#8709).
7660
eee8207a
TZ
76612011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7662
7663 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7664 here. Noted Ted Zlatanov as the maintainer.
7665 (cfengine-common-settings, cfengine-common-syntax): New functions
7666 to set up common things between `cfengine-mode' and
7667 `cfengine3-mode'.
7668 (cfengine3-mode): New mode.
7669 (cfengine3-defuns cfengine3-defuns-regex
7670 (cfengine3-class-selector-regex cfengine3-category-regex)
7671 (cfengine3-vartypes cfengine3-font-lock-keywords)
7672 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 7673 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 7674
36b148cf
MA
76752011-07-01 Michael Albinus <michael.albinus@gmx.de>
7676
7677 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7678
7679 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7680
0bf4ba9a
MR
76812011-07-01 Martin Rudalics <rudalics@gmx.at>
7682
7683 * window.el (same-window-buffer-names, same-window-regexps)
7684 (same-window-p, special-display-frame-alist)
7685 (special-display-popup-frame, special-display-function)
7686 (special-display-buffer-names, special-display-regexps)
7687 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7688 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7689 (split-window-preferred-function, split-height-threshold)
7690 (split-width-threshold, even-window-heights)
7691 (display-buffer-mark-dedicated, window-splittable-p)
7692 (split-window-sensibly, window-safely-shrinkable-p):
7693 Un-obsolete.
7694 (display-buffer): Don't spread args with function specifier
7695 because special-display-popup-frame won't like it.
7696
35837f51
PE
76972011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7698
d0672f86
PE
7699 Time-stamp simplifications and fixes.
7700 These improve accuracy slightly, and future-proof the code
7701 against some potential changes to current-time format.
7702
b9444d97
PE
7703 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7704 by using time-since and float-time.
7705
0ef923dc
PE
7706 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7707 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7708 + NNN microseconds".
7709
2f81380d
PE
7710 * type-break.el (type-break-time-sum): Rewrite using time-add.
7711
845b5c3e
PE
7712 * play/hanoi.el (hanoi-current-time-float): Remove.
7713 All uses replaced by float-time.
7714
ee6f1be0
PE
7715 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7716 This yields a more-accurate answer.
7717 (rng-time-to-float): Remove; no longer needed.
7718
fe955043
PE
7719 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7720
5777162a
PE
7721 * calendar/timeclock.el (timeclock-seconds-to-time):
7722 Defalias to seconds-to-time, since they're the same thing.
7723
3103f8b6 7724 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 7725 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
7726 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7727
0e61a35f
SM
77282011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7729
7730 * window.el (bury-buffer): Don't iconify the only frame.
7731 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7732 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7733
ddd63a1e
CY
77342011-07-01 Chong Yidong <cyd@stupidchicken.com>
7735
0e61a35f
SM
7736 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7737 Add mouse-yank-primary.
ddd63a1e 7738
055f4923
TZ
77392011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7740
7741 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7742
6a2fb145
SM
77432011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7744
7745 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7746 (find-library-name): Use it to find relative load names when provided
7747 absolute file name (bug#8803).
7748
fd4983f2
LMI
77492011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7750
887d14ad
LMI
7751 * textmodes/flyspell.el (flyspell-word): Consider words that
7752 differ only in case as potential doublons (bug#5687).
7753
c53dc7fc
LMI
7754 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7755 Remove two rather uninteresting debugging-like messages to make
7756 debbugs.el more silent.
7757
fd4983f2
LMI
7758 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7759 a password-like phrase.
7760
7a71b18d 77612011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
7762
7763 * progmodes/cc-guess.el: New file.
7764
6a2fb145 7765 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
7766
7767 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7768 derived from `c-basic-common-init'.
7769
7770 * progmodes/cc-mode.el (top-level): Require cc-guess.
7771 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7772
1fa280a3
LM
77732011-06-30 Lawrence Mitchell <wence@gmx.li>
7774
7775 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7776
e6597158
AM
77772011-06-30 Alan Mackenzie <acm@muc.de>
7778
1fa280a3
LM
7779 * progmodes/cc-engine.el (c-guess-continued-construct):
7780 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
7781 lock is disabled. Name this case as "CASE G".
7782
68ba37fb
KM
77832011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7784
7785 * allout.el (allout-yank-processing): Fix injection of extra space
7786 between bullet and non-whitespace character in first topic when
7787 pasting, ensuring that the actual spacing in the pasted topic
7788 following the bullet char is preserved. This extra space was
7789 causing pasted encrypted topics to get a decrypted status even
7790 when the content was actually still encrypted. Now the decryption
7791 status from before the paste is preserved.
7792
7793 (allout-flag-region): Set all allout overlays so they evaporate
7794 when reduced to zero length (evanescent), to prevent overlay
7795 leakage.
7796
887a0b34
GM
77972011-06-30 Glenn Morris <rgm@gnu.org>
7798
94b9acce
GM
7799 * w32-fns.el (w32-charset-info-alist): Declare.
7800
1d9b46d4
GM
7801 * find-dired.el (find-grep-options): Simplify.
7802
cc232200
GM
7803 * term/ns-win.el (ns-set-resource): Declare.
7804
28e77c46
GM
7805 * ses.el (row, col): Declare dynamic variables honestly.
7806
887a0b34
GM
7807 * textmodes/reftex-parse.el (index-tags): Declare.
7808
658d8eb8
CY
78092011-06-30 Chong Yidong <cyd@stupidchicken.com>
7810
7811 * cus-edit.el (customize-push-and-save): New function.
7812
7813 * files.el (hack-local-variables-confirm): Use it.
7814
1fa280a3
LM
7815 * custom.el (load-theme): New arg NO-CONFIRM.
7816 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
7817 (custom-enabled-themes): Doc fix.
7818
7819 * cus-theme.el (customize-create-theme)
7820 (custom-theme-merge-theme): Callers to load-theme changed.
7821
bb617717
LMI
78222011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7823
d61bdd5d
LMI
7824 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7825 short URLs have at least one dot in them (bug #7614).
7826
bb617717
LMI
7827 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7828 nil, because using a pty is apparently too slow (bug #895).
7829
2f31f37a
LMI
78302011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7831
7832 * mail/sendmail.el (sendmail-query-once): New function.
7833 (sendmail-query-once-function): New variable.
7834
3076b24e
GM
78352011-06-29 Glenn Morris <rgm@gnu.org>
7836
faf2a174
GM
7837 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7838
3076b24e
GM
7839 * ses.el (top-level): Require cl when compiling.
7840 (ses-set-localvars): Fix error statement.
7841 Call it at compile time to silence a storm of warnings.
7842
5386012d
MR
78432011-06-29 Martin Rudalics <rudalics@gmx.at>
7844
7845 * window.el (normalize-live-buffer): Rename to
7846 window-normalize-buffer.
7847 (normalize-live-frame): Rename to window-normalize-frame.
7848 (normalize-any-window): Rename to window-normalize-any-window.
7849 (normalize-live-window): Rename to window-normalize-live-window.
7850 (make-window-atom): Rename to window-make-atom.
7851 (window-resize-reset): Rename to window--resize-reset.
7852 (window-resize-reset-1): Rename to window--resize-reset-1.
7853 (resize-mini-window): Rename to window--resize-mini-window.
7854 (resize-subwindows-skip-p): Rename to
7855 window--resize-subwindows-skip-p.
7856 (resize-subwindows-normal): Rename to
7857 window--resize-subwindows-normal.
7858 (resize-subwindows): Rename to window--resize-subwindows.
7859 (resize-other-windows): Rename to window--resize-siblings.
7860 (resize-this-window): Rename to window--resize-this-window.
7861 (resize-root-window): Rename to window--resize-root-window.
7862 (resize-root-window-vertically): Rename to
7863 window--resize-root-window-vertically.
7864 (normalize-buffer-to-display): Rename to
7865 window-normalize-buffer-to-display.
7866 (normalize-buffer-to-switch-to): Rename to
7867 window-normalize-buffer-to-switch-to.
7868 Correspondingly update all callers of the functions listed
7869 above.
7870 (display-buffer-alist, display-buffer-normalize-arguments)
7871 (display-buffer-normalize-options, display-buffer)
7872 (display-buffer-alist-set): Use "function" instead of
7873 "fun-with-args".
7874
1176868d
CY
78752011-06-28 Chong Yidong <cyd@stupidchicken.com>
7876
7877 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7878 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7879 debbugs.gnu.org. Mention acknowledgment email.
7880
20a7a65f
LMI
78812011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7882
7883 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7884 buffer multibyteness, since it shouldn't matter.
7885
5f45cca5
MR
78862011-06-28 Martin Rudalics <rudalics@gmx.at>
7887
7888 * window.el (display-buffer-in-side-window): Handle dedicated
7889 windows as in display-buffer-reuse-window.
7890 (display-buffer-normalize-alist): Use value of override
7891 specifier.
7892 (display-buffer-normalize-specifiers): Use value of
7893 other-window-means-other-frame specifier.
7894 (display-buffer-alist): Rewrite some texts in widgets.
7895 (display-buffer): Spread arguments when calling function
7896 specified by fun-with-args.
7897
ad85fe1f
DD
78982011-06-28 Deniz Dogan <deniz@dogan.se>
7899
1fa280a3
LM
7900 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7901 Unnest `let'.
da68c4c8 7902
ad85fe1f
DD
7903 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7904 selectors (Bug#5732).
ec49bd31 7905 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 7906
a08cc025
JA
79072011-06-27 Jari Aalto <jari.aalto@cante.net>
7908
7909 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7910 (eshell-ls-date-format): New defcustom.
7911 (eshell-ls-file): Use it.
7912
e2b551c5
SM
79132011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7914
7915 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7916
8982b231
KY
79172011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7918
7919 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7920 (ange-ftp-make-tmp-name): New arg.
7921 (ange-ftp-file-local-copy): Use it.
7922
36c9fa27
J
79232011-06-27 Jambunathan K <kjambunathan@gmail.com>
7924
7925 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7926 no-conversion (Bug#8870).
7927
d68443dc
MR
79282011-06-27 Martin Rudalics <rudalics@gmx.at>
7929
7930 * window.el (window-right, window-left, window-child)
7931 (window-child-count, window-last-child)
7932 (window-iso-combination-p, walk-window-tree-1)
7933 (window-atom-check-1, window-tree-1, delete-window)
7934 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7935 new naming conventions - window-vchild, window-hchild,
7936 window-next and window-prev are now called window-top-child,
7937 window-left-child, window-next-sibling and window-prev-sibling
7938 respectively.
d615d6d2
MR
7939 (resize-window-reset): Rename to window-resize-reset.
7940 (resize-window-reset-1): Rename to window-resize-reset-1.
7941 (resize-window): Rename to window-resize.
7942 (window-min-height, window-min-width)
7943 (resize-mini-window, resize-this-window, resize-root-window)
7944 (resize-root-window-vertically, adjust-window-trailing-edge)
7945 (enlarge-window, shrink-window, maximize-window)
7946 (minimize-window, delete-window, quit-restore-window)
7947 (split-window, balance-windows, balance-windows-area-adjust)
7948 (balance-windows-area, window-state-put-2)
7949 (display-buffer-even-window-sizes, display-buffer-set-height)
7950 (display-buffer-set-width, set-window-text-height)
7951 (fit-window-to-buffer): Rename all "resize-window" prefixed
7952 calls to use the "window-resize" prefix convention.
7953 (display-buffer-alist): Fix symbol for label specifier.
7954 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7955 corresponding specifier.
7956 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 7957
b6458526
VB
79582011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7959
7960 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7961 convention.
7962 (ses-call-printer): Does not pass an empty string to formatter when the
7963 cell is empty to keep from barking printer Calc math-format-value.
7964
d31fd9ac
RS
79652011-06-27 Richard Stallman <rms@gnu.org>
7966
43d5bf84
RS
7967 * battery.el (battery-mode-line-limit): New variable.
7968 (battery-update): Handle it.
7969
d31fd9ac
RS
7970 * mail/rmailmm.el (rmail-mime-process-multipart):
7971 Handle truncated messages.
7972
819a6054
GM
79732011-06-27 Glenn Morris <rgm@gnu.org>
7974
7975 * progmodes/flymake.el (flymake-err-line-patterns):
7976 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7977
cedc73f2
VB
79782011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7979
819a6054 7980 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
7981 (ses--clean-!, ses--clean-_): New functions.
7982 (ses-range): Add configurability of readout order, and conversion
7983 to Calc vector.
7984
5e5d49b6
VB
7985 * ses.el (ses-repair-cell-reference-all): New function.
7986 (ses-cell-symbol): Set macro as safe, so that it can be used in
7987 formulas.
7988
56e6cc31 7989 * ses.el: Update cycle detection algorithm.
90ca8b49 7990 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 7991 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
7992 (ses-set-localvars): New function.
7993 (ses-make-cell): Add property-list as a cell element.
7994 (ses-cell-property-get-fun, ses-cell-property-get)
7995 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
7996 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7997 New functions.
90ca8b49
VB
7998 (ses-cell-property-set, ses-cell-property-pop)
7999 (ses-cell-property-get-handle): New macro.
8000 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8001 New aliases, used for code readability.
8002 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8003 cycle detection.
8004 (ses-self-reference-early-detection): New defcustom.
fac916bf 8005 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
8006 (ses-mode): Use ses-set-localvars.
8007 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8008 before lauching the update processing.
8009 (ses-initialize-Dijkstra-attempt): New function.
8010 (ses-recalculate-cell): Update for cycle detection based on
8011 Dijkstra algorithm.
8012
2bb63e81
VB
8013 * ses.el: Fix commenting and indenting convention.
8014
c9d29fb8
SM
80152011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8016
8017 * bs.el (bs-cycle-next): Complete last change.
8018
d8e4b68b
JB
80192011-06-27 Drew Adams <drew.adams@oracle.com>
8020
8021 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8022
40098786
LMI
80232011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8024
c9d29fb8
SM
8025 * net/network-stream.el (network-stream-open-starttls):
8026 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
8027 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8028
40098786
LMI
8029 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8030 to binary to possibly avoid line encoding issues on Windows (among
8031 other things).
8032
468d09d4
LMI
80332011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8034
8035 * net/network-stream.el (open-network-stream): Return an :error
8036 saying what the problem was, if possible.
8037
8038 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8039 server.
8040
8041 * net/network-stream.el (network-stream-open-starttls): If we
8042 wanted to use STARTTLS, and the server offered it, but we weren't
8043 able to because we had no STARTTLS support, then close the connection.
8044 (open-network-stream): Return an :error element, if present.
8045
16f07dd7
CY
80462011-06-26 Chong Yidong <cyd@stupidchicken.com>
8047
88821ca0
CY
8048 * hl-line.el (hl-line-sticky-flag): Doc fix.
8049 (global-hl-line-sticky-flag): New option (Bug#8323).
8050 (global-hl-line-highlight): Obey it.
8051
16f07dd7
CY
8052 * vc/vc.el (vc-revert-show-diff): Default to t.
8053
6b5ccddf
KM
80542011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8055
c9d29fb8
SM
8056 * allout-widgets.el (allout-widgets-post-command-business):
8057 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
8058 undecorated when an isearch is continued past, and isearch
8059 automatically collapses them. This leads to "widget leaks", where
8060 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
8061 hidden widgets can slow down cursor travel, substantially.
8062 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
8063 so we're doing without this nicety.
8064
8065 (allout-widgets-tally-string): Don't try to do a hash-table-count
8066 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8067 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8068 *Messages* when allout-widgets-maintain-tally is t.
8069
355f2e07
MR
80702011-06-26 Martin Rudalics <rudalics@gmx.at>
8071
8072 * window.el (display-buffer-normalize-argument): Rename to
8073 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
8074 LABEL argument. Respect special-display-function when popping up
8075 a new frame. Fix code searching for a window showing the buffer
8076 on another frame.
c9d29fb8
SM
8077 (display-buffer-normalize-specifiers):
8078 Call display-buffer-normalize-arguments.
355f2e07
MR
8079 (display-buffer-in-window): Don't undedicate the window if its
8080 buffer remains the same.
8081 Reported by Drew Adams <drew.adams@oracle.com>.
8082 (display-buffer-alist): Add choice for same-window macro
8083 specfier.
8084 (display-buffer): Mention special meaning of LABEL argument in
8085 doc-string. Fix quoting. Don't pop up a new frame even as
8086 fallback.
8087
7ca8fc42
JB
80882011-06-26 Juanma Barranquero <lekktu@gmail.com>
8089
8090 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8091 avoid deleting the current window in some cases (bug#8911).
8092
bc312254
AS
80932011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8094
8095 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8096 (Bug#8934)
8097
2db18f3f
LMI
80982011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8099
c9d29fb8
SM
8100 * net/network-stream.el (network-stream-open-starttls):
8101 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
8102 (network-stream-open-tls): Ditto.
8103
6302e0d3
LL
81042011-06-26 Leo Liu <sdl.web@gmail.com>
8105
8106 * register.el (registerv): New struct.
8107 (registerv-make): New function.
c9d29fb8
SM
8108 (jump-to-register, describe-register-1, insert-register):
8109 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
8110 struct. (Bug#8415)
8111
5fdd4046
CY
81122011-06-26 Chong Yidong <cyd@stupidchicken.com>
8113
2afef60a
CY
8114 * vc/vc.el (vc-revert-show-diff): New defcustom.
8115 (vc-diff-internal): New arg specifying diff buffer.
8116 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8117 reuse an existing *vc-diff* buffer (Bug#8927).
8118
5fdd4046
CY
8119 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8120
e93db24a
GM
81212011-06-26 Glenn Morris <rgm@gnu.org>
8122
8123 * progmodes/f90.el (f90-critical-indent): New option.
8124 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8125 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8126 (f90-mode): Doc fix.
8127 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8128 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8129 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8130 (f90-match-end): Handle block, critical.
8131
eefff499
GM
81322011-06-25 Glenn Morris <rgm@gnu.org>
8133
f6ba4cc9
GM
8134 * calendar/diary-lib.el (diary-included-files): Doc fix.
8135 (diary-include-files): New function, extracted from
8136 diary-include-other-diary-files and diary-mark-included-diary-files.
8137 (diary-include-other-diary-files, diary-mark-included-diary-files):
8138 Just call diary-include-files.
8139 (diary-mark-entries): Reset diary-included-files on first call.
8140
16712304
GM
8141 * calendar/diary-lib.el (diary-mark-entries)
8142 (diary-mark-included-diary-files):
8143 Visit included diary-files in temp buffers.
8144
5d8e0d43
GM
8145 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8146 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8147 (f90-start-block-re, f90-imenu-generic-expression)
8148 (f90-looking-at-program-block-start, f90-no-block-limit):
8149 Add support for submodules.
8150
ccf7a5d5
GM
8151 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8152 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 8153
11fdef7d 81542011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
8155
8156 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8157 buffer-file-type before setting its value, to avoid disastrous
eefff499 8158 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 8159
74f53697
JB
81602011-06-25 Juanma Barranquero <lekktu@gmail.com>
8161
8162 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8163
8164 * ses.el (ses-unload-function):
8165 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8166
8167 * proced.el (proced-unload-function):
8168 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8169
18a4ce5e
AR
81702011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8171
8172 * server.el (server-create-window-system-frame): Add parameters arg.
8173 (server-process-filter): Doc fix. Handle frame-parameters.
8174
519d22cc
JB
81752011-06-25 Juanma Barranquero <lekktu@gmail.com>
8176
8177 Fix bug#8730, bug#8781.
8178
8179 * loadhist.el (unload--set-major-mode): New function.
8180 (unload-feature): Use it.
8181
8182 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8183 (python-unload-function): New function.
8184
c206f5b0
SM
81852011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8186
8187 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8188
f9ad64f3
GS
81892011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8190
8191 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8192 the candidates list.
8193
7d0da90e
JB
81942011-06-24 Juanma Barranquero <lekktu@gmail.com>
8195
8196 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8197
14b4e83d
RS
81982011-06-23 Richard Stallman <rms@gnu.org>
8199
8200 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8201 (rmail-variables): Set next-error-move-function.
8202 (rmail-what-message): Take argument POS.
8203 (rmail-next-error-move): New function.
8204
273d2baf
SM
82052011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8206
8207 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8208 messages for adjacent non-terminals.
8209
56c2cc9a
RS
82102011-06-23 Richard Stallman <rms@gnu.org>
8211
8212 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 8213 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
8214 (rmail-start-mail): Don't specify use of rmail-mail-return;
8215 that's done by mail-bury now.
8216 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 8217
d59eb518
MA
82182011-06-23 Michael Albinus <michael.albinus@gmx.de>
8219
8220 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8221 SIZE is a number.
8222
02cfc6d6
MR
82232011-06-23 Martin Rudalics <rudalics@gmx.at>
8224
8225 * window.el (get-lru-window, get-mru-window)
8226 (get-largest-window): Never return a minibuffer window.
8227 (display-buffer-pop-up-window): Fix a bug that could lead to
8228 reusing the minibuffer window.
8229 (display-buffer): Pass original specifier argument to
8230 display-buffer-function instead of the normalized one.
8231 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8232
4e323265
LL
82332011-06-22 Leo Liu <sdl.web@gmail.com>
8234
8235 * minibuffer.el (completing-read-function)
8236 (completing-read-default): Move from minibuf.c
8237
7a70468f
RS
82382011-06-22 Richard Stallman <rms@gnu.org>
8239
50718fc2
RS
8240 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8241 to Rmail even if not started by a special Rmail command.
8242
7a70468f
RS
8243 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8244 Copy the buffer currently showing just one message.
8245
297dde5a
RW
82462011-06-22 Roland Winkler <winkler@gnu.org>
8247
8248 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8249 (bibtex-clean-entry): First delete the old key so that a
8250 customized algorithm for generating the new key does not get
8251 confused by the old key.
8252 (bibtex-url): Obey regexp of first step.
8253 (bibtex-search-entries): Do not use add-to-list with local
8254 list-var.
8255
97bb1093
LMI
82562011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8257
8258 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8259 stored a user name, then query for the password first, instead of
8260 waiting for SMTP to give an error message and the trying again.
8261
1c0f1a19
JD
82622011-06-22 Lawrence Mitchell <wence@gmx.li>
8263
8264 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8265 BUFFER in call-process.
8266
396f7c9d
LMI
82672011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8268
8269 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8270 QUIT twice.
ddb7ffee
LMI
8271 (smtpmail-try-auth-methods): Require user name and password from
8272 auth-source.
396f7c9d 8273
8998d1b3
MR
82742011-06-22 Martin Rudalics <rudalics@gmx.at>
8275
8276 * window.el (display-buffer-default-specifiers)
8277 (display-buffer-alist): Remove entries for pop-up-frame-alist.
8278 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 8279 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
8280
8281 * frame.el (pop-up-frame-alist, pop-up-frame-function)
8282 (special-display-frame-alist, special-display-popup-frame):
8283 Remove duplicate declarations. These are now in window.el.
8284
4ea31e07
LMI
82852011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8286
c9d29fb8
SM
8287 * mail/smtpmail.el (smtpmail-via-smtp):
8288 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
8289 server supports it. SMTP servers that support STARTTLS commonly
8290 require it.
8291
8292 * net/network-stream.el (network-stream-open-starttls): Support
8293 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 8294 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 8295
95f41d9a
LMI
8296 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8297 upgrades with `open-network-stream', and rely solely on
8298 auth-source for all credentials. Big changes throughout the file,
8299 but in particular:
c9d29fb8
SM
8300 (smtpmail-auth-credentials): Remove.
8301 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
8302 (smtpmail-via-smtp): Check for servers saying they want AUTH after
8303 MAIL FROM, too.
95f41d9a 8304
c9d29fb8
SM
8305 * net/network-stream.el (network-stream-open-starttls):
8306 Provide support for client certificates both for external and built-in
4ea31e07
LMI
8307 STARTTLS.
8308 (auth-source): Require.
8309 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
8310 (network-stream-certificate): Change cert-cert to cert and
8311 cert-key to key.
4ea31e07 8312
065ec2c7
MA
83132011-06-21 Michael Albinus <michael.albinus@gmx.de>
8314
8315 * net/tramp-cache.el (top): Don't load the persistency file when
8316 "emacs -Q" has been called.
8317
cd93b359
DR
83182011-06-21 Tim Harper <timcharper@gmail.com>
8319
d8e4b68b
JB
8320 * term/ns-win.el (ns-initialize-window-system):
8321 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
8322 resource to NO as it is not yet supported by the NS port.
8323
ae9c0411
JB
83242011-06-21 Juanma Barranquero <lekktu@gmail.com>
8325
8326 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8327 (list-dynamic-libraries): ...not here.
8328
7f3f739f
LL
83292011-06-21 Leo Liu <sdl.web@gmail.com>
8330
8331 * subr.el (sha1): Implement sha1 using secure-hash.
8332
327c8fb1
MR
83332011-06-21 Martin Rudalics <rudalics@gmx.at>
8334
8335 * window.el (display-buffer-alist): In default value do not
8336 enforce searching a window on any but the selected frame.
8337 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8338 (display-buffer-select-window): Remove function.
8339 (display-buffer-in-window): When a window on another frame gets
8340 reused, do not select it any more but just raise its frame if
8341 necessary (Bug#8851) and (Bug#8856).
8342 (display-buffer-normalize-options): Handle pop-up-frames related
8343 options more faithfully.
8344 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8345 window if it is on another frame.
c9d29fb8
SM
8346 (display-buffer-alist, display-buffer-default-specifiers):
8347 Don't make new frame unsplittable by default.
9e9de014
MR
8348 (display-buffer-normalize-argument): Fix doc-string typo and use
8349 'same-frame-other-window instead of 'other-window when associating
8350 with display-buffer-macro-specifiers.
327c8fb1 8351
7cf3f556
VB
83522011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8353
8354 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8355 New functions.
8356 (5x5-mode-map, 5x5-mode-menu): Bind them.
8357 (5x5-draw-grid): Tweak the solver's rendering.
8358
60a406cf
SM
83592011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8360
8361 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8362 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8363
d8e4b68b 83642011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
8365
8366 * menu-bar.el: Use function variable instead of switch-to-buffer.
8367 (menu-bar-select-buffer-function): New variable.
60a406cf 8368 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 8369
478d6f95
SM
83702011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8371
8372 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8373 variable's status.
8374
ca530739
JD
83752011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8376
8377 * x-dnd.el (x-dnd-version-from-flags)
8378 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8379 and long as number (Bug#8899).
8380 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8381
bcd70d97
SM
83822011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8383
60a406cf 8384 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
8385 (completion-try-completion, completion-all-completions): Compute the
8386 metadata argument if it's missing; make it optional (bug#8795).
8387
60a406cf 8388 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
8389 (widget-complete): Use new :completion-function property.
8390 (widget-completions-at-point): New function.
8391 (default): Use :completion-function instead of :complete.
60a406cf
SM
8392 (widget-default-completions): Rename from widget-default-complete;
8393 Rewrite.
bcd70d97
SM
8394 (widget-string-complete, widget-file-complete, widget-color-complete):
8395 Remove functions.
8396 (file, symbol, function, variable, coding-system, color):
8397 * international/mule-cmds.el (default-input-method, charset)
8398 (language-info-custom-alist):
8399 * cus-edit.el (face): Use new property :completions.
8400
8401 * progmodes/pascal.el (pascal-completions-at-point): New function.
8402 (pascal-mode): Use it.
8403 (pascal-mode-map): Use completion-at-point.
8404 (pascal-toggle-completions): Make obsolete.
8405 (pascal-complete-word, pascal-show-completions):
8406 * progmodes/octave-mod.el (octave-complete-symbol):
8407 Redefine as obsolete alias.
8408 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8409 Signal absence of completion info for old Octave,
8410 (inferior-octave-complete): Redefine as obsolete alias.
8411 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8412 (meta-completions-at-point): Rename from meta-complete-symbol and
8413 adapt it for use on completion-at-point-functions.
8414 (meta-common-mode): Use it.
8415 (meta-looking-at-backward, meta-match-buffer): Remove.
8416 (meta-complete-symbol): Redefine as obsolete alias.
8417 (meta-common-mode-map): Use completion-at-point.
8418 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8419 (makefile-mode-map): Use completion-at-point.
8420 (makefile-completions-at-point): Rename from makefile-complete and
8421 adapt it for use on completion-at-point-functions.
8422 (makefile-mode): Use it.
8423 (makefile-complete): Redefine as obsolete alias.
8424
aebf69c8
DD
84252011-06-20 Deniz Dogan <deniz@dogan.se>
8426
8427 * net/rcirc.el: Delete trailing whitespaces once and for all.
8428
bfbbb27d
DC
84292011-06-20 Daniel Colascione <dan.colascione@gmail.com>
8430
8431 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8432
d264a46b
CY
84332011-06-19 Chong Yidong <cyd@stupidchicken.com>
8434
4ca009e5
CY
8435 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8436
d264a46b
CY
8437 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8438
fbf5b3ce
MR
84392011-06-19 Martin Rudalics <rudalics@gmx.at>
8440
8441 * window.el (display-buffer-other-window-means-other-frame):
8442 Call display-buffer-normalize-alist.
8443 (display-buffer-normalize-specifiers-1): Rename to
8444 display-buffer-normalize-argument. New argument other-frame.
8445 Rewrite.
8446 (display-buffer-normalize-specifiers-2): Rename to
8447 display-buffer-normalize-options.
8448 (display-buffer-normalize-alist-1): New function.
8449 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
8450 display-buffer-normalize-alist.
8451 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
8452 (display-buffer-normalize-options-inhibit): New variable.
8453 (display-buffer-normalize-specifiers): Rewrite calling
8454 display-buffer-normalize-alist,
8455 display-buffer-normalize-argument, and
8456 display-buffer-normalize-options. Don't call the latter if
8457 display-buffer-normalize-options-inhibit is non-nil.
8458 (frame-auto-delete): New option.
8459 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
8460 (window-list-no-nils, window-state-ignored-parameters)
8461 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
8462 (window-state-put-1, window-state-put-2, window-state-put):
8463 New functions.
9a028c23
MR
8464 (display-buffer-normalize-options): Move special-display-p group
8465 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 8466
6d10d800
CY
84672011-06-18 Chong Yidong <cyd@stupidchicken.com>
8468
6420d28b
CY
8469 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8470 groups (Bug#8776).
8471 (rx-submatch-n): New function.
8472 (rx): Document it.
8473
ddb8b596
CY
8474 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8475 (Bug#8768).
8476
8477 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8478
77080289
CY
8479 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8480
61dfb316
CY
8481 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8482 anytime existing face settings are present (Bug#8889).
8483
6d10d800
CY
8484 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8485 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8486 Remove unused argument.
8487
be3fb2b8
MR
84882011-06-18 Martin Rudalics <rudalics@gmx.at>
8489
bcd70d97
SM
8490 * window.el (display-buffer-default-specifiers):
8491 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
8492 pop-up-window-min-width, and another reuse-window specifier
8493 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
8494 (display-buffer-normalize-specifiers-2):
8495 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
8496 pop-up-windows is unset. Add a reuse-window specifier for the
8497 case popping up a new window fails.
8498 (special-display-popup-frame): Remove double quoting.
28dec25a 8499 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 8500
1c6d8c76
SM
85012011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8502
8503 * shell.el (shell-completion-vars): Set pcomplete-termination-string
8504 according to comint-completion-addsuffix.
8505
8506 * pcomplete.el: Convert to lexical binding and fix bug#8819.
8507 (pcomplete-suffix-list): Mark as obsolete.
8508 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8509 pcomplete-seen in the closure.
8510 (pcomplete-comint-setup): Setup completion-at-point as well.
8511 (pcomplete--entries): New function.
8512 (pcomplete--env-regexp): New var.
8513 (pcomplete-entries): Rewrite to work with partial-completion and
8514 without relying on pcomplete-suffix-list.
8515 (pcomplete-pare-list): Remove, unused.
8516
25aef8b8
MR
85172011-06-17 Martin Rudalics <rudalics@gmx.at>
8518
8519 * window.el (display-buffer-alist): Set pop-up-window-min-height
8520 and pop-up-window-min-width in default value. Reported by
8521 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
8522 other-window-means-other-frame.
8523 (display-buffer-macro-specifiers): Comment out entry for
8524 other-window specifier.
8525 (display-buffer-other-window-means-other-frame): New function.
8526 (display-buffer-normalize-specifiers-1): New arguments
8527 buffer-name and label. Treat other-window case specially.
8528 (display-buffer-normalize-specifiers-2): Treat other-window case
8529 specially.
8530 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
8531 (display-buffer-normalize-specifiers):
8532 Call display-buffer-normalize-specifiers-3.
25aef8b8 8533
dbad4f69
MR
85342011-06-17 Martin Rudalics <rudalics@gmx.at>
8535
8536 * window.el (same-window-p): Fix two typos introduced when
8537 adding with-no-warnings.
d1067961
MR
8538 (display-buffer-normalize-specifiers-1): Don't check
8539 pop-up-frames for 'unset initialization.
8540 (display-buffer-normalize-specifiers-2): Major rewrite using
8541 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8542 (pop-up-frames, display-buffer-reuse-frames)
8543 (display-buffer-mark-dedicated): Don't initialize to 'unset.
8544 Suggested by David Engster <deng@randomsample.de>.
8545 (even-window-heights): Initialize to 'unset.
8546 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
8547 (display-buffer-macro-specifiers): Don't pop up a new frame in the
8548 other window case.
dbad4f69 8549
9b9c9e3a
MR
85502011-06-16 Martin Rudalics <rudalics@gmx.at>
8551
bcd70d97
SM
8552 * window.el (display-buffer-normalize-specifiers-1):
8553 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 8554 second argument of display-buffer (Bug#8865).
981d5c09
MR
8555 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8556 (switch-to-buffer-other-window-same-frame)
8557 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
8558 Adams (Bug#8875).
9c2755e9
MR
8559 (display-buffer): Don't check noninteractive when calling
8560 display-buffer-pop-up-frame.
8561 (display-buffer-pop-up-frame): Never pop up a frame in
8562 noninteractive mode (Bug#8857).
67222e1d
MR
8563 (enlarge-window, shrink-window): Don't report an error when the
8564 window can't be resized as requested (Bug#8862).
9b9c9e3a 8565
2b75be67
SM
85662011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8567
9ffdd3ba
SM
8568 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8569
cb581a67
SM
8570 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8571
2b75be67
SM
8572 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8573
8c0e3589
AM
85742011-06-15 Alan Mackenzie <acm@muc.de>
8575
cb581a67
SM
8576 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8577 for declarators, disable knr checking to speed up for normal files.
8578 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 8579
b96e6cde
LMI
85802011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8581
4bba86e6
LMI
8582 * net/network-stream.el (open-network-stream): Add the keyword
8583 :always-query-capabilities for the case where you want to force a
8584 `plain' network connection, but the protocol still requires the
8585 capabilitiy command (i.e., SMTP and EHLO).
8586
2b75be67 8587 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
8588 consistency with other `-live-p' functions.
8589
efdcdbf8
SM
85902011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8591
8592 * window.el (same-window-buffer-names, same-window-regexps)
8593 (special-display-frame-alist, special-display-popup-frame)
8594 (special-display-function, special-display-buffer-names)
8595 (special-display-regexps, pop-up-frame-alist)
8596 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8597 (pop-up-windows, split-window-preferred-function)
8598 (split-height-threshold, split-width-threshold, even-window-heights)
8599 (display-buffer-mark-dedicated): Don't encourage the use of
8600 display-buffer-alist from Elisp code.
8601
c5cde042
DN
86022011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
8603
8604 * progmodes/python.el (python-mode): Derive from prog-mode.
8605 * progmodes/ps-mode.el (ps-mode):
8606 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 8607 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
8608 * progmodes/ld-script.el (ld-script-mode): Likewise.
8609
baa1c9ab
MR
86102011-06-15 Martin Rudalics <rudalics@gmx.at>
8611
8612 * window.el (display-buffer-alist): Trim default value to avoid
8613 popping up a new frame (Bug#8857) or reusing an arbitrary window
8614 on another frame.
8615 (display-buffer): Do not fall back on popping up a new frame in
8616 batch mode (Bug#8857).
8617
c5dd5a51
CY
86182011-06-14 Chong Yidong <cyd@stupidchicken.com>
8619
8620 * cus-theme.el (describe-theme-1): Use custom-theme-p.
8621 (custom-theme-summary): New function.
8622 (customize-themes): Use it.
8623
d647b7c4
GM
86242011-06-13 Glenn Morris <rgm@gnu.org>
8625
8626 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8627
9481c002
MR
86282011-06-13 Martin Rudalics <rudalics@gmx.at>
8629
357f93d2
MR
8630 * help.el (help-window): Remove variable.
8631 (help-window-point-marker, temp-buffer-max-height)
8632 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8633 (help-print-return-message): Don't set help-window.
8634 (resize-temp-buffer-window): Rewrite cod eand doc-string.
8635 (help-window-setup-finish): Remove.
8636 (help-window-display-message, help-window-setup)
8637 (with-help-window): Major rewrite based on new
8638 display-buffer-window variable.
8639
8640 * help-mode.el (help-mode-finish): Remove help-window related
8641 code.
8642
8643 * view.el (view-exits-all-viewing-windows): Remove reference to
8644 view-return-to-alist in doc-string.
8645 (view-return-to-alist): Make obsolete.
8646 (view-buffer): Call pop-to-buffer-same-window and remove
8647 undo-window code.
8648 (view-buffer-other-window): Call pop-to-buffer-other-window and
8649 simplify code. Ignore second argument.
8650 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8651 simplify code. Ignore second argument.
8652 (view-return-to-alist-update): Make obsolete.
8653 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8654 Rewrite using quit-restore window parameters.
2b75be67
SM
8655 (view-mode-exit): Rename second argument to EXIT-ONLY.
8656 Rewrite using quit-restore-window.
357f93d2
MR
8657 (View-exit, View-exit-and-edit, View-leave, View-quit)
8658 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8659 appropriate arguments.
8660 (view-end-message): Use quit-restore window parameter.
8661
9481c002
MR
8662 * window.el (display-buffer-function): Rewrite doc-string.
8663 (display-buffer-window, display-buffer-alist): New variables.
8664 (display-buffer-split-specifiers)
8665 (display-buffer-side-specifiers)
8666 (display-buffer-macro-specifiers): New constants.
8667 (display-buffer-even-window-sizes, display-buffer-set-height)
8668 (display-buffer-set-width, display-buffer-select-window)
8669 (display-buffer-in-window, display-buffer-reuse-window)
8670 (display-buffer-split-window-1, display-buffer-split-window)
8671 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8672 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8673 (display-buffer-in-side-window, normalize-buffer-to-display)
8674 (display-buffer-normalize-specifiers-1)
8675 (display-buffer-normalize-specifiers-2)
2b75be67
SM
8676 (display-buffer-normalize-specifiers, display-buffer-frame):
8677 New functions.
9481c002
MR
8678 (display-buffer): Major rewrite.
8679 (display-buffer-other-window, display-buffer-other-frame)
8680 (pop-to-buffer, switch-to-buffer-other-window)
8681 (switch-to-buffer-other-frame): Rewrite.
8682 (display-buffer-same-window, display-buffer-same-frame)
8683 (display-buffer-same-frame-other-window)
8684 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8685 (pop-to-buffer-other-window)
8686 (pop-to-buffer-same-frame-other-window)
8687 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8688 (switch-to-buffer-other-window-same-frame): New functions.
8689 (same-window-p, special-display-p): Rewrite disabling warnings.
8690 Make obsolete.
8691 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8692 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8693 Make obsolete
8694 (same-window-buffer-names, same-window-regexps)
8695 (special-display-frame-alist, special-display-popup-frame)
8696 (special-display-function, special-display-buffer-names)
8697 (special-display-regexps, pop-up-frame-alist)
8698 (pop-up-frame-function, split-window-preferred-function)
8699 (split-height-threshold, split-width-threshold)
8700 (even-window-heights): Make obsolete.
8701
9db51aca
GM
87022011-06-12 Glenn Morris <rgm@gnu.org>
8703
8704 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 8705 Misc simplifications.
9db51aca 8706
39cffb44
MR
87072011-06-12 Martin Rudalics <rudalics@gmx.at>
8708
8709 * window.el (window-safely-shrinkable-p): Restore function which
8710 was inadvertently removed in change from 2011-06-11. Declare as
8711 obsolete.
8712
2b75be67
SM
8713 * calendar/calendar.el (calendar-generate-window):
8714 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
8715 window-safely-shrinkable-p.
8716
a8955be7
GM
87172011-06-12 Glenn Morris <rgm@gnu.org>
8718
8719 * progmodes/fortran.el (fortran-mode-syntax-table):
8720 * progmodes/f90.el (f90-mode-syntax-table):
8721 Set % to punctuation. (Bug#8820)
8722 (f90-find-tag-default): Remove, no longer needed.
8723
f0d4059d
DC
87242011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8725
8726 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8727
1100a63c
CY
87282011-06-11 Chong Yidong <cyd@stupidchicken.com>
8729
8730 * image.el (image-animated-p): Return animation delay in seconds.
8731 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8732 (image-animate-timeout): Remove DELAY argument. Don't assume
8733 every subimage has the same delay; get it from image-animated-p.
8734 (image-animate): Caller changed.
8735
def722bf
MA
87362011-06-11 Michael Albinus <michael.albinus@gmx.de>
8737
8738 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8739 to ignored backtrace functions.
8740
0a2bb1a9
GM
87412011-06-11 Glenn Morris <rgm@gnu.org>
8742
8743 * calendar/appt.el (appt-disp-window-function): Doc fix.
8744 (appt-check): Handle overlapping appointments. (Bug#8337)
8745
6198ccd0
MR
87462011-06-11 Martin Rudalics <rudalics@gmx.at>
8747
8748 * window.el (window-tree-1, window-tree): New functions, moving
8749 the latter to window.el.
8750 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8751 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8752 (bw-refresh-edges): Remove.
8753 (balance-windows-1, balance-windows-2): New functions.
8754 (balance-windows): Rewrite in terms of window tree functions,
8755 balance-windows-1 and balance-windows-2.
8756 (bw-adjust-window): Remove.
8757 (balance-windows-area-adjust): New function with functionality of
8758 bw-adjust-window but using resize-window.
2b75be67
SM
8759 (set-window-text-height): Rewrite doc-string.
8760 Use normalize-live-window and resize-window.
8761 (enlarge-window-horizontally, shrink-window-horizontally):
8762 Rename argument to DELTA.
6198ccd0
MR
8763 (window-buffer-height): New function.
8764 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8765 Rewrite using new window resize routines.
2b75be67
SM
8766 (kill-buffer-and-window, mouse-autoselect-window-select):
8767 Use ignore-errors instead of condition-case.
6198ccd0
MR
8768 (quit-window): Call delete-frame instead of delete-windows-on
8769 for the only buffer on frame.
8770
9397e56f
MR
87712011-06-10 Martin Rudalics <rudalics@gmx.at>
8772
8773 * loadup.el (top-level): Load window before files for the sake
8774 of replace-buffer-in-windows.
8775
8776 * files.el (read-buffer-to-switch)
8777 (switch-to-buffer-other-window)
2b75be67
SM
8778 (switch-to-buffer-other-frame, display-buffer-other-frame):
8779 Move to window.el.
9397e56f
MR
8780
8781 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8782 (previous-buffer): Move to window.el.
8783
8784 * bindings.el (unbury-buffer): Move to window.el.
8785
8786 * window.el (delete-other-windows-vertically): Move after
8787 definition of delete-other-windows.
8788 (other-window, delete-windows-on, replace-buffer-in-windows):
8789 Move here from window.c.
8790 (record-window-buffer, unrecord-window-buffer)
8791 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8792 (switch-to-next-buffer): New functions.
8793 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8794 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
8795 (previous-buffer): Move here from simple.el.
8796 Call switch-to-prev-buffer.
9397e56f
MR
8797 (bury-buffer): Move here from buffer.c. Switch to previous
8798 buffer when window cannot be deleted.
8799 (unbury-buffer): Move here from bindings.el.
8800 (ctl-x-map): Move binding for other-window from window.c to
8801 here.
8802 (read-buffer-to-switch, switch-to-buffer-other-window)
8803 (switch-to-buffer-other-frame): Move here from files.el.
8804 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
8805 (switch-to-buffer): Move here from buffer.c.
8806 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 8807
562dd5e9
MR
88082011-06-10 Martin Rudalics <rudalics@gmx.at>
8809
8810 * window.el (window-min-height, window-min-width): Move here
8811 from window.c. Add defcustoms and rewrite doc-strings.
8812 (resize-mini-window, resize-window): New functions.
8813 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8814 Move here from window.c.
8815 (maximize-window, minimize-window): New functions.
8816 (delete-window, delete-other-windows, split-window): Move here
8817 from window.c.
8818 (window-split-min-size): New function.
8819 (split-window-keep-point): Mention split-window-above-each-other
8820 instead of split-window-vertically.
2b75be67 8821 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
8822 Rename split-window-vertically to split-window-above-each-other
8823 and provide defalias for old definition.
8824 (split-window-side-by-side, split-window-horizontally):
8825 Rename split-window-horizontally to split-window-side-by-side
8826 and provide defalias for the old definition.
562dd5e9
MR
8827 (ctl-x-map): Move bindings for delete-window,
8828 delete-other-windows and enlarge-window here from window.c.
8829 Replace bindings for split-window-vertically and
8830 split-window-horizontally by bindings for
8831 split-window-above-each-other and split-window-side-by-side.
8832
8833 * cus-start.el (all): Remove entries for window-min-height and
8834 window-min-width. Add entries for window-splits and
8835 window-nest.
8836
f0da764a
GM
88372011-06-09 Glenn Morris <rgm@gnu.org>
8838
80675c21
GM
8839 * calendar/appt.el (appt-mode-line): New function.
8840 (appt-check, appt-disp-window): Use it.
8841
f0da764a
GM
8842 * files.el (hack-one-local-variable-eval-safep):
8843 Allow minor-modes with explicit +/-1 arguments.
8844
59f623b7
TZ
88452011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8846
8847 * term/xterm.el (xterm): Add defgroup.
8848 (xterm-extra-capabilities): Add defcustom to supply known xterm
8849 capabilities, skip querying them, or query them (default).
8850 (terminal-init-xterm): Use it.
8851 (terminal-init-xterm-modify-other-keys): New function to set up
8852 modifyOtherKeys support to simplify `terminal-init-xterm'.
8853
9aab8e0d
MR
88542011-06-09 Martin Rudalics <rudalics@gmx.at>
8855
8856 * window.el (resize-window-reset, resize-window-reset-1)
8857 (resize-subwindows-skip-p, resize-subwindows-normal)
8858 (resize-subwindows, resize-other-windows, resize-this-window)
8859 (resize-root-window, resize-root-window-vertically)
8860 (window-deletable-p, window-or-subwindow-p)
8861 (frame-root-window-p): New functions.
8862
e8b08aee
GM
88632011-06-09 Glenn Morris <rgm@gnu.org>
8864
8865 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8866 (ange-ftp-get-files): Use it.
8867
254c37a5
AK
88682011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8869
8870 * mail/sendmail.el (mail-recover-1, mail-recover):
8871 * files.el (recover-file, recover-session):
8872 Handle dired-listing-switches not being just a single short option.
8873
35d7dbd3
GM
88742011-06-09 Glenn Morris <rgm@gnu.org>
8875
8876 * calendar/appt.el (appt-display-message, appt-disp-window):
8877 Handle lists of appointments.
8878
387522b2
MR
88792011-06-08 Martin Rudalics <rudalics@gmx.at>
8880
2b75be67
SM
8881 * window.el (one-window-p): Move down in code.
8882 Rewrite doc-string.
8883 (window-current-scroll-bars): Rewrite doc-string.
8884 Normalize live window argument.
387522b2
MR
8885 (walk-windows, get-window-with-predicate, count-windows):
8886 Rewrite doc-string. Use window-list-1.
8887 (window-in-direction-2, window-in-direction, get-mru-window):
8888 New functions.
8889
d8e4b68b 88902011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
8891
8892 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8893 Doc fix (Bug#8713).
8894
88952011-06-08 Chong Yidong <cyd@stupidchicken.com>
8896
8897 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8898
88992011-06-08 Juanma Barranquero <lekktu@gmail.com>
8900
8901 * loadhist.el (unload-feature-special-hooks):
8902 Add `comint-output-filter-functions'.
8903
0de12c52
IK
89042011-06-08 Ivan Kanis <gnu@kanis.fr>
8905
8906 * calendar/appt.el (appt-check): Move some initializations into the let.
8907
f3d1777e
MR
89082011-06-08 Martin Rudalics <rudalics@gmx.at>
8909
8910 * window.el (window-height): Defalias to window-total-height.
8911 (window-width): Defalias to window-body-width.
8912
18af70d0
CY
89132011-06-07 Chong Yidong <cyd@stupidchicken.com>
8914
8915 * image-mode.el (image-toggle-animation): New command.
8916 (image-mode-map): Bind it to RET.
8917 (image-mode): Update message.
8918 (image-toggle-display-image): Avoid a spurious cache flush.
8919 (image-transform-rotation): Doc fix.
8920 (image-transform-properties): Return quickly in the normal case.
8921 (image-animate-loop): Rename from image-animate-max-time.
8922
2b75be67 8923 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
8924 (create-animated-image): Remove unnecessary function.
8925 (image-animate): Rename from image-animate-start. New arg.
2b75be67 8926 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
8927 (image-animate-timer): Use car-safe.
8928 (image-animate-timeout): Rename argument.
8929
190b47e6
MR
89302011-06-07 Martin Rudalics <rudalics@gmx.at>
8931
8932 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
8933 window.c. Rename first argument to ALL-FRAMES.
8934 Rephrase doc-strings.
8935 (get-buffer-window-list): Rewrite using window-list-1.
8936 Rephrase doc-string.
a1511caf
MR
8937 (window-safe-min-height, window-safe-min-width): New constants.
8938 (window-size-ignore, window-min-size, window-min-size-1)
8939 (window-sizable, window-sizable-p, window-size-fixed-1)
8940 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8941 (window-max-delta-1, window-max-delta, window-resizable)
8942 (window-resizable-p, window-total-height, window-total-width)
8943 (window-body-width): New functions.
8944 (window-full-height-p, window-full-width-p): Rewrite using
8945 window-total-size.
8946 (window-body-height): Rewrite using window-body-size.
190b47e6 8947
85cc1f11
MR
89482011-06-06 Martin Rudalics <rudalics@gmx.at>
8949
8950 * window.el (window-right, window-left, window-child)
8951 (window-child-count, window-last-child, window-any-p)
8952 (normalize-live-buffer, normalize-live-frame)
8953 (normalize-any-window, normalize-live-window)
8954 (window-iso-combination-p, window-iso-combined-p)
8955 (window-iso-combinations)
8956 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8957 (windows-with-parameter, window-with-parameter)
8958 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
8959 (window-atom-check, window-side-check, window-check):
8960 New functions.
85cc1f11
MR
8961 (ignore-window-parameters, window-sides, window-sides-vertical)
8962 (window-sides-slots): New variables.
8963 (window-size-fixed): Move down in code. Minor doc-string fix.
8964
e7156492
AS
89652011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8966
8967 * comint.el (comint-dynamic-complete-as-filename)
8968 (comint-dynamic-complete-filename): Correctly call
8969 completion-in-region.
8970
7e821d0d
DD
89712011-06-05 Deniz Dogan <deniz@dogan.se>
8972
8973 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8974 in last change.
8975
ac09b8a1
DD
89762011-06-05 Deniz Dogan <deniz@dogan.se>
8977
8978 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8979 (rcirc): Use it to prompt for encryption.
8980
34699b85
RW
89812011-06-05 Roland Winkler <winkler@gnu.org>
8982
8983 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8984 (bibtex-search-entries): New command bound to C-c C-a.
8985 (bibtex-display-entries): New function.
8986
004dedd3
RW
89872011-06-05 Roland Winkler <winkler@gnu.org>
8988
8989 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8990 (bibtex-insert-kill): After yanking insert newline if necessary.
8991 (bibtex-initialize): Call bibtex-string-files-init only once.
8992 (bibtex-mode): Do not call easy-menu-add.
8993 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8994 (bibtex-yank): Set arg properly if nil.
8995
022fe7ce
RW
89962011-06-05 Roland Winkler <winkler@gnu.org>
8997
2b75be67
SM
8998 * textmodes/bibtex.el (bibtex-search-entry-globally):
8999 New variable.
022fe7ce
RW
9000 (bibtex-search-entry): Use it.
9001
b7c3692a
RW
90022011-06-05 Roland Winkler <winkler@gnu.org>
9003
9004 * textmodes/bibtex.el (bibtex-entry-format): New option
9005 sort-fields.
9006 (bibtex-format-entry, bibtex-reformat): Honor this option.
9007 (bibtex-parse-entry): Return fields in proper order.
9008
8eda563d
JB
90092011-06-05 Juanma Barranquero <lekktu@gmail.com>
9010
9011 * doc-view.el (doc-view-remove-if): Move computation of result out
9012 of `dolist' to silence misleading lexical-binding warning.
9013
7dbe3dbc
CY
90142011-06-04 Chong Yidong <cyd@stupidchicken.com>
9015
9016 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9017 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9018
0c33dd17
MA
90192011-06-04 Michael Albinus <michael.albinus@gmx.de>
9020
9021 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9022 "SunOS 5.10".
9023
f8f91c2b
MA
90242011-06-04 Michael Albinus <michael.albinus@gmx.de>
9025
9026 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9027 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9028 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9029 (tramp-parse-putty):
9030 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9031 (tramp-completion-function-alist-ssh)
9032 (tramp-completion-function-alist-telnet)
9033 (tramp-completion-function-alist-su)
9034 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9035 cookie.
9036
9037 * net/tramp-ftp.el:
9038 * net/tramp-sh.el:
9039 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9040 load "tramp.el" `tramp-set-completion-function'.
9041
e17d9003
SM
90422011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9043
9044 * shell.el: Require and use pcomplete.
9045 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9046 (shell-completion-vars): Set pcomplete-default-completion-function.
9047
6c4cab03
DD
90482011-06-04 Deniz Dogan <deniz@dogan.se>
9049
9050 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9051 `memq' (Bug#8799).
9052
ea9fafe0
SM
90532011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9054
9055 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9056
b3e945d3
JB
90572011-06-02 Juanma Barranquero <lekktu@gmail.com>
9058
9059 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9060 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9061 * vc/log-view.el (log-view-beginning-of-defun):
9062 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9063 (smerge-refine-forward, smerge-refine-chopup-region):
9064 Silence warning for unused `dotimes' counter variables.
9065
7d520089
SM
90662011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9067
9068 * net/tramp.el (tramp-with-progress-reporter): Rename from
9069 with-progress-reporter. Use `declare'.
9070 * net/tramp-smb.el:
9071 * net/tramp-sh.el:
9072 * net/tramp-gvfs.el: Update all uses.
9073
a1c2400f
JB
90742011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9075
9076 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9077 buffer isn't killed before making it current.
9078
2403c841
SM
90792011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9080
9081 Silence various byte-compiler warnings.
9082 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9083 `access-type' and new obsolescence format.
9084 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9085 new format.
9086 (byte-compile-check-variable): New `access-type' argument.
9087 Only warn if the access-type is obsolete.
9088 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9089 (byte-compile-variable-set): Adjust callers.
9090 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9091 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9092 setting it as obsolete.
9093 * simple.el (minibuffer-completing-symbol):
9094 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9095 access as obsolete.
9096 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9097 obsolete yet.
9098 * international/quail.el (quail-mouse-choose-completion): Remove unused
9099 code referring to obsolete var.
9100 (quail-choose-completion-string): Remove.
9101 * server.el (server-clients-with, server-kill-buffer-query-function)
9102 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9103 * proced.el (proced-send-signal):
9104 * emacs-lisp/lisp.el (lisp-complete-symbol):
9105 Replace completion-annotate-function with completion-extra-properties.
9106
2462470b
SM
91072011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9108
fb5b2591
SM
9109 * simple.el (goto-line): Use read-number.
9110 (overriding-map-is-bound): Remove.
9111 (saved-overriding-map): Change default.
9112 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9113 Take the map as argument.
9114 (universal-argument, negative-argument, digit-argument): Use it.
9115 (restore-overriding-map): Adjust.
9116 (do-auto-fill): Use fill-forward-paragraph.
9117 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9118
fd6fa53f
SM
9119 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9120 (minibuffer-inactive-mode): New major mode.
9121 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9122 the *Messages* buffer" hack.
9123 (mouse-popup-menubar): Don't burp if the event is a normal key.
9124
2462470b
SM
9125 Miscellaneous tweaks.
9126 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9127 lexical scoping as in subr.el's dolist and dotimes.
9128 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9129 Silence compiler warning.
9130 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9131 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9132 * international/ccl.el (ccl-compile): Trivial simplification.
9133 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9134 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9135 `printflag' argument.
9136 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9137 Purecopy the whole obsolescence data.
9138
108bf785
LL
91392011-06-01 Leo Liu <sdl.web@gmail.com>
9140
9141 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9142 improve doc-string as suggested by Marco Pessotto
9143 <melmothx@gmail.com>.
9144 (rcirc-print): Fix last change.
9145
30a23501
SM
91462011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9147
9148 * minibuffer.el (complete-with-action): Return nil for the metadata and
9149 boundaries of non-functional tables.
9150 (completion-table-dynamic): Return nil for the metadata.
9151 (completion-table-with-terminator): Add default case, using
9152 complete-with-action.
9153 (completion--metadata): New function.
9154 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9155 to try and avoid pathological performance problems.
9156 (completion--embedded-envvar-table): Return `category' metadata.
9157
bcd54f83
LMI
91582011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9159
9160 * subr.el (process-alive-p): New tiny convenience function.
9161
e227544d
SM
91622011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9163
9164 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9165 content but also its previous major mode.
9166
e8296fdc
HE
91672011-05-31 Helmut Eller <eller.helmut@gmail.com>
9168
4d61f28d 9169 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
9170 *Backtrace* buffer when we exit with C-M-c.
9171
620c53a6
SM
91722011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9173
9174 * minibuffer.el: Add metadata method to completion tables.
9175 (completion-category-overrides): New defcustom.
9176 (completion-metadata, completion--field-metadata)
9177 (completion-metadata-get, completion--styles)
9178 (completion--cycle-threshold): New functions.
9179 (completion-try-completion, completion-all-completions):
9180 Add `metadata' argument to choose completion-styles.
9181 (completion--do-completion): Use metadata to choose cycling.
9182 (completion-all-sorted-completions): Use metadata for sorting.
9183 Remove :completion-cycle-penalty which is not needed any more.
9184 (completion--try-word-completion): Add `metadata' argument.
9185 (minibuffer-completion-help): Check metadata for annotation function
9186 and sorting.
9187 (completion-file-name-table): Return `category' metadata.
9188 (minibuffer-completing-file-name): Make obsolete.
9189 * simple.el (minibuffer-completing-symbol): Make obsolete.
9190 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9191 completion-try-completion.
9192
1257e755
SM
91932011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9194
9195 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9196
3767e706
LL
91972011-05-30 Leo Liu <sdl.web@gmail.com>
9198
9199 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
9200 (rcirc-print): Decode all incoming messages (bug#8744).
9201 (rcirc-decode-coding-system): Allow value nil for automatic coding
9202 system detection.
3767e706 9203
d1a5d56a
GM
92042011-06-01 Glenn Morris <rgm@gnu.org>
9205
9206 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9207
e8cbec34
CY
92082011-05-29 Chong Yidong <cyd@stupidchicken.com>
9209
9210 * image.el (image-animate-max-time): Allow nil and t values.
9211 Default to nil.
9212 (create-animated-image): Doc fix.
9213 (image-animate-start): Remove second arg; just use
9214 image-animate-max-time.
9215 (image-animate-timeout): Doc fix. Args changed.
9216
9217 * image-mode.el (image-toggle-display-image): Ensure that the
9218 image spec passed to the animate timer is the same object as in
58179cce 9219 the buffer's display property (Bug#6981).
e8cbec34
CY
9220 (image-transform-properties): Doc fix.
9221
9222 * image.el (image-animate-max-time): Default to nil.
9223
159daf87
MR
92242011-05-29 Martin Rudalics <rudalics@gmx.at>
9225
9226 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9227 entire buffer list (Bug#8184).
9228
d66c4c7c
CY
92292011-05-29 Chong Yidong <cyd@stupidchicken.com>
9230
9231 * image.el (imagemagick-types-inhibit)
9232 (imagemagick-register-types): Doc fix.
9233
80aec780
DD
92342011-05-29 Deniz Dogan <deniz@dogan.se>
9235
9236 * net/rcirc.el (rcirc): Use the user's stored encryption method by
9237 default.
9238
1dd3c2d9
CY
92392011-05-29 Chong Yidong <cyd@stupidchicken.com>
9240
9241 * select.el: Don't perform clipboard-manager saving in hooks;
9242 leave the hooks empty.
9243
60e56523
LL
92442011-05-28 Leo Liu <sdl.web@gmail.com>
9245
9246 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9247 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
9248 (occur-edit-mode): New major mode (Bug#8463).
9249 (occur-after-change-function): New function.
9250 (occur-engine): Give Occur tags a read-only property.
9251
2b1e1a22
KR
92522011-05-28 Kevin Ryde <user42@zip.com.au>
9253
9254 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9255
5d344e88
CY
92562011-05-28 Chong Yidong <cyd@stupidchicken.com>
9257
8e6ca83d
CY
9258 * bindings.el (help-echo): Make the initial non-indicator dash
9259 empty on graphical terminals (Bug#7295).
9260
5d344e88
CY
9261 * files.el (auto-mode-alist): Move config rule after the
9262 in-stripping one (Bug#8547).
9263
bfbbace7
CY
9264 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9265
fbeba6e2
CY
9266 * startup.el (normal-splash-screen): Remove gratuitous mode-line
9267 setting (Bug#8740).
9268
60ed8c72
AA
92692011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
9270
4ac619f0
AA
9271 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9272 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9273 (Bug#8539).
60ed8c72 9274
23db196e
CY
92752011-05-28 Chong Yidong <cyd@stupidchicken.com>
9276
9277 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9278
5012f24c
DK
92792011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
9280
9281 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9282 (hs-hide-block-at-point, hs-find-block-beginning)
9283 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9284 (Bug#8279).
9285
6a639b16
GM
92862011-05-28 Glenn Morris <rgm@gnu.org>
9287
9288 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9289
d43eaf2c
CY
92902011-05-28 Chong Yidong <cyd@stupidchicken.com>
9291
5199bde1
CY
9292 * help-fns.el (describe-function-1): If the function is a derived
9293 major mode, print the parent mode.
9294
d43eaf2c
CY
9295 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9296 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9297
423428a8
SM
92982011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9299
0ff8e1ba 9300 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 9301 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
9302 * progmodes/etags.el (tags-completion-at-point-function):
9303 * info-look.el (info-lookup-completions-at-point): Mark as
9304 non-exclusive.
9305 (info-complete): Adjust accordingly.
9306
423428a8
SM
9307 * info-look.el: Convert to lexical-binding and completion-at-point.
9308 (info-lookup-completions-at-point): New function.
9309 (info-complete): Use it and completion-in-region.
9310
b74aa22b
DA
93112011-05-28 Drew Adams <drew.adams@oracle.com>
9312
9313 * isearch.el: Let M-e start with point at the first mismatched char.
9314 (isearch-fail-pos): New function.
9315 (isearch-edit-string): Use it.
9316
66e2e71d
DK
93172011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9318
9319 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9320
b1890b0f 93212011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
9322
9323 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9324 traversal functions for avl-trees.
9325 (avl-tree--stack): New struct.
9326 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9327 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
9328 (avl-tree--do-enter): Add optional `updatefun' arg.
9329 Change return value.
eb95d01d 9330 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
9331 (avl-tree--do-delete): Add `test' and `nilflag' args.
9332 Change return value.
eb95d01d
TC
9333 (avl-tree-member): Add optional `nilflag'
9334 (avl-tree-member-p): New function.
9335 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9336 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9337 (avl-tree-stack-empty-p): New functions.
9338
3769ddcf
TC
9339 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9340 avl-tree--del-balance1 and make it work both ways.
9341 (avl-tree--del-balance2): Remove.
9342 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9343 make it work both ways.
9344 (avl-tree--enter-balance2): Remove.
9345 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9346 New macros.
9347 (avl-tree--mapc, avl-tree-map): Add direction argument.
9348
eb95d01d 93492011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
9350
9351 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9352
a9f737ee
CY
93532011-05-27 Chong Yidong <cyd@stupidchicken.com>
9354
9355 * select.el: Support clipboard managers with built-in function
9356 x-clipboard-manager-save, via delete-frame-functions and
9357 kill-emacs-hook.
9358 (xselect-convert-to-targets): Add MULTIPLE target to list.
9359 (xselect-convert-to-save-targets): New function.
9360
c92a1e54
KH
93612011-05-27 Kenichi Handa <handa@m17n.org>
9362
9363 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9364 let-binding rfc2047-encode-encoded-words to nil.
9365
e145f188
GM
93662011-05-27 Glenn Morris <rgm@gnu.org>
9367
5ec8a862
GM
9368 * mail/emacsbug.el: Don't require url-util.
9369
4b29d9fb
GM
9370 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9371
e145f188
GM
9372 * files.el (set-auto-mode):
9373 Also respect mode: entries at the end of the file. (Bug#8586)
9374
7d15102b
GM
93752011-05-26 Glenn Morris <rgm@gnu.org>
9376
98f593b8
GM
9377 * files.el (hack-local-variables-prop-line, hack-local-variables):
9378 Downcase mode names, as seems to be traditional.
27b48e63 9379 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 9380
7d15102b
GM
9381 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9382 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
9383
51d5b4ec
JD
93842011-05-25 Julien Danjou <julien@danjou.info>
9385
9386 * textmodes/rst.el (rst-define-level-faces): Do not define face
9387 symbol if it is already defined.
9388
91513f63
VB
93892011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
9390
9391 * play/5x5.el (5x5-new-game, 5x5-randomize):
9392 Reset 5x5-solver-output to nil when a new grid is cast.
9393 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9394 these debugging traces, as defmacro breaks the compiled code.
9395
4d90d6d0
DK
93962011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9397
9398 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9399
e1b90ef6
LL
94002011-05-24 Leo Liu <sdl.web@gmail.com>
9401
9402 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9403 (vc-bzr-sha1): Adapt.
9404
d8e4b68b 9405 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
9406
9407 * bindings.el: Provide sha1 feature.
9408
db0406bb 94092011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
9410
9411 * mail/sendmail.el: Require `rfc2047'.
9412 (mail-insert-from-field): Do not perform RFC2047 encoding.
9413 (mail-encode-header): New function.
9414 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
9415 buffer to the return value of select-message-coding-system.
9416 Call mail-encode-header.
b8d747b9
KH
9417
9418 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9419
db0406bb 94202011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 9421
4d90d6d0
DK
9422 * mail/supercite.el (sc-default-cite-frame):
9423 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 9424
eb8a5e9b
GM
94252011-05-24 Glenn Morris <rgm@gnu.org>
9426
f8630703
GM
9427 * progmodes/python.el (brm-menu): Declare.
9428
8831bbed
GM
9429 * emulation/viper.el (viper-set-hooks): Declare.
9430
eb8a5e9b
GM
9431 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9432 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9433 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9434 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9435 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9436 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9437
a2a25d24
SM
94382011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9439
9440 Add an :exit-function for completion-at-point.
9441
9442 * minibuffer.el (completion--done): New fun.
9443 (completion--do-completion): Use it. New arg `expect-exact'.
9444 (minibuffer-complete, minibuffer-complete-word): Don't output message,
9445 since completion--do-completion does it for us now.
9446 (minibuffer-force-complete): Use completion--done and
9447 completion--replace. Handle sole-completion case with more care.
9448 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9449 (completion-extra-properties): New var.
9450 (completion-annotate-function): Make obsolete.
9451 (minibuffer-completion-help): Adjust accordingly.
9452 Use completion-list-insert-choice-function.
9453 (completion-at-point, completion-help-at-point):
9454 Bind completion-extra-properties.
9455 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9456 * simple.el (completion-list-insert-choice-function): New var.
9457 (completion-setup-function): Preserve it.
9458 (choose-completion): Pay attention to it, shuffle the code a bit.
9459 (choose-completion-string): New arg `insert-function'.
9460
9461 * textmodes/bibtex.el: Convert to lexical binding.
9462 (bibtex-mode-map): Use completion-at-point.
9463 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9464 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9465 (bibtex-complete): Define as obsolete alias.
9466 (bibtex-complete-internal): Remove.
9467 (bibtex-format-entry): Remove unused sub-group in regexp.
9468 * shell.el (shell--command-completion-data)
9469 (shell-environment-variable-completion):
9470 * pcomplete.el (pcomplete-completions-at-point):
9471 * comint.el (comint--complete-file-name-data): Use :exit-function
9472 instead of completion-table-with-terminator so it also works for
9473 choose-completion.
9474
e44e373d
SM
94752011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9476
4f91a816
SM
9477 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9478
782fc819
SM
9479 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9480 (bug#8710).
9481
e44e373d
SM
9482 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9483
381987c3
KM
94842011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
9485
9486 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9487 customization variable and implement: If non-nil, auto-fill will
9488 be inhibited while on topic's header line.
9489
b776bc70
VB
94902011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
9491
9492 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 9493 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
9494 always have a solution in grid size = 5 cases.
9495 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9496 (5x5-solver-output, 5x5-log-buffer): New vars.
9497 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9498 Make these variables buffer local to achieve 5x5 multi-session-ness.
9499 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9500 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9501 (5x5-solve-suggest): New funs.
9502 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9503 randomize a grid so that we ensure that there is always a solution.
9504 (5x5-make-random-grid): Allow other movement than flipping.
9505
7de88b6e
KR
95062011-05-23 Kevin Ryde <user42@zip.com.au>
9507
9508 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 9509 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
9510 advice and passes PREDICATE.
9511
b1ef1257
SM
95122011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9513
bbca48fe
SM
9514 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9515 byte-compile-lambda if it's actually a lambda.
9516
b1ef1257
SM
9517 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9518 Fix function quoting. Use backquote better.
9519
92a9cc65
YS
95202011-05-22 Yuanle Song <sylecn@gmail.com>
9521
9522 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9523 matching (Bug#8516).
9524
f0fb8059
JA
95252011-01-22 Jari Aalto <jari.aalto@cante.net>
9526
9527 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9528 different face (Bug#8178).
9529
d5b44c93
CY
95302011-05-22 Chong Yidong <cyd@stupidchicken.com>
9531
9532 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9533 defface (Bug#8144).
9534
79106a44
SM
95352011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
9536
9c848d8a
SM
9537 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9538 funcall as well (bug#8712). Warn when performing those conversions.
9539 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9540
79106a44
SM
9541 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9542
88dfa756
GM
95432011-05-22 Glenn Morris <rgm@gnu.org>
9544
9545 * files.el (hack-local-variables-prop-line): Small simplifications.
9546 (hack-local-variables, hack-local-variables-prop-line):
9547 If MODE-ONLY, return the mode, rather than just `t'.
9548
b7cf2c79
SM
95492011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9550
9551 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9552
3f1a8558
GM
95532011-05-21 Glenn Morris <rgm@gnu.org>
9554
7e4ccca3
GM
9555 * files.el (hack-local-variables-prop-line, hack-local-variables):
9556 If only interested in the mode, don't bother doing the other stuff.
9557
637d46ca
GM
9558 * image-mode.el (image-after-revert-hook):
9559 Redraw all frames on which the image is visible. (Bug#8567)
9560
973d955b
GM
9561 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
9562
3f1a8558
GM
9563 * wid-edit.el (widget-checklist-match-inline):
9564 Fix 2011-04-19 change. (Bug#8649)
9565
96479927
SM
95662011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
9567
1dcf791f
SM
9568 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9569 Also allow singlespace after single-letter capitals followed by a dot.
9570
96479927
SM
9571 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9572 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9573
35fd0881
N
95742011-05-20 Nix <nix@esperi.org.uk>
9575
9576 * files.el (basic-save-buffer-2):
9577 Fix handling of break-hardlink-on-save with non-existent files.
9578
82745640
DD
95792011-05-19 Deniz Dogan <deniz@dogan.se>
9580
9581 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 9582 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 9583
4a720484
GM
95842011-05-19 Glenn Morris <rgm@gnu.org>
9585
d1f21341
GM
9586 * progmodes/f90.el (f90-type-def-re):
9587 Handle "type, bind(c)". (Bug#8691)
9588
4a720484
GM
9589 * emacs-lisp/autoload.el (batch-update-autoloads):
9590 Set autoload-excludes by parsing loadup.el rather than Makefiles.
9591
2fb0a219
MA
95922011-05-18 Michael Albinus <michael.albinus@gmx.de>
9593
9594 * net/tramp.el (tramp-process-actions): Set "first-password-request"
9595 property for the correct connection in case of multihops.
9596
e565dd37
GM
95972011-05-18 Glenn Morris <rgm@gnu.org>
9598
c2571358 9599 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
9600 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9601
e565dd37
GM
9602 Rationalize calendar handling of day and month abbrev-arrays.
9603 * calendar/calendar.el (calendar-customized-p): New function.
9604 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9605 (calendar-day-name-array, calendar-month-name-array): Doc fix.
9606 Add :set function.
9607 (calendar-abbrev-length, calendar-day-abbrev-array)
9608 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9609 (calendar-day-abbrev-array, calendar-month-abbrev-array):
9610 Elements may no longer be nil.
9611 (calendar-day-name, calendar-month-name):
9612 Update for changed nature of abbrev arrays.
9613 * calendar/diary-lib.el (diary-name-pattern):
9614 Update for changed nature of abbrev arrays.
9615 (diary-mark-entries-1): Update calendar-make-alist calls.
9616 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9617 * calendar/cal-html.el (cal-html-day-abbrev-array):
9618 Simply inherit from calendar-day-abbrev-array.
9619
1d99a745
SM
96202011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9621
9622 * progmodes/grep.el (grep-mode): Disable default
9623 compilation-directory-matcher setting (bug#8684).
9624
7c1d9aa0
MA
96252011-05-17 Michael Albinus <michael.albinus@gmx.de>
9626
9627 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9628 instead of "head" and "tail". There were problems with SunOS 5.9,
9629 and it performs better.
9630
3952e9d8
GM
96312011-05-17 Glenn Morris <rgm@gnu.org>
9632
2dd12e7f
GM
9633 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9634
e4157b9c
GM
9635 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9636 Replace obsolete function.
9637
8e249bbd
GM
9638 * shell.el (pcomplete-parse-arguments-function): Declare.
9639
3952e9d8
GM
9640 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9641 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9642 (appt-check): Doc fixes.
9643 (appt-disp-window-function, appt-delete-window-function):
9644 Remove needless special case in custom :type.
9645 (appt-display-count): Default to 0, not nil.
9646 (appt-check): Reset appt-display-count to 0, not nil.
9647
c71a0d48 96482011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 9649
c71a0d48
GM
9650 * progmodes/python.el (python-font-lock-keywords):
9651 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 9652
31d55be9
SM
96532011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9654
9655 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9656
3bfacb2f
KR
96572011-05-16 Kevin Ryde <user42@zip.com.au>
9658
9659 * info-look.el (makefile-automake-mode): New setups, looking in
9660 automake manual, then makefile-mode.
9661 (makefile-mode): Remove automake manual, have it just in
9662 makefile-automake-mode since there's various things different or
9663 not relevant to plain make.
9664 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9665 believe a hypothetical automake-mode would go to makefile-mode,
9666 not the other way around.
9667
c8e83751
CY
96682011-05-15 Chong Yidong <cyd@stupidchicken.com>
9669
5e9e35cd
CY
9670 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9671 hunk-end tags (Bug#8672).
9672
c8e83751
CY
9673 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9674 vc-annotate-show-diff-revision-at-line (Bug#8671).
9675
50b23e5a
GM
96762011-05-14 Glenn Morris <rgm@gnu.org>
9677
7210a739
GM
9678 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9679 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
9680 (change-log-font-lock-keywords): Also handle multiple author lines
9681 with leading tabs. (Bug#8644)
7210a739 9682
4691905a
GM
9683 * calendar/appt.el (appt-check): Rename some local variables.
9684 Some simplification/reordering.
9685
50b23e5a
GM
9686 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9687 (feedmail-sendmail-f-doesnt-sell-me-out)
9688 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9689 (feedmail-debug-sit-for, feedmail-queue-express-hook)
9690 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
9691 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9692 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
9693 (feedmail-binmail-gnulinuxish-template):
9694 Rename from feedmail-binmail-linuxish-template.
9695 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9696 Use insert-buffer-substring.
9697
215cda7c
BC
96982011-05-14 Bill Carpenter <bill@carpenter.org>
9699
9700 * mail/feedmail.el (feedmail-patch-level): Increase.
9701 (feedmail-debug): New custom group.
9702 (feedmail-confirm-outgoing-timeout)
9703 (feedmail-sendmail-f-doesnt-sell-me-out)
9704 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9705 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9706 (feedmail-sender-line, feedmail-from-line)
9707 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 9708 (feedmail-spray-this-address)
215cda7c
BC
9709 (feedmail-spray-address-fiddle-plex-list)
9710 (feedmail-queue-use-send-time-for-date)
9711 (feedmail-queue-use-send-time-for-message-id)
9712 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9713 (feedmail-buffer-eating-function):
9714 Doc fixes.
9715 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9716 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9717 (feedmail-message-action-scroll-down): New functions.
9718 (feedmail-queue-directory, feedmail-queue-draft-directory):
9719 Use expand-file-name.
9720 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9721 Remove C-v help entry.
9722 (feedmail-queue-buffer-file-name): New variable.
9723 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9724 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9725 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9726 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9727 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9728 (feedmail-message-action-toggle-spray)
9729 (feedmail-run-the-queue-no-prompts)
9730 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9731 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9732 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9733 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9734 (feedmail-envelope-deducer, feedmail-fiddle-from)
9735 (feedmail-fiddle-sender, feedmail-default-date-generator)
9736 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9737 (feedmail-fiddle-spray-address)
9738 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9739 (feedmail-fiddle-list-of-fiddle-plexes)
9740 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9741 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9742 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9743 Change default. Doc fix.
9744 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9745 (feedmail-binmail-linuxish-template): New constant.
9746 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9747 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9748 (feedmail-send-it): Add debug call.
9749 Use feedmail-queue-buffer-file-name, and
9750 feedmail-send-it-immediately-wrapper.
9751 (feedmail-message-action-send): Add debug call.
9752 Use feedmail-send-it-immediately-wrapper.
9753 (feedmail-queue-express-to-queue): Add debug call.
9754 Run feedmail-queue-express-hook.
9755 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9756 (feedmail-message-action-help-blat):
9757 Rename from feedmail-queue-send-edit-prompt-help-first.
9758 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9759 Check line-endings. Handle errors better.
9760 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9761 Doc fix. Add debug call.
9762 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9763 Use feedmail-queue-send-edit-prompt-inner.
9764 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9765 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9766 from feedmail-queue-send-edit-prompt.
9767 (feedmail-queue-send-edit-prompt-help)
9768 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9769 (feedmail-tidy-up-slug): Add debug call.
9770 Respect feedmail-queue-slug-suspect-regexp.
9771 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9772 (feedmail-dump-message-to-queue): Add debug call.
9773 Expand queue-directory.
9774 (feedmail-dump-message-to-queue): Change message slightly.
9775 Use feedmail-say-chatter.
9776 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9777 (feedmail-send-it-immediately-wrapper): New function.
9778 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9779 Insert empty string rather than newline. Handle full-frame case.
9780 Use catch/throw. Use feedmail-say-chatter.
9781 (feedmail-fiddle-from): Try mail-host-address.
9782 (feedmail-default-message-id-generator): Doc fix.
9783 Bind system-time-locale. Handle missing end.
9784 (feedmail-fiddle-x-mailer): Add debug call.
9785 Handle feedmail-x-mailer-line being nil.
9786 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9787 Add debug call. Use buffer-substring-no-properties.
9788 (feedmail-say-debug, feedmail-say-chatter): New functions.
9789 (feedmail-find-eoh): Give an explicit error.
9790
42c7e61e
UJ
97912011-05-13 Ulf Jasper <ulf.jasper@web.de>
9792
c2571358 9793 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 9794 family from helvetica to sans.
c2571358 9795 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9796 etc/images/newsticker.
9797
c2571358 9798 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
9799 family from helvetica to sans.
9800
9801 * net/newst-plainview.el (newsticker-new-item-face)
9802 (newsticker-old-item-face, newsticker-immortal-item-face)
9803 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 9804 (newsticker-statistics-face): Change default family from
42c7e61e 9805 helvetica to sans.
c2571358 9806 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9807 etc/images/newsticker.
9808
9809 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9810 (newsticker--process-auto-mark-filter-match): : Tell user about
9811 auto-marking.
9812
8497a297
DV
98132011-05-13 Didier Verna <didier@xemacs.org>
9814
9815 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
9816 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9817 TODO entries.
8497a297
DV
9818 (lisp-lambda-list-keyword-parameter-indentation)
9819 (lisp-lambda-list-keyword-parameter-alignment)
9820 (lisp-lambda-list-keyword-alignment): New customizable user options.
9821 (lisp-indent-defun-method): Improve docstring.
9822 (extended-loop-p): Fix comment.
9823 (lisp-indent-lambda-list-keywords-regexp): New variable.
9824 (lisp-indent-lambda-list): New function.
9825 (lisp-indent-259): Use it.
9826 (lisp-indent-defmethod): Support for more than one
9827 method qualifier and properly indent methods lambda-lists.
9828 (defgeneric): Provide a missing common-lisp-indent-function property.
9829
f278f87f
SM
98302011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9831
9832 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9833 bounds for the empty string (bug#8667).
9834
5233edd7
GM
98352011-05-13 Glenn Morris <rgm@gnu.org>
9836
5237a44f
GM
9837 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9838
8340026c 9839 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 9840 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 9841
5233edd7 9842 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 9843 (appt-time-msg-list): Doc fix.
a5464014 9844 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 9845
92d10796
AS
98462011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9847
9848 * progmodes/ld-script.el (ld-script-keywords)
9849 (ld-script-builtins): Update keywords list.
9850
914a0ae1
SM
98512011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9852
c89be45f
SM
9853 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9854
914a0ae1
SM
9855 * shell.el (shell-completion-vars): New function.
9856 (shell-mode):
9857 * simple.el (read-shell-command): Use it.
9858 (blink-matching-open): No need for " [...]" in minibuffer-message.
9859
98dc3df3
GM
98602011-05-12 Glenn Morris <rgm@gnu.org>
9861
9862 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9863 (appt-check): Simplify.
9864
d2fc7e3d 98652011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 9866
4d61f28d 9867 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
9868 literal "/dev/null".
9869
d2fc7e3d 98702011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
9871
9872 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9873 Fix typo.
9874
d2fc7e3d 98752011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 9876
3f254caa
SM
9877 * progmodes/which-func.el (which-function):
9878 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
9879 which might not be defined (Bug#8260).
9880
d45885f7
GM
98812011-05-12 Glenn Morris <rgm@gnu.org>
9882
9883 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9884 Let byte-compile-initial-macro-environment always take precedence.
9885
488086f4
SM
98862011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9887
9888 * net/rcirc.el: Add support for SSL/TLS connections.
9889 (rcirc-server-alist): New field `encryption'.
9890 (rcirc): Check `encryption' settings.
9891 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9892 Merge make-local-variable into `set'.
9893 (rcirc--connection-open-p): New function.
9894 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9895 the process is not a network process (e.g. running gnutls-cli).
9896 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9897 Make rcirc-(en|de)code-coding-system local here.
9898 (rcirc-mode): Merge make-local-variable into `set'.
9899 (rcirc-parent-buffer): Make permanent buffer-local.
9900 (rcirc-multiline-minor-mode): Don't do it here.
9901 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9902 there's no server buffer.
9903
7d3b9d44
GM
99042011-05-11 Glenn Morris <rgm@gnu.org>
9905
f64049c6
GM
9906 * newcomment.el (comment-kill): Prefix "unused" local.
9907
93c9df73
GM
9908 * term/w32console.el (get-screen-color): Declare.
9909
7d3b9d44
GM
9910 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9911 Handle symbol elements of byte-compile-initial-macro-environment.
9912
9e2dd53f
LL
99132011-05-10 Leo Liu <sdl.web@gmail.com>
9914
488086f4
SM
9915 * bookmark.el (bookmark-bmenu-mode-map):
9916 Bind bookmark-bmenu-search to `/'.
8b340240 9917
9e2dd53f 9918 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
9919 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9920 (Footnote-unicode): New function.
9921 (footnote-style-alist): Add unicode style to the list.
9922 (footnote-style): Doc fix.
9e2dd53f 9923
79b70037
GM
99242011-05-10 Jim Meyering <meyering@redhat.com>
9925
9926 Fix doubled-word typos.
9927 * international/quail.el (quail-insert-kbd-layout): and and -> and
9928 * kermit.el: and and -> and
9929 * net/ldap.el (ldap-search-internal): to to -> to
9930 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9931 * progmodes/js.el (js-mode): and and -> and
9932 * textmodes/artist.el (artist-move-to-xy): at at -> at
9933 (artist-draw-region-trim-line-endings): if if -> if
9934 And Safetyc -> Safety.
9935 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9936
b8f82dc1 99372011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 9938 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
9939
9940 * files.el (hack-one-local-variable-eval-safep):
9941 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9942
4f99f44b
GM
99432011-05-10 Glenn Morris <rgm@gnu.org>
9944
9945 * calendar/diary-lib.el (diary-list-entries-hook)
9946 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9947 (diary-nongregorian-marking-hook, diary-list-entries)
9948 (diary-include-other-diary-files, diary-mark-entries)
9949 (diary-mark-included-diary-files): Doc fixes.
9950
84f29e6b
JB
99512011-05-09 Juanma Barranquero <lekktu@gmail.com>
9952
9953 * misc.el: Require tabulated-list.el during compilation.
9954
9bedd73a
CY
99552011-05-09 Chong Yidong <cyd@stupidchicken.com>
9956
488086f4
SM
9957 * progmodes/compile.el (compilation-start):
9958 Run compilation-filter-hook for the async case too.
9bedd73a
CY
9959 (compilation-filter-hook): Doc fix.
9960
797c735c
DD
99612011-05-09 Deniz Dogan <deniz@dogan.se>
9962
9963 * wdired.el: Remove outdated installation comment. Fix usage
9964 comment.
9965
5f4b1dfe
JB
99662011-05-09 Juanma Barranquero <lekktu@gmail.com>
9967
9968 * misc.el: Implement new command `list-dynamic-libraries'.
9969 (list-dynamic-libraries--loaded-only-p): New variable.
9970 (list-dynamic-libraries--refresh): New function.
9971 (list-dynamic-libraries): New command.
9972
4c44026c
CY
99732011-05-09 Chong Yidong <cyd@stupidchicken.com>
9974
488086f4
SM
9975 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9976 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
9977 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9978 higher priority to avoid clobbering by gnu.
9979
027f966d
CY
99802011-05-08 Chong Yidong <cyd@stupidchicken.com>
9981
9982 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9983 if the face has existing theme settings (Bug#8454).
9984
085f5d7d
CY
99852011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9986
488086f4
SM
9987 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9988 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 9989
2a86a00c
RS
9990 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9991 special file names `.' and `..' (Bug#8259).
9992
d9c54a06
CY
99932011-05-08 Chong Yidong <cyd@stupidchicken.com>
9994
488086f4
SM
9995 * progmodes/grep.el (grep-mode-font-lock-keywords):
9996 Remove buffer-changing entries.
d9c54a06
CY
9997 (grep-filter): New function.
9998 (grep-mode): Add it to compilation-filter-hook.
9999
10000 * progmodes/compile.el (compilation-filter-hook)
10001 (compilation-filter-start): New defvars.
10002 (compilation-filter): Call compilation-filter-hook prior to
10003 updating the process mark.
10004
c4662635
SM
100052011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10006
10007 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10008
b0512a1d
EZ
100092011-05-07 Eli Zaretskii <eliz@gnu.org>
10010
605c9376
EZ
10011 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10012 mailclient-send-it even if window-system is nil. (Bug#8595)
10013
c4662635
SM
10014 * term/w32console.el (terminal-init-w32console):
10015 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
10016 background-mode. (Bug#8597)
10017
d1dc2cc2
SM
100182011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10019
10020 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10021 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10022 New functions.
10023 (defgeneric, eieio--defmethod): Use them.
10024 (eieio-defgeneric): Remove.
10025 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10026
915d1300
GM
100272011-05-07 Glenn Morris <rgm@gnu.org>
10028
a3961c3e
GM
10029 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10030 Use let rather than let*.
10031 (timeclock-find-discrep): Remove unused local.
10032
314347b9
GM
10033 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10034
915d1300
GM
10035 * calendar/appt.el (appt-time-msg-list): Doc fix.
10036
275b59b0
NF
100372011-05-06 Noah Friedman <friedman@splode.com>
10038
10039 * apropos.el (apropos-print-doc): Only use
10040 emacs-lisp-docstring-fill-column when it is bound to an integer,
10041 per that variable's documentation.
10042
6c19f744
SM
100432011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10044
10045 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 10046 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 10047
60f884b2
GM
100482011-05-06 Glenn Morris <rgm@gnu.org>
10049
5006e634
GM
10050 * calendar/appt.el (appt-message-warning-time): Doc fix.
10051 (appt-warning-time-regexp): New option.
10052 (appt-make-list): Respect appt-message-warning-time.
10053
548d0a63
GM
10054 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10055 New options.
10056 (diary-add-to-list): Strip comments from the displayed string.
10057 (diary-mode): Set comment-start and comment-end.
10058
60f884b2
GM
10059 * vc/diff-mode.el (smerge-refine-subst): Declare.
10060 (diff-refine-hunk): Don't require smerge-mode when compiling.
10061
989681bb
JB
100622011-05-06 Juanma Barranquero <lekktu@gmail.com>
10063
10064 * simple.el (list-processes): Return nil as the docstring says.
10065
a6bc05e1
MA
100662011-05-05 Michael Albinus <michael.albinus@gmx.de>
10067
10068 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10069 to "".
10070 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10071 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10072 determining of binary transfer. (Bug#7383)
10073
23c22e9a
MA
100742011-05-05 Michael Albinus <michael.albinus@gmx.de>
10075
c4662635
SM
10076 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10077 Fix port computation bug. (Bug#8618)
23c22e9a 10078
0bff894f
GM
100792011-05-05 Glenn Morris <rgm@gnu.org>
10080
b8296902
GM
10081 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10082
1f522ce8
GM
10083 * simple.el (shell-dynamic-complete-functions)
10084 (comint-dynamic-complete-functions): Declare.
10085
cf5bee67
GM
10086 * net/network-stream.el (gnutls-negotiate):
10087 * simple.el (tabulated-list-print): Fix declarations.
10088
10089 * progmodes/gud.el (syntax-symbol, syntax-point):
10090 Remove unnecessary and incorrect declarations.
10091
0bff894f
GM
10092 * emacs-lisp/check-declare.el (check-declare-scan):
10093 Handle byte-compile-initial-macro-environment in bytecomp.el
10094
9869b3ae
SM
100952011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10096
10097 Fix earlier half-done eieio-defmethod change (bug#8338).
10098 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10099 Streamline and change calling convention.
10100 (defmethod): Adjust accordingly and simplify.
10101 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10102 new eieio--defmethod.
10103 (slot-boundp): Minor CSE simplification.
10104
9c1d5ac5
MZ
101052011-05-05 Milan Zamazal <pdm@zamazal.org>
10106
10107 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10108 (glasses-make-readable): Use glasses-separate-capital-groups.
10109
455c834e
JB
101102011-05-05 Juanma Barranquero <lekktu@gmail.com>
10111
10112 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10113 (warning-series): Doc fix.
10114 (display-warning): Don't try to create the buffer if we just found it.
10115
9ed7c8cb
CY
101162011-05-04 Chong Yidong <cyd@stupidchicken.com>
10117
10118 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10119 (autoload-find-generated-file): New function.
10120 (generate-file-autoloads): Bind generated-autoload-file to
10121 buffer-file-name.
9869b3ae
SM
10122 (update-file-autoloads, update-directory-autoloads):
10123 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
10124 output file (Bug#7989).
10125 (batch-update-autoloads): Doc fix.
10126
0898ca10
JB
101272011-05-04 Juanma Barranquero <lekktu@gmail.com>
10128
10129 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10130
31dfb76c
GM
101312011-05-04 Glenn Morris <rgm@gnu.org>
10132
f330b642
GM
10133 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10134 function, so it follows changes in calendar-date-style.
10135 (diary-fancy-date-matcher): New function.
10136 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10137 (diary-fancy-font-lock-fontify-region-function):
10138 Use diary-fancy-date-pattern as a function.
10139
31dfb76c
GM
10140 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10141 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10142
48e79d6a
TZ
101432011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10144
10145 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10146 instead of positional arguments. Allow :keylist and :crlfiles
10147 arguments.
10148 (open-gnutls-stream): Call it.
10149
10150 * net/network-stream.el (network-stream-open-starttls): Adjust to
10151 call `gnutls-negotiate' with :process and :hostname arguments.
10152
dd5a5ee0
SM
101532011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10154
ef80fc09
SM
10155 * minibuffer.el (completion--message): New function.
10156 (completion--do-completion, minibuffer-complete)
10157 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10158 (completion--do-completion): Don't ignore completion-auto-help when in
10159 icomplete-mode.
10160
dd5a5ee0
SM
10161 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10162 internal encoding (e.g. tibetan zero is not whitespace).
10163 (global-whitespace-mode): Prefer save-current-buffer.
10164 (whitespace-trailing-regexp): Remove useless save-match-data.
10165 (whitespace-empty-at-bob-regexp): Minor simplification.
10166
b7d22a83
CY
101672011-05-03 Chong Yidong <cyd@stupidchicken.com>
10168
10169 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10170
5192af46
AM
101712011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10172
10173 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 10174 Use `concat' to create string for insertion.
5192af46 10175
5767d190
SM
101762011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10177
10178 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10179 Avoid open-line which runs post-self-insert-hook.
10180 (bibtex-fill-entry): Remove unused `end' var.
10181
bf242939
AM
101822011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10183
5767d190
SM
10184 * textmodes/ispell.el (ispell-add-per-file-word-list):
10185 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 10186
25666126
LL
101872011-05-03 Leo Liu <sdl.web@gmail.com>
10188
10189 * isearch.el (isearch-yank-pop): New command.
5767d190 10190 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
10191 (isearch-forward): Mention it.
10192
52d3c2d0
SM
101932011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10194
1bcace58
SM
10195 * simple.el (minibuffer-complete-shell-command): Remove.
10196 (minibuffer-local-shell-command-map): Use completion-at-point.
10197 (read-shell-command): Setup completion vars here instead.
10198 (read-expression-map): Bind TAB to symbol completion.
10199
52d3c2d0
SM
10200 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10201 error directly rather via storing it into `results'.
10202
35813471
LL
102032011-05-02 Leo Liu <sdl.web@gmail.com>
10204
10205 * vc/diff.el: Fix description.
10206
e793a940
LMI
102072011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10208
10209 * server.el (server-eval-at): New function.
10210
8de66e05
LMI
102112011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10212
10213 * net/network-stream.el (open-network-stream): Take a :nowait
10214 parameter and pass it on to `make-network-process'.
10215 (network-stream-open-plain): Ditto.
10216
dcb79f20
AS
102172011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10218
10219 * faces.el (face-spec-set-match-display): Don't match toolkit
10220 options on terminal frames.
10221
14a7fbd8
SM
102222011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10223
7eabc1be
SM
10224 * progmodes/pascal.el: Use lexical binding.
10225 (pascal-mode-map): Remove author preferences.
10226
14a7fbd8
SM
10227 * pcomplete.el (pcomplete-std-complete): Don't abuse
10228 completion-at-point.
10229
50f84510
JB
102302011-04-28 Juanma Barranquero <lekktu@gmail.com>
10231
6e087a44
JB
10232 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10233 removing code that has been dead since 1991 or so.
10234
50f84510
JB
10235 * startup.el (command-line): When warning about "_emacs", use a
10236 delayed warning to allow the user to filter it out.
10237
0ba690bd
DD
102382011-04-28 Deniz Dogan <deniz@dogan.se>
10239
10240 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10241 user has not joined.
10242
08abfaad
SM
102432011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10244
10245 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10246 aren't any completions at point.
10247
638f053a
JB
102482011-04-28 Juanma Barranquero <lekktu@gmail.com>
10249
10250 * subr.el (display-delayed-warnings): New function.
10251 (delayed-warnings-hook): New variable.
10252
8fff8daa
SM
102532011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10254
08abfaad
SM
10255 * minibuffer.el (completion-at-point, completion-help-at-point):
10256 Don't presume that a given completion-at-point-function will always
10257 use the same calling convention.
10258
8fff8daa
SM
10259 * pcomplete.el (pcomplete-completions-at-point):
10260 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10261 pcomplete-seen is non-nil.
10262 (pcomplete-comint-setup): Also recognize the new comint/shell
10263 completion functions.
10264 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10265 pcomplete-seen is non-nil.
10266
841a1577 102672011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 10268
841a1577 10269 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 10270 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 10271 the first character in the entry. This allows for code to add its
211ec907
UJ
10272 own uid to the entry.
10273 (icalendar--convert-float-to-ical): Add export of
10274 `diary-float'-entries save for those with the optional DAY
10275 argument.
10276
2a782793
DC
102772011-04-27 Daniel Colascione <dan.colascione@gmail.com>
10278
10279 * subr.el (shell-quote-argument): Use alternate escaping strategy
10280 when we spot a variable reference in a string.
10281
0438ce91
DC
102822011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10283
10284 * cus-start.el (all): Define customization for debug-on-event.
10285
841a1577 102862011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
10287
10288 * subr.el (shell-quote-argument): Escape correctly under Windows.
10289
d090ed6c
SM
102902011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10291
10292 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10293
bfd31217
MA
102942011-04-25 Michael Albinus <michael.albinus@gmx.de>
10295
d090ed6c
SM
10296 * net/tramp.el (tramp-process-actions): Add POS argument.
10297 Delete region between POS and (pos).
bfd31217 10298
d090ed6c
SM
10299 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10300 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
10301 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10302
10303 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10304 position in `tramp-process-actions' call.
10305
10306 * net/trampver.el: Update release number.
10307
e92f3bd3
SM
103082011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10309
850256b5
SM
10310 * custom.el (defcustom): Obey lexical-binding.
10311
e92f3bd3
SM
10312 Fix octave-inf completion problems reported by Alexander Klimov.
10313 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10314 Inherit from octave-mode-syntax-table.
10315 (inferior-octave-mode): Set info-lookup-mode.
10316 (inferior-octave-completion-at-point): New function.
10317 (inferior-octave-complete): Use it and completion-in-region.
10318 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10319 comint-filename-completion.
10320 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10321 symbol elements which shouldn't be word elements.
10322 (octave-font-lock-keywords, octave-beginning-of-defun)
10323 (octave-function-header-regexp): Adjust regexps accordingly.
10324 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10325
cd22b309
JB
103262011-04-25 Juanma Barranquero <lekktu@gmail.com>
10327
10328 * net/gnutls.el (gnutls-errorp): Declare before first use.
10329
8b492194
TZ
103302011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10331
10332 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10333 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 10334 default trustfile exists before going to use it. Add missing
5a5fa834 10335 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
10336 Reported by Claudio Bley <claudio.bley@gmail.com>.
10337 (open-gnutls-stream): Add usage example.
10338
10339 * net/network-stream.el (network-stream-open-starttls): Give host
10340 parameter to `gnutls-negotiate'.
10341 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 10342 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 10343
841a1577 103442011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 10345
cd22b309
JB
10346 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10347 Use correct match group (bug#8438).
05842630 10348
3ba7869c
CY
103492011-04-24 Chong Yidong <cyd@stupidchicken.com>
10350
512e3ae1
CY
10351 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10352 (package-menu--generate): New arg specifying packages to show.
10353 (package-menu-refresh, package-menu-execute, list-packages):
10354 Callers changed.
10355 (package-show-package-list): New function, replacing deleted
10356 package--list-packages (renamed because it is non-internal).
10357
10358 * finder.el (finder-list-matches): Use package-show-package-list
10359 instead of deleted package--list-packages.
10360
e92f3bd3
SM
10361 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10362 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
10363 (vc-annotate-mode-map): Bind it to RET.
10364
7031be6d
UR
103652011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10366
10367 * progmodes/etags.el (next-file): Don't use set-buffer to change
10368 buffers (Bug#8478).
10369
4ef177aa
CY
103702011-04-24 Chong Yidong <cyd@stupidchicken.com>
10371
c8d173eb
CY
10372 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10373
4ef177aa
CY
10374 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10375 (apropos-accumulator): Doc fix.
10376 (apropos-function, apropos-macro, apropos-command)
10377 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10378 (apropos-plist): Add face property.
10379 (apropos-symbols-internal): Fix indentation.
10380 (apropos-print): Simplify help, and recognize apropos-multi-type.
10381 (apropos-print-doc): Use button-type-get to extract the button's
10382 face property. Fill docstring (Bug#8352).
10383
4ffd0d6b 103842011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
10385
10386 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10387
c6c32125 10388 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 10389 (mpuz-mode-map): Use mapc.
c6c32125
JB
10390 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10391 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10392 Fix typos in docstrings.
10393
58d468b4
JB
10394 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10395 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10396
6470c3c6
JB
10397 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10398
4ffd0d6b 103992011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
10400
10401 * minibuffer.el (completion--do-completion): Avoid the "Next char
10402 not unique" prompt if icomplete-mode is enabled (Bug#5849).
10403
3ad8bad0
CY
10404 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10405 mouse-2 into unread-command-events, it is interpreted correctly.
10406
71d73c9c 10407 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 10408 (image-toggle-display): Doc fix.
71d73c9c 10409
841a1577 104102011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 10411
4ffd0d6b
GM
10412 * textmodes/page.el (what-page): Use line-number-at-pos to
10413 calculate line number (Bug#6825).
6e1dbaa9 10414
c2fb1b60
JB
104152011-04-22 Juanma Barranquero <lekktu@gmail.com>
10416
10417 * eshell/esh-mode.el (find-tag-interactive): Declare function.
10418 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10419 Pass argument NO-DEFAULT to `find-tag-interactive'.
10420
e02f48d7
JB
104212011-04-22 Juanma Barranquero <lekktu@gmail.com>
10422
10423 Lexical-binding cleanup.
10424
10425 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10426 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10427 * progmodes/ada-prj.el (ada-prj-initialize-values)
10428 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10429 (ada-prj-show-value):
10430 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10431 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10432 (antlr-invalidate-context-cache, antlr-options-menu-filter)
10433 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10434 * progmodes/bug-reference.el (bug-reference-push-button):
10435 * progmodes/fortran.el (fortran-line-length):
10436 * progmodes/glasses.el (glasses-change):
10437 * progmodes/octave-mod.el (octave-fill-paragraph):
10438 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10439 (python-pdbtrack-grub-for-buffer, python-sentinel):
10440 * progmodes/sql.el (sql-save-connection):
10441 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10442 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10443 Mark unused parameters.
10444
10445 * progmodes/compile.el (compilation--flush-directory-cache)
10446 (compilation--flush-parse, compile-internal): Mark unused parameters.
10447 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10448 (compilation-next-error-function): Remove unused variable `timestamp'.
10449
10450 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10451 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10452
10453 * progmodes/dcl-mode.el (dcl-end-of-command):
10454 Remove unused variable `start'.
10455 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10456 (dcl-option-value-basic, dcl-option-value-offset)
10457 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10458 Mark unused parameters.
10459 (dcl-save-local-variable): Remove unused variable `val'.
10460 (mode): Declare.
10461
10462 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10463 Mark unused parameters.
10464 (delphi-ignore-changes): Move before first use.
10465 (delphi-charset-token-at): Remove unused variable `start'.
10466 (delphi-else-start): Remove unused variable `if-count'.
10467 (delphi-comment-block-start, delphi-comment-block-end):
10468 Remove unused variable `kind'.
10469 (delphi-indent-line): Remove unused variable `new-point'.
10470
10471 * progmodes/ebrowse.el (ebrowse-files-list)
10472 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10473 Mark unused parameters. Don't quote `lambda'.
10474 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10475 Don't quote `lambda'.
10476 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10477 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10478 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10479 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10480 Use `ignore-errors'.
10481 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10482 (ebrowse-view/find-file-and-search-pattern)
10483 (ebrowse-view/find-member-declaration/definition):
10484 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10485 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10486 Rename parameter PREFIX-ARG to PREFIX.
10487 (ebrowse-tags-read-name): Remove unused variables `start' and
10488 `member-info'.
10489 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10490 to `tags-file'.
10491
10492 * progmodes/etags.el (local-find-tag-hook): Declare.
10493 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10494 Mark unused parameters.
10495
10496 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10497 (executable-interpret): Mark unused parameter.
10498
10499 * progmodes/flymake.el (flymake-process-sentinel)
10500 (flymake-after-change-function)
10501 (flymake-create-temp-with-folder-structure)
10502 (flymake-get-include-dirs-dot): Mark unused parameters.
10503 (flymake-safe-delete-directory): Remove unused variable `err'.
10504
10505 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10506 (speedbar-timer-fn, speedbar-line-text)
10507 (speedbar-change-expand-button-char, speedbar-delete-subblock)
10508 (speedbar-center-buffer-smartly): Declare functions.
10509 (gdb-find-watch-expression): Remove unused variable `array'.
10510 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10511 (gdb-starting): Mark unused parameters.
10512 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10513 (gdb-table-string): Remove unused variable `res'.
10514 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10515 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10516 (gdb-display-buffer): Remove unused variable `cur-size'.
10517
10518 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10519 allow lexical-binding compilation.
10520 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10521 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10522 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10523 Mark unused parameters.
10524 (gud-gdb-marker-filter): Remove unused variable `match'.
10525 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10526 lambda expressions and funcall them, instead of using `fset'.
10527
10528 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10529 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10530
10531 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10532 variable `header-beg'; use `let'.
10533
10534 * progmodes/icon.el (indent-icon-exp): Remove unused variables
10535 `restart', `last-sexp' and `at-do'.
10536
10537 * progmodes/js.el (js--debug): Mark unused parameter.
10538 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10539 (js--splice-into-items): Remove unused variable `item'.
10540 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10541
10542 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10543 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10544 (makefile-complete): Remove unused variable `try'.
10545 (makefile-fill-paragraph, makefile-match-function-end):
10546 Mark unused parameters.
10547
10548 * progmodes/octave-inf.el (inferior-octave-complete):
10549 Remove unused variable `proc'.
10550 (inferior-octave-output-digest): Mark unused parameter.
10551
10552 * progmodes/perl-mode.el (perl-calculate-indent):
10553 Remove unused variable `err'.
10554
10555 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10556 (prolog-indent-line): Mark unused parameters.
10557 (prolog-indent-line): Remove unused variable `beg'.
10558
10559 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10560 (reporter-dont-compact-list): Declare.
10561
10562 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10563 Remove unused variable `char'.
10564 (sh-debug): Mark unused parameter.
10565 (sh-get-indent-info): Remove unused variable `start'.
10566 (sh-calculate-indent): Remove unused variable `var'.
10567
10568 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10569 (simula-electric-keyword): Remove unused variable `null'.
10570 (simula-search-backward, simula-search-forward): Remove unused
10571 variables `begin' and `end'.
10572
10573 * progmodes/vera-mode.el (vera-guess-basic-syntax):
10574 Remove unused variable `pos'.
10575 (vera-electric-tab, vera-comment-uncomment-region):
10576 Mark unused parameters.
10577 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10578
7ede3b65
CY
105792011-04-22 Chong Yidong <cyd@stupidchicken.com>
10580
10581 * emacs-lisp/package.el (package--builtins, package-alist)
10582 (package-load-descriptor, package-built-in-p, package-activate)
10583 (define-package, package-installed-p)
10584 (package-compute-transaction, package-buffer-info)
10585 (package--push): Doc fix. Distinguish more clearly between
10586 version strings and version lists.
10587
121656e9
JB
105882011-04-21 Juanma Barranquero <lekktu@gmail.com>
10589
10590 Lexical-binding cleanup.
10591
10592 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10593 (5x5-make-mutate-best):
10594 * play/fortune.el (fortune-in-buffer):
10595 * play/gomoku.el (gomoku-init-display):
10596 * play/solitaire.el (solitaire, solitaire-do-check):
10597 * play/tetris.el (tetris-default-update-speed-function):
10598 Mark unused parameters.
10599
10600 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10601 (bubbles--shift): Remove unused variable `char-org'.
10602 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
10603 (bubbles--show-images): Remove unused variable `char'.
10604
10605 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10606 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10607 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10608 (decipher-analyze-buffer): Use ?\s.
10609 (decipher-make-checkpoint): Remove unused variable `mapping'.
10610
10611 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10612
10613 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10614 Remove unused variable `result'; use `let'.
10615
10616 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10617 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10618 (gametree-children-shown-p, gametree-compute-reduced-score):
10619 Use `ignore-errors'.
10620
10621 * play/handwrite.el (ps-lpr-switches): Declare.
10622 (handwrite): Remove unused variables `pmin' and `lastp'.
10623
10624 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10625
10626 * play/landmark.el (landmark-init-display)
10627 (landmark-update-naught-weights): Mark unused parameters.
10628 (landmark-y): Remove unused variable `noise'. Simplify.
10629 (landmark-human-plays): Remove unused variable `score'.
10630
10631 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10632 (mpuz-try-proposal): Remove unused variable `game'.
10633
10634 * play/zone.el (life-patterns): Declare.
10635
80f499c7
JB
106362011-04-20 Juanma Barranquero <lekktu@gmail.com>
10637
10638 * vc/vc.el (ediff-vc-internal): Declare function.
10639
024ff170
SM
106402011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10641
c0a193ea
SM
10642 * shell.el: Use lexical-binding and std completion UI.
10643 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10644 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10645 comint-preoutput-filter-functions rather than on
10646 comint-output-filter-functions.
10647 (shell-command-completion, shell--command-completion-data)
10648 (shell-filename-completion, shell-environment-variable-completion)
10649 (shell-c-a-p-replace-by-expanded-directory): New functions.
10650 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10651 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10652 (shell-dynamic-complete-environment-variable): Use them.
10653 (shell-dynamic-complete-as-environment-variable)
10654 (shell-dynamic-complete-as-command): Remove.
10655 (shell-match-partial-variable): Match past point.
10656 * comint.el: Clean up use of completion-at-point-functions.
10657 (comint-completion-at-point): New function.
10658 (comint-mode): Use it completion-at-point-functions.
10659 (comint-dynamic-complete): Make it obsolete.
10660 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10661 (comint-c-a-p-replace-by-expanded-history): New function.
10662 (comint-dynamic-complete-functions)
10663 (comint-replace-by-expanded-history): Use it.
10664 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10665 termination strings. Try harder to avoid second try-completion.
10666 (completion-in-region-mode-map): Disable bindings that don't work yet.
10667
2dbaa080
SM
10668 * comint.el: Use lexical-binding. Require CL.
10669 (comint-dynamic-complete-functions): Use comint-filename-completion.
10670 (comint-completion-addsuffix): Tweak custom type.
10671 (comint-filename-completion, comint--common-suffix)
10672 (comint--common-quoted-suffix, comint--table-subvert)
10673 (comint--complete-file-name-data): New functions.
10674 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10675 (comint-dynamic-list-filename-completions): Use them.
10676 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 10677
2dbaa080
SM
10678 * minibuffer.el (completion-in-region-mode):
10679 Keep completion-in-region-mode--predicate global.
10680 (completion-in-region--postch):
10681 Assume completion-in-region-mode--predicate is not null.
10682
c79a6f38
SM
10683 * progmodes/flymake.el (flymake-start-syntax-check-process):
10684 Obey `dir'. Simplify.
10685
024ff170
SM
10686 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10687 we're in VC after all.
10688
1c6c854e
CS
106892011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10690
10691 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 10692 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
10693 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10694
bed7f140
SM
106952011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10696
332e62ab
SM
10697 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10698 add sanity check.
10699
bed7f140
SM
10700 * obsolete/erc-hecomplete.el: Make obsolete.
10701 * obsolete/: Standardize obsolescence info in the header.
10702
f195c582
GM
107032011-04-20 Glenn Morris <rgm@gnu.org>
10704
10705 * calendar/solar.el (solar-horizontal-coordinates):
10706 Use the longitude argument rather than `calendar-longitude'.
10707 (solar-date-next-longitude): Remove unused locals.
10708
cb79b8c0
VJL
107092011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10710
10711 * whitespace.el: New version 13.2.1.
10712
107132011-04-20 felix <EmacsWiki> (tiny change)
10714
d8e4b68b 10715 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
10716 switching between major modes on a file.
10717
602ea69d
SM
107182011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10719
10720 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10721 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10722 multi-line comments as well.
10723
06b60517
JB
107242011-04-19 Juanma Barranquero <lekktu@gmail.com>
10725
10726 Lexical-binding cleanup.
10727
10728 * arc-mode.el (archive-mode-revert):
10729 * cmuscheme.el (scheme-interactively-start-process):
10730 * custom.el (custom-initialize-delay):
10731 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10732 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10733 * emacs-lock.el (emacs-lock-clear-sentinel):
10734 * ezimage.el (defezimage):
10735 * follow.el (follow-avoid-tail-recenter):
10736 * fringe.el (set-fringe-mode-1):
10737 * generic-x.el (bat-generic-mode-compile):
10738 * help-mode.el (help-info-variable, help-do-xref)
10739 (help-mode-revert-buffer):
10740 * help.el (view-emacs-todo):
10741 * iswitchb.el (iswitchb-completion-help):
10742 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10743 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10744 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10745 * locate.el (locate-update):
10746 * longlines.el (longlines-encode-region)
10747 (longlines-after-change-function):
10748 * outline.el (outline-isearch-open-invisible):
10749 * ps-def.el (declare-function, charset-dimension, char-width)
10750 (encode-char):
10751 * ps-mule.el (ps-mule-plot-string):
10752 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10753 (recentf-edit-list-select, recentf-edit-list-validate)
10754 (recentf-open-files-action):
10755 * rect.el (delete-whitespace-rectangle-line)
10756 (rectangle-number-line-callback):
10757 * register.el (window-configuration-to-register)
10758 (frame-configuration-to-register):
10759 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10760 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10761 (xselect-convert-to-targets, xselect-convert-to-delete)
10762 (xselect-convert-to-filename, xselect-convert-to-charpos)
10763 (xselect-convert-to-lineno, xselect-convert-to-colno)
10764 (xselect-convert-to-os, xselect-convert-to-host)
10765 (xselect-convert-to-user, xselect-convert-to-class)
10766 (xselect-convert-to-name, xselect-convert-to-integer)
10767 (xselect-convert-to-atom, xselect-convert-to-identity):
10768 * subr.el (declare, ignore, process-kill-without-query)
10769 (text-clone-maintain):
10770 * terminal.el (te-get-char, te-tic-sentinel):
10771 * tool-bar.el (tool-bar-make-keymap):
10772 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10773 * type-break.el (type-break-mode, type-break-noninteractive-query):
10774 * view.el (View-back-to-mark):
10775 * wid-browse.el (widget-browse-action, widget-browse-widget)
10776 (widget-browse-widgets, widget-browse-sexp):
10777 * widget.el (define-widget-keywords):
10778 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10779 Mark unused parameters.
10780
10781 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10782 (align-areas): Remove unused variable `look'.
10783 (align-region): Remove unused variables `real-end' and `pos-list'.
10784
10785 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10786
10787 * bindings.el (mode-line-modified, mode-line-remote):
10788 Mark unused parameters.
10789 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10790
10791 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10792 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10793
10794 * comint.el (comint-history-isearch-pop-state)
10795 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10796 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10797 (comint-substitute-in-file-name): Doc fix.
10798
10799 * completion.el (cmpl-statistics-block): Mark unused parameter.
10800 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10801 (save-completions-to-file, load-completions-from-file):
10802 Remove unused local variable `e'.
10803
10804 * composite.el (compose-chars): Remove unused variable `len'.
10805 (lgstring-insert-glyph): Remove unused variable `g'.
10806 (compose-glyph-string): Remove unused variables `ascent',
10807 `descent', `lbearing' and `rbearing'.
10808 (compose-glyph-string-relative): Remove unused variables
10809 `lbearing', `rbearing' and `wadjust'.
10810 (compose-gstring-for-graphic): Remove unused variables `header',
10811 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10812 (compose-gstring-for-terminal): Remove unused variables `header'
10813 and `nchars'. Use `let', not `let*'.
10814
10815 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10816 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10817 (Custom-buffer-done, custom-buffer-create-internal)
10818 (custom-browse-visibility-action, custom-browse-group-tag-action)
10819 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10820 (widget-magic-mouse-down-action, custom-toggle-parent)
10821 (custom-add-parent-links, custom-toggle-hide-variable)
10822 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10823 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10824 (custom-face-menu-create, custom-variable-menu-create, get)
10825 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10826 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10827 (customize-apropos): Remove unused variable `tests'.
10828 (custom-group-value-create): Remove unused variable `hidden-p'.
10829 (sort-fold-case): Declare.
10830
10831 * cus-theme.el (custom-reset-standard-faces-list)
10832 (custom-reset-standard-variables-list): Declare.
10833 (customize-create-theme, custom-theme-revert, custom-theme-write)
10834 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10835 Mark unused parameters.
10836
10837 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10838
10839 * delim-col.el (delimit-columns-max): Move defvar before first use.
10840
10841 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 10842 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
10843
10844 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10845 (auto-insert): Declare.
10846 (desktop-restore-file-buffer): Rename desktop-* parameters;
10847 mark unused ones.
10848 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10849 (desktop-buffer): Rename desktop-* parameters.
10850
10851 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10852 (dframe-reposition-frame-xemacs, dframe-help-echo)
10853 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10854 Mark unused parameters.
10855
10856 * dired-aux.el (backup-extract-version-start, overwrite-query)
10857 (overwrite-backup-query, rename-regexp-query)
10858 (rename-non-directory-query): Declare.
10859 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10860 (dired-add-entry): Remove unused variable `orig-file-name'.
10861 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10862 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10863 `dired-copy-preserve-time' directly.
10864 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10865 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10866
10867 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10868 (dired-virtual-revert, dired-make-relative-symlink):
10869 Mark unused parameters.
10870 (manual-program): Declare.
10871 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10872 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10873 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10874
10875 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10876
10877 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10878
10879 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10880 Declare.
10881
10882 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10883
10884 * electric.el (Electric-command-loop): Rename parameter
10885 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10886
10887 * expand.el (expand-in-literal): Remove unused variable `here'.
10888
10889 * facemenu.el (facemenu-add-new-color):
10890 Remove unused variable `docstring'.
10891
10892 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10893 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10894 (face-attr-construct): Mark unused parameter. Doc fix.
10895 (read-color): Remove unused variable `hex-string'.
10896
10897 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10898 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10899 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10900 (display-buffer-other-frame): Remove unused variable `old-window'.
10901 (kill-buffer-hook): Declare.
10902 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10903 Mark unused parameters.
10904 (after-find-file): Pass 1 to `auto-save-mode', not t.
10905
10906 * files-x.el (auto-insert): Declare.
10907 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10908
10909 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 10910 variable `buf'. Mark unused parameter.
06b60517
JB
10911 (find-lisp-insert-directory): Mark unused parameter.
10912
10913 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10914 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10915 (format-common-tail): Remove, unused.
10916 (format-deannotate-region): Remove unused variable `loc'.
10917 (format-annotate-region): Remove unused variable `p'.
10918 (format-annotate-single-property-change): Remove unused variables
10919 `default' and `tail'.
10920
10921 * forms.el (read-file-filter): Declare.
10922 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10923
10924 * frame.el (frame-creation-function-alist): Mark unused parameter.
10925 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10926
10927 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10928 Remove unused parameters.
10929 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10930 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10931
10932 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10933 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10934 (hfy-prepare-tag-map): Mark unused parameters.
10935 (htmlfontify-buffer): Use `called-interactively-p'.
10936
10937 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10938 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10939 (ibuffer-do-occur): Mark unused parameters.
10940 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10941 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10942
10943 * ibuffer.el: Don't quote `lambda'.
10944 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10945 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10946 Mark unused parameters.
10947
10948 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10949 (ido-completing-read): Mark unused parameters.
10950 (ido-copy-current-word): Mark unused parameters;
10951 remove unused variable `name'.
10952 (ido-sort-merged-list): Remove unused parameter `dirs'.
10953
10954 * ielm.el (ielm-input-sender): Mark unused parameter.
10955 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10956 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10957 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10958 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10959 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10960
10961 * image-dired.el (image-dired-display-thumbs): Remove unused
10962 variables `curr-file' and `count'.
10963 (image-dired-remove-tag): Remove unused variable `start'.
10964 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10965 variable `curr-file'
10966 (image-dired-rotate-original): Remove unused variable `temp-file'.
10967 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10968 Remove unused variable `file'.
10969 (image-dired-gallery-generate): Remove unused variable `curr'.
10970 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10971
10972 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10973
10974 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10975
10976 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10977
10978 * isearch.el (minibuffer-history-symbol): Declare.
10979 (isearch-edit-string): Remove unused variable `err'.
10980 (isearch-message-prefix, isearch-message-suffix):
10981 Mark unused parameters.
10982
10983 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10984
10985 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10986
10987 * makesum.el (double-column): Remove unused variable `cnt'.
10988
10989 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10990 (ido-ignore-item-temp-list): Declare.
10991
10992 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10993 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10994 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10995 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10996 `mouse-col-delta'.
10997
10998 * mouse-sel.el (mouse-extend-internal):
10999 Remove unused variable `orig-window-frame'.
11000
11001 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11002 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11003 Move declarations before first use.
11004 (pcomplete-opt): Mark unused parameters; doc fix.
11005
11006 * proced.el (proced-revert): Mark unused parameter.
11007 (proced-send-signal): Remove unused variable `err'.
11008
11009 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11010 Rename parameter PREFIX-ARG to ARG.
11011 (ps-basic-plot-string, ps-basic-plot-whitespace):
11012 Mark unused parameters.
11013
11014 * replace.el (replace-count): Define.
11015 (occur-revert-function): Mark unused parameters.
11016 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11017 (isearch-case-fold-search, isearch-string): Declare.
11018 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11019 bind `case-fold-search'. Remove unused variables `beg' and `end',
11020 and simplify.
11021 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11022 COUNT and bind `replace-count'.
11023 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11024 to COUNT.
11025
11026 * savehist.el (print-readably, print-string-length): Declare.
11027
11028 * shadowfile.el (shadow-expand-cluster-in-file-name):
11029 Remove unused variable `cluster'.
11030 (shadow-copy-file): Remove unused variable `i'.
11031 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11032 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11033 (shadow-define-literal-group, shadow-define-regexp-group)
11034 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11035
11036 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11037 (shell): Use `called-interactively-p'.
11038 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11039
11040 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11041 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11042 (delete-backward-char): Remove unused variable `ocol'.
11043 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11044 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11045 (event-apply-hyper-modifier, event-apply-shift-modifier)
11046 (event-apply-control-modifier, event-apply-meta-modifier):
11047 Mark unused parameters.
11048 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11049 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11050
11051 * speedbar.el (speedbar-ignored-directory-expressions)
11052 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11053 (speedbar-find-file, speedbar-dir-follow)
11054 (speedbar-directory-buttons-follow, speedbar-tag-find)
11055 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11056 (speedbar-buffers-line-directory, speedbar-buffer-click):
11057 Mark unused parameters.
11058 (speedbar-tag-file): Remove unused variable `mode'.
11059 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11060
11061 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11062
11063 * talk.el (talk): Remove unused variable `display'.
11064
11065 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11066 (tar-write-region-annotate): Mark unused parameter.
11067
11068 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11069 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11070 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11071 warning by another.
11072
11073 * time-stamp.el (time-stamp-string-preprocess):
11074 Remove unused variable `require-padding'.
11075
11076 * tree-widget.el (widget-glyph-enable): Declare.
11077 (tree-widget-action): Mark unused parameter.
11078
11079 * w32-fns.el (x-get-selection): Mark unused parameter.
11080 (autoload-make-program, generated-autoload-file): Declare.
11081
11082 * wdired.el (wdired-revert): Mark unused parameters.
11083 (wdired-xcase-word): Remove unused variable `err'.
11084
11085 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11086 (whitespace-help-scroll): Remove unused variable `data-help'.
11087
11088 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11089 (widget-image-insert, widget-after-change, default)
11090 (widget-default-format-handler, widget-default-notify)
11091 (widget-default-prompt-value, widget-info-link-action)
11092 (widget-url-link-action, widget-function-link-action)
11093 (widget-variable-link-action, widget-file-link-action)
11094 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11095 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11096 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11097 (widget-insert-button-action, widget-delete-button-action, visibility)
11098 (widget-documentation-link-action, widget-documentation-string-action)
11099 (widget-const-prompt-value, widget-regexp-match, symbol)
11100 (widget-coding-system-prompt-value)
11101 (widget-key-sequence-value-to-external, sexp)
11102 (widget-sexp-value-to-internal, character, vector, cons)
11103 (widget-choice-prompt-value, widget-boolean-prompt-value)
11104 (widget-color--choose-action): Mark unused parameters.
11105 (widget-item-match-inline, widget-choice-match-inline)
11106 (widget-checklist-match, widget-checklist-match-inline)
11107 (widget-group-match): Rename parameter VALUES to VALS.
11108 (widget-field-value-set): Remove unused variable `size'.
11109 (widget-color-action): Remove unused variables `value' and `start'.
11110
11111 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 11112 variable `dir'. Doc fix.
06b60517
JB
11113 (windmove-find-other-window): Don't pass it.
11114
11115 * window.el (count-windows): Mark unused parameter.
11116 (bw-adjust-window): Remove unused variable `err'.
11117
11118 * woman.el (woman-file-name): Remove unused variable `default'.
11119 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11120 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11121 (global-font-lock-mode): Declare.
11122 (woman-decode-region): Mark unused parameter.
11123 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11124
11125 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11126 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11127 (x-dnd-handle-moz-url): Remove unused variable `title'.
11128 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11129
11130 * xml.el (xml-parse-tag, xml-parse-attlist):
11131 Remove unused variable `pos'.
11132
bc4f7f3d
GM
111332011-04-19 Glenn Morris <rgm@gnu.org>
11134
11135 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11136 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11137 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11138 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11139 * calendar/cal-html.el (cal-html-insert-minical):
11140 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11141 (calendar-mark-date-pattern):
11142 Prefix "unused" locals.
11143
11144 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11145 optional argument `style'.
11146
11147 * calendar/appt.el (appt-make-list):
11148 * calendar/cal-china.el (calendar-chinese-date-string):
11149 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11150 (diary-hebrew-yahrzeit):
11151 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11152 * calendar/calendar.el (calendar-generate-window):
11153 * calendar/time-date.el (time-to-days):
11154 Remove unused local variables.
11155
16a43933
CY
111562011-04-18 Chong Yidong <cyd@stupidchicken.com>
11157
11158 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11159 glyphless-char-display table.
11160 (tabulated-list-glyphless-char-display): New var.
11161
7eed1860
SS
111622011-04-18 Sam Steingold <sds@gnu.org>
11163
11164 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11165 to acknowledgments.
11166
4d2d1ccd
GM
111672011-04-17 Glenn Morris <rgm@gnu.org>
11168
11169 * calendar/diary-lib.el (diary-sexp-entry):
11170 * calendar/holidays.el (holiday-sexp):
11171 Set debug-on-error rather than the removed stack-trace-on-error.
11172
239da61d
GM
111732011-04-16 Glenn Morris <rgm@gnu.org>
11174
11175 * progmodes/f90.el: Use lexical-binding.
11176 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11177
8b05752a
SM
111782011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11179
daca8ba5
SM
11180 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11181 (mail-mode): Setup mailalias completion here instead.
11182 * mail/mailalias.el: Use lexical-binding.
11183 (pattern, mailalias-done): Declare dynamic.
11184 (mail-completion-at-point-function): New function, from mail-complete.
11185 (mail-complete): Use it.
11186 (mail-completion-expand): New function.
11187 (mail-get-names): Use it.
11188 (mail-directory, mail-directory-process, mail-directory-stream):
11189 Don't use `pattern' for lexically bound arg.
11190
6f542485
SM
11191 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11192
037e7c3f
SM
11193 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11194 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11195 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11196
8b05752a
SM
11197 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11198 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11199 (byte-interactive-p): Define them again, for use when inlining
11200 old code.
11201
49093f60
JB
112022011-04-15 Juanma Barranquero <lekktu@gmail.com>
11203
11204 * loadup.el: Use `string-to-number', not `string-to-int'.
11205
b5b8e7de
SM
112062011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11207
11208 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11209 gud-gdb-complete-command.
11210 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11211 (gud-gdb-completion-at-point): New function.
11212 (gud-gdb-completions): Remove.
11213
f42efeb5
MA
112142011-04-14 Michael Albinus <michael.albinus@gmx.de>
11215
49093f60
JB
11216 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11217 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11218 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11219 whether `executable-find' is bound.
f42efeb5
MA
11220
11221 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11222
e240cc21
SM
112232011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11224
11225 * minibuffer.el (completion-in-region-mode-predicate)
11226 (completion-in-region-mode--predicate): New vars.
11227 (completion-in-region, completion-in-region--postch)
11228 (completion-in-region-mode): Use them.
11229 (completion--capf-wrapper): Also return the hook function.
11230 (completion-at-point, completion-help-at-point):
11231 Adjust and provide a predicate.
c2bd2ab0
SM
11232
11233 Preserve arg names for advice of subr and lexical functions (bug#8457).
11234 * help-fns.el (help-function-arglist): Consolidate the subr and
11235 new-byte-code cases. Add argument `preserve-names' to extract names
11236 from the docstring when needed.
11237 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11238 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11239 (ad-arglist): Use help-function-arglist's new arg.
11240 (ad-definition-type): Use cond.
11241
c183f693
JB
112422011-04-13 Juanma Barranquero <lekktu@gmail.com>
11243
06641a47
JB
11244 * autorevert.el (auto-revert-handler):
11245 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11246 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11247 Don't quote lambda.
11248
c183f693
JB
11249 * image-mode.el (image-transform-set-scale):
11250 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11251
1e3b6001
G
112522011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11253
11254 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 11255 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
11256 Upgrades via gnutls-cli are too slow to be done opportunistically.
11257
2d6af8dd
JB
112582011-04-12 Juanma Barranquero <lekktu@gmail.com>
11259
11260 * dframe.el (dframe-current-frame): Remove spurious quote.
11261
c0749a51
GM
112622011-04-12 Glenn Morris <rgm@gnu.org>
11263
088d0d61
GM
11264 * calendar/cal-tex.el (cal-tex-end-document):
11265 Try to automatically use latin1 input if needed.
11266
c0749a51
GM
11267 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11268 Don't try to cons a mark onto an empty element.
11269
5c90fde0
LL
112702011-04-11 Leo Liu <sdl.web@gmail.com>
11271
11272 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11273 buffers.
11274 (ido-kill-buffer-at-head): Support killing virtual buffers.
11275
369e974d
CY
112762011-04-10 Chong Yidong <cyd@stupidchicken.com>
11277
11278 * minibuffer.el (completion-show-inline-help): New var.
11279 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
11280 (minibuffer-force-complete, minibuffer-complete-word):
11281 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
11282
11283 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11284 to avoid interference from inline help (Bug#5849).
11285
37f1c930
LL
112862011-04-10 Leo Liu <sdl.web@gmail.com>
11287
099c39a4
JB
11288 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11289 Fix typo.
37f1c930 11290
a32d4040
CY
112912011-04-09 Chong Yidong <cyd@stupidchicken.com>
11292
11293 * image-mode.el (image-toggle-display-image): Signal an error if
11294 not in Image mode.
11295 (image-transform-mode, image-transform-resize)
11296 (image-transform-set-rotation): Doc fix.
daca8ba5 11297 (image-transform-set-resize): Delete.
a32d4040
CY
11298 (image-transform-set-scale, image-transform-fit-to-height)
11299 (image-transform-fit-to-width): Handle image-toggle-display-image
11300 and image-transform-resize directly.
11301
099c39a4 113022011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
11303
11304 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
11305 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11306 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
11307 (doc-view-mode-map): Add bindings for the new functions.
11308
099c39a4 113092011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 11310
4d61f28d 11311 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
11312 Fix typo in docstring.
11313
3726838a
EZ
113142011-04-08 Eli Zaretskii <eliz@gnu.org>
11315
04f33f1e
EZ
11316 * files.el (file-size-human-readable): Produce one digit after
11317 decimal, like "ls -lh" does.
11318
11319 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11320 the file size representation.
11321
3726838a
EZ
11322 * simple.el (list-processes): If async subprocesses are not
11323 available, error out with a clear error message.
11324
cbb59342
CY
113252011-04-08 Chong Yidong <cyd@stupidchicken.com>
11326
11327 * help.el (help-form-show): New function, to be called from C.
11328 Put help-form output in a buffer named differently than *Help*.
11329
e3971c44
EZ
113302011-04-08 Eli Zaretskii <eliz@gnu.org>
11331
11332 * files.el (file-size-human-readable): New function.
11333
11334 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11335 computing the representation inline. Don't require `cl'.
11336
12544bbe
GM
113372011-04-08 Glenn Morris <rgm@gnu.org>
11338
a1de6c6a
GM
11339 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11340
3c4671f4
GM
11341 * net/browse-url.el (browse-url-firefox):
11342 Test system-type, not system-configuration.
11343
b605679c
GM
11344 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11345 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11346 Use log-edit-empty-buffer-p. (Bug#7598)
11347
56442f0c
GM
11348 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11349 (rlogin-mode-map): Initialize in the defvar.
11350 (rlogin): Use ignore-errors.
11351
12544bbe
GM
11352 * replace.el (occur-mode-map): Some fixes for menu items.
11353
eb237b0f
AH
113542011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11355
11356 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
11357
7d668f2c
CY
113582011-04-06 Chong Yidong <cyd@stupidchicken.com>
11359
e67a13ab
CY
11360 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11361 issuing unused warnings.
11362
11363 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11364 macro directly.
11365
7d668f2c
CY
11366 * simple.el: Lisp reimplement of list-processes. Based on an
11367 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11368 (process-menu-mode): New major mode.
11369 (list-processes--refresh, list-processes):
11370 (process-menu-visit-buffer): New functions.
11371
11372 * files.el (save-buffers-kill-emacs): Don't assume any return
11373 value of list-processes, which is undocumented anyway.
11374
a83ec3c9
CY
113752011-04-06 Chong Yidong <cyd@stupidchicken.com>
11376
11377 * emacs-lisp/tabulated-list.el: New file.
11378
e91a96fe
CY
11379 * emacs-lisp/package.el: Use Tabulated List mode.
11380 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11381 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11382 table format using Tabulated List mode variables.
11383 (package--push): New macro, replacing package-list-maybe-add.
11384 (package-menu--generate): Use package--push. Renamed from
11385 package--generate-package-list.
11386 (package-menu-refresh, list-packages): Use it.
daca8ba5 11387 (package-menu--print-info): Rename from package-print-package.
e91a96fe 11388 Return insertion data instead of inserting it directly.
099c39a4
JB
11389 (package-menu-describe-package, package-menu-execute):
11390 Use tabulated-list-get-id.
e91a96fe
CY
11391 (package-menu-mark-delete, package-menu-mark-install)
11392 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
11393 (package-menu-mark-obsolete-for-deletion):
11394 Use tabulated-list-put-tag.
e91a96fe
CY
11395 (package--list-packages, package-menu-revert)
11396 (package-menu-get-package, package-menu-get-version)
11397 (package-menu-sort-by-column): Functions deleted.
11398 (package-menu-package-list, package-menu-sort-key): Vars deleted.
11399 (package-menu--status-predicate, package-menu--version-predicate)
11400 (package-menu--name-predicate)
11401 (package-menu--description-predicate): Handle arguments in the
11402 Tabulated List format.
11403 (package-list-packages-no-fetch): Call list-packages.
11404
3e214b50
JB
114052011-04-06 Juanma Barranquero <lekktu@gmail.com>
11406
11407 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 11408 (after-find-file): Don't bind it.
3e214b50
JB
11409 (revert-buffer-in-progress-p): New variable.
11410 (revert-buffer): Bind it.
11411 Pass nil for `after-find-file-from-revert-buffer'.
11412
11413 * saveplace.el (save-place-find-file-hook): Use new variable
11414 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11415
3f0f1700
GM
114162011-04-06 Glenn Morris <rgm@gnu.org>
11417
c0274801
GM
11418 * Makefile.in (AUTOGEN_VCS): New variable.
11419 (autoloads): Use $AUTOGEN_VCS.
11420
3f0f1700
GM
11421 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11422 * calendar/calendar.el (calendar-mode-map):
11423 Check for toolkit scroll bars. (Bug#8305)
11424
41ea9e48
CY
114252011-04-05 Chong Yidong <cyd@stupidchicken.com>
11426
11427 * minibuffer.el (completion-in-region--postch)
11428 (completion-in-region-mode): Remove unnecessary messages.
11429
6194c800
JB
114302011-04-05 Juanma Barranquero <lekktu@gmail.com>
11431
33256f14
JB
11432 * font-lock.el (font-lock-refresh-defaults):
11433 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11434 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11435
6194c800
JB
11436 * info.el (Info-directory-list, Info-read-node-name-2)
11437 (Info-split-parameter-string): Doc fixes.
11438 (Info-virtual-nodes): Reflow docstring.
11439 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11440 (Info-apropos-toc-nodes, info-finder, Info-get-token)
11441 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11442 Fix typos in docstrings.
11443 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11444 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11445 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11446 (Info-restore-desktop-buffer): Mark unused parameters.
11447 (Info-directory-find-file, Info-directory-find-node)
11448 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11449 (Info-virtual-index-find-node, Info-apropos-find-file)
11450 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 11451 Mark unused parameters; fix typos in docstrings.
6194c800
JB
11452 (Info-virtual-index): Remove unused local variable `nodename'.
11453
b87a8200 114542011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 11455
b87a8200
DD
11456 * net/rcirc.el: Update my e-mail address.
11457 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 11458
3b2ff876
CY
114592011-04-05 Chong Yidong <cyd@stupidchicken.com>
11460
11461 * startup.el (command-line): Save the cursor's theme-face
11462 directly, instead of using face-override-spec.
11463
11464 * custom.el (load-theme): Minor optimization in assigning faces.
11465
8d17e7ca
JB
114662011-04-04 Juanma Barranquero <lekktu@gmail.com>
11467
11468 * help-fns.el (describe-variable): Complete all variables having
11469 documentation, including keywords.
11470 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11471
2fbc1934
JB
114722011-04-04 Juanma Barranquero <lekktu@gmail.com>
11473
11474 Convert to lexical-binding.
11475
11476 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11477 (bs--get-marked-string, bs--get-modified-string)
11478 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11479 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11480 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11481
11482 * ehelp.el (electric-help-execute-extended)
11483 (electric-help-ctrl-x-prefix):
11484 * hexl.el (hexl-revert-buffer-function):
11485 * linum.el (linum-after-change, linum-after-scroll):
11486 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11487
11488 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11489
74f50695
DU
114902011-04-04 Daiki Ueno <ueno@unixuser.org>
11491
11492 * epa-dired.el:
11493 * epa-mail.el:
11494 * epa-hook.el:
11495 * epa-file.el:
11496 * epa.el:
11497 * epg.el: Use lexical binding.
11498
c11325f7
CY
114992011-04-03 Chong Yidong <cyd@stupidchicken.com>
11500
0d9e9a12
CY
11501 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11502
c11325f7 11503 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
11504 dictionary case for flyspell-mark-duplications-exceptions.
11505 Use regexp matching for languages.
c11325f7
CY
11506 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11507 default dictionary (Bug#7926).
11508
da91b5f2
CY
115092011-04-02 Chong Yidong <cyd@stupidchicken.com>
11510
099c39a4
JB
11511 * emacs-lisp/package.el (package--with-work-buffer):
11512 Recognize https URLs.
da91b5f2 11513
099c39a4
JB
11514 * net/network-stream.el: Move from gnus/proto-stream.el.
11515 Change prefix to network-stream throughout.
da91b5f2
CY
11516 (open-protocol-stream): Merge into open-network-stream, leaving
11517 open-protocol-stream as an alias. Handle nil BUFFER args.
11518
11519 * subr.el (open-network-stream): Move to net/network-stream.el.
11520
afa8e9f6
GM
115212011-04-02 Glenn Morris <rgm@gnu.org>
11522
1d2e369d
GM
11523 * find-dired.el (find-exec-terminator): New option.
11524 (find-ls-option): Test for -ls support.
11525 (find-ls-subdir-switches): Test for -b in find-ls-option.
11526 (find-dired, find-grep-dired): Doc fixes.
11527 (find-dired): Use find-exec-terminator.
11528
8abb7da8 11529 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
11530 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11531 (find-name-arg): Remove purecopy.
8abb7da8 11532
f3ca7378
GM
11533 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11534 (grep-compute-defaults): Check for `-exec COMMAND +' support.
11535 Set grep-find-use-xargs, grep-find-command, and grep-find-template
11536 accordingly. Don't add the null-device if not needed.
11537
afa8e9f6
GM
11538 * files.el (save-some-buffers): Doc fix.
11539
35eae264
EZ
115402011-04-02 Eli Zaretskii <eliz@gnu.org>
11541
11542 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11543
26b51db5
JB
115442011-04-01 Juanma Barranquero <lekktu@gmail.com>
11545
11546 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11547 Use `dolist' rather than `mapcar'.
11548
7200d79c
SM
115492011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11550
03408648 11551 Add lexical binding.
7200d79c 11552
03408648
SM
11553 * subr.el (apply-partially): Use new closures rather than CL.
11554 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11555 (dolist, dotimes): Use slightly different expansion for lexical code.
11556 (functionp): Move to C.
11557 (letrec): New macro.
11558 (with-wrapper-hook): Use it and apply-partially instead of CL.
11559 (eval-after-load): Preserve lexical-binding.
11560 (save-window-excursion, with-output-to-temp-buffer): Turn them
11561 into macros.
7200d79c 11562
03408648
SM
11563 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11564
11565 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11566 than the arglist.
11567 (help-add-fundoc-usage): Don't add `Not documented'.
11568 (help-function-arglist): Handle closures, subroutines, and new
11569 byte-code-functions.
11570 (help-make-usage): Remove leading underscores.
11571 (describe-function-1): Handle closures.
11572 (describe-variable): Use special-variable-p for completion.
11573
11574 * files.el (lexical-binding): Declare safe.
f488fb65 11575
03408648
SM
11576 * emacs-lisp/pcase.el: Don't use destructuring-bind.
11577 (pcase--memoize): Rename from pcase-memoize. Change weakness.
11578 (pcase): Add `let' pattern.
11579 Change memoization so it actually works.
11580 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11581 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11582 <let>: New case.
f488fb65 11583
03408648
SM
11584 * emacs-lisp/macroexp.el: Use lexical binding.
11585 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
11586 Don't convert ' to #' without checking that it's indeed quoting
11587 a lambda.
11588
11589 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 11590 Use eval-sexp-add-defvars.
03408648
SM
11591 (eval-sexp-add-defvars): New fun.
11592
11593 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11594
11595 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11596 Don't autoload.
11597 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11598 than the internal `byte-compile-lambda'.
11599 (defmethod): Don't hide code under quotes.
11600 (eieio-defmethod): New `code' argument.
11601
11602 * emacs-lisp/eieio-comp.el: Remove.
11603
11604 * emacs-lisp/edebug.el (edebug-eval-defun)
11605 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11606 (edebug-toggle): Avoid `eval'.
11607
11608 * emacs-lisp/disass.el (disassemble-internal): Handle new
11609 `closure' objects.
11610 (disassemble-1): Handle new byte codes.
11611
11612 * emacs-lisp/cl.el (pushnew): Silence warning.
11613
11614 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11615 (cl-byte-compile-throw): Remove.
11616 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11617
11618 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11619 closures.
11620
11621 * emacs-lisp/cconv.el: New file.
11622
11623 * emacs-lisp/bytecomp.el: Use lexical binding instead of
11624 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
11625 (byte-compile-initial-macro-environment):
11626 Handle declare-function here.
11627 (byte-compile--lexical-environment): New var.
11628 (byte-stack-ref, byte-stack-set, byte-discardN)
11629 (byte-discardN-preserve-tos): New lap codes.
11630 (byte-interactive-p): Don't use any more.
11631 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11632 New macros.
11633 (byte-compile-lapcode): Use them and handle new lap codes.
11634 (byte-compile-obsolete): Remove.
11635 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11636 (byte-compile-arglist-warn): Check late def of inlinable funs.
11637 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11638 since they should have been expanded by now.
11639 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11640 (byte-compile-from-buffer): Remove unused second arg.
11641 (byte-compile-preprocess): New function.
11642 (byte-compile-toplevel-file-form): New function to distinguish
11643 file-form calls from outside from file-form calls from hunk-handlers.
11644 (byte-compile-file-form): Simplify.
11645 (byte-compile-file-form-defsubst): Remove.
11646 (byte-compile-file-form-defmumble): Simplify now that
11647 byte-compile-lambda always returns a byte-code-function.
11648 (byte-compile): Preprocess.
11649 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11650 Remove, not used any more.
11651 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11652 (byte-compile-make-args-desc): New funs.
11653 (byte-compile-lambda): Handle lexical functions. Always return
11654 a byte-code-function.
11655 (byte-compile-reserved-constants): New var, to make up room for
11656 closed-over variables.
11657 (byte-compile-constants-vector): Obey it.
11658 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11659 (byte-compile-macroexpand-declare-function): New function.
11660 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11661 byte-code-functions.
11662 (byte-compile-form): Check obsolescence here.
11663 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11664 (byte-compile-variable-ref): Remove.
11665 (byte-compile-dynamic-variable-op): New fun.
11666 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11667 (byte-compile-variable-set): New funs.
11668 (byte-compile-discard): Add 2 args.
11669 (byte-compile-stack-ref, byte-compile-stack-set)
11670 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11671 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11672 macroexpand-all instead.
11673 (byte-compile-quote-form): Remove.
11674 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11675 (byte-compile-bind, byte-compile-unbind): New funs.
11676 (byte-compile-let): Handle let* and lexical binding.
11677 (byte-compile-let*): Remove.
11678 (byte-compile-catch, byte-compile-unwind-protect)
11679 (byte-compile-track-mouse, byte-compile-condition-case):
11680 Handle a new :fun-body form, used for lexical scoping.
11681 (byte-compile-save-window-excursion)
11682 (byte-compile-with-output-to-temp-buffer): Remove.
11683 (byte-compile-defun): Simplify.
11684 (byte-compile-stack-adjustment): New fun.
11685 (byte-compile-out): Use it.
11686 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11687
11688 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11689 handler any more.
11690
11691 * emacs-lisp/byte-opt.el: Use lexical binding.
11692 (byte-inline-lapcode): Remove (to bytecomp).
11693 (byte-compile-inline-expand): Pay attention to inlining to/from
11694 lexically bound code.
11695 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11696 any more.
11697 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11698 any more and don't call compiler-macros.
11699 (byte-compile-splice-in-already-compiled-code): Remove.
11700 (byte-code): Don't inline any more.
11701 (disassemble-offset): Receive `bytes' as argument rather than via
11702 dynamic scoping.
11703 (byte-compile-tag-number): Declare before first use.
11704 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11705 `return' even if make-spliceable.
11706 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11707 obsolete interactive-p.
11708 (byte-optimize-lapcode): Optimize new lap-codes.
11709 Don't trip up on new form of `byte-constant' lap code.
11710
11711 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11712
11713 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11714
11715 * custom.el (custom-initialize-default, custom-declare-variable):
11716 Use `defvar'.
11717
11718 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11719 New variables.
11720 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11721 (COMPILE_FIRST): Add macroexp and cconv.
11722 * makefile.w32-in: Mirror changes in Makefile.in.
11723
11724 * vc/cvs-status.el:
11725 * vc/diff-mode.el:
11726 * vc/log-edit.el:
11727 * vc/log-view.el:
11728 * vc/smerge-mode.el:
11729 * textmodes/bibtex-style.el:
11730 * textmodes/css.el:
11731 * startup.el:
11732 * uniquify.el:
da91b5f2
CY
11733 * minibuffer.el:
11734 * newcomment.el:
11735 * reveal.el:
11736 * server.el:
11737 * mpc.el:
11738 * emacs-lisp/smie.el:
11739 * doc-view.el:
11740 * dired.el:
03408648
SM
11741 * abbrev.el: Use lexical binding.
11742
0f0c1f27
EZ
117432011-04-01 Eli Zaretskii <eliz@gnu.org>
11744
11745 * info.el (info-display-manual): New function.
11746
c82b2579
SM
117472011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11748
11749 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11750
221ddf68
TH
117512011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11752
11753 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 11754 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 11755
cba6e77e
GM
117562011-03-31 Glenn Morris <rgm@gnu.org>
11757
e040639f
GM
11758 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11759
cba6e77e
GM
11760 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11761
6d0f1c9e
CS
117622011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11763
11764 * progmodes/python.el (python-default-interpreter)
11765 (python-python-command-args, python-jython-command-args)
11766 (python-which-shell, python-which-args, python-which-bufname)
11767 (python-file-queue, python-comint-output-filter-function)
11768 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11769 variables and functions.
11770
3e2d70fd
SM
117712011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11772
11773 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11774 (completion-in-region-mode): New minor mode.
11775 (completion-in-region): Use it.
11776 (completion-in-region--data, completion-in-region-mode-map): New vars.
11777 (completion-in-region--postch): New function.
11778 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11779 New vars.
11780 (completion--capf-wrapper): New function.
11781 (completion-at-point): Use it to track well-behavedness of
11782 hook functions.
11783 (completion-help-at-point): New command.
11784
f3e4086c
JM
117852011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11786
11787 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11788 syntax class to search for whitespace on a single line
11789 (Message-ID: <4D938140.4030905@redhat.com>).
11790
eb7ffc14
LL
117912011-03-30 Leo Liu <sdl.web@gmail.com>
11792
11793 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11794 New commands.
11795 (edit-abbrevs-map): Bind them here.
11796 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11797
d806ab68
KM
117982011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11799
11800 * allout.el (allout-hide-by-annotation, allout-flag-region):
11801 Reduce possibility of overlay leakage by making them volatile.
11802
11803 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11804 hash is not shared between buffers. Mode initialization is
11805 responsible for giving it a useful starting value.
11806 (allout-item-span): Reduce possibility of overlay leakage by
11807 making them volatile.
11808 (allout-widgets-count-buttons-in-region): Add diagnostic function
11809 for tracking down button overlay leaks.
11810
ea622834
LL
118112011-03-29 Leo Liu <sdl.web@gmail.com>
11812
11813 * ido.el (ido-read-internal): Use the default history var
11814 minibuffer-history if no HISTORY is specified.
11815
b62f8267
G
118162011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11817
03408648
SM
11818 * net/imap.el (imap-shell-open, imap-process-connection-type):
11819 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
11820 Kerberos, SSL, other subprocesses.
11821
947b6566
LL
118222011-03-28 Leo Liu <sdl.web@gmail.com>
11823
11824 * abbrev.el (abbrev-table-empty-p): New function.
11825 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11826 nonempty ones. (Bug#5937)
11827
5ffb62aa
JD
118282011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11829
11830 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11831
7a097943
LL
118322011-03-27 Leo Liu <sdl.web@gmail.com>
11833
11834 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11835 for foreground and background colors.
11836 (ansi-color-make-color-map): Adapt.
11837
c5b40130
LL
118382011-03-25 Leo Liu <sdl.web@gmail.com>
11839
1f48f7d2
LL
11840 * midnight.el (midnight-time-float): Remove. Note it calculates
11841 the microsecond component incorrectly and seconds-to-time does the
11842 same job.
625897ec 11843 Remove redundant (require 'timer).
1f48f7d2 11844
c5b40130
LL
11845 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11846 (ido-completions): Remove unused arguments. (Bug#8329)
11847
d86d2721
SM
118482011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11849
11850 * minibuffer.el (completion--flush-all-sorted-completions):
11851 Remove itself from hook.
11852 (completion-at-point): Let the functions perform the completion
11853 immediately and return nil or t.
11854 * comint.el (comint-dynamic-complete-functions): Now identical to
11855 completion-at-point-functions.
11856 (comint-dynamic-list-input-ring): Remove unused var `index'.
11857 (comint--match-partial-filename, comint--unquote&expand-filename):
11858 New funs, split from comint-match-partial-filename.
11859 (comint-dynamic-complete): Use completion-at-point.
11860 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11861
e8974c48
DA
118622011-03-24 Drew Adams <drew.adams@oracle.com>
11863
11864 * thingatpt.el: Support `defun'.
11865
def71b5e
LL
118662011-03-23 Leo Liu <sdl.web@gmail.com>
11867
cb5af48e
LL
11868 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11869
def71b5e
LL
11870 * help-mode.el (help-mode-finish): Tweak regexp.
11871
927c53e7
GM
118722011-03-23 Glenn Morris <rgm@gnu.org>
11873
18d05bed
GM
11874 * eshell/esh-opt.el (eshell-eval-using-options):
11875 Do not bind unused local variable `eshell-option-stub'.
11876
927c53e7
GM
11877 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11878
9d0da923
JB
118792011-03-22 Juanma Barranquero <lekktu@gmail.com>
11880
11881 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11882 keymap variable in `with-no-warnings' to avoid a warning when the
11883 keymap has been already `defconst'ed.
11884
4b978a67
LL
118852011-03-22 Leo Liu <sdl.web@gmail.com>
11886
11887 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11888 encode all chars in abbrevs; otherwise use emacs-mule or
11889 utf-8-emacs. (Bug#8308)
11890
5fd62452
JB
118912011-03-22 Juanma Barranquero <lekktu@gmail.com>
11892
0b1596c6
JB
11893 * simple.el (backward-delete-char-untabify):
11894 Avoid warning about using `delete-backward-char'.
11895
5fd62452
JB
11896 * image.el (image-type-file-name-regexps): Make it variable.
11897 `imagemagick-register-types' modifies it, and the user may want
11898 to add new extensions for known image types.
11899 (imagemagick-register-types): Throw error if not using ImageMagick.
11900
0b4e93f1
LL
119012011-03-22 Leo Liu <sdl.web@gmail.com>
11902
11903 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11904 located before rcirc-prompt-end-marker.
11905 (rcirc-complete): Error if point is not after rcirc prompt.
11906 Handle the case when table is nil.
9882e214 11907 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 11908
fccee4ab
CY
119092011-03-22 Chong Yidong <cyd@stupidchicken.com>
11910
11911 * custom.el (custom--inhibit-theme-enable): Make it affect only
11912 custom-theme-set-variables and custom-theme-set-faces.
11913 (provide-theme): Ignore custom--inhibit-theme-enable.
11914 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11915 (custom-enabling-themes): Delete variable.
d86d2721
SM
11916 (enable-theme): Accept only loaded themes as arguments.
11917 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
11918 (custom-enabled-themes): Forbid themes from setting this.
11919 Eliminate use of custom-enabling-themes.
11920 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 11921
af896da6
LL
119222011-03-21 Leo Liu <sdl.web@gmail.com>
11923
11924 * ido.el (ido-read-internal): Add ido-selected to history instead
11925 of user input.
11926
78f64af0
SM
119272011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11928
11929 * subr.el (deferred-action-list, deferred-action-function):
11930 Mark obsolete.
11931
b16ac1ec
LL
119322011-03-21 Leo Liu <sdl.web@gmail.com>
11933
810f7698
LL
11934 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11935 change on 2011-02-13 (bug#8309).
11936
b16ac1ec
LL
11937 * minibuffer.el (read-file-name-function): Change default value.
11938 (read-file-name--defaults): Rename from read-file-name-defaults.
11939 (read-file-name-default): Rename from read-file-name.
11940 (read-file-name): Call read-file-name-function.
11941
4e05e67e
GM
119422011-03-21 Glenn Morris <rgm@gnu.org>
11943
11944 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11945 Doc fixes.
11946
4359915b
CY
119472011-03-21 Chong Yidong <cyd@stupidchicken.com>
11948
11949 * cus-theme.el: Add missing provide statement.
11950 (customize-create-theme): Extract theme value correctly.
11951 (custom-theme-visit-theme): Autoload.
11952 (customize-create-theme): Prompt before inserting default faces.
11953
1fe275ee
JB
119542011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11955
11956 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11957 units and musical notes.
11958
cd394be1 119592011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
11960
11961 * ido.el (ido-read-internal): Use completing-read-default.
11962 (ido-completing-read): Fix compatibility with completing-read.
11963
7d476bde
CO
119642011-03-20 Christian Ohler <ohler@gnu.org>
11965
11966 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11967 (ert-delete-all-tests): Use `called-interactively-p' rather than
11968 `interactive-p'.
11969 (ert--make-xrefs-region): Respect END.
11970
fe0fb33e
CY
119712011-03-19 Chong Yidong <cyd@stupidchicken.com>
11972
ff854b0b
CY
11973 * dired-aux.el (dired-create-directory): Signal an error if the
11974 directory already exists (Bug#8246).
11975
fe0fb33e
CY
11976 * facemenu.el (list-colors-display): Call list-faces-display
11977 inside with-help-window.
11978 (list-colors-print): Use display property to align the final
11979 column, instead of checking window-width.
11980
576bce32
EZ
119812011-03-19 Eli Zaretskii <eliz@gnu.org>
11982
4d61f28d 11983 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
11984 windows-nt systems.
11985 (emerge-protect-metachars): Quote correctly for ms-dos and
11986 windows-nt systems.
11987
89c41d68 119882011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
11989
11990 * info.el (info-initialize): Replace all uses of `:' with
11991 path-separator for compatibility with non-Unix systems.
11992 Cache quoting of path-separator. (Bug#8258)
11993
b14e3e21 119942011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
11995
11996 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11997 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11998 (mouse-avoidance-mode): Fix typos in docstrings.
11999
4525ce3e
CY
120002011-03-19 Chong Yidong <cyd@stupidchicken.com>
12001
12002 * startup.el (package-subdirectory-regexp): Move from package.el.
12003 Omit \\` and \\', and let callers add them.
12004
12005 * emacs-lisp/package.el (package-strip-version)
12006 (package-load-all-descriptors): Add \\` and \\' to
12007 package-subdirectory-regexp before using it.
12008 (package-untar-buffer): New arg DIR; ensure that file untars only
12009 into this expected directory. Remove superfluous delete-region.
12010 (package-unpack): Caller changed.
12011 (package-tar-file-info): Use package-subdirectory-regexp.
12012
a904a09a 120132011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 12014
a904a09a
SM
12015 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12016 diff-mode-shared-map (bug#8284).
12017 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
12018
120192011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12020
12021 * calendar/time-date.el (format-seconds): Use assoc instead of
12022 assoc-string, since assoc-string doesn't exist in XEmacs.
12023
171fc304
JB
120242011-03-17 Juanma Barranquero <lekktu@gmail.com>
12025
12026 * custom.el (custom-known-themes): Reflow docstring.
12027 (custom-theme-load-path): Fix typo in docstring.
12028 (load-theme): Fix typo in error message.
12029 (custom-available-themes, custom-variable-theme-value):
12030 Use `let', not `let*'.
12031
d71990a1
JB
120322011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12033
12034 * calc/README: Mention inclusion of musical notes.
12035
12036 * calc/calc-units.el (calc-lu-quant): Rename from
12037 `calc-logunits-quantity'.
12038 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12039 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12040 (calc-db): Rename from `calc-dblevel'.
12041 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12042 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12043 (calc-np): Rename from `calc-nplevel'.
12044 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12045 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12046 (calc-lu-plus): Rename from `calc-logunits-add'.
12047 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12048 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12049 (calc-lu-minus): Rename from `calc-logunits-sub'.
12050 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12051 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12052 (calc-lu-times): Rename from `calc-logunits-mul'.
12053 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12054 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12055 (calc-lu-divide): Rename from `calc-logunits-div'.
12056 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12057 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12058
12059 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12060 functions being autoloaded.
12061
12062 * calc/calc.el (calc-lu-power-reference): Rename from
12063 `calc-logunits-power-reference'.
12064 (calc-lu-field-reference): Rename from
12065 `calc-logunits-field-reference'.
12066
7a71b18d
GM
12067 * calc/calc-help.el (calc-l-prefix-help):
12068 Mention musical note functions.
d71990a1 12069
40c2934b
SM
120702011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12071
12072 * minibuffer.el (completion-all-sorted-completions):
12073 Use :completion-cycle-penalty text property if present.
12074
b0911414
KM
120752011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12076
12077 * allout.el (allout-yank-processing): Adjust for new rebulleting
12078 regime so bullet being yanked is used without prompting the user
12079 for a choice.
12080
8a05b668
JB
120812011-03-16 Juanma Barranquero <lekktu@gmail.com>
12082
12083 * startup.el (command-line): Warn the user that _emacs is deprecated.
12084
5ba5fb81
JB
120852011-03-16 Juanma Barranquero <lekktu@gmail.com>
12086
12087 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12088 (delphi-verbose, delphi-comment-face, delphi-string-face)
12089 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12090 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12091 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12092 (delphi-new-comment-line, delphi-font-lock-defaults)
12093 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12094 Fix typos in docstrings.
12095
2dab465b
KM
120962011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12097
5ba5fb81 12098 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
12099 Invert the roles of character and string values for INSTEAD, so a
12100 string is used for the more common case of a defaulting prompt.
12101
0adf5618
SM
121022011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12103
12104 * progmodes/ruby-mode.el (ruby-backward-sexp):
12105 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12106 * play/gamegrid.el (gamegrid-make-face):
12107 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12108 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12109 * notifications.el (notifications-notify):
12110 * net/xesam.el (xesam-search-engines):
12111 * net/quickurl.el (quickurl-list-insert):
12112 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12113
d72700e5
CY
121142011-03-15 Chong Yidong <cyd@stupidchicken.com>
12115
12116 * startup.el (command-line): Update package subdirectory regexp.
12117
49c5410a
SM
121182011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12119
c6eee9aa
SM
12120 * allout.el (allout-abbreviate-flattened-numbering)
12121 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12122
49c5410a
SM
12123 * subr.el (read-char-choice): Only show the cursor after the prompt,
12124 not after the answer.
12125
047b2bb9
KR
121262011-03-15 Kevin Ryde <user42@zip.com.au>
12127
12128 * help-fns.el (variable-at-point): Skip leading quotes, if any
12129 (bug#8253).
12130
0a57d256
SM
121312011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12132
12133 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12134 warning message.
12135
77c992bc
MA
121362011-03-14 Michael Albinus <michael.albinus@gmx.de>
12137
12138 * shell.el (shell): When called interactively, offer to change the
12139 shell file name on remote hosts.
12140
eebc475d
TZ
121412011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12142
12143 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12144 integration for LDAP parameters. The host, base, user or binddn,
12145 and secret tokens can be specified in a netrc file, for instance.
12146 This is optional because an `auth-source' parameter must be
12147 specified in the search attributes.
12148
9d05d1ba
JB
121492011-03-13 Juanma Barranquero <lekktu@gmail.com>
12150
12151 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12152
09d9db2c
GM
121532011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12154
12155 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12156 into declaration. Remove redundant and harmful binding.
12157
121582011-03-12 Eli Zaretskii <eliz@gnu.org>
12159
12160 * files.el (file-ownership-preserved-p): Pass `integer' as an
12161 explicit 2nd argument to `file-attributes'. If the file's owner
12162 is the Administrators group on Windows, and the current user is
12163 Administrator, consider that a match.
12164
12165 * server.el (server-ensure-safe-dir): Consider server directory
12166 safe on MS-Windows if its owner is the Administrators group while
12167 the current Emacs user is Administrator. Use `=' to compare
12168 numerical UIDs, since they could be integers or floats.
12169
219bd536
JB
121702011-03-12 Juanma Barranquero <lekktu@gmail.com>
12171
12172 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12173
f3afd36b
MA
121742011-03-12 Michael Albinus <michael.albinus@gmx.de>
12175
12176 Sync with Tramp 2.2.1.
12177
12178 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12179
12180 * net/trampver.el: Update release number.
12181
3aaaa6f1
SM
121822011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12183
94642599
SM
12184 * progmodes/compile.el (compilation--previous-directory): Fix up
12185 various nil/dead-marker mismatches (bug#8014).
12186 (compilation-directory-properties, compilation-error-properties):
12187 Don't call it at a position past the one we're about to change.
12188
3aaaa6f1
SM
12189 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12190 Disable obsolescence warnings in the file that declares it.
12191
14239447
KM
121922011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12193
099c39a4
JB
12194 * allout-widgets.el (allout-widgets-tally):
12195 Initialize allout-widgets-tally as a hash table rather than nil to
12196 prevent mode-line redisplay warnings. Also, clarify the module
12197 description and fix a comment typo.
14239447 12198
135e287c
JB
121992011-03-11 Juanma Barranquero <lekktu@gmail.com>
12200
12201 * help-fns.el (describe-variable): Don't complete keywords.
12202 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12203
ffbf300e
CY
122042011-03-10 Chong Yidong <cyd@stupidchicken.com>
12205
ba08b241
CY
12206 * emacs-lisp/package.el (package-version-join): Impose a standard
12207 string representation for pre/alpha/beta version lists.
12208 (package-unpack-single): Standardize the directory name by passing
12209 it through package-version-join.
12210 (package-strip-rcs-id): Accept any version string that does not
12211 signal an error in version-to-list.
ffbf300e 12212
f346fd6b
MA
122132011-03-10 Michael Albinus <michael.albinus@gmx.de>
12214
12215 * simple.el (delete-trailing-whitespace): Return nil for the
12216 benefit of `write-file-functions'.
12217
ccb55d27
GM
122182011-03-10 Glenn Morris <rgm@gnu.org>
12219
5ceaac0c
GM
12220 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12221
02da65ff
GM
12222 * vc/vc-git.el (vc-git-program): New option.
12223 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12224 (vc-git--call): Use it.
12225
b2f603cc
GM
12226 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12227
5772caab
GM
12228 * cus-edit.el (Custom-newline): If no button at point, look
12229 for a subgroup button at start-of-line. (Bug#2298)
12230
ccb55d27
GM
12231 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12232
ec6ecaed
JD
122332011-03-10 Julien Danjou <julien@danjou.info>
12234
12235 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12236 `cursor-type' is nil.
12237
9d5aa01d
JB
122382011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
12239
12240 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12241
b6a5875b
KM
122422011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
12243
7a71b18d 12244 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
12245 preserves the existing header prefix, rebulleting it if necessary,
12246 rather than replacing it. This is necessary for proper operation
12247 of cooperative addons like allout-widgets.
1154d12e
JB
12248 (allout-make-topic-prefix, allout-rebullet-heading):
12249 Change SOLICIT arg to INSTEAD, and interpret additionally a string
12250 value as alternate bullet to be used, instead of prompting the user
12251 for a bullet character.
b6a5875b 12252
ee545c35
MA
122532011-03-09 Michael Albinus <michael.albinus@gmx.de>
12254
d86d2721
SM
12255 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12256 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
12257 `tramp-default-port'.
12258
c47971d7
DD
122592011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12260
12261 * net/rcirc.el (rcirc-handler-001): Remove useless
12262 with-rcirc-process-buffer.
12263 (rcirc-check-auth-status): Swap arguments to string-match.
12264
13522cb4
GM
122652011-03-09 Glenn Morris <rgm@gnu.org>
12266
0be6f4f1
GM
12267 * shell.el (shell-mode):
12268 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
12269
13522cb4
GM
12270 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12271 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
12272
515de2e3
CY
122732011-03-08 Chong Yidong <cyd@stupidchicken.com>
12274
12275 * emacs-lisp/package.el (package-refresh-contents)
12276 (package-menu-execute): Use condition-case-no-debug.
12277
b511b994
MA
122782011-03-08 Michael Albinus <michael.albinus@gmx.de>
12279
12280 * simple.el (shell-command-to-string): Use `process-file'.
12281
12282 * emacs-lisp/package.el (package-tar-file-info): Handle also
12283 remote files.
12284
d86d2721
SM
12285 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12286 Use `equal' for upload base check.
b511b994 12287
25bbfb31
AM
122882011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12289
12290 * textmodes/texinfo.el (texinfo-environments):
12291 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
12292
be996521
GM
122932011-03-08 Glenn Morris <rgm@gnu.org>
12294
e9c8529f
GM
12295 * cus-start.el (cursor-in-non-selected-windows):
12296 Fix :set quoting oddness. (Bug#8192)
12297
be996521
GM
12298 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12299 in some setf expressions. (Bug#2159)
12300
2bb5649e
CY
123012011-03-08 Chong Yidong <cyd@stupidchicken.com>
12302
12303 * custom.el (custom-available-themes): Return themes in
12304 alphabetical order.
12305
33383987 12306See ChangeLog.15 for earlier changes.
e3d51b27
MR
12307
12308;; Local Variables:
12309;; coding: utf-8
e3d51b27
MR
12310;; End:
12311
acaf905b 12312 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
12313
12314 This file is part of GNU Emacs.
12315
12316 GNU Emacs is free software: you can redistribute it and/or modify
12317 it under the terms of the GNU General Public License as published by
12318 the Free Software Foundation, either version 3 of the License, or
12319 (at your option) any later version.
12320
12321 GNU Emacs is distributed in the hope that it will be useful,
12322 but WITHOUT ANY WARRANTY; without even the implied warranty of
12323 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12324 GNU General Public License for more details.
12325
12326 You should have received a copy of the GNU General Public License
12327 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.