Add a forgotten lisp/org/ChangeLog entry.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
b30b64b9
EZ
12012-05-18 Eli Zaretskii <eliz@gnu.org>
2
3 * mail/sendmail.el (mail-yank-region): Recognize
4 rmail-yank-current-message in addition to insert-buffer. Fixes
5 mail-mode's "C-c C-r" that otherwise does nothing when invoked in
6 a *mail* buffer created through rmail-start-mail with sendmail as
7 mail-user-agent.
8
6d4a05e3
SM
92012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10
11 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
12 parens around the arg list (bug#11499). Silly backport.
13
4f32cc6c
CY
142012-05-16 Chong Yidong <cyd@gnu.org>
15
16 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
17
fcf2993f
CY
182012-05-15 Chong Yidong <cyd@gnu.org>
19
27d1f87a
CY
20 * help.el (describe-mode): Doc fix.
21
fcf2993f
CY
22 * net/gnutls.el (gnutls-min-prime-bits): Default to 256 (Bug#11267).
23
6cb820ba
CY
242012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
25
26 * progmodes/compile.el (compilation-internal-error-properties):
27 Calculate start position correctly when end-col is set but
28 end-line is not (Bug#11382).
29
d9d1dfef
SM
302012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
31
32 * net/rlogin.el (rlogin-mode-map): Fix last change.
33
8633b1f4
JW
342012-05-09 Jason L. Wright <jason.wright@inl.gov> (tiny change)
35
36 * mail/smtpmail.el (smtpmail-send-command): Send the command and
37 the following \r\n using a single `process-send-string', since the
38 Lotus SMTP server refuses to accept any commands if they are sent
39 with two `process-send-string's (bug#11444).
40
fe263b8f
SM
412012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
42
43 * shell.el (shell-parse-pcomplete-arguments): Obey
44 pcomplete-arg-quote-list inside double-quoted args as well (bug#11348).
45
1cb51c12
SM
462012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
47
48 * shell.el (shell-completion-vars): Fix last change (bug#11348).
49
18f00515
CY
502012-05-07 Chong Yidong <cyd@gnu.org>
51
52 * ansi-color.el (ansi-color-process-output): Check for validity of
53 comint-last-output-start before using it. This avoids a bad
54 interaction with gdb-mi's input/output buffer.
55
fd075e7b
GM
562012-05-06 Glenn Morris <rgm@gnu.org>
57
58 * files.el (dir-locals-read-from-file):
59 Mention dir-locals in any error message.
60
25f292cd
CY
612012-05-06 Chong Yidong <cyd@gnu.org>
62
63 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
64 package (Bug#11410).
65
f677562b
CY
662012-05-05 Chong Yidong <cyd@gnu.org>
67
68 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
69 variables into description.
70
3d53ee1b
SM
712012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
72
73 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
74 shell-delimiter-argument-list (bug#11348).
75 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
76
f16e5386
CY
772012-05-04 Chong Yidong <cyd@gnu.org>
78
79 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
80 Nextstep.
81
e59fb960
KH
822012-05-03 Kenichi Handa <handa@m17n.org>
83
84 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
85 decoding, and show a warning message without signalling an error
86 (Bug#11282).
87
91af76bf
EZ
882012-04-30 Eli Zaretskii <eliz@gnu.org>
89
90 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
91 the yanked message in preference to the default value of
92 buffer-file-coding-system.
93
d9558cad
MR
942012-04-30 Martin Rudalics <rudalics@gmx.at>
95
fe263b8f
SM
96 * window.el (display-buffer--action-function-custom-type):
97 Fix entry.
d9558cad 98
09affde0
AM
992012-04-27 Alan Mackenzie <acm@muc.de>
100
101 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
102
c5bb7569
CY
1032012-04-27 Chong Yidong <cyd@gnu.org>
104
105 * subr.el (read-key): Avoid running filter function when setting
106 up temporary tool bar entries (Bug#9922).
107
c4347ab9
AS
1082012-04-26 Andreas Schwab <schwab@linux-m68k.org>
109
110 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
111 (Bug#11344)
112
acb71f1d
CY
1132012-04-24 Chong Yidong <cyd@gnu.org>
114
115 * select.el (xselect--encode-string): New function, split from
116 xselect-convert-to-string.
117 (xselect-convert-to-string): Use it.
118 (xselect-convert-to-filename, xselect-convert-to-os)
119 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
120 returned strings are properly encoded (Bug#11315).
121
d55486c7
CY
1222012-04-22 Chong Yidong <cyd@gnu.org>
123
124 * simple.el (delete-active-region): Move to killing custom group.
125
581b6788
AS
1262012-04-21 Andreas Schwab <schwab@linux-m68k.org>
127
128 * progmodes/which-func.el (which-func-current): Quote %
129 characters for mode-line processing.
130
18edb22d
CY
1312012-04-21 Chong Yidong <cyd@gnu.org>
132
133 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
134 reaching eob (Bug#11286).
135
4b932ea2
PE
1362012-04-20 Richard Stallman <rms@gnu.org>
137
138 Fix logic for returning to and yanking from Rmail buffer.
139
140 * mail/rmail.el (rmail-start-mail):
141 Pass (rmail-mail-return...) for the return-action.
142 Pass (rmail-yank-current-message...) for the yank-action.
143 (rmail-yank-current-message): New function.
144 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
145 (rmail-reply): Likewise.
146 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
147
148 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
149 buffer, not the last. Reject temp buffers. Use the rmail-mode
150 buffer, not newbuf.
151
9ee9f470
EZ
1522012-04-20 Eli Zaretskii <eliz@gnu.org>
153
154 * progmodes/gdb-mi.el (gdb-control-level): New variable.
155 (gdb): Make it buffer-local and init to zero.
156 (gdb-control-commands-regexp): New variable.
157 (gdb-send): Don't wrap in "-interpreter-exec console" if
158 gdb-control-level is positive. Increment gdb-control-level
159 whenever the command matches gdb-control-commands-regexp, and
160 decrement it each time the command is "end". (Bug#11279)
161
41cfe0cb
MR
1622012-04-20 Martin Rudalics <rudalics@gmx.at>
163
164 * window.el (adjust-window-trailing-edge, enlarge-window)
165 (shrink-window, window-resize):
166 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
167 windows (Bug#11276).
168
54071013
DN
1692012-04-20 Dan Nicolaescu <dann@gnu.org>
170
171 * battery.el (battery-echo-area-format): Display remaining time
172 for sysfs backend too (Bug#11269).
173 (battery-linux-sysfs): Fix conditional for the charge.
174
f30d612a
CY
1752012-04-20 Chong Yidong <cyd@gnu.org>
176
177 * progmodes/gdb-mi.el (gdb): Revert 2012-04-19 change.
178 (gdb-inferior-io--init-proc): New function.
179 (gdb-init-1): Use it.
180 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
181 responsible for allocating a new pty and hooking it to gdb when
182 the old pty gets an EIO due to process exit.
183 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
184 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
185 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
186
2116e93c
EZ
1872012-04-20 Eli Zaretskii <eliz@gnu.org>
188
189 * window.el (window-min-size, window-sizable, window-min-delta)
190 (window-max-delta, window--resizable, window-resizable)
191 (window-total-size, window-full-height-p, window-full-width-p)
192 (window-in-direction, window--resize-mini-window, window-resize)
193 (window--resize-child-windows-normal)
194 (window--resize-child-windows, window--resize-siblings)
195 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 196 (enlarge-window, shrink-window): Doc fixes.
2116e93c 197
b668fa6e
CY
1982012-04-19 Chong Yidong <cyd@gnu.org>
199
fe263b8f
SM
200 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
201 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
202 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
203 pty process (Bug#11273).
204 (gdb-update): New arg to suppress talking to the gdb process.
205 (gdb-done-or-error): Use it.
206 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
207 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
208 sentinel not being called.
209
210 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
211
d02766ab
CY
2122012-04-18 Chong Yidong <cyd@gnu.org>
213
214 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
215
016a35df
GM
2162012-04-18 Glenn Morris <rgm@gnu.org>
217
218 * net/network-stream.el (open-network-stream): Doc fix.
219
2c070447
CY
2202012-04-17 Chong Yidong <cyd@gnu.org>
221
222 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
223
f0f6bc35
AM
2242012-04-16 Alan Mackenzie <acm@muc.de>
225
226 Ensure searching for keywords is case sensitive.
227
228 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
229 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
230 (c-defun-name, c-mark-function, c-cpp-define-name)
231 (c-comment-indent, c-scan-conditionals, c-indent-defun)
232 (c-context-line-break): bind case-fold-search to nil.
233
fe263b8f
SM
234 * progmodes/cc-mode.el (c-font-lock-fontify-region):
235 bind case-fold-search to nil.
f0f6bc35 236
4fc2c72a
CY
2372012-04-16 Chong Yidong <cyd@gnu.org>
238
239 * mail/sendmail.el (mail-bury): Call return action with the right
240 Rmail buffer (Bug#11242).
241
9a864fa2
CY
2422012-04-15 Chong Yidong <cyd@gnu.org>
243
244 * server.el (server-process-filter): Handle corner case where both
245 tty and nowait options are present (Bug#11102).
246
e153c136
GM
2472012-04-15 Glenn Morris <rgm@gnu.org>
248
249 * simple.el (process-file-side-effects): Doc fix.
250
ca7d96c8
GM
2512012-04-14 Glenn Morris <rgm@gnu.org>
252
253 * international/mule-cmds.el (set-language-environment): Doc fix.
254
9c2d6a4a
SM
2552012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
256
257 Avoid the use of ((lambda ...) ...) in lexical-binding code.
258 * emacs-lisp/easy-mmode.el (define-minor-mode):Use funcall (bug#11241).
259
9557e2be
CY
2602012-04-13 Kim F. Storm <storm@cua.dk>
261
262 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
263 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
264
81927dd2
CY
2652012-04-12 Chong Yidong <cyd@gnu.org>
266
267 * custom.el (custom-theme-set-variables): Doc fix.
268
8edb942b
GM
2692012-04-12 Glenn Morris <rgm@gnu.org>
270
271 * international/mule.el (set-auto-coding-for-load): Doc fix.
272
4517fe3a
SM
2732012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
274
275 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
276 Reported by Noah Friedman. Backport from trunk.
277
0de3da9f
AM
2782012-04-11 Alan Mackenzie <acm@muc.de>
279
4517fe3a
SM
280 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression):
281 Make imenu work again for Objective C Mode. Correct the *-index
282 values, these having been disturbed by a previous change in 2011-08.
57f845ee 283
0de3da9f
AM
284 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
285 Correct two search limits.
286
ede141ac
SM
2872012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
288
289 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
290
d0203d61
AS
2912012-04-10 Andreas Schwab <schwab@linux-m68k.org>
292
293 * international/characters.el: Fix sorting.
294
cb80bcd1
EZ
2952012-04-10 Eli Zaretskii <eliz@gnu.org>
296
297 * international/characters.el: Add more missing Latin case pairs.
298
0d93216c
AS
2992012-04-10 Andreas Schwab <schwab@linux-m68k.org>
300
301 * international/characters.el: Recover lost case pairs.
302
4a427f58
GM
3032012-04-10 Glenn Morris <rgm@gnu.org>
304
305 * files.el (dir-locals-set-class-variables): Doc fix.
306
9f847f41
EZ
3072012-04-09 Eli Zaretskii <eliz@gnu.org>
308
3f1b5bf8
EZ
309 * international/characters.el: Add set-case-syntax-pair call for
310 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
311 counterpart. (Bug#11209)
312
9f847f41
EZ
313 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
314
0c2014a3
GM
3152012-04-09 Glenn Morris <rgm@gnu.org>
316
317 * calendar/holidays.el (calendar-check-holidays): Doc fix.
318
e2627d21
EZ
3192012-04-08 Eli Zaretskii <eliz@gnu.org>
320
321 * textmodes/ispell.el (ispell-dictionary-base-alist): Add data for
322 Hebrew.
323
5c14e333
CY
3242012-04-08 Chong Yidong <cyd@gnu.org>
325
326 * net/rcirc.el (rcirc-cmd-quit): Revert 2012-03-18 change
327 (Bug#11192).
328
bf6fa423
GM
3292012-04-07 Glenn Morris <rgm@gnu.org>
330
331 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
332
82b24fb2
EZ
3332012-04-07 Eli Zaretskii <eliz@gnu.org>
334
4517fe3a
SM
335 * minibuffer.el (completion-in-region-mode-map):
336 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 337
f23d2c7d
LMI
3382012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
339
340 * window.el (shrink-window): Mention the `window-min-height'
341 variable in the doc string.
342
0a0a3573
BG
3432012-04-05 Bastien Guerry <bzg@altern.org>
344
345 * color.el (color-lighten-name): Fix typo.
346
e5248ac9
SM
3472012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
348
349 * server.el (server--on-display-p): New function.
350 (server--on-display-p): Use it.
351
b4243e22
GV
3522012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
353
354 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
355 (bug#11145).
356
305d9f44
SM
3572012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
358
359 * comint.el (comint--common-quoted-suffix): Check string boundary
360 before comparing (bug#11158).
361 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
362
3d439cd1
CY
3632012-04-04 Chong Yidong <cyd@gnu.org>
364
321cc491
CY
365 * minibuffer.el (completion-extra-properties): Doc fix.
366
3d439cd1
CY
367 * subr.el (delayed-warnings-hook): Doc fix.
368
2d562c0f
DU
3692012-04-04 Daiki Ueno <ueno@unixuser.org>
370
371 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
372 selection (Bug#11159).
373 (epa-insert-keys): Inform that the default public key will be
374 exported if no key is selected.
375
4443f204
RS
3762012-04-04 Richard Stallman <rms@gnu.org>
377
378 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
379
529c06b6
CY
3802012-04-03 Chong Yidong <cyd@gnu.org>
381
382 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
383 mail-insert-file, not its obsolete alias mail-attach-file.
384
66b907dc
MA
3852012-04-03 Michael Albinus <michael.albinus@gmx.de>
386
387 * notifications.el (notifications-notify): Fix docstring.
388
c0ea195d
GM
3892012-04-02 Glenn Morris <rgm@gnu.org>
390
391 * emacs-lisp/authors.el (authors-aliases): Another addition.
392
5ca64e00
MA
3932012-04-02 Michael Albinus <michael.albinus@gmx.de>
394
395 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
396 `tramp-compat-call-process' instead of `tramp-local-call-process'.
397 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
398
42ee526b
CY
3992012-04-01 Chong Yidong <cyd@gnu.org>
400
401 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
402 Handle root directory properly.
403 (copy-directory): Caller changed.
404
405 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
406 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
407
0b021094
GM
4082012-03-31 Glenn Morris <rgm@gnu.org>
409
40f86458
GM
410 * term/xterm.el (xterm-extra-capabilities): Doc fix.
411
7019c177
GM
412 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
413
a1daddd6
GM
414 * calendar/calendar.el (calendar-window-list)
415 (calendar-hide-window): Restore. (Bug#11140)
416 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
417
0b021094
GM
418 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
419
40311efc
TV
4202012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
421
422 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
423 Check if file is a symlink (Bug#10489).
424
425 * files.el (copy-directory): Likewise.
426
5319014e
CY
4272012-03-30 Chong Yidong <cyd@gnu.org>
428
429 * image.el (imagemagick-types-inhibit)
430 (imagemagick-register-types): Doc fix.
431
935d1290
AM
4322012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
433
434 * ispell.el (ispell-get-extended-character-mode): Disable
435 extended-char-mode for hunspell. hunspell does not support it and
436 treats ~word as ordinary words in pipe mode.
437
61c6e8fd
GM
4382012-03-30 Glenn Morris <rgm@gnu.org>
439
440 * tutorial.el (help-with-tutorial): Ensure local variables don't
441 happen to make the buffer read-only. (Bug#11127)
442
81fdff00
SM
4432012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
444
445 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
446 (perl-calculate-indent): Return `noindent' in strings.
447
6e7a6ec0
SS
4482012-03-28 Sam Steingold <sds@gnu.org>
449
450 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
451 instead of the broken adhockery which does not prevent calendar
452 buffers from being displayed at random after exit.
453 (calendar-window-list, calendar-hide-window): Remove the broken
454 adhockery.
455
fee88ca0
GM
4562012-03-28 Glenn Morris <rgm@gnu.org>
457
458 * replace.el (query-replace-map): Doc fix.
459
38de3354
AS
4602012-03-28 Andreas Schwab <schwab@linux-m68k.org>
461
462 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
463 contents. (Bug#11109)
464
b973155e
SM
4652012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
466
467 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
468 (bug#11077).
469 (avl-tree--check, avl-tree--check-node): New funs.
470
dcb6e7b3
MR
4712012-03-27 Martin Rudalics <rudalics@gmx.at>
472
473 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
474 (switch-to-prev-buffer, switch-to-next-buffer):
475 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
476 showing a buffer already is done on the same frame.
477
b4fa35fa
GM
4782012-03-27 Glenn Morris <rgm@gnu.org>
479
480 * startup.el (mail-host-address): Doc fix.
481
f9210e18
SM
4822012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
483
484 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
485 than 197 variables.
486
c0bf7753
AF
4872012-03-26 Ami Fischman <ami@fischman.org>
488
489 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
490
33da7b16
GM
4912012-03-26 Glenn Morris <rgm@gnu.org>
492
02243d9d
GM
493 * files.el (save-buffers-kill-emacs): Doc fix.
494
33da7b16
GM
495 * startup.el (normal-top-level, command-line, command-line-1):
496 Give them doc strings.
497
e5a69fd0
EZ
4982012-03-25 Eli Zaretskii <eliz@gnu.org>
499
500 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 501 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 502
9a69676a
CY
5032012-03-25 Chong Yidong <cyd@gnu.org>
504
4125cb8b
CY
505 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
506 theme if it was previously enabled before (Bug#11031).
507
dd470960
CY
508 * cus-theme.el (custom-theme-write-faces): Retrieve current face
509 spec with custom-face-get-current-spec if its :shown-value is not
510 determined yet (Bug#9337).
4125cb8b 511 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 512
9a69676a
CY
513 * button.el (button-at): Minor addition to docstring.
514
6e7e90fa
SL
5152012-03-24 Simon Leinen <simon.leinen@gmail.com>
516
517 * vc/vc.el (vc-merge): Fix a prompt.
518
f06e2758
CY
5192012-03-24 Chong Yidong <cyd@gnu.org>
520
521 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
522 point (Bug#9623).
523
6e7e90fa
SL
524 * button.el (button-at): Minor addition to docstring.
525
b9d0879b
SM
5262012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
527
528 * newcomment.el (comment-choose-indent): No space after BOL.
529
e71cebb3
SS
5302012-03-22 Sam Steingold <sds@gnu.org>
531
532 * window.el (switch-to-prev-buffer): Revert last patch because the
533 bug turned out to be an advertised feature (Elisp manual 28.14).
534
335aff35
GM
5352012-03-22 Glenn Morris <rgm@gnu.org>
536
537 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
538 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
539
c676576a
LMI
5402012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
541
542 * net/network-stream.el (network-stream-open-starttls): Make error
543 message under Windows be less misleading.
544
126f3d39
LW
5452012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
546
547 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
548 understands (bug#9942).
549
64fee311
CY
5502012-03-22 Chong Yidong <cyd@gnu.org>
551
552 * simple.el (end-of-visible-line): Handle return value of
553 next-single-property-change properly (Bug#9371).
554
a640d29a
KH
5552012-03-22 Kenichi Handa <handa@m17n.org>
556
557 * international/quail.el (quail-insert-kbd-layout): Fix previous
558 change. To avoid unwanted bidi reordering, use
559 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
560
39675016
DG
5612012-03-21 Dmitry Gutov <dgutov@yandex.ru>
562
563 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
564 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
565 (ruby-beginning-of-indent): Be more careful with the difference
566 between word-boundary and symbol boundary.
567 (ruby-mode-syntax-table): Make : a symbol constituent.
568
0a6934fc 5692012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 570
3d008e4f
SM
571 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
572
0a6934fc
SM
5732012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
574
af67c9d7
SM
575 * progmodes/etags.el (tags-completion-at-point-function):
576 Improve last fix.
577
1acad97c
SM
578 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
579
e298b5da
SS
5802012-03-21 Sam Steingold <sds@gnu.org>
581
582 * progmodes/etags.el (tags-completion-at-point-function):
583 Avoid the error when point is inside the pattern.
584
91d82a70
JY
5852012-03-21 John Yates <john@yates-sheets.org> (tiny change)
586
587 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
588 line (Bug#10855).
589
69188b79
CY
5902012-03-21 Drew Adams <drew.adams@oracle.com>
591
592 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
593
99fc91fe
AK
5942012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
595
596 * ido.el (ido-set-current-directory, ido-read-internal)
597 (ido-choose-completion-string, ido-completion-help): Handle nil
598 value of ido-completion-buffer (Bug#11008).
599
087bbb4c
SS
6002012-03-21 Sam Steingold <sds@gnu.org>
601
602 * window.el (switch-to-prev-buffer): Do not switch to a visible
603 window previous buffer, just like with the frame previous buffers.
604
fb5b8aca
CY
6052012-03-21 Chong Yidong <cyd@gnu.org>
606
607 * faces.el (make-face, make-empty-face, copy-face):
608 * face-remap.el (face-remap-add-relative, face-remap-set-base):
609 Doc fixes.
610
dc9924b8
SM
6112012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
612
613 * wid-edit.el (widget-complete-field): Remove (bug#11051).
614 (widget-complete): Remove broken use of it.
615
f0bcceb9
CY
6162012-03-20 Chong Yidong <cyd@gnu.org>
617
dc9924b8
SM
618 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
619 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
620 characters.
621
ee52ebf3
TH
6222012-03-20 Tassilo Horn <tassilo@member.fsf.org>
623
624 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
625 to draw rectangles, not squares. (Regression introduced by revno
626 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
627
4c5779ab
CY
6282012-03-18 Chong Yidong <cyd@gnu.org>
629
630 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
631 it is not yet defined (for temacs).
632
15360934
LL
6332012-03-18 Leo Liu <sdl.web@gmail.com>
634
dc9924b8 635 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 636
d9a8eb66
EZ
6372012-03-17 Eli Zaretskii <eliz@gnu.org>
638
639 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
640 (ispell-choices-win-default-height, ispell-silently-savep)
641 (ispell-dictionary-alist, ispell-encoding8-command)
642 (ispell-check-version, ispell-aspell-find-dictionary)
643 (ispell-valid-dictionary-list, ispell-words-keyword)
644 (ispell-get-word, ispell-internal-change-dictionary)
645 (ispell-region, ispell-skip-region-list)
646 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
647 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
648 (ispell-message-text-end, ispell-message)
649 (ispell-buffer-local-parsing): Doc fix.
650
f02ff80d
J
6512012-03-13 Jambunathan K <kjambunathan@gmail.com>
652
653 * htmlfontify.el: Add support for code block fontification for ODT
654 export (Bug #9914).
655 (hfy-optimisations): Define new option
656 `body-text-only'
657 (hfy-fontify-buffer): Honor above setting.
658 (hfy-begin-span, hfy-end-span): New routines factored out form
659 `hfy-fontify-buffer'.
660 (hfy-begin-span-handler, hfy-end-span-handler): New variables
661 that permit insertion of custom tags.
662 (hfy-fontify-buffer): Use above handlers.
663 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
664 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 665 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
f02ff80d
J
666 over multiple runs. This is made possible by having the caller let
667 bind a special variable `hfy-user-sheet-assoc'.
668 (htmlfontify-string): New defun.
669 (hfy-compile-face-map): Make sure that the last char in the
670 buffer is correctly fontified.
671 (hfy-face-resolve-face): Whitespace only change.
672
9ac7a13f
EZ
6732012-03-17 Eli Zaretskii <eliz@gnu.org>
674
675 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
676 message more clear.
677
e2b5bdd7
LL
6782012-03-16 Leo Liu <sdl.web@gmail.com>
679
680 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
681
2e492df3
AM
6822012-03-16 Alan Mackenzie <acm@muc.de>
683
684 Further optimise the handling of large macros.
685
686 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
687 limit to a call of `c-literal-limits'.
688 (c-determine-+ve-limit): New function.
dc9924b8
SM
689 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
690 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
691 In CASE 5B, restrict a search limit to 500.
692 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
693
694 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
695 Restrict macro bounds to +-500 from after-change's BEG END.
696
50e94f0c
LL
6972012-03-16 Leo Liu <sdl.web@gmail.com>
698
699 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
700
6f09f6ed
AH
7012012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
702
703 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 704 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 705
c7e73d51
GM
7062012-03-16 Glenn Morris <rgm@gnu.org>
707
da986230
GM
708 * view.el (view-buffer, view-buffer-other-window)
709 (view-buffer-other-frame): Doc fixes re special mode-class.
710
0835f01e
GM
711 * subr.el (eval-after-load): If named feature is provided not from
712 a file, run after-load forms. (Bug#10946)
713
c7e73d51
GM
714 * calendar/calendar.el (calendar-insert-at-column):
715 Handle non-unit-width characters a bit better. (Bug#10978)
716
3f2eafd1
CY
7172012-03-15 Chong Yidong <cyd@gnu.org>
718
719 * emacs-lisp/ring.el (ring-extend): New function.
720 (ring-insert+extend): Extend the ring correctly (Bug#11019).
721
722 * comint.el (comint-read-input-ring)
723 (comint-add-to-input-history): Grow comint-input-ring lazily.
724
103af3fe
SM
7252012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
726
663b1677
SM
727 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
728 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
729
103af3fe
SM
730 * imenu.el: Fix multiple inheritance breakage (bug#9199).
731 (imenu-add-to-menubar): Don't add a redundant index.
732 (imenu-update-menubar): Handle a dynamically composed keymap.
733
899cb7cb
KY
7342012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
735
736 * mail/sendmail.el (mail-encode-header):
737 Bind rfc2047-encode-encoded-words to nil.
738
3809f91d
GM
7392012-03-13 Glenn Morris <rgm@gnu.org>
740
741 * calendar/calendar.el (calendar-string-spread):
742 Handle non-unit-width characters a bit better. (Bug#10978)
743
9e345a01
LL
7442012-03-13 Leo Liu <sdl.web@gmail.com>
745
746 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
747 directory and file as argument (Bug#10822).
748
4a07df36
KS
7492012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
750
751 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
752 For dynamically generated code, follow $PC.
753 (gdb-disassembly-handler-custom): Handle no function name case.
754
4aaa9356
TL
7552012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
756
757 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
758 * emulation/ws-mode.el (ws-query-replace):
759 * sort.el (sort-regexp-fields):
760 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
761
225979da
SM
7622012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
763
764 * dabbrev.el: Fix cycle completion order (bug#10963).
765 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
766 (dabbrev-completion): Don't use an obarray; provide
767 a cycle-sort-function.
768
e2f1fdab
LL
7692012-03-12 Leo Liu <sdl.web@gmail.com>
770
dc9924b8 771 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
772 (kill-do-not-save-duplicates): Doc fix.
773
b19490ed
SM
7742012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
775
776 * dabbrev.el: Fix cycle completion (bug#10963).
777 Use lexical binding and wrap to 80 columns.
778 (dabbrev-completion): Delay computing the list of completions.
779
4b05d722
KH
7802012-03-12 Kenichi Handa <handa@m17n.org>
781
782 * international/quail.el (quail-insert-kbd-layout): Surround each
783 row by LRO and PDF instead of inserting many LRMs. Pad the left
784 and right of each non-spacing marks. Insert invisible space
785 between lower and upper characters to prevent composition.
786
dbbc2e69
SM
7872012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
788
789 * minibuffer.el (minibuffer-complete): Don't get confused when the
790 function is run twice via different commands (bug#10958).
791 (complete-with-action): Fix docstring.
792
292112ed
CY
7932012-03-12 Chong Yidong <cyd@gnu.org>
794
5d1ac394
CY
795 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
796 (nxml-completion-at-point-function): New function.
797 (nxml-mode): Use it.
798 (nxml-bind-meta-tab-to-complete-flag): Default to t.
799
292112ed
CY
800 * emacs-lisp/package.el (package-unpack, package-unpack-single):
801 Load generated autoloads file before byte compiling (Bug#10970).
802 (package--make-autoloads-and-compile): New helper fun.
803
4098f8f7
CS
8042012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
805
806 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
807
8f754691
MA
8082012-03-11 Michael Albinus <michael.albinus@gmx.de>
809
810 * autorevert.el (auto-revert-handler): Ensure, that
811 file-readable-p is applied only for local files or in
812 auto-revert-tail-mode.
813
e29ab36b
AS
8142012-03-11 Andreas Schwab <schwab@linux-m68k.org>
815
dbbc2e69
SM
816 * server.el (server-eval-at): Handle non-tcp connections.
817 Decode result string.
ad0bf5b6 818
e29ab36b
AS
819 * server.el (server-msg-size): New constant.
820 (server-reply-print): New function.
821 (server-eval-and-print): Use it.
822 (server-eval-at): Use server-quote-arg and server-unquote-arg.
823 Handle -print-nonl.
824
de5939ba
CS
8252012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
826
827 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
828 (Bug#10987).
829
0c93eabf
CY
8302012-03-11 Chong Yidong <cyd@gnu.org>
831
397a688f
CY
832 * simple.el (goto-line): Doc fix (Bug#9938).
833
2cc775f9
CY
834 * subr.el (save-window-excursion): Doc fix (Bug#9979).
835
0c93eabf
CY
836 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
837 when finished (Bug#10963).
838
c491fa41
MR
8392012-03-11 Martin Rudalics <rudalics@gmx.at>
840
841 * window.el (split-window-below): Fix bug in case where
842 split-window-keep-point is nil (Bug#10971).
843
300e8fa5
JL
8442012-03-11 Juri Linkov <juri@jurta.org>
845
846 * replace.el (replace-highlight): Set isearch-word to nil
847 unconditionally. (Bug#10887)
848
dbf6c5a1
EZ
8492012-03-10 Eli Zaretskii <eliz@gnu.org>
850
851 * net/mairix.el (mairix-replace-invalid-chars): Rename from
852 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 853 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
854 (mairix-widget-create-query): Add usage information about mairix
855 search forms: negating words, searching for substrings, etc.
856
b9e501de
JP
8572012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
858
859 * international/fontset.el (font-encoding-alist): Add an entry for
860 ksx1001 (Bug#5667).
861
92795c91
RS
8622012-03-10 Richard Stallman <rms@gnu.org>
863
1694e6c1
RS
864 * mail/sendmail.el (mail-encode-header):
865 Set rfc2047-encode-encoded-words.
866
607e8555
RS
867 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
868
de3bc99a
RS
869 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
870 view buffer means not swapped.
871 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
872 (rmail-write-region-annotate): Error if real text has disappeared.
873
92795c91
RS
874 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
875
699bd04e
CY
8762012-03-10 Chong Yidong <cyd@gnu.org>
877
878 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
879 * emulation/cua-base.el (cua--init-keymaps):
880 Add delete-forward-char to remappings (Bug#9666).
699bd04e 881
570a1714
MR
8822012-03-10 Martin Rudalics <rudalics@gmx.at>
883
dbbc2e69
SM
884 * speedbar.el (speedbar-unhighlight-one-tag-line):
885 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 886
82dcf4e4
CY
8872012-03-10 Chong Yidong <cyd@gnu.org>
888
7a2c7ca7
CY
889 * minibuffer.el (completion-in-region, completion-help-at-point):
890 Give the completion field overlay a high priority (Bug#6830).
891
82dcf4e4
CY
892 * dired.el (dired-goto-file): Recognize absolute file name
893 listings (Bug#7126).
894 (dired-goto-file-1): New helper function.
895 (dired-toggle-read-only): Inhibit warnings.
896
052e28ac
MA
8972012-03-09 Michael Albinus <michael.albinus@gmx.de>
898
899 * net/dbus.el: (dbus-property-handler): Return empty array if
900 there are no properties.
901
95d5e396
LL
9022012-03-09 Leo Liu <sdl.web@gmail.com>
903
904 * savehist.el (savehist-printable): Stricter check for string
905 value (Bug#10937).
906
3f018d6d
EZ
9072012-03-09 Eli Zaretskii <eliz@gnu.org>
908
dbbc2e69
SM
909 * mail/smtpmail.el (smtpmail-send-it):
910 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
911 valid mbox format.
912
f7fd3d79
GM
9132012-03-09 Glenn Morris <rgm@gnu.org>
914
915 * files.el (dir-locals-find-file):
916 Don't check result is regular, readable.
917 (dir-locals-read-from-file): Demote errors.
918
6ff6e72f
EZ
9192012-03-08 Eli Zaretskii <eliz@gnu.org>
920
dbbc2e69
SM
921 * international/quail.el (quail-insert-kbd-layout):
922 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
923 layout cell, to prevent their reordering by bidi display engine.
924 For details, see the discussion in
925 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
926
9cec7834
AM
9272012-03-08 Alan Mackenzie <acm@muc.de>
928
929 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
930 the starting position; make it extend the marked region when
931 invoked repeatedly - all under appropriate circumstances.
932 Fixes bugs #5525, #10906.
933
9a40b8d4
GM
9342012-03-08 Glenn Morris <rgm@gnu.org>
935
936 * files.el (locate-dominating-file, dir-locals-find-file):
937 Undo 2012-03-06 change.
938
7a08ed35
EZ
9392012-03-07 Eli Zaretskii <eliz@gnu.org>
940
dbbc2e69
SM
941 * international/quail.el (quail-help):
942 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
943 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
944 for the reason.
945
5aca4f71 9462012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
947
948 Avoid superfluous registering of signals. (Bug#10807)
949
950 * notifications.el (notifications-on-action-object)
951 (notifications-on-close-object): New defvars.
952 (notifications-on-action-signal, notifications-on-closed-signal):
953 Unregister the signal if not needed any longer.
954 (notifications-notify): Register `notifications-action-signal' or
955 `notifications-closed-signal', if :on-action or :on-close has been
956 passed as argument.
957
78e8b10a
CY
9582012-03-07 Chong Yidong <cyd@gnu.org>
959
960 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
961 non-X platforms.
962
69481eb8
GM
9632012-03-06 Glenn Morris <rgm@gnu.org>
964
965 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
966 (x-disown-selection-internal, x-get-selection-internal):
967 Doc fix (add arglist signatures). (Bug#10783)
968
133b8e11
KS
9692012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
970
971 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
972 Handle breakpoints with no "type".
973
99a83064
GM
9742012-03-06 Glenn Morris <rgm@gnu.org>
975
976 * files.el (locate-dominating-file): Add optional predicate argument.
977 (dir-locals-find-file): Make use of above change.
978
17798e78
TTN
9792012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
980
981 * info.el (Info-insert-dir): Also try "dir.gz".
982
eb182446
GM
9832012-03-06 Glenn Morris <rgm@gnu.org>
984
8f2114ee
GM
985 * files.el (dir-locals-find-file):
986 Ignore non-readable or non-regular files. (Bug#10928)
987
eb182446
GM
988 * files.el (locate-dominating-file): Doc fix.
989
24679323
AS
9902012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
991
992 * calendar/calendar.el (calendar-set-mode-line):
993 `getenv' returns a string. (Bug#10951)
994
01d972a9
LL
9952012-03-05 Leo Liu <sdl.web@gmail.com>
996
109aa8a9
LL
997 * simple.el (backward-delete-char-untabify): Constrain point to
998 field (Bug#10939).
999
01d972a9
LL
1000 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1001
10607bea
CY
10022012-03-05 Chong Yidong <cyd@gnu.org>
1003
1004 * simple.el (count-words): If called from Lisp, return the word
1005 count, for symmetry with `count-lines'. Arglist changed.
1006 (count-words--message): Args changed. Consolidate counting code
1007 from count-words and count-words-region.
1008 (count-words-region): Caller changed.
1009 (count-lines-region): Make it an obsolete alias.
1010
5dd11cfe
TH
10112012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1012
1013 * saveplace.el (save-place-to-alist)
1014 (save-place-ignore-files-regexp): Allow value nil to disable this
1015 feature.
1016
c349f4e6
CY
10172012-03-04 Chong Yidong <cyd@gnu.org>
1018
1019 * faces.el (face-spec-reset-face): For the default face, reset the
1020 attributes to default values (Bug#10748).
1021
e627be4c
LMI
10222012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1023
1024 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1025 previous patch: Check `message-send-mail-function', and not the
1026 default function (bug#10897).
1027
ebeabff4
MA
10282012-03-04 Michael Albinus <michael.albinus@gmx.de>
1029
a41a6cf4
MA
1030 * notifications.el (notifications-on-action-signal)
1031 (notifications-on-closed-signal): Check for unique service name of
1032 incoming event. Fix error in removing entry.
ebeabff4 1033 (top): Register for signals with wildcard service name.
a41a6cf4 1034 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 1035
c1ca42b4
CY
10362012-03-04 Chong Yidong <cyd@gnu.org>
1037
dc9924b8 1038 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 1039
ea16568d
GM
10402012-03-04 Glenn Morris <rgm@gnu.org>
1041
1042 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1043 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1044 (expand-abbrev, define-abbrev-table): Doc fixes.
1045
fbae4637
LMI
10462012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1047
1048 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1049 `message-default-send-mail-function' and not `send-mail-function'
1050 when doing the prompting for `sendmail-query-once' before sending
1051 in Message buffers (bug#10897).
1052
a1e7225c
LMI
1053 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1054 This is inconsistent with all the other stream functions, which leave
1055 the setting up to the higher levels (if so wanted) (bug#10931).
1056
56d093a9
AM
10572012-03-02 Alan Mackenzie <acm@muc.de>
1058
1059 Depessimize the handling of very large macros.
1060
1061 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1062 (c-macro-cache-syntactic): New variables to implement a one
1063 element macro cache.
1064 (c-invalidate-macro-cache): New function.
1065 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1066 Adapt to use the new cache.
1067 (c-state-safe-place): Use better the cache of safe positions.
1068 (c-state-semi-nonlit-pos-cache)
1069 (c-state-semi-nonlit-pos-cache-limit):
1070 New variables for...
1071 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1072 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
1073 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1074 Use c-state-semi-safe-place.
56d093a9 1075
dbbc2e69
SM
1076 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1077 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 1078
817e5c3d
MA
10792012-03-02 Michael Albinus <michael.albinus@gmx.de>
1080
dbbc2e69
SM
1081 * jka-compr.el (jka-compr-call-process):
1082 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
1083 not remote.
1084
a032a702
MA
10852012-03-01 Michael Albinus <michael.albinus@gmx.de>
1086
1087 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1088 access of FILE2, if FILE1 does not exist.
1089
99a54f21
MA
1090 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1091 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1092
1093 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1094 Add "PAGER=" to `process-environment'.
1095
f6561e1f
MM
10962012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1097
1098 * progmodes/sql.el: Bug fix
1099 (sql-get-login-ext): Save login values in globals.
1100 (sql-get-login): Use new version of `sql-get-login-ext'.
1101 (sql-interactive-mode): Set global `sql-connection' to nil.
1102 (sql-connect): Set global values for connection.
1103 (sql-product-interactive): Save global values as buffer local.
1104
2d44d9cc
LL
11052012-02-29 Leo Liu <sdl.web@gmail.com>
1106
1107 * abbrev.el (define-abbrevs): Reset sys to nil.
1108
96b49301 11092012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1110
bf7f9bc5
JB
1111 * files.el (file-equal-p): Rename from `files-equal-p'.
1112 Return nil when one or both files don't exist.
96b49301 1113 (file-subdir-of-p): Now only top directory must exists,
1114 return nil if it doesn't.
bf7f9bc5
JB
1115 (copy-directory): No need to test with `file-subdir-of-p' after
1116 creating dir.
1117 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1118 to `file-equal-p'.
96b49301 1119
44e97401
GM
11202012-02-28 Glenn Morris <rgm@gnu.org>
1121
1122 * shell.el (shell-mode):
1123 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1124 * play/landmark.el (landmark-font-lock-face-O):
1125 * play/handwrite.el (handwrite):
1126 * play/gomoku.el (gomoku-O):
1127 * net/browse-url.el (browse-url-browser-display):
1128 * international/mule.el (define-charset):
1129 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1130 * filesets.el (filesets-find-file-delay):
1131 * eshell/em-xtra.el (eshell-xtra):
1132 * eshell/em-unix.el (eshell-grep):
1133 * emulation/viper.el (viper-mode):
1134 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1135 * emacs-lisp/easymenu.el (easy-menu-define):
1136 * calendar/timeclock.el (timeclock-use-display-time):
1137 * bs.el (bs-mode):
1138 * bookmark.el (bookmark-save-flag):
1139 Doc fix (standardize possessive apostrophe usage).
1140
c98c6276
CY
11412012-02-27 Chong Yidong <cyd@gnu.org>
1142
bf7f9bc5
JB
1143 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1144 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 1145
c98c6276
CY
1146 * font-lock.el (font-lock-specified-p): Rename from
1147 font-lock-spec-present. Callers changed.
1148
9c62cd04 11492012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 1150
bf7f9bc5
JB
1151 * emacs-lisp/package.el (package-compute-transaction):
1152 Handle holding a package version to t in package-load-list.
8ac9e529 1153
530739c9
MA
11542012-02-26 Michael Albinus <michael.albinus@gmx.de>
1155
1156 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1157 (tramp-get-inode, tramp-get-device): Use cached values.
1158
487915d7
AM
11592012-02-26 Alan Mackenzie <acm@muc.de>
1160
1161 Check there is a font-lock specification before doing initial
1162 fontification.
1163
1164 * font-core.el (font-lock-mode): Move the conditional from
1165 :after-hook to font-lock-initial-fontify.
1166 (font-lock-default-function): Move the check for a specification
1167 to font-lock-spec-present.
1168
dc9924b8 1169 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
1170 (font-lock-spec-present): New function.
1171
4fd96557
JB
11722012-02-26 Jim Blandy <jimb@red-bean.com>
1173
1174 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1175 (gdb-send): Apply it to the operand of the '-interpreter-exec
1176 console' command, so that we can pass arguments with (say) quotes
1177 in them. Store exact string sent in gdb-debug-log (Bug#10765).
1178
9a4888c0
CY
11792012-02-26 Chong Yidong <cyd@gnu.org>
1180
07498861
CY
1181 * help-fns.el (describe-function-1): Clarify description of
1182 remapping (Bug#10844).
1183
9a4888c0
CY
1184 * files.el (files-equal-p): Doc fix.
1185 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
1186 and quit the loop once a mismatch is found.
1187
ea8fb88d
JB
11882012-02-25 Juanma Barranquero <lekktu@gmail.com>
1189
1190 * bs.el (bs--show-with-configuration): Don't throw an error
1191 if the window cannot be split; otherwise, subsequent calls to
1192 bs-show fail, restoring a stale window config. (Bug#10882)
1193
525795c1
JD
11942012-02-25 Jan Djärv <jan.h.d@swipnet.se>
1195
1196 * term/ns-win.el (global-map): Bind ns-drag-file to
1197 ns-find-file (Bug#5855, Bug#10050).
1198
f008086f
AS
11992012-02-25 Andreas Schwab <schwab@linux-m68k.org>
1200
1201 * calendar/parse-time.el (parse-time-string): Allow extractor to
1202 return nil.
1203
a3fcfa99
MA
12042012-02-25 Michael Albinus <michael.albinus@gmx.de>
1205
91027d08
JB
1206 * net/tramp.el (tramp-file-name-for-operation):
1207 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
1208
1209 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
1210 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1211 Add COPY-CONTENTS argument.
a3fcfa99 1212
67b0de11
CY
12132012-02-25 Chong Yidong <cyd@gnu.org>
1214
1215 Add custom groups for VC backends, for consistency with vc-bzr.
1216
1217 * vc/vc-arch.el (vc-arch):
1218 * vc/vc-cvs.el (vc-cvs):
1219 * vc/vc-git.el (vc-git):
1220 * vc/vc-hg.el (vc-hg):
1221 * vc/vc-mtn.el (vc-mtn):
1222 * vc/vc-rcs.el (vc-rcs):
1223 * vc/vc-sccs.el (vc-sccs):
1224 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1225 All relevant defcustoms reassigned.
1226
3c9dfce6
CY
12272012-02-25 Chong Yidong <cyd@gnu.org>
1228
1339bf43
CY
1229 * newcomment.el (comment-styles): Add autoload (Bug#10868).
1230
3c9dfce6
CY
1231 * term/x-win.el (x-initialize-window-system): Reduce default for
1232 x-selection-timeout to 5 seconds (Bug#8869).
1233
53a46cd0 12342012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 1235
53a46cd0 1236 * files.el (file-subdir-of-p): Fix typo.
14a8a663 1237
25b2e303 12382012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1239
ec70a47d
GM
1240 * files.el (files-equal-p, file-subdir-of-p): New functions.
1241 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 1242 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
1243 * dired-aux.el (dired-copy-file-recursive): Same.
1244 (dired-create-files): Modify destination when source is equal to
1245 dest when copying files.
53a46cd0 1246 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 1247
914260cd
MA
12482012-02-24 Michael Albinus <michael.albinus@gmx.de>
1249
1250 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1251 (Bug#10874)
1252
2cb228f7
AM
12532012-02-23 Alan Mackenzie <acm@muc.de>
1254
1255 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1256 parameter "after-hook:" to allow the expansion to run code after
1257 the execution of the mode hooks.
1258
1259 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 1260 from font-lock-mode-internal.
2cb228f7 1261
91027d08 1262 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
1263 :after-hook.
1264
8f0fde21
SM
12652012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1266
3e88618b
SM
1267 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1268 (completion--cache-all-sorted-completions): New function.
1269 (completion-all-sorted-completions): Use it.
1270 (completion--do-completion, minibuffer-force-complete):
1271 Use it to re-instate the flush hook.
1272
8f0fde21
SM
1273 * icomplete.el (icomplete-completions): Replace last fix with a better
1274 one (bug#10850).
1275
8e911f6f
DG
12762012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1277
1278 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1279 when it might call us back infinitely (bug#10797).
1280
49fe4321
GM
12812012-02-23 Glenn Morris <rgm@gnu.org>
1282
1283 * minibuffer.el (completion-category-overrides): Doc fix.
1284
b291b572
SM
12852012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1286
1287 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1288 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1289
31a9ef2e
GM
12902012-02-23 Glenn Morris <rgm@gnu.org>
1291
5e6e6794 1292 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
1293 (authors-obsolete-files-regexps, authors-ignored-files)
1294 (authors-ambiguous-files, authors-renamed-files-alist):
1295 Add more entries.
1296
0bd1e074
JL
12972012-02-23 Juri Linkov <juri@jurta.org>
1298
1299 * isearch.el (isearch-occur): Sync interactive spec with occur's
1300 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1301
b617673c
JL
1302 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1303
19e9789e
JL
13042012-02-22 Juri Linkov <juri@jurta.org>
1305
1306 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1307 (ucs-insert): Doc fix. Check for hex digits in the string.
1308 Don't display `nil' in the error message. (Bug#10857)
1309
f41ce09d
AM
13102012-02-22 Alan Mackenzie <acm@muc.de>
1311
7a71b18d 1312 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 1313
ac2eceee
GM
13142012-02-22 Glenn Morris <rgm@gnu.org>
1315
1316 * ffap.el (ffap-c-path):
1317 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1318
abd1f678
CY
13192012-02-22 Chong Yidong <cyd@gnu.org>
1320
1321 * custom.el (load-theme): Doc fix.
1322
f25aef2e
GM
13232012-02-22 Glenn Morris <rgm@gnu.org>
1324
1325 * dired-x.el (dired-guess-shell-alist-default):
1326 Remove escape sequences from nroff output. (Bug#172)
1327
5f8dc2ca
GM
13282012-02-21 Glenn Morris <rgm@gnu.org>
1329
6ff86ec4
GM
1330 * vc/emerge.el (emerge-defvar-local):
1331 Set `permanent-local' property rather than unused `preserved'.
1332
be3223a3 1333 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
1334 (picture-mode-map): Use it. (Bug#10860)
1335 (picture-mode): Doc fix.
1336
3fe58f4f
JB
13372012-02-21 Juanma Barranquero <lekktu@gmail.com>
1338
1339 * newcomment.el (uncomment-region-default): Remove unused binding.
1340
f9a998c3
GM
13412012-02-21 Glenn Morris <rgm@gnu.org>
1342
1343 * textmodes/picture.el (picture-motion, picture-motion-reverse)
1344 (picture-self-insert, picture-tab-chars): Doc fix.
1345 (picture-mode-map): Fix C-a, C-e.
1346
c6029348
GM
13472012-02-20 Glenn Morris <rgm@gnu.org>
1348
1349 * emacs-lisp/authors.el (authors-aliases): Add another entry.
1350
ab1ce9d7
LL
13512012-02-20 Leo Liu <sdl.web@gmail.com>
1352
1353 * icomplete.el (icomplete-completions): Check FROM arg before
1354 passing to substring (Bug#10850).
1355
0fd40f89
CY
13562012-02-19 Chong Yidong <cyd@gnu.org>
1357
1358 * comint.el: Require ansi-color.
1359 (comint-output-filter-functions): Add ansi-color-process-output.
1360
1361 * ansi-color.el: Don't set comint-output-filter-functions; it is
1362 now in the initial value defined in comint.el.
1363 (ansi-color-apply-face-function): New variable.
1364 (ansi-color-apply-on-region): Use it.
1365 (ansi-color-apply-overlay-face): New function.
1366
1367 * shell.el (shell): No need to require ansi-color.
1368 (shell-mode): Use ansi-color-apply-face-function to highlight
1369 color escapes using font-lock-face property (Bug#10835).
1370
20af2394
CY
13712012-02-19 Chong Yidong <cyd@gnu.org>
1372
1373 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1374 mode-line formats (Bug#10839).
1375
e23a3fbe
GM
13762012-02-18 Glenn Morris <rgm@gnu.org>
1377
b474519e
GM
1378 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1379
1380 * mail/undigest.el (unforward-rmail-message): Doc fix.
1381
e23a3fbe
GM
1382 * saveplace.el (save-place-ignore-files-regexp): Add :version.
1383
57939ff4
EZ
13842012-02-18 Eli Zaretskii <eliz@gnu.org>
1385
1386 * international/characters.el (script-list): Sync with the latest
1387 Unicode Character Database.
1388
0c23686e
AS
13892012-02-18 Andreas Schwab <schwab@linux-m68k.org>
1390
1391 * international/titdic-cnv.el: Remove duplicate coding tag.
1392 * language/cham.el: Likewise.
1393 * language/tai-viet.el: Likewise.
1394
6818b449
GM
13952012-02-18 Glenn Morris <rgm@gnu.org>
1396
1397 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1398 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1399 (calendar-bahai-all-holidays-flag, calendar-other-dates):
1400 * calendar/diary-lib.el (diary-abbreviated-year-flag):
1401 * calendar/holidays.el (holiday-bahai-holidays)
1402 (calendar-holidays, list-holidays):
1403 Use utf-8 Bahá'í in doc-strings, menus, etc.
1404
0311a3fc
TH
14052012-02-17 Tassilo Horn <tassilo@member.fsf.org>
1406
1407 * saveplace.el (save-place-ignore-files-regexp): New variable
1408 allowing for excluding files from saving their location of point.
1409 The default value matches the temporary commit message editing
1410 files from Git, SVN, Bazaar, and Mercurial.
1411 (save-place-to-alist): Use it.
1412
eb864a71
LM
14132012-02-17 Lawrence Mitchell <wence@gmx.li>
1414 Stefan Monnier <monnier@iro.umontreal.ca>
1415
1416 * newcomment.el (uncomment-region-default): Don't leave extra space
1417 when an arg is provided (bug#8150).
1418
ee0ce425
TZ
14192012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1420
eb864a71 1421 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 1422
95ddf442
GM
14232012-02-17 Glenn Morris <rgm@gnu.org>
1424
1425 * net/socks.el: Require network-stream. (Bug#10599)
1426
48dd1e39 14272012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
1428
1429 * international/charprop.el:
1430 * international/uni-name.el:
1431 * international/uni-old-name.el:
1432 * international/uni-comment.el: Regenerate.
1433
d68cd087
GM
14342012-02-16 Glenn Morris <rgm@gnu.org>
1435
1436 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1437 Interactively in calendar buffer, give an error if not on a date.
1438
13932042
GM
14392012-02-15 Glenn Morris <rgm@gnu.org>
1440
1441 * shell.el (shell-delimiter-argument-list):
1442 Revert 2011-02-17 change. (Bug#8027)
1443
c3a70e2b
CY
14442012-02-15 Chong Yidong <cyd@gnu.org>
1445
60236b0d
CY
1446 * minibuffer.el (completion-at-point-functions): Doc fix.
1447
c3a70e2b
CY
1448 * custom.el (defcustom): Doc fix; note use of defvar.
1449
9f26dc24
GM
14502012-02-15 Glenn Morris <rgm@gnu.org>
1451
1452 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1453 Doc fixes.
1454
6546b134
GM
14552012-02-14 Glenn Morris <rgm@gnu.org>
1456
1457 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1458
d29b2b4c
LI
14592012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
1460
1461 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1462 way the ports list is computed.
835bdcba
LI
1463 (smtpmail-query-smtp-server): Prompt the user for a port number if
1464 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 1465
08dcdbc9
TZ
14662012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
1467
1468 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1469
2605051a
GM
14702012-02-13 Glenn Morris <rgm@gnu.org>
1471
1472 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
1473
7ee99f32
TZ
14742012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1475
1476 * net/gnutls.el (gnutls-trustfiles): New variable.
1477 (gnutls-negotiate): Use it.
1478
5f0af64f
LI
14792012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1480
1481 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1482 does its stuff if Gnus is running.
1483
c14fcc95
AM
14842012-02-13 Alan Mackenzie <acm@muc.de>
1485
1486 Fix a loop in c-set-fl-decl-start.
1487
7a71b18d 1488 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
1489 c-backward-syntactic-ws actually moves backwards.
1490
142b4d90
LL
14912012-02-13 Leo Liu <sdl.web@gmail.com>
1492
1493 * net/rcirc.el (rcirc-markup-attributes): Move point to the
1494 beginning so that all \C-o chars are removed.
1495
fa9958a6
TZ
14962012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1497
dc9924b8 1498 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 1499
0bc5886a
AM
15002012-02-12 Alan Mackenzie <acm@muc.de>
1501
1502 Fix infinite loop with long macros.
1503 * cc-engine.el (c-state-safe-place): Handle macros properly.
1504
d4bd55e7
CY
15052012-02-12 Chong Yidong <cyd@gnu.org>
1506
1507 * window.el (display-buffer): Doc fix (Bug#10785).
1508
66f3fe22
GM
15092012-02-12 Glenn Morris <rgm@gnu.org>
1510
bd7da63e
GM
1511 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1512 (x-disown-selection-internal, x-get-selection-internal):
1513 Sync docs with the xselect.c versions.
1514
66f3fe22
GM
1515 * allout-widgets.el: Add missing license notice.
1516
3e0d2fa7
GM
15172012-02-11 Glenn Morris <rgm@gnu.org>
1518
cfecdf09
GM
1519 * select.el (x-get-selection-internal, x-own-selection-internal)
1520 (x-disown-selection-internal):
1521 * x-dnd.el (x-get-selection-internal): Update declarations.
1522
6d216d7f
GM
1523 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1524
2bed3f04
GM
1525 * window.el (window-sides-slots):
1526 * tool-bar.el (tool-bar-position):
1527 * term/xterm.el (xterm-extra-capabilities):
1528 * ses.el (ses-self-reference-early-detection):
1529 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1530 (verilog-auto-wire-type)
1531 (verilog-auto-delete-trailing-whitespace)
1532 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1533 (verilog-auto-tieoff-declaration):
1534 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1535 (sql-oracle-statement-starters, sql-oracle-scan-on):
1536 * progmodes/prolog.el (prolog-align-comments-flag)
1537 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1538 (prolog-left-indent-regexp, prolog-paren-indent-p)
1539 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1540 (prolog-types, prolog-mode-specificators)
1541 (prolog-determinism-specificators, prolog-directives)
1542 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1543 (prolog-electric-dot-flag)
1544 (prolog-electric-dot-full-predicate-template)
1545 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1546 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1547 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1548 (prolog-program-switches, prolog-prompt-regexp)
1549 (prolog-debug-on-string, prolog-debug-off-string)
1550 (prolog-trace-on-string, prolog-trace-off-string)
1551 (prolog-zip-on-string, prolog-zip-off-string)
1552 (prolog-use-standard-consult-compile-method-flag)
1553 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1554 (prolog-imenu-max-lines, prolog-info-predicate-index)
1555 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1556 (prolog-char-quote-workaround):
1557 * progmodes/cc-vars.el (c-defun-tactic):
1558 * net/tramp.el (tramp-encoding-command-interactive)
1559 (tramp-local-end-of-line):
1560 * net/soap-client.el (soap-client):
1561 * net/netrc.el (netrc-file):
1562 * net/gnutls.el (gnutls):
1563 * minibuffer.el (completion-category-overrides)
1564 (completion-cycle-threshold)
1565 (completion-pcm-complete-word-inserts-delimiters):
1566 * man.el (Man-name-local-regexp):
1567 * mail/feedmail.el (feedmail-display-full-frame):
1568 * international/characters.el (glyphless-char-display-control):
1569 * eshell/em-ls.el (eshell-ls-date-format):
1570 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1571 (lisp-lambda-list-keyword-parameter-indentation)
1572 (lisp-lambda-list-keyword-parameter-alignment):
1573 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1574 * dired-x.el (dired-omit-verbose):
1575 * cus-theme.el (custom-theme-allow-multiple-selections):
1576 * calc/calc.el (calc-highlight-selections-with-faces)
1577 (calc-lu-field-reference, calc-lu-power-reference)
1578 (calc-note-threshold):
1579 * battery.el (battery-mode-line-limit):
1580 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1581 (archive-7z-update):
1582 * allout.el (allout-prefixed-keybindings)
1583 (allout-unprefixed-keybindings)
1584 (allout-inhibit-auto-fill-on-headline)
1585 (allout-flattened-numbering-abbreviation):
1586 * allout-widgets.el (allout-widgets-auto-activation)
1587 (allout-widgets-icons-dark-subdir)
1588 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1589 (allout-widgets-theme-dark-background)
1590 (allout-widgets-theme-light-background)
1591 (allout-widgets-item-image-properties-emacs)
1592 (allout-widgets-item-image-properties-xemacs)
1593 (allout-widgets-run-unit-tests-on-load)
1594 (allout-widgets-time-decoration-activity)
1595 (allout-widgets-hook-error-post-time)
1596 (allout-widgets-track-decoration):
1597 Add missing :version tags to new defcustoms and defgroups.
1598
5fec1b8e
GM
1599 * progmodes/sql.el (sql-ansi-statement-starters)
1600 (sql-oracle-statement-starters): Add custom type.
1601
3e0d2fa7
GM
1602 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1603 (prolog-system-version): Give it a type.
1604
90b671e2
EZ
16052012-02-11 Eli Zaretskii <eliz@gnu.org>
1606
1607 * term/pc-win.el (x-select-text, x-selection-owner-p)
1608 (x-own-selection-internal, x-disown-selection-internal)
1609 (x-get-selection-internal): Sync doc strings and argument lists
1610 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1611
5eac0c02
LL
16122012-02-11 Leo Liu <sdl.web@gmail.com>
1613
1614 * progmodes/python.el (python-end-of-statement): Fix infinite
1615 loop. (Bug#10788)
1616
f82cb659
GM
16172012-02-10 Glenn Morris <rgm@gnu.org>
1618
1619 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1620 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1621
cc26d239
LI
16222012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1623
1624 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1625 about SMTP before checking the From header.
1626
91027d08 1627 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
1628 into own function for reuse by emacsbug.el.
1629
1be3ca5a
LL
16302012-02-10 Leo Liu <sdl.web@gmail.com>
1631
1632 * subr.el (condition-case-unless-debug): Rename from
1633 condition-case-no-debug. All callers changed.
1634 (with-demoted-errors): Fix caller.
1635
1636 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1637 * nxml/rng-valid.el (rng-do-some-validation):
1638 * emacs-lisp/package.el (package-refresh-contents)
1639 (package-menu-execute):
1640 * desktop.el (desktop-create-buffer):
91027d08 1641 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 1642
b011fbfe
GM
16432012-02-10 Glenn Morris <rgm@gnu.org>
1644
b2096d72
GM
1645 * textmodes/bibtex.el:
1646 Add missing :version tags for new/changed defcustoms.
1647
b011fbfe
GM
1648 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1649
4c7e65bf
LI
16502012-02-09 Lars Ingebrigtsen <larsi@rusty>
1651
1652 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1653 (smtpmail-via-smtp): Use it, or fall back on the From address.
1654 (smtpmail-send-it): Ditto.
1655
f3934f6f
SM
16562012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1657
1658 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1659 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1660 (byte-compile-tmp-var): New const.
1661 (byte-compile-defvar): Use it to minimize .elc size.
1662 Just use `defvar' rather than simulate it (bug#10761).
1663
a075a2c5
GM
16642012-02-09 Glenn Morris <rgm@gnu.org>
1665
cf3aa21b
GM
1666 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1667
354998cd
GM
1668 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1669 Add :version tags.
1670
dc9924b8
SM
1671 * progmodes/compile.el (compilation-error-screen-columns)
1672 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 1673
dab3703d
GM
1674 * vc/log-view.el (log-view-toggle-entry-display):
1675 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1676
3f88cd72
GM
1677 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1678 (report-emacs-bug-can-use-xdg-email):
1679 (report-emacs-bug-insert-to-mailer): Doc fixes.
1680 (report-emacs-bug): Message fix.
1681
d95b247d
GM
1682 * net/browse-url.el (browse-url-can-use-xdg-open)
1683 (browse-url-xdg-open): Doc fixes.
1684
a075a2c5
GM
1685 * electric.el (electric-indent-mode, electric-pair-mode)
1686 (electric-layout-rules, electric-layout-mode): Doc fixes.
1687 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1688
ffb6157e
MR
16892012-02-08 Martin Rudalics <rudalics@gmx.at>
1690
1691 * server.el (server-unselect-display): Don't inadvertently kill
1692 the current buffer. (Bug#10729)
1693
e1ac4066
GM
16942012-02-08 Glenn Morris <rgm@gnu.org>
1695
34e8a2da
GM
1696 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1697 (sql-list-table): Doc fixes.
1698
b4ac6e8c
GM
1699 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1700 Comment out (does nothing).
1701
e1ac4066
GM
1702 * completion.el (dynamic-completion-mode):
1703 * dirtrack.el (dirtrack-debug-mode):
1704 * electric.el (electric-layout-mode):
1705 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1706 * face-remap.el (text-scale-mode, buffer-face-mode):
1707 * iimage.el (iimage-mode):
1708 * image-mode.el (image-transform-mode):
1709 * minibuffer.el (completion-in-region-mode):
1710 * scroll-lock.el (scroll-lock-mode):
1711 * simple.el (next-error-follow-minor-mode):
1712 * tar-mode.el (tar-subfile-mode):
1713 * tooltip.el (tooltip-mode):
1714 * vcursor.el (vcursor-use-vcursor-map):
1715 * wid-browse.el (widget-minor-mode):
1716 * emulation/tpu-edt.el (tpu-edt-mode):
1717 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1718 * international/iso-ascii.el (iso-ascii-mode):
1719 * language/thai-util.el (thai-word-mode):
1720 * mail/supercite.el (sc-minor-mode):
1721 * net/goto-addr.el (goto-address-mode):
1722 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1723 * progmodes/cwarn.el (cwarn-mode):
1724 * progmodes/flymake.el (flymake-mode):
1725 * progmodes/glasses.el (glasses-mode):
1726 * progmodes/hideshow.el (hs-minor-mode):
1727 * progmodes/pascal.el (pascal-outline-mode):
1728 * textmodes/enriched.el (enriched-mode):
1729 * vc/smerge-mode.el (smerge-mode):
1730 Doc fixes (minor mode argument).
1731
5e0d957f
EZ
17322012-02-07 Eli Zaretskii <eliz@gnu.org>
1733
1734 * ls-lisp.el (ls-lisp-sanitize): New function.
1735 (ls-lisp-insert-directory): Use it to fix or remove any elements
1736 in file-alist with missing attributes. (Bug#4673)
1737
98d7371e
AM
17382012-02-07 Alan Mackenzie <acm@muc.de>
1739
1740 Fix spurious recognition of c-in-knr-argdecl.
1741
1742 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1743 putative K&R region.
1744
667ced3a
AM
17452012-02-07 Alan Mackenzie <acm@muc.de>
1746
eb864a71
LM
1747 * progmodes/cc-engine.el (c-forward-objc-directive):
1748 Prevent looping in "#pragma mark @implementation".
667ced3a 1749
5b77774d
MA
17502012-02-07 Michael Albinus <michael.albinus@gmx.de>
1751
1752 * notifications.el (notifications-on-closed-signal): Make `reason'
1753 optional. (Bug#10744)
1754
af008560
GM
17552012-02-07 Glenn Morris <rgm@gnu.org>
1756
60d47423
GM
1757 * emacs-lisp/easy-mmode.el (define-minor-mode):
1758 Doc fixes for the macro and the mode it defines.
1759
dd605cc4
GM
1760 * image.el (imagemagick-types-inhibit): Doc fix.
1761
af008560
GM
1762 * cus-start.el (imagemagick-render-type): Add it.
1763
5cc59a37
LI
17642012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1765
1766 * progmodes/cc-mode.el
1767 (c-standard-font-lock-fontify-region-function): Set the default at
1768 load time, too, so that `font-lock-fontify-buffer' can be called
1769 without setting up the entire mode first. This fixes a bug in
1770 `mm-inline-text' with C MIME parts.
1771
9a6dd747
CY
17722012-02-06 Chong Yidong <cyd@gnu.org>
1773
2d16b285
CY
1774 * simple.el (list-processes--refresh): Delete exited processes
1775 (Bug#8094).
1776
171e9b6e
CY
1777 * comint.el (comint-next-prompt): next-single-char-property-change
1778 and prev-single-char-property-change never return nil (Bug#8657).
1779
9a6dd747
CY
1780 * custom.el (defcustom): Doc fix (Bug#9711).
1781
aa4589a7
CY
17822012-02-05 Chong Yidong <cyd@gnu.org>
1783
5c2a252f
CY
1784 * cus-edit.el (custom-variable-reset-backup): Quote the value
1785 before storing it in the customized-value property (Bug#6712).
4aab9006 1786 (custom-display): Add a customization type tag.
983b9602 1787 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 1788
aa4589a7
CY
1789 * wid-edit.el (widget-field-value-get): New optional arg to
1790 suppress trailing whitespace truncation.
1791 (character): Use it (Bug#2689).
1792
1ff980ae
AS
17932012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1794
1795 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1796 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1797
03988c98
CY
17982012-02-05 Chong Yidong <cyd@gnu.org>
1799
eeb6cc88
CY
1800 * cus-edit.el (custom-variable-value-create): For mismatched
1801 types, show the current value (Bug#7600).
1802
03988c98
CY
1803 * custom.el (defcustom): Doc fix.
1804
f8cdeef0
GM
18052012-02-05 Glenn Morris <rgm@gnu.org>
1806
1807 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1808
0696d255
JB
18092012-02-05 Juanma Barranquero <lekktu@gmail.com>
1810
1811 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1812 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1813 (pp-last-sexp): Use `looking-at-p'.
1814
34c99998
GM
18152012-02-04 Glenn Morris <rgm@gnu.org>
1816
8f05da42
GM
1817 * files.el (revert-buffer):
1818 Doc fix (mention revert-buffer-in-progress-p).
1819
f160676e
GM
1820 * emacs-lisp/ert-x.el (ert-simulate-command):
1821 Check deferred-action-list (which is obsolete) is bound.
1822
c7291ad9
GM
1823 * subr.el (with-wrapper-hook): Doc fixes.
1824
34c99998
GM
1825 * simple.el (filter-buffer-substring-functions)
1826 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1827
6283a7d3
LL
18282012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1829
1830 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1831 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1832
e96e3013
LL
18332012-02-04 Leo Liu <sdl.web@gmail.com>
1834
1835 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1836
8ded50f2
GM
18372012-02-04 Glenn Morris <rgm@gnu.org>
1838
82ff1d13
GM
1839 * image.el (image-extension-data): Add obsolete alias.
1840
987a0a16
GM
1841 * isearch.el (isearch-update): Doc fix.
1842
ea32ef46
GM
1843 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1844
8ded50f2
GM
1845 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1846
eea14f31
GM
18472012-02-03 Glenn Morris <rgm@gnu.org>
1848
1849 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1850 (image-animate-timeout): Doc fix.
1851
1852 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1853
12f381b7
GM
18542012-02-02 Glenn Morris <rgm@gnu.org>
1855
953cebf5
GM
1856 * server.el (server-auth-dir): Doc fix.
1857 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1858
12f381b7
GM
1859 * subr.el (run-mode-hooks): Doc fix.
1860
953a8c3b
JL
18612012-02-02 Juri Linkov <juri@jurta.org>
1862
1863 * image-mode.el (image-toggle-display-image): Remove tautological
1864 `major-mode' from the `derived-mode-p' test.
1865
c5d3843c
KH
18662012-02-02 Kenichi Handa <handa@m17n.org>
1867
9f6e692e 1868 * composite.el (compose-region): Cancel previous change.
c5d3843c 1869
159462d4 18702012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
1871
1872 * composite.el (compose-region, compose-string): Signal error for
1873 a null string component (Bug#6988).
1874
9f562668
CY
18752012-02-01 Chong Yidong <cyd@gnu.org>
1876
e2cef717
CY
1877 * view.el (view-buffer-other-window, view-buffer-other-frame):
1878 Handle special modes like view-buffer (Bug#10650).
1879 (view-buffer): Simplify.
1880
9f562668
CY
1881 * frame.el (set-frame-font): Tweak meaning of third argument.
1882
9f6e692e
JB
1883 * dynamic-setting.el (font-setting-change-default-font):
1884 Use set-frame-font (Bug#9982).
9f562668 1885
781acb9f
GM
18862012-02-01 Glenn Morris <rgm@gnu.org>
1887
6035be52
GM
1888 * progmodes/compile.el (compilation-internal-error-properties):
1889 Respect compilation-first-column in the "*compilation*" buffer.
1890
781acb9f
GM
1891 * emacs-lisp/easy-mmode.el (define-minor-mode):
1892 Relax :variable's test for a named function.
1893
abbceb00
AM
18942012-01-31 Alan Mackenzie <acm@muc.de>
1895
1896 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1897 off by one error.
1898
fce3fdeb
CY
18992012-01-31 Chong Yidong <cyd@gnu.org>
1900
1901 * frame.el (set-frame-font): New arg ALL-FRAMES.
1902
1903 * menu-bar.el (menu-set-font): Use set-frame-font.
1904
1905 * faces.el (face-spec-reset-face): Don't apply unspecified
1906 attribute values to the default face.
1907
47893581
JB
19082012-01-31 Juanma Barranquero <lekktu@gmail.com>
1909
1910 * progmodes/cwarn.el (cwarn): Remove dead link.
1911 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1912 Remove * from defcustom docstrings.
1913 (turn-on-cwarn-mode): Make obsolete.
1914 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1915 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1916
e58e988a
GM
19172012-01-31 Glenn Morris <rgm@gnu.org>
1918
60dc2671 1919 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 1920 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 1921 Allow named functions to be used as the cdr of :variable.
e58e988a 1922
7a3f511d
GM
19232012-01-30 Glenn Morris <rgm@gnu.org>
1924
1925 * emacs-lisp/authors.el (authors-fixed-entries):
1926 Remove reference to deleted file rnewspost.el.
1927
cb882333
JB
19282012-01-29 Juanma Barranquero <lekktu@gmail.com>
1929
1930 * window.el (window-with-parameter): Remove unused variable `windows'.
1931 (window--side-check): Remove unused variable `code'.
1932 (window--resize-siblings): Remove unused variable `first'.
1933 (adjust-window-trailing-edge): Remove unused variable `failed'.
1934 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1935 Use `let', not `let*'.
1936 (balance-windows-2): Remove unused variable `found'.
1937 (window--state-put-2): Remove unused variable `splits'.
1938 (window-state-put): Remove unused variable `selected'.
1939 (same-window-p): Use `string-match-p'.
1940 (display-buffer-assq-regexp): Remove unused variable `value'.
1941 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1942 Mark argument ALIST as ignored.
1943 (pop-to-buffer): Remove unused variable `old-window'.
1944
907201af
EZ
19452012-01-29 Eli Zaretskii <eliz@gnu.org>
1946
1947 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1948 and .lzma compressed files.
1949
ea162670
CY
19502012-01-29 Chong Yidong <cyd@gnu.org>
1951
5b95ee8a
CY
1952 * frame.el (window-system-default-frame-alist): Doc fix.
1953
ea162670
CY
1954 * dynamic-setting.el (font-setting-change-default-font): Don't
1955 change the default face if SET-FONT argument is non-nil (Bug#9982).
1956
d6e6f4b1
SB
19572012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
1958
1959 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1960
0f29fa41 19612012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
1962
1963 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1964 breakpoints in files outside current directory (Bug#6098).
1965
db174434
CY
19662012-01-29 Chong Yidong <cyd@gnu.org>
1967
6b25e4e2
SE
1968 * progmodes/python.el: Require ansi-color at top-level.
1969
6df6ae42
JB
1970 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1971 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
1972 (lisp-mode-abbrev-table): Add doc.
1973 (lisp-mode-variables): Don't set local-abbrev-table.
1974 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1975
e70ee681
RW
19762012-01-28 Roland Winkler <winkler@gnu.org>
1977
1978 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1979
ace88aa2
RW
19802012-01-28 Roland Winkler <winkler@gnu.org>
1981
1982 * textmodes/bibtex.el (bibtex-entry-alist): New function.
1983 (bibtex-set-dialect): Use it. Either set global values of
1984 dialect-dependent variables or bind these variables buffer-locally
1985 (Bug#10254).
1986 (bibtex-mode): Call bibtex-set-dialect via
1987 hack-local-variables-hook.
eb864a71
LM
1988 (bibtex-dialect): Update docstring.
1989 Add safe-local-variable predicate.
ace88aa2
RW
1990 (bibtex-entry-alist, bibtex-field-alist): Initialize via
1991 bibtex-set-dialect.
1992 (bibtex-mode-map): Define menu for each dialect.
1993 (bibtex-entry): Fix docstring.
1994
93376c5b
CY
19952012-01-28 Chong Yidong <cyd@gnu.org>
1996
1997 * eshell/esh-arg.el (eshell-quote-argument): New function.
1998
1999 * eshell/esh-ext.el (eshell-invoke-batch-file):
2000 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2001 first arg to eshell-parse-command (Bug#10523).
2002
4372494f
DA
20032012-01-28 Drew Adams <drew.adams@oracle.com>
2004
2005 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2006 `default-directory' is non-nil.
2007
4d4ec1f8
EZ
20082012-01-28 Eli Zaretskii <eliz@gnu.org>
2009
2010 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2011 line that displays system-configuration-options. (Bug#9924)
2012
7c188927
DA
20132012-01-28 Drew Adams <drew.adams@oracle.com>
2014
2015 * descr-text.el (describe-char): Show information about POS, in
2016 addition to information about the character at POS. Improve and
2017 update the doc string. Change "code point" to "code point in
2018 charset", to avoid confusion with the character's Unicode code
2019 point shown above that. (Bug#10129)
2020
e0da685a
EZ
20212012-01-28 Eli Zaretskii <eliz@gnu.org>
2022
2023 * descr-text.el (describe-char): Show the raw character, not only
2024 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2025 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2026 for the reasons.
2027
70550acf
PH
20282012-01-28 Phil Hagelberg <phil@hagelb.org>
2029
eb864a71
LM
2030 * emacs-lisp/package.el (package-install):
2031 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 2032
0ce8e868
CY
20332012-01-28 Chong Yidong <cyd@gnu.org>
2034
cb882333
JB
2035 * emacs-lisp/package.el (package-maybe-load-descriptor):
2036 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
2037 (package-maybe-load-descriptor): Use it.
2038 (package-download-transaction): Fully load required packages
2039 inside the loop, so that `require' calls work (Bug#10593).
2040 (package-install): No need to call package-initialize now.
2041
2e7f3bea
CY
20422012-01-28 Chong Yidong <cyd@gnu.org>
2043
6e9bad14
CY
2044 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2045
f823b8ca
CY
2046 * tooltip.el (tooltip-mode): Doc fix.
2047 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2048
2680c309
CY
2049 * frame.el (set-cursor-color): Doc fix (Bug#352).
2050
d7a9e63b
CY
2051 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2052 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2053
2e7f3bea
CY
2054 * cus-edit.el (custom-buffer-create-internal): Fix search button
2055 action (Bug#10542).
2ae01800 2056 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 2057
fc4f7a23
EW
20582012-01-27 Eduard Wiebe <usenet@pusto.de>
2059
2060 * dired.el (dired-mark-files-regexp):
2061 Include any subdirectory components. (Bug#10445)
2062
7dd37071
ML
20632012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2064
2065 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2066 Handle [host]:port syntax. (Bug#10533)
2067
a268160b
AH
20682012-01-27 Alex Harsanyi <harsanyi@mac.com>
2069
2070 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2071
e43273ef
GM
20722012-01-26 Glenn Morris <rgm@gnu.org>
2073
2074 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2075 * term.el (term-raw-escape-map): Use Control-X-prefix.
2076 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2077
1edf595d
MR
20782012-01-25 Martin Rudalics <rudalics@gmx.at>
2079
2080 * window.el (window-state-get, window--state-get-1): Don't deal
2081 with fixed-sizeness of windows. Simplify code.
2082
fa8eafef
JC
20832012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2084
6df6ae42
JB
2085 * window.el (window--state-get-1, window--state-put-2):
2086 Don't save and restore the mark.
fa8eafef 2087
0b21c100
CY
20882012-01-25 Chong Yidong <cyd@gnu.org>
2089
2090 * custom.el (custom-variable-p): Doc fix.
2091
5ae1a6c8
GM
20922012-01-25 Glenn Morris <rgm@gnu.org>
2093
40047858
GM
2094 * dired.el (dired-goto-file): Handle some of the more common
2095 characters that `ls -b' escapes. (Bug#10596)
2096
5ddce96c
GM
2097 * progmodes/compile.el (compilation-next-error-function):
2098 Respect compilation-first-column in the "*compilation*" buffer.
2099 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2100
5ae1a6c8
GM
2101 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2102
b559f1a9
GM
21032012-01-24 Glenn Morris <rgm@gnu.org>
2104
2105 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2106
6725d21a
JD
21072012-01-24 Julien Danjou <julien@danjou.info>
2108
2109 * color.el (color-rgb-to-hsl): Fix value computing.
2110 (color-hue-to-rgb): New function.
2111 (color-hsl-to-rgb): New function.
2112 (color-clamp, color-saturate-hsl, color-saturate-name)
2113 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2114 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2115
70df4bbe
GM
21162012-01-24 Glenn Morris <rgm@gnu.org>
2117
2118 * vc/vc-rcs.el (vc-rcs-create-tag):
2119 * vc/vc-sccs.el (vc-sccs-create-tag):
2120 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2121
802a2ae2
ML
21222012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2123
2124 * eshell/esh-util.el (eshell-read-hosts-file):
2125 Skip comment lines. (Bug#10549)
2126
d7128bb1
ML
2127 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2128
d1a5c3b4
JB
21292012-01-23 Juanma Barranquero <lekktu@gmail.com>
2130
2724d9c7
JB
2131 * subr.el (display-delayed-warnings): Doc fix.
2132 (collapse-delayed-warnings): New function to collapse identical
2133 adjacent warnings.
2134 (delayed-warnings-hook): Add it.
d1a5c3b4 2135
a5509865
MA
21362012-01-22 Michael Albinus <michael.albinus@gmx.de>
2137
2138 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2139
2140 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2141 properties, when "login-as" is set.
2142
2143 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2144 (tramp-default-user-alist): Don't add "pscp".
2145 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2146 property "login-as", if set. (Bug#10530)
2147
cc6d5805
MA
21482012-01-21 Michael Albinus <michael.albinus@gmx.de>
2149
2150 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2151 "plink1" and "psftp". (Bug#10530)
2152
21532012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
2154
2155 * international/mule-cmds.el (prefer-coding-system): Show a
2156 warning message if the default value of file-name-coding-system
2157 was not changed.
2158
f0960428
JC
21592012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2160
cb882333
JB
2161 * windmove.el (windmove-reference-loc):
2162 Fix windmove-reference-loc miscalculation.
f0960428 2163
dd6f2a63
JB
21642012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2165
2166 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2167 default unit.
2168
7b447e9b
GM
21692012-01-21 Glenn Morris <rgm@gnu.org>
2170
117a9ea1
GM
2171 * international/mule.el (auto-coding-alist): Add .tbz.
2172
7b447e9b
GM
2173 * files.el (local-enable-local-variables): Doc fix.
2174 (inhibit-local-variables-regexps): Rename from
2175 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
2176 Doc fix. Add some extensions from auto-coding-alist.
2177 (inhibit-local-variables-suffixes):
2178 Rename from inhibit-first-line-modes-suffixes. Doc fix.
2179 (inhibit-local-variables-p):
2180 New function, extracted from set-auto-mode-1.
2181 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
2182 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
2183 (hack-local-variables): Doc fix. Make the mode-only case
2184 respect enable-local-variables and friends.
2185 Respect inhibit-local-variables-regexps for file-locals, but
2186 not for directory-locals.
2187 (set-visited-file-name):
2188 Take account of inhibit-local-variables-regexps.
2189 Whether it applies may change as the file name is changed.
2190 * jka-cmpr-hook.el (jka-compr-install):
2191 * jka-compr.el (jka-compr-uninstall):
2192 Update for inhibit-first-line-modes-suffixes name change.
2193
dd6e3cdd
MR
21942012-01-20 Martin Rudalics <rudalics@gmx.at>
2195
2196 * help-macro.el (make-help-screen): Temporarily restore original
2197 binding for minor-mode-map-alist (Bug#10454).
2198
0d0deb38
JD
21992012-01-19 Julien Danjou <julien@danjou.info>
2200
2201 * color.el (color-name-to-rgb): Use the white color to find the max
2202 color component value and return correctly computed values.
2203 (color-name-to-rgb): Add missing float conversion for max value.
2204
34a02f46
MR
22052012-01-19 Martin Rudalics <rudalics@gmx.at>
2206
2207 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
2208 special state value for window-persistent-parameters.
2209 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
2210 (window--state-put-2): Reset all window parameters to nil before
2211 assigning values of persistent parameters.
2212
606c44c4
AM
22132012-01-18 Alan Mackenzie <acm@muc.de>
2214
2215 Eliminate sluggishness and hangs in fontification of "semicolon
2216 deserts".
2217
cb882333
JB
2218 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2219 Change value 10000 -> 3000.
606c44c4
AM
2220 (c-state-safe-place): Reformulate so it doesn't stack up an
2221 infinite number of wrong entries in c-state-nonlit-pos-cache.
2222 (c-determine-limit-get-base, c-determine-limit): New functions to
2223 determine backward search limits disregarding literals.
2224 (c-find-decl-spots): Amend commenting.
2225 (c-cheap-inside-bracelist-p): New function which detects "={".
2226
2227 * progmodes/cc-fonts.el
2228 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2229 backward search.
2230 (c-font-lock-declarations): Fix an occurrence of point being
2231 undefined. Check additionally for point being in a bracelist or
2232 near a macro invocation without a semicolon so as to avoid a
2233 fruitless time consuming search for a declarator. Give a more
2234 precise search limit for declarators using the new
2235 c-determine-limit.
2236
f3860cea
GM
22372012-01-18 Glenn Morris <rgm@gnu.org>
2238
2239 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2240 (set-auto-mode): Doc fixes.
2241
1db03b16
GM
22422012-01-17 Glenn Morris <rgm@gnu.org>
2243
0e6038be
GM
2244 * isearch.el (search-nonincremental-instead): Fix doc typo.
2245
1db03b16
GM
2246 * dired.el (dired-insert-directory): Handle newlines in directory name.
2247 (dired-build-subdir-alist): Unescape newlines in directory name.
2248
4cb0aa75
MA
22492012-01-17 Michael Albinus <michael.albinus@gmx.de>
2250
2251 * net/tramp.el (tramp-local-end-of-line): New defcustom.
2252 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2253 (tramp-action-terminal): Use it. (Bug#10530)
2254
1d00653d
SM
22552012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2256
2257 * minibuffer.el (completion--replace): Strip properties (bug#10062).
2258
6a6ee00d
MR
22592012-01-16 Martin Rudalics <rudalics@gmx.at>
2260
2261 * window.el (window-state-ignored-parameters): Remove variable.
2262 (window--state-get-1): Rename argument MARKERS to IGNORE.
2263 Handle persistent window parameters. Make copy of clone-of
2264 parameter only if requested. (Bug#10348)
2265 (window--state-put-2): Install a window parameter only if it has
2266 a non-nil value or an existing parameter shall be overwritten.
2267
97912def
MA
22682012-01-15 Michael Albinus <michael.albinus@gmx.de>
2269
2270 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2271
688070a5
EZ
22722012-01-14 Eli Zaretskii <eliz@gnu.org>
2273
2274 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2275 don't pass the (nil) value of `upnode' to string-match.
2276
301afadc
CY
22772012-01-14 Chong Yidong <cyd@gnu.org>
2278
2279 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 2280 Fix values recognized by the cursorBlink resource.
301afadc 2281
9e5788aa
PE
22822012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2283
2284 * epg.el (epg--make-temp-file): Avoid permission race condition
2285 when running on old Emacs versions (bug#10403).
2286
3cdb7f5a
GM
22872012-01-14 Glenn Morris <rgm@gnu.org>
2288
2289 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2290
8c82b1b4
AM
22912012-01-13 Alan Mackenzie <acm@muc.de>
2292
2293 Fix filling for when filladapt mode is enabled.
2294
2295 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2296 c-mask-paragraph, pass in `fill-paragraph' rather than
2297 `fill-region-as-paragraph'. (This is a reversion of a previous
2298 change.)
eb864a71
LM
2299 * progmodes/cc-mode.el (c-basic-common-init):
2300 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 2301
e517eda4
GM
23022012-01-13 Glenn Morris <rgm@gnu.org>
2303
1498536e
GM
2304 * dired.el (dired-switches-escape-p): New function.
2305 (dired-insert-directory): Use dired-switches-escape-p.
2306 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2307
e517eda4
GM
2308 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2309
328f984d
GM
23102012-01-12 Glenn Morris <rgm@gnu.org>
2311
2312 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2313 changes in adaptive-fill-regexp. (Bug#10276)
2314
2cc769a8
AM
23152012-01-11 Alan Mackenzie <acm@muc.de>
2316
2317 Fix Emacs bug #10463 - put `widen's around the critical spots.
2318
1d00653d 2319 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
2320 widen around each invocation of c-state-pp-to-literal. Remove an
2321 unused let variable.
2322
e52c37fa
GM
23232012-01-11 Glenn Morris <rgm@gnu.org>
2324
2325 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 2326 Doc fix.
e52c37fa 2327
96f8741e
CY
23282012-01-10 Chong Yidong <cyd@gnu.org>
2329
1d00653d
SM
2330 * net/network-stream.el (network-stream-open-starttls):
2331 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
2332 response to the capability command.
2333
b09a806e
GM
23342012-01-10 Glenn Morris <rgm@gnu.org>
2335
2336 * mail/unrmail.el (unrmail): Tweak previous change.
2337
7655cb66
CY
23382012-01-09 Chong Yidong <cyd@gnu.org>
2339
2340 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2341
9d5a8f0b
AM
23422012-01-08 Alan Mackenzie <acm@muc.de>
2343
2344 Optimise font locking in long enum definitions.
2345
2346 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2347 arm to a cond form to handle enums.
2348 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2349 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2350
9a0115ab 23512012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
2352
2353 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 2354 (Bug#10401)
6bb72cbd 2355
f186bb95
LMI
23562012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2357
29232a68
LMI
2358 * faces.el (set-face-attribute): Clarify the meaning of the nil
2359 frame (bug#10294).
2360
4e5d086d
LMI
2361 * subr.el (with-selected-frame): Mention that the selected frame
2362 is restored (bug#9980).
2363
8e66aebe
LMI
2364 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2365 (bug#9759).
2366
cd394be1 2367 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
2368 (password-read): Don't autoload unused function.
2369
adf4e762
JB
23702012-01-07 Juanma Barranquero <lekktu@gmail.com>
2371
2372 * progmodes/which-func.el (which-func-mode): Turn into a
2373 non-interactive function and mark as obsolete (bug#10428).
2374
89bd9ccd
CY
23752012-01-06 Chong Yidong <cyd@gnu.org>
2376
2377 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2378 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2379 functions, along with 1 and -1.
2380
4afee9d5
EZ
23812012-01-06 Eli Zaretskii <eliz@gnu.org>
2382
2383 * time.el (display-time-load-average)
2384 (display-time-default-load-average): Doc fixes. See the thread
2385 starting at
2386 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2387 for the details.
2388
536aea70
GM
23892012-01-06 Glenn Morris <rgm@gnu.org>
2390
665ae865
GM
2391 * mail/unrmail.el (unrmail): Give an explicit error if the input file
2392 has no messages. (Bug#10377)
2393
c869783d
GM
2394 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2395 than Info-edit. (Bug#10385)
2396
2bb4227e
GM
2397 * time.el (display-time-load-average, display-time-next-load-average):
2398 Doc fixes.
2399
7d5944b9
GM
2400 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2401 local setting of buffer-read-only to the input buffer. (Bug#10419)
2402
536aea70
GM
2403 * calendar/calendar.el (calendar-mode):
2404 Locally set scroll-margin to 0. (Bug#10379)
2405
7dccca16
UM
24062012-01-06 Ulrich Mueller <ulm@gentoo.org>
2407
2408 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
2409
afbb7930
GM
24102012-01-05 Glenn Morris <rgm@gnu.org>
2411
2412 * eshell/em-unix.el (diff-no-select): Autoload it.
2413 (eshell/diff): Use diff-no-select. (Bug#10420)
2414
04482335
CY
24152012-01-05 Chong Yidong <cyd@gnu.org>
2416
7baca3bc
CY
2417 * shell.el (shell-dynamic-complete-functions): Revert last change.
2418 (shell-command-completion-function): New function.
2419 (shell-completion-vars): Use it to implement
2420 shell-completion-execonly (Bug#10417).
2421
04482335
CY
2422 * custom.el (enable-theme): Don't set custom-safe-themes.
2423
1d00653d
SM
2424 * cus-theme.el (custom-theme-merge-theme):
2425 Ignore custom-enabled-themes and custom-safe-themes.
04482335 2426
bb5aa5d6
MM
24272012-01-05 Michael R. Mauger <mmaug@yahoo.com>
2428
2429 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2430 first prompt in `sql-interacive-mode'.
2431 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 2432 keywords.
6df6ae42 2433 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
2434 (sql-product-interactive): Bug fix: Set `sql-buffer' in
2435 context of original buffer. Invoke `sql-login-hook'.
2436
a7183d7c
EZ
24372012-01-04 Eli Zaretskii <eliz@gnu.org>
2438
2439 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2440 letters in cite-prefix.
2441
a1eacd1e
LMI
24422012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2443
2444 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2445
787cdb34
CY
24462012-01-03 Chong Yidong <cyd@gnu.org>
2447
1d00653d
SM
2448 * shell.el (shell-dynamic-complete-functions):
2449 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
2450 comint-filename-completion first (Bug#10417).
2451
30710442
RS
24522012-01-02 Richard Stallman <rms@gnu.org>
2453
2454 * battery.el (battery-status-function):
2455 Detect when to use battery-yeeloong-sysfs.
2456 (battery-echo-area-format): Add string for Yeeloong.
2457 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2458 (battery-yeeloong-sysfs): New function.
2459
f75bfc33
CY
24602012-01-02 Chong Yidong <cyd@gnu.org>
2461
2462 * dirtrack.el (dirtrack-list): Eliminate unused third element.
2463 (dirtrack): Merge code for handling relative filenames in prompt
2464 from shell-dir-cookie-watcher.
2465 (dirtrack-debug-message): New arg to avoid excess format calls.
2466
2467 * shell.el (shell-dir-cookie-re): Variable deleted.
2468 (shell-dir-cookie-watcher): Function deleted.
2469 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2470 with dirtrack-mode.
2471
651e947e
EZ
24722012-01-01 Eli Zaretskii <eliz@gnu.org>
2473
1d00653d
SM
2474 * term/w32-win.el (dynamic-library-alist) <gnutls>:
2475 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
2476 libgnutls-26.dll.
2477
94d4c7dc
AS
24782011-12-31 Andreas Schwab <schwab@linux-m68k.org>
2479
2480 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2481
8d43f3cd
EZ
24822011-12-31 Eli Zaretskii <eliz@gnu.org>
2483
2484 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2485 headers of non-MIME messages, when rmail-enable-mime is non-nil.
2486
98c8795a
MA
24872011-12-29 Michael Albinus <michael.albinus@gmx.de>
2488
2489 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2490 also for alternative shells.
2491 (tramp-open-connection-setup-interactive-shell): Check, whether
2492 the shell is a busybox.
2493 (tramp-send-command): Don't suppress multiple prompts for
2494 busyboxes, it hurts.
2495
51281b32
CY
24962011-12-28 Chong Yidong <cyd@gnu.org>
2497
2498 * progmodes/gdb-mi.el (gdb-get-source-file-list)
2499 (gdb-get-source-file): Move mode line update to
2500 gdb-get-source-file (Bug#10087).
2501
2170cb53
CY
25022011-12-25 Chong Yidong <cyd@gnu.org>
2503
2504 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2505 gud-gdb-marker-filter without taking it as an argument.
2506 (gud-gdb-run-command-fetch-lines): Caller changed.
2507 (gud-gdb-completion-function): New variable.
2508 (gud-gdb-completion-at-point): Use it.
2509 (gud-gdb-completions-1): Split from gud-gdb-completions.
2510
2511 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2512 function as separate arguments.
2513 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2514 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2515 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2516 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2517 (gdb-stopped, def-gdb-auto-update-trigger)
2518 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
2519 (gdb-get-changed-registers, gdb-get-main-selected-frame):
2520 Callers changed.
2170cb53
CY
2521 (gud-gdbmi-completions): New function.
2522 (gdb): Use it for generating the completion table.
2523
be8b11bb
AM
25242011-12-24 Alan Mackenzie <acm@muc.de>
2525
2526 Introduce a mechanism to widen the region used in context font
1d00653d 2527 locking. Use this to protect declarations from losing their contexts.
be8b11bb 2528
1d00653d
SM
2529 * progmodes/cc-langs.el (c-before-font-lock-functions):
2530 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 2531 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
2532 functions to be run just before context (etc.) font locking.
2533
2534 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 2535 New, functionality extracted from
be8b11bb 2536 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 2537 (c-in-after-change-fontification): New variable.
be8b11bb
AM
2538 (c-after-change): Set c-in-after-change-fontification.
2539 (c-set-fl-decl-start): Rejig its interface, so it can be called
2540 from both after-change and context fontifying.
b81d40f0
JB
2541 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2542 New functions.
2543 (c-standard-font-lock-fontify-region-function): New variable.
2544 (c-font-lock-fontify-region): New function.
be8b11bb 2545
341cf6ac
JL
25462011-12-24 Juri Linkov <juri@jurta.org>
2547
2548 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2549 (Bug#10348)
2550
bffcee0a
MA
25512011-12-23 Michael Albinus <michael.albinus@gmx.de>
2552
2553 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2554 existence of source file. (Bug#10325)
2555
cb5e207c
AM
25562011-12-23 Alan Mackenzie <acm@muc.de>
2557
2558 Fix unstable fontification inside templates.
2559
b81d40f0
JB
2560 * progmodes/cc-langs.el (c-before-font-lock-functions):
2561 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
2562 additionally has c-set-fl-decl-start. The other languages (apart
2563 from AWK) have that as a single entry.
2564
b81d40f0
JB
2565 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2566 The functionality for "local" declarations has been extracted to
cb5e207c
AM
2567 c-set-fl-decl-start.
2568
b81d40f0
JB
2569 * progmodes/cc-mode.el (c-common-init, c-after-change):
2570 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
2571 (c-set-fl-decl-start): New function, extracted from
2572 c-font-lock-enclosing-decls and enhanced.
2573
60ff536c
JB
25742011-12-23 Juanma Barranquero <lekktu@gmail.com>
2575
2576 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2577
1c4757d6
JL
25782011-12-22 Juri Linkov <juri@jurta.org>
2579
2580 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
2581
d031f2c7
CY
25822011-12-22 Chong Yidong <cyd@gnu.org>
2583
2584 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2585
bace743a
DA
25862011-12-21 Drew Adams <drew.adams@oracle.com>
2587
2588 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2589
728a1f2b
JC
25902011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2591
2592 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2593
0d373f73
TZ
25942011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2595
fec0aaa4
TZ
2596 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2597 highlighting and support. Fix up comments for capitalization.
2598 (cfengine-mode-debug): New var.
2599 (cfengine3-mode): Change the modeline indicator to "CFE3".
2600 (cfengine3-font-lock-keywords): Improve defun highlighting.
2601 (cfengine2-actions): Rename from `cfengine-actions'.
2602 (cfengine2-font-lock-keywords): Rename from
2603 `cfengine-font-lock-keywords'.
2604 (cfengine2-imenu-expression): Rename from
2605 `cfengine-imenu-expression'.
2606 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2607 (cfengine2-beginning-of-defun): Rename from
2608 `cfengine-beginning-of-defun'.
2609 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2610 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2611 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2612 modeline indicator to "CFE2".
2613 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2614 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 2615
bc86f573
CY
26162011-12-21 Chong Yidong <cyd@gnu.org>
2617
2618 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2619 filename argument.
2620
d45ba96b
MR
26212011-12-20 Martin Rudalics <rudalics@gmx.at>
2622
2623 * window.el (window-normalize-buffer-to-display): Remove.
2624 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2625
a6198c90
CY
26262011-12-19 Chong Yidong <cyd@gnu.org>
2627
2628 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2629 Don't signal an error in a predicate function; return non-nil.
2630 (vc-dir-mark-file): Move the error here.
2631 (vc-dir-mark-unmark): If acting on the region, keep going if one
2632 of the entries cannot be marked/unmarked.
2633 (vc-dir-mark-all-files): If current entry is a directory, mark
2634 only child files, as documented.
2635
34c5fb55
VB
26362011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2637
2638 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2639 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2640 addition.
2641
c803b2b7
JD
26422011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2643
2644 * term/ns-win.el (ns-get-selection-internal)
2645 (ns-store-selection-internal): Declare.
1154d12e
JB
2646 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2647 Declare as obsolete.
2648 (ns-get-pasteboard, ns-paste-secondary):
2649 Use ns-get-selection-internal.
2650 (ns-set-pasteboard, ns-copy-including-secondary):
2651 Use ns-store-selection-internal.
c803b2b7 2652
9cff91f8 26532011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
2654
2655 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 2656 (vc-deduce-fileset): Doc fix.
99a289d9 2657
f16c898a
AS
26582011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2659
2660 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2661
763237c4
SS
26622011-12-13 Sam Steingold <sds@gnu.org>
2663
2664 * man.el (Man-getpage-in-background): When running under a
2665 window-system, ignore $MANWIDTH and $COLUMNS.
2666
5fc1c122
KH
26672011-12-15 Kenichi Handa <handa@m17n.org>
2668
2669 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2670 (setup-ethiopic-environment-internal): Comment out key-binding for
2671 ethio-toggle-punctuation.
2672
13d49cbb
AM
26732011-12-13 Alan Mackenzie <acm@muc.de>
2674
898169a2
AM
2675 Add the switch statement to AWK Mode.
2676
7a71b18d 2677 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
2678 "default" to the keywords regexp.
2679
7a71b18d 2680 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 2681 expression as the rest.
1d00653d
SM
2682 (c-nonlabel-token-key): Allow string literals for AWK.
2683 Refactor for the other modes.
898169a2 2684
13d49cbb 2685 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 2686 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
2687 routines. Limit backward searching in c-font-lock-enclosing.decl.
2688
2689 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2690 pp-state and literal type in addition to the limits.
1d00653d 2691 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 2692 (c-state-literal-at): Use the above new defun.
1d00653d
SM
2693 (c-slow-in-literal, c-fast-in-literal): Remove.
2694 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
2695
2696 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2697 being in a literal. Add a limit for backward searching.
2698
2699 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2700 c-slow-in-literal.
2701
15e0efc7
SM
27022011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2703
2704 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2705
454592a6
MR
27062011-12-13 Martin Rudalics <rudalics@gmx.at>
2707
2708 * window.el (delete-other-windows): Use correct frame in call to
2709 window-with-parameter.
2710
87393f26
DP
27112011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2712
2713 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2714 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2715 (makefile-gmake-statements, makefile-makepp-statements):
2716 Use it and add new makepp keywords.
2717 (makefile-makepp-font-lock-keywords): Add new patterns.
2718 (makefile-match-function-end): Match new [...] and [[...]].
2719
11636b22
JB
27202011-12-11 Juanma Barranquero <lekktu@gmail.com>
2721
2722 * ses.el (ses-call-printer-return, ses-cell-property-get)
2723 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2724 (ses-create-cell-variable, ses-reset-header-string)
2725 (ses-cell-set-formula, ses-repair-cell-reference-all)
2726 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2727 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2728 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2729 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2730 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2731 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2732 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2733 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2734 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2735 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2736 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2737 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2738
cf018193
VB
27392011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2740
2741 * ses.el: The overall change is to add cell renaming, that is
2742 setting fancy names for cell symbols other than name matching
2743 "\\`[A-Z]+[0-9]+\\'" regexp .
2744 (ses-create-cell-variable): New defun.
2745 (ses-relocate-formula): Relocate formulas only for cells the
2746 symbols of which are not renamed, i.e. symbols whose names do not
2747 match regexp "\\`[A-Z]+[0-9]+\\'".
2748 (ses-relocate-all): Relocate values only for cells the symbols of
2749 which are not renamed.
2750 (ses-load): Create cells variables as the (ses-cell ...) are read,
2751 in order to check row col consistency with cell symbol name only
2752 for cells that are not renamed.
2753 (ses-replace-name-in-formula): New defun.
2754 (ses-rename-cell): New defun.
2755
ee957461
CY
27562011-12-11 Chong Yidong <cyd@gnu.org>
2757
2758 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2759 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2760
9a9e9ef0
MR
27612011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2762
2763 * window.el (other-window): Fix docstring.
2764
92a8eba5
EZ
27652011-12-10 Eli Zaretskii <eliz@gnu.org>
2766
2767 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
2768 `from' or `to' address before taking its substring.
2769 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
2770 encoded name is chopped in the middle of the encoded string, and
2771 thus displayed encoded.
2772
e152e577
JB
27732011-12-10 Juanma Barranquero <lekktu@gmail.com>
2774
2775 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2776
e5d84bfe
EZ
27772011-12-10 Eli Zaretskii <eliz@gnu.org>
2778
2779 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2780 to use texinfo-update-node and commands that call it if the
2781 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 2782 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
2783 (texinfo-all-menus-update, texinfo-master-menu)
2784 (texinfo-update-node, texinfo-every-node-update)
2785 (texinfo-multiple-files-update): Doc fix. Warn against updating
2786 all the @node lines.
2787 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
2788 argument is numeric. Explain better in the doc string what the
2789 function really does.
2790 (texinfo-insert-master-menu-list): Improve the error message
2791 displayed if there's no menu in the Top node.
2792 (Bug#2975) See also this thread:
e5d84bfe
EZ
2793 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2794
1d84e9bb
MG
27952011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2796
2797 * speedbar.el (speedbar-supported-extension-expressions):
2798 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2799
382c953b
JB
28002011-12-09 Juanma Barranquero <lekktu@gmail.com>
2801
2802 * printing.el (pr-mode-alist):
2803 * simple.el (filter-buffer-substring-functions)
2804 (completion-list-insert-choice-function):
2805 * window.el (window-with-parameter, window-atom-root)
2806 (window-sides-slots, window-size-fixed, window-min-delta)
2807 (window-max-delta, window--resize-mini-window)
2808 (window--resize-child-windows-normal, window-tree)
2809 (delete-other-windows, quit-window, split-window)
2810 (display-buffer-record-window, special-display-buffer-names)
2811 (special-display-regexps, special-display-popup-frame)
2812 (same-window-p, split-window-sensibly)
2813 (display-buffer-overriding-action, display-buffer-alist)
2814 (display-buffer-base-action, display-buffer, switch-to-buffer)
2815 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2816 (fit-window-to-buffer, recenter-positions)
2817 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2818 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2819 and remove unneeded backslashes in docstrings.
2820
39c9faef
SM
28212011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2822
98449af8
SM
2823 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2824
39c9faef
SM
2825 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2826 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2827 end in ".mk".
2828 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2829 when reading the makefile (bug#10116).
2830
86ed9fdc
SM
28312011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2832
2833 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2834 (bug#10116).
2835
5580f89d
GM
28362011-12-06 Glenn Morris <rgm@gnu.org>
2837
2838 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2839
28d3917c
CY
28402011-12-06 Chong Yidong <cyd@gnu.org>
2841
2842 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2843
a98edce9
JB
28442011-12-06 Juanma Barranquero <lekktu@gmail.com>
2845
2846 * textmodes/table.el (table-shorten-cell): Fix typo.
2847
e65adfac
CG
28482011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2849
2850 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2851
71cc0b74
EZ
28522011-12-05 Eli Zaretskii <eliz@gnu.org>
2853
2854 * descr-text.el (describe-char): Fix display of strong
2855 right-to-left characters and directional embeddings and overrides.
2856
2857 * simple.el (what-cursor-position): Fix display of codepoints of
2858 strong right-to-left characters.
2859
315bc30d
CY
28602011-12-05 Chong Yidong <cyd@gnu.org>
2861
2862 * faces.el (read-color): Doc fix.
2863
58a70b94
GM
28642011-12-05 Glenn Morris <rgm@gnu.org>
2865
2866 * align.el (align--set-marker): Add doc-string.
2867 Don't try to move something that is not a marker. (Bug#10216)
2868
5158face
GM
28692011-12-04 Glenn Morris <rgm@gnu.org>
2870
2871 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2872 overly zealous deletion of trailing whitespace.
2873
520fca41
JB
28742011-12-04 Juanma Barranquero <lekktu@gmail.com>
2875
2876 * server.el (server-delete-client): On Windows, do not try to delete
2877 the only terminal.
2878 (server-process-filter): On Windows, treat requests for a tty frame as
2879 if they were for a GUI frame if the running server is in GUI mode.
2880
5e605a2e
GM
28812011-12-03 Glenn Morris <rgm@gnu.org>
2882
2883 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2884
5c3fe83f
SM
28852011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2886
6f5e57e7
SM
2887 * electric.el: Streamline electric-indent's hook.
2888 (electric-indent-chars): Revert to simple list.
2889 (electric-indent-functions): New var.
2890 (electric-indent-post-self-insert-function): Use it.
2891
5c3fe83f
SM
2892 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2893 there's no inferior buffer (bug#10196).
2894 (prolog-consult-compile): Don't use toggle-read-only.
2895
6bdac736
MA
28962011-12-02 Michael Albinus <michael.albinus@gmx.de>
2897
2898 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2899 interrupt. (Bug#10187)
2900
6131ba7f
SM
29012011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2902
99c79fee
SM
2903 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2904 (bug#9160).
2905
6131ba7f
SM
2906 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2907 (bug#10191).
2908
cb0a02ea
JL
29092011-12-02 Juri Linkov <juri@jurta.org>
2910
2911 * info.el (Info-search): Display "end of manual" when Isearch
2912 reaches the end of single-file Info manual. (Bug#9918)
2913
66e0570c
EZ
29142011-12-02 Eli Zaretskii <eliz@gnu.org>
2915
2916 * isearch.el (isearch-message-prefix): Run the input method part
2917 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2918
02b16839
JL
29192011-12-02 Juri Linkov <juri@jurta.org>
2920
2921 * isearch.el (isearch-occur): Use `word-search-regexp' for
2922 `isearch-word'.
2923 (isearch-search-and-update): Add condition for `isearch-word' and
2924 call `word-search-regexp'. (Bug#10145)
2925
0b950688
GM
29262011-12-01 Glenn Morris <rgm@gnu.org>
2927
2928 * eshell/em-hist.el (eshell-hist-initialize):
2929 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 2930 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 2931
9505c3c7
SM
29322011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2933
2934 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2935
1bbe96b2 29362011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 2937
a1beca85
SM
2938 * progmodes/verilog-mode.el (verilog-pretty-expr):
2939 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
2940 verilog, such as += *= and the like.
2941 (verilog-assignment-operator-re): Regular expression to find the
2942 assigment operator in a verilog assignment.
2943 (verilog-assignment-operation-re): Regular expression to find an
2944 assignment statement for pretty-expr.
2945 (verilog-in-attribute-p): Query returns true if point is in an
2946 attribute context; used to skip these for expression line up from
2947 pretty-expr.
2948 (verilog-in-parameter-p): Query returns true if point is in an
2949 parameter definition context; used to skip these for expression
2950 line up from pretty-expr.
2951 (verilog-in-parenthesis-p): Query returns true if point is in a
2952 parenthetical expression, specifically ( ) but not [ ] or { };
2953 used by pretty-expr.
2954 (verilog-just-one-space): If there is no space, don't add one.
2955 (verilog-get-lineup-indent-2): Specifically skip just attribute
2956 contexts for expression lineup, rather than skipping all
2957 parenthetical expressions.
2958 (verilog-calculate-indent): Fix comment, and fix indent.
2959 (verilog-do-indent): Indent declarations in lists (suggested by
2960 Joachim Lechner).
2961 (verilog-mode-abbrev-table): Populate abbrev mode with the various
2962 skeleton items.
2963 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2964 by Alain Mellan).
2965
1bbe96b2 29662011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
2967
2968 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2969 parameters with embedded comments. Reported by Ray Stevens.
2970 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2971 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2972 Reported by Tim Holt.
2973 (verilog-auto): Fix AUTOing a upper module then AUTOing module
2974 instantiated by upper module causing wrong expansion until AUTOed a
2975 second time. Reported by K C Buckenmaier.
2976 (verilog-diff-auto): Fix showing .* as a difference when
2977 `verilog-auto-star-save' off. Reported by Dan Dever.
2978 (verilog-auto-reset, verilog-read-always-signals)
2979 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2980 temporary signals in reset list if
2981 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
2982 style to each signal's assignment type, bug381.
2983 Reported by Thomas Esposito.
6288f0ca
WS
2984 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2985 (verilog-uvm-statement-re): Support UVM indentation and
2986 highlighting, with old OVM keywords only.
a1beca85 2987 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
2988 Support AUTOTIEOFF creating non-wire data types.
2989 Suggested by Jonathan Greenlaw.
6288f0ca
WS
2990 (verilog-auto-insert-lisp, verilog-delete-to-paren)
2991 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2992 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
2993 (verilog-read-sub-decls, verilog-read-sub-decls-line):
2994 Fix mismatching parenthesis inside commented out code when deleting
382c953b 2995 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
2996 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2997 non-numeric vector width. Reported by Alex Reed.
2998 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 2999 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
3000 (verilog-auto-delete-trailing-whitespace):
3001 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
3002 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3003 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3004 Fix verilog-scan-cache corruption when running user AUTO expansion
3005 hooks that call indentation routines.
3006 (verilog-simplify-range-expression): Fix typo ignoring lower case
3007 identifiers.
3008 (verilog-delete-auto): Fix delete-autos to also remove user created
3009 automatics, as long as they start with AUTO.
3010 (verilog-batch-diff-auto, verilog-diff-auto)
3011 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3012 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3013 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3014 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
3015 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3016 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
3017 is disabled and its cache will get corrupt, causing AUTOS not to
3018 expand. Instead use only -quick functions.
3019 (verilog-scan-region): Fix scanning over escaped quotes.
3020 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3021 (verilog-re-search-backward-quick)
3022 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3023 related functions now ignore strings, to fix misparsing of strings
3024 with magic comments embedded in them.
a1beca85
SM
3025 (verilog-read-auto-template):
3026 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3027 Reported by Brad Dobbie.
3028 (verilog-read-auto-template):
3029 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 3030 Reported by Brad Dobbie.
6288f0ca
WS
3031 (verilog-auto-inst, verilog-auto-inst-param)
3032 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3033 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3034 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
3035 debugging templates without merge conflicts, bug357.
3036 Reported by Brad Dobbie.
3037 (verilog-read-auto-template):
3038 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
3039 Reported by Brad Dobbie.
3040 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3041 abbrevs so user won't be asked to save.
3042 (verilog-read-auto-lisp-present): Fix to start at beginning of
3043 buffer in case called outside of verilog-auto.
3044 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3045 to "X-2". Reported by Matthew Myers.
3046 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3047 all inputs from module templates. Reported by Leith Johnson.
3048 (verilog-module-inside-filename-p): Fix locating programs as with
3049 modules.
3050 (verilog-auto-inst-port): Fix vl-width expressions when using
3051 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3052 (verilog-decls-get-regs, verilog-decls-get-signals,
3053 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3054 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3055 verilog-read-decls): Combine reg and wire structures into one var
3056 structure to represent SystemVerilog concepts.
3057 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3058 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
3059 (verilog-auto-wire-type, verilog-insert-definition):
3060 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
3061 SystemVerilog "logic" keyword instead of "wire"/"reg".
3062 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3063 to declares outputs that also have assignments (presumably in an
a1beca85
SM
3064 ifdef or generate if so there's not a driver conflict).
3065 Reported by Matthew Myers.
3066 (verilog-auto-declare-nettype, verilog-insert-definition):
3067 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
3068 `default_nettype none. Reported by Julian Gorfajn.
3069 (verilog-read-always-signals-recurse, verilog-read-decls)
3070 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3071 malformed end statement, bug325. Reported by Joshua Wise and
3072 Andrew Drake.
3073 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3074 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
3075 when expanding .* in interfaces, bug320.
3076 Reported by Pierre-David Pfister.
6288f0ca 3077 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
3078 name and open parenthesis, bug317.
3079 Reported by Pierre-David Pfister.
6288f0ca
WS
3080 (verilog-simplify-range-expression): Fix simplification of
3081 multiplications inside AUTOWIRE connections, bug303.
3082 (verilog-auto-inst-port): Support parameter expansion in
3083 multidimensional arrays.
3084 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3085 after "assert property". Reported by Julian Gorfajn.
3086 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3087 with multiplication, bug303.
3088 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3089 Reported by Jan Frode Lonnum.
3090
1bbe96b2
GM
30912011-11-30 Juanma Barranquero <lekktu@gmail.com>
3092
3093 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3094 (hfy-shell-file-name, hfy-shell):
3095 * international/fontset.el (x-decompose-font-name): Fix typos.
3096
30972011-11-29 Ken Brown <kbrown@cornell.edu>
3098
3099 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3100 (gdb-version): Remove defvar.
3101 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3102 (gdb-gud-context-command, gdb-non-stop-handler)
3103 (gdb-current-context-command, gdb-stopped): Use it.
3104 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
3105 (gdb-non-stop-handler): Don't enable pretty-printing here.
3106 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
3107 non-stop mode. Use the following.
3108 (gdb-check-target-async): New defun.
3109 (gud-watch, gdb-stopped): Fix whitespace.
3110 (gdb-get-source-file): Don't try to display the source file if
3111 `gdb-main-file' is nil.
3112
31132011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3114
3115 * align.el: Try to generate fewer markers (bug#10047).
3116 (align--set-marker): New macro.
3117 (align-region): Use it.
3118
c935221f
SM
31192011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3120
3121 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3122
e70b5064
CY
31232011-11-29 Chong Yidong <cyd@gnu.org>
3124
3125 * indent.el (indent-for-tab-command, indent-according-to-mode):
3126 Doc fix.
3127 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3128
f3af92b7
MA
31292011-11-29 Michael Albinus <michael.albinus@gmx.de>
3130
3131 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3132 aware of remote file names. (Bug#10124)
3133
ed472be9
CY
31342011-11-29 Chong Yidong <cyd@gnu.org>
3135
3136 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3137
24510c22
SM
31382011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3139
3140 * files.el (find-file): Don't use force-same-window (bug#10144).
3141 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3142 use pop-to-buffer if the selected window can't be used.
3143 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3144
c60c3703
EZ
31452011-11-28 Eli Zaretskii <eliz@gnu.org>
3146
3147 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3148 special-mode-map.
3149
e95def75
CY
31502011-11-28 Chong Yidong <cyd@gnu.org>
3151
3152 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3153
c3f1c606
NR
31542011-11-27 Nick Roberts <nickrob@snap.net.nz>
3155
3156 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3157 gdb-get-source-file-list on gdb-create-source-file-list.
3158
00db469c
EZ
31592011-11-26 Eli Zaretskii <eliz@gnu.org>
3160
3161 * whitespace.el (whitespace-newline): Use a different foreground
3162 color for 16-color light-background displays.
3163
4ad3bc2a
CY
31642011-11-24 Chong Yidong <cyd@gnu.org>
3165
3166 * window.el (display-buffer--special-action): Doc fix.
3167
e9fce1ac
JB
31682011-11-25 Juanma Barranquero <lekktu@gmail.com>
3169
3170 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3171 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3172 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3173 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3174 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3175 (avl-tree-stack-first):
3176 * emacs-lisp/cconv.el (cconv--analyse-use):
3177 * net/gnutls.el (gnutls-negotiate): Fix typos.
3178
cb825e5d
GM
31792011-11-24 Glenn Morris <rgm@gnu.org>
3180
3adbe224
GM
3181 * lpr.el (lpr-windows-system, lpr-lp-system):
3182 * mail/binhex.el (binhex-begin-line):
3183 * progmodes/grep.el (grep-history, grep-find-history):
3184 * textmodes/flyspell.el:
3185 * vc/pcvs-defs.el (cvs-global-menu):
3186 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3187 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3188 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3189
321decc8
GM
3190 * net/tls.el: Fix case of "GnuTLS".
3191
420b63ad
GM
3192 * paths.el (rmail-file-name): Format doc-string for make-docfile.
3193
cb825e5d
GM
3194 * version.el (emacs-build-system): Give it a doc-string.
3195
a0649f08
JL
31962011-11-24 Juri Linkov <juri@jurta.org>
3197
3198 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3199
c0bc0fd4
GM
32002011-11-24 Glenn Morris <rgm@gnu.org>
3201
3202 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3203 if called on a non-mime message just toggle the headers. (Bug#8006)
3204
20db1522
JB
32052011-11-24 Juanma Barranquero <lekktu@gmail.com>
3206
3207 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3208 (allout-lead-with-comment-string, allout-structure-deleted-hook)
3209 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3210 (allout-rebullet-heading, allout-open-sibtopic)
3211 (allout-toggle-current-subtree-encryption)
3212 (allout-toggle-subtree-encryption, allout-encrypt-string)
3213 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3214 (allout-distinctive-bullets-string, allout-auto-activation):
3215 * window.el (window-normalize-buffer-to-display):
3216 * progmodes/verilog-mode.el (verilog-batch-indent):
3217 * textmodes/bibtex.el (bibtex-field-braces-opt)
3218 (bibtex-field-strings-opt):
3219 * vc/cvs-status.el (cvs-tree-merge):
3220 Fix typos.
3221
7262a87c
MA
32222011-11-23 Michael Albinus <michael.albinus@gmx.de>
3223
3224 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3225 `non-essential' to t, in order to avoid remote connections.
3226
283430a1
EZ
32272011-11-23 Eli Zaretskii <eliz@gnu.org>
3228
a1beca85
SM
3229 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3230 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
3231 case-insensitively.
3232
d2992a38
ML
32332011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3234
3235 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
3236
50419064
GM
32372011-11-23 Glenn Morris <rgm@gnu.org>
3238
da94eca1
GM
3239 * paths.el (rmail-file-name): Reformat the doc-string so that it
3240 is picked up.
3241
9aac4de2
GM
3242 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3243 (rmail-auto-file): Ignore case in the "special" field names,
3244 as mail-fetch-field does for all others.
3245
8038d2d2
GM
3246 * mail/rmail.el (rmail-forward):
3247 * mail/rmailkwd.el (rmail-set-label):
3248 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3249 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
3250
f3fe222a
GM
3251 * mail/rmail.el (rmail-current-message): Doc fix.
3252
50419064
GM
3253 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
3254
28109f49
SM
32552011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3256
3257 * server.el (server-eval-and-print): Allow C-g (bug#6585).
3258
394c65f1
GM
32592011-11-22 Glenn Morris <rgm@gnu.org>
3260
3261 * mail/rmailmm.el (test-rmail-mime-handler)
3262 (test-rmail-mime-bulk-handler)
3263 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3264
f2a0aa3a
JL
32652011-11-21 Juri Linkov <juri@jurta.org>
3266
1154d12e
JB
3267 * calc/calc.el (calc-read-key-sequence):
3268 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 3269
9c34a344
LMI
32702011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3271
3272 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3273 Tell the caller that the next line needs recomputation, even
3274 though it doesn't start a sexp (bug#10094).
3275
f04a3be9
SM
32762011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3277
3278 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3279
7978747f
SM
32802011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3281
f04a3be9
SM
3282 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3283 Use force-same-window.
7978747f 3284
fe7a3057
JB
32852011-11-20 Juanma Barranquero <lekktu@gmail.com>
3286
3287 * descr-text.el (describe-char-unicode-data):
3288 * json.el (json-string-escape):
3289 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3290 (Footnote-unicode, Footnote-style-p):
3291 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3292
24901d61
CY
32932011-11-20 Chong Yidong <cyd@gnu.org>
3294
3295 * window.el (replace-buffer-in-windows): Restore interactive spec.
3296
bac7ff22
SM
32972011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3298
24f3d7b9
SM
3299 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3300
bac7ff22
SM
3301 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3302 (byte-compile-global-not-obsolete-vars): New var.
3303 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3304 Use it.
3305 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3306
cd1181db
JB
33072011-11-20 Juanma Barranquero <lekktu@gmail.com>
3308
3309 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3310 * progmodes/pascal.el (electric-pascal-equal):
3311 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3312 * xml.el (xml-substitute-special): Fix typos.
3313
7fb18e9e
GM
33142011-11-20 Glenn Morris <rgm@gnu.org>
3315
3316 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3317 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3318 Doc fixes.
3319 (rmail-decode-mime-charset): Mark as obsolete.
3320
3321 * mail/rmailsum.el (rmail-message-regexp-p-1):
3322 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3323 Before using mime functions, check they are set. (Bug#10077)
3324
d5a6b3ba
JL
33252011-11-19 Juri Linkov <juri@jurta.org>
3326
3327 * info.el (Info-finder-find-node): Use `package--builtins' instead
3328 of `package-alist'. Use node names formed by the pattern "Keyword "
3329 and the keyword name.
3330
e981b61f
AS
33312011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3332
1d00653d 3333 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 3334
3ffbc301
JL
33352011-11-19 Juri Linkov <juri@jurta.org>
3336
3337 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3338 that calls `revert-buffer' on all Info buffers. (Bug#9915)
3339 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3340 `old-history', `old-history-forward'. Add let-binding
3341 `window-selected'. Remove calls to `kill-buffer',
3342 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
3343 before calling `Info-find-node', so `Info-find-node-2' will reread
3344 the Info file. Restore window positions only when `window-selected'
3345 is non-nil.
3346
30c62133
JL
33472011-11-19 Juri Linkov <juri@jurta.org>
3348
3349 * isearch.el (isearch-lazy-highlight-new-loop):
3350 Remove condition `(not isearch-error)'. (Bug#9918)
3351
3352 * misearch.el (multi-isearch-search-fun): Add condition
3353 `(not bound)' to ignore lazy-highlighting search.
3354 Add the search-failed message "end of multi" when the end of
3355 multi-sequence is reached. Uncapitalize the search-failed
3356 message "Repeat for next buffer".
3357
3358 * info.el (Info-search): Add the search-failed message
3359 "end of the manual" when the end of the manual is reached
3360 in Isearch mode.
3361
645ca9cf
JL
33622011-11-19 Juri Linkov <juri@jurta.org>
3363
3364 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3365 Use non-destructive `remove' instead of `delete' because
3366 `Info-history-list' stored to `Info-isearch-initial-history-list' in
3367 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3368
df754f66
JL
33692011-11-19 Juri Linkov <juri@jurta.org>
3370
3371 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3372 to nil instead of binding `search-ring' and `regexp-search-ring'.
3373 (Bug#9185)
3374
0e23d96a
EZ
33752011-11-19 Eli Zaretskii <eliz@gnu.org>
3376
3377 * simple.el (line-move): Force movement by logical lines for any
3378 hscrolled window, not only when auto-hscroll-mode is on.
3379 (line-move-visual): Update doc string to that effect. (Bug#10076)
3380
8a6ccb66
AS
33812011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3382
3383 * language/european.el (macintosh): Define as alias for mac-roman.
3384
49ae5b39
EZ
33852011-11-19 Eli Zaretskii <eliz@gnu.org>
3386
3387 * mail/rmailmm.el (rmail-mime-display-header)
3388 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3389 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3390 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3391 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3392 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3393 of a raw aref.
3394 (rmail-mime-entity-segment): To get past the tagline, move forward
3395 2 more lines, to account for the 2 empty lines that precede and
3396 follow the line with the buttons.
3397 (rmail-mime-update-tagline): Move one more line, to get past the
3398 empty line that follows the buttons in the tagline. (Bug#9520)
3399
c56cad4a
MR
34002011-11-19 Martin Rudalics <rudalics@gmx.at>
3401
3402 * window.el (window-max-delta-1, window-min-delta-1)
3403 (window-min-size-1, window-state-get-1, window-state-put-1)
3404 (window-state-put-2): Use "window--" prefix.
3405
cbe71af3
SM
34062011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3407
2ad52c60
SM
3408 * emacs-lisp/smie.el: Improve warnings and conflict detection.
3409 (smie-warning-count): New var.
3410 (smie-set-prec2tab): Use it.
3411 (smie-bnf->prec2): Improve warnings. Add docstring.
3412 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3413 (smie-bnf--set-class): New function.
3414 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
3415 corner case.
3416
6944dbc1
SM
3417 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3418 (compilation-error-properties, compilation-move-to-column):
3419 Handle compilation-first-column while in the target buffer.
3420
c400c4d7
SM
3421 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3422 Don't hardcode point-min==1.
3423
6dbe3e96
SM
3424 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3425 (eshell-rewrite-for-command): Remove workaround.
3426 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3427 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3428 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3429
cbe71af3
SM
3430 * files-x.el (modify-file-local-variable): Obey commenting conventions.
3431
a8e1496d
GM
34322011-11-17 Glenn Morris <rgm@gnu.org>
3433
3434 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3435 Ignore buffer-local generated-autoload-file if it is the same
3436 as the global value. (Bug#10049)
3437
df85d315
JB
34382011-11-17 Juanma Barranquero <lekktu@gmail.com>
3439
3440 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3441 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3442 (reftex-toc-previous-heading, reftex-toc-max-level)
3443 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3444 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3445 (reftex-toc-do-promote, reftex-toc-promote-prepare)
3446 (reftex-toc-promote-action, reftex-toc-extract-section-number)
3447 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3448 (reftex-toc-rename-label, reftex-toc-visit-location)
3449 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3450 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3451 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3452 leaving "*toc*" only for references to the buffer.
3453
a0c2d0ae
MR
34542011-11-17 Martin Rudalics <rudalics@gmx.at>
3455
3456 * window.el (window-resize, delete-window, split-window):
3457 Replace window-splits by window-combination-resize.
1d00653d 3458 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 3459
35c0bac8
GM
34602011-11-17 Glenn Morris <rgm@gnu.org>
3461
3462 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3463 Make bash entry derive from sh entry, not shell entry.
3464
d0c8fc8a
MA
34652011-11-16 Michael Albinus <michael.albinus@gmx.de>
3466
d0c8fc8a
MA
3467 * net/tramp-cache.el (tramp-flush-file-property): Flush also
3468 properties of linked files. (Bug#9879)
3469
7262a87c
MA
3470 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3471 local file name.
3472
7877f373
JB
34732011-11-16 Juanma Barranquero <lekktu@gmail.com>
3474
3475 * menu-bar.el (menu-bar-file-menu):
3476 * printing.el (pr-ps-utility):
3477 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3478 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3479 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3480 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3481 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3482 (icalendar--convert-cyclic-to-ical)
3483 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3484 (icalendar--convert-ical-to-diary)
3485 (icalendar--convert-recurring-to-diary)
3486 (icalendar--convert-non-recurring-all-day-to-diary)
3487 (icalendar-import-format-sample):
3488 * progmodes/idlw-shell.el (idlwave-shell-mode):
3489 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3490 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3491 (vhdl-ps-print-init): Fix typos.
3492
10649b82
KM
34932011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
3494
9d0cfcd6
GM
3495 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3496 FSF and collapse date sequence, obscure author/maintainer email address
3497 better, remove extra version line, track relocation of author's webpage.
10649b82 3498
9d0cfcd6
GM
3499 * progmodes/python.el (python-pdbtrack-input-prompt)
3500 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3501 regular python pdb prompts. Adjustments shamelessly taken exactly as
3502 suggested in EmacsWiki page (tiny change):
3503 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 3504
58179cce
JB
35052011-11-16 Juanma Barranquero <lekktu@gmail.com>
3506
3507 * expand.el (expand-pos, expand-index, expand-point):
3508 Remove redundant info from docstring.
3509 (expand-add-abbrevs): Doc fix.
3510 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3511 (expand-sample-perl-mode-expand-list): Fix typos.
3512
3513 * net/dbus.el (dbus-event-member-name):
3514 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3515 * term/pc-win.el (msdos-create-frame-with-faces):
3516 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3517
b6f67890
MR
35182011-11-16 Martin Rudalics <rudalics@gmx.at>
3519
3520 * window.el (split-window, window-state-get-1)
3521 (window-state-put-1, window-state-put-2): Rename occurrences of
3522 window-nest to window-combination-limit.
1d00653d 3523 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 3524
ce7ddba0
CY
35252011-11-16 Chong Yidong <cyd@gnu.org>
3526
3527 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3528 regexp (Bug#10033).
3529
3ae704f4
SM
35302011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3531
3532 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3533 `completing-read' will remove *Completions* and will preserve
3534 current-buffer for us.
3535 (tmm-add-prompt): Users of *Completions* will always (re)set its
3536 major mode.
3537 (tmm-old-comp-map): Remove.
3538
6ad1cdde
GM
35392011-11-16 Glenn Morris <rgm@gnu.org>
3540
3541 * mail/rmailedit.el: Require rmailmm when compiling.
3542 (rmail-old-mime-state): New declaration.
3543 (rmail-edit-current-message): If editing a mime message,
3544 edit the "raw" message from the mbox buffer.
3545 (rmail-cease-edit): Handle mime messages. (Bug#9840)
3546
d20faa20
GM
35472011-11-15 Glenn Morris <rgm@gnu.org>
3548
3549 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3550 which wasn't being used. Add optional arg to force given state.
3551 (rmail-mime): Add optional arg to force given state.
3552
c7015153
JB
35532011-11-15 Juanma Barranquero <lekktu@gmail.com>
3554
3555 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3556 * frame.el (display-mm-dimensions-alist):
3557 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3558 (outline-move-subtree-down):
3559 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3560 (newsticker--treeview-do-get-node):
3561 * net/quickurl.el (quickurl-list-buffer-name):
3562 * progmodes/dcl-mode.el (dcl-mode):
3563 * progmodes/gdb-mi.el (gdb-mapcar*):
3564 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3565
45261b50
GM
35662011-11-15 Glenn Morris <rgm@gnu.org>
3567
3568 * mail/rmail.el (rmail-file-coding-system): It's only ever used
3569 in a boolean sense, so just make it a boolean, and fix the doc.
3570 (rmail-show-mime-function, rmail-mime-feature)
3571 (rmail-require-mime-maybe): Doc fixes.
3572 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3573
3574 * mail/rmailmm.el (rmail-show-mime): Doc fix.
3575
0d26e0b6
JB
35762011-11-15 Juanma Barranquero <lekktu@gmail.com>
3577
3578 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3579 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3580 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3581 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3582
447f30f6
GM
35832011-11-15 Glenn Morris <rgm@gnu.org>
3584
672b871d
GM
3585 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3586 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3587 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3588 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3589 (rmail-mime, rmail-show-mime): Doc fixes.
3590
f6aa5bb1
GM
3591 * term/ns-win.el (mode-line-frame-identification):
3592 Leave it alone. (Bug#10051)
3593
947cd66b
GM
3594 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3595
447f30f6
GM
3596 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3597 Handle empty buffers. (Bug#9978)
3598
0b381c7e
JB
35992011-11-14 Juanma Barranquero <lekktu@gmail.com>
3600
3601 * international/mule.el (define-charset):
3602 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3603 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3604 * progmodes/verilog-mode.el (verilog-backward-token):
3605 * textmodes/ispell.el (lookup-words):
3606 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3607
71e027ac
GM
36082011-11-14 Glenn Morris <rgm@gnu.org>
3609
56632ce4
GM
3610 * progmodes/executable.el
3611 (executable-make-buffer-file-executable-if-script-p):
3612 Handle file-modes returning nil.
3613
40500957
GM
3614 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3615 message - not necessary, and causes problems. (Bug#9831)
3616
071c2340
GM
3617 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3618
d3cfca60
GM
3619 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3620
71e027ac
GM
3621 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3622 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
3623 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3624
89d61221
MR
36252011-11-12 Martin Rudalics <rudalics@gmx.at>
3626
3627 * window.el (window-resize, delete-window): Use window-splits
3628 variable instead of function.
3629 (window-state-get-1, window-state-put-2, window-state-put):
3630 Don't deal with windows' splits status.
3631
98282f6f
GM
36322011-11-12 Glenn Morris <rgm@gnu.org>
3633
3634 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3635 (apropos-documentation): Doc fixes.
3636
40a8bdf6
JB
36372011-11-11 Juanma Barranquero <lekktu@gmail.com>
3638
3639 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3640 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3641
65bd19ff
SM
36422011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3643
3644 * electric.el (electric-indent-post-self-insert-function): Make it
3645 possible for a char to only indent in some circumstances.
3646 (electric-indent-mode): Simplify.
3647
54f9154c
MR
36482011-11-11 Martin Rudalics <rudalics@gmx.at>
3649
3650 * window.el (windows-with-parameter): Remove unused function.
3651 (windows-at-side): Rename to window-at-side-list.
3652 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
3653 (window-side-check, window-size-ignore, window-size-fixed-1)
3654 (window-in-direction-2): Prefix with "window--".
3655 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 3656
68cbc58b
GM
36572011-11-11 Glenn Morris <rgm@gnu.org>
3658
3659 * subr.el (eval-after-load): If FILE is already loaded,
3660 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3661
b2621720
GM
36622011-11-10 Glenn Morris <rgm@gnu.org>
3663
9a4de110
GM
3664 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3665 Call svn via vc-svn-command rather than vc-do-command.
3666 (vc-svn-command): Add --non-interactive. (Bug#9993)
3667 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3668
b2621720
GM
3669 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3670 Add toggle-read-only. (Bug#7292)
3671 * files.el (toggle-read-only): Mention that it should only
3672 be used interactively. (Bug#10006)
3673
1dce7193
SM
36742011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3675
d9ac1a1e
SM
3676 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3677 Adjust regexp for OCaml warnings.
3678
0c325082
SM
3679 * electric.el (electric-pair-post-self-insert-function): Let user
3680 turn it off buffer-locally (bug#9932).
3681
90132c14
SM
3682 * progmodes/python.el (python-beginning-of-statement):
3683 Rewrite (bug#2703).
3684
1dce7193
SM
3685 * progmodes/compile.el: Better handle TABs (bug#9749).
3686 (compilation-internal-error-properties)
3687 (compilation-next-error-function): Obey the target buffer's
3688 compilation-error-screen-columns.
3689
c4e7c63a
JB
36902011-11-09 Juanma Barranquero <lekktu@gmail.com>
3691
3692 * progmodes/meta-mode.el: Remove obsolete comments.
3693 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3694 Fix typos in docstrings.
3695
2cffd681
MR
36962011-11-09 Martin Rudalics <rudalics@gmx.at>
3697
3698 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 3699 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
3700 (window--resizable): New function. Make all callers of
3701 window-resizable call window--resizable instead.
3702 (window-resizable): Rewrite in terms of window--resizable.
3703
0edcba87
GM
37042011-11-08 Glenn Morris <rgm@gnu.org>
3705
3706 * progmodes/delphi.el (delphi-mode-syntax-table):
3707 Let define-derived-mode define a proper syntax table. (Bug#9994)
3708
4b0d61e3
SM
37092011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3710
3711 * window.el: Stay away from defsubst.
3712 (window-list-no-nils): Remove.
3713 (window-state-get-1, window-state-get): Use backquote instead.
3714
cd394be1 37152011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 3716
4b0d61e3 3717 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 3718 Fix incorrect use of default argument in `completing-read'.
3719
e1c2c6f2
MR
37202011-11-08 Martin Rudalics <rudalics@gmx.at>
3721
3722 * window.el (display-buffer-function, special-display-function):
3723 Mention display-buffer-record-window but do not mention
3724 help-setup parameter in doc-strings.
b3f4a882 3725 (window-min-delta): Fix doc-string typo.
e1c2c6f2 3726
105216ed
CY
37272011-11-08 Chong Yidong <cyd@gnu.org>
3728
3729 * window.el (window-total-height, window-total-width): Doc fix.
3730 (window-body-size): Move from C.
3731 (window-body-height, window-body-width): Move to C.
3732
0a9f9ab5
SM
37332011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3734
3735 * window.el: Make special-display like display-buffer-alist (bug#9532).
3736 (display-buffer--special-action): New function, morphed
3737 from display-buffer--special.
3738 (display-buffer): Use it to handle special-display-buffers at higher
3739 priority (just after display-buffer-alist).
3740 (display-buffer-fallback-action, display-buffer--other-frame-action)
3741 (pop-to-buffer-same-window): Remove display-buffer--special.
3742
a769dd15
GM
37432011-11-07 Glenn Morris <rgm@gnu.org>
3744
3745 * calendar/cal-menu.el (cal-menu-set-date-title):
3746 Do nothing if not in a calendar. (Bug#9976)
3747
05a61ee3
SM
37482011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3749
3750 * files.el (find-file): Always use selected-window.
3751
be7f5545
MR
37522011-11-07 Martin Rudalics <rudalics@gmx.at>
3753
3754 * window.el (window-combinations): Make WINDOW argument
3755 mandatory. Rewrite doc-string.
3756 (walk-window-subtree, window-atom-check, window-min-delta)
3757 (window-max-delta, window--resize-this-window)
3758 (window--resize-root-window-vertically, window-tree)
3759 (balance-windows, window-state-put): Rewrite doc-strings as to
3760 not mention the term "subwindow".
3761 (window--resize-subwindows-skip-p): Rename to
3762 window--resize-child-windows-skip-p.
3763 (window--resize-subwindows-normal): Rename to
3764 window--resize-child-windows-normal.
3765 (window--resize-subwindows): Rename to
3766 window--resize-child-windows.
3767 (window-or-subwindow-p): Rename to window--in-subtree-p.
3768
3c6702ef
ML
37692011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3770
3771 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3772 Ensure that mbox format messages end in two newlines (Bug#9974).
3773
49745b39
CY
37742011-11-06 Chong Yidong <cyd@gnu.org>
3775
3776 * window.el (window-combination-p): Function deleted; its
3777 side-effect is not used in any existing code.
3778 (window-combinations, window-combined-p): Call window-*-child
3779 directly.
3780
24300f5f
CY
37812011-11-05 Chong Yidong <cyd@gnu.org>
3782
3783 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
3784 (window-size-ignore, window-state-get): Callers changed.
3785 (window-normalize-window): Rename from window-normalize-any-window.
3786 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 3787 (window-normalize-live-window): Delete.
447f16b8
CY
3788 (window-combination-p, window-combined-p, window-combinations)
3789 (walk-window-subtree, window-atom-root, window-min-size)
3790 (window-sizable, window-sizable-p, window-size-fixed-p)
3791 (window-min-delta, window-max-delta, window-resizable)
3792 (window-resizable-p, window-full-height-p, window-full-width-p)
3793 (window-current-scroll-bars, window-point-1, set-window-point-1)
3794 (window-at-side-p, window-in-direction, window-resize)
3795 (adjust-window-trailing-edge, maximize-window, minimize-window)
3796 (window-deletable-p, delete-window, delete-other-windows)
3797 (record-window-buffer, unrecord-window-buffer)
3798 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3799 (quit-window, split-window, window-state-put)
3800 (set-window-text-height, fit-window-to-buffer)
3801 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 3802
89bd5ee1
EZ
38032011-11-04 Eli Zaretskii <eliz@gnu.org>
3804
53479029
EZ
3805 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3806 rfc2047-decode-string.
3807 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3808 warnings.
3809
89bd5ee1
EZ
3810 * window.el (window-body-height, window-body-width): Mention in
3811 the doc string that the return values are in frame's canonical
3812 units. (Bug#9949)
3813
bd17fdee
AM
38142011-11-03 Alan Mackenzie <acm@muc.de>
3815
3816 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3817 change in cc-engine.el.
3818
acc825c5
SM
38192011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3820
3821 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3822
1885e5b8
MR
38232011-11-02 Martin Rudalics <rudalics@gmx.at>
3824
3825 * window.el (quit-window): Call unrecord-window-buffer after
3826 showing another buffer in the window. (Bug#9937)
acc825c5 3827 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 3828
ebe06da9
JB
38292011-11-02 Juanma Barranquero <lekktu@gmail.com>
3830
3831 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3832 Accept status with more than 9 shelves. (Bug#9935)
3833 Reported by Colin D Bennett <colin@gibibit.com>.
3834
4ee88440
MR
38352011-11-01 Martin Rudalics <rudalics@gmx.at>
3836
3837 * help.el (with-help-window): Don't reference
3838 temp-buffer-show-specifiers in doc-string.
3839
08e1d82c
AS
38402011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3841
3842 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3843 menu-item.
3844
84bd6e9e
VJL
38452011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3846
3847 * whitespace.el: New version 13.2.2.
3848 (whitespace-newline-mode): Disable properly. Reported by Sarah
3849 <EmacsWiki>.
3850
dba0634a
UJ
38512011-10-30 Ulf Jasper <ulf.jasper@web.de>
3852
3853 * net/newst-treeview.el: Remove "Time-stamp".
3854 (newsticker--group-manage-orphan-feeds): Do not call
3855 newsticker--treeview-tree-update.
db22a3c2
JB
3856 (newsticker-treeview-update, newsticker-treeview):
3857 Call newsticker--treeview-tree-update if necessary.
dba0634a 3858
3d8daefe
MR
38592011-10-30 Martin Rudalics <rudalics@gmx.at>
3860
3861 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
3862 (window-iso-combinations): Remove "iso-" infix.
3863 Suggested by Chong Yidong.
3d8daefe
MR
3864 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3865 (window-max-delta-1, window-resize, window--resize-siblings)
3866 (window--resize-this-window, adjust-window-trailing-edge)
3867 (split-window, balance-windows-1)
3868 (shrink-window-if-larger-than-buffer):
3869 * calendar/calendar.el (calendar-generate-window):
db22a3c2 3870 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 3871
1bc4c3ae
SM
38722011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3873
3874 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3875 in place (bug#9907).
3876 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3877 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3878 (eshell-structure-basic-command, eshell-rewrite-while-command)
3879 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3880 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3881 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3882 (eshell-do-pipelines-synchronously, eshell-eval-command):
3883 Use backquotes and prefer setq to set.
3884 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3885 (eshell-macrop): Use functionp.
c1e2f5fa 3886 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 3887
30b65d9c
CY
38882011-10-30 Chong Yidong <cyd@gnu.org>
3889
3890 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3891 instead of set-mark (Bug#9810).
3892
2d197ffb
CY
38932011-10-30 Chong Yidong <cyd@gnu.org>
3894
3895 * window.el (split-window-below, split-window-right): Rename from
3896 split-window-above-each-other and split-window-side-by-side
3897 respectively. All callers changed.
3898 (split-window-sensibly, split-window-sensibly): Use them.
3899 (split-window-keep-point): Doc fix.
3900
3901 * isearch.el: Add isearch-scroll property to split-window-below
3902 and split-window-right.
3903
3904 * follow.el (follow-mode):
3905 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3906 * progmodes/ada-xref.el (ada-gdb-application):
3907 * emulation/vip.el (vip-buffer-in-two-windows):
3908 * image-dired.el (image-dired-dired-with-window-configuration):
3909 * dired-x.el (dired-do-find-marked-files):
3910 * dired.el (dired-pop-to-buffer):
3911 * bs.el (bs--show-with-configuration):
3912 * vc/emerge.el (emerge-setup-windows):
3913 * textmodes/two-column.el (2C-two-columns):
3914 * textmodes/reftex-toc.el (reftex-toc):
3915 * progmodes/gdb-mi.el (gdb-setup-windows):
3916 * progmodes/fortran.el (fortran-window-create):
3917 * net/newst-treeview.el (newsticker--treeview-window-init):
3918 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3919 * emulation/tpu-edt.el (tpu-gold-map):
3920 * emulation/crisp.el (crisp-mode-map):
3921 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3922
38bb2ca8
CY
39232011-10-29 Chong Yidong <cyd@gnu.org>
3924
aa4de341
CY
3925 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3926
e1eb5385
CY
3927 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3928
5d2ece3c
CY
3929 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3930 forged Ispell output (Bug#7904).
3931
38bb2ca8
CY
3932 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3933
d0af9f77
SM
39342011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3935
3936 * doc-view.el: Avoid ugly errors about not finding nil.
3937 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3938 (doc-view-dvipdf-program, doc-view-unoconv-program)
3939 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3940 Avoid nil or absolute file name as default value.
3941 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3942
52bedd34
AM
39432011-10-28 Alan Mackenzie <acm@muc.de>
3944
db22a3c2 3945 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 3946
7e43cfa5
AM
39472011-10-28 Alan Mackenzie <acm@muc.de>
3948
3949 Amend the handling of c-beginning/end-of-defun in nested declaration
3950 scopes.
3951
52bedd34
AM
3952 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3953 cc-langs.el. Change it to a defcustom.
7e43cfa5 3954
52bedd34
AM
3955 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3956 cc-vars.el.
7e43cfa5 3957
d0af9f77
SM
3958 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3959 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 3960
52bedd34 3961 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 3962 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
3963 (c-widen-to-enclosing-decl-scope): New function.
3964 (c-while-widening-to-decl-block): New macro.
3965 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3966 outward for defun boundaries, and correspondingly change symbol
3967 `respect-enclosure' to `go-outward'.
3968 (c-declaration-limits): Change algorithm to report only the "innermost"
3969 defun's boundaries.
3970
1a2ce9ee
DD
39712011-10-28 Deniz Dogan <deniz@dogan.se>
3972
3973 * net/rcirc.el (rcirc-mode): Use hard newlines.
3974
bc97a826
AM
39752011-10-28 Alan Mackenzie <acm@muc.de>
3976
3977 Amend to indent and fontify macros "which include their own semicolon"
3978 correctly, using the "virtual semicolon" mechanism.
3979
52bedd34 3980 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 3981
d0af9f77 3982 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 3983 Recode to scan one line at a time rather than having \n and \r
58179cce 3984 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 3985 (c-forward-label): Amend for virtual semicolons.
58179cce 3986 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 3987
52bedd34
AM
3988 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3989 of the new C macros.
bc97a826 3990
52bedd34 3991 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
3992 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3993 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
3994 (c-opt-cpp-macro-define): Make into a full language variable.
3995 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3996 AWK Mode (including \n, \r) removed, no longer needed.
3997
d0af9f77
SM
3998 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3999 Invoke c-make-macro-with-semi-re.
bc97a826 4000
52bedd34
AM
4001 * progmodes/cc-vars.el (c-macro-with-semi-re):
4002 (c-macro-names-with-semicolon): New variables.
58179cce 4003 (c-make-macro-with-semi-re): New function.
bc97a826 4004
7a6c0941
SM
40052011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4006
4007 * vc/log-edit.el: Fill empty field rather than adding new one.
4008 (log-edit-add-field): New function.
4009 (log-edit-insert-changelog): Use it.
4010
b0c4cdcf
ML
40112011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4012
4013 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4014
ee1f1da9
SM
40152011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4016
4017 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4018 (gdb--check-interpreter): New function.
4019 (gdb): Use it.
4020
51bc5f8b
GM
40212011-10-27 Glenn Morris <rgm@gnu.org>
4022
416a2c45
GM
4023 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4024 (least-positive-float, least-negative-float)
4025 (least-positive-normalized-float, least-negative-normalized-float)
4026 (float-epsilon, float-negative-epsilon):
4027 Remove unnecessary declarations.
4028
4029 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4030 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4031 (least-positive-float, least-negative-float)
4032 (least-positive-normalized-float, least-negative-normalized-float)
4033 (float-epsilon, float-negative-epsilon): Add doc-strings,
4034 based on those in cl.texi.
4035
51bc5f8b
GM
4036 * files.el (set-visited-file-name): If the major-mode changed,
4037 reload the local variables. (Bug#9796)
4038
15de15c6
CY
40392011-10-27 Chong Yidong <cyd@gnu.org>
4040
4041 * subr.el (change-major-mode-after-body-hook): New hook.
4042 (run-mode-hooks): Run it.
4043
ee1f1da9
SM
4044 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4045 Use change-major-mode-before-body-hook.
15de15c6
CY
4046
4047 * simple.el (fundamental-mode):
4048 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4049 change introducing fundamental-mode-hook.
4050
5430d399
JB
40512011-10-26 Juanma Barranquero <lekktu@gmail.com>
4052
acc825c5 4053 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 4054
ad74a69e
MA
40552011-10-26 Michael Albinus <michael.albinus@gmx.de>
4056
4057 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 4058 tramp.el explicitly. (Bug#7583)
ad74a69e 4059
71d4c2a5
SM
40602011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4061
4062 * progmodes/octave-mod.el:
4063 * progmodes/octave-inf.el: Update maintainer.
4064
b1f6fa26
CY
40652011-10-26 Chong Yidong <cyd@gnu.org>
4066
4067 * subr.el (with-wrapper-hook): Rewrite doc.
4068
3f04efd6
MA
40692011-10-25 Michael Albinus <michael.albinus@gmx.de>
4070
4071 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 4072 filenames "/method:foo:". (Bug#9793)
3f04efd6 4073
410488d3
SM
40742011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4075
4076 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4077 (bug#9865).
4078
c1ebb47e
GM
40792011-10-24 Glenn Morris <rgm@gnu.org>
4080
4081 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4082
7f5c46c7
MA
40832011-10-24 Michael Albinus <michael.albinus@gmx.de>
4084
4085 * notifications.el: Add the requirement of a running D-Bus session
4086 bus to the Commentary.
4087
db2440b6
JL
40882011-10-24 Juri Linkov <juri@jurta.org>
4089
4090 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4091 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4092 (Bug#9364)
4093
feecf435
JL
40942011-10-24 Juri Linkov <juri@jurta.org>
4095
4096 * info.el (Info-following-node-name-re): Add newline to the list
4097 of allowed characters for leading space. (Bug#9824)
4098
a3839de2
SM
40992011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4100
acc825c5
SM
4101 * progmodes/octave-inf.el (inferior-octave-mode-map):
4102 Fix C-c C-h binding.
a3839de2
SM
4103 * progmodes/octave-mod.el (octave-help): Remove.
4104
09388e76
MA
41052011-10-23 Michael Albinus <michael.albinus@gmx.de>
4106
4107 Sync with Tramp 2.2.3.
4108
4109 * net/tramp-cache.el (top): Pacify byte-compiler using
4110 `init-file-user' and `site-run-file'.
4111
4112 * net/trampver.el: Update release number.
4113
86c60681
CY
41142011-10-23 Chong Yidong <cyd@gnu.org>
4115
4116 * files.el (toggle-read-only): Remove obsolete comment about
4117 version control.
4118
4119 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4120 for toggle-read-only. Note that this hasn't called vc-next-action
4121 since 2008-05-02, though it wasn't documented at the time.
4122
a3839de2
SM
4123 * vc/ediff-init.el (ediff-toggle-read-only-function):
4124 Use toggle-read-only.
86c60681 4125
cd5495ff
AM
41262011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4127
4128 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4129 of c-parse-state.
4130
00b77525 4131 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 4132 correct faulty logical expression.
cd5495ff
AM
4133 (c-parse-state-state, c-record-parse-state-state):
4134 (c-replay-parse-state-state): New defvar/defuns.
4135 (c-debug-parse-state): Use new functions.
4136
42ee24ed
MR
41372011-10-22 Martin Rudalics <rudalics@gmx.at>
4138
4139 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 4140 last fix. Use window-in-direction correctly.
42ee24ed 4141
a7dee7e7
CY
41422011-10-21 Chong Yidong <cyd@gnu.org>
4143
4144 * progmodes/idlwave.el (idlwave-mode):
4145 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
4146 require-final-newline; that's done in prog-mode.
4147 Suggested by Stefan Monnier.
a7dee7e7 4148
e07b9a6d
MR
41492011-10-21 Martin Rudalics <rudalics@gmx.at>
4150
4151 * mouse.el (mouse-drag-window-above)
4152 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4153 (mouse-drag-mode-line-1, mouse-drag-header-line)
4154 (mouse-drag-vertical-line-rightward-window): Remove.
4155 (mouse-drag-line): New function.
4156 (mouse-drag-mode-line, mouse-drag-header-line)
4157 (mouse-drag-vertical-line): Call mouse-drag-line.
4158 * window.el (window-at-side-p, windows-at-side): New functions.
4159
7e1361d9
UM
41602011-10-21 Ulrich Mueller <ulm@gentoo.org>
4161
4162 * tar-mode.el (tar-grind-file-mode):
4163 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4164
30fcaf3a
CY
41652011-10-21 Chong Yidong <cyd@gnu.org>
4166
4167 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
4168 * progmodes/vera-mode.el (vera-mode):
4169 Use mode-require-final-newline.
30fcaf3a 4170
516eddb0
GM
41712011-10-20 Glenn Morris <rgm@gnu.org>
4172
db22a3c2 4173 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 4174
10d5f513
CS
41752011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
4176
4177 * emulation/cua-base.el (cua-set-mark): Fix case of string.
4178
ac6c8639
CY
41792011-10-20 Chong Yidong <cyd@gnu.org>
4180
4181 * emulation/cua-base.el (cua-mode):
4182 * mail/footnote.el (footnote-mode):
4183 * mail/mailabbrev.el (mail-abbrevs-mode):
4184 * net/xesam.el (xesam-minor-mode):
4185 * progmodes/bug-reference.el (bug-reference-mode):
4186 * progmodes/cap-words.el (capitalized-words-mode):
4187 * progmodes/compile.el (compilation-minor-mode)
4188 (compilation-shell-minor-mode):
4189 * progmodes/gud.el (gud-tooltip-mode):
4190 * progmodes/hideif.el (hide-ifdef-mode):
4191 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4192 * progmodes/subword.el (subword-mode):
4193 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4194 * progmodes/which-func.el (which-function-mode):
4195 * term/tvi970.el (tvi970-set-keypad-mode):
4196 * term/vt100.el (vt100-wide-mode):
4197 * textmodes/flyspell.el (flyspell-mode):
4198 * textmodes/ispell.el (ispell-minor-mode):
4199 * textmodes/nroff-mode.el (nroff-electric-mode):
4200 * textmodes/paragraphs.el (use-hard-newlines):
4201 * textmodes/refill.el (refill-mode):
4202 * textmodes/reftex.el (reftex-mode):
4203 * textmodes/rst.el (rst-minor-mode):
4204 * textmodes/sgml-mode.el (html-autoview-mode)
4205 (sgml-electric-tag-pair-mode):
4206 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4207 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4208 * emulation/crisp.el (crisp-mode):
4209 * emacs-lisp/eldoc.el (eldoc-mode):
4210 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4211 minor mode behavior.
4212
aa42ab43
JL
42132011-10-19 Juri Linkov <juri@jurta.org>
4214
4215 * descr-text.el (describe-char): Add #x2010 and #x2011 to
4216 the list of hard-coded chars with escape-glyph face.
4217
89400f1d
SM
42182011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4219
4220 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4221
305c07f6
MA
42222011-10-19 Michael Albinus <michael.albinus@gmx.de>
4223
4224 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4225 running process.
4226
13754b54
GM
42272011-10-19 Glenn Morris <rgm@gnu.org>
4228
4229 * vc/vc-bzr.el (vc-bzr-after-dir-status):
4230 Ignore ignored files. (Bug#9726)
4231
06e21633
CY
42322011-10-19 Chong Yidong <cyd@gnu.org>
4233
4234 Doc fix for minor modes, stating that an omitted argument enables
4235 the mode unconditionally when called from Lisp.
4236
4237 * abbrev.el (abbrev-mode):
4238 * allout.el (allout-mode):
4239 * autoinsert.el (auto-insert-mode):
4240 * autoarg.el (autoarg-mode, autoarg-kp-mode):
4241 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4242 (global-auto-revert-mode):
4243 * battery.el (display-battery-mode):
4244 * composite.el (global-auto-composition-mode)
4245 (auto-composition-mode):
4246 * delsel.el (delete-selection-mode):
4247 * desktop.el (desktop-save-mode):
4248 * dired-x.el (dired-omit-mode):
4249 * dirtrack.el (dirtrack-mode):
4250 * doc-view.el (doc-view-minor-mode):
4251 * double.el (double-mode):
4252 * electric.el (electric-indent-mode, electric-pair-mode):
4253 * emacs-lock.el (emacs-lock-mode):
4254 * epa-hook.el (auto-encryption-mode):
4255 * follow.el (follow-mode):
4256 * font-core.el (font-lock-mode):
4257 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4258 * help.el (temp-buffer-resize-mode):
4259 * hilit-chg.el (highlight-changes-mode)
4260 (highlight-changes-visible-mode):
4261 * hi-lock.el (hi-lock-mode):
4262 * hl-line.el (hl-line-mode, global-hl-line-mode):
4263 * icomplete.el (icomplete-mode):
4264 * ido.el (ido-everywhere):
4265 * image-file.el (auto-image-file-mode):
4266 * image-mode.el (image-minor-mode):
4267 * iswitchb.el (iswitchb-mode):
4268 * jka-cmpr-hook.el (auto-compression-mode):
4269 * linum.el (linum-mode):
4270 * longlines.el (longlines-mode):
4271 * master.el (master-mode):
4272 * mb-depth.el (minibuffer-depth-indicate-mode):
4273 * menu-bar.el (menu-bar-mode):
4274 * minibuf-eldef.el (minibuffer-electric-default-mode):
4275 * mouse-sel.el (mouse-sel-mode):
4276 * msb.el (msb-mode):
4277 * mwheel.el (mouse-wheel-mode):
4278 * outline.el (outline-minor-mode):
4279 * paren.el (show-paren-mode):
4280 * recentf.el (recentf-mode):
4281 * reveal.el (reveal-mode, global-reveal-mode):
4282 * rfn-eshadow.el (file-name-shadow-mode):
4283 * ruler-mode.el (ruler-mode):
4284 * savehist.el (savehist-mode):
4285 * scroll-all.el (scroll-all-mode):
4286 * scroll-bar.el (scroll-bar-mode):
4287 * server.el (server-mode):
4288 * shell.el (shell-dirtrack-mode):
4289 * simple.el (auto-fill-mode, transient-mark-mode)
4290 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4291 (line-number-mode, column-number-mode, size-indication-mode)
4292 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4293 * strokes.el (strokes-mode):
4294 * time.el (display-time-mode):
4295 * t-mouse.el (gpm-mouse-mode):
4296 * tool-bar.el (tool-bar-mode):
4297 * tooltip.el (tooltip-mode):
4298 * type-break.el (type-break-mode-line-message-mode)
4299 (type-break-query-mode):
4300 * view.el (view-mode):
4301 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4302 (global-whitespace-mode, global-whitespace-newline-mode):
4303 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4304
a3839de2
SM
4305 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4306 Fix autogenerated docstring.
06e21633 4307
5214e501
JL
43082011-10-19 Juri Linkov <juri@jurta.org>
4309
4310 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4311 by checking environment variables "DESKTOP_SESSION" and
4312 "XDG_CURRENT_DESKTOP". (Bug#9779)
4313
195f8db9
JL
43142011-10-19 Juri Linkov <juri@jurta.org>
4315
4316 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4317 (browse-url-chromium-program, browse-url-chromium-arguments):
4318 New defcustoms.
4319 (browse-url-default-browser): Check for `browse-url-chromium' and
4320 call `browse-url-chromium-program'.
4321 (browse-url-chromium): New command. (Bug#9779)
4322
343a34ff
JB
43232011-10-18 Juanma Barranquero <lekktu@gmail.com>
4324
4325 * facemenu.el (list-colors-duplicates): On Windows, detect more
4326 duplicates by assuming that only colors matching "^System" are
4327 special "system colors". (Bug#9722)
4328
6978a151
SM
43292011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4330
4331 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4332 to distinguish the author from the committer.
4333
6a80b297
MA
43342011-10-18 Michael Albinus <michael.albinus@gmx.de>
4335
4336 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4337
b31a5677
JK
43382011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
4339
4340 * international/mule.el (sgml-html-meta-auto-coding-function):
4341 Add support for detecting encoding in HTML5 specified only as
4342 <meta charset="UTF-8">. Implementation just makes http-equiv and
4343 content-type parts from HTML4 encoding string optional. (Bug#9716)
4344
80c6d77f
GM
43452011-10-18 Glenn Morris <rgm@gnu.org>
4346
4347 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
4348
08b0fee8
CY
43492011-10-18 Chong Yidong <cyd@gnu.org>
4350
4351 * faces.el (cursor): Doc fix.
4352
67e729a5
CY
43532011-10-17 Chong Yidong <cyd@gnu.org>
4354
4355 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4356
343a34ff 43572011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
4358
4359 * dirtrack.el (dirtrack): Support shell buffers with path
4360 prefixes, e.g. tramp-based remote shells. (Bug#9647)
4361
0bc06380
TZ
43622011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
4363
4364 * json.el: Bump version to 1.3 and note change in History.
4365 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4366
8b79f3e0
SM
43672011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4368
5a7c536b
SM
4369 * comint.el (comint-insert-input, comint-send-input)
4370 (comint-get-old-input-default, comint-backward-matching-input)
4371 (comint-next-prompt): Use nil instead of `input' for field property of
4372 past user input (bug#114).
4373
96a8a0df
SM
4374 * minibuffer.el (completion--replace): Inherit surrounding properties
4375 (bug#114).
4376 (minibuffer-complete-and-exit): Use it.
4377
8b79f3e0
SM
4378 * comint.el (comint--table-subvert): Quote the all-completions output
4379 (bug#9160).
4380
b8f7ff0d
MR
43812011-10-17 Martin Rudalics <rudalics@gmx.at>
4382
8b79f3e0 4383 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 4384
b8f7ff0d 4385 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 4386 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
4387 entries and separate them from frame entries.
4388
c235b555
GM
43892011-10-15 Glenn Morris <rgm@gnu.org>
4390
4391 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4392 Doc fixes.
4393
6bbfa6e1
CY
43942011-10-15 Chong Yidong <cyd@stupidchicken.com>
4395
8b79f3e0
SM
4396 * net/network-stream.el (network-stream-open-starttls):
4397 Improve detection of failure due to lack of TLS support.
ec5c990d 4398
6bbfa6e1
CY
4399 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4400 putting the input text in front and in bold.
4401
98488977
SM
44022011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4403
3d1337be
SM
4404 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4405
ee0b45e4
SM
4406 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4407 empty buffer.
4408
98488977
SM
4409 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4410 unread-command-events rather than pushing yet-another event.
4411
186f4720
EZ
44122011-10-14 Eli Zaretskii <eliz@gnu.org>
4413
4414 * mail/sendmail.el (sendmail-query-once): Improve the wording of
4415 the explanation of the possible choices. Make the options passed
4416 to completing-read shorter.
4417
8b7a997c
AM
44182011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4419
4420 * textmodes/flyspell.el (flyspell-large-region): Make sure
4421 extended character mode is used if defined (Bug#1339).
4422
12587bbb
EZ
44232011-10-13 Eli Zaretskii <eliz@gnu.org>
4424
4425 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
4426 character info for LRE, LRO, RLE, and RLO characters by appending
4427 an invisible PDF.
12587bbb 4428
bad41229
SM
44292011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
4430
4431 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4432 even in case of error; add debug spec; simplify data flow.
4433 (with-timeout-handler): Remove.
4434
28dbc92f
MA
44352011-10-12 Michael Albinus <michael.albinus@gmx.de>
4436
4437 Fix Bug#6019, Bug#9315.
4438
4439 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4440 complete `buffer-file-name', the local file name part could look
4441 remotely (for example on VMS).
4442
4443 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4444 `tramp-run-real-handler'.
4445 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4446 already quoted by '"'.
4447
4448 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4449 Let `file-name-handler-alist' be nil, the local file name part
4450 could look remotely (for example on VMS).
4451
e1b0b23a
SM
44522011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4453
4454 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4455 from here...
4456 (flyspell-post-command-hook): ...to here.
4457
a120bde9
SM
44582011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4459
4460 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4461 if not needed.
4462 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
4463 using completion. Protect against "slow" callers.
4464 Remove the "message hack".
4465
7ce7717b
JL
44662011-10-11 Juri Linkov <juri@jurta.org>
4467
4468 * isearch.el (isearch-lazy-highlight-word): New variable.
4469 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4470 Use it. (Bug#9727)
4471
c02ee9d6
GM
44722011-10-11 Glenn Morris <rgm@gnu.org>
4473
4474 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4475 like f90-previous-statement does.
4476
93e616fd 44772011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4478
1f190e73 4479 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
4480 only in interactive use, to avoid error.
4481
af7b6078
SM
44822011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4483
4484 * minibuffer.el (completion-file-name-table): Fix last change,
4485 i.e. ignore normal errors but not the other ones.
4486
0563dae9
MR
44872011-10-10 Martin Rudalics <rudalics@gmx.at>
4488
4489 * window.el (special-display-buffer-names)
4490 (special-display-regexps): Remove some remnants of earlier
4491 changes from doc-strings.
366ca7f3
MR
4492 (quit-windows-on): New function.
4493
4494 * vc/vc.el (vc-revert, vc-rollback):
4495 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4496 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 4497 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 4498
49677495
MR
44992011-10-09 Martin Rudalics <rudalics@gmx.at>
4500
4501 * window.el (frame-auto-hide-function): Add version tag.
4502 (Bug#9699)
4503
56f2d1e1
MA
45042011-10-09 Michael Albinus <michael.albinus@gmx.de>
4505
4506 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4507 condition.
4508
112a6592
LL
45092011-10-09 Leo Liu <sdl.web@gmail.com>
4510
4511 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4512 (Bug#9701)
4513
0812589b
GM
45142011-10-08 Glenn Morris <rgm@gnu.org>
4515
4516 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4517 before the first code statement zero indent. (Bug#9690)
4518
b2b0776e
CY
45192011-10-08 Chong Yidong <cyd@stupidchicken.com>
4520
4521 * simple.el (count-words-region): Always count in the region.
4522 Report the number of lines and characters too.
4523 (count-words): New command, which counts in the buffer if the
4524 region is inactive, as count-words-region used to.
4525 (count-words--message): New function. Handle plurals.
4526 (count-lines-region): Make it an alias for count-words-region.
4527
4528 * bindings.el (esc-map): Replace count-lines-region with
4529 count-words-region.
4530
c557cd6b
MR
45312011-10-08 Martin Rudalics <rudalics@gmx.at>
4532
4533 * window.el (window--delete): Delete dedicated frame
4534 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 4535 (switch-to-buffer): Fix doc-string typo.
c557cd6b 4536
61a57ef4 45372011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4538
3a7d293b 4539 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 4540
c3833279
CY
45412011-10-07 Chong Yidong <cyd@stupidchicken.com>
4542
4543 * bindings.el ([M-left],[M-right]): Bind to left-word and
4544 right-word respectively.
4545
21ce8245
GM
45462011-10-07 Glenn Morris <rgm@gnu.org>
4547
4548 * cus-start.el (debug-on-quit): Fix custom type.
4549
6d823bb2
LMI
45502011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4551
0181e193
LMI
4552 * subr.el (define-key-after): Clarify that the function is not
4553 useful for non-menu keymaps.
4554
6d823bb2
LMI
4555 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4556
8e3459ce 45572011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4558
21ce8245 4559 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 4560 in current minibuffer (Fix bug with recursive minibuffers).
4561
a1c2d21e
CY
45622011-10-06 Chong Yidong <cyd@stupidchicken.com>
4563
4564 * progmodes/gdb-mi.el (gdb): Doc fix.
4565
5a4cf282
MR
45662011-10-05 Martin Rudalics <rudalics@gmx.at>
4567
4568 * window.el (frame-auto-hide-function): New option replacing
4569 frame-auto-delete. Suggested by Stefan Monnier.
4570 (window--delete): Call frame-auto-hide-function instead of
4571 investigating frame-auto-delete.
c96111ea
MR
4572 (window-point-1, set-window-point-1): New functions.
4573 (window-in-direction, record-window-buffer, window-state-get-1)
4574 (display-buffer-record-window): Use window-point-1 instead of
4575 window-point.
4576 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 4577
9854542e
SM
45782011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4579
4580 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4581
8943cfb0
GM
45822011-10-05 Glenn Morris <rgm@gnu.org>
4583
4584 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4585 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
4586
647ab967
LL
45872011-10-05 Leo Liu <sdl.web@gmail.com>
4588
4589 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4590 works with buffer object.
4591
3ddfbced
SM
45922011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4593
4594 * mpc.el (mpc-tool-bar-map): Add labels.
4595
bdfa5dd2
GM
45962011-10-04 Glenn Morris <rgm@gnu.org>
4597
4598 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4599
0e2070b5
MR
46002011-10-04 Martin Rudalics <rudalics@gmx.at>
4601
4602 * window.el (window--delete): New function.
4603 (frame-auto-delete): Resuscitate option.
4604 (bury-buffer, replace-buffer-in-windows)
4605 (quit-window): Rewrite using window--delete.
4606 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4607 Pass display-buffer-mark-dedicated to window--display-buffer-2
4608 (Bug#9639).
4609
3dc61a09
SM
46102011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4611
915a9b64
SM
4612 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4613 returns a list (bug#9554). Add remote file name completion.
4614 * comint.el (comint--table-subvert): Curry and get quote&unquote
4615 functions as arguments.
4616 (comint--complete-file-name-data): Adjust call accordingly.
4617 * pcomplete.el (pcomplete--table-subvert): Remove.
4618 (pcomplete-completions-at-point): Use comint--table-subvert instead.
4619
3dc61a09
SM
4620 * minibuffer.el (completion-table-case-fold): Use currying.
4621 (completion--styles-type, completion--cycling-threshold-type):
4622 New constants.
4623 (completion-styles, completion-category-overrides)
4624 (completion-cycle-threshold): Use them.
4625 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4626 completion-table-case-fold.
4627
8ea0a993
SB
46282011-10-03 Stephen Berman <stephen.berman@gmx.net>
4629
4630 * minibuffer.el (completion-category-overrides): Fix type of styles
4631 and add more user friendly tags (bug#9660).
4632
8c24b7f6
SM
46332011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4634
4635 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4636 (mule-input-method-string): New widget.
4637 (default-input-method, language-info-custom-alist): Use it.
4638
428fe61a
SM
46392011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4640
32c1fffd
SM
4641 * pcomplete.el: Require comint.
4642 (pcomplete--common-suffix): Remove.
4643 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4644 (pcomplete--table-subvert): Sync with comint--table-subvert.
4645 (pcomplete--entries): Use comint-completion-file-name-table.
4646 * comint.el (comint-unquote-filename): Simplify.
4647 (comint-completion-file-name-table): New function (bug#9616).
4648 (comint--complete-file-name-data): Use it.
4649
428fe61a
SM
4650 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4651 (pcmpl-gnu-tar-buffer): Remove.
4652 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
4653 around. Make sure pcomplete-suffix-list is only changed temporarily.
4654 Don't look inside the tar's file if it's too large.
428fe61a 4655
04c52e2f
CY
46562011-10-01 Chong Yidong <cyd@stupidchicken.com>
4657
ce3cefcc
CY
4658 * cus-edit.el (custom-mode-map):
4659 * epa.el (epa-key-list-mode-map):
4660 * man.el (Man-mode-map):
4661 * startup.el (splash-screen-keymap):
4662 * simple.el (special-mode-map): Use scroll-up-command and
4663 scroll-down-command.
4664
4665 * progmodes/idlw-help.el (idlwave-help-mode-map):
4666 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4667 * net/newst-plainview.el (newsticker-mode-map):
4668 * emulation/ws-mode.el (wordstar-mode-map):
4669 * emulation/vi.el (vi-com-map):
4670 * calc/calc-graph.el (calc-graph-show-dumb):
4671 * term/sun.el (terminal-init-sun):
4672 * term/ns-win.el (global-map):
4673 * progmodes/grep.el (grep-mode-map):
4674 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4675 * mail/rmail.el (rmail-mode-map):
4676 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4677
04c52e2f
CY
4678 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4679 custom-safe-themes as special.
4680
79adf8c8
JD
46812011-10-01 Julien Danjou <julien@danjou.info>
4682
4683 * notifications.el (notifications-notify): Fix docstring.
4684
63bd50d3
PS
46852011-10-01 Per Starbäck <per@starback.se>
4686
4687 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4688
199e4c7e
MR
46892011-09-30 Martin Rudalics <rudalics@gmx.at>
4690
4691 * startup.el (command-line-1): Fix last fix by inserting
4692 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 4693 (Bug#9605) and (Bug#9636)
199e4c7e 4694
fe5f08dd
EZ
46952011-09-29 Eli Zaretskii <eliz@gnu.org>
4696
4697 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4698 window is hscrolled, move by logical lines. (Bug#9607)
4699 (line-move-visual): Update the doc string to the above effect.
4700
b5516bbd
MR
47012011-09-29 Martin Rudalics <rudalics@gmx.at>
4702
ccee00c0
MR
4703 * window.el (display-buffer-record-window): When WINDOW is the
4704 selected window use `point' instead of `window-point'. (Bug#9626)
4705
b5516bbd
MR
4706 * startup.el (command-line-1): Use insert-before-markers when
4707 inserting initial-scratch-message. (Bug#9605)
ccee00c0 4708
b5516bbd
MR
4709 * help.el (help-window): Remove variable.
4710
52aa0014
GM
47112011-09-29 Glenn Morris <rgm@gnu.org>
4712
4713 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4714
df9a7357
JB
47152011-09-29 Juanma Barranquero <lekktu@gmail.com>
4716
4717 * descr-text.el (describe-char-categories): Accept category
4718 descriptions more than one line long.
4719
a8406c20
SM
47202011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4721
88d9610c
SM
4722 * simple.el (delete-trailing-whitespace): Fix last change.
4723
a5daf810
SM
4724 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4725 Don't confuse "y => 3" as the beginning of a `y' operation.
4726
a8406c20
SM
4727 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4728 object has more than 4 slots (bug#9613).
4729
a239d4e9
JB
47302011-09-28 Juanma Barranquero <lekktu@gmail.com>
4731
4732 * subr.el (with-output-to-temp-buffer):
4733 * net/quickurl.el (quickurl, quickurl-browse-url):
4734 Fix typos in docstrings.
4735
693fbdb6
EZ
47362011-09-27 Eli Zaretskii <eliz@gnu.org>
4737
4738 * minibuffer.el (completion-styles)
4739 (completion-category-overrides): Cross reference each other in doc
4740 strings.
4741
8b457e28
GM
47422011-09-27 Glenn Morris <rgm@gnu.org>
4743
4744 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4745 to split-string. (Bug#9606)
4746
85a16208
LMI
47472011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4748
4749 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4750 (bug#9615).
4751
502f9ebd
CY
47522011-09-27 Chong Yidong <cyd@stupidchicken.com>
4753
4754 * emacs-lisp/package.el (list-packages): Fix echo area message.
4755
7690bdea
LL
47562011-09-27 Leo Liu <sdl.web@gmail.com>
4757
4758 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4759
e2ee6f30
MA
47602011-09-25 Michael Albinus <michael.albinus@gmx.de>
4761
4762 * net/dbus.el (dbus-unregister-object): Don't release services for
4763 registered signals. (Bug#9581)
4764
f3f98342
TZ
47652011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4766
4767 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4768 function that picks between cfengine 2 and 3 support
4769 automatically. Update docs accordingly.
4770
dd7aa8dd
KH
47712011-09-22 Kenichi Handa <handa@m17n.org>
4772
4773 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4774 ZERO.
4775 (indian-itrans-v5-table-for-tamil): New variable.
4776 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4777
3f2b07f8
KM
47782011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4779
4780 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4781 that's true if the current command involved collapsing of text.
4782 It's reset to false at the beginning of the next command.
4783 (allout-post-command-business): Move the cursor to the beginning
4784 of entry if the cursor is hidden and collapsing activity just
4785 happened.
4786
371d6a61
CY
47872011-09-24 Chong Yidong <cyd@stupidchicken.com>
4788
4789 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4790 tracking (Bug#9541).
4791
2ac2721a
UJ
47922011-09-24 Ulf Jasper <ulf.jasper@web.de>
4793
4794 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
4795 (newsticker-show-news): Automatically load html rendering package
4796 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4797 because w3m-fill-column is let-bound" and the error "Symbol's value
4798 as variable is void: w3m-fill-column".
2ac2721a 4799
fac7ae53
MA
48002011-09-24 Michael Albinus <michael.albinus@gmx.de>
4801
4802 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4803 Release services only if they are defined. (Bug#9581)
4804
e08b633b
RS
48052011-09-23 Richard Stallman <rms@gnu.org>
4806
e488d29c
RS
4807 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4808 distinguish start of paragraph from start of its text.
4809
19c38752
RS
4810 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4811
e08b633b
RS
4812 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4813 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4814 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4815
0a39f27e
AS
48162011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4817
4818 * international/mule-diag.el (mule-diag): Insert a newline after
4819 each fontset description.
4820
db4e950d
SM
48212011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4822
4823 * simple.el (delete-trailing-whitespace):
4824 Document last change; simplify.
4825
eca3f3ea
PW
48262011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4827
d68e189a
PW
4828 * simple.el (delete-trailing-whitespace): Also delete
4829 extra newlines at the end of the buffer.
4830
eca3f3ea
PW
4831 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4832 (picture-newline): Use forward-line so as to ignore fields.
4833
01c157cc
SM
48342011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4835
4836 * subr.el (with-wrapper-hook): Fix edebug spec.
4837
022de23e
LMI
48382011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4839
4840 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4841 (bug#4538).
4842
91683089
MA
48432011-09-23 Michael Albinus <michael.albinus@gmx.de>
4844
eca3f3ea
PW
4845 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4846 Fix nasty bug using wrong cached values.
91683089 4847
5bdd6fa4
AM
48482011-09-23 Alan Mackenzie <acm@muc.de>
4849
4850 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4851
97adfb97
CY
48522011-09-23 Chong Yidong <cyd@stupidchicken.com>
4853
4854 * window.el (pop-to-buffer): Ensure right window is selected if we
4855 chose another frame.
4856
d4ef2b50
EZ
48572011-09-22 Eli Zaretskii <eliz@gnu.org>
4858
4859 * simple.el (what-cursor-position): Use get-char-property-change
4860 and next-single-char-property-change, to be able to show display
4861 properties that come from overlays as well as text properties.
4862
72258fe5
CY
48632011-09-22 Chong Yidong <cyd@stupidchicken.com>
4864
4865 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4866
4867 * cmuscheme.el (run-scheme, switch-to-scheme):
4868 * cus-edit.el (customize-group, custom-buffer-create)
4869 (customize-browse):
4870 * info.el (info):
4871 * shell.el (shell):
4872 * mail/sendmail.el (mail):
4873 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4874
8f098516
RS
48752011-09-22 Richard Stallman <rms@gnu.org>
4876
4877 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4878 move back only to line beg, don't move back over blank lines.
4879
e74f1bb6
MA
48802011-09-22 Michael Albinus <michael.albinus@gmx.de>
4881
4882 * files.el (copy-directory): Set directory attributes only in case
4883 they could be retrieved from the source directory. (Bug#9565)
4884
bfeef8b6
DK
48852011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4886
4887 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4888 (hs-find-block-beginning, hs-hide-level-recursive):
4889 Ignore strings as well as comments. (Bug#9502)
4890
7e423bb8
AS
48912011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4892
4893 * progmodes/sql.el (sql-comint-postgres):
4894 Convert port number to a string. (Bug#9566)
4895
b4d72fcf
MR
48962011-09-22 Martin Rudalics <rudalics@gmx.at>
4897
4898 * window.el (quit-window): Undedicate window when switching to
4899 previous buffer. Reported by Thierry Volpiatto
4900 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
4901 (special-display-popup-frame): When popping up a new frame reset
4902 its previous buffers to nil. Simplify code.
b4d72fcf 4903
a7b88dc6
MA
49042011-09-21 Michael Albinus <michael.albinus@gmx.de>
4905
4906 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4907 and process filter, as done also in `shell-command'.
4908
cf4eacfd
MR
49092011-09-21 Martin Rudalics <rudalics@gmx.at>
4910
eca3f3ea 4911 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
4912 Call set-window-start with NOFORCE argument t.
4913 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
4914 (quit-window): Reword doc-string. Handle new format of
4915 quit-restore parameter. Don't delete window if it has a
4916 previous buffer we can show instead of the present one.
4917 (display-buffer-record-window): Rewrite using a new format for
4918 the quit-restore window parameter
4919 (special-display-popup-frame, display-buffer-same-window)
4920 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4921 (display-buffer-pop-up-window, display-buffer-use-some-window):
4922 Adapt symbol passed to display-buffer-record-window.
4923 * help.el (help-window-setup): Handle new format of quit-restore
4924 parameter.
4925
8d28cb95
SM
49262011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4927
94ab793f
SM
4928 * faces.el (face-list): Fix docstring (bug#9564).
4929
8d28cb95
SM
4930 * window.el (display-buffer--action-function-custom-type):
4931 Don't include internal functions in the Custom interface.
4932
3820edeb
JL
49332011-09-20 Juri Linkov <juri@jurta.org>
4934
4935 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4936 (Info-forward-node, Info-backward-node, Info-next-preorder)
4937 (Info-last-preorder): Use it. (Bug#9528)
4938
5147931d
JL
49392011-09-20 Juri Linkov <juri@jurta.org>
4940
4941 * info.el (Info-last-preorder): Visit last menu item only when
4942 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4943
cf499a1a
JD
49442011-09-20 Julien Danjou <julien@danjou.info>
4945
4946 * password-cache.el (password-cache-remove): Remove entries even if the
4947 value is nil, so that password with a nil value (negative caching) is
4948 possible to invalidate.
4949
f84e2fe2
LM
49502011-09-20 Lawrence Mitchell <wence@gmx.li>
4951
4952 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4953 all whitespace around breakpoint. (Bug#9553)
4954 (f90-find-breakpoint): Only break at whitespace inside a comment.
4955
78054a46
SM
49562011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4957
4958 * minibuffer.el (completion-file-name-table): Keep track of errors.
4959 (completion-table-with-predicate): Handle the case where pred1 is nil.
4960 * pcomplete.el (pcomplete-completions-at-point): Simplify.
4961
345083b2
SM
49622011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4963
e24e27be
SM
4964 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4965 (debugger-return-value): Signal an error if the debugging context does
4966 not await any return value.
4967
345083b2
SM
4968 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4969 * image-mode.el (image-toggle-display-text)
4970 (image-toggle-display-image): Stay away from evil `intangible'.
4971
08d355e3
LL
49722011-09-19 Leo Liu <sdl.web@gmail.com>
4973
4974 * replace.el (occur-revert-arguments): Make it permanent-local.
4975 (occur-mode): Don't call font-lock-defontify.
4976
f01da43f
CY
49772011-09-19 Chong Yidong <cyd@stupidchicken.com>
4978
4979 * net/ldap.el (ldap-search-internal): Don't push empty search
4980 result (Bug#9508).
4981
b6072fa6
SM
49822011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4983
4984 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4985
443d6696
MA
49862011-09-19 Michael Albinus <michael.albinus@gmx.de>
4987
4988 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4989 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4990
7cc6e154
JL
49912011-09-18 Juri Linkov <juri@jurta.org>
4992
4993 * buff-menu.el (Buffer-menu-mode-map):
4994 * dired.el (dired-mode-map):
4995 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4996 (lisp-interaction-mode-map):
4997 * emacs-lisp/package.el (package-menu-mode-map):
4998 * epa.el (epa-key-list-mode-map):
4999 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5000 (menu-bar-options-menu):
5001 * outline.el (outline-mode-menu-bar-map):
5002 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5003 * vc/vc-dir.el (vc-dir-menu-map):
5004 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5005 Capitalize non-function content words in menu item strings.
5006
5007 * dired.el (dired-mode-map): Add menu item for
5008 `image-dired-dired-toggle-marked-thumbs'.
5009
80302a81
JL
50102011-09-18 Juri Linkov <juri@jurta.org>
5011
5012 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5013 to `isearch-case-fold-search' and restore its original value
5014 after the `isearch-mode' call.
5015
46c5cf66
JL
50162011-09-18 Juri Linkov <juri@jurta.org>
5017
5018 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5019 because `zgrep' returns 1 for successful matches (bug#9226).
5020
d18b513b
JL
50212011-09-18 Juri Linkov <juri@jurta.org>
5022
5023 * info.el (Info-extract-menu-node-name): Check the second match
5024 for empty string (second test-case of bug#9528).
5025 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5026 intermediate nodes to the history (first test-case of bug#9528).
5027
72753f87
JL
50282011-09-18 Juri Linkov <juri@jurta.org>
5029
5030 * info.el (Info-mode-syntax-table): New variable.
1154d12e 5031 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 5032
c9384295
JL
50332011-09-18 Juri Linkov <juri@jurta.org>
5034
1154d12e
JB
5035 * info.el (Info-file-supports-index-cookies):
5036 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5037 outputs one more line for long file names (bug#4142).
c9384295 5038
d473dce8
CY
50392011-09-18 Chong Yidong <cyd@stupidchicken.com>
5040
5041 * newcomment.el (comment-normalize-vars): If prompting for
5042 comment-start, set comment-start-skip too (Bug#8424).
5043
2176854d
JB
50442011-09-18 Johan Bockgård <bojohan@gnu.org>
5045
5046 * icomplete.el: Fix previous fix of Bug#5849.
5047 (icomplete-mode): Don't set completion-show-inline-help.
5048 (icomplete-minibuffer-setup): Set completion-show-inline-help
5049 locally during icompletion.
5050
3aace4e4
CY
50512011-09-18 Chong Yidong <cyd@stupidchicken.com>
5052
c940224f
CY
5053 * woman.el (woman2-process-escapes): Don't delete unrecognized
5054 escapes (Bug#7843).
5055
3aace4e4
CY
5056 * files.el (inhibit-first-line-modes-regexps): Add image files.
5057 (hack-local-variables-prop-line): Return nil for malformed
5058 prop-lines (Bug#9044).
5059
710dec63
MA
50602011-09-18 Michael Albinus <michael.albinus@gmx.de>
5061
5062 * net/tramp.el (top): Don't require 'shell.
5063 (tramp-methods): Fix docstring.
5064 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
5065 Return complete remote file name. Handle "smb" case.
5066 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
5067 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5068
5069 * net/tramp-compat.el (top): Require 'shell.
5070
5071 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5072 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5073 `tramp-current-host'.
5074 (tramp-get-remote-tmpdir): Remove.
5075
5076 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5077 `tramp-tmpdir' entries.
5078 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5079 (tramp-smb-handle-file-attributes): Ignore errors.
5080 (tramp-smb-wait-for-output): Check also for process end.
5081
5d5ac8ec
LMI
50822011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5083
5084 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5085 when sending QUIT (bug#9312).
5086
8c0f49f0
CY
50872011-09-17 Chong Yidong <cyd@stupidchicken.com>
5088
5089 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5090 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5091 occur-mode-display-occurrence.
5092 (occur-edit-mode): Add usage message.
5093 (occur-cease-edit): New command.
5094 (occur-after-change-function): Use text properties to find the
5095 position of the prefix text.
5096 (occur-engine): Set stickiness of prefix text properties.
5097
8f1383f7
GM
50982011-09-17 Glenn Morris <rgm@gnu.org>
5099
5100 * progmodes/etags.el (complete-tag):
5101 Fix call to completion-in-region. (Bug#9526)
5102
744ba0e3
JL
51032011-09-17 Juri Linkov <juri@jurta.org>
5104
5105 * textmodes/ispell.el (ispell-word): Add to the error message
5106 the word, ispell program name and current dictionary (bug#9121).
5107 (ispell-tex-arg-end): Capitalize "error" in the error message.
5108
d9bbf400
AS
51092011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5110
5111 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5112 check. (Bug#4251)
5113
8da11505
JL
51142011-09-17 Juri Linkov <juri@jurta.org>
5115
5116 * window.el (window-safe-min-height, window-safe-min-width):
5117 Fix typos (followup to bug#9522).
5118
a91adc7e
SJ
51192011-09-17 Sven Joachim <svenjoac@gmx.de>
5120
5121 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5122
064f328a
EZ
51232011-09-16 Eli Zaretskii <eliz@gnu.org>
5124
5125 * simple.el (line-move): If goal-column is set, move by logical
5126 lines, not by display lines. (Bug#971)
5127 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5128 to reflect the above change.
5129
e69df516
SM
51302011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5131
5132 * image.el (imagemagick-register-types): Use regexp-opt.
5133
cbb0f9ab
CY
51342011-09-15 Chong Yidong <cyd@stupidchicken.com>
5135
5136 * window.el (display-buffer-base-action): Rename from
5137 display-buffer-default-action. Make default value empty.
5138 (display-buffer-overriding-action): Convert to defvar.
5139 (display-buffer-fallback-action): New var.
5140
25322144
CY
51412011-09-15 Chong Yidong <cyd@stupidchicken.com>
5142
5143 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5144 declaration.
5145 (package--add-to-archive-contents): If there is a duplicate entry
5146 with an older version, remove it.
5147 (package-menu-mark-delete, package-menu-mark-install)
5148 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
5149 (package-menu-mark-obsolete-for-deletion):
5150 Use package-menu-get-status instead of a regexp search.
25322144
CY
5151 (package-menu-get-status): Use tabulated-list-entry.
5152 (package-menu-mark-upgrades): New command.
d770725a 5153 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
5154 (package-menu-execute): Do installation before deletion.
5155 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5156 instead of checking major-mode.
5157 (package-menu--find-upgrades): New function.
5158
7520339c
LMI
51592011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5160
5161 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5162 passwords in the log buffer.
65a046c4
LMI
5163 (smtpmail-process-filter): Update the process marker so that the
5164 "broken by peer" status message is inserted in the right place.
7520339c 5165
d3c30954
SM
51662011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5167
3fe48822
SM
5168 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5169 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5170 bibtex-completion-at-point-function.
5171 (bibtex-completion-at-point-function): Use them.
5172
1b8b3954
SM
5173 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5174
d3c30954
SM
5175 * mpc.el (mpc-constraints-tag-lookup): New function.
5176 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5177 also to browser "album|playlist".
5178
72779976
JL
51792011-09-14 Juri Linkov <juri@jurta.org>
5180
5181 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
5182 (isearch-edit-string): Use length of `isearch-string' when
5183 `isearch-fail-pos' returns nil.
5184 (isearch-message): Remove duplicate code and call
5185 `isearch-fail-pos' with arg `t'.
5186
a0bf2bcd
CY
51872011-09-14 Chong Yidong <cyd@stupidchicken.com>
5188
17bb0a2d
CY
5189 * replace.el (occur-mode-goto-occurrence): Don't force using other
5190 window (Bug#9499).
5191
a0bf2bcd
CY
5192 * dired-aux.el (dired-do-chmod): Don't provide initial input.
5193
f678e0b6
MR
51942011-09-14 Martin Rudalics <rudalics@gmx.at>
5195
5196 * window.el (display-buffer-window): Remove.
5197 (display-buffer-record-window): Use help-setup window parameter
5198 instead of variable display-buffer-window.
5199 (display-buffer-function, special-display-buffer-names)
5200 (special-display-function): Mention help-setup parameter instead
5201 of display-buffer-window in doc-string.
d3c30954
SM
5202 * help.el (help-window-setup): New argument help-window.
5203 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
5204 Reword some messages.
5205 (with-help-window): Pass window used for displaying the buffer
5206 to help-window-setup. Don't set display-buffer-window.
5207
8e39b2e8
GM
52082011-09-13 Glenn Morris <rgm@gnu.org>
5209
5210 * emacs-lisp/debug.el (debugger-make-xrefs):
5211 Preserve point. (Bug#9462)
5212
85e9c04b
CY
52132011-09-13 Chong Yidong <cyd@stupidchicken.com>
5214
5215 * window.el (window-deletable-p): Use next-frame.
5216
1b36ed6a
MR
52172011-09-13 Martin Rudalics <rudalics@gmx.at>
5218
5219 * window.el (window-auto-delete): Remove.
5220 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 5221 dedication and previous buffers.
1b36ed6a
MR
5222 (switch-to-prev-buffer): Don't delete window.
5223 (delete-windows-on): Delete a window's frame if and only if the
5224 window is dedicated.
5225 (replace-buffer-in-windows): Delete buffer's window or frame if
5226 and only if window is dedicated.
5227 (quit-window): Handle quit-restore as before last change.
4d61f28d 5228 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 5229
ef8ef9fb
CY
52302011-09-13 Chong Yidong <cyd@stupidchicken.com>
5231
5232 * window.el (window-deletable-p): Never delete the last frame on a
5233 given terminal.
5234
b2cba41e
GM
52352011-09-13 Glenn Morris <rgm@gnu.org>
5236
5237 * help.el (describe-key-briefly): Copy previous standard-output change.
5238
51553db6 52392011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
5240
5241 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
5242
b7556719
GM
52432011-09-13 Glenn Morris <rgm@gnu.org>
5244
5245 * emacs-lisp/lisp-mode.el (lisp-indent-function):
5246 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5247
64b51947
CY
52482011-09-12 Chong Yidong <cyd@stupidchicken.com>
5249
5250 * dired-aux.el (dired-mark-read-string): Don't return default
5251 value on empty input (Bug#9361).
5252 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5253 Omit initial minibuffer contents.
5254 (dired-do-chmod): Signal an error on empty input.
5255 (dired-mark-read-string): Don't return default on empty input.
5256
5257 * files.el (file-modes-symbolic-to-number): Doc fix.
5258
393a301e
SM
52592011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5260
5261 * international/mule-cmds.el (ucs-completions): Remove.
5262 (read-char-by-name): Use complete-with-action instead; add metadata.
5263
fa5660f9
CY
52642011-09-11 Chong Yidong <cyd@stupidchicken.com>
5265
5266 * window.el (display-buffer--action-function-custom-type)
5267 (display-buffer--action-custom-type): New vars.
5268 (display-buffer-alist, display-buffer-default-action)
5269 (display-buffer-overriding-action): Add defcustom types.
5270
4a592f66
CY
5271 * frame.el (delete-other-frames): Doc fix (Bug#276).
5272
73d56dbd
LMI
52732011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5274
5275 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5276
37ac18a3
CY
52772011-09-11 Chong Yidong <cyd@stupidchicken.com>
5278
5279 Change modes that used same-window-* vars to use switch-to-buffer.
5280
5281 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5282 Use switch-to-buffer.
5283
5284 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
5285 (customize-browse, custom-buffer-create-other-window):
5286 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
5287
5288 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5289 (Info-prev, Info-up, Info-speedbar-goto-node)
5290 (info-display-manual): Use switch-to-buffer.
5291 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5292
5293 * mail/sendmail.el (mail): Use switch-to-buffer.
5294 (mail-recover): Use switch-to-buffer-other-window.
5295
5296 * cmuscheme.el (run-scheme, switch-to-scheme):
5297 * ielm.el (ielm):
5298 * shell.el (shell):
5299 * net/rlogin.el (rlogin):
5300 * net/telnet.el (telnet, rsh):
5301 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5302
10195bd6
AS
53032011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5304
5305 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5306
b322f63a
LMI
53072011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5308
39d7fed6
LMI
5309 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5310 so don't mention it (bug#9301).
ba5a81f1 5311 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 5312
ee0e9f11
LMI
5313 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5314 match `x', `w32' and `ns', like the manual says (bug#9029).
5315
0b1c89c1 5316 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
5317 (process-kill-buffer-query-function): Mention the buffer name in
5318 the query.
0b1c89c1 5319
77549ea8
LMI
5320 * image-mode.el (image-next-line): The line parameter is mandatory
5321 (bug#9258).
5322
803ef892
LMI
5323 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5324 which can be useful (bug#9301).
5325
12980837
LMI
5326 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5327
91054f8f
LMI
5328 * subr.el (match-string): Mention that the current buffer should
5329 be the same as the search was done in (bug#9282).
5330
b322f63a
LMI
5331 * facemenu.el: Disable the remove-* commands if the mark isn't
5332 active (bug#9162).
5333
3199b96f
CY
53342011-09-10 Chong Yidong <cyd@stupidchicken.com>
5335
5336 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5337 of display-buffer.
5338 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5339
5340 * replace.el (occur-mode-goto-occurrence)
5341 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5342 and display-buffer.
5343
5344 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5345 display-buffer.
5346
5347 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5348 special-display and same-window variables.
5349 (mail-other-window): Use switch-to-buffer-other-window.
5350 (mail-other-frame): USe switch-to-buffer-other-frame.
5351
393a301e
SM
5352 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5353 Use display-buffer-other-frame.
3199b96f
CY
5354 (gdb-display-gdb-buffer): Use pop-to-buffer.
5355
5356 * progmodes/gud.el (gud-goto-info): Use info-other-window.
5357
5358 * progmodes/python.el: Don't set same-window-buffer-names.
5359
5360 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5361
5362 * window.el (display-buffer-alist): Add *Python*.
5363
8319e0bf
CY
53642011-09-10 Chong Yidong <cyd@stupidchicken.com>
5365
5366 * window.el (display-buffer-alist): Add entry for buffers
5367 previously handled same-window-*.
5368 (display-buffer-alist, display-buffer-default-action)
5369 (display-buffer-overriding-action): Mark as risky.
5370 (display-buffer-alist): Document action function changes.
5371 (display-buffer--same-window-action)
5372 (display-buffer--other-frame-action): New variables.
5373 (switch-to-buffer, display-buffer-other-frame): Use them.
5374 (display-buffer): Rename reuse-frame entry to reusable-frames.
5375 (display-buffer-reuse-selected-window): Function deleted.
5376 (display-buffer-reuse-window): Handle reusable-frames alist entry.
5377 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5378 (display-buffer-special): New function.
5379 (display-buffer--maybe-pop-up-frame-or-window): Rename from
5380 display-buffer-reuse-or-pop-window. Split off special-display
5381 part into display-buffer-special.
5382 (display-buffer-use-some-window): Don't perform any special
5383 pop-up-frames handling.
5384 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 5385 (display-buffer--maybe-same-window): Rename from
0d3ff375 5386 display-buffer-maybe-same-window.
8319e0bf 5387
919a69aa
CY
5388 * info.el: Don't set same-window-regexps.
5389 (info-setup): New function.
5390 (info-other-window, info): Call it.
5391
5392 * cus-edit.el: Don't set same-window-regexps.
5393 (customize-group): New argument.
5394 (customize-group-other-window): Use it.
5395 (customize-face, customize-face-other-window): Likewise.
5396 (custom-buffer-create-other-window): Use pop-to-buffer directly.
5397
8319e0bf
CY
5398 * net/rlogin.el:
5399 * net/telnet.el:
5400 * progmodes/gud.el: Don't set same-window-regexps.
5401
5402 * cmuscheme.el:
5403 * ielm.el:
5404 * shell.el:
5405 * mail/sendmail.el:
5406 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5407
25173000
JL
54082011-09-10 Juri Linkov <juri@jurta.org>
5409
5410 * isearch.el (isearch-edit-string): Remove obsolete mention of
5411 `C-w' (`isearch-yank-word-or-char') from docstring.
5412 (isearch-query-replace): Fix typo in docstring (bug#9466).
5413
056e44ef
JL
54142011-09-10 Juri Linkov <juri@jurta.org>
5415
5416 * paren.el (show-paren-function): Don't show escaped parens.
5417 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
5418
c3760c17
EZ
54192011-09-10 Eli Zaretskii <eliz@gnu.org>
5420
5421 * mail/sendmail.el (mml-to-mime, mml-attach-file)
5422 (mm-default-file-encoding): Remove autoload forms, they are
5423 replaced with autoload cookies in mml.el and mm-encode.el.
5424 (mail-add-attachment): New command.
5425 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5426 (mail-mode): Mention mail-insert-file and mail-add-attachment in
5427 the doc string.
5428 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5429
fece895e
RT
54302011-09-10 Reuben Thomas <rrt@sc3d.org>
5431
e69df516
SM
5432 * simple.el (count-words-region): Use buffer if there's no region
5433 (bug#9429).
fece895e 5434
5e68ce4a
JL
54352011-09-09 Juri Linkov <juri@jurta.org>
5436
5437 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5438 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5439 (wdired-isearch-filter-read-only): New function. (Bug#6362)
5440
0a6b9622
AM
54412011-09-09 Alan Mackenzie <acm@muc.de>
5442
5443 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5444 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
5445
14a29deb
EZ
54462011-09-09 Eli Zaretskii <eliz@gnu.org>
5447
5448 Fix for Savannah bug#9392.
5449 * simple.el (mail-encode-mml): New defvar.
5450
5451 * mail/rmail.el (mail-encode-mml): Add a defvar.
5452 (rmail-enable-mime-composing): Default to t.
5453 (rmail-forward): Use MIME method of forwarding only if both
5454 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5455 Set mail-encode-mml non-nil if the MIME method was used.
5456
5457 * mail/sendmail.el (mml-to-mime): Add autoload form.
5458 (mail-encode-mml): Add a defvar.
5459 (mail-mode): Make mail-encode-mml buffer-local and initialize it
5460 to nil.
5461 (mail-send): If mail-encode-mml is non-nil, run the outgoing
5462 message through mml-to-mime, and reset mail-encode-mml to nil.
5463
28c45130
GM
54642011-09-09 Glenn Morris <rgm@gnu.org>
5465
5466 * woman.el (woman-if-body): When processing an .el block,
5467 do not delete the next .el block as well. (Bug#9447)
69f4b618 5468 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 5469
9b1c252e
MR
54702011-09-08 Martin Rudalics <rudalics@gmx.at>
5471
5472 * window.el (window-deletable-p): Make sure window is live before
5473 invoking window-prev-buffers.
5474
567457e3
LL
54752011-09-08 Leo Liu <sdl.web@gmail.com>
5476
5477 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
5478
97f05794
JL
54792011-09-08 Juri Linkov <juri@jurta.org>
5480
5481 * progmodes/compile.el (compilation-environment): Make it
5482 a defcustom (bug#8340).
5483
8b0874b5
MR
54842011-09-08 Martin Rudalics <rudalics@gmx.at>
5485
5486 * window.el (frame-auto-delete): Rename to window-auto-delete.
5487 Make it control auto-deletion of windows and/or frames.
5488 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 5489 for deleting window/frame. (Bug#9419)
8b0874b5
MR
5490 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5491 Rewrite handling of case when window/frame can be deleted.
5492 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 5493 argument t. (Bug#9456)
8b0874b5 5494
4feb6e73
CY
54952011-09-07 Chong Yidong <cyd@stupidchicken.com>
5496
5497 * help-mode.el (help-mode): Restore autoload.
5498
91ab9c13
JL
54992011-09-07 Juri Linkov <juri@jurta.org>
5500
5501 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5502 `compilation-environment'. Set buffer-local
5503 `compilation-environment' to `thisenv' later after (funcall mode).
5504 (Bug#8340)
5505
5506 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
5507 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5508 instead of replacing its value. (Bug#8340)
5509
0527e251
JL
55102011-09-07 Juri Linkov <juri@jurta.org>
5511
5512 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5513 based on text properties put by `grep-filter' instead of matching
5514 escape sequences.
5515 (grep-mode): Set buffer-local `compilation-error-screen-columns'
5516 to the value of `grep-error-screen-columns' (bug#9438).
5517
249f792c
JL
55182011-09-07 Juri Linkov <juri@jurta.org>
5519
5520 * simple.el (next-error-highlight, next-error-highlight-no-select):
5521 Doc fix (bug#9432).
5522
ff7271b9
OT
55232011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5524
5525 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5526 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
5527
183fc730
LL
55282011-09-07 Leo Liu <sdl.web@gmail.com>
5529
5530 * net/rcirc.el (rcirc-mode): Conditionally initialize
5531 rcirc-input-ring.
5532
77694924
SM
55332011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5534
5535 * emacs-lisp/find-func.el (find-function-C-source): Only set
5536 find-function-C-source-directory after checking that we found a source
5537 file there (bug#9440).
5538
d809b8eb
AM
55392011-09-06 Alan Mackenzie <acm@muc.de>
5540
5541 * isearch.el (isearch-other-meta-char): Wherever a key list is
5542 unread, "unread" the prefix arg, too. This fixes bug #8901.
5543
453de99f
OG
55442011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5545
5546 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5547
90439906
JL
55482011-09-05 Juri Linkov <juri@jurta.org>
5549
5550 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5551
f62bd846
JL
55522011-09-05 Juri Linkov <juri@jurta.org>
5553
5554 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5555 keeping point where processing of grep matches begins, and
5556 continue to delete remaining escape sequences from the same point.
5557 (grep-filter): Make leading zero optional in "0?1;31m" because
5558 git-grep emits "\033[1;31m" escape sequences unlike expected
5559 "\033[01;31m" as GNU Grep does (bug#9408).
5560 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5561
045820ec
JL
55622011-09-05 Juri Linkov <juri@jurta.org>
5563
5564 * subr.el (y-or-n-p): Capitalize "yes".
5565
f5e29b9b
MA
55662011-09-04 Michael Albinus <michael.albinus@gmx.de>
5567
5568 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
5569 `tramp-cache-unload-hook' where appropriate.
5570 (tramp-methods): Rename `tramp-remote-sh' to
5571 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
5572 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5573
5574 * net/tramp-sh.el (top): Don't require 'shell.
5575 (tramp-methods): Add `tramp-remote-shell' and
5576 `tramp-remote-shell-args' entries.
5577 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5578 (tramp-sh-handle-shell-command): Remove.
5579 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5580 Use `tramp-remote-shell'.
5581
2784c434
CY
55822011-09-03 Chong Yidong <cyd@stupidchicken.com>
5583
393a301e 5584 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
5585 (sendmail-query-once): Save directly to send-mail-function.
5586 Update message-send-mail-function too.
5587
5588 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5589
464cdf56
CS
55902011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5591
5592 * progmodes/python.el (python-mode-map): Use correct function to
5593 start python interpreter from menu-bar (as reported by Geert
5594 Kloosterman).
5595 (inferior-python-mode-map): Fix typo.
393a301e 5596 (python-shell-map): Remove.
464cdf56 5597
d37e5c87
DD
55982011-09-03 Deniz Dogan <deniz@dogan.se>
5599
5600 * net/rcirc.el (rcirc-print): Simplify code for
5601 rcirc-scroll-show-maximum-output. There is no need to walk
5602 through all windows to find the right one.
5603
f3ada0ee
CS
56042011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5605
5606 * help.el (help-return-method): Doc fix.
5607
1f3c99ca
MR
56082011-09-03 Martin Rudalics <rudalics@gmx.at>
5609
5610 * window.el (window-deletable-p): Don't return a non-nil value
5611 when there's a buffer that was shown in the window before.
5612 (Bug#9419)
393a301e
SM
5613 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5614 Set window's previous buffers to nil.
1f3c99ca 5615
a3cf097f
EZ
56162011-09-03 Eli Zaretskii <eliz@gnu.org>
5617
5618 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5619 newline before and after the tag line, so it doesn't interfere
5620 with determining the paragraph direction of bidirectional text.
5621
3d03de90
LL
56222011-09-03 Leo Liu <sdl.web@gmail.com>
5623
5624 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5625
c3313451
CY
56262011-09-02 Chong Yidong <cyd@stupidchicken.com>
5627
393a301e 5628 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
5629 (pop-to-buffer): Change interactive spec. Pass second argument
5630 directly to display-buffer.
5631 (display-buffer): Fix interactive spec. Use functionp to
5632 distinguish between a function and a list of functions.
5633
5634 * abbrev.el (edit-abbrevs):
5635 * arc-mode.el (archive-extract):
5636 * autoinsert.el (auto-insert):
5637 * bookmark.el (bookmark-bmenu-list):
5638 * files.el (find-file):
5639 * view.el (view-buffer):
5640 * progmodes/compile.el (compilation-goto-locus):
5641 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5642
89894cd8
CY
56432011-09-02 Chong Yidong <cyd@stupidchicken.com>
5644
5645 * window.el (display-buffer-alist): Doc fix.
5646 (display-buffer): Add docstring. Don't treat
5647 display-buffer-default specially.
5648 (display-buffer-reuse-selected-window)
5649 (display-buffer-same-window, display-buffer-maybe-same-window)
5650 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5651 (display-buffer-pop-up-window)
5652 (display-buffer-reuse-or-pop-window)
5653 (display-buffer-use-some-window): New functions.
5654 (display-buffer-default-action): Use them.
393a301e 5655 (display-buffer-default): Delete.
89894cd8
CY
5656 (pop-to-buffer-1): Fix choice of actions.
5657
ae0bc9fb
SM
56582011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5659
5660 * minibuffer.el (completion--insert-strings): Don't get confused by
5661 completion entries that end with an LF char.
5662
e9d90883
EZ
56632011-09-01 Eli Zaretskii <eliz@gnu.org>
5664
5665 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5666
437014c8
CY
56672011-09-01 Chong Yidong <cyd@stupidchicken.com>
5668
5669 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
5670 (display-buffer-same-window, display-buffer-other-window):
5671 New functions.
437014c8
CY
5672 (pop-to-buffer-1): New function. Use the above.
5673 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 5674 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
5675
5676 * view.el (view-buffer-other-window, view-buffer-other-frame):
5677 Just use pop-to-buffer.
5678
a5e063d5
TV
56792011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5680
5681 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5682
793d32bb
WH
56832011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5684
5685 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5686
d65e4c15
RS
56872011-08-31 Richard Stallman <rms@gnu.org>
5688
5689 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5690 of the separation of rmail-view-buffer from rmail-buffer.
5691 If you say no to "replace original", the decrypt is in the
5692 view buffer. If you say yes, the decrypt goes into the
5693 rmail buffer also.
5694
f818cd2a
MR
56952011-08-31 Martin Rudalics <rudalics@gmx.at>
5696
5697 * window.el (display-buffer-window): Rewrite doc-string.
5698 (display-buffer-record-window): New function.
5699 (display-buffer-macro-specifiers)
5700 (display-buffer-even-window-sizes, display-buffer-set-height)
5701 (display-buffer-set-width, display-buffer-in-window)
5702 (display-buffer-reuse-window, display-buffer-split-specifiers)
5703 (display-buffer-side-specifiers, display-buffer-split-window-1)
5704 (display-buffer-split-window, display-buffer-split-atom-window)
5705 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5706 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5707 (display-buffer-other-window-means-other-frame)
5708 (display-buffer-normalize-special)
5709 (display-buffer-normalize-default)
5710 (display-buffer-normalize-argument)
5711 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5712 (display-buffer-normalize-specifiers, display-buffer-frame)
5713 (display-buffer-same-window, display-buffer-same-frame)
5714 (display-buffer-other-window)
5715 (display-buffer-same-frame-other-window)
5716 (display-buffer-other-frame, pop-to-buffer-same-window)
5717 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5718 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5719 (switch-to-buffer-same-frame)
5720 (switch-to-buffer-other-window-same-frame)
5721 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5722 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5723 (display-buffer-alist-set): Remove.
5724 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
5725 (special-display-regexps, special-display-function):
5726 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
5727 parameter.
5728 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5729 (special-display-frame-alist, special-display-popup-frame)
5730 (same-window-buffer-names, same-window-regexps, same-window-p)
5731 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5732 (split-window-preferred-function, split-height-threshold)
5733 (split-width-threshold, window-splittable-p)
5734 (split-window-sensibly, window--try-to-split-window)
5735 (window--frame-usable-p, even-window-heights)
5736 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
5737 (window--display-buffer-2, display-buffer-other-frame):
5738 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
5739 (display-buffer-default, display-buffer-assq-regexp): New functions.
5740 (display-buffer-alist): Rewrite doc-string.
5741 (display-buffer-default-action)
5742 (display-buffer-overriding-action): New variables.
5743 (display-buffer, switch-to-buffer): Rewrite.
5744 (pop-to-buffer): Restore Emacs 23 behavior but use
5745 window-normalize-buffer-to-display.
5746 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5747 Restore Emacs 23 behavior but use
5748 window-normalize-buffer-to-switch-to.
5749 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
5750 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5751 Rewrite using Emacs 23 options.
f818cd2a 5752
5bc3b51d
MA
57532011-08-31 Michael Albinus <michael.albinus@gmx.de>
5754
5755 * net/tramp.el (tramp-root-regexp): Remove.
5756 (tramp-completion-file-name-regexp-unified)
5757 (tramp-completion-file-name-regexp-separate)
5758 (tramp-completion-file-name-regexp-url): Don't use leading volume
5759 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
5760 (tramp-drop-volume-letter): Simplify definition.
5761 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 5762
b1a4f8e1
SM
57632011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5764
5765 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5766 (bug#9356).
5767
5664fa7b
RT
57682011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5769
b1a4f8e1 5770 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 5771
9a45d6c3
JL
57722011-08-29 Juri Linkov <juri@jurta.org>
5773
5774 * isearch.el (isearch-done): Don't display message "Mark saved"
5775 when arg `edit' is non-nil to prevent its flicker in the echo area.
5776
fb87e0fb
CY
57772011-08-28 Chong Yidong <cyd@stupidchicken.com>
5778
5779 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5780 obsolete packages for deletion.
5781
09ac1c2a
CS
57822011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5783
5784 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 5785 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
5786 view-mode from help-mode.
5787 (help-xref-override-view-map): Remove.
5788 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5789 view-mode is not used anymore.
5790
7a1ff57f
CY
57912011-08-28 Chong Yidong <cyd@stupidchicken.com>
5792
5793 * server.el (server-port): Doc fix.
5794
b9696605
CY
5795 * cus-theme.el (custom-theme-choose-mode): Inherit from
5796 special-mode (Bug#9124).
5797 (custom-theme-choose-mode-map): Add special-mode to parent.
5798
ef8cdf8c
AM
57992011-08-28 Alan Mackenzie <acm@muc.de>
5800
5801 * progmodes/cc-fonts.el
5802 (c-make-font-lock-BO-decl-search-function): New function.
5803 (c-basic-matchers-after - "Fontify the clauses after various
5804 keywords"): Extract the three keyword lists for the 3 erroneous
5805 constructs from the list of four, and use the new function above
5806 in place of an old one.
5807
27de4e20
DD
58082011-08-28 Deniz Dogan <deniz@dogan.se>
5809
5810 * net/rcirc.el (rcirc-insert-prev-input)
5811 (rcirc-insert-next-input): Remove unused argument.
5812
356a3681
SM
58132011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5814
5815 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5816
3fc9b218
AM
58172011-08-27 Alan Mackenzie <acm@muc.de>
5818
5819 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5820 handle function pointer parameters properly.
5821
538a061c
MR
58222011-08-27 Martin Rudalics <rudalics@gmx.at>
5823
5824 * window.el (display-buffer-reuse-window): Fix case where
5825 selected window was reused with non-nil OTHER-WINDOW argument.
5826 (Bug#9381)
5827
35b1c40c
DD
58282011-08-27 Deniz Dogan <deniz@dogan.se>
5829
5830 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5831 oftc's NickServ messages.
5832
2f6a3e79
GM
58332011-08-27 Glenn Morris <rgm@gnu.org>
5834
5835 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5836
7254299e
CY
58372011-08-26 Chong Yidong <cyd@stupidchicken.com>
5838
5839 * emacs-lisp/package.el (package-install): Call package-initialize
5840 if called interactively.
5841
f8ccf167
LL
58422011-08-26 Leo Liu <sdl.web@gmail.com>
5843
5844 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5845
3e8cd5ce
JL
58462011-08-25 Juri Linkov <juri@jurta.org>
5847
5848 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5849 `search-whitespace-regexp' (bug#9364).
5850
93eb7113
JL
58512011-08-25 Juri Linkov <juri@jurta.org>
5852
5853 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5854 `regexp-search-ring' to their global values to protect from
5855 updating by `read-from-minibuffer' (bug#9185).
5856
f65d1611
JL
58572011-08-25 Juri Linkov <juri@jurta.org>
5858
5859 * textmodes/ispell.el (ispell-command-loop): Add newline
5860 at the end of the "Use option `i'..." line.
5861
f1cf7a31
JL
58622011-08-25 Juri Linkov <juri@jurta.org>
5863
5864 * battery.el (display-battery-mode): If `battery-status-function'
5865 or `battery-mode-line-format' is nil, display the message and set
5866 `display-battery-mode' to nil (bug#9363).
5867
0c95fcf7
EZ
58682011-08-25 Eli Zaretskii <eliz@gnu.org>
5869
5870 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5871 bidi-string-mark-left-to-right; they are unnecessary now.
5872
a2ebe600
DD
58732011-08-25 Deniz Dogan <deniz@dogan.se>
5874
5875 * net/quickurl.el: Documentation typo fixes.
5876
e4ed06f1
CY
58772011-08-25 Chong Yidong <cyd@stupidchicken.com>
5878
5879 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5880
e5f1c99e
GM
58812011-08-25 Glenn Morris <rgm@gnu.org>
5882
b2948976
GM
5883 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5884
e5f1c99e
GM
5885 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5886 (smtpmail-via-smtp): Handle nil response from smtp.
5887
f22f4808
JL
58882011-08-24 Juri Linkov <juri@jurta.org>
5889
5890 * proced.el (proced-marked): Inherit from `error' instead of
5891 `font-lock-warning-face'.
5892
5893 * ibuffer.el (ibuffer-marked-face): Change default face from
5894 `font-lock-warning-face' to `warning'.
5895 (ibuffer-deletion-face): Change default face from
5896 `font-lock-type-face' to `error'.
5897
5898 * battery.el (battery-update): Use the face `error' instead of
5899 `font-lock-warning-face' (bug#6117).
5900
6a93965e
JL
59012011-08-24 Juri Linkov <juri@jurta.org>
5902
5903 * faces.el (success): Change face color from "Green3" to
5904 "ForestGreen" on light background (bug#9353).
5905
1ed43b09
CY
59062011-08-24 Chong Yidong <cyd@stupidchicken.com>
5907
5664fa7b
RT
5908 * window.el (quit-window): Rename from quit-restore-window.
5909 Use same arglist as old quit-window.
1ed43b09
CY
5910 (frame-auto-delete): Doc fix.
5911
5912 * view.el (view-mode-exit): Use quit-window.
5913
11dcdbb2
JL
59142011-08-24 Juri Linkov <juri@jurta.org>
5915
5916 * isearch.el (isearch-ring-adjust1): Start visiting previous
5917 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5918 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5919 for empty search string (when the last search string is reused
5920 automatically) to adjust the isearch ring to the last element and
5921 prepare the correct index for further M-p commands (bug#9185).
5922
de62b4df
KH
59232011-08-24 Kenichi Handa <handa@m17n.org>
5924
5925 * international/ucs-normalize.el: If decomposition property of
5926 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5927 nil.
5928 (nfd, nfkd): Likewise.
5929
963b492b
SM
59302011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5931
5932 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5933 from process filters aren't reliably transmitted to the surrounding
5934 accept-process-output.
5935 (mpc-proc-check): New function.
5936 (mpc-proc-sync): Use it (bug#8293)
5937
93b6b5e1
SM
59382011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5939
5940 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5941 Add compatibility functions (bug#9313).
5942
bca633fb
EZ
59432011-08-23 Eli Zaretskii <eliz@gnu.org>
5944
b177498a
EZ
5945 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5946
6df6ae42 5947 * international/uni-bidi.el: Regenerate.
bca633fb 5948
0902a04e
KH
59492011-08-23 Kenichi Handa <handa@m17n.org>
5950
5951 * international/charprop.el:
5952 * international/uni-bidi.el:
5953 * international/uni-category.el:
5954 * international/uni-combining.el:
5955 * international/uni-comment.el:
5956 * international/uni-decimal.el:
5957 * international/uni-decomposition.el:
5958 * international/uni-digit.el:
5959 * international/uni-lowercase.el:
5960 * international/uni-mirrored.el:
5961 * international/uni-name.el:
5962 * international/uni-numeric.el:
5963 * international/uni-old-name.el:
5964 * international/uni-titlecase.el:
5965 * international/uni-uppercase.el: Regenerate.
5966
3bbf23bc
MR
59672011-08-23 Martin Rudalics <rudalics@gmx.at>
5968
5969 * help.el (help-window-setup): Fix message displayed when other
5970 window is reused. (Bug#9341)
5971
b3fd59bd
SM
59722011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5973
1802e444
SM
5974 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5975 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5976
b3fd59bd
SM
5977 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5978 Mark obsolete.
5979 * shell.el (shell-parse-pcomplete-arguments): New function.
5980 (shell-completion-vars): Use it instead (bug#9160).
5981
4eb61348
SM
59822011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5983
867cab74
SM
5984 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5985 strings and comments (bug#9333).
5986
4eb61348
SM
5987 * emacs-lisp/debug.el (debug-arglist): New function.
5988 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
5989 (debug-on-entry-1): Handle interpreted closures (bug#9120).
5990
262a1439
JL
59912011-08-22 Juri Linkov <juri@jurta.org>
5992
56ee679c
JL
5993 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5994 Revert regexp that highlights output switches to its old
5995 pre-2010-10-28 value and remove one `?' from it (bug#9319).
5996
262a1439
JL
5997 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5998 to check for empty output (bug#9226).
5999
f13f86fb
CY
60002011-08-22 Chong Yidong <cyd@stupidchicken.com>
6001
6002 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6003 symbol-constituent as the default, as that stops font-lock from
6004 working properly (Bug#8843).
6005
c65c9622
LMI
60062011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6007
6008 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6009 `coding-system-for-*' around the process open call to avoid
6010 auth-source side effects.
e7f2c178 6011 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
6012 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6013 probe hangs.
c65c9622 6014
23a8a5ab
CY
60152011-08-21 Chong Yidong <cyd@stupidchicken.com>
6016
ff98b2dd
CY
6017 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6018
23a8a5ab
CY
6019 * emacs-lisp/find-func.el (find-function-noselect): New arg
6020 lisp-only.
6021
6022 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6023 signal an error for built-in functions (Bug#6664).
6024
f5e3c598
LMI
60252011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6026
6027 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6028 (smtpmail-try-auth-methods): Use it.
6029
a3f2468a
CY
60302011-08-21 Chong Yidong <cyd@stupidchicken.com>
6031
2c34e8da
CY
6032 * font-lock.el (font-lock-fontify-region)
6033 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6034 (font-lock-default-unfontify-buffer)
6035 (font-lock-default-fontify-region)
6036 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6037
b3fd59bd
SM
6038 * progmodes/compile.el (compilation-error-properties):
6039 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
6040 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6041 `ant' regexp.
ee31aabc 6042
a3f2468a
CY
6043 * net/browse-url.el (browse-url-firefox): Don't call
6044 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6045
8e999f70
GM
60462011-08-20 Glenn Morris <rgm@gnu.org>
6047
c21a496a
GM
6048 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6049
59ee0542
GM
6050 * tutorial.el (tutorial--default-keys): Update some default bindings.
6051
8e999f70
GM
6052 * files.el (hack-local-variables): Fully ignore case for "mode:".
6053
e3715033
AM
60542011-08-20 Alan Mackenzie <acm@muc.de>
6055
6056 Resolve invalid use of a regexp in regexp-opt.
6057
4d61f28d
JB
6058 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6059 detection for a java annotation.
e3715033 6060
4d61f28d 6061 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
6062 detection for a java annotation.
6063
4d61f28d
JB
6064 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6065 handling for java.
e3715033
AM
6066 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6067
04ed2e9c
CY
60682011-08-20 Chong Yidong <cyd@stupidchicken.com>
6069
6070 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6071 (Bug#9274).
6072
826cee64
AM
60732011-08-20 Alan Mackenzie <acm@muc.de>
6074
58179cce 6075 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
6076 such a construct. Mainly for when jit-lock etc. starts a chunk
6077 here.
6078
58179cce 6079 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 6080 variable.
58179cce 6081 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
6082 c-make-font-lock-search-function.
6083 (c-make-font-lock-search-function): Use the above function.
6084 (c-make-font-lock-context-search-function): New function.
6085 (c-cpp-matchers): Enhance the preprocessor expression case with
6086 the above function
6087 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6088 which takes an expression.
6089
6090 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6091
13009bd8
MR
60922011-08-20 Martin Rudalics <rudalics@gmx.at>
6093
6094 * window.el (display-buffer-reuse-window)
6095 (display-buffer-pop-up-window): Don't reuse or split a side
6096 window.
6097
9234ff7f
GM
60982011-08-19 Glenn Morris <rgm@gnu.org>
6099
6100 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 6101 Downcase "Mode:". (Bug#9331)
9234ff7f 6102
f635daa1
CY
61032011-08-18 Chong Yidong <cyd@stupidchicken.com>
6104
6105 * international/characters.el: Add L and R categories.
6106
6107 * subr.el (bidi-string-mark-left-to-right): Rename from
6108 string-mark-left-to-right. Use category search.
6109
6110 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6111
bc987f8b
JL
61122011-08-18 Juri Linkov <juri@jurta.org>
6113
6114 * faces.el (error, warning, success): New faces with definitions
6115 copied from old default values of `font-lock-warning-face',
6116 `compilation-warning', `compilation-info' (bug#6117).
6117
6118 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6119
6120 * progmodes/compile.el (compilation-error): Inherit from `error'.
6121 (compilation-warning): Inherit from `warning'.
6122 (compilation-info): Inherit from `success'.
6123
6124 * dired.el (dired-marked): Inherit from `warning'.
6125 (dired-flagged): Inherit from `error'.
6126
57173b96
LMI
61272011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6128
3e79eb87
LMI
6129 * mail/smtpmail.el (auth-source): Require to avoid problems with
6130 binding variables (bug#9298). Also clean up some unused
6131 autoloads.
6132
b3fd59bd
SM
6133 * net/network-stream.el (network-stream-open-starttls):
6134 Support using starttls.el without using gnutls-cli.
57173b96 6135
02b404de
JL
61362011-08-17 Juri Linkov <juri@jurta.org>
6137
6138 * progmodes/grep.el (rgrep): Handle the case when
6139 `grep-find-command' is a cons cell (bug#9278).
6140
8c9177f2
MR
61412011-08-17 Martin Rudalics <rudalics@gmx.at>
6142
6143 * window.el (display-buffer-pop-up-frame): Run frame creation
6144 function with BUFFER current (as special-display-popup-frame
6145 does). Reported by Drew Adams.
6146
3644a0ab
DU
61472011-08-17 Daiki Ueno <ueno@unixuser.org>
6148
6149 * epa-mail.el: Simplify GnuPG group expansion using
6150 epg-expand-group.
6151 (epa-mail-group-alist, epa-mail-group-modtime)
6152 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6153 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6154 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6155 Remove.
6156
5e617bc2 61572011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
6158
6159 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6160
9c4aeabf
AM
61612011-08-16 Alan Mackenzie <acm@muc.de>
6162
6163 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6164 Correct, to avoid the inside of macros.
6165
3a99bf64
RS
61662011-08-16 Richard Stallman <rms@gnu.org>
6167
04963aa8
RS
6168 * epa-mail.el: Handle GnuPG group definitions.
6169 (epa-mail-group-alist, epa-mail-group-modtime)
6170 (epa-mail-gnupg-conf-file): New variables.
6171 (epa-mail-parse-groups, epa-mail-sync-groups)
6172 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6173 (epa-mail-expand-recipients): New functions.
6174 (epa-mail-encrypt): Call epa-mail-expand-recipients.
6175
177549d0
RS
6176 * mail/rmail.el (rmail-epa-decrypt): New command.
6177
fe38beef
RS
6178 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6179 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
6180 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6181 (epa-decrypt-armor-in-region): Make error message clearer.
6182
934eacb9
SM
61832011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6184
6185 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6186 and "a2b" to "ab" for `prefix'.
6187
d024fb4e
CY
61882011-08-14 Chong Yidong <cyd@stupidchicken.com>
6189
6190 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6191 filter groups.
de148fee
CY
6192 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
6193 Fourquet (Bug#8804).
d024fb4e 6194
62f1ca49
JB
61952011-08-12 Juanma Barranquero <lekktu@gmail.com>
6196
6197 * startup.el (argi): Declare as global variable (bug#9275).
6198
9ccaaa4b
CY
61992011-08-12 Chong Yidong <cyd@stupidchicken.com>
6200
6201 * subr.el (string-mark-left-to-right): Search the entire string
6202 for RTL script, not just the terminating character. Doc fix.
6203
a3dae87a
SM
62042011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6205
6cd18349
SM
6206 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6207 New function.
6208 (js--regexp-literal, js-syntax-propertize-function): Remove.
6209 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6210 (js-mode-map): Don't rebind electric keys.
6211 (js-insert-and-indent): Remove.
6212 (js-mode): Setup electric-layout and electric-indent instead.
6213
a3dae87a
SM
6214 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6215
9d5cb631
DU
62162011-08-12 Daiki Ueno <ueno@unixuser.org>
6217
6218 * epa.el (epa-progress-callback-function): Fix the logic of
6219 displaying progress.
6220 * epa-file.el (epa-file-insert-file-contents): Make progress
6221 display more user-friendly.
6222 (epa-file-write-region): Ditto.
6223
3e26a4a2
CY
62242011-08-10 Chong Yidong <cyd@stupidchicken.com>
6225
6226 * subr.el (string-mark-left-to-right): New function.
6227
6228 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6229 Use string-mark-left-to-right.
6230 (list-buffers-noselect): Caller changed.
6231
a3dae87a
SM
6232 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6233 Use string-mark-left-to-right.
3e26a4a2
CY
6234 (tabulated-list-print): Recenter after moving point.
6235
ac8cf6e6
JL
62362011-08-10 Juri Linkov <juri@jurta.org>
6237
6238 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6239 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6240 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6241
8d96c9a4
CY
62422011-08-09 Chong Yidong <cyd@stupidchicken.com>
6243
6244 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6245 (Bug#7554).
6246
7be1c708 62472011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
6248
6249 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6250 character. (Bug#6594)
6251
37e11a63
CY
62522011-08-08 Chong Yidong <cyd@stupidchicken.com>
6253
839dde57
CY
6254 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6255 (image-dired--with-db-file): New macro.
6256 (image-dired-write-tags, image-dired-remove-tag)
6257 (image-dired-create-gallery-lists, image-dired-write-comments)
6258 (image-dired-get-comment, image-dired-mark-tagged-files)
6259 (image-dired-list-tags, image-dired-gallery-generate): Use it.
6260 (image-dired-gallery-generate): Use insert-file-contents.
6261
37e11a63
CY
6262 * time.el (display-time-world-list, display-time-world-display):
6263 * time-stamp.el (time-stamp-string):
6264 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6265 set-time-zone-rule (Bug#7337).
6266
0b4946c4
DU
62672011-08-08 Daiki Ueno <ueno@unixuser.org>
6268
6269 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6270 (epg-error-to-string, epg-errors-to-string): New function.
6271 (epg-wait-for-completion): Reverse errors list.
6272 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6273 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6274 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6275 (epg-sign-keys, epg-generate-key-from-file)
6276 (epg-generate-key-from-string): Format errors by using
6277 epg-errors-to-string (bug#9255).
6278 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6279
75bfc667
JL
62802011-08-07 Juri Linkov <juri@jurta.org>
6281
6282 * faces.el (list-faces-display): Remove extra angle bracket
6283 from `help-mode-map'.
6284
6285 * info.el (Info-history-toc-nodes): Doc fix.
6286
6287 * longlines.el (longlines-mode): Doc fix.
6288
673e08bb
SM
62892011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6290
4640dd88
SM
6291 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6292 of statements and in a few more cases (bug#9183).
6293
673e08bb
SM
6294 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6295 New functions.
6296 (cl-transform-lambda): Use them (bug#9239).
6297
89b3f019
MR
62982011-08-05 Martin Rudalics <rudalics@gmx.at>
6299
6300 * window.el (display-buffer-same-window)
6301 (display-buffer-same-frame, display-buffer-other-window)
6302 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6303 (pop-to-buffer-other-window)
6304 (pop-to-buffer-same-frame-other-window)
6305 (pop-to-buffer-other-frame): Make them defuns.
6306 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6307
640c8776
SM
63082011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6309
6310 * subr.el (make-composed-keymap): Move from C. Change calling
6311 convention, and improve docstring to bring attention to a subtle point.
6312 * minibuffer.el (completing-read-default): Adjust accordingly.
6313
63648a95
MA
63142011-08-03 Michael Albinus <michael.albinus@gmx.de>
6315
6316 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6317 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6318
6319 * net/trampver.el: Update release number.
6320
b796c9b7
SM
63212011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6322
6323 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6324 "in" (bug#9190).
6325
2239d7d5
LMI
63262011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6327
e07dd7c3
LMI
6328 * mail/sendmail.el (sendmail-query-once): Restore the current
6329 buffer after querying (bug#9074).
6330
0e6a2bd7
LMI
6331 * dired.el (dired-flagged): Use different faces for marked and
6332 flagged files (bug#6117).
6333
ce887515
LMI
6334 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6335 (bug#4433).
6336
92f2affc
LMI
6337 * ido.el (ido-mode): Switch off the message if called
6338 non-interactively.
6339
57d5aff0
LMI
6340 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6341 before 587, since it appears that that's more likely to work for
6342 more people.
6343
98cd6c18 6344 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 6345 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
6346 exist.
6347
b96dec83
LMI
6348 * info.el: Remove the `Info-beginning-of-buffer' function
6349 (bug#8325).
6350
b796c9b7
SM
6351 * net/network-stream.el (network-stream-open-starttls):
6352 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 6353
d90e2ea0
MR
63542011-08-01 Martin Rudalics <rudalics@gmx.at>
6355
6356 * window.el (display-buffer-in-window): Don't set dedicated status
6357 of window here (Bug#9215).
6358 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6359 (display-buffer-pop-up-side-window)
b796c9b7 6360 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 6361
cca09170
SM
63622011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6363
6364 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6365 before binding generated-autoload-file.
6366
027b979c
DD
63672011-08-01 Deniz Dogan <deniz@dogan.se>
6368
6369 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6370
3c7ee4f3
MA
63712011-07-30 Michael Albinus <michael.albinus@gmx.de>
6372
6373 Sync with Tramp 2.2.2.
6374
6375 * net/trampver.el: Update release number.
6376
2cc8e51a
JL
63772011-07-30 Juri Linkov <juri@jurta.org>
6378
6379 * dired-aux.el (dired-touch-initial): Remove function.
6380 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6381 current time, and `default' to the last modification time of the
6382 current marked file (bug#6887).
6383
a514d856
JM
63842011-07-28 Jose E. Marchesi <jemarch@gnu.org>
6385
6386 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 6387 numeric argument to read-number (bug#9163).
a514d856 6388
8a7eddd7
MA
63892011-07-27 Michael Albinus <michael.albinus@gmx.de>
6390
6391 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6392 connection process, it could be nil.
6393
1ddd96f5
LL
63942011-07-27 Leo Liu <sdl.web@gmail.com>
6395
6396 Simplify url handling in rcirc-mode.
6397
6398 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6399 (rcirc-browse-url-at-mouse): Remove.
6400 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6401
b248a85d
AM
64022011-07-26 Alan Mackenzie <acm@muc.de>
6403
6404 Fontify bitfield declarations properly.
6405
6406 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6407 (c-symbol-chars): Now exported as a lang variable.
6408 (c-not-primitive-type-keywords): New lang variable.
6409
6410 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6411 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 6412 parsed as a bitfield declaration.
b248a85d 6413
b796c9b7
SM
6414 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6415 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
6416 (c-punctuation-in): New function.
6417 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6418 declarations properly.
6419
68575ab0
UJ
64202011-07-26 Ulf Jasper <ulf.jasper@web.de>
6421
6422 * calendar/icalendar.el (icalendar--all-events): Take care of
6423 multiple vcalendars in a single file.
b796c9b7 6424 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 6425
0f0a88b9
DD
64262011-07-25 Deniz Dogan <deniz@dogan.se>
6427
6428 * image.el (insert-image): Clarifying docstring.
6429
0b3f36df
MA
64302011-07-24 Michael Albinus <michael.albinus@gmx.de>
6431
6432 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6433 `tramp-send-command-and-check' if there is no error.
6434 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6435
a9901f61
AM
64362011-07-22 Alan Mackenzie <acm@muc.de>
6437
6438 Prevent cc-langs.elc being loaded at run time.
6439
6440 * progmodes/cc-mode.el: Remove two autoload forms which loaded
6441 cc-langs.
6442
4d61f28d 6443 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
6444 "(require 'cc-langs)". Quote a form so it will evaluate at
6445 (cc-mode's) compilation time.
6446
11d074b2
MA
64472011-07-22 Michael Albinus <michael.albinus@gmx.de>
6448
6449 * net/tramp.el (tramp-file-name-handler): Avoid recursive
6450 loading. (Bug#9114)
6451
938b94c8
MR
64522011-07-21 Martin Rudalics <rudalics@gmx.at>
6453
6454 * window.el (display-buffer-pop-up-window)
6455 (display-buffer-pop-up-side-window)
6456 (display-buffer-in-side-window): Call display-buffer-set-height
6457 and display-buffer-set-width after setting the new window's
b796c9b7 6458 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 6459
bfa4f190
SS
64602011-07-20 Sam Steingold <sds@gnu.org>
6461
6462 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6463 (etags-tags-included-tables): Call `convert-standard-filename' on
6464 the file names contained in TAGS so that windows Emacs can handle
6465 TAGS files created by cygwin ctags.
6466
8ca42262
LMI
64672011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
6468
6469 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6470 which apparently didn't work.
6471
5db2afd2 64722011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 6473
5db2afd2
RW
6474 * proced.el (proced-send-signal): For *Marked Processes* buffer
6475 put point at beginning of buffer.
6476
92e15d10
SB
64772011-07-19 Stephen Berman <stephen.berman@gmx.net>
6478
6479 * proced.el (proced-format): Make header lines align with the text
6480 (bug#1779).
6481
1bfd59e5
LMI
64822011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6483
6484 * view.el (view-buffer): Allow running in `special' modes if we're
6485 visiting a file (bug#8615).
6486
f5aae37c
MR
64872011-07-19 Martin Rudalics <rudalics@gmx.at>
6488
6489 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
6490 (display-buffer-alist-set-1, display-buffer-alist-set-2):
6491 New functions.
f5aae37c
MR
6492 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6493 more accurately.
6494
bf2c1571
AM
64952011-07-18 Alan Mackenzie <acm@muc.de>
6496
6497 Fontify declarators properly when, e.g., a jit-lock chunk begins
6498 inside a declaration.
6499
6500 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6501
b796c9b7
SM
6502 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6503 New function.
bf2c1571
AM
6504 (c-complex-decl-matchers): Insert reference to
6505 c-font-lock-enclosing-decls.
6506
6507 * progmodes/cc-engine.el (c-backward-single-comment):
6508 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6509 to nil around calls to (forward-comment -1).
6510
4e190b80
LMI
65112011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6512
12dc863d
LMI
6513 * image.el (put-image): Doc typo fix.
6514
a762e966
LMI
6515 * progmodes/etags.el (tags-search): Doc typo fix.
6516
4e190b80
LMI
6517 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6518 password if we get errors 550 to 554.
6519
f019fb21
LMI
65202011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6521
b796c9b7 6522 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 6523
81746738
LMI
6524 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6525 indentation character (bug#6380).
6526
3ee3a1b5
LMI
6527 * files.el (buffer-offer-save): Made permanently local (bug#6241).
6528
c82f64de
LMI
6529 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6530 to clarify what the problem is (bug#4291).
6531
f019fb21
LMI
6532 * simple.el (current-kill): Clarify what
6533 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
6534 (auto-fill-mode): Document `auto-fill-function' in relation to
6535 `auto-fill-mode' (bug#2470).
f019fb21 6536
0794775d
LM
65372011-07-16 Lawrence Mitchell <wence@gmx.li>
6538
6539 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6540 method if slot is read-only (bug#9035).
6541
be39b8cc
MR
65422011-07-16 Martin Rudalics <rudalics@gmx.at>
6543
b796c9b7 6544 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 6545 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
6546 selected before, see discussion of (Bug#8615), (Bug#6954).
6547 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 6548
6ccf7859
GM
65492011-07-15 Glenn Morris <rgm@gnu.org>
6550
6551 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 6552 Respect help-form.
6ccf7859 6553
87e86684
LM
65542011-07-09 Lawrence Mitchell <wence@gmx.li>
6555
6556 * net/gnutls.el (gnutls-min-prime-bits): New variable.
6557 (gnutls-negotiate): Use it.
6558
d6066239
LMI
65592011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6560
b796c9b7
SM
6561 * net/gnutls.el (gnutls-negotiate):
6562 Upcase `gnutls-algorithm-priority'.
d6066239 6563
bd23ebc0
GM
65642011-07-15 Glenn Morris <rgm@gnu.org>
6565
c65bca65
GM
6566 * jka-compr.el (jka-compr-verbose): Move from here...
6567 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
6568 Add missing :version tag.
6569 * info.el: No need to require jka-compr when compiling.
bd23ebc0 6570
478615cc
LMI
65712011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6572
7b41decb
LMI
6573 * net/gnutls.el (gnutls-algorithm-priority): New variable.
6574 (gnutls-negotiate): Use it.
6575
dbc44fcd
LMI
6576 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6577
06789f97
LMI
6578 * info.el (Info-beginning-of-buffer): New command.
6579 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6580 announcing `b' as the key (bug#8325).
ab896c37 6581 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 6582
c39da690
LMI
6583 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6584
3aa5f34b
LMI
6585 * international/mule-cmds.el
6586 (describe-specified-language-support): Make the error message
6587 clearer (bug#8905).
6588
4bf0979f
LMI
6589 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6590
478615cc
LMI
6591 * isearch.el (isearch-barrier): Add a doc string, since it's
6592 mentioned in a function doc string (bug#8678).
6593
75c68aa1
MR
65942011-07-15 Martin Rudalics <rudalics@gmx.at>
6595
6596 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6597 buffer argument (Bug#9083) and self-identifying label argument.
6598
a7c33da2
GM
65992011-07-15 Glenn Morris <rgm@gnu.org>
6600
6601 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6602
2f5c6024
LMI
66032011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6604
6605 * man.el (Man-fontify-manpage): Fix message when formatting the
6606 man page (bug#7929).
6607
0bb23927 66082011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
6609
6610 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6611 argument LRM; if non-nil, append an invisible LRM character to the
6612 buffer name.
6613 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6614 last argument non-nil, when formatting buffer names.
0bb23927
EZ
6615 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6616 paragraph direction.
cce4b0a7 6617
621ef9ab
LMI
66182011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6619
d1583c48
LMI
6620 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6621 the man page name (bug#7929).
6622
6a57fb5f
LMI
6623 * image.el (put-image): Mention the `put-image' overlay property
6624 (bug#7834).
6625
d7956b14
LMI
6626 * scroll-bar.el (set-scroll-bar-mode): Mention that
6627 `scroll-bar-mode' lists the values (bug#7772).
6628
5b2d4a66
LMI
6629 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6630 command (bug#7729).
6631
7509a874
LMI
6632 * rect.el (apply-on-rectangle): Return the point after the last
6633 operation.
6634 (string-rectangle): Go to the point after the last operation
6635 (bug#7522).
6636
4fe74b19
LMI
6637 * printing.el (pr-toggle-region): Clarify the documentation
6638 slightly (bug#7493).
6639
b796c9b7
SM
6640 * time.el (display-time-update):
6641 Allow `display-time-mail-function' to return nil (bug#7158).
6642 Fix suggested by Detlev Zundel.
ab283561 6643
fc233c9d
LMI
6644 * vc/diff.el (diff): Clarify the order the file names are read
6645 (bug#7111).
6646
43f5740b
LMI
6647 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6648 the doc string (bug#7015).
6649
f2182a76
LMI
6650 * font-lock.el (font-lock-maximum-decoration): Mention what
6651 numeric levels mean (bug#6935).
6652
621ef9ab
LMI
6653 * startup.el (initial-buffer-choice): Don't mention the `none'
6654 selection, which is against policy.
6655
adc47434
MR
66562011-07-14 Martin Rudalics <rudalics@gmx.at>
6657
b796c9b7
SM
6658 * window.el (display-buffer-normalize-special):
6659 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 6660
7e5bfb8f
EZ
66612011-07-14 Eli Zaretskii <eliz@gnu.org>
6662
6663 * subr.el (version<, version<=, version=): Mention "-CVS" and
6664 "-12345" alpha version numbers.
6665
27fa387a
CY
66662011-07-14 Chong Yidong <cyd@stupidchicken.com>
6667
6668 * bindings.el: Add advertised binding for set-mark-command
6669 (Bug#5772).
6670
8bdfa064
CY
66712011-07-14 Chong Yidong <cyd@stupidchicken.com>
6672
6673 * bindings.el (mode-line-other-buffer):
6674 * bookmark.el (bookmark-bmenu-2-window):
6675 * bs.el (bs-cycle-next, bs-cycle-previous):
6676 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6677 switch-to-buffer.
6678
6679 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 6680 Delete.
8bdfa064 6681
5eba16a3
JB
66822011-07-14 Juanma Barranquero <lekktu@gmail.com>
6683
6684 * follow.el (follow-debug-message, follow-redisplay):
6685 * jka-cmpr-hook.el (with-auto-compression-mode):
6686 Fix typos in docstrings.
6687
15853710
LMI
66882011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6689
a28e4607
LMI
6690 * subr.el (with-silent-modifications): Clarify somewhat what the
6691 macro inhibits (bug#6525).
6692
15853710
LMI
6693 * simple.el (eval-expression): Note what it does if called
6694 interactively (bug#6495).
6695
bee0fcef
CY
66962011-07-13 Chong Yidong <cyd@stupidchicken.com>
6697
b796c9b7
SM
6698 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6699 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
6700
6701 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6702 Remove switch-to-buffer.
6703
58274504
LMI
67042011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6705
bd2fcc8d
LMI
6706 * files.el (make-directory): Clarify that an error will be raised
6707 if there's an error (bug#6397).
6708
0f04b32c
LMI
6709 * startup.el (initial-buffer-choice): Add `none' as a choice
6710 (bug#6234).
6711
465c5fc8
LMI
6712 * subr.el (add-hook): Clarify section about buffer-local hooks
6713 (bug#6218).
6714
58274504
LMI
6715 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6716
bead9a43
JB
67172011-07-13 Juanma Barranquero <lekktu@gmail.com>
6718
6719 * tabify.el (untabify): Preserve the current column so that point
6720 doesn't move (bug#6032).
6721
3af98a7b
LMI
67222011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6723
b796c9b7
SM
6724 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6725 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 6726
6240145a
GM
67272011-07-13 Glenn Morris <rgm@gnu.org>
6728
6729 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6730 (dired-insert-directory): Give a message the first time
6731 if ls is found not to support --dired.
6732
1d8c2ccc
LMI
67332011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6734
6735 * simple.el (toggle-truncate-lines): Clarify what is toggled
6736 (bug#5580). Text by Drew Adams.
6737
5fc4038e
CY
67382011-07-13 Chong Yidong <cyd@stupidchicken.com>
6739
6740 * simple.el (blink-matching-open): Make the error message from the
6741 last change less verbose.
6742
bf6012e5
DN
67432011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6744
6745 * font-lock.el (font-lock-comment-face): Use the high contrast
6746 "yellow" color for font-lock-comment-face on low color terminals
6747 using a dark background color (bug#4221).
6748
343c3b5a
LMI
67492011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6750
7e9505c5
LMI
6751 * dired.el (dired-insert-set-properties): Make the doc string
6752 reflect what it does now (bug#5325).
6753
c26fdcf5
LMI
6754 * simple.el (blink-matching-open): Say that we were unable to find
6755 the match within the limit, if we're limited (bug#5122).
6756
bb388cc5
LMI
6757 * international/mule-cmds.el (prefer-coding-system): Add an
6758 example (bug#4869).
6759
343c3b5a
LMI
6760 * progmodes/etags.el (tags-search): Document `file-list-form'
6761 (bug#4731).
6762
2a517d45
LM
67632011-07-13 Lawrence Mitchell <wence@gmx.li>
6764
6765 * net/browse-url.el (browse-url-default-browser)
6766 (browse-url-browser-function): Make the default browser choice a
6767 bit more logical (bug#4300). Also clean up the doc string.
6768
b6c78ef2
JB
67692011-07-13 Juanma Barranquero <lekktu@gmail.com>
6770
6771 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6772 binary endings (bug#4440).
6773
1c4dd947
LMI
67742011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6775
a2014063
LMI
6776 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6777 which can be pretty annoying (bug#8971).
6778
9c9c2d88
LMI
6779 * jka-compr.el (jka-compr-verbose): New variable, and use
6780 throughout (bug#8971).
6781
1c4dd947
LMI
6782 * info.el (Info-find-file): Fall back on the installation
6783 directory if we can't find the info node anywhere else.
6784
a1c9f41b
SO
67852011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6786
6787 * vc/vc.el (vc-revert-file):
6788 Don't set file time-stamp in the past. (Bug#5181)
6789
536f3d36
LMI
67902011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6791
7152b011
LMI
6792 * files.el (after-find-file): Give a better error message when
6793 trying to find a symlink that points to a file that doesn't exist
6794 (bug#4398).
6795
536f3d36
LMI
6796 * progmodes/cc-vars.el: Remove (probably) misleading comment
6797 (bug#4396).
6798
460c0fba
JB
67992011-07-12 Johan Bockgård <bojohan@gnu.org>
6800
6801 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6802
7a6bda45
CY
68032011-07-12 Chong Yidong <cyd@stupidchicken.com>
6804
6805 * mouse-sel.el: Hack restoring functionality, while keeping
6806 compatibility with 2010-07-03 changes to mouse selection.
6807 (mouse-sel-primary-overlay): New var.
6808 (mouse-sel-selection-alist): Use it.
6809 (mouse-sel-mode): Doc fix; remove points that are default features
6810 of mouse.el.
6811
c79598ef
JB
68122011-07-12 Johan Bockgård <bojohan@gnu.org>
6813
6814 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6815 Fix previous fix (bug#2490).
6816
ff8be6ef
RW
68172011-07-12 Roland Winkler <winkler@gnu.org>
6818
b796c9b7
SM
6819 * textmodes/bibtex.el (bibtex-initialize):
6820 Use pop-to-buffer-same-window.
ff8be6ef
RW
6821 (bibtex-search-entries): Fix interactive call.
6822
296ba3ee
LMI
68232011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6824
f5242a02 6825 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
6826 Fontise bytecomp Error lines more correctly (bug#2490).
6827 Fix suggested by Johan Bockgård.
f5242a02 6828
296ba3ee
LMI
6829 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6830
6831 * dired-x.el (dired-guess-default): Use `delete-dups'.
6832
f69fd0d2
CY
68332011-07-12 Chong Yidong <cyd@stupidchicken.com>
6834
6835 * dired.el (dired-mark-prompt):
6836 * dired-aux.el (dired-read-shell-command): Doc fix.
6837
eab5dc07
LMI
68382011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6839
b796c9b7
SM
6840 * mail/sendmail.el (sendmail-query-once):
6841 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
6842 emacs -Q.
6843
6844 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6845
eab5dc07
LMI
6846 * cus-edit.el (custom-file): Take an optional no-error variable.
6847 (customize-save-variable): Set the variable, and give a warning if
6848 running under "emacs -q".
6849
a1e65d42
JB
68502011-07-11 Juanma Barranquero <lekktu@gmail.com>
6851
6852 * loadhist.el (unload-feature-special-hooks):
6853 Add `auto-coding-functions', `fill-nobreak-predicate' and
6854 `find-directory-functions' (bug#5327).
6855
1d52da10
LMI
68562011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6857
be958f1d
LMI
6858 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6859
5bedb26c
LMI
6860 * cus-edit.el (custom-guess-name-alist): -alist variables should
6861 use the `alist' type (bug#3120). Suggested by Drew Adams.
6862
1d52da10
LMI
6863 * printing.el: Add documentation to all the `pr-toggle-' commands.
6864
cd394be1 68652011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
6866
6867 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6868 backends where it makes sense (bug#2623).
6869
dcc88d8a
LMI
68702011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6871
c3de9feb
LMI
6872 * dired-x.el (dired-guess-default): Remove duplicate shell command
6873 entries (bug#2028).
8a93078b 6874 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 6875 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 6876
dcc88d8a
LMI
6877 * subr.el (remove-duplicates): New conveniency function.
6878
505e3645
LMI
68792011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6880
6881 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6882 (bug#1526).
6883
68842011-07-10 Martin Rudalics <rudalics@gmx.at>
6885
6886 * window.el (display-buffer-normalize-default): Don't invert
6887 meaning of even-window-heights. Reported by Eli Zaretskii
6888 <eliz@gnu.org>.
6889
455e4fa1
BR
68902011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6891
6892 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6893
8e0bc3e9
CY
68942011-07-10 Chong Yidong <cyd@stupidchicken.com>
6895
6896 * window.el (display-buffer): Fix arguments to
6897 display-buffer-reuse-window in last change.
6898
fa7c3228
CY
6899 * faces.el (link): Use a less saturated blue on light backgrounds.
6900
6901 * startup.el (fancy-startup-text, fancy-about-text)
6902 (fancy-startup-tail): Use font-lock faces, for background safety.
6903
c0a7f300
BN
69042011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6905
b796c9b7
SM
6906 * emulation/viper-cmd.el (viper-change-state-to-vi):
6907 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 6908
4dc2a129
MR
69092011-07-09 Martin Rudalics <rudalics@gmx.at>
6910
6911 * window.el (display-buffer-default-specifiers): Remove.
6912 (display-buffer-macro-specifiers): Remove default specifiers.
6913 (display-buffer-alist): Default to nil.
b796c9b7 6914 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
6915 (display-buffer-pop-up-window): Allow splitting internal
6916 windows. Check whether a live window was created.
6917 (display-buffer-other-window-means-other-frame)
6918 (display-buffer-normalize-arguments): Rename to
6919 display-buffer-normalize-argument and rewrite. Set the
6920 other-window specifier.
6921 (display-buffer-normalize-special): New function.
6922 (display-buffer-normalize-options): Rename to
6923 display-buffer-normalize-default and rewrite.
6924 (display-buffer-normalize-options-inhibit): Remove.
6925 (display-buffer-normalize-specifiers): Rewrite.
6926 (display-buffer): Process other-window specifier and call
6927 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6928 more faithfully.
b796c9b7 6929 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 6930 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
6931 (display-buffer-in-window, display-buffer-alist-set):
6932 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
6933 <tassilo@member.fsf.org>.
6934
2d43b8c9
LL
69352011-07-09 Leo Liu <sdl.web@gmail.com>
6936
6937 * register.el (insert-register): Restore accidental change on
6938 2011-06-26. (Bug#9028)
6939
7f9b7c53
GM
69402011-07-09 Glenn Morris <rgm@gnu.org>
6941
6942 * subr.el (remq): Handle the empty list. (Bug#9024)
6943
f042cfd8
AS
69442011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6945
6946 * mail/sendmail.el (send-mail-function): No longer delay custom
6947 initialization.
6948 * custom.el (custom-initialize-delay): Doc fix.
6949
856b2f11
SM
69502011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6951
6952 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6953
afae1d68
MA
69542011-07-08 Michael Albinus <michael.albinus@gmx.de>
6955
6956 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6957 human-friendly prompt.
6958
0757af94
SM
69592011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6960
6961 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6962 provided by a particular plugin.
6963
d760b731
LMI
69642011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6965
6966 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6967 save customizations (with "emacs -Q"), just set the variable
6968 instead of erroring out.
6969
6970 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6971
cd79ce90
JL
69722011-07-08 Juri Linkov <juri@jurta.org>
6973
6974 * arc-mode.el (archive-zip-expunge, archive-zip-update)
6975 (archive-zip-update-case): Use 7z if found by `executable-find'.
6976 The order of searching the available programs is the same as in
6977 `archive-zip-extract' (bug#8968).
6978
14cc04aa
CY
69792011-07-07 Chong Yidong <cyd@stupidchicken.com>
6980
6981 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6982 (menu-bar-options-menu): Tweak descriptions.
6983
0a1848ec
LMI
69842011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6985
6986 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6987 menu items into verb phrases (bug#1421). Also refill to fit under
6988 80 columns.
6989
f5bd0689
CY
69902011-07-07 Chong Yidong <cyd@stupidchicken.com>
6991
538e85c6
CY
6992 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6993 (Info-read-node-name): Doc fix (Bug#1084).
6994
f5bd0689
CY
6995 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6996 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6997 (end-of-sexp, beginning-of-sexp)
6998 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6999 (forward-symbol, forward-same-syntax, word-at-point)
7000 (sentence-at-point): Doc fix (Bug#1144).
7001
56ec5115
LMI
70022011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7003
f3f8e37f
LMI
7004 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7005 should cover it (bug#1281).
7006
0757af94 7007 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 7008
e9fce1ac 7009 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
7010 negotiation fails, then possibly try again with a non-encrypted
7011 connection (bug#9017).
7012
56ec5115
LMI
7013 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7014 be used.
7015
c2f9aec8
RS
70162011-07-07 Richard Stallman <rms@gnu.org>
7017
7018 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7019 property, and handle its changed format.
7020 Look for the correct line number.
7021 Use file's line contents (but not past first =) to find
7022 correct line in message.
7023
ef7b981d 70242011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
7025
7026 * international/characters.el (build-unicode-category-table):
7027 Delete it.
0757af94 7028 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 7029
0757af94 7030 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
7031 to src/chartab.c.
7032 (get-char-code-property): Call unicode-property-table-internal to
7033 load a file. Call get-unicode-property-internal where necessary.
7034 (put-char-code-property): Call unicode-property-table-internal to
7035 load a file. Call put-unicode-property-internal where necessary.
7036 put-unicode-property-internal where necessary.
0757af94
SM
7037 (char-code-property-description):
7038 Call unicode-property-table-internal to load a file.
c805dec0
KH
7039
7040 * international/charprop.el:
7041 * international/uni-bidi.el:
7042 * international/uni-category.el:
7043 * international/uni-combining.el:
7044 * international/uni-comment.el:
7045 * international/uni-decimal.el:
7046 * international/uni-decomposition.el:
7047 * international/uni-digit.el:
7048 * international/uni-lowercase.el:
7049 * international/uni-mirrored.el:
7050 * international/uni-name.el:
7051 * international/uni-numeric.el:
7052 * international/uni-old-name.el:
7053 * international/uni-titlecase.el:
7054 * international/uni-uppercase.el: Regenerate.
7055
7056 * loadup.el: Load international/charprop.el before
7057 international/characters.
7058
e14b388a
CY
70592011-07-07 Chong Yidong <cyd@stupidchicken.com>
7060
7061 * window.el (next-buffer, previous-buffer): Signal an error if
7062 called from a minibuffer window.
7063
7064 * bindings.el: Revert 2011-07-04 change.
7065
354cf0ba
RS
70662011-07-06 Richard Stallman <rms@gnu.org>
7067
7068 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7069 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7070 Treat markers like ints.
7071 (rmail-mime-entity): Doc fix.
7072
a48868a7
LMI
70732011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7074
4906cd3d
LMI
7075 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7076 defcustom again for backwards compatibility.
7077
e0457abe
LMI
7078 * simple.el (shell-command-on-region): Fill.
7079
d67f7e1f
LMI
7080 * dired-aux.el (dired-kill-line): Add a doc string.
7081
fe204702
LMI
7082 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7083 to "\\sw\\|\\s_" (bug#358).
7084
a48868a7
LMI
7085 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7086 (dired-unmark-backward): Ditto.
7087 (dired-flag-backup-files): Ditto.
7088
7089 * dired-x.el (dired-mark-sexp): Ditto.
7090
aa8a705c
RS
70912011-07-06 Richard Stallman <rms@gnu.org>
7092
7093 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7094 (rmail-mime-entity): New arg TRUNCATED.
7095 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7096 New functions.
7097 (rmail-mime-save): Warn if entity is truncated.
7098 (rmail-mime-toggle-hidden): Likewise, for showing.
7099 (rmail-mime-process-multipart): Record when an entity is truncated.
7100
a9a936b9
RS
7101 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7102 if ENTITY is a string.
7103
1f2b92cb
LMI
71042011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7105
f4f73198 7106 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
7107 of faces when `M-C-x'-ing their definitions (bug#8378).
7108 Also clean up the code slightly.
f4f73198 7109
12b16734 7110 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 7111 because that makes the colors go away.
12b16734 7112
f0691d22
LMI
7113 * mail/sendmail.el (send-mail-function): Change the default to
7114 `sendmail-query-once'.
9e87df06 7115 (sendmail-query-once): Add an autoload cookie.
f0691d22 7116
1f2b92cb
LMI
7117 * net/network-stream.el (network-stream-open-starttls): Try using
7118 a plain connection even if the server offered STARTTLS, and we
7119 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7120 capability. This should make smtpmail.el work in slightly more
7121 configurations.
7122
1cdd2a1b
MA
71232011-07-06 Michael Albinus <michael.albinus@gmx.de>
7124
7125 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7126 New defun.
7127 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7128
fbcc67e2
MM
71292011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7130
7131 * progmodes/sql.el: Version 3.0
0757af94 7132 (sql-product-alist): Add product :completion-object,
fbcc67e2 7133 :completion-column, and :statement attributes.
0757af94 7134 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 7135 (sql-mode-syntax-table): Mark all punctuation.
0757af94 7136 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
7137 ansi keywords.
7138 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 7139 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
7140 (sql-oracle-show-reserved-words): New function for development.
7141 (sql-product-font-lock): Simplify for source code buffers.
7142 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7143 New functions.
7144 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
7145 (sql-mode-map): Add statement movement functions.
7146 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7147 New variable.
fbcc67e2
MM
7148 (sql-statement-regexp, sql-beginning-of-statement)
7149 (sql-end-of-statement, sql-signum): New functions.
0757af94 7150 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
7151 (sql-show-sqli-buffer): Bug fix.
7152 (sql-interactive-mode): Store connection data as buffer local.
0757af94 7153 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
7154 with sql-interactive-mode.
7155 (sql-save-connection): Save buffer local settings.
0757af94 7156 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
7157 (sql-product-interactive): Bug fix.
7158 (sql-preoutput-hold): New variable.
7159 (sql-interactive-remove-continuation-prompt): Bug fixes.
7160 (sql-debug-redirect): New variable.
7161 (sql-str-literal): New function.
7162 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 7163 Redesign.
fbcc67e2
MM
7164 (sql-oracle-save-settings, sql-oracle-restore-settings)
7165 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7166 (sql-completion-object, sql-completion-column)
7167 (sql-completion-sqlbuf): New variables.
7168 (sql-build-completions-1, sql-build-completions)
7169 (sql-try-completion): New functions.
7170 (sql-read-table-name): Use them.
7171 (sql-contains-names): New buffer local variable.
7172 (sql-list-all, sql-list-table): Use it.
7173 (sql-oracle-completion-types): New variable.
7174 (sql-oracle-completion-object, sql-sqlite-completion-object)
7175 (sql-postgres-completion-object): New functions.
7176
d4eaeab1
GM
71772011-07-06 Glenn Morris <rgm@gnu.org>
7178
7179 * window.el (pop-to-buffer): Doc fix.
7180
322b7dab 71812011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
7182
7183 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7184
322b7dab 71852011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 7186
322b7dab 7187 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 7188
322b7dab 7189 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 7190
605dd5bf
CY
71912011-07-05 Chong Yidong <cyd@stupidchicken.com>
7192
7193 * button.el (button): Inherit from link face. Suggested by Dan
7194 Nicolaescu.
7195
7dbfa719
SM
71962011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7197
3db614b0
SM
7198 * progmodes/gdb-mi.el: Fit in 80 columns.
7199 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7200 switch-to-buffer.
7201
7dbfa719
SM
7202 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7203 if imenu is simply not configured (bug#8941).
7204
919d884a
KM
72052011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7206
7207 * allout.el (allout-post-undo-hook): New allout outline-change
7208 event hook to signal undo activity.
7209 (allout-post-command-business): Run allout-post-undo-hook if an
7210 undo just occurred.
7dbfa719
SM
7211 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7212 * allout-widgets.el (allout-widgets-after-undo-function):
7213 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
7214 in the vicinity of an undo.
7215 (allout-widgets-mode): Include allout-widgets-after-undo-function
7216 on the new allout-post-undo-hook.
7217
450a0f09
SM
72182011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7219
7220 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7221 Let define-derived-mode define it.
7222 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7223 cycles of abbrev-table inheritance (bug#8998).
7224
2de69e00
RW
72252011-07-05 Roland Winkler <winkler@gnu.org>
7226
7227 * textmodes/bibtex.el: Add support for biblatex.
7228 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7229 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7230 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7231 (bibtex-entry-alist, bibtex-field-alist): New variables.
7232 (bibtex-entry-field-alist): Obsolete alias for
7233 bibtex-BibTeX-entry-alist.
7234 (bibtex-entry-alist, bibtex-field-alist): New widgets.
7235 (bibtex-set-dialect): New command.
7236 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
7237 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7238 Bind via bibtex-set-dialect.
2de69e00
RW
7239 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7240 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7241 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7242 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7243 Define via bibtex-set-dialect.
450a0f09
SM
7244 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7245 Obey bibtex-no-opt-remove-re.
2de69e00
RW
7246 (bibtex-vec-push, bibtex-vec-incr): New functions.
7247 (bibtex-format-entry, bibtex-field-list)
7248 (bibtex-print-help-message, bibtex-validate)
7249 (bibtex-search-entries): Use new format of bibtex-entry-alist.
7250
2dcdbdd9
SM
72512011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7252
7253 * progmodes/compile.el (compilation-goto-locus):
7254 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7255 * bs.el (bs-cycle-next, bs-cycle-previous):
7256 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7257 * bindings.el (mode-line-other-buffer):
7258 * autoinsert.el (auto-insert):
7259 * arc-mode.el (archive-extract):
7260 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7261
b27640fe
JB
72622011-07-05 Juanma Barranquero <lekktu@gmail.com>
7263
7264 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7265 Fix check of `emacs-lock-unlockable-modes'.
7266 Coerce true values of `emacs-lock--try-unlocking' to t.
7267
53bbe3ad
JB
72682011-07-05 Juanma Barranquero <lekktu@gmail.com>
7269
7270 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7271 * emacs-lock.el: New file.
7272
1d3cdbc7
JD
72732011-07-05 Julien Danjou <julien@danjou.info>
7274
7275 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7276 than `boundp' to check if face is set.
7277
9173deec
JB
72782011-07-05 Juanma Barranquero <lekktu@gmail.com>
7279
7280 * register.el (registerv-make):
7281 * window.el (window-min-height): Fix typos in docstrings.
7282
869795d6
JD
72832011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7284
9173deec 7285 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
7286 Update doc string.
7287
b768cdcd
JB
72882011-07-04 Juanma Barranquero <lekktu@gmail.com>
7289
7290 * server.el (server-execute): Catch quit and call
7291 `server-return-error' to pass the error back to emacsclient and
7292 close the connection (bug#8942).
7293
13aa217b
KM
72942011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
7295
7296 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7297 insecure exception for current topic. Also note that auto-saves
7298 are handled differently.
7299
7300 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7301 State variables for tracking auto-save inhibition situation.
7302
7303 (allout-write-contents-hook-handler): Rename from
7304 'allout-write-file-hook-handler', and describe how it depends on
7305 write-contents-functions sensitivity to non-nil value to prevent
7306 file write.
7307
7308 (allout-auto-save-hook-handler): Remove. auto-save does not check
7309 this in individual buffers, only in the starting buffer, so this
7310 is not the right way for us to inhibit auto-save in a buffer
7311 according to its condition.
7312
7313 (allout-mode): Use new allout-write-contents-hook-handler, and
7314 only with write-contents-functions. Remove auto-save provisions -
7315 they're implemented elsewhere.
7316
7317 (allout-before-change-handler): If undo is in progress, note that
7318 for attention of allout-post-command-business.
7319
7320 (allout-post-command-business): If the command we're following was
7321 an undo, check for change in the status of encrypted items and
7322 adjust auto-save inhibitions accordingly.
7323
7324 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7325 according to whether there are or aren't any plain-text topics
7326 pending encryption.
7327
2dcdbdd9 7328 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
7329 Adjust buffer-saved-size and some allout state to inhibit auto-saves
7330 if there are plain-text topics pending encryption.
13aa217b
KM
7331
7332 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7333 buffer-saved-size and some allout state to not inhibit auto-saves
7334 if there are no longer any plain-text topics pending encryption.
7335
0757af94
SM
7336 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7337 No longer provide for exemption of the current topic.
13aa217b 7338
ac89b32c
JL
73392011-07-04 Juri Linkov <juri@jurta.org>
7340
7341 Add 7z operations to delete and save changed members (bug#8968).
7342 * arc-mode.el (archive-7z-expunge, archive-7z-update):
7343 New defcustoms.
7344 (archive-7z-write-file-member): New function.
7345 (archive-7z-summarize): Fix the number of dashes in the
7346 listing output.
7347
8fa39615
SM
73482011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7349
7350 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7351 (bug#8958).
7352
2f11b3f1
CY
73532011-07-04 Chong Yidong <cyd@stupidchicken.com>
7354
d66fef2b
CY
7355 * bindings.el: Ignore next-buffer and previous-buffer in
7356 minibuffer-local-map.
7357
2f11b3f1
CY
7358 * font-lock.el (font-lock-builtin-face): Change light background
7359 color to dark slate blue (Bug#6693).
7360
f932a347
WD
73612011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
7362
7363 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7364
c8af70e1
SM
73652011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7366
7367 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7368 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7369 Add switch-to-buffer.
7370
f158badc
LMI
73712011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7372
7373 * isearch.el (isearch-search-fun-function): Clarify further the
7374 meaning of the function returned.
7375
6d95bd46
MA
73762011-07-04 Michael Albinus <michael.albinus@gmx.de>
7377
7378 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7379
7380 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7381 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7382 Use it.
7383 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
7384 `tramp-default-remote-path' does not exist.
7385 (tramp-send-command-and-read): New optional argument NOERROR.
7386 (tramp-open-connection-setup-interactive-shell)
7387 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7388 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7389 (tramp-process-sentinel): Flush also process' connection property.
7390 (tramp-sh-handle-start-file-process): Do not set process
7391 sentinel. It is done now ...
7392 (tramp-maybe-open-connection): ... here. (Bug#8929)
7393
909e6b67
MK
73942011-07-04 MON KEY <monkey@sandpframing.com>
7395
7396 * play/animate.el (animate-string): Doc fixes and allow changing
7397 the buffer name (bug#5417).
7398
73992011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7400
c8af70e1 7401 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 7402
f34755dc
PE
74032011-07-04 Paul Eggert <eggert@cs.ucla.edu>
7404
396cec72
PE
7405 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7406 This is simpler and helps future-proof the code.
7407 (timer-until): Use time-subtract and float-time.
08235028 7408 (timer--time-less-p): Use time-less-p.
f34755dc 7409
56e6cc31
JB
74102011-07-04 Juanma Barranquero <lekktu@gmail.com>
7411
3abb79e5
JB
7412 * type-break.el (timep): Use the value of `float-time' to avoid a
7413 byte-compiler warning.
7414
56e6cc31
JB
7415 * server.el (server-eval-and-print): Return any result, even nil.
7416
7b9430b4
PE
74172011-07-03 Paul Eggert <eggert@cs.ucla.edu>
7418
7419 * type-break.el: Accept time formats that the builtins accept.
7420 (timep, type-break-time-difference): Accept any format that
7421 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7422 This is simpler and helps future-proof the code.
7423 (type-break-time-difference): Round rather than ignoring
7424 subseconds components.
7425
3034e9e7
LMI
74262011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7427
7428 * info.el (Info-apropos-matches): Make non-interactive, since it
7429 doesn't seem to do anything useful as a command (bug#8829).
7430
1485f4c0
CY
74312011-07-03 Chong Yidong <cyd@stupidchicken.com>
7432
7433 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 7434 Move from faces.el.
1485f4c0
CY
7435 (frame-default-terminal-background): New function.
7436
7437 * custom.el (custom-push-theme): Don't record faces in `changed'
7438 theme; this doesn't work correctly for per-frame face settings.
7439 (disable-theme): Use face-set-after-frame-default to reset faces.
7440 (custom--frame-color-default): New function.
7441
9fa3dd45
LMI
74422011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7443
c8af70e1 7444 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
7445 (bug#8769).
7446
6cbbc20c
KR
74472011-03-29 Kevin Ryde <user42@zip.com.au>
7448
7449 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7450 `perl-Test2' extend to match possible "fail #N" rep count
7451 (bug#8377).
7452
c7f98048
LMI
74532011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7454
65676592
LMI
7455 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7456 `smtpmail-via-smtp' now returns the error instead of nil.
7457
c7f98048
LMI
7458 * isearch.el (isearch-search-fun-function): Clarify the doc string
7459 (bug#8101).
7460
56e6cc31 74612011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
7462
7463 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7464 unnecessary spaces (bug#8987).
7465
2b216704
LMI
74662011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7467
7468 * net/network-stream.el (open-network-stream): Use the
7469 :end-of-capability command thoughout.
7470
74712011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7472
7473 * net/network-stream.el (open-network-stream): Add the
7474 :end-of-capability command parameter, used by pop3.el.
7475
36adf6ce
LMI
74762011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7477
1ca0da0e
LMI
7478 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7479
fc00f69c
LMI
7480 * fringe.el (fringe-query-style): Remove redundant text " (type ?
7481 for list)" (bug#6475).
7482
28fd8759 7483 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 7484 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
7485 an error (bug#6297).
7486
0dd8b6da
LMI
7487 * man.el (Man-reference-regexp): Allow matching possible
7488 word-wrapped references (bug#6289).
7489
ce1438d6
LMI
7490 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7491 for consistency with the other vc buffers (bug#6197).
7492 (vc-checkin): Ditto.
7493
7494 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7495
36adf6ce
LMI
7496 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7497
e83cc1f7
LMI
74982011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7499
8a20ca4c
LMI
7500 * custom.el (defcustom): Clarify that :set is only used in the
7501 Customize user interface (bug#6089).
7502
83319045
LMI
7503 * progmodes/flymake.el (flymake-mode): If the buffer isn't
7504 associated with a file, refuse to run instead of erroring out
7505 (bug#6084).
7506
a8392169
LMI
7507 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7508 the doc string, since it appears that using `fill-column' always
7509 controls the width (bug#7845).
7510
e83cc1f7
LMI
7511 * simple.el (shell-command-on-region): Say where the error output
7512 went if `shell-command-default-error-buffer' is set (bug#6857).
7513
e47ca23b
KM
75142011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
7515
7516 * allout.el (allout-yank-processing): Adjust cursor position for
7517 backwards-deleted space.
7518
7519 (allout-rebullet-heading): Register changes with
7520 allout-exposure-changed-hook, so the modified topic is properly
7521 decorated.
7522
5cf56143
LMI
75232011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7524
08549772
LMI
7525 * minibuffer.el (completion-in-region): Document PREDICATE
7526 (bug#7136).
7527
48e96771
LMI
7528 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7529 of keyword/argument pairs (bug#6904).
7530
c8af70e1
SM
7531 * replace.el (multi-occur):
7532 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 7533
e17d05e2
LMI
75342011-07-02 Drew Adams <drew.adams@oracle.com>
7535
7536 * dired.el (dired-mark-if): Make the message about whether it's
7537 marking or unmarking clearer (bug#8523).
7538
063b0e45
LMI
75392011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7540
7541 * disp-table.el (display-table-print-array): New function.
7542 (describe-display-table): Use it to print the vectors more pretty
7543 (Bug#8859).
7544
28545e04
MR
75452011-07-02 Martin Rudalics <rudalics@gmx.at>
7546
7547 * window.el (window-state-get-1): Don't assign clone numbers.
7548 Add clone-of item to list of window parameters.
7549 (window-state-put-2): Don't process clone numbers.
7550 (display-buffer-alist): Fix doc-string.
7551
3349e122
SM
75522011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7553
7554 * subr.el (remq): Don't allocate if it's not needed.
7555 (keymap--menu-item-binding, keymap--menu-item-with-binding)
7556 (keymap--merge-bindings): New functions.
7557 (keymap-canonicalize): Use them to refine the canonicalization.
7558 * minibuffer.el (minibuffer-local-completion-map)
7559 (minibuffer-local-must-match-map): Move initialization from C.
7560 (minibuffer-local-filename-completion-map): Move initialization from C;
7561 don't inherit from anything here.
7562 (minibuffer-local-filename-must-match-map): Make obsolete.
7563 (completing-read-default): Use make-composed-keymap to combine
7564 minibuffer-local-filename-completion-map with either
7565 minibuffer-local-must-match-map or
7566 minibuffer-local-filename-completion-map.
7567
d224ac83
GM
75682011-07-01 Glenn Morris <rgm@gnu.org>
7569
3de63bf8
GM
7570 * type-break.el (type-break-time-sum): Use dolist.
7571
d224ac83
GM
7572 * textmodes/flyspell.el (flyspell-word-search-backward):
7573 Replace CL function.
7574
1a1e3f32
SM
75752011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7576
fe3f64d5
SM
7577 * mouse.el (mouse--strip-first-event): New function.
7578 (function-key-map): Use it to map fringe clicks to normal clicks
7579 by default.
7580
eb604e34
SM
7581 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7582 (vc-bzr-revision-completion-table): Add support for annotate and date.
7583
1a1e3f32
SM
7584 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7585 inherit from parent.
7586
5bd35902
LMI
75872011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7588
ace6c69c 7589 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 7590 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 7591
191e2bed
LMI
7592 * dired.el (dired-mode): Fix up the doc string as suggested by
7593 Drew Adams (bug#8817).
7594
5bd35902
LMI
7595 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7596 cookie, since the manual says that it should be possible to add
7597 this function to `find-file-hook' (bug#8709).
7598
eee8207a
TZ
75992011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7600
7601 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7602 here. Noted Ted Zlatanov as the maintainer.
7603 (cfengine-common-settings, cfengine-common-syntax): New functions
7604 to set up common things between `cfengine-mode' and
7605 `cfengine3-mode'.
7606 (cfengine3-mode): New mode.
7607 (cfengine3-defuns cfengine3-defuns-regex
7608 (cfengine3-class-selector-regex cfengine3-category-regex)
7609 (cfengine3-vartypes cfengine3-font-lock-keywords)
7610 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 7611 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 7612
36b148cf
MA
76132011-07-01 Michael Albinus <michael.albinus@gmx.de>
7614
7615 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7616
7617 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7618
0bf4ba9a
MR
76192011-07-01 Martin Rudalics <rudalics@gmx.at>
7620
7621 * window.el (same-window-buffer-names, same-window-regexps)
7622 (same-window-p, special-display-frame-alist)
7623 (special-display-popup-frame, special-display-function)
7624 (special-display-buffer-names, special-display-regexps)
7625 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7626 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7627 (split-window-preferred-function, split-height-threshold)
7628 (split-width-threshold, even-window-heights)
7629 (display-buffer-mark-dedicated, window-splittable-p)
7630 (split-window-sensibly, window-safely-shrinkable-p):
7631 Un-obsolete.
7632 (display-buffer): Don't spread args with function specifier
7633 because special-display-popup-frame won't like it.
7634
35837f51
PE
76352011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7636
d0672f86
PE
7637 Time-stamp simplifications and fixes.
7638 These improve accuracy slightly, and future-proof the code
7639 against some potential changes to current-time format.
7640
b9444d97
PE
7641 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7642 by using time-since and float-time.
7643
0ef923dc
PE
7644 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7645 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7646 + NNN microseconds".
7647
2f81380d
PE
7648 * type-break.el (type-break-time-sum): Rewrite using time-add.
7649
845b5c3e
PE
7650 * play/hanoi.el (hanoi-current-time-float): Remove.
7651 All uses replaced by float-time.
7652
ee6f1be0
PE
7653 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7654 This yields a more-accurate answer.
7655 (rng-time-to-float): Remove; no longer needed.
7656
fe955043
PE
7657 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7658
5777162a
PE
7659 * calendar/timeclock.el (timeclock-seconds-to-time):
7660 Defalias to seconds-to-time, since they're the same thing.
7661
3103f8b6 7662 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 7663 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
7664 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7665
0e61a35f
SM
76662011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7667
7668 * window.el (bury-buffer): Don't iconify the only frame.
7669 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7670 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7671
ddd63a1e
CY
76722011-07-01 Chong Yidong <cyd@stupidchicken.com>
7673
0e61a35f
SM
7674 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7675 Add mouse-yank-primary.
ddd63a1e 7676
055f4923
TZ
76772011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7678
7679 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7680
6a2fb145
SM
76812011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7682
7683 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7684 (find-library-name): Use it to find relative load names when provided
7685 absolute file name (bug#8803).
7686
fd4983f2
LMI
76872011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7688
887d14ad
LMI
7689 * textmodes/flyspell.el (flyspell-word): Consider words that
7690 differ only in case as potential doublons (bug#5687).
7691
c53dc7fc
LMI
7692 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7693 Remove two rather uninteresting debugging-like messages to make
7694 debbugs.el more silent.
7695
fd4983f2
LMI
7696 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7697 a password-like phrase.
7698
7a71b18d 76992011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
7700
7701 * progmodes/cc-guess.el: New file.
7702
6a2fb145 7703 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
7704
7705 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7706 derived from `c-basic-common-init'.
7707
7708 * progmodes/cc-mode.el (top-level): Require cc-guess.
7709 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7710
1fa280a3
LM
77112011-06-30 Lawrence Mitchell <wence@gmx.li>
7712
7713 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7714
e6597158
AM
77152011-06-30 Alan Mackenzie <acm@muc.de>
7716
1fa280a3
LM
7717 * progmodes/cc-engine.el (c-guess-continued-construct):
7718 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
7719 lock is disabled. Name this case as "CASE G".
7720
68ba37fb
KM
77212011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7722
7723 * allout.el (allout-yank-processing): Fix injection of extra space
7724 between bullet and non-whitespace character in first topic when
7725 pasting, ensuring that the actual spacing in the pasted topic
7726 following the bullet char is preserved. This extra space was
7727 causing pasted encrypted topics to get a decrypted status even
7728 when the content was actually still encrypted. Now the decryption
7729 status from before the paste is preserved.
7730
7731 (allout-flag-region): Set all allout overlays so they evaporate
7732 when reduced to zero length (evanescent), to prevent overlay
7733 leakage.
7734
887a0b34
GM
77352011-06-30 Glenn Morris <rgm@gnu.org>
7736
94b9acce
GM
7737 * w32-fns.el (w32-charset-info-alist): Declare.
7738
1d9b46d4
GM
7739 * find-dired.el (find-grep-options): Simplify.
7740
cc232200
GM
7741 * term/ns-win.el (ns-set-resource): Declare.
7742
28e77c46
GM
7743 * ses.el (row, col): Declare dynamic variables honestly.
7744
887a0b34
GM
7745 * textmodes/reftex-parse.el (index-tags): Declare.
7746
658d8eb8
CY
77472011-06-30 Chong Yidong <cyd@stupidchicken.com>
7748
7749 * cus-edit.el (customize-push-and-save): New function.
7750
7751 * files.el (hack-local-variables-confirm): Use it.
7752
1fa280a3
LM
7753 * custom.el (load-theme): New arg NO-CONFIRM.
7754 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
7755 (custom-enabled-themes): Doc fix.
7756
7757 * cus-theme.el (customize-create-theme)
7758 (custom-theme-merge-theme): Callers to load-theme changed.
7759
bb617717
LMI
77602011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7761
d61bdd5d
LMI
7762 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7763 short URLs have at least one dot in them (bug #7614).
7764
bb617717
LMI
7765 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7766 nil, because using a pty is apparently too slow (bug #895).
7767
2f31f37a
LMI
77682011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7769
7770 * mail/sendmail.el (sendmail-query-once): New function.
7771 (sendmail-query-once-function): New variable.
7772
3076b24e
GM
77732011-06-29 Glenn Morris <rgm@gnu.org>
7774
faf2a174
GM
7775 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7776
3076b24e
GM
7777 * ses.el (top-level): Require cl when compiling.
7778 (ses-set-localvars): Fix error statement.
7779 Call it at compile time to silence a storm of warnings.
7780
5386012d
MR
77812011-06-29 Martin Rudalics <rudalics@gmx.at>
7782
7783 * window.el (normalize-live-buffer): Rename to
7784 window-normalize-buffer.
7785 (normalize-live-frame): Rename to window-normalize-frame.
7786 (normalize-any-window): Rename to window-normalize-any-window.
7787 (normalize-live-window): Rename to window-normalize-live-window.
7788 (make-window-atom): Rename to window-make-atom.
7789 (window-resize-reset): Rename to window--resize-reset.
7790 (window-resize-reset-1): Rename to window--resize-reset-1.
7791 (resize-mini-window): Rename to window--resize-mini-window.
7792 (resize-subwindows-skip-p): Rename to
7793 window--resize-subwindows-skip-p.
7794 (resize-subwindows-normal): Rename to
7795 window--resize-subwindows-normal.
7796 (resize-subwindows): Rename to window--resize-subwindows.
7797 (resize-other-windows): Rename to window--resize-siblings.
7798 (resize-this-window): Rename to window--resize-this-window.
7799 (resize-root-window): Rename to window--resize-root-window.
7800 (resize-root-window-vertically): Rename to
7801 window--resize-root-window-vertically.
7802 (normalize-buffer-to-display): Rename to
7803 window-normalize-buffer-to-display.
7804 (normalize-buffer-to-switch-to): Rename to
7805 window-normalize-buffer-to-switch-to.
7806 Correspondingly update all callers of the functions listed
7807 above.
7808 (display-buffer-alist, display-buffer-normalize-arguments)
7809 (display-buffer-normalize-options, display-buffer)
7810 (display-buffer-alist-set): Use "function" instead of
7811 "fun-with-args".
7812
1176868d
CY
78132011-06-28 Chong Yidong <cyd@stupidchicken.com>
7814
7815 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7816 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7817 debbugs.gnu.org. Mention acknowledgment email.
7818
20a7a65f
LMI
78192011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7820
7821 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7822 buffer multibyteness, since it shouldn't matter.
7823
5f45cca5
MR
78242011-06-28 Martin Rudalics <rudalics@gmx.at>
7825
7826 * window.el (display-buffer-in-side-window): Handle dedicated
7827 windows as in display-buffer-reuse-window.
7828 (display-buffer-normalize-alist): Use value of override
7829 specifier.
7830 (display-buffer-normalize-specifiers): Use value of
7831 other-window-means-other-frame specifier.
7832 (display-buffer-alist): Rewrite some texts in widgets.
7833 (display-buffer): Spread arguments when calling function
7834 specified by fun-with-args.
7835
ad85fe1f
DD
78362011-06-28 Deniz Dogan <deniz@dogan.se>
7837
1fa280a3
LM
7838 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7839 Unnest `let'.
da68c4c8 7840
ad85fe1f
DD
7841 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7842 selectors (Bug#5732).
ec49bd31 7843 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 7844
a08cc025
JA
78452011-06-27 Jari Aalto <jari.aalto@cante.net>
7846
7847 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7848 (eshell-ls-date-format): New defcustom.
7849 (eshell-ls-file): Use it.
7850
e2b551c5
SM
78512011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7852
7853 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7854
8982b231
KY
78552011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7856
7857 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7858 (ange-ftp-make-tmp-name): New arg.
7859 (ange-ftp-file-local-copy): Use it.
7860
36c9fa27
J
78612011-06-27 Jambunathan K <kjambunathan@gmail.com>
7862
7863 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7864 no-conversion (Bug#8870).
7865
d68443dc
MR
78662011-06-27 Martin Rudalics <rudalics@gmx.at>
7867
7868 * window.el (window-right, window-left, window-child)
7869 (window-child-count, window-last-child)
7870 (window-iso-combination-p, walk-window-tree-1)
7871 (window-atom-check-1, window-tree-1, delete-window)
7872 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7873 new naming conventions - window-vchild, window-hchild,
7874 window-next and window-prev are now called window-top-child,
7875 window-left-child, window-next-sibling and window-prev-sibling
7876 respectively.
d615d6d2
MR
7877 (resize-window-reset): Rename to window-resize-reset.
7878 (resize-window-reset-1): Rename to window-resize-reset-1.
7879 (resize-window): Rename to window-resize.
7880 (window-min-height, window-min-width)
7881 (resize-mini-window, resize-this-window, resize-root-window)
7882 (resize-root-window-vertically, adjust-window-trailing-edge)
7883 (enlarge-window, shrink-window, maximize-window)
7884 (minimize-window, delete-window, quit-restore-window)
7885 (split-window, balance-windows, balance-windows-area-adjust)
7886 (balance-windows-area, window-state-put-2)
7887 (display-buffer-even-window-sizes, display-buffer-set-height)
7888 (display-buffer-set-width, set-window-text-height)
7889 (fit-window-to-buffer): Rename all "resize-window" prefixed
7890 calls to use the "window-resize" prefix convention.
7891 (display-buffer-alist): Fix symbol for label specifier.
7892 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7893 corresponding specifier.
7894 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 7895
b6458526
VB
78962011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7897
7898 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7899 convention.
7900 (ses-call-printer): Does not pass an empty string to formatter when the
7901 cell is empty to keep from barking printer Calc math-format-value.
7902
d31fd9ac
RS
79032011-06-27 Richard Stallman <rms@gnu.org>
7904
43d5bf84
RS
7905 * battery.el (battery-mode-line-limit): New variable.
7906 (battery-update): Handle it.
7907
d31fd9ac
RS
7908 * mail/rmailmm.el (rmail-mime-process-multipart):
7909 Handle truncated messages.
7910
819a6054
GM
79112011-06-27 Glenn Morris <rgm@gnu.org>
7912
7913 * progmodes/flymake.el (flymake-err-line-patterns):
7914 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7915
cedc73f2
VB
79162011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7917
819a6054 7918 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
7919 (ses--clean-!, ses--clean-_): New functions.
7920 (ses-range): Add configurability of readout order, and conversion
7921 to Calc vector.
7922
5e5d49b6
VB
7923 * ses.el (ses-repair-cell-reference-all): New function.
7924 (ses-cell-symbol): Set macro as safe, so that it can be used in
7925 formulas.
7926
56e6cc31 7927 * ses.el: Update cycle detection algorithm.
90ca8b49 7928 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 7929 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
7930 (ses-set-localvars): New function.
7931 (ses-make-cell): Add property-list as a cell element.
7932 (ses-cell-property-get-fun, ses-cell-property-get)
7933 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
7934 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7935 New functions.
90ca8b49
VB
7936 (ses-cell-property-set, ses-cell-property-pop)
7937 (ses-cell-property-get-handle): New macro.
7938 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7939 New aliases, used for code readability.
7940 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7941 cycle detection.
7942 (ses-self-reference-early-detection): New defcustom.
fac916bf 7943 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
7944 (ses-mode): Use ses-set-localvars.
7945 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7946 before lauching the update processing.
7947 (ses-initialize-Dijkstra-attempt): New function.
7948 (ses-recalculate-cell): Update for cycle detection based on
7949 Dijkstra algorithm.
7950
2bb63e81
VB
7951 * ses.el: Fix commenting and indenting convention.
7952
c9d29fb8
SM
79532011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7954
7955 * bs.el (bs-cycle-next): Complete last change.
7956
d8e4b68b
JB
79572011-06-27 Drew Adams <drew.adams@oracle.com>
7958
7959 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7960
40098786
LMI
79612011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7962
c9d29fb8
SM
7963 * net/network-stream.el (network-stream-open-starttls):
7964 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
7965 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7966
40098786
LMI
7967 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7968 to binary to possibly avoid line encoding issues on Windows (among
7969 other things).
7970
468d09d4
LMI
79712011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7972
7973 * net/network-stream.el (open-network-stream): Return an :error
7974 saying what the problem was, if possible.
7975
7976 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7977 server.
7978
7979 * net/network-stream.el (network-stream-open-starttls): If we
7980 wanted to use STARTTLS, and the server offered it, but we weren't
7981 able to because we had no STARTTLS support, then close the connection.
7982 (open-network-stream): Return an :error element, if present.
7983
16f07dd7
CY
79842011-06-26 Chong Yidong <cyd@stupidchicken.com>
7985
88821ca0
CY
7986 * hl-line.el (hl-line-sticky-flag): Doc fix.
7987 (global-hl-line-sticky-flag): New option (Bug#8323).
7988 (global-hl-line-highlight): Obey it.
7989
16f07dd7
CY
7990 * vc/vc.el (vc-revert-show-diff): Default to t.
7991
6b5ccddf
KM
79922011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
7993
c9d29fb8
SM
7994 * allout-widgets.el (allout-widgets-post-command-business):
7995 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
7996 undecorated when an isearch is continued past, and isearch
7997 automatically collapses them. This leads to "widget leaks", where
7998 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
7999 hidden widgets can slow down cursor travel, substantially.
8000 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
8001 so we're doing without this nicety.
8002
8003 (allout-widgets-tally-string): Don't try to do a hash-table-count
8004 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8005 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8006 *Messages* when allout-widgets-maintain-tally is t.
8007
355f2e07
MR
80082011-06-26 Martin Rudalics <rudalics@gmx.at>
8009
8010 * window.el (display-buffer-normalize-argument): Rename to
8011 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
8012 LABEL argument. Respect special-display-function when popping up
8013 a new frame. Fix code searching for a window showing the buffer
8014 on another frame.
c9d29fb8
SM
8015 (display-buffer-normalize-specifiers):
8016 Call display-buffer-normalize-arguments.
355f2e07
MR
8017 (display-buffer-in-window): Don't undedicate the window if its
8018 buffer remains the same.
8019 Reported by Drew Adams <drew.adams@oracle.com>.
8020 (display-buffer-alist): Add choice for same-window macro
8021 specfier.
8022 (display-buffer): Mention special meaning of LABEL argument in
8023 doc-string. Fix quoting. Don't pop up a new frame even as
8024 fallback.
8025
7ca8fc42
JB
80262011-06-26 Juanma Barranquero <lekktu@gmail.com>
8027
8028 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8029 avoid deleting the current window in some cases (bug#8911).
8030
bc312254
AS
80312011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8032
8033 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8034 (Bug#8934)
8035
2db18f3f
LMI
80362011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8037
c9d29fb8
SM
8038 * net/network-stream.el (network-stream-open-starttls):
8039 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
8040 (network-stream-open-tls): Ditto.
8041
6302e0d3
LL
80422011-06-26 Leo Liu <sdl.web@gmail.com>
8043
8044 * register.el (registerv): New struct.
8045 (registerv-make): New function.
c9d29fb8
SM
8046 (jump-to-register, describe-register-1, insert-register):
8047 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
8048 struct. (Bug#8415)
8049
5fdd4046
CY
80502011-06-26 Chong Yidong <cyd@stupidchicken.com>
8051
2afef60a
CY
8052 * vc/vc.el (vc-revert-show-diff): New defcustom.
8053 (vc-diff-internal): New arg specifying diff buffer.
8054 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8055 reuse an existing *vc-diff* buffer (Bug#8927).
8056
5fdd4046
CY
8057 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8058
e93db24a
GM
80592011-06-26 Glenn Morris <rgm@gnu.org>
8060
8061 * progmodes/f90.el (f90-critical-indent): New option.
8062 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8063 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8064 (f90-mode): Doc fix.
8065 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8066 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8067 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8068 (f90-match-end): Handle block, critical.
8069
eefff499
GM
80702011-06-25 Glenn Morris <rgm@gnu.org>
8071
f6ba4cc9
GM
8072 * calendar/diary-lib.el (diary-included-files): Doc fix.
8073 (diary-include-files): New function, extracted from
8074 diary-include-other-diary-files and diary-mark-included-diary-files.
8075 (diary-include-other-diary-files, diary-mark-included-diary-files):
8076 Just call diary-include-files.
8077 (diary-mark-entries): Reset diary-included-files on first call.
8078
16712304
GM
8079 * calendar/diary-lib.el (diary-mark-entries)
8080 (diary-mark-included-diary-files):
8081 Visit included diary-files in temp buffers.
8082
5d8e0d43
GM
8083 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8084 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8085 (f90-start-block-re, f90-imenu-generic-expression)
8086 (f90-looking-at-program-block-start, f90-no-block-limit):
8087 Add support for submodules.
8088
ccf7a5d5
GM
8089 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8090 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 8091
11fdef7d 80922011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
8093
8094 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8095 buffer-file-type before setting its value, to avoid disastrous
eefff499 8096 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 8097
74f53697
JB
80982011-06-25 Juanma Barranquero <lekktu@gmail.com>
8099
8100 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8101
8102 * ses.el (ses-unload-function):
8103 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8104
8105 * proced.el (proced-unload-function):
8106 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8107
18a4ce5e
AR
81082011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8109
8110 * server.el (server-create-window-system-frame): Add parameters arg.
8111 (server-process-filter): Doc fix. Handle frame-parameters.
8112
519d22cc
JB
81132011-06-25 Juanma Barranquero <lekktu@gmail.com>
8114
8115 Fix bug#8730, bug#8781.
8116
8117 * loadhist.el (unload--set-major-mode): New function.
8118 (unload-feature): Use it.
8119
8120 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8121 (python-unload-function): New function.
8122
c206f5b0
SM
81232011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8124
8125 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8126
f9ad64f3
GS
81272011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8128
8129 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8130 the candidates list.
8131
7d0da90e
JB
81322011-06-24 Juanma Barranquero <lekktu@gmail.com>
8133
8134 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8135
14b4e83d
RS
81362011-06-23 Richard Stallman <rms@gnu.org>
8137
8138 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8139 (rmail-variables): Set next-error-move-function.
8140 (rmail-what-message): Take argument POS.
8141 (rmail-next-error-move): New function.
8142
273d2baf
SM
81432011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8144
8145 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8146 messages for adjacent non-terminals.
8147
56c2cc9a
RS
81482011-06-23 Richard Stallman <rms@gnu.org>
8149
8150 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 8151 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
8152 (rmail-start-mail): Don't specify use of rmail-mail-return;
8153 that's done by mail-bury now.
8154 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 8155
d59eb518
MA
81562011-06-23 Michael Albinus <michael.albinus@gmx.de>
8157
8158 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8159 SIZE is a number.
8160
02cfc6d6
MR
81612011-06-23 Martin Rudalics <rudalics@gmx.at>
8162
8163 * window.el (get-lru-window, get-mru-window)
8164 (get-largest-window): Never return a minibuffer window.
8165 (display-buffer-pop-up-window): Fix a bug that could lead to
8166 reusing the minibuffer window.
8167 (display-buffer): Pass original specifier argument to
8168 display-buffer-function instead of the normalized one.
8169 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8170
4e323265
LL
81712011-06-22 Leo Liu <sdl.web@gmail.com>
8172
8173 * minibuffer.el (completing-read-function)
8174 (completing-read-default): Move from minibuf.c
8175
7a70468f
RS
81762011-06-22 Richard Stallman <rms@gnu.org>
8177
50718fc2
RS
8178 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8179 to Rmail even if not started by a special Rmail command.
8180
7a70468f
RS
8181 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8182 Copy the buffer currently showing just one message.
8183
297dde5a
RW
81842011-06-22 Roland Winkler <winkler@gnu.org>
8185
8186 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8187 (bibtex-clean-entry): First delete the old key so that a
8188 customized algorithm for generating the new key does not get
8189 confused by the old key.
8190 (bibtex-url): Obey regexp of first step.
8191 (bibtex-search-entries): Do not use add-to-list with local
8192 list-var.
8193
97bb1093
LMI
81942011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8195
8196 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8197 stored a user name, then query for the password first, instead of
8198 waiting for SMTP to give an error message and the trying again.
8199
1c0f1a19
JD
82002011-06-22 Lawrence Mitchell <wence@gmx.li>
8201
8202 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8203 BUFFER in call-process.
8204
396f7c9d
LMI
82052011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8206
8207 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8208 QUIT twice.
ddb7ffee
LMI
8209 (smtpmail-try-auth-methods): Require user name and password from
8210 auth-source.
396f7c9d 8211
8998d1b3
MR
82122011-06-22 Martin Rudalics <rudalics@gmx.at>
8213
8214 * window.el (display-buffer-default-specifiers)
8215 (display-buffer-alist): Remove entries for pop-up-frame-alist.
8216 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 8217 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
8218
8219 * frame.el (pop-up-frame-alist, pop-up-frame-function)
8220 (special-display-frame-alist, special-display-popup-frame):
8221 Remove duplicate declarations. These are now in window.el.
8222
4ea31e07
LMI
82232011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8224
c9d29fb8
SM
8225 * mail/smtpmail.el (smtpmail-via-smtp):
8226 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
8227 server supports it. SMTP servers that support STARTTLS commonly
8228 require it.
8229
8230 * net/network-stream.el (network-stream-open-starttls): Support
8231 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 8232 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 8233
95f41d9a
LMI
8234 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8235 upgrades with `open-network-stream', and rely solely on
8236 auth-source for all credentials. Big changes throughout the file,
8237 but in particular:
c9d29fb8
SM
8238 (smtpmail-auth-credentials): Remove.
8239 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
8240 (smtpmail-via-smtp): Check for servers saying they want AUTH after
8241 MAIL FROM, too.
95f41d9a 8242
c9d29fb8
SM
8243 * net/network-stream.el (network-stream-open-starttls):
8244 Provide support for client certificates both for external and built-in
4ea31e07
LMI
8245 STARTTLS.
8246 (auth-source): Require.
8247 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
8248 (network-stream-certificate): Change cert-cert to cert and
8249 cert-key to key.
4ea31e07 8250
065ec2c7
MA
82512011-06-21 Michael Albinus <michael.albinus@gmx.de>
8252
8253 * net/tramp-cache.el (top): Don't load the persistency file when
8254 "emacs -Q" has been called.
8255
cd93b359
DR
82562011-06-21 Tim Harper <timcharper@gmail.com>
8257
d8e4b68b
JB
8258 * term/ns-win.el (ns-initialize-window-system):
8259 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
8260 resource to NO as it is not yet supported by the NS port.
8261
ae9c0411
JB
82622011-06-21 Juanma Barranquero <lekktu@gmail.com>
8263
8264 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8265 (list-dynamic-libraries): ...not here.
8266
7f3f739f
LL
82672011-06-21 Leo Liu <sdl.web@gmail.com>
8268
8269 * subr.el (sha1): Implement sha1 using secure-hash.
8270
327c8fb1
MR
82712011-06-21 Martin Rudalics <rudalics@gmx.at>
8272
8273 * window.el (display-buffer-alist): In default value do not
8274 enforce searching a window on any but the selected frame.
8275 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8276 (display-buffer-select-window): Remove function.
8277 (display-buffer-in-window): When a window on another frame gets
8278 reused, do not select it any more but just raise its frame if
8279 necessary (Bug#8851) and (Bug#8856).
8280 (display-buffer-normalize-options): Handle pop-up-frames related
8281 options more faithfully.
8282 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8283 window if it is on another frame.
c9d29fb8
SM
8284 (display-buffer-alist, display-buffer-default-specifiers):
8285 Don't make new frame unsplittable by default.
9e9de014
MR
8286 (display-buffer-normalize-argument): Fix doc-string typo and use
8287 'same-frame-other-window instead of 'other-window when associating
8288 with display-buffer-macro-specifiers.
327c8fb1 8289
7cf3f556
VB
82902011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8291
8292 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8293 New functions.
8294 (5x5-mode-map, 5x5-mode-menu): Bind them.
8295 (5x5-draw-grid): Tweak the solver's rendering.
8296
60a406cf
SM
82972011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8298
8299 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8300 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8301
d8e4b68b 83022011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
8303
8304 * menu-bar.el: Use function variable instead of switch-to-buffer.
8305 (menu-bar-select-buffer-function): New variable.
60a406cf 8306 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 8307
478d6f95
SM
83082011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8309
8310 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8311 variable's status.
8312
ca530739
JD
83132011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8314
8315 * x-dnd.el (x-dnd-version-from-flags)
8316 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8317 and long as number (Bug#8899).
8318 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8319
bcd70d97
SM
83202011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8321
60a406cf 8322 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
8323 (completion-try-completion, completion-all-completions): Compute the
8324 metadata argument if it's missing; make it optional (bug#8795).
8325
60a406cf 8326 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
8327 (widget-complete): Use new :completion-function property.
8328 (widget-completions-at-point): New function.
8329 (default): Use :completion-function instead of :complete.
60a406cf
SM
8330 (widget-default-completions): Rename from widget-default-complete;
8331 Rewrite.
bcd70d97
SM
8332 (widget-string-complete, widget-file-complete, widget-color-complete):
8333 Remove functions.
8334 (file, symbol, function, variable, coding-system, color):
8335 * international/mule-cmds.el (default-input-method, charset)
8336 (language-info-custom-alist):
8337 * cus-edit.el (face): Use new property :completions.
8338
8339 * progmodes/pascal.el (pascal-completions-at-point): New function.
8340 (pascal-mode): Use it.
8341 (pascal-mode-map): Use completion-at-point.
8342 (pascal-toggle-completions): Make obsolete.
8343 (pascal-complete-word, pascal-show-completions):
8344 * progmodes/octave-mod.el (octave-complete-symbol):
8345 Redefine as obsolete alias.
8346 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8347 Signal absence of completion info for old Octave,
8348 (inferior-octave-complete): Redefine as obsolete alias.
8349 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8350 (meta-completions-at-point): Rename from meta-complete-symbol and
8351 adapt it for use on completion-at-point-functions.
8352 (meta-common-mode): Use it.
8353 (meta-looking-at-backward, meta-match-buffer): Remove.
8354 (meta-complete-symbol): Redefine as obsolete alias.
8355 (meta-common-mode-map): Use completion-at-point.
8356 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8357 (makefile-mode-map): Use completion-at-point.
8358 (makefile-completions-at-point): Rename from makefile-complete and
8359 adapt it for use on completion-at-point-functions.
8360 (makefile-mode): Use it.
8361 (makefile-complete): Redefine as obsolete alias.
8362
aebf69c8
DD
83632011-06-20 Deniz Dogan <deniz@dogan.se>
8364
8365 * net/rcirc.el: Delete trailing whitespaces once and for all.
8366
bfbbb27d
DC
83672011-06-20 Daniel Colascione <dan.colascione@gmail.com>
8368
8369 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8370
d264a46b
CY
83712011-06-19 Chong Yidong <cyd@stupidchicken.com>
8372
4ca009e5
CY
8373 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8374
d264a46b
CY
8375 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8376
fbf5b3ce
MR
83772011-06-19 Martin Rudalics <rudalics@gmx.at>
8378
8379 * window.el (display-buffer-other-window-means-other-frame):
8380 Call display-buffer-normalize-alist.
8381 (display-buffer-normalize-specifiers-1): Rename to
8382 display-buffer-normalize-argument. New argument other-frame.
8383 Rewrite.
8384 (display-buffer-normalize-specifiers-2): Rename to
8385 display-buffer-normalize-options.
8386 (display-buffer-normalize-alist-1): New function.
8387 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
8388 display-buffer-normalize-alist.
8389 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
8390 (display-buffer-normalize-options-inhibit): New variable.
8391 (display-buffer-normalize-specifiers): Rewrite calling
8392 display-buffer-normalize-alist,
8393 display-buffer-normalize-argument, and
8394 display-buffer-normalize-options. Don't call the latter if
8395 display-buffer-normalize-options-inhibit is non-nil.
8396 (frame-auto-delete): New option.
8397 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
8398 (window-list-no-nils, window-state-ignored-parameters)
8399 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
8400 (window-state-put-1, window-state-put-2, window-state-put):
8401 New functions.
9a028c23
MR
8402 (display-buffer-normalize-options): Move special-display-p group
8403 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 8404
6d10d800
CY
84052011-06-18 Chong Yidong <cyd@stupidchicken.com>
8406
6420d28b
CY
8407 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8408 groups (Bug#8776).
8409 (rx-submatch-n): New function.
8410 (rx): Document it.
8411
ddb8b596
CY
8412 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8413 (Bug#8768).
8414
8415 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8416
77080289
CY
8417 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8418
61dfb316
CY
8419 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8420 anytime existing face settings are present (Bug#8889).
8421
6d10d800
CY
8422 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8423 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8424 Remove unused argument.
8425
be3fb2b8
MR
84262011-06-18 Martin Rudalics <rudalics@gmx.at>
8427
bcd70d97
SM
8428 * window.el (display-buffer-default-specifiers):
8429 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
8430 pop-up-window-min-width, and another reuse-window specifier
8431 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
8432 (display-buffer-normalize-specifiers-2):
8433 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
8434 pop-up-windows is unset. Add a reuse-window specifier for the
8435 case popping up a new window fails.
8436 (special-display-popup-frame): Remove double quoting.
28dec25a 8437 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 8438
1c6d8c76
SM
84392011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8440
8441 * shell.el (shell-completion-vars): Set pcomplete-termination-string
8442 according to comint-completion-addsuffix.
8443
8444 * pcomplete.el: Convert to lexical binding and fix bug#8819.
8445 (pcomplete-suffix-list): Mark as obsolete.
8446 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8447 pcomplete-seen in the closure.
8448 (pcomplete-comint-setup): Setup completion-at-point as well.
8449 (pcomplete--entries): New function.
8450 (pcomplete--env-regexp): New var.
8451 (pcomplete-entries): Rewrite to work with partial-completion and
8452 without relying on pcomplete-suffix-list.
8453 (pcomplete-pare-list): Remove, unused.
8454
25aef8b8
MR
84552011-06-17 Martin Rudalics <rudalics@gmx.at>
8456
8457 * window.el (display-buffer-alist): Set pop-up-window-min-height
8458 and pop-up-window-min-width in default value. Reported by
8459 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
8460 other-window-means-other-frame.
8461 (display-buffer-macro-specifiers): Comment out entry for
8462 other-window specifier.
8463 (display-buffer-other-window-means-other-frame): New function.
8464 (display-buffer-normalize-specifiers-1): New arguments
8465 buffer-name and label. Treat other-window case specially.
8466 (display-buffer-normalize-specifiers-2): Treat other-window case
8467 specially.
8468 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
8469 (display-buffer-normalize-specifiers):
8470 Call display-buffer-normalize-specifiers-3.
25aef8b8 8471
dbad4f69
MR
84722011-06-17 Martin Rudalics <rudalics@gmx.at>
8473
8474 * window.el (same-window-p): Fix two typos introduced when
8475 adding with-no-warnings.
d1067961
MR
8476 (display-buffer-normalize-specifiers-1): Don't check
8477 pop-up-frames for 'unset initialization.
8478 (display-buffer-normalize-specifiers-2): Major rewrite using
8479 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8480 (pop-up-frames, display-buffer-reuse-frames)
8481 (display-buffer-mark-dedicated): Don't initialize to 'unset.
8482 Suggested by David Engster <deng@randomsample.de>.
8483 (even-window-heights): Initialize to 'unset.
8484 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
8485 (display-buffer-macro-specifiers): Don't pop up a new frame in the
8486 other window case.
dbad4f69 8487
9b9c9e3a
MR
84882011-06-16 Martin Rudalics <rudalics@gmx.at>
8489
bcd70d97
SM
8490 * window.el (display-buffer-normalize-specifiers-1):
8491 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 8492 second argument of display-buffer (Bug#8865).
981d5c09
MR
8493 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8494 (switch-to-buffer-other-window-same-frame)
8495 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
8496 Adams (Bug#8875).
9c2755e9
MR
8497 (display-buffer): Don't check noninteractive when calling
8498 display-buffer-pop-up-frame.
8499 (display-buffer-pop-up-frame): Never pop up a frame in
8500 noninteractive mode (Bug#8857).
67222e1d
MR
8501 (enlarge-window, shrink-window): Don't report an error when the
8502 window can't be resized as requested (Bug#8862).
9b9c9e3a 8503
2b75be67
SM
85042011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8505
9ffdd3ba
SM
8506 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8507
cb581a67
SM
8508 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8509
2b75be67
SM
8510 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8511
8c0e3589
AM
85122011-06-15 Alan Mackenzie <acm@muc.de>
8513
cb581a67
SM
8514 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8515 for declarators, disable knr checking to speed up for normal files.
8516 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 8517
b96e6cde
LMI
85182011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8519
4bba86e6
LMI
8520 * net/network-stream.el (open-network-stream): Add the keyword
8521 :always-query-capabilities for the case where you want to force a
8522 `plain' network connection, but the protocol still requires the
8523 capabilitiy command (i.e., SMTP and EHLO).
8524
2b75be67 8525 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
8526 consistency with other `-live-p' functions.
8527
efdcdbf8
SM
85282011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8529
8530 * window.el (same-window-buffer-names, same-window-regexps)
8531 (special-display-frame-alist, special-display-popup-frame)
8532 (special-display-function, special-display-buffer-names)
8533 (special-display-regexps, pop-up-frame-alist)
8534 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8535 (pop-up-windows, split-window-preferred-function)
8536 (split-height-threshold, split-width-threshold, even-window-heights)
8537 (display-buffer-mark-dedicated): Don't encourage the use of
8538 display-buffer-alist from Elisp code.
8539
c5cde042
DN
85402011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
8541
8542 * progmodes/python.el (python-mode): Derive from prog-mode.
8543 * progmodes/ps-mode.el (ps-mode):
8544 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 8545 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
8546 * progmodes/ld-script.el (ld-script-mode): Likewise.
8547
baa1c9ab
MR
85482011-06-15 Martin Rudalics <rudalics@gmx.at>
8549
8550 * window.el (display-buffer-alist): Trim default value to avoid
8551 popping up a new frame (Bug#8857) or reusing an arbitrary window
8552 on another frame.
8553 (display-buffer): Do not fall back on popping up a new frame in
8554 batch mode (Bug#8857).
8555
c5dd5a51
CY
85562011-06-14 Chong Yidong <cyd@stupidchicken.com>
8557
8558 * cus-theme.el (describe-theme-1): Use custom-theme-p.
8559 (custom-theme-summary): New function.
8560 (customize-themes): Use it.
8561
d647b7c4
GM
85622011-06-13 Glenn Morris <rgm@gnu.org>
8563
8564 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8565
9481c002
MR
85662011-06-13 Martin Rudalics <rudalics@gmx.at>
8567
357f93d2
MR
8568 * help.el (help-window): Remove variable.
8569 (help-window-point-marker, temp-buffer-max-height)
8570 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8571 (help-print-return-message): Don't set help-window.
8572 (resize-temp-buffer-window): Rewrite cod eand doc-string.
8573 (help-window-setup-finish): Remove.
8574 (help-window-display-message, help-window-setup)
8575 (with-help-window): Major rewrite based on new
8576 display-buffer-window variable.
8577
8578 * help-mode.el (help-mode-finish): Remove help-window related
8579 code.
8580
8581 * view.el (view-exits-all-viewing-windows): Remove reference to
8582 view-return-to-alist in doc-string.
8583 (view-return-to-alist): Make obsolete.
8584 (view-buffer): Call pop-to-buffer-same-window and remove
8585 undo-window code.
8586 (view-buffer-other-window): Call pop-to-buffer-other-window and
8587 simplify code. Ignore second argument.
8588 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8589 simplify code. Ignore second argument.
8590 (view-return-to-alist-update): Make obsolete.
8591 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8592 Rewrite using quit-restore window parameters.
2b75be67
SM
8593 (view-mode-exit): Rename second argument to EXIT-ONLY.
8594 Rewrite using quit-restore-window.
357f93d2
MR
8595 (View-exit, View-exit-and-edit, View-leave, View-quit)
8596 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8597 appropriate arguments.
8598 (view-end-message): Use quit-restore window parameter.
8599
9481c002
MR
8600 * window.el (display-buffer-function): Rewrite doc-string.
8601 (display-buffer-window, display-buffer-alist): New variables.
8602 (display-buffer-split-specifiers)
8603 (display-buffer-side-specifiers)
8604 (display-buffer-macro-specifiers): New constants.
8605 (display-buffer-even-window-sizes, display-buffer-set-height)
8606 (display-buffer-set-width, display-buffer-select-window)
8607 (display-buffer-in-window, display-buffer-reuse-window)
8608 (display-buffer-split-window-1, display-buffer-split-window)
8609 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8610 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8611 (display-buffer-in-side-window, normalize-buffer-to-display)
8612 (display-buffer-normalize-specifiers-1)
8613 (display-buffer-normalize-specifiers-2)
2b75be67
SM
8614 (display-buffer-normalize-specifiers, display-buffer-frame):
8615 New functions.
9481c002
MR
8616 (display-buffer): Major rewrite.
8617 (display-buffer-other-window, display-buffer-other-frame)
8618 (pop-to-buffer, switch-to-buffer-other-window)
8619 (switch-to-buffer-other-frame): Rewrite.
8620 (display-buffer-same-window, display-buffer-same-frame)
8621 (display-buffer-same-frame-other-window)
8622 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8623 (pop-to-buffer-other-window)
8624 (pop-to-buffer-same-frame-other-window)
8625 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8626 (switch-to-buffer-other-window-same-frame): New functions.
8627 (same-window-p, special-display-p): Rewrite disabling warnings.
8628 Make obsolete.
8629 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8630 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8631 Make obsolete
8632 (same-window-buffer-names, same-window-regexps)
8633 (special-display-frame-alist, special-display-popup-frame)
8634 (special-display-function, special-display-buffer-names)
8635 (special-display-regexps, pop-up-frame-alist)
8636 (pop-up-frame-function, split-window-preferred-function)
8637 (split-height-threshold, split-width-threshold)
8638 (even-window-heights): Make obsolete.
8639
9db51aca
GM
86402011-06-12 Glenn Morris <rgm@gnu.org>
8641
8642 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 8643 Misc simplifications.
9db51aca 8644
39cffb44
MR
86452011-06-12 Martin Rudalics <rudalics@gmx.at>
8646
8647 * window.el (window-safely-shrinkable-p): Restore function which
8648 was inadvertently removed in change from 2011-06-11. Declare as
8649 obsolete.
8650
2b75be67
SM
8651 * calendar/calendar.el (calendar-generate-window):
8652 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
8653 window-safely-shrinkable-p.
8654
a8955be7
GM
86552011-06-12 Glenn Morris <rgm@gnu.org>
8656
8657 * progmodes/fortran.el (fortran-mode-syntax-table):
8658 * progmodes/f90.el (f90-mode-syntax-table):
8659 Set % to punctuation. (Bug#8820)
8660 (f90-find-tag-default): Remove, no longer needed.
8661
f0d4059d
DC
86622011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8663
8664 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8665
1100a63c
CY
86662011-06-11 Chong Yidong <cyd@stupidchicken.com>
8667
8668 * image.el (image-animated-p): Return animation delay in seconds.
8669 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8670 (image-animate-timeout): Remove DELAY argument. Don't assume
8671 every subimage has the same delay; get it from image-animated-p.
8672 (image-animate): Caller changed.
8673
def722bf
MA
86742011-06-11 Michael Albinus <michael.albinus@gmx.de>
8675
8676 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8677 to ignored backtrace functions.
8678
0a2bb1a9
GM
86792011-06-11 Glenn Morris <rgm@gnu.org>
8680
8681 * calendar/appt.el (appt-disp-window-function): Doc fix.
8682 (appt-check): Handle overlapping appointments. (Bug#8337)
8683
6198ccd0
MR
86842011-06-11 Martin Rudalics <rudalics@gmx.at>
8685
8686 * window.el (window-tree-1, window-tree): New functions, moving
8687 the latter to window.el.
8688 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8689 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8690 (bw-refresh-edges): Remove.
8691 (balance-windows-1, balance-windows-2): New functions.
8692 (balance-windows): Rewrite in terms of window tree functions,
8693 balance-windows-1 and balance-windows-2.
8694 (bw-adjust-window): Remove.
8695 (balance-windows-area-adjust): New function with functionality of
8696 bw-adjust-window but using resize-window.
2b75be67
SM
8697 (set-window-text-height): Rewrite doc-string.
8698 Use normalize-live-window and resize-window.
8699 (enlarge-window-horizontally, shrink-window-horizontally):
8700 Rename argument to DELTA.
6198ccd0
MR
8701 (window-buffer-height): New function.
8702 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8703 Rewrite using new window resize routines.
2b75be67
SM
8704 (kill-buffer-and-window, mouse-autoselect-window-select):
8705 Use ignore-errors instead of condition-case.
6198ccd0
MR
8706 (quit-window): Call delete-frame instead of delete-windows-on
8707 for the only buffer on frame.
8708
9397e56f
MR
87092011-06-10 Martin Rudalics <rudalics@gmx.at>
8710
8711 * loadup.el (top-level): Load window before files for the sake
8712 of replace-buffer-in-windows.
8713
8714 * files.el (read-buffer-to-switch)
8715 (switch-to-buffer-other-window)
2b75be67
SM
8716 (switch-to-buffer-other-frame, display-buffer-other-frame):
8717 Move to window.el.
9397e56f
MR
8718
8719 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8720 (previous-buffer): Move to window.el.
8721
8722 * bindings.el (unbury-buffer): Move to window.el.
8723
8724 * window.el (delete-other-windows-vertically): Move after
8725 definition of delete-other-windows.
8726 (other-window, delete-windows-on, replace-buffer-in-windows):
8727 Move here from window.c.
8728 (record-window-buffer, unrecord-window-buffer)
8729 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8730 (switch-to-next-buffer): New functions.
8731 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8732 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
8733 (previous-buffer): Move here from simple.el.
8734 Call switch-to-prev-buffer.
9397e56f
MR
8735 (bury-buffer): Move here from buffer.c. Switch to previous
8736 buffer when window cannot be deleted.
8737 (unbury-buffer): Move here from bindings.el.
8738 (ctl-x-map): Move binding for other-window from window.c to
8739 here.
8740 (read-buffer-to-switch, switch-to-buffer-other-window)
8741 (switch-to-buffer-other-frame): Move here from files.el.
8742 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
8743 (switch-to-buffer): Move here from buffer.c.
8744 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 8745
562dd5e9
MR
87462011-06-10 Martin Rudalics <rudalics@gmx.at>
8747
8748 * window.el (window-min-height, window-min-width): Move here
8749 from window.c. Add defcustoms and rewrite doc-strings.
8750 (resize-mini-window, resize-window): New functions.
8751 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8752 Move here from window.c.
8753 (maximize-window, minimize-window): New functions.
8754 (delete-window, delete-other-windows, split-window): Move here
8755 from window.c.
8756 (window-split-min-size): New function.
8757 (split-window-keep-point): Mention split-window-above-each-other
8758 instead of split-window-vertically.
2b75be67 8759 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
8760 Rename split-window-vertically to split-window-above-each-other
8761 and provide defalias for old definition.
8762 (split-window-side-by-side, split-window-horizontally):
8763 Rename split-window-horizontally to split-window-side-by-side
8764 and provide defalias for the old definition.
562dd5e9
MR
8765 (ctl-x-map): Move bindings for delete-window,
8766 delete-other-windows and enlarge-window here from window.c.
8767 Replace bindings for split-window-vertically and
8768 split-window-horizontally by bindings for
8769 split-window-above-each-other and split-window-side-by-side.
8770
8771 * cus-start.el (all): Remove entries for window-min-height and
8772 window-min-width. Add entries for window-splits and
8773 window-nest.
8774
f0da764a
GM
87752011-06-09 Glenn Morris <rgm@gnu.org>
8776
80675c21
GM
8777 * calendar/appt.el (appt-mode-line): New function.
8778 (appt-check, appt-disp-window): Use it.
8779
f0da764a
GM
8780 * files.el (hack-one-local-variable-eval-safep):
8781 Allow minor-modes with explicit +/-1 arguments.
8782
59f623b7
TZ
87832011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8784
8785 * term/xterm.el (xterm): Add defgroup.
8786 (xterm-extra-capabilities): Add defcustom to supply known xterm
8787 capabilities, skip querying them, or query them (default).
8788 (terminal-init-xterm): Use it.
8789 (terminal-init-xterm-modify-other-keys): New function to set up
8790 modifyOtherKeys support to simplify `terminal-init-xterm'.
8791
9aab8e0d
MR
87922011-06-09 Martin Rudalics <rudalics@gmx.at>
8793
8794 * window.el (resize-window-reset, resize-window-reset-1)
8795 (resize-subwindows-skip-p, resize-subwindows-normal)
8796 (resize-subwindows, resize-other-windows, resize-this-window)
8797 (resize-root-window, resize-root-window-vertically)
8798 (window-deletable-p, window-or-subwindow-p)
8799 (frame-root-window-p): New functions.
8800
e8b08aee
GM
88012011-06-09 Glenn Morris <rgm@gnu.org>
8802
8803 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8804 (ange-ftp-get-files): Use it.
8805
254c37a5
AK
88062011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8807
8808 * mail/sendmail.el (mail-recover-1, mail-recover):
8809 * files.el (recover-file, recover-session):
8810 Handle dired-listing-switches not being just a single short option.
8811
35d7dbd3
GM
88122011-06-09 Glenn Morris <rgm@gnu.org>
8813
8814 * calendar/appt.el (appt-display-message, appt-disp-window):
8815 Handle lists of appointments.
8816
387522b2
MR
88172011-06-08 Martin Rudalics <rudalics@gmx.at>
8818
2b75be67
SM
8819 * window.el (one-window-p): Move down in code.
8820 Rewrite doc-string.
8821 (window-current-scroll-bars): Rewrite doc-string.
8822 Normalize live window argument.
387522b2
MR
8823 (walk-windows, get-window-with-predicate, count-windows):
8824 Rewrite doc-string. Use window-list-1.
8825 (window-in-direction-2, window-in-direction, get-mru-window):
8826 New functions.
8827
d8e4b68b 88282011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
8829
8830 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8831 Doc fix (Bug#8713).
8832
88332011-06-08 Chong Yidong <cyd@stupidchicken.com>
8834
8835 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8836
88372011-06-08 Juanma Barranquero <lekktu@gmail.com>
8838
8839 * loadhist.el (unload-feature-special-hooks):
8840 Add `comint-output-filter-functions'.
8841
0de12c52
IK
88422011-06-08 Ivan Kanis <gnu@kanis.fr>
8843
8844 * calendar/appt.el (appt-check): Move some initializations into the let.
8845
f3d1777e
MR
88462011-06-08 Martin Rudalics <rudalics@gmx.at>
8847
8848 * window.el (window-height): Defalias to window-total-height.
8849 (window-width): Defalias to window-body-width.
8850
18af70d0
CY
88512011-06-07 Chong Yidong <cyd@stupidchicken.com>
8852
8853 * image-mode.el (image-toggle-animation): New command.
8854 (image-mode-map): Bind it to RET.
8855 (image-mode): Update message.
8856 (image-toggle-display-image): Avoid a spurious cache flush.
8857 (image-transform-rotation): Doc fix.
8858 (image-transform-properties): Return quickly in the normal case.
8859 (image-animate-loop): Rename from image-animate-max-time.
8860
2b75be67 8861 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
8862 (create-animated-image): Remove unnecessary function.
8863 (image-animate): Rename from image-animate-start. New arg.
2b75be67 8864 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
8865 (image-animate-timer): Use car-safe.
8866 (image-animate-timeout): Rename argument.
8867
190b47e6
MR
88682011-06-07 Martin Rudalics <rudalics@gmx.at>
8869
8870 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
8871 window.c. Rename first argument to ALL-FRAMES.
8872 Rephrase doc-strings.
8873 (get-buffer-window-list): Rewrite using window-list-1.
8874 Rephrase doc-string.
a1511caf
MR
8875 (window-safe-min-height, window-safe-min-width): New constants.
8876 (window-size-ignore, window-min-size, window-min-size-1)
8877 (window-sizable, window-sizable-p, window-size-fixed-1)
8878 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8879 (window-max-delta-1, window-max-delta, window-resizable)
8880 (window-resizable-p, window-total-height, window-total-width)
8881 (window-body-width): New functions.
8882 (window-full-height-p, window-full-width-p): Rewrite using
8883 window-total-size.
8884 (window-body-height): Rewrite using window-body-size.
190b47e6 8885
85cc1f11
MR
88862011-06-06 Martin Rudalics <rudalics@gmx.at>
8887
8888 * window.el (window-right, window-left, window-child)
8889 (window-child-count, window-last-child, window-any-p)
8890 (normalize-live-buffer, normalize-live-frame)
8891 (normalize-any-window, normalize-live-window)
8892 (window-iso-combination-p, window-iso-combined-p)
8893 (window-iso-combinations)
8894 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8895 (windows-with-parameter, window-with-parameter)
8896 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
8897 (window-atom-check, window-side-check, window-check):
8898 New functions.
85cc1f11
MR
8899 (ignore-window-parameters, window-sides, window-sides-vertical)
8900 (window-sides-slots): New variables.
8901 (window-size-fixed): Move down in code. Minor doc-string fix.
8902
e7156492
AS
89032011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8904
8905 * comint.el (comint-dynamic-complete-as-filename)
8906 (comint-dynamic-complete-filename): Correctly call
8907 completion-in-region.
8908
7e821d0d
DD
89092011-06-05 Deniz Dogan <deniz@dogan.se>
8910
8911 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8912 in last change.
8913
ac09b8a1
DD
89142011-06-05 Deniz Dogan <deniz@dogan.se>
8915
8916 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8917 (rcirc): Use it to prompt for encryption.
8918
34699b85
RW
89192011-06-05 Roland Winkler <winkler@gnu.org>
8920
8921 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8922 (bibtex-search-entries): New command bound to C-c C-a.
8923 (bibtex-display-entries): New function.
8924
004dedd3
RW
89252011-06-05 Roland Winkler <winkler@gnu.org>
8926
8927 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8928 (bibtex-insert-kill): After yanking insert newline if necessary.
8929 (bibtex-initialize): Call bibtex-string-files-init only once.
8930 (bibtex-mode): Do not call easy-menu-add.
8931 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8932 (bibtex-yank): Set arg properly if nil.
8933
022fe7ce
RW
89342011-06-05 Roland Winkler <winkler@gnu.org>
8935
2b75be67
SM
8936 * textmodes/bibtex.el (bibtex-search-entry-globally):
8937 New variable.
022fe7ce
RW
8938 (bibtex-search-entry): Use it.
8939
b7c3692a
RW
89402011-06-05 Roland Winkler <winkler@gnu.org>
8941
8942 * textmodes/bibtex.el (bibtex-entry-format): New option
8943 sort-fields.
8944 (bibtex-format-entry, bibtex-reformat): Honor this option.
8945 (bibtex-parse-entry): Return fields in proper order.
8946
8eda563d
JB
89472011-06-05 Juanma Barranquero <lekktu@gmail.com>
8948
8949 * doc-view.el (doc-view-remove-if): Move computation of result out
8950 of `dolist' to silence misleading lexical-binding warning.
8951
7dbe3dbc
CY
89522011-06-04 Chong Yidong <cyd@stupidchicken.com>
8953
8954 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8955 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8956
0c33dd17
MA
89572011-06-04 Michael Albinus <michael.albinus@gmx.de>
8958
8959 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8960 "SunOS 5.10".
8961
f8f91c2b
MA
89622011-06-04 Michael Albinus <michael.albinus@gmx.de>
8963
8964 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8965 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8966 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8967 (tramp-parse-putty):
8968 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8969 (tramp-completion-function-alist-ssh)
8970 (tramp-completion-function-alist-telnet)
8971 (tramp-completion-function-alist-su)
8972 (tramp-completion-function-alist-putty): Set `tramp-autoload'
8973 cookie.
8974
8975 * net/tramp-ftp.el:
8976 * net/tramp-sh.el:
8977 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8978 load "tramp.el" `tramp-set-completion-function'.
8979
e17d9003
SM
89802011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8981
8982 * shell.el: Require and use pcomplete.
8983 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8984 (shell-completion-vars): Set pcomplete-default-completion-function.
8985
6c4cab03
DD
89862011-06-04 Deniz Dogan <deniz@dogan.se>
8987
8988 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8989 `memq' (Bug#8799).
8990
ea9fafe0
SM
89912011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8992
8993 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8994
b3e945d3
JB
89952011-06-02 Juanma Barranquero <lekktu@gmail.com>
8996
8997 * bs.el (bs--mark-unmark, bs--nth-wrapper):
8998 * mpc.el (mpc-select-extend, mpc-songpointer-context):
8999 * vc/log-view.el (log-view-beginning-of-defun):
9000 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9001 (smerge-refine-forward, smerge-refine-chopup-region):
9002 Silence warning for unused `dotimes' counter variables.
9003
7d520089
SM
90042011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9005
9006 * net/tramp.el (tramp-with-progress-reporter): Rename from
9007 with-progress-reporter. Use `declare'.
9008 * net/tramp-smb.el:
9009 * net/tramp-sh.el:
9010 * net/tramp-gvfs.el: Update all uses.
9011
a1c2400f
JB
90122011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9013
9014 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9015 buffer isn't killed before making it current.
9016
2403c841
SM
90172011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9018
9019 Silence various byte-compiler warnings.
9020 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9021 `access-type' and new obsolescence format.
9022 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9023 new format.
9024 (byte-compile-check-variable): New `access-type' argument.
9025 Only warn if the access-type is obsolete.
9026 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9027 (byte-compile-variable-set): Adjust callers.
9028 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9029 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9030 setting it as obsolete.
9031 * simple.el (minibuffer-completing-symbol):
9032 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9033 access as obsolete.
9034 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9035 obsolete yet.
9036 * international/quail.el (quail-mouse-choose-completion): Remove unused
9037 code referring to obsolete var.
9038 (quail-choose-completion-string): Remove.
9039 * server.el (server-clients-with, server-kill-buffer-query-function)
9040 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9041 * proced.el (proced-send-signal):
9042 * emacs-lisp/lisp.el (lisp-complete-symbol):
9043 Replace completion-annotate-function with completion-extra-properties.
9044
2462470b
SM
90452011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9046
fb5b2591
SM
9047 * simple.el (goto-line): Use read-number.
9048 (overriding-map-is-bound): Remove.
9049 (saved-overriding-map): Change default.
9050 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9051 Take the map as argument.
9052 (universal-argument, negative-argument, digit-argument): Use it.
9053 (restore-overriding-map): Adjust.
9054 (do-auto-fill): Use fill-forward-paragraph.
9055 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9056
fd6fa53f
SM
9057 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9058 (minibuffer-inactive-mode): New major mode.
9059 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9060 the *Messages* buffer" hack.
9061 (mouse-popup-menubar): Don't burp if the event is a normal key.
9062
2462470b
SM
9063 Miscellaneous tweaks.
9064 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9065 lexical scoping as in subr.el's dolist and dotimes.
9066 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9067 Silence compiler warning.
9068 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9069 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9070 * international/ccl.el (ccl-compile): Trivial simplification.
9071 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9072 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9073 `printflag' argument.
9074 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9075 Purecopy the whole obsolescence data.
9076
108bf785
LL
90772011-06-01 Leo Liu <sdl.web@gmail.com>
9078
9079 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9080 improve doc-string as suggested by Marco Pessotto
9081 <melmothx@gmail.com>.
9082 (rcirc-print): Fix last change.
9083
30a23501
SM
90842011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9085
9086 * minibuffer.el (complete-with-action): Return nil for the metadata and
9087 boundaries of non-functional tables.
9088 (completion-table-dynamic): Return nil for the metadata.
9089 (completion-table-with-terminator): Add default case, using
9090 complete-with-action.
9091 (completion--metadata): New function.
9092 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9093 to try and avoid pathological performance problems.
9094 (completion--embedded-envvar-table): Return `category' metadata.
9095
bcd54f83
LMI
90962011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9097
9098 * subr.el (process-alive-p): New tiny convenience function.
9099
e227544d
SM
91002011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9101
9102 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9103 content but also its previous major mode.
9104
e8296fdc
HE
91052011-05-31 Helmut Eller <eller.helmut@gmail.com>
9106
4d61f28d 9107 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
9108 *Backtrace* buffer when we exit with C-M-c.
9109
620c53a6
SM
91102011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9111
9112 * minibuffer.el: Add metadata method to completion tables.
9113 (completion-category-overrides): New defcustom.
9114 (completion-metadata, completion--field-metadata)
9115 (completion-metadata-get, completion--styles)
9116 (completion--cycle-threshold): New functions.
9117 (completion-try-completion, completion-all-completions):
9118 Add `metadata' argument to choose completion-styles.
9119 (completion--do-completion): Use metadata to choose cycling.
9120 (completion-all-sorted-completions): Use metadata for sorting.
9121 Remove :completion-cycle-penalty which is not needed any more.
9122 (completion--try-word-completion): Add `metadata' argument.
9123 (minibuffer-completion-help): Check metadata for annotation function
9124 and sorting.
9125 (completion-file-name-table): Return `category' metadata.
9126 (minibuffer-completing-file-name): Make obsolete.
9127 * simple.el (minibuffer-completing-symbol): Make obsolete.
9128 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9129 completion-try-completion.
9130
1257e755
SM
91312011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9132
9133 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9134
3767e706
LL
91352011-05-30 Leo Liu <sdl.web@gmail.com>
9136
9137 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
9138 (rcirc-print): Decode all incoming messages (bug#8744).
9139 (rcirc-decode-coding-system): Allow value nil for automatic coding
9140 system detection.
3767e706 9141
d1a5d56a
GM
91422011-06-01 Glenn Morris <rgm@gnu.org>
9143
9144 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9145
e8cbec34
CY
91462011-05-29 Chong Yidong <cyd@stupidchicken.com>
9147
9148 * image.el (image-animate-max-time): Allow nil and t values.
9149 Default to nil.
9150 (create-animated-image): Doc fix.
9151 (image-animate-start): Remove second arg; just use
9152 image-animate-max-time.
9153 (image-animate-timeout): Doc fix. Args changed.
9154
9155 * image-mode.el (image-toggle-display-image): Ensure that the
9156 image spec passed to the animate timer is the same object as in
58179cce 9157 the buffer's display property (Bug#6981).
e8cbec34
CY
9158 (image-transform-properties): Doc fix.
9159
9160 * image.el (image-animate-max-time): Default to nil.
9161
159daf87
MR
91622011-05-29 Martin Rudalics <rudalics@gmx.at>
9163
9164 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9165 entire buffer list (Bug#8184).
9166
d66c4c7c
CY
91672011-05-29 Chong Yidong <cyd@stupidchicken.com>
9168
9169 * image.el (imagemagick-types-inhibit)
9170 (imagemagick-register-types): Doc fix.
9171
80aec780
DD
91722011-05-29 Deniz Dogan <deniz@dogan.se>
9173
9174 * net/rcirc.el (rcirc): Use the user's stored encryption method by
9175 default.
9176
1dd3c2d9
CY
91772011-05-29 Chong Yidong <cyd@stupidchicken.com>
9178
9179 * select.el: Don't perform clipboard-manager saving in hooks;
9180 leave the hooks empty.
9181
60e56523
LL
91822011-05-28 Leo Liu <sdl.web@gmail.com>
9183
9184 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9185 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
9186 (occur-edit-mode): New major mode (Bug#8463).
9187 (occur-after-change-function): New function.
9188 (occur-engine): Give Occur tags a read-only property.
9189
2b1e1a22
KR
91902011-05-28 Kevin Ryde <user42@zip.com.au>
9191
9192 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9193
5d344e88
CY
91942011-05-28 Chong Yidong <cyd@stupidchicken.com>
9195
8e6ca83d
CY
9196 * bindings.el (help-echo): Make the initial non-indicator dash
9197 empty on graphical terminals (Bug#7295).
9198
5d344e88
CY
9199 * files.el (auto-mode-alist): Move config rule after the
9200 in-stripping one (Bug#8547).
9201
bfbbace7
CY
9202 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9203
fbeba6e2
CY
9204 * startup.el (normal-splash-screen): Remove gratuitous mode-line
9205 setting (Bug#8740).
9206
60ed8c72
AA
92072011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
9208
4ac619f0
AA
9209 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9210 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9211 (Bug#8539).
60ed8c72 9212
23db196e
CY
92132011-05-28 Chong Yidong <cyd@stupidchicken.com>
9214
9215 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9216
5012f24c
DK
92172011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
9218
9219 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9220 (hs-hide-block-at-point, hs-find-block-beginning)
9221 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9222 (Bug#8279).
9223
6a639b16
GM
92242011-05-28 Glenn Morris <rgm@gnu.org>
9225
9226 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9227
d43eaf2c
CY
92282011-05-28 Chong Yidong <cyd@stupidchicken.com>
9229
5199bde1
CY
9230 * help-fns.el (describe-function-1): If the function is a derived
9231 major mode, print the parent mode.
9232
d43eaf2c
CY
9233 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9234 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9235
423428a8
SM
92362011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9237
0ff8e1ba 9238 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 9239 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
9240 * progmodes/etags.el (tags-completion-at-point-function):
9241 * info-look.el (info-lookup-completions-at-point): Mark as
9242 non-exclusive.
9243 (info-complete): Adjust accordingly.
9244
423428a8
SM
9245 * info-look.el: Convert to lexical-binding and completion-at-point.
9246 (info-lookup-completions-at-point): New function.
9247 (info-complete): Use it and completion-in-region.
9248
b74aa22b
DA
92492011-05-28 Drew Adams <drew.adams@oracle.com>
9250
9251 * isearch.el: Let M-e start with point at the first mismatched char.
9252 (isearch-fail-pos): New function.
9253 (isearch-edit-string): Use it.
9254
66e2e71d
DK
92552011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9256
9257 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9258
b1890b0f 92592011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
9260
9261 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9262 traversal functions for avl-trees.
9263 (avl-tree--stack): New struct.
9264 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9265 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
9266 (avl-tree--do-enter): Add optional `updatefun' arg.
9267 Change return value.
eb95d01d 9268 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
9269 (avl-tree--do-delete): Add `test' and `nilflag' args.
9270 Change return value.
eb95d01d
TC
9271 (avl-tree-member): Add optional `nilflag'
9272 (avl-tree-member-p): New function.
9273 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9274 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9275 (avl-tree-stack-empty-p): New functions.
9276
3769ddcf
TC
9277 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9278 avl-tree--del-balance1 and make it work both ways.
9279 (avl-tree--del-balance2): Remove.
9280 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9281 make it work both ways.
9282 (avl-tree--enter-balance2): Remove.
9283 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9284 New macros.
9285 (avl-tree--mapc, avl-tree-map): Add direction argument.
9286
eb95d01d 92872011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
9288
9289 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9290
a9f737ee
CY
92912011-05-27 Chong Yidong <cyd@stupidchicken.com>
9292
9293 * select.el: Support clipboard managers with built-in function
9294 x-clipboard-manager-save, via delete-frame-functions and
9295 kill-emacs-hook.
9296 (xselect-convert-to-targets): Add MULTIPLE target to list.
9297 (xselect-convert-to-save-targets): New function.
9298
c92a1e54
KH
92992011-05-27 Kenichi Handa <handa@m17n.org>
9300
9301 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9302 let-binding rfc2047-encode-encoded-words to nil.
9303
e145f188
GM
93042011-05-27 Glenn Morris <rgm@gnu.org>
9305
5ec8a862
GM
9306 * mail/emacsbug.el: Don't require url-util.
9307
4b29d9fb
GM
9308 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9309
e145f188
GM
9310 * files.el (set-auto-mode):
9311 Also respect mode: entries at the end of the file. (Bug#8586)
9312
7d15102b
GM
93132011-05-26 Glenn Morris <rgm@gnu.org>
9314
98f593b8
GM
9315 * files.el (hack-local-variables-prop-line, hack-local-variables):
9316 Downcase mode names, as seems to be traditional.
27b48e63 9317 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 9318
7d15102b
GM
9319 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9320 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
9321
51d5b4ec
JD
93222011-05-25 Julien Danjou <julien@danjou.info>
9323
9324 * textmodes/rst.el (rst-define-level-faces): Do not define face
9325 symbol if it is already defined.
9326
91513f63
VB
93272011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
9328
9329 * play/5x5.el (5x5-new-game, 5x5-randomize):
9330 Reset 5x5-solver-output to nil when a new grid is cast.
9331 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9332 these debugging traces, as defmacro breaks the compiled code.
9333
4d90d6d0
DK
93342011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9335
9336 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9337
e1b90ef6
LL
93382011-05-24 Leo Liu <sdl.web@gmail.com>
9339
9340 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9341 (vc-bzr-sha1): Adapt.
9342
d8e4b68b 9343 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
9344
9345 * bindings.el: Provide sha1 feature.
9346
db0406bb 93472011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
9348
9349 * mail/sendmail.el: Require `rfc2047'.
9350 (mail-insert-from-field): Do not perform RFC2047 encoding.
9351 (mail-encode-header): New function.
9352 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
9353 buffer to the return value of select-message-coding-system.
9354 Call mail-encode-header.
b8d747b9
KH
9355
9356 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9357
db0406bb 93582011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 9359
4d90d6d0
DK
9360 * mail/supercite.el (sc-default-cite-frame):
9361 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 9362
eb8a5e9b
GM
93632011-05-24 Glenn Morris <rgm@gnu.org>
9364
f8630703
GM
9365 * progmodes/python.el (brm-menu): Declare.
9366
8831bbed
GM
9367 * emulation/viper.el (viper-set-hooks): Declare.
9368
eb8a5e9b
GM
9369 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9370 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9371 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9372 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9373 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9374 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9375
a2a25d24
SM
93762011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9377
9378 Add an :exit-function for completion-at-point.
9379
9380 * minibuffer.el (completion--done): New fun.
9381 (completion--do-completion): Use it. New arg `expect-exact'.
9382 (minibuffer-complete, minibuffer-complete-word): Don't output message,
9383 since completion--do-completion does it for us now.
9384 (minibuffer-force-complete): Use completion--done and
9385 completion--replace. Handle sole-completion case with more care.
9386 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9387 (completion-extra-properties): New var.
9388 (completion-annotate-function): Make obsolete.
9389 (minibuffer-completion-help): Adjust accordingly.
9390 Use completion-list-insert-choice-function.
9391 (completion-at-point, completion-help-at-point):
9392 Bind completion-extra-properties.
9393 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9394 * simple.el (completion-list-insert-choice-function): New var.
9395 (completion-setup-function): Preserve it.
9396 (choose-completion): Pay attention to it, shuffle the code a bit.
9397 (choose-completion-string): New arg `insert-function'.
9398
9399 * textmodes/bibtex.el: Convert to lexical binding.
9400 (bibtex-mode-map): Use completion-at-point.
9401 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9402 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9403 (bibtex-complete): Define as obsolete alias.
9404 (bibtex-complete-internal): Remove.
9405 (bibtex-format-entry): Remove unused sub-group in regexp.
9406 * shell.el (shell--command-completion-data)
9407 (shell-environment-variable-completion):
9408 * pcomplete.el (pcomplete-completions-at-point):
9409 * comint.el (comint--complete-file-name-data): Use :exit-function
9410 instead of completion-table-with-terminator so it also works for
9411 choose-completion.
9412
e44e373d
SM
94132011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9414
4f91a816
SM
9415 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9416
782fc819
SM
9417 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9418 (bug#8710).
9419
e44e373d
SM
9420 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9421
381987c3
KM
94222011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
9423
9424 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9425 customization variable and implement: If non-nil, auto-fill will
9426 be inhibited while on topic's header line.
9427
b776bc70
VB
94282011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
9429
9430 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 9431 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
9432 always have a solution in grid size = 5 cases.
9433 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9434 (5x5-solver-output, 5x5-log-buffer): New vars.
9435 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9436 Make these variables buffer local to achieve 5x5 multi-session-ness.
9437 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9438 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9439 (5x5-solve-suggest): New funs.
9440 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9441 randomize a grid so that we ensure that there is always a solution.
9442 (5x5-make-random-grid): Allow other movement than flipping.
9443
7de88b6e
KR
94442011-05-23 Kevin Ryde <user42@zip.com.au>
9445
9446 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 9447 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
9448 advice and passes PREDICATE.
9449
b1ef1257
SM
94502011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9451
bbca48fe
SM
9452 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9453 byte-compile-lambda if it's actually a lambda.
9454
b1ef1257
SM
9455 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9456 Fix function quoting. Use backquote better.
9457
92a9cc65
YS
94582011-05-22 Yuanle Song <sylecn@gmail.com>
9459
9460 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9461 matching (Bug#8516).
9462
f0fb8059
JA
94632011-01-22 Jari Aalto <jari.aalto@cante.net>
9464
9465 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9466 different face (Bug#8178).
9467
d5b44c93
CY
94682011-05-22 Chong Yidong <cyd@stupidchicken.com>
9469
9470 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9471 defface (Bug#8144).
9472
79106a44
SM
94732011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
9474
9c848d8a
SM
9475 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9476 funcall as well (bug#8712). Warn when performing those conversions.
9477 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9478
79106a44
SM
9479 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9480
88dfa756
GM
94812011-05-22 Glenn Morris <rgm@gnu.org>
9482
9483 * files.el (hack-local-variables-prop-line): Small simplifications.
9484 (hack-local-variables, hack-local-variables-prop-line):
9485 If MODE-ONLY, return the mode, rather than just `t'.
9486
b7cf2c79
SM
94872011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9488
9489 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9490
3f1a8558
GM
94912011-05-21 Glenn Morris <rgm@gnu.org>
9492
7e4ccca3
GM
9493 * files.el (hack-local-variables-prop-line, hack-local-variables):
9494 If only interested in the mode, don't bother doing the other stuff.
9495
637d46ca
GM
9496 * image-mode.el (image-after-revert-hook):
9497 Redraw all frames on which the image is visible. (Bug#8567)
9498
973d955b
GM
9499 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
9500
3f1a8558
GM
9501 * wid-edit.el (widget-checklist-match-inline):
9502 Fix 2011-04-19 change. (Bug#8649)
9503
96479927
SM
95042011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
9505
1dcf791f
SM
9506 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9507 Also allow singlespace after single-letter capitals followed by a dot.
9508
96479927
SM
9509 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9510 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9511
35fd0881
N
95122011-05-20 Nix <nix@esperi.org.uk>
9513
9514 * files.el (basic-save-buffer-2):
9515 Fix handling of break-hardlink-on-save with non-existent files.
9516
82745640
DD
95172011-05-19 Deniz Dogan <deniz@dogan.se>
9518
9519 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 9520 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 9521
4a720484
GM
95222011-05-19 Glenn Morris <rgm@gnu.org>
9523
d1f21341
GM
9524 * progmodes/f90.el (f90-type-def-re):
9525 Handle "type, bind(c)". (Bug#8691)
9526
4a720484
GM
9527 * emacs-lisp/autoload.el (batch-update-autoloads):
9528 Set autoload-excludes by parsing loadup.el rather than Makefiles.
9529
2fb0a219
MA
95302011-05-18 Michael Albinus <michael.albinus@gmx.de>
9531
9532 * net/tramp.el (tramp-process-actions): Set "first-password-request"
9533 property for the correct connection in case of multihops.
9534
e565dd37
GM
95352011-05-18 Glenn Morris <rgm@gnu.org>
9536
c2571358 9537 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
9538 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9539
e565dd37
GM
9540 Rationalize calendar handling of day and month abbrev-arrays.
9541 * calendar/calendar.el (calendar-customized-p): New function.
9542 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9543 (calendar-day-name-array, calendar-month-name-array): Doc fix.
9544 Add :set function.
9545 (calendar-abbrev-length, calendar-day-abbrev-array)
9546 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9547 (calendar-day-abbrev-array, calendar-month-abbrev-array):
9548 Elements may no longer be nil.
9549 (calendar-day-name, calendar-month-name):
9550 Update for changed nature of abbrev arrays.
9551 * calendar/diary-lib.el (diary-name-pattern):
9552 Update for changed nature of abbrev arrays.
9553 (diary-mark-entries-1): Update calendar-make-alist calls.
9554 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9555 * calendar/cal-html.el (cal-html-day-abbrev-array):
9556 Simply inherit from calendar-day-abbrev-array.
9557
1d99a745
SM
95582011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9559
9560 * progmodes/grep.el (grep-mode): Disable default
9561 compilation-directory-matcher setting (bug#8684).
9562
7c1d9aa0
MA
95632011-05-17 Michael Albinus <michael.albinus@gmx.de>
9564
9565 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9566 instead of "head" and "tail". There were problems with SunOS 5.9,
9567 and it performs better.
9568
3952e9d8
GM
95692011-05-17 Glenn Morris <rgm@gnu.org>
9570
2dd12e7f
GM
9571 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9572
e4157b9c
GM
9573 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9574 Replace obsolete function.
9575
8e249bbd
GM
9576 * shell.el (pcomplete-parse-arguments-function): Declare.
9577
3952e9d8
GM
9578 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9579 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9580 (appt-check): Doc fixes.
9581 (appt-disp-window-function, appt-delete-window-function):
9582 Remove needless special case in custom :type.
9583 (appt-display-count): Default to 0, not nil.
9584 (appt-check): Reset appt-display-count to 0, not nil.
9585
c71a0d48 95862011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 9587
c71a0d48
GM
9588 * progmodes/python.el (python-font-lock-keywords):
9589 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 9590
31d55be9
SM
95912011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9592
9593 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9594
3bfacb2f
KR
95952011-05-16 Kevin Ryde <user42@zip.com.au>
9596
9597 * info-look.el (makefile-automake-mode): New setups, looking in
9598 automake manual, then makefile-mode.
9599 (makefile-mode): Remove automake manual, have it just in
9600 makefile-automake-mode since there's various things different or
9601 not relevant to plain make.
9602 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9603 believe a hypothetical automake-mode would go to makefile-mode,
9604 not the other way around.
9605
c8e83751
CY
96062011-05-15 Chong Yidong <cyd@stupidchicken.com>
9607
5e9e35cd
CY
9608 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9609 hunk-end tags (Bug#8672).
9610
c8e83751
CY
9611 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9612 vc-annotate-show-diff-revision-at-line (Bug#8671).
9613
50b23e5a
GM
96142011-05-14 Glenn Morris <rgm@gnu.org>
9615
7210a739
GM
9616 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9617 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
9618 (change-log-font-lock-keywords): Also handle multiple author lines
9619 with leading tabs. (Bug#8644)
7210a739 9620
4691905a
GM
9621 * calendar/appt.el (appt-check): Rename some local variables.
9622 Some simplification/reordering.
9623
50b23e5a
GM
9624 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9625 (feedmail-sendmail-f-doesnt-sell-me-out)
9626 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9627 (feedmail-debug-sit-for, feedmail-queue-express-hook)
9628 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
9629 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9630 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
9631 (feedmail-binmail-gnulinuxish-template):
9632 Rename from feedmail-binmail-linuxish-template.
9633 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9634 Use insert-buffer-substring.
9635
215cda7c
BC
96362011-05-14 Bill Carpenter <bill@carpenter.org>
9637
9638 * mail/feedmail.el (feedmail-patch-level): Increase.
9639 (feedmail-debug): New custom group.
9640 (feedmail-confirm-outgoing-timeout)
9641 (feedmail-sendmail-f-doesnt-sell-me-out)
9642 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9643 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9644 (feedmail-sender-line, feedmail-from-line)
9645 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 9646 (feedmail-spray-this-address)
215cda7c
BC
9647 (feedmail-spray-address-fiddle-plex-list)
9648 (feedmail-queue-use-send-time-for-date)
9649 (feedmail-queue-use-send-time-for-message-id)
9650 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9651 (feedmail-buffer-eating-function):
9652 Doc fixes.
9653 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9654 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9655 (feedmail-message-action-scroll-down): New functions.
9656 (feedmail-queue-directory, feedmail-queue-draft-directory):
9657 Use expand-file-name.
9658 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9659 Remove C-v help entry.
9660 (feedmail-queue-buffer-file-name): New variable.
9661 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9662 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9663 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9664 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9665 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9666 (feedmail-message-action-toggle-spray)
9667 (feedmail-run-the-queue-no-prompts)
9668 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9669 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9670 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9671 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9672 (feedmail-envelope-deducer, feedmail-fiddle-from)
9673 (feedmail-fiddle-sender, feedmail-default-date-generator)
9674 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9675 (feedmail-fiddle-spray-address)
9676 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9677 (feedmail-fiddle-list-of-fiddle-plexes)
9678 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9679 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9680 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9681 Change default. Doc fix.
9682 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9683 (feedmail-binmail-linuxish-template): New constant.
9684 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9685 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9686 (feedmail-send-it): Add debug call.
9687 Use feedmail-queue-buffer-file-name, and
9688 feedmail-send-it-immediately-wrapper.
9689 (feedmail-message-action-send): Add debug call.
9690 Use feedmail-send-it-immediately-wrapper.
9691 (feedmail-queue-express-to-queue): Add debug call.
9692 Run feedmail-queue-express-hook.
9693 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9694 (feedmail-message-action-help-blat):
9695 Rename from feedmail-queue-send-edit-prompt-help-first.
9696 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9697 Check line-endings. Handle errors better.
9698 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9699 Doc fix. Add debug call.
9700 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9701 Use feedmail-queue-send-edit-prompt-inner.
9702 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9703 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9704 from feedmail-queue-send-edit-prompt.
9705 (feedmail-queue-send-edit-prompt-help)
9706 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9707 (feedmail-tidy-up-slug): Add debug call.
9708 Respect feedmail-queue-slug-suspect-regexp.
9709 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9710 (feedmail-dump-message-to-queue): Add debug call.
9711 Expand queue-directory.
9712 (feedmail-dump-message-to-queue): Change message slightly.
9713 Use feedmail-say-chatter.
9714 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9715 (feedmail-send-it-immediately-wrapper): New function.
9716 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9717 Insert empty string rather than newline. Handle full-frame case.
9718 Use catch/throw. Use feedmail-say-chatter.
9719 (feedmail-fiddle-from): Try mail-host-address.
9720 (feedmail-default-message-id-generator): Doc fix.
9721 Bind system-time-locale. Handle missing end.
9722 (feedmail-fiddle-x-mailer): Add debug call.
9723 Handle feedmail-x-mailer-line being nil.
9724 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9725 Add debug call. Use buffer-substring-no-properties.
9726 (feedmail-say-debug, feedmail-say-chatter): New functions.
9727 (feedmail-find-eoh): Give an explicit error.
9728
42c7e61e
UJ
97292011-05-13 Ulf Jasper <ulf.jasper@web.de>
9730
c2571358 9731 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 9732 family from helvetica to sans.
c2571358 9733 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9734 etc/images/newsticker.
9735
c2571358 9736 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
9737 family from helvetica to sans.
9738
9739 * net/newst-plainview.el (newsticker-new-item-face)
9740 (newsticker-old-item-face, newsticker-immortal-item-face)
9741 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 9742 (newsticker-statistics-face): Change default family from
42c7e61e 9743 helvetica to sans.
c2571358 9744 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9745 etc/images/newsticker.
9746
9747 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9748 (newsticker--process-auto-mark-filter-match): : Tell user about
9749 auto-marking.
9750
8497a297
DV
97512011-05-13 Didier Verna <didier@xemacs.org>
9752
9753 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
9754 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9755 TODO entries.
8497a297
DV
9756 (lisp-lambda-list-keyword-parameter-indentation)
9757 (lisp-lambda-list-keyword-parameter-alignment)
9758 (lisp-lambda-list-keyword-alignment): New customizable user options.
9759 (lisp-indent-defun-method): Improve docstring.
9760 (extended-loop-p): Fix comment.
9761 (lisp-indent-lambda-list-keywords-regexp): New variable.
9762 (lisp-indent-lambda-list): New function.
9763 (lisp-indent-259): Use it.
9764 (lisp-indent-defmethod): Support for more than one
9765 method qualifier and properly indent methods lambda-lists.
9766 (defgeneric): Provide a missing common-lisp-indent-function property.
9767
f278f87f
SM
97682011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9769
9770 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9771 bounds for the empty string (bug#8667).
9772
5233edd7
GM
97732011-05-13 Glenn Morris <rgm@gnu.org>
9774
5237a44f
GM
9775 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9776
8340026c 9777 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 9778 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 9779
5233edd7 9780 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 9781 (appt-time-msg-list): Doc fix.
a5464014 9782 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 9783
92d10796
AS
97842011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9785
9786 * progmodes/ld-script.el (ld-script-keywords)
9787 (ld-script-builtins): Update keywords list.
9788
914a0ae1
SM
97892011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9790
c89be45f
SM
9791 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9792
914a0ae1
SM
9793 * shell.el (shell-completion-vars): New function.
9794 (shell-mode):
9795 * simple.el (read-shell-command): Use it.
9796 (blink-matching-open): No need for " [...]" in minibuffer-message.
9797
98dc3df3
GM
97982011-05-12 Glenn Morris <rgm@gnu.org>
9799
9800 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9801 (appt-check): Simplify.
9802
d2fc7e3d 98032011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 9804
4d61f28d 9805 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
9806 literal "/dev/null".
9807
d2fc7e3d 98082011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
9809
9810 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9811 Fix typo.
9812
d2fc7e3d 98132011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 9814
3f254caa
SM
9815 * progmodes/which-func.el (which-function):
9816 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
9817 which might not be defined (Bug#8260).
9818
d45885f7
GM
98192011-05-12 Glenn Morris <rgm@gnu.org>
9820
9821 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9822 Let byte-compile-initial-macro-environment always take precedence.
9823
488086f4
SM
98242011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9825
9826 * net/rcirc.el: Add support for SSL/TLS connections.
9827 (rcirc-server-alist): New field `encryption'.
9828 (rcirc): Check `encryption' settings.
9829 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9830 Merge make-local-variable into `set'.
9831 (rcirc--connection-open-p): New function.
9832 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9833 the process is not a network process (e.g. running gnutls-cli).
9834 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9835 Make rcirc-(en|de)code-coding-system local here.
9836 (rcirc-mode): Merge make-local-variable into `set'.
9837 (rcirc-parent-buffer): Make permanent buffer-local.
9838 (rcirc-multiline-minor-mode): Don't do it here.
9839 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9840 there's no server buffer.
9841
7d3b9d44
GM
98422011-05-11 Glenn Morris <rgm@gnu.org>
9843
f64049c6
GM
9844 * newcomment.el (comment-kill): Prefix "unused" local.
9845
93c9df73
GM
9846 * term/w32console.el (get-screen-color): Declare.
9847
7d3b9d44
GM
9848 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9849 Handle symbol elements of byte-compile-initial-macro-environment.
9850
9e2dd53f
LL
98512011-05-10 Leo Liu <sdl.web@gmail.com>
9852
488086f4
SM
9853 * bookmark.el (bookmark-bmenu-mode-map):
9854 Bind bookmark-bmenu-search to `/'.
8b340240 9855
9e2dd53f 9856 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
9857 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9858 (Footnote-unicode): New function.
9859 (footnote-style-alist): Add unicode style to the list.
9860 (footnote-style): Doc fix.
9e2dd53f 9861
79b70037
GM
98622011-05-10 Jim Meyering <meyering@redhat.com>
9863
9864 Fix doubled-word typos.
9865 * international/quail.el (quail-insert-kbd-layout): and and -> and
9866 * kermit.el: and and -> and
9867 * net/ldap.el (ldap-search-internal): to to -> to
9868 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9869 * progmodes/js.el (js-mode): and and -> and
9870 * textmodes/artist.el (artist-move-to-xy): at at -> at
9871 (artist-draw-region-trim-line-endings): if if -> if
9872 And Safetyc -> Safety.
9873 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9874
b8f82dc1 98752011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 9876 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
9877
9878 * files.el (hack-one-local-variable-eval-safep):
9879 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9880
4f99f44b
GM
98812011-05-10 Glenn Morris <rgm@gnu.org>
9882
9883 * calendar/diary-lib.el (diary-list-entries-hook)
9884 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9885 (diary-nongregorian-marking-hook, diary-list-entries)
9886 (diary-include-other-diary-files, diary-mark-entries)
9887 (diary-mark-included-diary-files): Doc fixes.
9888
84f29e6b
JB
98892011-05-09 Juanma Barranquero <lekktu@gmail.com>
9890
9891 * misc.el: Require tabulated-list.el during compilation.
9892
9bedd73a
CY
98932011-05-09 Chong Yidong <cyd@stupidchicken.com>
9894
488086f4
SM
9895 * progmodes/compile.el (compilation-start):
9896 Run compilation-filter-hook for the async case too.
9bedd73a
CY
9897 (compilation-filter-hook): Doc fix.
9898
797c735c
DD
98992011-05-09 Deniz Dogan <deniz@dogan.se>
9900
9901 * wdired.el: Remove outdated installation comment. Fix usage
9902 comment.
9903
5f4b1dfe
JB
99042011-05-09 Juanma Barranquero <lekktu@gmail.com>
9905
9906 * misc.el: Implement new command `list-dynamic-libraries'.
9907 (list-dynamic-libraries--loaded-only-p): New variable.
9908 (list-dynamic-libraries--refresh): New function.
9909 (list-dynamic-libraries): New command.
9910
4c44026c
CY
99112011-05-09 Chong Yidong <cyd@stupidchicken.com>
9912
488086f4
SM
9913 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9914 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
9915 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9916 higher priority to avoid clobbering by gnu.
9917
027f966d
CY
99182011-05-08 Chong Yidong <cyd@stupidchicken.com>
9919
9920 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9921 if the face has existing theme settings (Bug#8454).
9922
085f5d7d
CY
99232011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9924
488086f4
SM
9925 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9926 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 9927
2a86a00c
RS
9928 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9929 special file names `.' and `..' (Bug#8259).
9930
d9c54a06
CY
99312011-05-08 Chong Yidong <cyd@stupidchicken.com>
9932
488086f4
SM
9933 * progmodes/grep.el (grep-mode-font-lock-keywords):
9934 Remove buffer-changing entries.
d9c54a06
CY
9935 (grep-filter): New function.
9936 (grep-mode): Add it to compilation-filter-hook.
9937
9938 * progmodes/compile.el (compilation-filter-hook)
9939 (compilation-filter-start): New defvars.
9940 (compilation-filter): Call compilation-filter-hook prior to
9941 updating the process mark.
9942
c4662635
SM
99432011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9944
9945 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9946
b0512a1d
EZ
99472011-05-07 Eli Zaretskii <eliz@gnu.org>
9948
605c9376
EZ
9949 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9950 mailclient-send-it even if window-system is nil. (Bug#8595)
9951
c4662635
SM
9952 * term/w32console.el (terminal-init-w32console):
9953 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
9954 background-mode. (Bug#8597)
9955
d1dc2cc2
SM
99562011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9957
9958 Make bytecomp.el understand that defmethod defines funs (bug#8631).
9959 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9960 New functions.
9961 (defgeneric, eieio--defmethod): Use them.
9962 (eieio-defgeneric): Remove.
9963 (defmethod): Call defgeneric in a way visible to the byte-compiler.
9964
915d1300
GM
99652011-05-07 Glenn Morris <rgm@gnu.org>
9966
a3961c3e
GM
9967 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9968 Use let rather than let*.
9969 (timeclock-find-discrep): Remove unused local.
9970
314347b9
GM
9971 * calendar/diary-lib.el (diary-comment-start): Doc fix.
9972
915d1300
GM
9973 * calendar/appt.el (appt-time-msg-list): Doc fix.
9974
275b59b0
NF
99752011-05-06 Noah Friedman <friedman@splode.com>
9976
9977 * apropos.el (apropos-print-doc): Only use
9978 emacs-lisp-docstring-fill-column when it is bound to an integer,
9979 per that variable's documentation.
9980
6c19f744
SM
99812011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9982
9983 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 9984 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 9985
60f884b2
GM
99862011-05-06 Glenn Morris <rgm@gnu.org>
9987
5006e634
GM
9988 * calendar/appt.el (appt-message-warning-time): Doc fix.
9989 (appt-warning-time-regexp): New option.
9990 (appt-make-list): Respect appt-message-warning-time.
9991
548d0a63
GM
9992 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9993 New options.
9994 (diary-add-to-list): Strip comments from the displayed string.
9995 (diary-mode): Set comment-start and comment-end.
9996
60f884b2
GM
9997 * vc/diff-mode.el (smerge-refine-subst): Declare.
9998 (diff-refine-hunk): Don't require smerge-mode when compiling.
9999
989681bb
JB
100002011-05-06 Juanma Barranquero <lekktu@gmail.com>
10001
10002 * simple.el (list-processes): Return nil as the docstring says.
10003
a6bc05e1
MA
100042011-05-05 Michael Albinus <michael.albinus@gmx.de>
10005
10006 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10007 to "".
10008 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10009 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10010 determining of binary transfer. (Bug#7383)
10011
23c22e9a
MA
100122011-05-05 Michael Albinus <michael.albinus@gmx.de>
10013
c4662635
SM
10014 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10015 Fix port computation bug. (Bug#8618)
23c22e9a 10016
0bff894f
GM
100172011-05-05 Glenn Morris <rgm@gnu.org>
10018
b8296902
GM
10019 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10020
1f522ce8
GM
10021 * simple.el (shell-dynamic-complete-functions)
10022 (comint-dynamic-complete-functions): Declare.
10023
cf5bee67
GM
10024 * net/network-stream.el (gnutls-negotiate):
10025 * simple.el (tabulated-list-print): Fix declarations.
10026
10027 * progmodes/gud.el (syntax-symbol, syntax-point):
10028 Remove unnecessary and incorrect declarations.
10029
0bff894f
GM
10030 * emacs-lisp/check-declare.el (check-declare-scan):
10031 Handle byte-compile-initial-macro-environment in bytecomp.el
10032
9869b3ae
SM
100332011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10034
10035 Fix earlier half-done eieio-defmethod change (bug#8338).
10036 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10037 Streamline and change calling convention.
10038 (defmethod): Adjust accordingly and simplify.
10039 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10040 new eieio--defmethod.
10041 (slot-boundp): Minor CSE simplification.
10042
9c1d5ac5
MZ
100432011-05-05 Milan Zamazal <pdm@zamazal.org>
10044
10045 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10046 (glasses-make-readable): Use glasses-separate-capital-groups.
10047
455c834e
JB
100482011-05-05 Juanma Barranquero <lekktu@gmail.com>
10049
10050 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10051 (warning-series): Doc fix.
10052 (display-warning): Don't try to create the buffer if we just found it.
10053
9ed7c8cb
CY
100542011-05-04 Chong Yidong <cyd@stupidchicken.com>
10055
10056 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10057 (autoload-find-generated-file): New function.
10058 (generate-file-autoloads): Bind generated-autoload-file to
10059 buffer-file-name.
9869b3ae
SM
10060 (update-file-autoloads, update-directory-autoloads):
10061 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
10062 output file (Bug#7989).
10063 (batch-update-autoloads): Doc fix.
10064
0898ca10
JB
100652011-05-04 Juanma Barranquero <lekktu@gmail.com>
10066
10067 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10068
31dfb76c
GM
100692011-05-04 Glenn Morris <rgm@gnu.org>
10070
f330b642
GM
10071 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10072 function, so it follows changes in calendar-date-style.
10073 (diary-fancy-date-matcher): New function.
10074 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10075 (diary-fancy-font-lock-fontify-region-function):
10076 Use diary-fancy-date-pattern as a function.
10077
31dfb76c
GM
10078 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10079 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10080
48e79d6a
TZ
100812011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10082
10083 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10084 instead of positional arguments. Allow :keylist and :crlfiles
10085 arguments.
10086 (open-gnutls-stream): Call it.
10087
10088 * net/network-stream.el (network-stream-open-starttls): Adjust to
10089 call `gnutls-negotiate' with :process and :hostname arguments.
10090
dd5a5ee0
SM
100912011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10092
ef80fc09
SM
10093 * minibuffer.el (completion--message): New function.
10094 (completion--do-completion, minibuffer-complete)
10095 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10096 (completion--do-completion): Don't ignore completion-auto-help when in
10097 icomplete-mode.
10098
dd5a5ee0
SM
10099 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10100 internal encoding (e.g. tibetan zero is not whitespace).
10101 (global-whitespace-mode): Prefer save-current-buffer.
10102 (whitespace-trailing-regexp): Remove useless save-match-data.
10103 (whitespace-empty-at-bob-regexp): Minor simplification.
10104
b7d22a83
CY
101052011-05-03 Chong Yidong <cyd@stupidchicken.com>
10106
10107 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10108
5192af46
AM
101092011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10110
10111 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 10112 Use `concat' to create string for insertion.
5192af46 10113
5767d190
SM
101142011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10115
10116 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10117 Avoid open-line which runs post-self-insert-hook.
10118 (bibtex-fill-entry): Remove unused `end' var.
10119
bf242939
AM
101202011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10121
5767d190
SM
10122 * textmodes/ispell.el (ispell-add-per-file-word-list):
10123 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 10124
25666126
LL
101252011-05-03 Leo Liu <sdl.web@gmail.com>
10126
10127 * isearch.el (isearch-yank-pop): New command.
5767d190 10128 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
10129 (isearch-forward): Mention it.
10130
52d3c2d0
SM
101312011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10132
1bcace58
SM
10133 * simple.el (minibuffer-complete-shell-command): Remove.
10134 (minibuffer-local-shell-command-map): Use completion-at-point.
10135 (read-shell-command): Setup completion vars here instead.
10136 (read-expression-map): Bind TAB to symbol completion.
10137
52d3c2d0
SM
10138 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10139 error directly rather via storing it into `results'.
10140
35813471
LL
101412011-05-02 Leo Liu <sdl.web@gmail.com>
10142
10143 * vc/diff.el: Fix description.
10144
e793a940
LMI
101452011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10146
10147 * server.el (server-eval-at): New function.
10148
8de66e05
LMI
101492011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10150
10151 * net/network-stream.el (open-network-stream): Take a :nowait
10152 parameter and pass it on to `make-network-process'.
10153 (network-stream-open-plain): Ditto.
10154
dcb79f20
AS
101552011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10156
10157 * faces.el (face-spec-set-match-display): Don't match toolkit
10158 options on terminal frames.
10159
14a7fbd8
SM
101602011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10161
7eabc1be
SM
10162 * progmodes/pascal.el: Use lexical binding.
10163 (pascal-mode-map): Remove author preferences.
10164
14a7fbd8
SM
10165 * pcomplete.el (pcomplete-std-complete): Don't abuse
10166 completion-at-point.
10167
50f84510
JB
101682011-04-28 Juanma Barranquero <lekktu@gmail.com>
10169
6e087a44
JB
10170 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10171 removing code that has been dead since 1991 or so.
10172
50f84510
JB
10173 * startup.el (command-line): When warning about "_emacs", use a
10174 delayed warning to allow the user to filter it out.
10175
0ba690bd
DD
101762011-04-28 Deniz Dogan <deniz@dogan.se>
10177
10178 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10179 user has not joined.
10180
08abfaad
SM
101812011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10182
10183 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10184 aren't any completions at point.
10185
638f053a
JB
101862011-04-28 Juanma Barranquero <lekktu@gmail.com>
10187
10188 * subr.el (display-delayed-warnings): New function.
10189 (delayed-warnings-hook): New variable.
10190
8fff8daa
SM
101912011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10192
08abfaad
SM
10193 * minibuffer.el (completion-at-point, completion-help-at-point):
10194 Don't presume that a given completion-at-point-function will always
10195 use the same calling convention.
10196
8fff8daa
SM
10197 * pcomplete.el (pcomplete-completions-at-point):
10198 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10199 pcomplete-seen is non-nil.
10200 (pcomplete-comint-setup): Also recognize the new comint/shell
10201 completion functions.
10202 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10203 pcomplete-seen is non-nil.
10204
841a1577 102052011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 10206
841a1577 10207 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 10208 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 10209 the first character in the entry. This allows for code to add its
211ec907
UJ
10210 own uid to the entry.
10211 (icalendar--convert-float-to-ical): Add export of
10212 `diary-float'-entries save for those with the optional DAY
10213 argument.
10214
2a782793
DC
102152011-04-27 Daniel Colascione <dan.colascione@gmail.com>
10216
10217 * subr.el (shell-quote-argument): Use alternate escaping strategy
10218 when we spot a variable reference in a string.
10219
0438ce91
DC
102202011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10221
10222 * cus-start.el (all): Define customization for debug-on-event.
10223
841a1577 102242011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
10225
10226 * subr.el (shell-quote-argument): Escape correctly under Windows.
10227
d090ed6c
SM
102282011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10229
10230 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10231
bfd31217
MA
102322011-04-25 Michael Albinus <michael.albinus@gmx.de>
10233
d090ed6c
SM
10234 * net/tramp.el (tramp-process-actions): Add POS argument.
10235 Delete region between POS and (pos).
bfd31217 10236
d090ed6c
SM
10237 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10238 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
10239 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10240
10241 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10242 position in `tramp-process-actions' call.
10243
10244 * net/trampver.el: Update release number.
10245
e92f3bd3
SM
102462011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10247
850256b5
SM
10248 * custom.el (defcustom): Obey lexical-binding.
10249
e92f3bd3
SM
10250 Fix octave-inf completion problems reported by Alexander Klimov.
10251 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10252 Inherit from octave-mode-syntax-table.
10253 (inferior-octave-mode): Set info-lookup-mode.
10254 (inferior-octave-completion-at-point): New function.
10255 (inferior-octave-complete): Use it and completion-in-region.
10256 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10257 comint-filename-completion.
10258 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10259 symbol elements which shouldn't be word elements.
10260 (octave-font-lock-keywords, octave-beginning-of-defun)
10261 (octave-function-header-regexp): Adjust regexps accordingly.
10262 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10263
cd22b309
JB
102642011-04-25 Juanma Barranquero <lekktu@gmail.com>
10265
10266 * net/gnutls.el (gnutls-errorp): Declare before first use.
10267
8b492194
TZ
102682011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10269
10270 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10271 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 10272 default trustfile exists before going to use it. Add missing
5a5fa834 10273 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
10274 Reported by Claudio Bley <claudio.bley@gmail.com>.
10275 (open-gnutls-stream): Add usage example.
10276
10277 * net/network-stream.el (network-stream-open-starttls): Give host
10278 parameter to `gnutls-negotiate'.
10279 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 10280 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 10281
841a1577 102822011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 10283
cd22b309
JB
10284 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10285 Use correct match group (bug#8438).
05842630 10286
3ba7869c
CY
102872011-04-24 Chong Yidong <cyd@stupidchicken.com>
10288
512e3ae1
CY
10289 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10290 (package-menu--generate): New arg specifying packages to show.
10291 (package-menu-refresh, package-menu-execute, list-packages):
10292 Callers changed.
10293 (package-show-package-list): New function, replacing deleted
10294 package--list-packages (renamed because it is non-internal).
10295
10296 * finder.el (finder-list-matches): Use package-show-package-list
10297 instead of deleted package--list-packages.
10298
e92f3bd3
SM
10299 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10300 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
10301 (vc-annotate-mode-map): Bind it to RET.
10302
7031be6d
UR
103032011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10304
10305 * progmodes/etags.el (next-file): Don't use set-buffer to change
10306 buffers (Bug#8478).
10307
4ef177aa
CY
103082011-04-24 Chong Yidong <cyd@stupidchicken.com>
10309
c8d173eb
CY
10310 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10311
4ef177aa
CY
10312 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10313 (apropos-accumulator): Doc fix.
10314 (apropos-function, apropos-macro, apropos-command)
10315 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10316 (apropos-plist): Add face property.
10317 (apropos-symbols-internal): Fix indentation.
10318 (apropos-print): Simplify help, and recognize apropos-multi-type.
10319 (apropos-print-doc): Use button-type-get to extract the button's
10320 face property. Fill docstring (Bug#8352).
10321
4ffd0d6b 103222011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
10323
10324 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10325
c6c32125 10326 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 10327 (mpuz-mode-map): Use mapc.
c6c32125
JB
10328 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10329 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10330 Fix typos in docstrings.
10331
58d468b4
JB
10332 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10333 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10334
6470c3c6
JB
10335 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10336
4ffd0d6b 103372011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
10338
10339 * minibuffer.el (completion--do-completion): Avoid the "Next char
10340 not unique" prompt if icomplete-mode is enabled (Bug#5849).
10341
3ad8bad0
CY
10342 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10343 mouse-2 into unread-command-events, it is interpreted correctly.
10344
71d73c9c 10345 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 10346 (image-toggle-display): Doc fix.
71d73c9c 10347
841a1577 103482011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 10349
4ffd0d6b
GM
10350 * textmodes/page.el (what-page): Use line-number-at-pos to
10351 calculate line number (Bug#6825).
6e1dbaa9 10352
c2fb1b60
JB
103532011-04-22 Juanma Barranquero <lekktu@gmail.com>
10354
10355 * eshell/esh-mode.el (find-tag-interactive): Declare function.
10356 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10357 Pass argument NO-DEFAULT to `find-tag-interactive'.
10358
e02f48d7
JB
103592011-04-22 Juanma Barranquero <lekktu@gmail.com>
10360
10361 Lexical-binding cleanup.
10362
10363 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10364 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10365 * progmodes/ada-prj.el (ada-prj-initialize-values)
10366 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10367 (ada-prj-show-value):
10368 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10369 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10370 (antlr-invalidate-context-cache, antlr-options-menu-filter)
10371 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10372 * progmodes/bug-reference.el (bug-reference-push-button):
10373 * progmodes/fortran.el (fortran-line-length):
10374 * progmodes/glasses.el (glasses-change):
10375 * progmodes/octave-mod.el (octave-fill-paragraph):
10376 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10377 (python-pdbtrack-grub-for-buffer, python-sentinel):
10378 * progmodes/sql.el (sql-save-connection):
10379 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10380 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10381 Mark unused parameters.
10382
10383 * progmodes/compile.el (compilation--flush-directory-cache)
10384 (compilation--flush-parse, compile-internal): Mark unused parameters.
10385 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10386 (compilation-next-error-function): Remove unused variable `timestamp'.
10387
10388 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10389 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10390
10391 * progmodes/dcl-mode.el (dcl-end-of-command):
10392 Remove unused variable `start'.
10393 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10394 (dcl-option-value-basic, dcl-option-value-offset)
10395 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10396 Mark unused parameters.
10397 (dcl-save-local-variable): Remove unused variable `val'.
10398 (mode): Declare.
10399
10400 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10401 Mark unused parameters.
10402 (delphi-ignore-changes): Move before first use.
10403 (delphi-charset-token-at): Remove unused variable `start'.
10404 (delphi-else-start): Remove unused variable `if-count'.
10405 (delphi-comment-block-start, delphi-comment-block-end):
10406 Remove unused variable `kind'.
10407 (delphi-indent-line): Remove unused variable `new-point'.
10408
10409 * progmodes/ebrowse.el (ebrowse-files-list)
10410 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10411 Mark unused parameters. Don't quote `lambda'.
10412 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10413 Don't quote `lambda'.
10414 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10415 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10416 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10417 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10418 Use `ignore-errors'.
10419 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10420 (ebrowse-view/find-file-and-search-pattern)
10421 (ebrowse-view/find-member-declaration/definition):
10422 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10423 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10424 Rename parameter PREFIX-ARG to PREFIX.
10425 (ebrowse-tags-read-name): Remove unused variables `start' and
10426 `member-info'.
10427 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10428 to `tags-file'.
10429
10430 * progmodes/etags.el (local-find-tag-hook): Declare.
10431 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10432 Mark unused parameters.
10433
10434 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10435 (executable-interpret): Mark unused parameter.
10436
10437 * progmodes/flymake.el (flymake-process-sentinel)
10438 (flymake-after-change-function)
10439 (flymake-create-temp-with-folder-structure)
10440 (flymake-get-include-dirs-dot): Mark unused parameters.
10441 (flymake-safe-delete-directory): Remove unused variable `err'.
10442
10443 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10444 (speedbar-timer-fn, speedbar-line-text)
10445 (speedbar-change-expand-button-char, speedbar-delete-subblock)
10446 (speedbar-center-buffer-smartly): Declare functions.
10447 (gdb-find-watch-expression): Remove unused variable `array'.
10448 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10449 (gdb-starting): Mark unused parameters.
10450 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10451 (gdb-table-string): Remove unused variable `res'.
10452 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10453 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10454 (gdb-display-buffer): Remove unused variable `cur-size'.
10455
10456 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10457 allow lexical-binding compilation.
10458 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10459 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10460 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10461 Mark unused parameters.
10462 (gud-gdb-marker-filter): Remove unused variable `match'.
10463 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10464 lambda expressions and funcall them, instead of using `fset'.
10465
10466 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10467 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10468
10469 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10470 variable `header-beg'; use `let'.
10471
10472 * progmodes/icon.el (indent-icon-exp): Remove unused variables
10473 `restart', `last-sexp' and `at-do'.
10474
10475 * progmodes/js.el (js--debug): Mark unused parameter.
10476 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10477 (js--splice-into-items): Remove unused variable `item'.
10478 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10479
10480 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10481 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10482 (makefile-complete): Remove unused variable `try'.
10483 (makefile-fill-paragraph, makefile-match-function-end):
10484 Mark unused parameters.
10485
10486 * progmodes/octave-inf.el (inferior-octave-complete):
10487 Remove unused variable `proc'.
10488 (inferior-octave-output-digest): Mark unused parameter.
10489
10490 * progmodes/perl-mode.el (perl-calculate-indent):
10491 Remove unused variable `err'.
10492
10493 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10494 (prolog-indent-line): Mark unused parameters.
10495 (prolog-indent-line): Remove unused variable `beg'.
10496
10497 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10498 (reporter-dont-compact-list): Declare.
10499
10500 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10501 Remove unused variable `char'.
10502 (sh-debug): Mark unused parameter.
10503 (sh-get-indent-info): Remove unused variable `start'.
10504 (sh-calculate-indent): Remove unused variable `var'.
10505
10506 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10507 (simula-electric-keyword): Remove unused variable `null'.
10508 (simula-search-backward, simula-search-forward): Remove unused
10509 variables `begin' and `end'.
10510
10511 * progmodes/vera-mode.el (vera-guess-basic-syntax):
10512 Remove unused variable `pos'.
10513 (vera-electric-tab, vera-comment-uncomment-region):
10514 Mark unused parameters.
10515 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10516
7ede3b65
CY
105172011-04-22 Chong Yidong <cyd@stupidchicken.com>
10518
10519 * emacs-lisp/package.el (package--builtins, package-alist)
10520 (package-load-descriptor, package-built-in-p, package-activate)
10521 (define-package, package-installed-p)
10522 (package-compute-transaction, package-buffer-info)
10523 (package--push): Doc fix. Distinguish more clearly between
10524 version strings and version lists.
10525
121656e9
JB
105262011-04-21 Juanma Barranquero <lekktu@gmail.com>
10527
10528 Lexical-binding cleanup.
10529
10530 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10531 (5x5-make-mutate-best):
10532 * play/fortune.el (fortune-in-buffer):
10533 * play/gomoku.el (gomoku-init-display):
10534 * play/solitaire.el (solitaire, solitaire-do-check):
10535 * play/tetris.el (tetris-default-update-speed-function):
10536 Mark unused parameters.
10537
10538 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10539 (bubbles--shift): Remove unused variable `char-org'.
10540 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
10541 (bubbles--show-images): Remove unused variable `char'.
10542
10543 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10544 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10545 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10546 (decipher-analyze-buffer): Use ?\s.
10547 (decipher-make-checkpoint): Remove unused variable `mapping'.
10548
10549 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10550
10551 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10552 Remove unused variable `result'; use `let'.
10553
10554 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10555 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10556 (gametree-children-shown-p, gametree-compute-reduced-score):
10557 Use `ignore-errors'.
10558
10559 * play/handwrite.el (ps-lpr-switches): Declare.
10560 (handwrite): Remove unused variables `pmin' and `lastp'.
10561
10562 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10563
10564 * play/landmark.el (landmark-init-display)
10565 (landmark-update-naught-weights): Mark unused parameters.
10566 (landmark-y): Remove unused variable `noise'. Simplify.
10567 (landmark-human-plays): Remove unused variable `score'.
10568
10569 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10570 (mpuz-try-proposal): Remove unused variable `game'.
10571
10572 * play/zone.el (life-patterns): Declare.
10573
80f499c7
JB
105742011-04-20 Juanma Barranquero <lekktu@gmail.com>
10575
10576 * vc/vc.el (ediff-vc-internal): Declare function.
10577
024ff170
SM
105782011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10579
c0a193ea
SM
10580 * shell.el: Use lexical-binding and std completion UI.
10581 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10582 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10583 comint-preoutput-filter-functions rather than on
10584 comint-output-filter-functions.
10585 (shell-command-completion, shell--command-completion-data)
10586 (shell-filename-completion, shell-environment-variable-completion)
10587 (shell-c-a-p-replace-by-expanded-directory): New functions.
10588 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10589 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10590 (shell-dynamic-complete-environment-variable): Use them.
10591 (shell-dynamic-complete-as-environment-variable)
10592 (shell-dynamic-complete-as-command): Remove.
10593 (shell-match-partial-variable): Match past point.
10594 * comint.el: Clean up use of completion-at-point-functions.
10595 (comint-completion-at-point): New function.
10596 (comint-mode): Use it completion-at-point-functions.
10597 (comint-dynamic-complete): Make it obsolete.
10598 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10599 (comint-c-a-p-replace-by-expanded-history): New function.
10600 (comint-dynamic-complete-functions)
10601 (comint-replace-by-expanded-history): Use it.
10602 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10603 termination strings. Try harder to avoid second try-completion.
10604 (completion-in-region-mode-map): Disable bindings that don't work yet.
10605
2dbaa080
SM
10606 * comint.el: Use lexical-binding. Require CL.
10607 (comint-dynamic-complete-functions): Use comint-filename-completion.
10608 (comint-completion-addsuffix): Tweak custom type.
10609 (comint-filename-completion, comint--common-suffix)
10610 (comint--common-quoted-suffix, comint--table-subvert)
10611 (comint--complete-file-name-data): New functions.
10612 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10613 (comint-dynamic-list-filename-completions): Use them.
10614 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 10615
2dbaa080
SM
10616 * minibuffer.el (completion-in-region-mode):
10617 Keep completion-in-region-mode--predicate global.
10618 (completion-in-region--postch):
10619 Assume completion-in-region-mode--predicate is not null.
10620
c79a6f38
SM
10621 * progmodes/flymake.el (flymake-start-syntax-check-process):
10622 Obey `dir'. Simplify.
10623
024ff170
SM
10624 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10625 we're in VC after all.
10626
1c6c854e
CS
106272011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10628
10629 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 10630 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
10631 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10632
bed7f140
SM
106332011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10634
332e62ab
SM
10635 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10636 add sanity check.
10637
bed7f140
SM
10638 * obsolete/erc-hecomplete.el: Make obsolete.
10639 * obsolete/: Standardize obsolescence info in the header.
10640
f195c582
GM
106412011-04-20 Glenn Morris <rgm@gnu.org>
10642
10643 * calendar/solar.el (solar-horizontal-coordinates):
10644 Use the longitude argument rather than `calendar-longitude'.
10645 (solar-date-next-longitude): Remove unused locals.
10646
cb79b8c0
VJL
106472011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10648
10649 * whitespace.el: New version 13.2.1.
10650
106512011-04-20 felix <EmacsWiki> (tiny change)
10652
d8e4b68b 10653 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
10654 switching between major modes on a file.
10655
602ea69d
SM
106562011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10657
10658 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10659 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10660 multi-line comments as well.
10661
06b60517
JB
106622011-04-19 Juanma Barranquero <lekktu@gmail.com>
10663
10664 Lexical-binding cleanup.
10665
10666 * arc-mode.el (archive-mode-revert):
10667 * cmuscheme.el (scheme-interactively-start-process):
10668 * custom.el (custom-initialize-delay):
10669 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10670 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10671 * emacs-lock.el (emacs-lock-clear-sentinel):
10672 * ezimage.el (defezimage):
10673 * follow.el (follow-avoid-tail-recenter):
10674 * fringe.el (set-fringe-mode-1):
10675 * generic-x.el (bat-generic-mode-compile):
10676 * help-mode.el (help-info-variable, help-do-xref)
10677 (help-mode-revert-buffer):
10678 * help.el (view-emacs-todo):
10679 * iswitchb.el (iswitchb-completion-help):
10680 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10681 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10682 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10683 * locate.el (locate-update):
10684 * longlines.el (longlines-encode-region)
10685 (longlines-after-change-function):
10686 * outline.el (outline-isearch-open-invisible):
10687 * ps-def.el (declare-function, charset-dimension, char-width)
10688 (encode-char):
10689 * ps-mule.el (ps-mule-plot-string):
10690 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10691 (recentf-edit-list-select, recentf-edit-list-validate)
10692 (recentf-open-files-action):
10693 * rect.el (delete-whitespace-rectangle-line)
10694 (rectangle-number-line-callback):
10695 * register.el (window-configuration-to-register)
10696 (frame-configuration-to-register):
10697 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10698 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10699 (xselect-convert-to-targets, xselect-convert-to-delete)
10700 (xselect-convert-to-filename, xselect-convert-to-charpos)
10701 (xselect-convert-to-lineno, xselect-convert-to-colno)
10702 (xselect-convert-to-os, xselect-convert-to-host)
10703 (xselect-convert-to-user, xselect-convert-to-class)
10704 (xselect-convert-to-name, xselect-convert-to-integer)
10705 (xselect-convert-to-atom, xselect-convert-to-identity):
10706 * subr.el (declare, ignore, process-kill-without-query)
10707 (text-clone-maintain):
10708 * terminal.el (te-get-char, te-tic-sentinel):
10709 * tool-bar.el (tool-bar-make-keymap):
10710 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10711 * type-break.el (type-break-mode, type-break-noninteractive-query):
10712 * view.el (View-back-to-mark):
10713 * wid-browse.el (widget-browse-action, widget-browse-widget)
10714 (widget-browse-widgets, widget-browse-sexp):
10715 * widget.el (define-widget-keywords):
10716 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10717 Mark unused parameters.
10718
10719 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10720 (align-areas): Remove unused variable `look'.
10721 (align-region): Remove unused variables `real-end' and `pos-list'.
10722
10723 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10724
10725 * bindings.el (mode-line-modified, mode-line-remote):
10726 Mark unused parameters.
10727 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10728
10729 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10730 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10731
10732 * comint.el (comint-history-isearch-pop-state)
10733 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10734 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10735 (comint-substitute-in-file-name): Doc fix.
10736
10737 * completion.el (cmpl-statistics-block): Mark unused parameter.
10738 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10739 (save-completions-to-file, load-completions-from-file):
10740 Remove unused local variable `e'.
10741
10742 * composite.el (compose-chars): Remove unused variable `len'.
10743 (lgstring-insert-glyph): Remove unused variable `g'.
10744 (compose-glyph-string): Remove unused variables `ascent',
10745 `descent', `lbearing' and `rbearing'.
10746 (compose-glyph-string-relative): Remove unused variables
10747 `lbearing', `rbearing' and `wadjust'.
10748 (compose-gstring-for-graphic): Remove unused variables `header',
10749 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10750 (compose-gstring-for-terminal): Remove unused variables `header'
10751 and `nchars'. Use `let', not `let*'.
10752
10753 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10754 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10755 (Custom-buffer-done, custom-buffer-create-internal)
10756 (custom-browse-visibility-action, custom-browse-group-tag-action)
10757 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10758 (widget-magic-mouse-down-action, custom-toggle-parent)
10759 (custom-add-parent-links, custom-toggle-hide-variable)
10760 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10761 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10762 (custom-face-menu-create, custom-variable-menu-create, get)
10763 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10764 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10765 (customize-apropos): Remove unused variable `tests'.
10766 (custom-group-value-create): Remove unused variable `hidden-p'.
10767 (sort-fold-case): Declare.
10768
10769 * cus-theme.el (custom-reset-standard-faces-list)
10770 (custom-reset-standard-variables-list): Declare.
10771 (customize-create-theme, custom-theme-revert, custom-theme-write)
10772 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10773 Mark unused parameters.
10774
10775 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10776
10777 * delim-col.el (delimit-columns-max): Move defvar before first use.
10778
10779 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 10780 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
10781
10782 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10783 (auto-insert): Declare.
10784 (desktop-restore-file-buffer): Rename desktop-* parameters;
10785 mark unused ones.
10786 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10787 (desktop-buffer): Rename desktop-* parameters.
10788
10789 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10790 (dframe-reposition-frame-xemacs, dframe-help-echo)
10791 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10792 Mark unused parameters.
10793
10794 * dired-aux.el (backup-extract-version-start, overwrite-query)
10795 (overwrite-backup-query, rename-regexp-query)
10796 (rename-non-directory-query): Declare.
10797 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10798 (dired-add-entry): Remove unused variable `orig-file-name'.
10799 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10800 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10801 `dired-copy-preserve-time' directly.
10802 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10803 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10804
10805 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10806 (dired-virtual-revert, dired-make-relative-symlink):
10807 Mark unused parameters.
10808 (manual-program): Declare.
10809 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10810 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10811 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10812
10813 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10814
10815 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10816
10817 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10818 Declare.
10819
10820 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10821
10822 * electric.el (Electric-command-loop): Rename parameter
10823 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10824
10825 * expand.el (expand-in-literal): Remove unused variable `here'.
10826
10827 * facemenu.el (facemenu-add-new-color):
10828 Remove unused variable `docstring'.
10829
10830 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10831 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10832 (face-attr-construct): Mark unused parameter. Doc fix.
10833 (read-color): Remove unused variable `hex-string'.
10834
10835 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10836 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10837 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10838 (display-buffer-other-frame): Remove unused variable `old-window'.
10839 (kill-buffer-hook): Declare.
10840 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10841 Mark unused parameters.
10842 (after-find-file): Pass 1 to `auto-save-mode', not t.
10843
10844 * files-x.el (auto-insert): Declare.
10845 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10846
10847 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 10848 variable `buf'. Mark unused parameter.
06b60517
JB
10849 (find-lisp-insert-directory): Mark unused parameter.
10850
10851 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10852 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10853 (format-common-tail): Remove, unused.
10854 (format-deannotate-region): Remove unused variable `loc'.
10855 (format-annotate-region): Remove unused variable `p'.
10856 (format-annotate-single-property-change): Remove unused variables
10857 `default' and `tail'.
10858
10859 * forms.el (read-file-filter): Declare.
10860 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10861
10862 * frame.el (frame-creation-function-alist): Mark unused parameter.
10863 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10864
10865 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10866 Remove unused parameters.
10867 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10868 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10869
10870 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10871 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10872 (hfy-prepare-tag-map): Mark unused parameters.
10873 (htmlfontify-buffer): Use `called-interactively-p'.
10874
10875 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10876 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10877 (ibuffer-do-occur): Mark unused parameters.
10878 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10879 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10880
10881 * ibuffer.el: Don't quote `lambda'.
10882 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10883 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10884 Mark unused parameters.
10885
10886 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10887 (ido-completing-read): Mark unused parameters.
10888 (ido-copy-current-word): Mark unused parameters;
10889 remove unused variable `name'.
10890 (ido-sort-merged-list): Remove unused parameter `dirs'.
10891
10892 * ielm.el (ielm-input-sender): Mark unused parameter.
10893 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10894 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10895 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10896 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10897 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10898
10899 * image-dired.el (image-dired-display-thumbs): Remove unused
10900 variables `curr-file' and `count'.
10901 (image-dired-remove-tag): Remove unused variable `start'.
10902 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10903 variable `curr-file'
10904 (image-dired-rotate-original): Remove unused variable `temp-file'.
10905 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10906 Remove unused variable `file'.
10907 (image-dired-gallery-generate): Remove unused variable `curr'.
10908 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10909
10910 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10911
10912 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10913
10914 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10915
10916 * isearch.el (minibuffer-history-symbol): Declare.
10917 (isearch-edit-string): Remove unused variable `err'.
10918 (isearch-message-prefix, isearch-message-suffix):
10919 Mark unused parameters.
10920
10921 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10922
10923 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10924
10925 * makesum.el (double-column): Remove unused variable `cnt'.
10926
10927 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10928 (ido-ignore-item-temp-list): Declare.
10929
10930 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10931 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10932 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10933 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10934 `mouse-col-delta'.
10935
10936 * mouse-sel.el (mouse-extend-internal):
10937 Remove unused variable `orig-window-frame'.
10938
10939 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10940 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10941 Move declarations before first use.
10942 (pcomplete-opt): Mark unused parameters; doc fix.
10943
10944 * proced.el (proced-revert): Mark unused parameter.
10945 (proced-send-signal): Remove unused variable `err'.
10946
10947 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10948 Rename parameter PREFIX-ARG to ARG.
10949 (ps-basic-plot-string, ps-basic-plot-whitespace):
10950 Mark unused parameters.
10951
10952 * replace.el (replace-count): Define.
10953 (occur-revert-function): Mark unused parameters.
10954 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10955 (isearch-case-fold-search, isearch-string): Declare.
10956 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10957 bind `case-fold-search'. Remove unused variables `beg' and `end',
10958 and simplify.
10959 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10960 COUNT and bind `replace-count'.
10961 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10962 to COUNT.
10963
10964 * savehist.el (print-readably, print-string-length): Declare.
10965
10966 * shadowfile.el (shadow-expand-cluster-in-file-name):
10967 Remove unused variable `cluster'.
10968 (shadow-copy-file): Remove unused variable `i'.
10969 (shadow-noquery, shadow-clusters, shadow-site-cluster)
10970 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10971 (shadow-define-literal-group, shadow-define-regexp-group)
10972 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10973
10974 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10975 (shell): Use `called-interactively-p'.
10976 (shell-directory-tracker): Remove unused variable `chdir-failure'.
10977
10978 * simple.el (compilation-context-lines, comint-file-name-quote-list)
10979 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10980 (delete-backward-char): Remove unused variable `ocol'.
10981 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10982 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10983 (event-apply-hyper-modifier, event-apply-shift-modifier)
10984 (event-apply-control-modifier, event-apply-meta-modifier):
10985 Mark unused parameters.
10986 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10987 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10988
10989 * speedbar.el (speedbar-ignored-directory-expressions)
10990 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10991 (speedbar-find-file, speedbar-dir-follow)
10992 (speedbar-directory-buttons-follow, speedbar-tag-find)
10993 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10994 (speedbar-buffers-line-directory, speedbar-buffer-click):
10995 Mark unused parameters.
10996 (speedbar-tag-file): Remove unused variable `mode'.
10997 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10998
10999 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11000
11001 * talk.el (talk): Remove unused variable `display'.
11002
11003 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11004 (tar-write-region-annotate): Mark unused parameter.
11005
11006 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11007 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11008 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11009 warning by another.
11010
11011 * time-stamp.el (time-stamp-string-preprocess):
11012 Remove unused variable `require-padding'.
11013
11014 * tree-widget.el (widget-glyph-enable): Declare.
11015 (tree-widget-action): Mark unused parameter.
11016
11017 * w32-fns.el (x-get-selection): Mark unused parameter.
11018 (autoload-make-program, generated-autoload-file): Declare.
11019
11020 * wdired.el (wdired-revert): Mark unused parameters.
11021 (wdired-xcase-word): Remove unused variable `err'.
11022
11023 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11024 (whitespace-help-scroll): Remove unused variable `data-help'.
11025
11026 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11027 (widget-image-insert, widget-after-change, default)
11028 (widget-default-format-handler, widget-default-notify)
11029 (widget-default-prompt-value, widget-info-link-action)
11030 (widget-url-link-action, widget-function-link-action)
11031 (widget-variable-link-action, widget-file-link-action)
11032 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11033 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11034 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11035 (widget-insert-button-action, widget-delete-button-action, visibility)
11036 (widget-documentation-link-action, widget-documentation-string-action)
11037 (widget-const-prompt-value, widget-regexp-match, symbol)
11038 (widget-coding-system-prompt-value)
11039 (widget-key-sequence-value-to-external, sexp)
11040 (widget-sexp-value-to-internal, character, vector, cons)
11041 (widget-choice-prompt-value, widget-boolean-prompt-value)
11042 (widget-color--choose-action): Mark unused parameters.
11043 (widget-item-match-inline, widget-choice-match-inline)
11044 (widget-checklist-match, widget-checklist-match-inline)
11045 (widget-group-match): Rename parameter VALUES to VALS.
11046 (widget-field-value-set): Remove unused variable `size'.
11047 (widget-color-action): Remove unused variables `value' and `start'.
11048
11049 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 11050 variable `dir'. Doc fix.
06b60517
JB
11051 (windmove-find-other-window): Don't pass it.
11052
11053 * window.el (count-windows): Mark unused parameter.
11054 (bw-adjust-window): Remove unused variable `err'.
11055
11056 * woman.el (woman-file-name): Remove unused variable `default'.
11057 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11058 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11059 (global-font-lock-mode): Declare.
11060 (woman-decode-region): Mark unused parameter.
11061 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11062
11063 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11064 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11065 (x-dnd-handle-moz-url): Remove unused variable `title'.
11066 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11067
11068 * xml.el (xml-parse-tag, xml-parse-attlist):
11069 Remove unused variable `pos'.
11070
bc4f7f3d
GM
110712011-04-19 Glenn Morris <rgm@gnu.org>
11072
11073 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11074 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11075 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11076 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11077 * calendar/cal-html.el (cal-html-insert-minical):
11078 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11079 (calendar-mark-date-pattern):
11080 Prefix "unused" locals.
11081
11082 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11083 optional argument `style'.
11084
11085 * calendar/appt.el (appt-make-list):
11086 * calendar/cal-china.el (calendar-chinese-date-string):
11087 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11088 (diary-hebrew-yahrzeit):
11089 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11090 * calendar/calendar.el (calendar-generate-window):
11091 * calendar/time-date.el (time-to-days):
11092 Remove unused local variables.
11093
16a43933
CY
110942011-04-18 Chong Yidong <cyd@stupidchicken.com>
11095
11096 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11097 glyphless-char-display table.
11098 (tabulated-list-glyphless-char-display): New var.
11099
7eed1860
SS
111002011-04-18 Sam Steingold <sds@gnu.org>
11101
11102 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11103 to acknowledgments.
11104
4d2d1ccd
GM
111052011-04-17 Glenn Morris <rgm@gnu.org>
11106
11107 * calendar/diary-lib.el (diary-sexp-entry):
11108 * calendar/holidays.el (holiday-sexp):
11109 Set debug-on-error rather than the removed stack-trace-on-error.
11110
239da61d
GM
111112011-04-16 Glenn Morris <rgm@gnu.org>
11112
11113 * progmodes/f90.el: Use lexical-binding.
11114 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11115
8b05752a
SM
111162011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11117
daca8ba5
SM
11118 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11119 (mail-mode): Setup mailalias completion here instead.
11120 * mail/mailalias.el: Use lexical-binding.
11121 (pattern, mailalias-done): Declare dynamic.
11122 (mail-completion-at-point-function): New function, from mail-complete.
11123 (mail-complete): Use it.
11124 (mail-completion-expand): New function.
11125 (mail-get-names): Use it.
11126 (mail-directory, mail-directory-process, mail-directory-stream):
11127 Don't use `pattern' for lexically bound arg.
11128
6f542485
SM
11129 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11130
037e7c3f
SM
11131 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11132 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11133 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11134
8b05752a
SM
11135 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11136 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11137 (byte-interactive-p): Define them again, for use when inlining
11138 old code.
11139
49093f60
JB
111402011-04-15 Juanma Barranquero <lekktu@gmail.com>
11141
11142 * loadup.el: Use `string-to-number', not `string-to-int'.
11143
b5b8e7de
SM
111442011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11145
11146 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11147 gud-gdb-complete-command.
11148 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11149 (gud-gdb-completion-at-point): New function.
11150 (gud-gdb-completions): Remove.
11151
f42efeb5
MA
111522011-04-14 Michael Albinus <michael.albinus@gmx.de>
11153
49093f60
JB
11154 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11155 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11156 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11157 whether `executable-find' is bound.
f42efeb5
MA
11158
11159 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11160
e240cc21
SM
111612011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11162
11163 * minibuffer.el (completion-in-region-mode-predicate)
11164 (completion-in-region-mode--predicate): New vars.
11165 (completion-in-region, completion-in-region--postch)
11166 (completion-in-region-mode): Use them.
11167 (completion--capf-wrapper): Also return the hook function.
11168 (completion-at-point, completion-help-at-point):
11169 Adjust and provide a predicate.
c2bd2ab0
SM
11170
11171 Preserve arg names for advice of subr and lexical functions (bug#8457).
11172 * help-fns.el (help-function-arglist): Consolidate the subr and
11173 new-byte-code cases. Add argument `preserve-names' to extract names
11174 from the docstring when needed.
11175 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11176 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11177 (ad-arglist): Use help-function-arglist's new arg.
11178 (ad-definition-type): Use cond.
11179
c183f693
JB
111802011-04-13 Juanma Barranquero <lekktu@gmail.com>
11181
06641a47
JB
11182 * autorevert.el (auto-revert-handler):
11183 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11184 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11185 Don't quote lambda.
11186
c183f693
JB
11187 * image-mode.el (image-transform-set-scale):
11188 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11189
1e3b6001
G
111902011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11191
11192 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 11193 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
11194 Upgrades via gnutls-cli are too slow to be done opportunistically.
11195
2d6af8dd
JB
111962011-04-12 Juanma Barranquero <lekktu@gmail.com>
11197
11198 * dframe.el (dframe-current-frame): Remove spurious quote.
11199
c0749a51
GM
112002011-04-12 Glenn Morris <rgm@gnu.org>
11201
088d0d61
GM
11202 * calendar/cal-tex.el (cal-tex-end-document):
11203 Try to automatically use latin1 input if needed.
11204
c0749a51
GM
11205 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11206 Don't try to cons a mark onto an empty element.
11207
5c90fde0
LL
112082011-04-11 Leo Liu <sdl.web@gmail.com>
11209
11210 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11211 buffers.
11212 (ido-kill-buffer-at-head): Support killing virtual buffers.
11213
369e974d
CY
112142011-04-10 Chong Yidong <cyd@stupidchicken.com>
11215
11216 * minibuffer.el (completion-show-inline-help): New var.
11217 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
11218 (minibuffer-force-complete, minibuffer-complete-word):
11219 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
11220
11221 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11222 to avoid interference from inline help (Bug#5849).
11223
37f1c930
LL
112242011-04-10 Leo Liu <sdl.web@gmail.com>
11225
099c39a4
JB
11226 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11227 Fix typo.
37f1c930 11228
a32d4040
CY
112292011-04-09 Chong Yidong <cyd@stupidchicken.com>
11230
11231 * image-mode.el (image-toggle-display-image): Signal an error if
11232 not in Image mode.
11233 (image-transform-mode, image-transform-resize)
11234 (image-transform-set-rotation): Doc fix.
daca8ba5 11235 (image-transform-set-resize): Delete.
a32d4040
CY
11236 (image-transform-set-scale, image-transform-fit-to-height)
11237 (image-transform-fit-to-width): Handle image-toggle-display-image
11238 and image-transform-resize directly.
11239
099c39a4 112402011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
11241
11242 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
11243 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11244 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
11245 (doc-view-mode-map): Add bindings for the new functions.
11246
099c39a4 112472011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 11248
4d61f28d 11249 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
11250 Fix typo in docstring.
11251
3726838a
EZ
112522011-04-08 Eli Zaretskii <eliz@gnu.org>
11253
04f33f1e
EZ
11254 * files.el (file-size-human-readable): Produce one digit after
11255 decimal, like "ls -lh" does.
11256
11257 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11258 the file size representation.
11259
3726838a
EZ
11260 * simple.el (list-processes): If async subprocesses are not
11261 available, error out with a clear error message.
11262
cbb59342
CY
112632011-04-08 Chong Yidong <cyd@stupidchicken.com>
11264
11265 * help.el (help-form-show): New function, to be called from C.
11266 Put help-form output in a buffer named differently than *Help*.
11267
e3971c44
EZ
112682011-04-08 Eli Zaretskii <eliz@gnu.org>
11269
11270 * files.el (file-size-human-readable): New function.
11271
11272 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11273 computing the representation inline. Don't require `cl'.
11274
12544bbe
GM
112752011-04-08 Glenn Morris <rgm@gnu.org>
11276
a1de6c6a
GM
11277 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11278
3c4671f4
GM
11279 * net/browse-url.el (browse-url-firefox):
11280 Test system-type, not system-configuration.
11281
b605679c
GM
11282 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11283 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11284 Use log-edit-empty-buffer-p. (Bug#7598)
11285
56442f0c
GM
11286 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11287 (rlogin-mode-map): Initialize in the defvar.
11288 (rlogin): Use ignore-errors.
11289
12544bbe
GM
11290 * replace.el (occur-mode-map): Some fixes for menu items.
11291
eb237b0f
AH
112922011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11293
11294 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
11295
7d668f2c
CY
112962011-04-06 Chong Yidong <cyd@stupidchicken.com>
11297
e67a13ab
CY
11298 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11299 issuing unused warnings.
11300
11301 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11302 macro directly.
11303
7d668f2c
CY
11304 * simple.el: Lisp reimplement of list-processes. Based on an
11305 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11306 (process-menu-mode): New major mode.
11307 (list-processes--refresh, list-processes):
11308 (process-menu-visit-buffer): New functions.
11309
11310 * files.el (save-buffers-kill-emacs): Don't assume any return
11311 value of list-processes, which is undocumented anyway.
11312
a83ec3c9
CY
113132011-04-06 Chong Yidong <cyd@stupidchicken.com>
11314
11315 * emacs-lisp/tabulated-list.el: New file.
11316
e91a96fe
CY
11317 * emacs-lisp/package.el: Use Tabulated List mode.
11318 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11319 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11320 table format using Tabulated List mode variables.
11321 (package--push): New macro, replacing package-list-maybe-add.
11322 (package-menu--generate): Use package--push. Renamed from
11323 package--generate-package-list.
11324 (package-menu-refresh, list-packages): Use it.
daca8ba5 11325 (package-menu--print-info): Rename from package-print-package.
e91a96fe 11326 Return insertion data instead of inserting it directly.
099c39a4
JB
11327 (package-menu-describe-package, package-menu-execute):
11328 Use tabulated-list-get-id.
e91a96fe
CY
11329 (package-menu-mark-delete, package-menu-mark-install)
11330 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
11331 (package-menu-mark-obsolete-for-deletion):
11332 Use tabulated-list-put-tag.
e91a96fe
CY
11333 (package--list-packages, package-menu-revert)
11334 (package-menu-get-package, package-menu-get-version)
11335 (package-menu-sort-by-column): Functions deleted.
11336 (package-menu-package-list, package-menu-sort-key): Vars deleted.
11337 (package-menu--status-predicate, package-menu--version-predicate)
11338 (package-menu--name-predicate)
11339 (package-menu--description-predicate): Handle arguments in the
11340 Tabulated List format.
11341 (package-list-packages-no-fetch): Call list-packages.
11342
3e214b50
JB
113432011-04-06 Juanma Barranquero <lekktu@gmail.com>
11344
11345 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 11346 (after-find-file): Don't bind it.
3e214b50
JB
11347 (revert-buffer-in-progress-p): New variable.
11348 (revert-buffer): Bind it.
11349 Pass nil for `after-find-file-from-revert-buffer'.
11350
11351 * saveplace.el (save-place-find-file-hook): Use new variable
11352 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11353
3f0f1700
GM
113542011-04-06 Glenn Morris <rgm@gnu.org>
11355
c0274801
GM
11356 * Makefile.in (AUTOGEN_VCS): New variable.
11357 (autoloads): Use $AUTOGEN_VCS.
11358
3f0f1700
GM
11359 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11360 * calendar/calendar.el (calendar-mode-map):
11361 Check for toolkit scroll bars. (Bug#8305)
11362
41ea9e48
CY
113632011-04-05 Chong Yidong <cyd@stupidchicken.com>
11364
11365 * minibuffer.el (completion-in-region--postch)
11366 (completion-in-region-mode): Remove unnecessary messages.
11367
6194c800
JB
113682011-04-05 Juanma Barranquero <lekktu@gmail.com>
11369
33256f14
JB
11370 * font-lock.el (font-lock-refresh-defaults):
11371 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11372 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11373
6194c800
JB
11374 * info.el (Info-directory-list, Info-read-node-name-2)
11375 (Info-split-parameter-string): Doc fixes.
11376 (Info-virtual-nodes): Reflow docstring.
11377 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11378 (Info-apropos-toc-nodes, info-finder, Info-get-token)
11379 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11380 Fix typos in docstrings.
11381 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11382 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11383 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11384 (Info-restore-desktop-buffer): Mark unused parameters.
11385 (Info-directory-find-file, Info-directory-find-node)
11386 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11387 (Info-virtual-index-find-node, Info-apropos-find-file)
11388 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 11389 Mark unused parameters; fix typos in docstrings.
6194c800
JB
11390 (Info-virtual-index): Remove unused local variable `nodename'.
11391
b87a8200 113922011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 11393
b87a8200
DD
11394 * net/rcirc.el: Update my e-mail address.
11395 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 11396
3b2ff876
CY
113972011-04-05 Chong Yidong <cyd@stupidchicken.com>
11398
11399 * startup.el (command-line): Save the cursor's theme-face
11400 directly, instead of using face-override-spec.
11401
11402 * custom.el (load-theme): Minor optimization in assigning faces.
11403
8d17e7ca
JB
114042011-04-04 Juanma Barranquero <lekktu@gmail.com>
11405
11406 * help-fns.el (describe-variable): Complete all variables having
11407 documentation, including keywords.
11408 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11409
2fbc1934
JB
114102011-04-04 Juanma Barranquero <lekktu@gmail.com>
11411
11412 Convert to lexical-binding.
11413
11414 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11415 (bs--get-marked-string, bs--get-modified-string)
11416 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11417 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11418 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11419
11420 * ehelp.el (electric-help-execute-extended)
11421 (electric-help-ctrl-x-prefix):
11422 * hexl.el (hexl-revert-buffer-function):
11423 * linum.el (linum-after-change, linum-after-scroll):
11424 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11425
11426 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11427
74f50695
DU
114282011-04-04 Daiki Ueno <ueno@unixuser.org>
11429
11430 * epa-dired.el:
11431 * epa-mail.el:
11432 * epa-hook.el:
11433 * epa-file.el:
11434 * epa.el:
11435 * epg.el: Use lexical binding.
11436
c11325f7
CY
114372011-04-03 Chong Yidong <cyd@stupidchicken.com>
11438
0d9e9a12
CY
11439 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11440
c11325f7 11441 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
11442 dictionary case for flyspell-mark-duplications-exceptions.
11443 Use regexp matching for languages.
c11325f7
CY
11444 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11445 default dictionary (Bug#7926).
11446
da91b5f2
CY
114472011-04-02 Chong Yidong <cyd@stupidchicken.com>
11448
099c39a4
JB
11449 * emacs-lisp/package.el (package--with-work-buffer):
11450 Recognize https URLs.
da91b5f2 11451
099c39a4
JB
11452 * net/network-stream.el: Move from gnus/proto-stream.el.
11453 Change prefix to network-stream throughout.
da91b5f2
CY
11454 (open-protocol-stream): Merge into open-network-stream, leaving
11455 open-protocol-stream as an alias. Handle nil BUFFER args.
11456
11457 * subr.el (open-network-stream): Move to net/network-stream.el.
11458
afa8e9f6
GM
114592011-04-02 Glenn Morris <rgm@gnu.org>
11460
1d2e369d
GM
11461 * find-dired.el (find-exec-terminator): New option.
11462 (find-ls-option): Test for -ls support.
11463 (find-ls-subdir-switches): Test for -b in find-ls-option.
11464 (find-dired, find-grep-dired): Doc fixes.
11465 (find-dired): Use find-exec-terminator.
11466
8abb7da8 11467 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
11468 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11469 (find-name-arg): Remove purecopy.
8abb7da8 11470
f3ca7378
GM
11471 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11472 (grep-compute-defaults): Check for `-exec COMMAND +' support.
11473 Set grep-find-use-xargs, grep-find-command, and grep-find-template
11474 accordingly. Don't add the null-device if not needed.
11475
afa8e9f6
GM
11476 * files.el (save-some-buffers): Doc fix.
11477
35eae264
EZ
114782011-04-02 Eli Zaretskii <eliz@gnu.org>
11479
11480 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11481
26b51db5
JB
114822011-04-01 Juanma Barranquero <lekktu@gmail.com>
11483
11484 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11485 Use `dolist' rather than `mapcar'.
11486
7200d79c
SM
114872011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11488
03408648 11489 Add lexical binding.
7200d79c 11490
03408648
SM
11491 * subr.el (apply-partially): Use new closures rather than CL.
11492 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11493 (dolist, dotimes): Use slightly different expansion for lexical code.
11494 (functionp): Move to C.
11495 (letrec): New macro.
11496 (with-wrapper-hook): Use it and apply-partially instead of CL.
11497 (eval-after-load): Preserve lexical-binding.
11498 (save-window-excursion, with-output-to-temp-buffer): Turn them
11499 into macros.
7200d79c 11500
03408648
SM
11501 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11502
11503 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11504 than the arglist.
11505 (help-add-fundoc-usage): Don't add `Not documented'.
11506 (help-function-arglist): Handle closures, subroutines, and new
11507 byte-code-functions.
11508 (help-make-usage): Remove leading underscores.
11509 (describe-function-1): Handle closures.
11510 (describe-variable): Use special-variable-p for completion.
11511
11512 * files.el (lexical-binding): Declare safe.
f488fb65 11513
03408648
SM
11514 * emacs-lisp/pcase.el: Don't use destructuring-bind.
11515 (pcase--memoize): Rename from pcase-memoize. Change weakness.
11516 (pcase): Add `let' pattern.
11517 Change memoization so it actually works.
11518 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11519 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11520 <let>: New case.
f488fb65 11521
03408648
SM
11522 * emacs-lisp/macroexp.el: Use lexical binding.
11523 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
11524 Don't convert ' to #' without checking that it's indeed quoting
11525 a lambda.
11526
11527 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 11528 Use eval-sexp-add-defvars.
03408648
SM
11529 (eval-sexp-add-defvars): New fun.
11530
11531 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11532
11533 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11534 Don't autoload.
11535 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11536 than the internal `byte-compile-lambda'.
11537 (defmethod): Don't hide code under quotes.
11538 (eieio-defmethod): New `code' argument.
11539
11540 * emacs-lisp/eieio-comp.el: Remove.
11541
11542 * emacs-lisp/edebug.el (edebug-eval-defun)
11543 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11544 (edebug-toggle): Avoid `eval'.
11545
11546 * emacs-lisp/disass.el (disassemble-internal): Handle new
11547 `closure' objects.
11548 (disassemble-1): Handle new byte codes.
11549
11550 * emacs-lisp/cl.el (pushnew): Silence warning.
11551
11552 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11553 (cl-byte-compile-throw): Remove.
11554 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11555
11556 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11557 closures.
11558
11559 * emacs-lisp/cconv.el: New file.
11560
11561 * emacs-lisp/bytecomp.el: Use lexical binding instead of
11562 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
11563 (byte-compile-initial-macro-environment):
11564 Handle declare-function here.
11565 (byte-compile--lexical-environment): New var.
11566 (byte-stack-ref, byte-stack-set, byte-discardN)
11567 (byte-discardN-preserve-tos): New lap codes.
11568 (byte-interactive-p): Don't use any more.
11569 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11570 New macros.
11571 (byte-compile-lapcode): Use them and handle new lap codes.
11572 (byte-compile-obsolete): Remove.
11573 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11574 (byte-compile-arglist-warn): Check late def of inlinable funs.
11575 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11576 since they should have been expanded by now.
11577 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11578 (byte-compile-from-buffer): Remove unused second arg.
11579 (byte-compile-preprocess): New function.
11580 (byte-compile-toplevel-file-form): New function to distinguish
11581 file-form calls from outside from file-form calls from hunk-handlers.
11582 (byte-compile-file-form): Simplify.
11583 (byte-compile-file-form-defsubst): Remove.
11584 (byte-compile-file-form-defmumble): Simplify now that
11585 byte-compile-lambda always returns a byte-code-function.
11586 (byte-compile): Preprocess.
11587 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11588 Remove, not used any more.
11589 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11590 (byte-compile-make-args-desc): New funs.
11591 (byte-compile-lambda): Handle lexical functions. Always return
11592 a byte-code-function.
11593 (byte-compile-reserved-constants): New var, to make up room for
11594 closed-over variables.
11595 (byte-compile-constants-vector): Obey it.
11596 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11597 (byte-compile-macroexpand-declare-function): New function.
11598 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11599 byte-code-functions.
11600 (byte-compile-form): Check obsolescence here.
11601 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11602 (byte-compile-variable-ref): Remove.
11603 (byte-compile-dynamic-variable-op): New fun.
11604 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11605 (byte-compile-variable-set): New funs.
11606 (byte-compile-discard): Add 2 args.
11607 (byte-compile-stack-ref, byte-compile-stack-set)
11608 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11609 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11610 macroexpand-all instead.
11611 (byte-compile-quote-form): Remove.
11612 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11613 (byte-compile-bind, byte-compile-unbind): New funs.
11614 (byte-compile-let): Handle let* and lexical binding.
11615 (byte-compile-let*): Remove.
11616 (byte-compile-catch, byte-compile-unwind-protect)
11617 (byte-compile-track-mouse, byte-compile-condition-case):
11618 Handle a new :fun-body form, used for lexical scoping.
11619 (byte-compile-save-window-excursion)
11620 (byte-compile-with-output-to-temp-buffer): Remove.
11621 (byte-compile-defun): Simplify.
11622 (byte-compile-stack-adjustment): New fun.
11623 (byte-compile-out): Use it.
11624 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11625
11626 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11627 handler any more.
11628
11629 * emacs-lisp/byte-opt.el: Use lexical binding.
11630 (byte-inline-lapcode): Remove (to bytecomp).
11631 (byte-compile-inline-expand): Pay attention to inlining to/from
11632 lexically bound code.
11633 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11634 any more.
11635 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11636 any more and don't call compiler-macros.
11637 (byte-compile-splice-in-already-compiled-code): Remove.
11638 (byte-code): Don't inline any more.
11639 (disassemble-offset): Receive `bytes' as argument rather than via
11640 dynamic scoping.
11641 (byte-compile-tag-number): Declare before first use.
11642 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11643 `return' even if make-spliceable.
11644 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11645 obsolete interactive-p.
11646 (byte-optimize-lapcode): Optimize new lap-codes.
11647 Don't trip up on new form of `byte-constant' lap code.
11648
11649 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11650
11651 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11652
11653 * custom.el (custom-initialize-default, custom-declare-variable):
11654 Use `defvar'.
11655
11656 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11657 New variables.
11658 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11659 (COMPILE_FIRST): Add macroexp and cconv.
11660 * makefile.w32-in: Mirror changes in Makefile.in.
11661
11662 * vc/cvs-status.el:
11663 * vc/diff-mode.el:
11664 * vc/log-edit.el:
11665 * vc/log-view.el:
11666 * vc/smerge-mode.el:
11667 * textmodes/bibtex-style.el:
11668 * textmodes/css.el:
11669 * startup.el:
11670 * uniquify.el:
da91b5f2
CY
11671 * minibuffer.el:
11672 * newcomment.el:
11673 * reveal.el:
11674 * server.el:
11675 * mpc.el:
11676 * emacs-lisp/smie.el:
11677 * doc-view.el:
11678 * dired.el:
03408648
SM
11679 * abbrev.el: Use lexical binding.
11680
0f0c1f27
EZ
116812011-04-01 Eli Zaretskii <eliz@gnu.org>
11682
11683 * info.el (info-display-manual): New function.
11684
c82b2579
SM
116852011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11686
11687 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11688
221ddf68
TH
116892011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11690
11691 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 11692 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 11693
cba6e77e
GM
116942011-03-31 Glenn Morris <rgm@gnu.org>
11695
e040639f
GM
11696 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11697
cba6e77e
GM
11698 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11699
6d0f1c9e
CS
117002011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11701
11702 * progmodes/python.el (python-default-interpreter)
11703 (python-python-command-args, python-jython-command-args)
11704 (python-which-shell, python-which-args, python-which-bufname)
11705 (python-file-queue, python-comint-output-filter-function)
11706 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11707 variables and functions.
11708
3e2d70fd
SM
117092011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11710
11711 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11712 (completion-in-region-mode): New minor mode.
11713 (completion-in-region): Use it.
11714 (completion-in-region--data, completion-in-region-mode-map): New vars.
11715 (completion-in-region--postch): New function.
11716 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11717 New vars.
11718 (completion--capf-wrapper): New function.
11719 (completion-at-point): Use it to track well-behavedness of
11720 hook functions.
11721 (completion-help-at-point): New command.
11722
f3e4086c
JM
117232011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11724
11725 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11726 syntax class to search for whitespace on a single line
11727 (Message-ID: <4D938140.4030905@redhat.com>).
11728
eb7ffc14
LL
117292011-03-30 Leo Liu <sdl.web@gmail.com>
11730
11731 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11732 New commands.
11733 (edit-abbrevs-map): Bind them here.
11734 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11735
d806ab68
KM
117362011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11737
11738 * allout.el (allout-hide-by-annotation, allout-flag-region):
11739 Reduce possibility of overlay leakage by making them volatile.
11740
11741 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11742 hash is not shared between buffers. Mode initialization is
11743 responsible for giving it a useful starting value.
11744 (allout-item-span): Reduce possibility of overlay leakage by
11745 making them volatile.
11746 (allout-widgets-count-buttons-in-region): Add diagnostic function
11747 for tracking down button overlay leaks.
11748
ea622834
LL
117492011-03-29 Leo Liu <sdl.web@gmail.com>
11750
11751 * ido.el (ido-read-internal): Use the default history var
11752 minibuffer-history if no HISTORY is specified.
11753
b62f8267
G
117542011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11755
03408648
SM
11756 * net/imap.el (imap-shell-open, imap-process-connection-type):
11757 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
11758 Kerberos, SSL, other subprocesses.
11759
947b6566
LL
117602011-03-28 Leo Liu <sdl.web@gmail.com>
11761
11762 * abbrev.el (abbrev-table-empty-p): New function.
11763 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11764 nonempty ones. (Bug#5937)
11765
5ffb62aa
JD
117662011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11767
11768 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11769
7a097943
LL
117702011-03-27 Leo Liu <sdl.web@gmail.com>
11771
11772 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11773 for foreground and background colors.
11774 (ansi-color-make-color-map): Adapt.
11775
c5b40130
LL
117762011-03-25 Leo Liu <sdl.web@gmail.com>
11777
1f48f7d2
LL
11778 * midnight.el (midnight-time-float): Remove. Note it calculates
11779 the microsecond component incorrectly and seconds-to-time does the
11780 same job.
625897ec 11781 Remove redundant (require 'timer).
1f48f7d2 11782
c5b40130
LL
11783 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11784 (ido-completions): Remove unused arguments. (Bug#8329)
11785
d86d2721
SM
117862011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11787
11788 * minibuffer.el (completion--flush-all-sorted-completions):
11789 Remove itself from hook.
11790 (completion-at-point): Let the functions perform the completion
11791 immediately and return nil or t.
11792 * comint.el (comint-dynamic-complete-functions): Now identical to
11793 completion-at-point-functions.
11794 (comint-dynamic-list-input-ring): Remove unused var `index'.
11795 (comint--match-partial-filename, comint--unquote&expand-filename):
11796 New funs, split from comint-match-partial-filename.
11797 (comint-dynamic-complete): Use completion-at-point.
11798 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11799
e8974c48
DA
118002011-03-24 Drew Adams <drew.adams@oracle.com>
11801
11802 * thingatpt.el: Support `defun'.
11803
def71b5e
LL
118042011-03-23 Leo Liu <sdl.web@gmail.com>
11805
cb5af48e
LL
11806 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11807
def71b5e
LL
11808 * help-mode.el (help-mode-finish): Tweak regexp.
11809
927c53e7
GM
118102011-03-23 Glenn Morris <rgm@gnu.org>
11811
18d05bed
GM
11812 * eshell/esh-opt.el (eshell-eval-using-options):
11813 Do not bind unused local variable `eshell-option-stub'.
11814
927c53e7
GM
11815 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11816
9d0da923
JB
118172011-03-22 Juanma Barranquero <lekktu@gmail.com>
11818
11819 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11820 keymap variable in `with-no-warnings' to avoid a warning when the
11821 keymap has been already `defconst'ed.
11822
4b978a67
LL
118232011-03-22 Leo Liu <sdl.web@gmail.com>
11824
11825 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11826 encode all chars in abbrevs; otherwise use emacs-mule or
11827 utf-8-emacs. (Bug#8308)
11828
5fd62452
JB
118292011-03-22 Juanma Barranquero <lekktu@gmail.com>
11830
0b1596c6
JB
11831 * simple.el (backward-delete-char-untabify):
11832 Avoid warning about using `delete-backward-char'.
11833
5fd62452
JB
11834 * image.el (image-type-file-name-regexps): Make it variable.
11835 `imagemagick-register-types' modifies it, and the user may want
11836 to add new extensions for known image types.
11837 (imagemagick-register-types): Throw error if not using ImageMagick.
11838
0b4e93f1
LL
118392011-03-22 Leo Liu <sdl.web@gmail.com>
11840
11841 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11842 located before rcirc-prompt-end-marker.
11843 (rcirc-complete): Error if point is not after rcirc prompt.
11844 Handle the case when table is nil.
9882e214 11845 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 11846
fccee4ab
CY
118472011-03-22 Chong Yidong <cyd@stupidchicken.com>
11848
11849 * custom.el (custom--inhibit-theme-enable): Make it affect only
11850 custom-theme-set-variables and custom-theme-set-faces.
11851 (provide-theme): Ignore custom--inhibit-theme-enable.
11852 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11853 (custom-enabling-themes): Delete variable.
d86d2721
SM
11854 (enable-theme): Accept only loaded themes as arguments.
11855 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
11856 (custom-enabled-themes): Forbid themes from setting this.
11857 Eliminate use of custom-enabling-themes.
11858 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 11859
af896da6
LL
118602011-03-21 Leo Liu <sdl.web@gmail.com>
11861
11862 * ido.el (ido-read-internal): Add ido-selected to history instead
11863 of user input.
11864
78f64af0
SM
118652011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11866
11867 * subr.el (deferred-action-list, deferred-action-function):
11868 Mark obsolete.
11869
b16ac1ec
LL
118702011-03-21 Leo Liu <sdl.web@gmail.com>
11871
810f7698
LL
11872 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11873 change on 2011-02-13 (bug#8309).
11874
b16ac1ec
LL
11875 * minibuffer.el (read-file-name-function): Change default value.
11876 (read-file-name--defaults): Rename from read-file-name-defaults.
11877 (read-file-name-default): Rename from read-file-name.
11878 (read-file-name): Call read-file-name-function.
11879
4e05e67e
GM
118802011-03-21 Glenn Morris <rgm@gnu.org>
11881
11882 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11883 Doc fixes.
11884
4359915b
CY
118852011-03-21 Chong Yidong <cyd@stupidchicken.com>
11886
11887 * cus-theme.el: Add missing provide statement.
11888 (customize-create-theme): Extract theme value correctly.
11889 (custom-theme-visit-theme): Autoload.
11890 (customize-create-theme): Prompt before inserting default faces.
11891
1fe275ee
JB
118922011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11893
11894 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11895 units and musical notes.
11896
cd394be1 118972011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
11898
11899 * ido.el (ido-read-internal): Use completing-read-default.
11900 (ido-completing-read): Fix compatibility with completing-read.
11901
7d476bde
CO
119022011-03-20 Christian Ohler <ohler@gnu.org>
11903
11904 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11905 (ert-delete-all-tests): Use `called-interactively-p' rather than
11906 `interactive-p'.
11907 (ert--make-xrefs-region): Respect END.
11908
fe0fb33e
CY
119092011-03-19 Chong Yidong <cyd@stupidchicken.com>
11910
ff854b0b
CY
11911 * dired-aux.el (dired-create-directory): Signal an error if the
11912 directory already exists (Bug#8246).
11913
fe0fb33e
CY
11914 * facemenu.el (list-colors-display): Call list-faces-display
11915 inside with-help-window.
11916 (list-colors-print): Use display property to align the final
11917 column, instead of checking window-width.
11918
576bce32
EZ
119192011-03-19 Eli Zaretskii <eliz@gnu.org>
11920
4d61f28d 11921 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
11922 windows-nt systems.
11923 (emerge-protect-metachars): Quote correctly for ms-dos and
11924 windows-nt systems.
11925
89c41d68 119262011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
11927
11928 * info.el (info-initialize): Replace all uses of `:' with
11929 path-separator for compatibility with non-Unix systems.
11930 Cache quoting of path-separator. (Bug#8258)
11931
b14e3e21 119322011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
11933
11934 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11935 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11936 (mouse-avoidance-mode): Fix typos in docstrings.
11937
4525ce3e
CY
119382011-03-19 Chong Yidong <cyd@stupidchicken.com>
11939
11940 * startup.el (package-subdirectory-regexp): Move from package.el.
11941 Omit \\` and \\', and let callers add them.
11942
11943 * emacs-lisp/package.el (package-strip-version)
11944 (package-load-all-descriptors): Add \\` and \\' to
11945 package-subdirectory-regexp before using it.
11946 (package-untar-buffer): New arg DIR; ensure that file untars only
11947 into this expected directory. Remove superfluous delete-region.
11948 (package-unpack): Caller changed.
11949 (package-tar-file-info): Use package-subdirectory-regexp.
11950
a904a09a 119512011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 11952
a904a09a
SM
11953 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11954 diff-mode-shared-map (bug#8284).
11955 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
11956
119572011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11958
11959 * calendar/time-date.el (format-seconds): Use assoc instead of
11960 assoc-string, since assoc-string doesn't exist in XEmacs.
11961
171fc304
JB
119622011-03-17 Juanma Barranquero <lekktu@gmail.com>
11963
11964 * custom.el (custom-known-themes): Reflow docstring.
11965 (custom-theme-load-path): Fix typo in docstring.
11966 (load-theme): Fix typo in error message.
11967 (custom-available-themes, custom-variable-theme-value):
11968 Use `let', not `let*'.
11969
d71990a1
JB
119702011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11971
11972 * calc/README: Mention inclusion of musical notes.
11973
11974 * calc/calc-units.el (calc-lu-quant): Rename from
11975 `calc-logunits-quantity'.
11976 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11977 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11978 (calc-db): Rename from `calc-dblevel'.
11979 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11980 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11981 (calc-np): Rename from `calc-nplevel'.
11982 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11983 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11984 (calc-lu-plus): Rename from `calc-logunits-add'.
11985 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11986 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11987 (calc-lu-minus): Rename from `calc-logunits-sub'.
11988 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11989 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11990 (calc-lu-times): Rename from `calc-logunits-mul'.
11991 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11992 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11993 (calc-lu-divide): Rename from `calc-logunits-div'.
11994 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11995 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11996
11997 * calc/calc-ext.el (calc-init-extensions): Update the names of the
11998 functions being autoloaded.
11999
12000 * calc/calc.el (calc-lu-power-reference): Rename from
12001 `calc-logunits-power-reference'.
12002 (calc-lu-field-reference): Rename from
12003 `calc-logunits-field-reference'.
12004
7a71b18d
GM
12005 * calc/calc-help.el (calc-l-prefix-help):
12006 Mention musical note functions.
d71990a1 12007
40c2934b
SM
120082011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12009
12010 * minibuffer.el (completion-all-sorted-completions):
12011 Use :completion-cycle-penalty text property if present.
12012
b0911414
KM
120132011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12014
12015 * allout.el (allout-yank-processing): Adjust for new rebulleting
12016 regime so bullet being yanked is used without prompting the user
12017 for a choice.
12018
8a05b668
JB
120192011-03-16 Juanma Barranquero <lekktu@gmail.com>
12020
12021 * startup.el (command-line): Warn the user that _emacs is deprecated.
12022
5ba5fb81
JB
120232011-03-16 Juanma Barranquero <lekktu@gmail.com>
12024
12025 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12026 (delphi-verbose, delphi-comment-face, delphi-string-face)
12027 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12028 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12029 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12030 (delphi-new-comment-line, delphi-font-lock-defaults)
12031 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12032 Fix typos in docstrings.
12033
2dab465b
KM
120342011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12035
5ba5fb81 12036 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
12037 Invert the roles of character and string values for INSTEAD, so a
12038 string is used for the more common case of a defaulting prompt.
12039
0adf5618
SM
120402011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12041
12042 * progmodes/ruby-mode.el (ruby-backward-sexp):
12043 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12044 * play/gamegrid.el (gamegrid-make-face):
12045 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12046 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12047 * notifications.el (notifications-notify):
12048 * net/xesam.el (xesam-search-engines):
12049 * net/quickurl.el (quickurl-list-insert):
12050 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12051
d72700e5
CY
120522011-03-15 Chong Yidong <cyd@stupidchicken.com>
12053
12054 * startup.el (command-line): Update package subdirectory regexp.
12055
49c5410a
SM
120562011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12057
c6eee9aa
SM
12058 * allout.el (allout-abbreviate-flattened-numbering)
12059 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12060
49c5410a
SM
12061 * subr.el (read-char-choice): Only show the cursor after the prompt,
12062 not after the answer.
12063
047b2bb9
KR
120642011-03-15 Kevin Ryde <user42@zip.com.au>
12065
12066 * help-fns.el (variable-at-point): Skip leading quotes, if any
12067 (bug#8253).
12068
0a57d256
SM
120692011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12070
12071 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12072 warning message.
12073
77c992bc
MA
120742011-03-14 Michael Albinus <michael.albinus@gmx.de>
12075
12076 * shell.el (shell): When called interactively, offer to change the
12077 shell file name on remote hosts.
12078
eebc475d
TZ
120792011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12080
12081 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12082 integration for LDAP parameters. The host, base, user or binddn,
12083 and secret tokens can be specified in a netrc file, for instance.
12084 This is optional because an `auth-source' parameter must be
12085 specified in the search attributes.
12086
9d05d1ba
JB
120872011-03-13 Juanma Barranquero <lekktu@gmail.com>
12088
12089 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12090
09d9db2c
GM
120912011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12092
12093 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12094 into declaration. Remove redundant and harmful binding.
12095
120962011-03-12 Eli Zaretskii <eliz@gnu.org>
12097
12098 * files.el (file-ownership-preserved-p): Pass `integer' as an
12099 explicit 2nd argument to `file-attributes'. If the file's owner
12100 is the Administrators group on Windows, and the current user is
12101 Administrator, consider that a match.
12102
12103 * server.el (server-ensure-safe-dir): Consider server directory
12104 safe on MS-Windows if its owner is the Administrators group while
12105 the current Emacs user is Administrator. Use `=' to compare
12106 numerical UIDs, since they could be integers or floats.
12107
219bd536
JB
121082011-03-12 Juanma Barranquero <lekktu@gmail.com>
12109
12110 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12111
f3afd36b
MA
121122011-03-12 Michael Albinus <michael.albinus@gmx.de>
12113
12114 Sync with Tramp 2.2.1.
12115
12116 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12117
12118 * net/trampver.el: Update release number.
12119
3aaaa6f1
SM
121202011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12121
94642599
SM
12122 * progmodes/compile.el (compilation--previous-directory): Fix up
12123 various nil/dead-marker mismatches (bug#8014).
12124 (compilation-directory-properties, compilation-error-properties):
12125 Don't call it at a position past the one we're about to change.
12126
3aaaa6f1
SM
12127 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12128 Disable obsolescence warnings in the file that declares it.
12129
14239447
KM
121302011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12131
099c39a4
JB
12132 * allout-widgets.el (allout-widgets-tally):
12133 Initialize allout-widgets-tally as a hash table rather than nil to
12134 prevent mode-line redisplay warnings. Also, clarify the module
12135 description and fix a comment typo.
14239447 12136
135e287c
JB
121372011-03-11 Juanma Barranquero <lekktu@gmail.com>
12138
12139 * help-fns.el (describe-variable): Don't complete keywords.
12140 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12141
ffbf300e
CY
121422011-03-10 Chong Yidong <cyd@stupidchicken.com>
12143
ba08b241
CY
12144 * emacs-lisp/package.el (package-version-join): Impose a standard
12145 string representation for pre/alpha/beta version lists.
12146 (package-unpack-single): Standardize the directory name by passing
12147 it through package-version-join.
12148 (package-strip-rcs-id): Accept any version string that does not
12149 signal an error in version-to-list.
ffbf300e 12150
f346fd6b
MA
121512011-03-10 Michael Albinus <michael.albinus@gmx.de>
12152
12153 * simple.el (delete-trailing-whitespace): Return nil for the
12154 benefit of `write-file-functions'.
12155
ccb55d27
GM
121562011-03-10 Glenn Morris <rgm@gnu.org>
12157
5ceaac0c
GM
12158 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12159
02da65ff
GM
12160 * vc/vc-git.el (vc-git-program): New option.
12161 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12162 (vc-git--call): Use it.
12163
b2f603cc
GM
12164 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12165
5772caab
GM
12166 * cus-edit.el (Custom-newline): If no button at point, look
12167 for a subgroup button at start-of-line. (Bug#2298)
12168
ccb55d27
GM
12169 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12170
ec6ecaed
JD
121712011-03-10 Julien Danjou <julien@danjou.info>
12172
12173 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12174 `cursor-type' is nil.
12175
9d5aa01d
JB
121762011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
12177
12178 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12179
b6a5875b
KM
121802011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
12181
7a71b18d 12182 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
12183 preserves the existing header prefix, rebulleting it if necessary,
12184 rather than replacing it. This is necessary for proper operation
12185 of cooperative addons like allout-widgets.
1154d12e
JB
12186 (allout-make-topic-prefix, allout-rebullet-heading):
12187 Change SOLICIT arg to INSTEAD, and interpret additionally a string
12188 value as alternate bullet to be used, instead of prompting the user
12189 for a bullet character.
b6a5875b 12190
ee545c35
MA
121912011-03-09 Michael Albinus <michael.albinus@gmx.de>
12192
d86d2721
SM
12193 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12194 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
12195 `tramp-default-port'.
12196
c47971d7
DD
121972011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12198
12199 * net/rcirc.el (rcirc-handler-001): Remove useless
12200 with-rcirc-process-buffer.
12201 (rcirc-check-auth-status): Swap arguments to string-match.
12202
13522cb4
GM
122032011-03-09 Glenn Morris <rgm@gnu.org>
12204
0be6f4f1
GM
12205 * shell.el (shell-mode):
12206 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
12207
13522cb4
GM
12208 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12209 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
12210
515de2e3
CY
122112011-03-08 Chong Yidong <cyd@stupidchicken.com>
12212
12213 * emacs-lisp/package.el (package-refresh-contents)
12214 (package-menu-execute): Use condition-case-no-debug.
12215
b511b994
MA
122162011-03-08 Michael Albinus <michael.albinus@gmx.de>
12217
12218 * simple.el (shell-command-to-string): Use `process-file'.
12219
12220 * emacs-lisp/package.el (package-tar-file-info): Handle also
12221 remote files.
12222
d86d2721
SM
12223 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12224 Use `equal' for upload base check.
b511b994 12225
25bbfb31
AM
122262011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12227
12228 * textmodes/texinfo.el (texinfo-environments):
12229 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
12230
be996521
GM
122312011-03-08 Glenn Morris <rgm@gnu.org>
12232
e9c8529f
GM
12233 * cus-start.el (cursor-in-non-selected-windows):
12234 Fix :set quoting oddness. (Bug#8192)
12235
be996521
GM
12236 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12237 in some setf expressions. (Bug#2159)
12238
2bb5649e
CY
122392011-03-08 Chong Yidong <cyd@stupidchicken.com>
12240
12241 * custom.el (custom-available-themes): Return themes in
12242 alphabetical order.
12243
33383987 12244See ChangeLog.15 for earlier changes.
e3d51b27
MR
12245
12246;; Local Variables:
12247;; coding: utf-8
e3d51b27
MR
12248;; End:
12249
acaf905b 12250 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
12251
12252 This file is part of GNU Emacs.
12253
12254 GNU Emacs is free software: you can redistribute it and/or modify
12255 it under the terms of the GNU General Public License as published by
12256 the Free Software Foundation, either version 3 of the License, or
12257 (at your option) any later version.
12258
12259 GNU Emacs is distributed in the hope that it will be useful,
12260 but WITHOUT ANY WARRANTY; without even the implied warranty of
12261 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12262 GNU General Public License for more details.
12263
12264 You should have received a copy of the GNU General Public License
12265 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.