* mail/rmail.el (rmail-yank-current-message): Leave point at correct position.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
94f0aa34
CY
12012-06-01 Chong Yidong <cyd@gnu.org>
2
3 * Version 24.1 released.
4
9e1b8ec4
GM
52012-06-01 Glenn Morris <rgm@gnu.org>
6
7 * mail/rmail.el (rmail-yank-current-message):
8 Leave point at correct position. (Bug#11660)
9
00cd0305
CY
102012-06-01 Chong Yidong <cyd@gnu.org>
11
12 * allout-widgets.el: Fix code header
13
94f0aa34
CY
142012-06-01 Chong Yidong <cyd@gnu.org>
15
16 * cus-edit.el (customize-changed-options-previous-release): Bump
17 to 23.4.
18
dd41169b
SM
192012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20
21 * emacs-lisp/bytecomp.el (byte-compile-fix-header): Handle
22 arbitrary file name lengths (Bug#11585).
23
5221ccb9
MR
242012-05-28 Martin Rudalics <rudalics@gmx.at>
25
26 * desktop.el (desktop-read): Clear previous and next buffers for
27 all windows and bury *Messages* buffer (bug#11556).
28
b30b64b9
EZ
292012-05-18 Eli Zaretskii <eliz@gnu.org>
30
31 * mail/sendmail.el (mail-yank-region): Recognize
32 rmail-yank-current-message in addition to insert-buffer. Fixes
33 mail-mode's "C-c C-r" that otherwise does nothing when invoked in
34 a *mail* buffer created through rmail-start-mail with sendmail as
35 mail-user-agent.
36
6d4a05e3
SM
372012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
38
39 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
40 parens around the arg list (bug#11499). Silly backport.
41
4f32cc6c
CY
422012-05-16 Chong Yidong <cyd@gnu.org>
43
44 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
45
fcf2993f
CY
462012-05-15 Chong Yidong <cyd@gnu.org>
47
27d1f87a
CY
48 * help.el (describe-mode): Doc fix.
49
fcf2993f
CY
50 * net/gnutls.el (gnutls-min-prime-bits): Default to 256 (Bug#11267).
51
6cb820ba
CY
522012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
53
54 * progmodes/compile.el (compilation-internal-error-properties):
55 Calculate start position correctly when end-col is set but
56 end-line is not (Bug#11382).
57
d9d1dfef
SM
582012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
59
60 * net/rlogin.el (rlogin-mode-map): Fix last change.
61
8633b1f4
JW
622012-05-09 Jason L. Wright <jason.wright@inl.gov> (tiny change)
63
64 * mail/smtpmail.el (smtpmail-send-command): Send the command and
65 the following \r\n using a single `process-send-string', since the
66 Lotus SMTP server refuses to accept any commands if they are sent
67 with two `process-send-string's (bug#11444).
68
fe263b8f
SM
692012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
70
71 * shell.el (shell-parse-pcomplete-arguments): Obey
72 pcomplete-arg-quote-list inside double-quoted args as well (bug#11348).
73
1cb51c12
SM
742012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
75
76 * shell.el (shell-completion-vars): Fix last change (bug#11348).
77
18f00515
CY
782012-05-07 Chong Yidong <cyd@gnu.org>
79
80 * ansi-color.el (ansi-color-process-output): Check for validity of
81 comint-last-output-start before using it. This avoids a bad
82 interaction with gdb-mi's input/output buffer.
83
fd075e7b
GM
842012-05-06 Glenn Morris <rgm@gnu.org>
85
86 * files.el (dir-locals-read-from-file):
87 Mention dir-locals in any error message.
88
25f292cd
CY
892012-05-06 Chong Yidong <cyd@gnu.org>
90
91 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
92 package (Bug#11410).
93
f677562b
CY
942012-05-05 Chong Yidong <cyd@gnu.org>
95
96 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
97 variables into description.
98
3d53ee1b
SM
992012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
100
101 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
102 shell-delimiter-argument-list (bug#11348).
103 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
104
f16e5386
CY
1052012-05-04 Chong Yidong <cyd@gnu.org>
106
107 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
108 Nextstep.
109
e59fb960
KH
1102012-05-03 Kenichi Handa <handa@m17n.org>
111
112 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
113 decoding, and show a warning message without signalling an error
114 (Bug#11282).
115
91af76bf
EZ
1162012-04-30 Eli Zaretskii <eliz@gnu.org>
117
118 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
119 the yanked message in preference to the default value of
120 buffer-file-coding-system.
121
d9558cad
MR
1222012-04-30 Martin Rudalics <rudalics@gmx.at>
123
fe263b8f
SM
124 * window.el (display-buffer--action-function-custom-type):
125 Fix entry.
d9558cad 126
09affde0
AM
1272012-04-27 Alan Mackenzie <acm@muc.de>
128
129 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
130
c5bb7569
CY
1312012-04-27 Chong Yidong <cyd@gnu.org>
132
133 * subr.el (read-key): Avoid running filter function when setting
134 up temporary tool bar entries (Bug#9922).
135
c4347ab9
AS
1362012-04-26 Andreas Schwab <schwab@linux-m68k.org>
137
138 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
139 (Bug#11344)
140
acb71f1d
CY
1412012-04-24 Chong Yidong <cyd@gnu.org>
142
143 * select.el (xselect--encode-string): New function, split from
144 xselect-convert-to-string.
145 (xselect-convert-to-string): Use it.
146 (xselect-convert-to-filename, xselect-convert-to-os)
147 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
148 returned strings are properly encoded (Bug#11315).
149
d55486c7
CY
1502012-04-22 Chong Yidong <cyd@gnu.org>
151
152 * simple.el (delete-active-region): Move to killing custom group.
153
581b6788
AS
1542012-04-21 Andreas Schwab <schwab@linux-m68k.org>
155
156 * progmodes/which-func.el (which-func-current): Quote %
157 characters for mode-line processing.
158
18edb22d
CY
1592012-04-21 Chong Yidong <cyd@gnu.org>
160
161 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
162 reaching eob (Bug#11286).
163
4b932ea2
PE
1642012-04-20 Richard Stallman <rms@gnu.org>
165
166 Fix logic for returning to and yanking from Rmail buffer.
167
168 * mail/rmail.el (rmail-start-mail):
169 Pass (rmail-mail-return...) for the return-action.
170 Pass (rmail-yank-current-message...) for the yank-action.
171 (rmail-yank-current-message): New function.
172 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
173 (rmail-reply): Likewise.
174 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
175
176 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
177 buffer, not the last. Reject temp buffers. Use the rmail-mode
178 buffer, not newbuf.
179
9ee9f470
EZ
1802012-04-20 Eli Zaretskii <eliz@gnu.org>
181
182 * progmodes/gdb-mi.el (gdb-control-level): New variable.
183 (gdb): Make it buffer-local and init to zero.
184 (gdb-control-commands-regexp): New variable.
185 (gdb-send): Don't wrap in "-interpreter-exec console" if
186 gdb-control-level is positive. Increment gdb-control-level
187 whenever the command matches gdb-control-commands-regexp, and
188 decrement it each time the command is "end". (Bug#11279)
189
41cfe0cb
MR
1902012-04-20 Martin Rudalics <rudalics@gmx.at>
191
192 * window.el (adjust-window-trailing-edge, enlarge-window)
193 (shrink-window, window-resize):
194 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
195 windows (Bug#11276).
196
54071013
DN
1972012-04-20 Dan Nicolaescu <dann@gnu.org>
198
199 * battery.el (battery-echo-area-format): Display remaining time
200 for sysfs backend too (Bug#11269).
201 (battery-linux-sysfs): Fix conditional for the charge.
202
f30d612a
CY
2032012-04-20 Chong Yidong <cyd@gnu.org>
204
205 * progmodes/gdb-mi.el (gdb): Revert 2012-04-19 change.
206 (gdb-inferior-io--init-proc): New function.
207 (gdb-init-1): Use it.
208 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
209 responsible for allocating a new pty and hooking it to gdb when
210 the old pty gets an EIO due to process exit.
211 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
212 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
213 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
214
2116e93c
EZ
2152012-04-20 Eli Zaretskii <eliz@gnu.org>
216
217 * window.el (window-min-size, window-sizable, window-min-delta)
218 (window-max-delta, window--resizable, window-resizable)
219 (window-total-size, window-full-height-p, window-full-width-p)
220 (window-in-direction, window--resize-mini-window, window-resize)
221 (window--resize-child-windows-normal)
222 (window--resize-child-windows, window--resize-siblings)
223 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 224 (enlarge-window, shrink-window): Doc fixes.
2116e93c 225
b668fa6e
CY
2262012-04-19 Chong Yidong <cyd@gnu.org>
227
fe263b8f
SM
228 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
229 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
230 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
231 pty process (Bug#11273).
232 (gdb-update): New arg to suppress talking to the gdb process.
233 (gdb-done-or-error): Use it.
234 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
235 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
236 sentinel not being called.
237
238 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
239
d02766ab
CY
2402012-04-18 Chong Yidong <cyd@gnu.org>
241
242 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
243
016a35df
GM
2442012-04-18 Glenn Morris <rgm@gnu.org>
245
246 * net/network-stream.el (open-network-stream): Doc fix.
247
2c070447
CY
2482012-04-17 Chong Yidong <cyd@gnu.org>
249
250 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
251
f0f6bc35
AM
2522012-04-16 Alan Mackenzie <acm@muc.de>
253
254 Ensure searching for keywords is case sensitive.
255
256 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
257 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
258 (c-defun-name, c-mark-function, c-cpp-define-name)
259 (c-comment-indent, c-scan-conditionals, c-indent-defun)
260 (c-context-line-break): bind case-fold-search to nil.
261
fe263b8f
SM
262 * progmodes/cc-mode.el (c-font-lock-fontify-region):
263 bind case-fold-search to nil.
f0f6bc35 264
4fc2c72a
CY
2652012-04-16 Chong Yidong <cyd@gnu.org>
266
267 * mail/sendmail.el (mail-bury): Call return action with the right
268 Rmail buffer (Bug#11242).
269
9a864fa2
CY
2702012-04-15 Chong Yidong <cyd@gnu.org>
271
272 * server.el (server-process-filter): Handle corner case where both
273 tty and nowait options are present (Bug#11102).
274
e153c136
GM
2752012-04-15 Glenn Morris <rgm@gnu.org>
276
277 * simple.el (process-file-side-effects): Doc fix.
278
ca7d96c8
GM
2792012-04-14 Glenn Morris <rgm@gnu.org>
280
281 * international/mule-cmds.el (set-language-environment): Doc fix.
282
9c2d6a4a
SM
2832012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
284
285 Avoid the use of ((lambda ...) ...) in lexical-binding code.
286 * emacs-lisp/easy-mmode.el (define-minor-mode):Use funcall (bug#11241).
287
9557e2be
CY
2882012-04-13 Kim F. Storm <storm@cua.dk>
289
290 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
291 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
292
81927dd2
CY
2932012-04-12 Chong Yidong <cyd@gnu.org>
294
295 * custom.el (custom-theme-set-variables): Doc fix.
296
8edb942b
GM
2972012-04-12 Glenn Morris <rgm@gnu.org>
298
299 * international/mule.el (set-auto-coding-for-load): Doc fix.
300
4517fe3a
SM
3012012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
302
303 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
304 Reported by Noah Friedman. Backport from trunk.
305
0de3da9f
AM
3062012-04-11 Alan Mackenzie <acm@muc.de>
307
4517fe3a
SM
308 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression):
309 Make imenu work again for Objective C Mode. Correct the *-index
310 values, these having been disturbed by a previous change in 2011-08.
57f845ee 311
0de3da9f
AM
312 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
313 Correct two search limits.
314
ede141ac
SM
3152012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
316
317 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
318
d0203d61
AS
3192012-04-10 Andreas Schwab <schwab@linux-m68k.org>
320
321 * international/characters.el: Fix sorting.
322
cb80bcd1
EZ
3232012-04-10 Eli Zaretskii <eliz@gnu.org>
324
325 * international/characters.el: Add more missing Latin case pairs.
326
0d93216c
AS
3272012-04-10 Andreas Schwab <schwab@linux-m68k.org>
328
329 * international/characters.el: Recover lost case pairs.
330
4a427f58
GM
3312012-04-10 Glenn Morris <rgm@gnu.org>
332
333 * files.el (dir-locals-set-class-variables): Doc fix.
334
9f847f41
EZ
3352012-04-09 Eli Zaretskii <eliz@gnu.org>
336
3f1b5bf8
EZ
337 * international/characters.el: Add set-case-syntax-pair call for
338 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
339 counterpart. (Bug#11209)
340
9f847f41
EZ
341 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
342
0c2014a3
GM
3432012-04-09 Glenn Morris <rgm@gnu.org>
344
345 * calendar/holidays.el (calendar-check-holidays): Doc fix.
346
e2627d21
EZ
3472012-04-08 Eli Zaretskii <eliz@gnu.org>
348
349 * textmodes/ispell.el (ispell-dictionary-base-alist): Add data for
350 Hebrew.
351
5c14e333
CY
3522012-04-08 Chong Yidong <cyd@gnu.org>
353
354 * net/rcirc.el (rcirc-cmd-quit): Revert 2012-03-18 change
355 (Bug#11192).
356
bf6fa423
GM
3572012-04-07 Glenn Morris <rgm@gnu.org>
358
359 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
360
82b24fb2
EZ
3612012-04-07 Eli Zaretskii <eliz@gnu.org>
362
4517fe3a
SM
363 * minibuffer.el (completion-in-region-mode-map):
364 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 365
f23d2c7d
LMI
3662012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
367
368 * window.el (shrink-window): Mention the `window-min-height'
369 variable in the doc string.
370
0a0a3573
BG
3712012-04-05 Bastien Guerry <bzg@altern.org>
372
373 * color.el (color-lighten-name): Fix typo.
374
e5248ac9
SM
3752012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
376
377 * server.el (server--on-display-p): New function.
378 (server--on-display-p): Use it.
379
b4243e22
GV
3802012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
381
382 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
383 (bug#11145).
384
305d9f44
SM
3852012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
386
387 * comint.el (comint--common-quoted-suffix): Check string boundary
388 before comparing (bug#11158).
389 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
390
3d439cd1
CY
3912012-04-04 Chong Yidong <cyd@gnu.org>
392
321cc491
CY
393 * minibuffer.el (completion-extra-properties): Doc fix.
394
3d439cd1
CY
395 * subr.el (delayed-warnings-hook): Doc fix.
396
2d562c0f
DU
3972012-04-04 Daiki Ueno <ueno@unixuser.org>
398
399 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
400 selection (Bug#11159).
401 (epa-insert-keys): Inform that the default public key will be
402 exported if no key is selected.
403
4443f204
RS
4042012-04-04 Richard Stallman <rms@gnu.org>
405
406 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
407
529c06b6
CY
4082012-04-03 Chong Yidong <cyd@gnu.org>
409
410 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
411 mail-insert-file, not its obsolete alias mail-attach-file.
412
66b907dc
MA
4132012-04-03 Michael Albinus <michael.albinus@gmx.de>
414
415 * notifications.el (notifications-notify): Fix docstring.
416
c0ea195d
GM
4172012-04-02 Glenn Morris <rgm@gnu.org>
418
419 * emacs-lisp/authors.el (authors-aliases): Another addition.
420
5ca64e00
MA
4212012-04-02 Michael Albinus <michael.albinus@gmx.de>
422
423 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
424 `tramp-compat-call-process' instead of `tramp-local-call-process'.
425 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
426
42ee526b
CY
4272012-04-01 Chong Yidong <cyd@gnu.org>
428
429 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
430 Handle root directory properly.
431 (copy-directory): Caller changed.
432
433 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
434 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
435
0b021094
GM
4362012-03-31 Glenn Morris <rgm@gnu.org>
437
40f86458
GM
438 * term/xterm.el (xterm-extra-capabilities): Doc fix.
439
7019c177
GM
440 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
441
a1daddd6
GM
442 * calendar/calendar.el (calendar-window-list)
443 (calendar-hide-window): Restore. (Bug#11140)
444 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
445
0b021094
GM
446 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
447
40311efc
TV
4482012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
449
450 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
451 Check if file is a symlink (Bug#10489).
452
453 * files.el (copy-directory): Likewise.
454
5319014e
CY
4552012-03-30 Chong Yidong <cyd@gnu.org>
456
457 * image.el (imagemagick-types-inhibit)
458 (imagemagick-register-types): Doc fix.
459
935d1290
AM
4602012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
461
462 * ispell.el (ispell-get-extended-character-mode): Disable
463 extended-char-mode for hunspell. hunspell does not support it and
464 treats ~word as ordinary words in pipe mode.
465
61c6e8fd
GM
4662012-03-30 Glenn Morris <rgm@gnu.org>
467
468 * tutorial.el (help-with-tutorial): Ensure local variables don't
469 happen to make the buffer read-only. (Bug#11127)
470
81fdff00
SM
4712012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
472
473 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
474 (perl-calculate-indent): Return `noindent' in strings.
475
6e7a6ec0
SS
4762012-03-28 Sam Steingold <sds@gnu.org>
477
478 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
479 instead of the broken adhockery which does not prevent calendar
480 buffers from being displayed at random after exit.
481 (calendar-window-list, calendar-hide-window): Remove the broken
482 adhockery.
483
fee88ca0
GM
4842012-03-28 Glenn Morris <rgm@gnu.org>
485
486 * replace.el (query-replace-map): Doc fix.
487
38de3354
AS
4882012-03-28 Andreas Schwab <schwab@linux-m68k.org>
489
490 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
491 contents. (Bug#11109)
492
b973155e
SM
4932012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
494
495 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
496 (bug#11077).
497 (avl-tree--check, avl-tree--check-node): New funs.
498
dcb6e7b3
MR
4992012-03-27 Martin Rudalics <rudalics@gmx.at>
500
501 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
502 (switch-to-prev-buffer, switch-to-next-buffer):
503 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
504 showing a buffer already is done on the same frame.
505
b4fa35fa
GM
5062012-03-27 Glenn Morris <rgm@gnu.org>
507
508 * startup.el (mail-host-address): Doc fix.
509
f9210e18
SM
5102012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
511
512 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
513 than 197 variables.
514
c0bf7753
AF
5152012-03-26 Ami Fischman <ami@fischman.org>
516
517 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
518
33da7b16
GM
5192012-03-26 Glenn Morris <rgm@gnu.org>
520
02243d9d
GM
521 * files.el (save-buffers-kill-emacs): Doc fix.
522
33da7b16
GM
523 * startup.el (normal-top-level, command-line, command-line-1):
524 Give them doc strings.
525
e5a69fd0
EZ
5262012-03-25 Eli Zaretskii <eliz@gnu.org>
527
528 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 529 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 530
9a69676a
CY
5312012-03-25 Chong Yidong <cyd@gnu.org>
532
4125cb8b
CY
533 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
534 theme if it was previously enabled before (Bug#11031).
535
dd470960
CY
536 * cus-theme.el (custom-theme-write-faces): Retrieve current face
537 spec with custom-face-get-current-spec if its :shown-value is not
538 determined yet (Bug#9337).
4125cb8b 539 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 540
9a69676a
CY
541 * button.el (button-at): Minor addition to docstring.
542
6e7e90fa
SL
5432012-03-24 Simon Leinen <simon.leinen@gmail.com>
544
545 * vc/vc.el (vc-merge): Fix a prompt.
546
f06e2758
CY
5472012-03-24 Chong Yidong <cyd@gnu.org>
548
549 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
550 point (Bug#9623).
551
6e7e90fa
SL
552 * button.el (button-at): Minor addition to docstring.
553
b9d0879b
SM
5542012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
555
556 * newcomment.el (comment-choose-indent): No space after BOL.
557
e71cebb3
SS
5582012-03-22 Sam Steingold <sds@gnu.org>
559
560 * window.el (switch-to-prev-buffer): Revert last patch because the
561 bug turned out to be an advertised feature (Elisp manual 28.14).
562
335aff35
GM
5632012-03-22 Glenn Morris <rgm@gnu.org>
564
565 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
566 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
567
c676576a
LMI
5682012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
569
570 * net/network-stream.el (network-stream-open-starttls): Make error
571 message under Windows be less misleading.
572
126f3d39
LW
5732012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
574
575 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
576 understands (bug#9942).
577
64fee311
CY
5782012-03-22 Chong Yidong <cyd@gnu.org>
579
580 * simple.el (end-of-visible-line): Handle return value of
581 next-single-property-change properly (Bug#9371).
582
a640d29a
KH
5832012-03-22 Kenichi Handa <handa@m17n.org>
584
585 * international/quail.el (quail-insert-kbd-layout): Fix previous
586 change. To avoid unwanted bidi reordering, use
587 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
588
39675016
DG
5892012-03-21 Dmitry Gutov <dgutov@yandex.ru>
590
591 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
592 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
593 (ruby-beginning-of-indent): Be more careful with the difference
594 between word-boundary and symbol boundary.
595 (ruby-mode-syntax-table): Make : a symbol constituent.
596
0a6934fc 5972012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 598
3d008e4f
SM
599 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
600
0a6934fc
SM
6012012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
602
af67c9d7
SM
603 * progmodes/etags.el (tags-completion-at-point-function):
604 Improve last fix.
605
1acad97c
SM
606 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
607
e298b5da
SS
6082012-03-21 Sam Steingold <sds@gnu.org>
609
610 * progmodes/etags.el (tags-completion-at-point-function):
611 Avoid the error when point is inside the pattern.
612
91d82a70
JY
6132012-03-21 John Yates <john@yates-sheets.org> (tiny change)
614
615 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
616 line (Bug#10855).
617
69188b79
CY
6182012-03-21 Drew Adams <drew.adams@oracle.com>
619
620 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
621
99fc91fe
AK
6222012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
623
624 * ido.el (ido-set-current-directory, ido-read-internal)
625 (ido-choose-completion-string, ido-completion-help): Handle nil
626 value of ido-completion-buffer (Bug#11008).
627
087bbb4c
SS
6282012-03-21 Sam Steingold <sds@gnu.org>
629
630 * window.el (switch-to-prev-buffer): Do not switch to a visible
631 window previous buffer, just like with the frame previous buffers.
632
fb5b8aca
CY
6332012-03-21 Chong Yidong <cyd@gnu.org>
634
635 * faces.el (make-face, make-empty-face, copy-face):
636 * face-remap.el (face-remap-add-relative, face-remap-set-base):
637 Doc fixes.
638
dc9924b8
SM
6392012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
640
641 * wid-edit.el (widget-complete-field): Remove (bug#11051).
642 (widget-complete): Remove broken use of it.
643
f0bcceb9
CY
6442012-03-20 Chong Yidong <cyd@gnu.org>
645
dc9924b8
SM
646 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
647 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
648 characters.
649
ee52ebf3
TH
6502012-03-20 Tassilo Horn <tassilo@member.fsf.org>
651
652 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
653 to draw rectangles, not squares. (Regression introduced by revno
654 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
655
4c5779ab
CY
6562012-03-18 Chong Yidong <cyd@gnu.org>
657
658 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
659 it is not yet defined (for temacs).
660
15360934
LL
6612012-03-18 Leo Liu <sdl.web@gmail.com>
662
dc9924b8 663 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 664
d9a8eb66
EZ
6652012-03-17 Eli Zaretskii <eliz@gnu.org>
666
667 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
668 (ispell-choices-win-default-height, ispell-silently-savep)
669 (ispell-dictionary-alist, ispell-encoding8-command)
670 (ispell-check-version, ispell-aspell-find-dictionary)
671 (ispell-valid-dictionary-list, ispell-words-keyword)
672 (ispell-get-word, ispell-internal-change-dictionary)
673 (ispell-region, ispell-skip-region-list)
674 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
675 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
676 (ispell-message-text-end, ispell-message)
677 (ispell-buffer-local-parsing): Doc fix.
678
f02ff80d
J
6792012-03-13 Jambunathan K <kjambunathan@gmail.com>
680
681 * htmlfontify.el: Add support for code block fontification for ODT
682 export (Bug #9914).
683 (hfy-optimisations): Define new option
684 `body-text-only'
685 (hfy-fontify-buffer): Honor above setting.
686 (hfy-begin-span, hfy-end-span): New routines factored out form
687 `hfy-fontify-buffer'.
688 (hfy-begin-span-handler, hfy-end-span-handler): New variables
689 that permit insertion of custom tags.
690 (hfy-fontify-buffer): Use above handlers.
691 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
692 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 693 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
f02ff80d
J
694 over multiple runs. This is made possible by having the caller let
695 bind a special variable `hfy-user-sheet-assoc'.
696 (htmlfontify-string): New defun.
697 (hfy-compile-face-map): Make sure that the last char in the
698 buffer is correctly fontified.
699 (hfy-face-resolve-face): Whitespace only change.
700
9ac7a13f
EZ
7012012-03-17 Eli Zaretskii <eliz@gnu.org>
702
703 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
704 message more clear.
705
e2b5bdd7
LL
7062012-03-16 Leo Liu <sdl.web@gmail.com>
707
708 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
709
2e492df3
AM
7102012-03-16 Alan Mackenzie <acm@muc.de>
711
712 Further optimise the handling of large macros.
713
714 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
715 limit to a call of `c-literal-limits'.
716 (c-determine-+ve-limit): New function.
dc9924b8
SM
717 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
718 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
719 In CASE 5B, restrict a search limit to 500.
720 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
721
722 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
723 Restrict macro bounds to +-500 from after-change's BEG END.
724
50e94f0c
LL
7252012-03-16 Leo Liu <sdl.web@gmail.com>
726
727 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
728
6f09f6ed
AH
7292012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
730
731 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 732 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 733
c7e73d51
GM
7342012-03-16 Glenn Morris <rgm@gnu.org>
735
da986230
GM
736 * view.el (view-buffer, view-buffer-other-window)
737 (view-buffer-other-frame): Doc fixes re special mode-class.
738
0835f01e
GM
739 * subr.el (eval-after-load): If named feature is provided not from
740 a file, run after-load forms. (Bug#10946)
741
c7e73d51
GM
742 * calendar/calendar.el (calendar-insert-at-column):
743 Handle non-unit-width characters a bit better. (Bug#10978)
744
3f2eafd1
CY
7452012-03-15 Chong Yidong <cyd@gnu.org>
746
747 * emacs-lisp/ring.el (ring-extend): New function.
748 (ring-insert+extend): Extend the ring correctly (Bug#11019).
749
750 * comint.el (comint-read-input-ring)
751 (comint-add-to-input-history): Grow comint-input-ring lazily.
752
103af3fe
SM
7532012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
754
663b1677
SM
755 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
756 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
757
103af3fe
SM
758 * imenu.el: Fix multiple inheritance breakage (bug#9199).
759 (imenu-add-to-menubar): Don't add a redundant index.
760 (imenu-update-menubar): Handle a dynamically composed keymap.
761
899cb7cb
KY
7622012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
763
764 * mail/sendmail.el (mail-encode-header):
765 Bind rfc2047-encode-encoded-words to nil.
766
3809f91d
GM
7672012-03-13 Glenn Morris <rgm@gnu.org>
768
769 * calendar/calendar.el (calendar-string-spread):
770 Handle non-unit-width characters a bit better. (Bug#10978)
771
9e345a01
LL
7722012-03-13 Leo Liu <sdl.web@gmail.com>
773
774 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
775 directory and file as argument (Bug#10822).
776
4a07df36
KS
7772012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
778
779 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
780 For dynamically generated code, follow $PC.
781 (gdb-disassembly-handler-custom): Handle no function name case.
782
4aaa9356
TL
7832012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
784
785 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
786 * emulation/ws-mode.el (ws-query-replace):
787 * sort.el (sort-regexp-fields):
788 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
789
225979da
SM
7902012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
791
792 * dabbrev.el: Fix cycle completion order (bug#10963).
793 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
794 (dabbrev-completion): Don't use an obarray; provide
795 a cycle-sort-function.
796
e2f1fdab
LL
7972012-03-12 Leo Liu <sdl.web@gmail.com>
798
dc9924b8 799 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
800 (kill-do-not-save-duplicates): Doc fix.
801
b19490ed
SM
8022012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
803
804 * dabbrev.el: Fix cycle completion (bug#10963).
805 Use lexical binding and wrap to 80 columns.
806 (dabbrev-completion): Delay computing the list of completions.
807
4b05d722
KH
8082012-03-12 Kenichi Handa <handa@m17n.org>
809
810 * international/quail.el (quail-insert-kbd-layout): Surround each
811 row by LRO and PDF instead of inserting many LRMs. Pad the left
812 and right of each non-spacing marks. Insert invisible space
813 between lower and upper characters to prevent composition.
814
dbbc2e69
SM
8152012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
816
817 * minibuffer.el (minibuffer-complete): Don't get confused when the
818 function is run twice via different commands (bug#10958).
819 (complete-with-action): Fix docstring.
820
292112ed
CY
8212012-03-12 Chong Yidong <cyd@gnu.org>
822
5d1ac394
CY
823 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
824 (nxml-completion-at-point-function): New function.
825 (nxml-mode): Use it.
826 (nxml-bind-meta-tab-to-complete-flag): Default to t.
827
292112ed
CY
828 * emacs-lisp/package.el (package-unpack, package-unpack-single):
829 Load generated autoloads file before byte compiling (Bug#10970).
830 (package--make-autoloads-and-compile): New helper fun.
831
4098f8f7
CS
8322012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
833
834 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
835
8f754691
MA
8362012-03-11 Michael Albinus <michael.albinus@gmx.de>
837
838 * autorevert.el (auto-revert-handler): Ensure, that
839 file-readable-p is applied only for local files or in
840 auto-revert-tail-mode.
841
e29ab36b
AS
8422012-03-11 Andreas Schwab <schwab@linux-m68k.org>
843
dbbc2e69
SM
844 * server.el (server-eval-at): Handle non-tcp connections.
845 Decode result string.
ad0bf5b6 846
e29ab36b
AS
847 * server.el (server-msg-size): New constant.
848 (server-reply-print): New function.
849 (server-eval-and-print): Use it.
850 (server-eval-at): Use server-quote-arg and server-unquote-arg.
851 Handle -print-nonl.
852
de5939ba
CS
8532012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
854
855 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
856 (Bug#10987).
857
0c93eabf
CY
8582012-03-11 Chong Yidong <cyd@gnu.org>
859
397a688f
CY
860 * simple.el (goto-line): Doc fix (Bug#9938).
861
2cc775f9
CY
862 * subr.el (save-window-excursion): Doc fix (Bug#9979).
863
0c93eabf
CY
864 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
865 when finished (Bug#10963).
866
c491fa41
MR
8672012-03-11 Martin Rudalics <rudalics@gmx.at>
868
869 * window.el (split-window-below): Fix bug in case where
870 split-window-keep-point is nil (Bug#10971).
871
300e8fa5
JL
8722012-03-11 Juri Linkov <juri@jurta.org>
873
874 * replace.el (replace-highlight): Set isearch-word to nil
875 unconditionally. (Bug#10887)
876
dbf6c5a1
EZ
8772012-03-10 Eli Zaretskii <eliz@gnu.org>
878
879 * net/mairix.el (mairix-replace-invalid-chars): Rename from
880 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 881 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
882 (mairix-widget-create-query): Add usage information about mairix
883 search forms: negating words, searching for substrings, etc.
884
b9e501de
JP
8852012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
886
887 * international/fontset.el (font-encoding-alist): Add an entry for
888 ksx1001 (Bug#5667).
889
92795c91
RS
8902012-03-10 Richard Stallman <rms@gnu.org>
891
1694e6c1
RS
892 * mail/sendmail.el (mail-encode-header):
893 Set rfc2047-encode-encoded-words.
894
607e8555
RS
895 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
896
de3bc99a
RS
897 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
898 view buffer means not swapped.
899 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
900 (rmail-write-region-annotate): Error if real text has disappeared.
901
92795c91
RS
902 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
903
699bd04e
CY
9042012-03-10 Chong Yidong <cyd@gnu.org>
905
906 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
907 * emulation/cua-base.el (cua--init-keymaps):
908 Add delete-forward-char to remappings (Bug#9666).
699bd04e 909
570a1714
MR
9102012-03-10 Martin Rudalics <rudalics@gmx.at>
911
dbbc2e69
SM
912 * speedbar.el (speedbar-unhighlight-one-tag-line):
913 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 914
82dcf4e4
CY
9152012-03-10 Chong Yidong <cyd@gnu.org>
916
7a2c7ca7
CY
917 * minibuffer.el (completion-in-region, completion-help-at-point):
918 Give the completion field overlay a high priority (Bug#6830).
919
82dcf4e4
CY
920 * dired.el (dired-goto-file): Recognize absolute file name
921 listings (Bug#7126).
922 (dired-goto-file-1): New helper function.
923 (dired-toggle-read-only): Inhibit warnings.
924
052e28ac
MA
9252012-03-09 Michael Albinus <michael.albinus@gmx.de>
926
927 * net/dbus.el: (dbus-property-handler): Return empty array if
928 there are no properties.
929
95d5e396
LL
9302012-03-09 Leo Liu <sdl.web@gmail.com>
931
932 * savehist.el (savehist-printable): Stricter check for string
933 value (Bug#10937).
934
3f018d6d
EZ
9352012-03-09 Eli Zaretskii <eliz@gnu.org>
936
dbbc2e69
SM
937 * mail/smtpmail.el (smtpmail-send-it):
938 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
939 valid mbox format.
940
f7fd3d79
GM
9412012-03-09 Glenn Morris <rgm@gnu.org>
942
943 * files.el (dir-locals-find-file):
944 Don't check result is regular, readable.
945 (dir-locals-read-from-file): Demote errors.
946
6ff6e72f
EZ
9472012-03-08 Eli Zaretskii <eliz@gnu.org>
948
dbbc2e69
SM
949 * international/quail.el (quail-insert-kbd-layout):
950 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
951 layout cell, to prevent their reordering by bidi display engine.
952 For details, see the discussion in
953 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
954
9cec7834
AM
9552012-03-08 Alan Mackenzie <acm@muc.de>
956
957 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
958 the starting position; make it extend the marked region when
959 invoked repeatedly - all under appropriate circumstances.
960 Fixes bugs #5525, #10906.
961
9a40b8d4
GM
9622012-03-08 Glenn Morris <rgm@gnu.org>
963
964 * files.el (locate-dominating-file, dir-locals-find-file):
965 Undo 2012-03-06 change.
966
7a08ed35
EZ
9672012-03-07 Eli Zaretskii <eliz@gnu.org>
968
dbbc2e69
SM
969 * international/quail.el (quail-help):
970 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
971 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
972 for the reason.
973
5aca4f71 9742012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
975
976 Avoid superfluous registering of signals. (Bug#10807)
977
978 * notifications.el (notifications-on-action-object)
979 (notifications-on-close-object): New defvars.
980 (notifications-on-action-signal, notifications-on-closed-signal):
981 Unregister the signal if not needed any longer.
982 (notifications-notify): Register `notifications-action-signal' or
983 `notifications-closed-signal', if :on-action or :on-close has been
984 passed as argument.
985
78e8b10a
CY
9862012-03-07 Chong Yidong <cyd@gnu.org>
987
988 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
989 non-X platforms.
990
69481eb8
GM
9912012-03-06 Glenn Morris <rgm@gnu.org>
992
993 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
994 (x-disown-selection-internal, x-get-selection-internal):
995 Doc fix (add arglist signatures). (Bug#10783)
996
133b8e11
KS
9972012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
998
999 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1000 Handle breakpoints with no "type".
1001
99a83064
GM
10022012-03-06 Glenn Morris <rgm@gnu.org>
1003
1004 * files.el (locate-dominating-file): Add optional predicate argument.
1005 (dir-locals-find-file): Make use of above change.
1006
17798e78
TTN
10072012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1008
1009 * info.el (Info-insert-dir): Also try "dir.gz".
1010
eb182446
GM
10112012-03-06 Glenn Morris <rgm@gnu.org>
1012
8f2114ee
GM
1013 * files.el (dir-locals-find-file):
1014 Ignore non-readable or non-regular files. (Bug#10928)
1015
eb182446
GM
1016 * files.el (locate-dominating-file): Doc fix.
1017
24679323
AS
10182012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1019
1020 * calendar/calendar.el (calendar-set-mode-line):
1021 `getenv' returns a string. (Bug#10951)
1022
01d972a9
LL
10232012-03-05 Leo Liu <sdl.web@gmail.com>
1024
109aa8a9
LL
1025 * simple.el (backward-delete-char-untabify): Constrain point to
1026 field (Bug#10939).
1027
01d972a9
LL
1028 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1029
10607bea
CY
10302012-03-05 Chong Yidong <cyd@gnu.org>
1031
1032 * simple.el (count-words): If called from Lisp, return the word
1033 count, for symmetry with `count-lines'. Arglist changed.
1034 (count-words--message): Args changed. Consolidate counting code
1035 from count-words and count-words-region.
1036 (count-words-region): Caller changed.
1037 (count-lines-region): Make it an obsolete alias.
1038
5dd11cfe
TH
10392012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1040
1041 * saveplace.el (save-place-to-alist)
1042 (save-place-ignore-files-regexp): Allow value nil to disable this
1043 feature.
1044
c349f4e6
CY
10452012-03-04 Chong Yidong <cyd@gnu.org>
1046
1047 * faces.el (face-spec-reset-face): For the default face, reset the
1048 attributes to default values (Bug#10748).
1049
e627be4c
LMI
10502012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1051
1052 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1053 previous patch: Check `message-send-mail-function', and not the
1054 default function (bug#10897).
1055
ebeabff4
MA
10562012-03-04 Michael Albinus <michael.albinus@gmx.de>
1057
a41a6cf4
MA
1058 * notifications.el (notifications-on-action-signal)
1059 (notifications-on-closed-signal): Check for unique service name of
1060 incoming event. Fix error in removing entry.
ebeabff4 1061 (top): Register for signals with wildcard service name.
a41a6cf4 1062 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 1063
c1ca42b4
CY
10642012-03-04 Chong Yidong <cyd@gnu.org>
1065
dc9924b8 1066 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 1067
ea16568d
GM
10682012-03-04 Glenn Morris <rgm@gnu.org>
1069
1070 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1071 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1072 (expand-abbrev, define-abbrev-table): Doc fixes.
1073
fbae4637
LMI
10742012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1075
1076 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1077 `message-default-send-mail-function' and not `send-mail-function'
1078 when doing the prompting for `sendmail-query-once' before sending
1079 in Message buffers (bug#10897).
1080
a1e7225c
LMI
1081 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1082 This is inconsistent with all the other stream functions, which leave
1083 the setting up to the higher levels (if so wanted) (bug#10931).
1084
56d093a9
AM
10852012-03-02 Alan Mackenzie <acm@muc.de>
1086
1087 Depessimize the handling of very large macros.
1088
1089 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1090 (c-macro-cache-syntactic): New variables to implement a one
1091 element macro cache.
1092 (c-invalidate-macro-cache): New function.
1093 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1094 Adapt to use the new cache.
1095 (c-state-safe-place): Use better the cache of safe positions.
1096 (c-state-semi-nonlit-pos-cache)
1097 (c-state-semi-nonlit-pos-cache-limit):
1098 New variables for...
1099 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1100 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
1101 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1102 Use c-state-semi-safe-place.
56d093a9 1103
dbbc2e69
SM
1104 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1105 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 1106
817e5c3d
MA
11072012-03-02 Michael Albinus <michael.albinus@gmx.de>
1108
dbbc2e69
SM
1109 * jka-compr.el (jka-compr-call-process):
1110 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
1111 not remote.
1112
a032a702
MA
11132012-03-01 Michael Albinus <michael.albinus@gmx.de>
1114
1115 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1116 access of FILE2, if FILE1 does not exist.
1117
99a54f21
MA
1118 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1119 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1120
1121 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1122 Add "PAGER=" to `process-environment'.
1123
f6561e1f
MM
11242012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1125
1126 * progmodes/sql.el: Bug fix
1127 (sql-get-login-ext): Save login values in globals.
1128 (sql-get-login): Use new version of `sql-get-login-ext'.
1129 (sql-interactive-mode): Set global `sql-connection' to nil.
1130 (sql-connect): Set global values for connection.
1131 (sql-product-interactive): Save global values as buffer local.
1132
2d44d9cc
LL
11332012-02-29 Leo Liu <sdl.web@gmail.com>
1134
1135 * abbrev.el (define-abbrevs): Reset sys to nil.
1136
96b49301 11372012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1138
bf7f9bc5
JB
1139 * files.el (file-equal-p): Rename from `files-equal-p'.
1140 Return nil when one or both files don't exist.
96b49301 1141 (file-subdir-of-p): Now only top directory must exists,
1142 return nil if it doesn't.
bf7f9bc5
JB
1143 (copy-directory): No need to test with `file-subdir-of-p' after
1144 creating dir.
1145 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1146 to `file-equal-p'.
96b49301 1147
44e97401
GM
11482012-02-28 Glenn Morris <rgm@gnu.org>
1149
1150 * shell.el (shell-mode):
1151 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1152 * play/landmark.el (landmark-font-lock-face-O):
1153 * play/handwrite.el (handwrite):
1154 * play/gomoku.el (gomoku-O):
1155 * net/browse-url.el (browse-url-browser-display):
1156 * international/mule.el (define-charset):
1157 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1158 * filesets.el (filesets-find-file-delay):
1159 * eshell/em-xtra.el (eshell-xtra):
1160 * eshell/em-unix.el (eshell-grep):
1161 * emulation/viper.el (viper-mode):
1162 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1163 * emacs-lisp/easymenu.el (easy-menu-define):
1164 * calendar/timeclock.el (timeclock-use-display-time):
1165 * bs.el (bs-mode):
1166 * bookmark.el (bookmark-save-flag):
1167 Doc fix (standardize possessive apostrophe usage).
1168
c98c6276
CY
11692012-02-27 Chong Yidong <cyd@gnu.org>
1170
bf7f9bc5
JB
1171 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1172 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 1173
c98c6276
CY
1174 * font-lock.el (font-lock-specified-p): Rename from
1175 font-lock-spec-present. Callers changed.
1176
9c62cd04 11772012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 1178
bf7f9bc5
JB
1179 * emacs-lisp/package.el (package-compute-transaction):
1180 Handle holding a package version to t in package-load-list.
8ac9e529 1181
530739c9
MA
11822012-02-26 Michael Albinus <michael.albinus@gmx.de>
1183
1184 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1185 (tramp-get-inode, tramp-get-device): Use cached values.
1186
487915d7
AM
11872012-02-26 Alan Mackenzie <acm@muc.de>
1188
1189 Check there is a font-lock specification before doing initial
1190 fontification.
1191
1192 * font-core.el (font-lock-mode): Move the conditional from
1193 :after-hook to font-lock-initial-fontify.
1194 (font-lock-default-function): Move the check for a specification
1195 to font-lock-spec-present.
1196
dc9924b8 1197 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
1198 (font-lock-spec-present): New function.
1199
4fd96557
JB
12002012-02-26 Jim Blandy <jimb@red-bean.com>
1201
1202 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1203 (gdb-send): Apply it to the operand of the '-interpreter-exec
1204 console' command, so that we can pass arguments with (say) quotes
1205 in them. Store exact string sent in gdb-debug-log (Bug#10765).
1206
9a4888c0
CY
12072012-02-26 Chong Yidong <cyd@gnu.org>
1208
07498861
CY
1209 * help-fns.el (describe-function-1): Clarify description of
1210 remapping (Bug#10844).
1211
9a4888c0
CY
1212 * files.el (files-equal-p): Doc fix.
1213 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
1214 and quit the loop once a mismatch is found.
1215
ea8fb88d
JB
12162012-02-25 Juanma Barranquero <lekktu@gmail.com>
1217
1218 * bs.el (bs--show-with-configuration): Don't throw an error
1219 if the window cannot be split; otherwise, subsequent calls to
1220 bs-show fail, restoring a stale window config. (Bug#10882)
1221
525795c1
JD
12222012-02-25 Jan Djärv <jan.h.d@swipnet.se>
1223
1224 * term/ns-win.el (global-map): Bind ns-drag-file to
1225 ns-find-file (Bug#5855, Bug#10050).
1226
f008086f
AS
12272012-02-25 Andreas Schwab <schwab@linux-m68k.org>
1228
1229 * calendar/parse-time.el (parse-time-string): Allow extractor to
1230 return nil.
1231
a3fcfa99
MA
12322012-02-25 Michael Albinus <michael.albinus@gmx.de>
1233
91027d08
JB
1234 * net/tramp.el (tramp-file-name-for-operation):
1235 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
1236
1237 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
1238 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1239 Add COPY-CONTENTS argument.
a3fcfa99 1240
67b0de11
CY
12412012-02-25 Chong Yidong <cyd@gnu.org>
1242
1243 Add custom groups for VC backends, for consistency with vc-bzr.
1244
1245 * vc/vc-arch.el (vc-arch):
1246 * vc/vc-cvs.el (vc-cvs):
1247 * vc/vc-git.el (vc-git):
1248 * vc/vc-hg.el (vc-hg):
1249 * vc/vc-mtn.el (vc-mtn):
1250 * vc/vc-rcs.el (vc-rcs):
1251 * vc/vc-sccs.el (vc-sccs):
1252 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1253 All relevant defcustoms reassigned.
1254
3c9dfce6
CY
12552012-02-25 Chong Yidong <cyd@gnu.org>
1256
1339bf43
CY
1257 * newcomment.el (comment-styles): Add autoload (Bug#10868).
1258
3c9dfce6
CY
1259 * term/x-win.el (x-initialize-window-system): Reduce default for
1260 x-selection-timeout to 5 seconds (Bug#8869).
1261
53a46cd0 12622012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 1263
53a46cd0 1264 * files.el (file-subdir-of-p): Fix typo.
14a8a663 1265
25b2e303 12662012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1267
ec70a47d
GM
1268 * files.el (files-equal-p, file-subdir-of-p): New functions.
1269 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 1270 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
1271 * dired-aux.el (dired-copy-file-recursive): Same.
1272 (dired-create-files): Modify destination when source is equal to
1273 dest when copying files.
53a46cd0 1274 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 1275
914260cd
MA
12762012-02-24 Michael Albinus <michael.albinus@gmx.de>
1277
1278 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1279 (Bug#10874)
1280
2cb228f7
AM
12812012-02-23 Alan Mackenzie <acm@muc.de>
1282
1283 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1284 parameter "after-hook:" to allow the expansion to run code after
1285 the execution of the mode hooks.
1286
1287 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 1288 from font-lock-mode-internal.
2cb228f7 1289
91027d08 1290 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
1291 :after-hook.
1292
8f0fde21
SM
12932012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1294
3e88618b
SM
1295 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1296 (completion--cache-all-sorted-completions): New function.
1297 (completion-all-sorted-completions): Use it.
1298 (completion--do-completion, minibuffer-force-complete):
1299 Use it to re-instate the flush hook.
1300
8f0fde21
SM
1301 * icomplete.el (icomplete-completions): Replace last fix with a better
1302 one (bug#10850).
1303
8e911f6f
DG
13042012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1305
1306 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1307 when it might call us back infinitely (bug#10797).
1308
49fe4321
GM
13092012-02-23 Glenn Morris <rgm@gnu.org>
1310
1311 * minibuffer.el (completion-category-overrides): Doc fix.
1312
b291b572
SM
13132012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1314
1315 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1316 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1317
31a9ef2e
GM
13182012-02-23 Glenn Morris <rgm@gnu.org>
1319
5e6e6794 1320 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
1321 (authors-obsolete-files-regexps, authors-ignored-files)
1322 (authors-ambiguous-files, authors-renamed-files-alist):
1323 Add more entries.
1324
0bd1e074
JL
13252012-02-23 Juri Linkov <juri@jurta.org>
1326
1327 * isearch.el (isearch-occur): Sync interactive spec with occur's
1328 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1329
b617673c
JL
1330 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1331
19e9789e
JL
13322012-02-22 Juri Linkov <juri@jurta.org>
1333
1334 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1335 (ucs-insert): Doc fix. Check for hex digits in the string.
1336 Don't display `nil' in the error message. (Bug#10857)
1337
f41ce09d
AM
13382012-02-22 Alan Mackenzie <acm@muc.de>
1339
7a71b18d 1340 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 1341
ac2eceee
GM
13422012-02-22 Glenn Morris <rgm@gnu.org>
1343
1344 * ffap.el (ffap-c-path):
1345 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1346
abd1f678
CY
13472012-02-22 Chong Yidong <cyd@gnu.org>
1348
1349 * custom.el (load-theme): Doc fix.
1350
f25aef2e
GM
13512012-02-22 Glenn Morris <rgm@gnu.org>
1352
1353 * dired-x.el (dired-guess-shell-alist-default):
1354 Remove escape sequences from nroff output. (Bug#172)
1355
5f8dc2ca
GM
13562012-02-21 Glenn Morris <rgm@gnu.org>
1357
6ff86ec4
GM
1358 * vc/emerge.el (emerge-defvar-local):
1359 Set `permanent-local' property rather than unused `preserved'.
1360
be3223a3 1361 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
1362 (picture-mode-map): Use it. (Bug#10860)
1363 (picture-mode): Doc fix.
1364
3fe58f4f
JB
13652012-02-21 Juanma Barranquero <lekktu@gmail.com>
1366
1367 * newcomment.el (uncomment-region-default): Remove unused binding.
1368
f9a998c3
GM
13692012-02-21 Glenn Morris <rgm@gnu.org>
1370
1371 * textmodes/picture.el (picture-motion, picture-motion-reverse)
1372 (picture-self-insert, picture-tab-chars): Doc fix.
1373 (picture-mode-map): Fix C-a, C-e.
1374
c6029348
GM
13752012-02-20 Glenn Morris <rgm@gnu.org>
1376
1377 * emacs-lisp/authors.el (authors-aliases): Add another entry.
1378
ab1ce9d7
LL
13792012-02-20 Leo Liu <sdl.web@gmail.com>
1380
1381 * icomplete.el (icomplete-completions): Check FROM arg before
1382 passing to substring (Bug#10850).
1383
0fd40f89
CY
13842012-02-19 Chong Yidong <cyd@gnu.org>
1385
1386 * comint.el: Require ansi-color.
1387 (comint-output-filter-functions): Add ansi-color-process-output.
1388
1389 * ansi-color.el: Don't set comint-output-filter-functions; it is
1390 now in the initial value defined in comint.el.
1391 (ansi-color-apply-face-function): New variable.
1392 (ansi-color-apply-on-region): Use it.
1393 (ansi-color-apply-overlay-face): New function.
1394
1395 * shell.el (shell): No need to require ansi-color.
1396 (shell-mode): Use ansi-color-apply-face-function to highlight
1397 color escapes using font-lock-face property (Bug#10835).
1398
20af2394
CY
13992012-02-19 Chong Yidong <cyd@gnu.org>
1400
1401 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1402 mode-line formats (Bug#10839).
1403
e23a3fbe
GM
14042012-02-18 Glenn Morris <rgm@gnu.org>
1405
b474519e
GM
1406 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1407
1408 * mail/undigest.el (unforward-rmail-message): Doc fix.
1409
e23a3fbe
GM
1410 * saveplace.el (save-place-ignore-files-regexp): Add :version.
1411
57939ff4
EZ
14122012-02-18 Eli Zaretskii <eliz@gnu.org>
1413
1414 * international/characters.el (script-list): Sync with the latest
1415 Unicode Character Database.
1416
0c23686e
AS
14172012-02-18 Andreas Schwab <schwab@linux-m68k.org>
1418
1419 * international/titdic-cnv.el: Remove duplicate coding tag.
1420 * language/cham.el: Likewise.
1421 * language/tai-viet.el: Likewise.
1422
6818b449
GM
14232012-02-18 Glenn Morris <rgm@gnu.org>
1424
1425 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1426 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1427 (calendar-bahai-all-holidays-flag, calendar-other-dates):
1428 * calendar/diary-lib.el (diary-abbreviated-year-flag):
1429 * calendar/holidays.el (holiday-bahai-holidays)
1430 (calendar-holidays, list-holidays):
1431 Use utf-8 Bahá'í in doc-strings, menus, etc.
1432
0311a3fc
TH
14332012-02-17 Tassilo Horn <tassilo@member.fsf.org>
1434
1435 * saveplace.el (save-place-ignore-files-regexp): New variable
1436 allowing for excluding files from saving their location of point.
1437 The default value matches the temporary commit message editing
1438 files from Git, SVN, Bazaar, and Mercurial.
1439 (save-place-to-alist): Use it.
1440
eb864a71
LM
14412012-02-17 Lawrence Mitchell <wence@gmx.li>
1442 Stefan Monnier <monnier@iro.umontreal.ca>
1443
1444 * newcomment.el (uncomment-region-default): Don't leave extra space
1445 when an arg is provided (bug#8150).
1446
ee0ce425
TZ
14472012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1448
eb864a71 1449 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 1450
95ddf442
GM
14512012-02-17 Glenn Morris <rgm@gnu.org>
1452
1453 * net/socks.el: Require network-stream. (Bug#10599)
1454
48dd1e39 14552012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
1456
1457 * international/charprop.el:
1458 * international/uni-name.el:
1459 * international/uni-old-name.el:
1460 * international/uni-comment.el: Regenerate.
1461
d68cd087
GM
14622012-02-16 Glenn Morris <rgm@gnu.org>
1463
1464 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1465 Interactively in calendar buffer, give an error if not on a date.
1466
13932042
GM
14672012-02-15 Glenn Morris <rgm@gnu.org>
1468
1469 * shell.el (shell-delimiter-argument-list):
1470 Revert 2011-02-17 change. (Bug#8027)
1471
c3a70e2b
CY
14722012-02-15 Chong Yidong <cyd@gnu.org>
1473
60236b0d
CY
1474 * minibuffer.el (completion-at-point-functions): Doc fix.
1475
c3a70e2b
CY
1476 * custom.el (defcustom): Doc fix; note use of defvar.
1477
9f26dc24
GM
14782012-02-15 Glenn Morris <rgm@gnu.org>
1479
1480 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1481 Doc fixes.
1482
6546b134
GM
14832012-02-14 Glenn Morris <rgm@gnu.org>
1484
1485 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1486
d29b2b4c
LI
14872012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
1488
1489 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1490 way the ports list is computed.
835bdcba
LI
1491 (smtpmail-query-smtp-server): Prompt the user for a port number if
1492 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 1493
08dcdbc9
TZ
14942012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
1495
1496 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1497
2605051a
GM
14982012-02-13 Glenn Morris <rgm@gnu.org>
1499
1500 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
1501
7ee99f32
TZ
15022012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1503
1504 * net/gnutls.el (gnutls-trustfiles): New variable.
1505 (gnutls-negotiate): Use it.
1506
5f0af64f
LI
15072012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1508
1509 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1510 does its stuff if Gnus is running.
1511
c14fcc95
AM
15122012-02-13 Alan Mackenzie <acm@muc.de>
1513
1514 Fix a loop in c-set-fl-decl-start.
1515
7a71b18d 1516 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
1517 c-backward-syntactic-ws actually moves backwards.
1518
142b4d90
LL
15192012-02-13 Leo Liu <sdl.web@gmail.com>
1520
1521 * net/rcirc.el (rcirc-markup-attributes): Move point to the
1522 beginning so that all \C-o chars are removed.
1523
fa9958a6
TZ
15242012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1525
dc9924b8 1526 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 1527
0bc5886a
AM
15282012-02-12 Alan Mackenzie <acm@muc.de>
1529
1530 Fix infinite loop with long macros.
1531 * cc-engine.el (c-state-safe-place): Handle macros properly.
1532
d4bd55e7
CY
15332012-02-12 Chong Yidong <cyd@gnu.org>
1534
1535 * window.el (display-buffer): Doc fix (Bug#10785).
1536
66f3fe22
GM
15372012-02-12 Glenn Morris <rgm@gnu.org>
1538
bd7da63e
GM
1539 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1540 (x-disown-selection-internal, x-get-selection-internal):
1541 Sync docs with the xselect.c versions.
1542
66f3fe22
GM
1543 * allout-widgets.el: Add missing license notice.
1544
3e0d2fa7
GM
15452012-02-11 Glenn Morris <rgm@gnu.org>
1546
cfecdf09
GM
1547 * select.el (x-get-selection-internal, x-own-selection-internal)
1548 (x-disown-selection-internal):
1549 * x-dnd.el (x-get-selection-internal): Update declarations.
1550
6d216d7f
GM
1551 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1552
2bed3f04
GM
1553 * window.el (window-sides-slots):
1554 * tool-bar.el (tool-bar-position):
1555 * term/xterm.el (xterm-extra-capabilities):
1556 * ses.el (ses-self-reference-early-detection):
1557 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1558 (verilog-auto-wire-type)
1559 (verilog-auto-delete-trailing-whitespace)
1560 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1561 (verilog-auto-tieoff-declaration):
1562 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1563 (sql-oracle-statement-starters, sql-oracle-scan-on):
1564 * progmodes/prolog.el (prolog-align-comments-flag)
1565 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1566 (prolog-left-indent-regexp, prolog-paren-indent-p)
1567 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1568 (prolog-types, prolog-mode-specificators)
1569 (prolog-determinism-specificators, prolog-directives)
1570 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1571 (prolog-electric-dot-flag)
1572 (prolog-electric-dot-full-predicate-template)
1573 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1574 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1575 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1576 (prolog-program-switches, prolog-prompt-regexp)
1577 (prolog-debug-on-string, prolog-debug-off-string)
1578 (prolog-trace-on-string, prolog-trace-off-string)
1579 (prolog-zip-on-string, prolog-zip-off-string)
1580 (prolog-use-standard-consult-compile-method-flag)
1581 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1582 (prolog-imenu-max-lines, prolog-info-predicate-index)
1583 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1584 (prolog-char-quote-workaround):
1585 * progmodes/cc-vars.el (c-defun-tactic):
1586 * net/tramp.el (tramp-encoding-command-interactive)
1587 (tramp-local-end-of-line):
1588 * net/soap-client.el (soap-client):
1589 * net/netrc.el (netrc-file):
1590 * net/gnutls.el (gnutls):
1591 * minibuffer.el (completion-category-overrides)
1592 (completion-cycle-threshold)
1593 (completion-pcm-complete-word-inserts-delimiters):
1594 * man.el (Man-name-local-regexp):
1595 * mail/feedmail.el (feedmail-display-full-frame):
1596 * international/characters.el (glyphless-char-display-control):
1597 * eshell/em-ls.el (eshell-ls-date-format):
1598 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1599 (lisp-lambda-list-keyword-parameter-indentation)
1600 (lisp-lambda-list-keyword-parameter-alignment):
1601 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1602 * dired-x.el (dired-omit-verbose):
1603 * cus-theme.el (custom-theme-allow-multiple-selections):
1604 * calc/calc.el (calc-highlight-selections-with-faces)
1605 (calc-lu-field-reference, calc-lu-power-reference)
1606 (calc-note-threshold):
1607 * battery.el (battery-mode-line-limit):
1608 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1609 (archive-7z-update):
1610 * allout.el (allout-prefixed-keybindings)
1611 (allout-unprefixed-keybindings)
1612 (allout-inhibit-auto-fill-on-headline)
1613 (allout-flattened-numbering-abbreviation):
1614 * allout-widgets.el (allout-widgets-auto-activation)
1615 (allout-widgets-icons-dark-subdir)
1616 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1617 (allout-widgets-theme-dark-background)
1618 (allout-widgets-theme-light-background)
1619 (allout-widgets-item-image-properties-emacs)
1620 (allout-widgets-item-image-properties-xemacs)
1621 (allout-widgets-run-unit-tests-on-load)
1622 (allout-widgets-time-decoration-activity)
1623 (allout-widgets-hook-error-post-time)
1624 (allout-widgets-track-decoration):
1625 Add missing :version tags to new defcustoms and defgroups.
1626
5fec1b8e
GM
1627 * progmodes/sql.el (sql-ansi-statement-starters)
1628 (sql-oracle-statement-starters): Add custom type.
1629
3e0d2fa7
GM
1630 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1631 (prolog-system-version): Give it a type.
1632
90b671e2
EZ
16332012-02-11 Eli Zaretskii <eliz@gnu.org>
1634
1635 * term/pc-win.el (x-select-text, x-selection-owner-p)
1636 (x-own-selection-internal, x-disown-selection-internal)
1637 (x-get-selection-internal): Sync doc strings and argument lists
1638 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1639
5eac0c02
LL
16402012-02-11 Leo Liu <sdl.web@gmail.com>
1641
1642 * progmodes/python.el (python-end-of-statement): Fix infinite
1643 loop. (Bug#10788)
1644
f82cb659
GM
16452012-02-10 Glenn Morris <rgm@gnu.org>
1646
1647 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1648 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1649
cc26d239
LI
16502012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1651
1652 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1653 about SMTP before checking the From header.
1654
91027d08 1655 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
1656 into own function for reuse by emacsbug.el.
1657
1be3ca5a
LL
16582012-02-10 Leo Liu <sdl.web@gmail.com>
1659
1660 * subr.el (condition-case-unless-debug): Rename from
1661 condition-case-no-debug. All callers changed.
1662 (with-demoted-errors): Fix caller.
1663
1664 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1665 * nxml/rng-valid.el (rng-do-some-validation):
1666 * emacs-lisp/package.el (package-refresh-contents)
1667 (package-menu-execute):
1668 * desktop.el (desktop-create-buffer):
91027d08 1669 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 1670
b011fbfe
GM
16712012-02-10 Glenn Morris <rgm@gnu.org>
1672
b2096d72
GM
1673 * textmodes/bibtex.el:
1674 Add missing :version tags for new/changed defcustoms.
1675
b011fbfe
GM
1676 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1677
4c7e65bf
LI
16782012-02-09 Lars Ingebrigtsen <larsi@rusty>
1679
1680 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1681 (smtpmail-via-smtp): Use it, or fall back on the From address.
1682 (smtpmail-send-it): Ditto.
1683
f3934f6f
SM
16842012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1685
1686 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1687 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1688 (byte-compile-tmp-var): New const.
1689 (byte-compile-defvar): Use it to minimize .elc size.
1690 Just use `defvar' rather than simulate it (bug#10761).
1691
a075a2c5
GM
16922012-02-09 Glenn Morris <rgm@gnu.org>
1693
cf3aa21b
GM
1694 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1695
354998cd
GM
1696 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1697 Add :version tags.
1698
dc9924b8
SM
1699 * progmodes/compile.el (compilation-error-screen-columns)
1700 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 1701
dab3703d
GM
1702 * vc/log-view.el (log-view-toggle-entry-display):
1703 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1704
3f88cd72
GM
1705 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1706 (report-emacs-bug-can-use-xdg-email):
1707 (report-emacs-bug-insert-to-mailer): Doc fixes.
1708 (report-emacs-bug): Message fix.
1709
d95b247d
GM
1710 * net/browse-url.el (browse-url-can-use-xdg-open)
1711 (browse-url-xdg-open): Doc fixes.
1712
a075a2c5
GM
1713 * electric.el (electric-indent-mode, electric-pair-mode)
1714 (electric-layout-rules, electric-layout-mode): Doc fixes.
1715 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1716
ffb6157e
MR
17172012-02-08 Martin Rudalics <rudalics@gmx.at>
1718
1719 * server.el (server-unselect-display): Don't inadvertently kill
1720 the current buffer. (Bug#10729)
1721
e1ac4066
GM
17222012-02-08 Glenn Morris <rgm@gnu.org>
1723
34e8a2da
GM
1724 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1725 (sql-list-table): Doc fixes.
1726
b4ac6e8c
GM
1727 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1728 Comment out (does nothing).
1729
e1ac4066
GM
1730 * completion.el (dynamic-completion-mode):
1731 * dirtrack.el (dirtrack-debug-mode):
1732 * electric.el (electric-layout-mode):
1733 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1734 * face-remap.el (text-scale-mode, buffer-face-mode):
1735 * iimage.el (iimage-mode):
1736 * image-mode.el (image-transform-mode):
1737 * minibuffer.el (completion-in-region-mode):
1738 * scroll-lock.el (scroll-lock-mode):
1739 * simple.el (next-error-follow-minor-mode):
1740 * tar-mode.el (tar-subfile-mode):
1741 * tooltip.el (tooltip-mode):
1742 * vcursor.el (vcursor-use-vcursor-map):
1743 * wid-browse.el (widget-minor-mode):
1744 * emulation/tpu-edt.el (tpu-edt-mode):
1745 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1746 * international/iso-ascii.el (iso-ascii-mode):
1747 * language/thai-util.el (thai-word-mode):
1748 * mail/supercite.el (sc-minor-mode):
1749 * net/goto-addr.el (goto-address-mode):
1750 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1751 * progmodes/cwarn.el (cwarn-mode):
1752 * progmodes/flymake.el (flymake-mode):
1753 * progmodes/glasses.el (glasses-mode):
1754 * progmodes/hideshow.el (hs-minor-mode):
1755 * progmodes/pascal.el (pascal-outline-mode):
1756 * textmodes/enriched.el (enriched-mode):
1757 * vc/smerge-mode.el (smerge-mode):
1758 Doc fixes (minor mode argument).
1759
5e0d957f
EZ
17602012-02-07 Eli Zaretskii <eliz@gnu.org>
1761
1762 * ls-lisp.el (ls-lisp-sanitize): New function.
1763 (ls-lisp-insert-directory): Use it to fix or remove any elements
1764 in file-alist with missing attributes. (Bug#4673)
1765
98d7371e
AM
17662012-02-07 Alan Mackenzie <acm@muc.de>
1767
1768 Fix spurious recognition of c-in-knr-argdecl.
1769
1770 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1771 putative K&R region.
1772
667ced3a
AM
17732012-02-07 Alan Mackenzie <acm@muc.de>
1774
eb864a71
LM
1775 * progmodes/cc-engine.el (c-forward-objc-directive):
1776 Prevent looping in "#pragma mark @implementation".
667ced3a 1777
5b77774d
MA
17782012-02-07 Michael Albinus <michael.albinus@gmx.de>
1779
1780 * notifications.el (notifications-on-closed-signal): Make `reason'
1781 optional. (Bug#10744)
1782
af008560
GM
17832012-02-07 Glenn Morris <rgm@gnu.org>
1784
60d47423
GM
1785 * emacs-lisp/easy-mmode.el (define-minor-mode):
1786 Doc fixes for the macro and the mode it defines.
1787
dd605cc4
GM
1788 * image.el (imagemagick-types-inhibit): Doc fix.
1789
af008560
GM
1790 * cus-start.el (imagemagick-render-type): Add it.
1791
5cc59a37
LI
17922012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1793
1794 * progmodes/cc-mode.el
1795 (c-standard-font-lock-fontify-region-function): Set the default at
1796 load time, too, so that `font-lock-fontify-buffer' can be called
1797 without setting up the entire mode first. This fixes a bug in
1798 `mm-inline-text' with C MIME parts.
1799
9a6dd747
CY
18002012-02-06 Chong Yidong <cyd@gnu.org>
1801
2d16b285
CY
1802 * simple.el (list-processes--refresh): Delete exited processes
1803 (Bug#8094).
1804
171e9b6e
CY
1805 * comint.el (comint-next-prompt): next-single-char-property-change
1806 and prev-single-char-property-change never return nil (Bug#8657).
1807
9a6dd747
CY
1808 * custom.el (defcustom): Doc fix (Bug#9711).
1809
aa4589a7
CY
18102012-02-05 Chong Yidong <cyd@gnu.org>
1811
5c2a252f
CY
1812 * cus-edit.el (custom-variable-reset-backup): Quote the value
1813 before storing it in the customized-value property (Bug#6712).
4aab9006 1814 (custom-display): Add a customization type tag.
983b9602 1815 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 1816
aa4589a7
CY
1817 * wid-edit.el (widget-field-value-get): New optional arg to
1818 suppress trailing whitespace truncation.
1819 (character): Use it (Bug#2689).
1820
1ff980ae
AS
18212012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1822
1823 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1824 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1825
03988c98
CY
18262012-02-05 Chong Yidong <cyd@gnu.org>
1827
eeb6cc88
CY
1828 * cus-edit.el (custom-variable-value-create): For mismatched
1829 types, show the current value (Bug#7600).
1830
03988c98
CY
1831 * custom.el (defcustom): Doc fix.
1832
f8cdeef0
GM
18332012-02-05 Glenn Morris <rgm@gnu.org>
1834
1835 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1836
0696d255
JB
18372012-02-05 Juanma Barranquero <lekktu@gmail.com>
1838
1839 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1840 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1841 (pp-last-sexp): Use `looking-at-p'.
1842
34c99998
GM
18432012-02-04 Glenn Morris <rgm@gnu.org>
1844
8f05da42
GM
1845 * files.el (revert-buffer):
1846 Doc fix (mention revert-buffer-in-progress-p).
1847
f160676e
GM
1848 * emacs-lisp/ert-x.el (ert-simulate-command):
1849 Check deferred-action-list (which is obsolete) is bound.
1850
c7291ad9
GM
1851 * subr.el (with-wrapper-hook): Doc fixes.
1852
34c99998
GM
1853 * simple.el (filter-buffer-substring-functions)
1854 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1855
6283a7d3
LL
18562012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1857
1858 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1859 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1860
e96e3013
LL
18612012-02-04 Leo Liu <sdl.web@gmail.com>
1862
1863 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1864
8ded50f2
GM
18652012-02-04 Glenn Morris <rgm@gnu.org>
1866
82ff1d13
GM
1867 * image.el (image-extension-data): Add obsolete alias.
1868
987a0a16
GM
1869 * isearch.el (isearch-update): Doc fix.
1870
ea32ef46
GM
1871 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1872
8ded50f2
GM
1873 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1874
eea14f31
GM
18752012-02-03 Glenn Morris <rgm@gnu.org>
1876
1877 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1878 (image-animate-timeout): Doc fix.
1879
1880 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1881
12f381b7
GM
18822012-02-02 Glenn Morris <rgm@gnu.org>
1883
953cebf5
GM
1884 * server.el (server-auth-dir): Doc fix.
1885 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1886
12f381b7
GM
1887 * subr.el (run-mode-hooks): Doc fix.
1888
953a8c3b
JL
18892012-02-02 Juri Linkov <juri@jurta.org>
1890
1891 * image-mode.el (image-toggle-display-image): Remove tautological
1892 `major-mode' from the `derived-mode-p' test.
1893
c5d3843c
KH
18942012-02-02 Kenichi Handa <handa@m17n.org>
1895
9f6e692e 1896 * composite.el (compose-region): Cancel previous change.
c5d3843c 1897
159462d4 18982012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
1899
1900 * composite.el (compose-region, compose-string): Signal error for
1901 a null string component (Bug#6988).
1902
9f562668
CY
19032012-02-01 Chong Yidong <cyd@gnu.org>
1904
e2cef717
CY
1905 * view.el (view-buffer-other-window, view-buffer-other-frame):
1906 Handle special modes like view-buffer (Bug#10650).
1907 (view-buffer): Simplify.
1908
9f562668
CY
1909 * frame.el (set-frame-font): Tweak meaning of third argument.
1910
9f6e692e
JB
1911 * dynamic-setting.el (font-setting-change-default-font):
1912 Use set-frame-font (Bug#9982).
9f562668 1913
781acb9f
GM
19142012-02-01 Glenn Morris <rgm@gnu.org>
1915
6035be52
GM
1916 * progmodes/compile.el (compilation-internal-error-properties):
1917 Respect compilation-first-column in the "*compilation*" buffer.
1918
781acb9f
GM
1919 * emacs-lisp/easy-mmode.el (define-minor-mode):
1920 Relax :variable's test for a named function.
1921
abbceb00
AM
19222012-01-31 Alan Mackenzie <acm@muc.de>
1923
1924 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1925 off by one error.
1926
fce3fdeb
CY
19272012-01-31 Chong Yidong <cyd@gnu.org>
1928
1929 * frame.el (set-frame-font): New arg ALL-FRAMES.
1930
1931 * menu-bar.el (menu-set-font): Use set-frame-font.
1932
1933 * faces.el (face-spec-reset-face): Don't apply unspecified
1934 attribute values to the default face.
1935
47893581
JB
19362012-01-31 Juanma Barranquero <lekktu@gmail.com>
1937
1938 * progmodes/cwarn.el (cwarn): Remove dead link.
1939 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1940 Remove * from defcustom docstrings.
1941 (turn-on-cwarn-mode): Make obsolete.
1942 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1943 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1944
e58e988a
GM
19452012-01-31 Glenn Morris <rgm@gnu.org>
1946
60dc2671 1947 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 1948 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 1949 Allow named functions to be used as the cdr of :variable.
e58e988a 1950
7a3f511d
GM
19512012-01-30 Glenn Morris <rgm@gnu.org>
1952
1953 * emacs-lisp/authors.el (authors-fixed-entries):
1954 Remove reference to deleted file rnewspost.el.
1955
cb882333
JB
19562012-01-29 Juanma Barranquero <lekktu@gmail.com>
1957
1958 * window.el (window-with-parameter): Remove unused variable `windows'.
1959 (window--side-check): Remove unused variable `code'.
1960 (window--resize-siblings): Remove unused variable `first'.
1961 (adjust-window-trailing-edge): Remove unused variable `failed'.
1962 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1963 Use `let', not `let*'.
1964 (balance-windows-2): Remove unused variable `found'.
1965 (window--state-put-2): Remove unused variable `splits'.
1966 (window-state-put): Remove unused variable `selected'.
1967 (same-window-p): Use `string-match-p'.
1968 (display-buffer-assq-regexp): Remove unused variable `value'.
1969 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1970 Mark argument ALIST as ignored.
1971 (pop-to-buffer): Remove unused variable `old-window'.
1972
907201af
EZ
19732012-01-29 Eli Zaretskii <eliz@gnu.org>
1974
1975 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1976 and .lzma compressed files.
1977
ea162670
CY
19782012-01-29 Chong Yidong <cyd@gnu.org>
1979
5b95ee8a
CY
1980 * frame.el (window-system-default-frame-alist): Doc fix.
1981
ea162670
CY
1982 * dynamic-setting.el (font-setting-change-default-font): Don't
1983 change the default face if SET-FONT argument is non-nil (Bug#9982).
1984
d6e6f4b1
SB
19852012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
1986
1987 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1988
0f29fa41 19892012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
1990
1991 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1992 breakpoints in files outside current directory (Bug#6098).
1993
db174434
CY
19942012-01-29 Chong Yidong <cyd@gnu.org>
1995
6b25e4e2
SE
1996 * progmodes/python.el: Require ansi-color at top-level.
1997
6df6ae42
JB
1998 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1999 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
2000 (lisp-mode-abbrev-table): Add doc.
2001 (lisp-mode-variables): Don't set local-abbrev-table.
2002 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2003
e70ee681
RW
20042012-01-28 Roland Winkler <winkler@gnu.org>
2005
2006 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2007
ace88aa2
RW
20082012-01-28 Roland Winkler <winkler@gnu.org>
2009
2010 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2011 (bibtex-set-dialect): Use it. Either set global values of
2012 dialect-dependent variables or bind these variables buffer-locally
2013 (Bug#10254).
2014 (bibtex-mode): Call bibtex-set-dialect via
2015 hack-local-variables-hook.
eb864a71
LM
2016 (bibtex-dialect): Update docstring.
2017 Add safe-local-variable predicate.
ace88aa2
RW
2018 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2019 bibtex-set-dialect.
2020 (bibtex-mode-map): Define menu for each dialect.
2021 (bibtex-entry): Fix docstring.
2022
93376c5b
CY
20232012-01-28 Chong Yidong <cyd@gnu.org>
2024
2025 * eshell/esh-arg.el (eshell-quote-argument): New function.
2026
2027 * eshell/esh-ext.el (eshell-invoke-batch-file):
2028 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2029 first arg to eshell-parse-command (Bug#10523).
2030
4372494f
DA
20312012-01-28 Drew Adams <drew.adams@oracle.com>
2032
2033 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2034 `default-directory' is non-nil.
2035
4d4ec1f8
EZ
20362012-01-28 Eli Zaretskii <eliz@gnu.org>
2037
2038 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2039 line that displays system-configuration-options. (Bug#9924)
2040
7c188927
DA
20412012-01-28 Drew Adams <drew.adams@oracle.com>
2042
2043 * descr-text.el (describe-char): Show information about POS, in
2044 addition to information about the character at POS. Improve and
2045 update the doc string. Change "code point" to "code point in
2046 charset", to avoid confusion with the character's Unicode code
2047 point shown above that. (Bug#10129)
2048
e0da685a
EZ
20492012-01-28 Eli Zaretskii <eliz@gnu.org>
2050
2051 * descr-text.el (describe-char): Show the raw character, not only
2052 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2053 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2054 for the reasons.
2055
70550acf
PH
20562012-01-28 Phil Hagelberg <phil@hagelb.org>
2057
eb864a71
LM
2058 * emacs-lisp/package.el (package-install):
2059 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 2060
0ce8e868
CY
20612012-01-28 Chong Yidong <cyd@gnu.org>
2062
cb882333
JB
2063 * emacs-lisp/package.el (package-maybe-load-descriptor):
2064 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
2065 (package-maybe-load-descriptor): Use it.
2066 (package-download-transaction): Fully load required packages
2067 inside the loop, so that `require' calls work (Bug#10593).
2068 (package-install): No need to call package-initialize now.
2069
2e7f3bea
CY
20702012-01-28 Chong Yidong <cyd@gnu.org>
2071
6e9bad14
CY
2072 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2073
f823b8ca
CY
2074 * tooltip.el (tooltip-mode): Doc fix.
2075 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2076
2680c309
CY
2077 * frame.el (set-cursor-color): Doc fix (Bug#352).
2078
d7a9e63b
CY
2079 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2080 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2081
2e7f3bea
CY
2082 * cus-edit.el (custom-buffer-create-internal): Fix search button
2083 action (Bug#10542).
2ae01800 2084 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 2085
fc4f7a23
EW
20862012-01-27 Eduard Wiebe <usenet@pusto.de>
2087
2088 * dired.el (dired-mark-files-regexp):
2089 Include any subdirectory components. (Bug#10445)
2090
7dd37071
ML
20912012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2092
2093 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2094 Handle [host]:port syntax. (Bug#10533)
2095
a268160b
AH
20962012-01-27 Alex Harsanyi <harsanyi@mac.com>
2097
2098 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2099
e43273ef
GM
21002012-01-26 Glenn Morris <rgm@gnu.org>
2101
2102 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2103 * term.el (term-raw-escape-map): Use Control-X-prefix.
2104 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2105
1edf595d
MR
21062012-01-25 Martin Rudalics <rudalics@gmx.at>
2107
2108 * window.el (window-state-get, window--state-get-1): Don't deal
2109 with fixed-sizeness of windows. Simplify code.
2110
fa8eafef
JC
21112012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2112
6df6ae42
JB
2113 * window.el (window--state-get-1, window--state-put-2):
2114 Don't save and restore the mark.
fa8eafef 2115
0b21c100
CY
21162012-01-25 Chong Yidong <cyd@gnu.org>
2117
2118 * custom.el (custom-variable-p): Doc fix.
2119
5ae1a6c8
GM
21202012-01-25 Glenn Morris <rgm@gnu.org>
2121
40047858
GM
2122 * dired.el (dired-goto-file): Handle some of the more common
2123 characters that `ls -b' escapes. (Bug#10596)
2124
5ddce96c
GM
2125 * progmodes/compile.el (compilation-next-error-function):
2126 Respect compilation-first-column in the "*compilation*" buffer.
2127 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2128
5ae1a6c8
GM
2129 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2130
b559f1a9
GM
21312012-01-24 Glenn Morris <rgm@gnu.org>
2132
2133 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2134
6725d21a
JD
21352012-01-24 Julien Danjou <julien@danjou.info>
2136
2137 * color.el (color-rgb-to-hsl): Fix value computing.
2138 (color-hue-to-rgb): New function.
2139 (color-hsl-to-rgb): New function.
2140 (color-clamp, color-saturate-hsl, color-saturate-name)
2141 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2142 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2143
70df4bbe
GM
21442012-01-24 Glenn Morris <rgm@gnu.org>
2145
2146 * vc/vc-rcs.el (vc-rcs-create-tag):
2147 * vc/vc-sccs.el (vc-sccs-create-tag):
2148 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2149
802a2ae2
ML
21502012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2151
2152 * eshell/esh-util.el (eshell-read-hosts-file):
2153 Skip comment lines. (Bug#10549)
2154
d7128bb1
ML
2155 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2156
d1a5c3b4
JB
21572012-01-23 Juanma Barranquero <lekktu@gmail.com>
2158
2724d9c7
JB
2159 * subr.el (display-delayed-warnings): Doc fix.
2160 (collapse-delayed-warnings): New function to collapse identical
2161 adjacent warnings.
2162 (delayed-warnings-hook): Add it.
d1a5c3b4 2163
a5509865
MA
21642012-01-22 Michael Albinus <michael.albinus@gmx.de>
2165
2166 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2167
2168 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2169 properties, when "login-as" is set.
2170
2171 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2172 (tramp-default-user-alist): Don't add "pscp".
2173 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2174 property "login-as", if set. (Bug#10530)
2175
cc6d5805
MA
21762012-01-21 Michael Albinus <michael.albinus@gmx.de>
2177
2178 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2179 "plink1" and "psftp". (Bug#10530)
2180
21812012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
2182
2183 * international/mule-cmds.el (prefer-coding-system): Show a
2184 warning message if the default value of file-name-coding-system
2185 was not changed.
2186
f0960428
JC
21872012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2188
cb882333
JB
2189 * windmove.el (windmove-reference-loc):
2190 Fix windmove-reference-loc miscalculation.
f0960428 2191
dd6f2a63
JB
21922012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2193
2194 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2195 default unit.
2196
7b447e9b
GM
21972012-01-21 Glenn Morris <rgm@gnu.org>
2198
117a9ea1
GM
2199 * international/mule.el (auto-coding-alist): Add .tbz.
2200
7b447e9b
GM
2201 * files.el (local-enable-local-variables): Doc fix.
2202 (inhibit-local-variables-regexps): Rename from
2203 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
2204 Doc fix. Add some extensions from auto-coding-alist.
2205 (inhibit-local-variables-suffixes):
2206 Rename from inhibit-first-line-modes-suffixes. Doc fix.
2207 (inhibit-local-variables-p):
2208 New function, extracted from set-auto-mode-1.
2209 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
2210 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
2211 (hack-local-variables): Doc fix. Make the mode-only case
2212 respect enable-local-variables and friends.
2213 Respect inhibit-local-variables-regexps for file-locals, but
2214 not for directory-locals.
2215 (set-visited-file-name):
2216 Take account of inhibit-local-variables-regexps.
2217 Whether it applies may change as the file name is changed.
2218 * jka-cmpr-hook.el (jka-compr-install):
2219 * jka-compr.el (jka-compr-uninstall):
2220 Update for inhibit-first-line-modes-suffixes name change.
2221
dd6e3cdd
MR
22222012-01-20 Martin Rudalics <rudalics@gmx.at>
2223
2224 * help-macro.el (make-help-screen): Temporarily restore original
2225 binding for minor-mode-map-alist (Bug#10454).
2226
0d0deb38
JD
22272012-01-19 Julien Danjou <julien@danjou.info>
2228
2229 * color.el (color-name-to-rgb): Use the white color to find the max
2230 color component value and return correctly computed values.
2231 (color-name-to-rgb): Add missing float conversion for max value.
2232
34a02f46
MR
22332012-01-19 Martin Rudalics <rudalics@gmx.at>
2234
2235 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
2236 special state value for window-persistent-parameters.
2237 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
2238 (window--state-put-2): Reset all window parameters to nil before
2239 assigning values of persistent parameters.
2240
606c44c4
AM
22412012-01-18 Alan Mackenzie <acm@muc.de>
2242
2243 Eliminate sluggishness and hangs in fontification of "semicolon
2244 deserts".
2245
cb882333
JB
2246 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2247 Change value 10000 -> 3000.
606c44c4
AM
2248 (c-state-safe-place): Reformulate so it doesn't stack up an
2249 infinite number of wrong entries in c-state-nonlit-pos-cache.
2250 (c-determine-limit-get-base, c-determine-limit): New functions to
2251 determine backward search limits disregarding literals.
2252 (c-find-decl-spots): Amend commenting.
2253 (c-cheap-inside-bracelist-p): New function which detects "={".
2254
2255 * progmodes/cc-fonts.el
2256 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2257 backward search.
2258 (c-font-lock-declarations): Fix an occurrence of point being
2259 undefined. Check additionally for point being in a bracelist or
2260 near a macro invocation without a semicolon so as to avoid a
2261 fruitless time consuming search for a declarator. Give a more
2262 precise search limit for declarators using the new
2263 c-determine-limit.
2264
f3860cea
GM
22652012-01-18 Glenn Morris <rgm@gnu.org>
2266
2267 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2268 (set-auto-mode): Doc fixes.
2269
1db03b16
GM
22702012-01-17 Glenn Morris <rgm@gnu.org>
2271
0e6038be
GM
2272 * isearch.el (search-nonincremental-instead): Fix doc typo.
2273
1db03b16
GM
2274 * dired.el (dired-insert-directory): Handle newlines in directory name.
2275 (dired-build-subdir-alist): Unescape newlines in directory name.
2276
4cb0aa75
MA
22772012-01-17 Michael Albinus <michael.albinus@gmx.de>
2278
2279 * net/tramp.el (tramp-local-end-of-line): New defcustom.
2280 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2281 (tramp-action-terminal): Use it. (Bug#10530)
2282
1d00653d
SM
22832012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2284
2285 * minibuffer.el (completion--replace): Strip properties (bug#10062).
2286
6a6ee00d
MR
22872012-01-16 Martin Rudalics <rudalics@gmx.at>
2288
2289 * window.el (window-state-ignored-parameters): Remove variable.
2290 (window--state-get-1): Rename argument MARKERS to IGNORE.
2291 Handle persistent window parameters. Make copy of clone-of
2292 parameter only if requested. (Bug#10348)
2293 (window--state-put-2): Install a window parameter only if it has
2294 a non-nil value or an existing parameter shall be overwritten.
2295
97912def
MA
22962012-01-15 Michael Albinus <michael.albinus@gmx.de>
2297
2298 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2299
688070a5
EZ
23002012-01-14 Eli Zaretskii <eliz@gnu.org>
2301
2302 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2303 don't pass the (nil) value of `upnode' to string-match.
2304
301afadc
CY
23052012-01-14 Chong Yidong <cyd@gnu.org>
2306
2307 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 2308 Fix values recognized by the cursorBlink resource.
301afadc 2309
9e5788aa
PE
23102012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2311
2312 * epg.el (epg--make-temp-file): Avoid permission race condition
2313 when running on old Emacs versions (bug#10403).
2314
3cdb7f5a
GM
23152012-01-14 Glenn Morris <rgm@gnu.org>
2316
2317 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2318
8c82b1b4
AM
23192012-01-13 Alan Mackenzie <acm@muc.de>
2320
2321 Fix filling for when filladapt mode is enabled.
2322
2323 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2324 c-mask-paragraph, pass in `fill-paragraph' rather than
2325 `fill-region-as-paragraph'. (This is a reversion of a previous
2326 change.)
eb864a71
LM
2327 * progmodes/cc-mode.el (c-basic-common-init):
2328 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 2329
e517eda4
GM
23302012-01-13 Glenn Morris <rgm@gnu.org>
2331
1498536e
GM
2332 * dired.el (dired-switches-escape-p): New function.
2333 (dired-insert-directory): Use dired-switches-escape-p.
2334 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2335
e517eda4
GM
2336 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2337
328f984d
GM
23382012-01-12 Glenn Morris <rgm@gnu.org>
2339
2340 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2341 changes in adaptive-fill-regexp. (Bug#10276)
2342
2cc769a8
AM
23432012-01-11 Alan Mackenzie <acm@muc.de>
2344
2345 Fix Emacs bug #10463 - put `widen's around the critical spots.
2346
1d00653d 2347 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
2348 widen around each invocation of c-state-pp-to-literal. Remove an
2349 unused let variable.
2350
e52c37fa
GM
23512012-01-11 Glenn Morris <rgm@gnu.org>
2352
2353 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 2354 Doc fix.
e52c37fa 2355
96f8741e
CY
23562012-01-10 Chong Yidong <cyd@gnu.org>
2357
1d00653d
SM
2358 * net/network-stream.el (network-stream-open-starttls):
2359 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
2360 response to the capability command.
2361
b09a806e
GM
23622012-01-10 Glenn Morris <rgm@gnu.org>
2363
2364 * mail/unrmail.el (unrmail): Tweak previous change.
2365
7655cb66
CY
23662012-01-09 Chong Yidong <cyd@gnu.org>
2367
2368 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2369
9d5a8f0b
AM
23702012-01-08 Alan Mackenzie <acm@muc.de>
2371
2372 Optimise font locking in long enum definitions.
2373
2374 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2375 arm to a cond form to handle enums.
2376 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2377 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2378
9a0115ab 23792012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
2380
2381 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 2382 (Bug#10401)
6bb72cbd 2383
f186bb95
LMI
23842012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2385
29232a68
LMI
2386 * faces.el (set-face-attribute): Clarify the meaning of the nil
2387 frame (bug#10294).
2388
4e5d086d
LMI
2389 * subr.el (with-selected-frame): Mention that the selected frame
2390 is restored (bug#9980).
2391
8e66aebe
LMI
2392 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2393 (bug#9759).
2394
cd394be1 2395 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
2396 (password-read): Don't autoload unused function.
2397
adf4e762
JB
23982012-01-07 Juanma Barranquero <lekktu@gmail.com>
2399
2400 * progmodes/which-func.el (which-func-mode): Turn into a
2401 non-interactive function and mark as obsolete (bug#10428).
2402
89bd9ccd
CY
24032012-01-06 Chong Yidong <cyd@gnu.org>
2404
2405 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2406 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2407 functions, along with 1 and -1.
2408
4afee9d5
EZ
24092012-01-06 Eli Zaretskii <eliz@gnu.org>
2410
2411 * time.el (display-time-load-average)
2412 (display-time-default-load-average): Doc fixes. See the thread
2413 starting at
2414 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2415 for the details.
2416
536aea70
GM
24172012-01-06 Glenn Morris <rgm@gnu.org>
2418
665ae865
GM
2419 * mail/unrmail.el (unrmail): Give an explicit error if the input file
2420 has no messages. (Bug#10377)
2421
c869783d
GM
2422 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2423 than Info-edit. (Bug#10385)
2424
2bb4227e
GM
2425 * time.el (display-time-load-average, display-time-next-load-average):
2426 Doc fixes.
2427
7d5944b9
GM
2428 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2429 local setting of buffer-read-only to the input buffer. (Bug#10419)
2430
536aea70
GM
2431 * calendar/calendar.el (calendar-mode):
2432 Locally set scroll-margin to 0. (Bug#10379)
2433
7dccca16
UM
24342012-01-06 Ulrich Mueller <ulm@gentoo.org>
2435
2436 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
2437
afbb7930
GM
24382012-01-05 Glenn Morris <rgm@gnu.org>
2439
2440 * eshell/em-unix.el (diff-no-select): Autoload it.
2441 (eshell/diff): Use diff-no-select. (Bug#10420)
2442
04482335
CY
24432012-01-05 Chong Yidong <cyd@gnu.org>
2444
7baca3bc
CY
2445 * shell.el (shell-dynamic-complete-functions): Revert last change.
2446 (shell-command-completion-function): New function.
2447 (shell-completion-vars): Use it to implement
2448 shell-completion-execonly (Bug#10417).
2449
04482335
CY
2450 * custom.el (enable-theme): Don't set custom-safe-themes.
2451
1d00653d
SM
2452 * cus-theme.el (custom-theme-merge-theme):
2453 Ignore custom-enabled-themes and custom-safe-themes.
04482335 2454
bb5aa5d6
MM
24552012-01-05 Michael R. Mauger <mmaug@yahoo.com>
2456
2457 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2458 first prompt in `sql-interacive-mode'.
2459 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 2460 keywords.
6df6ae42 2461 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
2462 (sql-product-interactive): Bug fix: Set `sql-buffer' in
2463 context of original buffer. Invoke `sql-login-hook'.
2464
a7183d7c
EZ
24652012-01-04 Eli Zaretskii <eliz@gnu.org>
2466
2467 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2468 letters in cite-prefix.
2469
a1eacd1e
LMI
24702012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2471
2472 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2473
787cdb34
CY
24742012-01-03 Chong Yidong <cyd@gnu.org>
2475
1d00653d
SM
2476 * shell.el (shell-dynamic-complete-functions):
2477 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
2478 comint-filename-completion first (Bug#10417).
2479
30710442
RS
24802012-01-02 Richard Stallman <rms@gnu.org>
2481
2482 * battery.el (battery-status-function):
2483 Detect when to use battery-yeeloong-sysfs.
2484 (battery-echo-area-format): Add string for Yeeloong.
2485 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2486 (battery-yeeloong-sysfs): New function.
2487
f75bfc33
CY
24882012-01-02 Chong Yidong <cyd@gnu.org>
2489
2490 * dirtrack.el (dirtrack-list): Eliminate unused third element.
2491 (dirtrack): Merge code for handling relative filenames in prompt
2492 from shell-dir-cookie-watcher.
2493 (dirtrack-debug-message): New arg to avoid excess format calls.
2494
2495 * shell.el (shell-dir-cookie-re): Variable deleted.
2496 (shell-dir-cookie-watcher): Function deleted.
2497 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2498 with dirtrack-mode.
2499
651e947e
EZ
25002012-01-01 Eli Zaretskii <eliz@gnu.org>
2501
1d00653d
SM
2502 * term/w32-win.el (dynamic-library-alist) <gnutls>:
2503 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
2504 libgnutls-26.dll.
2505
94d4c7dc
AS
25062011-12-31 Andreas Schwab <schwab@linux-m68k.org>
2507
2508 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2509
8d43f3cd
EZ
25102011-12-31 Eli Zaretskii <eliz@gnu.org>
2511
2512 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2513 headers of non-MIME messages, when rmail-enable-mime is non-nil.
2514
98c8795a
MA
25152011-12-29 Michael Albinus <michael.albinus@gmx.de>
2516
2517 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2518 also for alternative shells.
2519 (tramp-open-connection-setup-interactive-shell): Check, whether
2520 the shell is a busybox.
2521 (tramp-send-command): Don't suppress multiple prompts for
2522 busyboxes, it hurts.
2523
51281b32
CY
25242011-12-28 Chong Yidong <cyd@gnu.org>
2525
2526 * progmodes/gdb-mi.el (gdb-get-source-file-list)
2527 (gdb-get-source-file): Move mode line update to
2528 gdb-get-source-file (Bug#10087).
2529
2170cb53
CY
25302011-12-25 Chong Yidong <cyd@gnu.org>
2531
2532 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2533 gud-gdb-marker-filter without taking it as an argument.
2534 (gud-gdb-run-command-fetch-lines): Caller changed.
2535 (gud-gdb-completion-function): New variable.
2536 (gud-gdb-completion-at-point): Use it.
2537 (gud-gdb-completions-1): Split from gud-gdb-completions.
2538
2539 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2540 function as separate arguments.
2541 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2542 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2543 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2544 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2545 (gdb-stopped, def-gdb-auto-update-trigger)
2546 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
2547 (gdb-get-changed-registers, gdb-get-main-selected-frame):
2548 Callers changed.
2170cb53
CY
2549 (gud-gdbmi-completions): New function.
2550 (gdb): Use it for generating the completion table.
2551
be8b11bb
AM
25522011-12-24 Alan Mackenzie <acm@muc.de>
2553
2554 Introduce a mechanism to widen the region used in context font
1d00653d 2555 locking. Use this to protect declarations from losing their contexts.
be8b11bb 2556
1d00653d
SM
2557 * progmodes/cc-langs.el (c-before-font-lock-functions):
2558 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 2559 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
2560 functions to be run just before context (etc.) font locking.
2561
2562 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 2563 New, functionality extracted from
be8b11bb 2564 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 2565 (c-in-after-change-fontification): New variable.
be8b11bb
AM
2566 (c-after-change): Set c-in-after-change-fontification.
2567 (c-set-fl-decl-start): Rejig its interface, so it can be called
2568 from both after-change and context fontifying.
b81d40f0
JB
2569 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2570 New functions.
2571 (c-standard-font-lock-fontify-region-function): New variable.
2572 (c-font-lock-fontify-region): New function.
be8b11bb 2573
341cf6ac
JL
25742011-12-24 Juri Linkov <juri@jurta.org>
2575
2576 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2577 (Bug#10348)
2578
bffcee0a
MA
25792011-12-23 Michael Albinus <michael.albinus@gmx.de>
2580
2581 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2582 existence of source file. (Bug#10325)
2583
cb5e207c
AM
25842011-12-23 Alan Mackenzie <acm@muc.de>
2585
2586 Fix unstable fontification inside templates.
2587
b81d40f0
JB
2588 * progmodes/cc-langs.el (c-before-font-lock-functions):
2589 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
2590 additionally has c-set-fl-decl-start. The other languages (apart
2591 from AWK) have that as a single entry.
2592
b81d40f0
JB
2593 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2594 The functionality for "local" declarations has been extracted to
cb5e207c
AM
2595 c-set-fl-decl-start.
2596
b81d40f0
JB
2597 * progmodes/cc-mode.el (c-common-init, c-after-change):
2598 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
2599 (c-set-fl-decl-start): New function, extracted from
2600 c-font-lock-enclosing-decls and enhanced.
2601
60ff536c
JB
26022011-12-23 Juanma Barranquero <lekktu@gmail.com>
2603
2604 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2605
1c4757d6
JL
26062011-12-22 Juri Linkov <juri@jurta.org>
2607
2608 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
2609
d031f2c7
CY
26102011-12-22 Chong Yidong <cyd@gnu.org>
2611
2612 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2613
bace743a
DA
26142011-12-21 Drew Adams <drew.adams@oracle.com>
2615
2616 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2617
728a1f2b
JC
26182011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2619
2620 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2621
0d373f73
TZ
26222011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2623
fec0aaa4
TZ
2624 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2625 highlighting and support. Fix up comments for capitalization.
2626 (cfengine-mode-debug): New var.
2627 (cfengine3-mode): Change the modeline indicator to "CFE3".
2628 (cfengine3-font-lock-keywords): Improve defun highlighting.
2629 (cfengine2-actions): Rename from `cfengine-actions'.
2630 (cfengine2-font-lock-keywords): Rename from
2631 `cfengine-font-lock-keywords'.
2632 (cfengine2-imenu-expression): Rename from
2633 `cfengine-imenu-expression'.
2634 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2635 (cfengine2-beginning-of-defun): Rename from
2636 `cfengine-beginning-of-defun'.
2637 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2638 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2639 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2640 modeline indicator to "CFE2".
2641 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2642 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 2643
bc86f573
CY
26442011-12-21 Chong Yidong <cyd@gnu.org>
2645
2646 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2647 filename argument.
2648
d45ba96b
MR
26492011-12-20 Martin Rudalics <rudalics@gmx.at>
2650
2651 * window.el (window-normalize-buffer-to-display): Remove.
2652 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2653
a6198c90
CY
26542011-12-19 Chong Yidong <cyd@gnu.org>
2655
2656 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2657 Don't signal an error in a predicate function; return non-nil.
2658 (vc-dir-mark-file): Move the error here.
2659 (vc-dir-mark-unmark): If acting on the region, keep going if one
2660 of the entries cannot be marked/unmarked.
2661 (vc-dir-mark-all-files): If current entry is a directory, mark
2662 only child files, as documented.
2663
34c5fb55
VB
26642011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2665
2666 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2667 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2668 addition.
2669
c803b2b7
JD
26702011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2671
2672 * term/ns-win.el (ns-get-selection-internal)
2673 (ns-store-selection-internal): Declare.
1154d12e
JB
2674 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2675 Declare as obsolete.
2676 (ns-get-pasteboard, ns-paste-secondary):
2677 Use ns-get-selection-internal.
2678 (ns-set-pasteboard, ns-copy-including-secondary):
2679 Use ns-store-selection-internal.
c803b2b7 2680
9cff91f8 26812011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
2682
2683 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 2684 (vc-deduce-fileset): Doc fix.
99a289d9 2685
f16c898a
AS
26862011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2687
2688 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2689
763237c4
SS
26902011-12-13 Sam Steingold <sds@gnu.org>
2691
2692 * man.el (Man-getpage-in-background): When running under a
2693 window-system, ignore $MANWIDTH and $COLUMNS.
2694
5fc1c122
KH
26952011-12-15 Kenichi Handa <handa@m17n.org>
2696
2697 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2698 (setup-ethiopic-environment-internal): Comment out key-binding for
2699 ethio-toggle-punctuation.
2700
13d49cbb
AM
27012011-12-13 Alan Mackenzie <acm@muc.de>
2702
898169a2
AM
2703 Add the switch statement to AWK Mode.
2704
7a71b18d 2705 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
2706 "default" to the keywords regexp.
2707
7a71b18d 2708 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 2709 expression as the rest.
1d00653d
SM
2710 (c-nonlabel-token-key): Allow string literals for AWK.
2711 Refactor for the other modes.
898169a2 2712
13d49cbb 2713 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 2714 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
2715 routines. Limit backward searching in c-font-lock-enclosing.decl.
2716
2717 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2718 pp-state and literal type in addition to the limits.
1d00653d 2719 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 2720 (c-state-literal-at): Use the above new defun.
1d00653d
SM
2721 (c-slow-in-literal, c-fast-in-literal): Remove.
2722 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
2723
2724 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2725 being in a literal. Add a limit for backward searching.
2726
2727 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2728 c-slow-in-literal.
2729
15e0efc7
SM
27302011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2731
2732 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2733
454592a6
MR
27342011-12-13 Martin Rudalics <rudalics@gmx.at>
2735
2736 * window.el (delete-other-windows): Use correct frame in call to
2737 window-with-parameter.
2738
87393f26
DP
27392011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2740
2741 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2742 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2743 (makefile-gmake-statements, makefile-makepp-statements):
2744 Use it and add new makepp keywords.
2745 (makefile-makepp-font-lock-keywords): Add new patterns.
2746 (makefile-match-function-end): Match new [...] and [[...]].
2747
11636b22
JB
27482011-12-11 Juanma Barranquero <lekktu@gmail.com>
2749
2750 * ses.el (ses-call-printer-return, ses-cell-property-get)
2751 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2752 (ses-create-cell-variable, ses-reset-header-string)
2753 (ses-cell-set-formula, ses-repair-cell-reference-all)
2754 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2755 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2756 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2757 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2758 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2759 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2760 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2761 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2762 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2763 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2764 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2765 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2766
cf018193
VB
27672011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2768
2769 * ses.el: The overall change is to add cell renaming, that is
2770 setting fancy names for cell symbols other than name matching
2771 "\\`[A-Z]+[0-9]+\\'" regexp .
2772 (ses-create-cell-variable): New defun.
2773 (ses-relocate-formula): Relocate formulas only for cells the
2774 symbols of which are not renamed, i.e. symbols whose names do not
2775 match regexp "\\`[A-Z]+[0-9]+\\'".
2776 (ses-relocate-all): Relocate values only for cells the symbols of
2777 which are not renamed.
2778 (ses-load): Create cells variables as the (ses-cell ...) are read,
2779 in order to check row col consistency with cell symbol name only
2780 for cells that are not renamed.
2781 (ses-replace-name-in-formula): New defun.
2782 (ses-rename-cell): New defun.
2783
ee957461
CY
27842011-12-11 Chong Yidong <cyd@gnu.org>
2785
2786 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2787 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2788
9a9e9ef0
MR
27892011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2790
2791 * window.el (other-window): Fix docstring.
2792
92a8eba5
EZ
27932011-12-10 Eli Zaretskii <eliz@gnu.org>
2794
2795 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
2796 `from' or `to' address before taking its substring.
2797 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
2798 encoded name is chopped in the middle of the encoded string, and
2799 thus displayed encoded.
2800
e152e577
JB
28012011-12-10 Juanma Barranquero <lekktu@gmail.com>
2802
2803 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2804
e5d84bfe
EZ
28052011-12-10 Eli Zaretskii <eliz@gnu.org>
2806
2807 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2808 to use texinfo-update-node and commands that call it if the
2809 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 2810 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
2811 (texinfo-all-menus-update, texinfo-master-menu)
2812 (texinfo-update-node, texinfo-every-node-update)
2813 (texinfo-multiple-files-update): Doc fix. Warn against updating
2814 all the @node lines.
2815 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
2816 argument is numeric. Explain better in the doc string what the
2817 function really does.
2818 (texinfo-insert-master-menu-list): Improve the error message
2819 displayed if there's no menu in the Top node.
2820 (Bug#2975) See also this thread:
e5d84bfe
EZ
2821 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2822
1d84e9bb
MG
28232011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2824
2825 * speedbar.el (speedbar-supported-extension-expressions):
2826 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2827
382c953b
JB
28282011-12-09 Juanma Barranquero <lekktu@gmail.com>
2829
2830 * printing.el (pr-mode-alist):
2831 * simple.el (filter-buffer-substring-functions)
2832 (completion-list-insert-choice-function):
2833 * window.el (window-with-parameter, window-atom-root)
2834 (window-sides-slots, window-size-fixed, window-min-delta)
2835 (window-max-delta, window--resize-mini-window)
2836 (window--resize-child-windows-normal, window-tree)
2837 (delete-other-windows, quit-window, split-window)
2838 (display-buffer-record-window, special-display-buffer-names)
2839 (special-display-regexps, special-display-popup-frame)
2840 (same-window-p, split-window-sensibly)
2841 (display-buffer-overriding-action, display-buffer-alist)
2842 (display-buffer-base-action, display-buffer, switch-to-buffer)
2843 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2844 (fit-window-to-buffer, recenter-positions)
2845 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2846 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2847 and remove unneeded backslashes in docstrings.
2848
39c9faef
SM
28492011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2850
98449af8
SM
2851 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2852
39c9faef
SM
2853 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2854 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2855 end in ".mk".
2856 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2857 when reading the makefile (bug#10116).
2858
86ed9fdc
SM
28592011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2860
2861 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2862 (bug#10116).
2863
5580f89d
GM
28642011-12-06 Glenn Morris <rgm@gnu.org>
2865
2866 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2867
28d3917c
CY
28682011-12-06 Chong Yidong <cyd@gnu.org>
2869
2870 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2871
a98edce9
JB
28722011-12-06 Juanma Barranquero <lekktu@gmail.com>
2873
2874 * textmodes/table.el (table-shorten-cell): Fix typo.
2875
e65adfac
CG
28762011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2877
2878 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2879
71cc0b74
EZ
28802011-12-05 Eli Zaretskii <eliz@gnu.org>
2881
2882 * descr-text.el (describe-char): Fix display of strong
2883 right-to-left characters and directional embeddings and overrides.
2884
2885 * simple.el (what-cursor-position): Fix display of codepoints of
2886 strong right-to-left characters.
2887
315bc30d
CY
28882011-12-05 Chong Yidong <cyd@gnu.org>
2889
2890 * faces.el (read-color): Doc fix.
2891
58a70b94
GM
28922011-12-05 Glenn Morris <rgm@gnu.org>
2893
2894 * align.el (align--set-marker): Add doc-string.
2895 Don't try to move something that is not a marker. (Bug#10216)
2896
5158face
GM
28972011-12-04 Glenn Morris <rgm@gnu.org>
2898
2899 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2900 overly zealous deletion of trailing whitespace.
2901
520fca41
JB
29022011-12-04 Juanma Barranquero <lekktu@gmail.com>
2903
2904 * server.el (server-delete-client): On Windows, do not try to delete
2905 the only terminal.
2906 (server-process-filter): On Windows, treat requests for a tty frame as
2907 if they were for a GUI frame if the running server is in GUI mode.
2908
5e605a2e
GM
29092011-12-03 Glenn Morris <rgm@gnu.org>
2910
2911 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2912
5c3fe83f
SM
29132011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2914
6f5e57e7
SM
2915 * electric.el: Streamline electric-indent's hook.
2916 (electric-indent-chars): Revert to simple list.
2917 (electric-indent-functions): New var.
2918 (electric-indent-post-self-insert-function): Use it.
2919
5c3fe83f
SM
2920 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2921 there's no inferior buffer (bug#10196).
2922 (prolog-consult-compile): Don't use toggle-read-only.
2923
6bdac736
MA
29242011-12-02 Michael Albinus <michael.albinus@gmx.de>
2925
2926 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2927 interrupt. (Bug#10187)
2928
6131ba7f
SM
29292011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2930
99c79fee
SM
2931 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2932 (bug#9160).
2933
6131ba7f
SM
2934 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2935 (bug#10191).
2936
cb0a02ea
JL
29372011-12-02 Juri Linkov <juri@jurta.org>
2938
2939 * info.el (Info-search): Display "end of manual" when Isearch
2940 reaches the end of single-file Info manual. (Bug#9918)
2941
66e0570c
EZ
29422011-12-02 Eli Zaretskii <eliz@gnu.org>
2943
2944 * isearch.el (isearch-message-prefix): Run the input method part
2945 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2946
02b16839
JL
29472011-12-02 Juri Linkov <juri@jurta.org>
2948
2949 * isearch.el (isearch-occur): Use `word-search-regexp' for
2950 `isearch-word'.
2951 (isearch-search-and-update): Add condition for `isearch-word' and
2952 call `word-search-regexp'. (Bug#10145)
2953
0b950688
GM
29542011-12-01 Glenn Morris <rgm@gnu.org>
2955
2956 * eshell/em-hist.el (eshell-hist-initialize):
2957 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 2958 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 2959
9505c3c7
SM
29602011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2961
2962 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2963
1bbe96b2 29642011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 2965
a1beca85
SM
2966 * progmodes/verilog-mode.el (verilog-pretty-expr):
2967 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
2968 verilog, such as += *= and the like.
2969 (verilog-assignment-operator-re): Regular expression to find the
2970 assigment operator in a verilog assignment.
2971 (verilog-assignment-operation-re): Regular expression to find an
2972 assignment statement for pretty-expr.
2973 (verilog-in-attribute-p): Query returns true if point is in an
2974 attribute context; used to skip these for expression line up from
2975 pretty-expr.
2976 (verilog-in-parameter-p): Query returns true if point is in an
2977 parameter definition context; used to skip these for expression
2978 line up from pretty-expr.
2979 (verilog-in-parenthesis-p): Query returns true if point is in a
2980 parenthetical expression, specifically ( ) but not [ ] or { };
2981 used by pretty-expr.
2982 (verilog-just-one-space): If there is no space, don't add one.
2983 (verilog-get-lineup-indent-2): Specifically skip just attribute
2984 contexts for expression lineup, rather than skipping all
2985 parenthetical expressions.
2986 (verilog-calculate-indent): Fix comment, and fix indent.
2987 (verilog-do-indent): Indent declarations in lists (suggested by
2988 Joachim Lechner).
2989 (verilog-mode-abbrev-table): Populate abbrev mode with the various
2990 skeleton items.
2991 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2992 by Alain Mellan).
2993
1bbe96b2 29942011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
2995
2996 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2997 parameters with embedded comments. Reported by Ray Stevens.
2998 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2999 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3000 Reported by Tim Holt.
3001 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3002 instantiated by upper module causing wrong expansion until AUTOed a
3003 second time. Reported by K C Buckenmaier.
3004 (verilog-diff-auto): Fix showing .* as a difference when
3005 `verilog-auto-star-save' off. Reported by Dan Dever.
3006 (verilog-auto-reset, verilog-read-always-signals)
3007 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3008 temporary signals in reset list if
3009 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
3010 style to each signal's assignment type, bug381.
3011 Reported by Thomas Esposito.
6288f0ca
WS
3012 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3013 (verilog-uvm-statement-re): Support UVM indentation and
3014 highlighting, with old OVM keywords only.
a1beca85 3015 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
3016 Support AUTOTIEOFF creating non-wire data types.
3017 Suggested by Jonathan Greenlaw.
6288f0ca
WS
3018 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3019 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3020 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
3021 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3022 Fix mismatching parenthesis inside commented out code when deleting
382c953b 3023 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
3024 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3025 non-numeric vector width. Reported by Alex Reed.
3026 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 3027 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
3028 (verilog-auto-delete-trailing-whitespace):
3029 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
3030 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3031 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3032 Fix verilog-scan-cache corruption when running user AUTO expansion
3033 hooks that call indentation routines.
3034 (verilog-simplify-range-expression): Fix typo ignoring lower case
3035 identifiers.
3036 (verilog-delete-auto): Fix delete-autos to also remove user created
3037 automatics, as long as they start with AUTO.
3038 (verilog-batch-diff-auto, verilog-diff-auto)
3039 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3040 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3041 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3042 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
3043 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3044 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
3045 is disabled and its cache will get corrupt, causing AUTOS not to
3046 expand. Instead use only -quick functions.
3047 (verilog-scan-region): Fix scanning over escaped quotes.
3048 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3049 (verilog-re-search-backward-quick)
3050 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3051 related functions now ignore strings, to fix misparsing of strings
3052 with magic comments embedded in them.
a1beca85
SM
3053 (verilog-read-auto-template):
3054 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3055 Reported by Brad Dobbie.
3056 (verilog-read-auto-template):
3057 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 3058 Reported by Brad Dobbie.
6288f0ca
WS
3059 (verilog-auto-inst, verilog-auto-inst-param)
3060 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3061 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3062 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
3063 debugging templates without merge conflicts, bug357.
3064 Reported by Brad Dobbie.
3065 (verilog-read-auto-template):
3066 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
3067 Reported by Brad Dobbie.
3068 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3069 abbrevs so user won't be asked to save.
3070 (verilog-read-auto-lisp-present): Fix to start at beginning of
3071 buffer in case called outside of verilog-auto.
3072 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3073 to "X-2". Reported by Matthew Myers.
3074 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3075 all inputs from module templates. Reported by Leith Johnson.
3076 (verilog-module-inside-filename-p): Fix locating programs as with
3077 modules.
3078 (verilog-auto-inst-port): Fix vl-width expressions when using
3079 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3080 (verilog-decls-get-regs, verilog-decls-get-signals,
3081 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3082 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3083 verilog-read-decls): Combine reg and wire structures into one var
3084 structure to represent SystemVerilog concepts.
3085 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3086 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
3087 (verilog-auto-wire-type, verilog-insert-definition):
3088 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
3089 SystemVerilog "logic" keyword instead of "wire"/"reg".
3090 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3091 to declares outputs that also have assignments (presumably in an
a1beca85
SM
3092 ifdef or generate if so there's not a driver conflict).
3093 Reported by Matthew Myers.
3094 (verilog-auto-declare-nettype, verilog-insert-definition):
3095 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
3096 `default_nettype none. Reported by Julian Gorfajn.
3097 (verilog-read-always-signals-recurse, verilog-read-decls)
3098 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3099 malformed end statement, bug325. Reported by Joshua Wise and
3100 Andrew Drake.
3101 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3102 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
3103 when expanding .* in interfaces, bug320.
3104 Reported by Pierre-David Pfister.
6288f0ca 3105 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
3106 name and open parenthesis, bug317.
3107 Reported by Pierre-David Pfister.
6288f0ca
WS
3108 (verilog-simplify-range-expression): Fix simplification of
3109 multiplications inside AUTOWIRE connections, bug303.
3110 (verilog-auto-inst-port): Support parameter expansion in
3111 multidimensional arrays.
3112 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3113 after "assert property". Reported by Julian Gorfajn.
3114 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3115 with multiplication, bug303.
3116 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3117 Reported by Jan Frode Lonnum.
3118
1bbe96b2
GM
31192011-11-30 Juanma Barranquero <lekktu@gmail.com>
3120
3121 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3122 (hfy-shell-file-name, hfy-shell):
3123 * international/fontset.el (x-decompose-font-name): Fix typos.
3124
31252011-11-29 Ken Brown <kbrown@cornell.edu>
3126
3127 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3128 (gdb-version): Remove defvar.
3129 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3130 (gdb-gud-context-command, gdb-non-stop-handler)
3131 (gdb-current-context-command, gdb-stopped): Use it.
3132 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
3133 (gdb-non-stop-handler): Don't enable pretty-printing here.
3134 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
3135 non-stop mode. Use the following.
3136 (gdb-check-target-async): New defun.
3137 (gud-watch, gdb-stopped): Fix whitespace.
3138 (gdb-get-source-file): Don't try to display the source file if
3139 `gdb-main-file' is nil.
3140
31412011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3142
3143 * align.el: Try to generate fewer markers (bug#10047).
3144 (align--set-marker): New macro.
3145 (align-region): Use it.
3146
c935221f
SM
31472011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3148
3149 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3150
e70b5064
CY
31512011-11-29 Chong Yidong <cyd@gnu.org>
3152
3153 * indent.el (indent-for-tab-command, indent-according-to-mode):
3154 Doc fix.
3155 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3156
f3af92b7
MA
31572011-11-29 Michael Albinus <michael.albinus@gmx.de>
3158
3159 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3160 aware of remote file names. (Bug#10124)
3161
ed472be9
CY
31622011-11-29 Chong Yidong <cyd@gnu.org>
3163
3164 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3165
24510c22
SM
31662011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3167
3168 * files.el (find-file): Don't use force-same-window (bug#10144).
3169 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3170 use pop-to-buffer if the selected window can't be used.
3171 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3172
c60c3703
EZ
31732011-11-28 Eli Zaretskii <eliz@gnu.org>
3174
3175 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3176 special-mode-map.
3177
e95def75
CY
31782011-11-28 Chong Yidong <cyd@gnu.org>
3179
3180 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3181
c3f1c606
NR
31822011-11-27 Nick Roberts <nickrob@snap.net.nz>
3183
3184 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3185 gdb-get-source-file-list on gdb-create-source-file-list.
3186
00db469c
EZ
31872011-11-26 Eli Zaretskii <eliz@gnu.org>
3188
3189 * whitespace.el (whitespace-newline): Use a different foreground
3190 color for 16-color light-background displays.
3191
4ad3bc2a
CY
31922011-11-24 Chong Yidong <cyd@gnu.org>
3193
3194 * window.el (display-buffer--special-action): Doc fix.
3195
e9fce1ac
JB
31962011-11-25 Juanma Barranquero <lekktu@gmail.com>
3197
3198 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3199 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3200 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3201 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3202 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3203 (avl-tree-stack-first):
3204 * emacs-lisp/cconv.el (cconv--analyse-use):
3205 * net/gnutls.el (gnutls-negotiate): Fix typos.
3206
cb825e5d
GM
32072011-11-24 Glenn Morris <rgm@gnu.org>
3208
3adbe224
GM
3209 * lpr.el (lpr-windows-system, lpr-lp-system):
3210 * mail/binhex.el (binhex-begin-line):
3211 * progmodes/grep.el (grep-history, grep-find-history):
3212 * textmodes/flyspell.el:
3213 * vc/pcvs-defs.el (cvs-global-menu):
3214 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3215 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3216 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3217
321decc8
GM
3218 * net/tls.el: Fix case of "GnuTLS".
3219
420b63ad
GM
3220 * paths.el (rmail-file-name): Format doc-string for make-docfile.
3221
cb825e5d
GM
3222 * version.el (emacs-build-system): Give it a doc-string.
3223
a0649f08
JL
32242011-11-24 Juri Linkov <juri@jurta.org>
3225
3226 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3227
c0bc0fd4
GM
32282011-11-24 Glenn Morris <rgm@gnu.org>
3229
3230 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3231 if called on a non-mime message just toggle the headers. (Bug#8006)
3232
20db1522
JB
32332011-11-24 Juanma Barranquero <lekktu@gmail.com>
3234
3235 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3236 (allout-lead-with-comment-string, allout-structure-deleted-hook)
3237 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3238 (allout-rebullet-heading, allout-open-sibtopic)
3239 (allout-toggle-current-subtree-encryption)
3240 (allout-toggle-subtree-encryption, allout-encrypt-string)
3241 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3242 (allout-distinctive-bullets-string, allout-auto-activation):
3243 * window.el (window-normalize-buffer-to-display):
3244 * progmodes/verilog-mode.el (verilog-batch-indent):
3245 * textmodes/bibtex.el (bibtex-field-braces-opt)
3246 (bibtex-field-strings-opt):
3247 * vc/cvs-status.el (cvs-tree-merge):
3248 Fix typos.
3249
7262a87c
MA
32502011-11-23 Michael Albinus <michael.albinus@gmx.de>
3251
3252 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3253 `non-essential' to t, in order to avoid remote connections.
3254
283430a1
EZ
32552011-11-23 Eli Zaretskii <eliz@gnu.org>
3256
a1beca85
SM
3257 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3258 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
3259 case-insensitively.
3260
d2992a38
ML
32612011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3262
3263 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
3264
50419064
GM
32652011-11-23 Glenn Morris <rgm@gnu.org>
3266
da94eca1
GM
3267 * paths.el (rmail-file-name): Reformat the doc-string so that it
3268 is picked up.
3269
9aac4de2
GM
3270 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3271 (rmail-auto-file): Ignore case in the "special" field names,
3272 as mail-fetch-field does for all others.
3273
8038d2d2
GM
3274 * mail/rmail.el (rmail-forward):
3275 * mail/rmailkwd.el (rmail-set-label):
3276 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3277 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
3278
f3fe222a
GM
3279 * mail/rmail.el (rmail-current-message): Doc fix.
3280
50419064
GM
3281 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
3282
28109f49
SM
32832011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3284
3285 * server.el (server-eval-and-print): Allow C-g (bug#6585).
3286
394c65f1
GM
32872011-11-22 Glenn Morris <rgm@gnu.org>
3288
3289 * mail/rmailmm.el (test-rmail-mime-handler)
3290 (test-rmail-mime-bulk-handler)
3291 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3292
f2a0aa3a
JL
32932011-11-21 Juri Linkov <juri@jurta.org>
3294
1154d12e
JB
3295 * calc/calc.el (calc-read-key-sequence):
3296 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 3297
9c34a344
LMI
32982011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3299
3300 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3301 Tell the caller that the next line needs recomputation, even
3302 though it doesn't start a sexp (bug#10094).
3303
f04a3be9
SM
33042011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3305
3306 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3307
7978747f
SM
33082011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3309
f04a3be9
SM
3310 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3311 Use force-same-window.
7978747f 3312
fe7a3057
JB
33132011-11-20 Juanma Barranquero <lekktu@gmail.com>
3314
3315 * descr-text.el (describe-char-unicode-data):
3316 * json.el (json-string-escape):
3317 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3318 (Footnote-unicode, Footnote-style-p):
3319 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3320
24901d61
CY
33212011-11-20 Chong Yidong <cyd@gnu.org>
3322
3323 * window.el (replace-buffer-in-windows): Restore interactive spec.
3324
bac7ff22
SM
33252011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3326
24f3d7b9
SM
3327 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3328
bac7ff22
SM
3329 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3330 (byte-compile-global-not-obsolete-vars): New var.
3331 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3332 Use it.
3333 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3334
cd1181db
JB
33352011-11-20 Juanma Barranquero <lekktu@gmail.com>
3336
3337 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3338 * progmodes/pascal.el (electric-pascal-equal):
3339 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3340 * xml.el (xml-substitute-special): Fix typos.
3341
7fb18e9e
GM
33422011-11-20 Glenn Morris <rgm@gnu.org>
3343
3344 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3345 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3346 Doc fixes.
3347 (rmail-decode-mime-charset): Mark as obsolete.
3348
3349 * mail/rmailsum.el (rmail-message-regexp-p-1):
3350 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3351 Before using mime functions, check they are set. (Bug#10077)
3352
d5a6b3ba
JL
33532011-11-19 Juri Linkov <juri@jurta.org>
3354
3355 * info.el (Info-finder-find-node): Use `package--builtins' instead
3356 of `package-alist'. Use node names formed by the pattern "Keyword "
3357 and the keyword name.
3358
e981b61f
AS
33592011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3360
1d00653d 3361 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 3362
3ffbc301
JL
33632011-11-19 Juri Linkov <juri@jurta.org>
3364
3365 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3366 that calls `revert-buffer' on all Info buffers. (Bug#9915)
3367 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3368 `old-history', `old-history-forward'. Add let-binding
3369 `window-selected'. Remove calls to `kill-buffer',
3370 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
3371 before calling `Info-find-node', so `Info-find-node-2' will reread
3372 the Info file. Restore window positions only when `window-selected'
3373 is non-nil.
3374
30c62133
JL
33752011-11-19 Juri Linkov <juri@jurta.org>
3376
3377 * isearch.el (isearch-lazy-highlight-new-loop):
3378 Remove condition `(not isearch-error)'. (Bug#9918)
3379
3380 * misearch.el (multi-isearch-search-fun): Add condition
3381 `(not bound)' to ignore lazy-highlighting search.
3382 Add the search-failed message "end of multi" when the end of
3383 multi-sequence is reached. Uncapitalize the search-failed
3384 message "Repeat for next buffer".
3385
3386 * info.el (Info-search): Add the search-failed message
3387 "end of the manual" when the end of the manual is reached
3388 in Isearch mode.
3389
645ca9cf
JL
33902011-11-19 Juri Linkov <juri@jurta.org>
3391
3392 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3393 Use non-destructive `remove' instead of `delete' because
3394 `Info-history-list' stored to `Info-isearch-initial-history-list' in
3395 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3396
df754f66
JL
33972011-11-19 Juri Linkov <juri@jurta.org>
3398
3399 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3400 to nil instead of binding `search-ring' and `regexp-search-ring'.
3401 (Bug#9185)
3402
0e23d96a
EZ
34032011-11-19 Eli Zaretskii <eliz@gnu.org>
3404
3405 * simple.el (line-move): Force movement by logical lines for any
3406 hscrolled window, not only when auto-hscroll-mode is on.
3407 (line-move-visual): Update doc string to that effect. (Bug#10076)
3408
8a6ccb66
AS
34092011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3410
3411 * language/european.el (macintosh): Define as alias for mac-roman.
3412
49ae5b39
EZ
34132011-11-19 Eli Zaretskii <eliz@gnu.org>
3414
3415 * mail/rmailmm.el (rmail-mime-display-header)
3416 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3417 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3418 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3419 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3420 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3421 of a raw aref.
3422 (rmail-mime-entity-segment): To get past the tagline, move forward
3423 2 more lines, to account for the 2 empty lines that precede and
3424 follow the line with the buttons.
3425 (rmail-mime-update-tagline): Move one more line, to get past the
3426 empty line that follows the buttons in the tagline. (Bug#9520)
3427
c56cad4a
MR
34282011-11-19 Martin Rudalics <rudalics@gmx.at>
3429
3430 * window.el (window-max-delta-1, window-min-delta-1)
3431 (window-min-size-1, window-state-get-1, window-state-put-1)
3432 (window-state-put-2): Use "window--" prefix.
3433
cbe71af3
SM
34342011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3435
2ad52c60
SM
3436 * emacs-lisp/smie.el: Improve warnings and conflict detection.
3437 (smie-warning-count): New var.
3438 (smie-set-prec2tab): Use it.
3439 (smie-bnf->prec2): Improve warnings. Add docstring.
3440 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3441 (smie-bnf--set-class): New function.
3442 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
3443 corner case.
3444
6944dbc1
SM
3445 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3446 (compilation-error-properties, compilation-move-to-column):
3447 Handle compilation-first-column while in the target buffer.
3448
c400c4d7
SM
3449 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3450 Don't hardcode point-min==1.
3451
6dbe3e96
SM
3452 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3453 (eshell-rewrite-for-command): Remove workaround.
3454 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3455 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3456 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3457
cbe71af3
SM
3458 * files-x.el (modify-file-local-variable): Obey commenting conventions.
3459
a8e1496d
GM
34602011-11-17 Glenn Morris <rgm@gnu.org>
3461
3462 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3463 Ignore buffer-local generated-autoload-file if it is the same
3464 as the global value. (Bug#10049)
3465
df85d315
JB
34662011-11-17 Juanma Barranquero <lekktu@gmail.com>
3467
3468 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3469 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3470 (reftex-toc-previous-heading, reftex-toc-max-level)
3471 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3472 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3473 (reftex-toc-do-promote, reftex-toc-promote-prepare)
3474 (reftex-toc-promote-action, reftex-toc-extract-section-number)
3475 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3476 (reftex-toc-rename-label, reftex-toc-visit-location)
3477 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3478 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3479 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3480 leaving "*toc*" only for references to the buffer.
3481
a0c2d0ae
MR
34822011-11-17 Martin Rudalics <rudalics@gmx.at>
3483
3484 * window.el (window-resize, delete-window, split-window):
3485 Replace window-splits by window-combination-resize.
1d00653d 3486 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 3487
35c0bac8
GM
34882011-11-17 Glenn Morris <rgm@gnu.org>
3489
3490 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3491 Make bash entry derive from sh entry, not shell entry.
3492
d0c8fc8a
MA
34932011-11-16 Michael Albinus <michael.albinus@gmx.de>
3494
d0c8fc8a
MA
3495 * net/tramp-cache.el (tramp-flush-file-property): Flush also
3496 properties of linked files. (Bug#9879)
3497
7262a87c
MA
3498 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3499 local file name.
3500
7877f373
JB
35012011-11-16 Juanma Barranquero <lekktu@gmail.com>
3502
3503 * menu-bar.el (menu-bar-file-menu):
3504 * printing.el (pr-ps-utility):
3505 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3506 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3507 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3508 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3509 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3510 (icalendar--convert-cyclic-to-ical)
3511 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3512 (icalendar--convert-ical-to-diary)
3513 (icalendar--convert-recurring-to-diary)
3514 (icalendar--convert-non-recurring-all-day-to-diary)
3515 (icalendar-import-format-sample):
3516 * progmodes/idlw-shell.el (idlwave-shell-mode):
3517 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3518 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3519 (vhdl-ps-print-init): Fix typos.
3520
10649b82
KM
35212011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
3522
9d0cfcd6
GM
3523 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3524 FSF and collapse date sequence, obscure author/maintainer email address
3525 better, remove extra version line, track relocation of author's webpage.
10649b82 3526
9d0cfcd6
GM
3527 * progmodes/python.el (python-pdbtrack-input-prompt)
3528 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3529 regular python pdb prompts. Adjustments shamelessly taken exactly as
3530 suggested in EmacsWiki page (tiny change):
3531 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 3532
58179cce
JB
35332011-11-16 Juanma Barranquero <lekktu@gmail.com>
3534
3535 * expand.el (expand-pos, expand-index, expand-point):
3536 Remove redundant info from docstring.
3537 (expand-add-abbrevs): Doc fix.
3538 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3539 (expand-sample-perl-mode-expand-list): Fix typos.
3540
3541 * net/dbus.el (dbus-event-member-name):
3542 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3543 * term/pc-win.el (msdos-create-frame-with-faces):
3544 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3545
b6f67890
MR
35462011-11-16 Martin Rudalics <rudalics@gmx.at>
3547
3548 * window.el (split-window, window-state-get-1)
3549 (window-state-put-1, window-state-put-2): Rename occurrences of
3550 window-nest to window-combination-limit.
1d00653d 3551 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 3552
ce7ddba0
CY
35532011-11-16 Chong Yidong <cyd@gnu.org>
3554
3555 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3556 regexp (Bug#10033).
3557
3ae704f4
SM
35582011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3559
3560 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3561 `completing-read' will remove *Completions* and will preserve
3562 current-buffer for us.
3563 (tmm-add-prompt): Users of *Completions* will always (re)set its
3564 major mode.
3565 (tmm-old-comp-map): Remove.
3566
6ad1cdde
GM
35672011-11-16 Glenn Morris <rgm@gnu.org>
3568
3569 * mail/rmailedit.el: Require rmailmm when compiling.
3570 (rmail-old-mime-state): New declaration.
3571 (rmail-edit-current-message): If editing a mime message,
3572 edit the "raw" message from the mbox buffer.
3573 (rmail-cease-edit): Handle mime messages. (Bug#9840)
3574
d20faa20
GM
35752011-11-15 Glenn Morris <rgm@gnu.org>
3576
3577 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3578 which wasn't being used. Add optional arg to force given state.
3579 (rmail-mime): Add optional arg to force given state.
3580
c7015153
JB
35812011-11-15 Juanma Barranquero <lekktu@gmail.com>
3582
3583 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3584 * frame.el (display-mm-dimensions-alist):
3585 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3586 (outline-move-subtree-down):
3587 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3588 (newsticker--treeview-do-get-node):
3589 * net/quickurl.el (quickurl-list-buffer-name):
3590 * progmodes/dcl-mode.el (dcl-mode):
3591 * progmodes/gdb-mi.el (gdb-mapcar*):
3592 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3593
45261b50
GM
35942011-11-15 Glenn Morris <rgm@gnu.org>
3595
3596 * mail/rmail.el (rmail-file-coding-system): It's only ever used
3597 in a boolean sense, so just make it a boolean, and fix the doc.
3598 (rmail-show-mime-function, rmail-mime-feature)
3599 (rmail-require-mime-maybe): Doc fixes.
3600 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3601
3602 * mail/rmailmm.el (rmail-show-mime): Doc fix.
3603
0d26e0b6
JB
36042011-11-15 Juanma Barranquero <lekktu@gmail.com>
3605
3606 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3607 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3608 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3609 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3610
447f30f6
GM
36112011-11-15 Glenn Morris <rgm@gnu.org>
3612
672b871d
GM
3613 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3614 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3615 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3616 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3617 (rmail-mime, rmail-show-mime): Doc fixes.
3618
f6aa5bb1
GM
3619 * term/ns-win.el (mode-line-frame-identification):
3620 Leave it alone. (Bug#10051)
3621
947cd66b
GM
3622 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3623
447f30f6
GM
3624 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3625 Handle empty buffers. (Bug#9978)
3626
0b381c7e
JB
36272011-11-14 Juanma Barranquero <lekktu@gmail.com>
3628
3629 * international/mule.el (define-charset):
3630 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3631 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3632 * progmodes/verilog-mode.el (verilog-backward-token):
3633 * textmodes/ispell.el (lookup-words):
3634 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3635
71e027ac
GM
36362011-11-14 Glenn Morris <rgm@gnu.org>
3637
56632ce4
GM
3638 * progmodes/executable.el
3639 (executable-make-buffer-file-executable-if-script-p):
3640 Handle file-modes returning nil.
3641
40500957
GM
3642 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3643 message - not necessary, and causes problems. (Bug#9831)
3644
071c2340
GM
3645 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3646
d3cfca60
GM
3647 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3648
71e027ac
GM
3649 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3650 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
3651 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3652
89d61221
MR
36532011-11-12 Martin Rudalics <rudalics@gmx.at>
3654
3655 * window.el (window-resize, delete-window): Use window-splits
3656 variable instead of function.
3657 (window-state-get-1, window-state-put-2, window-state-put):
3658 Don't deal with windows' splits status.
3659
98282f6f
GM
36602011-11-12 Glenn Morris <rgm@gnu.org>
3661
3662 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3663 (apropos-documentation): Doc fixes.
3664
40a8bdf6
JB
36652011-11-11 Juanma Barranquero <lekktu@gmail.com>
3666
3667 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3668 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3669
65bd19ff
SM
36702011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3671
3672 * electric.el (electric-indent-post-self-insert-function): Make it
3673 possible for a char to only indent in some circumstances.
3674 (electric-indent-mode): Simplify.
3675
54f9154c
MR
36762011-11-11 Martin Rudalics <rudalics@gmx.at>
3677
3678 * window.el (windows-with-parameter): Remove unused function.
3679 (windows-at-side): Rename to window-at-side-list.
3680 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
3681 (window-side-check, window-size-ignore, window-size-fixed-1)
3682 (window-in-direction-2): Prefix with "window--".
3683 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 3684
68cbc58b
GM
36852011-11-11 Glenn Morris <rgm@gnu.org>
3686
3687 * subr.el (eval-after-load): If FILE is already loaded,
3688 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3689
b2621720
GM
36902011-11-10 Glenn Morris <rgm@gnu.org>
3691
9a4de110
GM
3692 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3693 Call svn via vc-svn-command rather than vc-do-command.
3694 (vc-svn-command): Add --non-interactive. (Bug#9993)
3695 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3696
b2621720
GM
3697 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3698 Add toggle-read-only. (Bug#7292)
3699 * files.el (toggle-read-only): Mention that it should only
3700 be used interactively. (Bug#10006)
3701
1dce7193
SM
37022011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3703
d9ac1a1e
SM
3704 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3705 Adjust regexp for OCaml warnings.
3706
0c325082
SM
3707 * electric.el (electric-pair-post-self-insert-function): Let user
3708 turn it off buffer-locally (bug#9932).
3709
90132c14
SM
3710 * progmodes/python.el (python-beginning-of-statement):
3711 Rewrite (bug#2703).
3712
1dce7193
SM
3713 * progmodes/compile.el: Better handle TABs (bug#9749).
3714 (compilation-internal-error-properties)
3715 (compilation-next-error-function): Obey the target buffer's
3716 compilation-error-screen-columns.
3717
c4e7c63a
JB
37182011-11-09 Juanma Barranquero <lekktu@gmail.com>
3719
3720 * progmodes/meta-mode.el: Remove obsolete comments.
3721 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3722 Fix typos in docstrings.
3723
2cffd681
MR
37242011-11-09 Martin Rudalics <rudalics@gmx.at>
3725
3726 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 3727 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
3728 (window--resizable): New function. Make all callers of
3729 window-resizable call window--resizable instead.
3730 (window-resizable): Rewrite in terms of window--resizable.
3731
0edcba87
GM
37322011-11-08 Glenn Morris <rgm@gnu.org>
3733
3734 * progmodes/delphi.el (delphi-mode-syntax-table):
3735 Let define-derived-mode define a proper syntax table. (Bug#9994)
3736
4b0d61e3
SM
37372011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3738
3739 * window.el: Stay away from defsubst.
3740 (window-list-no-nils): Remove.
3741 (window-state-get-1, window-state-get): Use backquote instead.
3742
cd394be1 37432011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 3744
4b0d61e3 3745 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 3746 Fix incorrect use of default argument in `completing-read'.
3747
e1c2c6f2
MR
37482011-11-08 Martin Rudalics <rudalics@gmx.at>
3749
3750 * window.el (display-buffer-function, special-display-function):
3751 Mention display-buffer-record-window but do not mention
3752 help-setup parameter in doc-strings.
b3f4a882 3753 (window-min-delta): Fix doc-string typo.
e1c2c6f2 3754
105216ed
CY
37552011-11-08 Chong Yidong <cyd@gnu.org>
3756
3757 * window.el (window-total-height, window-total-width): Doc fix.
3758 (window-body-size): Move from C.
3759 (window-body-height, window-body-width): Move to C.
3760
0a9f9ab5
SM
37612011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3762
3763 * window.el: Make special-display like display-buffer-alist (bug#9532).
3764 (display-buffer--special-action): New function, morphed
3765 from display-buffer--special.
3766 (display-buffer): Use it to handle special-display-buffers at higher
3767 priority (just after display-buffer-alist).
3768 (display-buffer-fallback-action, display-buffer--other-frame-action)
3769 (pop-to-buffer-same-window): Remove display-buffer--special.
3770
a769dd15
GM
37712011-11-07 Glenn Morris <rgm@gnu.org>
3772
3773 * calendar/cal-menu.el (cal-menu-set-date-title):
3774 Do nothing if not in a calendar. (Bug#9976)
3775
05a61ee3
SM
37762011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3777
3778 * files.el (find-file): Always use selected-window.
3779
be7f5545
MR
37802011-11-07 Martin Rudalics <rudalics@gmx.at>
3781
3782 * window.el (window-combinations): Make WINDOW argument
3783 mandatory. Rewrite doc-string.
3784 (walk-window-subtree, window-atom-check, window-min-delta)
3785 (window-max-delta, window--resize-this-window)
3786 (window--resize-root-window-vertically, window-tree)
3787 (balance-windows, window-state-put): Rewrite doc-strings as to
3788 not mention the term "subwindow".
3789 (window--resize-subwindows-skip-p): Rename to
3790 window--resize-child-windows-skip-p.
3791 (window--resize-subwindows-normal): Rename to
3792 window--resize-child-windows-normal.
3793 (window--resize-subwindows): Rename to
3794 window--resize-child-windows.
3795 (window-or-subwindow-p): Rename to window--in-subtree-p.
3796
3c6702ef
ML
37972011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3798
3799 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3800 Ensure that mbox format messages end in two newlines (Bug#9974).
3801
49745b39
CY
38022011-11-06 Chong Yidong <cyd@gnu.org>
3803
3804 * window.el (window-combination-p): Function deleted; its
3805 side-effect is not used in any existing code.
3806 (window-combinations, window-combined-p): Call window-*-child
3807 directly.
3808
24300f5f
CY
38092011-11-05 Chong Yidong <cyd@gnu.org>
3810
3811 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
3812 (window-size-ignore, window-state-get): Callers changed.
3813 (window-normalize-window): Rename from window-normalize-any-window.
3814 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 3815 (window-normalize-live-window): Delete.
447f16b8
CY
3816 (window-combination-p, window-combined-p, window-combinations)
3817 (walk-window-subtree, window-atom-root, window-min-size)
3818 (window-sizable, window-sizable-p, window-size-fixed-p)
3819 (window-min-delta, window-max-delta, window-resizable)
3820 (window-resizable-p, window-full-height-p, window-full-width-p)
3821 (window-current-scroll-bars, window-point-1, set-window-point-1)
3822 (window-at-side-p, window-in-direction, window-resize)
3823 (adjust-window-trailing-edge, maximize-window, minimize-window)
3824 (window-deletable-p, delete-window, delete-other-windows)
3825 (record-window-buffer, unrecord-window-buffer)
3826 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3827 (quit-window, split-window, window-state-put)
3828 (set-window-text-height, fit-window-to-buffer)
3829 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 3830
89bd5ee1
EZ
38312011-11-04 Eli Zaretskii <eliz@gnu.org>
3832
53479029
EZ
3833 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3834 rfc2047-decode-string.
3835 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3836 warnings.
3837
89bd5ee1
EZ
3838 * window.el (window-body-height, window-body-width): Mention in
3839 the doc string that the return values are in frame's canonical
3840 units. (Bug#9949)
3841
bd17fdee
AM
38422011-11-03 Alan Mackenzie <acm@muc.de>
3843
3844 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3845 change in cc-engine.el.
3846
acc825c5
SM
38472011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3848
3849 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3850
1885e5b8
MR
38512011-11-02 Martin Rudalics <rudalics@gmx.at>
3852
3853 * window.el (quit-window): Call unrecord-window-buffer after
3854 showing another buffer in the window. (Bug#9937)
acc825c5 3855 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 3856
ebe06da9
JB
38572011-11-02 Juanma Barranquero <lekktu@gmail.com>
3858
3859 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3860 Accept status with more than 9 shelves. (Bug#9935)
3861 Reported by Colin D Bennett <colin@gibibit.com>.
3862
4ee88440
MR
38632011-11-01 Martin Rudalics <rudalics@gmx.at>
3864
3865 * help.el (with-help-window): Don't reference
3866 temp-buffer-show-specifiers in doc-string.
3867
08e1d82c
AS
38682011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3869
3870 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3871 menu-item.
3872
84bd6e9e
VJL
38732011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3874
3875 * whitespace.el: New version 13.2.2.
3876 (whitespace-newline-mode): Disable properly. Reported by Sarah
3877 <EmacsWiki>.
3878
dba0634a
UJ
38792011-10-30 Ulf Jasper <ulf.jasper@web.de>
3880
3881 * net/newst-treeview.el: Remove "Time-stamp".
3882 (newsticker--group-manage-orphan-feeds): Do not call
3883 newsticker--treeview-tree-update.
db22a3c2
JB
3884 (newsticker-treeview-update, newsticker-treeview):
3885 Call newsticker--treeview-tree-update if necessary.
dba0634a 3886
3d8daefe
MR
38872011-10-30 Martin Rudalics <rudalics@gmx.at>
3888
3889 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
3890 (window-iso-combinations): Remove "iso-" infix.
3891 Suggested by Chong Yidong.
3d8daefe
MR
3892 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3893 (window-max-delta-1, window-resize, window--resize-siblings)
3894 (window--resize-this-window, adjust-window-trailing-edge)
3895 (split-window, balance-windows-1)
3896 (shrink-window-if-larger-than-buffer):
3897 * calendar/calendar.el (calendar-generate-window):
db22a3c2 3898 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 3899
1bc4c3ae
SM
39002011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3901
3902 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3903 in place (bug#9907).
3904 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3905 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3906 (eshell-structure-basic-command, eshell-rewrite-while-command)
3907 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3908 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3909 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3910 (eshell-do-pipelines-synchronously, eshell-eval-command):
3911 Use backquotes and prefer setq to set.
3912 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3913 (eshell-macrop): Use functionp.
c1e2f5fa 3914 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 3915
30b65d9c
CY
39162011-10-30 Chong Yidong <cyd@gnu.org>
3917
3918 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3919 instead of set-mark (Bug#9810).
3920
2d197ffb
CY
39212011-10-30 Chong Yidong <cyd@gnu.org>
3922
3923 * window.el (split-window-below, split-window-right): Rename from
3924 split-window-above-each-other and split-window-side-by-side
3925 respectively. All callers changed.
3926 (split-window-sensibly, split-window-sensibly): Use them.
3927 (split-window-keep-point): Doc fix.
3928
3929 * isearch.el: Add isearch-scroll property to split-window-below
3930 and split-window-right.
3931
3932 * follow.el (follow-mode):
3933 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3934 * progmodes/ada-xref.el (ada-gdb-application):
3935 * emulation/vip.el (vip-buffer-in-two-windows):
3936 * image-dired.el (image-dired-dired-with-window-configuration):
3937 * dired-x.el (dired-do-find-marked-files):
3938 * dired.el (dired-pop-to-buffer):
3939 * bs.el (bs--show-with-configuration):
3940 * vc/emerge.el (emerge-setup-windows):
3941 * textmodes/two-column.el (2C-two-columns):
3942 * textmodes/reftex-toc.el (reftex-toc):
3943 * progmodes/gdb-mi.el (gdb-setup-windows):
3944 * progmodes/fortran.el (fortran-window-create):
3945 * net/newst-treeview.el (newsticker--treeview-window-init):
3946 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3947 * emulation/tpu-edt.el (tpu-gold-map):
3948 * emulation/crisp.el (crisp-mode-map):
3949 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3950
38bb2ca8
CY
39512011-10-29 Chong Yidong <cyd@gnu.org>
3952
aa4de341
CY
3953 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3954
e1eb5385
CY
3955 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3956
5d2ece3c
CY
3957 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3958 forged Ispell output (Bug#7904).
3959
38bb2ca8
CY
3960 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3961
d0af9f77
SM
39622011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3963
3964 * doc-view.el: Avoid ugly errors about not finding nil.
3965 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3966 (doc-view-dvipdf-program, doc-view-unoconv-program)
3967 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3968 Avoid nil or absolute file name as default value.
3969 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3970
52bedd34
AM
39712011-10-28 Alan Mackenzie <acm@muc.de>
3972
db22a3c2 3973 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 3974
7e43cfa5
AM
39752011-10-28 Alan Mackenzie <acm@muc.de>
3976
3977 Amend the handling of c-beginning/end-of-defun in nested declaration
3978 scopes.
3979
52bedd34
AM
3980 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3981 cc-langs.el. Change it to a defcustom.
7e43cfa5 3982
52bedd34
AM
3983 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3984 cc-vars.el.
7e43cfa5 3985
d0af9f77
SM
3986 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3987 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 3988
52bedd34 3989 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 3990 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
3991 (c-widen-to-enclosing-decl-scope): New function.
3992 (c-while-widening-to-decl-block): New macro.
3993 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3994 outward for defun boundaries, and correspondingly change symbol
3995 `respect-enclosure' to `go-outward'.
3996 (c-declaration-limits): Change algorithm to report only the "innermost"
3997 defun's boundaries.
3998
1a2ce9ee
DD
39992011-10-28 Deniz Dogan <deniz@dogan.se>
4000
4001 * net/rcirc.el (rcirc-mode): Use hard newlines.
4002
bc97a826
AM
40032011-10-28 Alan Mackenzie <acm@muc.de>
4004
4005 Amend to indent and fontify macros "which include their own semicolon"
4006 correctly, using the "virtual semicolon" mechanism.
4007
52bedd34 4008 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 4009
d0af9f77 4010 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 4011 Recode to scan one line at a time rather than having \n and \r
58179cce 4012 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 4013 (c-forward-label): Amend for virtual semicolons.
58179cce 4014 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 4015
52bedd34
AM
4016 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4017 of the new C macros.
bc97a826 4018
52bedd34 4019 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
4020 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4021 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
4022 (c-opt-cpp-macro-define): Make into a full language variable.
4023 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4024 AWK Mode (including \n, \r) removed, no longer needed.
4025
d0af9f77
SM
4026 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4027 Invoke c-make-macro-with-semi-re.
bc97a826 4028
52bedd34
AM
4029 * progmodes/cc-vars.el (c-macro-with-semi-re):
4030 (c-macro-names-with-semicolon): New variables.
58179cce 4031 (c-make-macro-with-semi-re): New function.
bc97a826 4032
7a6c0941
SM
40332011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4034
4035 * vc/log-edit.el: Fill empty field rather than adding new one.
4036 (log-edit-add-field): New function.
4037 (log-edit-insert-changelog): Use it.
4038
b0c4cdcf
ML
40392011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4040
4041 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4042
ee1f1da9
SM
40432011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4044
4045 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4046 (gdb--check-interpreter): New function.
4047 (gdb): Use it.
4048
51bc5f8b
GM
40492011-10-27 Glenn Morris <rgm@gnu.org>
4050
416a2c45
GM
4051 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4052 (least-positive-float, least-negative-float)
4053 (least-positive-normalized-float, least-negative-normalized-float)
4054 (float-epsilon, float-negative-epsilon):
4055 Remove unnecessary declarations.
4056
4057 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4058 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4059 (least-positive-float, least-negative-float)
4060 (least-positive-normalized-float, least-negative-normalized-float)
4061 (float-epsilon, float-negative-epsilon): Add doc-strings,
4062 based on those in cl.texi.
4063
51bc5f8b
GM
4064 * files.el (set-visited-file-name): If the major-mode changed,
4065 reload the local variables. (Bug#9796)
4066
15de15c6
CY
40672011-10-27 Chong Yidong <cyd@gnu.org>
4068
4069 * subr.el (change-major-mode-after-body-hook): New hook.
4070 (run-mode-hooks): Run it.
4071
ee1f1da9
SM
4072 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4073 Use change-major-mode-before-body-hook.
15de15c6
CY
4074
4075 * simple.el (fundamental-mode):
4076 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4077 change introducing fundamental-mode-hook.
4078
5430d399
JB
40792011-10-26 Juanma Barranquero <lekktu@gmail.com>
4080
acc825c5 4081 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 4082
ad74a69e
MA
40832011-10-26 Michael Albinus <michael.albinus@gmx.de>
4084
4085 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 4086 tramp.el explicitly. (Bug#7583)
ad74a69e 4087
71d4c2a5
SM
40882011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4089
4090 * progmodes/octave-mod.el:
4091 * progmodes/octave-inf.el: Update maintainer.
4092
b1f6fa26
CY
40932011-10-26 Chong Yidong <cyd@gnu.org>
4094
4095 * subr.el (with-wrapper-hook): Rewrite doc.
4096
3f04efd6
MA
40972011-10-25 Michael Albinus <michael.albinus@gmx.de>
4098
4099 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 4100 filenames "/method:foo:". (Bug#9793)
3f04efd6 4101
410488d3
SM
41022011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4103
4104 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4105 (bug#9865).
4106
c1ebb47e
GM
41072011-10-24 Glenn Morris <rgm@gnu.org>
4108
4109 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4110
7f5c46c7
MA
41112011-10-24 Michael Albinus <michael.albinus@gmx.de>
4112
4113 * notifications.el: Add the requirement of a running D-Bus session
4114 bus to the Commentary.
4115
db2440b6
JL
41162011-10-24 Juri Linkov <juri@jurta.org>
4117
4118 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4119 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4120 (Bug#9364)
4121
feecf435
JL
41222011-10-24 Juri Linkov <juri@jurta.org>
4123
4124 * info.el (Info-following-node-name-re): Add newline to the list
4125 of allowed characters for leading space. (Bug#9824)
4126
a3839de2
SM
41272011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4128
acc825c5
SM
4129 * progmodes/octave-inf.el (inferior-octave-mode-map):
4130 Fix C-c C-h binding.
a3839de2
SM
4131 * progmodes/octave-mod.el (octave-help): Remove.
4132
09388e76
MA
41332011-10-23 Michael Albinus <michael.albinus@gmx.de>
4134
4135 Sync with Tramp 2.2.3.
4136
4137 * net/tramp-cache.el (top): Pacify byte-compiler using
4138 `init-file-user' and `site-run-file'.
4139
4140 * net/trampver.el: Update release number.
4141
86c60681
CY
41422011-10-23 Chong Yidong <cyd@gnu.org>
4143
4144 * files.el (toggle-read-only): Remove obsolete comment about
4145 version control.
4146
4147 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4148 for toggle-read-only. Note that this hasn't called vc-next-action
4149 since 2008-05-02, though it wasn't documented at the time.
4150
a3839de2
SM
4151 * vc/ediff-init.el (ediff-toggle-read-only-function):
4152 Use toggle-read-only.
86c60681 4153
cd5495ff
AM
41542011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4155
4156 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4157 of c-parse-state.
4158
00b77525 4159 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 4160 correct faulty logical expression.
cd5495ff
AM
4161 (c-parse-state-state, c-record-parse-state-state):
4162 (c-replay-parse-state-state): New defvar/defuns.
4163 (c-debug-parse-state): Use new functions.
4164
42ee24ed
MR
41652011-10-22 Martin Rudalics <rudalics@gmx.at>
4166
4167 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 4168 last fix. Use window-in-direction correctly.
42ee24ed 4169
a7dee7e7
CY
41702011-10-21 Chong Yidong <cyd@gnu.org>
4171
4172 * progmodes/idlwave.el (idlwave-mode):
4173 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
4174 require-final-newline; that's done in prog-mode.
4175 Suggested by Stefan Monnier.
a7dee7e7 4176
e07b9a6d
MR
41772011-10-21 Martin Rudalics <rudalics@gmx.at>
4178
4179 * mouse.el (mouse-drag-window-above)
4180 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4181 (mouse-drag-mode-line-1, mouse-drag-header-line)
4182 (mouse-drag-vertical-line-rightward-window): Remove.
4183 (mouse-drag-line): New function.
4184 (mouse-drag-mode-line, mouse-drag-header-line)
4185 (mouse-drag-vertical-line): Call mouse-drag-line.
4186 * window.el (window-at-side-p, windows-at-side): New functions.
4187
7e1361d9
UM
41882011-10-21 Ulrich Mueller <ulm@gentoo.org>
4189
4190 * tar-mode.el (tar-grind-file-mode):
4191 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4192
30fcaf3a
CY
41932011-10-21 Chong Yidong <cyd@gnu.org>
4194
4195 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
4196 * progmodes/vera-mode.el (vera-mode):
4197 Use mode-require-final-newline.
30fcaf3a 4198
516eddb0
GM
41992011-10-20 Glenn Morris <rgm@gnu.org>
4200
db22a3c2 4201 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 4202
10d5f513
CS
42032011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
4204
4205 * emulation/cua-base.el (cua-set-mark): Fix case of string.
4206
ac6c8639
CY
42072011-10-20 Chong Yidong <cyd@gnu.org>
4208
4209 * emulation/cua-base.el (cua-mode):
4210 * mail/footnote.el (footnote-mode):
4211 * mail/mailabbrev.el (mail-abbrevs-mode):
4212 * net/xesam.el (xesam-minor-mode):
4213 * progmodes/bug-reference.el (bug-reference-mode):
4214 * progmodes/cap-words.el (capitalized-words-mode):
4215 * progmodes/compile.el (compilation-minor-mode)
4216 (compilation-shell-minor-mode):
4217 * progmodes/gud.el (gud-tooltip-mode):
4218 * progmodes/hideif.el (hide-ifdef-mode):
4219 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4220 * progmodes/subword.el (subword-mode):
4221 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4222 * progmodes/which-func.el (which-function-mode):
4223 * term/tvi970.el (tvi970-set-keypad-mode):
4224 * term/vt100.el (vt100-wide-mode):
4225 * textmodes/flyspell.el (flyspell-mode):
4226 * textmodes/ispell.el (ispell-minor-mode):
4227 * textmodes/nroff-mode.el (nroff-electric-mode):
4228 * textmodes/paragraphs.el (use-hard-newlines):
4229 * textmodes/refill.el (refill-mode):
4230 * textmodes/reftex.el (reftex-mode):
4231 * textmodes/rst.el (rst-minor-mode):
4232 * textmodes/sgml-mode.el (html-autoview-mode)
4233 (sgml-electric-tag-pair-mode):
4234 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4235 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4236 * emulation/crisp.el (crisp-mode):
4237 * emacs-lisp/eldoc.el (eldoc-mode):
4238 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4239 minor mode behavior.
4240
aa42ab43
JL
42412011-10-19 Juri Linkov <juri@jurta.org>
4242
4243 * descr-text.el (describe-char): Add #x2010 and #x2011 to
4244 the list of hard-coded chars with escape-glyph face.
4245
89400f1d
SM
42462011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4247
4248 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4249
305c07f6
MA
42502011-10-19 Michael Albinus <michael.albinus@gmx.de>
4251
4252 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4253 running process.
4254
13754b54
GM
42552011-10-19 Glenn Morris <rgm@gnu.org>
4256
4257 * vc/vc-bzr.el (vc-bzr-after-dir-status):
4258 Ignore ignored files. (Bug#9726)
4259
06e21633
CY
42602011-10-19 Chong Yidong <cyd@gnu.org>
4261
4262 Doc fix for minor modes, stating that an omitted argument enables
4263 the mode unconditionally when called from Lisp.
4264
4265 * abbrev.el (abbrev-mode):
4266 * allout.el (allout-mode):
4267 * autoinsert.el (auto-insert-mode):
4268 * autoarg.el (autoarg-mode, autoarg-kp-mode):
4269 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4270 (global-auto-revert-mode):
4271 * battery.el (display-battery-mode):
4272 * composite.el (global-auto-composition-mode)
4273 (auto-composition-mode):
4274 * delsel.el (delete-selection-mode):
4275 * desktop.el (desktop-save-mode):
4276 * dired-x.el (dired-omit-mode):
4277 * dirtrack.el (dirtrack-mode):
4278 * doc-view.el (doc-view-minor-mode):
4279 * double.el (double-mode):
4280 * electric.el (electric-indent-mode, electric-pair-mode):
4281 * emacs-lock.el (emacs-lock-mode):
4282 * epa-hook.el (auto-encryption-mode):
4283 * follow.el (follow-mode):
4284 * font-core.el (font-lock-mode):
4285 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4286 * help.el (temp-buffer-resize-mode):
4287 * hilit-chg.el (highlight-changes-mode)
4288 (highlight-changes-visible-mode):
4289 * hi-lock.el (hi-lock-mode):
4290 * hl-line.el (hl-line-mode, global-hl-line-mode):
4291 * icomplete.el (icomplete-mode):
4292 * ido.el (ido-everywhere):
4293 * image-file.el (auto-image-file-mode):
4294 * image-mode.el (image-minor-mode):
4295 * iswitchb.el (iswitchb-mode):
4296 * jka-cmpr-hook.el (auto-compression-mode):
4297 * linum.el (linum-mode):
4298 * longlines.el (longlines-mode):
4299 * master.el (master-mode):
4300 * mb-depth.el (minibuffer-depth-indicate-mode):
4301 * menu-bar.el (menu-bar-mode):
4302 * minibuf-eldef.el (minibuffer-electric-default-mode):
4303 * mouse-sel.el (mouse-sel-mode):
4304 * msb.el (msb-mode):
4305 * mwheel.el (mouse-wheel-mode):
4306 * outline.el (outline-minor-mode):
4307 * paren.el (show-paren-mode):
4308 * recentf.el (recentf-mode):
4309 * reveal.el (reveal-mode, global-reveal-mode):
4310 * rfn-eshadow.el (file-name-shadow-mode):
4311 * ruler-mode.el (ruler-mode):
4312 * savehist.el (savehist-mode):
4313 * scroll-all.el (scroll-all-mode):
4314 * scroll-bar.el (scroll-bar-mode):
4315 * server.el (server-mode):
4316 * shell.el (shell-dirtrack-mode):
4317 * simple.el (auto-fill-mode, transient-mark-mode)
4318 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4319 (line-number-mode, column-number-mode, size-indication-mode)
4320 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4321 * strokes.el (strokes-mode):
4322 * time.el (display-time-mode):
4323 * t-mouse.el (gpm-mouse-mode):
4324 * tool-bar.el (tool-bar-mode):
4325 * tooltip.el (tooltip-mode):
4326 * type-break.el (type-break-mode-line-message-mode)
4327 (type-break-query-mode):
4328 * view.el (view-mode):
4329 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4330 (global-whitespace-mode, global-whitespace-newline-mode):
4331 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4332
a3839de2
SM
4333 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4334 Fix autogenerated docstring.
06e21633 4335
5214e501
JL
43362011-10-19 Juri Linkov <juri@jurta.org>
4337
4338 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4339 by checking environment variables "DESKTOP_SESSION" and
4340 "XDG_CURRENT_DESKTOP". (Bug#9779)
4341
195f8db9
JL
43422011-10-19 Juri Linkov <juri@jurta.org>
4343
4344 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4345 (browse-url-chromium-program, browse-url-chromium-arguments):
4346 New defcustoms.
4347 (browse-url-default-browser): Check for `browse-url-chromium' and
4348 call `browse-url-chromium-program'.
4349 (browse-url-chromium): New command. (Bug#9779)
4350
343a34ff
JB
43512011-10-18 Juanma Barranquero <lekktu@gmail.com>
4352
4353 * facemenu.el (list-colors-duplicates): On Windows, detect more
4354 duplicates by assuming that only colors matching "^System" are
4355 special "system colors". (Bug#9722)
4356
6978a151
SM
43572011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4358
4359 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4360 to distinguish the author from the committer.
4361
6a80b297
MA
43622011-10-18 Michael Albinus <michael.albinus@gmx.de>
4363
4364 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4365
b31a5677
JK
43662011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
4367
4368 * international/mule.el (sgml-html-meta-auto-coding-function):
4369 Add support for detecting encoding in HTML5 specified only as
4370 <meta charset="UTF-8">. Implementation just makes http-equiv and
4371 content-type parts from HTML4 encoding string optional. (Bug#9716)
4372
80c6d77f
GM
43732011-10-18 Glenn Morris <rgm@gnu.org>
4374
4375 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
4376
08b0fee8
CY
43772011-10-18 Chong Yidong <cyd@gnu.org>
4378
4379 * faces.el (cursor): Doc fix.
4380
67e729a5
CY
43812011-10-17 Chong Yidong <cyd@gnu.org>
4382
4383 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4384
343a34ff 43852011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
4386
4387 * dirtrack.el (dirtrack): Support shell buffers with path
4388 prefixes, e.g. tramp-based remote shells. (Bug#9647)
4389
0bc06380
TZ
43902011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
4391
4392 * json.el: Bump version to 1.3 and note change in History.
4393 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4394
8b79f3e0
SM
43952011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4396
5a7c536b
SM
4397 * comint.el (comint-insert-input, comint-send-input)
4398 (comint-get-old-input-default, comint-backward-matching-input)
4399 (comint-next-prompt): Use nil instead of `input' for field property of
4400 past user input (bug#114).
4401
96a8a0df
SM
4402 * minibuffer.el (completion--replace): Inherit surrounding properties
4403 (bug#114).
4404 (minibuffer-complete-and-exit): Use it.
4405
8b79f3e0
SM
4406 * comint.el (comint--table-subvert): Quote the all-completions output
4407 (bug#9160).
4408
b8f7ff0d
MR
44092011-10-17 Martin Rudalics <rudalics@gmx.at>
4410
8b79f3e0 4411 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 4412
b8f7ff0d 4413 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 4414 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
4415 entries and separate them from frame entries.
4416
c235b555
GM
44172011-10-15 Glenn Morris <rgm@gnu.org>
4418
4419 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4420 Doc fixes.
4421
6bbfa6e1
CY
44222011-10-15 Chong Yidong <cyd@stupidchicken.com>
4423
8b79f3e0
SM
4424 * net/network-stream.el (network-stream-open-starttls):
4425 Improve detection of failure due to lack of TLS support.
ec5c990d 4426
6bbfa6e1
CY
4427 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4428 putting the input text in front and in bold.
4429
98488977
SM
44302011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4431
3d1337be
SM
4432 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4433
ee0b45e4
SM
4434 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4435 empty buffer.
4436
98488977
SM
4437 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4438 unread-command-events rather than pushing yet-another event.
4439
186f4720
EZ
44402011-10-14 Eli Zaretskii <eliz@gnu.org>
4441
4442 * mail/sendmail.el (sendmail-query-once): Improve the wording of
4443 the explanation of the possible choices. Make the options passed
4444 to completing-read shorter.
4445
8b7a997c
AM
44462011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4447
4448 * textmodes/flyspell.el (flyspell-large-region): Make sure
4449 extended character mode is used if defined (Bug#1339).
4450
12587bbb
EZ
44512011-10-13 Eli Zaretskii <eliz@gnu.org>
4452
4453 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
4454 character info for LRE, LRO, RLE, and RLO characters by appending
4455 an invisible PDF.
12587bbb 4456
bad41229
SM
44572011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
4458
4459 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4460 even in case of error; add debug spec; simplify data flow.
4461 (with-timeout-handler): Remove.
4462
28dbc92f
MA
44632011-10-12 Michael Albinus <michael.albinus@gmx.de>
4464
4465 Fix Bug#6019, Bug#9315.
4466
4467 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4468 complete `buffer-file-name', the local file name part could look
4469 remotely (for example on VMS).
4470
4471 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4472 `tramp-run-real-handler'.
4473 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4474 already quoted by '"'.
4475
4476 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4477 Let `file-name-handler-alist' be nil, the local file name part
4478 could look remotely (for example on VMS).
4479
e1b0b23a
SM
44802011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4481
4482 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4483 from here...
4484 (flyspell-post-command-hook): ...to here.
4485
a120bde9
SM
44862011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4487
4488 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4489 if not needed.
4490 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
4491 using completion. Protect against "slow" callers.
4492 Remove the "message hack".
4493
7ce7717b
JL
44942011-10-11 Juri Linkov <juri@jurta.org>
4495
4496 * isearch.el (isearch-lazy-highlight-word): New variable.
4497 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4498 Use it. (Bug#9727)
4499
c02ee9d6
GM
45002011-10-11 Glenn Morris <rgm@gnu.org>
4501
4502 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4503 like f90-previous-statement does.
4504
93e616fd 45052011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4506
1f190e73 4507 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
4508 only in interactive use, to avoid error.
4509
af7b6078
SM
45102011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4511
4512 * minibuffer.el (completion-file-name-table): Fix last change,
4513 i.e. ignore normal errors but not the other ones.
4514
0563dae9
MR
45152011-10-10 Martin Rudalics <rudalics@gmx.at>
4516
4517 * window.el (special-display-buffer-names)
4518 (special-display-regexps): Remove some remnants of earlier
4519 changes from doc-strings.
366ca7f3
MR
4520 (quit-windows-on): New function.
4521
4522 * vc/vc.el (vc-revert, vc-rollback):
4523 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4524 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 4525 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 4526
49677495
MR
45272011-10-09 Martin Rudalics <rudalics@gmx.at>
4528
4529 * window.el (frame-auto-hide-function): Add version tag.
4530 (Bug#9699)
4531
56f2d1e1
MA
45322011-10-09 Michael Albinus <michael.albinus@gmx.de>
4533
4534 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4535 condition.
4536
112a6592
LL
45372011-10-09 Leo Liu <sdl.web@gmail.com>
4538
4539 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4540 (Bug#9701)
4541
0812589b
GM
45422011-10-08 Glenn Morris <rgm@gnu.org>
4543
4544 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4545 before the first code statement zero indent. (Bug#9690)
4546
b2b0776e
CY
45472011-10-08 Chong Yidong <cyd@stupidchicken.com>
4548
4549 * simple.el (count-words-region): Always count in the region.
4550 Report the number of lines and characters too.
4551 (count-words): New command, which counts in the buffer if the
4552 region is inactive, as count-words-region used to.
4553 (count-words--message): New function. Handle plurals.
4554 (count-lines-region): Make it an alias for count-words-region.
4555
4556 * bindings.el (esc-map): Replace count-lines-region with
4557 count-words-region.
4558
c557cd6b
MR
45592011-10-08 Martin Rudalics <rudalics@gmx.at>
4560
4561 * window.el (window--delete): Delete dedicated frame
4562 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 4563 (switch-to-buffer): Fix doc-string typo.
c557cd6b 4564
61a57ef4 45652011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4566
3a7d293b 4567 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 4568
c3833279
CY
45692011-10-07 Chong Yidong <cyd@stupidchicken.com>
4570
4571 * bindings.el ([M-left],[M-right]): Bind to left-word and
4572 right-word respectively.
4573
21ce8245
GM
45742011-10-07 Glenn Morris <rgm@gnu.org>
4575
4576 * cus-start.el (debug-on-quit): Fix custom type.
4577
6d823bb2
LMI
45782011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4579
0181e193
LMI
4580 * subr.el (define-key-after): Clarify that the function is not
4581 useful for non-menu keymaps.
4582
6d823bb2
LMI
4583 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4584
8e3459ce 45852011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4586
21ce8245 4587 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 4588 in current minibuffer (Fix bug with recursive minibuffers).
4589
a1c2d21e
CY
45902011-10-06 Chong Yidong <cyd@stupidchicken.com>
4591
4592 * progmodes/gdb-mi.el (gdb): Doc fix.
4593
5a4cf282
MR
45942011-10-05 Martin Rudalics <rudalics@gmx.at>
4595
4596 * window.el (frame-auto-hide-function): New option replacing
4597 frame-auto-delete. Suggested by Stefan Monnier.
4598 (window--delete): Call frame-auto-hide-function instead of
4599 investigating frame-auto-delete.
c96111ea
MR
4600 (window-point-1, set-window-point-1): New functions.
4601 (window-in-direction, record-window-buffer, window-state-get-1)
4602 (display-buffer-record-window): Use window-point-1 instead of
4603 window-point.
4604 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 4605
9854542e
SM
46062011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4607
4608 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4609
8943cfb0
GM
46102011-10-05 Glenn Morris <rgm@gnu.org>
4611
4612 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4613 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
4614
647ab967
LL
46152011-10-05 Leo Liu <sdl.web@gmail.com>
4616
4617 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4618 works with buffer object.
4619
3ddfbced
SM
46202011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4621
4622 * mpc.el (mpc-tool-bar-map): Add labels.
4623
bdfa5dd2
GM
46242011-10-04 Glenn Morris <rgm@gnu.org>
4625
4626 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4627
0e2070b5
MR
46282011-10-04 Martin Rudalics <rudalics@gmx.at>
4629
4630 * window.el (window--delete): New function.
4631 (frame-auto-delete): Resuscitate option.
4632 (bury-buffer, replace-buffer-in-windows)
4633 (quit-window): Rewrite using window--delete.
4634 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4635 Pass display-buffer-mark-dedicated to window--display-buffer-2
4636 (Bug#9639).
4637
3dc61a09
SM
46382011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4639
915a9b64
SM
4640 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4641 returns a list (bug#9554). Add remote file name completion.
4642 * comint.el (comint--table-subvert): Curry and get quote&unquote
4643 functions as arguments.
4644 (comint--complete-file-name-data): Adjust call accordingly.
4645 * pcomplete.el (pcomplete--table-subvert): Remove.
4646 (pcomplete-completions-at-point): Use comint--table-subvert instead.
4647
3dc61a09
SM
4648 * minibuffer.el (completion-table-case-fold): Use currying.
4649 (completion--styles-type, completion--cycling-threshold-type):
4650 New constants.
4651 (completion-styles, completion-category-overrides)
4652 (completion-cycle-threshold): Use them.
4653 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4654 completion-table-case-fold.
4655
8ea0a993
SB
46562011-10-03 Stephen Berman <stephen.berman@gmx.net>
4657
4658 * minibuffer.el (completion-category-overrides): Fix type of styles
4659 and add more user friendly tags (bug#9660).
4660
8c24b7f6
SM
46612011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4662
4663 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4664 (mule-input-method-string): New widget.
4665 (default-input-method, language-info-custom-alist): Use it.
4666
428fe61a
SM
46672011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4668
32c1fffd
SM
4669 * pcomplete.el: Require comint.
4670 (pcomplete--common-suffix): Remove.
4671 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4672 (pcomplete--table-subvert): Sync with comint--table-subvert.
4673 (pcomplete--entries): Use comint-completion-file-name-table.
4674 * comint.el (comint-unquote-filename): Simplify.
4675 (comint-completion-file-name-table): New function (bug#9616).
4676 (comint--complete-file-name-data): Use it.
4677
428fe61a
SM
4678 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4679 (pcmpl-gnu-tar-buffer): Remove.
4680 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
4681 around. Make sure pcomplete-suffix-list is only changed temporarily.
4682 Don't look inside the tar's file if it's too large.
428fe61a 4683
04c52e2f
CY
46842011-10-01 Chong Yidong <cyd@stupidchicken.com>
4685
ce3cefcc
CY
4686 * cus-edit.el (custom-mode-map):
4687 * epa.el (epa-key-list-mode-map):
4688 * man.el (Man-mode-map):
4689 * startup.el (splash-screen-keymap):
4690 * simple.el (special-mode-map): Use scroll-up-command and
4691 scroll-down-command.
4692
4693 * progmodes/idlw-help.el (idlwave-help-mode-map):
4694 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4695 * net/newst-plainview.el (newsticker-mode-map):
4696 * emulation/ws-mode.el (wordstar-mode-map):
4697 * emulation/vi.el (vi-com-map):
4698 * calc/calc-graph.el (calc-graph-show-dumb):
4699 * term/sun.el (terminal-init-sun):
4700 * term/ns-win.el (global-map):
4701 * progmodes/grep.el (grep-mode-map):
4702 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4703 * mail/rmail.el (rmail-mode-map):
4704 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4705
04c52e2f
CY
4706 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4707 custom-safe-themes as special.
4708
79adf8c8
JD
47092011-10-01 Julien Danjou <julien@danjou.info>
4710
4711 * notifications.el (notifications-notify): Fix docstring.
4712
63bd50d3
PS
47132011-10-01 Per Starbäck <per@starback.se>
4714
4715 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4716
199e4c7e
MR
47172011-09-30 Martin Rudalics <rudalics@gmx.at>
4718
4719 * startup.el (command-line-1): Fix last fix by inserting
4720 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 4721 (Bug#9605) and (Bug#9636)
199e4c7e 4722
fe5f08dd
EZ
47232011-09-29 Eli Zaretskii <eliz@gnu.org>
4724
4725 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4726 window is hscrolled, move by logical lines. (Bug#9607)
4727 (line-move-visual): Update the doc string to the above effect.
4728
b5516bbd
MR
47292011-09-29 Martin Rudalics <rudalics@gmx.at>
4730
ccee00c0
MR
4731 * window.el (display-buffer-record-window): When WINDOW is the
4732 selected window use `point' instead of `window-point'. (Bug#9626)
4733
b5516bbd
MR
4734 * startup.el (command-line-1): Use insert-before-markers when
4735 inserting initial-scratch-message. (Bug#9605)
ccee00c0 4736
b5516bbd
MR
4737 * help.el (help-window): Remove variable.
4738
52aa0014
GM
47392011-09-29 Glenn Morris <rgm@gnu.org>
4740
4741 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4742
df9a7357
JB
47432011-09-29 Juanma Barranquero <lekktu@gmail.com>
4744
4745 * descr-text.el (describe-char-categories): Accept category
4746 descriptions more than one line long.
4747
a8406c20
SM
47482011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4749
88d9610c
SM
4750 * simple.el (delete-trailing-whitespace): Fix last change.
4751
a5daf810
SM
4752 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4753 Don't confuse "y => 3" as the beginning of a `y' operation.
4754
a8406c20
SM
4755 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4756 object has more than 4 slots (bug#9613).
4757
a239d4e9
JB
47582011-09-28 Juanma Barranquero <lekktu@gmail.com>
4759
4760 * subr.el (with-output-to-temp-buffer):
4761 * net/quickurl.el (quickurl, quickurl-browse-url):
4762 Fix typos in docstrings.
4763
693fbdb6
EZ
47642011-09-27 Eli Zaretskii <eliz@gnu.org>
4765
4766 * minibuffer.el (completion-styles)
4767 (completion-category-overrides): Cross reference each other in doc
4768 strings.
4769
8b457e28
GM
47702011-09-27 Glenn Morris <rgm@gnu.org>
4771
4772 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4773 to split-string. (Bug#9606)
4774
85a16208
LMI
47752011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4776
4777 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4778 (bug#9615).
4779
502f9ebd
CY
47802011-09-27 Chong Yidong <cyd@stupidchicken.com>
4781
4782 * emacs-lisp/package.el (list-packages): Fix echo area message.
4783
7690bdea
LL
47842011-09-27 Leo Liu <sdl.web@gmail.com>
4785
4786 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4787
e2ee6f30
MA
47882011-09-25 Michael Albinus <michael.albinus@gmx.de>
4789
4790 * net/dbus.el (dbus-unregister-object): Don't release services for
4791 registered signals. (Bug#9581)
4792
f3f98342
TZ
47932011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4794
4795 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4796 function that picks between cfengine 2 and 3 support
4797 automatically. Update docs accordingly.
4798
dd7aa8dd
KH
47992011-09-22 Kenichi Handa <handa@m17n.org>
4800
4801 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4802 ZERO.
4803 (indian-itrans-v5-table-for-tamil): New variable.
4804 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4805
3f2b07f8
KM
48062011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4807
4808 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4809 that's true if the current command involved collapsing of text.
4810 It's reset to false at the beginning of the next command.
4811 (allout-post-command-business): Move the cursor to the beginning
4812 of entry if the cursor is hidden and collapsing activity just
4813 happened.
4814
371d6a61
CY
48152011-09-24 Chong Yidong <cyd@stupidchicken.com>
4816
4817 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4818 tracking (Bug#9541).
4819
2ac2721a
UJ
48202011-09-24 Ulf Jasper <ulf.jasper@web.de>
4821
4822 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
4823 (newsticker-show-news): Automatically load html rendering package
4824 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4825 because w3m-fill-column is let-bound" and the error "Symbol's value
4826 as variable is void: w3m-fill-column".
2ac2721a 4827
fac7ae53
MA
48282011-09-24 Michael Albinus <michael.albinus@gmx.de>
4829
4830 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4831 Release services only if they are defined. (Bug#9581)
4832
e08b633b
RS
48332011-09-23 Richard Stallman <rms@gnu.org>
4834
e488d29c
RS
4835 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4836 distinguish start of paragraph from start of its text.
4837
19c38752
RS
4838 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4839
e08b633b
RS
4840 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4841 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4842 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4843
0a39f27e
AS
48442011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4845
4846 * international/mule-diag.el (mule-diag): Insert a newline after
4847 each fontset description.
4848
db4e950d
SM
48492011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4850
4851 * simple.el (delete-trailing-whitespace):
4852 Document last change; simplify.
4853
eca3f3ea
PW
48542011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4855
d68e189a
PW
4856 * simple.el (delete-trailing-whitespace): Also delete
4857 extra newlines at the end of the buffer.
4858
eca3f3ea
PW
4859 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4860 (picture-newline): Use forward-line so as to ignore fields.
4861
01c157cc
SM
48622011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4863
4864 * subr.el (with-wrapper-hook): Fix edebug spec.
4865
022de23e
LMI
48662011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4867
4868 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4869 (bug#4538).
4870
91683089
MA
48712011-09-23 Michael Albinus <michael.albinus@gmx.de>
4872
eca3f3ea
PW
4873 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4874 Fix nasty bug using wrong cached values.
91683089 4875
5bdd6fa4
AM
48762011-09-23 Alan Mackenzie <acm@muc.de>
4877
4878 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4879
97adfb97
CY
48802011-09-23 Chong Yidong <cyd@stupidchicken.com>
4881
4882 * window.el (pop-to-buffer): Ensure right window is selected if we
4883 chose another frame.
4884
d4ef2b50
EZ
48852011-09-22 Eli Zaretskii <eliz@gnu.org>
4886
4887 * simple.el (what-cursor-position): Use get-char-property-change
4888 and next-single-char-property-change, to be able to show display
4889 properties that come from overlays as well as text properties.
4890
72258fe5
CY
48912011-09-22 Chong Yidong <cyd@stupidchicken.com>
4892
4893 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4894
4895 * cmuscheme.el (run-scheme, switch-to-scheme):
4896 * cus-edit.el (customize-group, custom-buffer-create)
4897 (customize-browse):
4898 * info.el (info):
4899 * shell.el (shell):
4900 * mail/sendmail.el (mail):
4901 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4902
8f098516
RS
49032011-09-22 Richard Stallman <rms@gnu.org>
4904
4905 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4906 move back only to line beg, don't move back over blank lines.
4907
e74f1bb6
MA
49082011-09-22 Michael Albinus <michael.albinus@gmx.de>
4909
4910 * files.el (copy-directory): Set directory attributes only in case
4911 they could be retrieved from the source directory. (Bug#9565)
4912
bfeef8b6
DK
49132011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4914
4915 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4916 (hs-find-block-beginning, hs-hide-level-recursive):
4917 Ignore strings as well as comments. (Bug#9502)
4918
7e423bb8
AS
49192011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4920
4921 * progmodes/sql.el (sql-comint-postgres):
4922 Convert port number to a string. (Bug#9566)
4923
b4d72fcf
MR
49242011-09-22 Martin Rudalics <rudalics@gmx.at>
4925
4926 * window.el (quit-window): Undedicate window when switching to
4927 previous buffer. Reported by Thierry Volpiatto
4928 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
4929 (special-display-popup-frame): When popping up a new frame reset
4930 its previous buffers to nil. Simplify code.
b4d72fcf 4931
a7b88dc6
MA
49322011-09-21 Michael Albinus <michael.albinus@gmx.de>
4933
4934 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4935 and process filter, as done also in `shell-command'.
4936
cf4eacfd
MR
49372011-09-21 Martin Rudalics <rudalics@gmx.at>
4938
eca3f3ea 4939 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
4940 Call set-window-start with NOFORCE argument t.
4941 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
4942 (quit-window): Reword doc-string. Handle new format of
4943 quit-restore parameter. Don't delete window if it has a
4944 previous buffer we can show instead of the present one.
4945 (display-buffer-record-window): Rewrite using a new format for
4946 the quit-restore window parameter
4947 (special-display-popup-frame, display-buffer-same-window)
4948 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4949 (display-buffer-pop-up-window, display-buffer-use-some-window):
4950 Adapt symbol passed to display-buffer-record-window.
4951 * help.el (help-window-setup): Handle new format of quit-restore
4952 parameter.
4953
8d28cb95
SM
49542011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4955
94ab793f
SM
4956 * faces.el (face-list): Fix docstring (bug#9564).
4957
8d28cb95
SM
4958 * window.el (display-buffer--action-function-custom-type):
4959 Don't include internal functions in the Custom interface.
4960
3820edeb
JL
49612011-09-20 Juri Linkov <juri@jurta.org>
4962
4963 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4964 (Info-forward-node, Info-backward-node, Info-next-preorder)
4965 (Info-last-preorder): Use it. (Bug#9528)
4966
5147931d
JL
49672011-09-20 Juri Linkov <juri@jurta.org>
4968
4969 * info.el (Info-last-preorder): Visit last menu item only when
4970 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4971
cf499a1a
JD
49722011-09-20 Julien Danjou <julien@danjou.info>
4973
4974 * password-cache.el (password-cache-remove): Remove entries even if the
4975 value is nil, so that password with a nil value (negative caching) is
4976 possible to invalidate.
4977
f84e2fe2
LM
49782011-09-20 Lawrence Mitchell <wence@gmx.li>
4979
4980 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4981 all whitespace around breakpoint. (Bug#9553)
4982 (f90-find-breakpoint): Only break at whitespace inside a comment.
4983
78054a46
SM
49842011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4985
4986 * minibuffer.el (completion-file-name-table): Keep track of errors.
4987 (completion-table-with-predicate): Handle the case where pred1 is nil.
4988 * pcomplete.el (pcomplete-completions-at-point): Simplify.
4989
345083b2
SM
49902011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4991
e24e27be
SM
4992 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4993 (debugger-return-value): Signal an error if the debugging context does
4994 not await any return value.
4995
345083b2
SM
4996 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4997 * image-mode.el (image-toggle-display-text)
4998 (image-toggle-display-image): Stay away from evil `intangible'.
4999
08d355e3
LL
50002011-09-19 Leo Liu <sdl.web@gmail.com>
5001
5002 * replace.el (occur-revert-arguments): Make it permanent-local.
5003 (occur-mode): Don't call font-lock-defontify.
5004
f01da43f
CY
50052011-09-19 Chong Yidong <cyd@stupidchicken.com>
5006
5007 * net/ldap.el (ldap-search-internal): Don't push empty search
5008 result (Bug#9508).
5009
b6072fa6
SM
50102011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5011
5012 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5013
443d6696
MA
50142011-09-19 Michael Albinus <michael.albinus@gmx.de>
5015
5016 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5017 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5018
7cc6e154
JL
50192011-09-18 Juri Linkov <juri@jurta.org>
5020
5021 * buff-menu.el (Buffer-menu-mode-map):
5022 * dired.el (dired-mode-map):
5023 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5024 (lisp-interaction-mode-map):
5025 * emacs-lisp/package.el (package-menu-mode-map):
5026 * epa.el (epa-key-list-mode-map):
5027 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5028 (menu-bar-options-menu):
5029 * outline.el (outline-mode-menu-bar-map):
5030 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5031 * vc/vc-dir.el (vc-dir-menu-map):
5032 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5033 Capitalize non-function content words in menu item strings.
5034
5035 * dired.el (dired-mode-map): Add menu item for
5036 `image-dired-dired-toggle-marked-thumbs'.
5037
80302a81
JL
50382011-09-18 Juri Linkov <juri@jurta.org>
5039
5040 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5041 to `isearch-case-fold-search' and restore its original value
5042 after the `isearch-mode' call.
5043
46c5cf66
JL
50442011-09-18 Juri Linkov <juri@jurta.org>
5045
5046 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5047 because `zgrep' returns 1 for successful matches (bug#9226).
5048
d18b513b
JL
50492011-09-18 Juri Linkov <juri@jurta.org>
5050
5051 * info.el (Info-extract-menu-node-name): Check the second match
5052 for empty string (second test-case of bug#9528).
5053 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5054 intermediate nodes to the history (first test-case of bug#9528).
5055
72753f87
JL
50562011-09-18 Juri Linkov <juri@jurta.org>
5057
5058 * info.el (Info-mode-syntax-table): New variable.
1154d12e 5059 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 5060
c9384295
JL
50612011-09-18 Juri Linkov <juri@jurta.org>
5062
1154d12e
JB
5063 * info.el (Info-file-supports-index-cookies):
5064 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5065 outputs one more line for long file names (bug#4142).
c9384295 5066
d473dce8
CY
50672011-09-18 Chong Yidong <cyd@stupidchicken.com>
5068
5069 * newcomment.el (comment-normalize-vars): If prompting for
5070 comment-start, set comment-start-skip too (Bug#8424).
5071
2176854d
JB
50722011-09-18 Johan Bockgård <bojohan@gnu.org>
5073
5074 * icomplete.el: Fix previous fix of Bug#5849.
5075 (icomplete-mode): Don't set completion-show-inline-help.
5076 (icomplete-minibuffer-setup): Set completion-show-inline-help
5077 locally during icompletion.
5078
3aace4e4
CY
50792011-09-18 Chong Yidong <cyd@stupidchicken.com>
5080
c940224f
CY
5081 * woman.el (woman2-process-escapes): Don't delete unrecognized
5082 escapes (Bug#7843).
5083
3aace4e4
CY
5084 * files.el (inhibit-first-line-modes-regexps): Add image files.
5085 (hack-local-variables-prop-line): Return nil for malformed
5086 prop-lines (Bug#9044).
5087
710dec63
MA
50882011-09-18 Michael Albinus <michael.albinus@gmx.de>
5089
5090 * net/tramp.el (top): Don't require 'shell.
5091 (tramp-methods): Fix docstring.
5092 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
5093 Return complete remote file name. Handle "smb" case.
5094 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
5095 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5096
5097 * net/tramp-compat.el (top): Require 'shell.
5098
5099 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5100 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5101 `tramp-current-host'.
5102 (tramp-get-remote-tmpdir): Remove.
5103
5104 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5105 `tramp-tmpdir' entries.
5106 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5107 (tramp-smb-handle-file-attributes): Ignore errors.
5108 (tramp-smb-wait-for-output): Check also for process end.
5109
5d5ac8ec
LMI
51102011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5111
5112 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5113 when sending QUIT (bug#9312).
5114
8c0f49f0
CY
51152011-09-17 Chong Yidong <cyd@stupidchicken.com>
5116
5117 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5118 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5119 occur-mode-display-occurrence.
5120 (occur-edit-mode): Add usage message.
5121 (occur-cease-edit): New command.
5122 (occur-after-change-function): Use text properties to find the
5123 position of the prefix text.
5124 (occur-engine): Set stickiness of prefix text properties.
5125
8f1383f7
GM
51262011-09-17 Glenn Morris <rgm@gnu.org>
5127
5128 * progmodes/etags.el (complete-tag):
5129 Fix call to completion-in-region. (Bug#9526)
5130
744ba0e3
JL
51312011-09-17 Juri Linkov <juri@jurta.org>
5132
5133 * textmodes/ispell.el (ispell-word): Add to the error message
5134 the word, ispell program name and current dictionary (bug#9121).
5135 (ispell-tex-arg-end): Capitalize "error" in the error message.
5136
d9bbf400
AS
51372011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5138
5139 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5140 check. (Bug#4251)
5141
8da11505
JL
51422011-09-17 Juri Linkov <juri@jurta.org>
5143
5144 * window.el (window-safe-min-height, window-safe-min-width):
5145 Fix typos (followup to bug#9522).
5146
a91adc7e
SJ
51472011-09-17 Sven Joachim <svenjoac@gmx.de>
5148
5149 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5150
064f328a
EZ
51512011-09-16 Eli Zaretskii <eliz@gnu.org>
5152
5153 * simple.el (line-move): If goal-column is set, move by logical
5154 lines, not by display lines. (Bug#971)
5155 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5156 to reflect the above change.
5157
e69df516
SM
51582011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5159
5160 * image.el (imagemagick-register-types): Use regexp-opt.
5161
cbb0f9ab
CY
51622011-09-15 Chong Yidong <cyd@stupidchicken.com>
5163
5164 * window.el (display-buffer-base-action): Rename from
5165 display-buffer-default-action. Make default value empty.
5166 (display-buffer-overriding-action): Convert to defvar.
5167 (display-buffer-fallback-action): New var.
5168
25322144
CY
51692011-09-15 Chong Yidong <cyd@stupidchicken.com>
5170
5171 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5172 declaration.
5173 (package--add-to-archive-contents): If there is a duplicate entry
5174 with an older version, remove it.
5175 (package-menu-mark-delete, package-menu-mark-install)
5176 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
5177 (package-menu-mark-obsolete-for-deletion):
5178 Use package-menu-get-status instead of a regexp search.
25322144
CY
5179 (package-menu-get-status): Use tabulated-list-entry.
5180 (package-menu-mark-upgrades): New command.
d770725a 5181 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
5182 (package-menu-execute): Do installation before deletion.
5183 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5184 instead of checking major-mode.
5185 (package-menu--find-upgrades): New function.
5186
7520339c
LMI
51872011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5188
5189 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5190 passwords in the log buffer.
65a046c4
LMI
5191 (smtpmail-process-filter): Update the process marker so that the
5192 "broken by peer" status message is inserted in the right place.
7520339c 5193
d3c30954
SM
51942011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5195
3fe48822
SM
5196 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5197 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5198 bibtex-completion-at-point-function.
5199 (bibtex-completion-at-point-function): Use them.
5200
1b8b3954
SM
5201 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5202
d3c30954
SM
5203 * mpc.el (mpc-constraints-tag-lookup): New function.
5204 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5205 also to browser "album|playlist".
5206
72779976
JL
52072011-09-14 Juri Linkov <juri@jurta.org>
5208
5209 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
5210 (isearch-edit-string): Use length of `isearch-string' when
5211 `isearch-fail-pos' returns nil.
5212 (isearch-message): Remove duplicate code and call
5213 `isearch-fail-pos' with arg `t'.
5214
a0bf2bcd
CY
52152011-09-14 Chong Yidong <cyd@stupidchicken.com>
5216
17bb0a2d
CY
5217 * replace.el (occur-mode-goto-occurrence): Don't force using other
5218 window (Bug#9499).
5219
a0bf2bcd
CY
5220 * dired-aux.el (dired-do-chmod): Don't provide initial input.
5221
f678e0b6
MR
52222011-09-14 Martin Rudalics <rudalics@gmx.at>
5223
5224 * window.el (display-buffer-window): Remove.
5225 (display-buffer-record-window): Use help-setup window parameter
5226 instead of variable display-buffer-window.
5227 (display-buffer-function, special-display-buffer-names)
5228 (special-display-function): Mention help-setup parameter instead
5229 of display-buffer-window in doc-string.
d3c30954
SM
5230 * help.el (help-window-setup): New argument help-window.
5231 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
5232 Reword some messages.
5233 (with-help-window): Pass window used for displaying the buffer
5234 to help-window-setup. Don't set display-buffer-window.
5235
8e39b2e8
GM
52362011-09-13 Glenn Morris <rgm@gnu.org>
5237
5238 * emacs-lisp/debug.el (debugger-make-xrefs):
5239 Preserve point. (Bug#9462)
5240
85e9c04b
CY
52412011-09-13 Chong Yidong <cyd@stupidchicken.com>
5242
5243 * window.el (window-deletable-p): Use next-frame.
5244
1b36ed6a
MR
52452011-09-13 Martin Rudalics <rudalics@gmx.at>
5246
5247 * window.el (window-auto-delete): Remove.
5248 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 5249 dedication and previous buffers.
1b36ed6a
MR
5250 (switch-to-prev-buffer): Don't delete window.
5251 (delete-windows-on): Delete a window's frame if and only if the
5252 window is dedicated.
5253 (replace-buffer-in-windows): Delete buffer's window or frame if
5254 and only if window is dedicated.
5255 (quit-window): Handle quit-restore as before last change.
4d61f28d 5256 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 5257
ef8ef9fb
CY
52582011-09-13 Chong Yidong <cyd@stupidchicken.com>
5259
5260 * window.el (window-deletable-p): Never delete the last frame on a
5261 given terminal.
5262
b2cba41e
GM
52632011-09-13 Glenn Morris <rgm@gnu.org>
5264
5265 * help.el (describe-key-briefly): Copy previous standard-output change.
5266
51553db6 52672011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
5268
5269 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
5270
b7556719
GM
52712011-09-13 Glenn Morris <rgm@gnu.org>
5272
5273 * emacs-lisp/lisp-mode.el (lisp-indent-function):
5274 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5275
64b51947
CY
52762011-09-12 Chong Yidong <cyd@stupidchicken.com>
5277
5278 * dired-aux.el (dired-mark-read-string): Don't return default
5279 value on empty input (Bug#9361).
5280 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5281 Omit initial minibuffer contents.
5282 (dired-do-chmod): Signal an error on empty input.
5283 (dired-mark-read-string): Don't return default on empty input.
5284
5285 * files.el (file-modes-symbolic-to-number): Doc fix.
5286
393a301e
SM
52872011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5288
5289 * international/mule-cmds.el (ucs-completions): Remove.
5290 (read-char-by-name): Use complete-with-action instead; add metadata.
5291
fa5660f9
CY
52922011-09-11 Chong Yidong <cyd@stupidchicken.com>
5293
5294 * window.el (display-buffer--action-function-custom-type)
5295 (display-buffer--action-custom-type): New vars.
5296 (display-buffer-alist, display-buffer-default-action)
5297 (display-buffer-overriding-action): Add defcustom types.
5298
4a592f66
CY
5299 * frame.el (delete-other-frames): Doc fix (Bug#276).
5300
73d56dbd
LMI
53012011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5302
5303 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5304
37ac18a3
CY
53052011-09-11 Chong Yidong <cyd@stupidchicken.com>
5306
5307 Change modes that used same-window-* vars to use switch-to-buffer.
5308
5309 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5310 Use switch-to-buffer.
5311
5312 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
5313 (customize-browse, custom-buffer-create-other-window):
5314 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
5315
5316 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5317 (Info-prev, Info-up, Info-speedbar-goto-node)
5318 (info-display-manual): Use switch-to-buffer.
5319 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5320
5321 * mail/sendmail.el (mail): Use switch-to-buffer.
5322 (mail-recover): Use switch-to-buffer-other-window.
5323
5324 * cmuscheme.el (run-scheme, switch-to-scheme):
5325 * ielm.el (ielm):
5326 * shell.el (shell):
5327 * net/rlogin.el (rlogin):
5328 * net/telnet.el (telnet, rsh):
5329 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5330
10195bd6
AS
53312011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5332
5333 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5334
b322f63a
LMI
53352011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5336
39d7fed6
LMI
5337 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5338 so don't mention it (bug#9301).
ba5a81f1 5339 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 5340
ee0e9f11
LMI
5341 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5342 match `x', `w32' and `ns', like the manual says (bug#9029).
5343
0b1c89c1 5344 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
5345 (process-kill-buffer-query-function): Mention the buffer name in
5346 the query.
0b1c89c1 5347
77549ea8
LMI
5348 * image-mode.el (image-next-line): The line parameter is mandatory
5349 (bug#9258).
5350
803ef892
LMI
5351 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5352 which can be useful (bug#9301).
5353
12980837
LMI
5354 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5355
91054f8f
LMI
5356 * subr.el (match-string): Mention that the current buffer should
5357 be the same as the search was done in (bug#9282).
5358
b322f63a
LMI
5359 * facemenu.el: Disable the remove-* commands if the mark isn't
5360 active (bug#9162).
5361
3199b96f
CY
53622011-09-10 Chong Yidong <cyd@stupidchicken.com>
5363
5364 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5365 of display-buffer.
5366 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5367
5368 * replace.el (occur-mode-goto-occurrence)
5369 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5370 and display-buffer.
5371
5372 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5373 display-buffer.
5374
5375 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5376 special-display and same-window variables.
5377 (mail-other-window): Use switch-to-buffer-other-window.
5378 (mail-other-frame): USe switch-to-buffer-other-frame.
5379
393a301e
SM
5380 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5381 Use display-buffer-other-frame.
3199b96f
CY
5382 (gdb-display-gdb-buffer): Use pop-to-buffer.
5383
5384 * progmodes/gud.el (gud-goto-info): Use info-other-window.
5385
5386 * progmodes/python.el: Don't set same-window-buffer-names.
5387
5388 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5389
5390 * window.el (display-buffer-alist): Add *Python*.
5391
8319e0bf
CY
53922011-09-10 Chong Yidong <cyd@stupidchicken.com>
5393
5394 * window.el (display-buffer-alist): Add entry for buffers
5395 previously handled same-window-*.
5396 (display-buffer-alist, display-buffer-default-action)
5397 (display-buffer-overriding-action): Mark as risky.
5398 (display-buffer-alist): Document action function changes.
5399 (display-buffer--same-window-action)
5400 (display-buffer--other-frame-action): New variables.
5401 (switch-to-buffer, display-buffer-other-frame): Use them.
5402 (display-buffer): Rename reuse-frame entry to reusable-frames.
5403 (display-buffer-reuse-selected-window): Function deleted.
5404 (display-buffer-reuse-window): Handle reusable-frames alist entry.
5405 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5406 (display-buffer-special): New function.
5407 (display-buffer--maybe-pop-up-frame-or-window): Rename from
5408 display-buffer-reuse-or-pop-window. Split off special-display
5409 part into display-buffer-special.
5410 (display-buffer-use-some-window): Don't perform any special
5411 pop-up-frames handling.
5412 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 5413 (display-buffer--maybe-same-window): Rename from
0d3ff375 5414 display-buffer-maybe-same-window.
8319e0bf 5415
919a69aa
CY
5416 * info.el: Don't set same-window-regexps.
5417 (info-setup): New function.
5418 (info-other-window, info): Call it.
5419
5420 * cus-edit.el: Don't set same-window-regexps.
5421 (customize-group): New argument.
5422 (customize-group-other-window): Use it.
5423 (customize-face, customize-face-other-window): Likewise.
5424 (custom-buffer-create-other-window): Use pop-to-buffer directly.
5425
8319e0bf
CY
5426 * net/rlogin.el:
5427 * net/telnet.el:
5428 * progmodes/gud.el: Don't set same-window-regexps.
5429
5430 * cmuscheme.el:
5431 * ielm.el:
5432 * shell.el:
5433 * mail/sendmail.el:
5434 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5435
25173000
JL
54362011-09-10 Juri Linkov <juri@jurta.org>
5437
5438 * isearch.el (isearch-edit-string): Remove obsolete mention of
5439 `C-w' (`isearch-yank-word-or-char') from docstring.
5440 (isearch-query-replace): Fix typo in docstring (bug#9466).
5441
056e44ef
JL
54422011-09-10 Juri Linkov <juri@jurta.org>
5443
5444 * paren.el (show-paren-function): Don't show escaped parens.
5445 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
5446
c3760c17
EZ
54472011-09-10 Eli Zaretskii <eliz@gnu.org>
5448
5449 * mail/sendmail.el (mml-to-mime, mml-attach-file)
5450 (mm-default-file-encoding): Remove autoload forms, they are
5451 replaced with autoload cookies in mml.el and mm-encode.el.
5452 (mail-add-attachment): New command.
5453 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5454 (mail-mode): Mention mail-insert-file and mail-add-attachment in
5455 the doc string.
5456 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5457
fece895e
RT
54582011-09-10 Reuben Thomas <rrt@sc3d.org>
5459
e69df516
SM
5460 * simple.el (count-words-region): Use buffer if there's no region
5461 (bug#9429).
fece895e 5462
5e68ce4a
JL
54632011-09-09 Juri Linkov <juri@jurta.org>
5464
5465 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5466 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5467 (wdired-isearch-filter-read-only): New function. (Bug#6362)
5468
0a6b9622
AM
54692011-09-09 Alan Mackenzie <acm@muc.de>
5470
5471 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5472 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
5473
14a29deb
EZ
54742011-09-09 Eli Zaretskii <eliz@gnu.org>
5475
5476 Fix for Savannah bug#9392.
5477 * simple.el (mail-encode-mml): New defvar.
5478
5479 * mail/rmail.el (mail-encode-mml): Add a defvar.
5480 (rmail-enable-mime-composing): Default to t.
5481 (rmail-forward): Use MIME method of forwarding only if both
5482 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5483 Set mail-encode-mml non-nil if the MIME method was used.
5484
5485 * mail/sendmail.el (mml-to-mime): Add autoload form.
5486 (mail-encode-mml): Add a defvar.
5487 (mail-mode): Make mail-encode-mml buffer-local and initialize it
5488 to nil.
5489 (mail-send): If mail-encode-mml is non-nil, run the outgoing
5490 message through mml-to-mime, and reset mail-encode-mml to nil.
5491
28c45130
GM
54922011-09-09 Glenn Morris <rgm@gnu.org>
5493
5494 * woman.el (woman-if-body): When processing an .el block,
5495 do not delete the next .el block as well. (Bug#9447)
69f4b618 5496 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 5497
9b1c252e
MR
54982011-09-08 Martin Rudalics <rudalics@gmx.at>
5499
5500 * window.el (window-deletable-p): Make sure window is live before
5501 invoking window-prev-buffers.
5502
567457e3
LL
55032011-09-08 Leo Liu <sdl.web@gmail.com>
5504
5505 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
5506
97f05794
JL
55072011-09-08 Juri Linkov <juri@jurta.org>
5508
5509 * progmodes/compile.el (compilation-environment): Make it
5510 a defcustom (bug#8340).
5511
8b0874b5
MR
55122011-09-08 Martin Rudalics <rudalics@gmx.at>
5513
5514 * window.el (frame-auto-delete): Rename to window-auto-delete.
5515 Make it control auto-deletion of windows and/or frames.
5516 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 5517 for deleting window/frame. (Bug#9419)
8b0874b5
MR
5518 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5519 Rewrite handling of case when window/frame can be deleted.
5520 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 5521 argument t. (Bug#9456)
8b0874b5 5522
4feb6e73
CY
55232011-09-07 Chong Yidong <cyd@stupidchicken.com>
5524
5525 * help-mode.el (help-mode): Restore autoload.
5526
91ab9c13
JL
55272011-09-07 Juri Linkov <juri@jurta.org>
5528
5529 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5530 `compilation-environment'. Set buffer-local
5531 `compilation-environment' to `thisenv' later after (funcall mode).
5532 (Bug#8340)
5533
5534 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
5535 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5536 instead of replacing its value. (Bug#8340)
5537
0527e251
JL
55382011-09-07 Juri Linkov <juri@jurta.org>
5539
5540 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5541 based on text properties put by `grep-filter' instead of matching
5542 escape sequences.
5543 (grep-mode): Set buffer-local `compilation-error-screen-columns'
5544 to the value of `grep-error-screen-columns' (bug#9438).
5545
249f792c
JL
55462011-09-07 Juri Linkov <juri@jurta.org>
5547
5548 * simple.el (next-error-highlight, next-error-highlight-no-select):
5549 Doc fix (bug#9432).
5550
ff7271b9
OT
55512011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5552
5553 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5554 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
5555
183fc730
LL
55562011-09-07 Leo Liu <sdl.web@gmail.com>
5557
5558 * net/rcirc.el (rcirc-mode): Conditionally initialize
5559 rcirc-input-ring.
5560
77694924
SM
55612011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5562
5563 * emacs-lisp/find-func.el (find-function-C-source): Only set
5564 find-function-C-source-directory after checking that we found a source
5565 file there (bug#9440).
5566
d809b8eb
AM
55672011-09-06 Alan Mackenzie <acm@muc.de>
5568
5569 * isearch.el (isearch-other-meta-char): Wherever a key list is
5570 unread, "unread" the prefix arg, too. This fixes bug #8901.
5571
453de99f
OG
55722011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5573
5574 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5575
90439906
JL
55762011-09-05 Juri Linkov <juri@jurta.org>
5577
5578 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5579
f62bd846
JL
55802011-09-05 Juri Linkov <juri@jurta.org>
5581
5582 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5583 keeping point where processing of grep matches begins, and
5584 continue to delete remaining escape sequences from the same point.
5585 (grep-filter): Make leading zero optional in "0?1;31m" because
5586 git-grep emits "\033[1;31m" escape sequences unlike expected
5587 "\033[01;31m" as GNU Grep does (bug#9408).
5588 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5589
045820ec
JL
55902011-09-05 Juri Linkov <juri@jurta.org>
5591
5592 * subr.el (y-or-n-p): Capitalize "yes".
5593
f5e29b9b
MA
55942011-09-04 Michael Albinus <michael.albinus@gmx.de>
5595
5596 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
5597 `tramp-cache-unload-hook' where appropriate.
5598 (tramp-methods): Rename `tramp-remote-sh' to
5599 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
5600 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5601
5602 * net/tramp-sh.el (top): Don't require 'shell.
5603 (tramp-methods): Add `tramp-remote-shell' and
5604 `tramp-remote-shell-args' entries.
5605 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5606 (tramp-sh-handle-shell-command): Remove.
5607 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5608 Use `tramp-remote-shell'.
5609
2784c434
CY
56102011-09-03 Chong Yidong <cyd@stupidchicken.com>
5611
393a301e 5612 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
5613 (sendmail-query-once): Save directly to send-mail-function.
5614 Update message-send-mail-function too.
5615
5616 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5617
464cdf56
CS
56182011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5619
5620 * progmodes/python.el (python-mode-map): Use correct function to
5621 start python interpreter from menu-bar (as reported by Geert
5622 Kloosterman).
5623 (inferior-python-mode-map): Fix typo.
393a301e 5624 (python-shell-map): Remove.
464cdf56 5625
d37e5c87
DD
56262011-09-03 Deniz Dogan <deniz@dogan.se>
5627
5628 * net/rcirc.el (rcirc-print): Simplify code for
5629 rcirc-scroll-show-maximum-output. There is no need to walk
5630 through all windows to find the right one.
5631
f3ada0ee
CS
56322011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5633
5634 * help.el (help-return-method): Doc fix.
5635
1f3c99ca
MR
56362011-09-03 Martin Rudalics <rudalics@gmx.at>
5637
5638 * window.el (window-deletable-p): Don't return a non-nil value
5639 when there's a buffer that was shown in the window before.
5640 (Bug#9419)
393a301e
SM
5641 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5642 Set window's previous buffers to nil.
1f3c99ca 5643
a3cf097f
EZ
56442011-09-03 Eli Zaretskii <eliz@gnu.org>
5645
5646 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5647 newline before and after the tag line, so it doesn't interfere
5648 with determining the paragraph direction of bidirectional text.
5649
3d03de90
LL
56502011-09-03 Leo Liu <sdl.web@gmail.com>
5651
5652 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5653
c3313451
CY
56542011-09-02 Chong Yidong <cyd@stupidchicken.com>
5655
393a301e 5656 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
5657 (pop-to-buffer): Change interactive spec. Pass second argument
5658 directly to display-buffer.
5659 (display-buffer): Fix interactive spec. Use functionp to
5660 distinguish between a function and a list of functions.
5661
5662 * abbrev.el (edit-abbrevs):
5663 * arc-mode.el (archive-extract):
5664 * autoinsert.el (auto-insert):
5665 * bookmark.el (bookmark-bmenu-list):
5666 * files.el (find-file):
5667 * view.el (view-buffer):
5668 * progmodes/compile.el (compilation-goto-locus):
5669 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5670
89894cd8
CY
56712011-09-02 Chong Yidong <cyd@stupidchicken.com>
5672
5673 * window.el (display-buffer-alist): Doc fix.
5674 (display-buffer): Add docstring. Don't treat
5675 display-buffer-default specially.
5676 (display-buffer-reuse-selected-window)
5677 (display-buffer-same-window, display-buffer-maybe-same-window)
5678 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5679 (display-buffer-pop-up-window)
5680 (display-buffer-reuse-or-pop-window)
5681 (display-buffer-use-some-window): New functions.
5682 (display-buffer-default-action): Use them.
393a301e 5683 (display-buffer-default): Delete.
89894cd8
CY
5684 (pop-to-buffer-1): Fix choice of actions.
5685
ae0bc9fb
SM
56862011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5687
5688 * minibuffer.el (completion--insert-strings): Don't get confused by
5689 completion entries that end with an LF char.
5690
e9d90883
EZ
56912011-09-01 Eli Zaretskii <eliz@gnu.org>
5692
5693 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5694
437014c8
CY
56952011-09-01 Chong Yidong <cyd@stupidchicken.com>
5696
5697 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
5698 (display-buffer-same-window, display-buffer-other-window):
5699 New functions.
437014c8
CY
5700 (pop-to-buffer-1): New function. Use the above.
5701 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 5702 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
5703
5704 * view.el (view-buffer-other-window, view-buffer-other-frame):
5705 Just use pop-to-buffer.
5706
a5e063d5
TV
57072011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5708
5709 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5710
793d32bb
WH
57112011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5712
5713 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5714
d65e4c15
RS
57152011-08-31 Richard Stallman <rms@gnu.org>
5716
5717 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5718 of the separation of rmail-view-buffer from rmail-buffer.
5719 If you say no to "replace original", the decrypt is in the
5720 view buffer. If you say yes, the decrypt goes into the
5721 rmail buffer also.
5722
f818cd2a
MR
57232011-08-31 Martin Rudalics <rudalics@gmx.at>
5724
5725 * window.el (display-buffer-window): Rewrite doc-string.
5726 (display-buffer-record-window): New function.
5727 (display-buffer-macro-specifiers)
5728 (display-buffer-even-window-sizes, display-buffer-set-height)
5729 (display-buffer-set-width, display-buffer-in-window)
5730 (display-buffer-reuse-window, display-buffer-split-specifiers)
5731 (display-buffer-side-specifiers, display-buffer-split-window-1)
5732 (display-buffer-split-window, display-buffer-split-atom-window)
5733 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5734 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5735 (display-buffer-other-window-means-other-frame)
5736 (display-buffer-normalize-special)
5737 (display-buffer-normalize-default)
5738 (display-buffer-normalize-argument)
5739 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5740 (display-buffer-normalize-specifiers, display-buffer-frame)
5741 (display-buffer-same-window, display-buffer-same-frame)
5742 (display-buffer-other-window)
5743 (display-buffer-same-frame-other-window)
5744 (display-buffer-other-frame, pop-to-buffer-same-window)
5745 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5746 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5747 (switch-to-buffer-same-frame)
5748 (switch-to-buffer-other-window-same-frame)
5749 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5750 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5751 (display-buffer-alist-set): Remove.
5752 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
5753 (special-display-regexps, special-display-function):
5754 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
5755 parameter.
5756 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5757 (special-display-frame-alist, special-display-popup-frame)
5758 (same-window-buffer-names, same-window-regexps, same-window-p)
5759 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5760 (split-window-preferred-function, split-height-threshold)
5761 (split-width-threshold, window-splittable-p)
5762 (split-window-sensibly, window--try-to-split-window)
5763 (window--frame-usable-p, even-window-heights)
5764 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
5765 (window--display-buffer-2, display-buffer-other-frame):
5766 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
5767 (display-buffer-default, display-buffer-assq-regexp): New functions.
5768 (display-buffer-alist): Rewrite doc-string.
5769 (display-buffer-default-action)
5770 (display-buffer-overriding-action): New variables.
5771 (display-buffer, switch-to-buffer): Rewrite.
5772 (pop-to-buffer): Restore Emacs 23 behavior but use
5773 window-normalize-buffer-to-display.
5774 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5775 Restore Emacs 23 behavior but use
5776 window-normalize-buffer-to-switch-to.
5777 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
5778 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5779 Rewrite using Emacs 23 options.
f818cd2a 5780
5bc3b51d
MA
57812011-08-31 Michael Albinus <michael.albinus@gmx.de>
5782
5783 * net/tramp.el (tramp-root-regexp): Remove.
5784 (tramp-completion-file-name-regexp-unified)
5785 (tramp-completion-file-name-regexp-separate)
5786 (tramp-completion-file-name-regexp-url): Don't use leading volume
5787 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
5788 (tramp-drop-volume-letter): Simplify definition.
5789 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 5790
b1a4f8e1
SM
57912011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5792
5793 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5794 (bug#9356).
5795
5664fa7b
RT
57962011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5797
b1a4f8e1 5798 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 5799
9a45d6c3
JL
58002011-08-29 Juri Linkov <juri@jurta.org>
5801
5802 * isearch.el (isearch-done): Don't display message "Mark saved"
5803 when arg `edit' is non-nil to prevent its flicker in the echo area.
5804
fb87e0fb
CY
58052011-08-28 Chong Yidong <cyd@stupidchicken.com>
5806
5807 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5808 obsolete packages for deletion.
5809
09ac1c2a
CS
58102011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5811
5812 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 5813 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
5814 view-mode from help-mode.
5815 (help-xref-override-view-map): Remove.
5816 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5817 view-mode is not used anymore.
5818
7a1ff57f
CY
58192011-08-28 Chong Yidong <cyd@stupidchicken.com>
5820
5821 * server.el (server-port): Doc fix.
5822
b9696605
CY
5823 * cus-theme.el (custom-theme-choose-mode): Inherit from
5824 special-mode (Bug#9124).
5825 (custom-theme-choose-mode-map): Add special-mode to parent.
5826
ef8cdf8c
AM
58272011-08-28 Alan Mackenzie <acm@muc.de>
5828
5829 * progmodes/cc-fonts.el
5830 (c-make-font-lock-BO-decl-search-function): New function.
5831 (c-basic-matchers-after - "Fontify the clauses after various
5832 keywords"): Extract the three keyword lists for the 3 erroneous
5833 constructs from the list of four, and use the new function above
5834 in place of an old one.
5835
27de4e20
DD
58362011-08-28 Deniz Dogan <deniz@dogan.se>
5837
5838 * net/rcirc.el (rcirc-insert-prev-input)
5839 (rcirc-insert-next-input): Remove unused argument.
5840
356a3681
SM
58412011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5842
5843 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5844
3fc9b218
AM
58452011-08-27 Alan Mackenzie <acm@muc.de>
5846
5847 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5848 handle function pointer parameters properly.
5849
538a061c
MR
58502011-08-27 Martin Rudalics <rudalics@gmx.at>
5851
5852 * window.el (display-buffer-reuse-window): Fix case where
5853 selected window was reused with non-nil OTHER-WINDOW argument.
5854 (Bug#9381)
5855
35b1c40c
DD
58562011-08-27 Deniz Dogan <deniz@dogan.se>
5857
5858 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5859 oftc's NickServ messages.
5860
2f6a3e79
GM
58612011-08-27 Glenn Morris <rgm@gnu.org>
5862
5863 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5864
7254299e
CY
58652011-08-26 Chong Yidong <cyd@stupidchicken.com>
5866
5867 * emacs-lisp/package.el (package-install): Call package-initialize
5868 if called interactively.
5869
f8ccf167
LL
58702011-08-26 Leo Liu <sdl.web@gmail.com>
5871
5872 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5873
3e8cd5ce
JL
58742011-08-25 Juri Linkov <juri@jurta.org>
5875
5876 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5877 `search-whitespace-regexp' (bug#9364).
5878
93eb7113
JL
58792011-08-25 Juri Linkov <juri@jurta.org>
5880
5881 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5882 `regexp-search-ring' to their global values to protect from
5883 updating by `read-from-minibuffer' (bug#9185).
5884
f65d1611
JL
58852011-08-25 Juri Linkov <juri@jurta.org>
5886
5887 * textmodes/ispell.el (ispell-command-loop): Add newline
5888 at the end of the "Use option `i'..." line.
5889
f1cf7a31
JL
58902011-08-25 Juri Linkov <juri@jurta.org>
5891
5892 * battery.el (display-battery-mode): If `battery-status-function'
5893 or `battery-mode-line-format' is nil, display the message and set
5894 `display-battery-mode' to nil (bug#9363).
5895
0c95fcf7
EZ
58962011-08-25 Eli Zaretskii <eliz@gnu.org>
5897
5898 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5899 bidi-string-mark-left-to-right; they are unnecessary now.
5900
a2ebe600
DD
59012011-08-25 Deniz Dogan <deniz@dogan.se>
5902
5903 * net/quickurl.el: Documentation typo fixes.
5904
e4ed06f1
CY
59052011-08-25 Chong Yidong <cyd@stupidchicken.com>
5906
5907 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5908
e5f1c99e
GM
59092011-08-25 Glenn Morris <rgm@gnu.org>
5910
b2948976
GM
5911 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5912
e5f1c99e
GM
5913 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5914 (smtpmail-via-smtp): Handle nil response from smtp.
5915
f22f4808
JL
59162011-08-24 Juri Linkov <juri@jurta.org>
5917
5918 * proced.el (proced-marked): Inherit from `error' instead of
5919 `font-lock-warning-face'.
5920
5921 * ibuffer.el (ibuffer-marked-face): Change default face from
5922 `font-lock-warning-face' to `warning'.
5923 (ibuffer-deletion-face): Change default face from
5924 `font-lock-type-face' to `error'.
5925
5926 * battery.el (battery-update): Use the face `error' instead of
5927 `font-lock-warning-face' (bug#6117).
5928
6a93965e
JL
59292011-08-24 Juri Linkov <juri@jurta.org>
5930
5931 * faces.el (success): Change face color from "Green3" to
5932 "ForestGreen" on light background (bug#9353).
5933
1ed43b09
CY
59342011-08-24 Chong Yidong <cyd@stupidchicken.com>
5935
5664fa7b
RT
5936 * window.el (quit-window): Rename from quit-restore-window.
5937 Use same arglist as old quit-window.
1ed43b09
CY
5938 (frame-auto-delete): Doc fix.
5939
5940 * view.el (view-mode-exit): Use quit-window.
5941
11dcdbb2
JL
59422011-08-24 Juri Linkov <juri@jurta.org>
5943
5944 * isearch.el (isearch-ring-adjust1): Start visiting previous
5945 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5946 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5947 for empty search string (when the last search string is reused
5948 automatically) to adjust the isearch ring to the last element and
5949 prepare the correct index for further M-p commands (bug#9185).
5950
de62b4df
KH
59512011-08-24 Kenichi Handa <handa@m17n.org>
5952
5953 * international/ucs-normalize.el: If decomposition property of
5954 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5955 nil.
5956 (nfd, nfkd): Likewise.
5957
963b492b
SM
59582011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5959
5960 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5961 from process filters aren't reliably transmitted to the surrounding
5962 accept-process-output.
5963 (mpc-proc-check): New function.
5964 (mpc-proc-sync): Use it (bug#8293)
5965
93b6b5e1
SM
59662011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5967
5968 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5969 Add compatibility functions (bug#9313).
5970
bca633fb
EZ
59712011-08-23 Eli Zaretskii <eliz@gnu.org>
5972
b177498a
EZ
5973 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5974
6df6ae42 5975 * international/uni-bidi.el: Regenerate.
bca633fb 5976
0902a04e
KH
59772011-08-23 Kenichi Handa <handa@m17n.org>
5978
5979 * international/charprop.el:
5980 * international/uni-bidi.el:
5981 * international/uni-category.el:
5982 * international/uni-combining.el:
5983 * international/uni-comment.el:
5984 * international/uni-decimal.el:
5985 * international/uni-decomposition.el:
5986 * international/uni-digit.el:
5987 * international/uni-lowercase.el:
5988 * international/uni-mirrored.el:
5989 * international/uni-name.el:
5990 * international/uni-numeric.el:
5991 * international/uni-old-name.el:
5992 * international/uni-titlecase.el:
5993 * international/uni-uppercase.el: Regenerate.
5994
3bbf23bc
MR
59952011-08-23 Martin Rudalics <rudalics@gmx.at>
5996
5997 * help.el (help-window-setup): Fix message displayed when other
5998 window is reused. (Bug#9341)
5999
b3fd59bd
SM
60002011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6001
1802e444
SM
6002 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6003 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6004
b3fd59bd
SM
6005 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6006 Mark obsolete.
6007 * shell.el (shell-parse-pcomplete-arguments): New function.
6008 (shell-completion-vars): Use it instead (bug#9160).
6009
4eb61348
SM
60102011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6011
867cab74
SM
6012 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6013 strings and comments (bug#9333).
6014
4eb61348
SM
6015 * emacs-lisp/debug.el (debug-arglist): New function.
6016 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6017 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6018
262a1439
JL
60192011-08-22 Juri Linkov <juri@jurta.org>
6020
56ee679c
JL
6021 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6022 Revert regexp that highlights output switches to its old
6023 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6024
262a1439
JL
6025 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6026 to check for empty output (bug#9226).
6027
f13f86fb
CY
60282011-08-22 Chong Yidong <cyd@stupidchicken.com>
6029
6030 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6031 symbol-constituent as the default, as that stops font-lock from
6032 working properly (Bug#8843).
6033
c65c9622
LMI
60342011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6035
6036 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6037 `coding-system-for-*' around the process open call to avoid
6038 auth-source side effects.
e7f2c178 6039 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
6040 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6041 probe hangs.
c65c9622 6042
23a8a5ab
CY
60432011-08-21 Chong Yidong <cyd@stupidchicken.com>
6044
ff98b2dd
CY
6045 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6046
23a8a5ab
CY
6047 * emacs-lisp/find-func.el (find-function-noselect): New arg
6048 lisp-only.
6049
6050 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6051 signal an error for built-in functions (Bug#6664).
6052
f5e3c598
LMI
60532011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6054
6055 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6056 (smtpmail-try-auth-methods): Use it.
6057
a3f2468a
CY
60582011-08-21 Chong Yidong <cyd@stupidchicken.com>
6059
2c34e8da
CY
6060 * font-lock.el (font-lock-fontify-region)
6061 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6062 (font-lock-default-unfontify-buffer)
6063 (font-lock-default-fontify-region)
6064 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6065
b3fd59bd
SM
6066 * progmodes/compile.el (compilation-error-properties):
6067 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
6068 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6069 `ant' regexp.
ee31aabc 6070
a3f2468a
CY
6071 * net/browse-url.el (browse-url-firefox): Don't call
6072 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6073
8e999f70
GM
60742011-08-20 Glenn Morris <rgm@gnu.org>
6075
c21a496a
GM
6076 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6077
59ee0542
GM
6078 * tutorial.el (tutorial--default-keys): Update some default bindings.
6079
8e999f70
GM
6080 * files.el (hack-local-variables): Fully ignore case for "mode:".
6081
e3715033
AM
60822011-08-20 Alan Mackenzie <acm@muc.de>
6083
6084 Resolve invalid use of a regexp in regexp-opt.
6085
4d61f28d
JB
6086 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6087 detection for a java annotation.
e3715033 6088
4d61f28d 6089 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
6090 detection for a java annotation.
6091
4d61f28d
JB
6092 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6093 handling for java.
e3715033
AM
6094 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6095
04ed2e9c
CY
60962011-08-20 Chong Yidong <cyd@stupidchicken.com>
6097
6098 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6099 (Bug#9274).
6100
826cee64
AM
61012011-08-20 Alan Mackenzie <acm@muc.de>
6102
58179cce 6103 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
6104 such a construct. Mainly for when jit-lock etc. starts a chunk
6105 here.
6106
58179cce 6107 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 6108 variable.
58179cce 6109 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
6110 c-make-font-lock-search-function.
6111 (c-make-font-lock-search-function): Use the above function.
6112 (c-make-font-lock-context-search-function): New function.
6113 (c-cpp-matchers): Enhance the preprocessor expression case with
6114 the above function
6115 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6116 which takes an expression.
6117
6118 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6119
13009bd8
MR
61202011-08-20 Martin Rudalics <rudalics@gmx.at>
6121
6122 * window.el (display-buffer-reuse-window)
6123 (display-buffer-pop-up-window): Don't reuse or split a side
6124 window.
6125
9234ff7f
GM
61262011-08-19 Glenn Morris <rgm@gnu.org>
6127
6128 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 6129 Downcase "Mode:". (Bug#9331)
9234ff7f 6130
f635daa1
CY
61312011-08-18 Chong Yidong <cyd@stupidchicken.com>
6132
6133 * international/characters.el: Add L and R categories.
6134
6135 * subr.el (bidi-string-mark-left-to-right): Rename from
6136 string-mark-left-to-right. Use category search.
6137
6138 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6139
bc987f8b
JL
61402011-08-18 Juri Linkov <juri@jurta.org>
6141
6142 * faces.el (error, warning, success): New faces with definitions
6143 copied from old default values of `font-lock-warning-face',
6144 `compilation-warning', `compilation-info' (bug#6117).
6145
6146 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6147
6148 * progmodes/compile.el (compilation-error): Inherit from `error'.
6149 (compilation-warning): Inherit from `warning'.
6150 (compilation-info): Inherit from `success'.
6151
6152 * dired.el (dired-marked): Inherit from `warning'.
6153 (dired-flagged): Inherit from `error'.
6154
57173b96
LMI
61552011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6156
3e79eb87
LMI
6157 * mail/smtpmail.el (auth-source): Require to avoid problems with
6158 binding variables (bug#9298). Also clean up some unused
6159 autoloads.
6160
b3fd59bd
SM
6161 * net/network-stream.el (network-stream-open-starttls):
6162 Support using starttls.el without using gnutls-cli.
57173b96 6163
02b404de
JL
61642011-08-17 Juri Linkov <juri@jurta.org>
6165
6166 * progmodes/grep.el (rgrep): Handle the case when
6167 `grep-find-command' is a cons cell (bug#9278).
6168
8c9177f2
MR
61692011-08-17 Martin Rudalics <rudalics@gmx.at>
6170
6171 * window.el (display-buffer-pop-up-frame): Run frame creation
6172 function with BUFFER current (as special-display-popup-frame
6173 does). Reported by Drew Adams.
6174
3644a0ab
DU
61752011-08-17 Daiki Ueno <ueno@unixuser.org>
6176
6177 * epa-mail.el: Simplify GnuPG group expansion using
6178 epg-expand-group.
6179 (epa-mail-group-alist, epa-mail-group-modtime)
6180 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6181 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6182 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6183 Remove.
6184
5e617bc2 61852011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
6186
6187 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6188
9c4aeabf
AM
61892011-08-16 Alan Mackenzie <acm@muc.de>
6190
6191 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6192 Correct, to avoid the inside of macros.
6193
3a99bf64
RS
61942011-08-16 Richard Stallman <rms@gnu.org>
6195
04963aa8
RS
6196 * epa-mail.el: Handle GnuPG group definitions.
6197 (epa-mail-group-alist, epa-mail-group-modtime)
6198 (epa-mail-gnupg-conf-file): New variables.
6199 (epa-mail-parse-groups, epa-mail-sync-groups)
6200 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6201 (epa-mail-expand-recipients): New functions.
6202 (epa-mail-encrypt): Call epa-mail-expand-recipients.
6203
177549d0
RS
6204 * mail/rmail.el (rmail-epa-decrypt): New command.
6205
fe38beef
RS
6206 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6207 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
6208 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6209 (epa-decrypt-armor-in-region): Make error message clearer.
6210
934eacb9
SM
62112011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6212
6213 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6214 and "a2b" to "ab" for `prefix'.
6215
d024fb4e
CY
62162011-08-14 Chong Yidong <cyd@stupidchicken.com>
6217
6218 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6219 filter groups.
de148fee
CY
6220 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
6221 Fourquet (Bug#8804).
d024fb4e 6222
62f1ca49
JB
62232011-08-12 Juanma Barranquero <lekktu@gmail.com>
6224
6225 * startup.el (argi): Declare as global variable (bug#9275).
6226
9ccaaa4b
CY
62272011-08-12 Chong Yidong <cyd@stupidchicken.com>
6228
6229 * subr.el (string-mark-left-to-right): Search the entire string
6230 for RTL script, not just the terminating character. Doc fix.
6231
a3dae87a
SM
62322011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6233
6cd18349
SM
6234 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6235 New function.
6236 (js--regexp-literal, js-syntax-propertize-function): Remove.
6237 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6238 (js-mode-map): Don't rebind electric keys.
6239 (js-insert-and-indent): Remove.
6240 (js-mode): Setup electric-layout and electric-indent instead.
6241
a3dae87a
SM
6242 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6243
9d5cb631
DU
62442011-08-12 Daiki Ueno <ueno@unixuser.org>
6245
6246 * epa.el (epa-progress-callback-function): Fix the logic of
6247 displaying progress.
6248 * epa-file.el (epa-file-insert-file-contents): Make progress
6249 display more user-friendly.
6250 (epa-file-write-region): Ditto.
6251
3e26a4a2
CY
62522011-08-10 Chong Yidong <cyd@stupidchicken.com>
6253
6254 * subr.el (string-mark-left-to-right): New function.
6255
6256 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6257 Use string-mark-left-to-right.
6258 (list-buffers-noselect): Caller changed.
6259
a3dae87a
SM
6260 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6261 Use string-mark-left-to-right.
3e26a4a2
CY
6262 (tabulated-list-print): Recenter after moving point.
6263
ac8cf6e6
JL
62642011-08-10 Juri Linkov <juri@jurta.org>
6265
6266 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6267 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6268 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6269
8d96c9a4
CY
62702011-08-09 Chong Yidong <cyd@stupidchicken.com>
6271
6272 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6273 (Bug#7554).
6274
7be1c708 62752011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
6276
6277 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6278 character. (Bug#6594)
6279
37e11a63
CY
62802011-08-08 Chong Yidong <cyd@stupidchicken.com>
6281
839dde57
CY
6282 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6283 (image-dired--with-db-file): New macro.
6284 (image-dired-write-tags, image-dired-remove-tag)
6285 (image-dired-create-gallery-lists, image-dired-write-comments)
6286 (image-dired-get-comment, image-dired-mark-tagged-files)
6287 (image-dired-list-tags, image-dired-gallery-generate): Use it.
6288 (image-dired-gallery-generate): Use insert-file-contents.
6289
37e11a63
CY
6290 * time.el (display-time-world-list, display-time-world-display):
6291 * time-stamp.el (time-stamp-string):
6292 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6293 set-time-zone-rule (Bug#7337).
6294
0b4946c4
DU
62952011-08-08 Daiki Ueno <ueno@unixuser.org>
6296
6297 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6298 (epg-error-to-string, epg-errors-to-string): New function.
6299 (epg-wait-for-completion): Reverse errors list.
6300 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6301 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6302 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6303 (epg-sign-keys, epg-generate-key-from-file)
6304 (epg-generate-key-from-string): Format errors by using
6305 epg-errors-to-string (bug#9255).
6306 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6307
75bfc667
JL
63082011-08-07 Juri Linkov <juri@jurta.org>
6309
6310 * faces.el (list-faces-display): Remove extra angle bracket
6311 from `help-mode-map'.
6312
6313 * info.el (Info-history-toc-nodes): Doc fix.
6314
6315 * longlines.el (longlines-mode): Doc fix.
6316
673e08bb
SM
63172011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6318
4640dd88
SM
6319 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6320 of statements and in a few more cases (bug#9183).
6321
673e08bb
SM
6322 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6323 New functions.
6324 (cl-transform-lambda): Use them (bug#9239).
6325
89b3f019
MR
63262011-08-05 Martin Rudalics <rudalics@gmx.at>
6327
6328 * window.el (display-buffer-same-window)
6329 (display-buffer-same-frame, display-buffer-other-window)
6330 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6331 (pop-to-buffer-other-window)
6332 (pop-to-buffer-same-frame-other-window)
6333 (pop-to-buffer-other-frame): Make them defuns.
6334 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6335
640c8776
SM
63362011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6337
6338 * subr.el (make-composed-keymap): Move from C. Change calling
6339 convention, and improve docstring to bring attention to a subtle point.
6340 * minibuffer.el (completing-read-default): Adjust accordingly.
6341
63648a95
MA
63422011-08-03 Michael Albinus <michael.albinus@gmx.de>
6343
6344 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6345 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6346
6347 * net/trampver.el: Update release number.
6348
b796c9b7
SM
63492011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6350
6351 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6352 "in" (bug#9190).
6353
2239d7d5
LMI
63542011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6355
e07dd7c3
LMI
6356 * mail/sendmail.el (sendmail-query-once): Restore the current
6357 buffer after querying (bug#9074).
6358
0e6a2bd7
LMI
6359 * dired.el (dired-flagged): Use different faces for marked and
6360 flagged files (bug#6117).
6361
ce887515
LMI
6362 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6363 (bug#4433).
6364
92f2affc
LMI
6365 * ido.el (ido-mode): Switch off the message if called
6366 non-interactively.
6367
57d5aff0
LMI
6368 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6369 before 587, since it appears that that's more likely to work for
6370 more people.
6371
98cd6c18 6372 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 6373 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
6374 exist.
6375
b96dec83
LMI
6376 * info.el: Remove the `Info-beginning-of-buffer' function
6377 (bug#8325).
6378
b796c9b7
SM
6379 * net/network-stream.el (network-stream-open-starttls):
6380 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 6381
d90e2ea0
MR
63822011-08-01 Martin Rudalics <rudalics@gmx.at>
6383
6384 * window.el (display-buffer-in-window): Don't set dedicated status
6385 of window here (Bug#9215).
6386 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6387 (display-buffer-pop-up-side-window)
b796c9b7 6388 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 6389
cca09170
SM
63902011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6391
6392 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6393 before binding generated-autoload-file.
6394
027b979c
DD
63952011-08-01 Deniz Dogan <deniz@dogan.se>
6396
6397 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6398
3c7ee4f3
MA
63992011-07-30 Michael Albinus <michael.albinus@gmx.de>
6400
6401 Sync with Tramp 2.2.2.
6402
6403 * net/trampver.el: Update release number.
6404
2cc8e51a
JL
64052011-07-30 Juri Linkov <juri@jurta.org>
6406
6407 * dired-aux.el (dired-touch-initial): Remove function.
6408 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6409 current time, and `default' to the last modification time of the
6410 current marked file (bug#6887).
6411
a514d856
JM
64122011-07-28 Jose E. Marchesi <jemarch@gnu.org>
6413
6414 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 6415 numeric argument to read-number (bug#9163).
a514d856 6416
8a7eddd7
MA
64172011-07-27 Michael Albinus <michael.albinus@gmx.de>
6418
6419 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6420 connection process, it could be nil.
6421
1ddd96f5
LL
64222011-07-27 Leo Liu <sdl.web@gmail.com>
6423
6424 Simplify url handling in rcirc-mode.
6425
6426 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6427 (rcirc-browse-url-at-mouse): Remove.
6428 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6429
b248a85d
AM
64302011-07-26 Alan Mackenzie <acm@muc.de>
6431
6432 Fontify bitfield declarations properly.
6433
6434 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6435 (c-symbol-chars): Now exported as a lang variable.
6436 (c-not-primitive-type-keywords): New lang variable.
6437
6438 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6439 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 6440 parsed as a bitfield declaration.
b248a85d 6441
b796c9b7
SM
6442 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6443 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
6444 (c-punctuation-in): New function.
6445 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6446 declarations properly.
6447
68575ab0
UJ
64482011-07-26 Ulf Jasper <ulf.jasper@web.de>
6449
6450 * calendar/icalendar.el (icalendar--all-events): Take care of
6451 multiple vcalendars in a single file.
b796c9b7 6452 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 6453
0f0a88b9
DD
64542011-07-25 Deniz Dogan <deniz@dogan.se>
6455
6456 * image.el (insert-image): Clarifying docstring.
6457
0b3f36df
MA
64582011-07-24 Michael Albinus <michael.albinus@gmx.de>
6459
6460 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6461 `tramp-send-command-and-check' if there is no error.
6462 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6463
a9901f61
AM
64642011-07-22 Alan Mackenzie <acm@muc.de>
6465
6466 Prevent cc-langs.elc being loaded at run time.
6467
6468 * progmodes/cc-mode.el: Remove two autoload forms which loaded
6469 cc-langs.
6470
4d61f28d 6471 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
6472 "(require 'cc-langs)". Quote a form so it will evaluate at
6473 (cc-mode's) compilation time.
6474
11d074b2
MA
64752011-07-22 Michael Albinus <michael.albinus@gmx.de>
6476
6477 * net/tramp.el (tramp-file-name-handler): Avoid recursive
6478 loading. (Bug#9114)
6479
938b94c8
MR
64802011-07-21 Martin Rudalics <rudalics@gmx.at>
6481
6482 * window.el (display-buffer-pop-up-window)
6483 (display-buffer-pop-up-side-window)
6484 (display-buffer-in-side-window): Call display-buffer-set-height
6485 and display-buffer-set-width after setting the new window's
b796c9b7 6486 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 6487
bfa4f190
SS
64882011-07-20 Sam Steingold <sds@gnu.org>
6489
6490 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6491 (etags-tags-included-tables): Call `convert-standard-filename' on
6492 the file names contained in TAGS so that windows Emacs can handle
6493 TAGS files created by cygwin ctags.
6494
8ca42262
LMI
64952011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
6496
6497 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6498 which apparently didn't work.
6499
5db2afd2 65002011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 6501
5db2afd2
RW
6502 * proced.el (proced-send-signal): For *Marked Processes* buffer
6503 put point at beginning of buffer.
6504
92e15d10
SB
65052011-07-19 Stephen Berman <stephen.berman@gmx.net>
6506
6507 * proced.el (proced-format): Make header lines align with the text
6508 (bug#1779).
6509
1bfd59e5
LMI
65102011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6511
6512 * view.el (view-buffer): Allow running in `special' modes if we're
6513 visiting a file (bug#8615).
6514
f5aae37c
MR
65152011-07-19 Martin Rudalics <rudalics@gmx.at>
6516
6517 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
6518 (display-buffer-alist-set-1, display-buffer-alist-set-2):
6519 New functions.
f5aae37c
MR
6520 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6521 more accurately.
6522
bf2c1571
AM
65232011-07-18 Alan Mackenzie <acm@muc.de>
6524
6525 Fontify declarators properly when, e.g., a jit-lock chunk begins
6526 inside a declaration.
6527
6528 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6529
b796c9b7
SM
6530 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6531 New function.
bf2c1571
AM
6532 (c-complex-decl-matchers): Insert reference to
6533 c-font-lock-enclosing-decls.
6534
6535 * progmodes/cc-engine.el (c-backward-single-comment):
6536 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6537 to nil around calls to (forward-comment -1).
6538
4e190b80
LMI
65392011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6540
12dc863d
LMI
6541 * image.el (put-image): Doc typo fix.
6542
a762e966
LMI
6543 * progmodes/etags.el (tags-search): Doc typo fix.
6544
4e190b80
LMI
6545 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6546 password if we get errors 550 to 554.
6547
f019fb21
LMI
65482011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6549
b796c9b7 6550 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 6551
81746738
LMI
6552 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6553 indentation character (bug#6380).
6554
3ee3a1b5
LMI
6555 * files.el (buffer-offer-save): Made permanently local (bug#6241).
6556
c82f64de
LMI
6557 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6558 to clarify what the problem is (bug#4291).
6559
f019fb21
LMI
6560 * simple.el (current-kill): Clarify what
6561 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
6562 (auto-fill-mode): Document `auto-fill-function' in relation to
6563 `auto-fill-mode' (bug#2470).
f019fb21 6564
0794775d
LM
65652011-07-16 Lawrence Mitchell <wence@gmx.li>
6566
6567 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6568 method if slot is read-only (bug#9035).
6569
be39b8cc
MR
65702011-07-16 Martin Rudalics <rudalics@gmx.at>
6571
b796c9b7 6572 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 6573 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
6574 selected before, see discussion of (Bug#8615), (Bug#6954).
6575 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 6576
6ccf7859
GM
65772011-07-15 Glenn Morris <rgm@gnu.org>
6578
6579 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 6580 Respect help-form.
6ccf7859 6581
87e86684
LM
65822011-07-09 Lawrence Mitchell <wence@gmx.li>
6583
6584 * net/gnutls.el (gnutls-min-prime-bits): New variable.
6585 (gnutls-negotiate): Use it.
6586
d6066239
LMI
65872011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6588
b796c9b7
SM
6589 * net/gnutls.el (gnutls-negotiate):
6590 Upcase `gnutls-algorithm-priority'.
d6066239 6591
bd23ebc0
GM
65922011-07-15 Glenn Morris <rgm@gnu.org>
6593
c65bca65
GM
6594 * jka-compr.el (jka-compr-verbose): Move from here...
6595 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
6596 Add missing :version tag.
6597 * info.el: No need to require jka-compr when compiling.
bd23ebc0 6598
478615cc
LMI
65992011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6600
7b41decb
LMI
6601 * net/gnutls.el (gnutls-algorithm-priority): New variable.
6602 (gnutls-negotiate): Use it.
6603
dbc44fcd
LMI
6604 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6605
06789f97
LMI
6606 * info.el (Info-beginning-of-buffer): New command.
6607 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6608 announcing `b' as the key (bug#8325).
ab896c37 6609 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 6610
c39da690
LMI
6611 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6612
3aa5f34b
LMI
6613 * international/mule-cmds.el
6614 (describe-specified-language-support): Make the error message
6615 clearer (bug#8905).
6616
4bf0979f
LMI
6617 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6618
478615cc
LMI
6619 * isearch.el (isearch-barrier): Add a doc string, since it's
6620 mentioned in a function doc string (bug#8678).
6621
75c68aa1
MR
66222011-07-15 Martin Rudalics <rudalics@gmx.at>
6623
6624 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6625 buffer argument (Bug#9083) and self-identifying label argument.
6626
a7c33da2
GM
66272011-07-15 Glenn Morris <rgm@gnu.org>
6628
6629 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6630
2f5c6024
LMI
66312011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6632
6633 * man.el (Man-fontify-manpage): Fix message when formatting the
6634 man page (bug#7929).
6635
0bb23927 66362011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
6637
6638 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6639 argument LRM; if non-nil, append an invisible LRM character to the
6640 buffer name.
6641 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6642 last argument non-nil, when formatting buffer names.
0bb23927
EZ
6643 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6644 paragraph direction.
cce4b0a7 6645
621ef9ab
LMI
66462011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6647
d1583c48
LMI
6648 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6649 the man page name (bug#7929).
6650
6a57fb5f
LMI
6651 * image.el (put-image): Mention the `put-image' overlay property
6652 (bug#7834).
6653
d7956b14
LMI
6654 * scroll-bar.el (set-scroll-bar-mode): Mention that
6655 `scroll-bar-mode' lists the values (bug#7772).
6656
5b2d4a66
LMI
6657 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6658 command (bug#7729).
6659
7509a874
LMI
6660 * rect.el (apply-on-rectangle): Return the point after the last
6661 operation.
6662 (string-rectangle): Go to the point after the last operation
6663 (bug#7522).
6664
4fe74b19
LMI
6665 * printing.el (pr-toggle-region): Clarify the documentation
6666 slightly (bug#7493).
6667
b796c9b7
SM
6668 * time.el (display-time-update):
6669 Allow `display-time-mail-function' to return nil (bug#7158).
6670 Fix suggested by Detlev Zundel.
ab283561 6671
fc233c9d
LMI
6672 * vc/diff.el (diff): Clarify the order the file names are read
6673 (bug#7111).
6674
43f5740b
LMI
6675 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6676 the doc string (bug#7015).
6677
f2182a76
LMI
6678 * font-lock.el (font-lock-maximum-decoration): Mention what
6679 numeric levels mean (bug#6935).
6680
621ef9ab
LMI
6681 * startup.el (initial-buffer-choice): Don't mention the `none'
6682 selection, which is against policy.
6683
adc47434
MR
66842011-07-14 Martin Rudalics <rudalics@gmx.at>
6685
b796c9b7
SM
6686 * window.el (display-buffer-normalize-special):
6687 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 6688
7e5bfb8f
EZ
66892011-07-14 Eli Zaretskii <eliz@gnu.org>
6690
6691 * subr.el (version<, version<=, version=): Mention "-CVS" and
6692 "-12345" alpha version numbers.
6693
27fa387a
CY
66942011-07-14 Chong Yidong <cyd@stupidchicken.com>
6695
6696 * bindings.el: Add advertised binding for set-mark-command
6697 (Bug#5772).
6698
8bdfa064
CY
66992011-07-14 Chong Yidong <cyd@stupidchicken.com>
6700
6701 * bindings.el (mode-line-other-buffer):
6702 * bookmark.el (bookmark-bmenu-2-window):
6703 * bs.el (bs-cycle-next, bs-cycle-previous):
6704 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6705 switch-to-buffer.
6706
6707 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 6708 Delete.
8bdfa064 6709
5eba16a3
JB
67102011-07-14 Juanma Barranquero <lekktu@gmail.com>
6711
6712 * follow.el (follow-debug-message, follow-redisplay):
6713 * jka-cmpr-hook.el (with-auto-compression-mode):
6714 Fix typos in docstrings.
6715
15853710
LMI
67162011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6717
a28e4607
LMI
6718 * subr.el (with-silent-modifications): Clarify somewhat what the
6719 macro inhibits (bug#6525).
6720
15853710
LMI
6721 * simple.el (eval-expression): Note what it does if called
6722 interactively (bug#6495).
6723
bee0fcef
CY
67242011-07-13 Chong Yidong <cyd@stupidchicken.com>
6725
b796c9b7
SM
6726 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6727 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
6728
6729 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6730 Remove switch-to-buffer.
6731
58274504
LMI
67322011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6733
bd2fcc8d
LMI
6734 * files.el (make-directory): Clarify that an error will be raised
6735 if there's an error (bug#6397).
6736
0f04b32c
LMI
6737 * startup.el (initial-buffer-choice): Add `none' as a choice
6738 (bug#6234).
6739
465c5fc8
LMI
6740 * subr.el (add-hook): Clarify section about buffer-local hooks
6741 (bug#6218).
6742
58274504
LMI
6743 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6744
bead9a43
JB
67452011-07-13 Juanma Barranquero <lekktu@gmail.com>
6746
6747 * tabify.el (untabify): Preserve the current column so that point
6748 doesn't move (bug#6032).
6749
3af98a7b
LMI
67502011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6751
b796c9b7
SM
6752 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6753 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 6754
6240145a
GM
67552011-07-13 Glenn Morris <rgm@gnu.org>
6756
6757 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6758 (dired-insert-directory): Give a message the first time
6759 if ls is found not to support --dired.
6760
1d8c2ccc
LMI
67612011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6762
6763 * simple.el (toggle-truncate-lines): Clarify what is toggled
6764 (bug#5580). Text by Drew Adams.
6765
5fc4038e
CY
67662011-07-13 Chong Yidong <cyd@stupidchicken.com>
6767
6768 * simple.el (blink-matching-open): Make the error message from the
6769 last change less verbose.
6770
bf6012e5
DN
67712011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6772
6773 * font-lock.el (font-lock-comment-face): Use the high contrast
6774 "yellow" color for font-lock-comment-face on low color terminals
6775 using a dark background color (bug#4221).
6776
343c3b5a
LMI
67772011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6778
7e9505c5
LMI
6779 * dired.el (dired-insert-set-properties): Make the doc string
6780 reflect what it does now (bug#5325).
6781
c26fdcf5
LMI
6782 * simple.el (blink-matching-open): Say that we were unable to find
6783 the match within the limit, if we're limited (bug#5122).
6784
bb388cc5
LMI
6785 * international/mule-cmds.el (prefer-coding-system): Add an
6786 example (bug#4869).
6787
343c3b5a
LMI
6788 * progmodes/etags.el (tags-search): Document `file-list-form'
6789 (bug#4731).
6790
2a517d45
LM
67912011-07-13 Lawrence Mitchell <wence@gmx.li>
6792
6793 * net/browse-url.el (browse-url-default-browser)
6794 (browse-url-browser-function): Make the default browser choice a
6795 bit more logical (bug#4300). Also clean up the doc string.
6796
b6c78ef2
JB
67972011-07-13 Juanma Barranquero <lekktu@gmail.com>
6798
6799 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6800 binary endings (bug#4440).
6801
1c4dd947
LMI
68022011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6803
a2014063
LMI
6804 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6805 which can be pretty annoying (bug#8971).
6806
9c9c2d88
LMI
6807 * jka-compr.el (jka-compr-verbose): New variable, and use
6808 throughout (bug#8971).
6809
1c4dd947
LMI
6810 * info.el (Info-find-file): Fall back on the installation
6811 directory if we can't find the info node anywhere else.
6812
a1c9f41b
SO
68132011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6814
6815 * vc/vc.el (vc-revert-file):
6816 Don't set file time-stamp in the past. (Bug#5181)
6817
536f3d36
LMI
68182011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6819
7152b011
LMI
6820 * files.el (after-find-file): Give a better error message when
6821 trying to find a symlink that points to a file that doesn't exist
6822 (bug#4398).
6823
536f3d36
LMI
6824 * progmodes/cc-vars.el: Remove (probably) misleading comment
6825 (bug#4396).
6826
460c0fba
JB
68272011-07-12 Johan Bockgård <bojohan@gnu.org>
6828
6829 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6830
7a6bda45
CY
68312011-07-12 Chong Yidong <cyd@stupidchicken.com>
6832
6833 * mouse-sel.el: Hack restoring functionality, while keeping
6834 compatibility with 2010-07-03 changes to mouse selection.
6835 (mouse-sel-primary-overlay): New var.
6836 (mouse-sel-selection-alist): Use it.
6837 (mouse-sel-mode): Doc fix; remove points that are default features
6838 of mouse.el.
6839
c79598ef
JB
68402011-07-12 Johan Bockgård <bojohan@gnu.org>
6841
6842 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6843 Fix previous fix (bug#2490).
6844
ff8be6ef
RW
68452011-07-12 Roland Winkler <winkler@gnu.org>
6846
b796c9b7
SM
6847 * textmodes/bibtex.el (bibtex-initialize):
6848 Use pop-to-buffer-same-window.
ff8be6ef
RW
6849 (bibtex-search-entries): Fix interactive call.
6850
296ba3ee
LMI
68512011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6852
f5242a02 6853 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
6854 Fontise bytecomp Error lines more correctly (bug#2490).
6855 Fix suggested by Johan Bockgård.
f5242a02 6856
296ba3ee
LMI
6857 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6858
6859 * dired-x.el (dired-guess-default): Use `delete-dups'.
6860
f69fd0d2
CY
68612011-07-12 Chong Yidong <cyd@stupidchicken.com>
6862
6863 * dired.el (dired-mark-prompt):
6864 * dired-aux.el (dired-read-shell-command): Doc fix.
6865
eab5dc07
LMI
68662011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6867
b796c9b7
SM
6868 * mail/sendmail.el (sendmail-query-once):
6869 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
6870 emacs -Q.
6871
6872 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6873
eab5dc07
LMI
6874 * cus-edit.el (custom-file): Take an optional no-error variable.
6875 (customize-save-variable): Set the variable, and give a warning if
6876 running under "emacs -q".
6877
a1e65d42
JB
68782011-07-11 Juanma Barranquero <lekktu@gmail.com>
6879
6880 * loadhist.el (unload-feature-special-hooks):
6881 Add `auto-coding-functions', `fill-nobreak-predicate' and
6882 `find-directory-functions' (bug#5327).
6883
1d52da10
LMI
68842011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6885
be958f1d
LMI
6886 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6887
5bedb26c
LMI
6888 * cus-edit.el (custom-guess-name-alist): -alist variables should
6889 use the `alist' type (bug#3120). Suggested by Drew Adams.
6890
1d52da10
LMI
6891 * printing.el: Add documentation to all the `pr-toggle-' commands.
6892
cd394be1 68932011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
6894
6895 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6896 backends where it makes sense (bug#2623).
6897
dcc88d8a
LMI
68982011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6899
c3de9feb
LMI
6900 * dired-x.el (dired-guess-default): Remove duplicate shell command
6901 entries (bug#2028).
8a93078b 6902 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 6903 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 6904
dcc88d8a
LMI
6905 * subr.el (remove-duplicates): New conveniency function.
6906
505e3645
LMI
69072011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6908
6909 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6910 (bug#1526).
6911
69122011-07-10 Martin Rudalics <rudalics@gmx.at>
6913
6914 * window.el (display-buffer-normalize-default): Don't invert
6915 meaning of even-window-heights. Reported by Eli Zaretskii
6916 <eliz@gnu.org>.
6917
455e4fa1
BR
69182011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6919
6920 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6921
8e0bc3e9
CY
69222011-07-10 Chong Yidong <cyd@stupidchicken.com>
6923
6924 * window.el (display-buffer): Fix arguments to
6925 display-buffer-reuse-window in last change.
6926
fa7c3228
CY
6927 * faces.el (link): Use a less saturated blue on light backgrounds.
6928
6929 * startup.el (fancy-startup-text, fancy-about-text)
6930 (fancy-startup-tail): Use font-lock faces, for background safety.
6931
c0a7f300
BN
69322011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6933
b796c9b7
SM
6934 * emulation/viper-cmd.el (viper-change-state-to-vi):
6935 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 6936
4dc2a129
MR
69372011-07-09 Martin Rudalics <rudalics@gmx.at>
6938
6939 * window.el (display-buffer-default-specifiers): Remove.
6940 (display-buffer-macro-specifiers): Remove default specifiers.
6941 (display-buffer-alist): Default to nil.
b796c9b7 6942 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
6943 (display-buffer-pop-up-window): Allow splitting internal
6944 windows. Check whether a live window was created.
6945 (display-buffer-other-window-means-other-frame)
6946 (display-buffer-normalize-arguments): Rename to
6947 display-buffer-normalize-argument and rewrite. Set the
6948 other-window specifier.
6949 (display-buffer-normalize-special): New function.
6950 (display-buffer-normalize-options): Rename to
6951 display-buffer-normalize-default and rewrite.
6952 (display-buffer-normalize-options-inhibit): Remove.
6953 (display-buffer-normalize-specifiers): Rewrite.
6954 (display-buffer): Process other-window specifier and call
6955 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6956 more faithfully.
b796c9b7 6957 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 6958 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
6959 (display-buffer-in-window, display-buffer-alist-set):
6960 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
6961 <tassilo@member.fsf.org>.
6962
2d43b8c9
LL
69632011-07-09 Leo Liu <sdl.web@gmail.com>
6964
6965 * register.el (insert-register): Restore accidental change on
6966 2011-06-26. (Bug#9028)
6967
7f9b7c53
GM
69682011-07-09 Glenn Morris <rgm@gnu.org>
6969
6970 * subr.el (remq): Handle the empty list. (Bug#9024)
6971
f042cfd8
AS
69722011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6973
6974 * mail/sendmail.el (send-mail-function): No longer delay custom
6975 initialization.
6976 * custom.el (custom-initialize-delay): Doc fix.
6977
856b2f11
SM
69782011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6979
6980 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6981
afae1d68
MA
69822011-07-08 Michael Albinus <michael.albinus@gmx.de>
6983
6984 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6985 human-friendly prompt.
6986
0757af94
SM
69872011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6988
6989 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6990 provided by a particular plugin.
6991
d760b731
LMI
69922011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6993
6994 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6995 save customizations (with "emacs -Q"), just set the variable
6996 instead of erroring out.
6997
6998 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6999
cd79ce90
JL
70002011-07-08 Juri Linkov <juri@jurta.org>
7001
7002 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7003 (archive-zip-update-case): Use 7z if found by `executable-find'.
7004 The order of searching the available programs is the same as in
7005 `archive-zip-extract' (bug#8968).
7006
14cc04aa
CY
70072011-07-07 Chong Yidong <cyd@stupidchicken.com>
7008
7009 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7010 (menu-bar-options-menu): Tweak descriptions.
7011
0a1848ec
LMI
70122011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7013
7014 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7015 menu items into verb phrases (bug#1421). Also refill to fit under
7016 80 columns.
7017
f5bd0689
CY
70182011-07-07 Chong Yidong <cyd@stupidchicken.com>
7019
538e85c6
CY
7020 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7021 (Info-read-node-name): Doc fix (Bug#1084).
7022
f5bd0689
CY
7023 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7024 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7025 (end-of-sexp, beginning-of-sexp)
7026 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7027 (forward-symbol, forward-same-syntax, word-at-point)
7028 (sentence-at-point): Doc fix (Bug#1144).
7029
56ec5115
LMI
70302011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7031
f3f8e37f
LMI
7032 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7033 should cover it (bug#1281).
7034
0757af94 7035 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 7036
e9fce1ac 7037 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
7038 negotiation fails, then possibly try again with a non-encrypted
7039 connection (bug#9017).
7040
56ec5115
LMI
7041 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7042 be used.
7043
c2f9aec8
RS
70442011-07-07 Richard Stallman <rms@gnu.org>
7045
7046 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7047 property, and handle its changed format.
7048 Look for the correct line number.
7049 Use file's line contents (but not past first =) to find
7050 correct line in message.
7051
ef7b981d 70522011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
7053
7054 * international/characters.el (build-unicode-category-table):
7055 Delete it.
0757af94 7056 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 7057
0757af94 7058 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
7059 to src/chartab.c.
7060 (get-char-code-property): Call unicode-property-table-internal to
7061 load a file. Call get-unicode-property-internal where necessary.
7062 (put-char-code-property): Call unicode-property-table-internal to
7063 load a file. Call put-unicode-property-internal where necessary.
7064 put-unicode-property-internal where necessary.
0757af94
SM
7065 (char-code-property-description):
7066 Call unicode-property-table-internal to load a file.
c805dec0
KH
7067
7068 * international/charprop.el:
7069 * international/uni-bidi.el:
7070 * international/uni-category.el:
7071 * international/uni-combining.el:
7072 * international/uni-comment.el:
7073 * international/uni-decimal.el:
7074 * international/uni-decomposition.el:
7075 * international/uni-digit.el:
7076 * international/uni-lowercase.el:
7077 * international/uni-mirrored.el:
7078 * international/uni-name.el:
7079 * international/uni-numeric.el:
7080 * international/uni-old-name.el:
7081 * international/uni-titlecase.el:
7082 * international/uni-uppercase.el: Regenerate.
7083
7084 * loadup.el: Load international/charprop.el before
7085 international/characters.
7086
e14b388a
CY
70872011-07-07 Chong Yidong <cyd@stupidchicken.com>
7088
7089 * window.el (next-buffer, previous-buffer): Signal an error if
7090 called from a minibuffer window.
7091
7092 * bindings.el: Revert 2011-07-04 change.
7093
354cf0ba
RS
70942011-07-06 Richard Stallman <rms@gnu.org>
7095
7096 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7097 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7098 Treat markers like ints.
7099 (rmail-mime-entity): Doc fix.
7100
a48868a7
LMI
71012011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7102
4906cd3d
LMI
7103 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7104 defcustom again for backwards compatibility.
7105
e0457abe
LMI
7106 * simple.el (shell-command-on-region): Fill.
7107
d67f7e1f
LMI
7108 * dired-aux.el (dired-kill-line): Add a doc string.
7109
fe204702
LMI
7110 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7111 to "\\sw\\|\\s_" (bug#358).
7112
a48868a7
LMI
7113 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7114 (dired-unmark-backward): Ditto.
7115 (dired-flag-backup-files): Ditto.
7116
7117 * dired-x.el (dired-mark-sexp): Ditto.
7118
aa8a705c
RS
71192011-07-06 Richard Stallman <rms@gnu.org>
7120
7121 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7122 (rmail-mime-entity): New arg TRUNCATED.
7123 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7124 New functions.
7125 (rmail-mime-save): Warn if entity is truncated.
7126 (rmail-mime-toggle-hidden): Likewise, for showing.
7127 (rmail-mime-process-multipart): Record when an entity is truncated.
7128
a9a936b9
RS
7129 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7130 if ENTITY is a string.
7131
1f2b92cb
LMI
71322011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7133
f4f73198 7134 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
7135 of faces when `M-C-x'-ing their definitions (bug#8378).
7136 Also clean up the code slightly.
f4f73198 7137
12b16734 7138 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 7139 because that makes the colors go away.
12b16734 7140
f0691d22
LMI
7141 * mail/sendmail.el (send-mail-function): Change the default to
7142 `sendmail-query-once'.
9e87df06 7143 (sendmail-query-once): Add an autoload cookie.
f0691d22 7144
1f2b92cb
LMI
7145 * net/network-stream.el (network-stream-open-starttls): Try using
7146 a plain connection even if the server offered STARTTLS, and we
7147 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7148 capability. This should make smtpmail.el work in slightly more
7149 configurations.
7150
1cdd2a1b
MA
71512011-07-06 Michael Albinus <michael.albinus@gmx.de>
7152
7153 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7154 New defun.
7155 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7156
fbcc67e2
MM
71572011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7158
7159 * progmodes/sql.el: Version 3.0
0757af94 7160 (sql-product-alist): Add product :completion-object,
fbcc67e2 7161 :completion-column, and :statement attributes.
0757af94 7162 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 7163 (sql-mode-syntax-table): Mark all punctuation.
0757af94 7164 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
7165 ansi keywords.
7166 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 7167 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
7168 (sql-oracle-show-reserved-words): New function for development.
7169 (sql-product-font-lock): Simplify for source code buffers.
7170 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7171 New functions.
7172 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
7173 (sql-mode-map): Add statement movement functions.
7174 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7175 New variable.
fbcc67e2
MM
7176 (sql-statement-regexp, sql-beginning-of-statement)
7177 (sql-end-of-statement, sql-signum): New functions.
0757af94 7178 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
7179 (sql-show-sqli-buffer): Bug fix.
7180 (sql-interactive-mode): Store connection data as buffer local.
0757af94 7181 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
7182 with sql-interactive-mode.
7183 (sql-save-connection): Save buffer local settings.
0757af94 7184 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
7185 (sql-product-interactive): Bug fix.
7186 (sql-preoutput-hold): New variable.
7187 (sql-interactive-remove-continuation-prompt): Bug fixes.
7188 (sql-debug-redirect): New variable.
7189 (sql-str-literal): New function.
7190 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 7191 Redesign.
fbcc67e2
MM
7192 (sql-oracle-save-settings, sql-oracle-restore-settings)
7193 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7194 (sql-completion-object, sql-completion-column)
7195 (sql-completion-sqlbuf): New variables.
7196 (sql-build-completions-1, sql-build-completions)
7197 (sql-try-completion): New functions.
7198 (sql-read-table-name): Use them.
7199 (sql-contains-names): New buffer local variable.
7200 (sql-list-all, sql-list-table): Use it.
7201 (sql-oracle-completion-types): New variable.
7202 (sql-oracle-completion-object, sql-sqlite-completion-object)
7203 (sql-postgres-completion-object): New functions.
7204
d4eaeab1
GM
72052011-07-06 Glenn Morris <rgm@gnu.org>
7206
7207 * window.el (pop-to-buffer): Doc fix.
7208
322b7dab 72092011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
7210
7211 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7212
322b7dab 72132011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 7214
322b7dab 7215 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 7216
322b7dab 7217 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 7218
605dd5bf
CY
72192011-07-05 Chong Yidong <cyd@stupidchicken.com>
7220
7221 * button.el (button): Inherit from link face. Suggested by Dan
7222 Nicolaescu.
7223
7dbfa719
SM
72242011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7225
3db614b0
SM
7226 * progmodes/gdb-mi.el: Fit in 80 columns.
7227 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7228 switch-to-buffer.
7229
7dbfa719
SM
7230 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7231 if imenu is simply not configured (bug#8941).
7232
919d884a
KM
72332011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7234
7235 * allout.el (allout-post-undo-hook): New allout outline-change
7236 event hook to signal undo activity.
7237 (allout-post-command-business): Run allout-post-undo-hook if an
7238 undo just occurred.
7dbfa719
SM
7239 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7240 * allout-widgets.el (allout-widgets-after-undo-function):
7241 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
7242 in the vicinity of an undo.
7243 (allout-widgets-mode): Include allout-widgets-after-undo-function
7244 on the new allout-post-undo-hook.
7245
450a0f09
SM
72462011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7247
7248 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7249 Let define-derived-mode define it.
7250 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7251 cycles of abbrev-table inheritance (bug#8998).
7252
2de69e00
RW
72532011-07-05 Roland Winkler <winkler@gnu.org>
7254
7255 * textmodes/bibtex.el: Add support for biblatex.
7256 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7257 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7258 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7259 (bibtex-entry-alist, bibtex-field-alist): New variables.
7260 (bibtex-entry-field-alist): Obsolete alias for
7261 bibtex-BibTeX-entry-alist.
7262 (bibtex-entry-alist, bibtex-field-alist): New widgets.
7263 (bibtex-set-dialect): New command.
7264 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
7265 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7266 Bind via bibtex-set-dialect.
2de69e00
RW
7267 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7268 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7269 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7270 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7271 Define via bibtex-set-dialect.
450a0f09
SM
7272 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7273 Obey bibtex-no-opt-remove-re.
2de69e00
RW
7274 (bibtex-vec-push, bibtex-vec-incr): New functions.
7275 (bibtex-format-entry, bibtex-field-list)
7276 (bibtex-print-help-message, bibtex-validate)
7277 (bibtex-search-entries): Use new format of bibtex-entry-alist.
7278
2dcdbdd9
SM
72792011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7280
7281 * progmodes/compile.el (compilation-goto-locus):
7282 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7283 * bs.el (bs-cycle-next, bs-cycle-previous):
7284 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7285 * bindings.el (mode-line-other-buffer):
7286 * autoinsert.el (auto-insert):
7287 * arc-mode.el (archive-extract):
7288 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7289
b27640fe
JB
72902011-07-05 Juanma Barranquero <lekktu@gmail.com>
7291
7292 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7293 Fix check of `emacs-lock-unlockable-modes'.
7294 Coerce true values of `emacs-lock--try-unlocking' to t.
7295
53bbe3ad
JB
72962011-07-05 Juanma Barranquero <lekktu@gmail.com>
7297
7298 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7299 * emacs-lock.el: New file.
7300
1d3cdbc7
JD
73012011-07-05 Julien Danjou <julien@danjou.info>
7302
7303 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7304 than `boundp' to check if face is set.
7305
9173deec
JB
73062011-07-05 Juanma Barranquero <lekktu@gmail.com>
7307
7308 * register.el (registerv-make):
7309 * window.el (window-min-height): Fix typos in docstrings.
7310
869795d6
JD
73112011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7312
9173deec 7313 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
7314 Update doc string.
7315
b768cdcd
JB
73162011-07-04 Juanma Barranquero <lekktu@gmail.com>
7317
7318 * server.el (server-execute): Catch quit and call
7319 `server-return-error' to pass the error back to emacsclient and
7320 close the connection (bug#8942).
7321
13aa217b
KM
73222011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
7323
7324 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7325 insecure exception for current topic. Also note that auto-saves
7326 are handled differently.
7327
7328 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7329 State variables for tracking auto-save inhibition situation.
7330
7331 (allout-write-contents-hook-handler): Rename from
7332 'allout-write-file-hook-handler', and describe how it depends on
7333 write-contents-functions sensitivity to non-nil value to prevent
7334 file write.
7335
7336 (allout-auto-save-hook-handler): Remove. auto-save does not check
7337 this in individual buffers, only in the starting buffer, so this
7338 is not the right way for us to inhibit auto-save in a buffer
7339 according to its condition.
7340
7341 (allout-mode): Use new allout-write-contents-hook-handler, and
7342 only with write-contents-functions. Remove auto-save provisions -
7343 they're implemented elsewhere.
7344
7345 (allout-before-change-handler): If undo is in progress, note that
7346 for attention of allout-post-command-business.
7347
7348 (allout-post-command-business): If the command we're following was
7349 an undo, check for change in the status of encrypted items and
7350 adjust auto-save inhibitions accordingly.
7351
7352 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7353 according to whether there are or aren't any plain-text topics
7354 pending encryption.
7355
2dcdbdd9 7356 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
7357 Adjust buffer-saved-size and some allout state to inhibit auto-saves
7358 if there are plain-text topics pending encryption.
13aa217b
KM
7359
7360 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7361 buffer-saved-size and some allout state to not inhibit auto-saves
7362 if there are no longer any plain-text topics pending encryption.
7363
0757af94
SM
7364 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7365 No longer provide for exemption of the current topic.
13aa217b 7366
ac89b32c
JL
73672011-07-04 Juri Linkov <juri@jurta.org>
7368
7369 Add 7z operations to delete and save changed members (bug#8968).
7370 * arc-mode.el (archive-7z-expunge, archive-7z-update):
7371 New defcustoms.
7372 (archive-7z-write-file-member): New function.
7373 (archive-7z-summarize): Fix the number of dashes in the
7374 listing output.
7375
8fa39615
SM
73762011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7377
7378 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7379 (bug#8958).
7380
2f11b3f1
CY
73812011-07-04 Chong Yidong <cyd@stupidchicken.com>
7382
d66fef2b
CY
7383 * bindings.el: Ignore next-buffer and previous-buffer in
7384 minibuffer-local-map.
7385
2f11b3f1
CY
7386 * font-lock.el (font-lock-builtin-face): Change light background
7387 color to dark slate blue (Bug#6693).
7388
f932a347
WD
73892011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
7390
7391 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7392
c8af70e1
SM
73932011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7394
7395 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7396 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7397 Add switch-to-buffer.
7398
f158badc
LMI
73992011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7400
7401 * isearch.el (isearch-search-fun-function): Clarify further the
7402 meaning of the function returned.
7403
6d95bd46
MA
74042011-07-04 Michael Albinus <michael.albinus@gmx.de>
7405
7406 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7407
7408 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7409 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7410 Use it.
7411 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
7412 `tramp-default-remote-path' does not exist.
7413 (tramp-send-command-and-read): New optional argument NOERROR.
7414 (tramp-open-connection-setup-interactive-shell)
7415 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7416 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7417 (tramp-process-sentinel): Flush also process' connection property.
7418 (tramp-sh-handle-start-file-process): Do not set process
7419 sentinel. It is done now ...
7420 (tramp-maybe-open-connection): ... here. (Bug#8929)
7421
909e6b67
MK
74222011-07-04 MON KEY <monkey@sandpframing.com>
7423
7424 * play/animate.el (animate-string): Doc fixes and allow changing
7425 the buffer name (bug#5417).
7426
74272011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7428
c8af70e1 7429 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 7430
f34755dc
PE
74312011-07-04 Paul Eggert <eggert@cs.ucla.edu>
7432
396cec72
PE
7433 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7434 This is simpler and helps future-proof the code.
7435 (timer-until): Use time-subtract and float-time.
08235028 7436 (timer--time-less-p): Use time-less-p.
f34755dc 7437
56e6cc31
JB
74382011-07-04 Juanma Barranquero <lekktu@gmail.com>
7439
3abb79e5
JB
7440 * type-break.el (timep): Use the value of `float-time' to avoid a
7441 byte-compiler warning.
7442
56e6cc31
JB
7443 * server.el (server-eval-and-print): Return any result, even nil.
7444
7b9430b4
PE
74452011-07-03 Paul Eggert <eggert@cs.ucla.edu>
7446
7447 * type-break.el: Accept time formats that the builtins accept.
7448 (timep, type-break-time-difference): Accept any format that
7449 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7450 This is simpler and helps future-proof the code.
7451 (type-break-time-difference): Round rather than ignoring
7452 subseconds components.
7453
3034e9e7
LMI
74542011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7455
7456 * info.el (Info-apropos-matches): Make non-interactive, since it
7457 doesn't seem to do anything useful as a command (bug#8829).
7458
1485f4c0
CY
74592011-07-03 Chong Yidong <cyd@stupidchicken.com>
7460
7461 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 7462 Move from faces.el.
1485f4c0
CY
7463 (frame-default-terminal-background): New function.
7464
7465 * custom.el (custom-push-theme): Don't record faces in `changed'
7466 theme; this doesn't work correctly for per-frame face settings.
7467 (disable-theme): Use face-set-after-frame-default to reset faces.
7468 (custom--frame-color-default): New function.
7469
9fa3dd45
LMI
74702011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7471
c8af70e1 7472 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
7473 (bug#8769).
7474
6cbbc20c
KR
74752011-03-29 Kevin Ryde <user42@zip.com.au>
7476
7477 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7478 `perl-Test2' extend to match possible "fail #N" rep count
7479 (bug#8377).
7480
c7f98048
LMI
74812011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7482
65676592
LMI
7483 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7484 `smtpmail-via-smtp' now returns the error instead of nil.
7485
c7f98048
LMI
7486 * isearch.el (isearch-search-fun-function): Clarify the doc string
7487 (bug#8101).
7488
56e6cc31 74892011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
7490
7491 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7492 unnecessary spaces (bug#8987).
7493
2b216704
LMI
74942011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7495
7496 * net/network-stream.el (open-network-stream): Use the
7497 :end-of-capability command thoughout.
7498
74992011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7500
7501 * net/network-stream.el (open-network-stream): Add the
7502 :end-of-capability command parameter, used by pop3.el.
7503
36adf6ce
LMI
75042011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7505
1ca0da0e
LMI
7506 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7507
fc00f69c
LMI
7508 * fringe.el (fringe-query-style): Remove redundant text " (type ?
7509 for list)" (bug#6475).
7510
28fd8759 7511 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 7512 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
7513 an error (bug#6297).
7514
0dd8b6da
LMI
7515 * man.el (Man-reference-regexp): Allow matching possible
7516 word-wrapped references (bug#6289).
7517
ce1438d6
LMI
7518 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7519 for consistency with the other vc buffers (bug#6197).
7520 (vc-checkin): Ditto.
7521
7522 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7523
36adf6ce
LMI
7524 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7525
e83cc1f7
LMI
75262011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7527
8a20ca4c
LMI
7528 * custom.el (defcustom): Clarify that :set is only used in the
7529 Customize user interface (bug#6089).
7530
83319045
LMI
7531 * progmodes/flymake.el (flymake-mode): If the buffer isn't
7532 associated with a file, refuse to run instead of erroring out
7533 (bug#6084).
7534
a8392169
LMI
7535 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7536 the doc string, since it appears that using `fill-column' always
7537 controls the width (bug#7845).
7538
e83cc1f7
LMI
7539 * simple.el (shell-command-on-region): Say where the error output
7540 went if `shell-command-default-error-buffer' is set (bug#6857).
7541
e47ca23b
KM
75422011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
7543
7544 * allout.el (allout-yank-processing): Adjust cursor position for
7545 backwards-deleted space.
7546
7547 (allout-rebullet-heading): Register changes with
7548 allout-exposure-changed-hook, so the modified topic is properly
7549 decorated.
7550
5cf56143
LMI
75512011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7552
08549772
LMI
7553 * minibuffer.el (completion-in-region): Document PREDICATE
7554 (bug#7136).
7555
48e96771
LMI
7556 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7557 of keyword/argument pairs (bug#6904).
7558
c8af70e1
SM
7559 * replace.el (multi-occur):
7560 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 7561
e17d05e2
LMI
75622011-07-02 Drew Adams <drew.adams@oracle.com>
7563
7564 * dired.el (dired-mark-if): Make the message about whether it's
7565 marking or unmarking clearer (bug#8523).
7566
063b0e45
LMI
75672011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7568
7569 * disp-table.el (display-table-print-array): New function.
7570 (describe-display-table): Use it to print the vectors more pretty
7571 (Bug#8859).
7572
28545e04
MR
75732011-07-02 Martin Rudalics <rudalics@gmx.at>
7574
7575 * window.el (window-state-get-1): Don't assign clone numbers.
7576 Add clone-of item to list of window parameters.
7577 (window-state-put-2): Don't process clone numbers.
7578 (display-buffer-alist): Fix doc-string.
7579
3349e122
SM
75802011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7581
7582 * subr.el (remq): Don't allocate if it's not needed.
7583 (keymap--menu-item-binding, keymap--menu-item-with-binding)
7584 (keymap--merge-bindings): New functions.
7585 (keymap-canonicalize): Use them to refine the canonicalization.
7586 * minibuffer.el (minibuffer-local-completion-map)
7587 (minibuffer-local-must-match-map): Move initialization from C.
7588 (minibuffer-local-filename-completion-map): Move initialization from C;
7589 don't inherit from anything here.
7590 (minibuffer-local-filename-must-match-map): Make obsolete.
7591 (completing-read-default): Use make-composed-keymap to combine
7592 minibuffer-local-filename-completion-map with either
7593 minibuffer-local-must-match-map or
7594 minibuffer-local-filename-completion-map.
7595
d224ac83
GM
75962011-07-01 Glenn Morris <rgm@gnu.org>
7597
3de63bf8
GM
7598 * type-break.el (type-break-time-sum): Use dolist.
7599
d224ac83
GM
7600 * textmodes/flyspell.el (flyspell-word-search-backward):
7601 Replace CL function.
7602
1a1e3f32
SM
76032011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7604
fe3f64d5
SM
7605 * mouse.el (mouse--strip-first-event): New function.
7606 (function-key-map): Use it to map fringe clicks to normal clicks
7607 by default.
7608
eb604e34
SM
7609 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7610 (vc-bzr-revision-completion-table): Add support for annotate and date.
7611
1a1e3f32
SM
7612 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7613 inherit from parent.
7614
5bd35902
LMI
76152011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7616
ace6c69c 7617 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 7618 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 7619
191e2bed
LMI
7620 * dired.el (dired-mode): Fix up the doc string as suggested by
7621 Drew Adams (bug#8817).
7622
5bd35902
LMI
7623 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7624 cookie, since the manual says that it should be possible to add
7625 this function to `find-file-hook' (bug#8709).
7626
eee8207a
TZ
76272011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7628
7629 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7630 here. Noted Ted Zlatanov as the maintainer.
7631 (cfengine-common-settings, cfengine-common-syntax): New functions
7632 to set up common things between `cfengine-mode' and
7633 `cfengine3-mode'.
7634 (cfengine3-mode): New mode.
7635 (cfengine3-defuns cfengine3-defuns-regex
7636 (cfengine3-class-selector-regex cfengine3-category-regex)
7637 (cfengine3-vartypes cfengine3-font-lock-keywords)
7638 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 7639 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 7640
36b148cf
MA
76412011-07-01 Michael Albinus <michael.albinus@gmx.de>
7642
7643 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7644
7645 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7646
0bf4ba9a
MR
76472011-07-01 Martin Rudalics <rudalics@gmx.at>
7648
7649 * window.el (same-window-buffer-names, same-window-regexps)
7650 (same-window-p, special-display-frame-alist)
7651 (special-display-popup-frame, special-display-function)
7652 (special-display-buffer-names, special-display-regexps)
7653 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7654 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7655 (split-window-preferred-function, split-height-threshold)
7656 (split-width-threshold, even-window-heights)
7657 (display-buffer-mark-dedicated, window-splittable-p)
7658 (split-window-sensibly, window-safely-shrinkable-p):
7659 Un-obsolete.
7660 (display-buffer): Don't spread args with function specifier
7661 because special-display-popup-frame won't like it.
7662
35837f51
PE
76632011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7664
d0672f86
PE
7665 Time-stamp simplifications and fixes.
7666 These improve accuracy slightly, and future-proof the code
7667 against some potential changes to current-time format.
7668
b9444d97
PE
7669 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7670 by using time-since and float-time.
7671
0ef923dc
PE
7672 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7673 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7674 + NNN microseconds".
7675
2f81380d
PE
7676 * type-break.el (type-break-time-sum): Rewrite using time-add.
7677
845b5c3e
PE
7678 * play/hanoi.el (hanoi-current-time-float): Remove.
7679 All uses replaced by float-time.
7680
ee6f1be0
PE
7681 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7682 This yields a more-accurate answer.
7683 (rng-time-to-float): Remove; no longer needed.
7684
fe955043
PE
7685 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7686
5777162a
PE
7687 * calendar/timeclock.el (timeclock-seconds-to-time):
7688 Defalias to seconds-to-time, since they're the same thing.
7689
3103f8b6 7690 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 7691 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
7692 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7693
0e61a35f
SM
76942011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7695
7696 * window.el (bury-buffer): Don't iconify the only frame.
7697 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7698 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7699
ddd63a1e
CY
77002011-07-01 Chong Yidong <cyd@stupidchicken.com>
7701
0e61a35f
SM
7702 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7703 Add mouse-yank-primary.
ddd63a1e 7704
055f4923
TZ
77052011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7706
7707 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7708
6a2fb145
SM
77092011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7710
7711 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7712 (find-library-name): Use it to find relative load names when provided
7713 absolute file name (bug#8803).
7714
fd4983f2
LMI
77152011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7716
887d14ad
LMI
7717 * textmodes/flyspell.el (flyspell-word): Consider words that
7718 differ only in case as potential doublons (bug#5687).
7719
c53dc7fc
LMI
7720 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7721 Remove two rather uninteresting debugging-like messages to make
7722 debbugs.el more silent.
7723
fd4983f2
LMI
7724 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7725 a password-like phrase.
7726
7a71b18d 77272011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
7728
7729 * progmodes/cc-guess.el: New file.
7730
6a2fb145 7731 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
7732
7733 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7734 derived from `c-basic-common-init'.
7735
7736 * progmodes/cc-mode.el (top-level): Require cc-guess.
7737 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7738
1fa280a3
LM
77392011-06-30 Lawrence Mitchell <wence@gmx.li>
7740
7741 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7742
e6597158
AM
77432011-06-30 Alan Mackenzie <acm@muc.de>
7744
1fa280a3
LM
7745 * progmodes/cc-engine.el (c-guess-continued-construct):
7746 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
7747 lock is disabled. Name this case as "CASE G".
7748
68ba37fb
KM
77492011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7750
7751 * allout.el (allout-yank-processing): Fix injection of extra space
7752 between bullet and non-whitespace character in first topic when
7753 pasting, ensuring that the actual spacing in the pasted topic
7754 following the bullet char is preserved. This extra space was
7755 causing pasted encrypted topics to get a decrypted status even
7756 when the content was actually still encrypted. Now the decryption
7757 status from before the paste is preserved.
7758
7759 (allout-flag-region): Set all allout overlays so they evaporate
7760 when reduced to zero length (evanescent), to prevent overlay
7761 leakage.
7762
887a0b34
GM
77632011-06-30 Glenn Morris <rgm@gnu.org>
7764
94b9acce
GM
7765 * w32-fns.el (w32-charset-info-alist): Declare.
7766
1d9b46d4
GM
7767 * find-dired.el (find-grep-options): Simplify.
7768
cc232200
GM
7769 * term/ns-win.el (ns-set-resource): Declare.
7770
28e77c46
GM
7771 * ses.el (row, col): Declare dynamic variables honestly.
7772
887a0b34
GM
7773 * textmodes/reftex-parse.el (index-tags): Declare.
7774
658d8eb8
CY
77752011-06-30 Chong Yidong <cyd@stupidchicken.com>
7776
7777 * cus-edit.el (customize-push-and-save): New function.
7778
7779 * files.el (hack-local-variables-confirm): Use it.
7780
1fa280a3
LM
7781 * custom.el (load-theme): New arg NO-CONFIRM.
7782 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
7783 (custom-enabled-themes): Doc fix.
7784
7785 * cus-theme.el (customize-create-theme)
7786 (custom-theme-merge-theme): Callers to load-theme changed.
7787
bb617717
LMI
77882011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7789
d61bdd5d
LMI
7790 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7791 short URLs have at least one dot in them (bug #7614).
7792
bb617717
LMI
7793 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7794 nil, because using a pty is apparently too slow (bug #895).
7795
2f31f37a
LMI
77962011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7797
7798 * mail/sendmail.el (sendmail-query-once): New function.
7799 (sendmail-query-once-function): New variable.
7800
3076b24e
GM
78012011-06-29 Glenn Morris <rgm@gnu.org>
7802
faf2a174
GM
7803 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7804
3076b24e
GM
7805 * ses.el (top-level): Require cl when compiling.
7806 (ses-set-localvars): Fix error statement.
7807 Call it at compile time to silence a storm of warnings.
7808
5386012d
MR
78092011-06-29 Martin Rudalics <rudalics@gmx.at>
7810
7811 * window.el (normalize-live-buffer): Rename to
7812 window-normalize-buffer.
7813 (normalize-live-frame): Rename to window-normalize-frame.
7814 (normalize-any-window): Rename to window-normalize-any-window.
7815 (normalize-live-window): Rename to window-normalize-live-window.
7816 (make-window-atom): Rename to window-make-atom.
7817 (window-resize-reset): Rename to window--resize-reset.
7818 (window-resize-reset-1): Rename to window--resize-reset-1.
7819 (resize-mini-window): Rename to window--resize-mini-window.
7820 (resize-subwindows-skip-p): Rename to
7821 window--resize-subwindows-skip-p.
7822 (resize-subwindows-normal): Rename to
7823 window--resize-subwindows-normal.
7824 (resize-subwindows): Rename to window--resize-subwindows.
7825 (resize-other-windows): Rename to window--resize-siblings.
7826 (resize-this-window): Rename to window--resize-this-window.
7827 (resize-root-window): Rename to window--resize-root-window.
7828 (resize-root-window-vertically): Rename to
7829 window--resize-root-window-vertically.
7830 (normalize-buffer-to-display): Rename to
7831 window-normalize-buffer-to-display.
7832 (normalize-buffer-to-switch-to): Rename to
7833 window-normalize-buffer-to-switch-to.
7834 Correspondingly update all callers of the functions listed
7835 above.
7836 (display-buffer-alist, display-buffer-normalize-arguments)
7837 (display-buffer-normalize-options, display-buffer)
7838 (display-buffer-alist-set): Use "function" instead of
7839 "fun-with-args".
7840
1176868d
CY
78412011-06-28 Chong Yidong <cyd@stupidchicken.com>
7842
7843 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7844 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7845 debbugs.gnu.org. Mention acknowledgment email.
7846
20a7a65f
LMI
78472011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7848
7849 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7850 buffer multibyteness, since it shouldn't matter.
7851
5f45cca5
MR
78522011-06-28 Martin Rudalics <rudalics@gmx.at>
7853
7854 * window.el (display-buffer-in-side-window): Handle dedicated
7855 windows as in display-buffer-reuse-window.
7856 (display-buffer-normalize-alist): Use value of override
7857 specifier.
7858 (display-buffer-normalize-specifiers): Use value of
7859 other-window-means-other-frame specifier.
7860 (display-buffer-alist): Rewrite some texts in widgets.
7861 (display-buffer): Spread arguments when calling function
7862 specified by fun-with-args.
7863
ad85fe1f
DD
78642011-06-28 Deniz Dogan <deniz@dogan.se>
7865
1fa280a3
LM
7866 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7867 Unnest `let'.
da68c4c8 7868
ad85fe1f
DD
7869 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7870 selectors (Bug#5732).
ec49bd31 7871 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 7872
a08cc025
JA
78732011-06-27 Jari Aalto <jari.aalto@cante.net>
7874
7875 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7876 (eshell-ls-date-format): New defcustom.
7877 (eshell-ls-file): Use it.
7878
e2b551c5
SM
78792011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7880
7881 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7882
8982b231
KY
78832011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7884
7885 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7886 (ange-ftp-make-tmp-name): New arg.
7887 (ange-ftp-file-local-copy): Use it.
7888
36c9fa27
J
78892011-06-27 Jambunathan K <kjambunathan@gmail.com>
7890
7891 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7892 no-conversion (Bug#8870).
7893
d68443dc
MR
78942011-06-27 Martin Rudalics <rudalics@gmx.at>
7895
7896 * window.el (window-right, window-left, window-child)
7897 (window-child-count, window-last-child)
7898 (window-iso-combination-p, walk-window-tree-1)
7899 (window-atom-check-1, window-tree-1, delete-window)
7900 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7901 new naming conventions - window-vchild, window-hchild,
7902 window-next and window-prev are now called window-top-child,
7903 window-left-child, window-next-sibling and window-prev-sibling
7904 respectively.
d615d6d2
MR
7905 (resize-window-reset): Rename to window-resize-reset.
7906 (resize-window-reset-1): Rename to window-resize-reset-1.
7907 (resize-window): Rename to window-resize.
7908 (window-min-height, window-min-width)
7909 (resize-mini-window, resize-this-window, resize-root-window)
7910 (resize-root-window-vertically, adjust-window-trailing-edge)
7911 (enlarge-window, shrink-window, maximize-window)
7912 (minimize-window, delete-window, quit-restore-window)
7913 (split-window, balance-windows, balance-windows-area-adjust)
7914 (balance-windows-area, window-state-put-2)
7915 (display-buffer-even-window-sizes, display-buffer-set-height)
7916 (display-buffer-set-width, set-window-text-height)
7917 (fit-window-to-buffer): Rename all "resize-window" prefixed
7918 calls to use the "window-resize" prefix convention.
7919 (display-buffer-alist): Fix symbol for label specifier.
7920 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7921 corresponding specifier.
7922 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 7923
b6458526
VB
79242011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7925
7926 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7927 convention.
7928 (ses-call-printer): Does not pass an empty string to formatter when the
7929 cell is empty to keep from barking printer Calc math-format-value.
7930
d31fd9ac
RS
79312011-06-27 Richard Stallman <rms@gnu.org>
7932
43d5bf84
RS
7933 * battery.el (battery-mode-line-limit): New variable.
7934 (battery-update): Handle it.
7935
d31fd9ac
RS
7936 * mail/rmailmm.el (rmail-mime-process-multipart):
7937 Handle truncated messages.
7938
819a6054
GM
79392011-06-27 Glenn Morris <rgm@gnu.org>
7940
7941 * progmodes/flymake.el (flymake-err-line-patterns):
7942 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7943
cedc73f2
VB
79442011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7945
819a6054 7946 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
7947 (ses--clean-!, ses--clean-_): New functions.
7948 (ses-range): Add configurability of readout order, and conversion
7949 to Calc vector.
7950
5e5d49b6
VB
7951 * ses.el (ses-repair-cell-reference-all): New function.
7952 (ses-cell-symbol): Set macro as safe, so that it can be used in
7953 formulas.
7954
56e6cc31 7955 * ses.el: Update cycle detection algorithm.
90ca8b49 7956 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 7957 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
7958 (ses-set-localvars): New function.
7959 (ses-make-cell): Add property-list as a cell element.
7960 (ses-cell-property-get-fun, ses-cell-property-get)
7961 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
7962 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7963 New functions.
90ca8b49
VB
7964 (ses-cell-property-set, ses-cell-property-pop)
7965 (ses-cell-property-get-handle): New macro.
7966 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7967 New aliases, used for code readability.
7968 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7969 cycle detection.
7970 (ses-self-reference-early-detection): New defcustom.
fac916bf 7971 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
7972 (ses-mode): Use ses-set-localvars.
7973 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7974 before lauching the update processing.
7975 (ses-initialize-Dijkstra-attempt): New function.
7976 (ses-recalculate-cell): Update for cycle detection based on
7977 Dijkstra algorithm.
7978
2bb63e81
VB
7979 * ses.el: Fix commenting and indenting convention.
7980
c9d29fb8
SM
79812011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7982
7983 * bs.el (bs-cycle-next): Complete last change.
7984
d8e4b68b
JB
79852011-06-27 Drew Adams <drew.adams@oracle.com>
7986
7987 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7988
40098786
LMI
79892011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7990
c9d29fb8
SM
7991 * net/network-stream.el (network-stream-open-starttls):
7992 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
7993 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7994
40098786
LMI
7995 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7996 to binary to possibly avoid line encoding issues on Windows (among
7997 other things).
7998
468d09d4
LMI
79992011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8000
8001 * net/network-stream.el (open-network-stream): Return an :error
8002 saying what the problem was, if possible.
8003
8004 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8005 server.
8006
8007 * net/network-stream.el (network-stream-open-starttls): If we
8008 wanted to use STARTTLS, and the server offered it, but we weren't
8009 able to because we had no STARTTLS support, then close the connection.
8010 (open-network-stream): Return an :error element, if present.
8011
16f07dd7
CY
80122011-06-26 Chong Yidong <cyd@stupidchicken.com>
8013
88821ca0
CY
8014 * hl-line.el (hl-line-sticky-flag): Doc fix.
8015 (global-hl-line-sticky-flag): New option (Bug#8323).
8016 (global-hl-line-highlight): Obey it.
8017
16f07dd7
CY
8018 * vc/vc.el (vc-revert-show-diff): Default to t.
8019
6b5ccddf
KM
80202011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8021
c9d29fb8
SM
8022 * allout-widgets.el (allout-widgets-post-command-business):
8023 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
8024 undecorated when an isearch is continued past, and isearch
8025 automatically collapses them. This leads to "widget leaks", where
8026 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
8027 hidden widgets can slow down cursor travel, substantially.
8028 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
8029 so we're doing without this nicety.
8030
8031 (allout-widgets-tally-string): Don't try to do a hash-table-count
8032 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8033 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8034 *Messages* when allout-widgets-maintain-tally is t.
8035
355f2e07
MR
80362011-06-26 Martin Rudalics <rudalics@gmx.at>
8037
8038 * window.el (display-buffer-normalize-argument): Rename to
8039 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
8040 LABEL argument. Respect special-display-function when popping up
8041 a new frame. Fix code searching for a window showing the buffer
8042 on another frame.
c9d29fb8
SM
8043 (display-buffer-normalize-specifiers):
8044 Call display-buffer-normalize-arguments.
355f2e07
MR
8045 (display-buffer-in-window): Don't undedicate the window if its
8046 buffer remains the same.
8047 Reported by Drew Adams <drew.adams@oracle.com>.
8048 (display-buffer-alist): Add choice for same-window macro
8049 specfier.
8050 (display-buffer): Mention special meaning of LABEL argument in
8051 doc-string. Fix quoting. Don't pop up a new frame even as
8052 fallback.
8053
7ca8fc42
JB
80542011-06-26 Juanma Barranquero <lekktu@gmail.com>
8055
8056 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8057 avoid deleting the current window in some cases (bug#8911).
8058
bc312254
AS
80592011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8060
8061 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8062 (Bug#8934)
8063
2db18f3f
LMI
80642011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8065
c9d29fb8
SM
8066 * net/network-stream.el (network-stream-open-starttls):
8067 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
8068 (network-stream-open-tls): Ditto.
8069
6302e0d3
LL
80702011-06-26 Leo Liu <sdl.web@gmail.com>
8071
8072 * register.el (registerv): New struct.
8073 (registerv-make): New function.
c9d29fb8
SM
8074 (jump-to-register, describe-register-1, insert-register):
8075 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
8076 struct. (Bug#8415)
8077
5fdd4046
CY
80782011-06-26 Chong Yidong <cyd@stupidchicken.com>
8079
2afef60a
CY
8080 * vc/vc.el (vc-revert-show-diff): New defcustom.
8081 (vc-diff-internal): New arg specifying diff buffer.
8082 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8083 reuse an existing *vc-diff* buffer (Bug#8927).
8084
5fdd4046
CY
8085 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8086
e93db24a
GM
80872011-06-26 Glenn Morris <rgm@gnu.org>
8088
8089 * progmodes/f90.el (f90-critical-indent): New option.
8090 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8091 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8092 (f90-mode): Doc fix.
8093 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8094 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8095 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8096 (f90-match-end): Handle block, critical.
8097
eefff499
GM
80982011-06-25 Glenn Morris <rgm@gnu.org>
8099
f6ba4cc9
GM
8100 * calendar/diary-lib.el (diary-included-files): Doc fix.
8101 (diary-include-files): New function, extracted from
8102 diary-include-other-diary-files and diary-mark-included-diary-files.
8103 (diary-include-other-diary-files, diary-mark-included-diary-files):
8104 Just call diary-include-files.
8105 (diary-mark-entries): Reset diary-included-files on first call.
8106
16712304
GM
8107 * calendar/diary-lib.el (diary-mark-entries)
8108 (diary-mark-included-diary-files):
8109 Visit included diary-files in temp buffers.
8110
5d8e0d43
GM
8111 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8112 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8113 (f90-start-block-re, f90-imenu-generic-expression)
8114 (f90-looking-at-program-block-start, f90-no-block-limit):
8115 Add support for submodules.
8116
ccf7a5d5
GM
8117 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8118 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 8119
11fdef7d 81202011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
8121
8122 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8123 buffer-file-type before setting its value, to avoid disastrous
eefff499 8124 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 8125
74f53697
JB
81262011-06-25 Juanma Barranquero <lekktu@gmail.com>
8127
8128 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8129
8130 * ses.el (ses-unload-function):
8131 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8132
8133 * proced.el (proced-unload-function):
8134 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8135
18a4ce5e
AR
81362011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8137
8138 * server.el (server-create-window-system-frame): Add parameters arg.
8139 (server-process-filter): Doc fix. Handle frame-parameters.
8140
519d22cc
JB
81412011-06-25 Juanma Barranquero <lekktu@gmail.com>
8142
8143 Fix bug#8730, bug#8781.
8144
8145 * loadhist.el (unload--set-major-mode): New function.
8146 (unload-feature): Use it.
8147
8148 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8149 (python-unload-function): New function.
8150
c206f5b0
SM
81512011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8152
8153 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8154
f9ad64f3
GS
81552011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8156
8157 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8158 the candidates list.
8159
7d0da90e
JB
81602011-06-24 Juanma Barranquero <lekktu@gmail.com>
8161
8162 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8163
14b4e83d
RS
81642011-06-23 Richard Stallman <rms@gnu.org>
8165
8166 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8167 (rmail-variables): Set next-error-move-function.
8168 (rmail-what-message): Take argument POS.
8169 (rmail-next-error-move): New function.
8170
273d2baf
SM
81712011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8172
8173 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8174 messages for adjacent non-terminals.
8175
56c2cc9a
RS
81762011-06-23 Richard Stallman <rms@gnu.org>
8177
8178 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 8179 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
8180 (rmail-start-mail): Don't specify use of rmail-mail-return;
8181 that's done by mail-bury now.
8182 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 8183
d59eb518
MA
81842011-06-23 Michael Albinus <michael.albinus@gmx.de>
8185
8186 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8187 SIZE is a number.
8188
02cfc6d6
MR
81892011-06-23 Martin Rudalics <rudalics@gmx.at>
8190
8191 * window.el (get-lru-window, get-mru-window)
8192 (get-largest-window): Never return a minibuffer window.
8193 (display-buffer-pop-up-window): Fix a bug that could lead to
8194 reusing the minibuffer window.
8195 (display-buffer): Pass original specifier argument to
8196 display-buffer-function instead of the normalized one.
8197 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8198
4e323265
LL
81992011-06-22 Leo Liu <sdl.web@gmail.com>
8200
8201 * minibuffer.el (completing-read-function)
8202 (completing-read-default): Move from minibuf.c
8203
7a70468f
RS
82042011-06-22 Richard Stallman <rms@gnu.org>
8205
50718fc2
RS
8206 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8207 to Rmail even if not started by a special Rmail command.
8208
7a70468f
RS
8209 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8210 Copy the buffer currently showing just one message.
8211
297dde5a
RW
82122011-06-22 Roland Winkler <winkler@gnu.org>
8213
8214 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8215 (bibtex-clean-entry): First delete the old key so that a
8216 customized algorithm for generating the new key does not get
8217 confused by the old key.
8218 (bibtex-url): Obey regexp of first step.
8219 (bibtex-search-entries): Do not use add-to-list with local
8220 list-var.
8221
97bb1093
LMI
82222011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8223
8224 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8225 stored a user name, then query for the password first, instead of
8226 waiting for SMTP to give an error message and the trying again.
8227
1c0f1a19
JD
82282011-06-22 Lawrence Mitchell <wence@gmx.li>
8229
8230 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8231 BUFFER in call-process.
8232
396f7c9d
LMI
82332011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8234
8235 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8236 QUIT twice.
ddb7ffee
LMI
8237 (smtpmail-try-auth-methods): Require user name and password from
8238 auth-source.
396f7c9d 8239
8998d1b3
MR
82402011-06-22 Martin Rudalics <rudalics@gmx.at>
8241
8242 * window.el (display-buffer-default-specifiers)
8243 (display-buffer-alist): Remove entries for pop-up-frame-alist.
8244 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 8245 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
8246
8247 * frame.el (pop-up-frame-alist, pop-up-frame-function)
8248 (special-display-frame-alist, special-display-popup-frame):
8249 Remove duplicate declarations. These are now in window.el.
8250
4ea31e07
LMI
82512011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8252
c9d29fb8
SM
8253 * mail/smtpmail.el (smtpmail-via-smtp):
8254 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
8255 server supports it. SMTP servers that support STARTTLS commonly
8256 require it.
8257
8258 * net/network-stream.el (network-stream-open-starttls): Support
8259 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 8260 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 8261
95f41d9a
LMI
8262 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8263 upgrades with `open-network-stream', and rely solely on
8264 auth-source for all credentials. Big changes throughout the file,
8265 but in particular:
c9d29fb8
SM
8266 (smtpmail-auth-credentials): Remove.
8267 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
8268 (smtpmail-via-smtp): Check for servers saying they want AUTH after
8269 MAIL FROM, too.
95f41d9a 8270
c9d29fb8
SM
8271 * net/network-stream.el (network-stream-open-starttls):
8272 Provide support for client certificates both for external and built-in
4ea31e07
LMI
8273 STARTTLS.
8274 (auth-source): Require.
8275 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
8276 (network-stream-certificate): Change cert-cert to cert and
8277 cert-key to key.
4ea31e07 8278
065ec2c7
MA
82792011-06-21 Michael Albinus <michael.albinus@gmx.de>
8280
8281 * net/tramp-cache.el (top): Don't load the persistency file when
8282 "emacs -Q" has been called.
8283
cd93b359
DR
82842011-06-21 Tim Harper <timcharper@gmail.com>
8285
d8e4b68b
JB
8286 * term/ns-win.el (ns-initialize-window-system):
8287 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
8288 resource to NO as it is not yet supported by the NS port.
8289
ae9c0411
JB
82902011-06-21 Juanma Barranquero <lekktu@gmail.com>
8291
8292 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8293 (list-dynamic-libraries): ...not here.
8294
7f3f739f
LL
82952011-06-21 Leo Liu <sdl.web@gmail.com>
8296
8297 * subr.el (sha1): Implement sha1 using secure-hash.
8298
327c8fb1
MR
82992011-06-21 Martin Rudalics <rudalics@gmx.at>
8300
8301 * window.el (display-buffer-alist): In default value do not
8302 enforce searching a window on any but the selected frame.
8303 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8304 (display-buffer-select-window): Remove function.
8305 (display-buffer-in-window): When a window on another frame gets
8306 reused, do not select it any more but just raise its frame if
8307 necessary (Bug#8851) and (Bug#8856).
8308 (display-buffer-normalize-options): Handle pop-up-frames related
8309 options more faithfully.
8310 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8311 window if it is on another frame.
c9d29fb8
SM
8312 (display-buffer-alist, display-buffer-default-specifiers):
8313 Don't make new frame unsplittable by default.
9e9de014
MR
8314 (display-buffer-normalize-argument): Fix doc-string typo and use
8315 'same-frame-other-window instead of 'other-window when associating
8316 with display-buffer-macro-specifiers.
327c8fb1 8317
7cf3f556
VB
83182011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8319
8320 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8321 New functions.
8322 (5x5-mode-map, 5x5-mode-menu): Bind them.
8323 (5x5-draw-grid): Tweak the solver's rendering.
8324
60a406cf
SM
83252011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8326
8327 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8328 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8329
d8e4b68b 83302011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
8331
8332 * menu-bar.el: Use function variable instead of switch-to-buffer.
8333 (menu-bar-select-buffer-function): New variable.
60a406cf 8334 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 8335
478d6f95
SM
83362011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8337
8338 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8339 variable's status.
8340
ca530739
JD
83412011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8342
8343 * x-dnd.el (x-dnd-version-from-flags)
8344 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8345 and long as number (Bug#8899).
8346 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8347
bcd70d97
SM
83482011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8349
60a406cf 8350 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
8351 (completion-try-completion, completion-all-completions): Compute the
8352 metadata argument if it's missing; make it optional (bug#8795).
8353
60a406cf 8354 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
8355 (widget-complete): Use new :completion-function property.
8356 (widget-completions-at-point): New function.
8357 (default): Use :completion-function instead of :complete.
60a406cf
SM
8358 (widget-default-completions): Rename from widget-default-complete;
8359 Rewrite.
bcd70d97
SM
8360 (widget-string-complete, widget-file-complete, widget-color-complete):
8361 Remove functions.
8362 (file, symbol, function, variable, coding-system, color):
8363 * international/mule-cmds.el (default-input-method, charset)
8364 (language-info-custom-alist):
8365 * cus-edit.el (face): Use new property :completions.
8366
8367 * progmodes/pascal.el (pascal-completions-at-point): New function.
8368 (pascal-mode): Use it.
8369 (pascal-mode-map): Use completion-at-point.
8370 (pascal-toggle-completions): Make obsolete.
8371 (pascal-complete-word, pascal-show-completions):
8372 * progmodes/octave-mod.el (octave-complete-symbol):
8373 Redefine as obsolete alias.
8374 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8375 Signal absence of completion info for old Octave,
8376 (inferior-octave-complete): Redefine as obsolete alias.
8377 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8378 (meta-completions-at-point): Rename from meta-complete-symbol and
8379 adapt it for use on completion-at-point-functions.
8380 (meta-common-mode): Use it.
8381 (meta-looking-at-backward, meta-match-buffer): Remove.
8382 (meta-complete-symbol): Redefine as obsolete alias.
8383 (meta-common-mode-map): Use completion-at-point.
8384 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8385 (makefile-mode-map): Use completion-at-point.
8386 (makefile-completions-at-point): Rename from makefile-complete and
8387 adapt it for use on completion-at-point-functions.
8388 (makefile-mode): Use it.
8389 (makefile-complete): Redefine as obsolete alias.
8390
aebf69c8
DD
83912011-06-20 Deniz Dogan <deniz@dogan.se>
8392
8393 * net/rcirc.el: Delete trailing whitespaces once and for all.
8394
bfbbb27d
DC
83952011-06-20 Daniel Colascione <dan.colascione@gmail.com>
8396
8397 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8398
d264a46b
CY
83992011-06-19 Chong Yidong <cyd@stupidchicken.com>
8400
4ca009e5
CY
8401 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8402
d264a46b
CY
8403 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8404
fbf5b3ce
MR
84052011-06-19 Martin Rudalics <rudalics@gmx.at>
8406
8407 * window.el (display-buffer-other-window-means-other-frame):
8408 Call display-buffer-normalize-alist.
8409 (display-buffer-normalize-specifiers-1): Rename to
8410 display-buffer-normalize-argument. New argument other-frame.
8411 Rewrite.
8412 (display-buffer-normalize-specifiers-2): Rename to
8413 display-buffer-normalize-options.
8414 (display-buffer-normalize-alist-1): New function.
8415 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
8416 display-buffer-normalize-alist.
8417 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
8418 (display-buffer-normalize-options-inhibit): New variable.
8419 (display-buffer-normalize-specifiers): Rewrite calling
8420 display-buffer-normalize-alist,
8421 display-buffer-normalize-argument, and
8422 display-buffer-normalize-options. Don't call the latter if
8423 display-buffer-normalize-options-inhibit is non-nil.
8424 (frame-auto-delete): New option.
8425 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
8426 (window-list-no-nils, window-state-ignored-parameters)
8427 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
8428 (window-state-put-1, window-state-put-2, window-state-put):
8429 New functions.
9a028c23
MR
8430 (display-buffer-normalize-options): Move special-display-p group
8431 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 8432
6d10d800
CY
84332011-06-18 Chong Yidong <cyd@stupidchicken.com>
8434
6420d28b
CY
8435 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8436 groups (Bug#8776).
8437 (rx-submatch-n): New function.
8438 (rx): Document it.
8439
ddb8b596
CY
8440 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8441 (Bug#8768).
8442
8443 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8444
77080289
CY
8445 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8446
61dfb316
CY
8447 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8448 anytime existing face settings are present (Bug#8889).
8449
6d10d800
CY
8450 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8451 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8452 Remove unused argument.
8453
be3fb2b8
MR
84542011-06-18 Martin Rudalics <rudalics@gmx.at>
8455
bcd70d97
SM
8456 * window.el (display-buffer-default-specifiers):
8457 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
8458 pop-up-window-min-width, and another reuse-window specifier
8459 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
8460 (display-buffer-normalize-specifiers-2):
8461 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
8462 pop-up-windows is unset. Add a reuse-window specifier for the
8463 case popping up a new window fails.
8464 (special-display-popup-frame): Remove double quoting.
28dec25a 8465 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 8466
1c6d8c76
SM
84672011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8468
8469 * shell.el (shell-completion-vars): Set pcomplete-termination-string
8470 according to comint-completion-addsuffix.
8471
8472 * pcomplete.el: Convert to lexical binding and fix bug#8819.
8473 (pcomplete-suffix-list): Mark as obsolete.
8474 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8475 pcomplete-seen in the closure.
8476 (pcomplete-comint-setup): Setup completion-at-point as well.
8477 (pcomplete--entries): New function.
8478 (pcomplete--env-regexp): New var.
8479 (pcomplete-entries): Rewrite to work with partial-completion and
8480 without relying on pcomplete-suffix-list.
8481 (pcomplete-pare-list): Remove, unused.
8482
25aef8b8
MR
84832011-06-17 Martin Rudalics <rudalics@gmx.at>
8484
8485 * window.el (display-buffer-alist): Set pop-up-window-min-height
8486 and pop-up-window-min-width in default value. Reported by
8487 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
8488 other-window-means-other-frame.
8489 (display-buffer-macro-specifiers): Comment out entry for
8490 other-window specifier.
8491 (display-buffer-other-window-means-other-frame): New function.
8492 (display-buffer-normalize-specifiers-1): New arguments
8493 buffer-name and label. Treat other-window case specially.
8494 (display-buffer-normalize-specifiers-2): Treat other-window case
8495 specially.
8496 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
8497 (display-buffer-normalize-specifiers):
8498 Call display-buffer-normalize-specifiers-3.
25aef8b8 8499
dbad4f69
MR
85002011-06-17 Martin Rudalics <rudalics@gmx.at>
8501
8502 * window.el (same-window-p): Fix two typos introduced when
8503 adding with-no-warnings.
d1067961
MR
8504 (display-buffer-normalize-specifiers-1): Don't check
8505 pop-up-frames for 'unset initialization.
8506 (display-buffer-normalize-specifiers-2): Major rewrite using
8507 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8508 (pop-up-frames, display-buffer-reuse-frames)
8509 (display-buffer-mark-dedicated): Don't initialize to 'unset.
8510 Suggested by David Engster <deng@randomsample.de>.
8511 (even-window-heights): Initialize to 'unset.
8512 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
8513 (display-buffer-macro-specifiers): Don't pop up a new frame in the
8514 other window case.
dbad4f69 8515
9b9c9e3a
MR
85162011-06-16 Martin Rudalics <rudalics@gmx.at>
8517
bcd70d97
SM
8518 * window.el (display-buffer-normalize-specifiers-1):
8519 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 8520 second argument of display-buffer (Bug#8865).
981d5c09
MR
8521 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8522 (switch-to-buffer-other-window-same-frame)
8523 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
8524 Adams (Bug#8875).
9c2755e9
MR
8525 (display-buffer): Don't check noninteractive when calling
8526 display-buffer-pop-up-frame.
8527 (display-buffer-pop-up-frame): Never pop up a frame in
8528 noninteractive mode (Bug#8857).
67222e1d
MR
8529 (enlarge-window, shrink-window): Don't report an error when the
8530 window can't be resized as requested (Bug#8862).
9b9c9e3a 8531
2b75be67
SM
85322011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8533
9ffdd3ba
SM
8534 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8535
cb581a67
SM
8536 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8537
2b75be67
SM
8538 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8539
8c0e3589
AM
85402011-06-15 Alan Mackenzie <acm@muc.de>
8541
cb581a67
SM
8542 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8543 for declarators, disable knr checking to speed up for normal files.
8544 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 8545
b96e6cde
LMI
85462011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8547
4bba86e6
LMI
8548 * net/network-stream.el (open-network-stream): Add the keyword
8549 :always-query-capabilities for the case where you want to force a
8550 `plain' network connection, but the protocol still requires the
8551 capabilitiy command (i.e., SMTP and EHLO).
8552
2b75be67 8553 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
8554 consistency with other `-live-p' functions.
8555
efdcdbf8
SM
85562011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8557
8558 * window.el (same-window-buffer-names, same-window-regexps)
8559 (special-display-frame-alist, special-display-popup-frame)
8560 (special-display-function, special-display-buffer-names)
8561 (special-display-regexps, pop-up-frame-alist)
8562 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8563 (pop-up-windows, split-window-preferred-function)
8564 (split-height-threshold, split-width-threshold, even-window-heights)
8565 (display-buffer-mark-dedicated): Don't encourage the use of
8566 display-buffer-alist from Elisp code.
8567
c5cde042
DN
85682011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
8569
8570 * progmodes/python.el (python-mode): Derive from prog-mode.
8571 * progmodes/ps-mode.el (ps-mode):
8572 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 8573 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
8574 * progmodes/ld-script.el (ld-script-mode): Likewise.
8575
baa1c9ab
MR
85762011-06-15 Martin Rudalics <rudalics@gmx.at>
8577
8578 * window.el (display-buffer-alist): Trim default value to avoid
8579 popping up a new frame (Bug#8857) or reusing an arbitrary window
8580 on another frame.
8581 (display-buffer): Do not fall back on popping up a new frame in
8582 batch mode (Bug#8857).
8583
c5dd5a51
CY
85842011-06-14 Chong Yidong <cyd@stupidchicken.com>
8585
8586 * cus-theme.el (describe-theme-1): Use custom-theme-p.
8587 (custom-theme-summary): New function.
8588 (customize-themes): Use it.
8589
d647b7c4
GM
85902011-06-13 Glenn Morris <rgm@gnu.org>
8591
8592 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8593
9481c002
MR
85942011-06-13 Martin Rudalics <rudalics@gmx.at>
8595
357f93d2
MR
8596 * help.el (help-window): Remove variable.
8597 (help-window-point-marker, temp-buffer-max-height)
8598 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8599 (help-print-return-message): Don't set help-window.
8600 (resize-temp-buffer-window): Rewrite cod eand doc-string.
8601 (help-window-setup-finish): Remove.
8602 (help-window-display-message, help-window-setup)
8603 (with-help-window): Major rewrite based on new
8604 display-buffer-window variable.
8605
8606 * help-mode.el (help-mode-finish): Remove help-window related
8607 code.
8608
8609 * view.el (view-exits-all-viewing-windows): Remove reference to
8610 view-return-to-alist in doc-string.
8611 (view-return-to-alist): Make obsolete.
8612 (view-buffer): Call pop-to-buffer-same-window and remove
8613 undo-window code.
8614 (view-buffer-other-window): Call pop-to-buffer-other-window and
8615 simplify code. Ignore second argument.
8616 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8617 simplify code. Ignore second argument.
8618 (view-return-to-alist-update): Make obsolete.
8619 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8620 Rewrite using quit-restore window parameters.
2b75be67
SM
8621 (view-mode-exit): Rename second argument to EXIT-ONLY.
8622 Rewrite using quit-restore-window.
357f93d2
MR
8623 (View-exit, View-exit-and-edit, View-leave, View-quit)
8624 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8625 appropriate arguments.
8626 (view-end-message): Use quit-restore window parameter.
8627
9481c002
MR
8628 * window.el (display-buffer-function): Rewrite doc-string.
8629 (display-buffer-window, display-buffer-alist): New variables.
8630 (display-buffer-split-specifiers)
8631 (display-buffer-side-specifiers)
8632 (display-buffer-macro-specifiers): New constants.
8633 (display-buffer-even-window-sizes, display-buffer-set-height)
8634 (display-buffer-set-width, display-buffer-select-window)
8635 (display-buffer-in-window, display-buffer-reuse-window)
8636 (display-buffer-split-window-1, display-buffer-split-window)
8637 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8638 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8639 (display-buffer-in-side-window, normalize-buffer-to-display)
8640 (display-buffer-normalize-specifiers-1)
8641 (display-buffer-normalize-specifiers-2)
2b75be67
SM
8642 (display-buffer-normalize-specifiers, display-buffer-frame):
8643 New functions.
9481c002
MR
8644 (display-buffer): Major rewrite.
8645 (display-buffer-other-window, display-buffer-other-frame)
8646 (pop-to-buffer, switch-to-buffer-other-window)
8647 (switch-to-buffer-other-frame): Rewrite.
8648 (display-buffer-same-window, display-buffer-same-frame)
8649 (display-buffer-same-frame-other-window)
8650 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8651 (pop-to-buffer-other-window)
8652 (pop-to-buffer-same-frame-other-window)
8653 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8654 (switch-to-buffer-other-window-same-frame): New functions.
8655 (same-window-p, special-display-p): Rewrite disabling warnings.
8656 Make obsolete.
8657 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8658 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8659 Make obsolete
8660 (same-window-buffer-names, same-window-regexps)
8661 (special-display-frame-alist, special-display-popup-frame)
8662 (special-display-function, special-display-buffer-names)
8663 (special-display-regexps, pop-up-frame-alist)
8664 (pop-up-frame-function, split-window-preferred-function)
8665 (split-height-threshold, split-width-threshold)
8666 (even-window-heights): Make obsolete.
8667
9db51aca
GM
86682011-06-12 Glenn Morris <rgm@gnu.org>
8669
8670 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 8671 Misc simplifications.
9db51aca 8672
39cffb44
MR
86732011-06-12 Martin Rudalics <rudalics@gmx.at>
8674
8675 * window.el (window-safely-shrinkable-p): Restore function which
8676 was inadvertently removed in change from 2011-06-11. Declare as
8677 obsolete.
8678
2b75be67
SM
8679 * calendar/calendar.el (calendar-generate-window):
8680 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
8681 window-safely-shrinkable-p.
8682
a8955be7
GM
86832011-06-12 Glenn Morris <rgm@gnu.org>
8684
8685 * progmodes/fortran.el (fortran-mode-syntax-table):
8686 * progmodes/f90.el (f90-mode-syntax-table):
8687 Set % to punctuation. (Bug#8820)
8688 (f90-find-tag-default): Remove, no longer needed.
8689
f0d4059d
DC
86902011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8691
8692 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8693
1100a63c
CY
86942011-06-11 Chong Yidong <cyd@stupidchicken.com>
8695
8696 * image.el (image-animated-p): Return animation delay in seconds.
8697 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8698 (image-animate-timeout): Remove DELAY argument. Don't assume
8699 every subimage has the same delay; get it from image-animated-p.
8700 (image-animate): Caller changed.
8701
def722bf
MA
87022011-06-11 Michael Albinus <michael.albinus@gmx.de>
8703
8704 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8705 to ignored backtrace functions.
8706
0a2bb1a9
GM
87072011-06-11 Glenn Morris <rgm@gnu.org>
8708
8709 * calendar/appt.el (appt-disp-window-function): Doc fix.
8710 (appt-check): Handle overlapping appointments. (Bug#8337)
8711
6198ccd0
MR
87122011-06-11 Martin Rudalics <rudalics@gmx.at>
8713
8714 * window.el (window-tree-1, window-tree): New functions, moving
8715 the latter to window.el.
8716 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8717 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8718 (bw-refresh-edges): Remove.
8719 (balance-windows-1, balance-windows-2): New functions.
8720 (balance-windows): Rewrite in terms of window tree functions,
8721 balance-windows-1 and balance-windows-2.
8722 (bw-adjust-window): Remove.
8723 (balance-windows-area-adjust): New function with functionality of
8724 bw-adjust-window but using resize-window.
2b75be67
SM
8725 (set-window-text-height): Rewrite doc-string.
8726 Use normalize-live-window and resize-window.
8727 (enlarge-window-horizontally, shrink-window-horizontally):
8728 Rename argument to DELTA.
6198ccd0
MR
8729 (window-buffer-height): New function.
8730 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8731 Rewrite using new window resize routines.
2b75be67
SM
8732 (kill-buffer-and-window, mouse-autoselect-window-select):
8733 Use ignore-errors instead of condition-case.
6198ccd0
MR
8734 (quit-window): Call delete-frame instead of delete-windows-on
8735 for the only buffer on frame.
8736
9397e56f
MR
87372011-06-10 Martin Rudalics <rudalics@gmx.at>
8738
8739 * loadup.el (top-level): Load window before files for the sake
8740 of replace-buffer-in-windows.
8741
8742 * files.el (read-buffer-to-switch)
8743 (switch-to-buffer-other-window)
2b75be67
SM
8744 (switch-to-buffer-other-frame, display-buffer-other-frame):
8745 Move to window.el.
9397e56f
MR
8746
8747 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8748 (previous-buffer): Move to window.el.
8749
8750 * bindings.el (unbury-buffer): Move to window.el.
8751
8752 * window.el (delete-other-windows-vertically): Move after
8753 definition of delete-other-windows.
8754 (other-window, delete-windows-on, replace-buffer-in-windows):
8755 Move here from window.c.
8756 (record-window-buffer, unrecord-window-buffer)
8757 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8758 (switch-to-next-buffer): New functions.
8759 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8760 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
8761 (previous-buffer): Move here from simple.el.
8762 Call switch-to-prev-buffer.
9397e56f
MR
8763 (bury-buffer): Move here from buffer.c. Switch to previous
8764 buffer when window cannot be deleted.
8765 (unbury-buffer): Move here from bindings.el.
8766 (ctl-x-map): Move binding for other-window from window.c to
8767 here.
8768 (read-buffer-to-switch, switch-to-buffer-other-window)
8769 (switch-to-buffer-other-frame): Move here from files.el.
8770 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
8771 (switch-to-buffer): Move here from buffer.c.
8772 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 8773
562dd5e9
MR
87742011-06-10 Martin Rudalics <rudalics@gmx.at>
8775
8776 * window.el (window-min-height, window-min-width): Move here
8777 from window.c. Add defcustoms and rewrite doc-strings.
8778 (resize-mini-window, resize-window): New functions.
8779 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8780 Move here from window.c.
8781 (maximize-window, minimize-window): New functions.
8782 (delete-window, delete-other-windows, split-window): Move here
8783 from window.c.
8784 (window-split-min-size): New function.
8785 (split-window-keep-point): Mention split-window-above-each-other
8786 instead of split-window-vertically.
2b75be67 8787 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
8788 Rename split-window-vertically to split-window-above-each-other
8789 and provide defalias for old definition.
8790 (split-window-side-by-side, split-window-horizontally):
8791 Rename split-window-horizontally to split-window-side-by-side
8792 and provide defalias for the old definition.
562dd5e9
MR
8793 (ctl-x-map): Move bindings for delete-window,
8794 delete-other-windows and enlarge-window here from window.c.
8795 Replace bindings for split-window-vertically and
8796 split-window-horizontally by bindings for
8797 split-window-above-each-other and split-window-side-by-side.
8798
8799 * cus-start.el (all): Remove entries for window-min-height and
8800 window-min-width. Add entries for window-splits and
8801 window-nest.
8802
f0da764a
GM
88032011-06-09 Glenn Morris <rgm@gnu.org>
8804
80675c21
GM
8805 * calendar/appt.el (appt-mode-line): New function.
8806 (appt-check, appt-disp-window): Use it.
8807
f0da764a
GM
8808 * files.el (hack-one-local-variable-eval-safep):
8809 Allow minor-modes with explicit +/-1 arguments.
8810
59f623b7
TZ
88112011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8812
8813 * term/xterm.el (xterm): Add defgroup.
8814 (xterm-extra-capabilities): Add defcustom to supply known xterm
8815 capabilities, skip querying them, or query them (default).
8816 (terminal-init-xterm): Use it.
8817 (terminal-init-xterm-modify-other-keys): New function to set up
8818 modifyOtherKeys support to simplify `terminal-init-xterm'.
8819
9aab8e0d
MR
88202011-06-09 Martin Rudalics <rudalics@gmx.at>
8821
8822 * window.el (resize-window-reset, resize-window-reset-1)
8823 (resize-subwindows-skip-p, resize-subwindows-normal)
8824 (resize-subwindows, resize-other-windows, resize-this-window)
8825 (resize-root-window, resize-root-window-vertically)
8826 (window-deletable-p, window-or-subwindow-p)
8827 (frame-root-window-p): New functions.
8828
e8b08aee
GM
88292011-06-09 Glenn Morris <rgm@gnu.org>
8830
8831 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8832 (ange-ftp-get-files): Use it.
8833
254c37a5
AK
88342011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8835
8836 * mail/sendmail.el (mail-recover-1, mail-recover):
8837 * files.el (recover-file, recover-session):
8838 Handle dired-listing-switches not being just a single short option.
8839
35d7dbd3
GM
88402011-06-09 Glenn Morris <rgm@gnu.org>
8841
8842 * calendar/appt.el (appt-display-message, appt-disp-window):
8843 Handle lists of appointments.
8844
387522b2
MR
88452011-06-08 Martin Rudalics <rudalics@gmx.at>
8846
2b75be67
SM
8847 * window.el (one-window-p): Move down in code.
8848 Rewrite doc-string.
8849 (window-current-scroll-bars): Rewrite doc-string.
8850 Normalize live window argument.
387522b2
MR
8851 (walk-windows, get-window-with-predicate, count-windows):
8852 Rewrite doc-string. Use window-list-1.
8853 (window-in-direction-2, window-in-direction, get-mru-window):
8854 New functions.
8855
d8e4b68b 88562011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
8857
8858 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8859 Doc fix (Bug#8713).
8860
88612011-06-08 Chong Yidong <cyd@stupidchicken.com>
8862
8863 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8864
88652011-06-08 Juanma Barranquero <lekktu@gmail.com>
8866
8867 * loadhist.el (unload-feature-special-hooks):
8868 Add `comint-output-filter-functions'.
8869
0de12c52
IK
88702011-06-08 Ivan Kanis <gnu@kanis.fr>
8871
8872 * calendar/appt.el (appt-check): Move some initializations into the let.
8873
f3d1777e
MR
88742011-06-08 Martin Rudalics <rudalics@gmx.at>
8875
8876 * window.el (window-height): Defalias to window-total-height.
8877 (window-width): Defalias to window-body-width.
8878
18af70d0
CY
88792011-06-07 Chong Yidong <cyd@stupidchicken.com>
8880
8881 * image-mode.el (image-toggle-animation): New command.
8882 (image-mode-map): Bind it to RET.
8883 (image-mode): Update message.
8884 (image-toggle-display-image): Avoid a spurious cache flush.
8885 (image-transform-rotation): Doc fix.
8886 (image-transform-properties): Return quickly in the normal case.
8887 (image-animate-loop): Rename from image-animate-max-time.
8888
2b75be67 8889 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
8890 (create-animated-image): Remove unnecessary function.
8891 (image-animate): Rename from image-animate-start. New arg.
2b75be67 8892 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
8893 (image-animate-timer): Use car-safe.
8894 (image-animate-timeout): Rename argument.
8895
190b47e6
MR
88962011-06-07 Martin Rudalics <rudalics@gmx.at>
8897
8898 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
8899 window.c. Rename first argument to ALL-FRAMES.
8900 Rephrase doc-strings.
8901 (get-buffer-window-list): Rewrite using window-list-1.
8902 Rephrase doc-string.
a1511caf
MR
8903 (window-safe-min-height, window-safe-min-width): New constants.
8904 (window-size-ignore, window-min-size, window-min-size-1)
8905 (window-sizable, window-sizable-p, window-size-fixed-1)
8906 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8907 (window-max-delta-1, window-max-delta, window-resizable)
8908 (window-resizable-p, window-total-height, window-total-width)
8909 (window-body-width): New functions.
8910 (window-full-height-p, window-full-width-p): Rewrite using
8911 window-total-size.
8912 (window-body-height): Rewrite using window-body-size.
190b47e6 8913
85cc1f11
MR
89142011-06-06 Martin Rudalics <rudalics@gmx.at>
8915
8916 * window.el (window-right, window-left, window-child)
8917 (window-child-count, window-last-child, window-any-p)
8918 (normalize-live-buffer, normalize-live-frame)
8919 (normalize-any-window, normalize-live-window)
8920 (window-iso-combination-p, window-iso-combined-p)
8921 (window-iso-combinations)
8922 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8923 (windows-with-parameter, window-with-parameter)
8924 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
8925 (window-atom-check, window-side-check, window-check):
8926 New functions.
85cc1f11
MR
8927 (ignore-window-parameters, window-sides, window-sides-vertical)
8928 (window-sides-slots): New variables.
8929 (window-size-fixed): Move down in code. Minor doc-string fix.
8930
e7156492
AS
89312011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8932
8933 * comint.el (comint-dynamic-complete-as-filename)
8934 (comint-dynamic-complete-filename): Correctly call
8935 completion-in-region.
8936
7e821d0d
DD
89372011-06-05 Deniz Dogan <deniz@dogan.se>
8938
8939 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8940 in last change.
8941
ac09b8a1
DD
89422011-06-05 Deniz Dogan <deniz@dogan.se>
8943
8944 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8945 (rcirc): Use it to prompt for encryption.
8946
34699b85
RW
89472011-06-05 Roland Winkler <winkler@gnu.org>
8948
8949 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8950 (bibtex-search-entries): New command bound to C-c C-a.
8951 (bibtex-display-entries): New function.
8952
004dedd3
RW
89532011-06-05 Roland Winkler <winkler@gnu.org>
8954
8955 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8956 (bibtex-insert-kill): After yanking insert newline if necessary.
8957 (bibtex-initialize): Call bibtex-string-files-init only once.
8958 (bibtex-mode): Do not call easy-menu-add.
8959 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8960 (bibtex-yank): Set arg properly if nil.
8961
022fe7ce
RW
89622011-06-05 Roland Winkler <winkler@gnu.org>
8963
2b75be67
SM
8964 * textmodes/bibtex.el (bibtex-search-entry-globally):
8965 New variable.
022fe7ce
RW
8966 (bibtex-search-entry): Use it.
8967
b7c3692a
RW
89682011-06-05 Roland Winkler <winkler@gnu.org>
8969
8970 * textmodes/bibtex.el (bibtex-entry-format): New option
8971 sort-fields.
8972 (bibtex-format-entry, bibtex-reformat): Honor this option.
8973 (bibtex-parse-entry): Return fields in proper order.
8974
8eda563d
JB
89752011-06-05 Juanma Barranquero <lekktu@gmail.com>
8976
8977 * doc-view.el (doc-view-remove-if): Move computation of result out
8978 of `dolist' to silence misleading lexical-binding warning.
8979
7dbe3dbc
CY
89802011-06-04 Chong Yidong <cyd@stupidchicken.com>
8981
8982 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8983 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8984
0c33dd17
MA
89852011-06-04 Michael Albinus <michael.albinus@gmx.de>
8986
8987 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8988 "SunOS 5.10".
8989
f8f91c2b
MA
89902011-06-04 Michael Albinus <michael.albinus@gmx.de>
8991
8992 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8993 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8994 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8995 (tramp-parse-putty):
8996 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8997 (tramp-completion-function-alist-ssh)
8998 (tramp-completion-function-alist-telnet)
8999 (tramp-completion-function-alist-su)
9000 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9001 cookie.
9002
9003 * net/tramp-ftp.el:
9004 * net/tramp-sh.el:
9005 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9006 load "tramp.el" `tramp-set-completion-function'.
9007
e17d9003
SM
90082011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9009
9010 * shell.el: Require and use pcomplete.
9011 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9012 (shell-completion-vars): Set pcomplete-default-completion-function.
9013
6c4cab03
DD
90142011-06-04 Deniz Dogan <deniz@dogan.se>
9015
9016 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9017 `memq' (Bug#8799).
9018
ea9fafe0
SM
90192011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9020
9021 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9022
b3e945d3
JB
90232011-06-02 Juanma Barranquero <lekktu@gmail.com>
9024
9025 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9026 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9027 * vc/log-view.el (log-view-beginning-of-defun):
9028 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9029 (smerge-refine-forward, smerge-refine-chopup-region):
9030 Silence warning for unused `dotimes' counter variables.
9031
7d520089
SM
90322011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9033
9034 * net/tramp.el (tramp-with-progress-reporter): Rename from
9035 with-progress-reporter. Use `declare'.
9036 * net/tramp-smb.el:
9037 * net/tramp-sh.el:
9038 * net/tramp-gvfs.el: Update all uses.
9039
a1c2400f
JB
90402011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9041
9042 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9043 buffer isn't killed before making it current.
9044
2403c841
SM
90452011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9046
9047 Silence various byte-compiler warnings.
9048 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9049 `access-type' and new obsolescence format.
9050 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9051 new format.
9052 (byte-compile-check-variable): New `access-type' argument.
9053 Only warn if the access-type is obsolete.
9054 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9055 (byte-compile-variable-set): Adjust callers.
9056 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9057 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9058 setting it as obsolete.
9059 * simple.el (minibuffer-completing-symbol):
9060 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9061 access as obsolete.
9062 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9063 obsolete yet.
9064 * international/quail.el (quail-mouse-choose-completion): Remove unused
9065 code referring to obsolete var.
9066 (quail-choose-completion-string): Remove.
9067 * server.el (server-clients-with, server-kill-buffer-query-function)
9068 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9069 * proced.el (proced-send-signal):
9070 * emacs-lisp/lisp.el (lisp-complete-symbol):
9071 Replace completion-annotate-function with completion-extra-properties.
9072
2462470b
SM
90732011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9074
fb5b2591
SM
9075 * simple.el (goto-line): Use read-number.
9076 (overriding-map-is-bound): Remove.
9077 (saved-overriding-map): Change default.
9078 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9079 Take the map as argument.
9080 (universal-argument, negative-argument, digit-argument): Use it.
9081 (restore-overriding-map): Adjust.
9082 (do-auto-fill): Use fill-forward-paragraph.
9083 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9084
fd6fa53f
SM
9085 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9086 (minibuffer-inactive-mode): New major mode.
9087 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9088 the *Messages* buffer" hack.
9089 (mouse-popup-menubar): Don't burp if the event is a normal key.
9090
2462470b
SM
9091 Miscellaneous tweaks.
9092 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9093 lexical scoping as in subr.el's dolist and dotimes.
9094 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9095 Silence compiler warning.
9096 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9097 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9098 * international/ccl.el (ccl-compile): Trivial simplification.
9099 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9100 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9101 `printflag' argument.
9102 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9103 Purecopy the whole obsolescence data.
9104
108bf785
LL
91052011-06-01 Leo Liu <sdl.web@gmail.com>
9106
9107 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9108 improve doc-string as suggested by Marco Pessotto
9109 <melmothx@gmail.com>.
9110 (rcirc-print): Fix last change.
9111
30a23501
SM
91122011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9113
9114 * minibuffer.el (complete-with-action): Return nil for the metadata and
9115 boundaries of non-functional tables.
9116 (completion-table-dynamic): Return nil for the metadata.
9117 (completion-table-with-terminator): Add default case, using
9118 complete-with-action.
9119 (completion--metadata): New function.
9120 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9121 to try and avoid pathological performance problems.
9122 (completion--embedded-envvar-table): Return `category' metadata.
9123
bcd54f83
LMI
91242011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9125
9126 * subr.el (process-alive-p): New tiny convenience function.
9127
e227544d
SM
91282011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9129
9130 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9131 content but also its previous major mode.
9132
e8296fdc
HE
91332011-05-31 Helmut Eller <eller.helmut@gmail.com>
9134
4d61f28d 9135 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
9136 *Backtrace* buffer when we exit with C-M-c.
9137
620c53a6
SM
91382011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9139
9140 * minibuffer.el: Add metadata method to completion tables.
9141 (completion-category-overrides): New defcustom.
9142 (completion-metadata, completion--field-metadata)
9143 (completion-metadata-get, completion--styles)
9144 (completion--cycle-threshold): New functions.
9145 (completion-try-completion, completion-all-completions):
9146 Add `metadata' argument to choose completion-styles.
9147 (completion--do-completion): Use metadata to choose cycling.
9148 (completion-all-sorted-completions): Use metadata for sorting.
9149 Remove :completion-cycle-penalty which is not needed any more.
9150 (completion--try-word-completion): Add `metadata' argument.
9151 (minibuffer-completion-help): Check metadata for annotation function
9152 and sorting.
9153 (completion-file-name-table): Return `category' metadata.
9154 (minibuffer-completing-file-name): Make obsolete.
9155 * simple.el (minibuffer-completing-symbol): Make obsolete.
9156 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9157 completion-try-completion.
9158
1257e755
SM
91592011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9160
9161 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9162
3767e706
LL
91632011-05-30 Leo Liu <sdl.web@gmail.com>
9164
9165 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
9166 (rcirc-print): Decode all incoming messages (bug#8744).
9167 (rcirc-decode-coding-system): Allow value nil for automatic coding
9168 system detection.
3767e706 9169
d1a5d56a
GM
91702011-06-01 Glenn Morris <rgm@gnu.org>
9171
9172 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9173
e8cbec34
CY
91742011-05-29 Chong Yidong <cyd@stupidchicken.com>
9175
9176 * image.el (image-animate-max-time): Allow nil and t values.
9177 Default to nil.
9178 (create-animated-image): Doc fix.
9179 (image-animate-start): Remove second arg; just use
9180 image-animate-max-time.
9181 (image-animate-timeout): Doc fix. Args changed.
9182
9183 * image-mode.el (image-toggle-display-image): Ensure that the
9184 image spec passed to the animate timer is the same object as in
58179cce 9185 the buffer's display property (Bug#6981).
e8cbec34
CY
9186 (image-transform-properties): Doc fix.
9187
9188 * image.el (image-animate-max-time): Default to nil.
9189
159daf87
MR
91902011-05-29 Martin Rudalics <rudalics@gmx.at>
9191
9192 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9193 entire buffer list (Bug#8184).
9194
d66c4c7c
CY
91952011-05-29 Chong Yidong <cyd@stupidchicken.com>
9196
9197 * image.el (imagemagick-types-inhibit)
9198 (imagemagick-register-types): Doc fix.
9199
80aec780
DD
92002011-05-29 Deniz Dogan <deniz@dogan.se>
9201
9202 * net/rcirc.el (rcirc): Use the user's stored encryption method by
9203 default.
9204
1dd3c2d9
CY
92052011-05-29 Chong Yidong <cyd@stupidchicken.com>
9206
9207 * select.el: Don't perform clipboard-manager saving in hooks;
9208 leave the hooks empty.
9209
60e56523
LL
92102011-05-28 Leo Liu <sdl.web@gmail.com>
9211
9212 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9213 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
9214 (occur-edit-mode): New major mode (Bug#8463).
9215 (occur-after-change-function): New function.
9216 (occur-engine): Give Occur tags a read-only property.
9217
2b1e1a22
KR
92182011-05-28 Kevin Ryde <user42@zip.com.au>
9219
9220 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9221
5d344e88
CY
92222011-05-28 Chong Yidong <cyd@stupidchicken.com>
9223
8e6ca83d
CY
9224 * bindings.el (help-echo): Make the initial non-indicator dash
9225 empty on graphical terminals (Bug#7295).
9226
5d344e88
CY
9227 * files.el (auto-mode-alist): Move config rule after the
9228 in-stripping one (Bug#8547).
9229
bfbbace7
CY
9230 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9231
fbeba6e2
CY
9232 * startup.el (normal-splash-screen): Remove gratuitous mode-line
9233 setting (Bug#8740).
9234
60ed8c72
AA
92352011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
9236
4ac619f0
AA
9237 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9238 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9239 (Bug#8539).
60ed8c72 9240
23db196e
CY
92412011-05-28 Chong Yidong <cyd@stupidchicken.com>
9242
9243 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9244
5012f24c
DK
92452011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
9246
9247 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9248 (hs-hide-block-at-point, hs-find-block-beginning)
9249 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9250 (Bug#8279).
9251
6a639b16
GM
92522011-05-28 Glenn Morris <rgm@gnu.org>
9253
9254 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9255
d43eaf2c
CY
92562011-05-28 Chong Yidong <cyd@stupidchicken.com>
9257
5199bde1
CY
9258 * help-fns.el (describe-function-1): If the function is a derived
9259 major mode, print the parent mode.
9260
d43eaf2c
CY
9261 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9262 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9263
423428a8
SM
92642011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9265
0ff8e1ba 9266 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 9267 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
9268 * progmodes/etags.el (tags-completion-at-point-function):
9269 * info-look.el (info-lookup-completions-at-point): Mark as
9270 non-exclusive.
9271 (info-complete): Adjust accordingly.
9272
423428a8
SM
9273 * info-look.el: Convert to lexical-binding and completion-at-point.
9274 (info-lookup-completions-at-point): New function.
9275 (info-complete): Use it and completion-in-region.
9276
b74aa22b
DA
92772011-05-28 Drew Adams <drew.adams@oracle.com>
9278
9279 * isearch.el: Let M-e start with point at the first mismatched char.
9280 (isearch-fail-pos): New function.
9281 (isearch-edit-string): Use it.
9282
66e2e71d
DK
92832011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9284
9285 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9286
b1890b0f 92872011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
9288
9289 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9290 traversal functions for avl-trees.
9291 (avl-tree--stack): New struct.
9292 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9293 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
9294 (avl-tree--do-enter): Add optional `updatefun' arg.
9295 Change return value.
eb95d01d 9296 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
9297 (avl-tree--do-delete): Add `test' and `nilflag' args.
9298 Change return value.
eb95d01d
TC
9299 (avl-tree-member): Add optional `nilflag'
9300 (avl-tree-member-p): New function.
9301 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9302 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9303 (avl-tree-stack-empty-p): New functions.
9304
3769ddcf
TC
9305 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9306 avl-tree--del-balance1 and make it work both ways.
9307 (avl-tree--del-balance2): Remove.
9308 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9309 make it work both ways.
9310 (avl-tree--enter-balance2): Remove.
9311 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9312 New macros.
9313 (avl-tree--mapc, avl-tree-map): Add direction argument.
9314
eb95d01d 93152011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
9316
9317 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9318
a9f737ee
CY
93192011-05-27 Chong Yidong <cyd@stupidchicken.com>
9320
9321 * select.el: Support clipboard managers with built-in function
9322 x-clipboard-manager-save, via delete-frame-functions and
9323 kill-emacs-hook.
9324 (xselect-convert-to-targets): Add MULTIPLE target to list.
9325 (xselect-convert-to-save-targets): New function.
9326
c92a1e54
KH
93272011-05-27 Kenichi Handa <handa@m17n.org>
9328
9329 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9330 let-binding rfc2047-encode-encoded-words to nil.
9331
e145f188
GM
93322011-05-27 Glenn Morris <rgm@gnu.org>
9333
5ec8a862
GM
9334 * mail/emacsbug.el: Don't require url-util.
9335
4b29d9fb
GM
9336 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9337
e145f188
GM
9338 * files.el (set-auto-mode):
9339 Also respect mode: entries at the end of the file. (Bug#8586)
9340
7d15102b
GM
93412011-05-26 Glenn Morris <rgm@gnu.org>
9342
98f593b8
GM
9343 * files.el (hack-local-variables-prop-line, hack-local-variables):
9344 Downcase mode names, as seems to be traditional.
27b48e63 9345 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 9346
7d15102b
GM
9347 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9348 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
9349
51d5b4ec
JD
93502011-05-25 Julien Danjou <julien@danjou.info>
9351
9352 * textmodes/rst.el (rst-define-level-faces): Do not define face
9353 symbol if it is already defined.
9354
91513f63
VB
93552011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
9356
9357 * play/5x5.el (5x5-new-game, 5x5-randomize):
9358 Reset 5x5-solver-output to nil when a new grid is cast.
9359 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9360 these debugging traces, as defmacro breaks the compiled code.
9361
4d90d6d0
DK
93622011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9363
9364 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9365
e1b90ef6
LL
93662011-05-24 Leo Liu <sdl.web@gmail.com>
9367
9368 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9369 (vc-bzr-sha1): Adapt.
9370
d8e4b68b 9371 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
9372
9373 * bindings.el: Provide sha1 feature.
9374
db0406bb 93752011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
9376
9377 * mail/sendmail.el: Require `rfc2047'.
9378 (mail-insert-from-field): Do not perform RFC2047 encoding.
9379 (mail-encode-header): New function.
9380 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
9381 buffer to the return value of select-message-coding-system.
9382 Call mail-encode-header.
b8d747b9
KH
9383
9384 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9385
db0406bb 93862011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 9387
4d90d6d0
DK
9388 * mail/supercite.el (sc-default-cite-frame):
9389 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 9390
eb8a5e9b
GM
93912011-05-24 Glenn Morris <rgm@gnu.org>
9392
f8630703
GM
9393 * progmodes/python.el (brm-menu): Declare.
9394
8831bbed
GM
9395 * emulation/viper.el (viper-set-hooks): Declare.
9396
eb8a5e9b
GM
9397 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9398 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9399 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9400 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9401 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9402 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9403
a2a25d24
SM
94042011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9405
9406 Add an :exit-function for completion-at-point.
9407
9408 * minibuffer.el (completion--done): New fun.
9409 (completion--do-completion): Use it. New arg `expect-exact'.
9410 (minibuffer-complete, minibuffer-complete-word): Don't output message,
9411 since completion--do-completion does it for us now.
9412 (minibuffer-force-complete): Use completion--done and
9413 completion--replace. Handle sole-completion case with more care.
9414 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9415 (completion-extra-properties): New var.
9416 (completion-annotate-function): Make obsolete.
9417 (minibuffer-completion-help): Adjust accordingly.
9418 Use completion-list-insert-choice-function.
9419 (completion-at-point, completion-help-at-point):
9420 Bind completion-extra-properties.
9421 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9422 * simple.el (completion-list-insert-choice-function): New var.
9423 (completion-setup-function): Preserve it.
9424 (choose-completion): Pay attention to it, shuffle the code a bit.
9425 (choose-completion-string): New arg `insert-function'.
9426
9427 * textmodes/bibtex.el: Convert to lexical binding.
9428 (bibtex-mode-map): Use completion-at-point.
9429 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9430 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9431 (bibtex-complete): Define as obsolete alias.
9432 (bibtex-complete-internal): Remove.
9433 (bibtex-format-entry): Remove unused sub-group in regexp.
9434 * shell.el (shell--command-completion-data)
9435 (shell-environment-variable-completion):
9436 * pcomplete.el (pcomplete-completions-at-point):
9437 * comint.el (comint--complete-file-name-data): Use :exit-function
9438 instead of completion-table-with-terminator so it also works for
9439 choose-completion.
9440
e44e373d
SM
94412011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9442
4f91a816
SM
9443 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9444
782fc819
SM
9445 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9446 (bug#8710).
9447
e44e373d
SM
9448 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9449
381987c3
KM
94502011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
9451
9452 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9453 customization variable and implement: If non-nil, auto-fill will
9454 be inhibited while on topic's header line.
9455
b776bc70
VB
94562011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
9457
9458 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 9459 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
9460 always have a solution in grid size = 5 cases.
9461 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9462 (5x5-solver-output, 5x5-log-buffer): New vars.
9463 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9464 Make these variables buffer local to achieve 5x5 multi-session-ness.
9465 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9466 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9467 (5x5-solve-suggest): New funs.
9468 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9469 randomize a grid so that we ensure that there is always a solution.
9470 (5x5-make-random-grid): Allow other movement than flipping.
9471
7de88b6e
KR
94722011-05-23 Kevin Ryde <user42@zip.com.au>
9473
9474 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 9475 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
9476 advice and passes PREDICATE.
9477
b1ef1257
SM
94782011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9479
bbca48fe
SM
9480 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9481 byte-compile-lambda if it's actually a lambda.
9482
b1ef1257
SM
9483 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9484 Fix function quoting. Use backquote better.
9485
92a9cc65
YS
94862011-05-22 Yuanle Song <sylecn@gmail.com>
9487
9488 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9489 matching (Bug#8516).
9490
f0fb8059
JA
94912011-01-22 Jari Aalto <jari.aalto@cante.net>
9492
9493 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9494 different face (Bug#8178).
9495
d5b44c93
CY
94962011-05-22 Chong Yidong <cyd@stupidchicken.com>
9497
9498 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9499 defface (Bug#8144).
9500
79106a44
SM
95012011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
9502
9c848d8a
SM
9503 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9504 funcall as well (bug#8712). Warn when performing those conversions.
9505 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9506
79106a44
SM
9507 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9508
88dfa756
GM
95092011-05-22 Glenn Morris <rgm@gnu.org>
9510
9511 * files.el (hack-local-variables-prop-line): Small simplifications.
9512 (hack-local-variables, hack-local-variables-prop-line):
9513 If MODE-ONLY, return the mode, rather than just `t'.
9514
b7cf2c79
SM
95152011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9516
9517 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9518
3f1a8558
GM
95192011-05-21 Glenn Morris <rgm@gnu.org>
9520
7e4ccca3
GM
9521 * files.el (hack-local-variables-prop-line, hack-local-variables):
9522 If only interested in the mode, don't bother doing the other stuff.
9523
637d46ca
GM
9524 * image-mode.el (image-after-revert-hook):
9525 Redraw all frames on which the image is visible. (Bug#8567)
9526
973d955b
GM
9527 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
9528
3f1a8558
GM
9529 * wid-edit.el (widget-checklist-match-inline):
9530 Fix 2011-04-19 change. (Bug#8649)
9531
96479927
SM
95322011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
9533
1dcf791f
SM
9534 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9535 Also allow singlespace after single-letter capitals followed by a dot.
9536
96479927
SM
9537 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9538 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9539
35fd0881
N
95402011-05-20 Nix <nix@esperi.org.uk>
9541
9542 * files.el (basic-save-buffer-2):
9543 Fix handling of break-hardlink-on-save with non-existent files.
9544
82745640
DD
95452011-05-19 Deniz Dogan <deniz@dogan.se>
9546
9547 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 9548 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 9549
4a720484
GM
95502011-05-19 Glenn Morris <rgm@gnu.org>
9551
d1f21341
GM
9552 * progmodes/f90.el (f90-type-def-re):
9553 Handle "type, bind(c)". (Bug#8691)
9554
4a720484
GM
9555 * emacs-lisp/autoload.el (batch-update-autoloads):
9556 Set autoload-excludes by parsing loadup.el rather than Makefiles.
9557
2fb0a219
MA
95582011-05-18 Michael Albinus <michael.albinus@gmx.de>
9559
9560 * net/tramp.el (tramp-process-actions): Set "first-password-request"
9561 property for the correct connection in case of multihops.
9562
e565dd37
GM
95632011-05-18 Glenn Morris <rgm@gnu.org>
9564
c2571358 9565 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
9566 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9567
e565dd37
GM
9568 Rationalize calendar handling of day and month abbrev-arrays.
9569 * calendar/calendar.el (calendar-customized-p): New function.
9570 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9571 (calendar-day-name-array, calendar-month-name-array): Doc fix.
9572 Add :set function.
9573 (calendar-abbrev-length, calendar-day-abbrev-array)
9574 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9575 (calendar-day-abbrev-array, calendar-month-abbrev-array):
9576 Elements may no longer be nil.
9577 (calendar-day-name, calendar-month-name):
9578 Update for changed nature of abbrev arrays.
9579 * calendar/diary-lib.el (diary-name-pattern):
9580 Update for changed nature of abbrev arrays.
9581 (diary-mark-entries-1): Update calendar-make-alist calls.
9582 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9583 * calendar/cal-html.el (cal-html-day-abbrev-array):
9584 Simply inherit from calendar-day-abbrev-array.
9585
1d99a745
SM
95862011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9587
9588 * progmodes/grep.el (grep-mode): Disable default
9589 compilation-directory-matcher setting (bug#8684).
9590
7c1d9aa0
MA
95912011-05-17 Michael Albinus <michael.albinus@gmx.de>
9592
9593 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9594 instead of "head" and "tail". There were problems with SunOS 5.9,
9595 and it performs better.
9596
3952e9d8
GM
95972011-05-17 Glenn Morris <rgm@gnu.org>
9598
2dd12e7f
GM
9599 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9600
e4157b9c
GM
9601 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9602 Replace obsolete function.
9603
8e249bbd
GM
9604 * shell.el (pcomplete-parse-arguments-function): Declare.
9605
3952e9d8
GM
9606 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9607 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9608 (appt-check): Doc fixes.
9609 (appt-disp-window-function, appt-delete-window-function):
9610 Remove needless special case in custom :type.
9611 (appt-display-count): Default to 0, not nil.
9612 (appt-check): Reset appt-display-count to 0, not nil.
9613
c71a0d48 96142011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 9615
c71a0d48
GM
9616 * progmodes/python.el (python-font-lock-keywords):
9617 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 9618
31d55be9
SM
96192011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9620
9621 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9622
3bfacb2f
KR
96232011-05-16 Kevin Ryde <user42@zip.com.au>
9624
9625 * info-look.el (makefile-automake-mode): New setups, looking in
9626 automake manual, then makefile-mode.
9627 (makefile-mode): Remove automake manual, have it just in
9628 makefile-automake-mode since there's various things different or
9629 not relevant to plain make.
9630 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9631 believe a hypothetical automake-mode would go to makefile-mode,
9632 not the other way around.
9633
c8e83751
CY
96342011-05-15 Chong Yidong <cyd@stupidchicken.com>
9635
5e9e35cd
CY
9636 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9637 hunk-end tags (Bug#8672).
9638
c8e83751
CY
9639 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9640 vc-annotate-show-diff-revision-at-line (Bug#8671).
9641
50b23e5a
GM
96422011-05-14 Glenn Morris <rgm@gnu.org>
9643
7210a739
GM
9644 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9645 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
9646 (change-log-font-lock-keywords): Also handle multiple author lines
9647 with leading tabs. (Bug#8644)
7210a739 9648
4691905a
GM
9649 * calendar/appt.el (appt-check): Rename some local variables.
9650 Some simplification/reordering.
9651
50b23e5a
GM
9652 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9653 (feedmail-sendmail-f-doesnt-sell-me-out)
9654 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9655 (feedmail-debug-sit-for, feedmail-queue-express-hook)
9656 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
9657 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9658 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
9659 (feedmail-binmail-gnulinuxish-template):
9660 Rename from feedmail-binmail-linuxish-template.
9661 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9662 Use insert-buffer-substring.
9663
215cda7c
BC
96642011-05-14 Bill Carpenter <bill@carpenter.org>
9665
9666 * mail/feedmail.el (feedmail-patch-level): Increase.
9667 (feedmail-debug): New custom group.
9668 (feedmail-confirm-outgoing-timeout)
9669 (feedmail-sendmail-f-doesnt-sell-me-out)
9670 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9671 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9672 (feedmail-sender-line, feedmail-from-line)
9673 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 9674 (feedmail-spray-this-address)
215cda7c
BC
9675 (feedmail-spray-address-fiddle-plex-list)
9676 (feedmail-queue-use-send-time-for-date)
9677 (feedmail-queue-use-send-time-for-message-id)
9678 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9679 (feedmail-buffer-eating-function):
9680 Doc fixes.
9681 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9682 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9683 (feedmail-message-action-scroll-down): New functions.
9684 (feedmail-queue-directory, feedmail-queue-draft-directory):
9685 Use expand-file-name.
9686 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9687 Remove C-v help entry.
9688 (feedmail-queue-buffer-file-name): New variable.
9689 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9690 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9691 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9692 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9693 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9694 (feedmail-message-action-toggle-spray)
9695 (feedmail-run-the-queue-no-prompts)
9696 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9697 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9698 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9699 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9700 (feedmail-envelope-deducer, feedmail-fiddle-from)
9701 (feedmail-fiddle-sender, feedmail-default-date-generator)
9702 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9703 (feedmail-fiddle-spray-address)
9704 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9705 (feedmail-fiddle-list-of-fiddle-plexes)
9706 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9707 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9708 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9709 Change default. Doc fix.
9710 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9711 (feedmail-binmail-linuxish-template): New constant.
9712 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9713 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9714 (feedmail-send-it): Add debug call.
9715 Use feedmail-queue-buffer-file-name, and
9716 feedmail-send-it-immediately-wrapper.
9717 (feedmail-message-action-send): Add debug call.
9718 Use feedmail-send-it-immediately-wrapper.
9719 (feedmail-queue-express-to-queue): Add debug call.
9720 Run feedmail-queue-express-hook.
9721 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9722 (feedmail-message-action-help-blat):
9723 Rename from feedmail-queue-send-edit-prompt-help-first.
9724 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9725 Check line-endings. Handle errors better.
9726 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9727 Doc fix. Add debug call.
9728 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9729 Use feedmail-queue-send-edit-prompt-inner.
9730 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9731 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9732 from feedmail-queue-send-edit-prompt.
9733 (feedmail-queue-send-edit-prompt-help)
9734 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9735 (feedmail-tidy-up-slug): Add debug call.
9736 Respect feedmail-queue-slug-suspect-regexp.
9737 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9738 (feedmail-dump-message-to-queue): Add debug call.
9739 Expand queue-directory.
9740 (feedmail-dump-message-to-queue): Change message slightly.
9741 Use feedmail-say-chatter.
9742 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9743 (feedmail-send-it-immediately-wrapper): New function.
9744 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9745 Insert empty string rather than newline. Handle full-frame case.
9746 Use catch/throw. Use feedmail-say-chatter.
9747 (feedmail-fiddle-from): Try mail-host-address.
9748 (feedmail-default-message-id-generator): Doc fix.
9749 Bind system-time-locale. Handle missing end.
9750 (feedmail-fiddle-x-mailer): Add debug call.
9751 Handle feedmail-x-mailer-line being nil.
9752 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9753 Add debug call. Use buffer-substring-no-properties.
9754 (feedmail-say-debug, feedmail-say-chatter): New functions.
9755 (feedmail-find-eoh): Give an explicit error.
9756
42c7e61e
UJ
97572011-05-13 Ulf Jasper <ulf.jasper@web.de>
9758
c2571358 9759 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 9760 family from helvetica to sans.
c2571358 9761 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9762 etc/images/newsticker.
9763
c2571358 9764 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
9765 family from helvetica to sans.
9766
9767 * net/newst-plainview.el (newsticker-new-item-face)
9768 (newsticker-old-item-face, newsticker-immortal-item-face)
9769 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 9770 (newsticker-statistics-face): Change default family from
42c7e61e 9771 helvetica to sans.
c2571358 9772 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9773 etc/images/newsticker.
9774
9775 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9776 (newsticker--process-auto-mark-filter-match): : Tell user about
9777 auto-marking.
9778
8497a297
DV
97792011-05-13 Didier Verna <didier@xemacs.org>
9780
9781 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
9782 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9783 TODO entries.
8497a297
DV
9784 (lisp-lambda-list-keyword-parameter-indentation)
9785 (lisp-lambda-list-keyword-parameter-alignment)
9786 (lisp-lambda-list-keyword-alignment): New customizable user options.
9787 (lisp-indent-defun-method): Improve docstring.
9788 (extended-loop-p): Fix comment.
9789 (lisp-indent-lambda-list-keywords-regexp): New variable.
9790 (lisp-indent-lambda-list): New function.
9791 (lisp-indent-259): Use it.
9792 (lisp-indent-defmethod): Support for more than one
9793 method qualifier and properly indent methods lambda-lists.
9794 (defgeneric): Provide a missing common-lisp-indent-function property.
9795
f278f87f
SM
97962011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9797
9798 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9799 bounds for the empty string (bug#8667).
9800
5233edd7
GM
98012011-05-13 Glenn Morris <rgm@gnu.org>
9802
5237a44f
GM
9803 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9804
8340026c 9805 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 9806 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 9807
5233edd7 9808 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 9809 (appt-time-msg-list): Doc fix.
a5464014 9810 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 9811
92d10796
AS
98122011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9813
9814 * progmodes/ld-script.el (ld-script-keywords)
9815 (ld-script-builtins): Update keywords list.
9816
914a0ae1
SM
98172011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9818
c89be45f
SM
9819 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9820
914a0ae1
SM
9821 * shell.el (shell-completion-vars): New function.
9822 (shell-mode):
9823 * simple.el (read-shell-command): Use it.
9824 (blink-matching-open): No need for " [...]" in minibuffer-message.
9825
98dc3df3
GM
98262011-05-12 Glenn Morris <rgm@gnu.org>
9827
9828 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9829 (appt-check): Simplify.
9830
d2fc7e3d 98312011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 9832
4d61f28d 9833 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
9834 literal "/dev/null".
9835
d2fc7e3d 98362011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
9837
9838 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9839 Fix typo.
9840
d2fc7e3d 98412011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 9842
3f254caa
SM
9843 * progmodes/which-func.el (which-function):
9844 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
9845 which might not be defined (Bug#8260).
9846
d45885f7
GM
98472011-05-12 Glenn Morris <rgm@gnu.org>
9848
9849 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9850 Let byte-compile-initial-macro-environment always take precedence.
9851
488086f4
SM
98522011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9853
9854 * net/rcirc.el: Add support for SSL/TLS connections.
9855 (rcirc-server-alist): New field `encryption'.
9856 (rcirc): Check `encryption' settings.
9857 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9858 Merge make-local-variable into `set'.
9859 (rcirc--connection-open-p): New function.
9860 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9861 the process is not a network process (e.g. running gnutls-cli).
9862 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9863 Make rcirc-(en|de)code-coding-system local here.
9864 (rcirc-mode): Merge make-local-variable into `set'.
9865 (rcirc-parent-buffer): Make permanent buffer-local.
9866 (rcirc-multiline-minor-mode): Don't do it here.
9867 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9868 there's no server buffer.
9869
7d3b9d44
GM
98702011-05-11 Glenn Morris <rgm@gnu.org>
9871
f64049c6
GM
9872 * newcomment.el (comment-kill): Prefix "unused" local.
9873
93c9df73
GM
9874 * term/w32console.el (get-screen-color): Declare.
9875
7d3b9d44
GM
9876 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9877 Handle symbol elements of byte-compile-initial-macro-environment.
9878
9e2dd53f
LL
98792011-05-10 Leo Liu <sdl.web@gmail.com>
9880
488086f4
SM
9881 * bookmark.el (bookmark-bmenu-mode-map):
9882 Bind bookmark-bmenu-search to `/'.
8b340240 9883
9e2dd53f 9884 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
9885 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9886 (Footnote-unicode): New function.
9887 (footnote-style-alist): Add unicode style to the list.
9888 (footnote-style): Doc fix.
9e2dd53f 9889
79b70037
GM
98902011-05-10 Jim Meyering <meyering@redhat.com>
9891
9892 Fix doubled-word typos.
9893 * international/quail.el (quail-insert-kbd-layout): and and -> and
9894 * kermit.el: and and -> and
9895 * net/ldap.el (ldap-search-internal): to to -> to
9896 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9897 * progmodes/js.el (js-mode): and and -> and
9898 * textmodes/artist.el (artist-move-to-xy): at at -> at
9899 (artist-draw-region-trim-line-endings): if if -> if
9900 And Safetyc -> Safety.
9901 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9902
b8f82dc1 99032011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 9904 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
9905
9906 * files.el (hack-one-local-variable-eval-safep):
9907 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9908
4f99f44b
GM
99092011-05-10 Glenn Morris <rgm@gnu.org>
9910
9911 * calendar/diary-lib.el (diary-list-entries-hook)
9912 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9913 (diary-nongregorian-marking-hook, diary-list-entries)
9914 (diary-include-other-diary-files, diary-mark-entries)
9915 (diary-mark-included-diary-files): Doc fixes.
9916
84f29e6b
JB
99172011-05-09 Juanma Barranquero <lekktu@gmail.com>
9918
9919 * misc.el: Require tabulated-list.el during compilation.
9920
9bedd73a
CY
99212011-05-09 Chong Yidong <cyd@stupidchicken.com>
9922
488086f4
SM
9923 * progmodes/compile.el (compilation-start):
9924 Run compilation-filter-hook for the async case too.
9bedd73a
CY
9925 (compilation-filter-hook): Doc fix.
9926
797c735c
DD
99272011-05-09 Deniz Dogan <deniz@dogan.se>
9928
9929 * wdired.el: Remove outdated installation comment. Fix usage
9930 comment.
9931
5f4b1dfe
JB
99322011-05-09 Juanma Barranquero <lekktu@gmail.com>
9933
9934 * misc.el: Implement new command `list-dynamic-libraries'.
9935 (list-dynamic-libraries--loaded-only-p): New variable.
9936 (list-dynamic-libraries--refresh): New function.
9937 (list-dynamic-libraries): New command.
9938
4c44026c
CY
99392011-05-09 Chong Yidong <cyd@stupidchicken.com>
9940
488086f4
SM
9941 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9942 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
9943 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9944 higher priority to avoid clobbering by gnu.
9945
027f966d
CY
99462011-05-08 Chong Yidong <cyd@stupidchicken.com>
9947
9948 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9949 if the face has existing theme settings (Bug#8454).
9950
085f5d7d
CY
99512011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9952
488086f4
SM
9953 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9954 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 9955
2a86a00c
RS
9956 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9957 special file names `.' and `..' (Bug#8259).
9958
d9c54a06
CY
99592011-05-08 Chong Yidong <cyd@stupidchicken.com>
9960
488086f4
SM
9961 * progmodes/grep.el (grep-mode-font-lock-keywords):
9962 Remove buffer-changing entries.
d9c54a06
CY
9963 (grep-filter): New function.
9964 (grep-mode): Add it to compilation-filter-hook.
9965
9966 * progmodes/compile.el (compilation-filter-hook)
9967 (compilation-filter-start): New defvars.
9968 (compilation-filter): Call compilation-filter-hook prior to
9969 updating the process mark.
9970
c4662635
SM
99712011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9972
9973 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9974
b0512a1d
EZ
99752011-05-07 Eli Zaretskii <eliz@gnu.org>
9976
605c9376
EZ
9977 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9978 mailclient-send-it even if window-system is nil. (Bug#8595)
9979
c4662635
SM
9980 * term/w32console.el (terminal-init-w32console):
9981 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
9982 background-mode. (Bug#8597)
9983
d1dc2cc2
SM
99842011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9985
9986 Make bytecomp.el understand that defmethod defines funs (bug#8631).
9987 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9988 New functions.
9989 (defgeneric, eieio--defmethod): Use them.
9990 (eieio-defgeneric): Remove.
9991 (defmethod): Call defgeneric in a way visible to the byte-compiler.
9992
915d1300
GM
99932011-05-07 Glenn Morris <rgm@gnu.org>
9994
a3961c3e
GM
9995 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9996 Use let rather than let*.
9997 (timeclock-find-discrep): Remove unused local.
9998
314347b9
GM
9999 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10000
915d1300
GM
10001 * calendar/appt.el (appt-time-msg-list): Doc fix.
10002
275b59b0
NF
100032011-05-06 Noah Friedman <friedman@splode.com>
10004
10005 * apropos.el (apropos-print-doc): Only use
10006 emacs-lisp-docstring-fill-column when it is bound to an integer,
10007 per that variable's documentation.
10008
6c19f744
SM
100092011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10010
10011 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 10012 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 10013
60f884b2
GM
100142011-05-06 Glenn Morris <rgm@gnu.org>
10015
5006e634
GM
10016 * calendar/appt.el (appt-message-warning-time): Doc fix.
10017 (appt-warning-time-regexp): New option.
10018 (appt-make-list): Respect appt-message-warning-time.
10019
548d0a63
GM
10020 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10021 New options.
10022 (diary-add-to-list): Strip comments from the displayed string.
10023 (diary-mode): Set comment-start and comment-end.
10024
60f884b2
GM
10025 * vc/diff-mode.el (smerge-refine-subst): Declare.
10026 (diff-refine-hunk): Don't require smerge-mode when compiling.
10027
989681bb
JB
100282011-05-06 Juanma Barranquero <lekktu@gmail.com>
10029
10030 * simple.el (list-processes): Return nil as the docstring says.
10031
a6bc05e1
MA
100322011-05-05 Michael Albinus <michael.albinus@gmx.de>
10033
10034 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10035 to "".
10036 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10037 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10038 determining of binary transfer. (Bug#7383)
10039
23c22e9a
MA
100402011-05-05 Michael Albinus <michael.albinus@gmx.de>
10041
c4662635
SM
10042 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10043 Fix port computation bug. (Bug#8618)
23c22e9a 10044
0bff894f
GM
100452011-05-05 Glenn Morris <rgm@gnu.org>
10046
b8296902
GM
10047 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10048
1f522ce8
GM
10049 * simple.el (shell-dynamic-complete-functions)
10050 (comint-dynamic-complete-functions): Declare.
10051
cf5bee67
GM
10052 * net/network-stream.el (gnutls-negotiate):
10053 * simple.el (tabulated-list-print): Fix declarations.
10054
10055 * progmodes/gud.el (syntax-symbol, syntax-point):
10056 Remove unnecessary and incorrect declarations.
10057
0bff894f
GM
10058 * emacs-lisp/check-declare.el (check-declare-scan):
10059 Handle byte-compile-initial-macro-environment in bytecomp.el
10060
9869b3ae
SM
100612011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10062
10063 Fix earlier half-done eieio-defmethod change (bug#8338).
10064 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10065 Streamline and change calling convention.
10066 (defmethod): Adjust accordingly and simplify.
10067 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10068 new eieio--defmethod.
10069 (slot-boundp): Minor CSE simplification.
10070
9c1d5ac5
MZ
100712011-05-05 Milan Zamazal <pdm@zamazal.org>
10072
10073 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10074 (glasses-make-readable): Use glasses-separate-capital-groups.
10075
455c834e
JB
100762011-05-05 Juanma Barranquero <lekktu@gmail.com>
10077
10078 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10079 (warning-series): Doc fix.
10080 (display-warning): Don't try to create the buffer if we just found it.
10081
9ed7c8cb
CY
100822011-05-04 Chong Yidong <cyd@stupidchicken.com>
10083
10084 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10085 (autoload-find-generated-file): New function.
10086 (generate-file-autoloads): Bind generated-autoload-file to
10087 buffer-file-name.
9869b3ae
SM
10088 (update-file-autoloads, update-directory-autoloads):
10089 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
10090 output file (Bug#7989).
10091 (batch-update-autoloads): Doc fix.
10092
0898ca10
JB
100932011-05-04 Juanma Barranquero <lekktu@gmail.com>
10094
10095 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10096
31dfb76c
GM
100972011-05-04 Glenn Morris <rgm@gnu.org>
10098
f330b642
GM
10099 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10100 function, so it follows changes in calendar-date-style.
10101 (diary-fancy-date-matcher): New function.
10102 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10103 (diary-fancy-font-lock-fontify-region-function):
10104 Use diary-fancy-date-pattern as a function.
10105
31dfb76c
GM
10106 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10107 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10108
48e79d6a
TZ
101092011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10110
10111 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10112 instead of positional arguments. Allow :keylist and :crlfiles
10113 arguments.
10114 (open-gnutls-stream): Call it.
10115
10116 * net/network-stream.el (network-stream-open-starttls): Adjust to
10117 call `gnutls-negotiate' with :process and :hostname arguments.
10118
dd5a5ee0
SM
101192011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10120
ef80fc09
SM
10121 * minibuffer.el (completion--message): New function.
10122 (completion--do-completion, minibuffer-complete)
10123 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10124 (completion--do-completion): Don't ignore completion-auto-help when in
10125 icomplete-mode.
10126
dd5a5ee0
SM
10127 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10128 internal encoding (e.g. tibetan zero is not whitespace).
10129 (global-whitespace-mode): Prefer save-current-buffer.
10130 (whitespace-trailing-regexp): Remove useless save-match-data.
10131 (whitespace-empty-at-bob-regexp): Minor simplification.
10132
b7d22a83
CY
101332011-05-03 Chong Yidong <cyd@stupidchicken.com>
10134
10135 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10136
5192af46
AM
101372011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10138
10139 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 10140 Use `concat' to create string for insertion.
5192af46 10141
5767d190
SM
101422011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10143
10144 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10145 Avoid open-line which runs post-self-insert-hook.
10146 (bibtex-fill-entry): Remove unused `end' var.
10147
bf242939
AM
101482011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10149
5767d190
SM
10150 * textmodes/ispell.el (ispell-add-per-file-word-list):
10151 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 10152
25666126
LL
101532011-05-03 Leo Liu <sdl.web@gmail.com>
10154
10155 * isearch.el (isearch-yank-pop): New command.
5767d190 10156 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
10157 (isearch-forward): Mention it.
10158
52d3c2d0
SM
101592011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10160
1bcace58
SM
10161 * simple.el (minibuffer-complete-shell-command): Remove.
10162 (minibuffer-local-shell-command-map): Use completion-at-point.
10163 (read-shell-command): Setup completion vars here instead.
10164 (read-expression-map): Bind TAB to symbol completion.
10165
52d3c2d0
SM
10166 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10167 error directly rather via storing it into `results'.
10168
35813471
LL
101692011-05-02 Leo Liu <sdl.web@gmail.com>
10170
10171 * vc/diff.el: Fix description.
10172
e793a940
LMI
101732011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10174
10175 * server.el (server-eval-at): New function.
10176
8de66e05
LMI
101772011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10178
10179 * net/network-stream.el (open-network-stream): Take a :nowait
10180 parameter and pass it on to `make-network-process'.
10181 (network-stream-open-plain): Ditto.
10182
dcb79f20
AS
101832011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10184
10185 * faces.el (face-spec-set-match-display): Don't match toolkit
10186 options on terminal frames.
10187
14a7fbd8
SM
101882011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10189
7eabc1be
SM
10190 * progmodes/pascal.el: Use lexical binding.
10191 (pascal-mode-map): Remove author preferences.
10192
14a7fbd8
SM
10193 * pcomplete.el (pcomplete-std-complete): Don't abuse
10194 completion-at-point.
10195
50f84510
JB
101962011-04-28 Juanma Barranquero <lekktu@gmail.com>
10197
6e087a44
JB
10198 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10199 removing code that has been dead since 1991 or so.
10200
50f84510
JB
10201 * startup.el (command-line): When warning about "_emacs", use a
10202 delayed warning to allow the user to filter it out.
10203
0ba690bd
DD
102042011-04-28 Deniz Dogan <deniz@dogan.se>
10205
10206 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10207 user has not joined.
10208
08abfaad
SM
102092011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10210
10211 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10212 aren't any completions at point.
10213
638f053a
JB
102142011-04-28 Juanma Barranquero <lekktu@gmail.com>
10215
10216 * subr.el (display-delayed-warnings): New function.
10217 (delayed-warnings-hook): New variable.
10218
8fff8daa
SM
102192011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10220
08abfaad
SM
10221 * minibuffer.el (completion-at-point, completion-help-at-point):
10222 Don't presume that a given completion-at-point-function will always
10223 use the same calling convention.
10224
8fff8daa
SM
10225 * pcomplete.el (pcomplete-completions-at-point):
10226 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10227 pcomplete-seen is non-nil.
10228 (pcomplete-comint-setup): Also recognize the new comint/shell
10229 completion functions.
10230 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10231 pcomplete-seen is non-nil.
10232
841a1577 102332011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 10234
841a1577 10235 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 10236 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 10237 the first character in the entry. This allows for code to add its
211ec907
UJ
10238 own uid to the entry.
10239 (icalendar--convert-float-to-ical): Add export of
10240 `diary-float'-entries save for those with the optional DAY
10241 argument.
10242
2a782793
DC
102432011-04-27 Daniel Colascione <dan.colascione@gmail.com>
10244
10245 * subr.el (shell-quote-argument): Use alternate escaping strategy
10246 when we spot a variable reference in a string.
10247
0438ce91
DC
102482011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10249
10250 * cus-start.el (all): Define customization for debug-on-event.
10251
841a1577 102522011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
10253
10254 * subr.el (shell-quote-argument): Escape correctly under Windows.
10255
d090ed6c
SM
102562011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10257
10258 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10259
bfd31217
MA
102602011-04-25 Michael Albinus <michael.albinus@gmx.de>
10261
d090ed6c
SM
10262 * net/tramp.el (tramp-process-actions): Add POS argument.
10263 Delete region between POS and (pos).
bfd31217 10264
d090ed6c
SM
10265 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10266 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
10267 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10268
10269 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10270 position in `tramp-process-actions' call.
10271
10272 * net/trampver.el: Update release number.
10273
e92f3bd3
SM
102742011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10275
850256b5
SM
10276 * custom.el (defcustom): Obey lexical-binding.
10277
e92f3bd3
SM
10278 Fix octave-inf completion problems reported by Alexander Klimov.
10279 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10280 Inherit from octave-mode-syntax-table.
10281 (inferior-octave-mode): Set info-lookup-mode.
10282 (inferior-octave-completion-at-point): New function.
10283 (inferior-octave-complete): Use it and completion-in-region.
10284 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10285 comint-filename-completion.
10286 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10287 symbol elements which shouldn't be word elements.
10288 (octave-font-lock-keywords, octave-beginning-of-defun)
10289 (octave-function-header-regexp): Adjust regexps accordingly.
10290 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10291
cd22b309
JB
102922011-04-25 Juanma Barranquero <lekktu@gmail.com>
10293
10294 * net/gnutls.el (gnutls-errorp): Declare before first use.
10295
8b492194
TZ
102962011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10297
10298 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10299 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 10300 default trustfile exists before going to use it. Add missing
5a5fa834 10301 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
10302 Reported by Claudio Bley <claudio.bley@gmail.com>.
10303 (open-gnutls-stream): Add usage example.
10304
10305 * net/network-stream.el (network-stream-open-starttls): Give host
10306 parameter to `gnutls-negotiate'.
10307 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 10308 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 10309
841a1577 103102011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 10311
cd22b309
JB
10312 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10313 Use correct match group (bug#8438).
05842630 10314
3ba7869c
CY
103152011-04-24 Chong Yidong <cyd@stupidchicken.com>
10316
512e3ae1
CY
10317 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10318 (package-menu--generate): New arg specifying packages to show.
10319 (package-menu-refresh, package-menu-execute, list-packages):
10320 Callers changed.
10321 (package-show-package-list): New function, replacing deleted
10322 package--list-packages (renamed because it is non-internal).
10323
10324 * finder.el (finder-list-matches): Use package-show-package-list
10325 instead of deleted package--list-packages.
10326
e92f3bd3
SM
10327 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10328 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
10329 (vc-annotate-mode-map): Bind it to RET.
10330
7031be6d
UR
103312011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10332
10333 * progmodes/etags.el (next-file): Don't use set-buffer to change
10334 buffers (Bug#8478).
10335
4ef177aa
CY
103362011-04-24 Chong Yidong <cyd@stupidchicken.com>
10337
c8d173eb
CY
10338 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10339
4ef177aa
CY
10340 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10341 (apropos-accumulator): Doc fix.
10342 (apropos-function, apropos-macro, apropos-command)
10343 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10344 (apropos-plist): Add face property.
10345 (apropos-symbols-internal): Fix indentation.
10346 (apropos-print): Simplify help, and recognize apropos-multi-type.
10347 (apropos-print-doc): Use button-type-get to extract the button's
10348 face property. Fill docstring (Bug#8352).
10349
4ffd0d6b 103502011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
10351
10352 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10353
c6c32125 10354 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 10355 (mpuz-mode-map): Use mapc.
c6c32125
JB
10356 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10357 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10358 Fix typos in docstrings.
10359
58d468b4
JB
10360 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10361 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10362
6470c3c6
JB
10363 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10364
4ffd0d6b 103652011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
10366
10367 * minibuffer.el (completion--do-completion): Avoid the "Next char
10368 not unique" prompt if icomplete-mode is enabled (Bug#5849).
10369
3ad8bad0
CY
10370 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10371 mouse-2 into unread-command-events, it is interpreted correctly.
10372
71d73c9c 10373 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 10374 (image-toggle-display): Doc fix.
71d73c9c 10375
841a1577 103762011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 10377
4ffd0d6b
GM
10378 * textmodes/page.el (what-page): Use line-number-at-pos to
10379 calculate line number (Bug#6825).
6e1dbaa9 10380
c2fb1b60
JB
103812011-04-22 Juanma Barranquero <lekktu@gmail.com>
10382
10383 * eshell/esh-mode.el (find-tag-interactive): Declare function.
10384 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10385 Pass argument NO-DEFAULT to `find-tag-interactive'.
10386
e02f48d7
JB
103872011-04-22 Juanma Barranquero <lekktu@gmail.com>
10388
10389 Lexical-binding cleanup.
10390
10391 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10392 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10393 * progmodes/ada-prj.el (ada-prj-initialize-values)
10394 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10395 (ada-prj-show-value):
10396 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10397 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10398 (antlr-invalidate-context-cache, antlr-options-menu-filter)
10399 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10400 * progmodes/bug-reference.el (bug-reference-push-button):
10401 * progmodes/fortran.el (fortran-line-length):
10402 * progmodes/glasses.el (glasses-change):
10403 * progmodes/octave-mod.el (octave-fill-paragraph):
10404 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10405 (python-pdbtrack-grub-for-buffer, python-sentinel):
10406 * progmodes/sql.el (sql-save-connection):
10407 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10408 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10409 Mark unused parameters.
10410
10411 * progmodes/compile.el (compilation--flush-directory-cache)
10412 (compilation--flush-parse, compile-internal): Mark unused parameters.
10413 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10414 (compilation-next-error-function): Remove unused variable `timestamp'.
10415
10416 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10417 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10418
10419 * progmodes/dcl-mode.el (dcl-end-of-command):
10420 Remove unused variable `start'.
10421 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10422 (dcl-option-value-basic, dcl-option-value-offset)
10423 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10424 Mark unused parameters.
10425 (dcl-save-local-variable): Remove unused variable `val'.
10426 (mode): Declare.
10427
10428 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10429 Mark unused parameters.
10430 (delphi-ignore-changes): Move before first use.
10431 (delphi-charset-token-at): Remove unused variable `start'.
10432 (delphi-else-start): Remove unused variable `if-count'.
10433 (delphi-comment-block-start, delphi-comment-block-end):
10434 Remove unused variable `kind'.
10435 (delphi-indent-line): Remove unused variable `new-point'.
10436
10437 * progmodes/ebrowse.el (ebrowse-files-list)
10438 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10439 Mark unused parameters. Don't quote `lambda'.
10440 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10441 Don't quote `lambda'.
10442 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10443 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10444 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10445 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10446 Use `ignore-errors'.
10447 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10448 (ebrowse-view/find-file-and-search-pattern)
10449 (ebrowse-view/find-member-declaration/definition):
10450 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10451 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10452 Rename parameter PREFIX-ARG to PREFIX.
10453 (ebrowse-tags-read-name): Remove unused variables `start' and
10454 `member-info'.
10455 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10456 to `tags-file'.
10457
10458 * progmodes/etags.el (local-find-tag-hook): Declare.
10459 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10460 Mark unused parameters.
10461
10462 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10463 (executable-interpret): Mark unused parameter.
10464
10465 * progmodes/flymake.el (flymake-process-sentinel)
10466 (flymake-after-change-function)
10467 (flymake-create-temp-with-folder-structure)
10468 (flymake-get-include-dirs-dot): Mark unused parameters.
10469 (flymake-safe-delete-directory): Remove unused variable `err'.
10470
10471 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10472 (speedbar-timer-fn, speedbar-line-text)
10473 (speedbar-change-expand-button-char, speedbar-delete-subblock)
10474 (speedbar-center-buffer-smartly): Declare functions.
10475 (gdb-find-watch-expression): Remove unused variable `array'.
10476 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10477 (gdb-starting): Mark unused parameters.
10478 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10479 (gdb-table-string): Remove unused variable `res'.
10480 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10481 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10482 (gdb-display-buffer): Remove unused variable `cur-size'.
10483
10484 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10485 allow lexical-binding compilation.
10486 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10487 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10488 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10489 Mark unused parameters.
10490 (gud-gdb-marker-filter): Remove unused variable `match'.
10491 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10492 lambda expressions and funcall them, instead of using `fset'.
10493
10494 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10495 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10496
10497 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10498 variable `header-beg'; use `let'.
10499
10500 * progmodes/icon.el (indent-icon-exp): Remove unused variables
10501 `restart', `last-sexp' and `at-do'.
10502
10503 * progmodes/js.el (js--debug): Mark unused parameter.
10504 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10505 (js--splice-into-items): Remove unused variable `item'.
10506 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10507
10508 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10509 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10510 (makefile-complete): Remove unused variable `try'.
10511 (makefile-fill-paragraph, makefile-match-function-end):
10512 Mark unused parameters.
10513
10514 * progmodes/octave-inf.el (inferior-octave-complete):
10515 Remove unused variable `proc'.
10516 (inferior-octave-output-digest): Mark unused parameter.
10517
10518 * progmodes/perl-mode.el (perl-calculate-indent):
10519 Remove unused variable `err'.
10520
10521 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10522 (prolog-indent-line): Mark unused parameters.
10523 (prolog-indent-line): Remove unused variable `beg'.
10524
10525 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10526 (reporter-dont-compact-list): Declare.
10527
10528 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10529 Remove unused variable `char'.
10530 (sh-debug): Mark unused parameter.
10531 (sh-get-indent-info): Remove unused variable `start'.
10532 (sh-calculate-indent): Remove unused variable `var'.
10533
10534 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10535 (simula-electric-keyword): Remove unused variable `null'.
10536 (simula-search-backward, simula-search-forward): Remove unused
10537 variables `begin' and `end'.
10538
10539 * progmodes/vera-mode.el (vera-guess-basic-syntax):
10540 Remove unused variable `pos'.
10541 (vera-electric-tab, vera-comment-uncomment-region):
10542 Mark unused parameters.
10543 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10544
7ede3b65
CY
105452011-04-22 Chong Yidong <cyd@stupidchicken.com>
10546
10547 * emacs-lisp/package.el (package--builtins, package-alist)
10548 (package-load-descriptor, package-built-in-p, package-activate)
10549 (define-package, package-installed-p)
10550 (package-compute-transaction, package-buffer-info)
10551 (package--push): Doc fix. Distinguish more clearly between
10552 version strings and version lists.
10553
121656e9
JB
105542011-04-21 Juanma Barranquero <lekktu@gmail.com>
10555
10556 Lexical-binding cleanup.
10557
10558 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10559 (5x5-make-mutate-best):
10560 * play/fortune.el (fortune-in-buffer):
10561 * play/gomoku.el (gomoku-init-display):
10562 * play/solitaire.el (solitaire, solitaire-do-check):
10563 * play/tetris.el (tetris-default-update-speed-function):
10564 Mark unused parameters.
10565
10566 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10567 (bubbles--shift): Remove unused variable `char-org'.
10568 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
10569 (bubbles--show-images): Remove unused variable `char'.
10570
10571 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10572 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10573 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10574 (decipher-analyze-buffer): Use ?\s.
10575 (decipher-make-checkpoint): Remove unused variable `mapping'.
10576
10577 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10578
10579 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10580 Remove unused variable `result'; use `let'.
10581
10582 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10583 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10584 (gametree-children-shown-p, gametree-compute-reduced-score):
10585 Use `ignore-errors'.
10586
10587 * play/handwrite.el (ps-lpr-switches): Declare.
10588 (handwrite): Remove unused variables `pmin' and `lastp'.
10589
10590 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10591
10592 * play/landmark.el (landmark-init-display)
10593 (landmark-update-naught-weights): Mark unused parameters.
10594 (landmark-y): Remove unused variable `noise'. Simplify.
10595 (landmark-human-plays): Remove unused variable `score'.
10596
10597 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10598 (mpuz-try-proposal): Remove unused variable `game'.
10599
10600 * play/zone.el (life-patterns): Declare.
10601
80f499c7
JB
106022011-04-20 Juanma Barranquero <lekktu@gmail.com>
10603
10604 * vc/vc.el (ediff-vc-internal): Declare function.
10605
024ff170
SM
106062011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10607
c0a193ea
SM
10608 * shell.el: Use lexical-binding and std completion UI.
10609 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10610 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10611 comint-preoutput-filter-functions rather than on
10612 comint-output-filter-functions.
10613 (shell-command-completion, shell--command-completion-data)
10614 (shell-filename-completion, shell-environment-variable-completion)
10615 (shell-c-a-p-replace-by-expanded-directory): New functions.
10616 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10617 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10618 (shell-dynamic-complete-environment-variable): Use them.
10619 (shell-dynamic-complete-as-environment-variable)
10620 (shell-dynamic-complete-as-command): Remove.
10621 (shell-match-partial-variable): Match past point.
10622 * comint.el: Clean up use of completion-at-point-functions.
10623 (comint-completion-at-point): New function.
10624 (comint-mode): Use it completion-at-point-functions.
10625 (comint-dynamic-complete): Make it obsolete.
10626 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10627 (comint-c-a-p-replace-by-expanded-history): New function.
10628 (comint-dynamic-complete-functions)
10629 (comint-replace-by-expanded-history): Use it.
10630 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10631 termination strings. Try harder to avoid second try-completion.
10632 (completion-in-region-mode-map): Disable bindings that don't work yet.
10633
2dbaa080
SM
10634 * comint.el: Use lexical-binding. Require CL.
10635 (comint-dynamic-complete-functions): Use comint-filename-completion.
10636 (comint-completion-addsuffix): Tweak custom type.
10637 (comint-filename-completion, comint--common-suffix)
10638 (comint--common-quoted-suffix, comint--table-subvert)
10639 (comint--complete-file-name-data): New functions.
10640 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10641 (comint-dynamic-list-filename-completions): Use them.
10642 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 10643
2dbaa080
SM
10644 * minibuffer.el (completion-in-region-mode):
10645 Keep completion-in-region-mode--predicate global.
10646 (completion-in-region--postch):
10647 Assume completion-in-region-mode--predicate is not null.
10648
c79a6f38
SM
10649 * progmodes/flymake.el (flymake-start-syntax-check-process):
10650 Obey `dir'. Simplify.
10651
024ff170
SM
10652 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10653 we're in VC after all.
10654
1c6c854e
CS
106552011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10656
10657 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 10658 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
10659 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10660
bed7f140
SM
106612011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10662
332e62ab
SM
10663 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10664 add sanity check.
10665
bed7f140
SM
10666 * obsolete/erc-hecomplete.el: Make obsolete.
10667 * obsolete/: Standardize obsolescence info in the header.
10668
f195c582
GM
106692011-04-20 Glenn Morris <rgm@gnu.org>
10670
10671 * calendar/solar.el (solar-horizontal-coordinates):
10672 Use the longitude argument rather than `calendar-longitude'.
10673 (solar-date-next-longitude): Remove unused locals.
10674
cb79b8c0
VJL
106752011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10676
10677 * whitespace.el: New version 13.2.1.
10678
106792011-04-20 felix <EmacsWiki> (tiny change)
10680
d8e4b68b 10681 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
10682 switching between major modes on a file.
10683
602ea69d
SM
106842011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10685
10686 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10687 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10688 multi-line comments as well.
10689
06b60517
JB
106902011-04-19 Juanma Barranquero <lekktu@gmail.com>
10691
10692 Lexical-binding cleanup.
10693
10694 * arc-mode.el (archive-mode-revert):
10695 * cmuscheme.el (scheme-interactively-start-process):
10696 * custom.el (custom-initialize-delay):
10697 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10698 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10699 * emacs-lock.el (emacs-lock-clear-sentinel):
10700 * ezimage.el (defezimage):
10701 * follow.el (follow-avoid-tail-recenter):
10702 * fringe.el (set-fringe-mode-1):
10703 * generic-x.el (bat-generic-mode-compile):
10704 * help-mode.el (help-info-variable, help-do-xref)
10705 (help-mode-revert-buffer):
10706 * help.el (view-emacs-todo):
10707 * iswitchb.el (iswitchb-completion-help):
10708 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10709 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10710 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10711 * locate.el (locate-update):
10712 * longlines.el (longlines-encode-region)
10713 (longlines-after-change-function):
10714 * outline.el (outline-isearch-open-invisible):
10715 * ps-def.el (declare-function, charset-dimension, char-width)
10716 (encode-char):
10717 * ps-mule.el (ps-mule-plot-string):
10718 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10719 (recentf-edit-list-select, recentf-edit-list-validate)
10720 (recentf-open-files-action):
10721 * rect.el (delete-whitespace-rectangle-line)
10722 (rectangle-number-line-callback):
10723 * register.el (window-configuration-to-register)
10724 (frame-configuration-to-register):
10725 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10726 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10727 (xselect-convert-to-targets, xselect-convert-to-delete)
10728 (xselect-convert-to-filename, xselect-convert-to-charpos)
10729 (xselect-convert-to-lineno, xselect-convert-to-colno)
10730 (xselect-convert-to-os, xselect-convert-to-host)
10731 (xselect-convert-to-user, xselect-convert-to-class)
10732 (xselect-convert-to-name, xselect-convert-to-integer)
10733 (xselect-convert-to-atom, xselect-convert-to-identity):
10734 * subr.el (declare, ignore, process-kill-without-query)
10735 (text-clone-maintain):
10736 * terminal.el (te-get-char, te-tic-sentinel):
10737 * tool-bar.el (tool-bar-make-keymap):
10738 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10739 * type-break.el (type-break-mode, type-break-noninteractive-query):
10740 * view.el (View-back-to-mark):
10741 * wid-browse.el (widget-browse-action, widget-browse-widget)
10742 (widget-browse-widgets, widget-browse-sexp):
10743 * widget.el (define-widget-keywords):
10744 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10745 Mark unused parameters.
10746
10747 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10748 (align-areas): Remove unused variable `look'.
10749 (align-region): Remove unused variables `real-end' and `pos-list'.
10750
10751 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10752
10753 * bindings.el (mode-line-modified, mode-line-remote):
10754 Mark unused parameters.
10755 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10756
10757 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10758 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10759
10760 * comint.el (comint-history-isearch-pop-state)
10761 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10762 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10763 (comint-substitute-in-file-name): Doc fix.
10764
10765 * completion.el (cmpl-statistics-block): Mark unused parameter.
10766 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10767 (save-completions-to-file, load-completions-from-file):
10768 Remove unused local variable `e'.
10769
10770 * composite.el (compose-chars): Remove unused variable `len'.
10771 (lgstring-insert-glyph): Remove unused variable `g'.
10772 (compose-glyph-string): Remove unused variables `ascent',
10773 `descent', `lbearing' and `rbearing'.
10774 (compose-glyph-string-relative): Remove unused variables
10775 `lbearing', `rbearing' and `wadjust'.
10776 (compose-gstring-for-graphic): Remove unused variables `header',
10777 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10778 (compose-gstring-for-terminal): Remove unused variables `header'
10779 and `nchars'. Use `let', not `let*'.
10780
10781 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10782 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10783 (Custom-buffer-done, custom-buffer-create-internal)
10784 (custom-browse-visibility-action, custom-browse-group-tag-action)
10785 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10786 (widget-magic-mouse-down-action, custom-toggle-parent)
10787 (custom-add-parent-links, custom-toggle-hide-variable)
10788 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10789 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10790 (custom-face-menu-create, custom-variable-menu-create, get)
10791 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10792 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10793 (customize-apropos): Remove unused variable `tests'.
10794 (custom-group-value-create): Remove unused variable `hidden-p'.
10795 (sort-fold-case): Declare.
10796
10797 * cus-theme.el (custom-reset-standard-faces-list)
10798 (custom-reset-standard-variables-list): Declare.
10799 (customize-create-theme, custom-theme-revert, custom-theme-write)
10800 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10801 Mark unused parameters.
10802
10803 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10804
10805 * delim-col.el (delimit-columns-max): Move defvar before first use.
10806
10807 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 10808 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
10809
10810 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10811 (auto-insert): Declare.
10812 (desktop-restore-file-buffer): Rename desktop-* parameters;
10813 mark unused ones.
10814 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10815 (desktop-buffer): Rename desktop-* parameters.
10816
10817 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10818 (dframe-reposition-frame-xemacs, dframe-help-echo)
10819 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10820 Mark unused parameters.
10821
10822 * dired-aux.el (backup-extract-version-start, overwrite-query)
10823 (overwrite-backup-query, rename-regexp-query)
10824 (rename-non-directory-query): Declare.
10825 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10826 (dired-add-entry): Remove unused variable `orig-file-name'.
10827 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10828 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10829 `dired-copy-preserve-time' directly.
10830 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10831 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10832
10833 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10834 (dired-virtual-revert, dired-make-relative-symlink):
10835 Mark unused parameters.
10836 (manual-program): Declare.
10837 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10838 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10839 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10840
10841 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10842
10843 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10844
10845 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10846 Declare.
10847
10848 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10849
10850 * electric.el (Electric-command-loop): Rename parameter
10851 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10852
10853 * expand.el (expand-in-literal): Remove unused variable `here'.
10854
10855 * facemenu.el (facemenu-add-new-color):
10856 Remove unused variable `docstring'.
10857
10858 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10859 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10860 (face-attr-construct): Mark unused parameter. Doc fix.
10861 (read-color): Remove unused variable `hex-string'.
10862
10863 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10864 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10865 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10866 (display-buffer-other-frame): Remove unused variable `old-window'.
10867 (kill-buffer-hook): Declare.
10868 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10869 Mark unused parameters.
10870 (after-find-file): Pass 1 to `auto-save-mode', not t.
10871
10872 * files-x.el (auto-insert): Declare.
10873 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10874
10875 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 10876 variable `buf'. Mark unused parameter.
06b60517
JB
10877 (find-lisp-insert-directory): Mark unused parameter.
10878
10879 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10880 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10881 (format-common-tail): Remove, unused.
10882 (format-deannotate-region): Remove unused variable `loc'.
10883 (format-annotate-region): Remove unused variable `p'.
10884 (format-annotate-single-property-change): Remove unused variables
10885 `default' and `tail'.
10886
10887 * forms.el (read-file-filter): Declare.
10888 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10889
10890 * frame.el (frame-creation-function-alist): Mark unused parameter.
10891 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10892
10893 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10894 Remove unused parameters.
10895 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10896 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10897
10898 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10899 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10900 (hfy-prepare-tag-map): Mark unused parameters.
10901 (htmlfontify-buffer): Use `called-interactively-p'.
10902
10903 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10904 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10905 (ibuffer-do-occur): Mark unused parameters.
10906 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10907 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10908
10909 * ibuffer.el: Don't quote `lambda'.
10910 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10911 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10912 Mark unused parameters.
10913
10914 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10915 (ido-completing-read): Mark unused parameters.
10916 (ido-copy-current-word): Mark unused parameters;
10917 remove unused variable `name'.
10918 (ido-sort-merged-list): Remove unused parameter `dirs'.
10919
10920 * ielm.el (ielm-input-sender): Mark unused parameter.
10921 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10922 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10923 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10924 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10925 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10926
10927 * image-dired.el (image-dired-display-thumbs): Remove unused
10928 variables `curr-file' and `count'.
10929 (image-dired-remove-tag): Remove unused variable `start'.
10930 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10931 variable `curr-file'
10932 (image-dired-rotate-original): Remove unused variable `temp-file'.
10933 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10934 Remove unused variable `file'.
10935 (image-dired-gallery-generate): Remove unused variable `curr'.
10936 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10937
10938 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10939
10940 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10941
10942 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10943
10944 * isearch.el (minibuffer-history-symbol): Declare.
10945 (isearch-edit-string): Remove unused variable `err'.
10946 (isearch-message-prefix, isearch-message-suffix):
10947 Mark unused parameters.
10948
10949 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10950
10951 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10952
10953 * makesum.el (double-column): Remove unused variable `cnt'.
10954
10955 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10956 (ido-ignore-item-temp-list): Declare.
10957
10958 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10959 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10960 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10961 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10962 `mouse-col-delta'.
10963
10964 * mouse-sel.el (mouse-extend-internal):
10965 Remove unused variable `orig-window-frame'.
10966
10967 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10968 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10969 Move declarations before first use.
10970 (pcomplete-opt): Mark unused parameters; doc fix.
10971
10972 * proced.el (proced-revert): Mark unused parameter.
10973 (proced-send-signal): Remove unused variable `err'.
10974
10975 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10976 Rename parameter PREFIX-ARG to ARG.
10977 (ps-basic-plot-string, ps-basic-plot-whitespace):
10978 Mark unused parameters.
10979
10980 * replace.el (replace-count): Define.
10981 (occur-revert-function): Mark unused parameters.
10982 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10983 (isearch-case-fold-search, isearch-string): Declare.
10984 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10985 bind `case-fold-search'. Remove unused variables `beg' and `end',
10986 and simplify.
10987 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10988 COUNT and bind `replace-count'.
10989 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10990 to COUNT.
10991
10992 * savehist.el (print-readably, print-string-length): Declare.
10993
10994 * shadowfile.el (shadow-expand-cluster-in-file-name):
10995 Remove unused variable `cluster'.
10996 (shadow-copy-file): Remove unused variable `i'.
10997 (shadow-noquery, shadow-clusters, shadow-site-cluster)
10998 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10999 (shadow-define-literal-group, shadow-define-regexp-group)
11000 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11001
11002 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11003 (shell): Use `called-interactively-p'.
11004 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11005
11006 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11007 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11008 (delete-backward-char): Remove unused variable `ocol'.
11009 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11010 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11011 (event-apply-hyper-modifier, event-apply-shift-modifier)
11012 (event-apply-control-modifier, event-apply-meta-modifier):
11013 Mark unused parameters.
11014 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11015 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11016
11017 * speedbar.el (speedbar-ignored-directory-expressions)
11018 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11019 (speedbar-find-file, speedbar-dir-follow)
11020 (speedbar-directory-buttons-follow, speedbar-tag-find)
11021 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11022 (speedbar-buffers-line-directory, speedbar-buffer-click):
11023 Mark unused parameters.
11024 (speedbar-tag-file): Remove unused variable `mode'.
11025 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11026
11027 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11028
11029 * talk.el (talk): Remove unused variable `display'.
11030
11031 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11032 (tar-write-region-annotate): Mark unused parameter.
11033
11034 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11035 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11036 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11037 warning by another.
11038
11039 * time-stamp.el (time-stamp-string-preprocess):
11040 Remove unused variable `require-padding'.
11041
11042 * tree-widget.el (widget-glyph-enable): Declare.
11043 (tree-widget-action): Mark unused parameter.
11044
11045 * w32-fns.el (x-get-selection): Mark unused parameter.
11046 (autoload-make-program, generated-autoload-file): Declare.
11047
11048 * wdired.el (wdired-revert): Mark unused parameters.
11049 (wdired-xcase-word): Remove unused variable `err'.
11050
11051 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11052 (whitespace-help-scroll): Remove unused variable `data-help'.
11053
11054 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11055 (widget-image-insert, widget-after-change, default)
11056 (widget-default-format-handler, widget-default-notify)
11057 (widget-default-prompt-value, widget-info-link-action)
11058 (widget-url-link-action, widget-function-link-action)
11059 (widget-variable-link-action, widget-file-link-action)
11060 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11061 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11062 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11063 (widget-insert-button-action, widget-delete-button-action, visibility)
11064 (widget-documentation-link-action, widget-documentation-string-action)
11065 (widget-const-prompt-value, widget-regexp-match, symbol)
11066 (widget-coding-system-prompt-value)
11067 (widget-key-sequence-value-to-external, sexp)
11068 (widget-sexp-value-to-internal, character, vector, cons)
11069 (widget-choice-prompt-value, widget-boolean-prompt-value)
11070 (widget-color--choose-action): Mark unused parameters.
11071 (widget-item-match-inline, widget-choice-match-inline)
11072 (widget-checklist-match, widget-checklist-match-inline)
11073 (widget-group-match): Rename parameter VALUES to VALS.
11074 (widget-field-value-set): Remove unused variable `size'.
11075 (widget-color-action): Remove unused variables `value' and `start'.
11076
11077 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 11078 variable `dir'. Doc fix.
06b60517
JB
11079 (windmove-find-other-window): Don't pass it.
11080
11081 * window.el (count-windows): Mark unused parameter.
11082 (bw-adjust-window): Remove unused variable `err'.
11083
11084 * woman.el (woman-file-name): Remove unused variable `default'.
11085 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11086 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11087 (global-font-lock-mode): Declare.
11088 (woman-decode-region): Mark unused parameter.
11089 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11090
11091 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11092 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11093 (x-dnd-handle-moz-url): Remove unused variable `title'.
11094 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11095
11096 * xml.el (xml-parse-tag, xml-parse-attlist):
11097 Remove unused variable `pos'.
11098
bc4f7f3d
GM
110992011-04-19 Glenn Morris <rgm@gnu.org>
11100
11101 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11102 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11103 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11104 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11105 * calendar/cal-html.el (cal-html-insert-minical):
11106 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11107 (calendar-mark-date-pattern):
11108 Prefix "unused" locals.
11109
11110 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11111 optional argument `style'.
11112
11113 * calendar/appt.el (appt-make-list):
11114 * calendar/cal-china.el (calendar-chinese-date-string):
11115 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11116 (diary-hebrew-yahrzeit):
11117 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11118 * calendar/calendar.el (calendar-generate-window):
11119 * calendar/time-date.el (time-to-days):
11120 Remove unused local variables.
11121
16a43933
CY
111222011-04-18 Chong Yidong <cyd@stupidchicken.com>
11123
11124 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11125 glyphless-char-display table.
11126 (tabulated-list-glyphless-char-display): New var.
11127
7eed1860
SS
111282011-04-18 Sam Steingold <sds@gnu.org>
11129
11130 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11131 to acknowledgments.
11132
4d2d1ccd
GM
111332011-04-17 Glenn Morris <rgm@gnu.org>
11134
11135 * calendar/diary-lib.el (diary-sexp-entry):
11136 * calendar/holidays.el (holiday-sexp):
11137 Set debug-on-error rather than the removed stack-trace-on-error.
11138
239da61d
GM
111392011-04-16 Glenn Morris <rgm@gnu.org>
11140
11141 * progmodes/f90.el: Use lexical-binding.
11142 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11143
8b05752a
SM
111442011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11145
daca8ba5
SM
11146 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11147 (mail-mode): Setup mailalias completion here instead.
11148 * mail/mailalias.el: Use lexical-binding.
11149 (pattern, mailalias-done): Declare dynamic.
11150 (mail-completion-at-point-function): New function, from mail-complete.
11151 (mail-complete): Use it.
11152 (mail-completion-expand): New function.
11153 (mail-get-names): Use it.
11154 (mail-directory, mail-directory-process, mail-directory-stream):
11155 Don't use `pattern' for lexically bound arg.
11156
6f542485
SM
11157 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11158
037e7c3f
SM
11159 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11160 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11161 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11162
8b05752a
SM
11163 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11164 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11165 (byte-interactive-p): Define them again, for use when inlining
11166 old code.
11167
49093f60
JB
111682011-04-15 Juanma Barranquero <lekktu@gmail.com>
11169
11170 * loadup.el: Use `string-to-number', not `string-to-int'.
11171
b5b8e7de
SM
111722011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11173
11174 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11175 gud-gdb-complete-command.
11176 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11177 (gud-gdb-completion-at-point): New function.
11178 (gud-gdb-completions): Remove.
11179
f42efeb5
MA
111802011-04-14 Michael Albinus <michael.albinus@gmx.de>
11181
49093f60
JB
11182 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11183 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11184 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11185 whether `executable-find' is bound.
f42efeb5
MA
11186
11187 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11188
e240cc21
SM
111892011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11190
11191 * minibuffer.el (completion-in-region-mode-predicate)
11192 (completion-in-region-mode--predicate): New vars.
11193 (completion-in-region, completion-in-region--postch)
11194 (completion-in-region-mode): Use them.
11195 (completion--capf-wrapper): Also return the hook function.
11196 (completion-at-point, completion-help-at-point):
11197 Adjust and provide a predicate.
c2bd2ab0
SM
11198
11199 Preserve arg names for advice of subr and lexical functions (bug#8457).
11200 * help-fns.el (help-function-arglist): Consolidate the subr and
11201 new-byte-code cases. Add argument `preserve-names' to extract names
11202 from the docstring when needed.
11203 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11204 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11205 (ad-arglist): Use help-function-arglist's new arg.
11206 (ad-definition-type): Use cond.
11207
c183f693
JB
112082011-04-13 Juanma Barranquero <lekktu@gmail.com>
11209
06641a47
JB
11210 * autorevert.el (auto-revert-handler):
11211 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11212 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11213 Don't quote lambda.
11214
c183f693
JB
11215 * image-mode.el (image-transform-set-scale):
11216 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11217
1e3b6001
G
112182011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11219
11220 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 11221 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
11222 Upgrades via gnutls-cli are too slow to be done opportunistically.
11223
2d6af8dd
JB
112242011-04-12 Juanma Barranquero <lekktu@gmail.com>
11225
11226 * dframe.el (dframe-current-frame): Remove spurious quote.
11227
c0749a51
GM
112282011-04-12 Glenn Morris <rgm@gnu.org>
11229
088d0d61
GM
11230 * calendar/cal-tex.el (cal-tex-end-document):
11231 Try to automatically use latin1 input if needed.
11232
c0749a51
GM
11233 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11234 Don't try to cons a mark onto an empty element.
11235
5c90fde0
LL
112362011-04-11 Leo Liu <sdl.web@gmail.com>
11237
11238 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11239 buffers.
11240 (ido-kill-buffer-at-head): Support killing virtual buffers.
11241
369e974d
CY
112422011-04-10 Chong Yidong <cyd@stupidchicken.com>
11243
11244 * minibuffer.el (completion-show-inline-help): New var.
11245 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
11246 (minibuffer-force-complete, minibuffer-complete-word):
11247 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
11248
11249 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11250 to avoid interference from inline help (Bug#5849).
11251
37f1c930
LL
112522011-04-10 Leo Liu <sdl.web@gmail.com>
11253
099c39a4
JB
11254 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11255 Fix typo.
37f1c930 11256
a32d4040
CY
112572011-04-09 Chong Yidong <cyd@stupidchicken.com>
11258
11259 * image-mode.el (image-toggle-display-image): Signal an error if
11260 not in Image mode.
11261 (image-transform-mode, image-transform-resize)
11262 (image-transform-set-rotation): Doc fix.
daca8ba5 11263 (image-transform-set-resize): Delete.
a32d4040
CY
11264 (image-transform-set-scale, image-transform-fit-to-height)
11265 (image-transform-fit-to-width): Handle image-toggle-display-image
11266 and image-transform-resize directly.
11267
099c39a4 112682011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
11269
11270 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
11271 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11272 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
11273 (doc-view-mode-map): Add bindings for the new functions.
11274
099c39a4 112752011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 11276
4d61f28d 11277 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
11278 Fix typo in docstring.
11279
3726838a
EZ
112802011-04-08 Eli Zaretskii <eliz@gnu.org>
11281
04f33f1e
EZ
11282 * files.el (file-size-human-readable): Produce one digit after
11283 decimal, like "ls -lh" does.
11284
11285 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11286 the file size representation.
11287
3726838a
EZ
11288 * simple.el (list-processes): If async subprocesses are not
11289 available, error out with a clear error message.
11290
cbb59342
CY
112912011-04-08 Chong Yidong <cyd@stupidchicken.com>
11292
11293 * help.el (help-form-show): New function, to be called from C.
11294 Put help-form output in a buffer named differently than *Help*.
11295
e3971c44
EZ
112962011-04-08 Eli Zaretskii <eliz@gnu.org>
11297
11298 * files.el (file-size-human-readable): New function.
11299
11300 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11301 computing the representation inline. Don't require `cl'.
11302
12544bbe
GM
113032011-04-08 Glenn Morris <rgm@gnu.org>
11304
a1de6c6a
GM
11305 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11306
3c4671f4
GM
11307 * net/browse-url.el (browse-url-firefox):
11308 Test system-type, not system-configuration.
11309
b605679c
GM
11310 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11311 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11312 Use log-edit-empty-buffer-p. (Bug#7598)
11313
56442f0c
GM
11314 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11315 (rlogin-mode-map): Initialize in the defvar.
11316 (rlogin): Use ignore-errors.
11317
12544bbe
GM
11318 * replace.el (occur-mode-map): Some fixes for menu items.
11319
eb237b0f
AH
113202011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11321
11322 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
11323
7d668f2c
CY
113242011-04-06 Chong Yidong <cyd@stupidchicken.com>
11325
e67a13ab
CY
11326 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11327 issuing unused warnings.
11328
11329 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11330 macro directly.
11331
7d668f2c
CY
11332 * simple.el: Lisp reimplement of list-processes. Based on an
11333 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11334 (process-menu-mode): New major mode.
11335 (list-processes--refresh, list-processes):
11336 (process-menu-visit-buffer): New functions.
11337
11338 * files.el (save-buffers-kill-emacs): Don't assume any return
11339 value of list-processes, which is undocumented anyway.
11340
a83ec3c9
CY
113412011-04-06 Chong Yidong <cyd@stupidchicken.com>
11342
11343 * emacs-lisp/tabulated-list.el: New file.
11344
e91a96fe
CY
11345 * emacs-lisp/package.el: Use Tabulated List mode.
11346 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11347 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11348 table format using Tabulated List mode variables.
11349 (package--push): New macro, replacing package-list-maybe-add.
11350 (package-menu--generate): Use package--push. Renamed from
11351 package--generate-package-list.
11352 (package-menu-refresh, list-packages): Use it.
daca8ba5 11353 (package-menu--print-info): Rename from package-print-package.
e91a96fe 11354 Return insertion data instead of inserting it directly.
099c39a4
JB
11355 (package-menu-describe-package, package-menu-execute):
11356 Use tabulated-list-get-id.
e91a96fe
CY
11357 (package-menu-mark-delete, package-menu-mark-install)
11358 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
11359 (package-menu-mark-obsolete-for-deletion):
11360 Use tabulated-list-put-tag.
e91a96fe
CY
11361 (package--list-packages, package-menu-revert)
11362 (package-menu-get-package, package-menu-get-version)
11363 (package-menu-sort-by-column): Functions deleted.
11364 (package-menu-package-list, package-menu-sort-key): Vars deleted.
11365 (package-menu--status-predicate, package-menu--version-predicate)
11366 (package-menu--name-predicate)
11367 (package-menu--description-predicate): Handle arguments in the
11368 Tabulated List format.
11369 (package-list-packages-no-fetch): Call list-packages.
11370
3e214b50
JB
113712011-04-06 Juanma Barranquero <lekktu@gmail.com>
11372
11373 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 11374 (after-find-file): Don't bind it.
3e214b50
JB
11375 (revert-buffer-in-progress-p): New variable.
11376 (revert-buffer): Bind it.
11377 Pass nil for `after-find-file-from-revert-buffer'.
11378
11379 * saveplace.el (save-place-find-file-hook): Use new variable
11380 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11381
3f0f1700
GM
113822011-04-06 Glenn Morris <rgm@gnu.org>
11383
c0274801
GM
11384 * Makefile.in (AUTOGEN_VCS): New variable.
11385 (autoloads): Use $AUTOGEN_VCS.
11386
3f0f1700
GM
11387 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11388 * calendar/calendar.el (calendar-mode-map):
11389 Check for toolkit scroll bars. (Bug#8305)
11390
41ea9e48
CY
113912011-04-05 Chong Yidong <cyd@stupidchicken.com>
11392
11393 * minibuffer.el (completion-in-region--postch)
11394 (completion-in-region-mode): Remove unnecessary messages.
11395
6194c800
JB
113962011-04-05 Juanma Barranquero <lekktu@gmail.com>
11397
33256f14
JB
11398 * font-lock.el (font-lock-refresh-defaults):
11399 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11400 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11401
6194c800
JB
11402 * info.el (Info-directory-list, Info-read-node-name-2)
11403 (Info-split-parameter-string): Doc fixes.
11404 (Info-virtual-nodes): Reflow docstring.
11405 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11406 (Info-apropos-toc-nodes, info-finder, Info-get-token)
11407 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11408 Fix typos in docstrings.
11409 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11410 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11411 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11412 (Info-restore-desktop-buffer): Mark unused parameters.
11413 (Info-directory-find-file, Info-directory-find-node)
11414 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11415 (Info-virtual-index-find-node, Info-apropos-find-file)
11416 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 11417 Mark unused parameters; fix typos in docstrings.
6194c800
JB
11418 (Info-virtual-index): Remove unused local variable `nodename'.
11419
b87a8200 114202011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 11421
b87a8200
DD
11422 * net/rcirc.el: Update my e-mail address.
11423 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 11424
3b2ff876
CY
114252011-04-05 Chong Yidong <cyd@stupidchicken.com>
11426
11427 * startup.el (command-line): Save the cursor's theme-face
11428 directly, instead of using face-override-spec.
11429
11430 * custom.el (load-theme): Minor optimization in assigning faces.
11431
8d17e7ca
JB
114322011-04-04 Juanma Barranquero <lekktu@gmail.com>
11433
11434 * help-fns.el (describe-variable): Complete all variables having
11435 documentation, including keywords.
11436 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11437
2fbc1934
JB
114382011-04-04 Juanma Barranquero <lekktu@gmail.com>
11439
11440 Convert to lexical-binding.
11441
11442 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11443 (bs--get-marked-string, bs--get-modified-string)
11444 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11445 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11446 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11447
11448 * ehelp.el (electric-help-execute-extended)
11449 (electric-help-ctrl-x-prefix):
11450 * hexl.el (hexl-revert-buffer-function):
11451 * linum.el (linum-after-change, linum-after-scroll):
11452 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11453
11454 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11455
74f50695
DU
114562011-04-04 Daiki Ueno <ueno@unixuser.org>
11457
11458 * epa-dired.el:
11459 * epa-mail.el:
11460 * epa-hook.el:
11461 * epa-file.el:
11462 * epa.el:
11463 * epg.el: Use lexical binding.
11464
c11325f7
CY
114652011-04-03 Chong Yidong <cyd@stupidchicken.com>
11466
0d9e9a12
CY
11467 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11468
c11325f7 11469 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
11470 dictionary case for flyspell-mark-duplications-exceptions.
11471 Use regexp matching for languages.
c11325f7
CY
11472 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11473 default dictionary (Bug#7926).
11474
da91b5f2
CY
114752011-04-02 Chong Yidong <cyd@stupidchicken.com>
11476
099c39a4
JB
11477 * emacs-lisp/package.el (package--with-work-buffer):
11478 Recognize https URLs.
da91b5f2 11479
099c39a4
JB
11480 * net/network-stream.el: Move from gnus/proto-stream.el.
11481 Change prefix to network-stream throughout.
da91b5f2
CY
11482 (open-protocol-stream): Merge into open-network-stream, leaving
11483 open-protocol-stream as an alias. Handle nil BUFFER args.
11484
11485 * subr.el (open-network-stream): Move to net/network-stream.el.
11486
afa8e9f6
GM
114872011-04-02 Glenn Morris <rgm@gnu.org>
11488
1d2e369d
GM
11489 * find-dired.el (find-exec-terminator): New option.
11490 (find-ls-option): Test for -ls support.
11491 (find-ls-subdir-switches): Test for -b in find-ls-option.
11492 (find-dired, find-grep-dired): Doc fixes.
11493 (find-dired): Use find-exec-terminator.
11494
8abb7da8 11495 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
11496 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11497 (find-name-arg): Remove purecopy.
8abb7da8 11498
f3ca7378
GM
11499 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11500 (grep-compute-defaults): Check for `-exec COMMAND +' support.
11501 Set grep-find-use-xargs, grep-find-command, and grep-find-template
11502 accordingly. Don't add the null-device if not needed.
11503
afa8e9f6
GM
11504 * files.el (save-some-buffers): Doc fix.
11505
35eae264
EZ
115062011-04-02 Eli Zaretskii <eliz@gnu.org>
11507
11508 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11509
26b51db5
JB
115102011-04-01 Juanma Barranquero <lekktu@gmail.com>
11511
11512 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11513 Use `dolist' rather than `mapcar'.
11514
7200d79c
SM
115152011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11516
03408648 11517 Add lexical binding.
7200d79c 11518
03408648
SM
11519 * subr.el (apply-partially): Use new closures rather than CL.
11520 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11521 (dolist, dotimes): Use slightly different expansion for lexical code.
11522 (functionp): Move to C.
11523 (letrec): New macro.
11524 (with-wrapper-hook): Use it and apply-partially instead of CL.
11525 (eval-after-load): Preserve lexical-binding.
11526 (save-window-excursion, with-output-to-temp-buffer): Turn them
11527 into macros.
7200d79c 11528
03408648
SM
11529 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11530
11531 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11532 than the arglist.
11533 (help-add-fundoc-usage): Don't add `Not documented'.
11534 (help-function-arglist): Handle closures, subroutines, and new
11535 byte-code-functions.
11536 (help-make-usage): Remove leading underscores.
11537 (describe-function-1): Handle closures.
11538 (describe-variable): Use special-variable-p for completion.
11539
11540 * files.el (lexical-binding): Declare safe.
f488fb65 11541
03408648
SM
11542 * emacs-lisp/pcase.el: Don't use destructuring-bind.
11543 (pcase--memoize): Rename from pcase-memoize. Change weakness.
11544 (pcase): Add `let' pattern.
11545 Change memoization so it actually works.
11546 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11547 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11548 <let>: New case.
f488fb65 11549
03408648
SM
11550 * emacs-lisp/macroexp.el: Use lexical binding.
11551 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
11552 Don't convert ' to #' without checking that it's indeed quoting
11553 a lambda.
11554
11555 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 11556 Use eval-sexp-add-defvars.
03408648
SM
11557 (eval-sexp-add-defvars): New fun.
11558
11559 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11560
11561 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11562 Don't autoload.
11563 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11564 than the internal `byte-compile-lambda'.
11565 (defmethod): Don't hide code under quotes.
11566 (eieio-defmethod): New `code' argument.
11567
11568 * emacs-lisp/eieio-comp.el: Remove.
11569
11570 * emacs-lisp/edebug.el (edebug-eval-defun)
11571 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11572 (edebug-toggle): Avoid `eval'.
11573
11574 * emacs-lisp/disass.el (disassemble-internal): Handle new
11575 `closure' objects.
11576 (disassemble-1): Handle new byte codes.
11577
11578 * emacs-lisp/cl.el (pushnew): Silence warning.
11579
11580 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11581 (cl-byte-compile-throw): Remove.
11582 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11583
11584 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11585 closures.
11586
11587 * emacs-lisp/cconv.el: New file.
11588
11589 * emacs-lisp/bytecomp.el: Use lexical binding instead of
11590 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
11591 (byte-compile-initial-macro-environment):
11592 Handle declare-function here.
11593 (byte-compile--lexical-environment): New var.
11594 (byte-stack-ref, byte-stack-set, byte-discardN)
11595 (byte-discardN-preserve-tos): New lap codes.
11596 (byte-interactive-p): Don't use any more.
11597 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11598 New macros.
11599 (byte-compile-lapcode): Use them and handle new lap codes.
11600 (byte-compile-obsolete): Remove.
11601 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11602 (byte-compile-arglist-warn): Check late def of inlinable funs.
11603 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11604 since they should have been expanded by now.
11605 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11606 (byte-compile-from-buffer): Remove unused second arg.
11607 (byte-compile-preprocess): New function.
11608 (byte-compile-toplevel-file-form): New function to distinguish
11609 file-form calls from outside from file-form calls from hunk-handlers.
11610 (byte-compile-file-form): Simplify.
11611 (byte-compile-file-form-defsubst): Remove.
11612 (byte-compile-file-form-defmumble): Simplify now that
11613 byte-compile-lambda always returns a byte-code-function.
11614 (byte-compile): Preprocess.
11615 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11616 Remove, not used any more.
11617 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11618 (byte-compile-make-args-desc): New funs.
11619 (byte-compile-lambda): Handle lexical functions. Always return
11620 a byte-code-function.
11621 (byte-compile-reserved-constants): New var, to make up room for
11622 closed-over variables.
11623 (byte-compile-constants-vector): Obey it.
11624 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11625 (byte-compile-macroexpand-declare-function): New function.
11626 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11627 byte-code-functions.
11628 (byte-compile-form): Check obsolescence here.
11629 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11630 (byte-compile-variable-ref): Remove.
11631 (byte-compile-dynamic-variable-op): New fun.
11632 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11633 (byte-compile-variable-set): New funs.
11634 (byte-compile-discard): Add 2 args.
11635 (byte-compile-stack-ref, byte-compile-stack-set)
11636 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11637 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11638 macroexpand-all instead.
11639 (byte-compile-quote-form): Remove.
11640 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11641 (byte-compile-bind, byte-compile-unbind): New funs.
11642 (byte-compile-let): Handle let* and lexical binding.
11643 (byte-compile-let*): Remove.
11644 (byte-compile-catch, byte-compile-unwind-protect)
11645 (byte-compile-track-mouse, byte-compile-condition-case):
11646 Handle a new :fun-body form, used for lexical scoping.
11647 (byte-compile-save-window-excursion)
11648 (byte-compile-with-output-to-temp-buffer): Remove.
11649 (byte-compile-defun): Simplify.
11650 (byte-compile-stack-adjustment): New fun.
11651 (byte-compile-out): Use it.
11652 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11653
11654 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11655 handler any more.
11656
11657 * emacs-lisp/byte-opt.el: Use lexical binding.
11658 (byte-inline-lapcode): Remove (to bytecomp).
11659 (byte-compile-inline-expand): Pay attention to inlining to/from
11660 lexically bound code.
11661 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11662 any more.
11663 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11664 any more and don't call compiler-macros.
11665 (byte-compile-splice-in-already-compiled-code): Remove.
11666 (byte-code): Don't inline any more.
11667 (disassemble-offset): Receive `bytes' as argument rather than via
11668 dynamic scoping.
11669 (byte-compile-tag-number): Declare before first use.
11670 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11671 `return' even if make-spliceable.
11672 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11673 obsolete interactive-p.
11674 (byte-optimize-lapcode): Optimize new lap-codes.
11675 Don't trip up on new form of `byte-constant' lap code.
11676
11677 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11678
11679 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11680
11681 * custom.el (custom-initialize-default, custom-declare-variable):
11682 Use `defvar'.
11683
11684 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11685 New variables.
11686 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11687 (COMPILE_FIRST): Add macroexp and cconv.
11688 * makefile.w32-in: Mirror changes in Makefile.in.
11689
11690 * vc/cvs-status.el:
11691 * vc/diff-mode.el:
11692 * vc/log-edit.el:
11693 * vc/log-view.el:
11694 * vc/smerge-mode.el:
11695 * textmodes/bibtex-style.el:
11696 * textmodes/css.el:
11697 * startup.el:
11698 * uniquify.el:
da91b5f2
CY
11699 * minibuffer.el:
11700 * newcomment.el:
11701 * reveal.el:
11702 * server.el:
11703 * mpc.el:
11704 * emacs-lisp/smie.el:
11705 * doc-view.el:
11706 * dired.el:
03408648
SM
11707 * abbrev.el: Use lexical binding.
11708
0f0c1f27
EZ
117092011-04-01 Eli Zaretskii <eliz@gnu.org>
11710
11711 * info.el (info-display-manual): New function.
11712
c82b2579
SM
117132011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11714
11715 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11716
221ddf68
TH
117172011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11718
11719 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 11720 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 11721
cba6e77e
GM
117222011-03-31 Glenn Morris <rgm@gnu.org>
11723
e040639f
GM
11724 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11725
cba6e77e
GM
11726 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11727
6d0f1c9e
CS
117282011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11729
11730 * progmodes/python.el (python-default-interpreter)
11731 (python-python-command-args, python-jython-command-args)
11732 (python-which-shell, python-which-args, python-which-bufname)
11733 (python-file-queue, python-comint-output-filter-function)
11734 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11735 variables and functions.
11736
3e2d70fd
SM
117372011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11738
11739 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11740 (completion-in-region-mode): New minor mode.
11741 (completion-in-region): Use it.
11742 (completion-in-region--data, completion-in-region-mode-map): New vars.
11743 (completion-in-region--postch): New function.
11744 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11745 New vars.
11746 (completion--capf-wrapper): New function.
11747 (completion-at-point): Use it to track well-behavedness of
11748 hook functions.
11749 (completion-help-at-point): New command.
11750
f3e4086c
JM
117512011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11752
11753 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11754 syntax class to search for whitespace on a single line
11755 (Message-ID: <4D938140.4030905@redhat.com>).
11756
eb7ffc14
LL
117572011-03-30 Leo Liu <sdl.web@gmail.com>
11758
11759 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11760 New commands.
11761 (edit-abbrevs-map): Bind them here.
11762 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11763
d806ab68
KM
117642011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11765
11766 * allout.el (allout-hide-by-annotation, allout-flag-region):
11767 Reduce possibility of overlay leakage by making them volatile.
11768
11769 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11770 hash is not shared between buffers. Mode initialization is
11771 responsible for giving it a useful starting value.
11772 (allout-item-span): Reduce possibility of overlay leakage by
11773 making them volatile.
11774 (allout-widgets-count-buttons-in-region): Add diagnostic function
11775 for tracking down button overlay leaks.
11776
ea622834
LL
117772011-03-29 Leo Liu <sdl.web@gmail.com>
11778
11779 * ido.el (ido-read-internal): Use the default history var
11780 minibuffer-history if no HISTORY is specified.
11781
b62f8267
G
117822011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11783
03408648
SM
11784 * net/imap.el (imap-shell-open, imap-process-connection-type):
11785 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
11786 Kerberos, SSL, other subprocesses.
11787
947b6566
LL
117882011-03-28 Leo Liu <sdl.web@gmail.com>
11789
11790 * abbrev.el (abbrev-table-empty-p): New function.
11791 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11792 nonempty ones. (Bug#5937)
11793
5ffb62aa
JD
117942011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11795
11796 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11797
7a097943
LL
117982011-03-27 Leo Liu <sdl.web@gmail.com>
11799
11800 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11801 for foreground and background colors.
11802 (ansi-color-make-color-map): Adapt.
11803
c5b40130
LL
118042011-03-25 Leo Liu <sdl.web@gmail.com>
11805
1f48f7d2
LL
11806 * midnight.el (midnight-time-float): Remove. Note it calculates
11807 the microsecond component incorrectly and seconds-to-time does the
11808 same job.
625897ec 11809 Remove redundant (require 'timer).
1f48f7d2 11810
c5b40130
LL
11811 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11812 (ido-completions): Remove unused arguments. (Bug#8329)
11813
d86d2721
SM
118142011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11815
11816 * minibuffer.el (completion--flush-all-sorted-completions):
11817 Remove itself from hook.
11818 (completion-at-point): Let the functions perform the completion
11819 immediately and return nil or t.
11820 * comint.el (comint-dynamic-complete-functions): Now identical to
11821 completion-at-point-functions.
11822 (comint-dynamic-list-input-ring): Remove unused var `index'.
11823 (comint--match-partial-filename, comint--unquote&expand-filename):
11824 New funs, split from comint-match-partial-filename.
11825 (comint-dynamic-complete): Use completion-at-point.
11826 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11827
e8974c48
DA
118282011-03-24 Drew Adams <drew.adams@oracle.com>
11829
11830 * thingatpt.el: Support `defun'.
11831
def71b5e
LL
118322011-03-23 Leo Liu <sdl.web@gmail.com>
11833
cb5af48e
LL
11834 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11835
def71b5e
LL
11836 * help-mode.el (help-mode-finish): Tweak regexp.
11837
927c53e7
GM
118382011-03-23 Glenn Morris <rgm@gnu.org>
11839
18d05bed
GM
11840 * eshell/esh-opt.el (eshell-eval-using-options):
11841 Do not bind unused local variable `eshell-option-stub'.
11842
927c53e7
GM
11843 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11844
9d0da923
JB
118452011-03-22 Juanma Barranquero <lekktu@gmail.com>
11846
11847 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11848 keymap variable in `with-no-warnings' to avoid a warning when the
11849 keymap has been already `defconst'ed.
11850
4b978a67
LL
118512011-03-22 Leo Liu <sdl.web@gmail.com>
11852
11853 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11854 encode all chars in abbrevs; otherwise use emacs-mule or
11855 utf-8-emacs. (Bug#8308)
11856
5fd62452
JB
118572011-03-22 Juanma Barranquero <lekktu@gmail.com>
11858
0b1596c6
JB
11859 * simple.el (backward-delete-char-untabify):
11860 Avoid warning about using `delete-backward-char'.
11861
5fd62452
JB
11862 * image.el (image-type-file-name-regexps): Make it variable.
11863 `imagemagick-register-types' modifies it, and the user may want
11864 to add new extensions for known image types.
11865 (imagemagick-register-types): Throw error if not using ImageMagick.
11866
0b4e93f1
LL
118672011-03-22 Leo Liu <sdl.web@gmail.com>
11868
11869 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11870 located before rcirc-prompt-end-marker.
11871 (rcirc-complete): Error if point is not after rcirc prompt.
11872 Handle the case when table is nil.
9882e214 11873 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 11874
fccee4ab
CY
118752011-03-22 Chong Yidong <cyd@stupidchicken.com>
11876
11877 * custom.el (custom--inhibit-theme-enable): Make it affect only
11878 custom-theme-set-variables and custom-theme-set-faces.
11879 (provide-theme): Ignore custom--inhibit-theme-enable.
11880 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11881 (custom-enabling-themes): Delete variable.
d86d2721
SM
11882 (enable-theme): Accept only loaded themes as arguments.
11883 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
11884 (custom-enabled-themes): Forbid themes from setting this.
11885 Eliminate use of custom-enabling-themes.
11886 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 11887
af896da6
LL
118882011-03-21 Leo Liu <sdl.web@gmail.com>
11889
11890 * ido.el (ido-read-internal): Add ido-selected to history instead
11891 of user input.
11892
78f64af0
SM
118932011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11894
11895 * subr.el (deferred-action-list, deferred-action-function):
11896 Mark obsolete.
11897
b16ac1ec
LL
118982011-03-21 Leo Liu <sdl.web@gmail.com>
11899
810f7698
LL
11900 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11901 change on 2011-02-13 (bug#8309).
11902
b16ac1ec
LL
11903 * minibuffer.el (read-file-name-function): Change default value.
11904 (read-file-name--defaults): Rename from read-file-name-defaults.
11905 (read-file-name-default): Rename from read-file-name.
11906 (read-file-name): Call read-file-name-function.
11907
4e05e67e
GM
119082011-03-21 Glenn Morris <rgm@gnu.org>
11909
11910 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11911 Doc fixes.
11912
4359915b
CY
119132011-03-21 Chong Yidong <cyd@stupidchicken.com>
11914
11915 * cus-theme.el: Add missing provide statement.
11916 (customize-create-theme): Extract theme value correctly.
11917 (custom-theme-visit-theme): Autoload.
11918 (customize-create-theme): Prompt before inserting default faces.
11919
1fe275ee
JB
119202011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11921
11922 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11923 units and musical notes.
11924
cd394be1 119252011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
11926
11927 * ido.el (ido-read-internal): Use completing-read-default.
11928 (ido-completing-read): Fix compatibility with completing-read.
11929
7d476bde
CO
119302011-03-20 Christian Ohler <ohler@gnu.org>
11931
11932 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11933 (ert-delete-all-tests): Use `called-interactively-p' rather than
11934 `interactive-p'.
11935 (ert--make-xrefs-region): Respect END.
11936
fe0fb33e
CY
119372011-03-19 Chong Yidong <cyd@stupidchicken.com>
11938
ff854b0b
CY
11939 * dired-aux.el (dired-create-directory): Signal an error if the
11940 directory already exists (Bug#8246).
11941
fe0fb33e
CY
11942 * facemenu.el (list-colors-display): Call list-faces-display
11943 inside with-help-window.
11944 (list-colors-print): Use display property to align the final
11945 column, instead of checking window-width.
11946
576bce32
EZ
119472011-03-19 Eli Zaretskii <eliz@gnu.org>
11948
4d61f28d 11949 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
11950 windows-nt systems.
11951 (emerge-protect-metachars): Quote correctly for ms-dos and
11952 windows-nt systems.
11953
89c41d68 119542011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
11955
11956 * info.el (info-initialize): Replace all uses of `:' with
11957 path-separator for compatibility with non-Unix systems.
11958 Cache quoting of path-separator. (Bug#8258)
11959
b14e3e21 119602011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
11961
11962 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11963 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11964 (mouse-avoidance-mode): Fix typos in docstrings.
11965
4525ce3e
CY
119662011-03-19 Chong Yidong <cyd@stupidchicken.com>
11967
11968 * startup.el (package-subdirectory-regexp): Move from package.el.
11969 Omit \\` and \\', and let callers add them.
11970
11971 * emacs-lisp/package.el (package-strip-version)
11972 (package-load-all-descriptors): Add \\` and \\' to
11973 package-subdirectory-regexp before using it.
11974 (package-untar-buffer): New arg DIR; ensure that file untars only
11975 into this expected directory. Remove superfluous delete-region.
11976 (package-unpack): Caller changed.
11977 (package-tar-file-info): Use package-subdirectory-regexp.
11978
a904a09a 119792011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 11980
a904a09a
SM
11981 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11982 diff-mode-shared-map (bug#8284).
11983 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
11984
119852011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11986
11987 * calendar/time-date.el (format-seconds): Use assoc instead of
11988 assoc-string, since assoc-string doesn't exist in XEmacs.
11989
171fc304
JB
119902011-03-17 Juanma Barranquero <lekktu@gmail.com>
11991
11992 * custom.el (custom-known-themes): Reflow docstring.
11993 (custom-theme-load-path): Fix typo in docstring.
11994 (load-theme): Fix typo in error message.
11995 (custom-available-themes, custom-variable-theme-value):
11996 Use `let', not `let*'.
11997
d71990a1
JB
119982011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11999
12000 * calc/README: Mention inclusion of musical notes.
12001
12002 * calc/calc-units.el (calc-lu-quant): Rename from
12003 `calc-logunits-quantity'.
12004 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12005 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12006 (calc-db): Rename from `calc-dblevel'.
12007 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12008 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12009 (calc-np): Rename from `calc-nplevel'.
12010 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12011 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12012 (calc-lu-plus): Rename from `calc-logunits-add'.
12013 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12014 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12015 (calc-lu-minus): Rename from `calc-logunits-sub'.
12016 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12017 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12018 (calc-lu-times): Rename from `calc-logunits-mul'.
12019 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12020 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12021 (calc-lu-divide): Rename from `calc-logunits-div'.
12022 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12023 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12024
12025 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12026 functions being autoloaded.
12027
12028 * calc/calc.el (calc-lu-power-reference): Rename from
12029 `calc-logunits-power-reference'.
12030 (calc-lu-field-reference): Rename from
12031 `calc-logunits-field-reference'.
12032
7a71b18d
GM
12033 * calc/calc-help.el (calc-l-prefix-help):
12034 Mention musical note functions.
d71990a1 12035
40c2934b
SM
120362011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12037
12038 * minibuffer.el (completion-all-sorted-completions):
12039 Use :completion-cycle-penalty text property if present.
12040
b0911414
KM
120412011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12042
12043 * allout.el (allout-yank-processing): Adjust for new rebulleting
12044 regime so bullet being yanked is used without prompting the user
12045 for a choice.
12046
8a05b668
JB
120472011-03-16 Juanma Barranquero <lekktu@gmail.com>
12048
12049 * startup.el (command-line): Warn the user that _emacs is deprecated.
12050
5ba5fb81
JB
120512011-03-16 Juanma Barranquero <lekktu@gmail.com>
12052
12053 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12054 (delphi-verbose, delphi-comment-face, delphi-string-face)
12055 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12056 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12057 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12058 (delphi-new-comment-line, delphi-font-lock-defaults)
12059 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12060 Fix typos in docstrings.
12061
2dab465b
KM
120622011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12063
5ba5fb81 12064 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
12065 Invert the roles of character and string values for INSTEAD, so a
12066 string is used for the more common case of a defaulting prompt.
12067
0adf5618
SM
120682011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12069
12070 * progmodes/ruby-mode.el (ruby-backward-sexp):
12071 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12072 * play/gamegrid.el (gamegrid-make-face):
12073 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12074 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12075 * notifications.el (notifications-notify):
12076 * net/xesam.el (xesam-search-engines):
12077 * net/quickurl.el (quickurl-list-insert):
12078 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12079
d72700e5
CY
120802011-03-15 Chong Yidong <cyd@stupidchicken.com>
12081
12082 * startup.el (command-line): Update package subdirectory regexp.
12083
49c5410a
SM
120842011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12085
c6eee9aa
SM
12086 * allout.el (allout-abbreviate-flattened-numbering)
12087 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12088
49c5410a
SM
12089 * subr.el (read-char-choice): Only show the cursor after the prompt,
12090 not after the answer.
12091
047b2bb9
KR
120922011-03-15 Kevin Ryde <user42@zip.com.au>
12093
12094 * help-fns.el (variable-at-point): Skip leading quotes, if any
12095 (bug#8253).
12096
0a57d256
SM
120972011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12098
12099 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12100 warning message.
12101
77c992bc
MA
121022011-03-14 Michael Albinus <michael.albinus@gmx.de>
12103
12104 * shell.el (shell): When called interactively, offer to change the
12105 shell file name on remote hosts.
12106
eebc475d
TZ
121072011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12108
12109 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12110 integration for LDAP parameters. The host, base, user or binddn,
12111 and secret tokens can be specified in a netrc file, for instance.
12112 This is optional because an `auth-source' parameter must be
12113 specified in the search attributes.
12114
9d05d1ba
JB
121152011-03-13 Juanma Barranquero <lekktu@gmail.com>
12116
12117 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12118
09d9db2c
GM
121192011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12120
12121 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12122 into declaration. Remove redundant and harmful binding.
12123
121242011-03-12 Eli Zaretskii <eliz@gnu.org>
12125
12126 * files.el (file-ownership-preserved-p): Pass `integer' as an
12127 explicit 2nd argument to `file-attributes'. If the file's owner
12128 is the Administrators group on Windows, and the current user is
12129 Administrator, consider that a match.
12130
12131 * server.el (server-ensure-safe-dir): Consider server directory
12132 safe on MS-Windows if its owner is the Administrators group while
12133 the current Emacs user is Administrator. Use `=' to compare
12134 numerical UIDs, since they could be integers or floats.
12135
219bd536
JB
121362011-03-12 Juanma Barranquero <lekktu@gmail.com>
12137
12138 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12139
f3afd36b
MA
121402011-03-12 Michael Albinus <michael.albinus@gmx.de>
12141
12142 Sync with Tramp 2.2.1.
12143
12144 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12145
12146 * net/trampver.el: Update release number.
12147
3aaaa6f1
SM
121482011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12149
94642599
SM
12150 * progmodes/compile.el (compilation--previous-directory): Fix up
12151 various nil/dead-marker mismatches (bug#8014).
12152 (compilation-directory-properties, compilation-error-properties):
12153 Don't call it at a position past the one we're about to change.
12154
3aaaa6f1
SM
12155 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12156 Disable obsolescence warnings in the file that declares it.
12157
14239447
KM
121582011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12159
099c39a4
JB
12160 * allout-widgets.el (allout-widgets-tally):
12161 Initialize allout-widgets-tally as a hash table rather than nil to
12162 prevent mode-line redisplay warnings. Also, clarify the module
12163 description and fix a comment typo.
14239447 12164
135e287c
JB
121652011-03-11 Juanma Barranquero <lekktu@gmail.com>
12166
12167 * help-fns.el (describe-variable): Don't complete keywords.
12168 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12169
ffbf300e
CY
121702011-03-10 Chong Yidong <cyd@stupidchicken.com>
12171
ba08b241
CY
12172 * emacs-lisp/package.el (package-version-join): Impose a standard
12173 string representation for pre/alpha/beta version lists.
12174 (package-unpack-single): Standardize the directory name by passing
12175 it through package-version-join.
12176 (package-strip-rcs-id): Accept any version string that does not
12177 signal an error in version-to-list.
ffbf300e 12178
f346fd6b
MA
121792011-03-10 Michael Albinus <michael.albinus@gmx.de>
12180
12181 * simple.el (delete-trailing-whitespace): Return nil for the
12182 benefit of `write-file-functions'.
12183
ccb55d27
GM
121842011-03-10 Glenn Morris <rgm@gnu.org>
12185
5ceaac0c
GM
12186 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12187
02da65ff
GM
12188 * vc/vc-git.el (vc-git-program): New option.
12189 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12190 (vc-git--call): Use it.
12191
b2f603cc
GM
12192 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12193
5772caab
GM
12194 * cus-edit.el (Custom-newline): If no button at point, look
12195 for a subgroup button at start-of-line. (Bug#2298)
12196
ccb55d27
GM
12197 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12198
ec6ecaed
JD
121992011-03-10 Julien Danjou <julien@danjou.info>
12200
12201 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12202 `cursor-type' is nil.
12203
9d5aa01d
JB
122042011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
12205
12206 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12207
b6a5875b
KM
122082011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
12209
7a71b18d 12210 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
12211 preserves the existing header prefix, rebulleting it if necessary,
12212 rather than replacing it. This is necessary for proper operation
12213 of cooperative addons like allout-widgets.
1154d12e
JB
12214 (allout-make-topic-prefix, allout-rebullet-heading):
12215 Change SOLICIT arg to INSTEAD, and interpret additionally a string
12216 value as alternate bullet to be used, instead of prompting the user
12217 for a bullet character.
b6a5875b 12218
ee545c35
MA
122192011-03-09 Michael Albinus <michael.albinus@gmx.de>
12220
d86d2721
SM
12221 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12222 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
12223 `tramp-default-port'.
12224
c47971d7
DD
122252011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12226
12227 * net/rcirc.el (rcirc-handler-001): Remove useless
12228 with-rcirc-process-buffer.
12229 (rcirc-check-auth-status): Swap arguments to string-match.
12230
13522cb4
GM
122312011-03-09 Glenn Morris <rgm@gnu.org>
12232
0be6f4f1
GM
12233 * shell.el (shell-mode):
12234 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
12235
13522cb4
GM
12236 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12237 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
12238
515de2e3
CY
122392011-03-08 Chong Yidong <cyd@stupidchicken.com>
12240
12241 * emacs-lisp/package.el (package-refresh-contents)
12242 (package-menu-execute): Use condition-case-no-debug.
12243
b511b994
MA
122442011-03-08 Michael Albinus <michael.albinus@gmx.de>
12245
12246 * simple.el (shell-command-to-string): Use `process-file'.
12247
12248 * emacs-lisp/package.el (package-tar-file-info): Handle also
12249 remote files.
12250
d86d2721
SM
12251 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12252 Use `equal' for upload base check.
b511b994 12253
25bbfb31
AM
122542011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12255
12256 * textmodes/texinfo.el (texinfo-environments):
12257 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
12258
be996521
GM
122592011-03-08 Glenn Morris <rgm@gnu.org>
12260
e9c8529f
GM
12261 * cus-start.el (cursor-in-non-selected-windows):
12262 Fix :set quoting oddness. (Bug#8192)
12263
be996521
GM
12264 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12265 in some setf expressions. (Bug#2159)
12266
2bb5649e
CY
122672011-03-08 Chong Yidong <cyd@stupidchicken.com>
12268
12269 * custom.el (custom-available-themes): Return themes in
12270 alphabetical order.
12271
33383987 12272See ChangeLog.15 for earlier changes.
e3d51b27
MR
12273
12274;; Local Variables:
12275;; coding: utf-8
e3d51b27
MR
12276;; End:
12277
acaf905b 12278 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
12279
12280 This file is part of GNU Emacs.
12281
12282 GNU Emacs is free software: you can redistribute it and/or modify
12283 it under the terms of the GNU General Public License as published by
12284 the Free Software Foundation, either version 3 of the License, or
12285 (at your option) any later version.
12286
12287 GNU Emacs is distributed in the hope that it will be useful,
12288 but WITHOUT ANY WARRANTY; without even the implied warranty of
12289 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12290 GNU General Public License for more details.
12291
12292 You should have received a copy of the GNU General Public License
12293 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.