Comment.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
3603c3b1
JB
12012-04-14 Juanma Barranquero <lekktu@gmail.com>
2
3 * server.el (server-auth-key, server-generate-key): Doc fixes.
4 (server-get-auth-key): Doc fix. Use `string-match-p'.
5 (server-start): Reflow docstring.
6
e6de100c
LI
72012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8
9 * server.el (server-generate-key): `called-interactively-p'
10 requires a parameter.
11
29734c21
MN
122012-04-14 Michal Nazarewicz <mina86@mina86.com>
13
14 * server.el (server-auth-key): New variable.
15 (server-generate-key): New function.
16 (server-get-auth-key): New function.
17 (server-start): Use the new variable and functions to allow
18 setting a permanent server key (bug#9423).
19
d65c9521
LL
202012-04-14 Leo Liu <sdl.web@gmail.com>
21
22 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
23
5ae255c7
PE
242012-04-14 Paul Eggert <eggert@cs.ucla.edu>
25
26 Spelling fixes.
27 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
28 Emacs uses American spelling.
29
d5e6342e
JB
302012-04-14 Juanma Barranquero <lekktu@gmail.com>
31
32 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
33 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
34 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
35 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
36
ab036cd7
SM
372012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
38
39 * progmodes/which-func.el (which-func-modes): Change default.
40
35dc09a1 412012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
42
43 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
44 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
45
35dc09a1 462012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
47
48 * custom.el (custom-theme-set-variables): Doc fix.
49
35dc09a1 502012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
51
52 * international/mule.el (set-auto-coding-for-load): Doc fix.
53
35dc09a1 542012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 55
35dc09a1
GM
56 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
57 imenu work again for Objective C Mode. Correct the *-index values,
58 these having been disturbed by a previous change in 2011-08.
57f845ee 59
0de3da9f
AM
60 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
61 Correct two search limits.
62
35dc09a1 632012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
64
65 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
66
35dc09a1 672012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
68
69 * international/characters.el: Fix sorting.
70
35dc09a1 712012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
72
73 * international/characters.el: Add more missing Latin case pairs.
74
35dc09a1 752012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
76
77 * files.el (dir-locals-set-class-variables): Doc fix.
78
35dc09a1 792012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 80
3f1b5bf8
EZ
81 * international/characters.el: Add set-case-syntax-pair call for
82 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
83 counterpart. (Bug#11209)
84
9f847f41
EZ
85 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
86
35dc09a1 872012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
88
89 * calendar/holidays.el (calendar-check-holidays): Doc fix.
90
35dc09a1 912012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 92
35dc09a1
GM
93 * textmodes/ispell.el (ispell-dictionary-base-alist):
94 Add data for Hebrew.
e2627d21 95
35dc09a1 962012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 97
35dc09a1
GM
98 * net/rcirc.el (rcirc-cmd-quit):
99 Revert 2012-03-18 change (Bug#11192).
5c14e333 100
35dc09a1 1012012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
102
103 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
104
35dc09a1 1052012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 106
4517fe3a
SM
107 * minibuffer.el (completion-in-region-mode-map):
108 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 109
b472a594
VD
1102012-04-13 Vivek Dasmohapatra <vivek@etla.org>
111
112 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
113
09b95ce3
MY
1142012-04-13 Masatake YAMATO <yamato@redhat.com>
115
116 * minibuffer.el (minibuffer-local-filename-syntax): New variable
117 to allow `C-M-f' and `C-M-b' to move to the nearest path
118 separator (bug#9511).
119
4b63a9ca
LI
1202012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
121
122 * avoid.el: Require cl when compiling. And also move the
123 `provide' to the end.
124
7b55b8bf
TV
1252012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
126
127 * avoid.el (mouse-avoidance-banish-position): New variable.
128 (mouse-avoidance-banish-destination): Use it (bug#10165).
129
adedaa1f
LL
1302012-04-13 Leo Liu <sdl.web@gmail.com>
131
132 * progmodes/which-func.el (which-func-modes): Add objc-mode.
133
70e74021
KB
1342012-04-13 Ken Brown <kbrown@cornell.edu>
135
136 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 137 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
138 (browse-url-filename-alist): For the same reason, don't modify
139 file:// URLs on Cygwin.
140
e75e89ba
SM
1412012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
142
143 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
144 the region on shift if the binding is already shifted (bug#11221).
145
82f289a4
GM
1462012-04-12 Glenn Morris <rgm@gnu.org>
147
148 * mail/mailpost.el: Move to obsolete/.
149
d333dc4c
DA
1502012-04-12 Drew Adams <drew.adams@oracle.com>
151
152 * imenu.el (imenu--generic-function): Ignore invisible definitions
153 (bug#10123).
154
0d15b5ba
VD
1552012-04-12 Vivek Dasmohapatra <vivek@etla.org>
156
157 * hexl.el (hexl-bits): New variable.
158 (hexl-options): Mention the variable in the doc string.
159 (hexl-rulerise): New function.
160 (hexl-line-displen): New function
161 (hexl-mode): Mention the new variable.
162 (hexl-mode, hexl-current-address, hexl-current-address): Use the
163 displen.
164 (hexl-ascii-start-column): New function.
165 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
166 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
167
64a440db
AM
1682012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
169
170 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
171 '("-i" ENCODING), in 2 separate command-line arguments, to specify
172 the encoding, as expected by hunspell.
173
6decb6c2
SM
1742012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
175
176 * battery.el (battery--linux-sysfs-regexp): New const.
177 (battery-status-function): Use it. Remove yeeloong special case.
178 (battery-yeeloong-sysfs): Remove.
179 (battery-echo-area-format): Remove yeeloong special case.
180
088be6fb
SM
1812012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
182
6622e416
SM
183 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
184 Reported by Noah Friedman.
185
088be6fb
SM
186 * subr.el (read-passwd): Use read-string.
187
b49f886e
LMI
1882012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
189
190 * vcursor.el (vcursor-move): Increase the priority of the overlay
191 (bug#9663).
192
a63067fc
DD
1932012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
194
195 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
196 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
197
ac3cf14a
WS
1982012-04-11 William Stevenson <yhvh2000@gmail.com>
199
200 * textmodes/artist.el (artist-mode): Convert artist-mode to use
201 define-minor-mode (bug#10760).
202
c4fc691b 2032012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c
WJ
204
205 * lisp/progmodes/grep.el (rgrep): Tweak the find command line so
206 that directories matching `grep-find-ignored-files' won't be
207 pruned (bug#10351).
208
af23e2e5
CY
2092012-04-11 Chong Yidong <cyd@gnu.org>
210
211 * startup.el (command-line): Remove support for long-obsolete
212 variable font-lock-face-attributes.
213
ab7ce8c1
GM
2142012-04-11 Glenn Morris <rgm@gnu.org>
215
216 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
217
de8c03dc
SM
2182012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
219
220 * window.el (window--state-get-1): Obey window-point-insertion-type.
221
050cc68b
LB
2222012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
223
224 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
225 to previous function when point is on the first character of a
226 function. Take care of that in `narrow-to-defun' (bug#6157).
227
a38c310c
GM
2282012-04-11 Glenn Morris <rgm@gnu.org>
229
effed0c2
GM
230 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
231 not just file-errors.
232
a38c310c
GM
233 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
234 (vc-bzr-sha1): Use internal sha1.
235
0221e323
SM
2362012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
237
238 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
239
43956923
SG
2402012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
241
242 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
243 that start in the middle of the line (bug#10496).
244
6a8c9eaf
DN
2452012-04-10 Dan Nicolaescu <dann@gnu.org>
246
247 * battery.el (battery-linux-proc-acpi): Only one battery is
248 discharged at a time, but that seems to confuse battery.el when
249 computing `rate-type' for the battery not being discharged
250 (bug#10332).
251
1930bf5d
SM
2522012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
253
2a718f6f
SM
254 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
255
599430d0
SM
256 * international/quail.el: Use dolist and simplify.
257 (quail-define-package, quail-update-keyboard-layout)
258 (quail-define-rules): Use dolist.
259 (quail-insert-kbd-layout, quail-get-translation): CSE.
260
a2754b6c
SM
261 * tmm.el: Use dolist, remove left over hook.
262 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
263 Use dolist.
264 (calendar-load-hook): Don't mess with it.
265
1930bf5d
SM
266 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
267 Use derived-mode-p. Run the diff asynchronously.
268
9f67961c
LMI
2692012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
270
271 * obsolete/mouse-sel.el: Add an Obsolete-since header.
272
2a8ce227
JB
2732012-04-10 Juanma Barranquero <lekktu@gmail.com>
274
275 * misc.el: Display absolute path of loaded DLLs (bug#10424).
276 (list-dynamic-libraries--loaded): New function.
277 (list-dynamic-libraries--refresh): Use it.
278
8f33b5f8
NW
2792012-04-10 Nathan Weizenbaum <nweiz@google.com>
280
1930bf5d
SM
281 * progmodes/python.el (python-fill-paragraph):
282 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
283 disabled (bug#7018).
284
b12f0439
L
2852012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
286
1930bf5d 287 * language/european.el (cp775): Add oem/legacy (en)coding on
b12f0439
L
288 DOS/MS Windows for the Baltic languages. There are still plenty of
289 texts written in this encoding/codepage (bug#6519).
290
57c3bd01
GM
2912012-04-10 Glenn Morris <rgm@gnu.org>
292
293 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
294 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
295
6c3eab30
FA
2962012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
297
1930bf5d 298 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
299 next-line "n" and previous-line "p" in order to make recentf more
300 consistent with ibuffer, dired or org-mode (bug#9387).
301
24d78a88
LMI
3022012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
303
bc72b5d9
LMI
304 * image.el (put-image): Return the overlay created instead of the
305 optional input string (bug#7834). Note that this may break code
306 that is (for some reason or other) depending on `put-image'
307 returning the string.
308
bd2dba5a
LMI
309 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
310
74beb59f
LMI
311 * simple.el (zap-to-char): Allow zapping using input methods
312 (bug#1580).
313
24d78a88
LMI
314 * textmodes/fill.el (fill-region): Leave point and mark where they
315 were before filling (bug#5399).
316
263f20cd
GM
3172012-04-09 Glenn Morris <rgm@gnu.org>
318
319 * version.el (emacs-bzr-get-version):
320 Handle lightweight checkouts of local branches.
321
58d1f797
AS
3222012-04-09 Andreas Schwab <schwab@linux-m68k.org>
323
263f20cd 324 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 325
b4d3bc10
CY
3262012-04-09 Chong Yidong <cyd@gnu.org>
327
328 * custom.el (custom-variable-p): Return nil for non-symbol
329 arguments instead of signaling an error.
330 (user-variable-p): Obsolete alias for custom-variable-p.
331
332 * apropos.el (apropos-variable):
333 * files-x.el (read-file-local-variable):
334 * simple.el (set-variable):
335 * woman.el (woman-mini-help):
336 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
337
fd06db5d
GM
3382012-04-09 Glenn Morris <rgm@gnu.org>
339
e5fcdb5e
GM
340 * startup.el (normal-top-level): Don't look for leim-list.el
341 in places where it will not be found. (Bug#910)
342
fd06db5d
GM
343 * international/mule-cmds.el (set-default-coding-systems):
344 * files.el (normal-mode):
345 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
346 This function was removed with ucs-tables.el in 2008.
347
b39bb7e1
EZ
3482012-04-08 Eli Zaretskii <eliz@gnu.org>
349
350 * textmodes/ispell.el (ispell-check-version): For hunspell, set
351 ispell-encoding8-command to "-i", without a trailing space.
352 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
353 separate command-line arguments, to specify the encoding, since
354 that's how hunspell expects it.
355
5c5b8e23
GM
3562012-04-08 Glenn Morris <rgm@gnu.org>
357
358 * loadup.el: Load bindings before cus-start.
359 This reduces somewhat the number of "rogue" settings in emacs -Q.
360
a1ed8b05
GM
3612012-04-07 Glenn Morris <rgm@gnu.org>
362
363 * version.el (emacs-bzr-get-version): New function.
dfae128a 364 (emacs-bzr-version): New variable.
a1ed8b05
GM
365 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
366 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
367
b142f158
EZ
3682012-04-07 Eli Zaretskii <eliz@gnu.org>
369
dfae128a
GM
370 * international/uni-bidi.el, international/uni-category.el:
371 * international/uni-combining.el, international/uni-decimal.el:
372 * international/uni-decomposition.el, international/uni-digit.el:
373 * international/uni-lowercase.el, international/uni-mirrored.el:
374 * international/uni-name.el, international/uni-numeric.el:
375 * international/uni-titlecase.el, international/uni-uppercase.el:
376 Update for Unicode 6.1.
b142f158 377
9078ead6
EZ
3782012-04-07 Eli Zaretskii <eliz@gnu.org>
379
380 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
381
f23d2c7d
LMI
3822012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
383
384 * window.el (shrink-window): Mention the `window-min-height'
385 variable in the doc string.
386
0a0a3573
BG
3872012-04-05 Bastien Guerry <bzg@altern.org>
388
389 * color.el (color-lighten-name): Fix typo.
390
e5248ac9
SM
3912012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
392
393 * server.el (server--on-display-p): New function.
394 (server--on-display-p): Use it.
395
b4243e22
GV
3962012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
397
398 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
399 (bug#11145).
400
305d9f44
SM
4012012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
402
403 * comint.el (comint--common-quoted-suffix): Check string boundary
404 before comparing (bug#11158).
405 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
406
3d439cd1
CY
4072012-04-04 Chong Yidong <cyd@gnu.org>
408
321cc491
CY
409 * minibuffer.el (completion-extra-properties): Doc fix.
410
3d439cd1
CY
411 * subr.el (delayed-warnings-hook): Doc fix.
412
2d562c0f
DU
4132012-04-04 Daiki Ueno <ueno@unixuser.org>
414
415 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
416 selection (Bug#11159).
417 (epa-insert-keys): Inform that the default public key will be
418 exported if no key is selected.
419
4443f204
RS
4202012-04-04 Richard Stallman <rms@gnu.org>
421
422 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
423
529c06b6
CY
4242012-04-03 Chong Yidong <cyd@gnu.org>
425
426 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
427 mail-insert-file, not its obsolete alias mail-attach-file.
428
66b907dc
MA
4292012-04-03 Michael Albinus <michael.albinus@gmx.de>
430
431 * notifications.el (notifications-notify): Fix docstring.
432
c0ea195d
GM
4332012-04-02 Glenn Morris <rgm@gnu.org>
434
435 * emacs-lisp/authors.el (authors-aliases): Another addition.
436
5ca64e00
MA
4372012-04-02 Michael Albinus <michael.albinus@gmx.de>
438
439 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
440 `tramp-compat-call-process' instead of `tramp-local-call-process'.
441 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
442
42ee526b
CY
4432012-04-01 Chong Yidong <cyd@gnu.org>
444
445 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
446 Handle root directory properly.
447 (copy-directory): Caller changed.
448
449 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
450 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
451
0b021094
GM
4522012-03-31 Glenn Morris <rgm@gnu.org>
453
40f86458
GM
454 * term/xterm.el (xterm-extra-capabilities): Doc fix.
455
7019c177
GM
456 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
457
a1daddd6
GM
458 * calendar/calendar.el (calendar-window-list)
459 (calendar-hide-window): Restore. (Bug#11140)
460 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
461
0b021094
GM
462 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
463
40311efc
TV
4642012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
465
466 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
467 Check if file is a symlink (Bug#10489).
468
469 * files.el (copy-directory): Likewise.
470
5319014e
CY
4712012-03-30 Chong Yidong <cyd@gnu.org>
472
473 * image.el (imagemagick-types-inhibit)
474 (imagemagick-register-types): Doc fix.
475
935d1290
AM
4762012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
477
478 * ispell.el (ispell-get-extended-character-mode): Disable
479 extended-char-mode for hunspell. hunspell does not support it and
480 treats ~word as ordinary words in pipe mode.
481
61c6e8fd
GM
4822012-03-30 Glenn Morris <rgm@gnu.org>
483
484 * tutorial.el (help-with-tutorial): Ensure local variables don't
485 happen to make the buffer read-only. (Bug#11127)
486
81fdff00
SM
4872012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
488
489 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
490 (perl-calculate-indent): Return `noindent' in strings.
491
6e7a6ec0
SS
4922012-03-28 Sam Steingold <sds@gnu.org>
493
494 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
495 instead of the broken adhockery which does not prevent calendar
496 buffers from being displayed at random after exit.
497 (calendar-window-list, calendar-hide-window): Remove the broken
498 adhockery.
499
fee88ca0
GM
5002012-03-28 Glenn Morris <rgm@gnu.org>
501
502 * replace.el (query-replace-map): Doc fix.
503
38de3354
AS
5042012-03-28 Andreas Schwab <schwab@linux-m68k.org>
505
506 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
507 contents. (Bug#11109)
508
b973155e
SM
5092012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
510
511 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
512 (bug#11077).
513 (avl-tree--check, avl-tree--check-node): New funs.
514
dcb6e7b3
MR
5152012-03-27 Martin Rudalics <rudalics@gmx.at>
516
517 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
518 (switch-to-prev-buffer, switch-to-next-buffer):
519 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
520 showing a buffer already is done on the same frame.
521
b4fa35fa
GM
5222012-03-27 Glenn Morris <rgm@gnu.org>
523
524 * startup.el (mail-host-address): Doc fix.
525
f9210e18
SM
5262012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
527
528 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
529 than 197 variables.
530
c0bf7753
AF
5312012-03-26 Ami Fischman <ami@fischman.org>
532
533 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
534
33da7b16
GM
5352012-03-26 Glenn Morris <rgm@gnu.org>
536
02243d9d
GM
537 * files.el (save-buffers-kill-emacs): Doc fix.
538
33da7b16
GM
539 * startup.el (normal-top-level, command-line, command-line-1):
540 Give them doc strings.
541
e5a69fd0
EZ
5422012-03-25 Eli Zaretskii <eliz@gnu.org>
543
544 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 545 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 546
9a69676a
CY
5472012-03-25 Chong Yidong <cyd@gnu.org>
548
4125cb8b
CY
549 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
550 theme if it was previously enabled before (Bug#11031).
551
dd470960
CY
552 * cus-theme.el (custom-theme-write-faces): Retrieve current face
553 spec with custom-face-get-current-spec if its :shown-value is not
554 determined yet (Bug#9337).
4125cb8b 555 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 556
9a69676a
CY
557 * button.el (button-at): Minor addition to docstring.
558
6e7e90fa
SL
5592012-03-24 Simon Leinen <simon.leinen@gmail.com>
560
561 * vc/vc.el (vc-merge): Fix a prompt.
562
f06e2758
CY
5632012-03-24 Chong Yidong <cyd@gnu.org>
564
565 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
566 point (Bug#9623).
567
6e7e90fa
SL
568 * button.el (button-at): Minor addition to docstring.
569
b9d0879b
SM
5702012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
571
572 * newcomment.el (comment-choose-indent): No space after BOL.
573
e71cebb3
SS
5742012-03-22 Sam Steingold <sds@gnu.org>
575
576 * window.el (switch-to-prev-buffer): Revert last patch because the
577 bug turned out to be an advertised feature (Elisp manual 28.14).
578
335aff35
GM
5792012-03-22 Glenn Morris <rgm@gnu.org>
580
581 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
582 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
583
c676576a
LMI
5842012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
585
586 * net/network-stream.el (network-stream-open-starttls): Make error
587 message under Windows be less misleading.
588
126f3d39
LW
5892012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
590
591 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
592 understands (bug#9942).
593
64fee311
CY
5942012-03-22 Chong Yidong <cyd@gnu.org>
595
596 * simple.el (end-of-visible-line): Handle return value of
597 next-single-property-change properly (Bug#9371).
598
a640d29a
KH
5992012-03-22 Kenichi Handa <handa@m17n.org>
600
601 * international/quail.el (quail-insert-kbd-layout): Fix previous
602 change. To avoid unwanted bidi reordering, use
603 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
604
39675016
DG
6052012-03-21 Dmitry Gutov <dgutov@yandex.ru>
606
607 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
608 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
609 (ruby-beginning-of-indent): Be more careful with the difference
610 between word-boundary and symbol boundary.
611 (ruby-mode-syntax-table): Make : a symbol constituent.
612
0a6934fc 6132012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 614
3d008e4f
SM
615 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
616
0a6934fc
SM
6172012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
618
af67c9d7
SM
619 * progmodes/etags.el (tags-completion-at-point-function):
620 Improve last fix.
621
1acad97c
SM
622 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
623
e298b5da
SS
6242012-03-21 Sam Steingold <sds@gnu.org>
625
626 * progmodes/etags.el (tags-completion-at-point-function):
627 Avoid the error when point is inside the pattern.
628
91d82a70
JY
6292012-03-21 John Yates <john@yates-sheets.org> (tiny change)
630
631 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
632 line (Bug#10855).
633
69188b79
CY
6342012-03-21 Drew Adams <drew.adams@oracle.com>
635
636 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
637
99fc91fe
AK
6382012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
639
640 * ido.el (ido-set-current-directory, ido-read-internal)
641 (ido-choose-completion-string, ido-completion-help): Handle nil
642 value of ido-completion-buffer (Bug#11008).
643
087bbb4c
SS
6442012-03-21 Sam Steingold <sds@gnu.org>
645
646 * window.el (switch-to-prev-buffer): Do not switch to a visible
647 window previous buffer, just like with the frame previous buffers.
648
fb5b8aca
CY
6492012-03-21 Chong Yidong <cyd@gnu.org>
650
651 * faces.el (make-face, make-empty-face, copy-face):
652 * face-remap.el (face-remap-add-relative, face-remap-set-base):
653 Doc fixes.
654
dc9924b8
SM
6552012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
656
657 * wid-edit.el (widget-complete-field): Remove (bug#11051).
658 (widget-complete): Remove broken use of it.
659
f0bcceb9
CY
6602012-03-20 Chong Yidong <cyd@gnu.org>
661
dc9924b8
SM
662 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
663 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
664 characters.
665
ee52ebf3
TH
6662012-03-20 Tassilo Horn <tassilo@member.fsf.org>
667
668 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
669 to draw rectangles, not squares. (Regression introduced by revno
670 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
671
4c5779ab
CY
6722012-03-18 Chong Yidong <cyd@gnu.org>
673
674 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
675 it is not yet defined (for temacs).
676
15360934
LL
6772012-03-18 Leo Liu <sdl.web@gmail.com>
678
dc9924b8 679 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 680
d9a8eb66
EZ
6812012-03-17 Eli Zaretskii <eliz@gnu.org>
682
683 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
684 (ispell-choices-win-default-height, ispell-silently-savep)
685 (ispell-dictionary-alist, ispell-encoding8-command)
686 (ispell-check-version, ispell-aspell-find-dictionary)
687 (ispell-valid-dictionary-list, ispell-words-keyword)
688 (ispell-get-word, ispell-internal-change-dictionary)
689 (ispell-region, ispell-skip-region-list)
690 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
691 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
692 (ispell-message-text-end, ispell-message)
693 (ispell-buffer-local-parsing): Doc fix.
694
f02ff80d
J
6952012-03-13 Jambunathan K <kjambunathan@gmail.com>
696
697 * htmlfontify.el: Add support for code block fontification for ODT
698 export (Bug #9914).
699 (hfy-optimisations): Define new option
700 `body-text-only'
701 (hfy-fontify-buffer): Honor above setting.
702 (hfy-begin-span, hfy-end-span): New routines factored out form
703 `hfy-fontify-buffer'.
704 (hfy-begin-span-handler, hfy-end-span-handler): New variables
705 that permit insertion of custom tags.
706 (hfy-fontify-buffer): Use above handlers.
707 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
708 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 709 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
f02ff80d
J
710 over multiple runs. This is made possible by having the caller let
711 bind a special variable `hfy-user-sheet-assoc'.
712 (htmlfontify-string): New defun.
713 (hfy-compile-face-map): Make sure that the last char in the
714 buffer is correctly fontified.
715 (hfy-face-resolve-face): Whitespace only change.
716
9ac7a13f
EZ
7172012-03-17 Eli Zaretskii <eliz@gnu.org>
718
719 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
720 message more clear.
721
e2b5bdd7
LL
7222012-03-16 Leo Liu <sdl.web@gmail.com>
723
724 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
725
2e492df3
AM
7262012-03-16 Alan Mackenzie <acm@muc.de>
727
728 Further optimise the handling of large macros.
729
730 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
731 limit to a call of `c-literal-limits'.
732 (c-determine-+ve-limit): New function.
dc9924b8
SM
733 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
734 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
735 In CASE 5B, restrict a search limit to 500.
736 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
737
738 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
739 Restrict macro bounds to +-500 from after-change's BEG END.
740
50e94f0c
LL
7412012-03-16 Leo Liu <sdl.web@gmail.com>
742
743 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
744
6f09f6ed
AH
7452012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
746
747 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 748 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 749
c7e73d51
GM
7502012-03-16 Glenn Morris <rgm@gnu.org>
751
da986230
GM
752 * view.el (view-buffer, view-buffer-other-window)
753 (view-buffer-other-frame): Doc fixes re special mode-class.
754
0835f01e
GM
755 * subr.el (eval-after-load): If named feature is provided not from
756 a file, run after-load forms. (Bug#10946)
757
c7e73d51
GM
758 * calendar/calendar.el (calendar-insert-at-column):
759 Handle non-unit-width characters a bit better. (Bug#10978)
760
3f2eafd1
CY
7612012-03-15 Chong Yidong <cyd@gnu.org>
762
763 * emacs-lisp/ring.el (ring-extend): New function.
764 (ring-insert+extend): Extend the ring correctly (Bug#11019).
765
766 * comint.el (comint-read-input-ring)
767 (comint-add-to-input-history): Grow comint-input-ring lazily.
768
103af3fe
SM
7692012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
770
663b1677
SM
771 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
772 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
773
103af3fe
SM
774 * imenu.el: Fix multiple inheritance breakage (bug#9199).
775 (imenu-add-to-menubar): Don't add a redundant index.
776 (imenu-update-menubar): Handle a dynamically composed keymap.
777
899cb7cb
KY
7782012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
779
780 * mail/sendmail.el (mail-encode-header):
781 Bind rfc2047-encode-encoded-words to nil.
782
3809f91d
GM
7832012-03-13 Glenn Morris <rgm@gnu.org>
784
785 * calendar/calendar.el (calendar-string-spread):
786 Handle non-unit-width characters a bit better. (Bug#10978)
787
9e345a01
LL
7882012-03-13 Leo Liu <sdl.web@gmail.com>
789
790 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
791 directory and file as argument (Bug#10822).
792
4a07df36
KS
7932012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
794
795 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
796 For dynamically generated code, follow $PC.
797 (gdb-disassembly-handler-custom): Handle no function name case.
798
4aaa9356
TL
7992012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
800
801 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
802 * emulation/ws-mode.el (ws-query-replace):
803 * sort.el (sort-regexp-fields):
804 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
805
225979da
SM
8062012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
807
808 * dabbrev.el: Fix cycle completion order (bug#10963).
809 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
810 (dabbrev-completion): Don't use an obarray; provide
811 a cycle-sort-function.
812
e2f1fdab
LL
8132012-03-12 Leo Liu <sdl.web@gmail.com>
814
dc9924b8 815 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
816 (kill-do-not-save-duplicates): Doc fix.
817
b19490ed
SM
8182012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
819
820 * dabbrev.el: Fix cycle completion (bug#10963).
821 Use lexical binding and wrap to 80 columns.
822 (dabbrev-completion): Delay computing the list of completions.
823
4b05d722
KH
8242012-03-12 Kenichi Handa <handa@m17n.org>
825
826 * international/quail.el (quail-insert-kbd-layout): Surround each
827 row by LRO and PDF instead of inserting many LRMs. Pad the left
828 and right of each non-spacing marks. Insert invisible space
829 between lower and upper characters to prevent composition.
830
dbbc2e69
SM
8312012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
832
833 * minibuffer.el (minibuffer-complete): Don't get confused when the
834 function is run twice via different commands (bug#10958).
835 (complete-with-action): Fix docstring.
836
292112ed
CY
8372012-03-12 Chong Yidong <cyd@gnu.org>
838
5d1ac394
CY
839 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
840 (nxml-completion-at-point-function): New function.
841 (nxml-mode): Use it.
842 (nxml-bind-meta-tab-to-complete-flag): Default to t.
843
292112ed
CY
844 * emacs-lisp/package.el (package-unpack, package-unpack-single):
845 Load generated autoloads file before byte compiling (Bug#10970).
846 (package--make-autoloads-and-compile): New helper fun.
847
4098f8f7
CS
8482012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
849
850 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
851
8f754691
MA
8522012-03-11 Michael Albinus <michael.albinus@gmx.de>
853
854 * autorevert.el (auto-revert-handler): Ensure, that
855 file-readable-p is applied only for local files or in
856 auto-revert-tail-mode.
857
e29ab36b
AS
8582012-03-11 Andreas Schwab <schwab@linux-m68k.org>
859
dbbc2e69
SM
860 * server.el (server-eval-at): Handle non-tcp connections.
861 Decode result string.
ad0bf5b6 862
e29ab36b
AS
863 * server.el (server-msg-size): New constant.
864 (server-reply-print): New function.
865 (server-eval-and-print): Use it.
866 (server-eval-at): Use server-quote-arg and server-unquote-arg.
867 Handle -print-nonl.
868
de5939ba
CS
8692012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
870
871 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
872 (Bug#10987).
873
0c93eabf
CY
8742012-03-11 Chong Yidong <cyd@gnu.org>
875
397a688f
CY
876 * simple.el (goto-line): Doc fix (Bug#9938).
877
2cc775f9
CY
878 * subr.el (save-window-excursion): Doc fix (Bug#9979).
879
0c93eabf
CY
880 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
881 when finished (Bug#10963).
882
c491fa41
MR
8832012-03-11 Martin Rudalics <rudalics@gmx.at>
884
885 * window.el (split-window-below): Fix bug in case where
886 split-window-keep-point is nil (Bug#10971).
887
300e8fa5
JL
8882012-03-11 Juri Linkov <juri@jurta.org>
889
890 * replace.el (replace-highlight): Set isearch-word to nil
891 unconditionally. (Bug#10887)
892
dbf6c5a1
EZ
8932012-03-10 Eli Zaretskii <eliz@gnu.org>
894
895 * net/mairix.el (mairix-replace-invalid-chars): Rename from
896 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 897 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
898 (mairix-widget-create-query): Add usage information about mairix
899 search forms: negating words, searching for substrings, etc.
900
b9e501de
JP
9012012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
902
903 * international/fontset.el (font-encoding-alist): Add an entry for
904 ksx1001 (Bug#5667).
905
92795c91
RS
9062012-03-10 Richard Stallman <rms@gnu.org>
907
1694e6c1
RS
908 * mail/sendmail.el (mail-encode-header):
909 Set rfc2047-encode-encoded-words.
910
607e8555
RS
911 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
912
de3bc99a
RS
913 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
914 view buffer means not swapped.
915 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
916 (rmail-write-region-annotate): Error if real text has disappeared.
917
92795c91
RS
918 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
919
699bd04e
CY
9202012-03-10 Chong Yidong <cyd@gnu.org>
921
922 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
923 * emulation/cua-base.el (cua--init-keymaps):
924 Add delete-forward-char to remappings (Bug#9666).
699bd04e 925
570a1714
MR
9262012-03-10 Martin Rudalics <rudalics@gmx.at>
927
dbbc2e69
SM
928 * speedbar.el (speedbar-unhighlight-one-tag-line):
929 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 930
82dcf4e4
CY
9312012-03-10 Chong Yidong <cyd@gnu.org>
932
7a2c7ca7
CY
933 * minibuffer.el (completion-in-region, completion-help-at-point):
934 Give the completion field overlay a high priority (Bug#6830).
935
82dcf4e4
CY
936 * dired.el (dired-goto-file): Recognize absolute file name
937 listings (Bug#7126).
938 (dired-goto-file-1): New helper function.
939 (dired-toggle-read-only): Inhibit warnings.
940
052e28ac
MA
9412012-03-09 Michael Albinus <michael.albinus@gmx.de>
942
943 * net/dbus.el: (dbus-property-handler): Return empty array if
944 there are no properties.
945
95d5e396
LL
9462012-03-09 Leo Liu <sdl.web@gmail.com>
947
948 * savehist.el (savehist-printable): Stricter check for string
949 value (Bug#10937).
950
3f018d6d
EZ
9512012-03-09 Eli Zaretskii <eliz@gnu.org>
952
dbbc2e69
SM
953 * mail/smtpmail.el (smtpmail-send-it):
954 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
955 valid mbox format.
956
f7fd3d79
GM
9572012-03-09 Glenn Morris <rgm@gnu.org>
958
959 * files.el (dir-locals-find-file):
960 Don't check result is regular, readable.
961 (dir-locals-read-from-file): Demote errors.
962
6ff6e72f
EZ
9632012-03-08 Eli Zaretskii <eliz@gnu.org>
964
dbbc2e69
SM
965 * international/quail.el (quail-insert-kbd-layout):
966 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
967 layout cell, to prevent their reordering by bidi display engine.
968 For details, see the discussion in
969 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
970
9cec7834
AM
9712012-03-08 Alan Mackenzie <acm@muc.de>
972
973 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
974 the starting position; make it extend the marked region when
975 invoked repeatedly - all under appropriate circumstances.
976 Fixes bugs #5525, #10906.
977
9a40b8d4
GM
9782012-03-08 Glenn Morris <rgm@gnu.org>
979
980 * files.el (locate-dominating-file, dir-locals-find-file):
981 Undo 2012-03-06 change.
982
7a08ed35
EZ
9832012-03-07 Eli Zaretskii <eliz@gnu.org>
984
dbbc2e69
SM
985 * international/quail.el (quail-help):
986 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
987 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
988 for the reason.
989
5aca4f71 9902012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
991
992 Avoid superfluous registering of signals. (Bug#10807)
993
994 * notifications.el (notifications-on-action-object)
995 (notifications-on-close-object): New defvars.
996 (notifications-on-action-signal, notifications-on-closed-signal):
997 Unregister the signal if not needed any longer.
998 (notifications-notify): Register `notifications-action-signal' or
999 `notifications-closed-signal', if :on-action or :on-close has been
1000 passed as argument.
1001
78e8b10a
CY
10022012-03-07 Chong Yidong <cyd@gnu.org>
1003
1004 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1005 non-X platforms.
1006
69481eb8
GM
10072012-03-06 Glenn Morris <rgm@gnu.org>
1008
1009 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1010 (x-disown-selection-internal, x-get-selection-internal):
1011 Doc fix (add arglist signatures). (Bug#10783)
1012
133b8e11
KS
10132012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1014
1015 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1016 Handle breakpoints with no "type".
1017
99a83064
GM
10182012-03-06 Glenn Morris <rgm@gnu.org>
1019
1020 * files.el (locate-dominating-file): Add optional predicate argument.
1021 (dir-locals-find-file): Make use of above change.
1022
17798e78
TTN
10232012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1024
1025 * info.el (Info-insert-dir): Also try "dir.gz".
1026
eb182446
GM
10272012-03-06 Glenn Morris <rgm@gnu.org>
1028
8f2114ee
GM
1029 * files.el (dir-locals-find-file):
1030 Ignore non-readable or non-regular files. (Bug#10928)
1031
eb182446
GM
1032 * files.el (locate-dominating-file): Doc fix.
1033
24679323
AS
10342012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1035
1036 * calendar/calendar.el (calendar-set-mode-line):
1037 `getenv' returns a string. (Bug#10951)
1038
01d972a9
LL
10392012-03-05 Leo Liu <sdl.web@gmail.com>
1040
109aa8a9
LL
1041 * simple.el (backward-delete-char-untabify): Constrain point to
1042 field (Bug#10939).
1043
01d972a9
LL
1044 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1045
10607bea
CY
10462012-03-05 Chong Yidong <cyd@gnu.org>
1047
1048 * simple.el (count-words): If called from Lisp, return the word
1049 count, for symmetry with `count-lines'. Arglist changed.
1050 (count-words--message): Args changed. Consolidate counting code
1051 from count-words and count-words-region.
1052 (count-words-region): Caller changed.
1053 (count-lines-region): Make it an obsolete alias.
1054
5dd11cfe
TH
10552012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1056
1057 * saveplace.el (save-place-to-alist)
1058 (save-place-ignore-files-regexp): Allow value nil to disable this
1059 feature.
1060
c349f4e6
CY
10612012-03-04 Chong Yidong <cyd@gnu.org>
1062
1063 * faces.el (face-spec-reset-face): For the default face, reset the
1064 attributes to default values (Bug#10748).
1065
e627be4c
LMI
10662012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1067
1068 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1069 previous patch: Check `message-send-mail-function', and not the
1070 default function (bug#10897).
1071
ebeabff4
MA
10722012-03-04 Michael Albinus <michael.albinus@gmx.de>
1073
a41a6cf4
MA
1074 * notifications.el (notifications-on-action-signal)
1075 (notifications-on-closed-signal): Check for unique service name of
1076 incoming event. Fix error in removing entry.
ebeabff4 1077 (top): Register for signals with wildcard service name.
a41a6cf4 1078 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 1079
c1ca42b4
CY
10802012-03-04 Chong Yidong <cyd@gnu.org>
1081
dc9924b8 1082 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 1083
ea16568d
GM
10842012-03-04 Glenn Morris <rgm@gnu.org>
1085
1086 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1087 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1088 (expand-abbrev, define-abbrev-table): Doc fixes.
1089
fbae4637
LMI
10902012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1091
1092 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1093 `message-default-send-mail-function' and not `send-mail-function'
1094 when doing the prompting for `sendmail-query-once' before sending
1095 in Message buffers (bug#10897).
1096
a1e7225c
LMI
1097 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1098 This is inconsistent with all the other stream functions, which leave
1099 the setting up to the higher levels (if so wanted) (bug#10931).
1100
56d093a9
AM
11012012-03-02 Alan Mackenzie <acm@muc.de>
1102
1103 Depessimize the handling of very large macros.
1104
1105 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1106 (c-macro-cache-syntactic): New variables to implement a one
1107 element macro cache.
1108 (c-invalidate-macro-cache): New function.
1109 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1110 Adapt to use the new cache.
1111 (c-state-safe-place): Use better the cache of safe positions.
1112 (c-state-semi-nonlit-pos-cache)
1113 (c-state-semi-nonlit-pos-cache-limit):
1114 New variables for...
1115 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1116 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
1117 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1118 Use c-state-semi-safe-place.
56d093a9 1119
dbbc2e69
SM
1120 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1121 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 1122
817e5c3d
MA
11232012-03-02 Michael Albinus <michael.albinus@gmx.de>
1124
dbbc2e69
SM
1125 * jka-compr.el (jka-compr-call-process):
1126 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
1127 not remote.
1128
a032a702
MA
11292012-03-01 Michael Albinus <michael.albinus@gmx.de>
1130
1131 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1132 access of FILE2, if FILE1 does not exist.
1133
99a54f21
MA
1134 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1135 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1136
1137 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1138 Add "PAGER=" to `process-environment'.
1139
f6561e1f
MM
11402012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1141
1142 * progmodes/sql.el: Bug fix
1143 (sql-get-login-ext): Save login values in globals.
1144 (sql-get-login): Use new version of `sql-get-login-ext'.
1145 (sql-interactive-mode): Set global `sql-connection' to nil.
1146 (sql-connect): Set global values for connection.
1147 (sql-product-interactive): Save global values as buffer local.
1148
2d44d9cc
LL
11492012-02-29 Leo Liu <sdl.web@gmail.com>
1150
1151 * abbrev.el (define-abbrevs): Reset sys to nil.
1152
96b49301 11532012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1154
bf7f9bc5
JB
1155 * files.el (file-equal-p): Rename from `files-equal-p'.
1156 Return nil when one or both files don't exist.
96b49301 1157 (file-subdir-of-p): Now only top directory must exists,
1158 return nil if it doesn't.
bf7f9bc5
JB
1159 (copy-directory): No need to test with `file-subdir-of-p' after
1160 creating dir.
1161 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1162 to `file-equal-p'.
96b49301 1163
44e97401
GM
11642012-02-28 Glenn Morris <rgm@gnu.org>
1165
1166 * shell.el (shell-mode):
1167 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1168 * play/landmark.el (landmark-font-lock-face-O):
1169 * play/handwrite.el (handwrite):
1170 * play/gomoku.el (gomoku-O):
1171 * net/browse-url.el (browse-url-browser-display):
1172 * international/mule.el (define-charset):
1173 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1174 * filesets.el (filesets-find-file-delay):
1175 * eshell/em-xtra.el (eshell-xtra):
1176 * eshell/em-unix.el (eshell-grep):
1177 * emulation/viper.el (viper-mode):
1178 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1179 * emacs-lisp/easymenu.el (easy-menu-define):
1180 * calendar/timeclock.el (timeclock-use-display-time):
1181 * bs.el (bs-mode):
1182 * bookmark.el (bookmark-save-flag):
1183 Doc fix (standardize possessive apostrophe usage).
1184
c98c6276
CY
11852012-02-27 Chong Yidong <cyd@gnu.org>
1186
bf7f9bc5
JB
1187 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1188 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 1189
c98c6276
CY
1190 * font-lock.el (font-lock-specified-p): Rename from
1191 font-lock-spec-present. Callers changed.
1192
9c62cd04 11932012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 1194
bf7f9bc5
JB
1195 * emacs-lisp/package.el (package-compute-transaction):
1196 Handle holding a package version to t in package-load-list.
8ac9e529 1197
530739c9
MA
11982012-02-26 Michael Albinus <michael.albinus@gmx.de>
1199
1200 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1201 (tramp-get-inode, tramp-get-device): Use cached values.
1202
487915d7
AM
12032012-02-26 Alan Mackenzie <acm@muc.de>
1204
1205 Check there is a font-lock specification before doing initial
1206 fontification.
1207
1208 * font-core.el (font-lock-mode): Move the conditional from
1209 :after-hook to font-lock-initial-fontify.
1210 (font-lock-default-function): Move the check for a specification
1211 to font-lock-spec-present.
1212
dc9924b8 1213 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
1214 (font-lock-spec-present): New function.
1215
4fd96557
JB
12162012-02-26 Jim Blandy <jimb@red-bean.com>
1217
1218 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1219 (gdb-send): Apply it to the operand of the '-interpreter-exec
1220 console' command, so that we can pass arguments with (say) quotes
1221 in them. Store exact string sent in gdb-debug-log (Bug#10765).
1222
9a4888c0
CY
12232012-02-26 Chong Yidong <cyd@gnu.org>
1224
07498861
CY
1225 * help-fns.el (describe-function-1): Clarify description of
1226 remapping (Bug#10844).
1227
9a4888c0
CY
1228 * files.el (files-equal-p): Doc fix.
1229 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
1230 and quit the loop once a mismatch is found.
1231
ea8fb88d
JB
12322012-02-25 Juanma Barranquero <lekktu@gmail.com>
1233
1234 * bs.el (bs--show-with-configuration): Don't throw an error
1235 if the window cannot be split; otherwise, subsequent calls to
1236 bs-show fail, restoring a stale window config. (Bug#10882)
1237
525795c1
JD
12382012-02-25 Jan Djärv <jan.h.d@swipnet.se>
1239
1240 * term/ns-win.el (global-map): Bind ns-drag-file to
1241 ns-find-file (Bug#5855, Bug#10050).
1242
f008086f
AS
12432012-02-25 Andreas Schwab <schwab@linux-m68k.org>
1244
1245 * calendar/parse-time.el (parse-time-string): Allow extractor to
1246 return nil.
1247
a3fcfa99
MA
12482012-02-25 Michael Albinus <michael.albinus@gmx.de>
1249
91027d08
JB
1250 * net/tramp.el (tramp-file-name-for-operation):
1251 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
1252
1253 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
1254 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1255 Add COPY-CONTENTS argument.
a3fcfa99 1256
67b0de11
CY
12572012-02-25 Chong Yidong <cyd@gnu.org>
1258
1259 Add custom groups for VC backends, for consistency with vc-bzr.
1260
1261 * vc/vc-arch.el (vc-arch):
1262 * vc/vc-cvs.el (vc-cvs):
1263 * vc/vc-git.el (vc-git):
1264 * vc/vc-hg.el (vc-hg):
1265 * vc/vc-mtn.el (vc-mtn):
1266 * vc/vc-rcs.el (vc-rcs):
1267 * vc/vc-sccs.el (vc-sccs):
1268 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1269 All relevant defcustoms reassigned.
1270
3c9dfce6
CY
12712012-02-25 Chong Yidong <cyd@gnu.org>
1272
1339bf43
CY
1273 * newcomment.el (comment-styles): Add autoload (Bug#10868).
1274
3c9dfce6
CY
1275 * term/x-win.el (x-initialize-window-system): Reduce default for
1276 x-selection-timeout to 5 seconds (Bug#8869).
1277
53a46cd0 12782012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 1279
53a46cd0 1280 * files.el (file-subdir-of-p): Fix typo.
14a8a663 1281
25b2e303 12822012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1283
ec70a47d
GM
1284 * files.el (files-equal-p, file-subdir-of-p): New functions.
1285 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 1286 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
1287 * dired-aux.el (dired-copy-file-recursive): Same.
1288 (dired-create-files): Modify destination when source is equal to
1289 dest when copying files.
53a46cd0 1290 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 1291
914260cd
MA
12922012-02-24 Michael Albinus <michael.albinus@gmx.de>
1293
1294 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1295 (Bug#10874)
1296
2cb228f7
AM
12972012-02-23 Alan Mackenzie <acm@muc.de>
1298
1299 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1300 parameter "after-hook:" to allow the expansion to run code after
1301 the execution of the mode hooks.
1302
1303 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 1304 from font-lock-mode-internal.
2cb228f7 1305
91027d08 1306 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
1307 :after-hook.
1308
8f0fde21
SM
13092012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1310
3e88618b
SM
1311 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1312 (completion--cache-all-sorted-completions): New function.
1313 (completion-all-sorted-completions): Use it.
1314 (completion--do-completion, minibuffer-force-complete):
1315 Use it to re-instate the flush hook.
1316
8f0fde21
SM
1317 * icomplete.el (icomplete-completions): Replace last fix with a better
1318 one (bug#10850).
1319
8e911f6f
DG
13202012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1321
1322 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1323 when it might call us back infinitely (bug#10797).
1324
49fe4321
GM
13252012-02-23 Glenn Morris <rgm@gnu.org>
1326
1327 * minibuffer.el (completion-category-overrides): Doc fix.
1328
b291b572
SM
13292012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1330
1331 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1332 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1333
31a9ef2e
GM
13342012-02-23 Glenn Morris <rgm@gnu.org>
1335
5e6e6794 1336 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
1337 (authors-obsolete-files-regexps, authors-ignored-files)
1338 (authors-ambiguous-files, authors-renamed-files-alist):
1339 Add more entries.
1340
0bd1e074
JL
13412012-02-23 Juri Linkov <juri@jurta.org>
1342
1343 * isearch.el (isearch-occur): Sync interactive spec with occur's
1344 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1345
b617673c
JL
1346 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1347
19e9789e
JL
13482012-02-22 Juri Linkov <juri@jurta.org>
1349
1350 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1351 (ucs-insert): Doc fix. Check for hex digits in the string.
1352 Don't display `nil' in the error message. (Bug#10857)
1353
f41ce09d
AM
13542012-02-22 Alan Mackenzie <acm@muc.de>
1355
7a71b18d 1356 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 1357
ac2eceee
GM
13582012-02-22 Glenn Morris <rgm@gnu.org>
1359
1360 * ffap.el (ffap-c-path):
1361 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1362
abd1f678
CY
13632012-02-22 Chong Yidong <cyd@gnu.org>
1364
1365 * custom.el (load-theme): Doc fix.
1366
f25aef2e
GM
13672012-02-22 Glenn Morris <rgm@gnu.org>
1368
1369 * dired-x.el (dired-guess-shell-alist-default):
1370 Remove escape sequences from nroff output. (Bug#172)
1371
5f8dc2ca
GM
13722012-02-21 Glenn Morris <rgm@gnu.org>
1373
6ff86ec4
GM
1374 * vc/emerge.el (emerge-defvar-local):
1375 Set `permanent-local' property rather than unused `preserved'.
1376
be3223a3 1377 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
1378 (picture-mode-map): Use it. (Bug#10860)
1379 (picture-mode): Doc fix.
1380
3fe58f4f
JB
13812012-02-21 Juanma Barranquero <lekktu@gmail.com>
1382
1383 * newcomment.el (uncomment-region-default): Remove unused binding.
1384
f9a998c3
GM
13852012-02-21 Glenn Morris <rgm@gnu.org>
1386
1387 * textmodes/picture.el (picture-motion, picture-motion-reverse)
1388 (picture-self-insert, picture-tab-chars): Doc fix.
1389 (picture-mode-map): Fix C-a, C-e.
1390
c6029348
GM
13912012-02-20 Glenn Morris <rgm@gnu.org>
1392
1393 * emacs-lisp/authors.el (authors-aliases): Add another entry.
1394
ab1ce9d7
LL
13952012-02-20 Leo Liu <sdl.web@gmail.com>
1396
1397 * icomplete.el (icomplete-completions): Check FROM arg before
1398 passing to substring (Bug#10850).
1399
0fd40f89
CY
14002012-02-19 Chong Yidong <cyd@gnu.org>
1401
1402 * comint.el: Require ansi-color.
1403 (comint-output-filter-functions): Add ansi-color-process-output.
1404
1405 * ansi-color.el: Don't set comint-output-filter-functions; it is
1406 now in the initial value defined in comint.el.
1407 (ansi-color-apply-face-function): New variable.
1408 (ansi-color-apply-on-region): Use it.
1409 (ansi-color-apply-overlay-face): New function.
1410
1411 * shell.el (shell): No need to require ansi-color.
1412 (shell-mode): Use ansi-color-apply-face-function to highlight
1413 color escapes using font-lock-face property (Bug#10835).
1414
20af2394
CY
14152012-02-19 Chong Yidong <cyd@gnu.org>
1416
1417 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1418 mode-line formats (Bug#10839).
1419
e23a3fbe
GM
14202012-02-18 Glenn Morris <rgm@gnu.org>
1421
b474519e
GM
1422 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1423
1424 * mail/undigest.el (unforward-rmail-message): Doc fix.
1425
e23a3fbe
GM
1426 * saveplace.el (save-place-ignore-files-regexp): Add :version.
1427
57939ff4
EZ
14282012-02-18 Eli Zaretskii <eliz@gnu.org>
1429
1430 * international/characters.el (script-list): Sync with the latest
1431 Unicode Character Database.
1432
0c23686e
AS
14332012-02-18 Andreas Schwab <schwab@linux-m68k.org>
1434
1435 * international/titdic-cnv.el: Remove duplicate coding tag.
1436 * language/cham.el: Likewise.
1437 * language/tai-viet.el: Likewise.
1438
6818b449
GM
14392012-02-18 Glenn Morris <rgm@gnu.org>
1440
1441 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1442 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1443 (calendar-bahai-all-holidays-flag, calendar-other-dates):
1444 * calendar/diary-lib.el (diary-abbreviated-year-flag):
1445 * calendar/holidays.el (holiday-bahai-holidays)
1446 (calendar-holidays, list-holidays):
1447 Use utf-8 Bahá'í in doc-strings, menus, etc.
1448
0311a3fc
TH
14492012-02-17 Tassilo Horn <tassilo@member.fsf.org>
1450
1451 * saveplace.el (save-place-ignore-files-regexp): New variable
1452 allowing for excluding files from saving their location of point.
1453 The default value matches the temporary commit message editing
1454 files from Git, SVN, Bazaar, and Mercurial.
1455 (save-place-to-alist): Use it.
1456
eb864a71
LM
14572012-02-17 Lawrence Mitchell <wence@gmx.li>
1458 Stefan Monnier <monnier@iro.umontreal.ca>
1459
1460 * newcomment.el (uncomment-region-default): Don't leave extra space
1461 when an arg is provided (bug#8150).
1462
ee0ce425
TZ
14632012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1464
eb864a71 1465 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 1466
95ddf442
GM
14672012-02-17 Glenn Morris <rgm@gnu.org>
1468
1469 * net/socks.el: Require network-stream. (Bug#10599)
1470
48dd1e39 14712012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
1472
1473 * international/charprop.el:
1474 * international/uni-name.el:
1475 * international/uni-old-name.el:
1476 * international/uni-comment.el: Regenerate.
1477
d68cd087
GM
14782012-02-16 Glenn Morris <rgm@gnu.org>
1479
1480 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1481 Interactively in calendar buffer, give an error if not on a date.
1482
13932042
GM
14832012-02-15 Glenn Morris <rgm@gnu.org>
1484
1485 * shell.el (shell-delimiter-argument-list):
1486 Revert 2011-02-17 change. (Bug#8027)
1487
c3a70e2b
CY
14882012-02-15 Chong Yidong <cyd@gnu.org>
1489
60236b0d
CY
1490 * minibuffer.el (completion-at-point-functions): Doc fix.
1491
c3a70e2b
CY
1492 * custom.el (defcustom): Doc fix; note use of defvar.
1493
9f26dc24
GM
14942012-02-15 Glenn Morris <rgm@gnu.org>
1495
1496 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1497 Doc fixes.
1498
6546b134
GM
14992012-02-14 Glenn Morris <rgm@gnu.org>
1500
1501 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1502
d29b2b4c
LI
15032012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
1504
1505 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1506 way the ports list is computed.
835bdcba
LI
1507 (smtpmail-query-smtp-server): Prompt the user for a port number if
1508 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 1509
08dcdbc9
TZ
15102012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
1511
1512 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1513
2605051a
GM
15142012-02-13 Glenn Morris <rgm@gnu.org>
1515
1516 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
1517
7ee99f32
TZ
15182012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1519
1520 * net/gnutls.el (gnutls-trustfiles): New variable.
1521 (gnutls-negotiate): Use it.
1522
5f0af64f
LI
15232012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1524
1525 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1526 does its stuff if Gnus is running.
1527
c14fcc95
AM
15282012-02-13 Alan Mackenzie <acm@muc.de>
1529
1530 Fix a loop in c-set-fl-decl-start.
1531
7a71b18d 1532 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
1533 c-backward-syntactic-ws actually moves backwards.
1534
142b4d90
LL
15352012-02-13 Leo Liu <sdl.web@gmail.com>
1536
1537 * net/rcirc.el (rcirc-markup-attributes): Move point to the
1538 beginning so that all \C-o chars are removed.
1539
fa9958a6
TZ
15402012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1541
dc9924b8 1542 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 1543
0bc5886a
AM
15442012-02-12 Alan Mackenzie <acm@muc.de>
1545
1546 Fix infinite loop with long macros.
1547 * cc-engine.el (c-state-safe-place): Handle macros properly.
1548
d4bd55e7
CY
15492012-02-12 Chong Yidong <cyd@gnu.org>
1550
1551 * window.el (display-buffer): Doc fix (Bug#10785).
1552
66f3fe22
GM
15532012-02-12 Glenn Morris <rgm@gnu.org>
1554
bd7da63e
GM
1555 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1556 (x-disown-selection-internal, x-get-selection-internal):
1557 Sync docs with the xselect.c versions.
1558
66f3fe22
GM
1559 * allout-widgets.el: Add missing license notice.
1560
3e0d2fa7
GM
15612012-02-11 Glenn Morris <rgm@gnu.org>
1562
cfecdf09
GM
1563 * select.el (x-get-selection-internal, x-own-selection-internal)
1564 (x-disown-selection-internal):
1565 * x-dnd.el (x-get-selection-internal): Update declarations.
1566
6d216d7f
GM
1567 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1568
2bed3f04
GM
1569 * window.el (window-sides-slots):
1570 * tool-bar.el (tool-bar-position):
1571 * term/xterm.el (xterm-extra-capabilities):
1572 * ses.el (ses-self-reference-early-detection):
1573 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1574 (verilog-auto-wire-type)
1575 (verilog-auto-delete-trailing-whitespace)
1576 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1577 (verilog-auto-tieoff-declaration):
1578 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1579 (sql-oracle-statement-starters, sql-oracle-scan-on):
1580 * progmodes/prolog.el (prolog-align-comments-flag)
1581 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1582 (prolog-left-indent-regexp, prolog-paren-indent-p)
1583 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1584 (prolog-types, prolog-mode-specificators)
1585 (prolog-determinism-specificators, prolog-directives)
1586 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1587 (prolog-electric-dot-flag)
1588 (prolog-electric-dot-full-predicate-template)
1589 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1590 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1591 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1592 (prolog-program-switches, prolog-prompt-regexp)
1593 (prolog-debug-on-string, prolog-debug-off-string)
1594 (prolog-trace-on-string, prolog-trace-off-string)
1595 (prolog-zip-on-string, prolog-zip-off-string)
1596 (prolog-use-standard-consult-compile-method-flag)
1597 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1598 (prolog-imenu-max-lines, prolog-info-predicate-index)
1599 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1600 (prolog-char-quote-workaround):
1601 * progmodes/cc-vars.el (c-defun-tactic):
1602 * net/tramp.el (tramp-encoding-command-interactive)
1603 (tramp-local-end-of-line):
1604 * net/soap-client.el (soap-client):
1605 * net/netrc.el (netrc-file):
1606 * net/gnutls.el (gnutls):
1607 * minibuffer.el (completion-category-overrides)
1608 (completion-cycle-threshold)
1609 (completion-pcm-complete-word-inserts-delimiters):
1610 * man.el (Man-name-local-regexp):
1611 * mail/feedmail.el (feedmail-display-full-frame):
1612 * international/characters.el (glyphless-char-display-control):
1613 * eshell/em-ls.el (eshell-ls-date-format):
1614 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1615 (lisp-lambda-list-keyword-parameter-indentation)
1616 (lisp-lambda-list-keyword-parameter-alignment):
1617 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1618 * dired-x.el (dired-omit-verbose):
1619 * cus-theme.el (custom-theme-allow-multiple-selections):
1620 * calc/calc.el (calc-highlight-selections-with-faces)
1621 (calc-lu-field-reference, calc-lu-power-reference)
1622 (calc-note-threshold):
1623 * battery.el (battery-mode-line-limit):
1624 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1625 (archive-7z-update):
1626 * allout.el (allout-prefixed-keybindings)
1627 (allout-unprefixed-keybindings)
1628 (allout-inhibit-auto-fill-on-headline)
1629 (allout-flattened-numbering-abbreviation):
1630 * allout-widgets.el (allout-widgets-auto-activation)
1631 (allout-widgets-icons-dark-subdir)
1632 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1633 (allout-widgets-theme-dark-background)
1634 (allout-widgets-theme-light-background)
1635 (allout-widgets-item-image-properties-emacs)
1636 (allout-widgets-item-image-properties-xemacs)
1637 (allout-widgets-run-unit-tests-on-load)
1638 (allout-widgets-time-decoration-activity)
1639 (allout-widgets-hook-error-post-time)
1640 (allout-widgets-track-decoration):
1641 Add missing :version tags to new defcustoms and defgroups.
1642
5fec1b8e
GM
1643 * progmodes/sql.el (sql-ansi-statement-starters)
1644 (sql-oracle-statement-starters): Add custom type.
1645
3e0d2fa7
GM
1646 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1647 (prolog-system-version): Give it a type.
1648
90b671e2
EZ
16492012-02-11 Eli Zaretskii <eliz@gnu.org>
1650
1651 * term/pc-win.el (x-select-text, x-selection-owner-p)
1652 (x-own-selection-internal, x-disown-selection-internal)
1653 (x-get-selection-internal): Sync doc strings and argument lists
1654 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1655
5eac0c02
LL
16562012-02-11 Leo Liu <sdl.web@gmail.com>
1657
1658 * progmodes/python.el (python-end-of-statement): Fix infinite
1659 loop. (Bug#10788)
1660
f82cb659
GM
16612012-02-10 Glenn Morris <rgm@gnu.org>
1662
1663 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1664 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1665
cc26d239
LI
16662012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1667
1668 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1669 about SMTP before checking the From header.
1670
91027d08 1671 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
1672 into own function for reuse by emacsbug.el.
1673
1be3ca5a
LL
16742012-02-10 Leo Liu <sdl.web@gmail.com>
1675
1676 * subr.el (condition-case-unless-debug): Rename from
1677 condition-case-no-debug. All callers changed.
1678 (with-demoted-errors): Fix caller.
1679
1680 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1681 * nxml/rng-valid.el (rng-do-some-validation):
1682 * emacs-lisp/package.el (package-refresh-contents)
1683 (package-menu-execute):
1684 * desktop.el (desktop-create-buffer):
91027d08 1685 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 1686
b011fbfe
GM
16872012-02-10 Glenn Morris <rgm@gnu.org>
1688
b2096d72
GM
1689 * textmodes/bibtex.el:
1690 Add missing :version tags for new/changed defcustoms.
1691
b011fbfe
GM
1692 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1693
4c7e65bf
LI
16942012-02-09 Lars Ingebrigtsen <larsi@rusty>
1695
1696 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1697 (smtpmail-via-smtp): Use it, or fall back on the From address.
1698 (smtpmail-send-it): Ditto.
1699
f3934f6f
SM
17002012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1701
1702 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1703 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1704 (byte-compile-tmp-var): New const.
1705 (byte-compile-defvar): Use it to minimize .elc size.
1706 Just use `defvar' rather than simulate it (bug#10761).
1707
a075a2c5
GM
17082012-02-09 Glenn Morris <rgm@gnu.org>
1709
cf3aa21b
GM
1710 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1711
354998cd
GM
1712 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1713 Add :version tags.
1714
dc9924b8
SM
1715 * progmodes/compile.el (compilation-error-screen-columns)
1716 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 1717
dab3703d
GM
1718 * vc/log-view.el (log-view-toggle-entry-display):
1719 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1720
3f88cd72
GM
1721 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1722 (report-emacs-bug-can-use-xdg-email):
1723 (report-emacs-bug-insert-to-mailer): Doc fixes.
1724 (report-emacs-bug): Message fix.
1725
d95b247d
GM
1726 * net/browse-url.el (browse-url-can-use-xdg-open)
1727 (browse-url-xdg-open): Doc fixes.
1728
a075a2c5
GM
1729 * electric.el (electric-indent-mode, electric-pair-mode)
1730 (electric-layout-rules, electric-layout-mode): Doc fixes.
1731 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1732
ffb6157e
MR
17332012-02-08 Martin Rudalics <rudalics@gmx.at>
1734
1735 * server.el (server-unselect-display): Don't inadvertently kill
1736 the current buffer. (Bug#10729)
1737
e1ac4066
GM
17382012-02-08 Glenn Morris <rgm@gnu.org>
1739
34e8a2da
GM
1740 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1741 (sql-list-table): Doc fixes.
1742
b4ac6e8c
GM
1743 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1744 Comment out (does nothing).
1745
e1ac4066
GM
1746 * completion.el (dynamic-completion-mode):
1747 * dirtrack.el (dirtrack-debug-mode):
1748 * electric.el (electric-layout-mode):
1749 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1750 * face-remap.el (text-scale-mode, buffer-face-mode):
1751 * iimage.el (iimage-mode):
1752 * image-mode.el (image-transform-mode):
1753 * minibuffer.el (completion-in-region-mode):
1754 * scroll-lock.el (scroll-lock-mode):
1755 * simple.el (next-error-follow-minor-mode):
1756 * tar-mode.el (tar-subfile-mode):
1757 * tooltip.el (tooltip-mode):
1758 * vcursor.el (vcursor-use-vcursor-map):
1759 * wid-browse.el (widget-minor-mode):
1760 * emulation/tpu-edt.el (tpu-edt-mode):
1761 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1762 * international/iso-ascii.el (iso-ascii-mode):
1763 * language/thai-util.el (thai-word-mode):
1764 * mail/supercite.el (sc-minor-mode):
1765 * net/goto-addr.el (goto-address-mode):
1766 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1767 * progmodes/cwarn.el (cwarn-mode):
1768 * progmodes/flymake.el (flymake-mode):
1769 * progmodes/glasses.el (glasses-mode):
1770 * progmodes/hideshow.el (hs-minor-mode):
1771 * progmodes/pascal.el (pascal-outline-mode):
1772 * textmodes/enriched.el (enriched-mode):
1773 * vc/smerge-mode.el (smerge-mode):
1774 Doc fixes (minor mode argument).
1775
5e0d957f
EZ
17762012-02-07 Eli Zaretskii <eliz@gnu.org>
1777
1778 * ls-lisp.el (ls-lisp-sanitize): New function.
1779 (ls-lisp-insert-directory): Use it to fix or remove any elements
1780 in file-alist with missing attributes. (Bug#4673)
1781
98d7371e
AM
17822012-02-07 Alan Mackenzie <acm@muc.de>
1783
1784 Fix spurious recognition of c-in-knr-argdecl.
1785
1786 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1787 putative K&R region.
1788
667ced3a
AM
17892012-02-07 Alan Mackenzie <acm@muc.de>
1790
eb864a71
LM
1791 * progmodes/cc-engine.el (c-forward-objc-directive):
1792 Prevent looping in "#pragma mark @implementation".
667ced3a 1793
5b77774d
MA
17942012-02-07 Michael Albinus <michael.albinus@gmx.de>
1795
1796 * notifications.el (notifications-on-closed-signal): Make `reason'
1797 optional. (Bug#10744)
1798
af008560
GM
17992012-02-07 Glenn Morris <rgm@gnu.org>
1800
60d47423
GM
1801 * emacs-lisp/easy-mmode.el (define-minor-mode):
1802 Doc fixes for the macro and the mode it defines.
1803
dd605cc4
GM
1804 * image.el (imagemagick-types-inhibit): Doc fix.
1805
af008560
GM
1806 * cus-start.el (imagemagick-render-type): Add it.
1807
5cc59a37
LI
18082012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1809
1810 * progmodes/cc-mode.el
1811 (c-standard-font-lock-fontify-region-function): Set the default at
1812 load time, too, so that `font-lock-fontify-buffer' can be called
1813 without setting up the entire mode first. This fixes a bug in
1814 `mm-inline-text' with C MIME parts.
1815
9a6dd747
CY
18162012-02-06 Chong Yidong <cyd@gnu.org>
1817
2d16b285
CY
1818 * simple.el (list-processes--refresh): Delete exited processes
1819 (Bug#8094).
1820
171e9b6e
CY
1821 * comint.el (comint-next-prompt): next-single-char-property-change
1822 and prev-single-char-property-change never return nil (Bug#8657).
1823
9a6dd747
CY
1824 * custom.el (defcustom): Doc fix (Bug#9711).
1825
aa4589a7
CY
18262012-02-05 Chong Yidong <cyd@gnu.org>
1827
5c2a252f
CY
1828 * cus-edit.el (custom-variable-reset-backup): Quote the value
1829 before storing it in the customized-value property (Bug#6712).
4aab9006 1830 (custom-display): Add a customization type tag.
983b9602 1831 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 1832
aa4589a7
CY
1833 * wid-edit.el (widget-field-value-get): New optional arg to
1834 suppress trailing whitespace truncation.
1835 (character): Use it (Bug#2689).
1836
1ff980ae
AS
18372012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1838
1839 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1840 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1841
03988c98
CY
18422012-02-05 Chong Yidong <cyd@gnu.org>
1843
eeb6cc88
CY
1844 * cus-edit.el (custom-variable-value-create): For mismatched
1845 types, show the current value (Bug#7600).
1846
03988c98
CY
1847 * custom.el (defcustom): Doc fix.
1848
f8cdeef0
GM
18492012-02-05 Glenn Morris <rgm@gnu.org>
1850
1851 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1852
0696d255
JB
18532012-02-05 Juanma Barranquero <lekktu@gmail.com>
1854
1855 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1856 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1857 (pp-last-sexp): Use `looking-at-p'.
1858
34c99998
GM
18592012-02-04 Glenn Morris <rgm@gnu.org>
1860
8f05da42
GM
1861 * files.el (revert-buffer):
1862 Doc fix (mention revert-buffer-in-progress-p).
1863
f160676e
GM
1864 * emacs-lisp/ert-x.el (ert-simulate-command):
1865 Check deferred-action-list (which is obsolete) is bound.
1866
c7291ad9
GM
1867 * subr.el (with-wrapper-hook): Doc fixes.
1868
34c99998
GM
1869 * simple.el (filter-buffer-substring-functions)
1870 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1871
6283a7d3
LL
18722012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1873
1874 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1875 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1876
e96e3013
LL
18772012-02-04 Leo Liu <sdl.web@gmail.com>
1878
1879 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1880
8ded50f2
GM
18812012-02-04 Glenn Morris <rgm@gnu.org>
1882
82ff1d13
GM
1883 * image.el (image-extension-data): Add obsolete alias.
1884
987a0a16
GM
1885 * isearch.el (isearch-update): Doc fix.
1886
ea32ef46
GM
1887 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1888
8ded50f2
GM
1889 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1890
eea14f31
GM
18912012-02-03 Glenn Morris <rgm@gnu.org>
1892
1893 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1894 (image-animate-timeout): Doc fix.
1895
1896 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1897
12f381b7
GM
18982012-02-02 Glenn Morris <rgm@gnu.org>
1899
953cebf5
GM
1900 * server.el (server-auth-dir): Doc fix.
1901 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1902
12f381b7
GM
1903 * subr.el (run-mode-hooks): Doc fix.
1904
953a8c3b
JL
19052012-02-02 Juri Linkov <juri@jurta.org>
1906
1907 * image-mode.el (image-toggle-display-image): Remove tautological
1908 `major-mode' from the `derived-mode-p' test.
1909
c5d3843c
KH
19102012-02-02 Kenichi Handa <handa@m17n.org>
1911
9f6e692e 1912 * composite.el (compose-region): Cancel previous change.
c5d3843c 1913
159462d4 19142012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
1915
1916 * composite.el (compose-region, compose-string): Signal error for
1917 a null string component (Bug#6988).
1918
9f562668
CY
19192012-02-01 Chong Yidong <cyd@gnu.org>
1920
e2cef717
CY
1921 * view.el (view-buffer-other-window, view-buffer-other-frame):
1922 Handle special modes like view-buffer (Bug#10650).
1923 (view-buffer): Simplify.
1924
9f562668
CY
1925 * frame.el (set-frame-font): Tweak meaning of third argument.
1926
9f6e692e
JB
1927 * dynamic-setting.el (font-setting-change-default-font):
1928 Use set-frame-font (Bug#9982).
9f562668 1929
781acb9f
GM
19302012-02-01 Glenn Morris <rgm@gnu.org>
1931
6035be52
GM
1932 * progmodes/compile.el (compilation-internal-error-properties):
1933 Respect compilation-first-column in the "*compilation*" buffer.
1934
781acb9f
GM
1935 * emacs-lisp/easy-mmode.el (define-minor-mode):
1936 Relax :variable's test for a named function.
1937
abbceb00
AM
19382012-01-31 Alan Mackenzie <acm@muc.de>
1939
1940 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1941 off by one error.
1942
fce3fdeb
CY
19432012-01-31 Chong Yidong <cyd@gnu.org>
1944
1945 * frame.el (set-frame-font): New arg ALL-FRAMES.
1946
1947 * menu-bar.el (menu-set-font): Use set-frame-font.
1948
1949 * faces.el (face-spec-reset-face): Don't apply unspecified
1950 attribute values to the default face.
1951
47893581
JB
19522012-01-31 Juanma Barranquero <lekktu@gmail.com>
1953
1954 * progmodes/cwarn.el (cwarn): Remove dead link.
1955 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1956 Remove * from defcustom docstrings.
1957 (turn-on-cwarn-mode): Make obsolete.
1958 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1959 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1960
e58e988a
GM
19612012-01-31 Glenn Morris <rgm@gnu.org>
1962
60dc2671 1963 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 1964 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 1965 Allow named functions to be used as the cdr of :variable.
e58e988a 1966
7a3f511d
GM
19672012-01-30 Glenn Morris <rgm@gnu.org>
1968
1969 * emacs-lisp/authors.el (authors-fixed-entries):
1970 Remove reference to deleted file rnewspost.el.
1971
cb882333
JB
19722012-01-29 Juanma Barranquero <lekktu@gmail.com>
1973
1974 * window.el (window-with-parameter): Remove unused variable `windows'.
1975 (window--side-check): Remove unused variable `code'.
1976 (window--resize-siblings): Remove unused variable `first'.
1977 (adjust-window-trailing-edge): Remove unused variable `failed'.
1978 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1979 Use `let', not `let*'.
1980 (balance-windows-2): Remove unused variable `found'.
1981 (window--state-put-2): Remove unused variable `splits'.
1982 (window-state-put): Remove unused variable `selected'.
1983 (same-window-p): Use `string-match-p'.
1984 (display-buffer-assq-regexp): Remove unused variable `value'.
1985 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1986 Mark argument ALIST as ignored.
1987 (pop-to-buffer): Remove unused variable `old-window'.
1988
907201af
EZ
19892012-01-29 Eli Zaretskii <eliz@gnu.org>
1990
1991 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1992 and .lzma compressed files.
1993
ea162670
CY
19942012-01-29 Chong Yidong <cyd@gnu.org>
1995
5b95ee8a
CY
1996 * frame.el (window-system-default-frame-alist): Doc fix.
1997
ea162670
CY
1998 * dynamic-setting.el (font-setting-change-default-font): Don't
1999 change the default face if SET-FONT argument is non-nil (Bug#9982).
2000
d6e6f4b1
SB
20012012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2002
2003 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2004
0f29fa41 20052012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
2006
2007 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2008 breakpoints in files outside current directory (Bug#6098).
2009
db174434
CY
20102012-01-29 Chong Yidong <cyd@gnu.org>
2011
6b25e4e2
SE
2012 * progmodes/python.el: Require ansi-color at top-level.
2013
6df6ae42
JB
2014 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2015 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
2016 (lisp-mode-abbrev-table): Add doc.
2017 (lisp-mode-variables): Don't set local-abbrev-table.
2018 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2019
e70ee681
RW
20202012-01-28 Roland Winkler <winkler@gnu.org>
2021
2022 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2023
ace88aa2
RW
20242012-01-28 Roland Winkler <winkler@gnu.org>
2025
2026 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2027 (bibtex-set-dialect): Use it. Either set global values of
2028 dialect-dependent variables or bind these variables buffer-locally
2029 (Bug#10254).
2030 (bibtex-mode): Call bibtex-set-dialect via
2031 hack-local-variables-hook.
eb864a71
LM
2032 (bibtex-dialect): Update docstring.
2033 Add safe-local-variable predicate.
ace88aa2
RW
2034 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2035 bibtex-set-dialect.
2036 (bibtex-mode-map): Define menu for each dialect.
2037 (bibtex-entry): Fix docstring.
2038
93376c5b
CY
20392012-01-28 Chong Yidong <cyd@gnu.org>
2040
2041 * eshell/esh-arg.el (eshell-quote-argument): New function.
2042
2043 * eshell/esh-ext.el (eshell-invoke-batch-file):
2044 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2045 first arg to eshell-parse-command (Bug#10523).
2046
4372494f
DA
20472012-01-28 Drew Adams <drew.adams@oracle.com>
2048
2049 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2050 `default-directory' is non-nil.
2051
4d4ec1f8
EZ
20522012-01-28 Eli Zaretskii <eliz@gnu.org>
2053
2054 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2055 line that displays system-configuration-options. (Bug#9924)
2056
7c188927
DA
20572012-01-28 Drew Adams <drew.adams@oracle.com>
2058
2059 * descr-text.el (describe-char): Show information about POS, in
2060 addition to information about the character at POS. Improve and
2061 update the doc string. Change "code point" to "code point in
2062 charset", to avoid confusion with the character's Unicode code
2063 point shown above that. (Bug#10129)
2064
e0da685a
EZ
20652012-01-28 Eli Zaretskii <eliz@gnu.org>
2066
2067 * descr-text.el (describe-char): Show the raw character, not only
2068 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2069 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2070 for the reasons.
2071
70550acf
PH
20722012-01-28 Phil Hagelberg <phil@hagelb.org>
2073
eb864a71
LM
2074 * emacs-lisp/package.el (package-install):
2075 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 2076
0ce8e868
CY
20772012-01-28 Chong Yidong <cyd@gnu.org>
2078
cb882333
JB
2079 * emacs-lisp/package.el (package-maybe-load-descriptor):
2080 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
2081 (package-maybe-load-descriptor): Use it.
2082 (package-download-transaction): Fully load required packages
2083 inside the loop, so that `require' calls work (Bug#10593).
2084 (package-install): No need to call package-initialize now.
2085
2e7f3bea
CY
20862012-01-28 Chong Yidong <cyd@gnu.org>
2087
6e9bad14
CY
2088 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2089
f823b8ca
CY
2090 * tooltip.el (tooltip-mode): Doc fix.
2091 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2092
2680c309
CY
2093 * frame.el (set-cursor-color): Doc fix (Bug#352).
2094
d7a9e63b
CY
2095 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2096 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2097
2e7f3bea
CY
2098 * cus-edit.el (custom-buffer-create-internal): Fix search button
2099 action (Bug#10542).
2ae01800 2100 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 2101
fc4f7a23
EW
21022012-01-27 Eduard Wiebe <usenet@pusto.de>
2103
2104 * dired.el (dired-mark-files-regexp):
2105 Include any subdirectory components. (Bug#10445)
2106
7dd37071
ML
21072012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2108
2109 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2110 Handle [host]:port syntax. (Bug#10533)
2111
a268160b
AH
21122012-01-27 Alex Harsanyi <harsanyi@mac.com>
2113
2114 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2115
e43273ef
GM
21162012-01-26 Glenn Morris <rgm@gnu.org>
2117
2118 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2119 * term.el (term-raw-escape-map): Use Control-X-prefix.
2120 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2121
1edf595d
MR
21222012-01-25 Martin Rudalics <rudalics@gmx.at>
2123
2124 * window.el (window-state-get, window--state-get-1): Don't deal
2125 with fixed-sizeness of windows. Simplify code.
2126
fa8eafef
JC
21272012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2128
6df6ae42
JB
2129 * window.el (window--state-get-1, window--state-put-2):
2130 Don't save and restore the mark.
fa8eafef 2131
0b21c100
CY
21322012-01-25 Chong Yidong <cyd@gnu.org>
2133
2134 * custom.el (custom-variable-p): Doc fix.
2135
5ae1a6c8
GM
21362012-01-25 Glenn Morris <rgm@gnu.org>
2137
40047858
GM
2138 * dired.el (dired-goto-file): Handle some of the more common
2139 characters that `ls -b' escapes. (Bug#10596)
2140
5ddce96c
GM
2141 * progmodes/compile.el (compilation-next-error-function):
2142 Respect compilation-first-column in the "*compilation*" buffer.
2143 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2144
5ae1a6c8
GM
2145 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2146
b559f1a9
GM
21472012-01-24 Glenn Morris <rgm@gnu.org>
2148
2149 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2150
6725d21a
JD
21512012-01-24 Julien Danjou <julien@danjou.info>
2152
2153 * color.el (color-rgb-to-hsl): Fix value computing.
2154 (color-hue-to-rgb): New function.
2155 (color-hsl-to-rgb): New function.
2156 (color-clamp, color-saturate-hsl, color-saturate-name)
2157 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2158 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2159
70df4bbe
GM
21602012-01-24 Glenn Morris <rgm@gnu.org>
2161
2162 * vc/vc-rcs.el (vc-rcs-create-tag):
2163 * vc/vc-sccs.el (vc-sccs-create-tag):
2164 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2165
802a2ae2
ML
21662012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2167
2168 * eshell/esh-util.el (eshell-read-hosts-file):
2169 Skip comment lines. (Bug#10549)
2170
d7128bb1
ML
2171 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2172
d1a5c3b4
JB
21732012-01-23 Juanma Barranquero <lekktu@gmail.com>
2174
2724d9c7
JB
2175 * subr.el (display-delayed-warnings): Doc fix.
2176 (collapse-delayed-warnings): New function to collapse identical
2177 adjacent warnings.
2178 (delayed-warnings-hook): Add it.
d1a5c3b4 2179
a5509865
MA
21802012-01-22 Michael Albinus <michael.albinus@gmx.de>
2181
2182 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2183
2184 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2185 properties, when "login-as" is set.
2186
2187 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2188 (tramp-default-user-alist): Don't add "pscp".
2189 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2190 property "login-as", if set. (Bug#10530)
2191
cc6d5805
MA
21922012-01-21 Michael Albinus <michael.albinus@gmx.de>
2193
2194 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2195 "plink1" and "psftp". (Bug#10530)
2196
21972012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
2198
2199 * international/mule-cmds.el (prefer-coding-system): Show a
2200 warning message if the default value of file-name-coding-system
2201 was not changed.
2202
f0960428
JC
22032012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2204
cb882333
JB
2205 * windmove.el (windmove-reference-loc):
2206 Fix windmove-reference-loc miscalculation.
f0960428 2207
dd6f2a63
JB
22082012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2209
2210 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2211 default unit.
2212
7b447e9b
GM
22132012-01-21 Glenn Morris <rgm@gnu.org>
2214
117a9ea1
GM
2215 * international/mule.el (auto-coding-alist): Add .tbz.
2216
7b447e9b
GM
2217 * files.el (local-enable-local-variables): Doc fix.
2218 (inhibit-local-variables-regexps): Rename from
2219 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
2220 Doc fix. Add some extensions from auto-coding-alist.
2221 (inhibit-local-variables-suffixes):
2222 Rename from inhibit-first-line-modes-suffixes. Doc fix.
2223 (inhibit-local-variables-p):
2224 New function, extracted from set-auto-mode-1.
2225 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
2226 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
2227 (hack-local-variables): Doc fix. Make the mode-only case
2228 respect enable-local-variables and friends.
2229 Respect inhibit-local-variables-regexps for file-locals, but
2230 not for directory-locals.
2231 (set-visited-file-name):
2232 Take account of inhibit-local-variables-regexps.
2233 Whether it applies may change as the file name is changed.
2234 * jka-cmpr-hook.el (jka-compr-install):
2235 * jka-compr.el (jka-compr-uninstall):
2236 Update for inhibit-first-line-modes-suffixes name change.
2237
dd6e3cdd
MR
22382012-01-20 Martin Rudalics <rudalics@gmx.at>
2239
2240 * help-macro.el (make-help-screen): Temporarily restore original
2241 binding for minor-mode-map-alist (Bug#10454).
2242
0d0deb38
JD
22432012-01-19 Julien Danjou <julien@danjou.info>
2244
2245 * color.el (color-name-to-rgb): Use the white color to find the max
2246 color component value and return correctly computed values.
2247 (color-name-to-rgb): Add missing float conversion for max value.
2248
34a02f46
MR
22492012-01-19 Martin Rudalics <rudalics@gmx.at>
2250
2251 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
2252 special state value for window-persistent-parameters.
2253 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
2254 (window--state-put-2): Reset all window parameters to nil before
2255 assigning values of persistent parameters.
2256
606c44c4
AM
22572012-01-18 Alan Mackenzie <acm@muc.de>
2258
2259 Eliminate sluggishness and hangs in fontification of "semicolon
2260 deserts".
2261
cb882333
JB
2262 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2263 Change value 10000 -> 3000.
606c44c4
AM
2264 (c-state-safe-place): Reformulate so it doesn't stack up an
2265 infinite number of wrong entries in c-state-nonlit-pos-cache.
2266 (c-determine-limit-get-base, c-determine-limit): New functions to
2267 determine backward search limits disregarding literals.
2268 (c-find-decl-spots): Amend commenting.
2269 (c-cheap-inside-bracelist-p): New function which detects "={".
2270
2271 * progmodes/cc-fonts.el
2272 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2273 backward search.
2274 (c-font-lock-declarations): Fix an occurrence of point being
2275 undefined. Check additionally for point being in a bracelist or
2276 near a macro invocation without a semicolon so as to avoid a
2277 fruitless time consuming search for a declarator. Give a more
2278 precise search limit for declarators using the new
2279 c-determine-limit.
2280
f3860cea
GM
22812012-01-18 Glenn Morris <rgm@gnu.org>
2282
2283 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2284 (set-auto-mode): Doc fixes.
2285
1db03b16
GM
22862012-01-17 Glenn Morris <rgm@gnu.org>
2287
0e6038be
GM
2288 * isearch.el (search-nonincremental-instead): Fix doc typo.
2289
1db03b16
GM
2290 * dired.el (dired-insert-directory): Handle newlines in directory name.
2291 (dired-build-subdir-alist): Unescape newlines in directory name.
2292
4cb0aa75
MA
22932012-01-17 Michael Albinus <michael.albinus@gmx.de>
2294
2295 * net/tramp.el (tramp-local-end-of-line): New defcustom.
2296 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2297 (tramp-action-terminal): Use it. (Bug#10530)
2298
1d00653d
SM
22992012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2300
2301 * minibuffer.el (completion--replace): Strip properties (bug#10062).
2302
6a6ee00d
MR
23032012-01-16 Martin Rudalics <rudalics@gmx.at>
2304
2305 * window.el (window-state-ignored-parameters): Remove variable.
2306 (window--state-get-1): Rename argument MARKERS to IGNORE.
2307 Handle persistent window parameters. Make copy of clone-of
2308 parameter only if requested. (Bug#10348)
2309 (window--state-put-2): Install a window parameter only if it has
2310 a non-nil value or an existing parameter shall be overwritten.
2311
97912def
MA
23122012-01-15 Michael Albinus <michael.albinus@gmx.de>
2313
2314 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2315
688070a5
EZ
23162012-01-14 Eli Zaretskii <eliz@gnu.org>
2317
2318 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2319 don't pass the (nil) value of `upnode' to string-match.
2320
301afadc
CY
23212012-01-14 Chong Yidong <cyd@gnu.org>
2322
2323 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 2324 Fix values recognized by the cursorBlink resource.
301afadc 2325
9e5788aa
PE
23262012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2327
2328 * epg.el (epg--make-temp-file): Avoid permission race condition
2329 when running on old Emacs versions (bug#10403).
2330
3cdb7f5a
GM
23312012-01-14 Glenn Morris <rgm@gnu.org>
2332
2333 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2334
8c82b1b4
AM
23352012-01-13 Alan Mackenzie <acm@muc.de>
2336
2337 Fix filling for when filladapt mode is enabled.
2338
2339 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2340 c-mask-paragraph, pass in `fill-paragraph' rather than
2341 `fill-region-as-paragraph'. (This is a reversion of a previous
2342 change.)
eb864a71
LM
2343 * progmodes/cc-mode.el (c-basic-common-init):
2344 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 2345
e517eda4
GM
23462012-01-13 Glenn Morris <rgm@gnu.org>
2347
1498536e
GM
2348 * dired.el (dired-switches-escape-p): New function.
2349 (dired-insert-directory): Use dired-switches-escape-p.
2350 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2351
e517eda4
GM
2352 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2353
328f984d
GM
23542012-01-12 Glenn Morris <rgm@gnu.org>
2355
2356 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2357 changes in adaptive-fill-regexp. (Bug#10276)
2358
2cc769a8
AM
23592012-01-11 Alan Mackenzie <acm@muc.de>
2360
2361 Fix Emacs bug #10463 - put `widen's around the critical spots.
2362
1d00653d 2363 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
2364 widen around each invocation of c-state-pp-to-literal. Remove an
2365 unused let variable.
2366
e52c37fa
GM
23672012-01-11 Glenn Morris <rgm@gnu.org>
2368
2369 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 2370 Doc fix.
e52c37fa 2371
96f8741e
CY
23722012-01-10 Chong Yidong <cyd@gnu.org>
2373
1d00653d
SM
2374 * net/network-stream.el (network-stream-open-starttls):
2375 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
2376 response to the capability command.
2377
b09a806e
GM
23782012-01-10 Glenn Morris <rgm@gnu.org>
2379
2380 * mail/unrmail.el (unrmail): Tweak previous change.
2381
7655cb66
CY
23822012-01-09 Chong Yidong <cyd@gnu.org>
2383
2384 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2385
9d5a8f0b
AM
23862012-01-08 Alan Mackenzie <acm@muc.de>
2387
2388 Optimise font locking in long enum definitions.
2389
2390 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2391 arm to a cond form to handle enums.
2392 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2393 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2394
9a0115ab 23952012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
2396
2397 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 2398 (Bug#10401)
6bb72cbd 2399
f186bb95
LMI
24002012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2401
29232a68
LMI
2402 * faces.el (set-face-attribute): Clarify the meaning of the nil
2403 frame (bug#10294).
2404
4e5d086d
LMI
2405 * subr.el (with-selected-frame): Mention that the selected frame
2406 is restored (bug#9980).
2407
8e66aebe
LMI
2408 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2409 (bug#9759).
2410
cd394be1 2411 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
2412 (password-read): Don't autoload unused function.
2413
adf4e762
JB
24142012-01-07 Juanma Barranquero <lekktu@gmail.com>
2415
2416 * progmodes/which-func.el (which-func-mode): Turn into a
2417 non-interactive function and mark as obsolete (bug#10428).
2418
89bd9ccd
CY
24192012-01-06 Chong Yidong <cyd@gnu.org>
2420
2421 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2422 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2423 functions, along with 1 and -1.
2424
4afee9d5
EZ
24252012-01-06 Eli Zaretskii <eliz@gnu.org>
2426
2427 * time.el (display-time-load-average)
2428 (display-time-default-load-average): Doc fixes. See the thread
2429 starting at
2430 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2431 for the details.
2432
536aea70
GM
24332012-01-06 Glenn Morris <rgm@gnu.org>
2434
665ae865
GM
2435 * mail/unrmail.el (unrmail): Give an explicit error if the input file
2436 has no messages. (Bug#10377)
2437
c869783d
GM
2438 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2439 than Info-edit. (Bug#10385)
2440
2bb4227e
GM
2441 * time.el (display-time-load-average, display-time-next-load-average):
2442 Doc fixes.
2443
7d5944b9
GM
2444 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2445 local setting of buffer-read-only to the input buffer. (Bug#10419)
2446
536aea70
GM
2447 * calendar/calendar.el (calendar-mode):
2448 Locally set scroll-margin to 0. (Bug#10379)
2449
7dccca16
UM
24502012-01-06 Ulrich Mueller <ulm@gentoo.org>
2451
2452 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
2453
afbb7930
GM
24542012-01-05 Glenn Morris <rgm@gnu.org>
2455
2456 * eshell/em-unix.el (diff-no-select): Autoload it.
2457 (eshell/diff): Use diff-no-select. (Bug#10420)
2458
04482335
CY
24592012-01-05 Chong Yidong <cyd@gnu.org>
2460
7baca3bc
CY
2461 * shell.el (shell-dynamic-complete-functions): Revert last change.
2462 (shell-command-completion-function): New function.
2463 (shell-completion-vars): Use it to implement
2464 shell-completion-execonly (Bug#10417).
2465
04482335
CY
2466 * custom.el (enable-theme): Don't set custom-safe-themes.
2467
1d00653d
SM
2468 * cus-theme.el (custom-theme-merge-theme):
2469 Ignore custom-enabled-themes and custom-safe-themes.
04482335 2470
bb5aa5d6
MM
24712012-01-05 Michael R. Mauger <mmaug@yahoo.com>
2472
2473 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2474 first prompt in `sql-interacive-mode'.
2475 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 2476 keywords.
6df6ae42 2477 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
2478 (sql-product-interactive): Bug fix: Set `sql-buffer' in
2479 context of original buffer. Invoke `sql-login-hook'.
2480
a7183d7c
EZ
24812012-01-04 Eli Zaretskii <eliz@gnu.org>
2482
2483 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2484 letters in cite-prefix.
2485
a1eacd1e
LMI
24862012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2487
2488 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2489
787cdb34
CY
24902012-01-03 Chong Yidong <cyd@gnu.org>
2491
1d00653d
SM
2492 * shell.el (shell-dynamic-complete-functions):
2493 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
2494 comint-filename-completion first (Bug#10417).
2495
30710442
RS
24962012-01-02 Richard Stallman <rms@gnu.org>
2497
2498 * battery.el (battery-status-function):
2499 Detect when to use battery-yeeloong-sysfs.
2500 (battery-echo-area-format): Add string for Yeeloong.
2501 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2502 (battery-yeeloong-sysfs): New function.
2503
f75bfc33
CY
25042012-01-02 Chong Yidong <cyd@gnu.org>
2505
2506 * dirtrack.el (dirtrack-list): Eliminate unused third element.
2507 (dirtrack): Merge code for handling relative filenames in prompt
2508 from shell-dir-cookie-watcher.
2509 (dirtrack-debug-message): New arg to avoid excess format calls.
2510
2511 * shell.el (shell-dir-cookie-re): Variable deleted.
2512 (shell-dir-cookie-watcher): Function deleted.
2513 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2514 with dirtrack-mode.
2515
651e947e
EZ
25162012-01-01 Eli Zaretskii <eliz@gnu.org>
2517
1d00653d
SM
2518 * term/w32-win.el (dynamic-library-alist) <gnutls>:
2519 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
2520 libgnutls-26.dll.
2521
94d4c7dc
AS
25222011-12-31 Andreas Schwab <schwab@linux-m68k.org>
2523
2524 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2525
8d43f3cd
EZ
25262011-12-31 Eli Zaretskii <eliz@gnu.org>
2527
2528 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2529 headers of non-MIME messages, when rmail-enable-mime is non-nil.
2530
98c8795a
MA
25312011-12-29 Michael Albinus <michael.albinus@gmx.de>
2532
2533 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2534 also for alternative shells.
2535 (tramp-open-connection-setup-interactive-shell): Check, whether
2536 the shell is a busybox.
2537 (tramp-send-command): Don't suppress multiple prompts for
2538 busyboxes, it hurts.
2539
51281b32
CY
25402011-12-28 Chong Yidong <cyd@gnu.org>
2541
2542 * progmodes/gdb-mi.el (gdb-get-source-file-list)
2543 (gdb-get-source-file): Move mode line update to
2544 gdb-get-source-file (Bug#10087).
2545
2170cb53
CY
25462011-12-25 Chong Yidong <cyd@gnu.org>
2547
2548 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2549 gud-gdb-marker-filter without taking it as an argument.
2550 (gud-gdb-run-command-fetch-lines): Caller changed.
2551 (gud-gdb-completion-function): New variable.
2552 (gud-gdb-completion-at-point): Use it.
2553 (gud-gdb-completions-1): Split from gud-gdb-completions.
2554
2555 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2556 function as separate arguments.
2557 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2558 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2559 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2560 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2561 (gdb-stopped, def-gdb-auto-update-trigger)
2562 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
2563 (gdb-get-changed-registers, gdb-get-main-selected-frame):
2564 Callers changed.
2170cb53
CY
2565 (gud-gdbmi-completions): New function.
2566 (gdb): Use it for generating the completion table.
2567
be8b11bb
AM
25682011-12-24 Alan Mackenzie <acm@muc.de>
2569
2570 Introduce a mechanism to widen the region used in context font
1d00653d 2571 locking. Use this to protect declarations from losing their contexts.
be8b11bb 2572
1d00653d
SM
2573 * progmodes/cc-langs.el (c-before-font-lock-functions):
2574 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 2575 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
2576 functions to be run just before context (etc.) font locking.
2577
2578 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 2579 New, functionality extracted from
be8b11bb 2580 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 2581 (c-in-after-change-fontification): New variable.
be8b11bb
AM
2582 (c-after-change): Set c-in-after-change-fontification.
2583 (c-set-fl-decl-start): Rejig its interface, so it can be called
2584 from both after-change and context fontifying.
b81d40f0
JB
2585 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2586 New functions.
2587 (c-standard-font-lock-fontify-region-function): New variable.
2588 (c-font-lock-fontify-region): New function.
be8b11bb 2589
341cf6ac
JL
25902011-12-24 Juri Linkov <juri@jurta.org>
2591
2592 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2593 (Bug#10348)
2594
bffcee0a
MA
25952011-12-23 Michael Albinus <michael.albinus@gmx.de>
2596
2597 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2598 existence of source file. (Bug#10325)
2599
cb5e207c
AM
26002011-12-23 Alan Mackenzie <acm@muc.de>
2601
2602 Fix unstable fontification inside templates.
2603
b81d40f0
JB
2604 * progmodes/cc-langs.el (c-before-font-lock-functions):
2605 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
2606 additionally has c-set-fl-decl-start. The other languages (apart
2607 from AWK) have that as a single entry.
2608
b81d40f0
JB
2609 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2610 The functionality for "local" declarations has been extracted to
cb5e207c
AM
2611 c-set-fl-decl-start.
2612
b81d40f0
JB
2613 * progmodes/cc-mode.el (c-common-init, c-after-change):
2614 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
2615 (c-set-fl-decl-start): New function, extracted from
2616 c-font-lock-enclosing-decls and enhanced.
2617
60ff536c
JB
26182011-12-23 Juanma Barranquero <lekktu@gmail.com>
2619
2620 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2621
1c4757d6
JL
26222011-12-22 Juri Linkov <juri@jurta.org>
2623
2624 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
2625
d031f2c7
CY
26262011-12-22 Chong Yidong <cyd@gnu.org>
2627
2628 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2629
bace743a
DA
26302011-12-21 Drew Adams <drew.adams@oracle.com>
2631
2632 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2633
728a1f2b
JC
26342011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2635
2636 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2637
0d373f73
TZ
26382011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2639
fec0aaa4
TZ
2640 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2641 highlighting and support. Fix up comments for capitalization.
2642 (cfengine-mode-debug): New var.
2643 (cfengine3-mode): Change the modeline indicator to "CFE3".
2644 (cfengine3-font-lock-keywords): Improve defun highlighting.
2645 (cfengine2-actions): Rename from `cfengine-actions'.
2646 (cfengine2-font-lock-keywords): Rename from
2647 `cfengine-font-lock-keywords'.
2648 (cfengine2-imenu-expression): Rename from
2649 `cfengine-imenu-expression'.
2650 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2651 (cfengine2-beginning-of-defun): Rename from
2652 `cfengine-beginning-of-defun'.
2653 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2654 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2655 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2656 modeline indicator to "CFE2".
2657 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2658 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 2659
bc86f573
CY
26602011-12-21 Chong Yidong <cyd@gnu.org>
2661
2662 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2663 filename argument.
2664
d45ba96b
MR
26652011-12-20 Martin Rudalics <rudalics@gmx.at>
2666
2667 * window.el (window-normalize-buffer-to-display): Remove.
2668 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2669
a6198c90
CY
26702011-12-19 Chong Yidong <cyd@gnu.org>
2671
2672 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2673 Don't signal an error in a predicate function; return non-nil.
2674 (vc-dir-mark-file): Move the error here.
2675 (vc-dir-mark-unmark): If acting on the region, keep going if one
2676 of the entries cannot be marked/unmarked.
2677 (vc-dir-mark-all-files): If current entry is a directory, mark
2678 only child files, as documented.
2679
34c5fb55
VB
26802011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2681
2682 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2683 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2684 addition.
2685
c803b2b7
JD
26862011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2687
2688 * term/ns-win.el (ns-get-selection-internal)
2689 (ns-store-selection-internal): Declare.
1154d12e
JB
2690 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2691 Declare as obsolete.
2692 (ns-get-pasteboard, ns-paste-secondary):
2693 Use ns-get-selection-internal.
2694 (ns-set-pasteboard, ns-copy-including-secondary):
2695 Use ns-store-selection-internal.
c803b2b7 2696
9cff91f8 26972011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
2698
2699 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 2700 (vc-deduce-fileset): Doc fix.
99a289d9 2701
f16c898a
AS
27022011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2703
2704 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2705
763237c4
SS
27062011-12-13 Sam Steingold <sds@gnu.org>
2707
2708 * man.el (Man-getpage-in-background): When running under a
2709 window-system, ignore $MANWIDTH and $COLUMNS.
2710
5fc1c122
KH
27112011-12-15 Kenichi Handa <handa@m17n.org>
2712
2713 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2714 (setup-ethiopic-environment-internal): Comment out key-binding for
2715 ethio-toggle-punctuation.
2716
13d49cbb
AM
27172011-12-13 Alan Mackenzie <acm@muc.de>
2718
898169a2
AM
2719 Add the switch statement to AWK Mode.
2720
7a71b18d 2721 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
2722 "default" to the keywords regexp.
2723
7a71b18d 2724 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 2725 expression as the rest.
1d00653d
SM
2726 (c-nonlabel-token-key): Allow string literals for AWK.
2727 Refactor for the other modes.
898169a2 2728
13d49cbb 2729 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 2730 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
2731 routines. Limit backward searching in c-font-lock-enclosing.decl.
2732
2733 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2734 pp-state and literal type in addition to the limits.
1d00653d 2735 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 2736 (c-state-literal-at): Use the above new defun.
1d00653d
SM
2737 (c-slow-in-literal, c-fast-in-literal): Remove.
2738 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
2739
2740 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2741 being in a literal. Add a limit for backward searching.
2742
2743 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2744 c-slow-in-literal.
2745
15e0efc7
SM
27462011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2747
2748 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2749
454592a6
MR
27502011-12-13 Martin Rudalics <rudalics@gmx.at>
2751
2752 * window.el (delete-other-windows): Use correct frame in call to
2753 window-with-parameter.
2754
87393f26
DP
27552011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2756
2757 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2758 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2759 (makefile-gmake-statements, makefile-makepp-statements):
2760 Use it and add new makepp keywords.
2761 (makefile-makepp-font-lock-keywords): Add new patterns.
2762 (makefile-match-function-end): Match new [...] and [[...]].
2763
11636b22
JB
27642011-12-11 Juanma Barranquero <lekktu@gmail.com>
2765
2766 * ses.el (ses-call-printer-return, ses-cell-property-get)
2767 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2768 (ses-create-cell-variable, ses-reset-header-string)
2769 (ses-cell-set-formula, ses-repair-cell-reference-all)
2770 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2771 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2772 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2773 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2774 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2775 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2776 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2777 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2778 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2779 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2780 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2781 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2782
cf018193
VB
27832011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2784
2785 * ses.el: The overall change is to add cell renaming, that is
2786 setting fancy names for cell symbols other than name matching
2787 "\\`[A-Z]+[0-9]+\\'" regexp .
2788 (ses-create-cell-variable): New defun.
2789 (ses-relocate-formula): Relocate formulas only for cells the
2790 symbols of which are not renamed, i.e. symbols whose names do not
2791 match regexp "\\`[A-Z]+[0-9]+\\'".
2792 (ses-relocate-all): Relocate values only for cells the symbols of
2793 which are not renamed.
2794 (ses-load): Create cells variables as the (ses-cell ...) are read,
2795 in order to check row col consistency with cell symbol name only
2796 for cells that are not renamed.
2797 (ses-replace-name-in-formula): New defun.
2798 (ses-rename-cell): New defun.
2799
ee957461
CY
28002011-12-11 Chong Yidong <cyd@gnu.org>
2801
2802 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2803 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2804
9a9e9ef0
MR
28052011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2806
2807 * window.el (other-window): Fix docstring.
2808
92a8eba5
EZ
28092011-12-10 Eli Zaretskii <eliz@gnu.org>
2810
2811 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
2812 `from' or `to' address before taking its substring.
2813 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
2814 encoded name is chopped in the middle of the encoded string, and
2815 thus displayed encoded.
2816
e152e577
JB
28172011-12-10 Juanma Barranquero <lekktu@gmail.com>
2818
2819 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2820
e5d84bfe
EZ
28212011-12-10 Eli Zaretskii <eliz@gnu.org>
2822
2823 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2824 to use texinfo-update-node and commands that call it if the
2825 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 2826 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
2827 (texinfo-all-menus-update, texinfo-master-menu)
2828 (texinfo-update-node, texinfo-every-node-update)
2829 (texinfo-multiple-files-update): Doc fix. Warn against updating
2830 all the @node lines.
2831 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
2832 argument is numeric. Explain better in the doc string what the
2833 function really does.
2834 (texinfo-insert-master-menu-list): Improve the error message
2835 displayed if there's no menu in the Top node.
2836 (Bug#2975) See also this thread:
e5d84bfe
EZ
2837 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2838
1d84e9bb
MG
28392011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2840
2841 * speedbar.el (speedbar-supported-extension-expressions):
2842 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2843
382c953b
JB
28442011-12-09 Juanma Barranquero <lekktu@gmail.com>
2845
2846 * printing.el (pr-mode-alist):
2847 * simple.el (filter-buffer-substring-functions)
2848 (completion-list-insert-choice-function):
2849 * window.el (window-with-parameter, window-atom-root)
2850 (window-sides-slots, window-size-fixed, window-min-delta)
2851 (window-max-delta, window--resize-mini-window)
2852 (window--resize-child-windows-normal, window-tree)
2853 (delete-other-windows, quit-window, split-window)
2854 (display-buffer-record-window, special-display-buffer-names)
2855 (special-display-regexps, special-display-popup-frame)
2856 (same-window-p, split-window-sensibly)
2857 (display-buffer-overriding-action, display-buffer-alist)
2858 (display-buffer-base-action, display-buffer, switch-to-buffer)
2859 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2860 (fit-window-to-buffer, recenter-positions)
2861 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2862 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2863 and remove unneeded backslashes in docstrings.
2864
39c9faef
SM
28652011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2866
98449af8
SM
2867 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2868
39c9faef
SM
2869 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2870 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2871 end in ".mk".
2872 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2873 when reading the makefile (bug#10116).
2874
86ed9fdc
SM
28752011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2876
2877 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2878 (bug#10116).
2879
5580f89d
GM
28802011-12-06 Glenn Morris <rgm@gnu.org>
2881
2882 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2883
28d3917c
CY
28842011-12-06 Chong Yidong <cyd@gnu.org>
2885
2886 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2887
a98edce9
JB
28882011-12-06 Juanma Barranquero <lekktu@gmail.com>
2889
2890 * textmodes/table.el (table-shorten-cell): Fix typo.
2891
e65adfac
CG
28922011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2893
2894 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2895
71cc0b74
EZ
28962011-12-05 Eli Zaretskii <eliz@gnu.org>
2897
2898 * descr-text.el (describe-char): Fix display of strong
2899 right-to-left characters and directional embeddings and overrides.
2900
2901 * simple.el (what-cursor-position): Fix display of codepoints of
2902 strong right-to-left characters.
2903
315bc30d
CY
29042011-12-05 Chong Yidong <cyd@gnu.org>
2905
2906 * faces.el (read-color): Doc fix.
2907
58a70b94
GM
29082011-12-05 Glenn Morris <rgm@gnu.org>
2909
2910 * align.el (align--set-marker): Add doc-string.
2911 Don't try to move something that is not a marker. (Bug#10216)
2912
5158face
GM
29132011-12-04 Glenn Morris <rgm@gnu.org>
2914
2915 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2916 overly zealous deletion of trailing whitespace.
2917
520fca41
JB
29182011-12-04 Juanma Barranquero <lekktu@gmail.com>
2919
2920 * server.el (server-delete-client): On Windows, do not try to delete
2921 the only terminal.
2922 (server-process-filter): On Windows, treat requests for a tty frame as
2923 if they were for a GUI frame if the running server is in GUI mode.
2924
5e605a2e
GM
29252011-12-03 Glenn Morris <rgm@gnu.org>
2926
2927 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2928
5c3fe83f
SM
29292011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2930
6f5e57e7
SM
2931 * electric.el: Streamline electric-indent's hook.
2932 (electric-indent-chars): Revert to simple list.
2933 (electric-indent-functions): New var.
2934 (electric-indent-post-self-insert-function): Use it.
2935
5c3fe83f
SM
2936 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2937 there's no inferior buffer (bug#10196).
2938 (prolog-consult-compile): Don't use toggle-read-only.
2939
6bdac736
MA
29402011-12-02 Michael Albinus <michael.albinus@gmx.de>
2941
2942 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2943 interrupt. (Bug#10187)
2944
6131ba7f
SM
29452011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2946
99c79fee
SM
2947 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2948 (bug#9160).
2949
6131ba7f
SM
2950 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2951 (bug#10191).
2952
cb0a02ea
JL
29532011-12-02 Juri Linkov <juri@jurta.org>
2954
2955 * info.el (Info-search): Display "end of manual" when Isearch
2956 reaches the end of single-file Info manual. (Bug#9918)
2957
66e0570c
EZ
29582011-12-02 Eli Zaretskii <eliz@gnu.org>
2959
2960 * isearch.el (isearch-message-prefix): Run the input method part
2961 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2962
02b16839
JL
29632011-12-02 Juri Linkov <juri@jurta.org>
2964
2965 * isearch.el (isearch-occur): Use `word-search-regexp' for
2966 `isearch-word'.
2967 (isearch-search-and-update): Add condition for `isearch-word' and
2968 call `word-search-regexp'. (Bug#10145)
2969
0b950688
GM
29702011-12-01 Glenn Morris <rgm@gnu.org>
2971
2972 * eshell/em-hist.el (eshell-hist-initialize):
2973 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 2974 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 2975
9505c3c7
SM
29762011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2977
2978 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2979
1bbe96b2 29802011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 2981
a1beca85
SM
2982 * progmodes/verilog-mode.el (verilog-pretty-expr):
2983 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
2984 verilog, such as += *= and the like.
2985 (verilog-assignment-operator-re): Regular expression to find the
2986 assigment operator in a verilog assignment.
2987 (verilog-assignment-operation-re): Regular expression to find an
2988 assignment statement for pretty-expr.
2989 (verilog-in-attribute-p): Query returns true if point is in an
2990 attribute context; used to skip these for expression line up from
2991 pretty-expr.
2992 (verilog-in-parameter-p): Query returns true if point is in an
2993 parameter definition context; used to skip these for expression
2994 line up from pretty-expr.
2995 (verilog-in-parenthesis-p): Query returns true if point is in a
2996 parenthetical expression, specifically ( ) but not [ ] or { };
2997 used by pretty-expr.
2998 (verilog-just-one-space): If there is no space, don't add one.
2999 (verilog-get-lineup-indent-2): Specifically skip just attribute
3000 contexts for expression lineup, rather than skipping all
3001 parenthetical expressions.
3002 (verilog-calculate-indent): Fix comment, and fix indent.
3003 (verilog-do-indent): Indent declarations in lists (suggested by
3004 Joachim Lechner).
3005 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3006 skeleton items.
3007 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3008 by Alain Mellan).
3009
1bbe96b2 30102011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
3011
3012 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3013 parameters with embedded comments. Reported by Ray Stevens.
3014 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3015 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3016 Reported by Tim Holt.
3017 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3018 instantiated by upper module causing wrong expansion until AUTOed a
3019 second time. Reported by K C Buckenmaier.
3020 (verilog-diff-auto): Fix showing .* as a difference when
3021 `verilog-auto-star-save' off. Reported by Dan Dever.
3022 (verilog-auto-reset, verilog-read-always-signals)
3023 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3024 temporary signals in reset list if
3025 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
3026 style to each signal's assignment type, bug381.
3027 Reported by Thomas Esposito.
6288f0ca
WS
3028 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3029 (verilog-uvm-statement-re): Support UVM indentation and
3030 highlighting, with old OVM keywords only.
a1beca85 3031 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
3032 Support AUTOTIEOFF creating non-wire data types.
3033 Suggested by Jonathan Greenlaw.
6288f0ca
WS
3034 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3035 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3036 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
3037 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3038 Fix mismatching parenthesis inside commented out code when deleting
382c953b 3039 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
3040 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3041 non-numeric vector width. Reported by Alex Reed.
3042 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 3043 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
3044 (verilog-auto-delete-trailing-whitespace):
3045 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
3046 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3047 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3048 Fix verilog-scan-cache corruption when running user AUTO expansion
3049 hooks that call indentation routines.
3050 (verilog-simplify-range-expression): Fix typo ignoring lower case
3051 identifiers.
3052 (verilog-delete-auto): Fix delete-autos to also remove user created
3053 automatics, as long as they start with AUTO.
3054 (verilog-batch-diff-auto, verilog-diff-auto)
3055 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3056 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3057 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3058 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
3059 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3060 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
3061 is disabled and its cache will get corrupt, causing AUTOS not to
3062 expand. Instead use only -quick functions.
3063 (verilog-scan-region): Fix scanning over escaped quotes.
3064 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3065 (verilog-re-search-backward-quick)
3066 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3067 related functions now ignore strings, to fix misparsing of strings
3068 with magic comments embedded in them.
a1beca85
SM
3069 (verilog-read-auto-template):
3070 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3071 Reported by Brad Dobbie.
3072 (verilog-read-auto-template):
3073 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 3074 Reported by Brad Dobbie.
6288f0ca
WS
3075 (verilog-auto-inst, verilog-auto-inst-param)
3076 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3077 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3078 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
3079 debugging templates without merge conflicts, bug357.
3080 Reported by Brad Dobbie.
3081 (verilog-read-auto-template):
3082 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
3083 Reported by Brad Dobbie.
3084 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3085 abbrevs so user won't be asked to save.
3086 (verilog-read-auto-lisp-present): Fix to start at beginning of
3087 buffer in case called outside of verilog-auto.
3088 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3089 to "X-2". Reported by Matthew Myers.
3090 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3091 all inputs from module templates. Reported by Leith Johnson.
3092 (verilog-module-inside-filename-p): Fix locating programs as with
3093 modules.
3094 (verilog-auto-inst-port): Fix vl-width expressions when using
3095 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3096 (verilog-decls-get-regs, verilog-decls-get-signals,
3097 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3098 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3099 verilog-read-decls): Combine reg and wire structures into one var
3100 structure to represent SystemVerilog concepts.
3101 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3102 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
3103 (verilog-auto-wire-type, verilog-insert-definition):
3104 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
3105 SystemVerilog "logic" keyword instead of "wire"/"reg".
3106 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3107 to declares outputs that also have assignments (presumably in an
a1beca85
SM
3108 ifdef or generate if so there's not a driver conflict).
3109 Reported by Matthew Myers.
3110 (verilog-auto-declare-nettype, verilog-insert-definition):
3111 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
3112 `default_nettype none. Reported by Julian Gorfajn.
3113 (verilog-read-always-signals-recurse, verilog-read-decls)
3114 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3115 malformed end statement, bug325. Reported by Joshua Wise and
3116 Andrew Drake.
3117 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3118 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
3119 when expanding .* in interfaces, bug320.
3120 Reported by Pierre-David Pfister.
6288f0ca 3121 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
3122 name and open parenthesis, bug317.
3123 Reported by Pierre-David Pfister.
6288f0ca
WS
3124 (verilog-simplify-range-expression): Fix simplification of
3125 multiplications inside AUTOWIRE connections, bug303.
3126 (verilog-auto-inst-port): Support parameter expansion in
3127 multidimensional arrays.
3128 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3129 after "assert property". Reported by Julian Gorfajn.
3130 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3131 with multiplication, bug303.
3132 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3133 Reported by Jan Frode Lonnum.
3134
1bbe96b2
GM
31352011-11-30 Juanma Barranquero <lekktu@gmail.com>
3136
3137 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3138 (hfy-shell-file-name, hfy-shell):
3139 * international/fontset.el (x-decompose-font-name): Fix typos.
3140
31412011-11-29 Ken Brown <kbrown@cornell.edu>
3142
3143 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3144 (gdb-version): Remove defvar.
3145 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3146 (gdb-gud-context-command, gdb-non-stop-handler)
3147 (gdb-current-context-command, gdb-stopped): Use it.
3148 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
3149 (gdb-non-stop-handler): Don't enable pretty-printing here.
3150 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
3151 non-stop mode. Use the following.
3152 (gdb-check-target-async): New defun.
3153 (gud-watch, gdb-stopped): Fix whitespace.
3154 (gdb-get-source-file): Don't try to display the source file if
3155 `gdb-main-file' is nil.
3156
31572011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3158
3159 * align.el: Try to generate fewer markers (bug#10047).
3160 (align--set-marker): New macro.
3161 (align-region): Use it.
3162
c935221f
SM
31632011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3164
3165 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3166
e70b5064
CY
31672011-11-29 Chong Yidong <cyd@gnu.org>
3168
3169 * indent.el (indent-for-tab-command, indent-according-to-mode):
3170 Doc fix.
3171 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3172
f3af92b7
MA
31732011-11-29 Michael Albinus <michael.albinus@gmx.de>
3174
3175 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3176 aware of remote file names. (Bug#10124)
3177
ed472be9
CY
31782011-11-29 Chong Yidong <cyd@gnu.org>
3179
3180 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3181
24510c22
SM
31822011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3183
3184 * files.el (find-file): Don't use force-same-window (bug#10144).
3185 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3186 use pop-to-buffer if the selected window can't be used.
3187 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3188
c60c3703
EZ
31892011-11-28 Eli Zaretskii <eliz@gnu.org>
3190
3191 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3192 special-mode-map.
3193
e95def75
CY
31942011-11-28 Chong Yidong <cyd@gnu.org>
3195
3196 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3197
c3f1c606
NR
31982011-11-27 Nick Roberts <nickrob@snap.net.nz>
3199
3200 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3201 gdb-get-source-file-list on gdb-create-source-file-list.
3202
00db469c
EZ
32032011-11-26 Eli Zaretskii <eliz@gnu.org>
3204
3205 * whitespace.el (whitespace-newline): Use a different foreground
3206 color for 16-color light-background displays.
3207
4ad3bc2a
CY
32082011-11-24 Chong Yidong <cyd@gnu.org>
3209
3210 * window.el (display-buffer--special-action): Doc fix.
3211
e9fce1ac
JB
32122011-11-25 Juanma Barranquero <lekktu@gmail.com>
3213
3214 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3215 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3216 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3217 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3218 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3219 (avl-tree-stack-first):
3220 * emacs-lisp/cconv.el (cconv--analyse-use):
3221 * net/gnutls.el (gnutls-negotiate): Fix typos.
3222
cb825e5d
GM
32232011-11-24 Glenn Morris <rgm@gnu.org>
3224
3adbe224
GM
3225 * lpr.el (lpr-windows-system, lpr-lp-system):
3226 * mail/binhex.el (binhex-begin-line):
3227 * progmodes/grep.el (grep-history, grep-find-history):
3228 * textmodes/flyspell.el:
3229 * vc/pcvs-defs.el (cvs-global-menu):
3230 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3231 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3232 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3233
321decc8
GM
3234 * net/tls.el: Fix case of "GnuTLS".
3235
420b63ad
GM
3236 * paths.el (rmail-file-name): Format doc-string for make-docfile.
3237
cb825e5d
GM
3238 * version.el (emacs-build-system): Give it a doc-string.
3239
a0649f08
JL
32402011-11-24 Juri Linkov <juri@jurta.org>
3241
3242 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3243
c0bc0fd4
GM
32442011-11-24 Glenn Morris <rgm@gnu.org>
3245
3246 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3247 if called on a non-mime message just toggle the headers. (Bug#8006)
3248
20db1522
JB
32492011-11-24 Juanma Barranquero <lekktu@gmail.com>
3250
3251 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3252 (allout-lead-with-comment-string, allout-structure-deleted-hook)
3253 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3254 (allout-rebullet-heading, allout-open-sibtopic)
3255 (allout-toggle-current-subtree-encryption)
3256 (allout-toggle-subtree-encryption, allout-encrypt-string)
3257 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3258 (allout-distinctive-bullets-string, allout-auto-activation):
3259 * window.el (window-normalize-buffer-to-display):
3260 * progmodes/verilog-mode.el (verilog-batch-indent):
3261 * textmodes/bibtex.el (bibtex-field-braces-opt)
3262 (bibtex-field-strings-opt):
3263 * vc/cvs-status.el (cvs-tree-merge):
3264 Fix typos.
3265
7262a87c
MA
32662011-11-23 Michael Albinus <michael.albinus@gmx.de>
3267
3268 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3269 `non-essential' to t, in order to avoid remote connections.
3270
283430a1
EZ
32712011-11-23 Eli Zaretskii <eliz@gnu.org>
3272
a1beca85
SM
3273 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3274 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
3275 case-insensitively.
3276
d2992a38
ML
32772011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3278
3279 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
3280
50419064
GM
32812011-11-23 Glenn Morris <rgm@gnu.org>
3282
da94eca1
GM
3283 * paths.el (rmail-file-name): Reformat the doc-string so that it
3284 is picked up.
3285
9aac4de2
GM
3286 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3287 (rmail-auto-file): Ignore case in the "special" field names,
3288 as mail-fetch-field does for all others.
3289
8038d2d2
GM
3290 * mail/rmail.el (rmail-forward):
3291 * mail/rmailkwd.el (rmail-set-label):
3292 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3293 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
3294
f3fe222a
GM
3295 * mail/rmail.el (rmail-current-message): Doc fix.
3296
50419064
GM
3297 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
3298
28109f49
SM
32992011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3300
3301 * server.el (server-eval-and-print): Allow C-g (bug#6585).
3302
394c65f1
GM
33032011-11-22 Glenn Morris <rgm@gnu.org>
3304
3305 * mail/rmailmm.el (test-rmail-mime-handler)
3306 (test-rmail-mime-bulk-handler)
3307 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3308
f2a0aa3a
JL
33092011-11-21 Juri Linkov <juri@jurta.org>
3310
1154d12e
JB
3311 * calc/calc.el (calc-read-key-sequence):
3312 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 3313
9c34a344
LMI
33142011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3315
3316 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3317 Tell the caller that the next line needs recomputation, even
3318 though it doesn't start a sexp (bug#10094).
3319
f04a3be9
SM
33202011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3321
3322 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3323
7978747f
SM
33242011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3325
f04a3be9
SM
3326 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3327 Use force-same-window.
7978747f 3328
fe7a3057
JB
33292011-11-20 Juanma Barranquero <lekktu@gmail.com>
3330
3331 * descr-text.el (describe-char-unicode-data):
3332 * json.el (json-string-escape):
3333 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3334 (Footnote-unicode, Footnote-style-p):
3335 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3336
24901d61
CY
33372011-11-20 Chong Yidong <cyd@gnu.org>
3338
3339 * window.el (replace-buffer-in-windows): Restore interactive spec.
3340
bac7ff22
SM
33412011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3342
24f3d7b9
SM
3343 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3344
bac7ff22
SM
3345 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3346 (byte-compile-global-not-obsolete-vars): New var.
3347 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3348 Use it.
3349 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3350
cd1181db
JB
33512011-11-20 Juanma Barranquero <lekktu@gmail.com>
3352
3353 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3354 * progmodes/pascal.el (electric-pascal-equal):
3355 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3356 * xml.el (xml-substitute-special): Fix typos.
3357
7fb18e9e
GM
33582011-11-20 Glenn Morris <rgm@gnu.org>
3359
3360 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3361 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3362 Doc fixes.
3363 (rmail-decode-mime-charset): Mark as obsolete.
3364
3365 * mail/rmailsum.el (rmail-message-regexp-p-1):
3366 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3367 Before using mime functions, check they are set. (Bug#10077)
3368
d5a6b3ba
JL
33692011-11-19 Juri Linkov <juri@jurta.org>
3370
3371 * info.el (Info-finder-find-node): Use `package--builtins' instead
3372 of `package-alist'. Use node names formed by the pattern "Keyword "
3373 and the keyword name.
3374
e981b61f
AS
33752011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3376
1d00653d 3377 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 3378
3ffbc301
JL
33792011-11-19 Juri Linkov <juri@jurta.org>
3380
3381 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3382 that calls `revert-buffer' on all Info buffers. (Bug#9915)
3383 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3384 `old-history', `old-history-forward'. Add let-binding
3385 `window-selected'. Remove calls to `kill-buffer',
3386 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
3387 before calling `Info-find-node', so `Info-find-node-2' will reread
3388 the Info file. Restore window positions only when `window-selected'
3389 is non-nil.
3390
30c62133
JL
33912011-11-19 Juri Linkov <juri@jurta.org>
3392
3393 * isearch.el (isearch-lazy-highlight-new-loop):
3394 Remove condition `(not isearch-error)'. (Bug#9918)
3395
3396 * misearch.el (multi-isearch-search-fun): Add condition
3397 `(not bound)' to ignore lazy-highlighting search.
3398 Add the search-failed message "end of multi" when the end of
3399 multi-sequence is reached. Uncapitalize the search-failed
3400 message "Repeat for next buffer".
3401
3402 * info.el (Info-search): Add the search-failed message
3403 "end of the manual" when the end of the manual is reached
3404 in Isearch mode.
3405
645ca9cf
JL
34062011-11-19 Juri Linkov <juri@jurta.org>
3407
3408 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3409 Use non-destructive `remove' instead of `delete' because
3410 `Info-history-list' stored to `Info-isearch-initial-history-list' in
3411 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3412
df754f66
JL
34132011-11-19 Juri Linkov <juri@jurta.org>
3414
3415 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3416 to nil instead of binding `search-ring' and `regexp-search-ring'.
3417 (Bug#9185)
3418
0e23d96a
EZ
34192011-11-19 Eli Zaretskii <eliz@gnu.org>
3420
3421 * simple.el (line-move): Force movement by logical lines for any
3422 hscrolled window, not only when auto-hscroll-mode is on.
3423 (line-move-visual): Update doc string to that effect. (Bug#10076)
3424
8a6ccb66
AS
34252011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3426
3427 * language/european.el (macintosh): Define as alias for mac-roman.
3428
49ae5b39
EZ
34292011-11-19 Eli Zaretskii <eliz@gnu.org>
3430
3431 * mail/rmailmm.el (rmail-mime-display-header)
3432 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3433 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3434 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3435 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3436 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3437 of a raw aref.
3438 (rmail-mime-entity-segment): To get past the tagline, move forward
3439 2 more lines, to account for the 2 empty lines that precede and
3440 follow the line with the buttons.
3441 (rmail-mime-update-tagline): Move one more line, to get past the
3442 empty line that follows the buttons in the tagline. (Bug#9520)
3443
c56cad4a
MR
34442011-11-19 Martin Rudalics <rudalics@gmx.at>
3445
3446 * window.el (window-max-delta-1, window-min-delta-1)
3447 (window-min-size-1, window-state-get-1, window-state-put-1)
3448 (window-state-put-2): Use "window--" prefix.
3449
cbe71af3
SM
34502011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3451
2ad52c60
SM
3452 * emacs-lisp/smie.el: Improve warnings and conflict detection.
3453 (smie-warning-count): New var.
3454 (smie-set-prec2tab): Use it.
3455 (smie-bnf->prec2): Improve warnings. Add docstring.
3456 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3457 (smie-bnf--set-class): New function.
3458 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
3459 corner case.
3460
6944dbc1
SM
3461 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3462 (compilation-error-properties, compilation-move-to-column):
3463 Handle compilation-first-column while in the target buffer.
3464
c400c4d7
SM
3465 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3466 Don't hardcode point-min==1.
3467
6dbe3e96
SM
3468 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3469 (eshell-rewrite-for-command): Remove workaround.
3470 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3471 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3472 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3473
cbe71af3
SM
3474 * files-x.el (modify-file-local-variable): Obey commenting conventions.
3475
a8e1496d
GM
34762011-11-17 Glenn Morris <rgm@gnu.org>
3477
3478 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3479 Ignore buffer-local generated-autoload-file if it is the same
3480 as the global value. (Bug#10049)
3481
df85d315
JB
34822011-11-17 Juanma Barranquero <lekktu@gmail.com>
3483
3484 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3485 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3486 (reftex-toc-previous-heading, reftex-toc-max-level)
3487 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3488 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3489 (reftex-toc-do-promote, reftex-toc-promote-prepare)
3490 (reftex-toc-promote-action, reftex-toc-extract-section-number)
3491 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3492 (reftex-toc-rename-label, reftex-toc-visit-location)
3493 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3494 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3495 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3496 leaving "*toc*" only for references to the buffer.
3497
a0c2d0ae
MR
34982011-11-17 Martin Rudalics <rudalics@gmx.at>
3499
3500 * window.el (window-resize, delete-window, split-window):
3501 Replace window-splits by window-combination-resize.
1d00653d 3502 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 3503
35c0bac8
GM
35042011-11-17 Glenn Morris <rgm@gnu.org>
3505
3506 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3507 Make bash entry derive from sh entry, not shell entry.
3508
d0c8fc8a
MA
35092011-11-16 Michael Albinus <michael.albinus@gmx.de>
3510
d0c8fc8a
MA
3511 * net/tramp-cache.el (tramp-flush-file-property): Flush also
3512 properties of linked files. (Bug#9879)
3513
7262a87c
MA
3514 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3515 local file name.
3516
7877f373
JB
35172011-11-16 Juanma Barranquero <lekktu@gmail.com>
3518
3519 * menu-bar.el (menu-bar-file-menu):
3520 * printing.el (pr-ps-utility):
3521 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3522 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3523 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3524 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3525 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3526 (icalendar--convert-cyclic-to-ical)
3527 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3528 (icalendar--convert-ical-to-diary)
3529 (icalendar--convert-recurring-to-diary)
3530 (icalendar--convert-non-recurring-all-day-to-diary)
3531 (icalendar-import-format-sample):
3532 * progmodes/idlw-shell.el (idlwave-shell-mode):
3533 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3534 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3535 (vhdl-ps-print-init): Fix typos.
3536
10649b82
KM
35372011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
3538
9d0cfcd6
GM
3539 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3540 FSF and collapse date sequence, obscure author/maintainer email address
3541 better, remove extra version line, track relocation of author's webpage.
10649b82 3542
9d0cfcd6
GM
3543 * progmodes/python.el (python-pdbtrack-input-prompt)
3544 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3545 regular python pdb prompts. Adjustments shamelessly taken exactly as
3546 suggested in EmacsWiki page (tiny change):
3547 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 3548
58179cce
JB
35492011-11-16 Juanma Barranquero <lekktu@gmail.com>
3550
3551 * expand.el (expand-pos, expand-index, expand-point):
3552 Remove redundant info from docstring.
3553 (expand-add-abbrevs): Doc fix.
3554 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3555 (expand-sample-perl-mode-expand-list): Fix typos.
3556
3557 * net/dbus.el (dbus-event-member-name):
3558 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3559 * term/pc-win.el (msdos-create-frame-with-faces):
3560 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3561
b6f67890
MR
35622011-11-16 Martin Rudalics <rudalics@gmx.at>
3563
3564 * window.el (split-window, window-state-get-1)
3565 (window-state-put-1, window-state-put-2): Rename occurrences of
3566 window-nest to window-combination-limit.
1d00653d 3567 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 3568
ce7ddba0
CY
35692011-11-16 Chong Yidong <cyd@gnu.org>
3570
3571 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3572 regexp (Bug#10033).
3573
3ae704f4
SM
35742011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3575
3576 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3577 `completing-read' will remove *Completions* and will preserve
3578 current-buffer for us.
3579 (tmm-add-prompt): Users of *Completions* will always (re)set its
3580 major mode.
3581 (tmm-old-comp-map): Remove.
3582
6ad1cdde
GM
35832011-11-16 Glenn Morris <rgm@gnu.org>
3584
3585 * mail/rmailedit.el: Require rmailmm when compiling.
3586 (rmail-old-mime-state): New declaration.
3587 (rmail-edit-current-message): If editing a mime message,
3588 edit the "raw" message from the mbox buffer.
3589 (rmail-cease-edit): Handle mime messages. (Bug#9840)
3590
d20faa20
GM
35912011-11-15 Glenn Morris <rgm@gnu.org>
3592
3593 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3594 which wasn't being used. Add optional arg to force given state.
3595 (rmail-mime): Add optional arg to force given state.
3596
c7015153
JB
35972011-11-15 Juanma Barranquero <lekktu@gmail.com>
3598
3599 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3600 * frame.el (display-mm-dimensions-alist):
3601 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3602 (outline-move-subtree-down):
3603 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3604 (newsticker--treeview-do-get-node):
3605 * net/quickurl.el (quickurl-list-buffer-name):
3606 * progmodes/dcl-mode.el (dcl-mode):
3607 * progmodes/gdb-mi.el (gdb-mapcar*):
3608 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3609
45261b50
GM
36102011-11-15 Glenn Morris <rgm@gnu.org>
3611
3612 * mail/rmail.el (rmail-file-coding-system): It's only ever used
3613 in a boolean sense, so just make it a boolean, and fix the doc.
3614 (rmail-show-mime-function, rmail-mime-feature)
3615 (rmail-require-mime-maybe): Doc fixes.
3616 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3617
3618 * mail/rmailmm.el (rmail-show-mime): Doc fix.
3619
0d26e0b6
JB
36202011-11-15 Juanma Barranquero <lekktu@gmail.com>
3621
3622 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3623 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3624 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3625 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3626
447f30f6
GM
36272011-11-15 Glenn Morris <rgm@gnu.org>
3628
672b871d
GM
3629 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3630 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3631 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3632 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3633 (rmail-mime, rmail-show-mime): Doc fixes.
3634
f6aa5bb1
GM
3635 * term/ns-win.el (mode-line-frame-identification):
3636 Leave it alone. (Bug#10051)
3637
947cd66b
GM
3638 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3639
447f30f6
GM
3640 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3641 Handle empty buffers. (Bug#9978)
3642
0b381c7e
JB
36432011-11-14 Juanma Barranquero <lekktu@gmail.com>
3644
3645 * international/mule.el (define-charset):
3646 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3647 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3648 * progmodes/verilog-mode.el (verilog-backward-token):
3649 * textmodes/ispell.el (lookup-words):
3650 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3651
71e027ac
GM
36522011-11-14 Glenn Morris <rgm@gnu.org>
3653
56632ce4
GM
3654 * progmodes/executable.el
3655 (executable-make-buffer-file-executable-if-script-p):
3656 Handle file-modes returning nil.
3657
40500957
GM
3658 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3659 message - not necessary, and causes problems. (Bug#9831)
3660
071c2340
GM
3661 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3662
d3cfca60
GM
3663 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3664
71e027ac
GM
3665 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3666 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
3667 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3668
89d61221
MR
36692011-11-12 Martin Rudalics <rudalics@gmx.at>
3670
3671 * window.el (window-resize, delete-window): Use window-splits
3672 variable instead of function.
3673 (window-state-get-1, window-state-put-2, window-state-put):
3674 Don't deal with windows' splits status.
3675
98282f6f
GM
36762011-11-12 Glenn Morris <rgm@gnu.org>
3677
3678 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3679 (apropos-documentation): Doc fixes.
3680
40a8bdf6
JB
36812011-11-11 Juanma Barranquero <lekktu@gmail.com>
3682
3683 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3684 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3685
65bd19ff
SM
36862011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3687
3688 * electric.el (electric-indent-post-self-insert-function): Make it
3689 possible for a char to only indent in some circumstances.
3690 (electric-indent-mode): Simplify.
3691
54f9154c
MR
36922011-11-11 Martin Rudalics <rudalics@gmx.at>
3693
3694 * window.el (windows-with-parameter): Remove unused function.
3695 (windows-at-side): Rename to window-at-side-list.
3696 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
3697 (window-side-check, window-size-ignore, window-size-fixed-1)
3698 (window-in-direction-2): Prefix with "window--".
3699 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 3700
68cbc58b
GM
37012011-11-11 Glenn Morris <rgm@gnu.org>
3702
3703 * subr.el (eval-after-load): If FILE is already loaded,
3704 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3705
b2621720
GM
37062011-11-10 Glenn Morris <rgm@gnu.org>
3707
9a4de110
GM
3708 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3709 Call svn via vc-svn-command rather than vc-do-command.
3710 (vc-svn-command): Add --non-interactive. (Bug#9993)
3711 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3712
b2621720
GM
3713 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3714 Add toggle-read-only. (Bug#7292)
3715 * files.el (toggle-read-only): Mention that it should only
3716 be used interactively. (Bug#10006)
3717
1dce7193
SM
37182011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3719
d9ac1a1e
SM
3720 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3721 Adjust regexp for OCaml warnings.
3722
0c325082
SM
3723 * electric.el (electric-pair-post-self-insert-function): Let user
3724 turn it off buffer-locally (bug#9932).
3725
90132c14
SM
3726 * progmodes/python.el (python-beginning-of-statement):
3727 Rewrite (bug#2703).
3728
1dce7193
SM
3729 * progmodes/compile.el: Better handle TABs (bug#9749).
3730 (compilation-internal-error-properties)
3731 (compilation-next-error-function): Obey the target buffer's
3732 compilation-error-screen-columns.
3733
c4e7c63a
JB
37342011-11-09 Juanma Barranquero <lekktu@gmail.com>
3735
3736 * progmodes/meta-mode.el: Remove obsolete comments.
3737 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3738 Fix typos in docstrings.
3739
2cffd681
MR
37402011-11-09 Martin Rudalics <rudalics@gmx.at>
3741
3742 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 3743 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
3744 (window--resizable): New function. Make all callers of
3745 window-resizable call window--resizable instead.
3746 (window-resizable): Rewrite in terms of window--resizable.
3747
0edcba87
GM
37482011-11-08 Glenn Morris <rgm@gnu.org>
3749
3750 * progmodes/delphi.el (delphi-mode-syntax-table):
3751 Let define-derived-mode define a proper syntax table. (Bug#9994)
3752
4b0d61e3
SM
37532011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3754
3755 * window.el: Stay away from defsubst.
3756 (window-list-no-nils): Remove.
3757 (window-state-get-1, window-state-get): Use backquote instead.
3758
cd394be1 37592011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 3760
4b0d61e3 3761 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 3762 Fix incorrect use of default argument in `completing-read'.
3763
e1c2c6f2
MR
37642011-11-08 Martin Rudalics <rudalics@gmx.at>
3765
3766 * window.el (display-buffer-function, special-display-function):
3767 Mention display-buffer-record-window but do not mention
3768 help-setup parameter in doc-strings.
b3f4a882 3769 (window-min-delta): Fix doc-string typo.
e1c2c6f2 3770
105216ed
CY
37712011-11-08 Chong Yidong <cyd@gnu.org>
3772
3773 * window.el (window-total-height, window-total-width): Doc fix.
3774 (window-body-size): Move from C.
3775 (window-body-height, window-body-width): Move to C.
3776
0a9f9ab5
SM
37772011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3778
3779 * window.el: Make special-display like display-buffer-alist (bug#9532).
3780 (display-buffer--special-action): New function, morphed
3781 from display-buffer--special.
3782 (display-buffer): Use it to handle special-display-buffers at higher
3783 priority (just after display-buffer-alist).
3784 (display-buffer-fallback-action, display-buffer--other-frame-action)
3785 (pop-to-buffer-same-window): Remove display-buffer--special.
3786
a769dd15
GM
37872011-11-07 Glenn Morris <rgm@gnu.org>
3788
3789 * calendar/cal-menu.el (cal-menu-set-date-title):
3790 Do nothing if not in a calendar. (Bug#9976)
3791
05a61ee3
SM
37922011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3793
3794 * files.el (find-file): Always use selected-window.
3795
be7f5545
MR
37962011-11-07 Martin Rudalics <rudalics@gmx.at>
3797
3798 * window.el (window-combinations): Make WINDOW argument
3799 mandatory. Rewrite doc-string.
3800 (walk-window-subtree, window-atom-check, window-min-delta)
3801 (window-max-delta, window--resize-this-window)
3802 (window--resize-root-window-vertically, window-tree)
3803 (balance-windows, window-state-put): Rewrite doc-strings as to
3804 not mention the term "subwindow".
3805 (window--resize-subwindows-skip-p): Rename to
3806 window--resize-child-windows-skip-p.
3807 (window--resize-subwindows-normal): Rename to
3808 window--resize-child-windows-normal.
3809 (window--resize-subwindows): Rename to
3810 window--resize-child-windows.
3811 (window-or-subwindow-p): Rename to window--in-subtree-p.
3812
3c6702ef
ML
38132011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3814
3815 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3816 Ensure that mbox format messages end in two newlines (Bug#9974).
3817
49745b39
CY
38182011-11-06 Chong Yidong <cyd@gnu.org>
3819
3820 * window.el (window-combination-p): Function deleted; its
3821 side-effect is not used in any existing code.
3822 (window-combinations, window-combined-p): Call window-*-child
3823 directly.
3824
24300f5f
CY
38252011-11-05 Chong Yidong <cyd@gnu.org>
3826
3827 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
3828 (window-size-ignore, window-state-get): Callers changed.
3829 (window-normalize-window): Rename from window-normalize-any-window.
3830 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 3831 (window-normalize-live-window): Delete.
447f16b8
CY
3832 (window-combination-p, window-combined-p, window-combinations)
3833 (walk-window-subtree, window-atom-root, window-min-size)
3834 (window-sizable, window-sizable-p, window-size-fixed-p)
3835 (window-min-delta, window-max-delta, window-resizable)
3836 (window-resizable-p, window-full-height-p, window-full-width-p)
3837 (window-current-scroll-bars, window-point-1, set-window-point-1)
3838 (window-at-side-p, window-in-direction, window-resize)
3839 (adjust-window-trailing-edge, maximize-window, minimize-window)
3840 (window-deletable-p, delete-window, delete-other-windows)
3841 (record-window-buffer, unrecord-window-buffer)
3842 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3843 (quit-window, split-window, window-state-put)
3844 (set-window-text-height, fit-window-to-buffer)
3845 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 3846
89bd5ee1
EZ
38472011-11-04 Eli Zaretskii <eliz@gnu.org>
3848
53479029
EZ
3849 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3850 rfc2047-decode-string.
3851 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3852 warnings.
3853
89bd5ee1
EZ
3854 * window.el (window-body-height, window-body-width): Mention in
3855 the doc string that the return values are in frame's canonical
3856 units. (Bug#9949)
3857
bd17fdee
AM
38582011-11-03 Alan Mackenzie <acm@muc.de>
3859
3860 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3861 change in cc-engine.el.
3862
acc825c5
SM
38632011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3864
3865 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3866
1885e5b8
MR
38672011-11-02 Martin Rudalics <rudalics@gmx.at>
3868
3869 * window.el (quit-window): Call unrecord-window-buffer after
3870 showing another buffer in the window. (Bug#9937)
acc825c5 3871 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 3872
ebe06da9
JB
38732011-11-02 Juanma Barranquero <lekktu@gmail.com>
3874
3875 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3876 Accept status with more than 9 shelves. (Bug#9935)
3877 Reported by Colin D Bennett <colin@gibibit.com>.
3878
4ee88440
MR
38792011-11-01 Martin Rudalics <rudalics@gmx.at>
3880
3881 * help.el (with-help-window): Don't reference
3882 temp-buffer-show-specifiers in doc-string.
3883
08e1d82c
AS
38842011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3885
3886 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3887 menu-item.
3888
84bd6e9e
VJL
38892011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3890
3891 * whitespace.el: New version 13.2.2.
3892 (whitespace-newline-mode): Disable properly. Reported by Sarah
3893 <EmacsWiki>.
3894
dba0634a
UJ
38952011-10-30 Ulf Jasper <ulf.jasper@web.de>
3896
3897 * net/newst-treeview.el: Remove "Time-stamp".
3898 (newsticker--group-manage-orphan-feeds): Do not call
3899 newsticker--treeview-tree-update.
db22a3c2
JB
3900 (newsticker-treeview-update, newsticker-treeview):
3901 Call newsticker--treeview-tree-update if necessary.
dba0634a 3902
3d8daefe
MR
39032011-10-30 Martin Rudalics <rudalics@gmx.at>
3904
3905 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
3906 (window-iso-combinations): Remove "iso-" infix.
3907 Suggested by Chong Yidong.
3d8daefe
MR
3908 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3909 (window-max-delta-1, window-resize, window--resize-siblings)
3910 (window--resize-this-window, adjust-window-trailing-edge)
3911 (split-window, balance-windows-1)
3912 (shrink-window-if-larger-than-buffer):
3913 * calendar/calendar.el (calendar-generate-window):
db22a3c2 3914 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 3915
1bc4c3ae
SM
39162011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3917
3918 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3919 in place (bug#9907).
3920 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3921 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3922 (eshell-structure-basic-command, eshell-rewrite-while-command)
3923 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3924 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3925 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3926 (eshell-do-pipelines-synchronously, eshell-eval-command):
3927 Use backquotes and prefer setq to set.
3928 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3929 (eshell-macrop): Use functionp.
c1e2f5fa 3930 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 3931
30b65d9c
CY
39322011-10-30 Chong Yidong <cyd@gnu.org>
3933
3934 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3935 instead of set-mark (Bug#9810).
3936
2d197ffb
CY
39372011-10-30 Chong Yidong <cyd@gnu.org>
3938
3939 * window.el (split-window-below, split-window-right): Rename from
3940 split-window-above-each-other and split-window-side-by-side
3941 respectively. All callers changed.
3942 (split-window-sensibly, split-window-sensibly): Use them.
3943 (split-window-keep-point): Doc fix.
3944
3945 * isearch.el: Add isearch-scroll property to split-window-below
3946 and split-window-right.
3947
3948 * follow.el (follow-mode):
3949 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3950 * progmodes/ada-xref.el (ada-gdb-application):
3951 * emulation/vip.el (vip-buffer-in-two-windows):
3952 * image-dired.el (image-dired-dired-with-window-configuration):
3953 * dired-x.el (dired-do-find-marked-files):
3954 * dired.el (dired-pop-to-buffer):
3955 * bs.el (bs--show-with-configuration):
3956 * vc/emerge.el (emerge-setup-windows):
3957 * textmodes/two-column.el (2C-two-columns):
3958 * textmodes/reftex-toc.el (reftex-toc):
3959 * progmodes/gdb-mi.el (gdb-setup-windows):
3960 * progmodes/fortran.el (fortran-window-create):
3961 * net/newst-treeview.el (newsticker--treeview-window-init):
3962 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3963 * emulation/tpu-edt.el (tpu-gold-map):
3964 * emulation/crisp.el (crisp-mode-map):
3965 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3966
38bb2ca8
CY
39672011-10-29 Chong Yidong <cyd@gnu.org>
3968
aa4de341
CY
3969 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3970
e1eb5385
CY
3971 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3972
5d2ece3c
CY
3973 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3974 forged Ispell output (Bug#7904).
3975
38bb2ca8
CY
3976 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3977
d0af9f77
SM
39782011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3979
3980 * doc-view.el: Avoid ugly errors about not finding nil.
3981 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3982 (doc-view-dvipdf-program, doc-view-unoconv-program)
3983 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3984 Avoid nil or absolute file name as default value.
3985 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3986
52bedd34
AM
39872011-10-28 Alan Mackenzie <acm@muc.de>
3988
db22a3c2 3989 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 3990
7e43cfa5
AM
39912011-10-28 Alan Mackenzie <acm@muc.de>
3992
3993 Amend the handling of c-beginning/end-of-defun in nested declaration
3994 scopes.
3995
52bedd34
AM
3996 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3997 cc-langs.el. Change it to a defcustom.
7e43cfa5 3998
52bedd34
AM
3999 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4000 cc-vars.el.
7e43cfa5 4001
d0af9f77
SM
4002 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4003 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 4004
52bedd34 4005 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 4006 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
4007 (c-widen-to-enclosing-decl-scope): New function.
4008 (c-while-widening-to-decl-block): New macro.
4009 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4010 outward for defun boundaries, and correspondingly change symbol
4011 `respect-enclosure' to `go-outward'.
4012 (c-declaration-limits): Change algorithm to report only the "innermost"
4013 defun's boundaries.
4014
1a2ce9ee
DD
40152011-10-28 Deniz Dogan <deniz@dogan.se>
4016
4017 * net/rcirc.el (rcirc-mode): Use hard newlines.
4018
bc97a826
AM
40192011-10-28 Alan Mackenzie <acm@muc.de>
4020
4021 Amend to indent and fontify macros "which include their own semicolon"
4022 correctly, using the "virtual semicolon" mechanism.
4023
52bedd34 4024 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 4025
d0af9f77 4026 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 4027 Recode to scan one line at a time rather than having \n and \r
58179cce 4028 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 4029 (c-forward-label): Amend for virtual semicolons.
58179cce 4030 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 4031
52bedd34
AM
4032 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4033 of the new C macros.
bc97a826 4034
52bedd34 4035 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
4036 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4037 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
4038 (c-opt-cpp-macro-define): Make into a full language variable.
4039 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4040 AWK Mode (including \n, \r) removed, no longer needed.
4041
d0af9f77
SM
4042 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4043 Invoke c-make-macro-with-semi-re.
bc97a826 4044
52bedd34
AM
4045 * progmodes/cc-vars.el (c-macro-with-semi-re):
4046 (c-macro-names-with-semicolon): New variables.
58179cce 4047 (c-make-macro-with-semi-re): New function.
bc97a826 4048
7a6c0941
SM
40492011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4050
4051 * vc/log-edit.el: Fill empty field rather than adding new one.
4052 (log-edit-add-field): New function.
4053 (log-edit-insert-changelog): Use it.
4054
b0c4cdcf
ML
40552011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4056
4057 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4058
ee1f1da9
SM
40592011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4060
4061 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4062 (gdb--check-interpreter): New function.
4063 (gdb): Use it.
4064
51bc5f8b
GM
40652011-10-27 Glenn Morris <rgm@gnu.org>
4066
416a2c45
GM
4067 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4068 (least-positive-float, least-negative-float)
4069 (least-positive-normalized-float, least-negative-normalized-float)
4070 (float-epsilon, float-negative-epsilon):
4071 Remove unnecessary declarations.
4072
4073 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4074 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4075 (least-positive-float, least-negative-float)
4076 (least-positive-normalized-float, least-negative-normalized-float)
4077 (float-epsilon, float-negative-epsilon): Add doc-strings,
4078 based on those in cl.texi.
4079
51bc5f8b
GM
4080 * files.el (set-visited-file-name): If the major-mode changed,
4081 reload the local variables. (Bug#9796)
4082
15de15c6
CY
40832011-10-27 Chong Yidong <cyd@gnu.org>
4084
4085 * subr.el (change-major-mode-after-body-hook): New hook.
4086 (run-mode-hooks): Run it.
4087
ee1f1da9
SM
4088 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4089 Use change-major-mode-before-body-hook.
15de15c6
CY
4090
4091 * simple.el (fundamental-mode):
4092 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4093 change introducing fundamental-mode-hook.
4094
5430d399
JB
40952011-10-26 Juanma Barranquero <lekktu@gmail.com>
4096
acc825c5 4097 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 4098
ad74a69e
MA
40992011-10-26 Michael Albinus <michael.albinus@gmx.de>
4100
4101 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 4102 tramp.el explicitly. (Bug#7583)
ad74a69e 4103
71d4c2a5
SM
41042011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4105
4106 * progmodes/octave-mod.el:
4107 * progmodes/octave-inf.el: Update maintainer.
4108
b1f6fa26
CY
41092011-10-26 Chong Yidong <cyd@gnu.org>
4110
4111 * subr.el (with-wrapper-hook): Rewrite doc.
4112
3f04efd6
MA
41132011-10-25 Michael Albinus <michael.albinus@gmx.de>
4114
4115 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 4116 filenames "/method:foo:". (Bug#9793)
3f04efd6 4117
410488d3
SM
41182011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4119
4120 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4121 (bug#9865).
4122
c1ebb47e
GM
41232011-10-24 Glenn Morris <rgm@gnu.org>
4124
4125 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4126
7f5c46c7
MA
41272011-10-24 Michael Albinus <michael.albinus@gmx.de>
4128
4129 * notifications.el: Add the requirement of a running D-Bus session
4130 bus to the Commentary.
4131
db2440b6
JL
41322011-10-24 Juri Linkov <juri@jurta.org>
4133
4134 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4135 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4136 (Bug#9364)
4137
feecf435
JL
41382011-10-24 Juri Linkov <juri@jurta.org>
4139
4140 * info.el (Info-following-node-name-re): Add newline to the list
4141 of allowed characters for leading space. (Bug#9824)
4142
a3839de2
SM
41432011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4144
acc825c5
SM
4145 * progmodes/octave-inf.el (inferior-octave-mode-map):
4146 Fix C-c C-h binding.
a3839de2
SM
4147 * progmodes/octave-mod.el (octave-help): Remove.
4148
09388e76
MA
41492011-10-23 Michael Albinus <michael.albinus@gmx.de>
4150
4151 Sync with Tramp 2.2.3.
4152
4153 * net/tramp-cache.el (top): Pacify byte-compiler using
4154 `init-file-user' and `site-run-file'.
4155
4156 * net/trampver.el: Update release number.
4157
86c60681
CY
41582011-10-23 Chong Yidong <cyd@gnu.org>
4159
4160 * files.el (toggle-read-only): Remove obsolete comment about
4161 version control.
4162
4163 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4164 for toggle-read-only. Note that this hasn't called vc-next-action
4165 since 2008-05-02, though it wasn't documented at the time.
4166
a3839de2
SM
4167 * vc/ediff-init.el (ediff-toggle-read-only-function):
4168 Use toggle-read-only.
86c60681 4169
cd5495ff
AM
41702011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4171
4172 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4173 of c-parse-state.
4174
00b77525 4175 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 4176 correct faulty logical expression.
cd5495ff
AM
4177 (c-parse-state-state, c-record-parse-state-state):
4178 (c-replay-parse-state-state): New defvar/defuns.
4179 (c-debug-parse-state): Use new functions.
4180
42ee24ed
MR
41812011-10-22 Martin Rudalics <rudalics@gmx.at>
4182
4183 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 4184 last fix. Use window-in-direction correctly.
42ee24ed 4185
a7dee7e7
CY
41862011-10-21 Chong Yidong <cyd@gnu.org>
4187
4188 * progmodes/idlwave.el (idlwave-mode):
4189 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
4190 require-final-newline; that's done in prog-mode.
4191 Suggested by Stefan Monnier.
a7dee7e7 4192
e07b9a6d
MR
41932011-10-21 Martin Rudalics <rudalics@gmx.at>
4194
4195 * mouse.el (mouse-drag-window-above)
4196 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4197 (mouse-drag-mode-line-1, mouse-drag-header-line)
4198 (mouse-drag-vertical-line-rightward-window): Remove.
4199 (mouse-drag-line): New function.
4200 (mouse-drag-mode-line, mouse-drag-header-line)
4201 (mouse-drag-vertical-line): Call mouse-drag-line.
4202 * window.el (window-at-side-p, windows-at-side): New functions.
4203
7e1361d9
UM
42042011-10-21 Ulrich Mueller <ulm@gentoo.org>
4205
4206 * tar-mode.el (tar-grind-file-mode):
4207 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4208
30fcaf3a
CY
42092011-10-21 Chong Yidong <cyd@gnu.org>
4210
4211 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
4212 * progmodes/vera-mode.el (vera-mode):
4213 Use mode-require-final-newline.
30fcaf3a 4214
516eddb0
GM
42152011-10-20 Glenn Morris <rgm@gnu.org>
4216
db22a3c2 4217 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 4218
10d5f513
CS
42192011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
4220
4221 * emulation/cua-base.el (cua-set-mark): Fix case of string.
4222
ac6c8639
CY
42232011-10-20 Chong Yidong <cyd@gnu.org>
4224
4225 * emulation/cua-base.el (cua-mode):
4226 * mail/footnote.el (footnote-mode):
4227 * mail/mailabbrev.el (mail-abbrevs-mode):
4228 * net/xesam.el (xesam-minor-mode):
4229 * progmodes/bug-reference.el (bug-reference-mode):
4230 * progmodes/cap-words.el (capitalized-words-mode):
4231 * progmodes/compile.el (compilation-minor-mode)
4232 (compilation-shell-minor-mode):
4233 * progmodes/gud.el (gud-tooltip-mode):
4234 * progmodes/hideif.el (hide-ifdef-mode):
4235 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4236 * progmodes/subword.el (subword-mode):
4237 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4238 * progmodes/which-func.el (which-function-mode):
4239 * term/tvi970.el (tvi970-set-keypad-mode):
4240 * term/vt100.el (vt100-wide-mode):
4241 * textmodes/flyspell.el (flyspell-mode):
4242 * textmodes/ispell.el (ispell-minor-mode):
4243 * textmodes/nroff-mode.el (nroff-electric-mode):
4244 * textmodes/paragraphs.el (use-hard-newlines):
4245 * textmodes/refill.el (refill-mode):
4246 * textmodes/reftex.el (reftex-mode):
4247 * textmodes/rst.el (rst-minor-mode):
4248 * textmodes/sgml-mode.el (html-autoview-mode)
4249 (sgml-electric-tag-pair-mode):
4250 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4251 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4252 * emulation/crisp.el (crisp-mode):
4253 * emacs-lisp/eldoc.el (eldoc-mode):
4254 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4255 minor mode behavior.
4256
aa42ab43
JL
42572011-10-19 Juri Linkov <juri@jurta.org>
4258
4259 * descr-text.el (describe-char): Add #x2010 and #x2011 to
4260 the list of hard-coded chars with escape-glyph face.
4261
89400f1d
SM
42622011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4263
4264 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4265
305c07f6
MA
42662011-10-19 Michael Albinus <michael.albinus@gmx.de>
4267
4268 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4269 running process.
4270
13754b54
GM
42712011-10-19 Glenn Morris <rgm@gnu.org>
4272
4273 * vc/vc-bzr.el (vc-bzr-after-dir-status):
4274 Ignore ignored files. (Bug#9726)
4275
06e21633
CY
42762011-10-19 Chong Yidong <cyd@gnu.org>
4277
4278 Doc fix for minor modes, stating that an omitted argument enables
4279 the mode unconditionally when called from Lisp.
4280
4281 * abbrev.el (abbrev-mode):
4282 * allout.el (allout-mode):
4283 * autoinsert.el (auto-insert-mode):
4284 * autoarg.el (autoarg-mode, autoarg-kp-mode):
4285 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4286 (global-auto-revert-mode):
4287 * battery.el (display-battery-mode):
4288 * composite.el (global-auto-composition-mode)
4289 (auto-composition-mode):
4290 * delsel.el (delete-selection-mode):
4291 * desktop.el (desktop-save-mode):
4292 * dired-x.el (dired-omit-mode):
4293 * dirtrack.el (dirtrack-mode):
4294 * doc-view.el (doc-view-minor-mode):
4295 * double.el (double-mode):
4296 * electric.el (electric-indent-mode, electric-pair-mode):
4297 * emacs-lock.el (emacs-lock-mode):
4298 * epa-hook.el (auto-encryption-mode):
4299 * follow.el (follow-mode):
4300 * font-core.el (font-lock-mode):
4301 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4302 * help.el (temp-buffer-resize-mode):
4303 * hilit-chg.el (highlight-changes-mode)
4304 (highlight-changes-visible-mode):
4305 * hi-lock.el (hi-lock-mode):
4306 * hl-line.el (hl-line-mode, global-hl-line-mode):
4307 * icomplete.el (icomplete-mode):
4308 * ido.el (ido-everywhere):
4309 * image-file.el (auto-image-file-mode):
4310 * image-mode.el (image-minor-mode):
4311 * iswitchb.el (iswitchb-mode):
4312 * jka-cmpr-hook.el (auto-compression-mode):
4313 * linum.el (linum-mode):
4314 * longlines.el (longlines-mode):
4315 * master.el (master-mode):
4316 * mb-depth.el (minibuffer-depth-indicate-mode):
4317 * menu-bar.el (menu-bar-mode):
4318 * minibuf-eldef.el (minibuffer-electric-default-mode):
4319 * mouse-sel.el (mouse-sel-mode):
4320 * msb.el (msb-mode):
4321 * mwheel.el (mouse-wheel-mode):
4322 * outline.el (outline-minor-mode):
4323 * paren.el (show-paren-mode):
4324 * recentf.el (recentf-mode):
4325 * reveal.el (reveal-mode, global-reveal-mode):
4326 * rfn-eshadow.el (file-name-shadow-mode):
4327 * ruler-mode.el (ruler-mode):
4328 * savehist.el (savehist-mode):
4329 * scroll-all.el (scroll-all-mode):
4330 * scroll-bar.el (scroll-bar-mode):
4331 * server.el (server-mode):
4332 * shell.el (shell-dirtrack-mode):
4333 * simple.el (auto-fill-mode, transient-mark-mode)
4334 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4335 (line-number-mode, column-number-mode, size-indication-mode)
4336 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4337 * strokes.el (strokes-mode):
4338 * time.el (display-time-mode):
4339 * t-mouse.el (gpm-mouse-mode):
4340 * tool-bar.el (tool-bar-mode):
4341 * tooltip.el (tooltip-mode):
4342 * type-break.el (type-break-mode-line-message-mode)
4343 (type-break-query-mode):
4344 * view.el (view-mode):
4345 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4346 (global-whitespace-mode, global-whitespace-newline-mode):
4347 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4348
a3839de2
SM
4349 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4350 Fix autogenerated docstring.
06e21633 4351
5214e501
JL
43522011-10-19 Juri Linkov <juri@jurta.org>
4353
4354 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4355 by checking environment variables "DESKTOP_SESSION" and
4356 "XDG_CURRENT_DESKTOP". (Bug#9779)
4357
195f8db9
JL
43582011-10-19 Juri Linkov <juri@jurta.org>
4359
4360 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4361 (browse-url-chromium-program, browse-url-chromium-arguments):
4362 New defcustoms.
4363 (browse-url-default-browser): Check for `browse-url-chromium' and
4364 call `browse-url-chromium-program'.
4365 (browse-url-chromium): New command. (Bug#9779)
4366
343a34ff
JB
43672011-10-18 Juanma Barranquero <lekktu@gmail.com>
4368
4369 * facemenu.el (list-colors-duplicates): On Windows, detect more
4370 duplicates by assuming that only colors matching "^System" are
4371 special "system colors". (Bug#9722)
4372
6978a151
SM
43732011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4374
4375 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4376 to distinguish the author from the committer.
4377
6a80b297
MA
43782011-10-18 Michael Albinus <michael.albinus@gmx.de>
4379
4380 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4381
b31a5677
JK
43822011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
4383
4384 * international/mule.el (sgml-html-meta-auto-coding-function):
4385 Add support for detecting encoding in HTML5 specified only as
4386 <meta charset="UTF-8">. Implementation just makes http-equiv and
4387 content-type parts from HTML4 encoding string optional. (Bug#9716)
4388
80c6d77f
GM
43892011-10-18 Glenn Morris <rgm@gnu.org>
4390
4391 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
4392
08b0fee8
CY
43932011-10-18 Chong Yidong <cyd@gnu.org>
4394
4395 * faces.el (cursor): Doc fix.
4396
67e729a5
CY
43972011-10-17 Chong Yidong <cyd@gnu.org>
4398
4399 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4400
343a34ff 44012011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
4402
4403 * dirtrack.el (dirtrack): Support shell buffers with path
4404 prefixes, e.g. tramp-based remote shells. (Bug#9647)
4405
0bc06380
TZ
44062011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
4407
4408 * json.el: Bump version to 1.3 and note change in History.
4409 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4410
8b79f3e0
SM
44112011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4412
5a7c536b
SM
4413 * comint.el (comint-insert-input, comint-send-input)
4414 (comint-get-old-input-default, comint-backward-matching-input)
4415 (comint-next-prompt): Use nil instead of `input' for field property of
4416 past user input (bug#114).
4417
96a8a0df
SM
4418 * minibuffer.el (completion--replace): Inherit surrounding properties
4419 (bug#114).
4420 (minibuffer-complete-and-exit): Use it.
4421
8b79f3e0
SM
4422 * comint.el (comint--table-subvert): Quote the all-completions output
4423 (bug#9160).
4424
b8f7ff0d
MR
44252011-10-17 Martin Rudalics <rudalics@gmx.at>
4426
8b79f3e0 4427 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 4428
b8f7ff0d 4429 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 4430 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
4431 entries and separate them from frame entries.
4432
c235b555
GM
44332011-10-15 Glenn Morris <rgm@gnu.org>
4434
4435 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4436 Doc fixes.
4437
6bbfa6e1
CY
44382011-10-15 Chong Yidong <cyd@stupidchicken.com>
4439
8b79f3e0
SM
4440 * net/network-stream.el (network-stream-open-starttls):
4441 Improve detection of failure due to lack of TLS support.
ec5c990d 4442
6bbfa6e1
CY
4443 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4444 putting the input text in front and in bold.
4445
98488977
SM
44462011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4447
3d1337be
SM
4448 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4449
ee0b45e4
SM
4450 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4451 empty buffer.
4452
98488977
SM
4453 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4454 unread-command-events rather than pushing yet-another event.
4455
186f4720
EZ
44562011-10-14 Eli Zaretskii <eliz@gnu.org>
4457
4458 * mail/sendmail.el (sendmail-query-once): Improve the wording of
4459 the explanation of the possible choices. Make the options passed
4460 to completing-read shorter.
4461
8b7a997c
AM
44622011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4463
4464 * textmodes/flyspell.el (flyspell-large-region): Make sure
4465 extended character mode is used if defined (Bug#1339).
4466
12587bbb
EZ
44672011-10-13 Eli Zaretskii <eliz@gnu.org>
4468
4469 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
4470 character info for LRE, LRO, RLE, and RLO characters by appending
4471 an invisible PDF.
12587bbb 4472
bad41229
SM
44732011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
4474
4475 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4476 even in case of error; add debug spec; simplify data flow.
4477 (with-timeout-handler): Remove.
4478
28dbc92f
MA
44792011-10-12 Michael Albinus <michael.albinus@gmx.de>
4480
4481 Fix Bug#6019, Bug#9315.
4482
4483 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4484 complete `buffer-file-name', the local file name part could look
4485 remotely (for example on VMS).
4486
4487 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4488 `tramp-run-real-handler'.
4489 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4490 already quoted by '"'.
4491
4492 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4493 Let `file-name-handler-alist' be nil, the local file name part
4494 could look remotely (for example on VMS).
4495
e1b0b23a
SM
44962011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4497
4498 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4499 from here...
4500 (flyspell-post-command-hook): ...to here.
4501
a120bde9
SM
45022011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4503
4504 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4505 if not needed.
4506 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
4507 using completion. Protect against "slow" callers.
4508 Remove the "message hack".
4509
7ce7717b
JL
45102011-10-11 Juri Linkov <juri@jurta.org>
4511
4512 * isearch.el (isearch-lazy-highlight-word): New variable.
4513 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4514 Use it. (Bug#9727)
4515
c02ee9d6
GM
45162011-10-11 Glenn Morris <rgm@gnu.org>
4517
4518 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4519 like f90-previous-statement does.
4520
93e616fd 45212011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4522
1f190e73 4523 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
4524 only in interactive use, to avoid error.
4525
af7b6078
SM
45262011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4527
4528 * minibuffer.el (completion-file-name-table): Fix last change,
4529 i.e. ignore normal errors but not the other ones.
4530
0563dae9
MR
45312011-10-10 Martin Rudalics <rudalics@gmx.at>
4532
4533 * window.el (special-display-buffer-names)
4534 (special-display-regexps): Remove some remnants of earlier
4535 changes from doc-strings.
366ca7f3
MR
4536 (quit-windows-on): New function.
4537
4538 * vc/vc.el (vc-revert, vc-rollback):
4539 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4540 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 4541 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 4542
49677495
MR
45432011-10-09 Martin Rudalics <rudalics@gmx.at>
4544
4545 * window.el (frame-auto-hide-function): Add version tag.
4546 (Bug#9699)
4547
56f2d1e1
MA
45482011-10-09 Michael Albinus <michael.albinus@gmx.de>
4549
4550 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4551 condition.
4552
112a6592
LL
45532011-10-09 Leo Liu <sdl.web@gmail.com>
4554
4555 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4556 (Bug#9701)
4557
0812589b
GM
45582011-10-08 Glenn Morris <rgm@gnu.org>
4559
4560 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4561 before the first code statement zero indent. (Bug#9690)
4562
b2b0776e
CY
45632011-10-08 Chong Yidong <cyd@stupidchicken.com>
4564
4565 * simple.el (count-words-region): Always count in the region.
4566 Report the number of lines and characters too.
4567 (count-words): New command, which counts in the buffer if the
4568 region is inactive, as count-words-region used to.
4569 (count-words--message): New function. Handle plurals.
4570 (count-lines-region): Make it an alias for count-words-region.
4571
4572 * bindings.el (esc-map): Replace count-lines-region with
4573 count-words-region.
4574
c557cd6b
MR
45752011-10-08 Martin Rudalics <rudalics@gmx.at>
4576
4577 * window.el (window--delete): Delete dedicated frame
4578 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 4579 (switch-to-buffer): Fix doc-string typo.
c557cd6b 4580
61a57ef4 45812011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4582
3a7d293b 4583 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 4584
c3833279
CY
45852011-10-07 Chong Yidong <cyd@stupidchicken.com>
4586
4587 * bindings.el ([M-left],[M-right]): Bind to left-word and
4588 right-word respectively.
4589
21ce8245
GM
45902011-10-07 Glenn Morris <rgm@gnu.org>
4591
4592 * cus-start.el (debug-on-quit): Fix custom type.
4593
6d823bb2
LMI
45942011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4595
0181e193
LMI
4596 * subr.el (define-key-after): Clarify that the function is not
4597 useful for non-menu keymaps.
4598
6d823bb2
LMI
4599 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4600
8e3459ce 46012011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4602
21ce8245 4603 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 4604 in current minibuffer (Fix bug with recursive minibuffers).
4605
a1c2d21e
CY
46062011-10-06 Chong Yidong <cyd@stupidchicken.com>
4607
4608 * progmodes/gdb-mi.el (gdb): Doc fix.
4609
5a4cf282
MR
46102011-10-05 Martin Rudalics <rudalics@gmx.at>
4611
4612 * window.el (frame-auto-hide-function): New option replacing
4613 frame-auto-delete. Suggested by Stefan Monnier.
4614 (window--delete): Call frame-auto-hide-function instead of
4615 investigating frame-auto-delete.
c96111ea
MR
4616 (window-point-1, set-window-point-1): New functions.
4617 (window-in-direction, record-window-buffer, window-state-get-1)
4618 (display-buffer-record-window): Use window-point-1 instead of
4619 window-point.
4620 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 4621
9854542e
SM
46222011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4623
4624 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4625
8943cfb0
GM
46262011-10-05 Glenn Morris <rgm@gnu.org>
4627
4628 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4629 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
4630
647ab967
LL
46312011-10-05 Leo Liu <sdl.web@gmail.com>
4632
4633 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4634 works with buffer object.
4635
3ddfbced
SM
46362011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4637
4638 * mpc.el (mpc-tool-bar-map): Add labels.
4639
bdfa5dd2
GM
46402011-10-04 Glenn Morris <rgm@gnu.org>
4641
4642 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4643
0e2070b5
MR
46442011-10-04 Martin Rudalics <rudalics@gmx.at>
4645
4646 * window.el (window--delete): New function.
4647 (frame-auto-delete): Resuscitate option.
4648 (bury-buffer, replace-buffer-in-windows)
4649 (quit-window): Rewrite using window--delete.
4650 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4651 Pass display-buffer-mark-dedicated to window--display-buffer-2
4652 (Bug#9639).
4653
3dc61a09
SM
46542011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4655
915a9b64
SM
4656 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4657 returns a list (bug#9554). Add remote file name completion.
4658 * comint.el (comint--table-subvert): Curry and get quote&unquote
4659 functions as arguments.
4660 (comint--complete-file-name-data): Adjust call accordingly.
4661 * pcomplete.el (pcomplete--table-subvert): Remove.
4662 (pcomplete-completions-at-point): Use comint--table-subvert instead.
4663
3dc61a09
SM
4664 * minibuffer.el (completion-table-case-fold): Use currying.
4665 (completion--styles-type, completion--cycling-threshold-type):
4666 New constants.
4667 (completion-styles, completion-category-overrides)
4668 (completion-cycle-threshold): Use them.
4669 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4670 completion-table-case-fold.
4671
8ea0a993
SB
46722011-10-03 Stephen Berman <stephen.berman@gmx.net>
4673
4674 * minibuffer.el (completion-category-overrides): Fix type of styles
4675 and add more user friendly tags (bug#9660).
4676
8c24b7f6
SM
46772011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4678
4679 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4680 (mule-input-method-string): New widget.
4681 (default-input-method, language-info-custom-alist): Use it.
4682
428fe61a
SM
46832011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4684
32c1fffd
SM
4685 * pcomplete.el: Require comint.
4686 (pcomplete--common-suffix): Remove.
4687 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4688 (pcomplete--table-subvert): Sync with comint--table-subvert.
4689 (pcomplete--entries): Use comint-completion-file-name-table.
4690 * comint.el (comint-unquote-filename): Simplify.
4691 (comint-completion-file-name-table): New function (bug#9616).
4692 (comint--complete-file-name-data): Use it.
4693
428fe61a
SM
4694 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4695 (pcmpl-gnu-tar-buffer): Remove.
4696 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
4697 around. Make sure pcomplete-suffix-list is only changed temporarily.
4698 Don't look inside the tar's file if it's too large.
428fe61a 4699
04c52e2f
CY
47002011-10-01 Chong Yidong <cyd@stupidchicken.com>
4701
ce3cefcc
CY
4702 * cus-edit.el (custom-mode-map):
4703 * epa.el (epa-key-list-mode-map):
4704 * man.el (Man-mode-map):
4705 * startup.el (splash-screen-keymap):
4706 * simple.el (special-mode-map): Use scroll-up-command and
4707 scroll-down-command.
4708
4709 * progmodes/idlw-help.el (idlwave-help-mode-map):
4710 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4711 * net/newst-plainview.el (newsticker-mode-map):
4712 * emulation/ws-mode.el (wordstar-mode-map):
4713 * emulation/vi.el (vi-com-map):
4714 * calc/calc-graph.el (calc-graph-show-dumb):
4715 * term/sun.el (terminal-init-sun):
4716 * term/ns-win.el (global-map):
4717 * progmodes/grep.el (grep-mode-map):
4718 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4719 * mail/rmail.el (rmail-mode-map):
4720 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4721
04c52e2f
CY
4722 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4723 custom-safe-themes as special.
4724
79adf8c8
JD
47252011-10-01 Julien Danjou <julien@danjou.info>
4726
4727 * notifications.el (notifications-notify): Fix docstring.
4728
63bd50d3
PS
47292011-10-01 Per Starbäck <per@starback.se>
4730
4731 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4732
199e4c7e
MR
47332011-09-30 Martin Rudalics <rudalics@gmx.at>
4734
4735 * startup.el (command-line-1): Fix last fix by inserting
4736 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 4737 (Bug#9605) and (Bug#9636)
199e4c7e 4738
fe5f08dd
EZ
47392011-09-29 Eli Zaretskii <eliz@gnu.org>
4740
4741 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4742 window is hscrolled, move by logical lines. (Bug#9607)
4743 (line-move-visual): Update the doc string to the above effect.
4744
b5516bbd
MR
47452011-09-29 Martin Rudalics <rudalics@gmx.at>
4746
ccee00c0
MR
4747 * window.el (display-buffer-record-window): When WINDOW is the
4748 selected window use `point' instead of `window-point'. (Bug#9626)
4749
b5516bbd
MR
4750 * startup.el (command-line-1): Use insert-before-markers when
4751 inserting initial-scratch-message. (Bug#9605)
ccee00c0 4752
b5516bbd
MR
4753 * help.el (help-window): Remove variable.
4754
52aa0014
GM
47552011-09-29 Glenn Morris <rgm@gnu.org>
4756
4757 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4758
df9a7357
JB
47592011-09-29 Juanma Barranquero <lekktu@gmail.com>
4760
4761 * descr-text.el (describe-char-categories): Accept category
4762 descriptions more than one line long.
4763
a8406c20
SM
47642011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4765
88d9610c
SM
4766 * simple.el (delete-trailing-whitespace): Fix last change.
4767
a5daf810
SM
4768 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4769 Don't confuse "y => 3" as the beginning of a `y' operation.
4770
a8406c20
SM
4771 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4772 object has more than 4 slots (bug#9613).
4773
a239d4e9
JB
47742011-09-28 Juanma Barranquero <lekktu@gmail.com>
4775
4776 * subr.el (with-output-to-temp-buffer):
4777 * net/quickurl.el (quickurl, quickurl-browse-url):
4778 Fix typos in docstrings.
4779
693fbdb6
EZ
47802011-09-27 Eli Zaretskii <eliz@gnu.org>
4781
4782 * minibuffer.el (completion-styles)
4783 (completion-category-overrides): Cross reference each other in doc
4784 strings.
4785
8b457e28
GM
47862011-09-27 Glenn Morris <rgm@gnu.org>
4787
4788 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4789 to split-string. (Bug#9606)
4790
85a16208
LMI
47912011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4792
4793 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4794 (bug#9615).
4795
502f9ebd
CY
47962011-09-27 Chong Yidong <cyd@stupidchicken.com>
4797
4798 * emacs-lisp/package.el (list-packages): Fix echo area message.
4799
7690bdea
LL
48002011-09-27 Leo Liu <sdl.web@gmail.com>
4801
4802 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4803
e2ee6f30
MA
48042011-09-25 Michael Albinus <michael.albinus@gmx.de>
4805
4806 * net/dbus.el (dbus-unregister-object): Don't release services for
4807 registered signals. (Bug#9581)
4808
f3f98342
TZ
48092011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4810
4811 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4812 function that picks between cfengine 2 and 3 support
4813 automatically. Update docs accordingly.
4814
dd7aa8dd
KH
48152011-09-22 Kenichi Handa <handa@m17n.org>
4816
4817 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4818 ZERO.
4819 (indian-itrans-v5-table-for-tamil): New variable.
4820 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4821
3f2b07f8
KM
48222011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4823
4824 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4825 that's true if the current command involved collapsing of text.
4826 It's reset to false at the beginning of the next command.
4827 (allout-post-command-business): Move the cursor to the beginning
4828 of entry if the cursor is hidden and collapsing activity just
4829 happened.
4830
371d6a61
CY
48312011-09-24 Chong Yidong <cyd@stupidchicken.com>
4832
4833 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4834 tracking (Bug#9541).
4835
2ac2721a
UJ
48362011-09-24 Ulf Jasper <ulf.jasper@web.de>
4837
4838 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
4839 (newsticker-show-news): Automatically load html rendering package
4840 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4841 because w3m-fill-column is let-bound" and the error "Symbol's value
4842 as variable is void: w3m-fill-column".
2ac2721a 4843
fac7ae53
MA
48442011-09-24 Michael Albinus <michael.albinus@gmx.de>
4845
4846 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4847 Release services only if they are defined. (Bug#9581)
4848
e08b633b
RS
48492011-09-23 Richard Stallman <rms@gnu.org>
4850
e488d29c
RS
4851 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4852 distinguish start of paragraph from start of its text.
4853
19c38752
RS
4854 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4855
e08b633b
RS
4856 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4857 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4858 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4859
0a39f27e
AS
48602011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4861
4862 * international/mule-diag.el (mule-diag): Insert a newline after
4863 each fontset description.
4864
db4e950d
SM
48652011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4866
4867 * simple.el (delete-trailing-whitespace):
4868 Document last change; simplify.
4869
eca3f3ea
PW
48702011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4871
d68e189a
PW
4872 * simple.el (delete-trailing-whitespace): Also delete
4873 extra newlines at the end of the buffer.
4874
eca3f3ea
PW
4875 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4876 (picture-newline): Use forward-line so as to ignore fields.
4877
01c157cc
SM
48782011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4879
4880 * subr.el (with-wrapper-hook): Fix edebug spec.
4881
022de23e
LMI
48822011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4883
4884 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4885 (bug#4538).
4886
91683089
MA
48872011-09-23 Michael Albinus <michael.albinus@gmx.de>
4888
eca3f3ea
PW
4889 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4890 Fix nasty bug using wrong cached values.
91683089 4891
5bdd6fa4
AM
48922011-09-23 Alan Mackenzie <acm@muc.de>
4893
4894 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4895
97adfb97
CY
48962011-09-23 Chong Yidong <cyd@stupidchicken.com>
4897
4898 * window.el (pop-to-buffer): Ensure right window is selected if we
4899 chose another frame.
4900
d4ef2b50
EZ
49012011-09-22 Eli Zaretskii <eliz@gnu.org>
4902
4903 * simple.el (what-cursor-position): Use get-char-property-change
4904 and next-single-char-property-change, to be able to show display
4905 properties that come from overlays as well as text properties.
4906
72258fe5
CY
49072011-09-22 Chong Yidong <cyd@stupidchicken.com>
4908
4909 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4910
4911 * cmuscheme.el (run-scheme, switch-to-scheme):
4912 * cus-edit.el (customize-group, custom-buffer-create)
4913 (customize-browse):
4914 * info.el (info):
4915 * shell.el (shell):
4916 * mail/sendmail.el (mail):
4917 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4918
8f098516
RS
49192011-09-22 Richard Stallman <rms@gnu.org>
4920
4921 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4922 move back only to line beg, don't move back over blank lines.
4923
e74f1bb6
MA
49242011-09-22 Michael Albinus <michael.albinus@gmx.de>
4925
4926 * files.el (copy-directory): Set directory attributes only in case
4927 they could be retrieved from the source directory. (Bug#9565)
4928
bfeef8b6
DK
49292011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4930
4931 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4932 (hs-find-block-beginning, hs-hide-level-recursive):
4933 Ignore strings as well as comments. (Bug#9502)
4934
7e423bb8
AS
49352011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4936
4937 * progmodes/sql.el (sql-comint-postgres):
4938 Convert port number to a string. (Bug#9566)
4939
b4d72fcf
MR
49402011-09-22 Martin Rudalics <rudalics@gmx.at>
4941
4942 * window.el (quit-window): Undedicate window when switching to
4943 previous buffer. Reported by Thierry Volpiatto
4944 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
4945 (special-display-popup-frame): When popping up a new frame reset
4946 its previous buffers to nil. Simplify code.
b4d72fcf 4947
a7b88dc6
MA
49482011-09-21 Michael Albinus <michael.albinus@gmx.de>
4949
4950 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4951 and process filter, as done also in `shell-command'.
4952
cf4eacfd
MR
49532011-09-21 Martin Rudalics <rudalics@gmx.at>
4954
eca3f3ea 4955 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
4956 Call set-window-start with NOFORCE argument t.
4957 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
4958 (quit-window): Reword doc-string. Handle new format of
4959 quit-restore parameter. Don't delete window if it has a
4960 previous buffer we can show instead of the present one.
4961 (display-buffer-record-window): Rewrite using a new format for
4962 the quit-restore window parameter
4963 (special-display-popup-frame, display-buffer-same-window)
4964 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4965 (display-buffer-pop-up-window, display-buffer-use-some-window):
4966 Adapt symbol passed to display-buffer-record-window.
4967 * help.el (help-window-setup): Handle new format of quit-restore
4968 parameter.
4969
8d28cb95
SM
49702011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4971
94ab793f
SM
4972 * faces.el (face-list): Fix docstring (bug#9564).
4973
8d28cb95
SM
4974 * window.el (display-buffer--action-function-custom-type):
4975 Don't include internal functions in the Custom interface.
4976
3820edeb
JL
49772011-09-20 Juri Linkov <juri@jurta.org>
4978
4979 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4980 (Info-forward-node, Info-backward-node, Info-next-preorder)
4981 (Info-last-preorder): Use it. (Bug#9528)
4982
5147931d
JL
49832011-09-20 Juri Linkov <juri@jurta.org>
4984
4985 * info.el (Info-last-preorder): Visit last menu item only when
4986 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4987
cf499a1a
JD
49882011-09-20 Julien Danjou <julien@danjou.info>
4989
4990 * password-cache.el (password-cache-remove): Remove entries even if the
4991 value is nil, so that password with a nil value (negative caching) is
4992 possible to invalidate.
4993
f84e2fe2
LM
49942011-09-20 Lawrence Mitchell <wence@gmx.li>
4995
4996 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4997 all whitespace around breakpoint. (Bug#9553)
4998 (f90-find-breakpoint): Only break at whitespace inside a comment.
4999
78054a46
SM
50002011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5001
5002 * minibuffer.el (completion-file-name-table): Keep track of errors.
5003 (completion-table-with-predicate): Handle the case where pred1 is nil.
5004 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5005
345083b2
SM
50062011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5007
e24e27be
SM
5008 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5009 (debugger-return-value): Signal an error if the debugging context does
5010 not await any return value.
5011
345083b2
SM
5012 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5013 * image-mode.el (image-toggle-display-text)
5014 (image-toggle-display-image): Stay away from evil `intangible'.
5015
08d355e3
LL
50162011-09-19 Leo Liu <sdl.web@gmail.com>
5017
5018 * replace.el (occur-revert-arguments): Make it permanent-local.
5019 (occur-mode): Don't call font-lock-defontify.
5020
f01da43f
CY
50212011-09-19 Chong Yidong <cyd@stupidchicken.com>
5022
5023 * net/ldap.el (ldap-search-internal): Don't push empty search
5024 result (Bug#9508).
5025
b6072fa6
SM
50262011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5027
5028 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5029
443d6696
MA
50302011-09-19 Michael Albinus <michael.albinus@gmx.de>
5031
5032 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5033 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5034
7cc6e154
JL
50352011-09-18 Juri Linkov <juri@jurta.org>
5036
5037 * buff-menu.el (Buffer-menu-mode-map):
5038 * dired.el (dired-mode-map):
5039 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5040 (lisp-interaction-mode-map):
5041 * emacs-lisp/package.el (package-menu-mode-map):
5042 * epa.el (epa-key-list-mode-map):
5043 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5044 (menu-bar-options-menu):
5045 * outline.el (outline-mode-menu-bar-map):
5046 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5047 * vc/vc-dir.el (vc-dir-menu-map):
5048 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5049 Capitalize non-function content words in menu item strings.
5050
5051 * dired.el (dired-mode-map): Add menu item for
5052 `image-dired-dired-toggle-marked-thumbs'.
5053
80302a81
JL
50542011-09-18 Juri Linkov <juri@jurta.org>
5055
5056 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5057 to `isearch-case-fold-search' and restore its original value
5058 after the `isearch-mode' call.
5059
46c5cf66
JL
50602011-09-18 Juri Linkov <juri@jurta.org>
5061
5062 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5063 because `zgrep' returns 1 for successful matches (bug#9226).
5064
d18b513b
JL
50652011-09-18 Juri Linkov <juri@jurta.org>
5066
5067 * info.el (Info-extract-menu-node-name): Check the second match
5068 for empty string (second test-case of bug#9528).
5069 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5070 intermediate nodes to the history (first test-case of bug#9528).
5071
72753f87
JL
50722011-09-18 Juri Linkov <juri@jurta.org>
5073
5074 * info.el (Info-mode-syntax-table): New variable.
1154d12e 5075 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 5076
c9384295
JL
50772011-09-18 Juri Linkov <juri@jurta.org>
5078
1154d12e
JB
5079 * info.el (Info-file-supports-index-cookies):
5080 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5081 outputs one more line for long file names (bug#4142).
c9384295 5082
d473dce8
CY
50832011-09-18 Chong Yidong <cyd@stupidchicken.com>
5084
5085 * newcomment.el (comment-normalize-vars): If prompting for
5086 comment-start, set comment-start-skip too (Bug#8424).
5087
2176854d
JB
50882011-09-18 Johan Bockgård <bojohan@gnu.org>
5089
5090 * icomplete.el: Fix previous fix of Bug#5849.
5091 (icomplete-mode): Don't set completion-show-inline-help.
5092 (icomplete-minibuffer-setup): Set completion-show-inline-help
5093 locally during icompletion.
5094
3aace4e4
CY
50952011-09-18 Chong Yidong <cyd@stupidchicken.com>
5096
c940224f
CY
5097 * woman.el (woman2-process-escapes): Don't delete unrecognized
5098 escapes (Bug#7843).
5099
3aace4e4
CY
5100 * files.el (inhibit-first-line-modes-regexps): Add image files.
5101 (hack-local-variables-prop-line): Return nil for malformed
5102 prop-lines (Bug#9044).
5103
710dec63
MA
51042011-09-18 Michael Albinus <michael.albinus@gmx.de>
5105
5106 * net/tramp.el (top): Don't require 'shell.
5107 (tramp-methods): Fix docstring.
5108 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
5109 Return complete remote file name. Handle "smb" case.
5110 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
5111 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5112
5113 * net/tramp-compat.el (top): Require 'shell.
5114
5115 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5116 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5117 `tramp-current-host'.
5118 (tramp-get-remote-tmpdir): Remove.
5119
5120 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5121 `tramp-tmpdir' entries.
5122 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5123 (tramp-smb-handle-file-attributes): Ignore errors.
5124 (tramp-smb-wait-for-output): Check also for process end.
5125
5d5ac8ec
LMI
51262011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5127
5128 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5129 when sending QUIT (bug#9312).
5130
8c0f49f0
CY
51312011-09-17 Chong Yidong <cyd@stupidchicken.com>
5132
5133 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5134 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5135 occur-mode-display-occurrence.
5136 (occur-edit-mode): Add usage message.
5137 (occur-cease-edit): New command.
5138 (occur-after-change-function): Use text properties to find the
5139 position of the prefix text.
5140 (occur-engine): Set stickiness of prefix text properties.
5141
8f1383f7
GM
51422011-09-17 Glenn Morris <rgm@gnu.org>
5143
5144 * progmodes/etags.el (complete-tag):
5145 Fix call to completion-in-region. (Bug#9526)
5146
744ba0e3
JL
51472011-09-17 Juri Linkov <juri@jurta.org>
5148
5149 * textmodes/ispell.el (ispell-word): Add to the error message
5150 the word, ispell program name and current dictionary (bug#9121).
5151 (ispell-tex-arg-end): Capitalize "error" in the error message.
5152
d9bbf400
AS
51532011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5154
5155 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5156 check. (Bug#4251)
5157
8da11505
JL
51582011-09-17 Juri Linkov <juri@jurta.org>
5159
5160 * window.el (window-safe-min-height, window-safe-min-width):
5161 Fix typos (followup to bug#9522).
5162
a91adc7e
SJ
51632011-09-17 Sven Joachim <svenjoac@gmx.de>
5164
5165 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5166
064f328a
EZ
51672011-09-16 Eli Zaretskii <eliz@gnu.org>
5168
5169 * simple.el (line-move): If goal-column is set, move by logical
5170 lines, not by display lines. (Bug#971)
5171 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5172 to reflect the above change.
5173
e69df516
SM
51742011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5175
5176 * image.el (imagemagick-register-types): Use regexp-opt.
5177
cbb0f9ab
CY
51782011-09-15 Chong Yidong <cyd@stupidchicken.com>
5179
5180 * window.el (display-buffer-base-action): Rename from
5181 display-buffer-default-action. Make default value empty.
5182 (display-buffer-overriding-action): Convert to defvar.
5183 (display-buffer-fallback-action): New var.
5184
25322144
CY
51852011-09-15 Chong Yidong <cyd@stupidchicken.com>
5186
5187 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5188 declaration.
5189 (package--add-to-archive-contents): If there is a duplicate entry
5190 with an older version, remove it.
5191 (package-menu-mark-delete, package-menu-mark-install)
5192 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
5193 (package-menu-mark-obsolete-for-deletion):
5194 Use package-menu-get-status instead of a regexp search.
25322144
CY
5195 (package-menu-get-status): Use tabulated-list-entry.
5196 (package-menu-mark-upgrades): New command.
d770725a 5197 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
5198 (package-menu-execute): Do installation before deletion.
5199 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5200 instead of checking major-mode.
5201 (package-menu--find-upgrades): New function.
5202
7520339c
LMI
52032011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5204
5205 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5206 passwords in the log buffer.
65a046c4
LMI
5207 (smtpmail-process-filter): Update the process marker so that the
5208 "broken by peer" status message is inserted in the right place.
7520339c 5209
d3c30954
SM
52102011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5211
3fe48822
SM
5212 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5213 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5214 bibtex-completion-at-point-function.
5215 (bibtex-completion-at-point-function): Use them.
5216
1b8b3954
SM
5217 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5218
d3c30954
SM
5219 * mpc.el (mpc-constraints-tag-lookup): New function.
5220 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5221 also to browser "album|playlist".
5222
72779976
JL
52232011-09-14 Juri Linkov <juri@jurta.org>
5224
5225 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
5226 (isearch-edit-string): Use length of `isearch-string' when
5227 `isearch-fail-pos' returns nil.
5228 (isearch-message): Remove duplicate code and call
5229 `isearch-fail-pos' with arg `t'.
5230
a0bf2bcd
CY
52312011-09-14 Chong Yidong <cyd@stupidchicken.com>
5232
17bb0a2d
CY
5233 * replace.el (occur-mode-goto-occurrence): Don't force using other
5234 window (Bug#9499).
5235
a0bf2bcd
CY
5236 * dired-aux.el (dired-do-chmod): Don't provide initial input.
5237
f678e0b6
MR
52382011-09-14 Martin Rudalics <rudalics@gmx.at>
5239
5240 * window.el (display-buffer-window): Remove.
5241 (display-buffer-record-window): Use help-setup window parameter
5242 instead of variable display-buffer-window.
5243 (display-buffer-function, special-display-buffer-names)
5244 (special-display-function): Mention help-setup parameter instead
5245 of display-buffer-window in doc-string.
d3c30954
SM
5246 * help.el (help-window-setup): New argument help-window.
5247 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
5248 Reword some messages.
5249 (with-help-window): Pass window used for displaying the buffer
5250 to help-window-setup. Don't set display-buffer-window.
5251
8e39b2e8
GM
52522011-09-13 Glenn Morris <rgm@gnu.org>
5253
5254 * emacs-lisp/debug.el (debugger-make-xrefs):
5255 Preserve point. (Bug#9462)
5256
85e9c04b
CY
52572011-09-13 Chong Yidong <cyd@stupidchicken.com>
5258
5259 * window.el (window-deletable-p): Use next-frame.
5260
1b36ed6a
MR
52612011-09-13 Martin Rudalics <rudalics@gmx.at>
5262
5263 * window.el (window-auto-delete): Remove.
5264 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 5265 dedication and previous buffers.
1b36ed6a
MR
5266 (switch-to-prev-buffer): Don't delete window.
5267 (delete-windows-on): Delete a window's frame if and only if the
5268 window is dedicated.
5269 (replace-buffer-in-windows): Delete buffer's window or frame if
5270 and only if window is dedicated.
5271 (quit-window): Handle quit-restore as before last change.
4d61f28d 5272 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 5273
ef8ef9fb
CY
52742011-09-13 Chong Yidong <cyd@stupidchicken.com>
5275
5276 * window.el (window-deletable-p): Never delete the last frame on a
5277 given terminal.
5278
b2cba41e
GM
52792011-09-13 Glenn Morris <rgm@gnu.org>
5280
5281 * help.el (describe-key-briefly): Copy previous standard-output change.
5282
51553db6 52832011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
5284
5285 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
5286
b7556719
GM
52872011-09-13 Glenn Morris <rgm@gnu.org>
5288
5289 * emacs-lisp/lisp-mode.el (lisp-indent-function):
5290 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5291
64b51947
CY
52922011-09-12 Chong Yidong <cyd@stupidchicken.com>
5293
5294 * dired-aux.el (dired-mark-read-string): Don't return default
5295 value on empty input (Bug#9361).
5296 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5297 Omit initial minibuffer contents.
5298 (dired-do-chmod): Signal an error on empty input.
5299 (dired-mark-read-string): Don't return default on empty input.
5300
5301 * files.el (file-modes-symbolic-to-number): Doc fix.
5302
393a301e
SM
53032011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5304
5305 * international/mule-cmds.el (ucs-completions): Remove.
5306 (read-char-by-name): Use complete-with-action instead; add metadata.
5307
fa5660f9
CY
53082011-09-11 Chong Yidong <cyd@stupidchicken.com>
5309
5310 * window.el (display-buffer--action-function-custom-type)
5311 (display-buffer--action-custom-type): New vars.
5312 (display-buffer-alist, display-buffer-default-action)
5313 (display-buffer-overriding-action): Add defcustom types.
5314
4a592f66
CY
5315 * frame.el (delete-other-frames): Doc fix (Bug#276).
5316
73d56dbd
LMI
53172011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5318
5319 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5320
37ac18a3
CY
53212011-09-11 Chong Yidong <cyd@stupidchicken.com>
5322
5323 Change modes that used same-window-* vars to use switch-to-buffer.
5324
5325 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5326 Use switch-to-buffer.
5327
5328 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
5329 (customize-browse, custom-buffer-create-other-window):
5330 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
5331
5332 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5333 (Info-prev, Info-up, Info-speedbar-goto-node)
5334 (info-display-manual): Use switch-to-buffer.
5335 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5336
5337 * mail/sendmail.el (mail): Use switch-to-buffer.
5338 (mail-recover): Use switch-to-buffer-other-window.
5339
5340 * cmuscheme.el (run-scheme, switch-to-scheme):
5341 * ielm.el (ielm):
5342 * shell.el (shell):
5343 * net/rlogin.el (rlogin):
5344 * net/telnet.el (telnet, rsh):
5345 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5346
10195bd6
AS
53472011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5348
5349 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5350
b322f63a
LMI
53512011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5352
39d7fed6
LMI
5353 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5354 so don't mention it (bug#9301).
ba5a81f1 5355 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 5356
ee0e9f11
LMI
5357 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5358 match `x', `w32' and `ns', like the manual says (bug#9029).
5359
0b1c89c1 5360 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
5361 (process-kill-buffer-query-function): Mention the buffer name in
5362 the query.
0b1c89c1 5363
77549ea8
LMI
5364 * image-mode.el (image-next-line): The line parameter is mandatory
5365 (bug#9258).
5366
803ef892
LMI
5367 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5368 which can be useful (bug#9301).
5369
12980837
LMI
5370 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5371
91054f8f
LMI
5372 * subr.el (match-string): Mention that the current buffer should
5373 be the same as the search was done in (bug#9282).
5374
b322f63a
LMI
5375 * facemenu.el: Disable the remove-* commands if the mark isn't
5376 active (bug#9162).
5377
3199b96f
CY
53782011-09-10 Chong Yidong <cyd@stupidchicken.com>
5379
5380 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5381 of display-buffer.
5382 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5383
5384 * replace.el (occur-mode-goto-occurrence)
5385 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5386 and display-buffer.
5387
5388 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5389 display-buffer.
5390
5391 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5392 special-display and same-window variables.
5393 (mail-other-window): Use switch-to-buffer-other-window.
5394 (mail-other-frame): USe switch-to-buffer-other-frame.
5395
393a301e
SM
5396 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5397 Use display-buffer-other-frame.
3199b96f
CY
5398 (gdb-display-gdb-buffer): Use pop-to-buffer.
5399
5400 * progmodes/gud.el (gud-goto-info): Use info-other-window.
5401
5402 * progmodes/python.el: Don't set same-window-buffer-names.
5403
5404 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5405
5406 * window.el (display-buffer-alist): Add *Python*.
5407
8319e0bf
CY
54082011-09-10 Chong Yidong <cyd@stupidchicken.com>
5409
5410 * window.el (display-buffer-alist): Add entry for buffers
5411 previously handled same-window-*.
5412 (display-buffer-alist, display-buffer-default-action)
5413 (display-buffer-overriding-action): Mark as risky.
5414 (display-buffer-alist): Document action function changes.
5415 (display-buffer--same-window-action)
5416 (display-buffer--other-frame-action): New variables.
5417 (switch-to-buffer, display-buffer-other-frame): Use them.
5418 (display-buffer): Rename reuse-frame entry to reusable-frames.
5419 (display-buffer-reuse-selected-window): Function deleted.
5420 (display-buffer-reuse-window): Handle reusable-frames alist entry.
5421 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5422 (display-buffer-special): New function.
5423 (display-buffer--maybe-pop-up-frame-or-window): Rename from
5424 display-buffer-reuse-or-pop-window. Split off special-display
5425 part into display-buffer-special.
5426 (display-buffer-use-some-window): Don't perform any special
5427 pop-up-frames handling.
5428 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 5429 (display-buffer--maybe-same-window): Rename from
0d3ff375 5430 display-buffer-maybe-same-window.
8319e0bf 5431
919a69aa
CY
5432 * info.el: Don't set same-window-regexps.
5433 (info-setup): New function.
5434 (info-other-window, info): Call it.
5435
5436 * cus-edit.el: Don't set same-window-regexps.
5437 (customize-group): New argument.
5438 (customize-group-other-window): Use it.
5439 (customize-face, customize-face-other-window): Likewise.
5440 (custom-buffer-create-other-window): Use pop-to-buffer directly.
5441
8319e0bf
CY
5442 * net/rlogin.el:
5443 * net/telnet.el:
5444 * progmodes/gud.el: Don't set same-window-regexps.
5445
5446 * cmuscheme.el:
5447 * ielm.el:
5448 * shell.el:
5449 * mail/sendmail.el:
5450 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5451
25173000
JL
54522011-09-10 Juri Linkov <juri@jurta.org>
5453
5454 * isearch.el (isearch-edit-string): Remove obsolete mention of
5455 `C-w' (`isearch-yank-word-or-char') from docstring.
5456 (isearch-query-replace): Fix typo in docstring (bug#9466).
5457
056e44ef
JL
54582011-09-10 Juri Linkov <juri@jurta.org>
5459
5460 * paren.el (show-paren-function): Don't show escaped parens.
5461 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
5462
c3760c17
EZ
54632011-09-10 Eli Zaretskii <eliz@gnu.org>
5464
5465 * mail/sendmail.el (mml-to-mime, mml-attach-file)
5466 (mm-default-file-encoding): Remove autoload forms, they are
5467 replaced with autoload cookies in mml.el and mm-encode.el.
5468 (mail-add-attachment): New command.
5469 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5470 (mail-mode): Mention mail-insert-file and mail-add-attachment in
5471 the doc string.
5472 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5473
fece895e
RT
54742011-09-10 Reuben Thomas <rrt@sc3d.org>
5475
e69df516
SM
5476 * simple.el (count-words-region): Use buffer if there's no region
5477 (bug#9429).
fece895e 5478
5e68ce4a
JL
54792011-09-09 Juri Linkov <juri@jurta.org>
5480
5481 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5482 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5483 (wdired-isearch-filter-read-only): New function. (Bug#6362)
5484
0a6b9622
AM
54852011-09-09 Alan Mackenzie <acm@muc.de>
5486
5487 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5488 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
5489
14a29deb
EZ
54902011-09-09 Eli Zaretskii <eliz@gnu.org>
5491
5492 Fix for Savannah bug#9392.
5493 * simple.el (mail-encode-mml): New defvar.
5494
5495 * mail/rmail.el (mail-encode-mml): Add a defvar.
5496 (rmail-enable-mime-composing): Default to t.
5497 (rmail-forward): Use MIME method of forwarding only if both
5498 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5499 Set mail-encode-mml non-nil if the MIME method was used.
5500
5501 * mail/sendmail.el (mml-to-mime): Add autoload form.
5502 (mail-encode-mml): Add a defvar.
5503 (mail-mode): Make mail-encode-mml buffer-local and initialize it
5504 to nil.
5505 (mail-send): If mail-encode-mml is non-nil, run the outgoing
5506 message through mml-to-mime, and reset mail-encode-mml to nil.
5507
28c45130
GM
55082011-09-09 Glenn Morris <rgm@gnu.org>
5509
5510 * woman.el (woman-if-body): When processing an .el block,
5511 do not delete the next .el block as well. (Bug#9447)
69f4b618 5512 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 5513
9b1c252e
MR
55142011-09-08 Martin Rudalics <rudalics@gmx.at>
5515
5516 * window.el (window-deletable-p): Make sure window is live before
5517 invoking window-prev-buffers.
5518
567457e3
LL
55192011-09-08 Leo Liu <sdl.web@gmail.com>
5520
5521 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
5522
97f05794
JL
55232011-09-08 Juri Linkov <juri@jurta.org>
5524
5525 * progmodes/compile.el (compilation-environment): Make it
5526 a defcustom (bug#8340).
5527
8b0874b5
MR
55282011-09-08 Martin Rudalics <rudalics@gmx.at>
5529
5530 * window.el (frame-auto-delete): Rename to window-auto-delete.
5531 Make it control auto-deletion of windows and/or frames.
5532 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 5533 for deleting window/frame. (Bug#9419)
8b0874b5
MR
5534 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5535 Rewrite handling of case when window/frame can be deleted.
5536 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 5537 argument t. (Bug#9456)
8b0874b5 5538
4feb6e73
CY
55392011-09-07 Chong Yidong <cyd@stupidchicken.com>
5540
5541 * help-mode.el (help-mode): Restore autoload.
5542
91ab9c13
JL
55432011-09-07 Juri Linkov <juri@jurta.org>
5544
5545 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5546 `compilation-environment'. Set buffer-local
5547 `compilation-environment' to `thisenv' later after (funcall mode).
5548 (Bug#8340)
5549
5550 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
5551 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5552 instead of replacing its value. (Bug#8340)
5553
0527e251
JL
55542011-09-07 Juri Linkov <juri@jurta.org>
5555
5556 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5557 based on text properties put by `grep-filter' instead of matching
5558 escape sequences.
5559 (grep-mode): Set buffer-local `compilation-error-screen-columns'
5560 to the value of `grep-error-screen-columns' (bug#9438).
5561
249f792c
JL
55622011-09-07 Juri Linkov <juri@jurta.org>
5563
5564 * simple.el (next-error-highlight, next-error-highlight-no-select):
5565 Doc fix (bug#9432).
5566
ff7271b9
OT
55672011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5568
5569 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5570 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
5571
183fc730
LL
55722011-09-07 Leo Liu <sdl.web@gmail.com>
5573
5574 * net/rcirc.el (rcirc-mode): Conditionally initialize
5575 rcirc-input-ring.
5576
77694924
SM
55772011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5578
5579 * emacs-lisp/find-func.el (find-function-C-source): Only set
5580 find-function-C-source-directory after checking that we found a source
5581 file there (bug#9440).
5582
d809b8eb
AM
55832011-09-06 Alan Mackenzie <acm@muc.de>
5584
5585 * isearch.el (isearch-other-meta-char): Wherever a key list is
5586 unread, "unread" the prefix arg, too. This fixes bug #8901.
5587
453de99f
OG
55882011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5589
5590 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5591
90439906
JL
55922011-09-05 Juri Linkov <juri@jurta.org>
5593
5594 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5595
f62bd846
JL
55962011-09-05 Juri Linkov <juri@jurta.org>
5597
5598 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5599 keeping point where processing of grep matches begins, and
5600 continue to delete remaining escape sequences from the same point.
5601 (grep-filter): Make leading zero optional in "0?1;31m" because
5602 git-grep emits "\033[1;31m" escape sequences unlike expected
5603 "\033[01;31m" as GNU Grep does (bug#9408).
5604 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5605
045820ec
JL
56062011-09-05 Juri Linkov <juri@jurta.org>
5607
5608 * subr.el (y-or-n-p): Capitalize "yes".
5609
f5e29b9b
MA
56102011-09-04 Michael Albinus <michael.albinus@gmx.de>
5611
5612 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
5613 `tramp-cache-unload-hook' where appropriate.
5614 (tramp-methods): Rename `tramp-remote-sh' to
5615 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
5616 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5617
5618 * net/tramp-sh.el (top): Don't require 'shell.
5619 (tramp-methods): Add `tramp-remote-shell' and
5620 `tramp-remote-shell-args' entries.
5621 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5622 (tramp-sh-handle-shell-command): Remove.
5623 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5624 Use `tramp-remote-shell'.
5625
2784c434
CY
56262011-09-03 Chong Yidong <cyd@stupidchicken.com>
5627
393a301e 5628 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
5629 (sendmail-query-once): Save directly to send-mail-function.
5630 Update message-send-mail-function too.
5631
5632 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5633
464cdf56
CS
56342011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5635
5636 * progmodes/python.el (python-mode-map): Use correct function to
5637 start python interpreter from menu-bar (as reported by Geert
5638 Kloosterman).
5639 (inferior-python-mode-map): Fix typo.
393a301e 5640 (python-shell-map): Remove.
464cdf56 5641
d37e5c87
DD
56422011-09-03 Deniz Dogan <deniz@dogan.se>
5643
5644 * net/rcirc.el (rcirc-print): Simplify code for
5645 rcirc-scroll-show-maximum-output. There is no need to walk
5646 through all windows to find the right one.
5647
f3ada0ee
CS
56482011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5649
5650 * help.el (help-return-method): Doc fix.
5651
1f3c99ca
MR
56522011-09-03 Martin Rudalics <rudalics@gmx.at>
5653
5654 * window.el (window-deletable-p): Don't return a non-nil value
5655 when there's a buffer that was shown in the window before.
5656 (Bug#9419)
393a301e
SM
5657 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5658 Set window's previous buffers to nil.
1f3c99ca 5659
a3cf097f
EZ
56602011-09-03 Eli Zaretskii <eliz@gnu.org>
5661
5662 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5663 newline before and after the tag line, so it doesn't interfere
5664 with determining the paragraph direction of bidirectional text.
5665
3d03de90
LL
56662011-09-03 Leo Liu <sdl.web@gmail.com>
5667
5668 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5669
c3313451
CY
56702011-09-02 Chong Yidong <cyd@stupidchicken.com>
5671
393a301e 5672 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
5673 (pop-to-buffer): Change interactive spec. Pass second argument
5674 directly to display-buffer.
5675 (display-buffer): Fix interactive spec. Use functionp to
5676 distinguish between a function and a list of functions.
5677
5678 * abbrev.el (edit-abbrevs):
5679 * arc-mode.el (archive-extract):
5680 * autoinsert.el (auto-insert):
5681 * bookmark.el (bookmark-bmenu-list):
5682 * files.el (find-file):
5683 * view.el (view-buffer):
5684 * progmodes/compile.el (compilation-goto-locus):
5685 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5686
89894cd8
CY
56872011-09-02 Chong Yidong <cyd@stupidchicken.com>
5688
5689 * window.el (display-buffer-alist): Doc fix.
5690 (display-buffer): Add docstring. Don't treat
5691 display-buffer-default specially.
5692 (display-buffer-reuse-selected-window)
5693 (display-buffer-same-window, display-buffer-maybe-same-window)
5694 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5695 (display-buffer-pop-up-window)
5696 (display-buffer-reuse-or-pop-window)
5697 (display-buffer-use-some-window): New functions.
5698 (display-buffer-default-action): Use them.
393a301e 5699 (display-buffer-default): Delete.
89894cd8
CY
5700 (pop-to-buffer-1): Fix choice of actions.
5701
ae0bc9fb
SM
57022011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5703
5704 * minibuffer.el (completion--insert-strings): Don't get confused by
5705 completion entries that end with an LF char.
5706
e9d90883
EZ
57072011-09-01 Eli Zaretskii <eliz@gnu.org>
5708
5709 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5710
437014c8
CY
57112011-09-01 Chong Yidong <cyd@stupidchicken.com>
5712
5713 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
5714 (display-buffer-same-window, display-buffer-other-window):
5715 New functions.
437014c8
CY
5716 (pop-to-buffer-1): New function. Use the above.
5717 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 5718 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
5719
5720 * view.el (view-buffer-other-window, view-buffer-other-frame):
5721 Just use pop-to-buffer.
5722
a5e063d5
TV
57232011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5724
5725 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5726
793d32bb
WH
57272011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5728
5729 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5730
d65e4c15
RS
57312011-08-31 Richard Stallman <rms@gnu.org>
5732
5733 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5734 of the separation of rmail-view-buffer from rmail-buffer.
5735 If you say no to "replace original", the decrypt is in the
5736 view buffer. If you say yes, the decrypt goes into the
5737 rmail buffer also.
5738
f818cd2a
MR
57392011-08-31 Martin Rudalics <rudalics@gmx.at>
5740
5741 * window.el (display-buffer-window): Rewrite doc-string.
5742 (display-buffer-record-window): New function.
5743 (display-buffer-macro-specifiers)
5744 (display-buffer-even-window-sizes, display-buffer-set-height)
5745 (display-buffer-set-width, display-buffer-in-window)
5746 (display-buffer-reuse-window, display-buffer-split-specifiers)
5747 (display-buffer-side-specifiers, display-buffer-split-window-1)
5748 (display-buffer-split-window, display-buffer-split-atom-window)
5749 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5750 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5751 (display-buffer-other-window-means-other-frame)
5752 (display-buffer-normalize-special)
5753 (display-buffer-normalize-default)
5754 (display-buffer-normalize-argument)
5755 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5756 (display-buffer-normalize-specifiers, display-buffer-frame)
5757 (display-buffer-same-window, display-buffer-same-frame)
5758 (display-buffer-other-window)
5759 (display-buffer-same-frame-other-window)
5760 (display-buffer-other-frame, pop-to-buffer-same-window)
5761 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5762 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5763 (switch-to-buffer-same-frame)
5764 (switch-to-buffer-other-window-same-frame)
5765 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5766 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5767 (display-buffer-alist-set): Remove.
5768 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
5769 (special-display-regexps, special-display-function):
5770 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
5771 parameter.
5772 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5773 (special-display-frame-alist, special-display-popup-frame)
5774 (same-window-buffer-names, same-window-regexps, same-window-p)
5775 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5776 (split-window-preferred-function, split-height-threshold)
5777 (split-width-threshold, window-splittable-p)
5778 (split-window-sensibly, window--try-to-split-window)
5779 (window--frame-usable-p, even-window-heights)
5780 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
5781 (window--display-buffer-2, display-buffer-other-frame):
5782 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
5783 (display-buffer-default, display-buffer-assq-regexp): New functions.
5784 (display-buffer-alist): Rewrite doc-string.
5785 (display-buffer-default-action)
5786 (display-buffer-overriding-action): New variables.
5787 (display-buffer, switch-to-buffer): Rewrite.
5788 (pop-to-buffer): Restore Emacs 23 behavior but use
5789 window-normalize-buffer-to-display.
5790 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5791 Restore Emacs 23 behavior but use
5792 window-normalize-buffer-to-switch-to.
5793 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
5794 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5795 Rewrite using Emacs 23 options.
f818cd2a 5796
5bc3b51d
MA
57972011-08-31 Michael Albinus <michael.albinus@gmx.de>
5798
5799 * net/tramp.el (tramp-root-regexp): Remove.
5800 (tramp-completion-file-name-regexp-unified)
5801 (tramp-completion-file-name-regexp-separate)
5802 (tramp-completion-file-name-regexp-url): Don't use leading volume
5803 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
5804 (tramp-drop-volume-letter): Simplify definition.
5805 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 5806
b1a4f8e1
SM
58072011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5808
5809 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5810 (bug#9356).
5811
5664fa7b
RT
58122011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5813
b1a4f8e1 5814 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 5815
9a45d6c3
JL
58162011-08-29 Juri Linkov <juri@jurta.org>
5817
5818 * isearch.el (isearch-done): Don't display message "Mark saved"
5819 when arg `edit' is non-nil to prevent its flicker in the echo area.
5820
fb87e0fb
CY
58212011-08-28 Chong Yidong <cyd@stupidchicken.com>
5822
5823 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5824 obsolete packages for deletion.
5825
09ac1c2a
CS
58262011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5827
5828 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 5829 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
5830 view-mode from help-mode.
5831 (help-xref-override-view-map): Remove.
5832 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5833 view-mode is not used anymore.
5834
7a1ff57f
CY
58352011-08-28 Chong Yidong <cyd@stupidchicken.com>
5836
5837 * server.el (server-port): Doc fix.
5838
b9696605
CY
5839 * cus-theme.el (custom-theme-choose-mode): Inherit from
5840 special-mode (Bug#9124).
5841 (custom-theme-choose-mode-map): Add special-mode to parent.
5842
ef8cdf8c
AM
58432011-08-28 Alan Mackenzie <acm@muc.de>
5844
5845 * progmodes/cc-fonts.el
5846 (c-make-font-lock-BO-decl-search-function): New function.
5847 (c-basic-matchers-after - "Fontify the clauses after various
5848 keywords"): Extract the three keyword lists for the 3 erroneous
5849 constructs from the list of four, and use the new function above
5850 in place of an old one.
5851
27de4e20
DD
58522011-08-28 Deniz Dogan <deniz@dogan.se>
5853
5854 * net/rcirc.el (rcirc-insert-prev-input)
5855 (rcirc-insert-next-input): Remove unused argument.
5856
356a3681
SM
58572011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5858
5859 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5860
3fc9b218
AM
58612011-08-27 Alan Mackenzie <acm@muc.de>
5862
5863 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5864 handle function pointer parameters properly.
5865
538a061c
MR
58662011-08-27 Martin Rudalics <rudalics@gmx.at>
5867
5868 * window.el (display-buffer-reuse-window): Fix case where
5869 selected window was reused with non-nil OTHER-WINDOW argument.
5870 (Bug#9381)
5871
35b1c40c
DD
58722011-08-27 Deniz Dogan <deniz@dogan.se>
5873
5874 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5875 oftc's NickServ messages.
5876
2f6a3e79
GM
58772011-08-27 Glenn Morris <rgm@gnu.org>
5878
5879 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5880
7254299e
CY
58812011-08-26 Chong Yidong <cyd@stupidchicken.com>
5882
5883 * emacs-lisp/package.el (package-install): Call package-initialize
5884 if called interactively.
5885
f8ccf167
LL
58862011-08-26 Leo Liu <sdl.web@gmail.com>
5887
5888 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5889
3e8cd5ce
JL
58902011-08-25 Juri Linkov <juri@jurta.org>
5891
5892 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5893 `search-whitespace-regexp' (bug#9364).
5894
93eb7113
JL
58952011-08-25 Juri Linkov <juri@jurta.org>
5896
5897 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5898 `regexp-search-ring' to their global values to protect from
5899 updating by `read-from-minibuffer' (bug#9185).
5900
f65d1611
JL
59012011-08-25 Juri Linkov <juri@jurta.org>
5902
5903 * textmodes/ispell.el (ispell-command-loop): Add newline
5904 at the end of the "Use option `i'..." line.
5905
f1cf7a31
JL
59062011-08-25 Juri Linkov <juri@jurta.org>
5907
5908 * battery.el (display-battery-mode): If `battery-status-function'
5909 or `battery-mode-line-format' is nil, display the message and set
5910 `display-battery-mode' to nil (bug#9363).
5911
0c95fcf7
EZ
59122011-08-25 Eli Zaretskii <eliz@gnu.org>
5913
5914 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5915 bidi-string-mark-left-to-right; they are unnecessary now.
5916
a2ebe600
DD
59172011-08-25 Deniz Dogan <deniz@dogan.se>
5918
5919 * net/quickurl.el: Documentation typo fixes.
5920
e4ed06f1
CY
59212011-08-25 Chong Yidong <cyd@stupidchicken.com>
5922
5923 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5924
e5f1c99e
GM
59252011-08-25 Glenn Morris <rgm@gnu.org>
5926
b2948976
GM
5927 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5928
e5f1c99e
GM
5929 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5930 (smtpmail-via-smtp): Handle nil response from smtp.
5931
f22f4808
JL
59322011-08-24 Juri Linkov <juri@jurta.org>
5933
5934 * proced.el (proced-marked): Inherit from `error' instead of
5935 `font-lock-warning-face'.
5936
5937 * ibuffer.el (ibuffer-marked-face): Change default face from
5938 `font-lock-warning-face' to `warning'.
5939 (ibuffer-deletion-face): Change default face from
5940 `font-lock-type-face' to `error'.
5941
5942 * battery.el (battery-update): Use the face `error' instead of
5943 `font-lock-warning-face' (bug#6117).
5944
6a93965e
JL
59452011-08-24 Juri Linkov <juri@jurta.org>
5946
5947 * faces.el (success): Change face color from "Green3" to
5948 "ForestGreen" on light background (bug#9353).
5949
1ed43b09
CY
59502011-08-24 Chong Yidong <cyd@stupidchicken.com>
5951
5664fa7b
RT
5952 * window.el (quit-window): Rename from quit-restore-window.
5953 Use same arglist as old quit-window.
1ed43b09
CY
5954 (frame-auto-delete): Doc fix.
5955
5956 * view.el (view-mode-exit): Use quit-window.
5957
11dcdbb2
JL
59582011-08-24 Juri Linkov <juri@jurta.org>
5959
5960 * isearch.el (isearch-ring-adjust1): Start visiting previous
5961 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5962 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5963 for empty search string (when the last search string is reused
5964 automatically) to adjust the isearch ring to the last element and
5965 prepare the correct index for further M-p commands (bug#9185).
5966
de62b4df
KH
59672011-08-24 Kenichi Handa <handa@m17n.org>
5968
5969 * international/ucs-normalize.el: If decomposition property of
5970 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5971 nil.
5972 (nfd, nfkd): Likewise.
5973
963b492b
SM
59742011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5975
5976 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5977 from process filters aren't reliably transmitted to the surrounding
5978 accept-process-output.
5979 (mpc-proc-check): New function.
5980 (mpc-proc-sync): Use it (bug#8293)
5981
93b6b5e1
SM
59822011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5983
5984 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5985 Add compatibility functions (bug#9313).
5986
bca633fb
EZ
59872011-08-23 Eli Zaretskii <eliz@gnu.org>
5988
b177498a
EZ
5989 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5990
6df6ae42 5991 * international/uni-bidi.el: Regenerate.
bca633fb 5992
0902a04e
KH
59932011-08-23 Kenichi Handa <handa@m17n.org>
5994
5995 * international/charprop.el:
5996 * international/uni-bidi.el:
5997 * international/uni-category.el:
5998 * international/uni-combining.el:
5999 * international/uni-comment.el:
6000 * international/uni-decimal.el:
6001 * international/uni-decomposition.el:
6002 * international/uni-digit.el:
6003 * international/uni-lowercase.el:
6004 * international/uni-mirrored.el:
6005 * international/uni-name.el:
6006 * international/uni-numeric.el:
6007 * international/uni-old-name.el:
6008 * international/uni-titlecase.el:
6009 * international/uni-uppercase.el: Regenerate.
6010
3bbf23bc
MR
60112011-08-23 Martin Rudalics <rudalics@gmx.at>
6012
6013 * help.el (help-window-setup): Fix message displayed when other
6014 window is reused. (Bug#9341)
6015
b3fd59bd
SM
60162011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6017
1802e444
SM
6018 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6019 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6020
b3fd59bd
SM
6021 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6022 Mark obsolete.
6023 * shell.el (shell-parse-pcomplete-arguments): New function.
6024 (shell-completion-vars): Use it instead (bug#9160).
6025
4eb61348
SM
60262011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6027
867cab74
SM
6028 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6029 strings and comments (bug#9333).
6030
4eb61348
SM
6031 * emacs-lisp/debug.el (debug-arglist): New function.
6032 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6033 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6034
262a1439
JL
60352011-08-22 Juri Linkov <juri@jurta.org>
6036
56ee679c
JL
6037 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6038 Revert regexp that highlights output switches to its old
6039 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6040
262a1439
JL
6041 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6042 to check for empty output (bug#9226).
6043
f13f86fb
CY
60442011-08-22 Chong Yidong <cyd@stupidchicken.com>
6045
6046 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6047 symbol-constituent as the default, as that stops font-lock from
6048 working properly (Bug#8843).
6049
c65c9622
LMI
60502011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6051
6052 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6053 `coding-system-for-*' around the process open call to avoid
6054 auth-source side effects.
e7f2c178 6055 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
6056 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6057 probe hangs.
c65c9622 6058
23a8a5ab
CY
60592011-08-21 Chong Yidong <cyd@stupidchicken.com>
6060
ff98b2dd
CY
6061 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6062
23a8a5ab
CY
6063 * emacs-lisp/find-func.el (find-function-noselect): New arg
6064 lisp-only.
6065
6066 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6067 signal an error for built-in functions (Bug#6664).
6068
f5e3c598
LMI
60692011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6070
6071 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6072 (smtpmail-try-auth-methods): Use it.
6073
a3f2468a
CY
60742011-08-21 Chong Yidong <cyd@stupidchicken.com>
6075
2c34e8da
CY
6076 * font-lock.el (font-lock-fontify-region)
6077 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6078 (font-lock-default-unfontify-buffer)
6079 (font-lock-default-fontify-region)
6080 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6081
b3fd59bd
SM
6082 * progmodes/compile.el (compilation-error-properties):
6083 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
6084 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6085 `ant' regexp.
ee31aabc 6086
a3f2468a
CY
6087 * net/browse-url.el (browse-url-firefox): Don't call
6088 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6089
8e999f70
GM
60902011-08-20 Glenn Morris <rgm@gnu.org>
6091
c21a496a
GM
6092 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6093
59ee0542
GM
6094 * tutorial.el (tutorial--default-keys): Update some default bindings.
6095
8e999f70
GM
6096 * files.el (hack-local-variables): Fully ignore case for "mode:".
6097
e3715033
AM
60982011-08-20 Alan Mackenzie <acm@muc.de>
6099
6100 Resolve invalid use of a regexp in regexp-opt.
6101
4d61f28d
JB
6102 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6103 detection for a java annotation.
e3715033 6104
4d61f28d 6105 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
6106 detection for a java annotation.
6107
4d61f28d
JB
6108 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6109 handling for java.
e3715033
AM
6110 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6111
04ed2e9c
CY
61122011-08-20 Chong Yidong <cyd@stupidchicken.com>
6113
6114 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6115 (Bug#9274).
6116
826cee64
AM
61172011-08-20 Alan Mackenzie <acm@muc.de>
6118
58179cce 6119 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
6120 such a construct. Mainly for when jit-lock etc. starts a chunk
6121 here.
6122
58179cce 6123 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 6124 variable.
58179cce 6125 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
6126 c-make-font-lock-search-function.
6127 (c-make-font-lock-search-function): Use the above function.
6128 (c-make-font-lock-context-search-function): New function.
6129 (c-cpp-matchers): Enhance the preprocessor expression case with
6130 the above function
6131 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6132 which takes an expression.
6133
6134 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6135
13009bd8
MR
61362011-08-20 Martin Rudalics <rudalics@gmx.at>
6137
6138 * window.el (display-buffer-reuse-window)
6139 (display-buffer-pop-up-window): Don't reuse or split a side
6140 window.
6141
9234ff7f
GM
61422011-08-19 Glenn Morris <rgm@gnu.org>
6143
6144 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 6145 Downcase "Mode:". (Bug#9331)
9234ff7f 6146
f635daa1
CY
61472011-08-18 Chong Yidong <cyd@stupidchicken.com>
6148
6149 * international/characters.el: Add L and R categories.
6150
6151 * subr.el (bidi-string-mark-left-to-right): Rename from
6152 string-mark-left-to-right. Use category search.
6153
6154 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6155
bc987f8b
JL
61562011-08-18 Juri Linkov <juri@jurta.org>
6157
6158 * faces.el (error, warning, success): New faces with definitions
6159 copied from old default values of `font-lock-warning-face',
6160 `compilation-warning', `compilation-info' (bug#6117).
6161
6162 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6163
6164 * progmodes/compile.el (compilation-error): Inherit from `error'.
6165 (compilation-warning): Inherit from `warning'.
6166 (compilation-info): Inherit from `success'.
6167
6168 * dired.el (dired-marked): Inherit from `warning'.
6169 (dired-flagged): Inherit from `error'.
6170
57173b96
LMI
61712011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6172
3e79eb87
LMI
6173 * mail/smtpmail.el (auth-source): Require to avoid problems with
6174 binding variables (bug#9298). Also clean up some unused
6175 autoloads.
6176
b3fd59bd
SM
6177 * net/network-stream.el (network-stream-open-starttls):
6178 Support using starttls.el without using gnutls-cli.
57173b96 6179
02b404de
JL
61802011-08-17 Juri Linkov <juri@jurta.org>
6181
6182 * progmodes/grep.el (rgrep): Handle the case when
6183 `grep-find-command' is a cons cell (bug#9278).
6184
8c9177f2
MR
61852011-08-17 Martin Rudalics <rudalics@gmx.at>
6186
6187 * window.el (display-buffer-pop-up-frame): Run frame creation
6188 function with BUFFER current (as special-display-popup-frame
6189 does). Reported by Drew Adams.
6190
3644a0ab
DU
61912011-08-17 Daiki Ueno <ueno@unixuser.org>
6192
6193 * epa-mail.el: Simplify GnuPG group expansion using
6194 epg-expand-group.
6195 (epa-mail-group-alist, epa-mail-group-modtime)
6196 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6197 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6198 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6199 Remove.
6200
5e617bc2 62012011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
6202
6203 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6204
9c4aeabf
AM
62052011-08-16 Alan Mackenzie <acm@muc.de>
6206
6207 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6208 Correct, to avoid the inside of macros.
6209
3a99bf64
RS
62102011-08-16 Richard Stallman <rms@gnu.org>
6211
04963aa8
RS
6212 * epa-mail.el: Handle GnuPG group definitions.
6213 (epa-mail-group-alist, epa-mail-group-modtime)
6214 (epa-mail-gnupg-conf-file): New variables.
6215 (epa-mail-parse-groups, epa-mail-sync-groups)
6216 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6217 (epa-mail-expand-recipients): New functions.
6218 (epa-mail-encrypt): Call epa-mail-expand-recipients.
6219
177549d0
RS
6220 * mail/rmail.el (rmail-epa-decrypt): New command.
6221
fe38beef
RS
6222 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6223 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
6224 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6225 (epa-decrypt-armor-in-region): Make error message clearer.
6226
934eacb9
SM
62272011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6228
6229 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6230 and "a2b" to "ab" for `prefix'.
6231
d024fb4e
CY
62322011-08-14 Chong Yidong <cyd@stupidchicken.com>
6233
6234 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6235 filter groups.
de148fee
CY
6236 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
6237 Fourquet (Bug#8804).
d024fb4e 6238
62f1ca49
JB
62392011-08-12 Juanma Barranquero <lekktu@gmail.com>
6240
6241 * startup.el (argi): Declare as global variable (bug#9275).
6242
9ccaaa4b
CY
62432011-08-12 Chong Yidong <cyd@stupidchicken.com>
6244
6245 * subr.el (string-mark-left-to-right): Search the entire string
6246 for RTL script, not just the terminating character. Doc fix.
6247
a3dae87a
SM
62482011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6249
6cd18349
SM
6250 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6251 New function.
6252 (js--regexp-literal, js-syntax-propertize-function): Remove.
6253 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6254 (js-mode-map): Don't rebind electric keys.
6255 (js-insert-and-indent): Remove.
6256 (js-mode): Setup electric-layout and electric-indent instead.
6257
a3dae87a
SM
6258 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6259
9d5cb631
DU
62602011-08-12 Daiki Ueno <ueno@unixuser.org>
6261
6262 * epa.el (epa-progress-callback-function): Fix the logic of
6263 displaying progress.
6264 * epa-file.el (epa-file-insert-file-contents): Make progress
6265 display more user-friendly.
6266 (epa-file-write-region): Ditto.
6267
3e26a4a2
CY
62682011-08-10 Chong Yidong <cyd@stupidchicken.com>
6269
6270 * subr.el (string-mark-left-to-right): New function.
6271
6272 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6273 Use string-mark-left-to-right.
6274 (list-buffers-noselect): Caller changed.
6275
a3dae87a
SM
6276 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6277 Use string-mark-left-to-right.
3e26a4a2
CY
6278 (tabulated-list-print): Recenter after moving point.
6279
ac8cf6e6
JL
62802011-08-10 Juri Linkov <juri@jurta.org>
6281
6282 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6283 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6284 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6285
8d96c9a4
CY
62862011-08-09 Chong Yidong <cyd@stupidchicken.com>
6287
6288 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6289 (Bug#7554).
6290
7be1c708 62912011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
6292
6293 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6294 character. (Bug#6594)
6295
37e11a63
CY
62962011-08-08 Chong Yidong <cyd@stupidchicken.com>
6297
839dde57
CY
6298 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6299 (image-dired--with-db-file): New macro.
6300 (image-dired-write-tags, image-dired-remove-tag)
6301 (image-dired-create-gallery-lists, image-dired-write-comments)
6302 (image-dired-get-comment, image-dired-mark-tagged-files)
6303 (image-dired-list-tags, image-dired-gallery-generate): Use it.
6304 (image-dired-gallery-generate): Use insert-file-contents.
6305
37e11a63
CY
6306 * time.el (display-time-world-list, display-time-world-display):
6307 * time-stamp.el (time-stamp-string):
6308 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6309 set-time-zone-rule (Bug#7337).
6310
0b4946c4
DU
63112011-08-08 Daiki Ueno <ueno@unixuser.org>
6312
6313 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6314 (epg-error-to-string, epg-errors-to-string): New function.
6315 (epg-wait-for-completion): Reverse errors list.
6316 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6317 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6318 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6319 (epg-sign-keys, epg-generate-key-from-file)
6320 (epg-generate-key-from-string): Format errors by using
6321 epg-errors-to-string (bug#9255).
6322 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6323
75bfc667
JL
63242011-08-07 Juri Linkov <juri@jurta.org>
6325
6326 * faces.el (list-faces-display): Remove extra angle bracket
6327 from `help-mode-map'.
6328
6329 * info.el (Info-history-toc-nodes): Doc fix.
6330
6331 * longlines.el (longlines-mode): Doc fix.
6332
673e08bb
SM
63332011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6334
4640dd88
SM
6335 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6336 of statements and in a few more cases (bug#9183).
6337
673e08bb
SM
6338 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6339 New functions.
6340 (cl-transform-lambda): Use them (bug#9239).
6341
89b3f019
MR
63422011-08-05 Martin Rudalics <rudalics@gmx.at>
6343
6344 * window.el (display-buffer-same-window)
6345 (display-buffer-same-frame, display-buffer-other-window)
6346 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6347 (pop-to-buffer-other-window)
6348 (pop-to-buffer-same-frame-other-window)
6349 (pop-to-buffer-other-frame): Make them defuns.
6350 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6351
640c8776
SM
63522011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6353
6354 * subr.el (make-composed-keymap): Move from C. Change calling
6355 convention, and improve docstring to bring attention to a subtle point.
6356 * minibuffer.el (completing-read-default): Adjust accordingly.
6357
63648a95
MA
63582011-08-03 Michael Albinus <michael.albinus@gmx.de>
6359
6360 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6361 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6362
6363 * net/trampver.el: Update release number.
6364
b796c9b7
SM
63652011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6366
6367 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6368 "in" (bug#9190).
6369
2239d7d5
LMI
63702011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6371
e07dd7c3
LMI
6372 * mail/sendmail.el (sendmail-query-once): Restore the current
6373 buffer after querying (bug#9074).
6374
0e6a2bd7
LMI
6375 * dired.el (dired-flagged): Use different faces for marked and
6376 flagged files (bug#6117).
6377
ce887515
LMI
6378 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6379 (bug#4433).
6380
92f2affc
LMI
6381 * ido.el (ido-mode): Switch off the message if called
6382 non-interactively.
6383
57d5aff0
LMI
6384 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6385 before 587, since it appears that that's more likely to work for
6386 more people.
6387
98cd6c18 6388 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 6389 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
6390 exist.
6391
b96dec83
LMI
6392 * info.el: Remove the `Info-beginning-of-buffer' function
6393 (bug#8325).
6394
b796c9b7
SM
6395 * net/network-stream.el (network-stream-open-starttls):
6396 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 6397
d90e2ea0
MR
63982011-08-01 Martin Rudalics <rudalics@gmx.at>
6399
6400 * window.el (display-buffer-in-window): Don't set dedicated status
6401 of window here (Bug#9215).
6402 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6403 (display-buffer-pop-up-side-window)
b796c9b7 6404 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 6405
cca09170
SM
64062011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6407
6408 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6409 before binding generated-autoload-file.
6410
027b979c
DD
64112011-08-01 Deniz Dogan <deniz@dogan.se>
6412
6413 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6414
3c7ee4f3
MA
64152011-07-30 Michael Albinus <michael.albinus@gmx.de>
6416
6417 Sync with Tramp 2.2.2.
6418
6419 * net/trampver.el: Update release number.
6420
2cc8e51a
JL
64212011-07-30 Juri Linkov <juri@jurta.org>
6422
6423 * dired-aux.el (dired-touch-initial): Remove function.
6424 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6425 current time, and `default' to the last modification time of the
6426 current marked file (bug#6887).
6427
a514d856
JM
64282011-07-28 Jose E. Marchesi <jemarch@gnu.org>
6429
6430 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 6431 numeric argument to read-number (bug#9163).
a514d856 6432
8a7eddd7
MA
64332011-07-27 Michael Albinus <michael.albinus@gmx.de>
6434
6435 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6436 connection process, it could be nil.
6437
1ddd96f5
LL
64382011-07-27 Leo Liu <sdl.web@gmail.com>
6439
6440 Simplify url handling in rcirc-mode.
6441
6442 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6443 (rcirc-browse-url-at-mouse): Remove.
6444 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6445
b248a85d
AM
64462011-07-26 Alan Mackenzie <acm@muc.de>
6447
6448 Fontify bitfield declarations properly.
6449
6450 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6451 (c-symbol-chars): Now exported as a lang variable.
6452 (c-not-primitive-type-keywords): New lang variable.
6453
6454 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6455 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 6456 parsed as a bitfield declaration.
b248a85d 6457
b796c9b7
SM
6458 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6459 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
6460 (c-punctuation-in): New function.
6461 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6462 declarations properly.
6463
68575ab0
UJ
64642011-07-26 Ulf Jasper <ulf.jasper@web.de>
6465
6466 * calendar/icalendar.el (icalendar--all-events): Take care of
6467 multiple vcalendars in a single file.
b796c9b7 6468 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 6469
0f0a88b9
DD
64702011-07-25 Deniz Dogan <deniz@dogan.se>
6471
6472 * image.el (insert-image): Clarifying docstring.
6473
0b3f36df
MA
64742011-07-24 Michael Albinus <michael.albinus@gmx.de>
6475
6476 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6477 `tramp-send-command-and-check' if there is no error.
6478 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6479
a9901f61
AM
64802011-07-22 Alan Mackenzie <acm@muc.de>
6481
6482 Prevent cc-langs.elc being loaded at run time.
6483
6484 * progmodes/cc-mode.el: Remove two autoload forms which loaded
6485 cc-langs.
6486
4d61f28d 6487 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
6488 "(require 'cc-langs)". Quote a form so it will evaluate at
6489 (cc-mode's) compilation time.
6490
11d074b2
MA
64912011-07-22 Michael Albinus <michael.albinus@gmx.de>
6492
6493 * net/tramp.el (tramp-file-name-handler): Avoid recursive
6494 loading. (Bug#9114)
6495
938b94c8
MR
64962011-07-21 Martin Rudalics <rudalics@gmx.at>
6497
6498 * window.el (display-buffer-pop-up-window)
6499 (display-buffer-pop-up-side-window)
6500 (display-buffer-in-side-window): Call display-buffer-set-height
6501 and display-buffer-set-width after setting the new window's
b796c9b7 6502 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 6503
bfa4f190
SS
65042011-07-20 Sam Steingold <sds@gnu.org>
6505
6506 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6507 (etags-tags-included-tables): Call `convert-standard-filename' on
6508 the file names contained in TAGS so that windows Emacs can handle
6509 TAGS files created by cygwin ctags.
6510
8ca42262
LMI
65112011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
6512
6513 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6514 which apparently didn't work.
6515
5db2afd2 65162011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 6517
5db2afd2
RW
6518 * proced.el (proced-send-signal): For *Marked Processes* buffer
6519 put point at beginning of buffer.
6520
92e15d10
SB
65212011-07-19 Stephen Berman <stephen.berman@gmx.net>
6522
6523 * proced.el (proced-format): Make header lines align with the text
6524 (bug#1779).
6525
1bfd59e5
LMI
65262011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6527
6528 * view.el (view-buffer): Allow running in `special' modes if we're
6529 visiting a file (bug#8615).
6530
f5aae37c
MR
65312011-07-19 Martin Rudalics <rudalics@gmx.at>
6532
6533 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
6534 (display-buffer-alist-set-1, display-buffer-alist-set-2):
6535 New functions.
f5aae37c
MR
6536 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6537 more accurately.
6538
bf2c1571
AM
65392011-07-18 Alan Mackenzie <acm@muc.de>
6540
6541 Fontify declarators properly when, e.g., a jit-lock chunk begins
6542 inside a declaration.
6543
6544 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6545
b796c9b7
SM
6546 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6547 New function.
bf2c1571
AM
6548 (c-complex-decl-matchers): Insert reference to
6549 c-font-lock-enclosing-decls.
6550
6551 * progmodes/cc-engine.el (c-backward-single-comment):
6552 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6553 to nil around calls to (forward-comment -1).
6554
4e190b80
LMI
65552011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6556
12dc863d
LMI
6557 * image.el (put-image): Doc typo fix.
6558
a762e966
LMI
6559 * progmodes/etags.el (tags-search): Doc typo fix.
6560
4e190b80
LMI
6561 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6562 password if we get errors 550 to 554.
6563
f019fb21
LMI
65642011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6565
b796c9b7 6566 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 6567
81746738
LMI
6568 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6569 indentation character (bug#6380).
6570
3ee3a1b5
LMI
6571 * files.el (buffer-offer-save): Made permanently local (bug#6241).
6572
c82f64de
LMI
6573 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6574 to clarify what the problem is (bug#4291).
6575
f019fb21
LMI
6576 * simple.el (current-kill): Clarify what
6577 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
6578 (auto-fill-mode): Document `auto-fill-function' in relation to
6579 `auto-fill-mode' (bug#2470).
f019fb21 6580
0794775d
LM
65812011-07-16 Lawrence Mitchell <wence@gmx.li>
6582
6583 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6584 method if slot is read-only (bug#9035).
6585
be39b8cc
MR
65862011-07-16 Martin Rudalics <rudalics@gmx.at>
6587
b796c9b7 6588 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 6589 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
6590 selected before, see discussion of (Bug#8615), (Bug#6954).
6591 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 6592
6ccf7859
GM
65932011-07-15 Glenn Morris <rgm@gnu.org>
6594
6595 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 6596 Respect help-form.
6ccf7859 6597
87e86684
LM
65982011-07-09 Lawrence Mitchell <wence@gmx.li>
6599
6600 * net/gnutls.el (gnutls-min-prime-bits): New variable.
6601 (gnutls-negotiate): Use it.
6602
d6066239
LMI
66032011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6604
b796c9b7
SM
6605 * net/gnutls.el (gnutls-negotiate):
6606 Upcase `gnutls-algorithm-priority'.
d6066239 6607
bd23ebc0
GM
66082011-07-15 Glenn Morris <rgm@gnu.org>
6609
c65bca65
GM
6610 * jka-compr.el (jka-compr-verbose): Move from here...
6611 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
6612 Add missing :version tag.
6613 * info.el: No need to require jka-compr when compiling.
bd23ebc0 6614
478615cc
LMI
66152011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6616
7b41decb
LMI
6617 * net/gnutls.el (gnutls-algorithm-priority): New variable.
6618 (gnutls-negotiate): Use it.
6619
dbc44fcd
LMI
6620 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6621
06789f97
LMI
6622 * info.el (Info-beginning-of-buffer): New command.
6623 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6624 announcing `b' as the key (bug#8325).
ab896c37 6625 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 6626
c39da690
LMI
6627 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6628
3aa5f34b
LMI
6629 * international/mule-cmds.el
6630 (describe-specified-language-support): Make the error message
6631 clearer (bug#8905).
6632
4bf0979f
LMI
6633 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6634
478615cc
LMI
6635 * isearch.el (isearch-barrier): Add a doc string, since it's
6636 mentioned in a function doc string (bug#8678).
6637
75c68aa1
MR
66382011-07-15 Martin Rudalics <rudalics@gmx.at>
6639
6640 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6641 buffer argument (Bug#9083) and self-identifying label argument.
6642
a7c33da2
GM
66432011-07-15 Glenn Morris <rgm@gnu.org>
6644
6645 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6646
2f5c6024
LMI
66472011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6648
6649 * man.el (Man-fontify-manpage): Fix message when formatting the
6650 man page (bug#7929).
6651
0bb23927 66522011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
6653
6654 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6655 argument LRM; if non-nil, append an invisible LRM character to the
6656 buffer name.
6657 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6658 last argument non-nil, when formatting buffer names.
0bb23927
EZ
6659 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6660 paragraph direction.
cce4b0a7 6661
621ef9ab
LMI
66622011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6663
d1583c48
LMI
6664 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6665 the man page name (bug#7929).
6666
6a57fb5f
LMI
6667 * image.el (put-image): Mention the `put-image' overlay property
6668 (bug#7834).
6669
d7956b14
LMI
6670 * scroll-bar.el (set-scroll-bar-mode): Mention that
6671 `scroll-bar-mode' lists the values (bug#7772).
6672
5b2d4a66
LMI
6673 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6674 command (bug#7729).
6675
7509a874
LMI
6676 * rect.el (apply-on-rectangle): Return the point after the last
6677 operation.
6678 (string-rectangle): Go to the point after the last operation
6679 (bug#7522).
6680
4fe74b19
LMI
6681 * printing.el (pr-toggle-region): Clarify the documentation
6682 slightly (bug#7493).
6683
b796c9b7
SM
6684 * time.el (display-time-update):
6685 Allow `display-time-mail-function' to return nil (bug#7158).
6686 Fix suggested by Detlev Zundel.
ab283561 6687
fc233c9d
LMI
6688 * vc/diff.el (diff): Clarify the order the file names are read
6689 (bug#7111).
6690
43f5740b
LMI
6691 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6692 the doc string (bug#7015).
6693
f2182a76
LMI
6694 * font-lock.el (font-lock-maximum-decoration): Mention what
6695 numeric levels mean (bug#6935).
6696
621ef9ab
LMI
6697 * startup.el (initial-buffer-choice): Don't mention the `none'
6698 selection, which is against policy.
6699
adc47434
MR
67002011-07-14 Martin Rudalics <rudalics@gmx.at>
6701
b796c9b7
SM
6702 * window.el (display-buffer-normalize-special):
6703 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 6704
7e5bfb8f
EZ
67052011-07-14 Eli Zaretskii <eliz@gnu.org>
6706
6707 * subr.el (version<, version<=, version=): Mention "-CVS" and
6708 "-12345" alpha version numbers.
6709
27fa387a
CY
67102011-07-14 Chong Yidong <cyd@stupidchicken.com>
6711
6712 * bindings.el: Add advertised binding for set-mark-command
6713 (Bug#5772).
6714
8bdfa064
CY
67152011-07-14 Chong Yidong <cyd@stupidchicken.com>
6716
6717 * bindings.el (mode-line-other-buffer):
6718 * bookmark.el (bookmark-bmenu-2-window):
6719 * bs.el (bs-cycle-next, bs-cycle-previous):
6720 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6721 switch-to-buffer.
6722
6723 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 6724 Delete.
8bdfa064 6725
5eba16a3
JB
67262011-07-14 Juanma Barranquero <lekktu@gmail.com>
6727
6728 * follow.el (follow-debug-message, follow-redisplay):
6729 * jka-cmpr-hook.el (with-auto-compression-mode):
6730 Fix typos in docstrings.
6731
15853710
LMI
67322011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6733
a28e4607
LMI
6734 * subr.el (with-silent-modifications): Clarify somewhat what the
6735 macro inhibits (bug#6525).
6736
15853710
LMI
6737 * simple.el (eval-expression): Note what it does if called
6738 interactively (bug#6495).
6739
bee0fcef
CY
67402011-07-13 Chong Yidong <cyd@stupidchicken.com>
6741
b796c9b7
SM
6742 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6743 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
6744
6745 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6746 Remove switch-to-buffer.
6747
58274504
LMI
67482011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6749
bd2fcc8d
LMI
6750 * files.el (make-directory): Clarify that an error will be raised
6751 if there's an error (bug#6397).
6752
0f04b32c
LMI
6753 * startup.el (initial-buffer-choice): Add `none' as a choice
6754 (bug#6234).
6755
465c5fc8
LMI
6756 * subr.el (add-hook): Clarify section about buffer-local hooks
6757 (bug#6218).
6758
58274504
LMI
6759 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6760
bead9a43
JB
67612011-07-13 Juanma Barranquero <lekktu@gmail.com>
6762
6763 * tabify.el (untabify): Preserve the current column so that point
6764 doesn't move (bug#6032).
6765
3af98a7b
LMI
67662011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6767
b796c9b7
SM
6768 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6769 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 6770
6240145a
GM
67712011-07-13 Glenn Morris <rgm@gnu.org>
6772
6773 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6774 (dired-insert-directory): Give a message the first time
6775 if ls is found not to support --dired.
6776
1d8c2ccc
LMI
67772011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6778
6779 * simple.el (toggle-truncate-lines): Clarify what is toggled
6780 (bug#5580). Text by Drew Adams.
6781
5fc4038e
CY
67822011-07-13 Chong Yidong <cyd@stupidchicken.com>
6783
6784 * simple.el (blink-matching-open): Make the error message from the
6785 last change less verbose.
6786
bf6012e5
DN
67872011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6788
6789 * font-lock.el (font-lock-comment-face): Use the high contrast
6790 "yellow" color for font-lock-comment-face on low color terminals
6791 using a dark background color (bug#4221).
6792
343c3b5a
LMI
67932011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6794
7e9505c5
LMI
6795 * dired.el (dired-insert-set-properties): Make the doc string
6796 reflect what it does now (bug#5325).
6797
c26fdcf5
LMI
6798 * simple.el (blink-matching-open): Say that we were unable to find
6799 the match within the limit, if we're limited (bug#5122).
6800
bb388cc5
LMI
6801 * international/mule-cmds.el (prefer-coding-system): Add an
6802 example (bug#4869).
6803
343c3b5a
LMI
6804 * progmodes/etags.el (tags-search): Document `file-list-form'
6805 (bug#4731).
6806
2a517d45
LM
68072011-07-13 Lawrence Mitchell <wence@gmx.li>
6808
6809 * net/browse-url.el (browse-url-default-browser)
6810 (browse-url-browser-function): Make the default browser choice a
6811 bit more logical (bug#4300). Also clean up the doc string.
6812
b6c78ef2
JB
68132011-07-13 Juanma Barranquero <lekktu@gmail.com>
6814
6815 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6816 binary endings (bug#4440).
6817
1c4dd947
LMI
68182011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6819
a2014063
LMI
6820 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6821 which can be pretty annoying (bug#8971).
6822
9c9c2d88
LMI
6823 * jka-compr.el (jka-compr-verbose): New variable, and use
6824 throughout (bug#8971).
6825
1c4dd947
LMI
6826 * info.el (Info-find-file): Fall back on the installation
6827 directory if we can't find the info node anywhere else.
6828
a1c9f41b
SO
68292011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6830
6831 * vc/vc.el (vc-revert-file):
6832 Don't set file time-stamp in the past. (Bug#5181)
6833
536f3d36
LMI
68342011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6835
7152b011
LMI
6836 * files.el (after-find-file): Give a better error message when
6837 trying to find a symlink that points to a file that doesn't exist
6838 (bug#4398).
6839
536f3d36
LMI
6840 * progmodes/cc-vars.el: Remove (probably) misleading comment
6841 (bug#4396).
6842
460c0fba
JB
68432011-07-12 Johan Bockgård <bojohan@gnu.org>
6844
6845 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6846
7a6bda45
CY
68472011-07-12 Chong Yidong <cyd@stupidchicken.com>
6848
6849 * mouse-sel.el: Hack restoring functionality, while keeping
6850 compatibility with 2010-07-03 changes to mouse selection.
6851 (mouse-sel-primary-overlay): New var.
6852 (mouse-sel-selection-alist): Use it.
6853 (mouse-sel-mode): Doc fix; remove points that are default features
6854 of mouse.el.
6855
c79598ef
JB
68562011-07-12 Johan Bockgård <bojohan@gnu.org>
6857
6858 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6859 Fix previous fix (bug#2490).
6860
ff8be6ef
RW
68612011-07-12 Roland Winkler <winkler@gnu.org>
6862
b796c9b7
SM
6863 * textmodes/bibtex.el (bibtex-initialize):
6864 Use pop-to-buffer-same-window.
ff8be6ef
RW
6865 (bibtex-search-entries): Fix interactive call.
6866
296ba3ee
LMI
68672011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6868
f5242a02 6869 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
6870 Fontise bytecomp Error lines more correctly (bug#2490).
6871 Fix suggested by Johan Bockgård.
f5242a02 6872
296ba3ee
LMI
6873 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6874
6875 * dired-x.el (dired-guess-default): Use `delete-dups'.
6876
f69fd0d2
CY
68772011-07-12 Chong Yidong <cyd@stupidchicken.com>
6878
6879 * dired.el (dired-mark-prompt):
6880 * dired-aux.el (dired-read-shell-command): Doc fix.
6881
eab5dc07
LMI
68822011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6883
b796c9b7
SM
6884 * mail/sendmail.el (sendmail-query-once):
6885 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
6886 emacs -Q.
6887
6888 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6889
eab5dc07
LMI
6890 * cus-edit.el (custom-file): Take an optional no-error variable.
6891 (customize-save-variable): Set the variable, and give a warning if
6892 running under "emacs -q".
6893
a1e65d42
JB
68942011-07-11 Juanma Barranquero <lekktu@gmail.com>
6895
6896 * loadhist.el (unload-feature-special-hooks):
6897 Add `auto-coding-functions', `fill-nobreak-predicate' and
6898 `find-directory-functions' (bug#5327).
6899
1d52da10
LMI
69002011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6901
be958f1d
LMI
6902 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6903
5bedb26c
LMI
6904 * cus-edit.el (custom-guess-name-alist): -alist variables should
6905 use the `alist' type (bug#3120). Suggested by Drew Adams.
6906
1d52da10
LMI
6907 * printing.el: Add documentation to all the `pr-toggle-' commands.
6908
cd394be1 69092011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
6910
6911 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6912 backends where it makes sense (bug#2623).
6913
dcc88d8a
LMI
69142011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6915
c3de9feb
LMI
6916 * dired-x.el (dired-guess-default): Remove duplicate shell command
6917 entries (bug#2028).
8a93078b 6918 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 6919 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 6920
dcc88d8a
LMI
6921 * subr.el (remove-duplicates): New conveniency function.
6922
505e3645
LMI
69232011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6924
6925 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6926 (bug#1526).
6927
69282011-07-10 Martin Rudalics <rudalics@gmx.at>
6929
6930 * window.el (display-buffer-normalize-default): Don't invert
6931 meaning of even-window-heights. Reported by Eli Zaretskii
6932 <eliz@gnu.org>.
6933
455e4fa1
BR
69342011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6935
6936 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6937
8e0bc3e9
CY
69382011-07-10 Chong Yidong <cyd@stupidchicken.com>
6939
6940 * window.el (display-buffer): Fix arguments to
6941 display-buffer-reuse-window in last change.
6942
fa7c3228
CY
6943 * faces.el (link): Use a less saturated blue on light backgrounds.
6944
6945 * startup.el (fancy-startup-text, fancy-about-text)
6946 (fancy-startup-tail): Use font-lock faces, for background safety.
6947
c0a7f300
BN
69482011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6949
b796c9b7
SM
6950 * emulation/viper-cmd.el (viper-change-state-to-vi):
6951 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 6952
4dc2a129
MR
69532011-07-09 Martin Rudalics <rudalics@gmx.at>
6954
6955 * window.el (display-buffer-default-specifiers): Remove.
6956 (display-buffer-macro-specifiers): Remove default specifiers.
6957 (display-buffer-alist): Default to nil.
b796c9b7 6958 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
6959 (display-buffer-pop-up-window): Allow splitting internal
6960 windows. Check whether a live window was created.
6961 (display-buffer-other-window-means-other-frame)
6962 (display-buffer-normalize-arguments): Rename to
6963 display-buffer-normalize-argument and rewrite. Set the
6964 other-window specifier.
6965 (display-buffer-normalize-special): New function.
6966 (display-buffer-normalize-options): Rename to
6967 display-buffer-normalize-default and rewrite.
6968 (display-buffer-normalize-options-inhibit): Remove.
6969 (display-buffer-normalize-specifiers): Rewrite.
6970 (display-buffer): Process other-window specifier and call
6971 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6972 more faithfully.
b796c9b7 6973 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 6974 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
6975 (display-buffer-in-window, display-buffer-alist-set):
6976 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
6977 <tassilo@member.fsf.org>.
6978
2d43b8c9
LL
69792011-07-09 Leo Liu <sdl.web@gmail.com>
6980
6981 * register.el (insert-register): Restore accidental change on
6982 2011-06-26. (Bug#9028)
6983
7f9b7c53
GM
69842011-07-09 Glenn Morris <rgm@gnu.org>
6985
6986 * subr.el (remq): Handle the empty list. (Bug#9024)
6987
f042cfd8
AS
69882011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6989
6990 * mail/sendmail.el (send-mail-function): No longer delay custom
6991 initialization.
6992 * custom.el (custom-initialize-delay): Doc fix.
6993
856b2f11
SM
69942011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6995
6996 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6997
afae1d68
MA
69982011-07-08 Michael Albinus <michael.albinus@gmx.de>
6999
7000 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7001 human-friendly prompt.
7002
0757af94
SM
70032011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7004
7005 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7006 provided by a particular plugin.
7007
d760b731
LMI
70082011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7009
7010 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7011 save customizations (with "emacs -Q"), just set the variable
7012 instead of erroring out.
7013
7014 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7015
cd79ce90
JL
70162011-07-08 Juri Linkov <juri@jurta.org>
7017
7018 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7019 (archive-zip-update-case): Use 7z if found by `executable-find'.
7020 The order of searching the available programs is the same as in
7021 `archive-zip-extract' (bug#8968).
7022
14cc04aa
CY
70232011-07-07 Chong Yidong <cyd@stupidchicken.com>
7024
7025 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7026 (menu-bar-options-menu): Tweak descriptions.
7027
0a1848ec
LMI
70282011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7029
7030 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7031 menu items into verb phrases (bug#1421). Also refill to fit under
7032 80 columns.
7033
f5bd0689
CY
70342011-07-07 Chong Yidong <cyd@stupidchicken.com>
7035
538e85c6
CY
7036 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7037 (Info-read-node-name): Doc fix (Bug#1084).
7038
f5bd0689
CY
7039 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7040 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7041 (end-of-sexp, beginning-of-sexp)
7042 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7043 (forward-symbol, forward-same-syntax, word-at-point)
7044 (sentence-at-point): Doc fix (Bug#1144).
7045
56ec5115
LMI
70462011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7047
f3f8e37f
LMI
7048 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7049 should cover it (bug#1281).
7050
0757af94 7051 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 7052
e9fce1ac 7053 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
7054 negotiation fails, then possibly try again with a non-encrypted
7055 connection (bug#9017).
7056
56ec5115
LMI
7057 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7058 be used.
7059
c2f9aec8
RS
70602011-07-07 Richard Stallman <rms@gnu.org>
7061
7062 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7063 property, and handle its changed format.
7064 Look for the correct line number.
7065 Use file's line contents (but not past first =) to find
7066 correct line in message.
7067
ef7b981d 70682011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
7069
7070 * international/characters.el (build-unicode-category-table):
7071 Delete it.
0757af94 7072 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 7073
0757af94 7074 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
7075 to src/chartab.c.
7076 (get-char-code-property): Call unicode-property-table-internal to
7077 load a file. Call get-unicode-property-internal where necessary.
7078 (put-char-code-property): Call unicode-property-table-internal to
7079 load a file. Call put-unicode-property-internal where necessary.
7080 put-unicode-property-internal where necessary.
0757af94
SM
7081 (char-code-property-description):
7082 Call unicode-property-table-internal to load a file.
c805dec0
KH
7083
7084 * international/charprop.el:
7085 * international/uni-bidi.el:
7086 * international/uni-category.el:
7087 * international/uni-combining.el:
7088 * international/uni-comment.el:
7089 * international/uni-decimal.el:
7090 * international/uni-decomposition.el:
7091 * international/uni-digit.el:
7092 * international/uni-lowercase.el:
7093 * international/uni-mirrored.el:
7094 * international/uni-name.el:
7095 * international/uni-numeric.el:
7096 * international/uni-old-name.el:
7097 * international/uni-titlecase.el:
7098 * international/uni-uppercase.el: Regenerate.
7099
7100 * loadup.el: Load international/charprop.el before
7101 international/characters.
7102
e14b388a
CY
71032011-07-07 Chong Yidong <cyd@stupidchicken.com>
7104
7105 * window.el (next-buffer, previous-buffer): Signal an error if
7106 called from a minibuffer window.
7107
7108 * bindings.el: Revert 2011-07-04 change.
7109
354cf0ba
RS
71102011-07-06 Richard Stallman <rms@gnu.org>
7111
7112 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7113 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7114 Treat markers like ints.
7115 (rmail-mime-entity): Doc fix.
7116
a48868a7
LMI
71172011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7118
4906cd3d
LMI
7119 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7120 defcustom again for backwards compatibility.
7121
e0457abe
LMI
7122 * simple.el (shell-command-on-region): Fill.
7123
d67f7e1f
LMI
7124 * dired-aux.el (dired-kill-line): Add a doc string.
7125
fe204702
LMI
7126 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7127 to "\\sw\\|\\s_" (bug#358).
7128
a48868a7
LMI
7129 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7130 (dired-unmark-backward): Ditto.
7131 (dired-flag-backup-files): Ditto.
7132
7133 * dired-x.el (dired-mark-sexp): Ditto.
7134
aa8a705c
RS
71352011-07-06 Richard Stallman <rms@gnu.org>
7136
7137 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7138 (rmail-mime-entity): New arg TRUNCATED.
7139 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7140 New functions.
7141 (rmail-mime-save): Warn if entity is truncated.
7142 (rmail-mime-toggle-hidden): Likewise, for showing.
7143 (rmail-mime-process-multipart): Record when an entity is truncated.
7144
a9a936b9
RS
7145 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7146 if ENTITY is a string.
7147
1f2b92cb
LMI
71482011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7149
f4f73198 7150 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
7151 of faces when `M-C-x'-ing their definitions (bug#8378).
7152 Also clean up the code slightly.
f4f73198 7153
12b16734 7154 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 7155 because that makes the colors go away.
12b16734 7156
f0691d22
LMI
7157 * mail/sendmail.el (send-mail-function): Change the default to
7158 `sendmail-query-once'.
9e87df06 7159 (sendmail-query-once): Add an autoload cookie.
f0691d22 7160
1f2b92cb
LMI
7161 * net/network-stream.el (network-stream-open-starttls): Try using
7162 a plain connection even if the server offered STARTTLS, and we
7163 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7164 capability. This should make smtpmail.el work in slightly more
7165 configurations.
7166
1cdd2a1b
MA
71672011-07-06 Michael Albinus <michael.albinus@gmx.de>
7168
7169 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7170 New defun.
7171 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7172
fbcc67e2
MM
71732011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7174
7175 * progmodes/sql.el: Version 3.0
0757af94 7176 (sql-product-alist): Add product :completion-object,
fbcc67e2 7177 :completion-column, and :statement attributes.
0757af94 7178 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 7179 (sql-mode-syntax-table): Mark all punctuation.
0757af94 7180 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
7181 ansi keywords.
7182 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 7183 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
7184 (sql-oracle-show-reserved-words): New function for development.
7185 (sql-product-font-lock): Simplify for source code buffers.
7186 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7187 New functions.
7188 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
7189 (sql-mode-map): Add statement movement functions.
7190 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7191 New variable.
fbcc67e2
MM
7192 (sql-statement-regexp, sql-beginning-of-statement)
7193 (sql-end-of-statement, sql-signum): New functions.
0757af94 7194 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
7195 (sql-show-sqli-buffer): Bug fix.
7196 (sql-interactive-mode): Store connection data as buffer local.
0757af94 7197 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
7198 with sql-interactive-mode.
7199 (sql-save-connection): Save buffer local settings.
0757af94 7200 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
7201 (sql-product-interactive): Bug fix.
7202 (sql-preoutput-hold): New variable.
7203 (sql-interactive-remove-continuation-prompt): Bug fixes.
7204 (sql-debug-redirect): New variable.
7205 (sql-str-literal): New function.
7206 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 7207 Redesign.
fbcc67e2
MM
7208 (sql-oracle-save-settings, sql-oracle-restore-settings)
7209 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7210 (sql-completion-object, sql-completion-column)
7211 (sql-completion-sqlbuf): New variables.
7212 (sql-build-completions-1, sql-build-completions)
7213 (sql-try-completion): New functions.
7214 (sql-read-table-name): Use them.
7215 (sql-contains-names): New buffer local variable.
7216 (sql-list-all, sql-list-table): Use it.
7217 (sql-oracle-completion-types): New variable.
7218 (sql-oracle-completion-object, sql-sqlite-completion-object)
7219 (sql-postgres-completion-object): New functions.
7220
d4eaeab1
GM
72212011-07-06 Glenn Morris <rgm@gnu.org>
7222
7223 * window.el (pop-to-buffer): Doc fix.
7224
322b7dab 72252011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
7226
7227 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7228
322b7dab 72292011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 7230
322b7dab 7231 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 7232
322b7dab 7233 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 7234
605dd5bf
CY
72352011-07-05 Chong Yidong <cyd@stupidchicken.com>
7236
7237 * button.el (button): Inherit from link face. Suggested by Dan
7238 Nicolaescu.
7239
7dbfa719
SM
72402011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7241
3db614b0
SM
7242 * progmodes/gdb-mi.el: Fit in 80 columns.
7243 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7244 switch-to-buffer.
7245
7dbfa719
SM
7246 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7247 if imenu is simply not configured (bug#8941).
7248
919d884a
KM
72492011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7250
7251 * allout.el (allout-post-undo-hook): New allout outline-change
7252 event hook to signal undo activity.
7253 (allout-post-command-business): Run allout-post-undo-hook if an
7254 undo just occurred.
7dbfa719
SM
7255 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7256 * allout-widgets.el (allout-widgets-after-undo-function):
7257 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
7258 in the vicinity of an undo.
7259 (allout-widgets-mode): Include allout-widgets-after-undo-function
7260 on the new allout-post-undo-hook.
7261
450a0f09
SM
72622011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7263
7264 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7265 Let define-derived-mode define it.
7266 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7267 cycles of abbrev-table inheritance (bug#8998).
7268
2de69e00
RW
72692011-07-05 Roland Winkler <winkler@gnu.org>
7270
7271 * textmodes/bibtex.el: Add support for biblatex.
7272 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7273 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7274 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7275 (bibtex-entry-alist, bibtex-field-alist): New variables.
7276 (bibtex-entry-field-alist): Obsolete alias for
7277 bibtex-BibTeX-entry-alist.
7278 (bibtex-entry-alist, bibtex-field-alist): New widgets.
7279 (bibtex-set-dialect): New command.
7280 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
7281 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7282 Bind via bibtex-set-dialect.
2de69e00
RW
7283 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7284 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7285 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7286 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7287 Define via bibtex-set-dialect.
450a0f09
SM
7288 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7289 Obey bibtex-no-opt-remove-re.
2de69e00
RW
7290 (bibtex-vec-push, bibtex-vec-incr): New functions.
7291 (bibtex-format-entry, bibtex-field-list)
7292 (bibtex-print-help-message, bibtex-validate)
7293 (bibtex-search-entries): Use new format of bibtex-entry-alist.
7294
2dcdbdd9
SM
72952011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7296
7297 * progmodes/compile.el (compilation-goto-locus):
7298 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7299 * bs.el (bs-cycle-next, bs-cycle-previous):
7300 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7301 * bindings.el (mode-line-other-buffer):
7302 * autoinsert.el (auto-insert):
7303 * arc-mode.el (archive-extract):
7304 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7305
b27640fe
JB
73062011-07-05 Juanma Barranquero <lekktu@gmail.com>
7307
7308 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7309 Fix check of `emacs-lock-unlockable-modes'.
7310 Coerce true values of `emacs-lock--try-unlocking' to t.
7311
53bbe3ad
JB
73122011-07-05 Juanma Barranquero <lekktu@gmail.com>
7313
7314 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7315 * emacs-lock.el: New file.
7316
1d3cdbc7
JD
73172011-07-05 Julien Danjou <julien@danjou.info>
7318
7319 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7320 than `boundp' to check if face is set.
7321
9173deec
JB
73222011-07-05 Juanma Barranquero <lekktu@gmail.com>
7323
7324 * register.el (registerv-make):
7325 * window.el (window-min-height): Fix typos in docstrings.
7326
869795d6
JD
73272011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7328
9173deec 7329 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
7330 Update doc string.
7331
b768cdcd
JB
73322011-07-04 Juanma Barranquero <lekktu@gmail.com>
7333
7334 * server.el (server-execute): Catch quit and call
7335 `server-return-error' to pass the error back to emacsclient and
7336 close the connection (bug#8942).
7337
13aa217b
KM
73382011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
7339
7340 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7341 insecure exception for current topic. Also note that auto-saves
7342 are handled differently.
7343
7344 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7345 State variables for tracking auto-save inhibition situation.
7346
7347 (allout-write-contents-hook-handler): Rename from
7348 'allout-write-file-hook-handler', and describe how it depends on
7349 write-contents-functions sensitivity to non-nil value to prevent
7350 file write.
7351
7352 (allout-auto-save-hook-handler): Remove. auto-save does not check
7353 this in individual buffers, only in the starting buffer, so this
7354 is not the right way for us to inhibit auto-save in a buffer
7355 according to its condition.
7356
7357 (allout-mode): Use new allout-write-contents-hook-handler, and
7358 only with write-contents-functions. Remove auto-save provisions -
7359 they're implemented elsewhere.
7360
7361 (allout-before-change-handler): If undo is in progress, note that
7362 for attention of allout-post-command-business.
7363
7364 (allout-post-command-business): If the command we're following was
7365 an undo, check for change in the status of encrypted items and
7366 adjust auto-save inhibitions accordingly.
7367
7368 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7369 according to whether there are or aren't any plain-text topics
7370 pending encryption.
7371
2dcdbdd9 7372 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
7373 Adjust buffer-saved-size and some allout state to inhibit auto-saves
7374 if there are plain-text topics pending encryption.
13aa217b
KM
7375
7376 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7377 buffer-saved-size and some allout state to not inhibit auto-saves
7378 if there are no longer any plain-text topics pending encryption.
7379
0757af94
SM
7380 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7381 No longer provide for exemption of the current topic.
13aa217b 7382
ac89b32c
JL
73832011-07-04 Juri Linkov <juri@jurta.org>
7384
7385 Add 7z operations to delete and save changed members (bug#8968).
7386 * arc-mode.el (archive-7z-expunge, archive-7z-update):
7387 New defcustoms.
7388 (archive-7z-write-file-member): New function.
7389 (archive-7z-summarize): Fix the number of dashes in the
7390 listing output.
7391
8fa39615
SM
73922011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7393
7394 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7395 (bug#8958).
7396
2f11b3f1
CY
73972011-07-04 Chong Yidong <cyd@stupidchicken.com>
7398
d66fef2b
CY
7399 * bindings.el: Ignore next-buffer and previous-buffer in
7400 minibuffer-local-map.
7401
2f11b3f1
CY
7402 * font-lock.el (font-lock-builtin-face): Change light background
7403 color to dark slate blue (Bug#6693).
7404
f932a347
WD
74052011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
7406
7407 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7408
c8af70e1
SM
74092011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7410
7411 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7412 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7413 Add switch-to-buffer.
7414
f158badc
LMI
74152011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7416
7417 * isearch.el (isearch-search-fun-function): Clarify further the
7418 meaning of the function returned.
7419
6d95bd46
MA
74202011-07-04 Michael Albinus <michael.albinus@gmx.de>
7421
7422 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7423
7424 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7425 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7426 Use it.
7427 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
7428 `tramp-default-remote-path' does not exist.
7429 (tramp-send-command-and-read): New optional argument NOERROR.
7430 (tramp-open-connection-setup-interactive-shell)
7431 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7432 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7433 (tramp-process-sentinel): Flush also process' connection property.
7434 (tramp-sh-handle-start-file-process): Do not set process
7435 sentinel. It is done now ...
7436 (tramp-maybe-open-connection): ... here. (Bug#8929)
7437
909e6b67
MK
74382011-07-04 MON KEY <monkey@sandpframing.com>
7439
7440 * play/animate.el (animate-string): Doc fixes and allow changing
7441 the buffer name (bug#5417).
7442
74432011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7444
c8af70e1 7445 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 7446
f34755dc
PE
74472011-07-04 Paul Eggert <eggert@cs.ucla.edu>
7448
396cec72
PE
7449 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7450 This is simpler and helps future-proof the code.
7451 (timer-until): Use time-subtract and float-time.
08235028 7452 (timer--time-less-p): Use time-less-p.
f34755dc 7453
56e6cc31
JB
74542011-07-04 Juanma Barranquero <lekktu@gmail.com>
7455
3abb79e5
JB
7456 * type-break.el (timep): Use the value of `float-time' to avoid a
7457 byte-compiler warning.
7458
56e6cc31
JB
7459 * server.el (server-eval-and-print): Return any result, even nil.
7460
7b9430b4
PE
74612011-07-03 Paul Eggert <eggert@cs.ucla.edu>
7462
7463 * type-break.el: Accept time formats that the builtins accept.
7464 (timep, type-break-time-difference): Accept any format that
7465 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7466 This is simpler and helps future-proof the code.
7467 (type-break-time-difference): Round rather than ignoring
7468 subseconds components.
7469
3034e9e7
LMI
74702011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7471
7472 * info.el (Info-apropos-matches): Make non-interactive, since it
7473 doesn't seem to do anything useful as a command (bug#8829).
7474
1485f4c0
CY
74752011-07-03 Chong Yidong <cyd@stupidchicken.com>
7476
7477 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 7478 Move from faces.el.
1485f4c0
CY
7479 (frame-default-terminal-background): New function.
7480
7481 * custom.el (custom-push-theme): Don't record faces in `changed'
7482 theme; this doesn't work correctly for per-frame face settings.
7483 (disable-theme): Use face-set-after-frame-default to reset faces.
7484 (custom--frame-color-default): New function.
7485
9fa3dd45
LMI
74862011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7487
c8af70e1 7488 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
7489 (bug#8769).
7490
6cbbc20c
KR
74912011-03-29 Kevin Ryde <user42@zip.com.au>
7492
7493 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7494 `perl-Test2' extend to match possible "fail #N" rep count
7495 (bug#8377).
7496
c7f98048
LMI
74972011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7498
65676592
LMI
7499 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7500 `smtpmail-via-smtp' now returns the error instead of nil.
7501
c7f98048
LMI
7502 * isearch.el (isearch-search-fun-function): Clarify the doc string
7503 (bug#8101).
7504
56e6cc31 75052011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
7506
7507 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7508 unnecessary spaces (bug#8987).
7509
2b216704
LMI
75102011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7511
7512 * net/network-stream.el (open-network-stream): Use the
7513 :end-of-capability command thoughout.
7514
75152011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7516
7517 * net/network-stream.el (open-network-stream): Add the
7518 :end-of-capability command parameter, used by pop3.el.
7519
36adf6ce
LMI
75202011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7521
1ca0da0e
LMI
7522 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7523
fc00f69c
LMI
7524 * fringe.el (fringe-query-style): Remove redundant text " (type ?
7525 for list)" (bug#6475).
7526
28fd8759 7527 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 7528 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
7529 an error (bug#6297).
7530
0dd8b6da
LMI
7531 * man.el (Man-reference-regexp): Allow matching possible
7532 word-wrapped references (bug#6289).
7533
ce1438d6
LMI
7534 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7535 for consistency with the other vc buffers (bug#6197).
7536 (vc-checkin): Ditto.
7537
7538 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7539
36adf6ce
LMI
7540 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7541
e83cc1f7
LMI
75422011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7543
8a20ca4c
LMI
7544 * custom.el (defcustom): Clarify that :set is only used in the
7545 Customize user interface (bug#6089).
7546
83319045
LMI
7547 * progmodes/flymake.el (flymake-mode): If the buffer isn't
7548 associated with a file, refuse to run instead of erroring out
7549 (bug#6084).
7550
a8392169
LMI
7551 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7552 the doc string, since it appears that using `fill-column' always
7553 controls the width (bug#7845).
7554
e83cc1f7
LMI
7555 * simple.el (shell-command-on-region): Say where the error output
7556 went if `shell-command-default-error-buffer' is set (bug#6857).
7557
e47ca23b
KM
75582011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
7559
7560 * allout.el (allout-yank-processing): Adjust cursor position for
7561 backwards-deleted space.
7562
7563 (allout-rebullet-heading): Register changes with
7564 allout-exposure-changed-hook, so the modified topic is properly
7565 decorated.
7566
5cf56143
LMI
75672011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7568
08549772
LMI
7569 * minibuffer.el (completion-in-region): Document PREDICATE
7570 (bug#7136).
7571
48e96771
LMI
7572 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7573 of keyword/argument pairs (bug#6904).
7574
c8af70e1
SM
7575 * replace.el (multi-occur):
7576 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 7577
e17d05e2
LMI
75782011-07-02 Drew Adams <drew.adams@oracle.com>
7579
7580 * dired.el (dired-mark-if): Make the message about whether it's
7581 marking or unmarking clearer (bug#8523).
7582
063b0e45
LMI
75832011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7584
7585 * disp-table.el (display-table-print-array): New function.
7586 (describe-display-table): Use it to print the vectors more pretty
7587 (Bug#8859).
7588
28545e04
MR
75892011-07-02 Martin Rudalics <rudalics@gmx.at>
7590
7591 * window.el (window-state-get-1): Don't assign clone numbers.
7592 Add clone-of item to list of window parameters.
7593 (window-state-put-2): Don't process clone numbers.
7594 (display-buffer-alist): Fix doc-string.
7595
3349e122
SM
75962011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7597
7598 * subr.el (remq): Don't allocate if it's not needed.
7599 (keymap--menu-item-binding, keymap--menu-item-with-binding)
7600 (keymap--merge-bindings): New functions.
7601 (keymap-canonicalize): Use them to refine the canonicalization.
7602 * minibuffer.el (minibuffer-local-completion-map)
7603 (minibuffer-local-must-match-map): Move initialization from C.
7604 (minibuffer-local-filename-completion-map): Move initialization from C;
7605 don't inherit from anything here.
7606 (minibuffer-local-filename-must-match-map): Make obsolete.
7607 (completing-read-default): Use make-composed-keymap to combine
7608 minibuffer-local-filename-completion-map with either
7609 minibuffer-local-must-match-map or
7610 minibuffer-local-filename-completion-map.
7611
d224ac83
GM
76122011-07-01 Glenn Morris <rgm@gnu.org>
7613
3de63bf8
GM
7614 * type-break.el (type-break-time-sum): Use dolist.
7615
d224ac83
GM
7616 * textmodes/flyspell.el (flyspell-word-search-backward):
7617 Replace CL function.
7618
1a1e3f32
SM
76192011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7620
fe3f64d5
SM
7621 * mouse.el (mouse--strip-first-event): New function.
7622 (function-key-map): Use it to map fringe clicks to normal clicks
7623 by default.
7624
eb604e34
SM
7625 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7626 (vc-bzr-revision-completion-table): Add support for annotate and date.
7627
1a1e3f32
SM
7628 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7629 inherit from parent.
7630
5bd35902
LMI
76312011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7632
ace6c69c 7633 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 7634 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 7635
191e2bed
LMI
7636 * dired.el (dired-mode): Fix up the doc string as suggested by
7637 Drew Adams (bug#8817).
7638
5bd35902
LMI
7639 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7640 cookie, since the manual says that it should be possible to add
7641 this function to `find-file-hook' (bug#8709).
7642
eee8207a
TZ
76432011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7644
7645 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7646 here. Noted Ted Zlatanov as the maintainer.
7647 (cfengine-common-settings, cfengine-common-syntax): New functions
7648 to set up common things between `cfengine-mode' and
7649 `cfengine3-mode'.
7650 (cfengine3-mode): New mode.
7651 (cfengine3-defuns cfengine3-defuns-regex
7652 (cfengine3-class-selector-regex cfengine3-category-regex)
7653 (cfengine3-vartypes cfengine3-font-lock-keywords)
7654 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 7655 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 7656
36b148cf
MA
76572011-07-01 Michael Albinus <michael.albinus@gmx.de>
7658
7659 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7660
7661 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7662
0bf4ba9a
MR
76632011-07-01 Martin Rudalics <rudalics@gmx.at>
7664
7665 * window.el (same-window-buffer-names, same-window-regexps)
7666 (same-window-p, special-display-frame-alist)
7667 (special-display-popup-frame, special-display-function)
7668 (special-display-buffer-names, special-display-regexps)
7669 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7670 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7671 (split-window-preferred-function, split-height-threshold)
7672 (split-width-threshold, even-window-heights)
7673 (display-buffer-mark-dedicated, window-splittable-p)
7674 (split-window-sensibly, window-safely-shrinkable-p):
7675 Un-obsolete.
7676 (display-buffer): Don't spread args with function specifier
7677 because special-display-popup-frame won't like it.
7678
35837f51
PE
76792011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7680
d0672f86
PE
7681 Time-stamp simplifications and fixes.
7682 These improve accuracy slightly, and future-proof the code
7683 against some potential changes to current-time format.
7684
b9444d97
PE
7685 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7686 by using time-since and float-time.
7687
0ef923dc
PE
7688 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7689 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7690 + NNN microseconds".
7691
2f81380d
PE
7692 * type-break.el (type-break-time-sum): Rewrite using time-add.
7693
845b5c3e
PE
7694 * play/hanoi.el (hanoi-current-time-float): Remove.
7695 All uses replaced by float-time.
7696
ee6f1be0
PE
7697 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7698 This yields a more-accurate answer.
7699 (rng-time-to-float): Remove; no longer needed.
7700
fe955043
PE
7701 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7702
5777162a
PE
7703 * calendar/timeclock.el (timeclock-seconds-to-time):
7704 Defalias to seconds-to-time, since they're the same thing.
7705
3103f8b6 7706 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 7707 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
7708 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7709
0e61a35f
SM
77102011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7711
7712 * window.el (bury-buffer): Don't iconify the only frame.
7713 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7714 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7715
ddd63a1e
CY
77162011-07-01 Chong Yidong <cyd@stupidchicken.com>
7717
0e61a35f
SM
7718 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7719 Add mouse-yank-primary.
ddd63a1e 7720
055f4923
TZ
77212011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7722
7723 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7724
6a2fb145
SM
77252011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7726
7727 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7728 (find-library-name): Use it to find relative load names when provided
7729 absolute file name (bug#8803).
7730
fd4983f2
LMI
77312011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7732
887d14ad
LMI
7733 * textmodes/flyspell.el (flyspell-word): Consider words that
7734 differ only in case as potential doublons (bug#5687).
7735
c53dc7fc
LMI
7736 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7737 Remove two rather uninteresting debugging-like messages to make
7738 debbugs.el more silent.
7739
fd4983f2
LMI
7740 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7741 a password-like phrase.
7742
7a71b18d 77432011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
7744
7745 * progmodes/cc-guess.el: New file.
7746
6a2fb145 7747 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
7748
7749 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7750 derived from `c-basic-common-init'.
7751
7752 * progmodes/cc-mode.el (top-level): Require cc-guess.
7753 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7754
1fa280a3
LM
77552011-06-30 Lawrence Mitchell <wence@gmx.li>
7756
7757 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7758
e6597158
AM
77592011-06-30 Alan Mackenzie <acm@muc.de>
7760
1fa280a3
LM
7761 * progmodes/cc-engine.el (c-guess-continued-construct):
7762 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
7763 lock is disabled. Name this case as "CASE G".
7764
68ba37fb
KM
77652011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7766
7767 * allout.el (allout-yank-processing): Fix injection of extra space
7768 between bullet and non-whitespace character in first topic when
7769 pasting, ensuring that the actual spacing in the pasted topic
7770 following the bullet char is preserved. This extra space was
7771 causing pasted encrypted topics to get a decrypted status even
7772 when the content was actually still encrypted. Now the decryption
7773 status from before the paste is preserved.
7774
7775 (allout-flag-region): Set all allout overlays so they evaporate
7776 when reduced to zero length (evanescent), to prevent overlay
7777 leakage.
7778
887a0b34
GM
77792011-06-30 Glenn Morris <rgm@gnu.org>
7780
94b9acce
GM
7781 * w32-fns.el (w32-charset-info-alist): Declare.
7782
1d9b46d4
GM
7783 * find-dired.el (find-grep-options): Simplify.
7784
cc232200
GM
7785 * term/ns-win.el (ns-set-resource): Declare.
7786
28e77c46
GM
7787 * ses.el (row, col): Declare dynamic variables honestly.
7788
887a0b34
GM
7789 * textmodes/reftex-parse.el (index-tags): Declare.
7790
658d8eb8
CY
77912011-06-30 Chong Yidong <cyd@stupidchicken.com>
7792
7793 * cus-edit.el (customize-push-and-save): New function.
7794
7795 * files.el (hack-local-variables-confirm): Use it.
7796
1fa280a3
LM
7797 * custom.el (load-theme): New arg NO-CONFIRM.
7798 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
7799 (custom-enabled-themes): Doc fix.
7800
7801 * cus-theme.el (customize-create-theme)
7802 (custom-theme-merge-theme): Callers to load-theme changed.
7803
bb617717
LMI
78042011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7805
d61bdd5d
LMI
7806 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7807 short URLs have at least one dot in them (bug #7614).
7808
bb617717
LMI
7809 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7810 nil, because using a pty is apparently too slow (bug #895).
7811
2f31f37a
LMI
78122011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7813
7814 * mail/sendmail.el (sendmail-query-once): New function.
7815 (sendmail-query-once-function): New variable.
7816
3076b24e
GM
78172011-06-29 Glenn Morris <rgm@gnu.org>
7818
faf2a174
GM
7819 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7820
3076b24e
GM
7821 * ses.el (top-level): Require cl when compiling.
7822 (ses-set-localvars): Fix error statement.
7823 Call it at compile time to silence a storm of warnings.
7824
5386012d
MR
78252011-06-29 Martin Rudalics <rudalics@gmx.at>
7826
7827 * window.el (normalize-live-buffer): Rename to
7828 window-normalize-buffer.
7829 (normalize-live-frame): Rename to window-normalize-frame.
7830 (normalize-any-window): Rename to window-normalize-any-window.
7831 (normalize-live-window): Rename to window-normalize-live-window.
7832 (make-window-atom): Rename to window-make-atom.
7833 (window-resize-reset): Rename to window--resize-reset.
7834 (window-resize-reset-1): Rename to window--resize-reset-1.
7835 (resize-mini-window): Rename to window--resize-mini-window.
7836 (resize-subwindows-skip-p): Rename to
7837 window--resize-subwindows-skip-p.
7838 (resize-subwindows-normal): Rename to
7839 window--resize-subwindows-normal.
7840 (resize-subwindows): Rename to window--resize-subwindows.
7841 (resize-other-windows): Rename to window--resize-siblings.
7842 (resize-this-window): Rename to window--resize-this-window.
7843 (resize-root-window): Rename to window--resize-root-window.
7844 (resize-root-window-vertically): Rename to
7845 window--resize-root-window-vertically.
7846 (normalize-buffer-to-display): Rename to
7847 window-normalize-buffer-to-display.
7848 (normalize-buffer-to-switch-to): Rename to
7849 window-normalize-buffer-to-switch-to.
7850 Correspondingly update all callers of the functions listed
7851 above.
7852 (display-buffer-alist, display-buffer-normalize-arguments)
7853 (display-buffer-normalize-options, display-buffer)
7854 (display-buffer-alist-set): Use "function" instead of
7855 "fun-with-args".
7856
1176868d
CY
78572011-06-28 Chong Yidong <cyd@stupidchicken.com>
7858
7859 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7860 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7861 debbugs.gnu.org. Mention acknowledgment email.
7862
20a7a65f
LMI
78632011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7864
7865 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7866 buffer multibyteness, since it shouldn't matter.
7867
5f45cca5
MR
78682011-06-28 Martin Rudalics <rudalics@gmx.at>
7869
7870 * window.el (display-buffer-in-side-window): Handle dedicated
7871 windows as in display-buffer-reuse-window.
7872 (display-buffer-normalize-alist): Use value of override
7873 specifier.
7874 (display-buffer-normalize-specifiers): Use value of
7875 other-window-means-other-frame specifier.
7876 (display-buffer-alist): Rewrite some texts in widgets.
7877 (display-buffer): Spread arguments when calling function
7878 specified by fun-with-args.
7879
ad85fe1f
DD
78802011-06-28 Deniz Dogan <deniz@dogan.se>
7881
1fa280a3
LM
7882 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7883 Unnest `let'.
da68c4c8 7884
ad85fe1f
DD
7885 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7886 selectors (Bug#5732).
ec49bd31 7887 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 7888
a08cc025
JA
78892011-06-27 Jari Aalto <jari.aalto@cante.net>
7890
7891 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7892 (eshell-ls-date-format): New defcustom.
7893 (eshell-ls-file): Use it.
7894
e2b551c5
SM
78952011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7896
7897 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7898
8982b231
KY
78992011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7900
7901 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7902 (ange-ftp-make-tmp-name): New arg.
7903 (ange-ftp-file-local-copy): Use it.
7904
36c9fa27
J
79052011-06-27 Jambunathan K <kjambunathan@gmail.com>
7906
7907 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7908 no-conversion (Bug#8870).
7909
d68443dc
MR
79102011-06-27 Martin Rudalics <rudalics@gmx.at>
7911
7912 * window.el (window-right, window-left, window-child)
7913 (window-child-count, window-last-child)
7914 (window-iso-combination-p, walk-window-tree-1)
7915 (window-atom-check-1, window-tree-1, delete-window)
7916 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7917 new naming conventions - window-vchild, window-hchild,
7918 window-next and window-prev are now called window-top-child,
7919 window-left-child, window-next-sibling and window-prev-sibling
7920 respectively.
d615d6d2
MR
7921 (resize-window-reset): Rename to window-resize-reset.
7922 (resize-window-reset-1): Rename to window-resize-reset-1.
7923 (resize-window): Rename to window-resize.
7924 (window-min-height, window-min-width)
7925 (resize-mini-window, resize-this-window, resize-root-window)
7926 (resize-root-window-vertically, adjust-window-trailing-edge)
7927 (enlarge-window, shrink-window, maximize-window)
7928 (minimize-window, delete-window, quit-restore-window)
7929 (split-window, balance-windows, balance-windows-area-adjust)
7930 (balance-windows-area, window-state-put-2)
7931 (display-buffer-even-window-sizes, display-buffer-set-height)
7932 (display-buffer-set-width, set-window-text-height)
7933 (fit-window-to-buffer): Rename all "resize-window" prefixed
7934 calls to use the "window-resize" prefix convention.
7935 (display-buffer-alist): Fix symbol for label specifier.
7936 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7937 corresponding specifier.
7938 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 7939
b6458526
VB
79402011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7941
7942 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7943 convention.
7944 (ses-call-printer): Does not pass an empty string to formatter when the
7945 cell is empty to keep from barking printer Calc math-format-value.
7946
d31fd9ac
RS
79472011-06-27 Richard Stallman <rms@gnu.org>
7948
43d5bf84
RS
7949 * battery.el (battery-mode-line-limit): New variable.
7950 (battery-update): Handle it.
7951
d31fd9ac
RS
7952 * mail/rmailmm.el (rmail-mime-process-multipart):
7953 Handle truncated messages.
7954
819a6054
GM
79552011-06-27 Glenn Morris <rgm@gnu.org>
7956
7957 * progmodes/flymake.el (flymake-err-line-patterns):
7958 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7959
cedc73f2
VB
79602011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7961
819a6054 7962 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
7963 (ses--clean-!, ses--clean-_): New functions.
7964 (ses-range): Add configurability of readout order, and conversion
7965 to Calc vector.
7966
5e5d49b6
VB
7967 * ses.el (ses-repair-cell-reference-all): New function.
7968 (ses-cell-symbol): Set macro as safe, so that it can be used in
7969 formulas.
7970
56e6cc31 7971 * ses.el: Update cycle detection algorithm.
90ca8b49 7972 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 7973 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
7974 (ses-set-localvars): New function.
7975 (ses-make-cell): Add property-list as a cell element.
7976 (ses-cell-property-get-fun, ses-cell-property-get)
7977 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
7978 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7979 New functions.
90ca8b49
VB
7980 (ses-cell-property-set, ses-cell-property-pop)
7981 (ses-cell-property-get-handle): New macro.
7982 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7983 New aliases, used for code readability.
7984 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7985 cycle detection.
7986 (ses-self-reference-early-detection): New defcustom.
fac916bf 7987 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
7988 (ses-mode): Use ses-set-localvars.
7989 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7990 before lauching the update processing.
7991 (ses-initialize-Dijkstra-attempt): New function.
7992 (ses-recalculate-cell): Update for cycle detection based on
7993 Dijkstra algorithm.
7994
2bb63e81
VB
7995 * ses.el: Fix commenting and indenting convention.
7996
c9d29fb8
SM
79972011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7998
7999 * bs.el (bs-cycle-next): Complete last change.
8000
d8e4b68b
JB
80012011-06-27 Drew Adams <drew.adams@oracle.com>
8002
8003 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8004
40098786
LMI
80052011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8006
c9d29fb8
SM
8007 * net/network-stream.el (network-stream-open-starttls):
8008 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
8009 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8010
40098786
LMI
8011 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8012 to binary to possibly avoid line encoding issues on Windows (among
8013 other things).
8014
468d09d4
LMI
80152011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8016
8017 * net/network-stream.el (open-network-stream): Return an :error
8018 saying what the problem was, if possible.
8019
8020 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8021 server.
8022
8023 * net/network-stream.el (network-stream-open-starttls): If we
8024 wanted to use STARTTLS, and the server offered it, but we weren't
8025 able to because we had no STARTTLS support, then close the connection.
8026 (open-network-stream): Return an :error element, if present.
8027
16f07dd7
CY
80282011-06-26 Chong Yidong <cyd@stupidchicken.com>
8029
88821ca0
CY
8030 * hl-line.el (hl-line-sticky-flag): Doc fix.
8031 (global-hl-line-sticky-flag): New option (Bug#8323).
8032 (global-hl-line-highlight): Obey it.
8033
16f07dd7
CY
8034 * vc/vc.el (vc-revert-show-diff): Default to t.
8035
6b5ccddf
KM
80362011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8037
c9d29fb8
SM
8038 * allout-widgets.el (allout-widgets-post-command-business):
8039 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
8040 undecorated when an isearch is continued past, and isearch
8041 automatically collapses them. This leads to "widget leaks", where
8042 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
8043 hidden widgets can slow down cursor travel, substantially.
8044 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
8045 so we're doing without this nicety.
8046
8047 (allout-widgets-tally-string): Don't try to do a hash-table-count
8048 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8049 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8050 *Messages* when allout-widgets-maintain-tally is t.
8051
355f2e07
MR
80522011-06-26 Martin Rudalics <rudalics@gmx.at>
8053
8054 * window.el (display-buffer-normalize-argument): Rename to
8055 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
8056 LABEL argument. Respect special-display-function when popping up
8057 a new frame. Fix code searching for a window showing the buffer
8058 on another frame.
c9d29fb8
SM
8059 (display-buffer-normalize-specifiers):
8060 Call display-buffer-normalize-arguments.
355f2e07
MR
8061 (display-buffer-in-window): Don't undedicate the window if its
8062 buffer remains the same.
8063 Reported by Drew Adams <drew.adams@oracle.com>.
8064 (display-buffer-alist): Add choice for same-window macro
8065 specfier.
8066 (display-buffer): Mention special meaning of LABEL argument in
8067 doc-string. Fix quoting. Don't pop up a new frame even as
8068 fallback.
8069
7ca8fc42
JB
80702011-06-26 Juanma Barranquero <lekktu@gmail.com>
8071
8072 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8073 avoid deleting the current window in some cases (bug#8911).
8074
bc312254
AS
80752011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8076
8077 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8078 (Bug#8934)
8079
2db18f3f
LMI
80802011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8081
c9d29fb8
SM
8082 * net/network-stream.el (network-stream-open-starttls):
8083 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
8084 (network-stream-open-tls): Ditto.
8085
6302e0d3
LL
80862011-06-26 Leo Liu <sdl.web@gmail.com>
8087
8088 * register.el (registerv): New struct.
8089 (registerv-make): New function.
c9d29fb8
SM
8090 (jump-to-register, describe-register-1, insert-register):
8091 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
8092 struct. (Bug#8415)
8093
5fdd4046
CY
80942011-06-26 Chong Yidong <cyd@stupidchicken.com>
8095
2afef60a
CY
8096 * vc/vc.el (vc-revert-show-diff): New defcustom.
8097 (vc-diff-internal): New arg specifying diff buffer.
8098 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8099 reuse an existing *vc-diff* buffer (Bug#8927).
8100
5fdd4046
CY
8101 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8102
e93db24a
GM
81032011-06-26 Glenn Morris <rgm@gnu.org>
8104
8105 * progmodes/f90.el (f90-critical-indent): New option.
8106 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8107 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8108 (f90-mode): Doc fix.
8109 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8110 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8111 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8112 (f90-match-end): Handle block, critical.
8113
eefff499
GM
81142011-06-25 Glenn Morris <rgm@gnu.org>
8115
f6ba4cc9
GM
8116 * calendar/diary-lib.el (diary-included-files): Doc fix.
8117 (diary-include-files): New function, extracted from
8118 diary-include-other-diary-files and diary-mark-included-diary-files.
8119 (diary-include-other-diary-files, diary-mark-included-diary-files):
8120 Just call diary-include-files.
8121 (diary-mark-entries): Reset diary-included-files on first call.
8122
16712304
GM
8123 * calendar/diary-lib.el (diary-mark-entries)
8124 (diary-mark-included-diary-files):
8125 Visit included diary-files in temp buffers.
8126
5d8e0d43
GM
8127 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8128 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8129 (f90-start-block-re, f90-imenu-generic-expression)
8130 (f90-looking-at-program-block-start, f90-no-block-limit):
8131 Add support for submodules.
8132
ccf7a5d5
GM
8133 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8134 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 8135
11fdef7d 81362011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
8137
8138 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8139 buffer-file-type before setting its value, to avoid disastrous
eefff499 8140 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 8141
74f53697
JB
81422011-06-25 Juanma Barranquero <lekktu@gmail.com>
8143
8144 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8145
8146 * ses.el (ses-unload-function):
8147 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8148
8149 * proced.el (proced-unload-function):
8150 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8151
18a4ce5e
AR
81522011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8153
8154 * server.el (server-create-window-system-frame): Add parameters arg.
8155 (server-process-filter): Doc fix. Handle frame-parameters.
8156
519d22cc
JB
81572011-06-25 Juanma Barranquero <lekktu@gmail.com>
8158
8159 Fix bug#8730, bug#8781.
8160
8161 * loadhist.el (unload--set-major-mode): New function.
8162 (unload-feature): Use it.
8163
8164 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8165 (python-unload-function): New function.
8166
c206f5b0
SM
81672011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8168
8169 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8170
f9ad64f3
GS
81712011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8172
8173 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8174 the candidates list.
8175
7d0da90e
JB
81762011-06-24 Juanma Barranquero <lekktu@gmail.com>
8177
8178 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8179
14b4e83d
RS
81802011-06-23 Richard Stallman <rms@gnu.org>
8181
8182 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8183 (rmail-variables): Set next-error-move-function.
8184 (rmail-what-message): Take argument POS.
8185 (rmail-next-error-move): New function.
8186
273d2baf
SM
81872011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8188
8189 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8190 messages for adjacent non-terminals.
8191
56c2cc9a
RS
81922011-06-23 Richard Stallman <rms@gnu.org>
8193
8194 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 8195 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
8196 (rmail-start-mail): Don't specify use of rmail-mail-return;
8197 that's done by mail-bury now.
8198 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 8199
d59eb518
MA
82002011-06-23 Michael Albinus <michael.albinus@gmx.de>
8201
8202 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8203 SIZE is a number.
8204
02cfc6d6
MR
82052011-06-23 Martin Rudalics <rudalics@gmx.at>
8206
8207 * window.el (get-lru-window, get-mru-window)
8208 (get-largest-window): Never return a minibuffer window.
8209 (display-buffer-pop-up-window): Fix a bug that could lead to
8210 reusing the minibuffer window.
8211 (display-buffer): Pass original specifier argument to
8212 display-buffer-function instead of the normalized one.
8213 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8214
4e323265
LL
82152011-06-22 Leo Liu <sdl.web@gmail.com>
8216
8217 * minibuffer.el (completing-read-function)
8218 (completing-read-default): Move from minibuf.c
8219
7a70468f
RS
82202011-06-22 Richard Stallman <rms@gnu.org>
8221
50718fc2
RS
8222 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8223 to Rmail even if not started by a special Rmail command.
8224
7a70468f
RS
8225 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8226 Copy the buffer currently showing just one message.
8227
297dde5a
RW
82282011-06-22 Roland Winkler <winkler@gnu.org>
8229
8230 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8231 (bibtex-clean-entry): First delete the old key so that a
8232 customized algorithm for generating the new key does not get
8233 confused by the old key.
8234 (bibtex-url): Obey regexp of first step.
8235 (bibtex-search-entries): Do not use add-to-list with local
8236 list-var.
8237
97bb1093
LMI
82382011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8239
8240 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8241 stored a user name, then query for the password first, instead of
8242 waiting for SMTP to give an error message and the trying again.
8243
1c0f1a19
JD
82442011-06-22 Lawrence Mitchell <wence@gmx.li>
8245
8246 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8247 BUFFER in call-process.
8248
396f7c9d
LMI
82492011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8250
8251 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8252 QUIT twice.
ddb7ffee
LMI
8253 (smtpmail-try-auth-methods): Require user name and password from
8254 auth-source.
396f7c9d 8255
8998d1b3
MR
82562011-06-22 Martin Rudalics <rudalics@gmx.at>
8257
8258 * window.el (display-buffer-default-specifiers)
8259 (display-buffer-alist): Remove entries for pop-up-frame-alist.
8260 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 8261 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
8262
8263 * frame.el (pop-up-frame-alist, pop-up-frame-function)
8264 (special-display-frame-alist, special-display-popup-frame):
8265 Remove duplicate declarations. These are now in window.el.
8266
4ea31e07
LMI
82672011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8268
c9d29fb8
SM
8269 * mail/smtpmail.el (smtpmail-via-smtp):
8270 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
8271 server supports it. SMTP servers that support STARTTLS commonly
8272 require it.
8273
8274 * net/network-stream.el (network-stream-open-starttls): Support
8275 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 8276 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 8277
95f41d9a
LMI
8278 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8279 upgrades with `open-network-stream', and rely solely on
8280 auth-source for all credentials. Big changes throughout the file,
8281 but in particular:
c9d29fb8
SM
8282 (smtpmail-auth-credentials): Remove.
8283 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
8284 (smtpmail-via-smtp): Check for servers saying they want AUTH after
8285 MAIL FROM, too.
95f41d9a 8286
c9d29fb8
SM
8287 * net/network-stream.el (network-stream-open-starttls):
8288 Provide support for client certificates both for external and built-in
4ea31e07
LMI
8289 STARTTLS.
8290 (auth-source): Require.
8291 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
8292 (network-stream-certificate): Change cert-cert to cert and
8293 cert-key to key.
4ea31e07 8294
065ec2c7
MA
82952011-06-21 Michael Albinus <michael.albinus@gmx.de>
8296
8297 * net/tramp-cache.el (top): Don't load the persistency file when
8298 "emacs -Q" has been called.
8299
cd93b359
DR
83002011-06-21 Tim Harper <timcharper@gmail.com>
8301
d8e4b68b
JB
8302 * term/ns-win.el (ns-initialize-window-system):
8303 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
8304 resource to NO as it is not yet supported by the NS port.
8305
ae9c0411
JB
83062011-06-21 Juanma Barranquero <lekktu@gmail.com>
8307
8308 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8309 (list-dynamic-libraries): ...not here.
8310
7f3f739f
LL
83112011-06-21 Leo Liu <sdl.web@gmail.com>
8312
8313 * subr.el (sha1): Implement sha1 using secure-hash.
8314
327c8fb1
MR
83152011-06-21 Martin Rudalics <rudalics@gmx.at>
8316
8317 * window.el (display-buffer-alist): In default value do not
8318 enforce searching a window on any but the selected frame.
8319 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8320 (display-buffer-select-window): Remove function.
8321 (display-buffer-in-window): When a window on another frame gets
8322 reused, do not select it any more but just raise its frame if
8323 necessary (Bug#8851) and (Bug#8856).
8324 (display-buffer-normalize-options): Handle pop-up-frames related
8325 options more faithfully.
8326 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8327 window if it is on another frame.
c9d29fb8
SM
8328 (display-buffer-alist, display-buffer-default-specifiers):
8329 Don't make new frame unsplittable by default.
9e9de014
MR
8330 (display-buffer-normalize-argument): Fix doc-string typo and use
8331 'same-frame-other-window instead of 'other-window when associating
8332 with display-buffer-macro-specifiers.
327c8fb1 8333
7cf3f556
VB
83342011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8335
8336 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8337 New functions.
8338 (5x5-mode-map, 5x5-mode-menu): Bind them.
8339 (5x5-draw-grid): Tweak the solver's rendering.
8340
60a406cf
SM
83412011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8342
8343 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8344 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8345
d8e4b68b 83462011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
8347
8348 * menu-bar.el: Use function variable instead of switch-to-buffer.
8349 (menu-bar-select-buffer-function): New variable.
60a406cf 8350 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 8351
478d6f95
SM
83522011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8353
8354 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8355 variable's status.
8356
ca530739
JD
83572011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8358
8359 * x-dnd.el (x-dnd-version-from-flags)
8360 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8361 and long as number (Bug#8899).
8362 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8363
bcd70d97
SM
83642011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8365
60a406cf 8366 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
8367 (completion-try-completion, completion-all-completions): Compute the
8368 metadata argument if it's missing; make it optional (bug#8795).
8369
60a406cf 8370 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
8371 (widget-complete): Use new :completion-function property.
8372 (widget-completions-at-point): New function.
8373 (default): Use :completion-function instead of :complete.
60a406cf
SM
8374 (widget-default-completions): Rename from widget-default-complete;
8375 Rewrite.
bcd70d97
SM
8376 (widget-string-complete, widget-file-complete, widget-color-complete):
8377 Remove functions.
8378 (file, symbol, function, variable, coding-system, color):
8379 * international/mule-cmds.el (default-input-method, charset)
8380 (language-info-custom-alist):
8381 * cus-edit.el (face): Use new property :completions.
8382
8383 * progmodes/pascal.el (pascal-completions-at-point): New function.
8384 (pascal-mode): Use it.
8385 (pascal-mode-map): Use completion-at-point.
8386 (pascal-toggle-completions): Make obsolete.
8387 (pascal-complete-word, pascal-show-completions):
8388 * progmodes/octave-mod.el (octave-complete-symbol):
8389 Redefine as obsolete alias.
8390 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8391 Signal absence of completion info for old Octave,
8392 (inferior-octave-complete): Redefine as obsolete alias.
8393 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8394 (meta-completions-at-point): Rename from meta-complete-symbol and
8395 adapt it for use on completion-at-point-functions.
8396 (meta-common-mode): Use it.
8397 (meta-looking-at-backward, meta-match-buffer): Remove.
8398 (meta-complete-symbol): Redefine as obsolete alias.
8399 (meta-common-mode-map): Use completion-at-point.
8400 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8401 (makefile-mode-map): Use completion-at-point.
8402 (makefile-completions-at-point): Rename from makefile-complete and
8403 adapt it for use on completion-at-point-functions.
8404 (makefile-mode): Use it.
8405 (makefile-complete): Redefine as obsolete alias.
8406
aebf69c8
DD
84072011-06-20 Deniz Dogan <deniz@dogan.se>
8408
8409 * net/rcirc.el: Delete trailing whitespaces once and for all.
8410
bfbbb27d
DC
84112011-06-20 Daniel Colascione <dan.colascione@gmail.com>
8412
8413 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8414
d264a46b
CY
84152011-06-19 Chong Yidong <cyd@stupidchicken.com>
8416
4ca009e5
CY
8417 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8418
d264a46b
CY
8419 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8420
fbf5b3ce
MR
84212011-06-19 Martin Rudalics <rudalics@gmx.at>
8422
8423 * window.el (display-buffer-other-window-means-other-frame):
8424 Call display-buffer-normalize-alist.
8425 (display-buffer-normalize-specifiers-1): Rename to
8426 display-buffer-normalize-argument. New argument other-frame.
8427 Rewrite.
8428 (display-buffer-normalize-specifiers-2): Rename to
8429 display-buffer-normalize-options.
8430 (display-buffer-normalize-alist-1): New function.
8431 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
8432 display-buffer-normalize-alist.
8433 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
8434 (display-buffer-normalize-options-inhibit): New variable.
8435 (display-buffer-normalize-specifiers): Rewrite calling
8436 display-buffer-normalize-alist,
8437 display-buffer-normalize-argument, and
8438 display-buffer-normalize-options. Don't call the latter if
8439 display-buffer-normalize-options-inhibit is non-nil.
8440 (frame-auto-delete): New option.
8441 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
8442 (window-list-no-nils, window-state-ignored-parameters)
8443 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
8444 (window-state-put-1, window-state-put-2, window-state-put):
8445 New functions.
9a028c23
MR
8446 (display-buffer-normalize-options): Move special-display-p group
8447 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 8448
6d10d800
CY
84492011-06-18 Chong Yidong <cyd@stupidchicken.com>
8450
6420d28b
CY
8451 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8452 groups (Bug#8776).
8453 (rx-submatch-n): New function.
8454 (rx): Document it.
8455
ddb8b596
CY
8456 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8457 (Bug#8768).
8458
8459 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8460
77080289
CY
8461 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8462
61dfb316
CY
8463 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8464 anytime existing face settings are present (Bug#8889).
8465
6d10d800
CY
8466 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8467 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8468 Remove unused argument.
8469
be3fb2b8
MR
84702011-06-18 Martin Rudalics <rudalics@gmx.at>
8471
bcd70d97
SM
8472 * window.el (display-buffer-default-specifiers):
8473 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
8474 pop-up-window-min-width, and another reuse-window specifier
8475 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
8476 (display-buffer-normalize-specifiers-2):
8477 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
8478 pop-up-windows is unset. Add a reuse-window specifier for the
8479 case popping up a new window fails.
8480 (special-display-popup-frame): Remove double quoting.
28dec25a 8481 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 8482
1c6d8c76
SM
84832011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8484
8485 * shell.el (shell-completion-vars): Set pcomplete-termination-string
8486 according to comint-completion-addsuffix.
8487
8488 * pcomplete.el: Convert to lexical binding and fix bug#8819.
8489 (pcomplete-suffix-list): Mark as obsolete.
8490 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8491 pcomplete-seen in the closure.
8492 (pcomplete-comint-setup): Setup completion-at-point as well.
8493 (pcomplete--entries): New function.
8494 (pcomplete--env-regexp): New var.
8495 (pcomplete-entries): Rewrite to work with partial-completion and
8496 without relying on pcomplete-suffix-list.
8497 (pcomplete-pare-list): Remove, unused.
8498
25aef8b8
MR
84992011-06-17 Martin Rudalics <rudalics@gmx.at>
8500
8501 * window.el (display-buffer-alist): Set pop-up-window-min-height
8502 and pop-up-window-min-width in default value. Reported by
8503 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
8504 other-window-means-other-frame.
8505 (display-buffer-macro-specifiers): Comment out entry for
8506 other-window specifier.
8507 (display-buffer-other-window-means-other-frame): New function.
8508 (display-buffer-normalize-specifiers-1): New arguments
8509 buffer-name and label. Treat other-window case specially.
8510 (display-buffer-normalize-specifiers-2): Treat other-window case
8511 specially.
8512 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
8513 (display-buffer-normalize-specifiers):
8514 Call display-buffer-normalize-specifiers-3.
25aef8b8 8515
dbad4f69
MR
85162011-06-17 Martin Rudalics <rudalics@gmx.at>
8517
8518 * window.el (same-window-p): Fix two typos introduced when
8519 adding with-no-warnings.
d1067961
MR
8520 (display-buffer-normalize-specifiers-1): Don't check
8521 pop-up-frames for 'unset initialization.
8522 (display-buffer-normalize-specifiers-2): Major rewrite using
8523 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8524 (pop-up-frames, display-buffer-reuse-frames)
8525 (display-buffer-mark-dedicated): Don't initialize to 'unset.
8526 Suggested by David Engster <deng@randomsample.de>.
8527 (even-window-heights): Initialize to 'unset.
8528 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
8529 (display-buffer-macro-specifiers): Don't pop up a new frame in the
8530 other window case.
dbad4f69 8531
9b9c9e3a
MR
85322011-06-16 Martin Rudalics <rudalics@gmx.at>
8533
bcd70d97
SM
8534 * window.el (display-buffer-normalize-specifiers-1):
8535 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 8536 second argument of display-buffer (Bug#8865).
981d5c09
MR
8537 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8538 (switch-to-buffer-other-window-same-frame)
8539 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
8540 Adams (Bug#8875).
9c2755e9
MR
8541 (display-buffer): Don't check noninteractive when calling
8542 display-buffer-pop-up-frame.
8543 (display-buffer-pop-up-frame): Never pop up a frame in
8544 noninteractive mode (Bug#8857).
67222e1d
MR
8545 (enlarge-window, shrink-window): Don't report an error when the
8546 window can't be resized as requested (Bug#8862).
9b9c9e3a 8547
2b75be67
SM
85482011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8549
9ffdd3ba
SM
8550 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8551
cb581a67
SM
8552 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8553
2b75be67
SM
8554 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8555
8c0e3589
AM
85562011-06-15 Alan Mackenzie <acm@muc.de>
8557
cb581a67
SM
8558 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8559 for declarators, disable knr checking to speed up for normal files.
8560 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 8561
b96e6cde
LMI
85622011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8563
4bba86e6
LMI
8564 * net/network-stream.el (open-network-stream): Add the keyword
8565 :always-query-capabilities for the case where you want to force a
8566 `plain' network connection, but the protocol still requires the
8567 capabilitiy command (i.e., SMTP and EHLO).
8568
2b75be67 8569 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
8570 consistency with other `-live-p' functions.
8571
efdcdbf8
SM
85722011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8573
8574 * window.el (same-window-buffer-names, same-window-regexps)
8575 (special-display-frame-alist, special-display-popup-frame)
8576 (special-display-function, special-display-buffer-names)
8577 (special-display-regexps, pop-up-frame-alist)
8578 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8579 (pop-up-windows, split-window-preferred-function)
8580 (split-height-threshold, split-width-threshold, even-window-heights)
8581 (display-buffer-mark-dedicated): Don't encourage the use of
8582 display-buffer-alist from Elisp code.
8583
c5cde042
DN
85842011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
8585
8586 * progmodes/python.el (python-mode): Derive from prog-mode.
8587 * progmodes/ps-mode.el (ps-mode):
8588 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 8589 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
8590 * progmodes/ld-script.el (ld-script-mode): Likewise.
8591
baa1c9ab
MR
85922011-06-15 Martin Rudalics <rudalics@gmx.at>
8593
8594 * window.el (display-buffer-alist): Trim default value to avoid
8595 popping up a new frame (Bug#8857) or reusing an arbitrary window
8596 on another frame.
8597 (display-buffer): Do not fall back on popping up a new frame in
8598 batch mode (Bug#8857).
8599
c5dd5a51
CY
86002011-06-14 Chong Yidong <cyd@stupidchicken.com>
8601
8602 * cus-theme.el (describe-theme-1): Use custom-theme-p.
8603 (custom-theme-summary): New function.
8604 (customize-themes): Use it.
8605
d647b7c4
GM
86062011-06-13 Glenn Morris <rgm@gnu.org>
8607
8608 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8609
9481c002
MR
86102011-06-13 Martin Rudalics <rudalics@gmx.at>
8611
357f93d2
MR
8612 * help.el (help-window): Remove variable.
8613 (help-window-point-marker, temp-buffer-max-height)
8614 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8615 (help-print-return-message): Don't set help-window.
8616 (resize-temp-buffer-window): Rewrite cod eand doc-string.
8617 (help-window-setup-finish): Remove.
8618 (help-window-display-message, help-window-setup)
8619 (with-help-window): Major rewrite based on new
8620 display-buffer-window variable.
8621
8622 * help-mode.el (help-mode-finish): Remove help-window related
8623 code.
8624
8625 * view.el (view-exits-all-viewing-windows): Remove reference to
8626 view-return-to-alist in doc-string.
8627 (view-return-to-alist): Make obsolete.
8628 (view-buffer): Call pop-to-buffer-same-window and remove
8629 undo-window code.
8630 (view-buffer-other-window): Call pop-to-buffer-other-window and
8631 simplify code. Ignore second argument.
8632 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8633 simplify code. Ignore second argument.
8634 (view-return-to-alist-update): Make obsolete.
8635 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8636 Rewrite using quit-restore window parameters.
2b75be67
SM
8637 (view-mode-exit): Rename second argument to EXIT-ONLY.
8638 Rewrite using quit-restore-window.
357f93d2
MR
8639 (View-exit, View-exit-and-edit, View-leave, View-quit)
8640 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8641 appropriate arguments.
8642 (view-end-message): Use quit-restore window parameter.
8643
9481c002
MR
8644 * window.el (display-buffer-function): Rewrite doc-string.
8645 (display-buffer-window, display-buffer-alist): New variables.
8646 (display-buffer-split-specifiers)
8647 (display-buffer-side-specifiers)
8648 (display-buffer-macro-specifiers): New constants.
8649 (display-buffer-even-window-sizes, display-buffer-set-height)
8650 (display-buffer-set-width, display-buffer-select-window)
8651 (display-buffer-in-window, display-buffer-reuse-window)
8652 (display-buffer-split-window-1, display-buffer-split-window)
8653 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8654 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8655 (display-buffer-in-side-window, normalize-buffer-to-display)
8656 (display-buffer-normalize-specifiers-1)
8657 (display-buffer-normalize-specifiers-2)
2b75be67
SM
8658 (display-buffer-normalize-specifiers, display-buffer-frame):
8659 New functions.
9481c002
MR
8660 (display-buffer): Major rewrite.
8661 (display-buffer-other-window, display-buffer-other-frame)
8662 (pop-to-buffer, switch-to-buffer-other-window)
8663 (switch-to-buffer-other-frame): Rewrite.
8664 (display-buffer-same-window, display-buffer-same-frame)
8665 (display-buffer-same-frame-other-window)
8666 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8667 (pop-to-buffer-other-window)
8668 (pop-to-buffer-same-frame-other-window)
8669 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8670 (switch-to-buffer-other-window-same-frame): New functions.
8671 (same-window-p, special-display-p): Rewrite disabling warnings.
8672 Make obsolete.
8673 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8674 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8675 Make obsolete
8676 (same-window-buffer-names, same-window-regexps)
8677 (special-display-frame-alist, special-display-popup-frame)
8678 (special-display-function, special-display-buffer-names)
8679 (special-display-regexps, pop-up-frame-alist)
8680 (pop-up-frame-function, split-window-preferred-function)
8681 (split-height-threshold, split-width-threshold)
8682 (even-window-heights): Make obsolete.
8683
9db51aca
GM
86842011-06-12 Glenn Morris <rgm@gnu.org>
8685
8686 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 8687 Misc simplifications.
9db51aca 8688
39cffb44
MR
86892011-06-12 Martin Rudalics <rudalics@gmx.at>
8690
8691 * window.el (window-safely-shrinkable-p): Restore function which
8692 was inadvertently removed in change from 2011-06-11. Declare as
8693 obsolete.
8694
2b75be67
SM
8695 * calendar/calendar.el (calendar-generate-window):
8696 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
8697 window-safely-shrinkable-p.
8698
a8955be7
GM
86992011-06-12 Glenn Morris <rgm@gnu.org>
8700
8701 * progmodes/fortran.el (fortran-mode-syntax-table):
8702 * progmodes/f90.el (f90-mode-syntax-table):
8703 Set % to punctuation. (Bug#8820)
8704 (f90-find-tag-default): Remove, no longer needed.
8705
f0d4059d
DC
87062011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8707
8708 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8709
1100a63c
CY
87102011-06-11 Chong Yidong <cyd@stupidchicken.com>
8711
8712 * image.el (image-animated-p): Return animation delay in seconds.
8713 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8714 (image-animate-timeout): Remove DELAY argument. Don't assume
8715 every subimage has the same delay; get it from image-animated-p.
8716 (image-animate): Caller changed.
8717
def722bf
MA
87182011-06-11 Michael Albinus <michael.albinus@gmx.de>
8719
8720 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8721 to ignored backtrace functions.
8722
0a2bb1a9
GM
87232011-06-11 Glenn Morris <rgm@gnu.org>
8724
8725 * calendar/appt.el (appt-disp-window-function): Doc fix.
8726 (appt-check): Handle overlapping appointments. (Bug#8337)
8727
6198ccd0
MR
87282011-06-11 Martin Rudalics <rudalics@gmx.at>
8729
8730 * window.el (window-tree-1, window-tree): New functions, moving
8731 the latter to window.el.
8732 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8733 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8734 (bw-refresh-edges): Remove.
8735 (balance-windows-1, balance-windows-2): New functions.
8736 (balance-windows): Rewrite in terms of window tree functions,
8737 balance-windows-1 and balance-windows-2.
8738 (bw-adjust-window): Remove.
8739 (balance-windows-area-adjust): New function with functionality of
8740 bw-adjust-window but using resize-window.
2b75be67
SM
8741 (set-window-text-height): Rewrite doc-string.
8742 Use normalize-live-window and resize-window.
8743 (enlarge-window-horizontally, shrink-window-horizontally):
8744 Rename argument to DELTA.
6198ccd0
MR
8745 (window-buffer-height): New function.
8746 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8747 Rewrite using new window resize routines.
2b75be67
SM
8748 (kill-buffer-and-window, mouse-autoselect-window-select):
8749 Use ignore-errors instead of condition-case.
6198ccd0
MR
8750 (quit-window): Call delete-frame instead of delete-windows-on
8751 for the only buffer on frame.
8752
9397e56f
MR
87532011-06-10 Martin Rudalics <rudalics@gmx.at>
8754
8755 * loadup.el (top-level): Load window before files for the sake
8756 of replace-buffer-in-windows.
8757
8758 * files.el (read-buffer-to-switch)
8759 (switch-to-buffer-other-window)
2b75be67
SM
8760 (switch-to-buffer-other-frame, display-buffer-other-frame):
8761 Move to window.el.
9397e56f
MR
8762
8763 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8764 (previous-buffer): Move to window.el.
8765
8766 * bindings.el (unbury-buffer): Move to window.el.
8767
8768 * window.el (delete-other-windows-vertically): Move after
8769 definition of delete-other-windows.
8770 (other-window, delete-windows-on, replace-buffer-in-windows):
8771 Move here from window.c.
8772 (record-window-buffer, unrecord-window-buffer)
8773 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8774 (switch-to-next-buffer): New functions.
8775 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8776 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
8777 (previous-buffer): Move here from simple.el.
8778 Call switch-to-prev-buffer.
9397e56f
MR
8779 (bury-buffer): Move here from buffer.c. Switch to previous
8780 buffer when window cannot be deleted.
8781 (unbury-buffer): Move here from bindings.el.
8782 (ctl-x-map): Move binding for other-window from window.c to
8783 here.
8784 (read-buffer-to-switch, switch-to-buffer-other-window)
8785 (switch-to-buffer-other-frame): Move here from files.el.
8786 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
8787 (switch-to-buffer): Move here from buffer.c.
8788 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 8789
562dd5e9
MR
87902011-06-10 Martin Rudalics <rudalics@gmx.at>
8791
8792 * window.el (window-min-height, window-min-width): Move here
8793 from window.c. Add defcustoms and rewrite doc-strings.
8794 (resize-mini-window, resize-window): New functions.
8795 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8796 Move here from window.c.
8797 (maximize-window, minimize-window): New functions.
8798 (delete-window, delete-other-windows, split-window): Move here
8799 from window.c.
8800 (window-split-min-size): New function.
8801 (split-window-keep-point): Mention split-window-above-each-other
8802 instead of split-window-vertically.
2b75be67 8803 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
8804 Rename split-window-vertically to split-window-above-each-other
8805 and provide defalias for old definition.
8806 (split-window-side-by-side, split-window-horizontally):
8807 Rename split-window-horizontally to split-window-side-by-side
8808 and provide defalias for the old definition.
562dd5e9
MR
8809 (ctl-x-map): Move bindings for delete-window,
8810 delete-other-windows and enlarge-window here from window.c.
8811 Replace bindings for split-window-vertically and
8812 split-window-horizontally by bindings for
8813 split-window-above-each-other and split-window-side-by-side.
8814
8815 * cus-start.el (all): Remove entries for window-min-height and
8816 window-min-width. Add entries for window-splits and
8817 window-nest.
8818
f0da764a
GM
88192011-06-09 Glenn Morris <rgm@gnu.org>
8820
80675c21
GM
8821 * calendar/appt.el (appt-mode-line): New function.
8822 (appt-check, appt-disp-window): Use it.
8823
f0da764a
GM
8824 * files.el (hack-one-local-variable-eval-safep):
8825 Allow minor-modes with explicit +/-1 arguments.
8826
59f623b7
TZ
88272011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8828
8829 * term/xterm.el (xterm): Add defgroup.
8830 (xterm-extra-capabilities): Add defcustom to supply known xterm
8831 capabilities, skip querying them, or query them (default).
8832 (terminal-init-xterm): Use it.
8833 (terminal-init-xterm-modify-other-keys): New function to set up
8834 modifyOtherKeys support to simplify `terminal-init-xterm'.
8835
9aab8e0d
MR
88362011-06-09 Martin Rudalics <rudalics@gmx.at>
8837
8838 * window.el (resize-window-reset, resize-window-reset-1)
8839 (resize-subwindows-skip-p, resize-subwindows-normal)
8840 (resize-subwindows, resize-other-windows, resize-this-window)
8841 (resize-root-window, resize-root-window-vertically)
8842 (window-deletable-p, window-or-subwindow-p)
8843 (frame-root-window-p): New functions.
8844
e8b08aee
GM
88452011-06-09 Glenn Morris <rgm@gnu.org>
8846
8847 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8848 (ange-ftp-get-files): Use it.
8849
254c37a5
AK
88502011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8851
8852 * mail/sendmail.el (mail-recover-1, mail-recover):
8853 * files.el (recover-file, recover-session):
8854 Handle dired-listing-switches not being just a single short option.
8855
35d7dbd3
GM
88562011-06-09 Glenn Morris <rgm@gnu.org>
8857
8858 * calendar/appt.el (appt-display-message, appt-disp-window):
8859 Handle lists of appointments.
8860
387522b2
MR
88612011-06-08 Martin Rudalics <rudalics@gmx.at>
8862
2b75be67
SM
8863 * window.el (one-window-p): Move down in code.
8864 Rewrite doc-string.
8865 (window-current-scroll-bars): Rewrite doc-string.
8866 Normalize live window argument.
387522b2
MR
8867 (walk-windows, get-window-with-predicate, count-windows):
8868 Rewrite doc-string. Use window-list-1.
8869 (window-in-direction-2, window-in-direction, get-mru-window):
8870 New functions.
8871
d8e4b68b 88722011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
8873
8874 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8875 Doc fix (Bug#8713).
8876
88772011-06-08 Chong Yidong <cyd@stupidchicken.com>
8878
8879 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8880
88812011-06-08 Juanma Barranquero <lekktu@gmail.com>
8882
8883 * loadhist.el (unload-feature-special-hooks):
8884 Add `comint-output-filter-functions'.
8885
0de12c52
IK
88862011-06-08 Ivan Kanis <gnu@kanis.fr>
8887
8888 * calendar/appt.el (appt-check): Move some initializations into the let.
8889
f3d1777e
MR
88902011-06-08 Martin Rudalics <rudalics@gmx.at>
8891
8892 * window.el (window-height): Defalias to window-total-height.
8893 (window-width): Defalias to window-body-width.
8894
18af70d0
CY
88952011-06-07 Chong Yidong <cyd@stupidchicken.com>
8896
8897 * image-mode.el (image-toggle-animation): New command.
8898 (image-mode-map): Bind it to RET.
8899 (image-mode): Update message.
8900 (image-toggle-display-image): Avoid a spurious cache flush.
8901 (image-transform-rotation): Doc fix.
8902 (image-transform-properties): Return quickly in the normal case.
8903 (image-animate-loop): Rename from image-animate-max-time.
8904
2b75be67 8905 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
8906 (create-animated-image): Remove unnecessary function.
8907 (image-animate): Rename from image-animate-start. New arg.
2b75be67 8908 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
8909 (image-animate-timer): Use car-safe.
8910 (image-animate-timeout): Rename argument.
8911
190b47e6
MR
89122011-06-07 Martin Rudalics <rudalics@gmx.at>
8913
8914 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
8915 window.c. Rename first argument to ALL-FRAMES.
8916 Rephrase doc-strings.
8917 (get-buffer-window-list): Rewrite using window-list-1.
8918 Rephrase doc-string.
a1511caf
MR
8919 (window-safe-min-height, window-safe-min-width): New constants.
8920 (window-size-ignore, window-min-size, window-min-size-1)
8921 (window-sizable, window-sizable-p, window-size-fixed-1)
8922 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8923 (window-max-delta-1, window-max-delta, window-resizable)
8924 (window-resizable-p, window-total-height, window-total-width)
8925 (window-body-width): New functions.
8926 (window-full-height-p, window-full-width-p): Rewrite using
8927 window-total-size.
8928 (window-body-height): Rewrite using window-body-size.
190b47e6 8929
85cc1f11
MR
89302011-06-06 Martin Rudalics <rudalics@gmx.at>
8931
8932 * window.el (window-right, window-left, window-child)
8933 (window-child-count, window-last-child, window-any-p)
8934 (normalize-live-buffer, normalize-live-frame)
8935 (normalize-any-window, normalize-live-window)
8936 (window-iso-combination-p, window-iso-combined-p)
8937 (window-iso-combinations)
8938 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8939 (windows-with-parameter, window-with-parameter)
8940 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
8941 (window-atom-check, window-side-check, window-check):
8942 New functions.
85cc1f11
MR
8943 (ignore-window-parameters, window-sides, window-sides-vertical)
8944 (window-sides-slots): New variables.
8945 (window-size-fixed): Move down in code. Minor doc-string fix.
8946
e7156492
AS
89472011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8948
8949 * comint.el (comint-dynamic-complete-as-filename)
8950 (comint-dynamic-complete-filename): Correctly call
8951 completion-in-region.
8952
7e821d0d
DD
89532011-06-05 Deniz Dogan <deniz@dogan.se>
8954
8955 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8956 in last change.
8957
ac09b8a1
DD
89582011-06-05 Deniz Dogan <deniz@dogan.se>
8959
8960 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8961 (rcirc): Use it to prompt for encryption.
8962
34699b85
RW
89632011-06-05 Roland Winkler <winkler@gnu.org>
8964
8965 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8966 (bibtex-search-entries): New command bound to C-c C-a.
8967 (bibtex-display-entries): New function.
8968
004dedd3
RW
89692011-06-05 Roland Winkler <winkler@gnu.org>
8970
8971 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8972 (bibtex-insert-kill): After yanking insert newline if necessary.
8973 (bibtex-initialize): Call bibtex-string-files-init only once.
8974 (bibtex-mode): Do not call easy-menu-add.
8975 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8976 (bibtex-yank): Set arg properly if nil.
8977
022fe7ce
RW
89782011-06-05 Roland Winkler <winkler@gnu.org>
8979
2b75be67
SM
8980 * textmodes/bibtex.el (bibtex-search-entry-globally):
8981 New variable.
022fe7ce
RW
8982 (bibtex-search-entry): Use it.
8983
b7c3692a
RW
89842011-06-05 Roland Winkler <winkler@gnu.org>
8985
8986 * textmodes/bibtex.el (bibtex-entry-format): New option
8987 sort-fields.
8988 (bibtex-format-entry, bibtex-reformat): Honor this option.
8989 (bibtex-parse-entry): Return fields in proper order.
8990
8eda563d
JB
89912011-06-05 Juanma Barranquero <lekktu@gmail.com>
8992
8993 * doc-view.el (doc-view-remove-if): Move computation of result out
8994 of `dolist' to silence misleading lexical-binding warning.
8995
7dbe3dbc
CY
89962011-06-04 Chong Yidong <cyd@stupidchicken.com>
8997
8998 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8999 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9000
0c33dd17
MA
90012011-06-04 Michael Albinus <michael.albinus@gmx.de>
9002
9003 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9004 "SunOS 5.10".
9005
f8f91c2b
MA
90062011-06-04 Michael Albinus <michael.albinus@gmx.de>
9007
9008 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9009 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9010 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9011 (tramp-parse-putty):
9012 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9013 (tramp-completion-function-alist-ssh)
9014 (tramp-completion-function-alist-telnet)
9015 (tramp-completion-function-alist-su)
9016 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9017 cookie.
9018
9019 * net/tramp-ftp.el:
9020 * net/tramp-sh.el:
9021 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9022 load "tramp.el" `tramp-set-completion-function'.
9023
e17d9003
SM
90242011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9025
9026 * shell.el: Require and use pcomplete.
9027 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9028 (shell-completion-vars): Set pcomplete-default-completion-function.
9029
6c4cab03
DD
90302011-06-04 Deniz Dogan <deniz@dogan.se>
9031
9032 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9033 `memq' (Bug#8799).
9034
ea9fafe0
SM
90352011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9036
9037 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9038
b3e945d3
JB
90392011-06-02 Juanma Barranquero <lekktu@gmail.com>
9040
9041 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9042 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9043 * vc/log-view.el (log-view-beginning-of-defun):
9044 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9045 (smerge-refine-forward, smerge-refine-chopup-region):
9046 Silence warning for unused `dotimes' counter variables.
9047
7d520089
SM
90482011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9049
9050 * net/tramp.el (tramp-with-progress-reporter): Rename from
9051 with-progress-reporter. Use `declare'.
9052 * net/tramp-smb.el:
9053 * net/tramp-sh.el:
9054 * net/tramp-gvfs.el: Update all uses.
9055
a1c2400f
JB
90562011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9057
9058 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9059 buffer isn't killed before making it current.
9060
2403c841
SM
90612011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9062
9063 Silence various byte-compiler warnings.
9064 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9065 `access-type' and new obsolescence format.
9066 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9067 new format.
9068 (byte-compile-check-variable): New `access-type' argument.
9069 Only warn if the access-type is obsolete.
9070 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9071 (byte-compile-variable-set): Adjust callers.
9072 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9073 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9074 setting it as obsolete.
9075 * simple.el (minibuffer-completing-symbol):
9076 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9077 access as obsolete.
9078 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9079 obsolete yet.
9080 * international/quail.el (quail-mouse-choose-completion): Remove unused
9081 code referring to obsolete var.
9082 (quail-choose-completion-string): Remove.
9083 * server.el (server-clients-with, server-kill-buffer-query-function)
9084 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9085 * proced.el (proced-send-signal):
9086 * emacs-lisp/lisp.el (lisp-complete-symbol):
9087 Replace completion-annotate-function with completion-extra-properties.
9088
2462470b
SM
90892011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9090
fb5b2591
SM
9091 * simple.el (goto-line): Use read-number.
9092 (overriding-map-is-bound): Remove.
9093 (saved-overriding-map): Change default.
9094 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9095 Take the map as argument.
9096 (universal-argument, negative-argument, digit-argument): Use it.
9097 (restore-overriding-map): Adjust.
9098 (do-auto-fill): Use fill-forward-paragraph.
9099 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9100
fd6fa53f
SM
9101 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9102 (minibuffer-inactive-mode): New major mode.
9103 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9104 the *Messages* buffer" hack.
9105 (mouse-popup-menubar): Don't burp if the event is a normal key.
9106
2462470b
SM
9107 Miscellaneous tweaks.
9108 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9109 lexical scoping as in subr.el's dolist and dotimes.
9110 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9111 Silence compiler warning.
9112 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9113 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9114 * international/ccl.el (ccl-compile): Trivial simplification.
9115 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9116 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9117 `printflag' argument.
9118 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9119 Purecopy the whole obsolescence data.
9120
108bf785
LL
91212011-06-01 Leo Liu <sdl.web@gmail.com>
9122
9123 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9124 improve doc-string as suggested by Marco Pessotto
9125 <melmothx@gmail.com>.
9126 (rcirc-print): Fix last change.
9127
30a23501
SM
91282011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9129
9130 * minibuffer.el (complete-with-action): Return nil for the metadata and
9131 boundaries of non-functional tables.
9132 (completion-table-dynamic): Return nil for the metadata.
9133 (completion-table-with-terminator): Add default case, using
9134 complete-with-action.
9135 (completion--metadata): New function.
9136 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9137 to try and avoid pathological performance problems.
9138 (completion--embedded-envvar-table): Return `category' metadata.
9139
bcd54f83
LMI
91402011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9141
9142 * subr.el (process-alive-p): New tiny convenience function.
9143
e227544d
SM
91442011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9145
9146 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9147 content but also its previous major mode.
9148
e8296fdc
HE
91492011-05-31 Helmut Eller <eller.helmut@gmail.com>
9150
4d61f28d 9151 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
9152 *Backtrace* buffer when we exit with C-M-c.
9153
620c53a6
SM
91542011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9155
9156 * minibuffer.el: Add metadata method to completion tables.
9157 (completion-category-overrides): New defcustom.
9158 (completion-metadata, completion--field-metadata)
9159 (completion-metadata-get, completion--styles)
9160 (completion--cycle-threshold): New functions.
9161 (completion-try-completion, completion-all-completions):
9162 Add `metadata' argument to choose completion-styles.
9163 (completion--do-completion): Use metadata to choose cycling.
9164 (completion-all-sorted-completions): Use metadata for sorting.
9165 Remove :completion-cycle-penalty which is not needed any more.
9166 (completion--try-word-completion): Add `metadata' argument.
9167 (minibuffer-completion-help): Check metadata for annotation function
9168 and sorting.
9169 (completion-file-name-table): Return `category' metadata.
9170 (minibuffer-completing-file-name): Make obsolete.
9171 * simple.el (minibuffer-completing-symbol): Make obsolete.
9172 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9173 completion-try-completion.
9174
1257e755
SM
91752011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9176
9177 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9178
3767e706
LL
91792011-05-30 Leo Liu <sdl.web@gmail.com>
9180
9181 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
9182 (rcirc-print): Decode all incoming messages (bug#8744).
9183 (rcirc-decode-coding-system): Allow value nil for automatic coding
9184 system detection.
3767e706 9185
d1a5d56a
GM
91862011-06-01 Glenn Morris <rgm@gnu.org>
9187
9188 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9189
e8cbec34
CY
91902011-05-29 Chong Yidong <cyd@stupidchicken.com>
9191
9192 * image.el (image-animate-max-time): Allow nil and t values.
9193 Default to nil.
9194 (create-animated-image): Doc fix.
9195 (image-animate-start): Remove second arg; just use
9196 image-animate-max-time.
9197 (image-animate-timeout): Doc fix. Args changed.
9198
9199 * image-mode.el (image-toggle-display-image): Ensure that the
9200 image spec passed to the animate timer is the same object as in
58179cce 9201 the buffer's display property (Bug#6981).
e8cbec34
CY
9202 (image-transform-properties): Doc fix.
9203
9204 * image.el (image-animate-max-time): Default to nil.
9205
159daf87
MR
92062011-05-29 Martin Rudalics <rudalics@gmx.at>
9207
9208 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9209 entire buffer list (Bug#8184).
9210
d66c4c7c
CY
92112011-05-29 Chong Yidong <cyd@stupidchicken.com>
9212
9213 * image.el (imagemagick-types-inhibit)
9214 (imagemagick-register-types): Doc fix.
9215
80aec780
DD
92162011-05-29 Deniz Dogan <deniz@dogan.se>
9217
9218 * net/rcirc.el (rcirc): Use the user's stored encryption method by
9219 default.
9220
1dd3c2d9
CY
92212011-05-29 Chong Yidong <cyd@stupidchicken.com>
9222
9223 * select.el: Don't perform clipboard-manager saving in hooks;
9224 leave the hooks empty.
9225
60e56523
LL
92262011-05-28 Leo Liu <sdl.web@gmail.com>
9227
9228 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9229 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
9230 (occur-edit-mode): New major mode (Bug#8463).
9231 (occur-after-change-function): New function.
9232 (occur-engine): Give Occur tags a read-only property.
9233
2b1e1a22
KR
92342011-05-28 Kevin Ryde <user42@zip.com.au>
9235
9236 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9237
5d344e88
CY
92382011-05-28 Chong Yidong <cyd@stupidchicken.com>
9239
8e6ca83d
CY
9240 * bindings.el (help-echo): Make the initial non-indicator dash
9241 empty on graphical terminals (Bug#7295).
9242
5d344e88
CY
9243 * files.el (auto-mode-alist): Move config rule after the
9244 in-stripping one (Bug#8547).
9245
bfbbace7
CY
9246 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9247
fbeba6e2
CY
9248 * startup.el (normal-splash-screen): Remove gratuitous mode-line
9249 setting (Bug#8740).
9250
60ed8c72
AA
92512011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
9252
4ac619f0
AA
9253 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9254 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9255 (Bug#8539).
60ed8c72 9256
23db196e
CY
92572011-05-28 Chong Yidong <cyd@stupidchicken.com>
9258
9259 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9260
5012f24c
DK
92612011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
9262
9263 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9264 (hs-hide-block-at-point, hs-find-block-beginning)
9265 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9266 (Bug#8279).
9267
6a639b16
GM
92682011-05-28 Glenn Morris <rgm@gnu.org>
9269
9270 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9271
d43eaf2c
CY
92722011-05-28 Chong Yidong <cyd@stupidchicken.com>
9273
5199bde1
CY
9274 * help-fns.el (describe-function-1): If the function is a derived
9275 major mode, print the parent mode.
9276
d43eaf2c
CY
9277 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9278 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9279
423428a8
SM
92802011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9281
0ff8e1ba 9282 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 9283 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
9284 * progmodes/etags.el (tags-completion-at-point-function):
9285 * info-look.el (info-lookup-completions-at-point): Mark as
9286 non-exclusive.
9287 (info-complete): Adjust accordingly.
9288
423428a8
SM
9289 * info-look.el: Convert to lexical-binding and completion-at-point.
9290 (info-lookup-completions-at-point): New function.
9291 (info-complete): Use it and completion-in-region.
9292
b74aa22b
DA
92932011-05-28 Drew Adams <drew.adams@oracle.com>
9294
9295 * isearch.el: Let M-e start with point at the first mismatched char.
9296 (isearch-fail-pos): New function.
9297 (isearch-edit-string): Use it.
9298
66e2e71d
DK
92992011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9300
9301 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9302
b1890b0f 93032011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
9304
9305 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9306 traversal functions for avl-trees.
9307 (avl-tree--stack): New struct.
9308 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9309 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
9310 (avl-tree--do-enter): Add optional `updatefun' arg.
9311 Change return value.
eb95d01d 9312 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
9313 (avl-tree--do-delete): Add `test' and `nilflag' args.
9314 Change return value.
eb95d01d
TC
9315 (avl-tree-member): Add optional `nilflag'
9316 (avl-tree-member-p): New function.
9317 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9318 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9319 (avl-tree-stack-empty-p): New functions.
9320
3769ddcf
TC
9321 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9322 avl-tree--del-balance1 and make it work both ways.
9323 (avl-tree--del-balance2): Remove.
9324 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9325 make it work both ways.
9326 (avl-tree--enter-balance2): Remove.
9327 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9328 New macros.
9329 (avl-tree--mapc, avl-tree-map): Add direction argument.
9330
eb95d01d 93312011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
9332
9333 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9334
a9f737ee
CY
93352011-05-27 Chong Yidong <cyd@stupidchicken.com>
9336
9337 * select.el: Support clipboard managers with built-in function
9338 x-clipboard-manager-save, via delete-frame-functions and
9339 kill-emacs-hook.
9340 (xselect-convert-to-targets): Add MULTIPLE target to list.
9341 (xselect-convert-to-save-targets): New function.
9342
c92a1e54
KH
93432011-05-27 Kenichi Handa <handa@m17n.org>
9344
9345 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9346 let-binding rfc2047-encode-encoded-words to nil.
9347
e145f188
GM
93482011-05-27 Glenn Morris <rgm@gnu.org>
9349
5ec8a862
GM
9350 * mail/emacsbug.el: Don't require url-util.
9351
4b29d9fb
GM
9352 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9353
e145f188
GM
9354 * files.el (set-auto-mode):
9355 Also respect mode: entries at the end of the file. (Bug#8586)
9356
7d15102b
GM
93572011-05-26 Glenn Morris <rgm@gnu.org>
9358
98f593b8
GM
9359 * files.el (hack-local-variables-prop-line, hack-local-variables):
9360 Downcase mode names, as seems to be traditional.
27b48e63 9361 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 9362
7d15102b
GM
9363 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9364 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
9365
51d5b4ec
JD
93662011-05-25 Julien Danjou <julien@danjou.info>
9367
9368 * textmodes/rst.el (rst-define-level-faces): Do not define face
9369 symbol if it is already defined.
9370
91513f63
VB
93712011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
9372
9373 * play/5x5.el (5x5-new-game, 5x5-randomize):
9374 Reset 5x5-solver-output to nil when a new grid is cast.
9375 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9376 these debugging traces, as defmacro breaks the compiled code.
9377
4d90d6d0
DK
93782011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9379
9380 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9381
e1b90ef6
LL
93822011-05-24 Leo Liu <sdl.web@gmail.com>
9383
9384 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9385 (vc-bzr-sha1): Adapt.
9386
d8e4b68b 9387 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
9388
9389 * bindings.el: Provide sha1 feature.
9390
db0406bb 93912011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
9392
9393 * mail/sendmail.el: Require `rfc2047'.
9394 (mail-insert-from-field): Do not perform RFC2047 encoding.
9395 (mail-encode-header): New function.
9396 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
9397 buffer to the return value of select-message-coding-system.
9398 Call mail-encode-header.
b8d747b9
KH
9399
9400 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9401
db0406bb 94022011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 9403
4d90d6d0
DK
9404 * mail/supercite.el (sc-default-cite-frame):
9405 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 9406
eb8a5e9b
GM
94072011-05-24 Glenn Morris <rgm@gnu.org>
9408
f8630703
GM
9409 * progmodes/python.el (brm-menu): Declare.
9410
8831bbed
GM
9411 * emulation/viper.el (viper-set-hooks): Declare.
9412
eb8a5e9b
GM
9413 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9414 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9415 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9416 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9417 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9418 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9419
a2a25d24
SM
94202011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9421
9422 Add an :exit-function for completion-at-point.
9423
9424 * minibuffer.el (completion--done): New fun.
9425 (completion--do-completion): Use it. New arg `expect-exact'.
9426 (minibuffer-complete, minibuffer-complete-word): Don't output message,
9427 since completion--do-completion does it for us now.
9428 (minibuffer-force-complete): Use completion--done and
9429 completion--replace. Handle sole-completion case with more care.
9430 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9431 (completion-extra-properties): New var.
9432 (completion-annotate-function): Make obsolete.
9433 (minibuffer-completion-help): Adjust accordingly.
9434 Use completion-list-insert-choice-function.
9435 (completion-at-point, completion-help-at-point):
9436 Bind completion-extra-properties.
9437 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9438 * simple.el (completion-list-insert-choice-function): New var.
9439 (completion-setup-function): Preserve it.
9440 (choose-completion): Pay attention to it, shuffle the code a bit.
9441 (choose-completion-string): New arg `insert-function'.
9442
9443 * textmodes/bibtex.el: Convert to lexical binding.
9444 (bibtex-mode-map): Use completion-at-point.
9445 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9446 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9447 (bibtex-complete): Define as obsolete alias.
9448 (bibtex-complete-internal): Remove.
9449 (bibtex-format-entry): Remove unused sub-group in regexp.
9450 * shell.el (shell--command-completion-data)
9451 (shell-environment-variable-completion):
9452 * pcomplete.el (pcomplete-completions-at-point):
9453 * comint.el (comint--complete-file-name-data): Use :exit-function
9454 instead of completion-table-with-terminator so it also works for
9455 choose-completion.
9456
e44e373d
SM
94572011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9458
4f91a816
SM
9459 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9460
782fc819
SM
9461 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9462 (bug#8710).
9463
e44e373d
SM
9464 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9465
381987c3
KM
94662011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
9467
9468 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9469 customization variable and implement: If non-nil, auto-fill will
9470 be inhibited while on topic's header line.
9471
b776bc70
VB
94722011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
9473
9474 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 9475 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
9476 always have a solution in grid size = 5 cases.
9477 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9478 (5x5-solver-output, 5x5-log-buffer): New vars.
9479 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9480 Make these variables buffer local to achieve 5x5 multi-session-ness.
9481 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9482 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9483 (5x5-solve-suggest): New funs.
9484 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9485 randomize a grid so that we ensure that there is always a solution.
9486 (5x5-make-random-grid): Allow other movement than flipping.
9487
7de88b6e
KR
94882011-05-23 Kevin Ryde <user42@zip.com.au>
9489
9490 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 9491 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
9492 advice and passes PREDICATE.
9493
b1ef1257
SM
94942011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9495
bbca48fe
SM
9496 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9497 byte-compile-lambda if it's actually a lambda.
9498
b1ef1257
SM
9499 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9500 Fix function quoting. Use backquote better.
9501
92a9cc65
YS
95022011-05-22 Yuanle Song <sylecn@gmail.com>
9503
9504 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9505 matching (Bug#8516).
9506
f0fb8059
JA
95072011-01-22 Jari Aalto <jari.aalto@cante.net>
9508
9509 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9510 different face (Bug#8178).
9511
d5b44c93
CY
95122011-05-22 Chong Yidong <cyd@stupidchicken.com>
9513
9514 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9515 defface (Bug#8144).
9516
79106a44
SM
95172011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
9518
9c848d8a
SM
9519 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9520 funcall as well (bug#8712). Warn when performing those conversions.
9521 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9522
79106a44
SM
9523 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9524
88dfa756
GM
95252011-05-22 Glenn Morris <rgm@gnu.org>
9526
9527 * files.el (hack-local-variables-prop-line): Small simplifications.
9528 (hack-local-variables, hack-local-variables-prop-line):
9529 If MODE-ONLY, return the mode, rather than just `t'.
9530
b7cf2c79
SM
95312011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9532
9533 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9534
3f1a8558
GM
95352011-05-21 Glenn Morris <rgm@gnu.org>
9536
7e4ccca3
GM
9537 * files.el (hack-local-variables-prop-line, hack-local-variables):
9538 If only interested in the mode, don't bother doing the other stuff.
9539
637d46ca
GM
9540 * image-mode.el (image-after-revert-hook):
9541 Redraw all frames on which the image is visible. (Bug#8567)
9542
973d955b
GM
9543 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
9544
3f1a8558
GM
9545 * wid-edit.el (widget-checklist-match-inline):
9546 Fix 2011-04-19 change. (Bug#8649)
9547
96479927
SM
95482011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
9549
1dcf791f
SM
9550 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9551 Also allow singlespace after single-letter capitals followed by a dot.
9552
96479927
SM
9553 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9554 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9555
35fd0881
N
95562011-05-20 Nix <nix@esperi.org.uk>
9557
9558 * files.el (basic-save-buffer-2):
9559 Fix handling of break-hardlink-on-save with non-existent files.
9560
82745640
DD
95612011-05-19 Deniz Dogan <deniz@dogan.se>
9562
9563 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 9564 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 9565
4a720484
GM
95662011-05-19 Glenn Morris <rgm@gnu.org>
9567
d1f21341
GM
9568 * progmodes/f90.el (f90-type-def-re):
9569 Handle "type, bind(c)". (Bug#8691)
9570
4a720484
GM
9571 * emacs-lisp/autoload.el (batch-update-autoloads):
9572 Set autoload-excludes by parsing loadup.el rather than Makefiles.
9573
2fb0a219
MA
95742011-05-18 Michael Albinus <michael.albinus@gmx.de>
9575
9576 * net/tramp.el (tramp-process-actions): Set "first-password-request"
9577 property for the correct connection in case of multihops.
9578
e565dd37
GM
95792011-05-18 Glenn Morris <rgm@gnu.org>
9580
c2571358 9581 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
9582 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9583
e565dd37
GM
9584 Rationalize calendar handling of day and month abbrev-arrays.
9585 * calendar/calendar.el (calendar-customized-p): New function.
9586 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9587 (calendar-day-name-array, calendar-month-name-array): Doc fix.
9588 Add :set function.
9589 (calendar-abbrev-length, calendar-day-abbrev-array)
9590 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9591 (calendar-day-abbrev-array, calendar-month-abbrev-array):
9592 Elements may no longer be nil.
9593 (calendar-day-name, calendar-month-name):
9594 Update for changed nature of abbrev arrays.
9595 * calendar/diary-lib.el (diary-name-pattern):
9596 Update for changed nature of abbrev arrays.
9597 (diary-mark-entries-1): Update calendar-make-alist calls.
9598 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9599 * calendar/cal-html.el (cal-html-day-abbrev-array):
9600 Simply inherit from calendar-day-abbrev-array.
9601
1d99a745
SM
96022011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9603
9604 * progmodes/grep.el (grep-mode): Disable default
9605 compilation-directory-matcher setting (bug#8684).
9606
7c1d9aa0
MA
96072011-05-17 Michael Albinus <michael.albinus@gmx.de>
9608
9609 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9610 instead of "head" and "tail". There were problems with SunOS 5.9,
9611 and it performs better.
9612
3952e9d8
GM
96132011-05-17 Glenn Morris <rgm@gnu.org>
9614
2dd12e7f
GM
9615 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9616
e4157b9c
GM
9617 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9618 Replace obsolete function.
9619
8e249bbd
GM
9620 * shell.el (pcomplete-parse-arguments-function): Declare.
9621
3952e9d8
GM
9622 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9623 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9624 (appt-check): Doc fixes.
9625 (appt-disp-window-function, appt-delete-window-function):
9626 Remove needless special case in custom :type.
9627 (appt-display-count): Default to 0, not nil.
9628 (appt-check): Reset appt-display-count to 0, not nil.
9629
c71a0d48 96302011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 9631
c71a0d48
GM
9632 * progmodes/python.el (python-font-lock-keywords):
9633 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 9634
31d55be9
SM
96352011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9636
9637 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9638
3bfacb2f
KR
96392011-05-16 Kevin Ryde <user42@zip.com.au>
9640
9641 * info-look.el (makefile-automake-mode): New setups, looking in
9642 automake manual, then makefile-mode.
9643 (makefile-mode): Remove automake manual, have it just in
9644 makefile-automake-mode since there's various things different or
9645 not relevant to plain make.
9646 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9647 believe a hypothetical automake-mode would go to makefile-mode,
9648 not the other way around.
9649
c8e83751
CY
96502011-05-15 Chong Yidong <cyd@stupidchicken.com>
9651
5e9e35cd
CY
9652 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9653 hunk-end tags (Bug#8672).
9654
c8e83751
CY
9655 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9656 vc-annotate-show-diff-revision-at-line (Bug#8671).
9657
50b23e5a
GM
96582011-05-14 Glenn Morris <rgm@gnu.org>
9659
7210a739
GM
9660 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9661 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
9662 (change-log-font-lock-keywords): Also handle multiple author lines
9663 with leading tabs. (Bug#8644)
7210a739 9664
4691905a
GM
9665 * calendar/appt.el (appt-check): Rename some local variables.
9666 Some simplification/reordering.
9667
50b23e5a
GM
9668 * mail/feedmail.el (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)
9672 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
9673 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9674 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
9675 (feedmail-binmail-gnulinuxish-template):
9676 Rename from feedmail-binmail-linuxish-template.
9677 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9678 Use insert-buffer-substring.
9679
215cda7c
BC
96802011-05-14 Bill Carpenter <bill@carpenter.org>
9681
9682 * mail/feedmail.el (feedmail-patch-level): Increase.
9683 (feedmail-debug): New custom group.
9684 (feedmail-confirm-outgoing-timeout)
9685 (feedmail-sendmail-f-doesnt-sell-me-out)
9686 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9687 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9688 (feedmail-sender-line, feedmail-from-line)
9689 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 9690 (feedmail-spray-this-address)
215cda7c
BC
9691 (feedmail-spray-address-fiddle-plex-list)
9692 (feedmail-queue-use-send-time-for-date)
9693 (feedmail-queue-use-send-time-for-message-id)
9694 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9695 (feedmail-buffer-eating-function):
9696 Doc fixes.
9697 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9698 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9699 (feedmail-message-action-scroll-down): New functions.
9700 (feedmail-queue-directory, feedmail-queue-draft-directory):
9701 Use expand-file-name.
9702 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9703 Remove C-v help entry.
9704 (feedmail-queue-buffer-file-name): New variable.
9705 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9706 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9707 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9708 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9709 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9710 (feedmail-message-action-toggle-spray)
9711 (feedmail-run-the-queue-no-prompts)
9712 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9713 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9714 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9715 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9716 (feedmail-envelope-deducer, feedmail-fiddle-from)
9717 (feedmail-fiddle-sender, feedmail-default-date-generator)
9718 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9719 (feedmail-fiddle-spray-address)
9720 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9721 (feedmail-fiddle-list-of-fiddle-plexes)
9722 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9723 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9724 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9725 Change default. Doc fix.
9726 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9727 (feedmail-binmail-linuxish-template): New constant.
9728 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9729 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9730 (feedmail-send-it): Add debug call.
9731 Use feedmail-queue-buffer-file-name, and
9732 feedmail-send-it-immediately-wrapper.
9733 (feedmail-message-action-send): Add debug call.
9734 Use feedmail-send-it-immediately-wrapper.
9735 (feedmail-queue-express-to-queue): Add debug call.
9736 Run feedmail-queue-express-hook.
9737 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9738 (feedmail-message-action-help-blat):
9739 Rename from feedmail-queue-send-edit-prompt-help-first.
9740 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9741 Check line-endings. Handle errors better.
9742 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9743 Doc fix. Add debug call.
9744 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9745 Use feedmail-queue-send-edit-prompt-inner.
9746 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9747 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9748 from feedmail-queue-send-edit-prompt.
9749 (feedmail-queue-send-edit-prompt-help)
9750 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9751 (feedmail-tidy-up-slug): Add debug call.
9752 Respect feedmail-queue-slug-suspect-regexp.
9753 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9754 (feedmail-dump-message-to-queue): Add debug call.
9755 Expand queue-directory.
9756 (feedmail-dump-message-to-queue): Change message slightly.
9757 Use feedmail-say-chatter.
9758 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9759 (feedmail-send-it-immediately-wrapper): New function.
9760 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9761 Insert empty string rather than newline. Handle full-frame case.
9762 Use catch/throw. Use feedmail-say-chatter.
9763 (feedmail-fiddle-from): Try mail-host-address.
9764 (feedmail-default-message-id-generator): Doc fix.
9765 Bind system-time-locale. Handle missing end.
9766 (feedmail-fiddle-x-mailer): Add debug call.
9767 Handle feedmail-x-mailer-line being nil.
9768 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9769 Add debug call. Use buffer-substring-no-properties.
9770 (feedmail-say-debug, feedmail-say-chatter): New functions.
9771 (feedmail-find-eoh): Give an explicit error.
9772
42c7e61e
UJ
97732011-05-13 Ulf Jasper <ulf.jasper@web.de>
9774
c2571358 9775 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 9776 family from helvetica to sans.
c2571358 9777 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9778 etc/images/newsticker.
9779
c2571358 9780 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
9781 family from helvetica to sans.
9782
9783 * net/newst-plainview.el (newsticker-new-item-face)
9784 (newsticker-old-item-face, newsticker-immortal-item-face)
9785 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 9786 (newsticker-statistics-face): Change default family from
42c7e61e 9787 helvetica to sans.
c2571358 9788 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9789 etc/images/newsticker.
9790
9791 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9792 (newsticker--process-auto-mark-filter-match): : Tell user about
9793 auto-marking.
9794
8497a297
DV
97952011-05-13 Didier Verna <didier@xemacs.org>
9796
9797 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
9798 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9799 TODO entries.
8497a297
DV
9800 (lisp-lambda-list-keyword-parameter-indentation)
9801 (lisp-lambda-list-keyword-parameter-alignment)
9802 (lisp-lambda-list-keyword-alignment): New customizable user options.
9803 (lisp-indent-defun-method): Improve docstring.
9804 (extended-loop-p): Fix comment.
9805 (lisp-indent-lambda-list-keywords-regexp): New variable.
9806 (lisp-indent-lambda-list): New function.
9807 (lisp-indent-259): Use it.
9808 (lisp-indent-defmethod): Support for more than one
9809 method qualifier and properly indent methods lambda-lists.
9810 (defgeneric): Provide a missing common-lisp-indent-function property.
9811
f278f87f
SM
98122011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9813
9814 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9815 bounds for the empty string (bug#8667).
9816
5233edd7
GM
98172011-05-13 Glenn Morris <rgm@gnu.org>
9818
5237a44f
GM
9819 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9820
8340026c 9821 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 9822 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 9823
5233edd7 9824 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 9825 (appt-time-msg-list): Doc fix.
a5464014 9826 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 9827
92d10796
AS
98282011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9829
9830 * progmodes/ld-script.el (ld-script-keywords)
9831 (ld-script-builtins): Update keywords list.
9832
914a0ae1
SM
98332011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9834
c89be45f
SM
9835 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9836
914a0ae1
SM
9837 * shell.el (shell-completion-vars): New function.
9838 (shell-mode):
9839 * simple.el (read-shell-command): Use it.
9840 (blink-matching-open): No need for " [...]" in minibuffer-message.
9841
98dc3df3
GM
98422011-05-12 Glenn Morris <rgm@gnu.org>
9843
9844 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9845 (appt-check): Simplify.
9846
d2fc7e3d 98472011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 9848
4d61f28d 9849 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
9850 literal "/dev/null".
9851
d2fc7e3d 98522011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
9853
9854 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9855 Fix typo.
9856
d2fc7e3d 98572011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 9858
3f254caa
SM
9859 * progmodes/which-func.el (which-function):
9860 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
9861 which might not be defined (Bug#8260).
9862
d45885f7
GM
98632011-05-12 Glenn Morris <rgm@gnu.org>
9864
9865 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9866 Let byte-compile-initial-macro-environment always take precedence.
9867
488086f4
SM
98682011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9869
9870 * net/rcirc.el: Add support for SSL/TLS connections.
9871 (rcirc-server-alist): New field `encryption'.
9872 (rcirc): Check `encryption' settings.
9873 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9874 Merge make-local-variable into `set'.
9875 (rcirc--connection-open-p): New function.
9876 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9877 the process is not a network process (e.g. running gnutls-cli).
9878 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9879 Make rcirc-(en|de)code-coding-system local here.
9880 (rcirc-mode): Merge make-local-variable into `set'.
9881 (rcirc-parent-buffer): Make permanent buffer-local.
9882 (rcirc-multiline-minor-mode): Don't do it here.
9883 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9884 there's no server buffer.
9885
7d3b9d44
GM
98862011-05-11 Glenn Morris <rgm@gnu.org>
9887
f64049c6
GM
9888 * newcomment.el (comment-kill): Prefix "unused" local.
9889
93c9df73
GM
9890 * term/w32console.el (get-screen-color): Declare.
9891
7d3b9d44
GM
9892 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9893 Handle symbol elements of byte-compile-initial-macro-environment.
9894
9e2dd53f
LL
98952011-05-10 Leo Liu <sdl.web@gmail.com>
9896
488086f4
SM
9897 * bookmark.el (bookmark-bmenu-mode-map):
9898 Bind bookmark-bmenu-search to `/'.
8b340240 9899
9e2dd53f 9900 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
9901 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9902 (Footnote-unicode): New function.
9903 (footnote-style-alist): Add unicode style to the list.
9904 (footnote-style): Doc fix.
9e2dd53f 9905
79b70037
GM
99062011-05-10 Jim Meyering <meyering@redhat.com>
9907
9908 Fix doubled-word typos.
9909 * international/quail.el (quail-insert-kbd-layout): and and -> and
9910 * kermit.el: and and -> and
9911 * net/ldap.el (ldap-search-internal): to to -> to
9912 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9913 * progmodes/js.el (js-mode): and and -> and
9914 * textmodes/artist.el (artist-move-to-xy): at at -> at
9915 (artist-draw-region-trim-line-endings): if if -> if
9916 And Safetyc -> Safety.
9917 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9918
b8f82dc1 99192011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 9920 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
9921
9922 * files.el (hack-one-local-variable-eval-safep):
9923 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9924
4f99f44b
GM
99252011-05-10 Glenn Morris <rgm@gnu.org>
9926
9927 * calendar/diary-lib.el (diary-list-entries-hook)
9928 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9929 (diary-nongregorian-marking-hook, diary-list-entries)
9930 (diary-include-other-diary-files, diary-mark-entries)
9931 (diary-mark-included-diary-files): Doc fixes.
9932
84f29e6b
JB
99332011-05-09 Juanma Barranquero <lekktu@gmail.com>
9934
9935 * misc.el: Require tabulated-list.el during compilation.
9936
9bedd73a
CY
99372011-05-09 Chong Yidong <cyd@stupidchicken.com>
9938
488086f4
SM
9939 * progmodes/compile.el (compilation-start):
9940 Run compilation-filter-hook for the async case too.
9bedd73a
CY
9941 (compilation-filter-hook): Doc fix.
9942
797c735c
DD
99432011-05-09 Deniz Dogan <deniz@dogan.se>
9944
9945 * wdired.el: Remove outdated installation comment. Fix usage
9946 comment.
9947
5f4b1dfe
JB
99482011-05-09 Juanma Barranquero <lekktu@gmail.com>
9949
9950 * misc.el: Implement new command `list-dynamic-libraries'.
9951 (list-dynamic-libraries--loaded-only-p): New variable.
9952 (list-dynamic-libraries--refresh): New function.
9953 (list-dynamic-libraries): New command.
9954
4c44026c
CY
99552011-05-09 Chong Yidong <cyd@stupidchicken.com>
9956
488086f4
SM
9957 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9958 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
9959 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9960 higher priority to avoid clobbering by gnu.
9961
027f966d
CY
99622011-05-08 Chong Yidong <cyd@stupidchicken.com>
9963
9964 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9965 if the face has existing theme settings (Bug#8454).
9966
085f5d7d
CY
99672011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9968
488086f4
SM
9969 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9970 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 9971
2a86a00c
RS
9972 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9973 special file names `.' and `..' (Bug#8259).
9974
d9c54a06
CY
99752011-05-08 Chong Yidong <cyd@stupidchicken.com>
9976
488086f4
SM
9977 * progmodes/grep.el (grep-mode-font-lock-keywords):
9978 Remove buffer-changing entries.
d9c54a06
CY
9979 (grep-filter): New function.
9980 (grep-mode): Add it to compilation-filter-hook.
9981
9982 * progmodes/compile.el (compilation-filter-hook)
9983 (compilation-filter-start): New defvars.
9984 (compilation-filter): Call compilation-filter-hook prior to
9985 updating the process mark.
9986
c4662635
SM
99872011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9988
9989 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9990
b0512a1d
EZ
99912011-05-07 Eli Zaretskii <eliz@gnu.org>
9992
605c9376
EZ
9993 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9994 mailclient-send-it even if window-system is nil. (Bug#8595)
9995
c4662635
SM
9996 * term/w32console.el (terminal-init-w32console):
9997 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
9998 background-mode. (Bug#8597)
9999
d1dc2cc2
SM
100002011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10001
10002 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10003 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10004 New functions.
10005 (defgeneric, eieio--defmethod): Use them.
10006 (eieio-defgeneric): Remove.
10007 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10008
915d1300
GM
100092011-05-07 Glenn Morris <rgm@gnu.org>
10010
a3961c3e
GM
10011 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10012 Use let rather than let*.
10013 (timeclock-find-discrep): Remove unused local.
10014
314347b9
GM
10015 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10016
915d1300
GM
10017 * calendar/appt.el (appt-time-msg-list): Doc fix.
10018
275b59b0
NF
100192011-05-06 Noah Friedman <friedman@splode.com>
10020
10021 * apropos.el (apropos-print-doc): Only use
10022 emacs-lisp-docstring-fill-column when it is bound to an integer,
10023 per that variable's documentation.
10024
6c19f744
SM
100252011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10026
10027 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 10028 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 10029
60f884b2
GM
100302011-05-06 Glenn Morris <rgm@gnu.org>
10031
5006e634
GM
10032 * calendar/appt.el (appt-message-warning-time): Doc fix.
10033 (appt-warning-time-regexp): New option.
10034 (appt-make-list): Respect appt-message-warning-time.
10035
548d0a63
GM
10036 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10037 New options.
10038 (diary-add-to-list): Strip comments from the displayed string.
10039 (diary-mode): Set comment-start and comment-end.
10040
60f884b2
GM
10041 * vc/diff-mode.el (smerge-refine-subst): Declare.
10042 (diff-refine-hunk): Don't require smerge-mode when compiling.
10043
989681bb
JB
100442011-05-06 Juanma Barranquero <lekktu@gmail.com>
10045
10046 * simple.el (list-processes): Return nil as the docstring says.
10047
a6bc05e1
MA
100482011-05-05 Michael Albinus <michael.albinus@gmx.de>
10049
10050 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10051 to "".
10052 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10053 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10054 determining of binary transfer. (Bug#7383)
10055
23c22e9a
MA
100562011-05-05 Michael Albinus <michael.albinus@gmx.de>
10057
c4662635
SM
10058 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10059 Fix port computation bug. (Bug#8618)
23c22e9a 10060
0bff894f
GM
100612011-05-05 Glenn Morris <rgm@gnu.org>
10062
b8296902
GM
10063 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10064
1f522ce8
GM
10065 * simple.el (shell-dynamic-complete-functions)
10066 (comint-dynamic-complete-functions): Declare.
10067
cf5bee67
GM
10068 * net/network-stream.el (gnutls-negotiate):
10069 * simple.el (tabulated-list-print): Fix declarations.
10070
10071 * progmodes/gud.el (syntax-symbol, syntax-point):
10072 Remove unnecessary and incorrect declarations.
10073
0bff894f
GM
10074 * emacs-lisp/check-declare.el (check-declare-scan):
10075 Handle byte-compile-initial-macro-environment in bytecomp.el
10076
9869b3ae
SM
100772011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10078
10079 Fix earlier half-done eieio-defmethod change (bug#8338).
10080 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10081 Streamline and change calling convention.
10082 (defmethod): Adjust accordingly and simplify.
10083 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10084 new eieio--defmethod.
10085 (slot-boundp): Minor CSE simplification.
10086
9c1d5ac5
MZ
100872011-05-05 Milan Zamazal <pdm@zamazal.org>
10088
10089 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10090 (glasses-make-readable): Use glasses-separate-capital-groups.
10091
455c834e
JB
100922011-05-05 Juanma Barranquero <lekktu@gmail.com>
10093
10094 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10095 (warning-series): Doc fix.
10096 (display-warning): Don't try to create the buffer if we just found it.
10097
9ed7c8cb
CY
100982011-05-04 Chong Yidong <cyd@stupidchicken.com>
10099
10100 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10101 (autoload-find-generated-file): New function.
10102 (generate-file-autoloads): Bind generated-autoload-file to
10103 buffer-file-name.
9869b3ae
SM
10104 (update-file-autoloads, update-directory-autoloads):
10105 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
10106 output file (Bug#7989).
10107 (batch-update-autoloads): Doc fix.
10108
0898ca10
JB
101092011-05-04 Juanma Barranquero <lekktu@gmail.com>
10110
10111 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10112
31dfb76c
GM
101132011-05-04 Glenn Morris <rgm@gnu.org>
10114
f330b642
GM
10115 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10116 function, so it follows changes in calendar-date-style.
10117 (diary-fancy-date-matcher): New function.
10118 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10119 (diary-fancy-font-lock-fontify-region-function):
10120 Use diary-fancy-date-pattern as a function.
10121
31dfb76c
GM
10122 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10123 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10124
48e79d6a
TZ
101252011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10126
10127 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10128 instead of positional arguments. Allow :keylist and :crlfiles
10129 arguments.
10130 (open-gnutls-stream): Call it.
10131
10132 * net/network-stream.el (network-stream-open-starttls): Adjust to
10133 call `gnutls-negotiate' with :process and :hostname arguments.
10134
dd5a5ee0
SM
101352011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10136
ef80fc09
SM
10137 * minibuffer.el (completion--message): New function.
10138 (completion--do-completion, minibuffer-complete)
10139 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10140 (completion--do-completion): Don't ignore completion-auto-help when in
10141 icomplete-mode.
10142
dd5a5ee0
SM
10143 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10144 internal encoding (e.g. tibetan zero is not whitespace).
10145 (global-whitespace-mode): Prefer save-current-buffer.
10146 (whitespace-trailing-regexp): Remove useless save-match-data.
10147 (whitespace-empty-at-bob-regexp): Minor simplification.
10148
b7d22a83
CY
101492011-05-03 Chong Yidong <cyd@stupidchicken.com>
10150
10151 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10152
5192af46
AM
101532011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10154
10155 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 10156 Use `concat' to create string for insertion.
5192af46 10157
5767d190
SM
101582011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10159
10160 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10161 Avoid open-line which runs post-self-insert-hook.
10162 (bibtex-fill-entry): Remove unused `end' var.
10163
bf242939
AM
101642011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10165
5767d190
SM
10166 * textmodes/ispell.el (ispell-add-per-file-word-list):
10167 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 10168
25666126
LL
101692011-05-03 Leo Liu <sdl.web@gmail.com>
10170
10171 * isearch.el (isearch-yank-pop): New command.
5767d190 10172 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
10173 (isearch-forward): Mention it.
10174
52d3c2d0
SM
101752011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10176
1bcace58
SM
10177 * simple.el (minibuffer-complete-shell-command): Remove.
10178 (minibuffer-local-shell-command-map): Use completion-at-point.
10179 (read-shell-command): Setup completion vars here instead.
10180 (read-expression-map): Bind TAB to symbol completion.
10181
52d3c2d0
SM
10182 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10183 error directly rather via storing it into `results'.
10184
35813471
LL
101852011-05-02 Leo Liu <sdl.web@gmail.com>
10186
10187 * vc/diff.el: Fix description.
10188
e793a940
LMI
101892011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10190
10191 * server.el (server-eval-at): New function.
10192
8de66e05
LMI
101932011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10194
10195 * net/network-stream.el (open-network-stream): Take a :nowait
10196 parameter and pass it on to `make-network-process'.
10197 (network-stream-open-plain): Ditto.
10198
dcb79f20
AS
101992011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10200
10201 * faces.el (face-spec-set-match-display): Don't match toolkit
10202 options on terminal frames.
10203
14a7fbd8
SM
102042011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10205
7eabc1be
SM
10206 * progmodes/pascal.el: Use lexical binding.
10207 (pascal-mode-map): Remove author preferences.
10208
14a7fbd8
SM
10209 * pcomplete.el (pcomplete-std-complete): Don't abuse
10210 completion-at-point.
10211
50f84510
JB
102122011-04-28 Juanma Barranquero <lekktu@gmail.com>
10213
6e087a44
JB
10214 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10215 removing code that has been dead since 1991 or so.
10216
50f84510
JB
10217 * startup.el (command-line): When warning about "_emacs", use a
10218 delayed warning to allow the user to filter it out.
10219
0ba690bd
DD
102202011-04-28 Deniz Dogan <deniz@dogan.se>
10221
10222 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10223 user has not joined.
10224
08abfaad
SM
102252011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10226
10227 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10228 aren't any completions at point.
10229
638f053a
JB
102302011-04-28 Juanma Barranquero <lekktu@gmail.com>
10231
10232 * subr.el (display-delayed-warnings): New function.
10233 (delayed-warnings-hook): New variable.
10234
8fff8daa
SM
102352011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10236
08abfaad
SM
10237 * minibuffer.el (completion-at-point, completion-help-at-point):
10238 Don't presume that a given completion-at-point-function will always
10239 use the same calling convention.
10240
8fff8daa
SM
10241 * pcomplete.el (pcomplete-completions-at-point):
10242 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10243 pcomplete-seen is non-nil.
10244 (pcomplete-comint-setup): Also recognize the new comint/shell
10245 completion functions.
10246 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10247 pcomplete-seen is non-nil.
10248
841a1577 102492011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 10250
841a1577 10251 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 10252 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 10253 the first character in the entry. This allows for code to add its
211ec907
UJ
10254 own uid to the entry.
10255 (icalendar--convert-float-to-ical): Add export of
10256 `diary-float'-entries save for those with the optional DAY
10257 argument.
10258
2a782793
DC
102592011-04-27 Daniel Colascione <dan.colascione@gmail.com>
10260
10261 * subr.el (shell-quote-argument): Use alternate escaping strategy
10262 when we spot a variable reference in a string.
10263
0438ce91
DC
102642011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10265
10266 * cus-start.el (all): Define customization for debug-on-event.
10267
841a1577 102682011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
10269
10270 * subr.el (shell-quote-argument): Escape correctly under Windows.
10271
d090ed6c
SM
102722011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10273
10274 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10275
bfd31217
MA
102762011-04-25 Michael Albinus <michael.albinus@gmx.de>
10277
d090ed6c
SM
10278 * net/tramp.el (tramp-process-actions): Add POS argument.
10279 Delete region between POS and (pos).
bfd31217 10280
d090ed6c
SM
10281 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10282 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
10283 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10284
10285 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10286 position in `tramp-process-actions' call.
10287
10288 * net/trampver.el: Update release number.
10289
e92f3bd3
SM
102902011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10291
850256b5
SM
10292 * custom.el (defcustom): Obey lexical-binding.
10293
e92f3bd3
SM
10294 Fix octave-inf completion problems reported by Alexander Klimov.
10295 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10296 Inherit from octave-mode-syntax-table.
10297 (inferior-octave-mode): Set info-lookup-mode.
10298 (inferior-octave-completion-at-point): New function.
10299 (inferior-octave-complete): Use it and completion-in-region.
10300 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10301 comint-filename-completion.
10302 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10303 symbol elements which shouldn't be word elements.
10304 (octave-font-lock-keywords, octave-beginning-of-defun)
10305 (octave-function-header-regexp): Adjust regexps accordingly.
10306 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10307
cd22b309
JB
103082011-04-25 Juanma Barranquero <lekktu@gmail.com>
10309
10310 * net/gnutls.el (gnutls-errorp): Declare before first use.
10311
8b492194
TZ
103122011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10313
10314 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10315 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 10316 default trustfile exists before going to use it. Add missing
5a5fa834 10317 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
10318 Reported by Claudio Bley <claudio.bley@gmail.com>.
10319 (open-gnutls-stream): Add usage example.
10320
10321 * net/network-stream.el (network-stream-open-starttls): Give host
10322 parameter to `gnutls-negotiate'.
10323 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 10324 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 10325
841a1577 103262011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 10327
cd22b309
JB
10328 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10329 Use correct match group (bug#8438).
05842630 10330
3ba7869c
CY
103312011-04-24 Chong Yidong <cyd@stupidchicken.com>
10332
512e3ae1
CY
10333 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10334 (package-menu--generate): New arg specifying packages to show.
10335 (package-menu-refresh, package-menu-execute, list-packages):
10336 Callers changed.
10337 (package-show-package-list): New function, replacing deleted
10338 package--list-packages (renamed because it is non-internal).
10339
10340 * finder.el (finder-list-matches): Use package-show-package-list
10341 instead of deleted package--list-packages.
10342
e92f3bd3
SM
10343 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10344 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
10345 (vc-annotate-mode-map): Bind it to RET.
10346
7031be6d
UR
103472011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10348
10349 * progmodes/etags.el (next-file): Don't use set-buffer to change
10350 buffers (Bug#8478).
10351
4ef177aa
CY
103522011-04-24 Chong Yidong <cyd@stupidchicken.com>
10353
c8d173eb
CY
10354 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10355
4ef177aa
CY
10356 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10357 (apropos-accumulator): Doc fix.
10358 (apropos-function, apropos-macro, apropos-command)
10359 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10360 (apropos-plist): Add face property.
10361 (apropos-symbols-internal): Fix indentation.
10362 (apropos-print): Simplify help, and recognize apropos-multi-type.
10363 (apropos-print-doc): Use button-type-get to extract the button's
10364 face property. Fill docstring (Bug#8352).
10365
4ffd0d6b 103662011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
10367
10368 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10369
c6c32125 10370 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 10371 (mpuz-mode-map): Use mapc.
c6c32125
JB
10372 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10373 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10374 Fix typos in docstrings.
10375
58d468b4
JB
10376 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10377 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10378
6470c3c6
JB
10379 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10380
4ffd0d6b 103812011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
10382
10383 * minibuffer.el (completion--do-completion): Avoid the "Next char
10384 not unique" prompt if icomplete-mode is enabled (Bug#5849).
10385
3ad8bad0
CY
10386 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10387 mouse-2 into unread-command-events, it is interpreted correctly.
10388
71d73c9c 10389 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 10390 (image-toggle-display): Doc fix.
71d73c9c 10391
841a1577 103922011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 10393
4ffd0d6b
GM
10394 * textmodes/page.el (what-page): Use line-number-at-pos to
10395 calculate line number (Bug#6825).
6e1dbaa9 10396
c2fb1b60
JB
103972011-04-22 Juanma Barranquero <lekktu@gmail.com>
10398
10399 * eshell/esh-mode.el (find-tag-interactive): Declare function.
10400 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10401 Pass argument NO-DEFAULT to `find-tag-interactive'.
10402
e02f48d7
JB
104032011-04-22 Juanma Barranquero <lekktu@gmail.com>
10404
10405 Lexical-binding cleanup.
10406
10407 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10408 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10409 * progmodes/ada-prj.el (ada-prj-initialize-values)
10410 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10411 (ada-prj-show-value):
10412 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10413 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10414 (antlr-invalidate-context-cache, antlr-options-menu-filter)
10415 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10416 * progmodes/bug-reference.el (bug-reference-push-button):
10417 * progmodes/fortran.el (fortran-line-length):
10418 * progmodes/glasses.el (glasses-change):
10419 * progmodes/octave-mod.el (octave-fill-paragraph):
10420 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10421 (python-pdbtrack-grub-for-buffer, python-sentinel):
10422 * progmodes/sql.el (sql-save-connection):
10423 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10424 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10425 Mark unused parameters.
10426
10427 * progmodes/compile.el (compilation--flush-directory-cache)
10428 (compilation--flush-parse, compile-internal): Mark unused parameters.
10429 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10430 (compilation-next-error-function): Remove unused variable `timestamp'.
10431
10432 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10433 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10434
10435 * progmodes/dcl-mode.el (dcl-end-of-command):
10436 Remove unused variable `start'.
10437 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10438 (dcl-option-value-basic, dcl-option-value-offset)
10439 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10440 Mark unused parameters.
10441 (dcl-save-local-variable): Remove unused variable `val'.
10442 (mode): Declare.
10443
10444 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10445 Mark unused parameters.
10446 (delphi-ignore-changes): Move before first use.
10447 (delphi-charset-token-at): Remove unused variable `start'.
10448 (delphi-else-start): Remove unused variable `if-count'.
10449 (delphi-comment-block-start, delphi-comment-block-end):
10450 Remove unused variable `kind'.
10451 (delphi-indent-line): Remove unused variable `new-point'.
10452
10453 * progmodes/ebrowse.el (ebrowse-files-list)
10454 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10455 Mark unused parameters. Don't quote `lambda'.
10456 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10457 Don't quote `lambda'.
10458 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10459 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10460 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10461 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10462 Use `ignore-errors'.
10463 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10464 (ebrowse-view/find-file-and-search-pattern)
10465 (ebrowse-view/find-member-declaration/definition):
10466 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10467 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10468 Rename parameter PREFIX-ARG to PREFIX.
10469 (ebrowse-tags-read-name): Remove unused variables `start' and
10470 `member-info'.
10471 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10472 to `tags-file'.
10473
10474 * progmodes/etags.el (local-find-tag-hook): Declare.
10475 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10476 Mark unused parameters.
10477
10478 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10479 (executable-interpret): Mark unused parameter.
10480
10481 * progmodes/flymake.el (flymake-process-sentinel)
10482 (flymake-after-change-function)
10483 (flymake-create-temp-with-folder-structure)
10484 (flymake-get-include-dirs-dot): Mark unused parameters.
10485 (flymake-safe-delete-directory): Remove unused variable `err'.
10486
10487 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10488 (speedbar-timer-fn, speedbar-line-text)
10489 (speedbar-change-expand-button-char, speedbar-delete-subblock)
10490 (speedbar-center-buffer-smartly): Declare functions.
10491 (gdb-find-watch-expression): Remove unused variable `array'.
10492 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10493 (gdb-starting): Mark unused parameters.
10494 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10495 (gdb-table-string): Remove unused variable `res'.
10496 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10497 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10498 (gdb-display-buffer): Remove unused variable `cur-size'.
10499
10500 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10501 allow lexical-binding compilation.
10502 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10503 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10504 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10505 Mark unused parameters.
10506 (gud-gdb-marker-filter): Remove unused variable `match'.
10507 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10508 lambda expressions and funcall them, instead of using `fset'.
10509
10510 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10511 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10512
10513 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10514 variable `header-beg'; use `let'.
10515
10516 * progmodes/icon.el (indent-icon-exp): Remove unused variables
10517 `restart', `last-sexp' and `at-do'.
10518
10519 * progmodes/js.el (js--debug): Mark unused parameter.
10520 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10521 (js--splice-into-items): Remove unused variable `item'.
10522 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10523
10524 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10525 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10526 (makefile-complete): Remove unused variable `try'.
10527 (makefile-fill-paragraph, makefile-match-function-end):
10528 Mark unused parameters.
10529
10530 * progmodes/octave-inf.el (inferior-octave-complete):
10531 Remove unused variable `proc'.
10532 (inferior-octave-output-digest): Mark unused parameter.
10533
10534 * progmodes/perl-mode.el (perl-calculate-indent):
10535 Remove unused variable `err'.
10536
10537 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10538 (prolog-indent-line): Mark unused parameters.
10539 (prolog-indent-line): Remove unused variable `beg'.
10540
10541 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10542 (reporter-dont-compact-list): Declare.
10543
10544 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10545 Remove unused variable `char'.
10546 (sh-debug): Mark unused parameter.
10547 (sh-get-indent-info): Remove unused variable `start'.
10548 (sh-calculate-indent): Remove unused variable `var'.
10549
10550 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10551 (simula-electric-keyword): Remove unused variable `null'.
10552 (simula-search-backward, simula-search-forward): Remove unused
10553 variables `begin' and `end'.
10554
10555 * progmodes/vera-mode.el (vera-guess-basic-syntax):
10556 Remove unused variable `pos'.
10557 (vera-electric-tab, vera-comment-uncomment-region):
10558 Mark unused parameters.
10559 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10560
7ede3b65
CY
105612011-04-22 Chong Yidong <cyd@stupidchicken.com>
10562
10563 * emacs-lisp/package.el (package--builtins, package-alist)
10564 (package-load-descriptor, package-built-in-p, package-activate)
10565 (define-package, package-installed-p)
10566 (package-compute-transaction, package-buffer-info)
10567 (package--push): Doc fix. Distinguish more clearly between
10568 version strings and version lists.
10569
121656e9
JB
105702011-04-21 Juanma Barranquero <lekktu@gmail.com>
10571
10572 Lexical-binding cleanup.
10573
10574 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10575 (5x5-make-mutate-best):
10576 * play/fortune.el (fortune-in-buffer):
10577 * play/gomoku.el (gomoku-init-display):
10578 * play/solitaire.el (solitaire, solitaire-do-check):
10579 * play/tetris.el (tetris-default-update-speed-function):
10580 Mark unused parameters.
10581
10582 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10583 (bubbles--shift): Remove unused variable `char-org'.
10584 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
10585 (bubbles--show-images): Remove unused variable `char'.
10586
10587 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10588 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10589 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10590 (decipher-analyze-buffer): Use ?\s.
10591 (decipher-make-checkpoint): Remove unused variable `mapping'.
10592
10593 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10594
10595 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10596 Remove unused variable `result'; use `let'.
10597
10598 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10599 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10600 (gametree-children-shown-p, gametree-compute-reduced-score):
10601 Use `ignore-errors'.
10602
10603 * play/handwrite.el (ps-lpr-switches): Declare.
10604 (handwrite): Remove unused variables `pmin' and `lastp'.
10605
10606 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10607
10608 * play/landmark.el (landmark-init-display)
10609 (landmark-update-naught-weights): Mark unused parameters.
10610 (landmark-y): Remove unused variable `noise'. Simplify.
10611 (landmark-human-plays): Remove unused variable `score'.
10612
10613 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10614 (mpuz-try-proposal): Remove unused variable `game'.
10615
10616 * play/zone.el (life-patterns): Declare.
10617
80f499c7
JB
106182011-04-20 Juanma Barranquero <lekktu@gmail.com>
10619
10620 * vc/vc.el (ediff-vc-internal): Declare function.
10621
024ff170
SM
106222011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10623
c0a193ea
SM
10624 * shell.el: Use lexical-binding and std completion UI.
10625 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10626 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10627 comint-preoutput-filter-functions rather than on
10628 comint-output-filter-functions.
10629 (shell-command-completion, shell--command-completion-data)
10630 (shell-filename-completion, shell-environment-variable-completion)
10631 (shell-c-a-p-replace-by-expanded-directory): New functions.
10632 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10633 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10634 (shell-dynamic-complete-environment-variable): Use them.
10635 (shell-dynamic-complete-as-environment-variable)
10636 (shell-dynamic-complete-as-command): Remove.
10637 (shell-match-partial-variable): Match past point.
10638 * comint.el: Clean up use of completion-at-point-functions.
10639 (comint-completion-at-point): New function.
10640 (comint-mode): Use it completion-at-point-functions.
10641 (comint-dynamic-complete): Make it obsolete.
10642 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10643 (comint-c-a-p-replace-by-expanded-history): New function.
10644 (comint-dynamic-complete-functions)
10645 (comint-replace-by-expanded-history): Use it.
10646 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10647 termination strings. Try harder to avoid second try-completion.
10648 (completion-in-region-mode-map): Disable bindings that don't work yet.
10649
2dbaa080
SM
10650 * comint.el: Use lexical-binding. Require CL.
10651 (comint-dynamic-complete-functions): Use comint-filename-completion.
10652 (comint-completion-addsuffix): Tweak custom type.
10653 (comint-filename-completion, comint--common-suffix)
10654 (comint--common-quoted-suffix, comint--table-subvert)
10655 (comint--complete-file-name-data): New functions.
10656 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10657 (comint-dynamic-list-filename-completions): Use them.
10658 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 10659
2dbaa080
SM
10660 * minibuffer.el (completion-in-region-mode):
10661 Keep completion-in-region-mode--predicate global.
10662 (completion-in-region--postch):
10663 Assume completion-in-region-mode--predicate is not null.
10664
c79a6f38
SM
10665 * progmodes/flymake.el (flymake-start-syntax-check-process):
10666 Obey `dir'. Simplify.
10667
024ff170
SM
10668 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10669 we're in VC after all.
10670
1c6c854e
CS
106712011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10672
10673 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 10674 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
10675 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10676
bed7f140
SM
106772011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10678
332e62ab
SM
10679 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10680 add sanity check.
10681
bed7f140
SM
10682 * obsolete/erc-hecomplete.el: Make obsolete.
10683 * obsolete/: Standardize obsolescence info in the header.
10684
f195c582
GM
106852011-04-20 Glenn Morris <rgm@gnu.org>
10686
10687 * calendar/solar.el (solar-horizontal-coordinates):
10688 Use the longitude argument rather than `calendar-longitude'.
10689 (solar-date-next-longitude): Remove unused locals.
10690
cb79b8c0
VJL
106912011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10692
10693 * whitespace.el: New version 13.2.1.
10694
106952011-04-20 felix <EmacsWiki> (tiny change)
10696
d8e4b68b 10697 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
10698 switching between major modes on a file.
10699
602ea69d
SM
107002011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10701
10702 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10703 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10704 multi-line comments as well.
10705
06b60517
JB
107062011-04-19 Juanma Barranquero <lekktu@gmail.com>
10707
10708 Lexical-binding cleanup.
10709
10710 * arc-mode.el (archive-mode-revert):
10711 * cmuscheme.el (scheme-interactively-start-process):
10712 * custom.el (custom-initialize-delay):
10713 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10714 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10715 * emacs-lock.el (emacs-lock-clear-sentinel):
10716 * ezimage.el (defezimage):
10717 * follow.el (follow-avoid-tail-recenter):
10718 * fringe.el (set-fringe-mode-1):
10719 * generic-x.el (bat-generic-mode-compile):
10720 * help-mode.el (help-info-variable, help-do-xref)
10721 (help-mode-revert-buffer):
10722 * help.el (view-emacs-todo):
10723 * iswitchb.el (iswitchb-completion-help):
10724 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10725 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10726 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10727 * locate.el (locate-update):
10728 * longlines.el (longlines-encode-region)
10729 (longlines-after-change-function):
10730 * outline.el (outline-isearch-open-invisible):
10731 * ps-def.el (declare-function, charset-dimension, char-width)
10732 (encode-char):
10733 * ps-mule.el (ps-mule-plot-string):
10734 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10735 (recentf-edit-list-select, recentf-edit-list-validate)
10736 (recentf-open-files-action):
10737 * rect.el (delete-whitespace-rectangle-line)
10738 (rectangle-number-line-callback):
10739 * register.el (window-configuration-to-register)
10740 (frame-configuration-to-register):
10741 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10742 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10743 (xselect-convert-to-targets, xselect-convert-to-delete)
10744 (xselect-convert-to-filename, xselect-convert-to-charpos)
10745 (xselect-convert-to-lineno, xselect-convert-to-colno)
10746 (xselect-convert-to-os, xselect-convert-to-host)
10747 (xselect-convert-to-user, xselect-convert-to-class)
10748 (xselect-convert-to-name, xselect-convert-to-integer)
10749 (xselect-convert-to-atom, xselect-convert-to-identity):
10750 * subr.el (declare, ignore, process-kill-without-query)
10751 (text-clone-maintain):
10752 * terminal.el (te-get-char, te-tic-sentinel):
10753 * tool-bar.el (tool-bar-make-keymap):
10754 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10755 * type-break.el (type-break-mode, type-break-noninteractive-query):
10756 * view.el (View-back-to-mark):
10757 * wid-browse.el (widget-browse-action, widget-browse-widget)
10758 (widget-browse-widgets, widget-browse-sexp):
10759 * widget.el (define-widget-keywords):
10760 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10761 Mark unused parameters.
10762
10763 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10764 (align-areas): Remove unused variable `look'.
10765 (align-region): Remove unused variables `real-end' and `pos-list'.
10766
10767 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10768
10769 * bindings.el (mode-line-modified, mode-line-remote):
10770 Mark unused parameters.
10771 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10772
10773 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10774 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10775
10776 * comint.el (comint-history-isearch-pop-state)
10777 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10778 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10779 (comint-substitute-in-file-name): Doc fix.
10780
10781 * completion.el (cmpl-statistics-block): Mark unused parameter.
10782 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10783 (save-completions-to-file, load-completions-from-file):
10784 Remove unused local variable `e'.
10785
10786 * composite.el (compose-chars): Remove unused variable `len'.
10787 (lgstring-insert-glyph): Remove unused variable `g'.
10788 (compose-glyph-string): Remove unused variables `ascent',
10789 `descent', `lbearing' and `rbearing'.
10790 (compose-glyph-string-relative): Remove unused variables
10791 `lbearing', `rbearing' and `wadjust'.
10792 (compose-gstring-for-graphic): Remove unused variables `header',
10793 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10794 (compose-gstring-for-terminal): Remove unused variables `header'
10795 and `nchars'. Use `let', not `let*'.
10796
10797 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10798 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10799 (Custom-buffer-done, custom-buffer-create-internal)
10800 (custom-browse-visibility-action, custom-browse-group-tag-action)
10801 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10802 (widget-magic-mouse-down-action, custom-toggle-parent)
10803 (custom-add-parent-links, custom-toggle-hide-variable)
10804 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10805 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10806 (custom-face-menu-create, custom-variable-menu-create, get)
10807 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10808 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10809 (customize-apropos): Remove unused variable `tests'.
10810 (custom-group-value-create): Remove unused variable `hidden-p'.
10811 (sort-fold-case): Declare.
10812
10813 * cus-theme.el (custom-reset-standard-faces-list)
10814 (custom-reset-standard-variables-list): Declare.
10815 (customize-create-theme, custom-theme-revert, custom-theme-write)
10816 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10817 Mark unused parameters.
10818
10819 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10820
10821 * delim-col.el (delimit-columns-max): Move defvar before first use.
10822
10823 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 10824 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
10825
10826 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10827 (auto-insert): Declare.
10828 (desktop-restore-file-buffer): Rename desktop-* parameters;
10829 mark unused ones.
10830 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10831 (desktop-buffer): Rename desktop-* parameters.
10832
10833 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10834 (dframe-reposition-frame-xemacs, dframe-help-echo)
10835 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10836 Mark unused parameters.
10837
10838 * dired-aux.el (backup-extract-version-start, overwrite-query)
10839 (overwrite-backup-query, rename-regexp-query)
10840 (rename-non-directory-query): Declare.
10841 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10842 (dired-add-entry): Remove unused variable `orig-file-name'.
10843 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10844 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10845 `dired-copy-preserve-time' directly.
10846 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10847 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10848
10849 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10850 (dired-virtual-revert, dired-make-relative-symlink):
10851 Mark unused parameters.
10852 (manual-program): Declare.
10853 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10854 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10855 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10856
10857 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10858
10859 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10860
10861 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10862 Declare.
10863
10864 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10865
10866 * electric.el (Electric-command-loop): Rename parameter
10867 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10868
10869 * expand.el (expand-in-literal): Remove unused variable `here'.
10870
10871 * facemenu.el (facemenu-add-new-color):
10872 Remove unused variable `docstring'.
10873
10874 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10875 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10876 (face-attr-construct): Mark unused parameter. Doc fix.
10877 (read-color): Remove unused variable `hex-string'.
10878
10879 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10880 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10881 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10882 (display-buffer-other-frame): Remove unused variable `old-window'.
10883 (kill-buffer-hook): Declare.
10884 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10885 Mark unused parameters.
10886 (after-find-file): Pass 1 to `auto-save-mode', not t.
10887
10888 * files-x.el (auto-insert): Declare.
10889 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10890
10891 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 10892 variable `buf'. Mark unused parameter.
06b60517
JB
10893 (find-lisp-insert-directory): Mark unused parameter.
10894
10895 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10896 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10897 (format-common-tail): Remove, unused.
10898 (format-deannotate-region): Remove unused variable `loc'.
10899 (format-annotate-region): Remove unused variable `p'.
10900 (format-annotate-single-property-change): Remove unused variables
10901 `default' and `tail'.
10902
10903 * forms.el (read-file-filter): Declare.
10904 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10905
10906 * frame.el (frame-creation-function-alist): Mark unused parameter.
10907 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10908
10909 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10910 Remove unused parameters.
10911 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10912 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10913
10914 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10915 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10916 (hfy-prepare-tag-map): Mark unused parameters.
10917 (htmlfontify-buffer): Use `called-interactively-p'.
10918
10919 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10920 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10921 (ibuffer-do-occur): Mark unused parameters.
10922 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10923 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10924
10925 * ibuffer.el: Don't quote `lambda'.
10926 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10927 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10928 Mark unused parameters.
10929
10930 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10931 (ido-completing-read): Mark unused parameters.
10932 (ido-copy-current-word): Mark unused parameters;
10933 remove unused variable `name'.
10934 (ido-sort-merged-list): Remove unused parameter `dirs'.
10935
10936 * ielm.el (ielm-input-sender): Mark unused parameter.
10937 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10938 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10939 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10940 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10941 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10942
10943 * image-dired.el (image-dired-display-thumbs): Remove unused
10944 variables `curr-file' and `count'.
10945 (image-dired-remove-tag): Remove unused variable `start'.
10946 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10947 variable `curr-file'
10948 (image-dired-rotate-original): Remove unused variable `temp-file'.
10949 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10950 Remove unused variable `file'.
10951 (image-dired-gallery-generate): Remove unused variable `curr'.
10952 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10953
10954 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10955
10956 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10957
10958 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10959
10960 * isearch.el (minibuffer-history-symbol): Declare.
10961 (isearch-edit-string): Remove unused variable `err'.
10962 (isearch-message-prefix, isearch-message-suffix):
10963 Mark unused parameters.
10964
10965 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10966
10967 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10968
10969 * makesum.el (double-column): Remove unused variable `cnt'.
10970
10971 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10972 (ido-ignore-item-temp-list): Declare.
10973
10974 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10975 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10976 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10977 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10978 `mouse-col-delta'.
10979
10980 * mouse-sel.el (mouse-extend-internal):
10981 Remove unused variable `orig-window-frame'.
10982
10983 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10984 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10985 Move declarations before first use.
10986 (pcomplete-opt): Mark unused parameters; doc fix.
10987
10988 * proced.el (proced-revert): Mark unused parameter.
10989 (proced-send-signal): Remove unused variable `err'.
10990
10991 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10992 Rename parameter PREFIX-ARG to ARG.
10993 (ps-basic-plot-string, ps-basic-plot-whitespace):
10994 Mark unused parameters.
10995
10996 * replace.el (replace-count): Define.
10997 (occur-revert-function): Mark unused parameters.
10998 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10999 (isearch-case-fold-search, isearch-string): Declare.
11000 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11001 bind `case-fold-search'. Remove unused variables `beg' and `end',
11002 and simplify.
11003 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11004 COUNT and bind `replace-count'.
11005 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11006 to COUNT.
11007
11008 * savehist.el (print-readably, print-string-length): Declare.
11009
11010 * shadowfile.el (shadow-expand-cluster-in-file-name):
11011 Remove unused variable `cluster'.
11012 (shadow-copy-file): Remove unused variable `i'.
11013 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11014 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11015 (shadow-define-literal-group, shadow-define-regexp-group)
11016 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11017
11018 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11019 (shell): Use `called-interactively-p'.
11020 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11021
11022 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11023 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11024 (delete-backward-char): Remove unused variable `ocol'.
11025 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11026 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11027 (event-apply-hyper-modifier, event-apply-shift-modifier)
11028 (event-apply-control-modifier, event-apply-meta-modifier):
11029 Mark unused parameters.
11030 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11031 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11032
11033 * speedbar.el (speedbar-ignored-directory-expressions)
11034 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11035 (speedbar-find-file, speedbar-dir-follow)
11036 (speedbar-directory-buttons-follow, speedbar-tag-find)
11037 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11038 (speedbar-buffers-line-directory, speedbar-buffer-click):
11039 Mark unused parameters.
11040 (speedbar-tag-file): Remove unused variable `mode'.
11041 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11042
11043 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11044
11045 * talk.el (talk): Remove unused variable `display'.
11046
11047 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11048 (tar-write-region-annotate): Mark unused parameter.
11049
11050 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11051 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11052 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11053 warning by another.
11054
11055 * time-stamp.el (time-stamp-string-preprocess):
11056 Remove unused variable `require-padding'.
11057
11058 * tree-widget.el (widget-glyph-enable): Declare.
11059 (tree-widget-action): Mark unused parameter.
11060
11061 * w32-fns.el (x-get-selection): Mark unused parameter.
11062 (autoload-make-program, generated-autoload-file): Declare.
11063
11064 * wdired.el (wdired-revert): Mark unused parameters.
11065 (wdired-xcase-word): Remove unused variable `err'.
11066
11067 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11068 (whitespace-help-scroll): Remove unused variable `data-help'.
11069
11070 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11071 (widget-image-insert, widget-after-change, default)
11072 (widget-default-format-handler, widget-default-notify)
11073 (widget-default-prompt-value, widget-info-link-action)
11074 (widget-url-link-action, widget-function-link-action)
11075 (widget-variable-link-action, widget-file-link-action)
11076 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11077 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11078 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11079 (widget-insert-button-action, widget-delete-button-action, visibility)
11080 (widget-documentation-link-action, widget-documentation-string-action)
11081 (widget-const-prompt-value, widget-regexp-match, symbol)
11082 (widget-coding-system-prompt-value)
11083 (widget-key-sequence-value-to-external, sexp)
11084 (widget-sexp-value-to-internal, character, vector, cons)
11085 (widget-choice-prompt-value, widget-boolean-prompt-value)
11086 (widget-color--choose-action): Mark unused parameters.
11087 (widget-item-match-inline, widget-choice-match-inline)
11088 (widget-checklist-match, widget-checklist-match-inline)
11089 (widget-group-match): Rename parameter VALUES to VALS.
11090 (widget-field-value-set): Remove unused variable `size'.
11091 (widget-color-action): Remove unused variables `value' and `start'.
11092
11093 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 11094 variable `dir'. Doc fix.
06b60517
JB
11095 (windmove-find-other-window): Don't pass it.
11096
11097 * window.el (count-windows): Mark unused parameter.
11098 (bw-adjust-window): Remove unused variable `err'.
11099
11100 * woman.el (woman-file-name): Remove unused variable `default'.
11101 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11102 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11103 (global-font-lock-mode): Declare.
11104 (woman-decode-region): Mark unused parameter.
11105 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11106
11107 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11108 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11109 (x-dnd-handle-moz-url): Remove unused variable `title'.
11110 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11111
11112 * xml.el (xml-parse-tag, xml-parse-attlist):
11113 Remove unused variable `pos'.
11114
bc4f7f3d
GM
111152011-04-19 Glenn Morris <rgm@gnu.org>
11116
11117 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11118 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11119 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11120 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11121 * calendar/cal-html.el (cal-html-insert-minical):
11122 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11123 (calendar-mark-date-pattern):
11124 Prefix "unused" locals.
11125
11126 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11127 optional argument `style'.
11128
11129 * calendar/appt.el (appt-make-list):
11130 * calendar/cal-china.el (calendar-chinese-date-string):
11131 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11132 (diary-hebrew-yahrzeit):
11133 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11134 * calendar/calendar.el (calendar-generate-window):
11135 * calendar/time-date.el (time-to-days):
11136 Remove unused local variables.
11137
16a43933
CY
111382011-04-18 Chong Yidong <cyd@stupidchicken.com>
11139
11140 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11141 glyphless-char-display table.
11142 (tabulated-list-glyphless-char-display): New var.
11143
7eed1860
SS
111442011-04-18 Sam Steingold <sds@gnu.org>
11145
11146 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11147 to acknowledgments.
11148
4d2d1ccd
GM
111492011-04-17 Glenn Morris <rgm@gnu.org>
11150
11151 * calendar/diary-lib.el (diary-sexp-entry):
11152 * calendar/holidays.el (holiday-sexp):
11153 Set debug-on-error rather than the removed stack-trace-on-error.
11154
239da61d
GM
111552011-04-16 Glenn Morris <rgm@gnu.org>
11156
11157 * progmodes/f90.el: Use lexical-binding.
11158 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11159
8b05752a
SM
111602011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11161
daca8ba5
SM
11162 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11163 (mail-mode): Setup mailalias completion here instead.
11164 * mail/mailalias.el: Use lexical-binding.
11165 (pattern, mailalias-done): Declare dynamic.
11166 (mail-completion-at-point-function): New function, from mail-complete.
11167 (mail-complete): Use it.
11168 (mail-completion-expand): New function.
11169 (mail-get-names): Use it.
11170 (mail-directory, mail-directory-process, mail-directory-stream):
11171 Don't use `pattern' for lexically bound arg.
11172
6f542485
SM
11173 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11174
037e7c3f
SM
11175 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11176 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11177 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11178
8b05752a
SM
11179 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11180 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11181 (byte-interactive-p): Define them again, for use when inlining
11182 old code.
11183
49093f60
JB
111842011-04-15 Juanma Barranquero <lekktu@gmail.com>
11185
11186 * loadup.el: Use `string-to-number', not `string-to-int'.
11187
b5b8e7de
SM
111882011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11189
11190 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11191 gud-gdb-complete-command.
11192 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11193 (gud-gdb-completion-at-point): New function.
11194 (gud-gdb-completions): Remove.
11195
f42efeb5
MA
111962011-04-14 Michael Albinus <michael.albinus@gmx.de>
11197
49093f60
JB
11198 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11199 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11200 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11201 whether `executable-find' is bound.
f42efeb5
MA
11202
11203 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11204
e240cc21
SM
112052011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11206
11207 * minibuffer.el (completion-in-region-mode-predicate)
11208 (completion-in-region-mode--predicate): New vars.
11209 (completion-in-region, completion-in-region--postch)
11210 (completion-in-region-mode): Use them.
11211 (completion--capf-wrapper): Also return the hook function.
11212 (completion-at-point, completion-help-at-point):
11213 Adjust and provide a predicate.
c2bd2ab0
SM
11214
11215 Preserve arg names for advice of subr and lexical functions (bug#8457).
11216 * help-fns.el (help-function-arglist): Consolidate the subr and
11217 new-byte-code cases. Add argument `preserve-names' to extract names
11218 from the docstring when needed.
11219 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11220 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11221 (ad-arglist): Use help-function-arglist's new arg.
11222 (ad-definition-type): Use cond.
11223
c183f693
JB
112242011-04-13 Juanma Barranquero <lekktu@gmail.com>
11225
06641a47
JB
11226 * autorevert.el (auto-revert-handler):
11227 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11228 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11229 Don't quote lambda.
11230
c183f693
JB
11231 * image-mode.el (image-transform-set-scale):
11232 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11233
1e3b6001
G
112342011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11235
11236 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 11237 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
11238 Upgrades via gnutls-cli are too slow to be done opportunistically.
11239
2d6af8dd
JB
112402011-04-12 Juanma Barranquero <lekktu@gmail.com>
11241
11242 * dframe.el (dframe-current-frame): Remove spurious quote.
11243
c0749a51
GM
112442011-04-12 Glenn Morris <rgm@gnu.org>
11245
088d0d61
GM
11246 * calendar/cal-tex.el (cal-tex-end-document):
11247 Try to automatically use latin1 input if needed.
11248
c0749a51
GM
11249 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11250 Don't try to cons a mark onto an empty element.
11251
5c90fde0
LL
112522011-04-11 Leo Liu <sdl.web@gmail.com>
11253
11254 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11255 buffers.
11256 (ido-kill-buffer-at-head): Support killing virtual buffers.
11257
369e974d
CY
112582011-04-10 Chong Yidong <cyd@stupidchicken.com>
11259
11260 * minibuffer.el (completion-show-inline-help): New var.
11261 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
11262 (minibuffer-force-complete, minibuffer-complete-word):
11263 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
11264
11265 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11266 to avoid interference from inline help (Bug#5849).
11267
37f1c930
LL
112682011-04-10 Leo Liu <sdl.web@gmail.com>
11269
099c39a4
JB
11270 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11271 Fix typo.
37f1c930 11272
a32d4040
CY
112732011-04-09 Chong Yidong <cyd@stupidchicken.com>
11274
11275 * image-mode.el (image-toggle-display-image): Signal an error if
11276 not in Image mode.
11277 (image-transform-mode, image-transform-resize)
11278 (image-transform-set-rotation): Doc fix.
daca8ba5 11279 (image-transform-set-resize): Delete.
a32d4040
CY
11280 (image-transform-set-scale, image-transform-fit-to-height)
11281 (image-transform-fit-to-width): Handle image-toggle-display-image
11282 and image-transform-resize directly.
11283
099c39a4 112842011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
11285
11286 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
11287 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11288 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
11289 (doc-view-mode-map): Add bindings for the new functions.
11290
099c39a4 112912011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 11292
4d61f28d 11293 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
11294 Fix typo in docstring.
11295
3726838a
EZ
112962011-04-08 Eli Zaretskii <eliz@gnu.org>
11297
04f33f1e
EZ
11298 * files.el (file-size-human-readable): Produce one digit after
11299 decimal, like "ls -lh" does.
11300
11301 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11302 the file size representation.
11303
3726838a
EZ
11304 * simple.el (list-processes): If async subprocesses are not
11305 available, error out with a clear error message.
11306
cbb59342
CY
113072011-04-08 Chong Yidong <cyd@stupidchicken.com>
11308
11309 * help.el (help-form-show): New function, to be called from C.
11310 Put help-form output in a buffer named differently than *Help*.
11311
e3971c44
EZ
113122011-04-08 Eli Zaretskii <eliz@gnu.org>
11313
11314 * files.el (file-size-human-readable): New function.
11315
11316 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11317 computing the representation inline. Don't require `cl'.
11318
12544bbe
GM
113192011-04-08 Glenn Morris <rgm@gnu.org>
11320
a1de6c6a
GM
11321 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11322
3c4671f4
GM
11323 * net/browse-url.el (browse-url-firefox):
11324 Test system-type, not system-configuration.
11325
b605679c
GM
11326 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11327 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11328 Use log-edit-empty-buffer-p. (Bug#7598)
11329
56442f0c
GM
11330 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11331 (rlogin-mode-map): Initialize in the defvar.
11332 (rlogin): Use ignore-errors.
11333
12544bbe
GM
11334 * replace.el (occur-mode-map): Some fixes for menu items.
11335
eb237b0f
AH
113362011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11337
11338 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
11339
7d668f2c
CY
113402011-04-06 Chong Yidong <cyd@stupidchicken.com>
11341
e67a13ab
CY
11342 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11343 issuing unused warnings.
11344
11345 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11346 macro directly.
11347
7d668f2c
CY
11348 * simple.el: Lisp reimplement of list-processes. Based on an
11349 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11350 (process-menu-mode): New major mode.
11351 (list-processes--refresh, list-processes):
11352 (process-menu-visit-buffer): New functions.
11353
11354 * files.el (save-buffers-kill-emacs): Don't assume any return
11355 value of list-processes, which is undocumented anyway.
11356
a83ec3c9
CY
113572011-04-06 Chong Yidong <cyd@stupidchicken.com>
11358
11359 * emacs-lisp/tabulated-list.el: New file.
11360
e91a96fe
CY
11361 * emacs-lisp/package.el: Use Tabulated List mode.
11362 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11363 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11364 table format using Tabulated List mode variables.
11365 (package--push): New macro, replacing package-list-maybe-add.
11366 (package-menu--generate): Use package--push. Renamed from
11367 package--generate-package-list.
11368 (package-menu-refresh, list-packages): Use it.
daca8ba5 11369 (package-menu--print-info): Rename from package-print-package.
e91a96fe 11370 Return insertion data instead of inserting it directly.
099c39a4
JB
11371 (package-menu-describe-package, package-menu-execute):
11372 Use tabulated-list-get-id.
e91a96fe
CY
11373 (package-menu-mark-delete, package-menu-mark-install)
11374 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
11375 (package-menu-mark-obsolete-for-deletion):
11376 Use tabulated-list-put-tag.
e91a96fe
CY
11377 (package--list-packages, package-menu-revert)
11378 (package-menu-get-package, package-menu-get-version)
11379 (package-menu-sort-by-column): Functions deleted.
11380 (package-menu-package-list, package-menu-sort-key): Vars deleted.
11381 (package-menu--status-predicate, package-menu--version-predicate)
11382 (package-menu--name-predicate)
11383 (package-menu--description-predicate): Handle arguments in the
11384 Tabulated List format.
11385 (package-list-packages-no-fetch): Call list-packages.
11386
3e214b50
JB
113872011-04-06 Juanma Barranquero <lekktu@gmail.com>
11388
11389 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 11390 (after-find-file): Don't bind it.
3e214b50
JB
11391 (revert-buffer-in-progress-p): New variable.
11392 (revert-buffer): Bind it.
11393 Pass nil for `after-find-file-from-revert-buffer'.
11394
11395 * saveplace.el (save-place-find-file-hook): Use new variable
11396 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11397
3f0f1700
GM
113982011-04-06 Glenn Morris <rgm@gnu.org>
11399
c0274801
GM
11400 * Makefile.in (AUTOGEN_VCS): New variable.
11401 (autoloads): Use $AUTOGEN_VCS.
11402
3f0f1700
GM
11403 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11404 * calendar/calendar.el (calendar-mode-map):
11405 Check for toolkit scroll bars. (Bug#8305)
11406
41ea9e48
CY
114072011-04-05 Chong Yidong <cyd@stupidchicken.com>
11408
11409 * minibuffer.el (completion-in-region--postch)
11410 (completion-in-region-mode): Remove unnecessary messages.
11411
6194c800
JB
114122011-04-05 Juanma Barranquero <lekktu@gmail.com>
11413
33256f14
JB
11414 * font-lock.el (font-lock-refresh-defaults):
11415 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11416 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11417
6194c800
JB
11418 * info.el (Info-directory-list, Info-read-node-name-2)
11419 (Info-split-parameter-string): Doc fixes.
11420 (Info-virtual-nodes): Reflow docstring.
11421 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11422 (Info-apropos-toc-nodes, info-finder, Info-get-token)
11423 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11424 Fix typos in docstrings.
11425 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11426 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11427 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11428 (Info-restore-desktop-buffer): Mark unused parameters.
11429 (Info-directory-find-file, Info-directory-find-node)
11430 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11431 (Info-virtual-index-find-node, Info-apropos-find-file)
11432 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 11433 Mark unused parameters; fix typos in docstrings.
6194c800
JB
11434 (Info-virtual-index): Remove unused local variable `nodename'.
11435
b87a8200 114362011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 11437
b87a8200
DD
11438 * net/rcirc.el: Update my e-mail address.
11439 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 11440
3b2ff876
CY
114412011-04-05 Chong Yidong <cyd@stupidchicken.com>
11442
11443 * startup.el (command-line): Save the cursor's theme-face
11444 directly, instead of using face-override-spec.
11445
11446 * custom.el (load-theme): Minor optimization in assigning faces.
11447
8d17e7ca
JB
114482011-04-04 Juanma Barranquero <lekktu@gmail.com>
11449
11450 * help-fns.el (describe-variable): Complete all variables having
11451 documentation, including keywords.
11452 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11453
2fbc1934
JB
114542011-04-04 Juanma Barranquero <lekktu@gmail.com>
11455
11456 Convert to lexical-binding.
11457
11458 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11459 (bs--get-marked-string, bs--get-modified-string)
11460 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11461 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11462 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11463
11464 * ehelp.el (electric-help-execute-extended)
11465 (electric-help-ctrl-x-prefix):
11466 * hexl.el (hexl-revert-buffer-function):
11467 * linum.el (linum-after-change, linum-after-scroll):
11468 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11469
11470 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11471
74f50695
DU
114722011-04-04 Daiki Ueno <ueno@unixuser.org>
11473
11474 * epa-dired.el:
11475 * epa-mail.el:
11476 * epa-hook.el:
11477 * epa-file.el:
11478 * epa.el:
11479 * epg.el: Use lexical binding.
11480
c11325f7
CY
114812011-04-03 Chong Yidong <cyd@stupidchicken.com>
11482
0d9e9a12
CY
11483 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11484
c11325f7 11485 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
11486 dictionary case for flyspell-mark-duplications-exceptions.
11487 Use regexp matching for languages.
c11325f7
CY
11488 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11489 default dictionary (Bug#7926).
11490
da91b5f2
CY
114912011-04-02 Chong Yidong <cyd@stupidchicken.com>
11492
099c39a4
JB
11493 * emacs-lisp/package.el (package--with-work-buffer):
11494 Recognize https URLs.
da91b5f2 11495
099c39a4
JB
11496 * net/network-stream.el: Move from gnus/proto-stream.el.
11497 Change prefix to network-stream throughout.
da91b5f2
CY
11498 (open-protocol-stream): Merge into open-network-stream, leaving
11499 open-protocol-stream as an alias. Handle nil BUFFER args.
11500
11501 * subr.el (open-network-stream): Move to net/network-stream.el.
11502
afa8e9f6
GM
115032011-04-02 Glenn Morris <rgm@gnu.org>
11504
1d2e369d
GM
11505 * find-dired.el (find-exec-terminator): New option.
11506 (find-ls-option): Test for -ls support.
11507 (find-ls-subdir-switches): Test for -b in find-ls-option.
11508 (find-dired, find-grep-dired): Doc fixes.
11509 (find-dired): Use find-exec-terminator.
11510
8abb7da8 11511 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
11512 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11513 (find-name-arg): Remove purecopy.
8abb7da8 11514
f3ca7378
GM
11515 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11516 (grep-compute-defaults): Check for `-exec COMMAND +' support.
11517 Set grep-find-use-xargs, grep-find-command, and grep-find-template
11518 accordingly. Don't add the null-device if not needed.
11519
afa8e9f6
GM
11520 * files.el (save-some-buffers): Doc fix.
11521
35eae264
EZ
115222011-04-02 Eli Zaretskii <eliz@gnu.org>
11523
11524 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11525
26b51db5
JB
115262011-04-01 Juanma Barranquero <lekktu@gmail.com>
11527
11528 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11529 Use `dolist' rather than `mapcar'.
11530
7200d79c
SM
115312011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11532
03408648 11533 Add lexical binding.
7200d79c 11534
03408648
SM
11535 * subr.el (apply-partially): Use new closures rather than CL.
11536 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11537 (dolist, dotimes): Use slightly different expansion for lexical code.
11538 (functionp): Move to C.
11539 (letrec): New macro.
11540 (with-wrapper-hook): Use it and apply-partially instead of CL.
11541 (eval-after-load): Preserve lexical-binding.
11542 (save-window-excursion, with-output-to-temp-buffer): Turn them
11543 into macros.
7200d79c 11544
03408648
SM
11545 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11546
11547 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11548 than the arglist.
11549 (help-add-fundoc-usage): Don't add `Not documented'.
11550 (help-function-arglist): Handle closures, subroutines, and new
11551 byte-code-functions.
11552 (help-make-usage): Remove leading underscores.
11553 (describe-function-1): Handle closures.
11554 (describe-variable): Use special-variable-p for completion.
11555
11556 * files.el (lexical-binding): Declare safe.
f488fb65 11557
03408648
SM
11558 * emacs-lisp/pcase.el: Don't use destructuring-bind.
11559 (pcase--memoize): Rename from pcase-memoize. Change weakness.
11560 (pcase): Add `let' pattern.
11561 Change memoization so it actually works.
11562 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11563 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11564 <let>: New case.
f488fb65 11565
03408648
SM
11566 * emacs-lisp/macroexp.el: Use lexical binding.
11567 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
11568 Don't convert ' to #' without checking that it's indeed quoting
11569 a lambda.
11570
11571 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 11572 Use eval-sexp-add-defvars.
03408648
SM
11573 (eval-sexp-add-defvars): New fun.
11574
11575 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11576
11577 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11578 Don't autoload.
11579 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11580 than the internal `byte-compile-lambda'.
11581 (defmethod): Don't hide code under quotes.
11582 (eieio-defmethod): New `code' argument.
11583
11584 * emacs-lisp/eieio-comp.el: Remove.
11585
11586 * emacs-lisp/edebug.el (edebug-eval-defun)
11587 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11588 (edebug-toggle): Avoid `eval'.
11589
11590 * emacs-lisp/disass.el (disassemble-internal): Handle new
11591 `closure' objects.
11592 (disassemble-1): Handle new byte codes.
11593
11594 * emacs-lisp/cl.el (pushnew): Silence warning.
11595
11596 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11597 (cl-byte-compile-throw): Remove.
11598 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11599
11600 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11601 closures.
11602
11603 * emacs-lisp/cconv.el: New file.
11604
11605 * emacs-lisp/bytecomp.el: Use lexical binding instead of
11606 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
11607 (byte-compile-initial-macro-environment):
11608 Handle declare-function here.
11609 (byte-compile--lexical-environment): New var.
11610 (byte-stack-ref, byte-stack-set, byte-discardN)
11611 (byte-discardN-preserve-tos): New lap codes.
11612 (byte-interactive-p): Don't use any more.
11613 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11614 New macros.
11615 (byte-compile-lapcode): Use them and handle new lap codes.
11616 (byte-compile-obsolete): Remove.
11617 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11618 (byte-compile-arglist-warn): Check late def of inlinable funs.
11619 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11620 since they should have been expanded by now.
11621 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11622 (byte-compile-from-buffer): Remove unused second arg.
11623 (byte-compile-preprocess): New function.
11624 (byte-compile-toplevel-file-form): New function to distinguish
11625 file-form calls from outside from file-form calls from hunk-handlers.
11626 (byte-compile-file-form): Simplify.
11627 (byte-compile-file-form-defsubst): Remove.
11628 (byte-compile-file-form-defmumble): Simplify now that
11629 byte-compile-lambda always returns a byte-code-function.
11630 (byte-compile): Preprocess.
11631 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11632 Remove, not used any more.
11633 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11634 (byte-compile-make-args-desc): New funs.
11635 (byte-compile-lambda): Handle lexical functions. Always return
11636 a byte-code-function.
11637 (byte-compile-reserved-constants): New var, to make up room for
11638 closed-over variables.
11639 (byte-compile-constants-vector): Obey it.
11640 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11641 (byte-compile-macroexpand-declare-function): New function.
11642 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11643 byte-code-functions.
11644 (byte-compile-form): Check obsolescence here.
11645 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11646 (byte-compile-variable-ref): Remove.
11647 (byte-compile-dynamic-variable-op): New fun.
11648 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11649 (byte-compile-variable-set): New funs.
11650 (byte-compile-discard): Add 2 args.
11651 (byte-compile-stack-ref, byte-compile-stack-set)
11652 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11653 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11654 macroexpand-all instead.
11655 (byte-compile-quote-form): Remove.
11656 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11657 (byte-compile-bind, byte-compile-unbind): New funs.
11658 (byte-compile-let): Handle let* and lexical binding.
11659 (byte-compile-let*): Remove.
11660 (byte-compile-catch, byte-compile-unwind-protect)
11661 (byte-compile-track-mouse, byte-compile-condition-case):
11662 Handle a new :fun-body form, used for lexical scoping.
11663 (byte-compile-save-window-excursion)
11664 (byte-compile-with-output-to-temp-buffer): Remove.
11665 (byte-compile-defun): Simplify.
11666 (byte-compile-stack-adjustment): New fun.
11667 (byte-compile-out): Use it.
11668 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11669
11670 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11671 handler any more.
11672
11673 * emacs-lisp/byte-opt.el: Use lexical binding.
11674 (byte-inline-lapcode): Remove (to bytecomp).
11675 (byte-compile-inline-expand): Pay attention to inlining to/from
11676 lexically bound code.
11677 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11678 any more.
11679 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11680 any more and don't call compiler-macros.
11681 (byte-compile-splice-in-already-compiled-code): Remove.
11682 (byte-code): Don't inline any more.
11683 (disassemble-offset): Receive `bytes' as argument rather than via
11684 dynamic scoping.
11685 (byte-compile-tag-number): Declare before first use.
11686 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11687 `return' even if make-spliceable.
11688 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11689 obsolete interactive-p.
11690 (byte-optimize-lapcode): Optimize new lap-codes.
11691 Don't trip up on new form of `byte-constant' lap code.
11692
11693 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11694
11695 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11696
11697 * custom.el (custom-initialize-default, custom-declare-variable):
11698 Use `defvar'.
11699
11700 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11701 New variables.
11702 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11703 (COMPILE_FIRST): Add macroexp and cconv.
11704 * makefile.w32-in: Mirror changes in Makefile.in.
11705
11706 * vc/cvs-status.el:
11707 * vc/diff-mode.el:
11708 * vc/log-edit.el:
11709 * vc/log-view.el:
11710 * vc/smerge-mode.el:
11711 * textmodes/bibtex-style.el:
11712 * textmodes/css.el:
11713 * startup.el:
11714 * uniquify.el:
da91b5f2
CY
11715 * minibuffer.el:
11716 * newcomment.el:
11717 * reveal.el:
11718 * server.el:
11719 * mpc.el:
11720 * emacs-lisp/smie.el:
11721 * doc-view.el:
11722 * dired.el:
03408648
SM
11723 * abbrev.el: Use lexical binding.
11724
0f0c1f27
EZ
117252011-04-01 Eli Zaretskii <eliz@gnu.org>
11726
11727 * info.el (info-display-manual): New function.
11728
c82b2579
SM
117292011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11730
11731 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11732
221ddf68
TH
117332011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11734
11735 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 11736 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 11737
cba6e77e
GM
117382011-03-31 Glenn Morris <rgm@gnu.org>
11739
e040639f
GM
11740 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11741
cba6e77e
GM
11742 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11743
6d0f1c9e
CS
117442011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11745
11746 * progmodes/python.el (python-default-interpreter)
11747 (python-python-command-args, python-jython-command-args)
11748 (python-which-shell, python-which-args, python-which-bufname)
11749 (python-file-queue, python-comint-output-filter-function)
11750 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11751 variables and functions.
11752
3e2d70fd
SM
117532011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11754
11755 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11756 (completion-in-region-mode): New minor mode.
11757 (completion-in-region): Use it.
11758 (completion-in-region--data, completion-in-region-mode-map): New vars.
11759 (completion-in-region--postch): New function.
11760 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11761 New vars.
11762 (completion--capf-wrapper): New function.
11763 (completion-at-point): Use it to track well-behavedness of
11764 hook functions.
11765 (completion-help-at-point): New command.
11766
f3e4086c
JM
117672011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11768
11769 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11770 syntax class to search for whitespace on a single line
11771 (Message-ID: <4D938140.4030905@redhat.com>).
11772
eb7ffc14
LL
117732011-03-30 Leo Liu <sdl.web@gmail.com>
11774
11775 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11776 New commands.
11777 (edit-abbrevs-map): Bind them here.
11778 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11779
d806ab68
KM
117802011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11781
11782 * allout.el (allout-hide-by-annotation, allout-flag-region):
11783 Reduce possibility of overlay leakage by making them volatile.
11784
11785 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11786 hash is not shared between buffers. Mode initialization is
11787 responsible for giving it a useful starting value.
11788 (allout-item-span): Reduce possibility of overlay leakage by
11789 making them volatile.
11790 (allout-widgets-count-buttons-in-region): Add diagnostic function
11791 for tracking down button overlay leaks.
11792
ea622834
LL
117932011-03-29 Leo Liu <sdl.web@gmail.com>
11794
11795 * ido.el (ido-read-internal): Use the default history var
11796 minibuffer-history if no HISTORY is specified.
11797
b62f8267
G
117982011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11799
03408648
SM
11800 * net/imap.el (imap-shell-open, imap-process-connection-type):
11801 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
11802 Kerberos, SSL, other subprocesses.
11803
947b6566
LL
118042011-03-28 Leo Liu <sdl.web@gmail.com>
11805
11806 * abbrev.el (abbrev-table-empty-p): New function.
11807 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11808 nonempty ones. (Bug#5937)
11809
5ffb62aa
JD
118102011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11811
11812 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11813
7a097943
LL
118142011-03-27 Leo Liu <sdl.web@gmail.com>
11815
11816 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11817 for foreground and background colors.
11818 (ansi-color-make-color-map): Adapt.
11819
c5b40130
LL
118202011-03-25 Leo Liu <sdl.web@gmail.com>
11821
1f48f7d2
LL
11822 * midnight.el (midnight-time-float): Remove. Note it calculates
11823 the microsecond component incorrectly and seconds-to-time does the
11824 same job.
625897ec 11825 Remove redundant (require 'timer).
1f48f7d2 11826
c5b40130
LL
11827 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11828 (ido-completions): Remove unused arguments. (Bug#8329)
11829
d86d2721
SM
118302011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11831
11832 * minibuffer.el (completion--flush-all-sorted-completions):
11833 Remove itself from hook.
11834 (completion-at-point): Let the functions perform the completion
11835 immediately and return nil or t.
11836 * comint.el (comint-dynamic-complete-functions): Now identical to
11837 completion-at-point-functions.
11838 (comint-dynamic-list-input-ring): Remove unused var `index'.
11839 (comint--match-partial-filename, comint--unquote&expand-filename):
11840 New funs, split from comint-match-partial-filename.
11841 (comint-dynamic-complete): Use completion-at-point.
11842 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11843
e8974c48
DA
118442011-03-24 Drew Adams <drew.adams@oracle.com>
11845
11846 * thingatpt.el: Support `defun'.
11847
def71b5e
LL
118482011-03-23 Leo Liu <sdl.web@gmail.com>
11849
cb5af48e
LL
11850 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11851
def71b5e
LL
11852 * help-mode.el (help-mode-finish): Tweak regexp.
11853
927c53e7
GM
118542011-03-23 Glenn Morris <rgm@gnu.org>
11855
18d05bed
GM
11856 * eshell/esh-opt.el (eshell-eval-using-options):
11857 Do not bind unused local variable `eshell-option-stub'.
11858
927c53e7
GM
11859 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11860
9d0da923
JB
118612011-03-22 Juanma Barranquero <lekktu@gmail.com>
11862
11863 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11864 keymap variable in `with-no-warnings' to avoid a warning when the
11865 keymap has been already `defconst'ed.
11866
4b978a67
LL
118672011-03-22 Leo Liu <sdl.web@gmail.com>
11868
11869 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11870 encode all chars in abbrevs; otherwise use emacs-mule or
11871 utf-8-emacs. (Bug#8308)
11872
5fd62452
JB
118732011-03-22 Juanma Barranquero <lekktu@gmail.com>
11874
0b1596c6
JB
11875 * simple.el (backward-delete-char-untabify):
11876 Avoid warning about using `delete-backward-char'.
11877
5fd62452
JB
11878 * image.el (image-type-file-name-regexps): Make it variable.
11879 `imagemagick-register-types' modifies it, and the user may want
11880 to add new extensions for known image types.
11881 (imagemagick-register-types): Throw error if not using ImageMagick.
11882
0b4e93f1
LL
118832011-03-22 Leo Liu <sdl.web@gmail.com>
11884
11885 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11886 located before rcirc-prompt-end-marker.
11887 (rcirc-complete): Error if point is not after rcirc prompt.
11888 Handle the case when table is nil.
9882e214 11889 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 11890
fccee4ab
CY
118912011-03-22 Chong Yidong <cyd@stupidchicken.com>
11892
11893 * custom.el (custom--inhibit-theme-enable): Make it affect only
11894 custom-theme-set-variables and custom-theme-set-faces.
11895 (provide-theme): Ignore custom--inhibit-theme-enable.
11896 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11897 (custom-enabling-themes): Delete variable.
d86d2721
SM
11898 (enable-theme): Accept only loaded themes as arguments.
11899 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
11900 (custom-enabled-themes): Forbid themes from setting this.
11901 Eliminate use of custom-enabling-themes.
11902 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 11903
af896da6
LL
119042011-03-21 Leo Liu <sdl.web@gmail.com>
11905
11906 * ido.el (ido-read-internal): Add ido-selected to history instead
11907 of user input.
11908
78f64af0
SM
119092011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11910
11911 * subr.el (deferred-action-list, deferred-action-function):
11912 Mark obsolete.
11913
b16ac1ec
LL
119142011-03-21 Leo Liu <sdl.web@gmail.com>
11915
810f7698
LL
11916 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11917 change on 2011-02-13 (bug#8309).
11918
b16ac1ec
LL
11919 * minibuffer.el (read-file-name-function): Change default value.
11920 (read-file-name--defaults): Rename from read-file-name-defaults.
11921 (read-file-name-default): Rename from read-file-name.
11922 (read-file-name): Call read-file-name-function.
11923
4e05e67e
GM
119242011-03-21 Glenn Morris <rgm@gnu.org>
11925
11926 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11927 Doc fixes.
11928
4359915b
CY
119292011-03-21 Chong Yidong <cyd@stupidchicken.com>
11930
11931 * cus-theme.el: Add missing provide statement.
11932 (customize-create-theme): Extract theme value correctly.
11933 (custom-theme-visit-theme): Autoload.
11934 (customize-create-theme): Prompt before inserting default faces.
11935
1fe275ee
JB
119362011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11937
11938 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11939 units and musical notes.
11940
cd394be1 119412011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
11942
11943 * ido.el (ido-read-internal): Use completing-read-default.
11944 (ido-completing-read): Fix compatibility with completing-read.
11945
7d476bde
CO
119462011-03-20 Christian Ohler <ohler@gnu.org>
11947
11948 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11949 (ert-delete-all-tests): Use `called-interactively-p' rather than
11950 `interactive-p'.
11951 (ert--make-xrefs-region): Respect END.
11952
fe0fb33e
CY
119532011-03-19 Chong Yidong <cyd@stupidchicken.com>
11954
ff854b0b
CY
11955 * dired-aux.el (dired-create-directory): Signal an error if the
11956 directory already exists (Bug#8246).
11957
fe0fb33e
CY
11958 * facemenu.el (list-colors-display): Call list-faces-display
11959 inside with-help-window.
11960 (list-colors-print): Use display property to align the final
11961 column, instead of checking window-width.
11962
576bce32
EZ
119632011-03-19 Eli Zaretskii <eliz@gnu.org>
11964
4d61f28d 11965 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
11966 windows-nt systems.
11967 (emerge-protect-metachars): Quote correctly for ms-dos and
11968 windows-nt systems.
11969
89c41d68 119702011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
11971
11972 * info.el (info-initialize): Replace all uses of `:' with
11973 path-separator for compatibility with non-Unix systems.
11974 Cache quoting of path-separator. (Bug#8258)
11975
b14e3e21 119762011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
11977
11978 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11979 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11980 (mouse-avoidance-mode): Fix typos in docstrings.
11981
4525ce3e
CY
119822011-03-19 Chong Yidong <cyd@stupidchicken.com>
11983
11984 * startup.el (package-subdirectory-regexp): Move from package.el.
11985 Omit \\` and \\', and let callers add them.
11986
11987 * emacs-lisp/package.el (package-strip-version)
11988 (package-load-all-descriptors): Add \\` and \\' to
11989 package-subdirectory-regexp before using it.
11990 (package-untar-buffer): New arg DIR; ensure that file untars only
11991 into this expected directory. Remove superfluous delete-region.
11992 (package-unpack): Caller changed.
11993 (package-tar-file-info): Use package-subdirectory-regexp.
11994
a904a09a 119952011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 11996
a904a09a
SM
11997 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11998 diff-mode-shared-map (bug#8284).
11999 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
12000
120012011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12002
12003 * calendar/time-date.el (format-seconds): Use assoc instead of
12004 assoc-string, since assoc-string doesn't exist in XEmacs.
12005
171fc304
JB
120062011-03-17 Juanma Barranquero <lekktu@gmail.com>
12007
12008 * custom.el (custom-known-themes): Reflow docstring.
12009 (custom-theme-load-path): Fix typo in docstring.
12010 (load-theme): Fix typo in error message.
12011 (custom-available-themes, custom-variable-theme-value):
12012 Use `let', not `let*'.
12013
d71990a1
JB
120142011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12015
12016 * calc/README: Mention inclusion of musical notes.
12017
12018 * calc/calc-units.el (calc-lu-quant): Rename from
12019 `calc-logunits-quantity'.
12020 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12021 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12022 (calc-db): Rename from `calc-dblevel'.
12023 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12024 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12025 (calc-np): Rename from `calc-nplevel'.
12026 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12027 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12028 (calc-lu-plus): Rename from `calc-logunits-add'.
12029 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12030 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12031 (calc-lu-minus): Rename from `calc-logunits-sub'.
12032 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12033 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12034 (calc-lu-times): Rename from `calc-logunits-mul'.
12035 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12036 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12037 (calc-lu-divide): Rename from `calc-logunits-div'.
12038 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12039 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12040
12041 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12042 functions being autoloaded.
12043
12044 * calc/calc.el (calc-lu-power-reference): Rename from
12045 `calc-logunits-power-reference'.
12046 (calc-lu-field-reference): Rename from
12047 `calc-logunits-field-reference'.
12048
7a71b18d
GM
12049 * calc/calc-help.el (calc-l-prefix-help):
12050 Mention musical note functions.
d71990a1 12051
40c2934b
SM
120522011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12053
12054 * minibuffer.el (completion-all-sorted-completions):
12055 Use :completion-cycle-penalty text property if present.
12056
b0911414
KM
120572011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12058
12059 * allout.el (allout-yank-processing): Adjust for new rebulleting
12060 regime so bullet being yanked is used without prompting the user
12061 for a choice.
12062
8a05b668
JB
120632011-03-16 Juanma Barranquero <lekktu@gmail.com>
12064
12065 * startup.el (command-line): Warn the user that _emacs is deprecated.
12066
5ba5fb81
JB
120672011-03-16 Juanma Barranquero <lekktu@gmail.com>
12068
12069 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12070 (delphi-verbose, delphi-comment-face, delphi-string-face)
12071 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12072 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12073 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12074 (delphi-new-comment-line, delphi-font-lock-defaults)
12075 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12076 Fix typos in docstrings.
12077
2dab465b
KM
120782011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12079
5ba5fb81 12080 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
12081 Invert the roles of character and string values for INSTEAD, so a
12082 string is used for the more common case of a defaulting prompt.
12083
0adf5618
SM
120842011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12085
12086 * progmodes/ruby-mode.el (ruby-backward-sexp):
12087 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12088 * play/gamegrid.el (gamegrid-make-face):
12089 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12090 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12091 * notifications.el (notifications-notify):
12092 * net/xesam.el (xesam-search-engines):
12093 * net/quickurl.el (quickurl-list-insert):
12094 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12095
d72700e5
CY
120962011-03-15 Chong Yidong <cyd@stupidchicken.com>
12097
12098 * startup.el (command-line): Update package subdirectory regexp.
12099
49c5410a
SM
121002011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12101
c6eee9aa
SM
12102 * allout.el (allout-abbreviate-flattened-numbering)
12103 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12104
49c5410a
SM
12105 * subr.el (read-char-choice): Only show the cursor after the prompt,
12106 not after the answer.
12107
047b2bb9
KR
121082011-03-15 Kevin Ryde <user42@zip.com.au>
12109
12110 * help-fns.el (variable-at-point): Skip leading quotes, if any
12111 (bug#8253).
12112
0a57d256
SM
121132011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12114
12115 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12116 warning message.
12117
77c992bc
MA
121182011-03-14 Michael Albinus <michael.albinus@gmx.de>
12119
12120 * shell.el (shell): When called interactively, offer to change the
12121 shell file name on remote hosts.
12122
eebc475d
TZ
121232011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12124
12125 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12126 integration for LDAP parameters. The host, base, user or binddn,
12127 and secret tokens can be specified in a netrc file, for instance.
12128 This is optional because an `auth-source' parameter must be
12129 specified in the search attributes.
12130
9d05d1ba
JB
121312011-03-13 Juanma Barranquero <lekktu@gmail.com>
12132
12133 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12134
09d9db2c
GM
121352011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12136
12137 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12138 into declaration. Remove redundant and harmful binding.
12139
121402011-03-12 Eli Zaretskii <eliz@gnu.org>
12141
12142 * files.el (file-ownership-preserved-p): Pass `integer' as an
12143 explicit 2nd argument to `file-attributes'. If the file's owner
12144 is the Administrators group on Windows, and the current user is
12145 Administrator, consider that a match.
12146
12147 * server.el (server-ensure-safe-dir): Consider server directory
12148 safe on MS-Windows if its owner is the Administrators group while
12149 the current Emacs user is Administrator. Use `=' to compare
12150 numerical UIDs, since they could be integers or floats.
12151
219bd536
JB
121522011-03-12 Juanma Barranquero <lekktu@gmail.com>
12153
12154 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12155
f3afd36b
MA
121562011-03-12 Michael Albinus <michael.albinus@gmx.de>
12157
12158 Sync with Tramp 2.2.1.
12159
12160 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12161
12162 * net/trampver.el: Update release number.
12163
3aaaa6f1
SM
121642011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12165
94642599
SM
12166 * progmodes/compile.el (compilation--previous-directory): Fix up
12167 various nil/dead-marker mismatches (bug#8014).
12168 (compilation-directory-properties, compilation-error-properties):
12169 Don't call it at a position past the one we're about to change.
12170
3aaaa6f1
SM
12171 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12172 Disable obsolescence warnings in the file that declares it.
12173
14239447
KM
121742011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12175
099c39a4
JB
12176 * allout-widgets.el (allout-widgets-tally):
12177 Initialize allout-widgets-tally as a hash table rather than nil to
12178 prevent mode-line redisplay warnings. Also, clarify the module
12179 description and fix a comment typo.
14239447 12180
135e287c
JB
121812011-03-11 Juanma Barranquero <lekktu@gmail.com>
12182
12183 * help-fns.el (describe-variable): Don't complete keywords.
12184 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12185
ffbf300e
CY
121862011-03-10 Chong Yidong <cyd@stupidchicken.com>
12187
ba08b241
CY
12188 * emacs-lisp/package.el (package-version-join): Impose a standard
12189 string representation for pre/alpha/beta version lists.
12190 (package-unpack-single): Standardize the directory name by passing
12191 it through package-version-join.
12192 (package-strip-rcs-id): Accept any version string that does not
12193 signal an error in version-to-list.
ffbf300e 12194
f346fd6b
MA
121952011-03-10 Michael Albinus <michael.albinus@gmx.de>
12196
12197 * simple.el (delete-trailing-whitespace): Return nil for the
12198 benefit of `write-file-functions'.
12199
ccb55d27
GM
122002011-03-10 Glenn Morris <rgm@gnu.org>
12201
5ceaac0c
GM
12202 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12203
02da65ff
GM
12204 * vc/vc-git.el (vc-git-program): New option.
12205 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12206 (vc-git--call): Use it.
12207
b2f603cc
GM
12208 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12209
5772caab
GM
12210 * cus-edit.el (Custom-newline): If no button at point, look
12211 for a subgroup button at start-of-line. (Bug#2298)
12212
ccb55d27
GM
12213 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12214
ec6ecaed
JD
122152011-03-10 Julien Danjou <julien@danjou.info>
12216
12217 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12218 `cursor-type' is nil.
12219
9d5aa01d
JB
122202011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
12221
12222 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12223
b6a5875b
KM
122242011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
12225
7a71b18d 12226 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
12227 preserves the existing header prefix, rebulleting it if necessary,
12228 rather than replacing it. This is necessary for proper operation
12229 of cooperative addons like allout-widgets.
1154d12e
JB
12230 (allout-make-topic-prefix, allout-rebullet-heading):
12231 Change SOLICIT arg to INSTEAD, and interpret additionally a string
12232 value as alternate bullet to be used, instead of prompting the user
12233 for a bullet character.
b6a5875b 12234
ee545c35
MA
122352011-03-09 Michael Albinus <michael.albinus@gmx.de>
12236
d86d2721
SM
12237 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12238 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
12239 `tramp-default-port'.
12240
c47971d7
DD
122412011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12242
12243 * net/rcirc.el (rcirc-handler-001): Remove useless
12244 with-rcirc-process-buffer.
12245 (rcirc-check-auth-status): Swap arguments to string-match.
12246
13522cb4
GM
122472011-03-09 Glenn Morris <rgm@gnu.org>
12248
0be6f4f1
GM
12249 * shell.el (shell-mode):
12250 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
12251
13522cb4
GM
12252 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12253 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
12254
515de2e3
CY
122552011-03-08 Chong Yidong <cyd@stupidchicken.com>
12256
12257 * emacs-lisp/package.el (package-refresh-contents)
12258 (package-menu-execute): Use condition-case-no-debug.
12259
b511b994
MA
122602011-03-08 Michael Albinus <michael.albinus@gmx.de>
12261
12262 * simple.el (shell-command-to-string): Use `process-file'.
12263
12264 * emacs-lisp/package.el (package-tar-file-info): Handle also
12265 remote files.
12266
d86d2721
SM
12267 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12268 Use `equal' for upload base check.
b511b994 12269
25bbfb31
AM
122702011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12271
12272 * textmodes/texinfo.el (texinfo-environments):
12273 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
12274
be996521
GM
122752011-03-08 Glenn Morris <rgm@gnu.org>
12276
e9c8529f
GM
12277 * cus-start.el (cursor-in-non-selected-windows):
12278 Fix :set quoting oddness. (Bug#8192)
12279
be996521
GM
12280 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12281 in some setf expressions. (Bug#2159)
12282
2bb5649e
CY
122832011-03-08 Chong Yidong <cyd@stupidchicken.com>
12284
12285 * custom.el (custom-available-themes): Return themes in
12286 alphabetical order.
12287
33383987 12288See ChangeLog.15 for earlier changes.
e3d51b27
MR
12289
12290;; Local Variables:
12291;; coding: utf-8
e3d51b27
MR
12292;; End:
12293
acaf905b 12294 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
12295
12296 This file is part of GNU Emacs.
12297
12298 GNU Emacs is free software: you can redistribute it and/or modify
12299 it under the terms of the GNU General Public License as published by
12300 the Free Software Foundation, either version 3 of the License, or
12301 (at your option) any later version.
12302
12303 GNU Emacs is distributed in the hope that it will be useful,
12304 but WITHOUT ANY WARRANTY; without even the implied warranty of
12305 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12306 GNU General Public License for more details.
12307
12308 You should have received a copy of the GNU General Public License
12309 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.