Allow using `server-auth-key' to set a permanent shared key
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
29734c21
MN
12012-04-14 Michal Nazarewicz <mina86@mina86.com>
2
3 * server.el (server-auth-key): New variable.
4 (server-generate-key): New function.
5 (server-get-auth-key): New function.
6 (server-start): Use the new variable and functions to allow
7 setting a permanent server key (bug#9423).
8
d65c9521
LL
92012-04-14 Leo Liu <sdl.web@gmail.com>
10
11 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
12
5ae255c7
PE
132012-04-14 Paul Eggert <eggert@cs.ucla.edu>
14
15 Spelling fixes.
16 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
17 Emacs uses American spelling.
18
d5e6342e
JB
192012-04-14 Juanma Barranquero <lekktu@gmail.com>
20
21 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
22 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
23 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
24 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
25
ab036cd7
SM
262012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
27
28 * progmodes/which-func.el (which-func-modes): Change default.
29
35dc09a1 302012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
31
32 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
33 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
34
35dc09a1 352012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
36
37 * custom.el (custom-theme-set-variables): Doc fix.
38
35dc09a1 392012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
40
41 * international/mule.el (set-auto-coding-for-load): Doc fix.
42
35dc09a1 432012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 44
35dc09a1
GM
45 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
46 imenu work again for Objective C Mode. Correct the *-index values,
47 these having been disturbed by a previous change in 2011-08.
57f845ee 48
0de3da9f
AM
49 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
50 Correct two search limits.
51
35dc09a1 522012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
53
54 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
55
35dc09a1 562012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
57
58 * international/characters.el: Fix sorting.
59
35dc09a1 602012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
61
62 * international/characters.el: Add more missing Latin case pairs.
63
35dc09a1 642012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
65
66 * files.el (dir-locals-set-class-variables): Doc fix.
67
35dc09a1 682012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 69
3f1b5bf8
EZ
70 * international/characters.el: Add set-case-syntax-pair call for
71 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
72 counterpart. (Bug#11209)
73
9f847f41
EZ
74 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
75
35dc09a1 762012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
77
78 * calendar/holidays.el (calendar-check-holidays): Doc fix.
79
35dc09a1 802012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 81
35dc09a1
GM
82 * textmodes/ispell.el (ispell-dictionary-base-alist):
83 Add data for Hebrew.
e2627d21 84
35dc09a1 852012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 86
35dc09a1
GM
87 * net/rcirc.el (rcirc-cmd-quit):
88 Revert 2012-03-18 change (Bug#11192).
5c14e333 89
35dc09a1 902012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
91
92 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
93
35dc09a1 942012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 95
4517fe3a
SM
96 * minibuffer.el (completion-in-region-mode-map):
97 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 98
b472a594
VD
992012-04-13 Vivek Dasmohapatra <vivek@etla.org>
100
101 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
102
09b95ce3
MY
1032012-04-13 Masatake YAMATO <yamato@redhat.com>
104
105 * minibuffer.el (minibuffer-local-filename-syntax): New variable
106 to allow `C-M-f' and `C-M-b' to move to the nearest path
107 separator (bug#9511).
108
4b63a9ca
LI
1092012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
110
111 * avoid.el: Require cl when compiling. And also move the
112 `provide' to the end.
113
7b55b8bf
TV
1142012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
115
116 * avoid.el (mouse-avoidance-banish-position): New variable.
117 (mouse-avoidance-banish-destination): Use it (bug#10165).
118
adedaa1f
LL
1192012-04-13 Leo Liu <sdl.web@gmail.com>
120
121 * progmodes/which-func.el (which-func-modes): Add objc-mode.
122
70e74021
KB
1232012-04-13 Ken Brown <kbrown@cornell.edu>
124
125 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 126 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
127 (browse-url-filename-alist): For the same reason, don't modify
128 file:// URLs on Cygwin.
129
e75e89ba
SM
1302012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
131
132 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
133 the region on shift if the binding is already shifted (bug#11221).
134
82f289a4
GM
1352012-04-12 Glenn Morris <rgm@gnu.org>
136
137 * mail/mailpost.el: Move to obsolete/.
138
d333dc4c
DA
1392012-04-12 Drew Adams <drew.adams@oracle.com>
140
141 * imenu.el (imenu--generic-function): Ignore invisible definitions
142 (bug#10123).
143
0d15b5ba
VD
1442012-04-12 Vivek Dasmohapatra <vivek@etla.org>
145
146 * hexl.el (hexl-bits): New variable.
147 (hexl-options): Mention the variable in the doc string.
148 (hexl-rulerise): New function.
149 (hexl-line-displen): New function
150 (hexl-mode): Mention the new variable.
151 (hexl-mode, hexl-current-address, hexl-current-address): Use the
152 displen.
153 (hexl-ascii-start-column): New function.
154 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
155 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
156
64a440db
AM
1572012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
158
159 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
160 '("-i" ENCODING), in 2 separate command-line arguments, to specify
161 the encoding, as expected by hunspell.
162
6decb6c2
SM
1632012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
164
165 * battery.el (battery--linux-sysfs-regexp): New const.
166 (battery-status-function): Use it. Remove yeeloong special case.
167 (battery-yeeloong-sysfs): Remove.
168 (battery-echo-area-format): Remove yeeloong special case.
169
088be6fb
SM
1702012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
171
6622e416
SM
172 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
173 Reported by Noah Friedman.
174
088be6fb
SM
175 * subr.el (read-passwd): Use read-string.
176
b49f886e
LMI
1772012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
178
179 * vcursor.el (vcursor-move): Increase the priority of the overlay
180 (bug#9663).
181
a63067fc
DD
1822012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
183
184 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
185 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
186
ac3cf14a
WS
1872012-04-11 William Stevenson <yhvh2000@gmail.com>
188
189 * textmodes/artist.el (artist-mode): Convert artist-mode to use
190 define-minor-mode (bug#10760).
191
c4fc691b 1922012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c
WJ
193
194 * lisp/progmodes/grep.el (rgrep): Tweak the find command line so
195 that directories matching `grep-find-ignored-files' won't be
196 pruned (bug#10351).
197
af23e2e5
CY
1982012-04-11 Chong Yidong <cyd@gnu.org>
199
200 * startup.el (command-line): Remove support for long-obsolete
201 variable font-lock-face-attributes.
202
ab7ce8c1
GM
2032012-04-11 Glenn Morris <rgm@gnu.org>
204
205 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
206
de8c03dc
SM
2072012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
208
209 * window.el (window--state-get-1): Obey window-point-insertion-type.
210
050cc68b
LB
2112012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
212
213 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
214 to previous function when point is on the first character of a
215 function. Take care of that in `narrow-to-defun' (bug#6157).
216
a38c310c
GM
2172012-04-11 Glenn Morris <rgm@gnu.org>
218
effed0c2
GM
219 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
220 not just file-errors.
221
a38c310c
GM
222 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
223 (vc-bzr-sha1): Use internal sha1.
224
0221e323
SM
2252012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
226
227 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
228
43956923
SG
2292012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
230
231 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
232 that start in the middle of the line (bug#10496).
233
6a8c9eaf
DN
2342012-04-10 Dan Nicolaescu <dann@gnu.org>
235
236 * battery.el (battery-linux-proc-acpi): Only one battery is
237 discharged at a time, but that seems to confuse battery.el when
238 computing `rate-type' for the battery not being discharged
239 (bug#10332).
240
1930bf5d
SM
2412012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
242
2a718f6f
SM
243 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
244
599430d0
SM
245 * international/quail.el: Use dolist and simplify.
246 (quail-define-package, quail-update-keyboard-layout)
247 (quail-define-rules): Use dolist.
248 (quail-insert-kbd-layout, quail-get-translation): CSE.
249
a2754b6c
SM
250 * tmm.el: Use dolist, remove left over hook.
251 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
252 Use dolist.
253 (calendar-load-hook): Don't mess with it.
254
1930bf5d
SM
255 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
256 Use derived-mode-p. Run the diff asynchronously.
257
9f67961c
LMI
2582012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
259
260 * obsolete/mouse-sel.el: Add an Obsolete-since header.
261
2a8ce227
JB
2622012-04-10 Juanma Barranquero <lekktu@gmail.com>
263
264 * misc.el: Display absolute path of loaded DLLs (bug#10424).
265 (list-dynamic-libraries--loaded): New function.
266 (list-dynamic-libraries--refresh): Use it.
267
8f33b5f8
NW
2682012-04-10 Nathan Weizenbaum <nweiz@google.com>
269
1930bf5d
SM
270 * progmodes/python.el (python-fill-paragraph):
271 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
272 disabled (bug#7018).
273
b12f0439
L
2742012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
275
1930bf5d 276 * language/european.el (cp775): Add oem/legacy (en)coding on
b12f0439
L
277 DOS/MS Windows for the Baltic languages. There are still plenty of
278 texts written in this encoding/codepage (bug#6519).
279
57c3bd01
GM
2802012-04-10 Glenn Morris <rgm@gnu.org>
281
282 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
283 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
284
6c3eab30
FA
2852012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
286
1930bf5d 287 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
288 next-line "n" and previous-line "p" in order to make recentf more
289 consistent with ibuffer, dired or org-mode (bug#9387).
290
24d78a88
LMI
2912012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
292
bc72b5d9
LMI
293 * image.el (put-image): Return the overlay created instead of the
294 optional input string (bug#7834). Note that this may break code
295 that is (for some reason or other) depending on `put-image'
296 returning the string.
297
bd2dba5a
LMI
298 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
299
74beb59f
LMI
300 * simple.el (zap-to-char): Allow zapping using input methods
301 (bug#1580).
302
24d78a88
LMI
303 * textmodes/fill.el (fill-region): Leave point and mark where they
304 were before filling (bug#5399).
305
263f20cd
GM
3062012-04-09 Glenn Morris <rgm@gnu.org>
307
308 * version.el (emacs-bzr-get-version):
309 Handle lightweight checkouts of local branches.
310
58d1f797
AS
3112012-04-09 Andreas Schwab <schwab@linux-m68k.org>
312
263f20cd 313 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 314
b4d3bc10
CY
3152012-04-09 Chong Yidong <cyd@gnu.org>
316
317 * custom.el (custom-variable-p): Return nil for non-symbol
318 arguments instead of signaling an error.
319 (user-variable-p): Obsolete alias for custom-variable-p.
320
321 * apropos.el (apropos-variable):
322 * files-x.el (read-file-local-variable):
323 * simple.el (set-variable):
324 * woman.el (woman-mini-help):
325 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
326
fd06db5d
GM
3272012-04-09 Glenn Morris <rgm@gnu.org>
328
e5fcdb5e
GM
329 * startup.el (normal-top-level): Don't look for leim-list.el
330 in places where it will not be found. (Bug#910)
331
fd06db5d
GM
332 * international/mule-cmds.el (set-default-coding-systems):
333 * files.el (normal-mode):
334 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
335 This function was removed with ucs-tables.el in 2008.
336
b39bb7e1
EZ
3372012-04-08 Eli Zaretskii <eliz@gnu.org>
338
339 * textmodes/ispell.el (ispell-check-version): For hunspell, set
340 ispell-encoding8-command to "-i", without a trailing space.
341 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
342 separate command-line arguments, to specify the encoding, since
343 that's how hunspell expects it.
344
5c5b8e23
GM
3452012-04-08 Glenn Morris <rgm@gnu.org>
346
347 * loadup.el: Load bindings before cus-start.
348 This reduces somewhat the number of "rogue" settings in emacs -Q.
349
a1ed8b05
GM
3502012-04-07 Glenn Morris <rgm@gnu.org>
351
352 * version.el (emacs-bzr-get-version): New function.
dfae128a 353 (emacs-bzr-version): New variable.
a1ed8b05
GM
354 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
355 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
356
b142f158
EZ
3572012-04-07 Eli Zaretskii <eliz@gnu.org>
358
dfae128a
GM
359 * international/uni-bidi.el, international/uni-category.el:
360 * international/uni-combining.el, international/uni-decimal.el:
361 * international/uni-decomposition.el, international/uni-digit.el:
362 * international/uni-lowercase.el, international/uni-mirrored.el:
363 * international/uni-name.el, international/uni-numeric.el:
364 * international/uni-titlecase.el, international/uni-uppercase.el:
365 Update for Unicode 6.1.
b142f158 366
9078ead6
EZ
3672012-04-07 Eli Zaretskii <eliz@gnu.org>
368
369 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
370
f23d2c7d
LMI
3712012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
372
373 * window.el (shrink-window): Mention the `window-min-height'
374 variable in the doc string.
375
0a0a3573
BG
3762012-04-05 Bastien Guerry <bzg@altern.org>
377
378 * color.el (color-lighten-name): Fix typo.
379
e5248ac9
SM
3802012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
381
382 * server.el (server--on-display-p): New function.
383 (server--on-display-p): Use it.
384
b4243e22
GV
3852012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
386
387 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
388 (bug#11145).
389
305d9f44
SM
3902012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
391
392 * comint.el (comint--common-quoted-suffix): Check string boundary
393 before comparing (bug#11158).
394 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
395
3d439cd1
CY
3962012-04-04 Chong Yidong <cyd@gnu.org>
397
321cc491
CY
398 * minibuffer.el (completion-extra-properties): Doc fix.
399
3d439cd1
CY
400 * subr.el (delayed-warnings-hook): Doc fix.
401
2d562c0f
DU
4022012-04-04 Daiki Ueno <ueno@unixuser.org>
403
404 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
405 selection (Bug#11159).
406 (epa-insert-keys): Inform that the default public key will be
407 exported if no key is selected.
408
4443f204
RS
4092012-04-04 Richard Stallman <rms@gnu.org>
410
411 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
412
529c06b6
CY
4132012-04-03 Chong Yidong <cyd@gnu.org>
414
415 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
416 mail-insert-file, not its obsolete alias mail-attach-file.
417
66b907dc
MA
4182012-04-03 Michael Albinus <michael.albinus@gmx.de>
419
420 * notifications.el (notifications-notify): Fix docstring.
421
c0ea195d
GM
4222012-04-02 Glenn Morris <rgm@gnu.org>
423
424 * emacs-lisp/authors.el (authors-aliases): Another addition.
425
5ca64e00
MA
4262012-04-02 Michael Albinus <michael.albinus@gmx.de>
427
428 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
429 `tramp-compat-call-process' instead of `tramp-local-call-process'.
430 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
431
42ee526b
CY
4322012-04-01 Chong Yidong <cyd@gnu.org>
433
434 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
435 Handle root directory properly.
436 (copy-directory): Caller changed.
437
438 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
439 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
440
0b021094
GM
4412012-03-31 Glenn Morris <rgm@gnu.org>
442
40f86458
GM
443 * term/xterm.el (xterm-extra-capabilities): Doc fix.
444
7019c177
GM
445 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
446
a1daddd6
GM
447 * calendar/calendar.el (calendar-window-list)
448 (calendar-hide-window): Restore. (Bug#11140)
449 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
450
0b021094
GM
451 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
452
40311efc
TV
4532012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
454
455 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
456 Check if file is a symlink (Bug#10489).
457
458 * files.el (copy-directory): Likewise.
459
5319014e
CY
4602012-03-30 Chong Yidong <cyd@gnu.org>
461
462 * image.el (imagemagick-types-inhibit)
463 (imagemagick-register-types): Doc fix.
464
935d1290
AM
4652012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
466
467 * ispell.el (ispell-get-extended-character-mode): Disable
468 extended-char-mode for hunspell. hunspell does not support it and
469 treats ~word as ordinary words in pipe mode.
470
61c6e8fd
GM
4712012-03-30 Glenn Morris <rgm@gnu.org>
472
473 * tutorial.el (help-with-tutorial): Ensure local variables don't
474 happen to make the buffer read-only. (Bug#11127)
475
81fdff00
SM
4762012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
477
478 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
479 (perl-calculate-indent): Return `noindent' in strings.
480
6e7a6ec0
SS
4812012-03-28 Sam Steingold <sds@gnu.org>
482
483 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
484 instead of the broken adhockery which does not prevent calendar
485 buffers from being displayed at random after exit.
486 (calendar-window-list, calendar-hide-window): Remove the broken
487 adhockery.
488
fee88ca0
GM
4892012-03-28 Glenn Morris <rgm@gnu.org>
490
491 * replace.el (query-replace-map): Doc fix.
492
38de3354
AS
4932012-03-28 Andreas Schwab <schwab@linux-m68k.org>
494
495 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
496 contents. (Bug#11109)
497
b973155e
SM
4982012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
499
500 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
501 (bug#11077).
502 (avl-tree--check, avl-tree--check-node): New funs.
503
dcb6e7b3
MR
5042012-03-27 Martin Rudalics <rudalics@gmx.at>
505
506 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
507 (switch-to-prev-buffer, switch-to-next-buffer):
508 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
509 showing a buffer already is done on the same frame.
510
b4fa35fa
GM
5112012-03-27 Glenn Morris <rgm@gnu.org>
512
513 * startup.el (mail-host-address): Doc fix.
514
f9210e18
SM
5152012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
516
517 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
518 than 197 variables.
519
c0bf7753
AF
5202012-03-26 Ami Fischman <ami@fischman.org>
521
522 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
523
33da7b16
GM
5242012-03-26 Glenn Morris <rgm@gnu.org>
525
02243d9d
GM
526 * files.el (save-buffers-kill-emacs): Doc fix.
527
33da7b16
GM
528 * startup.el (normal-top-level, command-line, command-line-1):
529 Give them doc strings.
530
e5a69fd0
EZ
5312012-03-25 Eli Zaretskii <eliz@gnu.org>
532
533 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 534 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 535
9a69676a
CY
5362012-03-25 Chong Yidong <cyd@gnu.org>
537
4125cb8b
CY
538 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
539 theme if it was previously enabled before (Bug#11031).
540
dd470960
CY
541 * cus-theme.el (custom-theme-write-faces): Retrieve current face
542 spec with custom-face-get-current-spec if its :shown-value is not
543 determined yet (Bug#9337).
4125cb8b 544 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 545
9a69676a
CY
546 * button.el (button-at): Minor addition to docstring.
547
6e7e90fa
SL
5482012-03-24 Simon Leinen <simon.leinen@gmail.com>
549
550 * vc/vc.el (vc-merge): Fix a prompt.
551
f06e2758
CY
5522012-03-24 Chong Yidong <cyd@gnu.org>
553
554 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
555 point (Bug#9623).
556
6e7e90fa
SL
557 * button.el (button-at): Minor addition to docstring.
558
b9d0879b
SM
5592012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
560
561 * newcomment.el (comment-choose-indent): No space after BOL.
562
e71cebb3
SS
5632012-03-22 Sam Steingold <sds@gnu.org>
564
565 * window.el (switch-to-prev-buffer): Revert last patch because the
566 bug turned out to be an advertised feature (Elisp manual 28.14).
567
335aff35
GM
5682012-03-22 Glenn Morris <rgm@gnu.org>
569
570 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
571 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
572
c676576a
LMI
5732012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
574
575 * net/network-stream.el (network-stream-open-starttls): Make error
576 message under Windows be less misleading.
577
126f3d39
LW
5782012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
579
580 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
581 understands (bug#9942).
582
64fee311
CY
5832012-03-22 Chong Yidong <cyd@gnu.org>
584
585 * simple.el (end-of-visible-line): Handle return value of
586 next-single-property-change properly (Bug#9371).
587
a640d29a
KH
5882012-03-22 Kenichi Handa <handa@m17n.org>
589
590 * international/quail.el (quail-insert-kbd-layout): Fix previous
591 change. To avoid unwanted bidi reordering, use
592 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
593
39675016
DG
5942012-03-21 Dmitry Gutov <dgutov@yandex.ru>
595
596 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
597 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
598 (ruby-beginning-of-indent): Be more careful with the difference
599 between word-boundary and symbol boundary.
600 (ruby-mode-syntax-table): Make : a symbol constituent.
601
0a6934fc 6022012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 603
3d008e4f
SM
604 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
605
0a6934fc
SM
6062012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
607
af67c9d7
SM
608 * progmodes/etags.el (tags-completion-at-point-function):
609 Improve last fix.
610
1acad97c
SM
611 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
612
e298b5da
SS
6132012-03-21 Sam Steingold <sds@gnu.org>
614
615 * progmodes/etags.el (tags-completion-at-point-function):
616 Avoid the error when point is inside the pattern.
617
91d82a70
JY
6182012-03-21 John Yates <john@yates-sheets.org> (tiny change)
619
620 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
621 line (Bug#10855).
622
69188b79
CY
6232012-03-21 Drew Adams <drew.adams@oracle.com>
624
625 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
626
99fc91fe
AK
6272012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
628
629 * ido.el (ido-set-current-directory, ido-read-internal)
630 (ido-choose-completion-string, ido-completion-help): Handle nil
631 value of ido-completion-buffer (Bug#11008).
632
087bbb4c
SS
6332012-03-21 Sam Steingold <sds@gnu.org>
634
635 * window.el (switch-to-prev-buffer): Do not switch to a visible
636 window previous buffer, just like with the frame previous buffers.
637
fb5b8aca
CY
6382012-03-21 Chong Yidong <cyd@gnu.org>
639
640 * faces.el (make-face, make-empty-face, copy-face):
641 * face-remap.el (face-remap-add-relative, face-remap-set-base):
642 Doc fixes.
643
dc9924b8
SM
6442012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
645
646 * wid-edit.el (widget-complete-field): Remove (bug#11051).
647 (widget-complete): Remove broken use of it.
648
f0bcceb9
CY
6492012-03-20 Chong Yidong <cyd@gnu.org>
650
dc9924b8
SM
651 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
652 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
653 characters.
654
ee52ebf3
TH
6552012-03-20 Tassilo Horn <tassilo@member.fsf.org>
656
657 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
658 to draw rectangles, not squares. (Regression introduced by revno
659 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
660
4c5779ab
CY
6612012-03-18 Chong Yidong <cyd@gnu.org>
662
663 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
664 it is not yet defined (for temacs).
665
15360934
LL
6662012-03-18 Leo Liu <sdl.web@gmail.com>
667
dc9924b8 668 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 669
d9a8eb66
EZ
6702012-03-17 Eli Zaretskii <eliz@gnu.org>
671
672 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
673 (ispell-choices-win-default-height, ispell-silently-savep)
674 (ispell-dictionary-alist, ispell-encoding8-command)
675 (ispell-check-version, ispell-aspell-find-dictionary)
676 (ispell-valid-dictionary-list, ispell-words-keyword)
677 (ispell-get-word, ispell-internal-change-dictionary)
678 (ispell-region, ispell-skip-region-list)
679 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
680 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
681 (ispell-message-text-end, ispell-message)
682 (ispell-buffer-local-parsing): Doc fix.
683
f02ff80d
J
6842012-03-13 Jambunathan K <kjambunathan@gmail.com>
685
686 * htmlfontify.el: Add support for code block fontification for ODT
687 export (Bug #9914).
688 (hfy-optimisations): Define new option
689 `body-text-only'
690 (hfy-fontify-buffer): Honor above setting.
691 (hfy-begin-span, hfy-end-span): New routines factored out form
692 `hfy-fontify-buffer'.
693 (hfy-begin-span-handler, hfy-end-span-handler): New variables
694 that permit insertion of custom tags.
695 (hfy-fontify-buffer): Use above handlers.
696 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
697 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 698 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
f02ff80d
J
699 over multiple runs. This is made possible by having the caller let
700 bind a special variable `hfy-user-sheet-assoc'.
701 (htmlfontify-string): New defun.
702 (hfy-compile-face-map): Make sure that the last char in the
703 buffer is correctly fontified.
704 (hfy-face-resolve-face): Whitespace only change.
705
9ac7a13f
EZ
7062012-03-17 Eli Zaretskii <eliz@gnu.org>
707
708 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
709 message more clear.
710
e2b5bdd7
LL
7112012-03-16 Leo Liu <sdl.web@gmail.com>
712
713 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
714
2e492df3
AM
7152012-03-16 Alan Mackenzie <acm@muc.de>
716
717 Further optimise the handling of large macros.
718
719 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
720 limit to a call of `c-literal-limits'.
721 (c-determine-+ve-limit): New function.
dc9924b8
SM
722 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
723 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
724 In CASE 5B, restrict a search limit to 500.
725 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
726
727 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
728 Restrict macro bounds to +-500 from after-change's BEG END.
729
50e94f0c
LL
7302012-03-16 Leo Liu <sdl.web@gmail.com>
731
732 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
733
6f09f6ed
AH
7342012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
735
736 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 737 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 738
c7e73d51
GM
7392012-03-16 Glenn Morris <rgm@gnu.org>
740
da986230
GM
741 * view.el (view-buffer, view-buffer-other-window)
742 (view-buffer-other-frame): Doc fixes re special mode-class.
743
0835f01e
GM
744 * subr.el (eval-after-load): If named feature is provided not from
745 a file, run after-load forms. (Bug#10946)
746
c7e73d51
GM
747 * calendar/calendar.el (calendar-insert-at-column):
748 Handle non-unit-width characters a bit better. (Bug#10978)
749
3f2eafd1
CY
7502012-03-15 Chong Yidong <cyd@gnu.org>
751
752 * emacs-lisp/ring.el (ring-extend): New function.
753 (ring-insert+extend): Extend the ring correctly (Bug#11019).
754
755 * comint.el (comint-read-input-ring)
756 (comint-add-to-input-history): Grow comint-input-ring lazily.
757
103af3fe
SM
7582012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
759
663b1677
SM
760 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
761 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
762
103af3fe
SM
763 * imenu.el: Fix multiple inheritance breakage (bug#9199).
764 (imenu-add-to-menubar): Don't add a redundant index.
765 (imenu-update-menubar): Handle a dynamically composed keymap.
766
899cb7cb
KY
7672012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
768
769 * mail/sendmail.el (mail-encode-header):
770 Bind rfc2047-encode-encoded-words to nil.
771
3809f91d
GM
7722012-03-13 Glenn Morris <rgm@gnu.org>
773
774 * calendar/calendar.el (calendar-string-spread):
775 Handle non-unit-width characters a bit better. (Bug#10978)
776
9e345a01
LL
7772012-03-13 Leo Liu <sdl.web@gmail.com>
778
779 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
780 directory and file as argument (Bug#10822).
781
4a07df36
KS
7822012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
783
784 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
785 For dynamically generated code, follow $PC.
786 (gdb-disassembly-handler-custom): Handle no function name case.
787
4aaa9356
TL
7882012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
789
790 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
791 * emulation/ws-mode.el (ws-query-replace):
792 * sort.el (sort-regexp-fields):
793 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
794
225979da
SM
7952012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
796
797 * dabbrev.el: Fix cycle completion order (bug#10963).
798 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
799 (dabbrev-completion): Don't use an obarray; provide
800 a cycle-sort-function.
801
e2f1fdab
LL
8022012-03-12 Leo Liu <sdl.web@gmail.com>
803
dc9924b8 804 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
805 (kill-do-not-save-duplicates): Doc fix.
806
b19490ed
SM
8072012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
808
809 * dabbrev.el: Fix cycle completion (bug#10963).
810 Use lexical binding and wrap to 80 columns.
811 (dabbrev-completion): Delay computing the list of completions.
812
4b05d722
KH
8132012-03-12 Kenichi Handa <handa@m17n.org>
814
815 * international/quail.el (quail-insert-kbd-layout): Surround each
816 row by LRO and PDF instead of inserting many LRMs. Pad the left
817 and right of each non-spacing marks. Insert invisible space
818 between lower and upper characters to prevent composition.
819
dbbc2e69
SM
8202012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
821
822 * minibuffer.el (minibuffer-complete): Don't get confused when the
823 function is run twice via different commands (bug#10958).
824 (complete-with-action): Fix docstring.
825
292112ed
CY
8262012-03-12 Chong Yidong <cyd@gnu.org>
827
5d1ac394
CY
828 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
829 (nxml-completion-at-point-function): New function.
830 (nxml-mode): Use it.
831 (nxml-bind-meta-tab-to-complete-flag): Default to t.
832
292112ed
CY
833 * emacs-lisp/package.el (package-unpack, package-unpack-single):
834 Load generated autoloads file before byte compiling (Bug#10970).
835 (package--make-autoloads-and-compile): New helper fun.
836
4098f8f7
CS
8372012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
838
839 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
840
8f754691
MA
8412012-03-11 Michael Albinus <michael.albinus@gmx.de>
842
843 * autorevert.el (auto-revert-handler): Ensure, that
844 file-readable-p is applied only for local files or in
845 auto-revert-tail-mode.
846
e29ab36b
AS
8472012-03-11 Andreas Schwab <schwab@linux-m68k.org>
848
dbbc2e69
SM
849 * server.el (server-eval-at): Handle non-tcp connections.
850 Decode result string.
ad0bf5b6 851
e29ab36b
AS
852 * server.el (server-msg-size): New constant.
853 (server-reply-print): New function.
854 (server-eval-and-print): Use it.
855 (server-eval-at): Use server-quote-arg and server-unquote-arg.
856 Handle -print-nonl.
857
de5939ba
CS
8582012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
859
860 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
861 (Bug#10987).
862
0c93eabf
CY
8632012-03-11 Chong Yidong <cyd@gnu.org>
864
397a688f
CY
865 * simple.el (goto-line): Doc fix (Bug#9938).
866
2cc775f9
CY
867 * subr.el (save-window-excursion): Doc fix (Bug#9979).
868
0c93eabf
CY
869 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
870 when finished (Bug#10963).
871
c491fa41
MR
8722012-03-11 Martin Rudalics <rudalics@gmx.at>
873
874 * window.el (split-window-below): Fix bug in case where
875 split-window-keep-point is nil (Bug#10971).
876
300e8fa5
JL
8772012-03-11 Juri Linkov <juri@jurta.org>
878
879 * replace.el (replace-highlight): Set isearch-word to nil
880 unconditionally. (Bug#10887)
881
dbf6c5a1
EZ
8822012-03-10 Eli Zaretskii <eliz@gnu.org>
883
884 * net/mairix.el (mairix-replace-invalid-chars): Rename from
885 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 886 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
887 (mairix-widget-create-query): Add usage information about mairix
888 search forms: negating words, searching for substrings, etc.
889
b9e501de
JP
8902012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
891
892 * international/fontset.el (font-encoding-alist): Add an entry for
893 ksx1001 (Bug#5667).
894
92795c91
RS
8952012-03-10 Richard Stallman <rms@gnu.org>
896
1694e6c1
RS
897 * mail/sendmail.el (mail-encode-header):
898 Set rfc2047-encode-encoded-words.
899
607e8555
RS
900 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
901
de3bc99a
RS
902 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
903 view buffer means not swapped.
904 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
905 (rmail-write-region-annotate): Error if real text has disappeared.
906
92795c91
RS
907 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
908
699bd04e
CY
9092012-03-10 Chong Yidong <cyd@gnu.org>
910
911 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
912 * emulation/cua-base.el (cua--init-keymaps):
913 Add delete-forward-char to remappings (Bug#9666).
699bd04e 914
570a1714
MR
9152012-03-10 Martin Rudalics <rudalics@gmx.at>
916
dbbc2e69
SM
917 * speedbar.el (speedbar-unhighlight-one-tag-line):
918 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 919
82dcf4e4
CY
9202012-03-10 Chong Yidong <cyd@gnu.org>
921
7a2c7ca7
CY
922 * minibuffer.el (completion-in-region, completion-help-at-point):
923 Give the completion field overlay a high priority (Bug#6830).
924
82dcf4e4
CY
925 * dired.el (dired-goto-file): Recognize absolute file name
926 listings (Bug#7126).
927 (dired-goto-file-1): New helper function.
928 (dired-toggle-read-only): Inhibit warnings.
929
052e28ac
MA
9302012-03-09 Michael Albinus <michael.albinus@gmx.de>
931
932 * net/dbus.el: (dbus-property-handler): Return empty array if
933 there are no properties.
934
95d5e396
LL
9352012-03-09 Leo Liu <sdl.web@gmail.com>
936
937 * savehist.el (savehist-printable): Stricter check for string
938 value (Bug#10937).
939
3f018d6d
EZ
9402012-03-09 Eli Zaretskii <eliz@gnu.org>
941
dbbc2e69
SM
942 * mail/smtpmail.el (smtpmail-send-it):
943 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
944 valid mbox format.
945
f7fd3d79
GM
9462012-03-09 Glenn Morris <rgm@gnu.org>
947
948 * files.el (dir-locals-find-file):
949 Don't check result is regular, readable.
950 (dir-locals-read-from-file): Demote errors.
951
6ff6e72f
EZ
9522012-03-08 Eli Zaretskii <eliz@gnu.org>
953
dbbc2e69
SM
954 * international/quail.el (quail-insert-kbd-layout):
955 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
956 layout cell, to prevent their reordering by bidi display engine.
957 For details, see the discussion in
958 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
959
9cec7834
AM
9602012-03-08 Alan Mackenzie <acm@muc.de>
961
962 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
963 the starting position; make it extend the marked region when
964 invoked repeatedly - all under appropriate circumstances.
965 Fixes bugs #5525, #10906.
966
9a40b8d4
GM
9672012-03-08 Glenn Morris <rgm@gnu.org>
968
969 * files.el (locate-dominating-file, dir-locals-find-file):
970 Undo 2012-03-06 change.
971
7a08ed35
EZ
9722012-03-07 Eli Zaretskii <eliz@gnu.org>
973
dbbc2e69
SM
974 * international/quail.el (quail-help):
975 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
976 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
977 for the reason.
978
5aca4f71 9792012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
980
981 Avoid superfluous registering of signals. (Bug#10807)
982
983 * notifications.el (notifications-on-action-object)
984 (notifications-on-close-object): New defvars.
985 (notifications-on-action-signal, notifications-on-closed-signal):
986 Unregister the signal if not needed any longer.
987 (notifications-notify): Register `notifications-action-signal' or
988 `notifications-closed-signal', if :on-action or :on-close has been
989 passed as argument.
990
78e8b10a
CY
9912012-03-07 Chong Yidong <cyd@gnu.org>
992
993 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
994 non-X platforms.
995
69481eb8
GM
9962012-03-06 Glenn Morris <rgm@gnu.org>
997
998 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
999 (x-disown-selection-internal, x-get-selection-internal):
1000 Doc fix (add arglist signatures). (Bug#10783)
1001
133b8e11
KS
10022012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1003
1004 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1005 Handle breakpoints with no "type".
1006
99a83064
GM
10072012-03-06 Glenn Morris <rgm@gnu.org>
1008
1009 * files.el (locate-dominating-file): Add optional predicate argument.
1010 (dir-locals-find-file): Make use of above change.
1011
17798e78
TTN
10122012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1013
1014 * info.el (Info-insert-dir): Also try "dir.gz".
1015
eb182446
GM
10162012-03-06 Glenn Morris <rgm@gnu.org>
1017
8f2114ee
GM
1018 * files.el (dir-locals-find-file):
1019 Ignore non-readable or non-regular files. (Bug#10928)
1020
eb182446
GM
1021 * files.el (locate-dominating-file): Doc fix.
1022
24679323
AS
10232012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1024
1025 * calendar/calendar.el (calendar-set-mode-line):
1026 `getenv' returns a string. (Bug#10951)
1027
01d972a9
LL
10282012-03-05 Leo Liu <sdl.web@gmail.com>
1029
109aa8a9
LL
1030 * simple.el (backward-delete-char-untabify): Constrain point to
1031 field (Bug#10939).
1032
01d972a9
LL
1033 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1034
10607bea
CY
10352012-03-05 Chong Yidong <cyd@gnu.org>
1036
1037 * simple.el (count-words): If called from Lisp, return the word
1038 count, for symmetry with `count-lines'. Arglist changed.
1039 (count-words--message): Args changed. Consolidate counting code
1040 from count-words and count-words-region.
1041 (count-words-region): Caller changed.
1042 (count-lines-region): Make it an obsolete alias.
1043
5dd11cfe
TH
10442012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1045
1046 * saveplace.el (save-place-to-alist)
1047 (save-place-ignore-files-regexp): Allow value nil to disable this
1048 feature.
1049
c349f4e6
CY
10502012-03-04 Chong Yidong <cyd@gnu.org>
1051
1052 * faces.el (face-spec-reset-face): For the default face, reset the
1053 attributes to default values (Bug#10748).
1054
e627be4c
LMI
10552012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1056
1057 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1058 previous patch: Check `message-send-mail-function', and not the
1059 default function (bug#10897).
1060
ebeabff4
MA
10612012-03-04 Michael Albinus <michael.albinus@gmx.de>
1062
a41a6cf4
MA
1063 * notifications.el (notifications-on-action-signal)
1064 (notifications-on-closed-signal): Check for unique service name of
1065 incoming event. Fix error in removing entry.
ebeabff4 1066 (top): Register for signals with wildcard service name.
a41a6cf4 1067 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 1068
c1ca42b4
CY
10692012-03-04 Chong Yidong <cyd@gnu.org>
1070
dc9924b8 1071 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 1072
ea16568d
GM
10732012-03-04 Glenn Morris <rgm@gnu.org>
1074
1075 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1076 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1077 (expand-abbrev, define-abbrev-table): Doc fixes.
1078
fbae4637
LMI
10792012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1080
1081 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1082 `message-default-send-mail-function' and not `send-mail-function'
1083 when doing the prompting for `sendmail-query-once' before sending
1084 in Message buffers (bug#10897).
1085
a1e7225c
LMI
1086 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1087 This is inconsistent with all the other stream functions, which leave
1088 the setting up to the higher levels (if so wanted) (bug#10931).
1089
56d093a9
AM
10902012-03-02 Alan Mackenzie <acm@muc.de>
1091
1092 Depessimize the handling of very large macros.
1093
1094 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1095 (c-macro-cache-syntactic): New variables to implement a one
1096 element macro cache.
1097 (c-invalidate-macro-cache): New function.
1098 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1099 Adapt to use the new cache.
1100 (c-state-safe-place): Use better the cache of safe positions.
1101 (c-state-semi-nonlit-pos-cache)
1102 (c-state-semi-nonlit-pos-cache-limit):
1103 New variables for...
1104 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1105 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
1106 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1107 Use c-state-semi-safe-place.
56d093a9 1108
dbbc2e69
SM
1109 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1110 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 1111
817e5c3d
MA
11122012-03-02 Michael Albinus <michael.albinus@gmx.de>
1113
dbbc2e69
SM
1114 * jka-compr.el (jka-compr-call-process):
1115 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
1116 not remote.
1117
a032a702
MA
11182012-03-01 Michael Albinus <michael.albinus@gmx.de>
1119
1120 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1121 access of FILE2, if FILE1 does not exist.
1122
99a54f21
MA
1123 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1124 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1125
1126 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1127 Add "PAGER=" to `process-environment'.
1128
f6561e1f
MM
11292012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1130
1131 * progmodes/sql.el: Bug fix
1132 (sql-get-login-ext): Save login values in globals.
1133 (sql-get-login): Use new version of `sql-get-login-ext'.
1134 (sql-interactive-mode): Set global `sql-connection' to nil.
1135 (sql-connect): Set global values for connection.
1136 (sql-product-interactive): Save global values as buffer local.
1137
2d44d9cc
LL
11382012-02-29 Leo Liu <sdl.web@gmail.com>
1139
1140 * abbrev.el (define-abbrevs): Reset sys to nil.
1141
96b49301 11422012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1143
bf7f9bc5
JB
1144 * files.el (file-equal-p): Rename from `files-equal-p'.
1145 Return nil when one or both files don't exist.
96b49301 1146 (file-subdir-of-p): Now only top directory must exists,
1147 return nil if it doesn't.
bf7f9bc5
JB
1148 (copy-directory): No need to test with `file-subdir-of-p' after
1149 creating dir.
1150 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1151 to `file-equal-p'.
96b49301 1152
44e97401
GM
11532012-02-28 Glenn Morris <rgm@gnu.org>
1154
1155 * shell.el (shell-mode):
1156 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1157 * play/landmark.el (landmark-font-lock-face-O):
1158 * play/handwrite.el (handwrite):
1159 * play/gomoku.el (gomoku-O):
1160 * net/browse-url.el (browse-url-browser-display):
1161 * international/mule.el (define-charset):
1162 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1163 * filesets.el (filesets-find-file-delay):
1164 * eshell/em-xtra.el (eshell-xtra):
1165 * eshell/em-unix.el (eshell-grep):
1166 * emulation/viper.el (viper-mode):
1167 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1168 * emacs-lisp/easymenu.el (easy-menu-define):
1169 * calendar/timeclock.el (timeclock-use-display-time):
1170 * bs.el (bs-mode):
1171 * bookmark.el (bookmark-save-flag):
1172 Doc fix (standardize possessive apostrophe usage).
1173
c98c6276
CY
11742012-02-27 Chong Yidong <cyd@gnu.org>
1175
bf7f9bc5
JB
1176 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1177 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 1178
c98c6276
CY
1179 * font-lock.el (font-lock-specified-p): Rename from
1180 font-lock-spec-present. Callers changed.
1181
9c62cd04 11822012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 1183
bf7f9bc5
JB
1184 * emacs-lisp/package.el (package-compute-transaction):
1185 Handle holding a package version to t in package-load-list.
8ac9e529 1186
530739c9
MA
11872012-02-26 Michael Albinus <michael.albinus@gmx.de>
1188
1189 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1190 (tramp-get-inode, tramp-get-device): Use cached values.
1191
487915d7
AM
11922012-02-26 Alan Mackenzie <acm@muc.de>
1193
1194 Check there is a font-lock specification before doing initial
1195 fontification.
1196
1197 * font-core.el (font-lock-mode): Move the conditional from
1198 :after-hook to font-lock-initial-fontify.
1199 (font-lock-default-function): Move the check for a specification
1200 to font-lock-spec-present.
1201
dc9924b8 1202 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
1203 (font-lock-spec-present): New function.
1204
4fd96557
JB
12052012-02-26 Jim Blandy <jimb@red-bean.com>
1206
1207 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1208 (gdb-send): Apply it to the operand of the '-interpreter-exec
1209 console' command, so that we can pass arguments with (say) quotes
1210 in them. Store exact string sent in gdb-debug-log (Bug#10765).
1211
9a4888c0
CY
12122012-02-26 Chong Yidong <cyd@gnu.org>
1213
07498861
CY
1214 * help-fns.el (describe-function-1): Clarify description of
1215 remapping (Bug#10844).
1216
9a4888c0
CY
1217 * files.el (files-equal-p): Doc fix.
1218 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
1219 and quit the loop once a mismatch is found.
1220
ea8fb88d
JB
12212012-02-25 Juanma Barranquero <lekktu@gmail.com>
1222
1223 * bs.el (bs--show-with-configuration): Don't throw an error
1224 if the window cannot be split; otherwise, subsequent calls to
1225 bs-show fail, restoring a stale window config. (Bug#10882)
1226
525795c1
JD
12272012-02-25 Jan Djärv <jan.h.d@swipnet.se>
1228
1229 * term/ns-win.el (global-map): Bind ns-drag-file to
1230 ns-find-file (Bug#5855, Bug#10050).
1231
f008086f
AS
12322012-02-25 Andreas Schwab <schwab@linux-m68k.org>
1233
1234 * calendar/parse-time.el (parse-time-string): Allow extractor to
1235 return nil.
1236
a3fcfa99
MA
12372012-02-25 Michael Albinus <michael.albinus@gmx.de>
1238
91027d08
JB
1239 * net/tramp.el (tramp-file-name-for-operation):
1240 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
1241
1242 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
1243 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1244 Add COPY-CONTENTS argument.
a3fcfa99 1245
67b0de11
CY
12462012-02-25 Chong Yidong <cyd@gnu.org>
1247
1248 Add custom groups for VC backends, for consistency with vc-bzr.
1249
1250 * vc/vc-arch.el (vc-arch):
1251 * vc/vc-cvs.el (vc-cvs):
1252 * vc/vc-git.el (vc-git):
1253 * vc/vc-hg.el (vc-hg):
1254 * vc/vc-mtn.el (vc-mtn):
1255 * vc/vc-rcs.el (vc-rcs):
1256 * vc/vc-sccs.el (vc-sccs):
1257 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1258 All relevant defcustoms reassigned.
1259
3c9dfce6
CY
12602012-02-25 Chong Yidong <cyd@gnu.org>
1261
1339bf43
CY
1262 * newcomment.el (comment-styles): Add autoload (Bug#10868).
1263
3c9dfce6
CY
1264 * term/x-win.el (x-initialize-window-system): Reduce default for
1265 x-selection-timeout to 5 seconds (Bug#8869).
1266
53a46cd0 12672012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 1268
53a46cd0 1269 * files.el (file-subdir-of-p): Fix typo.
14a8a663 1270
25b2e303 12712012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1272
ec70a47d
GM
1273 * files.el (files-equal-p, file-subdir-of-p): New functions.
1274 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 1275 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
1276 * dired-aux.el (dired-copy-file-recursive): Same.
1277 (dired-create-files): Modify destination when source is equal to
1278 dest when copying files.
53a46cd0 1279 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 1280
914260cd
MA
12812012-02-24 Michael Albinus <michael.albinus@gmx.de>
1282
1283 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1284 (Bug#10874)
1285
2cb228f7
AM
12862012-02-23 Alan Mackenzie <acm@muc.de>
1287
1288 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1289 parameter "after-hook:" to allow the expansion to run code after
1290 the execution of the mode hooks.
1291
1292 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 1293 from font-lock-mode-internal.
2cb228f7 1294
91027d08 1295 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
1296 :after-hook.
1297
8f0fde21
SM
12982012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1299
3e88618b
SM
1300 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1301 (completion--cache-all-sorted-completions): New function.
1302 (completion-all-sorted-completions): Use it.
1303 (completion--do-completion, minibuffer-force-complete):
1304 Use it to re-instate the flush hook.
1305
8f0fde21
SM
1306 * icomplete.el (icomplete-completions): Replace last fix with a better
1307 one (bug#10850).
1308
8e911f6f
DG
13092012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1310
1311 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1312 when it might call us back infinitely (bug#10797).
1313
49fe4321
GM
13142012-02-23 Glenn Morris <rgm@gnu.org>
1315
1316 * minibuffer.el (completion-category-overrides): Doc fix.
1317
b291b572
SM
13182012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1319
1320 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1321 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1322
31a9ef2e
GM
13232012-02-23 Glenn Morris <rgm@gnu.org>
1324
5e6e6794 1325 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
1326 (authors-obsolete-files-regexps, authors-ignored-files)
1327 (authors-ambiguous-files, authors-renamed-files-alist):
1328 Add more entries.
1329
0bd1e074
JL
13302012-02-23 Juri Linkov <juri@jurta.org>
1331
1332 * isearch.el (isearch-occur): Sync interactive spec with occur's
1333 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1334
b617673c
JL
1335 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1336
19e9789e
JL
13372012-02-22 Juri Linkov <juri@jurta.org>
1338
1339 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1340 (ucs-insert): Doc fix. Check for hex digits in the string.
1341 Don't display `nil' in the error message. (Bug#10857)
1342
f41ce09d
AM
13432012-02-22 Alan Mackenzie <acm@muc.de>
1344
7a71b18d 1345 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 1346
ac2eceee
GM
13472012-02-22 Glenn Morris <rgm@gnu.org>
1348
1349 * ffap.el (ffap-c-path):
1350 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1351
abd1f678
CY
13522012-02-22 Chong Yidong <cyd@gnu.org>
1353
1354 * custom.el (load-theme): Doc fix.
1355
f25aef2e
GM
13562012-02-22 Glenn Morris <rgm@gnu.org>
1357
1358 * dired-x.el (dired-guess-shell-alist-default):
1359 Remove escape sequences from nroff output. (Bug#172)
1360
5f8dc2ca
GM
13612012-02-21 Glenn Morris <rgm@gnu.org>
1362
6ff86ec4
GM
1363 * vc/emerge.el (emerge-defvar-local):
1364 Set `permanent-local' property rather than unused `preserved'.
1365
be3223a3 1366 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
1367 (picture-mode-map): Use it. (Bug#10860)
1368 (picture-mode): Doc fix.
1369
3fe58f4f
JB
13702012-02-21 Juanma Barranquero <lekktu@gmail.com>
1371
1372 * newcomment.el (uncomment-region-default): Remove unused binding.
1373
f9a998c3
GM
13742012-02-21 Glenn Morris <rgm@gnu.org>
1375
1376 * textmodes/picture.el (picture-motion, picture-motion-reverse)
1377 (picture-self-insert, picture-tab-chars): Doc fix.
1378 (picture-mode-map): Fix C-a, C-e.
1379
c6029348
GM
13802012-02-20 Glenn Morris <rgm@gnu.org>
1381
1382 * emacs-lisp/authors.el (authors-aliases): Add another entry.
1383
ab1ce9d7
LL
13842012-02-20 Leo Liu <sdl.web@gmail.com>
1385
1386 * icomplete.el (icomplete-completions): Check FROM arg before
1387 passing to substring (Bug#10850).
1388
0fd40f89
CY
13892012-02-19 Chong Yidong <cyd@gnu.org>
1390
1391 * comint.el: Require ansi-color.
1392 (comint-output-filter-functions): Add ansi-color-process-output.
1393
1394 * ansi-color.el: Don't set comint-output-filter-functions; it is
1395 now in the initial value defined in comint.el.
1396 (ansi-color-apply-face-function): New variable.
1397 (ansi-color-apply-on-region): Use it.
1398 (ansi-color-apply-overlay-face): New function.
1399
1400 * shell.el (shell): No need to require ansi-color.
1401 (shell-mode): Use ansi-color-apply-face-function to highlight
1402 color escapes using font-lock-face property (Bug#10835).
1403
20af2394
CY
14042012-02-19 Chong Yidong <cyd@gnu.org>
1405
1406 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1407 mode-line formats (Bug#10839).
1408
e23a3fbe
GM
14092012-02-18 Glenn Morris <rgm@gnu.org>
1410
b474519e
GM
1411 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1412
1413 * mail/undigest.el (unforward-rmail-message): Doc fix.
1414
e23a3fbe
GM
1415 * saveplace.el (save-place-ignore-files-regexp): Add :version.
1416
57939ff4
EZ
14172012-02-18 Eli Zaretskii <eliz@gnu.org>
1418
1419 * international/characters.el (script-list): Sync with the latest
1420 Unicode Character Database.
1421
0c23686e
AS
14222012-02-18 Andreas Schwab <schwab@linux-m68k.org>
1423
1424 * international/titdic-cnv.el: Remove duplicate coding tag.
1425 * language/cham.el: Likewise.
1426 * language/tai-viet.el: Likewise.
1427
6818b449
GM
14282012-02-18 Glenn Morris <rgm@gnu.org>
1429
1430 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1431 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1432 (calendar-bahai-all-holidays-flag, calendar-other-dates):
1433 * calendar/diary-lib.el (diary-abbreviated-year-flag):
1434 * calendar/holidays.el (holiday-bahai-holidays)
1435 (calendar-holidays, list-holidays):
1436 Use utf-8 Bahá'í in doc-strings, menus, etc.
1437
0311a3fc
TH
14382012-02-17 Tassilo Horn <tassilo@member.fsf.org>
1439
1440 * saveplace.el (save-place-ignore-files-regexp): New variable
1441 allowing for excluding files from saving their location of point.
1442 The default value matches the temporary commit message editing
1443 files from Git, SVN, Bazaar, and Mercurial.
1444 (save-place-to-alist): Use it.
1445
eb864a71
LM
14462012-02-17 Lawrence Mitchell <wence@gmx.li>
1447 Stefan Monnier <monnier@iro.umontreal.ca>
1448
1449 * newcomment.el (uncomment-region-default): Don't leave extra space
1450 when an arg is provided (bug#8150).
1451
ee0ce425
TZ
14522012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1453
eb864a71 1454 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 1455
95ddf442
GM
14562012-02-17 Glenn Morris <rgm@gnu.org>
1457
1458 * net/socks.el: Require network-stream. (Bug#10599)
1459
48dd1e39 14602012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
1461
1462 * international/charprop.el:
1463 * international/uni-name.el:
1464 * international/uni-old-name.el:
1465 * international/uni-comment.el: Regenerate.
1466
d68cd087
GM
14672012-02-16 Glenn Morris <rgm@gnu.org>
1468
1469 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1470 Interactively in calendar buffer, give an error if not on a date.
1471
13932042
GM
14722012-02-15 Glenn Morris <rgm@gnu.org>
1473
1474 * shell.el (shell-delimiter-argument-list):
1475 Revert 2011-02-17 change. (Bug#8027)
1476
c3a70e2b
CY
14772012-02-15 Chong Yidong <cyd@gnu.org>
1478
60236b0d
CY
1479 * minibuffer.el (completion-at-point-functions): Doc fix.
1480
c3a70e2b
CY
1481 * custom.el (defcustom): Doc fix; note use of defvar.
1482
9f26dc24
GM
14832012-02-15 Glenn Morris <rgm@gnu.org>
1484
1485 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1486 Doc fixes.
1487
6546b134
GM
14882012-02-14 Glenn Morris <rgm@gnu.org>
1489
1490 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1491
d29b2b4c
LI
14922012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
1493
1494 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1495 way the ports list is computed.
835bdcba
LI
1496 (smtpmail-query-smtp-server): Prompt the user for a port number if
1497 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 1498
08dcdbc9
TZ
14992012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
1500
1501 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1502
2605051a
GM
15032012-02-13 Glenn Morris <rgm@gnu.org>
1504
1505 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
1506
7ee99f32
TZ
15072012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1508
1509 * net/gnutls.el (gnutls-trustfiles): New variable.
1510 (gnutls-negotiate): Use it.
1511
5f0af64f
LI
15122012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1513
1514 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1515 does its stuff if Gnus is running.
1516
c14fcc95
AM
15172012-02-13 Alan Mackenzie <acm@muc.de>
1518
1519 Fix a loop in c-set-fl-decl-start.
1520
7a71b18d 1521 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
1522 c-backward-syntactic-ws actually moves backwards.
1523
142b4d90
LL
15242012-02-13 Leo Liu <sdl.web@gmail.com>
1525
1526 * net/rcirc.el (rcirc-markup-attributes): Move point to the
1527 beginning so that all \C-o chars are removed.
1528
fa9958a6
TZ
15292012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1530
dc9924b8 1531 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 1532
0bc5886a
AM
15332012-02-12 Alan Mackenzie <acm@muc.de>
1534
1535 Fix infinite loop with long macros.
1536 * cc-engine.el (c-state-safe-place): Handle macros properly.
1537
d4bd55e7
CY
15382012-02-12 Chong Yidong <cyd@gnu.org>
1539
1540 * window.el (display-buffer): Doc fix (Bug#10785).
1541
66f3fe22
GM
15422012-02-12 Glenn Morris <rgm@gnu.org>
1543
bd7da63e
GM
1544 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1545 (x-disown-selection-internal, x-get-selection-internal):
1546 Sync docs with the xselect.c versions.
1547
66f3fe22
GM
1548 * allout-widgets.el: Add missing license notice.
1549
3e0d2fa7
GM
15502012-02-11 Glenn Morris <rgm@gnu.org>
1551
cfecdf09
GM
1552 * select.el (x-get-selection-internal, x-own-selection-internal)
1553 (x-disown-selection-internal):
1554 * x-dnd.el (x-get-selection-internal): Update declarations.
1555
6d216d7f
GM
1556 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1557
2bed3f04
GM
1558 * window.el (window-sides-slots):
1559 * tool-bar.el (tool-bar-position):
1560 * term/xterm.el (xterm-extra-capabilities):
1561 * ses.el (ses-self-reference-early-detection):
1562 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1563 (verilog-auto-wire-type)
1564 (verilog-auto-delete-trailing-whitespace)
1565 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1566 (verilog-auto-tieoff-declaration):
1567 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1568 (sql-oracle-statement-starters, sql-oracle-scan-on):
1569 * progmodes/prolog.el (prolog-align-comments-flag)
1570 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1571 (prolog-left-indent-regexp, prolog-paren-indent-p)
1572 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1573 (prolog-types, prolog-mode-specificators)
1574 (prolog-determinism-specificators, prolog-directives)
1575 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1576 (prolog-electric-dot-flag)
1577 (prolog-electric-dot-full-predicate-template)
1578 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1579 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1580 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1581 (prolog-program-switches, prolog-prompt-regexp)
1582 (prolog-debug-on-string, prolog-debug-off-string)
1583 (prolog-trace-on-string, prolog-trace-off-string)
1584 (prolog-zip-on-string, prolog-zip-off-string)
1585 (prolog-use-standard-consult-compile-method-flag)
1586 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1587 (prolog-imenu-max-lines, prolog-info-predicate-index)
1588 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1589 (prolog-char-quote-workaround):
1590 * progmodes/cc-vars.el (c-defun-tactic):
1591 * net/tramp.el (tramp-encoding-command-interactive)
1592 (tramp-local-end-of-line):
1593 * net/soap-client.el (soap-client):
1594 * net/netrc.el (netrc-file):
1595 * net/gnutls.el (gnutls):
1596 * minibuffer.el (completion-category-overrides)
1597 (completion-cycle-threshold)
1598 (completion-pcm-complete-word-inserts-delimiters):
1599 * man.el (Man-name-local-regexp):
1600 * mail/feedmail.el (feedmail-display-full-frame):
1601 * international/characters.el (glyphless-char-display-control):
1602 * eshell/em-ls.el (eshell-ls-date-format):
1603 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1604 (lisp-lambda-list-keyword-parameter-indentation)
1605 (lisp-lambda-list-keyword-parameter-alignment):
1606 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1607 * dired-x.el (dired-omit-verbose):
1608 * cus-theme.el (custom-theme-allow-multiple-selections):
1609 * calc/calc.el (calc-highlight-selections-with-faces)
1610 (calc-lu-field-reference, calc-lu-power-reference)
1611 (calc-note-threshold):
1612 * battery.el (battery-mode-line-limit):
1613 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1614 (archive-7z-update):
1615 * allout.el (allout-prefixed-keybindings)
1616 (allout-unprefixed-keybindings)
1617 (allout-inhibit-auto-fill-on-headline)
1618 (allout-flattened-numbering-abbreviation):
1619 * allout-widgets.el (allout-widgets-auto-activation)
1620 (allout-widgets-icons-dark-subdir)
1621 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1622 (allout-widgets-theme-dark-background)
1623 (allout-widgets-theme-light-background)
1624 (allout-widgets-item-image-properties-emacs)
1625 (allout-widgets-item-image-properties-xemacs)
1626 (allout-widgets-run-unit-tests-on-load)
1627 (allout-widgets-time-decoration-activity)
1628 (allout-widgets-hook-error-post-time)
1629 (allout-widgets-track-decoration):
1630 Add missing :version tags to new defcustoms and defgroups.
1631
5fec1b8e
GM
1632 * progmodes/sql.el (sql-ansi-statement-starters)
1633 (sql-oracle-statement-starters): Add custom type.
1634
3e0d2fa7
GM
1635 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1636 (prolog-system-version): Give it a type.
1637
90b671e2
EZ
16382012-02-11 Eli Zaretskii <eliz@gnu.org>
1639
1640 * term/pc-win.el (x-select-text, x-selection-owner-p)
1641 (x-own-selection-internal, x-disown-selection-internal)
1642 (x-get-selection-internal): Sync doc strings and argument lists
1643 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1644
5eac0c02
LL
16452012-02-11 Leo Liu <sdl.web@gmail.com>
1646
1647 * progmodes/python.el (python-end-of-statement): Fix infinite
1648 loop. (Bug#10788)
1649
f82cb659
GM
16502012-02-10 Glenn Morris <rgm@gnu.org>
1651
1652 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1653 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1654
cc26d239
LI
16552012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1656
1657 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1658 about SMTP before checking the From header.
1659
91027d08 1660 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
1661 into own function for reuse by emacsbug.el.
1662
1be3ca5a
LL
16632012-02-10 Leo Liu <sdl.web@gmail.com>
1664
1665 * subr.el (condition-case-unless-debug): Rename from
1666 condition-case-no-debug. All callers changed.
1667 (with-demoted-errors): Fix caller.
1668
1669 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1670 * nxml/rng-valid.el (rng-do-some-validation):
1671 * emacs-lisp/package.el (package-refresh-contents)
1672 (package-menu-execute):
1673 * desktop.el (desktop-create-buffer):
91027d08 1674 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 1675
b011fbfe
GM
16762012-02-10 Glenn Morris <rgm@gnu.org>
1677
b2096d72
GM
1678 * textmodes/bibtex.el:
1679 Add missing :version tags for new/changed defcustoms.
1680
b011fbfe
GM
1681 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1682
4c7e65bf
LI
16832012-02-09 Lars Ingebrigtsen <larsi@rusty>
1684
1685 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1686 (smtpmail-via-smtp): Use it, or fall back on the From address.
1687 (smtpmail-send-it): Ditto.
1688
f3934f6f
SM
16892012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1690
1691 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1692 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1693 (byte-compile-tmp-var): New const.
1694 (byte-compile-defvar): Use it to minimize .elc size.
1695 Just use `defvar' rather than simulate it (bug#10761).
1696
a075a2c5
GM
16972012-02-09 Glenn Morris <rgm@gnu.org>
1698
cf3aa21b
GM
1699 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1700
354998cd
GM
1701 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1702 Add :version tags.
1703
dc9924b8
SM
1704 * progmodes/compile.el (compilation-error-screen-columns)
1705 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 1706
dab3703d
GM
1707 * vc/log-view.el (log-view-toggle-entry-display):
1708 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1709
3f88cd72
GM
1710 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1711 (report-emacs-bug-can-use-xdg-email):
1712 (report-emacs-bug-insert-to-mailer): Doc fixes.
1713 (report-emacs-bug): Message fix.
1714
d95b247d
GM
1715 * net/browse-url.el (browse-url-can-use-xdg-open)
1716 (browse-url-xdg-open): Doc fixes.
1717
a075a2c5
GM
1718 * electric.el (electric-indent-mode, electric-pair-mode)
1719 (electric-layout-rules, electric-layout-mode): Doc fixes.
1720 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1721
ffb6157e
MR
17222012-02-08 Martin Rudalics <rudalics@gmx.at>
1723
1724 * server.el (server-unselect-display): Don't inadvertently kill
1725 the current buffer. (Bug#10729)
1726
e1ac4066
GM
17272012-02-08 Glenn Morris <rgm@gnu.org>
1728
34e8a2da
GM
1729 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1730 (sql-list-table): Doc fixes.
1731
b4ac6e8c
GM
1732 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1733 Comment out (does nothing).
1734
e1ac4066
GM
1735 * completion.el (dynamic-completion-mode):
1736 * dirtrack.el (dirtrack-debug-mode):
1737 * electric.el (electric-layout-mode):
1738 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1739 * face-remap.el (text-scale-mode, buffer-face-mode):
1740 * iimage.el (iimage-mode):
1741 * image-mode.el (image-transform-mode):
1742 * minibuffer.el (completion-in-region-mode):
1743 * scroll-lock.el (scroll-lock-mode):
1744 * simple.el (next-error-follow-minor-mode):
1745 * tar-mode.el (tar-subfile-mode):
1746 * tooltip.el (tooltip-mode):
1747 * vcursor.el (vcursor-use-vcursor-map):
1748 * wid-browse.el (widget-minor-mode):
1749 * emulation/tpu-edt.el (tpu-edt-mode):
1750 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1751 * international/iso-ascii.el (iso-ascii-mode):
1752 * language/thai-util.el (thai-word-mode):
1753 * mail/supercite.el (sc-minor-mode):
1754 * net/goto-addr.el (goto-address-mode):
1755 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1756 * progmodes/cwarn.el (cwarn-mode):
1757 * progmodes/flymake.el (flymake-mode):
1758 * progmodes/glasses.el (glasses-mode):
1759 * progmodes/hideshow.el (hs-minor-mode):
1760 * progmodes/pascal.el (pascal-outline-mode):
1761 * textmodes/enriched.el (enriched-mode):
1762 * vc/smerge-mode.el (smerge-mode):
1763 Doc fixes (minor mode argument).
1764
5e0d957f
EZ
17652012-02-07 Eli Zaretskii <eliz@gnu.org>
1766
1767 * ls-lisp.el (ls-lisp-sanitize): New function.
1768 (ls-lisp-insert-directory): Use it to fix or remove any elements
1769 in file-alist with missing attributes. (Bug#4673)
1770
98d7371e
AM
17712012-02-07 Alan Mackenzie <acm@muc.de>
1772
1773 Fix spurious recognition of c-in-knr-argdecl.
1774
1775 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1776 putative K&R region.
1777
667ced3a
AM
17782012-02-07 Alan Mackenzie <acm@muc.de>
1779
eb864a71
LM
1780 * progmodes/cc-engine.el (c-forward-objc-directive):
1781 Prevent looping in "#pragma mark @implementation".
667ced3a 1782
5b77774d
MA
17832012-02-07 Michael Albinus <michael.albinus@gmx.de>
1784
1785 * notifications.el (notifications-on-closed-signal): Make `reason'
1786 optional. (Bug#10744)
1787
af008560
GM
17882012-02-07 Glenn Morris <rgm@gnu.org>
1789
60d47423
GM
1790 * emacs-lisp/easy-mmode.el (define-minor-mode):
1791 Doc fixes for the macro and the mode it defines.
1792
dd605cc4
GM
1793 * image.el (imagemagick-types-inhibit): Doc fix.
1794
af008560
GM
1795 * cus-start.el (imagemagick-render-type): Add it.
1796
5cc59a37
LI
17972012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1798
1799 * progmodes/cc-mode.el
1800 (c-standard-font-lock-fontify-region-function): Set the default at
1801 load time, too, so that `font-lock-fontify-buffer' can be called
1802 without setting up the entire mode first. This fixes a bug in
1803 `mm-inline-text' with C MIME parts.
1804
9a6dd747
CY
18052012-02-06 Chong Yidong <cyd@gnu.org>
1806
2d16b285
CY
1807 * simple.el (list-processes--refresh): Delete exited processes
1808 (Bug#8094).
1809
171e9b6e
CY
1810 * comint.el (comint-next-prompt): next-single-char-property-change
1811 and prev-single-char-property-change never return nil (Bug#8657).
1812
9a6dd747
CY
1813 * custom.el (defcustom): Doc fix (Bug#9711).
1814
aa4589a7
CY
18152012-02-05 Chong Yidong <cyd@gnu.org>
1816
5c2a252f
CY
1817 * cus-edit.el (custom-variable-reset-backup): Quote the value
1818 before storing it in the customized-value property (Bug#6712).
4aab9006 1819 (custom-display): Add a customization type tag.
983b9602 1820 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 1821
aa4589a7
CY
1822 * wid-edit.el (widget-field-value-get): New optional arg to
1823 suppress trailing whitespace truncation.
1824 (character): Use it (Bug#2689).
1825
1ff980ae
AS
18262012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1827
1828 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1829 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1830
03988c98
CY
18312012-02-05 Chong Yidong <cyd@gnu.org>
1832
eeb6cc88
CY
1833 * cus-edit.el (custom-variable-value-create): For mismatched
1834 types, show the current value (Bug#7600).
1835
03988c98
CY
1836 * custom.el (defcustom): Doc fix.
1837
f8cdeef0
GM
18382012-02-05 Glenn Morris <rgm@gnu.org>
1839
1840 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1841
0696d255
JB
18422012-02-05 Juanma Barranquero <lekktu@gmail.com>
1843
1844 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1845 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1846 (pp-last-sexp): Use `looking-at-p'.
1847
34c99998
GM
18482012-02-04 Glenn Morris <rgm@gnu.org>
1849
8f05da42
GM
1850 * files.el (revert-buffer):
1851 Doc fix (mention revert-buffer-in-progress-p).
1852
f160676e
GM
1853 * emacs-lisp/ert-x.el (ert-simulate-command):
1854 Check deferred-action-list (which is obsolete) is bound.
1855
c7291ad9
GM
1856 * subr.el (with-wrapper-hook): Doc fixes.
1857
34c99998
GM
1858 * simple.el (filter-buffer-substring-functions)
1859 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1860
6283a7d3
LL
18612012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1862
1863 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1864 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1865
e96e3013
LL
18662012-02-04 Leo Liu <sdl.web@gmail.com>
1867
1868 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1869
8ded50f2
GM
18702012-02-04 Glenn Morris <rgm@gnu.org>
1871
82ff1d13
GM
1872 * image.el (image-extension-data): Add obsolete alias.
1873
987a0a16
GM
1874 * isearch.el (isearch-update): Doc fix.
1875
ea32ef46
GM
1876 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1877
8ded50f2
GM
1878 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1879
eea14f31
GM
18802012-02-03 Glenn Morris <rgm@gnu.org>
1881
1882 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1883 (image-animate-timeout): Doc fix.
1884
1885 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1886
12f381b7
GM
18872012-02-02 Glenn Morris <rgm@gnu.org>
1888
953cebf5
GM
1889 * server.el (server-auth-dir): Doc fix.
1890 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1891
12f381b7
GM
1892 * subr.el (run-mode-hooks): Doc fix.
1893
953a8c3b
JL
18942012-02-02 Juri Linkov <juri@jurta.org>
1895
1896 * image-mode.el (image-toggle-display-image): Remove tautological
1897 `major-mode' from the `derived-mode-p' test.
1898
c5d3843c
KH
18992012-02-02 Kenichi Handa <handa@m17n.org>
1900
9f6e692e 1901 * composite.el (compose-region): Cancel previous change.
c5d3843c 1902
159462d4 19032012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
1904
1905 * composite.el (compose-region, compose-string): Signal error for
1906 a null string component (Bug#6988).
1907
9f562668
CY
19082012-02-01 Chong Yidong <cyd@gnu.org>
1909
e2cef717
CY
1910 * view.el (view-buffer-other-window, view-buffer-other-frame):
1911 Handle special modes like view-buffer (Bug#10650).
1912 (view-buffer): Simplify.
1913
9f562668
CY
1914 * frame.el (set-frame-font): Tweak meaning of third argument.
1915
9f6e692e
JB
1916 * dynamic-setting.el (font-setting-change-default-font):
1917 Use set-frame-font (Bug#9982).
9f562668 1918
781acb9f
GM
19192012-02-01 Glenn Morris <rgm@gnu.org>
1920
6035be52
GM
1921 * progmodes/compile.el (compilation-internal-error-properties):
1922 Respect compilation-first-column in the "*compilation*" buffer.
1923
781acb9f
GM
1924 * emacs-lisp/easy-mmode.el (define-minor-mode):
1925 Relax :variable's test for a named function.
1926
abbceb00
AM
19272012-01-31 Alan Mackenzie <acm@muc.de>
1928
1929 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1930 off by one error.
1931
fce3fdeb
CY
19322012-01-31 Chong Yidong <cyd@gnu.org>
1933
1934 * frame.el (set-frame-font): New arg ALL-FRAMES.
1935
1936 * menu-bar.el (menu-set-font): Use set-frame-font.
1937
1938 * faces.el (face-spec-reset-face): Don't apply unspecified
1939 attribute values to the default face.
1940
47893581
JB
19412012-01-31 Juanma Barranquero <lekktu@gmail.com>
1942
1943 * progmodes/cwarn.el (cwarn): Remove dead link.
1944 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1945 Remove * from defcustom docstrings.
1946 (turn-on-cwarn-mode): Make obsolete.
1947 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1948 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1949
e58e988a
GM
19502012-01-31 Glenn Morris <rgm@gnu.org>
1951
60dc2671 1952 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 1953 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 1954 Allow named functions to be used as the cdr of :variable.
e58e988a 1955
7a3f511d
GM
19562012-01-30 Glenn Morris <rgm@gnu.org>
1957
1958 * emacs-lisp/authors.el (authors-fixed-entries):
1959 Remove reference to deleted file rnewspost.el.
1960
cb882333
JB
19612012-01-29 Juanma Barranquero <lekktu@gmail.com>
1962
1963 * window.el (window-with-parameter): Remove unused variable `windows'.
1964 (window--side-check): Remove unused variable `code'.
1965 (window--resize-siblings): Remove unused variable `first'.
1966 (adjust-window-trailing-edge): Remove unused variable `failed'.
1967 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1968 Use `let', not `let*'.
1969 (balance-windows-2): Remove unused variable `found'.
1970 (window--state-put-2): Remove unused variable `splits'.
1971 (window-state-put): Remove unused variable `selected'.
1972 (same-window-p): Use `string-match-p'.
1973 (display-buffer-assq-regexp): Remove unused variable `value'.
1974 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1975 Mark argument ALIST as ignored.
1976 (pop-to-buffer): Remove unused variable `old-window'.
1977
907201af
EZ
19782012-01-29 Eli Zaretskii <eliz@gnu.org>
1979
1980 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1981 and .lzma compressed files.
1982
ea162670
CY
19832012-01-29 Chong Yidong <cyd@gnu.org>
1984
5b95ee8a
CY
1985 * frame.el (window-system-default-frame-alist): Doc fix.
1986
ea162670
CY
1987 * dynamic-setting.el (font-setting-change-default-font): Don't
1988 change the default face if SET-FONT argument is non-nil (Bug#9982).
1989
d6e6f4b1
SB
19902012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
1991
1992 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1993
0f29fa41 19942012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
1995
1996 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1997 breakpoints in files outside current directory (Bug#6098).
1998
db174434
CY
19992012-01-29 Chong Yidong <cyd@gnu.org>
2000
6b25e4e2
SE
2001 * progmodes/python.el: Require ansi-color at top-level.
2002
6df6ae42
JB
2003 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2004 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
2005 (lisp-mode-abbrev-table): Add doc.
2006 (lisp-mode-variables): Don't set local-abbrev-table.
2007 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2008
e70ee681
RW
20092012-01-28 Roland Winkler <winkler@gnu.org>
2010
2011 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2012
ace88aa2
RW
20132012-01-28 Roland Winkler <winkler@gnu.org>
2014
2015 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2016 (bibtex-set-dialect): Use it. Either set global values of
2017 dialect-dependent variables or bind these variables buffer-locally
2018 (Bug#10254).
2019 (bibtex-mode): Call bibtex-set-dialect via
2020 hack-local-variables-hook.
eb864a71
LM
2021 (bibtex-dialect): Update docstring.
2022 Add safe-local-variable predicate.
ace88aa2
RW
2023 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2024 bibtex-set-dialect.
2025 (bibtex-mode-map): Define menu for each dialect.
2026 (bibtex-entry): Fix docstring.
2027
93376c5b
CY
20282012-01-28 Chong Yidong <cyd@gnu.org>
2029
2030 * eshell/esh-arg.el (eshell-quote-argument): New function.
2031
2032 * eshell/esh-ext.el (eshell-invoke-batch-file):
2033 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2034 first arg to eshell-parse-command (Bug#10523).
2035
4372494f
DA
20362012-01-28 Drew Adams <drew.adams@oracle.com>
2037
2038 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2039 `default-directory' is non-nil.
2040
4d4ec1f8
EZ
20412012-01-28 Eli Zaretskii <eliz@gnu.org>
2042
2043 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2044 line that displays system-configuration-options. (Bug#9924)
2045
7c188927
DA
20462012-01-28 Drew Adams <drew.adams@oracle.com>
2047
2048 * descr-text.el (describe-char): Show information about POS, in
2049 addition to information about the character at POS. Improve and
2050 update the doc string. Change "code point" to "code point in
2051 charset", to avoid confusion with the character's Unicode code
2052 point shown above that. (Bug#10129)
2053
e0da685a
EZ
20542012-01-28 Eli Zaretskii <eliz@gnu.org>
2055
2056 * descr-text.el (describe-char): Show the raw character, not only
2057 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2058 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2059 for the reasons.
2060
70550acf
PH
20612012-01-28 Phil Hagelberg <phil@hagelb.org>
2062
eb864a71
LM
2063 * emacs-lisp/package.el (package-install):
2064 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 2065
0ce8e868
CY
20662012-01-28 Chong Yidong <cyd@gnu.org>
2067
cb882333
JB
2068 * emacs-lisp/package.el (package-maybe-load-descriptor):
2069 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
2070 (package-maybe-load-descriptor): Use it.
2071 (package-download-transaction): Fully load required packages
2072 inside the loop, so that `require' calls work (Bug#10593).
2073 (package-install): No need to call package-initialize now.
2074
2e7f3bea
CY
20752012-01-28 Chong Yidong <cyd@gnu.org>
2076
6e9bad14
CY
2077 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2078
f823b8ca
CY
2079 * tooltip.el (tooltip-mode): Doc fix.
2080 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2081
2680c309
CY
2082 * frame.el (set-cursor-color): Doc fix (Bug#352).
2083
d7a9e63b
CY
2084 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2085 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2086
2e7f3bea
CY
2087 * cus-edit.el (custom-buffer-create-internal): Fix search button
2088 action (Bug#10542).
2ae01800 2089 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 2090
fc4f7a23
EW
20912012-01-27 Eduard Wiebe <usenet@pusto.de>
2092
2093 * dired.el (dired-mark-files-regexp):
2094 Include any subdirectory components. (Bug#10445)
2095
7dd37071
ML
20962012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2097
2098 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2099 Handle [host]:port syntax. (Bug#10533)
2100
a268160b
AH
21012012-01-27 Alex Harsanyi <harsanyi@mac.com>
2102
2103 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2104
e43273ef
GM
21052012-01-26 Glenn Morris <rgm@gnu.org>
2106
2107 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2108 * term.el (term-raw-escape-map): Use Control-X-prefix.
2109 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2110
1edf595d
MR
21112012-01-25 Martin Rudalics <rudalics@gmx.at>
2112
2113 * window.el (window-state-get, window--state-get-1): Don't deal
2114 with fixed-sizeness of windows. Simplify code.
2115
fa8eafef
JC
21162012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2117
6df6ae42
JB
2118 * window.el (window--state-get-1, window--state-put-2):
2119 Don't save and restore the mark.
fa8eafef 2120
0b21c100
CY
21212012-01-25 Chong Yidong <cyd@gnu.org>
2122
2123 * custom.el (custom-variable-p): Doc fix.
2124
5ae1a6c8
GM
21252012-01-25 Glenn Morris <rgm@gnu.org>
2126
40047858
GM
2127 * dired.el (dired-goto-file): Handle some of the more common
2128 characters that `ls -b' escapes. (Bug#10596)
2129
5ddce96c
GM
2130 * progmodes/compile.el (compilation-next-error-function):
2131 Respect compilation-first-column in the "*compilation*" buffer.
2132 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2133
5ae1a6c8
GM
2134 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2135
b559f1a9
GM
21362012-01-24 Glenn Morris <rgm@gnu.org>
2137
2138 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2139
6725d21a
JD
21402012-01-24 Julien Danjou <julien@danjou.info>
2141
2142 * color.el (color-rgb-to-hsl): Fix value computing.
2143 (color-hue-to-rgb): New function.
2144 (color-hsl-to-rgb): New function.
2145 (color-clamp, color-saturate-hsl, color-saturate-name)
2146 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2147 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2148
70df4bbe
GM
21492012-01-24 Glenn Morris <rgm@gnu.org>
2150
2151 * vc/vc-rcs.el (vc-rcs-create-tag):
2152 * vc/vc-sccs.el (vc-sccs-create-tag):
2153 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2154
802a2ae2
ML
21552012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2156
2157 * eshell/esh-util.el (eshell-read-hosts-file):
2158 Skip comment lines. (Bug#10549)
2159
d7128bb1
ML
2160 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2161
d1a5c3b4
JB
21622012-01-23 Juanma Barranquero <lekktu@gmail.com>
2163
2724d9c7
JB
2164 * subr.el (display-delayed-warnings): Doc fix.
2165 (collapse-delayed-warnings): New function to collapse identical
2166 adjacent warnings.
2167 (delayed-warnings-hook): Add it.
d1a5c3b4 2168
a5509865
MA
21692012-01-22 Michael Albinus <michael.albinus@gmx.de>
2170
2171 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2172
2173 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2174 properties, when "login-as" is set.
2175
2176 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2177 (tramp-default-user-alist): Don't add "pscp".
2178 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2179 property "login-as", if set. (Bug#10530)
2180
cc6d5805
MA
21812012-01-21 Michael Albinus <michael.albinus@gmx.de>
2182
2183 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2184 "plink1" and "psftp". (Bug#10530)
2185
21862012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
2187
2188 * international/mule-cmds.el (prefer-coding-system): Show a
2189 warning message if the default value of file-name-coding-system
2190 was not changed.
2191
f0960428
JC
21922012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2193
cb882333
JB
2194 * windmove.el (windmove-reference-loc):
2195 Fix windmove-reference-loc miscalculation.
f0960428 2196
dd6f2a63
JB
21972012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2198
2199 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2200 default unit.
2201
7b447e9b
GM
22022012-01-21 Glenn Morris <rgm@gnu.org>
2203
117a9ea1
GM
2204 * international/mule.el (auto-coding-alist): Add .tbz.
2205
7b447e9b
GM
2206 * files.el (local-enable-local-variables): Doc fix.
2207 (inhibit-local-variables-regexps): Rename from
2208 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
2209 Doc fix. Add some extensions from auto-coding-alist.
2210 (inhibit-local-variables-suffixes):
2211 Rename from inhibit-first-line-modes-suffixes. Doc fix.
2212 (inhibit-local-variables-p):
2213 New function, extracted from set-auto-mode-1.
2214 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
2215 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
2216 (hack-local-variables): Doc fix. Make the mode-only case
2217 respect enable-local-variables and friends.
2218 Respect inhibit-local-variables-regexps for file-locals, but
2219 not for directory-locals.
2220 (set-visited-file-name):
2221 Take account of inhibit-local-variables-regexps.
2222 Whether it applies may change as the file name is changed.
2223 * jka-cmpr-hook.el (jka-compr-install):
2224 * jka-compr.el (jka-compr-uninstall):
2225 Update for inhibit-first-line-modes-suffixes name change.
2226
dd6e3cdd
MR
22272012-01-20 Martin Rudalics <rudalics@gmx.at>
2228
2229 * help-macro.el (make-help-screen): Temporarily restore original
2230 binding for minor-mode-map-alist (Bug#10454).
2231
0d0deb38
JD
22322012-01-19 Julien Danjou <julien@danjou.info>
2233
2234 * color.el (color-name-to-rgb): Use the white color to find the max
2235 color component value and return correctly computed values.
2236 (color-name-to-rgb): Add missing float conversion for max value.
2237
34a02f46
MR
22382012-01-19 Martin Rudalics <rudalics@gmx.at>
2239
2240 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
2241 special state value for window-persistent-parameters.
2242 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
2243 (window--state-put-2): Reset all window parameters to nil before
2244 assigning values of persistent parameters.
2245
606c44c4
AM
22462012-01-18 Alan Mackenzie <acm@muc.de>
2247
2248 Eliminate sluggishness and hangs in fontification of "semicolon
2249 deserts".
2250
cb882333
JB
2251 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2252 Change value 10000 -> 3000.
606c44c4
AM
2253 (c-state-safe-place): Reformulate so it doesn't stack up an
2254 infinite number of wrong entries in c-state-nonlit-pos-cache.
2255 (c-determine-limit-get-base, c-determine-limit): New functions to
2256 determine backward search limits disregarding literals.
2257 (c-find-decl-spots): Amend commenting.
2258 (c-cheap-inside-bracelist-p): New function which detects "={".
2259
2260 * progmodes/cc-fonts.el
2261 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2262 backward search.
2263 (c-font-lock-declarations): Fix an occurrence of point being
2264 undefined. Check additionally for point being in a bracelist or
2265 near a macro invocation without a semicolon so as to avoid a
2266 fruitless time consuming search for a declarator. Give a more
2267 precise search limit for declarators using the new
2268 c-determine-limit.
2269
f3860cea
GM
22702012-01-18 Glenn Morris <rgm@gnu.org>
2271
2272 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2273 (set-auto-mode): Doc fixes.
2274
1db03b16
GM
22752012-01-17 Glenn Morris <rgm@gnu.org>
2276
0e6038be
GM
2277 * isearch.el (search-nonincremental-instead): Fix doc typo.
2278
1db03b16
GM
2279 * dired.el (dired-insert-directory): Handle newlines in directory name.
2280 (dired-build-subdir-alist): Unescape newlines in directory name.
2281
4cb0aa75
MA
22822012-01-17 Michael Albinus <michael.albinus@gmx.de>
2283
2284 * net/tramp.el (tramp-local-end-of-line): New defcustom.
2285 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2286 (tramp-action-terminal): Use it. (Bug#10530)
2287
1d00653d
SM
22882012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2289
2290 * minibuffer.el (completion--replace): Strip properties (bug#10062).
2291
6a6ee00d
MR
22922012-01-16 Martin Rudalics <rudalics@gmx.at>
2293
2294 * window.el (window-state-ignored-parameters): Remove variable.
2295 (window--state-get-1): Rename argument MARKERS to IGNORE.
2296 Handle persistent window parameters. Make copy of clone-of
2297 parameter only if requested. (Bug#10348)
2298 (window--state-put-2): Install a window parameter only if it has
2299 a non-nil value or an existing parameter shall be overwritten.
2300
97912def
MA
23012012-01-15 Michael Albinus <michael.albinus@gmx.de>
2302
2303 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2304
688070a5
EZ
23052012-01-14 Eli Zaretskii <eliz@gnu.org>
2306
2307 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2308 don't pass the (nil) value of `upnode' to string-match.
2309
301afadc
CY
23102012-01-14 Chong Yidong <cyd@gnu.org>
2311
2312 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 2313 Fix values recognized by the cursorBlink resource.
301afadc 2314
9e5788aa
PE
23152012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2316
2317 * epg.el (epg--make-temp-file): Avoid permission race condition
2318 when running on old Emacs versions (bug#10403).
2319
3cdb7f5a
GM
23202012-01-14 Glenn Morris <rgm@gnu.org>
2321
2322 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2323
8c82b1b4
AM
23242012-01-13 Alan Mackenzie <acm@muc.de>
2325
2326 Fix filling for when filladapt mode is enabled.
2327
2328 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2329 c-mask-paragraph, pass in `fill-paragraph' rather than
2330 `fill-region-as-paragraph'. (This is a reversion of a previous
2331 change.)
eb864a71
LM
2332 * progmodes/cc-mode.el (c-basic-common-init):
2333 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 2334
e517eda4
GM
23352012-01-13 Glenn Morris <rgm@gnu.org>
2336
1498536e
GM
2337 * dired.el (dired-switches-escape-p): New function.
2338 (dired-insert-directory): Use dired-switches-escape-p.
2339 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2340
e517eda4
GM
2341 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2342
328f984d
GM
23432012-01-12 Glenn Morris <rgm@gnu.org>
2344
2345 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2346 changes in adaptive-fill-regexp. (Bug#10276)
2347
2cc769a8
AM
23482012-01-11 Alan Mackenzie <acm@muc.de>
2349
2350 Fix Emacs bug #10463 - put `widen's around the critical spots.
2351
1d00653d 2352 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
2353 widen around each invocation of c-state-pp-to-literal. Remove an
2354 unused let variable.
2355
e52c37fa
GM
23562012-01-11 Glenn Morris <rgm@gnu.org>
2357
2358 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 2359 Doc fix.
e52c37fa 2360
96f8741e
CY
23612012-01-10 Chong Yidong <cyd@gnu.org>
2362
1d00653d
SM
2363 * net/network-stream.el (network-stream-open-starttls):
2364 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
2365 response to the capability command.
2366
b09a806e
GM
23672012-01-10 Glenn Morris <rgm@gnu.org>
2368
2369 * mail/unrmail.el (unrmail): Tweak previous change.
2370
7655cb66
CY
23712012-01-09 Chong Yidong <cyd@gnu.org>
2372
2373 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2374
9d5a8f0b
AM
23752012-01-08 Alan Mackenzie <acm@muc.de>
2376
2377 Optimise font locking in long enum definitions.
2378
2379 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2380 arm to a cond form to handle enums.
2381 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2382 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2383
9a0115ab 23842012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
2385
2386 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 2387 (Bug#10401)
6bb72cbd 2388
f186bb95
LMI
23892012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2390
29232a68
LMI
2391 * faces.el (set-face-attribute): Clarify the meaning of the nil
2392 frame (bug#10294).
2393
4e5d086d
LMI
2394 * subr.el (with-selected-frame): Mention that the selected frame
2395 is restored (bug#9980).
2396
8e66aebe
LMI
2397 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2398 (bug#9759).
2399
cd394be1 2400 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
2401 (password-read): Don't autoload unused function.
2402
adf4e762
JB
24032012-01-07 Juanma Barranquero <lekktu@gmail.com>
2404
2405 * progmodes/which-func.el (which-func-mode): Turn into a
2406 non-interactive function and mark as obsolete (bug#10428).
2407
89bd9ccd
CY
24082012-01-06 Chong Yidong <cyd@gnu.org>
2409
2410 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2411 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2412 functions, along with 1 and -1.
2413
4afee9d5
EZ
24142012-01-06 Eli Zaretskii <eliz@gnu.org>
2415
2416 * time.el (display-time-load-average)
2417 (display-time-default-load-average): Doc fixes. See the thread
2418 starting at
2419 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2420 for the details.
2421
536aea70
GM
24222012-01-06 Glenn Morris <rgm@gnu.org>
2423
665ae865
GM
2424 * mail/unrmail.el (unrmail): Give an explicit error if the input file
2425 has no messages. (Bug#10377)
2426
c869783d
GM
2427 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2428 than Info-edit. (Bug#10385)
2429
2bb4227e
GM
2430 * time.el (display-time-load-average, display-time-next-load-average):
2431 Doc fixes.
2432
7d5944b9
GM
2433 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2434 local setting of buffer-read-only to the input buffer. (Bug#10419)
2435
536aea70
GM
2436 * calendar/calendar.el (calendar-mode):
2437 Locally set scroll-margin to 0. (Bug#10379)
2438
7dccca16
UM
24392012-01-06 Ulrich Mueller <ulm@gentoo.org>
2440
2441 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
2442
afbb7930
GM
24432012-01-05 Glenn Morris <rgm@gnu.org>
2444
2445 * eshell/em-unix.el (diff-no-select): Autoload it.
2446 (eshell/diff): Use diff-no-select. (Bug#10420)
2447
04482335
CY
24482012-01-05 Chong Yidong <cyd@gnu.org>
2449
7baca3bc
CY
2450 * shell.el (shell-dynamic-complete-functions): Revert last change.
2451 (shell-command-completion-function): New function.
2452 (shell-completion-vars): Use it to implement
2453 shell-completion-execonly (Bug#10417).
2454
04482335
CY
2455 * custom.el (enable-theme): Don't set custom-safe-themes.
2456
1d00653d
SM
2457 * cus-theme.el (custom-theme-merge-theme):
2458 Ignore custom-enabled-themes and custom-safe-themes.
04482335 2459
bb5aa5d6
MM
24602012-01-05 Michael R. Mauger <mmaug@yahoo.com>
2461
2462 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2463 first prompt in `sql-interacive-mode'.
2464 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 2465 keywords.
6df6ae42 2466 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
2467 (sql-product-interactive): Bug fix: Set `sql-buffer' in
2468 context of original buffer. Invoke `sql-login-hook'.
2469
a7183d7c
EZ
24702012-01-04 Eli Zaretskii <eliz@gnu.org>
2471
2472 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2473 letters in cite-prefix.
2474
a1eacd1e
LMI
24752012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2476
2477 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2478
787cdb34
CY
24792012-01-03 Chong Yidong <cyd@gnu.org>
2480
1d00653d
SM
2481 * shell.el (shell-dynamic-complete-functions):
2482 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
2483 comint-filename-completion first (Bug#10417).
2484
30710442
RS
24852012-01-02 Richard Stallman <rms@gnu.org>
2486
2487 * battery.el (battery-status-function):
2488 Detect when to use battery-yeeloong-sysfs.
2489 (battery-echo-area-format): Add string for Yeeloong.
2490 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2491 (battery-yeeloong-sysfs): New function.
2492
f75bfc33
CY
24932012-01-02 Chong Yidong <cyd@gnu.org>
2494
2495 * dirtrack.el (dirtrack-list): Eliminate unused third element.
2496 (dirtrack): Merge code for handling relative filenames in prompt
2497 from shell-dir-cookie-watcher.
2498 (dirtrack-debug-message): New arg to avoid excess format calls.
2499
2500 * shell.el (shell-dir-cookie-re): Variable deleted.
2501 (shell-dir-cookie-watcher): Function deleted.
2502 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2503 with dirtrack-mode.
2504
651e947e
EZ
25052012-01-01 Eli Zaretskii <eliz@gnu.org>
2506
1d00653d
SM
2507 * term/w32-win.el (dynamic-library-alist) <gnutls>:
2508 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
2509 libgnutls-26.dll.
2510
94d4c7dc
AS
25112011-12-31 Andreas Schwab <schwab@linux-m68k.org>
2512
2513 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2514
8d43f3cd
EZ
25152011-12-31 Eli Zaretskii <eliz@gnu.org>
2516
2517 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2518 headers of non-MIME messages, when rmail-enable-mime is non-nil.
2519
98c8795a
MA
25202011-12-29 Michael Albinus <michael.albinus@gmx.de>
2521
2522 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2523 also for alternative shells.
2524 (tramp-open-connection-setup-interactive-shell): Check, whether
2525 the shell is a busybox.
2526 (tramp-send-command): Don't suppress multiple prompts for
2527 busyboxes, it hurts.
2528
51281b32
CY
25292011-12-28 Chong Yidong <cyd@gnu.org>
2530
2531 * progmodes/gdb-mi.el (gdb-get-source-file-list)
2532 (gdb-get-source-file): Move mode line update to
2533 gdb-get-source-file (Bug#10087).
2534
2170cb53
CY
25352011-12-25 Chong Yidong <cyd@gnu.org>
2536
2537 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2538 gud-gdb-marker-filter without taking it as an argument.
2539 (gud-gdb-run-command-fetch-lines): Caller changed.
2540 (gud-gdb-completion-function): New variable.
2541 (gud-gdb-completion-at-point): Use it.
2542 (gud-gdb-completions-1): Split from gud-gdb-completions.
2543
2544 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2545 function as separate arguments.
2546 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2547 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2548 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2549 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2550 (gdb-stopped, def-gdb-auto-update-trigger)
2551 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
2552 (gdb-get-changed-registers, gdb-get-main-selected-frame):
2553 Callers changed.
2170cb53
CY
2554 (gud-gdbmi-completions): New function.
2555 (gdb): Use it for generating the completion table.
2556
be8b11bb
AM
25572011-12-24 Alan Mackenzie <acm@muc.de>
2558
2559 Introduce a mechanism to widen the region used in context font
1d00653d 2560 locking. Use this to protect declarations from losing their contexts.
be8b11bb 2561
1d00653d
SM
2562 * progmodes/cc-langs.el (c-before-font-lock-functions):
2563 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 2564 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
2565 functions to be run just before context (etc.) font locking.
2566
2567 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 2568 New, functionality extracted from
be8b11bb 2569 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 2570 (c-in-after-change-fontification): New variable.
be8b11bb
AM
2571 (c-after-change): Set c-in-after-change-fontification.
2572 (c-set-fl-decl-start): Rejig its interface, so it can be called
2573 from both after-change and context fontifying.
b81d40f0
JB
2574 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2575 New functions.
2576 (c-standard-font-lock-fontify-region-function): New variable.
2577 (c-font-lock-fontify-region): New function.
be8b11bb 2578
341cf6ac
JL
25792011-12-24 Juri Linkov <juri@jurta.org>
2580
2581 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2582 (Bug#10348)
2583
bffcee0a
MA
25842011-12-23 Michael Albinus <michael.albinus@gmx.de>
2585
2586 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2587 existence of source file. (Bug#10325)
2588
cb5e207c
AM
25892011-12-23 Alan Mackenzie <acm@muc.de>
2590
2591 Fix unstable fontification inside templates.
2592
b81d40f0
JB
2593 * progmodes/cc-langs.el (c-before-font-lock-functions):
2594 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
2595 additionally has c-set-fl-decl-start. The other languages (apart
2596 from AWK) have that as a single entry.
2597
b81d40f0
JB
2598 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2599 The functionality for "local" declarations has been extracted to
cb5e207c
AM
2600 c-set-fl-decl-start.
2601
b81d40f0
JB
2602 * progmodes/cc-mode.el (c-common-init, c-after-change):
2603 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
2604 (c-set-fl-decl-start): New function, extracted from
2605 c-font-lock-enclosing-decls and enhanced.
2606
60ff536c
JB
26072011-12-23 Juanma Barranquero <lekktu@gmail.com>
2608
2609 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2610
1c4757d6
JL
26112011-12-22 Juri Linkov <juri@jurta.org>
2612
2613 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
2614
d031f2c7
CY
26152011-12-22 Chong Yidong <cyd@gnu.org>
2616
2617 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2618
bace743a
DA
26192011-12-21 Drew Adams <drew.adams@oracle.com>
2620
2621 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2622
728a1f2b
JC
26232011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2624
2625 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2626
0d373f73
TZ
26272011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2628
fec0aaa4
TZ
2629 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2630 highlighting and support. Fix up comments for capitalization.
2631 (cfengine-mode-debug): New var.
2632 (cfengine3-mode): Change the modeline indicator to "CFE3".
2633 (cfengine3-font-lock-keywords): Improve defun highlighting.
2634 (cfengine2-actions): Rename from `cfengine-actions'.
2635 (cfengine2-font-lock-keywords): Rename from
2636 `cfengine-font-lock-keywords'.
2637 (cfengine2-imenu-expression): Rename from
2638 `cfengine-imenu-expression'.
2639 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2640 (cfengine2-beginning-of-defun): Rename from
2641 `cfengine-beginning-of-defun'.
2642 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2643 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2644 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2645 modeline indicator to "CFE2".
2646 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2647 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 2648
bc86f573
CY
26492011-12-21 Chong Yidong <cyd@gnu.org>
2650
2651 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2652 filename argument.
2653
d45ba96b
MR
26542011-12-20 Martin Rudalics <rudalics@gmx.at>
2655
2656 * window.el (window-normalize-buffer-to-display): Remove.
2657 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2658
a6198c90
CY
26592011-12-19 Chong Yidong <cyd@gnu.org>
2660
2661 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2662 Don't signal an error in a predicate function; return non-nil.
2663 (vc-dir-mark-file): Move the error here.
2664 (vc-dir-mark-unmark): If acting on the region, keep going if one
2665 of the entries cannot be marked/unmarked.
2666 (vc-dir-mark-all-files): If current entry is a directory, mark
2667 only child files, as documented.
2668
34c5fb55
VB
26692011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2670
2671 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2672 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2673 addition.
2674
c803b2b7
JD
26752011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2676
2677 * term/ns-win.el (ns-get-selection-internal)
2678 (ns-store-selection-internal): Declare.
1154d12e
JB
2679 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2680 Declare as obsolete.
2681 (ns-get-pasteboard, ns-paste-secondary):
2682 Use ns-get-selection-internal.
2683 (ns-set-pasteboard, ns-copy-including-secondary):
2684 Use ns-store-selection-internal.
c803b2b7 2685
9cff91f8 26862011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
2687
2688 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 2689 (vc-deduce-fileset): Doc fix.
99a289d9 2690
f16c898a
AS
26912011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2692
2693 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2694
763237c4
SS
26952011-12-13 Sam Steingold <sds@gnu.org>
2696
2697 * man.el (Man-getpage-in-background): When running under a
2698 window-system, ignore $MANWIDTH and $COLUMNS.
2699
5fc1c122
KH
27002011-12-15 Kenichi Handa <handa@m17n.org>
2701
2702 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2703 (setup-ethiopic-environment-internal): Comment out key-binding for
2704 ethio-toggle-punctuation.
2705
13d49cbb
AM
27062011-12-13 Alan Mackenzie <acm@muc.de>
2707
898169a2
AM
2708 Add the switch statement to AWK Mode.
2709
7a71b18d 2710 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
2711 "default" to the keywords regexp.
2712
7a71b18d 2713 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 2714 expression as the rest.
1d00653d
SM
2715 (c-nonlabel-token-key): Allow string literals for AWK.
2716 Refactor for the other modes.
898169a2 2717
13d49cbb 2718 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 2719 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
2720 routines. Limit backward searching in c-font-lock-enclosing.decl.
2721
2722 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2723 pp-state and literal type in addition to the limits.
1d00653d 2724 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 2725 (c-state-literal-at): Use the above new defun.
1d00653d
SM
2726 (c-slow-in-literal, c-fast-in-literal): Remove.
2727 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
2728
2729 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2730 being in a literal. Add a limit for backward searching.
2731
2732 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2733 c-slow-in-literal.
2734
15e0efc7
SM
27352011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2736
2737 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2738
454592a6
MR
27392011-12-13 Martin Rudalics <rudalics@gmx.at>
2740
2741 * window.el (delete-other-windows): Use correct frame in call to
2742 window-with-parameter.
2743
87393f26
DP
27442011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2745
2746 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2747 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2748 (makefile-gmake-statements, makefile-makepp-statements):
2749 Use it and add new makepp keywords.
2750 (makefile-makepp-font-lock-keywords): Add new patterns.
2751 (makefile-match-function-end): Match new [...] and [[...]].
2752
11636b22
JB
27532011-12-11 Juanma Barranquero <lekktu@gmail.com>
2754
2755 * ses.el (ses-call-printer-return, ses-cell-property-get)
2756 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2757 (ses-create-cell-variable, ses-reset-header-string)
2758 (ses-cell-set-formula, ses-repair-cell-reference-all)
2759 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2760 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2761 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2762 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2763 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2764 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2765 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2766 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2767 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2768 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2769 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2770 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2771
cf018193
VB
27722011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2773
2774 * ses.el: The overall change is to add cell renaming, that is
2775 setting fancy names for cell symbols other than name matching
2776 "\\`[A-Z]+[0-9]+\\'" regexp .
2777 (ses-create-cell-variable): New defun.
2778 (ses-relocate-formula): Relocate formulas only for cells the
2779 symbols of which are not renamed, i.e. symbols whose names do not
2780 match regexp "\\`[A-Z]+[0-9]+\\'".
2781 (ses-relocate-all): Relocate values only for cells the symbols of
2782 which are not renamed.
2783 (ses-load): Create cells variables as the (ses-cell ...) are read,
2784 in order to check row col consistency with cell symbol name only
2785 for cells that are not renamed.
2786 (ses-replace-name-in-formula): New defun.
2787 (ses-rename-cell): New defun.
2788
ee957461
CY
27892011-12-11 Chong Yidong <cyd@gnu.org>
2790
2791 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2792 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2793
9a9e9ef0
MR
27942011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2795
2796 * window.el (other-window): Fix docstring.
2797
92a8eba5
EZ
27982011-12-10 Eli Zaretskii <eliz@gnu.org>
2799
2800 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
2801 `from' or `to' address before taking its substring.
2802 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
2803 encoded name is chopped in the middle of the encoded string, and
2804 thus displayed encoded.
2805
e152e577
JB
28062011-12-10 Juanma Barranquero <lekktu@gmail.com>
2807
2808 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2809
e5d84bfe
EZ
28102011-12-10 Eli Zaretskii <eliz@gnu.org>
2811
2812 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2813 to use texinfo-update-node and commands that call it if the
2814 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 2815 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
2816 (texinfo-all-menus-update, texinfo-master-menu)
2817 (texinfo-update-node, texinfo-every-node-update)
2818 (texinfo-multiple-files-update): Doc fix. Warn against updating
2819 all the @node lines.
2820 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
2821 argument is numeric. Explain better in the doc string what the
2822 function really does.
2823 (texinfo-insert-master-menu-list): Improve the error message
2824 displayed if there's no menu in the Top node.
2825 (Bug#2975) See also this thread:
e5d84bfe
EZ
2826 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2827
1d84e9bb
MG
28282011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2829
2830 * speedbar.el (speedbar-supported-extension-expressions):
2831 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2832
382c953b
JB
28332011-12-09 Juanma Barranquero <lekktu@gmail.com>
2834
2835 * printing.el (pr-mode-alist):
2836 * simple.el (filter-buffer-substring-functions)
2837 (completion-list-insert-choice-function):
2838 * window.el (window-with-parameter, window-atom-root)
2839 (window-sides-slots, window-size-fixed, window-min-delta)
2840 (window-max-delta, window--resize-mini-window)
2841 (window--resize-child-windows-normal, window-tree)
2842 (delete-other-windows, quit-window, split-window)
2843 (display-buffer-record-window, special-display-buffer-names)
2844 (special-display-regexps, special-display-popup-frame)
2845 (same-window-p, split-window-sensibly)
2846 (display-buffer-overriding-action, display-buffer-alist)
2847 (display-buffer-base-action, display-buffer, switch-to-buffer)
2848 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2849 (fit-window-to-buffer, recenter-positions)
2850 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2851 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2852 and remove unneeded backslashes in docstrings.
2853
39c9faef
SM
28542011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2855
98449af8
SM
2856 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2857
39c9faef
SM
2858 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2859 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2860 end in ".mk".
2861 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2862 when reading the makefile (bug#10116).
2863
86ed9fdc
SM
28642011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2865
2866 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2867 (bug#10116).
2868
5580f89d
GM
28692011-12-06 Glenn Morris <rgm@gnu.org>
2870
2871 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2872
28d3917c
CY
28732011-12-06 Chong Yidong <cyd@gnu.org>
2874
2875 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2876
a98edce9
JB
28772011-12-06 Juanma Barranquero <lekktu@gmail.com>
2878
2879 * textmodes/table.el (table-shorten-cell): Fix typo.
2880
e65adfac
CG
28812011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2882
2883 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2884
71cc0b74
EZ
28852011-12-05 Eli Zaretskii <eliz@gnu.org>
2886
2887 * descr-text.el (describe-char): Fix display of strong
2888 right-to-left characters and directional embeddings and overrides.
2889
2890 * simple.el (what-cursor-position): Fix display of codepoints of
2891 strong right-to-left characters.
2892
315bc30d
CY
28932011-12-05 Chong Yidong <cyd@gnu.org>
2894
2895 * faces.el (read-color): Doc fix.
2896
58a70b94
GM
28972011-12-05 Glenn Morris <rgm@gnu.org>
2898
2899 * align.el (align--set-marker): Add doc-string.
2900 Don't try to move something that is not a marker. (Bug#10216)
2901
5158face
GM
29022011-12-04 Glenn Morris <rgm@gnu.org>
2903
2904 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2905 overly zealous deletion of trailing whitespace.
2906
520fca41
JB
29072011-12-04 Juanma Barranquero <lekktu@gmail.com>
2908
2909 * server.el (server-delete-client): On Windows, do not try to delete
2910 the only terminal.
2911 (server-process-filter): On Windows, treat requests for a tty frame as
2912 if they were for a GUI frame if the running server is in GUI mode.
2913
5e605a2e
GM
29142011-12-03 Glenn Morris <rgm@gnu.org>
2915
2916 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2917
5c3fe83f
SM
29182011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2919
6f5e57e7
SM
2920 * electric.el: Streamline electric-indent's hook.
2921 (electric-indent-chars): Revert to simple list.
2922 (electric-indent-functions): New var.
2923 (electric-indent-post-self-insert-function): Use it.
2924
5c3fe83f
SM
2925 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2926 there's no inferior buffer (bug#10196).
2927 (prolog-consult-compile): Don't use toggle-read-only.
2928
6bdac736
MA
29292011-12-02 Michael Albinus <michael.albinus@gmx.de>
2930
2931 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2932 interrupt. (Bug#10187)
2933
6131ba7f
SM
29342011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2935
99c79fee
SM
2936 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2937 (bug#9160).
2938
6131ba7f
SM
2939 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2940 (bug#10191).
2941
cb0a02ea
JL
29422011-12-02 Juri Linkov <juri@jurta.org>
2943
2944 * info.el (Info-search): Display "end of manual" when Isearch
2945 reaches the end of single-file Info manual. (Bug#9918)
2946
66e0570c
EZ
29472011-12-02 Eli Zaretskii <eliz@gnu.org>
2948
2949 * isearch.el (isearch-message-prefix): Run the input method part
2950 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2951
02b16839
JL
29522011-12-02 Juri Linkov <juri@jurta.org>
2953
2954 * isearch.el (isearch-occur): Use `word-search-regexp' for
2955 `isearch-word'.
2956 (isearch-search-and-update): Add condition for `isearch-word' and
2957 call `word-search-regexp'. (Bug#10145)
2958
0b950688
GM
29592011-12-01 Glenn Morris <rgm@gnu.org>
2960
2961 * eshell/em-hist.el (eshell-hist-initialize):
2962 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 2963 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 2964
9505c3c7
SM
29652011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2966
2967 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2968
1bbe96b2 29692011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 2970
a1beca85
SM
2971 * progmodes/verilog-mode.el (verilog-pretty-expr):
2972 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
2973 verilog, such as += *= and the like.
2974 (verilog-assignment-operator-re): Regular expression to find the
2975 assigment operator in a verilog assignment.
2976 (verilog-assignment-operation-re): Regular expression to find an
2977 assignment statement for pretty-expr.
2978 (verilog-in-attribute-p): Query returns true if point is in an
2979 attribute context; used to skip these for expression line up from
2980 pretty-expr.
2981 (verilog-in-parameter-p): Query returns true if point is in an
2982 parameter definition context; used to skip these for expression
2983 line up from pretty-expr.
2984 (verilog-in-parenthesis-p): Query returns true if point is in a
2985 parenthetical expression, specifically ( ) but not [ ] or { };
2986 used by pretty-expr.
2987 (verilog-just-one-space): If there is no space, don't add one.
2988 (verilog-get-lineup-indent-2): Specifically skip just attribute
2989 contexts for expression lineup, rather than skipping all
2990 parenthetical expressions.
2991 (verilog-calculate-indent): Fix comment, and fix indent.
2992 (verilog-do-indent): Indent declarations in lists (suggested by
2993 Joachim Lechner).
2994 (verilog-mode-abbrev-table): Populate abbrev mode with the various
2995 skeleton items.
2996 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2997 by Alain Mellan).
2998
1bbe96b2 29992011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
3000
3001 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3002 parameters with embedded comments. Reported by Ray Stevens.
3003 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3004 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3005 Reported by Tim Holt.
3006 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3007 instantiated by upper module causing wrong expansion until AUTOed a
3008 second time. Reported by K C Buckenmaier.
3009 (verilog-diff-auto): Fix showing .* as a difference when
3010 `verilog-auto-star-save' off. Reported by Dan Dever.
3011 (verilog-auto-reset, verilog-read-always-signals)
3012 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3013 temporary signals in reset list if
3014 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
3015 style to each signal's assignment type, bug381.
3016 Reported by Thomas Esposito.
6288f0ca
WS
3017 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3018 (verilog-uvm-statement-re): Support UVM indentation and
3019 highlighting, with old OVM keywords only.
a1beca85 3020 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
3021 Support AUTOTIEOFF creating non-wire data types.
3022 Suggested by Jonathan Greenlaw.
6288f0ca
WS
3023 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3024 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3025 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
3026 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3027 Fix mismatching parenthesis inside commented out code when deleting
382c953b 3028 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
3029 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3030 non-numeric vector width. Reported by Alex Reed.
3031 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 3032 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
3033 (verilog-auto-delete-trailing-whitespace):
3034 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
3035 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3036 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3037 Fix verilog-scan-cache corruption when running user AUTO expansion
3038 hooks that call indentation routines.
3039 (verilog-simplify-range-expression): Fix typo ignoring lower case
3040 identifiers.
3041 (verilog-delete-auto): Fix delete-autos to also remove user created
3042 automatics, as long as they start with AUTO.
3043 (verilog-batch-diff-auto, verilog-diff-auto)
3044 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3045 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3046 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3047 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
3048 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3049 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
3050 is disabled and its cache will get corrupt, causing AUTOS not to
3051 expand. Instead use only -quick functions.
3052 (verilog-scan-region): Fix scanning over escaped quotes.
3053 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3054 (verilog-re-search-backward-quick)
3055 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3056 related functions now ignore strings, to fix misparsing of strings
3057 with magic comments embedded in them.
a1beca85
SM
3058 (verilog-read-auto-template):
3059 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3060 Reported by Brad Dobbie.
3061 (verilog-read-auto-template):
3062 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 3063 Reported by Brad Dobbie.
6288f0ca
WS
3064 (verilog-auto-inst, verilog-auto-inst-param)
3065 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3066 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3067 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
3068 debugging templates without merge conflicts, bug357.
3069 Reported by Brad Dobbie.
3070 (verilog-read-auto-template):
3071 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
3072 Reported by Brad Dobbie.
3073 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3074 abbrevs so user won't be asked to save.
3075 (verilog-read-auto-lisp-present): Fix to start at beginning of
3076 buffer in case called outside of verilog-auto.
3077 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3078 to "X-2". Reported by Matthew Myers.
3079 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3080 all inputs from module templates. Reported by Leith Johnson.
3081 (verilog-module-inside-filename-p): Fix locating programs as with
3082 modules.
3083 (verilog-auto-inst-port): Fix vl-width expressions when using
3084 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3085 (verilog-decls-get-regs, verilog-decls-get-signals,
3086 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3087 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3088 verilog-read-decls): Combine reg and wire structures into one var
3089 structure to represent SystemVerilog concepts.
3090 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3091 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
3092 (verilog-auto-wire-type, verilog-insert-definition):
3093 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
3094 SystemVerilog "logic" keyword instead of "wire"/"reg".
3095 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3096 to declares outputs that also have assignments (presumably in an
a1beca85
SM
3097 ifdef or generate if so there's not a driver conflict).
3098 Reported by Matthew Myers.
3099 (verilog-auto-declare-nettype, verilog-insert-definition):
3100 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
3101 `default_nettype none. Reported by Julian Gorfajn.
3102 (verilog-read-always-signals-recurse, verilog-read-decls)
3103 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3104 malformed end statement, bug325. Reported by Joshua Wise and
3105 Andrew Drake.
3106 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3107 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
3108 when expanding .* in interfaces, bug320.
3109 Reported by Pierre-David Pfister.
6288f0ca 3110 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
3111 name and open parenthesis, bug317.
3112 Reported by Pierre-David Pfister.
6288f0ca
WS
3113 (verilog-simplify-range-expression): Fix simplification of
3114 multiplications inside AUTOWIRE connections, bug303.
3115 (verilog-auto-inst-port): Support parameter expansion in
3116 multidimensional arrays.
3117 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3118 after "assert property". Reported by Julian Gorfajn.
3119 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3120 with multiplication, bug303.
3121 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3122 Reported by Jan Frode Lonnum.
3123
1bbe96b2
GM
31242011-11-30 Juanma Barranquero <lekktu@gmail.com>
3125
3126 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3127 (hfy-shell-file-name, hfy-shell):
3128 * international/fontset.el (x-decompose-font-name): Fix typos.
3129
31302011-11-29 Ken Brown <kbrown@cornell.edu>
3131
3132 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3133 (gdb-version): Remove defvar.
3134 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3135 (gdb-gud-context-command, gdb-non-stop-handler)
3136 (gdb-current-context-command, gdb-stopped): Use it.
3137 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
3138 (gdb-non-stop-handler): Don't enable pretty-printing here.
3139 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
3140 non-stop mode. Use the following.
3141 (gdb-check-target-async): New defun.
3142 (gud-watch, gdb-stopped): Fix whitespace.
3143 (gdb-get-source-file): Don't try to display the source file if
3144 `gdb-main-file' is nil.
3145
31462011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3147
3148 * align.el: Try to generate fewer markers (bug#10047).
3149 (align--set-marker): New macro.
3150 (align-region): Use it.
3151
c935221f
SM
31522011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3153
3154 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3155
e70b5064
CY
31562011-11-29 Chong Yidong <cyd@gnu.org>
3157
3158 * indent.el (indent-for-tab-command, indent-according-to-mode):
3159 Doc fix.
3160 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3161
f3af92b7
MA
31622011-11-29 Michael Albinus <michael.albinus@gmx.de>
3163
3164 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3165 aware of remote file names. (Bug#10124)
3166
ed472be9
CY
31672011-11-29 Chong Yidong <cyd@gnu.org>
3168
3169 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3170
24510c22
SM
31712011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3172
3173 * files.el (find-file): Don't use force-same-window (bug#10144).
3174 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3175 use pop-to-buffer if the selected window can't be used.
3176 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3177
c60c3703
EZ
31782011-11-28 Eli Zaretskii <eliz@gnu.org>
3179
3180 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3181 special-mode-map.
3182
e95def75
CY
31832011-11-28 Chong Yidong <cyd@gnu.org>
3184
3185 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3186
c3f1c606
NR
31872011-11-27 Nick Roberts <nickrob@snap.net.nz>
3188
3189 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3190 gdb-get-source-file-list on gdb-create-source-file-list.
3191
00db469c
EZ
31922011-11-26 Eli Zaretskii <eliz@gnu.org>
3193
3194 * whitespace.el (whitespace-newline): Use a different foreground
3195 color for 16-color light-background displays.
3196
4ad3bc2a
CY
31972011-11-24 Chong Yidong <cyd@gnu.org>
3198
3199 * window.el (display-buffer--special-action): Doc fix.
3200
e9fce1ac
JB
32012011-11-25 Juanma Barranquero <lekktu@gmail.com>
3202
3203 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3204 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3205 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3206 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3207 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3208 (avl-tree-stack-first):
3209 * emacs-lisp/cconv.el (cconv--analyse-use):
3210 * net/gnutls.el (gnutls-negotiate): Fix typos.
3211
cb825e5d
GM
32122011-11-24 Glenn Morris <rgm@gnu.org>
3213
3adbe224
GM
3214 * lpr.el (lpr-windows-system, lpr-lp-system):
3215 * mail/binhex.el (binhex-begin-line):
3216 * progmodes/grep.el (grep-history, grep-find-history):
3217 * textmodes/flyspell.el:
3218 * vc/pcvs-defs.el (cvs-global-menu):
3219 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3220 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3221 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3222
321decc8
GM
3223 * net/tls.el: Fix case of "GnuTLS".
3224
420b63ad
GM
3225 * paths.el (rmail-file-name): Format doc-string for make-docfile.
3226
cb825e5d
GM
3227 * version.el (emacs-build-system): Give it a doc-string.
3228
a0649f08
JL
32292011-11-24 Juri Linkov <juri@jurta.org>
3230
3231 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3232
c0bc0fd4
GM
32332011-11-24 Glenn Morris <rgm@gnu.org>
3234
3235 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3236 if called on a non-mime message just toggle the headers. (Bug#8006)
3237
20db1522
JB
32382011-11-24 Juanma Barranquero <lekktu@gmail.com>
3239
3240 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3241 (allout-lead-with-comment-string, allout-structure-deleted-hook)
3242 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3243 (allout-rebullet-heading, allout-open-sibtopic)
3244 (allout-toggle-current-subtree-encryption)
3245 (allout-toggle-subtree-encryption, allout-encrypt-string)
3246 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3247 (allout-distinctive-bullets-string, allout-auto-activation):
3248 * window.el (window-normalize-buffer-to-display):
3249 * progmodes/verilog-mode.el (verilog-batch-indent):
3250 * textmodes/bibtex.el (bibtex-field-braces-opt)
3251 (bibtex-field-strings-opt):
3252 * vc/cvs-status.el (cvs-tree-merge):
3253 Fix typos.
3254
7262a87c
MA
32552011-11-23 Michael Albinus <michael.albinus@gmx.de>
3256
3257 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3258 `non-essential' to t, in order to avoid remote connections.
3259
283430a1
EZ
32602011-11-23 Eli Zaretskii <eliz@gnu.org>
3261
a1beca85
SM
3262 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3263 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
3264 case-insensitively.
3265
d2992a38
ML
32662011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3267
3268 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
3269
50419064
GM
32702011-11-23 Glenn Morris <rgm@gnu.org>
3271
da94eca1
GM
3272 * paths.el (rmail-file-name): Reformat the doc-string so that it
3273 is picked up.
3274
9aac4de2
GM
3275 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3276 (rmail-auto-file): Ignore case in the "special" field names,
3277 as mail-fetch-field does for all others.
3278
8038d2d2
GM
3279 * mail/rmail.el (rmail-forward):
3280 * mail/rmailkwd.el (rmail-set-label):
3281 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3282 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
3283
f3fe222a
GM
3284 * mail/rmail.el (rmail-current-message): Doc fix.
3285
50419064
GM
3286 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
3287
28109f49
SM
32882011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3289
3290 * server.el (server-eval-and-print): Allow C-g (bug#6585).
3291
394c65f1
GM
32922011-11-22 Glenn Morris <rgm@gnu.org>
3293
3294 * mail/rmailmm.el (test-rmail-mime-handler)
3295 (test-rmail-mime-bulk-handler)
3296 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3297
f2a0aa3a
JL
32982011-11-21 Juri Linkov <juri@jurta.org>
3299
1154d12e
JB
3300 * calc/calc.el (calc-read-key-sequence):
3301 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 3302
9c34a344
LMI
33032011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3304
3305 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3306 Tell the caller that the next line needs recomputation, even
3307 though it doesn't start a sexp (bug#10094).
3308
f04a3be9
SM
33092011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3310
3311 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3312
7978747f
SM
33132011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3314
f04a3be9
SM
3315 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3316 Use force-same-window.
7978747f 3317
fe7a3057
JB
33182011-11-20 Juanma Barranquero <lekktu@gmail.com>
3319
3320 * descr-text.el (describe-char-unicode-data):
3321 * json.el (json-string-escape):
3322 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3323 (Footnote-unicode, Footnote-style-p):
3324 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3325
24901d61
CY
33262011-11-20 Chong Yidong <cyd@gnu.org>
3327
3328 * window.el (replace-buffer-in-windows): Restore interactive spec.
3329
bac7ff22
SM
33302011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3331
24f3d7b9
SM
3332 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3333
bac7ff22
SM
3334 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3335 (byte-compile-global-not-obsolete-vars): New var.
3336 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3337 Use it.
3338 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3339
cd1181db
JB
33402011-11-20 Juanma Barranquero <lekktu@gmail.com>
3341
3342 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3343 * progmodes/pascal.el (electric-pascal-equal):
3344 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3345 * xml.el (xml-substitute-special): Fix typos.
3346
7fb18e9e
GM
33472011-11-20 Glenn Morris <rgm@gnu.org>
3348
3349 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3350 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3351 Doc fixes.
3352 (rmail-decode-mime-charset): Mark as obsolete.
3353
3354 * mail/rmailsum.el (rmail-message-regexp-p-1):
3355 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3356 Before using mime functions, check they are set. (Bug#10077)
3357
d5a6b3ba
JL
33582011-11-19 Juri Linkov <juri@jurta.org>
3359
3360 * info.el (Info-finder-find-node): Use `package--builtins' instead
3361 of `package-alist'. Use node names formed by the pattern "Keyword "
3362 and the keyword name.
3363
e981b61f
AS
33642011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3365
1d00653d 3366 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 3367
3ffbc301
JL
33682011-11-19 Juri Linkov <juri@jurta.org>
3369
3370 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3371 that calls `revert-buffer' on all Info buffers. (Bug#9915)
3372 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3373 `old-history', `old-history-forward'. Add let-binding
3374 `window-selected'. Remove calls to `kill-buffer',
3375 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
3376 before calling `Info-find-node', so `Info-find-node-2' will reread
3377 the Info file. Restore window positions only when `window-selected'
3378 is non-nil.
3379
30c62133
JL
33802011-11-19 Juri Linkov <juri@jurta.org>
3381
3382 * isearch.el (isearch-lazy-highlight-new-loop):
3383 Remove condition `(not isearch-error)'. (Bug#9918)
3384
3385 * misearch.el (multi-isearch-search-fun): Add condition
3386 `(not bound)' to ignore lazy-highlighting search.
3387 Add the search-failed message "end of multi" when the end of
3388 multi-sequence is reached. Uncapitalize the search-failed
3389 message "Repeat for next buffer".
3390
3391 * info.el (Info-search): Add the search-failed message
3392 "end of the manual" when the end of the manual is reached
3393 in Isearch mode.
3394
645ca9cf
JL
33952011-11-19 Juri Linkov <juri@jurta.org>
3396
3397 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3398 Use non-destructive `remove' instead of `delete' because
3399 `Info-history-list' stored to `Info-isearch-initial-history-list' in
3400 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3401
df754f66
JL
34022011-11-19 Juri Linkov <juri@jurta.org>
3403
3404 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3405 to nil instead of binding `search-ring' and `regexp-search-ring'.
3406 (Bug#9185)
3407
0e23d96a
EZ
34082011-11-19 Eli Zaretskii <eliz@gnu.org>
3409
3410 * simple.el (line-move): Force movement by logical lines for any
3411 hscrolled window, not only when auto-hscroll-mode is on.
3412 (line-move-visual): Update doc string to that effect. (Bug#10076)
3413
8a6ccb66
AS
34142011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3415
3416 * language/european.el (macintosh): Define as alias for mac-roman.
3417
49ae5b39
EZ
34182011-11-19 Eli Zaretskii <eliz@gnu.org>
3419
3420 * mail/rmailmm.el (rmail-mime-display-header)
3421 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3422 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3423 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3424 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3425 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3426 of a raw aref.
3427 (rmail-mime-entity-segment): To get past the tagline, move forward
3428 2 more lines, to account for the 2 empty lines that precede and
3429 follow the line with the buttons.
3430 (rmail-mime-update-tagline): Move one more line, to get past the
3431 empty line that follows the buttons in the tagline. (Bug#9520)
3432
c56cad4a
MR
34332011-11-19 Martin Rudalics <rudalics@gmx.at>
3434
3435 * window.el (window-max-delta-1, window-min-delta-1)
3436 (window-min-size-1, window-state-get-1, window-state-put-1)
3437 (window-state-put-2): Use "window--" prefix.
3438
cbe71af3
SM
34392011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3440
2ad52c60
SM
3441 * emacs-lisp/smie.el: Improve warnings and conflict detection.
3442 (smie-warning-count): New var.
3443 (smie-set-prec2tab): Use it.
3444 (smie-bnf->prec2): Improve warnings. Add docstring.
3445 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3446 (smie-bnf--set-class): New function.
3447 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
3448 corner case.
3449
6944dbc1
SM
3450 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3451 (compilation-error-properties, compilation-move-to-column):
3452 Handle compilation-first-column while in the target buffer.
3453
c400c4d7
SM
3454 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3455 Don't hardcode point-min==1.
3456
6dbe3e96
SM
3457 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3458 (eshell-rewrite-for-command): Remove workaround.
3459 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3460 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3461 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3462
cbe71af3
SM
3463 * files-x.el (modify-file-local-variable): Obey commenting conventions.
3464
a8e1496d
GM
34652011-11-17 Glenn Morris <rgm@gnu.org>
3466
3467 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3468 Ignore buffer-local generated-autoload-file if it is the same
3469 as the global value. (Bug#10049)
3470
df85d315
JB
34712011-11-17 Juanma Barranquero <lekktu@gmail.com>
3472
3473 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3474 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3475 (reftex-toc-previous-heading, reftex-toc-max-level)
3476 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3477 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3478 (reftex-toc-do-promote, reftex-toc-promote-prepare)
3479 (reftex-toc-promote-action, reftex-toc-extract-section-number)
3480 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3481 (reftex-toc-rename-label, reftex-toc-visit-location)
3482 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3483 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3484 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3485 leaving "*toc*" only for references to the buffer.
3486
a0c2d0ae
MR
34872011-11-17 Martin Rudalics <rudalics@gmx.at>
3488
3489 * window.el (window-resize, delete-window, split-window):
3490 Replace window-splits by window-combination-resize.
1d00653d 3491 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 3492
35c0bac8
GM
34932011-11-17 Glenn Morris <rgm@gnu.org>
3494
3495 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3496 Make bash entry derive from sh entry, not shell entry.
3497
d0c8fc8a
MA
34982011-11-16 Michael Albinus <michael.albinus@gmx.de>
3499
d0c8fc8a
MA
3500 * net/tramp-cache.el (tramp-flush-file-property): Flush also
3501 properties of linked files. (Bug#9879)
3502
7262a87c
MA
3503 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3504 local file name.
3505
7877f373
JB
35062011-11-16 Juanma Barranquero <lekktu@gmail.com>
3507
3508 * menu-bar.el (menu-bar-file-menu):
3509 * printing.el (pr-ps-utility):
3510 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3511 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3512 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3513 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3514 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3515 (icalendar--convert-cyclic-to-ical)
3516 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3517 (icalendar--convert-ical-to-diary)
3518 (icalendar--convert-recurring-to-diary)
3519 (icalendar--convert-non-recurring-all-day-to-diary)
3520 (icalendar-import-format-sample):
3521 * progmodes/idlw-shell.el (idlwave-shell-mode):
3522 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3523 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3524 (vhdl-ps-print-init): Fix typos.
3525
10649b82
KM
35262011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
3527
9d0cfcd6
GM
3528 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3529 FSF and collapse date sequence, obscure author/maintainer email address
3530 better, remove extra version line, track relocation of author's webpage.
10649b82 3531
9d0cfcd6
GM
3532 * progmodes/python.el (python-pdbtrack-input-prompt)
3533 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3534 regular python pdb prompts. Adjustments shamelessly taken exactly as
3535 suggested in EmacsWiki page (tiny change):
3536 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 3537
58179cce
JB
35382011-11-16 Juanma Barranquero <lekktu@gmail.com>
3539
3540 * expand.el (expand-pos, expand-index, expand-point):
3541 Remove redundant info from docstring.
3542 (expand-add-abbrevs): Doc fix.
3543 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3544 (expand-sample-perl-mode-expand-list): Fix typos.
3545
3546 * net/dbus.el (dbus-event-member-name):
3547 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3548 * term/pc-win.el (msdos-create-frame-with-faces):
3549 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3550
b6f67890
MR
35512011-11-16 Martin Rudalics <rudalics@gmx.at>
3552
3553 * window.el (split-window, window-state-get-1)
3554 (window-state-put-1, window-state-put-2): Rename occurrences of
3555 window-nest to window-combination-limit.
1d00653d 3556 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 3557
ce7ddba0
CY
35582011-11-16 Chong Yidong <cyd@gnu.org>
3559
3560 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3561 regexp (Bug#10033).
3562
3ae704f4
SM
35632011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3564
3565 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3566 `completing-read' will remove *Completions* and will preserve
3567 current-buffer for us.
3568 (tmm-add-prompt): Users of *Completions* will always (re)set its
3569 major mode.
3570 (tmm-old-comp-map): Remove.
3571
6ad1cdde
GM
35722011-11-16 Glenn Morris <rgm@gnu.org>
3573
3574 * mail/rmailedit.el: Require rmailmm when compiling.
3575 (rmail-old-mime-state): New declaration.
3576 (rmail-edit-current-message): If editing a mime message,
3577 edit the "raw" message from the mbox buffer.
3578 (rmail-cease-edit): Handle mime messages. (Bug#9840)
3579
d20faa20
GM
35802011-11-15 Glenn Morris <rgm@gnu.org>
3581
3582 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3583 which wasn't being used. Add optional arg to force given state.
3584 (rmail-mime): Add optional arg to force given state.
3585
c7015153
JB
35862011-11-15 Juanma Barranquero <lekktu@gmail.com>
3587
3588 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3589 * frame.el (display-mm-dimensions-alist):
3590 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3591 (outline-move-subtree-down):
3592 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3593 (newsticker--treeview-do-get-node):
3594 * net/quickurl.el (quickurl-list-buffer-name):
3595 * progmodes/dcl-mode.el (dcl-mode):
3596 * progmodes/gdb-mi.el (gdb-mapcar*):
3597 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3598
45261b50
GM
35992011-11-15 Glenn Morris <rgm@gnu.org>
3600
3601 * mail/rmail.el (rmail-file-coding-system): It's only ever used
3602 in a boolean sense, so just make it a boolean, and fix the doc.
3603 (rmail-show-mime-function, rmail-mime-feature)
3604 (rmail-require-mime-maybe): Doc fixes.
3605 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3606
3607 * mail/rmailmm.el (rmail-show-mime): Doc fix.
3608
0d26e0b6
JB
36092011-11-15 Juanma Barranquero <lekktu@gmail.com>
3610
3611 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3612 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3613 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3614 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3615
447f30f6
GM
36162011-11-15 Glenn Morris <rgm@gnu.org>
3617
672b871d
GM
3618 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3619 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3620 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3621 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3622 (rmail-mime, rmail-show-mime): Doc fixes.
3623
f6aa5bb1
GM
3624 * term/ns-win.el (mode-line-frame-identification):
3625 Leave it alone. (Bug#10051)
3626
947cd66b
GM
3627 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3628
447f30f6
GM
3629 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3630 Handle empty buffers. (Bug#9978)
3631
0b381c7e
JB
36322011-11-14 Juanma Barranquero <lekktu@gmail.com>
3633
3634 * international/mule.el (define-charset):
3635 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3636 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3637 * progmodes/verilog-mode.el (verilog-backward-token):
3638 * textmodes/ispell.el (lookup-words):
3639 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3640
71e027ac
GM
36412011-11-14 Glenn Morris <rgm@gnu.org>
3642
56632ce4
GM
3643 * progmodes/executable.el
3644 (executable-make-buffer-file-executable-if-script-p):
3645 Handle file-modes returning nil.
3646
40500957
GM
3647 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3648 message - not necessary, and causes problems. (Bug#9831)
3649
071c2340
GM
3650 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3651
d3cfca60
GM
3652 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3653
71e027ac
GM
3654 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3655 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
3656 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3657
89d61221
MR
36582011-11-12 Martin Rudalics <rudalics@gmx.at>
3659
3660 * window.el (window-resize, delete-window): Use window-splits
3661 variable instead of function.
3662 (window-state-get-1, window-state-put-2, window-state-put):
3663 Don't deal with windows' splits status.
3664
98282f6f
GM
36652011-11-12 Glenn Morris <rgm@gnu.org>
3666
3667 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3668 (apropos-documentation): Doc fixes.
3669
40a8bdf6
JB
36702011-11-11 Juanma Barranquero <lekktu@gmail.com>
3671
3672 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3673 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3674
65bd19ff
SM
36752011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3676
3677 * electric.el (electric-indent-post-self-insert-function): Make it
3678 possible for a char to only indent in some circumstances.
3679 (electric-indent-mode): Simplify.
3680
54f9154c
MR
36812011-11-11 Martin Rudalics <rudalics@gmx.at>
3682
3683 * window.el (windows-with-parameter): Remove unused function.
3684 (windows-at-side): Rename to window-at-side-list.
3685 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
3686 (window-side-check, window-size-ignore, window-size-fixed-1)
3687 (window-in-direction-2): Prefix with "window--".
3688 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 3689
68cbc58b
GM
36902011-11-11 Glenn Morris <rgm@gnu.org>
3691
3692 * subr.el (eval-after-load): If FILE is already loaded,
3693 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3694
b2621720
GM
36952011-11-10 Glenn Morris <rgm@gnu.org>
3696
9a4de110
GM
3697 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3698 Call svn via vc-svn-command rather than vc-do-command.
3699 (vc-svn-command): Add --non-interactive. (Bug#9993)
3700 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3701
b2621720
GM
3702 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3703 Add toggle-read-only. (Bug#7292)
3704 * files.el (toggle-read-only): Mention that it should only
3705 be used interactively. (Bug#10006)
3706
1dce7193
SM
37072011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3708
d9ac1a1e
SM
3709 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3710 Adjust regexp for OCaml warnings.
3711
0c325082
SM
3712 * electric.el (electric-pair-post-self-insert-function): Let user
3713 turn it off buffer-locally (bug#9932).
3714
90132c14
SM
3715 * progmodes/python.el (python-beginning-of-statement):
3716 Rewrite (bug#2703).
3717
1dce7193
SM
3718 * progmodes/compile.el: Better handle TABs (bug#9749).
3719 (compilation-internal-error-properties)
3720 (compilation-next-error-function): Obey the target buffer's
3721 compilation-error-screen-columns.
3722
c4e7c63a
JB
37232011-11-09 Juanma Barranquero <lekktu@gmail.com>
3724
3725 * progmodes/meta-mode.el: Remove obsolete comments.
3726 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3727 Fix typos in docstrings.
3728
2cffd681
MR
37292011-11-09 Martin Rudalics <rudalics@gmx.at>
3730
3731 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 3732 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
3733 (window--resizable): New function. Make all callers of
3734 window-resizable call window--resizable instead.
3735 (window-resizable): Rewrite in terms of window--resizable.
3736
0edcba87
GM
37372011-11-08 Glenn Morris <rgm@gnu.org>
3738
3739 * progmodes/delphi.el (delphi-mode-syntax-table):
3740 Let define-derived-mode define a proper syntax table. (Bug#9994)
3741
4b0d61e3
SM
37422011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3743
3744 * window.el: Stay away from defsubst.
3745 (window-list-no-nils): Remove.
3746 (window-state-get-1, window-state-get): Use backquote instead.
3747
cd394be1 37482011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 3749
4b0d61e3 3750 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 3751 Fix incorrect use of default argument in `completing-read'.
3752
e1c2c6f2
MR
37532011-11-08 Martin Rudalics <rudalics@gmx.at>
3754
3755 * window.el (display-buffer-function, special-display-function):
3756 Mention display-buffer-record-window but do not mention
3757 help-setup parameter in doc-strings.
b3f4a882 3758 (window-min-delta): Fix doc-string typo.
e1c2c6f2 3759
105216ed
CY
37602011-11-08 Chong Yidong <cyd@gnu.org>
3761
3762 * window.el (window-total-height, window-total-width): Doc fix.
3763 (window-body-size): Move from C.
3764 (window-body-height, window-body-width): Move to C.
3765
0a9f9ab5
SM
37662011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3767
3768 * window.el: Make special-display like display-buffer-alist (bug#9532).
3769 (display-buffer--special-action): New function, morphed
3770 from display-buffer--special.
3771 (display-buffer): Use it to handle special-display-buffers at higher
3772 priority (just after display-buffer-alist).
3773 (display-buffer-fallback-action, display-buffer--other-frame-action)
3774 (pop-to-buffer-same-window): Remove display-buffer--special.
3775
a769dd15
GM
37762011-11-07 Glenn Morris <rgm@gnu.org>
3777
3778 * calendar/cal-menu.el (cal-menu-set-date-title):
3779 Do nothing if not in a calendar. (Bug#9976)
3780
05a61ee3
SM
37812011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3782
3783 * files.el (find-file): Always use selected-window.
3784
be7f5545
MR
37852011-11-07 Martin Rudalics <rudalics@gmx.at>
3786
3787 * window.el (window-combinations): Make WINDOW argument
3788 mandatory. Rewrite doc-string.
3789 (walk-window-subtree, window-atom-check, window-min-delta)
3790 (window-max-delta, window--resize-this-window)
3791 (window--resize-root-window-vertically, window-tree)
3792 (balance-windows, window-state-put): Rewrite doc-strings as to
3793 not mention the term "subwindow".
3794 (window--resize-subwindows-skip-p): Rename to
3795 window--resize-child-windows-skip-p.
3796 (window--resize-subwindows-normal): Rename to
3797 window--resize-child-windows-normal.
3798 (window--resize-subwindows): Rename to
3799 window--resize-child-windows.
3800 (window-or-subwindow-p): Rename to window--in-subtree-p.
3801
3c6702ef
ML
38022011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3803
3804 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3805 Ensure that mbox format messages end in two newlines (Bug#9974).
3806
49745b39
CY
38072011-11-06 Chong Yidong <cyd@gnu.org>
3808
3809 * window.el (window-combination-p): Function deleted; its
3810 side-effect is not used in any existing code.
3811 (window-combinations, window-combined-p): Call window-*-child
3812 directly.
3813
24300f5f
CY
38142011-11-05 Chong Yidong <cyd@gnu.org>
3815
3816 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
3817 (window-size-ignore, window-state-get): Callers changed.
3818 (window-normalize-window): Rename from window-normalize-any-window.
3819 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 3820 (window-normalize-live-window): Delete.
447f16b8
CY
3821 (window-combination-p, window-combined-p, window-combinations)
3822 (walk-window-subtree, window-atom-root, window-min-size)
3823 (window-sizable, window-sizable-p, window-size-fixed-p)
3824 (window-min-delta, window-max-delta, window-resizable)
3825 (window-resizable-p, window-full-height-p, window-full-width-p)
3826 (window-current-scroll-bars, window-point-1, set-window-point-1)
3827 (window-at-side-p, window-in-direction, window-resize)
3828 (adjust-window-trailing-edge, maximize-window, minimize-window)
3829 (window-deletable-p, delete-window, delete-other-windows)
3830 (record-window-buffer, unrecord-window-buffer)
3831 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3832 (quit-window, split-window, window-state-put)
3833 (set-window-text-height, fit-window-to-buffer)
3834 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 3835
89bd5ee1
EZ
38362011-11-04 Eli Zaretskii <eliz@gnu.org>
3837
53479029
EZ
3838 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3839 rfc2047-decode-string.
3840 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3841 warnings.
3842
89bd5ee1
EZ
3843 * window.el (window-body-height, window-body-width): Mention in
3844 the doc string that the return values are in frame's canonical
3845 units. (Bug#9949)
3846
bd17fdee
AM
38472011-11-03 Alan Mackenzie <acm@muc.de>
3848
3849 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3850 change in cc-engine.el.
3851
acc825c5
SM
38522011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3853
3854 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3855
1885e5b8
MR
38562011-11-02 Martin Rudalics <rudalics@gmx.at>
3857
3858 * window.el (quit-window): Call unrecord-window-buffer after
3859 showing another buffer in the window. (Bug#9937)
acc825c5 3860 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 3861
ebe06da9
JB
38622011-11-02 Juanma Barranquero <lekktu@gmail.com>
3863
3864 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3865 Accept status with more than 9 shelves. (Bug#9935)
3866 Reported by Colin D Bennett <colin@gibibit.com>.
3867
4ee88440
MR
38682011-11-01 Martin Rudalics <rudalics@gmx.at>
3869
3870 * help.el (with-help-window): Don't reference
3871 temp-buffer-show-specifiers in doc-string.
3872
08e1d82c
AS
38732011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3874
3875 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3876 menu-item.
3877
84bd6e9e
VJL
38782011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3879
3880 * whitespace.el: New version 13.2.2.
3881 (whitespace-newline-mode): Disable properly. Reported by Sarah
3882 <EmacsWiki>.
3883
dba0634a
UJ
38842011-10-30 Ulf Jasper <ulf.jasper@web.de>
3885
3886 * net/newst-treeview.el: Remove "Time-stamp".
3887 (newsticker--group-manage-orphan-feeds): Do not call
3888 newsticker--treeview-tree-update.
db22a3c2
JB
3889 (newsticker-treeview-update, newsticker-treeview):
3890 Call newsticker--treeview-tree-update if necessary.
dba0634a 3891
3d8daefe
MR
38922011-10-30 Martin Rudalics <rudalics@gmx.at>
3893
3894 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
3895 (window-iso-combinations): Remove "iso-" infix.
3896 Suggested by Chong Yidong.
3d8daefe
MR
3897 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3898 (window-max-delta-1, window-resize, window--resize-siblings)
3899 (window--resize-this-window, adjust-window-trailing-edge)
3900 (split-window, balance-windows-1)
3901 (shrink-window-if-larger-than-buffer):
3902 * calendar/calendar.el (calendar-generate-window):
db22a3c2 3903 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 3904
1bc4c3ae
SM
39052011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3906
3907 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3908 in place (bug#9907).
3909 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3910 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3911 (eshell-structure-basic-command, eshell-rewrite-while-command)
3912 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3913 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3914 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3915 (eshell-do-pipelines-synchronously, eshell-eval-command):
3916 Use backquotes and prefer setq to set.
3917 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3918 (eshell-macrop): Use functionp.
c1e2f5fa 3919 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 3920
30b65d9c
CY
39212011-10-30 Chong Yidong <cyd@gnu.org>
3922
3923 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3924 instead of set-mark (Bug#9810).
3925
2d197ffb
CY
39262011-10-30 Chong Yidong <cyd@gnu.org>
3927
3928 * window.el (split-window-below, split-window-right): Rename from
3929 split-window-above-each-other and split-window-side-by-side
3930 respectively. All callers changed.
3931 (split-window-sensibly, split-window-sensibly): Use them.
3932 (split-window-keep-point): Doc fix.
3933
3934 * isearch.el: Add isearch-scroll property to split-window-below
3935 and split-window-right.
3936
3937 * follow.el (follow-mode):
3938 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3939 * progmodes/ada-xref.el (ada-gdb-application):
3940 * emulation/vip.el (vip-buffer-in-two-windows):
3941 * image-dired.el (image-dired-dired-with-window-configuration):
3942 * dired-x.el (dired-do-find-marked-files):
3943 * dired.el (dired-pop-to-buffer):
3944 * bs.el (bs--show-with-configuration):
3945 * vc/emerge.el (emerge-setup-windows):
3946 * textmodes/two-column.el (2C-two-columns):
3947 * textmodes/reftex-toc.el (reftex-toc):
3948 * progmodes/gdb-mi.el (gdb-setup-windows):
3949 * progmodes/fortran.el (fortran-window-create):
3950 * net/newst-treeview.el (newsticker--treeview-window-init):
3951 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3952 * emulation/tpu-edt.el (tpu-gold-map):
3953 * emulation/crisp.el (crisp-mode-map):
3954 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3955
38bb2ca8
CY
39562011-10-29 Chong Yidong <cyd@gnu.org>
3957
aa4de341
CY
3958 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3959
e1eb5385
CY
3960 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3961
5d2ece3c
CY
3962 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3963 forged Ispell output (Bug#7904).
3964
38bb2ca8
CY
3965 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3966
d0af9f77
SM
39672011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3968
3969 * doc-view.el: Avoid ugly errors about not finding nil.
3970 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3971 (doc-view-dvipdf-program, doc-view-unoconv-program)
3972 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3973 Avoid nil or absolute file name as default value.
3974 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3975
52bedd34
AM
39762011-10-28 Alan Mackenzie <acm@muc.de>
3977
db22a3c2 3978 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 3979
7e43cfa5
AM
39802011-10-28 Alan Mackenzie <acm@muc.de>
3981
3982 Amend the handling of c-beginning/end-of-defun in nested declaration
3983 scopes.
3984
52bedd34
AM
3985 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3986 cc-langs.el. Change it to a defcustom.
7e43cfa5 3987
52bedd34
AM
3988 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3989 cc-vars.el.
7e43cfa5 3990
d0af9f77
SM
3991 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3992 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 3993
52bedd34 3994 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 3995 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
3996 (c-widen-to-enclosing-decl-scope): New function.
3997 (c-while-widening-to-decl-block): New macro.
3998 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3999 outward for defun boundaries, and correspondingly change symbol
4000 `respect-enclosure' to `go-outward'.
4001 (c-declaration-limits): Change algorithm to report only the "innermost"
4002 defun's boundaries.
4003
1a2ce9ee
DD
40042011-10-28 Deniz Dogan <deniz@dogan.se>
4005
4006 * net/rcirc.el (rcirc-mode): Use hard newlines.
4007
bc97a826
AM
40082011-10-28 Alan Mackenzie <acm@muc.de>
4009
4010 Amend to indent and fontify macros "which include their own semicolon"
4011 correctly, using the "virtual semicolon" mechanism.
4012
52bedd34 4013 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 4014
d0af9f77 4015 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 4016 Recode to scan one line at a time rather than having \n and \r
58179cce 4017 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 4018 (c-forward-label): Amend for virtual semicolons.
58179cce 4019 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 4020
52bedd34
AM
4021 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4022 of the new C macros.
bc97a826 4023
52bedd34 4024 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
4025 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4026 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
4027 (c-opt-cpp-macro-define): Make into a full language variable.
4028 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4029 AWK Mode (including \n, \r) removed, no longer needed.
4030
d0af9f77
SM
4031 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4032 Invoke c-make-macro-with-semi-re.
bc97a826 4033
52bedd34
AM
4034 * progmodes/cc-vars.el (c-macro-with-semi-re):
4035 (c-macro-names-with-semicolon): New variables.
58179cce 4036 (c-make-macro-with-semi-re): New function.
bc97a826 4037
7a6c0941
SM
40382011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4039
4040 * vc/log-edit.el: Fill empty field rather than adding new one.
4041 (log-edit-add-field): New function.
4042 (log-edit-insert-changelog): Use it.
4043
b0c4cdcf
ML
40442011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4045
4046 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4047
ee1f1da9
SM
40482011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4049
4050 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4051 (gdb--check-interpreter): New function.
4052 (gdb): Use it.
4053
51bc5f8b
GM
40542011-10-27 Glenn Morris <rgm@gnu.org>
4055
416a2c45
GM
4056 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4057 (least-positive-float, least-negative-float)
4058 (least-positive-normalized-float, least-negative-normalized-float)
4059 (float-epsilon, float-negative-epsilon):
4060 Remove unnecessary declarations.
4061
4062 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4063 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4064 (least-positive-float, least-negative-float)
4065 (least-positive-normalized-float, least-negative-normalized-float)
4066 (float-epsilon, float-negative-epsilon): Add doc-strings,
4067 based on those in cl.texi.
4068
51bc5f8b
GM
4069 * files.el (set-visited-file-name): If the major-mode changed,
4070 reload the local variables. (Bug#9796)
4071
15de15c6
CY
40722011-10-27 Chong Yidong <cyd@gnu.org>
4073
4074 * subr.el (change-major-mode-after-body-hook): New hook.
4075 (run-mode-hooks): Run it.
4076
ee1f1da9
SM
4077 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4078 Use change-major-mode-before-body-hook.
15de15c6
CY
4079
4080 * simple.el (fundamental-mode):
4081 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4082 change introducing fundamental-mode-hook.
4083
5430d399
JB
40842011-10-26 Juanma Barranquero <lekktu@gmail.com>
4085
acc825c5 4086 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 4087
ad74a69e
MA
40882011-10-26 Michael Albinus <michael.albinus@gmx.de>
4089
4090 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 4091 tramp.el explicitly. (Bug#7583)
ad74a69e 4092
71d4c2a5
SM
40932011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4094
4095 * progmodes/octave-mod.el:
4096 * progmodes/octave-inf.el: Update maintainer.
4097
b1f6fa26
CY
40982011-10-26 Chong Yidong <cyd@gnu.org>
4099
4100 * subr.el (with-wrapper-hook): Rewrite doc.
4101
3f04efd6
MA
41022011-10-25 Michael Albinus <michael.albinus@gmx.de>
4103
4104 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 4105 filenames "/method:foo:". (Bug#9793)
3f04efd6 4106
410488d3
SM
41072011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4108
4109 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4110 (bug#9865).
4111
c1ebb47e
GM
41122011-10-24 Glenn Morris <rgm@gnu.org>
4113
4114 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4115
7f5c46c7
MA
41162011-10-24 Michael Albinus <michael.albinus@gmx.de>
4117
4118 * notifications.el: Add the requirement of a running D-Bus session
4119 bus to the Commentary.
4120
db2440b6
JL
41212011-10-24 Juri Linkov <juri@jurta.org>
4122
4123 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4124 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4125 (Bug#9364)
4126
feecf435
JL
41272011-10-24 Juri Linkov <juri@jurta.org>
4128
4129 * info.el (Info-following-node-name-re): Add newline to the list
4130 of allowed characters for leading space. (Bug#9824)
4131
a3839de2
SM
41322011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4133
acc825c5
SM
4134 * progmodes/octave-inf.el (inferior-octave-mode-map):
4135 Fix C-c C-h binding.
a3839de2
SM
4136 * progmodes/octave-mod.el (octave-help): Remove.
4137
09388e76
MA
41382011-10-23 Michael Albinus <michael.albinus@gmx.de>
4139
4140 Sync with Tramp 2.2.3.
4141
4142 * net/tramp-cache.el (top): Pacify byte-compiler using
4143 `init-file-user' and `site-run-file'.
4144
4145 * net/trampver.el: Update release number.
4146
86c60681
CY
41472011-10-23 Chong Yidong <cyd@gnu.org>
4148
4149 * files.el (toggle-read-only): Remove obsolete comment about
4150 version control.
4151
4152 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4153 for toggle-read-only. Note that this hasn't called vc-next-action
4154 since 2008-05-02, though it wasn't documented at the time.
4155
a3839de2
SM
4156 * vc/ediff-init.el (ediff-toggle-read-only-function):
4157 Use toggle-read-only.
86c60681 4158
cd5495ff
AM
41592011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4160
4161 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4162 of c-parse-state.
4163
00b77525 4164 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 4165 correct faulty logical expression.
cd5495ff
AM
4166 (c-parse-state-state, c-record-parse-state-state):
4167 (c-replay-parse-state-state): New defvar/defuns.
4168 (c-debug-parse-state): Use new functions.
4169
42ee24ed
MR
41702011-10-22 Martin Rudalics <rudalics@gmx.at>
4171
4172 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 4173 last fix. Use window-in-direction correctly.
42ee24ed 4174
a7dee7e7
CY
41752011-10-21 Chong Yidong <cyd@gnu.org>
4176
4177 * progmodes/idlwave.el (idlwave-mode):
4178 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
4179 require-final-newline; that's done in prog-mode.
4180 Suggested by Stefan Monnier.
a7dee7e7 4181
e07b9a6d
MR
41822011-10-21 Martin Rudalics <rudalics@gmx.at>
4183
4184 * mouse.el (mouse-drag-window-above)
4185 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4186 (mouse-drag-mode-line-1, mouse-drag-header-line)
4187 (mouse-drag-vertical-line-rightward-window): Remove.
4188 (mouse-drag-line): New function.
4189 (mouse-drag-mode-line, mouse-drag-header-line)
4190 (mouse-drag-vertical-line): Call mouse-drag-line.
4191 * window.el (window-at-side-p, windows-at-side): New functions.
4192
7e1361d9
UM
41932011-10-21 Ulrich Mueller <ulm@gentoo.org>
4194
4195 * tar-mode.el (tar-grind-file-mode):
4196 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4197
30fcaf3a
CY
41982011-10-21 Chong Yidong <cyd@gnu.org>
4199
4200 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
4201 * progmodes/vera-mode.el (vera-mode):
4202 Use mode-require-final-newline.
30fcaf3a 4203
516eddb0
GM
42042011-10-20 Glenn Morris <rgm@gnu.org>
4205
db22a3c2 4206 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 4207
10d5f513
CS
42082011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
4209
4210 * emulation/cua-base.el (cua-set-mark): Fix case of string.
4211
ac6c8639
CY
42122011-10-20 Chong Yidong <cyd@gnu.org>
4213
4214 * emulation/cua-base.el (cua-mode):
4215 * mail/footnote.el (footnote-mode):
4216 * mail/mailabbrev.el (mail-abbrevs-mode):
4217 * net/xesam.el (xesam-minor-mode):
4218 * progmodes/bug-reference.el (bug-reference-mode):
4219 * progmodes/cap-words.el (capitalized-words-mode):
4220 * progmodes/compile.el (compilation-minor-mode)
4221 (compilation-shell-minor-mode):
4222 * progmodes/gud.el (gud-tooltip-mode):
4223 * progmodes/hideif.el (hide-ifdef-mode):
4224 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4225 * progmodes/subword.el (subword-mode):
4226 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4227 * progmodes/which-func.el (which-function-mode):
4228 * term/tvi970.el (tvi970-set-keypad-mode):
4229 * term/vt100.el (vt100-wide-mode):
4230 * textmodes/flyspell.el (flyspell-mode):
4231 * textmodes/ispell.el (ispell-minor-mode):
4232 * textmodes/nroff-mode.el (nroff-electric-mode):
4233 * textmodes/paragraphs.el (use-hard-newlines):
4234 * textmodes/refill.el (refill-mode):
4235 * textmodes/reftex.el (reftex-mode):
4236 * textmodes/rst.el (rst-minor-mode):
4237 * textmodes/sgml-mode.el (html-autoview-mode)
4238 (sgml-electric-tag-pair-mode):
4239 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4240 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4241 * emulation/crisp.el (crisp-mode):
4242 * emacs-lisp/eldoc.el (eldoc-mode):
4243 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4244 minor mode behavior.
4245
aa42ab43
JL
42462011-10-19 Juri Linkov <juri@jurta.org>
4247
4248 * descr-text.el (describe-char): Add #x2010 and #x2011 to
4249 the list of hard-coded chars with escape-glyph face.
4250
89400f1d
SM
42512011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4252
4253 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4254
305c07f6
MA
42552011-10-19 Michael Albinus <michael.albinus@gmx.de>
4256
4257 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4258 running process.
4259
13754b54
GM
42602011-10-19 Glenn Morris <rgm@gnu.org>
4261
4262 * vc/vc-bzr.el (vc-bzr-after-dir-status):
4263 Ignore ignored files. (Bug#9726)
4264
06e21633
CY
42652011-10-19 Chong Yidong <cyd@gnu.org>
4266
4267 Doc fix for minor modes, stating that an omitted argument enables
4268 the mode unconditionally when called from Lisp.
4269
4270 * abbrev.el (abbrev-mode):
4271 * allout.el (allout-mode):
4272 * autoinsert.el (auto-insert-mode):
4273 * autoarg.el (autoarg-mode, autoarg-kp-mode):
4274 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4275 (global-auto-revert-mode):
4276 * battery.el (display-battery-mode):
4277 * composite.el (global-auto-composition-mode)
4278 (auto-composition-mode):
4279 * delsel.el (delete-selection-mode):
4280 * desktop.el (desktop-save-mode):
4281 * dired-x.el (dired-omit-mode):
4282 * dirtrack.el (dirtrack-mode):
4283 * doc-view.el (doc-view-minor-mode):
4284 * double.el (double-mode):
4285 * electric.el (electric-indent-mode, electric-pair-mode):
4286 * emacs-lock.el (emacs-lock-mode):
4287 * epa-hook.el (auto-encryption-mode):
4288 * follow.el (follow-mode):
4289 * font-core.el (font-lock-mode):
4290 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4291 * help.el (temp-buffer-resize-mode):
4292 * hilit-chg.el (highlight-changes-mode)
4293 (highlight-changes-visible-mode):
4294 * hi-lock.el (hi-lock-mode):
4295 * hl-line.el (hl-line-mode, global-hl-line-mode):
4296 * icomplete.el (icomplete-mode):
4297 * ido.el (ido-everywhere):
4298 * image-file.el (auto-image-file-mode):
4299 * image-mode.el (image-minor-mode):
4300 * iswitchb.el (iswitchb-mode):
4301 * jka-cmpr-hook.el (auto-compression-mode):
4302 * linum.el (linum-mode):
4303 * longlines.el (longlines-mode):
4304 * master.el (master-mode):
4305 * mb-depth.el (minibuffer-depth-indicate-mode):
4306 * menu-bar.el (menu-bar-mode):
4307 * minibuf-eldef.el (minibuffer-electric-default-mode):
4308 * mouse-sel.el (mouse-sel-mode):
4309 * msb.el (msb-mode):
4310 * mwheel.el (mouse-wheel-mode):
4311 * outline.el (outline-minor-mode):
4312 * paren.el (show-paren-mode):
4313 * recentf.el (recentf-mode):
4314 * reveal.el (reveal-mode, global-reveal-mode):
4315 * rfn-eshadow.el (file-name-shadow-mode):
4316 * ruler-mode.el (ruler-mode):
4317 * savehist.el (savehist-mode):
4318 * scroll-all.el (scroll-all-mode):
4319 * scroll-bar.el (scroll-bar-mode):
4320 * server.el (server-mode):
4321 * shell.el (shell-dirtrack-mode):
4322 * simple.el (auto-fill-mode, transient-mark-mode)
4323 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4324 (line-number-mode, column-number-mode, size-indication-mode)
4325 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4326 * strokes.el (strokes-mode):
4327 * time.el (display-time-mode):
4328 * t-mouse.el (gpm-mouse-mode):
4329 * tool-bar.el (tool-bar-mode):
4330 * tooltip.el (tooltip-mode):
4331 * type-break.el (type-break-mode-line-message-mode)
4332 (type-break-query-mode):
4333 * view.el (view-mode):
4334 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4335 (global-whitespace-mode, global-whitespace-newline-mode):
4336 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4337
a3839de2
SM
4338 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4339 Fix autogenerated docstring.
06e21633 4340
5214e501
JL
43412011-10-19 Juri Linkov <juri@jurta.org>
4342
4343 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4344 by checking environment variables "DESKTOP_SESSION" and
4345 "XDG_CURRENT_DESKTOP". (Bug#9779)
4346
195f8db9
JL
43472011-10-19 Juri Linkov <juri@jurta.org>
4348
4349 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4350 (browse-url-chromium-program, browse-url-chromium-arguments):
4351 New defcustoms.
4352 (browse-url-default-browser): Check for `browse-url-chromium' and
4353 call `browse-url-chromium-program'.
4354 (browse-url-chromium): New command. (Bug#9779)
4355
343a34ff
JB
43562011-10-18 Juanma Barranquero <lekktu@gmail.com>
4357
4358 * facemenu.el (list-colors-duplicates): On Windows, detect more
4359 duplicates by assuming that only colors matching "^System" are
4360 special "system colors". (Bug#9722)
4361
6978a151
SM
43622011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4363
4364 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4365 to distinguish the author from the committer.
4366
6a80b297
MA
43672011-10-18 Michael Albinus <michael.albinus@gmx.de>
4368
4369 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4370
b31a5677
JK
43712011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
4372
4373 * international/mule.el (sgml-html-meta-auto-coding-function):
4374 Add support for detecting encoding in HTML5 specified only as
4375 <meta charset="UTF-8">. Implementation just makes http-equiv and
4376 content-type parts from HTML4 encoding string optional. (Bug#9716)
4377
80c6d77f
GM
43782011-10-18 Glenn Morris <rgm@gnu.org>
4379
4380 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
4381
08b0fee8
CY
43822011-10-18 Chong Yidong <cyd@gnu.org>
4383
4384 * faces.el (cursor): Doc fix.
4385
67e729a5
CY
43862011-10-17 Chong Yidong <cyd@gnu.org>
4387
4388 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4389
343a34ff 43902011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
4391
4392 * dirtrack.el (dirtrack): Support shell buffers with path
4393 prefixes, e.g. tramp-based remote shells. (Bug#9647)
4394
0bc06380
TZ
43952011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
4396
4397 * json.el: Bump version to 1.3 and note change in History.
4398 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4399
8b79f3e0
SM
44002011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4401
5a7c536b
SM
4402 * comint.el (comint-insert-input, comint-send-input)
4403 (comint-get-old-input-default, comint-backward-matching-input)
4404 (comint-next-prompt): Use nil instead of `input' for field property of
4405 past user input (bug#114).
4406
96a8a0df
SM
4407 * minibuffer.el (completion--replace): Inherit surrounding properties
4408 (bug#114).
4409 (minibuffer-complete-and-exit): Use it.
4410
8b79f3e0
SM
4411 * comint.el (comint--table-subvert): Quote the all-completions output
4412 (bug#9160).
4413
b8f7ff0d
MR
44142011-10-17 Martin Rudalics <rudalics@gmx.at>
4415
8b79f3e0 4416 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 4417
b8f7ff0d 4418 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 4419 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
4420 entries and separate them from frame entries.
4421
c235b555
GM
44222011-10-15 Glenn Morris <rgm@gnu.org>
4423
4424 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4425 Doc fixes.
4426
6bbfa6e1
CY
44272011-10-15 Chong Yidong <cyd@stupidchicken.com>
4428
8b79f3e0
SM
4429 * net/network-stream.el (network-stream-open-starttls):
4430 Improve detection of failure due to lack of TLS support.
ec5c990d 4431
6bbfa6e1
CY
4432 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4433 putting the input text in front and in bold.
4434
98488977
SM
44352011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4436
3d1337be
SM
4437 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4438
ee0b45e4
SM
4439 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4440 empty buffer.
4441
98488977
SM
4442 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4443 unread-command-events rather than pushing yet-another event.
4444
186f4720
EZ
44452011-10-14 Eli Zaretskii <eliz@gnu.org>
4446
4447 * mail/sendmail.el (sendmail-query-once): Improve the wording of
4448 the explanation of the possible choices. Make the options passed
4449 to completing-read shorter.
4450
8b7a997c
AM
44512011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4452
4453 * textmodes/flyspell.el (flyspell-large-region): Make sure
4454 extended character mode is used if defined (Bug#1339).
4455
12587bbb
EZ
44562011-10-13 Eli Zaretskii <eliz@gnu.org>
4457
4458 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
4459 character info for LRE, LRO, RLE, and RLO characters by appending
4460 an invisible PDF.
12587bbb 4461
bad41229
SM
44622011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
4463
4464 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4465 even in case of error; add debug spec; simplify data flow.
4466 (with-timeout-handler): Remove.
4467
28dbc92f
MA
44682011-10-12 Michael Albinus <michael.albinus@gmx.de>
4469
4470 Fix Bug#6019, Bug#9315.
4471
4472 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4473 complete `buffer-file-name', the local file name part could look
4474 remotely (for example on VMS).
4475
4476 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4477 `tramp-run-real-handler'.
4478 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4479 already quoted by '"'.
4480
4481 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4482 Let `file-name-handler-alist' be nil, the local file name part
4483 could look remotely (for example on VMS).
4484
e1b0b23a
SM
44852011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4486
4487 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4488 from here...
4489 (flyspell-post-command-hook): ...to here.
4490
a120bde9
SM
44912011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4492
4493 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4494 if not needed.
4495 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
4496 using completion. Protect against "slow" callers.
4497 Remove the "message hack".
4498
7ce7717b
JL
44992011-10-11 Juri Linkov <juri@jurta.org>
4500
4501 * isearch.el (isearch-lazy-highlight-word): New variable.
4502 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4503 Use it. (Bug#9727)
4504
c02ee9d6
GM
45052011-10-11 Glenn Morris <rgm@gnu.org>
4506
4507 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4508 like f90-previous-statement does.
4509
93e616fd 45102011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4511
1f190e73 4512 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
4513 only in interactive use, to avoid error.
4514
af7b6078
SM
45152011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4516
4517 * minibuffer.el (completion-file-name-table): Fix last change,
4518 i.e. ignore normal errors but not the other ones.
4519
0563dae9
MR
45202011-10-10 Martin Rudalics <rudalics@gmx.at>
4521
4522 * window.el (special-display-buffer-names)
4523 (special-display-regexps): Remove some remnants of earlier
4524 changes from doc-strings.
366ca7f3
MR
4525 (quit-windows-on): New function.
4526
4527 * vc/vc.el (vc-revert, vc-rollback):
4528 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4529 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 4530 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 4531
49677495
MR
45322011-10-09 Martin Rudalics <rudalics@gmx.at>
4533
4534 * window.el (frame-auto-hide-function): Add version tag.
4535 (Bug#9699)
4536
56f2d1e1
MA
45372011-10-09 Michael Albinus <michael.albinus@gmx.de>
4538
4539 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4540 condition.
4541
112a6592
LL
45422011-10-09 Leo Liu <sdl.web@gmail.com>
4543
4544 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4545 (Bug#9701)
4546
0812589b
GM
45472011-10-08 Glenn Morris <rgm@gnu.org>
4548
4549 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4550 before the first code statement zero indent. (Bug#9690)
4551
b2b0776e
CY
45522011-10-08 Chong Yidong <cyd@stupidchicken.com>
4553
4554 * simple.el (count-words-region): Always count in the region.
4555 Report the number of lines and characters too.
4556 (count-words): New command, which counts in the buffer if the
4557 region is inactive, as count-words-region used to.
4558 (count-words--message): New function. Handle plurals.
4559 (count-lines-region): Make it an alias for count-words-region.
4560
4561 * bindings.el (esc-map): Replace count-lines-region with
4562 count-words-region.
4563
c557cd6b
MR
45642011-10-08 Martin Rudalics <rudalics@gmx.at>
4565
4566 * window.el (window--delete): Delete dedicated frame
4567 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 4568 (switch-to-buffer): Fix doc-string typo.
c557cd6b 4569
61a57ef4 45702011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4571
3a7d293b 4572 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 4573
c3833279
CY
45742011-10-07 Chong Yidong <cyd@stupidchicken.com>
4575
4576 * bindings.el ([M-left],[M-right]): Bind to left-word and
4577 right-word respectively.
4578
21ce8245
GM
45792011-10-07 Glenn Morris <rgm@gnu.org>
4580
4581 * cus-start.el (debug-on-quit): Fix custom type.
4582
6d823bb2
LMI
45832011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4584
0181e193
LMI
4585 * subr.el (define-key-after): Clarify that the function is not
4586 useful for non-menu keymaps.
4587
6d823bb2
LMI
4588 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4589
8e3459ce 45902011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4591
21ce8245 4592 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 4593 in current minibuffer (Fix bug with recursive minibuffers).
4594
a1c2d21e
CY
45952011-10-06 Chong Yidong <cyd@stupidchicken.com>
4596
4597 * progmodes/gdb-mi.el (gdb): Doc fix.
4598
5a4cf282
MR
45992011-10-05 Martin Rudalics <rudalics@gmx.at>
4600
4601 * window.el (frame-auto-hide-function): New option replacing
4602 frame-auto-delete. Suggested by Stefan Monnier.
4603 (window--delete): Call frame-auto-hide-function instead of
4604 investigating frame-auto-delete.
c96111ea
MR
4605 (window-point-1, set-window-point-1): New functions.
4606 (window-in-direction, record-window-buffer, window-state-get-1)
4607 (display-buffer-record-window): Use window-point-1 instead of
4608 window-point.
4609 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 4610
9854542e
SM
46112011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4612
4613 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4614
8943cfb0
GM
46152011-10-05 Glenn Morris <rgm@gnu.org>
4616
4617 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4618 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
4619
647ab967
LL
46202011-10-05 Leo Liu <sdl.web@gmail.com>
4621
4622 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4623 works with buffer object.
4624
3ddfbced
SM
46252011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4626
4627 * mpc.el (mpc-tool-bar-map): Add labels.
4628
bdfa5dd2
GM
46292011-10-04 Glenn Morris <rgm@gnu.org>
4630
4631 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4632
0e2070b5
MR
46332011-10-04 Martin Rudalics <rudalics@gmx.at>
4634
4635 * window.el (window--delete): New function.
4636 (frame-auto-delete): Resuscitate option.
4637 (bury-buffer, replace-buffer-in-windows)
4638 (quit-window): Rewrite using window--delete.
4639 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4640 Pass display-buffer-mark-dedicated to window--display-buffer-2
4641 (Bug#9639).
4642
3dc61a09
SM
46432011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4644
915a9b64
SM
4645 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4646 returns a list (bug#9554). Add remote file name completion.
4647 * comint.el (comint--table-subvert): Curry and get quote&unquote
4648 functions as arguments.
4649 (comint--complete-file-name-data): Adjust call accordingly.
4650 * pcomplete.el (pcomplete--table-subvert): Remove.
4651 (pcomplete-completions-at-point): Use comint--table-subvert instead.
4652
3dc61a09
SM
4653 * minibuffer.el (completion-table-case-fold): Use currying.
4654 (completion--styles-type, completion--cycling-threshold-type):
4655 New constants.
4656 (completion-styles, completion-category-overrides)
4657 (completion-cycle-threshold): Use them.
4658 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4659 completion-table-case-fold.
4660
8ea0a993
SB
46612011-10-03 Stephen Berman <stephen.berman@gmx.net>
4662
4663 * minibuffer.el (completion-category-overrides): Fix type of styles
4664 and add more user friendly tags (bug#9660).
4665
8c24b7f6
SM
46662011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4667
4668 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4669 (mule-input-method-string): New widget.
4670 (default-input-method, language-info-custom-alist): Use it.
4671
428fe61a
SM
46722011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4673
32c1fffd
SM
4674 * pcomplete.el: Require comint.
4675 (pcomplete--common-suffix): Remove.
4676 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4677 (pcomplete--table-subvert): Sync with comint--table-subvert.
4678 (pcomplete--entries): Use comint-completion-file-name-table.
4679 * comint.el (comint-unquote-filename): Simplify.
4680 (comint-completion-file-name-table): New function (bug#9616).
4681 (comint--complete-file-name-data): Use it.
4682
428fe61a
SM
4683 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4684 (pcmpl-gnu-tar-buffer): Remove.
4685 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
4686 around. Make sure pcomplete-suffix-list is only changed temporarily.
4687 Don't look inside the tar's file if it's too large.
428fe61a 4688
04c52e2f
CY
46892011-10-01 Chong Yidong <cyd@stupidchicken.com>
4690
ce3cefcc
CY
4691 * cus-edit.el (custom-mode-map):
4692 * epa.el (epa-key-list-mode-map):
4693 * man.el (Man-mode-map):
4694 * startup.el (splash-screen-keymap):
4695 * simple.el (special-mode-map): Use scroll-up-command and
4696 scroll-down-command.
4697
4698 * progmodes/idlw-help.el (idlwave-help-mode-map):
4699 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4700 * net/newst-plainview.el (newsticker-mode-map):
4701 * emulation/ws-mode.el (wordstar-mode-map):
4702 * emulation/vi.el (vi-com-map):
4703 * calc/calc-graph.el (calc-graph-show-dumb):
4704 * term/sun.el (terminal-init-sun):
4705 * term/ns-win.el (global-map):
4706 * progmodes/grep.el (grep-mode-map):
4707 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4708 * mail/rmail.el (rmail-mode-map):
4709 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4710
04c52e2f
CY
4711 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4712 custom-safe-themes as special.
4713
79adf8c8
JD
47142011-10-01 Julien Danjou <julien@danjou.info>
4715
4716 * notifications.el (notifications-notify): Fix docstring.
4717
63bd50d3
PS
47182011-10-01 Per Starbäck <per@starback.se>
4719
4720 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4721
199e4c7e
MR
47222011-09-30 Martin Rudalics <rudalics@gmx.at>
4723
4724 * startup.el (command-line-1): Fix last fix by inserting
4725 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 4726 (Bug#9605) and (Bug#9636)
199e4c7e 4727
fe5f08dd
EZ
47282011-09-29 Eli Zaretskii <eliz@gnu.org>
4729
4730 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4731 window is hscrolled, move by logical lines. (Bug#9607)
4732 (line-move-visual): Update the doc string to the above effect.
4733
b5516bbd
MR
47342011-09-29 Martin Rudalics <rudalics@gmx.at>
4735
ccee00c0
MR
4736 * window.el (display-buffer-record-window): When WINDOW is the
4737 selected window use `point' instead of `window-point'. (Bug#9626)
4738
b5516bbd
MR
4739 * startup.el (command-line-1): Use insert-before-markers when
4740 inserting initial-scratch-message. (Bug#9605)
ccee00c0 4741
b5516bbd
MR
4742 * help.el (help-window): Remove variable.
4743
52aa0014
GM
47442011-09-29 Glenn Morris <rgm@gnu.org>
4745
4746 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4747
df9a7357
JB
47482011-09-29 Juanma Barranquero <lekktu@gmail.com>
4749
4750 * descr-text.el (describe-char-categories): Accept category
4751 descriptions more than one line long.
4752
a8406c20
SM
47532011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4754
88d9610c
SM
4755 * simple.el (delete-trailing-whitespace): Fix last change.
4756
a5daf810
SM
4757 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4758 Don't confuse "y => 3" as the beginning of a `y' operation.
4759
a8406c20
SM
4760 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4761 object has more than 4 slots (bug#9613).
4762
a239d4e9
JB
47632011-09-28 Juanma Barranquero <lekktu@gmail.com>
4764
4765 * subr.el (with-output-to-temp-buffer):
4766 * net/quickurl.el (quickurl, quickurl-browse-url):
4767 Fix typos in docstrings.
4768
693fbdb6
EZ
47692011-09-27 Eli Zaretskii <eliz@gnu.org>
4770
4771 * minibuffer.el (completion-styles)
4772 (completion-category-overrides): Cross reference each other in doc
4773 strings.
4774
8b457e28
GM
47752011-09-27 Glenn Morris <rgm@gnu.org>
4776
4777 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4778 to split-string. (Bug#9606)
4779
85a16208
LMI
47802011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4781
4782 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4783 (bug#9615).
4784
502f9ebd
CY
47852011-09-27 Chong Yidong <cyd@stupidchicken.com>
4786
4787 * emacs-lisp/package.el (list-packages): Fix echo area message.
4788
7690bdea
LL
47892011-09-27 Leo Liu <sdl.web@gmail.com>
4790
4791 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4792
e2ee6f30
MA
47932011-09-25 Michael Albinus <michael.albinus@gmx.de>
4794
4795 * net/dbus.el (dbus-unregister-object): Don't release services for
4796 registered signals. (Bug#9581)
4797
f3f98342
TZ
47982011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4799
4800 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4801 function that picks between cfengine 2 and 3 support
4802 automatically. Update docs accordingly.
4803
dd7aa8dd
KH
48042011-09-22 Kenichi Handa <handa@m17n.org>
4805
4806 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4807 ZERO.
4808 (indian-itrans-v5-table-for-tamil): New variable.
4809 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4810
3f2b07f8
KM
48112011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4812
4813 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4814 that's true if the current command involved collapsing of text.
4815 It's reset to false at the beginning of the next command.
4816 (allout-post-command-business): Move the cursor to the beginning
4817 of entry if the cursor is hidden and collapsing activity just
4818 happened.
4819
371d6a61
CY
48202011-09-24 Chong Yidong <cyd@stupidchicken.com>
4821
4822 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4823 tracking (Bug#9541).
4824
2ac2721a
UJ
48252011-09-24 Ulf Jasper <ulf.jasper@web.de>
4826
4827 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
4828 (newsticker-show-news): Automatically load html rendering package
4829 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4830 because w3m-fill-column is let-bound" and the error "Symbol's value
4831 as variable is void: w3m-fill-column".
2ac2721a 4832
fac7ae53
MA
48332011-09-24 Michael Albinus <michael.albinus@gmx.de>
4834
4835 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4836 Release services only if they are defined. (Bug#9581)
4837
e08b633b
RS
48382011-09-23 Richard Stallman <rms@gnu.org>
4839
e488d29c
RS
4840 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4841 distinguish start of paragraph from start of its text.
4842
19c38752
RS
4843 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4844
e08b633b
RS
4845 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4846 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4847 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4848
0a39f27e
AS
48492011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4850
4851 * international/mule-diag.el (mule-diag): Insert a newline after
4852 each fontset description.
4853
db4e950d
SM
48542011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4855
4856 * simple.el (delete-trailing-whitespace):
4857 Document last change; simplify.
4858
eca3f3ea
PW
48592011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4860
d68e189a
PW
4861 * simple.el (delete-trailing-whitespace): Also delete
4862 extra newlines at the end of the buffer.
4863
eca3f3ea
PW
4864 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4865 (picture-newline): Use forward-line so as to ignore fields.
4866
01c157cc
SM
48672011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4868
4869 * subr.el (with-wrapper-hook): Fix edebug spec.
4870
022de23e
LMI
48712011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4872
4873 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4874 (bug#4538).
4875
91683089
MA
48762011-09-23 Michael Albinus <michael.albinus@gmx.de>
4877
eca3f3ea
PW
4878 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4879 Fix nasty bug using wrong cached values.
91683089 4880
5bdd6fa4
AM
48812011-09-23 Alan Mackenzie <acm@muc.de>
4882
4883 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4884
97adfb97
CY
48852011-09-23 Chong Yidong <cyd@stupidchicken.com>
4886
4887 * window.el (pop-to-buffer): Ensure right window is selected if we
4888 chose another frame.
4889
d4ef2b50
EZ
48902011-09-22 Eli Zaretskii <eliz@gnu.org>
4891
4892 * simple.el (what-cursor-position): Use get-char-property-change
4893 and next-single-char-property-change, to be able to show display
4894 properties that come from overlays as well as text properties.
4895
72258fe5
CY
48962011-09-22 Chong Yidong <cyd@stupidchicken.com>
4897
4898 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4899
4900 * cmuscheme.el (run-scheme, switch-to-scheme):
4901 * cus-edit.el (customize-group, custom-buffer-create)
4902 (customize-browse):
4903 * info.el (info):
4904 * shell.el (shell):
4905 * mail/sendmail.el (mail):
4906 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4907
8f098516
RS
49082011-09-22 Richard Stallman <rms@gnu.org>
4909
4910 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4911 move back only to line beg, don't move back over blank lines.
4912
e74f1bb6
MA
49132011-09-22 Michael Albinus <michael.albinus@gmx.de>
4914
4915 * files.el (copy-directory): Set directory attributes only in case
4916 they could be retrieved from the source directory. (Bug#9565)
4917
bfeef8b6
DK
49182011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4919
4920 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4921 (hs-find-block-beginning, hs-hide-level-recursive):
4922 Ignore strings as well as comments. (Bug#9502)
4923
7e423bb8
AS
49242011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4925
4926 * progmodes/sql.el (sql-comint-postgres):
4927 Convert port number to a string. (Bug#9566)
4928
b4d72fcf
MR
49292011-09-22 Martin Rudalics <rudalics@gmx.at>
4930
4931 * window.el (quit-window): Undedicate window when switching to
4932 previous buffer. Reported by Thierry Volpiatto
4933 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
4934 (special-display-popup-frame): When popping up a new frame reset
4935 its previous buffers to nil. Simplify code.
b4d72fcf 4936
a7b88dc6
MA
49372011-09-21 Michael Albinus <michael.albinus@gmx.de>
4938
4939 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4940 and process filter, as done also in `shell-command'.
4941
cf4eacfd
MR
49422011-09-21 Martin Rudalics <rudalics@gmx.at>
4943
eca3f3ea 4944 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
4945 Call set-window-start with NOFORCE argument t.
4946 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
4947 (quit-window): Reword doc-string. Handle new format of
4948 quit-restore parameter. Don't delete window if it has a
4949 previous buffer we can show instead of the present one.
4950 (display-buffer-record-window): Rewrite using a new format for
4951 the quit-restore window parameter
4952 (special-display-popup-frame, display-buffer-same-window)
4953 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4954 (display-buffer-pop-up-window, display-buffer-use-some-window):
4955 Adapt symbol passed to display-buffer-record-window.
4956 * help.el (help-window-setup): Handle new format of quit-restore
4957 parameter.
4958
8d28cb95
SM
49592011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4960
94ab793f
SM
4961 * faces.el (face-list): Fix docstring (bug#9564).
4962
8d28cb95
SM
4963 * window.el (display-buffer--action-function-custom-type):
4964 Don't include internal functions in the Custom interface.
4965
3820edeb
JL
49662011-09-20 Juri Linkov <juri@jurta.org>
4967
4968 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4969 (Info-forward-node, Info-backward-node, Info-next-preorder)
4970 (Info-last-preorder): Use it. (Bug#9528)
4971
5147931d
JL
49722011-09-20 Juri Linkov <juri@jurta.org>
4973
4974 * info.el (Info-last-preorder): Visit last menu item only when
4975 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4976
cf499a1a
JD
49772011-09-20 Julien Danjou <julien@danjou.info>
4978
4979 * password-cache.el (password-cache-remove): Remove entries even if the
4980 value is nil, so that password with a nil value (negative caching) is
4981 possible to invalidate.
4982
f84e2fe2
LM
49832011-09-20 Lawrence Mitchell <wence@gmx.li>
4984
4985 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4986 all whitespace around breakpoint. (Bug#9553)
4987 (f90-find-breakpoint): Only break at whitespace inside a comment.
4988
78054a46
SM
49892011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4990
4991 * minibuffer.el (completion-file-name-table): Keep track of errors.
4992 (completion-table-with-predicate): Handle the case where pred1 is nil.
4993 * pcomplete.el (pcomplete-completions-at-point): Simplify.
4994
345083b2
SM
49952011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4996
e24e27be
SM
4997 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4998 (debugger-return-value): Signal an error if the debugging context does
4999 not await any return value.
5000
345083b2
SM
5001 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5002 * image-mode.el (image-toggle-display-text)
5003 (image-toggle-display-image): Stay away from evil `intangible'.
5004
08d355e3
LL
50052011-09-19 Leo Liu <sdl.web@gmail.com>
5006
5007 * replace.el (occur-revert-arguments): Make it permanent-local.
5008 (occur-mode): Don't call font-lock-defontify.
5009
f01da43f
CY
50102011-09-19 Chong Yidong <cyd@stupidchicken.com>
5011
5012 * net/ldap.el (ldap-search-internal): Don't push empty search
5013 result (Bug#9508).
5014
b6072fa6
SM
50152011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5016
5017 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5018
443d6696
MA
50192011-09-19 Michael Albinus <michael.albinus@gmx.de>
5020
5021 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5022 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5023
7cc6e154
JL
50242011-09-18 Juri Linkov <juri@jurta.org>
5025
5026 * buff-menu.el (Buffer-menu-mode-map):
5027 * dired.el (dired-mode-map):
5028 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5029 (lisp-interaction-mode-map):
5030 * emacs-lisp/package.el (package-menu-mode-map):
5031 * epa.el (epa-key-list-mode-map):
5032 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5033 (menu-bar-options-menu):
5034 * outline.el (outline-mode-menu-bar-map):
5035 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5036 * vc/vc-dir.el (vc-dir-menu-map):
5037 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5038 Capitalize non-function content words in menu item strings.
5039
5040 * dired.el (dired-mode-map): Add menu item for
5041 `image-dired-dired-toggle-marked-thumbs'.
5042
80302a81
JL
50432011-09-18 Juri Linkov <juri@jurta.org>
5044
5045 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5046 to `isearch-case-fold-search' and restore its original value
5047 after the `isearch-mode' call.
5048
46c5cf66
JL
50492011-09-18 Juri Linkov <juri@jurta.org>
5050
5051 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5052 because `zgrep' returns 1 for successful matches (bug#9226).
5053
d18b513b
JL
50542011-09-18 Juri Linkov <juri@jurta.org>
5055
5056 * info.el (Info-extract-menu-node-name): Check the second match
5057 for empty string (second test-case of bug#9528).
5058 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5059 intermediate nodes to the history (first test-case of bug#9528).
5060
72753f87
JL
50612011-09-18 Juri Linkov <juri@jurta.org>
5062
5063 * info.el (Info-mode-syntax-table): New variable.
1154d12e 5064 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 5065
c9384295
JL
50662011-09-18 Juri Linkov <juri@jurta.org>
5067
1154d12e
JB
5068 * info.el (Info-file-supports-index-cookies):
5069 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5070 outputs one more line for long file names (bug#4142).
c9384295 5071
d473dce8
CY
50722011-09-18 Chong Yidong <cyd@stupidchicken.com>
5073
5074 * newcomment.el (comment-normalize-vars): If prompting for
5075 comment-start, set comment-start-skip too (Bug#8424).
5076
2176854d
JB
50772011-09-18 Johan Bockgård <bojohan@gnu.org>
5078
5079 * icomplete.el: Fix previous fix of Bug#5849.
5080 (icomplete-mode): Don't set completion-show-inline-help.
5081 (icomplete-minibuffer-setup): Set completion-show-inline-help
5082 locally during icompletion.
5083
3aace4e4
CY
50842011-09-18 Chong Yidong <cyd@stupidchicken.com>
5085
c940224f
CY
5086 * woman.el (woman2-process-escapes): Don't delete unrecognized
5087 escapes (Bug#7843).
5088
3aace4e4
CY
5089 * files.el (inhibit-first-line-modes-regexps): Add image files.
5090 (hack-local-variables-prop-line): Return nil for malformed
5091 prop-lines (Bug#9044).
5092
710dec63
MA
50932011-09-18 Michael Albinus <michael.albinus@gmx.de>
5094
5095 * net/tramp.el (top): Don't require 'shell.
5096 (tramp-methods): Fix docstring.
5097 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
5098 Return complete remote file name. Handle "smb" case.
5099 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
5100 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5101
5102 * net/tramp-compat.el (top): Require 'shell.
5103
5104 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5105 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5106 `tramp-current-host'.
5107 (tramp-get-remote-tmpdir): Remove.
5108
5109 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5110 `tramp-tmpdir' entries.
5111 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5112 (tramp-smb-handle-file-attributes): Ignore errors.
5113 (tramp-smb-wait-for-output): Check also for process end.
5114
5d5ac8ec
LMI
51152011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5116
5117 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5118 when sending QUIT (bug#9312).
5119
8c0f49f0
CY
51202011-09-17 Chong Yidong <cyd@stupidchicken.com>
5121
5122 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5123 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5124 occur-mode-display-occurrence.
5125 (occur-edit-mode): Add usage message.
5126 (occur-cease-edit): New command.
5127 (occur-after-change-function): Use text properties to find the
5128 position of the prefix text.
5129 (occur-engine): Set stickiness of prefix text properties.
5130
8f1383f7
GM
51312011-09-17 Glenn Morris <rgm@gnu.org>
5132
5133 * progmodes/etags.el (complete-tag):
5134 Fix call to completion-in-region. (Bug#9526)
5135
744ba0e3
JL
51362011-09-17 Juri Linkov <juri@jurta.org>
5137
5138 * textmodes/ispell.el (ispell-word): Add to the error message
5139 the word, ispell program name and current dictionary (bug#9121).
5140 (ispell-tex-arg-end): Capitalize "error" in the error message.
5141
d9bbf400
AS
51422011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5143
5144 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5145 check. (Bug#4251)
5146
8da11505
JL
51472011-09-17 Juri Linkov <juri@jurta.org>
5148
5149 * window.el (window-safe-min-height, window-safe-min-width):
5150 Fix typos (followup to bug#9522).
5151
a91adc7e
SJ
51522011-09-17 Sven Joachim <svenjoac@gmx.de>
5153
5154 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5155
064f328a
EZ
51562011-09-16 Eli Zaretskii <eliz@gnu.org>
5157
5158 * simple.el (line-move): If goal-column is set, move by logical
5159 lines, not by display lines. (Bug#971)
5160 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5161 to reflect the above change.
5162
e69df516
SM
51632011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5164
5165 * image.el (imagemagick-register-types): Use regexp-opt.
5166
cbb0f9ab
CY
51672011-09-15 Chong Yidong <cyd@stupidchicken.com>
5168
5169 * window.el (display-buffer-base-action): Rename from
5170 display-buffer-default-action. Make default value empty.
5171 (display-buffer-overriding-action): Convert to defvar.
5172 (display-buffer-fallback-action): New var.
5173
25322144
CY
51742011-09-15 Chong Yidong <cyd@stupidchicken.com>
5175
5176 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5177 declaration.
5178 (package--add-to-archive-contents): If there is a duplicate entry
5179 with an older version, remove it.
5180 (package-menu-mark-delete, package-menu-mark-install)
5181 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
5182 (package-menu-mark-obsolete-for-deletion):
5183 Use package-menu-get-status instead of a regexp search.
25322144
CY
5184 (package-menu-get-status): Use tabulated-list-entry.
5185 (package-menu-mark-upgrades): New command.
d770725a 5186 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
5187 (package-menu-execute): Do installation before deletion.
5188 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5189 instead of checking major-mode.
5190 (package-menu--find-upgrades): New function.
5191
7520339c
LMI
51922011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5193
5194 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5195 passwords in the log buffer.
65a046c4
LMI
5196 (smtpmail-process-filter): Update the process marker so that the
5197 "broken by peer" status message is inserted in the right place.
7520339c 5198
d3c30954
SM
51992011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5200
3fe48822
SM
5201 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5202 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5203 bibtex-completion-at-point-function.
5204 (bibtex-completion-at-point-function): Use them.
5205
1b8b3954
SM
5206 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5207
d3c30954
SM
5208 * mpc.el (mpc-constraints-tag-lookup): New function.
5209 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5210 also to browser "album|playlist".
5211
72779976
JL
52122011-09-14 Juri Linkov <juri@jurta.org>
5213
5214 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
5215 (isearch-edit-string): Use length of `isearch-string' when
5216 `isearch-fail-pos' returns nil.
5217 (isearch-message): Remove duplicate code and call
5218 `isearch-fail-pos' with arg `t'.
5219
a0bf2bcd
CY
52202011-09-14 Chong Yidong <cyd@stupidchicken.com>
5221
17bb0a2d
CY
5222 * replace.el (occur-mode-goto-occurrence): Don't force using other
5223 window (Bug#9499).
5224
a0bf2bcd
CY
5225 * dired-aux.el (dired-do-chmod): Don't provide initial input.
5226
f678e0b6
MR
52272011-09-14 Martin Rudalics <rudalics@gmx.at>
5228
5229 * window.el (display-buffer-window): Remove.
5230 (display-buffer-record-window): Use help-setup window parameter
5231 instead of variable display-buffer-window.
5232 (display-buffer-function, special-display-buffer-names)
5233 (special-display-function): Mention help-setup parameter instead
5234 of display-buffer-window in doc-string.
d3c30954
SM
5235 * help.el (help-window-setup): New argument help-window.
5236 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
5237 Reword some messages.
5238 (with-help-window): Pass window used for displaying the buffer
5239 to help-window-setup. Don't set display-buffer-window.
5240
8e39b2e8
GM
52412011-09-13 Glenn Morris <rgm@gnu.org>
5242
5243 * emacs-lisp/debug.el (debugger-make-xrefs):
5244 Preserve point. (Bug#9462)
5245
85e9c04b
CY
52462011-09-13 Chong Yidong <cyd@stupidchicken.com>
5247
5248 * window.el (window-deletable-p): Use next-frame.
5249
1b36ed6a
MR
52502011-09-13 Martin Rudalics <rudalics@gmx.at>
5251
5252 * window.el (window-auto-delete): Remove.
5253 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 5254 dedication and previous buffers.
1b36ed6a
MR
5255 (switch-to-prev-buffer): Don't delete window.
5256 (delete-windows-on): Delete a window's frame if and only if the
5257 window is dedicated.
5258 (replace-buffer-in-windows): Delete buffer's window or frame if
5259 and only if window is dedicated.
5260 (quit-window): Handle quit-restore as before last change.
4d61f28d 5261 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 5262
ef8ef9fb
CY
52632011-09-13 Chong Yidong <cyd@stupidchicken.com>
5264
5265 * window.el (window-deletable-p): Never delete the last frame on a
5266 given terminal.
5267
b2cba41e
GM
52682011-09-13 Glenn Morris <rgm@gnu.org>
5269
5270 * help.el (describe-key-briefly): Copy previous standard-output change.
5271
51553db6 52722011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
5273
5274 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
5275
b7556719
GM
52762011-09-13 Glenn Morris <rgm@gnu.org>
5277
5278 * emacs-lisp/lisp-mode.el (lisp-indent-function):
5279 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5280
64b51947
CY
52812011-09-12 Chong Yidong <cyd@stupidchicken.com>
5282
5283 * dired-aux.el (dired-mark-read-string): Don't return default
5284 value on empty input (Bug#9361).
5285 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5286 Omit initial minibuffer contents.
5287 (dired-do-chmod): Signal an error on empty input.
5288 (dired-mark-read-string): Don't return default on empty input.
5289
5290 * files.el (file-modes-symbolic-to-number): Doc fix.
5291
393a301e
SM
52922011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5293
5294 * international/mule-cmds.el (ucs-completions): Remove.
5295 (read-char-by-name): Use complete-with-action instead; add metadata.
5296
fa5660f9
CY
52972011-09-11 Chong Yidong <cyd@stupidchicken.com>
5298
5299 * window.el (display-buffer--action-function-custom-type)
5300 (display-buffer--action-custom-type): New vars.
5301 (display-buffer-alist, display-buffer-default-action)
5302 (display-buffer-overriding-action): Add defcustom types.
5303
4a592f66
CY
5304 * frame.el (delete-other-frames): Doc fix (Bug#276).
5305
73d56dbd
LMI
53062011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5307
5308 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5309
37ac18a3
CY
53102011-09-11 Chong Yidong <cyd@stupidchicken.com>
5311
5312 Change modes that used same-window-* vars to use switch-to-buffer.
5313
5314 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5315 Use switch-to-buffer.
5316
5317 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
5318 (customize-browse, custom-buffer-create-other-window):
5319 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
5320
5321 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5322 (Info-prev, Info-up, Info-speedbar-goto-node)
5323 (info-display-manual): Use switch-to-buffer.
5324 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5325
5326 * mail/sendmail.el (mail): Use switch-to-buffer.
5327 (mail-recover): Use switch-to-buffer-other-window.
5328
5329 * cmuscheme.el (run-scheme, switch-to-scheme):
5330 * ielm.el (ielm):
5331 * shell.el (shell):
5332 * net/rlogin.el (rlogin):
5333 * net/telnet.el (telnet, rsh):
5334 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5335
10195bd6
AS
53362011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5337
5338 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5339
b322f63a
LMI
53402011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5341
39d7fed6
LMI
5342 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5343 so don't mention it (bug#9301).
ba5a81f1 5344 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 5345
ee0e9f11
LMI
5346 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5347 match `x', `w32' and `ns', like the manual says (bug#9029).
5348
0b1c89c1 5349 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
5350 (process-kill-buffer-query-function): Mention the buffer name in
5351 the query.
0b1c89c1 5352
77549ea8
LMI
5353 * image-mode.el (image-next-line): The line parameter is mandatory
5354 (bug#9258).
5355
803ef892
LMI
5356 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5357 which can be useful (bug#9301).
5358
12980837
LMI
5359 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5360
91054f8f
LMI
5361 * subr.el (match-string): Mention that the current buffer should
5362 be the same as the search was done in (bug#9282).
5363
b322f63a
LMI
5364 * facemenu.el: Disable the remove-* commands if the mark isn't
5365 active (bug#9162).
5366
3199b96f
CY
53672011-09-10 Chong Yidong <cyd@stupidchicken.com>
5368
5369 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5370 of display-buffer.
5371 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5372
5373 * replace.el (occur-mode-goto-occurrence)
5374 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5375 and display-buffer.
5376
5377 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5378 display-buffer.
5379
5380 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5381 special-display and same-window variables.
5382 (mail-other-window): Use switch-to-buffer-other-window.
5383 (mail-other-frame): USe switch-to-buffer-other-frame.
5384
393a301e
SM
5385 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5386 Use display-buffer-other-frame.
3199b96f
CY
5387 (gdb-display-gdb-buffer): Use pop-to-buffer.
5388
5389 * progmodes/gud.el (gud-goto-info): Use info-other-window.
5390
5391 * progmodes/python.el: Don't set same-window-buffer-names.
5392
5393 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5394
5395 * window.el (display-buffer-alist): Add *Python*.
5396
8319e0bf
CY
53972011-09-10 Chong Yidong <cyd@stupidchicken.com>
5398
5399 * window.el (display-buffer-alist): Add entry for buffers
5400 previously handled same-window-*.
5401 (display-buffer-alist, display-buffer-default-action)
5402 (display-buffer-overriding-action): Mark as risky.
5403 (display-buffer-alist): Document action function changes.
5404 (display-buffer--same-window-action)
5405 (display-buffer--other-frame-action): New variables.
5406 (switch-to-buffer, display-buffer-other-frame): Use them.
5407 (display-buffer): Rename reuse-frame entry to reusable-frames.
5408 (display-buffer-reuse-selected-window): Function deleted.
5409 (display-buffer-reuse-window): Handle reusable-frames alist entry.
5410 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5411 (display-buffer-special): New function.
5412 (display-buffer--maybe-pop-up-frame-or-window): Rename from
5413 display-buffer-reuse-or-pop-window. Split off special-display
5414 part into display-buffer-special.
5415 (display-buffer-use-some-window): Don't perform any special
5416 pop-up-frames handling.
5417 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 5418 (display-buffer--maybe-same-window): Rename from
0d3ff375 5419 display-buffer-maybe-same-window.
8319e0bf 5420
919a69aa
CY
5421 * info.el: Don't set same-window-regexps.
5422 (info-setup): New function.
5423 (info-other-window, info): Call it.
5424
5425 * cus-edit.el: Don't set same-window-regexps.
5426 (customize-group): New argument.
5427 (customize-group-other-window): Use it.
5428 (customize-face, customize-face-other-window): Likewise.
5429 (custom-buffer-create-other-window): Use pop-to-buffer directly.
5430
8319e0bf
CY
5431 * net/rlogin.el:
5432 * net/telnet.el:
5433 * progmodes/gud.el: Don't set same-window-regexps.
5434
5435 * cmuscheme.el:
5436 * ielm.el:
5437 * shell.el:
5438 * mail/sendmail.el:
5439 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5440
25173000
JL
54412011-09-10 Juri Linkov <juri@jurta.org>
5442
5443 * isearch.el (isearch-edit-string): Remove obsolete mention of
5444 `C-w' (`isearch-yank-word-or-char') from docstring.
5445 (isearch-query-replace): Fix typo in docstring (bug#9466).
5446
056e44ef
JL
54472011-09-10 Juri Linkov <juri@jurta.org>
5448
5449 * paren.el (show-paren-function): Don't show escaped parens.
5450 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
5451
c3760c17
EZ
54522011-09-10 Eli Zaretskii <eliz@gnu.org>
5453
5454 * mail/sendmail.el (mml-to-mime, mml-attach-file)
5455 (mm-default-file-encoding): Remove autoload forms, they are
5456 replaced with autoload cookies in mml.el and mm-encode.el.
5457 (mail-add-attachment): New command.
5458 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5459 (mail-mode): Mention mail-insert-file and mail-add-attachment in
5460 the doc string.
5461 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5462
fece895e
RT
54632011-09-10 Reuben Thomas <rrt@sc3d.org>
5464
e69df516
SM
5465 * simple.el (count-words-region): Use buffer if there's no region
5466 (bug#9429).
fece895e 5467
5e68ce4a
JL
54682011-09-09 Juri Linkov <juri@jurta.org>
5469
5470 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5471 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5472 (wdired-isearch-filter-read-only): New function. (Bug#6362)
5473
0a6b9622
AM
54742011-09-09 Alan Mackenzie <acm@muc.de>
5475
5476 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5477 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
5478
14a29deb
EZ
54792011-09-09 Eli Zaretskii <eliz@gnu.org>
5480
5481 Fix for Savannah bug#9392.
5482 * simple.el (mail-encode-mml): New defvar.
5483
5484 * mail/rmail.el (mail-encode-mml): Add a defvar.
5485 (rmail-enable-mime-composing): Default to t.
5486 (rmail-forward): Use MIME method of forwarding only if both
5487 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5488 Set mail-encode-mml non-nil if the MIME method was used.
5489
5490 * mail/sendmail.el (mml-to-mime): Add autoload form.
5491 (mail-encode-mml): Add a defvar.
5492 (mail-mode): Make mail-encode-mml buffer-local and initialize it
5493 to nil.
5494 (mail-send): If mail-encode-mml is non-nil, run the outgoing
5495 message through mml-to-mime, and reset mail-encode-mml to nil.
5496
28c45130
GM
54972011-09-09 Glenn Morris <rgm@gnu.org>
5498
5499 * woman.el (woman-if-body): When processing an .el block,
5500 do not delete the next .el block as well. (Bug#9447)
69f4b618 5501 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 5502
9b1c252e
MR
55032011-09-08 Martin Rudalics <rudalics@gmx.at>
5504
5505 * window.el (window-deletable-p): Make sure window is live before
5506 invoking window-prev-buffers.
5507
567457e3
LL
55082011-09-08 Leo Liu <sdl.web@gmail.com>
5509
5510 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
5511
97f05794
JL
55122011-09-08 Juri Linkov <juri@jurta.org>
5513
5514 * progmodes/compile.el (compilation-environment): Make it
5515 a defcustom (bug#8340).
5516
8b0874b5
MR
55172011-09-08 Martin Rudalics <rudalics@gmx.at>
5518
5519 * window.el (frame-auto-delete): Rename to window-auto-delete.
5520 Make it control auto-deletion of windows and/or frames.
5521 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 5522 for deleting window/frame. (Bug#9419)
8b0874b5
MR
5523 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5524 Rewrite handling of case when window/frame can be deleted.
5525 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 5526 argument t. (Bug#9456)
8b0874b5 5527
4feb6e73
CY
55282011-09-07 Chong Yidong <cyd@stupidchicken.com>
5529
5530 * help-mode.el (help-mode): Restore autoload.
5531
91ab9c13
JL
55322011-09-07 Juri Linkov <juri@jurta.org>
5533
5534 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5535 `compilation-environment'. Set buffer-local
5536 `compilation-environment' to `thisenv' later after (funcall mode).
5537 (Bug#8340)
5538
5539 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
5540 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5541 instead of replacing its value. (Bug#8340)
5542
0527e251
JL
55432011-09-07 Juri Linkov <juri@jurta.org>
5544
5545 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5546 based on text properties put by `grep-filter' instead of matching
5547 escape sequences.
5548 (grep-mode): Set buffer-local `compilation-error-screen-columns'
5549 to the value of `grep-error-screen-columns' (bug#9438).
5550
249f792c
JL
55512011-09-07 Juri Linkov <juri@jurta.org>
5552
5553 * simple.el (next-error-highlight, next-error-highlight-no-select):
5554 Doc fix (bug#9432).
5555
ff7271b9
OT
55562011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5557
5558 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5559 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
5560
183fc730
LL
55612011-09-07 Leo Liu <sdl.web@gmail.com>
5562
5563 * net/rcirc.el (rcirc-mode): Conditionally initialize
5564 rcirc-input-ring.
5565
77694924
SM
55662011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5567
5568 * emacs-lisp/find-func.el (find-function-C-source): Only set
5569 find-function-C-source-directory after checking that we found a source
5570 file there (bug#9440).
5571
d809b8eb
AM
55722011-09-06 Alan Mackenzie <acm@muc.de>
5573
5574 * isearch.el (isearch-other-meta-char): Wherever a key list is
5575 unread, "unread" the prefix arg, too. This fixes bug #8901.
5576
453de99f
OG
55772011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5578
5579 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5580
90439906
JL
55812011-09-05 Juri Linkov <juri@jurta.org>
5582
5583 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5584
f62bd846
JL
55852011-09-05 Juri Linkov <juri@jurta.org>
5586
5587 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5588 keeping point where processing of grep matches begins, and
5589 continue to delete remaining escape sequences from the same point.
5590 (grep-filter): Make leading zero optional in "0?1;31m" because
5591 git-grep emits "\033[1;31m" escape sequences unlike expected
5592 "\033[01;31m" as GNU Grep does (bug#9408).
5593 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5594
045820ec
JL
55952011-09-05 Juri Linkov <juri@jurta.org>
5596
5597 * subr.el (y-or-n-p): Capitalize "yes".
5598
f5e29b9b
MA
55992011-09-04 Michael Albinus <michael.albinus@gmx.de>
5600
5601 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
5602 `tramp-cache-unload-hook' where appropriate.
5603 (tramp-methods): Rename `tramp-remote-sh' to
5604 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
5605 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5606
5607 * net/tramp-sh.el (top): Don't require 'shell.
5608 (tramp-methods): Add `tramp-remote-shell' and
5609 `tramp-remote-shell-args' entries.
5610 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5611 (tramp-sh-handle-shell-command): Remove.
5612 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5613 Use `tramp-remote-shell'.
5614
2784c434
CY
56152011-09-03 Chong Yidong <cyd@stupidchicken.com>
5616
393a301e 5617 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
5618 (sendmail-query-once): Save directly to send-mail-function.
5619 Update message-send-mail-function too.
5620
5621 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5622
464cdf56
CS
56232011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5624
5625 * progmodes/python.el (python-mode-map): Use correct function to
5626 start python interpreter from menu-bar (as reported by Geert
5627 Kloosterman).
5628 (inferior-python-mode-map): Fix typo.
393a301e 5629 (python-shell-map): Remove.
464cdf56 5630
d37e5c87
DD
56312011-09-03 Deniz Dogan <deniz@dogan.se>
5632
5633 * net/rcirc.el (rcirc-print): Simplify code for
5634 rcirc-scroll-show-maximum-output. There is no need to walk
5635 through all windows to find the right one.
5636
f3ada0ee
CS
56372011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5638
5639 * help.el (help-return-method): Doc fix.
5640
1f3c99ca
MR
56412011-09-03 Martin Rudalics <rudalics@gmx.at>
5642
5643 * window.el (window-deletable-p): Don't return a non-nil value
5644 when there's a buffer that was shown in the window before.
5645 (Bug#9419)
393a301e
SM
5646 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5647 Set window's previous buffers to nil.
1f3c99ca 5648
a3cf097f
EZ
56492011-09-03 Eli Zaretskii <eliz@gnu.org>
5650
5651 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5652 newline before and after the tag line, so it doesn't interfere
5653 with determining the paragraph direction of bidirectional text.
5654
3d03de90
LL
56552011-09-03 Leo Liu <sdl.web@gmail.com>
5656
5657 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5658
c3313451
CY
56592011-09-02 Chong Yidong <cyd@stupidchicken.com>
5660
393a301e 5661 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
5662 (pop-to-buffer): Change interactive spec. Pass second argument
5663 directly to display-buffer.
5664 (display-buffer): Fix interactive spec. Use functionp to
5665 distinguish between a function and a list of functions.
5666
5667 * abbrev.el (edit-abbrevs):
5668 * arc-mode.el (archive-extract):
5669 * autoinsert.el (auto-insert):
5670 * bookmark.el (bookmark-bmenu-list):
5671 * files.el (find-file):
5672 * view.el (view-buffer):
5673 * progmodes/compile.el (compilation-goto-locus):
5674 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5675
89894cd8
CY
56762011-09-02 Chong Yidong <cyd@stupidchicken.com>
5677
5678 * window.el (display-buffer-alist): Doc fix.
5679 (display-buffer): Add docstring. Don't treat
5680 display-buffer-default specially.
5681 (display-buffer-reuse-selected-window)
5682 (display-buffer-same-window, display-buffer-maybe-same-window)
5683 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5684 (display-buffer-pop-up-window)
5685 (display-buffer-reuse-or-pop-window)
5686 (display-buffer-use-some-window): New functions.
5687 (display-buffer-default-action): Use them.
393a301e 5688 (display-buffer-default): Delete.
89894cd8
CY
5689 (pop-to-buffer-1): Fix choice of actions.
5690
ae0bc9fb
SM
56912011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5692
5693 * minibuffer.el (completion--insert-strings): Don't get confused by
5694 completion entries that end with an LF char.
5695
e9d90883
EZ
56962011-09-01 Eli Zaretskii <eliz@gnu.org>
5697
5698 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5699
437014c8
CY
57002011-09-01 Chong Yidong <cyd@stupidchicken.com>
5701
5702 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
5703 (display-buffer-same-window, display-buffer-other-window):
5704 New functions.
437014c8
CY
5705 (pop-to-buffer-1): New function. Use the above.
5706 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 5707 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
5708
5709 * view.el (view-buffer-other-window, view-buffer-other-frame):
5710 Just use pop-to-buffer.
5711
a5e063d5
TV
57122011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5713
5714 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5715
793d32bb
WH
57162011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5717
5718 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5719
d65e4c15
RS
57202011-08-31 Richard Stallman <rms@gnu.org>
5721
5722 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5723 of the separation of rmail-view-buffer from rmail-buffer.
5724 If you say no to "replace original", the decrypt is in the
5725 view buffer. If you say yes, the decrypt goes into the
5726 rmail buffer also.
5727
f818cd2a
MR
57282011-08-31 Martin Rudalics <rudalics@gmx.at>
5729
5730 * window.el (display-buffer-window): Rewrite doc-string.
5731 (display-buffer-record-window): New function.
5732 (display-buffer-macro-specifiers)
5733 (display-buffer-even-window-sizes, display-buffer-set-height)
5734 (display-buffer-set-width, display-buffer-in-window)
5735 (display-buffer-reuse-window, display-buffer-split-specifiers)
5736 (display-buffer-side-specifiers, display-buffer-split-window-1)
5737 (display-buffer-split-window, display-buffer-split-atom-window)
5738 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5739 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5740 (display-buffer-other-window-means-other-frame)
5741 (display-buffer-normalize-special)
5742 (display-buffer-normalize-default)
5743 (display-buffer-normalize-argument)
5744 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5745 (display-buffer-normalize-specifiers, display-buffer-frame)
5746 (display-buffer-same-window, display-buffer-same-frame)
5747 (display-buffer-other-window)
5748 (display-buffer-same-frame-other-window)
5749 (display-buffer-other-frame, pop-to-buffer-same-window)
5750 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5751 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5752 (switch-to-buffer-same-frame)
5753 (switch-to-buffer-other-window-same-frame)
5754 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5755 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5756 (display-buffer-alist-set): Remove.
5757 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
5758 (special-display-regexps, special-display-function):
5759 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
5760 parameter.
5761 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5762 (special-display-frame-alist, special-display-popup-frame)
5763 (same-window-buffer-names, same-window-regexps, same-window-p)
5764 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5765 (split-window-preferred-function, split-height-threshold)
5766 (split-width-threshold, window-splittable-p)
5767 (split-window-sensibly, window--try-to-split-window)
5768 (window--frame-usable-p, even-window-heights)
5769 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
5770 (window--display-buffer-2, display-buffer-other-frame):
5771 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
5772 (display-buffer-default, display-buffer-assq-regexp): New functions.
5773 (display-buffer-alist): Rewrite doc-string.
5774 (display-buffer-default-action)
5775 (display-buffer-overriding-action): New variables.
5776 (display-buffer, switch-to-buffer): Rewrite.
5777 (pop-to-buffer): Restore Emacs 23 behavior but use
5778 window-normalize-buffer-to-display.
5779 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5780 Restore Emacs 23 behavior but use
5781 window-normalize-buffer-to-switch-to.
5782 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
5783 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5784 Rewrite using Emacs 23 options.
f818cd2a 5785
5bc3b51d
MA
57862011-08-31 Michael Albinus <michael.albinus@gmx.de>
5787
5788 * net/tramp.el (tramp-root-regexp): Remove.
5789 (tramp-completion-file-name-regexp-unified)
5790 (tramp-completion-file-name-regexp-separate)
5791 (tramp-completion-file-name-regexp-url): Don't use leading volume
5792 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
5793 (tramp-drop-volume-letter): Simplify definition.
5794 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 5795
b1a4f8e1
SM
57962011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5797
5798 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5799 (bug#9356).
5800
5664fa7b
RT
58012011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5802
b1a4f8e1 5803 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 5804
9a45d6c3
JL
58052011-08-29 Juri Linkov <juri@jurta.org>
5806
5807 * isearch.el (isearch-done): Don't display message "Mark saved"
5808 when arg `edit' is non-nil to prevent its flicker in the echo area.
5809
fb87e0fb
CY
58102011-08-28 Chong Yidong <cyd@stupidchicken.com>
5811
5812 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5813 obsolete packages for deletion.
5814
09ac1c2a
CS
58152011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5816
5817 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 5818 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
5819 view-mode from help-mode.
5820 (help-xref-override-view-map): Remove.
5821 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5822 view-mode is not used anymore.
5823
7a1ff57f
CY
58242011-08-28 Chong Yidong <cyd@stupidchicken.com>
5825
5826 * server.el (server-port): Doc fix.
5827
b9696605
CY
5828 * cus-theme.el (custom-theme-choose-mode): Inherit from
5829 special-mode (Bug#9124).
5830 (custom-theme-choose-mode-map): Add special-mode to parent.
5831
ef8cdf8c
AM
58322011-08-28 Alan Mackenzie <acm@muc.de>
5833
5834 * progmodes/cc-fonts.el
5835 (c-make-font-lock-BO-decl-search-function): New function.
5836 (c-basic-matchers-after - "Fontify the clauses after various
5837 keywords"): Extract the three keyword lists for the 3 erroneous
5838 constructs from the list of four, and use the new function above
5839 in place of an old one.
5840
27de4e20
DD
58412011-08-28 Deniz Dogan <deniz@dogan.se>
5842
5843 * net/rcirc.el (rcirc-insert-prev-input)
5844 (rcirc-insert-next-input): Remove unused argument.
5845
356a3681
SM
58462011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5847
5848 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5849
3fc9b218
AM
58502011-08-27 Alan Mackenzie <acm@muc.de>
5851
5852 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5853 handle function pointer parameters properly.
5854
538a061c
MR
58552011-08-27 Martin Rudalics <rudalics@gmx.at>
5856
5857 * window.el (display-buffer-reuse-window): Fix case where
5858 selected window was reused with non-nil OTHER-WINDOW argument.
5859 (Bug#9381)
5860
35b1c40c
DD
58612011-08-27 Deniz Dogan <deniz@dogan.se>
5862
5863 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5864 oftc's NickServ messages.
5865
2f6a3e79
GM
58662011-08-27 Glenn Morris <rgm@gnu.org>
5867
5868 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5869
7254299e
CY
58702011-08-26 Chong Yidong <cyd@stupidchicken.com>
5871
5872 * emacs-lisp/package.el (package-install): Call package-initialize
5873 if called interactively.
5874
f8ccf167
LL
58752011-08-26 Leo Liu <sdl.web@gmail.com>
5876
5877 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5878
3e8cd5ce
JL
58792011-08-25 Juri Linkov <juri@jurta.org>
5880
5881 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5882 `search-whitespace-regexp' (bug#9364).
5883
93eb7113
JL
58842011-08-25 Juri Linkov <juri@jurta.org>
5885
5886 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5887 `regexp-search-ring' to their global values to protect from
5888 updating by `read-from-minibuffer' (bug#9185).
5889
f65d1611
JL
58902011-08-25 Juri Linkov <juri@jurta.org>
5891
5892 * textmodes/ispell.el (ispell-command-loop): Add newline
5893 at the end of the "Use option `i'..." line.
5894
f1cf7a31
JL
58952011-08-25 Juri Linkov <juri@jurta.org>
5896
5897 * battery.el (display-battery-mode): If `battery-status-function'
5898 or `battery-mode-line-format' is nil, display the message and set
5899 `display-battery-mode' to nil (bug#9363).
5900
0c95fcf7
EZ
59012011-08-25 Eli Zaretskii <eliz@gnu.org>
5902
5903 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5904 bidi-string-mark-left-to-right; they are unnecessary now.
5905
a2ebe600
DD
59062011-08-25 Deniz Dogan <deniz@dogan.se>
5907
5908 * net/quickurl.el: Documentation typo fixes.
5909
e4ed06f1
CY
59102011-08-25 Chong Yidong <cyd@stupidchicken.com>
5911
5912 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5913
e5f1c99e
GM
59142011-08-25 Glenn Morris <rgm@gnu.org>
5915
b2948976
GM
5916 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5917
e5f1c99e
GM
5918 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5919 (smtpmail-via-smtp): Handle nil response from smtp.
5920
f22f4808
JL
59212011-08-24 Juri Linkov <juri@jurta.org>
5922
5923 * proced.el (proced-marked): Inherit from `error' instead of
5924 `font-lock-warning-face'.
5925
5926 * ibuffer.el (ibuffer-marked-face): Change default face from
5927 `font-lock-warning-face' to `warning'.
5928 (ibuffer-deletion-face): Change default face from
5929 `font-lock-type-face' to `error'.
5930
5931 * battery.el (battery-update): Use the face `error' instead of
5932 `font-lock-warning-face' (bug#6117).
5933
6a93965e
JL
59342011-08-24 Juri Linkov <juri@jurta.org>
5935
5936 * faces.el (success): Change face color from "Green3" to
5937 "ForestGreen" on light background (bug#9353).
5938
1ed43b09
CY
59392011-08-24 Chong Yidong <cyd@stupidchicken.com>
5940
5664fa7b
RT
5941 * window.el (quit-window): Rename from quit-restore-window.
5942 Use same arglist as old quit-window.
1ed43b09
CY
5943 (frame-auto-delete): Doc fix.
5944
5945 * view.el (view-mode-exit): Use quit-window.
5946
11dcdbb2
JL
59472011-08-24 Juri Linkov <juri@jurta.org>
5948
5949 * isearch.el (isearch-ring-adjust1): Start visiting previous
5950 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5951 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5952 for empty search string (when the last search string is reused
5953 automatically) to adjust the isearch ring to the last element and
5954 prepare the correct index for further M-p commands (bug#9185).
5955
de62b4df
KH
59562011-08-24 Kenichi Handa <handa@m17n.org>
5957
5958 * international/ucs-normalize.el: If decomposition property of
5959 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5960 nil.
5961 (nfd, nfkd): Likewise.
5962
963b492b
SM
59632011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5964
5965 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5966 from process filters aren't reliably transmitted to the surrounding
5967 accept-process-output.
5968 (mpc-proc-check): New function.
5969 (mpc-proc-sync): Use it (bug#8293)
5970
93b6b5e1
SM
59712011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5972
5973 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5974 Add compatibility functions (bug#9313).
5975
bca633fb
EZ
59762011-08-23 Eli Zaretskii <eliz@gnu.org>
5977
b177498a
EZ
5978 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5979
6df6ae42 5980 * international/uni-bidi.el: Regenerate.
bca633fb 5981
0902a04e
KH
59822011-08-23 Kenichi Handa <handa@m17n.org>
5983
5984 * international/charprop.el:
5985 * international/uni-bidi.el:
5986 * international/uni-category.el:
5987 * international/uni-combining.el:
5988 * international/uni-comment.el:
5989 * international/uni-decimal.el:
5990 * international/uni-decomposition.el:
5991 * international/uni-digit.el:
5992 * international/uni-lowercase.el:
5993 * international/uni-mirrored.el:
5994 * international/uni-name.el:
5995 * international/uni-numeric.el:
5996 * international/uni-old-name.el:
5997 * international/uni-titlecase.el:
5998 * international/uni-uppercase.el: Regenerate.
5999
3bbf23bc
MR
60002011-08-23 Martin Rudalics <rudalics@gmx.at>
6001
6002 * help.el (help-window-setup): Fix message displayed when other
6003 window is reused. (Bug#9341)
6004
b3fd59bd
SM
60052011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6006
1802e444
SM
6007 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6008 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6009
b3fd59bd
SM
6010 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6011 Mark obsolete.
6012 * shell.el (shell-parse-pcomplete-arguments): New function.
6013 (shell-completion-vars): Use it instead (bug#9160).
6014
4eb61348
SM
60152011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6016
867cab74
SM
6017 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6018 strings and comments (bug#9333).
6019
4eb61348
SM
6020 * emacs-lisp/debug.el (debug-arglist): New function.
6021 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6022 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6023
262a1439
JL
60242011-08-22 Juri Linkov <juri@jurta.org>
6025
56ee679c
JL
6026 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6027 Revert regexp that highlights output switches to its old
6028 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6029
262a1439
JL
6030 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6031 to check for empty output (bug#9226).
6032
f13f86fb
CY
60332011-08-22 Chong Yidong <cyd@stupidchicken.com>
6034
6035 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6036 symbol-constituent as the default, as that stops font-lock from
6037 working properly (Bug#8843).
6038
c65c9622
LMI
60392011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6040
6041 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6042 `coding-system-for-*' around the process open call to avoid
6043 auth-source side effects.
e7f2c178 6044 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
6045 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6046 probe hangs.
c65c9622 6047
23a8a5ab
CY
60482011-08-21 Chong Yidong <cyd@stupidchicken.com>
6049
ff98b2dd
CY
6050 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6051
23a8a5ab
CY
6052 * emacs-lisp/find-func.el (find-function-noselect): New arg
6053 lisp-only.
6054
6055 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6056 signal an error for built-in functions (Bug#6664).
6057
f5e3c598
LMI
60582011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6059
6060 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6061 (smtpmail-try-auth-methods): Use it.
6062
a3f2468a
CY
60632011-08-21 Chong Yidong <cyd@stupidchicken.com>
6064
2c34e8da
CY
6065 * font-lock.el (font-lock-fontify-region)
6066 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6067 (font-lock-default-unfontify-buffer)
6068 (font-lock-default-fontify-region)
6069 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6070
b3fd59bd
SM
6071 * progmodes/compile.el (compilation-error-properties):
6072 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
6073 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6074 `ant' regexp.
ee31aabc 6075
a3f2468a
CY
6076 * net/browse-url.el (browse-url-firefox): Don't call
6077 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6078
8e999f70
GM
60792011-08-20 Glenn Morris <rgm@gnu.org>
6080
c21a496a
GM
6081 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6082
59ee0542
GM
6083 * tutorial.el (tutorial--default-keys): Update some default bindings.
6084
8e999f70
GM
6085 * files.el (hack-local-variables): Fully ignore case for "mode:".
6086
e3715033
AM
60872011-08-20 Alan Mackenzie <acm@muc.de>
6088
6089 Resolve invalid use of a regexp in regexp-opt.
6090
4d61f28d
JB
6091 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6092 detection for a java annotation.
e3715033 6093
4d61f28d 6094 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
6095 detection for a java annotation.
6096
4d61f28d
JB
6097 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6098 handling for java.
e3715033
AM
6099 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6100
04ed2e9c
CY
61012011-08-20 Chong Yidong <cyd@stupidchicken.com>
6102
6103 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6104 (Bug#9274).
6105
826cee64
AM
61062011-08-20 Alan Mackenzie <acm@muc.de>
6107
58179cce 6108 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
6109 such a construct. Mainly for when jit-lock etc. starts a chunk
6110 here.
6111
58179cce 6112 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 6113 variable.
58179cce 6114 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
6115 c-make-font-lock-search-function.
6116 (c-make-font-lock-search-function): Use the above function.
6117 (c-make-font-lock-context-search-function): New function.
6118 (c-cpp-matchers): Enhance the preprocessor expression case with
6119 the above function
6120 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6121 which takes an expression.
6122
6123 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6124
13009bd8
MR
61252011-08-20 Martin Rudalics <rudalics@gmx.at>
6126
6127 * window.el (display-buffer-reuse-window)
6128 (display-buffer-pop-up-window): Don't reuse or split a side
6129 window.
6130
9234ff7f
GM
61312011-08-19 Glenn Morris <rgm@gnu.org>
6132
6133 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 6134 Downcase "Mode:". (Bug#9331)
9234ff7f 6135
f635daa1
CY
61362011-08-18 Chong Yidong <cyd@stupidchicken.com>
6137
6138 * international/characters.el: Add L and R categories.
6139
6140 * subr.el (bidi-string-mark-left-to-right): Rename from
6141 string-mark-left-to-right. Use category search.
6142
6143 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6144
bc987f8b
JL
61452011-08-18 Juri Linkov <juri@jurta.org>
6146
6147 * faces.el (error, warning, success): New faces with definitions
6148 copied from old default values of `font-lock-warning-face',
6149 `compilation-warning', `compilation-info' (bug#6117).
6150
6151 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6152
6153 * progmodes/compile.el (compilation-error): Inherit from `error'.
6154 (compilation-warning): Inherit from `warning'.
6155 (compilation-info): Inherit from `success'.
6156
6157 * dired.el (dired-marked): Inherit from `warning'.
6158 (dired-flagged): Inherit from `error'.
6159
57173b96
LMI
61602011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6161
3e79eb87
LMI
6162 * mail/smtpmail.el (auth-source): Require to avoid problems with
6163 binding variables (bug#9298). Also clean up some unused
6164 autoloads.
6165
b3fd59bd
SM
6166 * net/network-stream.el (network-stream-open-starttls):
6167 Support using starttls.el without using gnutls-cli.
57173b96 6168
02b404de
JL
61692011-08-17 Juri Linkov <juri@jurta.org>
6170
6171 * progmodes/grep.el (rgrep): Handle the case when
6172 `grep-find-command' is a cons cell (bug#9278).
6173
8c9177f2
MR
61742011-08-17 Martin Rudalics <rudalics@gmx.at>
6175
6176 * window.el (display-buffer-pop-up-frame): Run frame creation
6177 function with BUFFER current (as special-display-popup-frame
6178 does). Reported by Drew Adams.
6179
3644a0ab
DU
61802011-08-17 Daiki Ueno <ueno@unixuser.org>
6181
6182 * epa-mail.el: Simplify GnuPG group expansion using
6183 epg-expand-group.
6184 (epa-mail-group-alist, epa-mail-group-modtime)
6185 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6186 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6187 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6188 Remove.
6189
5e617bc2 61902011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
6191
6192 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6193
9c4aeabf
AM
61942011-08-16 Alan Mackenzie <acm@muc.de>
6195
6196 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6197 Correct, to avoid the inside of macros.
6198
3a99bf64
RS
61992011-08-16 Richard Stallman <rms@gnu.org>
6200
04963aa8
RS
6201 * epa-mail.el: Handle GnuPG group definitions.
6202 (epa-mail-group-alist, epa-mail-group-modtime)
6203 (epa-mail-gnupg-conf-file): New variables.
6204 (epa-mail-parse-groups, epa-mail-sync-groups)
6205 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6206 (epa-mail-expand-recipients): New functions.
6207 (epa-mail-encrypt): Call epa-mail-expand-recipients.
6208
177549d0
RS
6209 * mail/rmail.el (rmail-epa-decrypt): New command.
6210
fe38beef
RS
6211 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6212 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
6213 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6214 (epa-decrypt-armor-in-region): Make error message clearer.
6215
934eacb9
SM
62162011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6217
6218 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6219 and "a2b" to "ab" for `prefix'.
6220
d024fb4e
CY
62212011-08-14 Chong Yidong <cyd@stupidchicken.com>
6222
6223 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6224 filter groups.
de148fee
CY
6225 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
6226 Fourquet (Bug#8804).
d024fb4e 6227
62f1ca49
JB
62282011-08-12 Juanma Barranquero <lekktu@gmail.com>
6229
6230 * startup.el (argi): Declare as global variable (bug#9275).
6231
9ccaaa4b
CY
62322011-08-12 Chong Yidong <cyd@stupidchicken.com>
6233
6234 * subr.el (string-mark-left-to-right): Search the entire string
6235 for RTL script, not just the terminating character. Doc fix.
6236
a3dae87a
SM
62372011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6238
6cd18349
SM
6239 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6240 New function.
6241 (js--regexp-literal, js-syntax-propertize-function): Remove.
6242 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6243 (js-mode-map): Don't rebind electric keys.
6244 (js-insert-and-indent): Remove.
6245 (js-mode): Setup electric-layout and electric-indent instead.
6246
a3dae87a
SM
6247 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6248
9d5cb631
DU
62492011-08-12 Daiki Ueno <ueno@unixuser.org>
6250
6251 * epa.el (epa-progress-callback-function): Fix the logic of
6252 displaying progress.
6253 * epa-file.el (epa-file-insert-file-contents): Make progress
6254 display more user-friendly.
6255 (epa-file-write-region): Ditto.
6256
3e26a4a2
CY
62572011-08-10 Chong Yidong <cyd@stupidchicken.com>
6258
6259 * subr.el (string-mark-left-to-right): New function.
6260
6261 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6262 Use string-mark-left-to-right.
6263 (list-buffers-noselect): Caller changed.
6264
a3dae87a
SM
6265 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6266 Use string-mark-left-to-right.
3e26a4a2
CY
6267 (tabulated-list-print): Recenter after moving point.
6268
ac8cf6e6
JL
62692011-08-10 Juri Linkov <juri@jurta.org>
6270
6271 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6272 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6273 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6274
8d96c9a4
CY
62752011-08-09 Chong Yidong <cyd@stupidchicken.com>
6276
6277 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6278 (Bug#7554).
6279
7be1c708 62802011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
6281
6282 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6283 character. (Bug#6594)
6284
37e11a63
CY
62852011-08-08 Chong Yidong <cyd@stupidchicken.com>
6286
839dde57
CY
6287 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6288 (image-dired--with-db-file): New macro.
6289 (image-dired-write-tags, image-dired-remove-tag)
6290 (image-dired-create-gallery-lists, image-dired-write-comments)
6291 (image-dired-get-comment, image-dired-mark-tagged-files)
6292 (image-dired-list-tags, image-dired-gallery-generate): Use it.
6293 (image-dired-gallery-generate): Use insert-file-contents.
6294
37e11a63
CY
6295 * time.el (display-time-world-list, display-time-world-display):
6296 * time-stamp.el (time-stamp-string):
6297 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6298 set-time-zone-rule (Bug#7337).
6299
0b4946c4
DU
63002011-08-08 Daiki Ueno <ueno@unixuser.org>
6301
6302 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6303 (epg-error-to-string, epg-errors-to-string): New function.
6304 (epg-wait-for-completion): Reverse errors list.
6305 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6306 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6307 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6308 (epg-sign-keys, epg-generate-key-from-file)
6309 (epg-generate-key-from-string): Format errors by using
6310 epg-errors-to-string (bug#9255).
6311 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6312
75bfc667
JL
63132011-08-07 Juri Linkov <juri@jurta.org>
6314
6315 * faces.el (list-faces-display): Remove extra angle bracket
6316 from `help-mode-map'.
6317
6318 * info.el (Info-history-toc-nodes): Doc fix.
6319
6320 * longlines.el (longlines-mode): Doc fix.
6321
673e08bb
SM
63222011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6323
4640dd88
SM
6324 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6325 of statements and in a few more cases (bug#9183).
6326
673e08bb
SM
6327 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6328 New functions.
6329 (cl-transform-lambda): Use them (bug#9239).
6330
89b3f019
MR
63312011-08-05 Martin Rudalics <rudalics@gmx.at>
6332
6333 * window.el (display-buffer-same-window)
6334 (display-buffer-same-frame, display-buffer-other-window)
6335 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6336 (pop-to-buffer-other-window)
6337 (pop-to-buffer-same-frame-other-window)
6338 (pop-to-buffer-other-frame): Make them defuns.
6339 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6340
640c8776
SM
63412011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6342
6343 * subr.el (make-composed-keymap): Move from C. Change calling
6344 convention, and improve docstring to bring attention to a subtle point.
6345 * minibuffer.el (completing-read-default): Adjust accordingly.
6346
63648a95
MA
63472011-08-03 Michael Albinus <michael.albinus@gmx.de>
6348
6349 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6350 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6351
6352 * net/trampver.el: Update release number.
6353
b796c9b7
SM
63542011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6355
6356 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6357 "in" (bug#9190).
6358
2239d7d5
LMI
63592011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6360
e07dd7c3
LMI
6361 * mail/sendmail.el (sendmail-query-once): Restore the current
6362 buffer after querying (bug#9074).
6363
0e6a2bd7
LMI
6364 * dired.el (dired-flagged): Use different faces for marked and
6365 flagged files (bug#6117).
6366
ce887515
LMI
6367 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6368 (bug#4433).
6369
92f2affc
LMI
6370 * ido.el (ido-mode): Switch off the message if called
6371 non-interactively.
6372
57d5aff0
LMI
6373 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6374 before 587, since it appears that that's more likely to work for
6375 more people.
6376
98cd6c18 6377 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 6378 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
6379 exist.
6380
b96dec83
LMI
6381 * info.el: Remove the `Info-beginning-of-buffer' function
6382 (bug#8325).
6383
b796c9b7
SM
6384 * net/network-stream.el (network-stream-open-starttls):
6385 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 6386
d90e2ea0
MR
63872011-08-01 Martin Rudalics <rudalics@gmx.at>
6388
6389 * window.el (display-buffer-in-window): Don't set dedicated status
6390 of window here (Bug#9215).
6391 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6392 (display-buffer-pop-up-side-window)
b796c9b7 6393 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 6394
cca09170
SM
63952011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6396
6397 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6398 before binding generated-autoload-file.
6399
027b979c
DD
64002011-08-01 Deniz Dogan <deniz@dogan.se>
6401
6402 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6403
3c7ee4f3
MA
64042011-07-30 Michael Albinus <michael.albinus@gmx.de>
6405
6406 Sync with Tramp 2.2.2.
6407
6408 * net/trampver.el: Update release number.
6409
2cc8e51a
JL
64102011-07-30 Juri Linkov <juri@jurta.org>
6411
6412 * dired-aux.el (dired-touch-initial): Remove function.
6413 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6414 current time, and `default' to the last modification time of the
6415 current marked file (bug#6887).
6416
a514d856
JM
64172011-07-28 Jose E. Marchesi <jemarch@gnu.org>
6418
6419 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 6420 numeric argument to read-number (bug#9163).
a514d856 6421
8a7eddd7
MA
64222011-07-27 Michael Albinus <michael.albinus@gmx.de>
6423
6424 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6425 connection process, it could be nil.
6426
1ddd96f5
LL
64272011-07-27 Leo Liu <sdl.web@gmail.com>
6428
6429 Simplify url handling in rcirc-mode.
6430
6431 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6432 (rcirc-browse-url-at-mouse): Remove.
6433 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6434
b248a85d
AM
64352011-07-26 Alan Mackenzie <acm@muc.de>
6436
6437 Fontify bitfield declarations properly.
6438
6439 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6440 (c-symbol-chars): Now exported as a lang variable.
6441 (c-not-primitive-type-keywords): New lang variable.
6442
6443 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6444 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 6445 parsed as a bitfield declaration.
b248a85d 6446
b796c9b7
SM
6447 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6448 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
6449 (c-punctuation-in): New function.
6450 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6451 declarations properly.
6452
68575ab0
UJ
64532011-07-26 Ulf Jasper <ulf.jasper@web.de>
6454
6455 * calendar/icalendar.el (icalendar--all-events): Take care of
6456 multiple vcalendars in a single file.
b796c9b7 6457 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 6458
0f0a88b9
DD
64592011-07-25 Deniz Dogan <deniz@dogan.se>
6460
6461 * image.el (insert-image): Clarifying docstring.
6462
0b3f36df
MA
64632011-07-24 Michael Albinus <michael.albinus@gmx.de>
6464
6465 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6466 `tramp-send-command-and-check' if there is no error.
6467 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6468
a9901f61
AM
64692011-07-22 Alan Mackenzie <acm@muc.de>
6470
6471 Prevent cc-langs.elc being loaded at run time.
6472
6473 * progmodes/cc-mode.el: Remove two autoload forms which loaded
6474 cc-langs.
6475
4d61f28d 6476 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
6477 "(require 'cc-langs)". Quote a form so it will evaluate at
6478 (cc-mode's) compilation time.
6479
11d074b2
MA
64802011-07-22 Michael Albinus <michael.albinus@gmx.de>
6481
6482 * net/tramp.el (tramp-file-name-handler): Avoid recursive
6483 loading. (Bug#9114)
6484
938b94c8
MR
64852011-07-21 Martin Rudalics <rudalics@gmx.at>
6486
6487 * window.el (display-buffer-pop-up-window)
6488 (display-buffer-pop-up-side-window)
6489 (display-buffer-in-side-window): Call display-buffer-set-height
6490 and display-buffer-set-width after setting the new window's
b796c9b7 6491 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 6492
bfa4f190
SS
64932011-07-20 Sam Steingold <sds@gnu.org>
6494
6495 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6496 (etags-tags-included-tables): Call `convert-standard-filename' on
6497 the file names contained in TAGS so that windows Emacs can handle
6498 TAGS files created by cygwin ctags.
6499
8ca42262
LMI
65002011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
6501
6502 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6503 which apparently didn't work.
6504
5db2afd2 65052011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 6506
5db2afd2
RW
6507 * proced.el (proced-send-signal): For *Marked Processes* buffer
6508 put point at beginning of buffer.
6509
92e15d10
SB
65102011-07-19 Stephen Berman <stephen.berman@gmx.net>
6511
6512 * proced.el (proced-format): Make header lines align with the text
6513 (bug#1779).
6514
1bfd59e5
LMI
65152011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6516
6517 * view.el (view-buffer): Allow running in `special' modes if we're
6518 visiting a file (bug#8615).
6519
f5aae37c
MR
65202011-07-19 Martin Rudalics <rudalics@gmx.at>
6521
6522 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
6523 (display-buffer-alist-set-1, display-buffer-alist-set-2):
6524 New functions.
f5aae37c
MR
6525 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6526 more accurately.
6527
bf2c1571
AM
65282011-07-18 Alan Mackenzie <acm@muc.de>
6529
6530 Fontify declarators properly when, e.g., a jit-lock chunk begins
6531 inside a declaration.
6532
6533 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6534
b796c9b7
SM
6535 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6536 New function.
bf2c1571
AM
6537 (c-complex-decl-matchers): Insert reference to
6538 c-font-lock-enclosing-decls.
6539
6540 * progmodes/cc-engine.el (c-backward-single-comment):
6541 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6542 to nil around calls to (forward-comment -1).
6543
4e190b80
LMI
65442011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6545
12dc863d
LMI
6546 * image.el (put-image): Doc typo fix.
6547
a762e966
LMI
6548 * progmodes/etags.el (tags-search): Doc typo fix.
6549
4e190b80
LMI
6550 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6551 password if we get errors 550 to 554.
6552
f019fb21
LMI
65532011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6554
b796c9b7 6555 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 6556
81746738
LMI
6557 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6558 indentation character (bug#6380).
6559
3ee3a1b5
LMI
6560 * files.el (buffer-offer-save): Made permanently local (bug#6241).
6561
c82f64de
LMI
6562 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6563 to clarify what the problem is (bug#4291).
6564
f019fb21
LMI
6565 * simple.el (current-kill): Clarify what
6566 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
6567 (auto-fill-mode): Document `auto-fill-function' in relation to
6568 `auto-fill-mode' (bug#2470).
f019fb21 6569
0794775d
LM
65702011-07-16 Lawrence Mitchell <wence@gmx.li>
6571
6572 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6573 method if slot is read-only (bug#9035).
6574
be39b8cc
MR
65752011-07-16 Martin Rudalics <rudalics@gmx.at>
6576
b796c9b7 6577 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 6578 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
6579 selected before, see discussion of (Bug#8615), (Bug#6954).
6580 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 6581
6ccf7859
GM
65822011-07-15 Glenn Morris <rgm@gnu.org>
6583
6584 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 6585 Respect help-form.
6ccf7859 6586
87e86684
LM
65872011-07-09 Lawrence Mitchell <wence@gmx.li>
6588
6589 * net/gnutls.el (gnutls-min-prime-bits): New variable.
6590 (gnutls-negotiate): Use it.
6591
d6066239
LMI
65922011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6593
b796c9b7
SM
6594 * net/gnutls.el (gnutls-negotiate):
6595 Upcase `gnutls-algorithm-priority'.
d6066239 6596
bd23ebc0
GM
65972011-07-15 Glenn Morris <rgm@gnu.org>
6598
c65bca65
GM
6599 * jka-compr.el (jka-compr-verbose): Move from here...
6600 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
6601 Add missing :version tag.
6602 * info.el: No need to require jka-compr when compiling.
bd23ebc0 6603
478615cc
LMI
66042011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6605
7b41decb
LMI
6606 * net/gnutls.el (gnutls-algorithm-priority): New variable.
6607 (gnutls-negotiate): Use it.
6608
dbc44fcd
LMI
6609 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6610
06789f97
LMI
6611 * info.el (Info-beginning-of-buffer): New command.
6612 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6613 announcing `b' as the key (bug#8325).
ab896c37 6614 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 6615
c39da690
LMI
6616 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6617
3aa5f34b
LMI
6618 * international/mule-cmds.el
6619 (describe-specified-language-support): Make the error message
6620 clearer (bug#8905).
6621
4bf0979f
LMI
6622 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6623
478615cc
LMI
6624 * isearch.el (isearch-barrier): Add a doc string, since it's
6625 mentioned in a function doc string (bug#8678).
6626
75c68aa1
MR
66272011-07-15 Martin Rudalics <rudalics@gmx.at>
6628
6629 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6630 buffer argument (Bug#9083) and self-identifying label argument.
6631
a7c33da2
GM
66322011-07-15 Glenn Morris <rgm@gnu.org>
6633
6634 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6635
2f5c6024
LMI
66362011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6637
6638 * man.el (Man-fontify-manpage): Fix message when formatting the
6639 man page (bug#7929).
6640
0bb23927 66412011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
6642
6643 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6644 argument LRM; if non-nil, append an invisible LRM character to the
6645 buffer name.
6646 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6647 last argument non-nil, when formatting buffer names.
0bb23927
EZ
6648 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6649 paragraph direction.
cce4b0a7 6650
621ef9ab
LMI
66512011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6652
d1583c48
LMI
6653 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6654 the man page name (bug#7929).
6655
6a57fb5f
LMI
6656 * image.el (put-image): Mention the `put-image' overlay property
6657 (bug#7834).
6658
d7956b14
LMI
6659 * scroll-bar.el (set-scroll-bar-mode): Mention that
6660 `scroll-bar-mode' lists the values (bug#7772).
6661
5b2d4a66
LMI
6662 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6663 command (bug#7729).
6664
7509a874
LMI
6665 * rect.el (apply-on-rectangle): Return the point after the last
6666 operation.
6667 (string-rectangle): Go to the point after the last operation
6668 (bug#7522).
6669
4fe74b19
LMI
6670 * printing.el (pr-toggle-region): Clarify the documentation
6671 slightly (bug#7493).
6672
b796c9b7
SM
6673 * time.el (display-time-update):
6674 Allow `display-time-mail-function' to return nil (bug#7158).
6675 Fix suggested by Detlev Zundel.
ab283561 6676
fc233c9d
LMI
6677 * vc/diff.el (diff): Clarify the order the file names are read
6678 (bug#7111).
6679
43f5740b
LMI
6680 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6681 the doc string (bug#7015).
6682
f2182a76
LMI
6683 * font-lock.el (font-lock-maximum-decoration): Mention what
6684 numeric levels mean (bug#6935).
6685
621ef9ab
LMI
6686 * startup.el (initial-buffer-choice): Don't mention the `none'
6687 selection, which is against policy.
6688
adc47434
MR
66892011-07-14 Martin Rudalics <rudalics@gmx.at>
6690
b796c9b7
SM
6691 * window.el (display-buffer-normalize-special):
6692 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 6693
7e5bfb8f
EZ
66942011-07-14 Eli Zaretskii <eliz@gnu.org>
6695
6696 * subr.el (version<, version<=, version=): Mention "-CVS" and
6697 "-12345" alpha version numbers.
6698
27fa387a
CY
66992011-07-14 Chong Yidong <cyd@stupidchicken.com>
6700
6701 * bindings.el: Add advertised binding for set-mark-command
6702 (Bug#5772).
6703
8bdfa064
CY
67042011-07-14 Chong Yidong <cyd@stupidchicken.com>
6705
6706 * bindings.el (mode-line-other-buffer):
6707 * bookmark.el (bookmark-bmenu-2-window):
6708 * bs.el (bs-cycle-next, bs-cycle-previous):
6709 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6710 switch-to-buffer.
6711
6712 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 6713 Delete.
8bdfa064 6714
5eba16a3
JB
67152011-07-14 Juanma Barranquero <lekktu@gmail.com>
6716
6717 * follow.el (follow-debug-message, follow-redisplay):
6718 * jka-cmpr-hook.el (with-auto-compression-mode):
6719 Fix typos in docstrings.
6720
15853710
LMI
67212011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6722
a28e4607
LMI
6723 * subr.el (with-silent-modifications): Clarify somewhat what the
6724 macro inhibits (bug#6525).
6725
15853710
LMI
6726 * simple.el (eval-expression): Note what it does if called
6727 interactively (bug#6495).
6728
bee0fcef
CY
67292011-07-13 Chong Yidong <cyd@stupidchicken.com>
6730
b796c9b7
SM
6731 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6732 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
6733
6734 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6735 Remove switch-to-buffer.
6736
58274504
LMI
67372011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6738
bd2fcc8d
LMI
6739 * files.el (make-directory): Clarify that an error will be raised
6740 if there's an error (bug#6397).
6741
0f04b32c
LMI
6742 * startup.el (initial-buffer-choice): Add `none' as a choice
6743 (bug#6234).
6744
465c5fc8
LMI
6745 * subr.el (add-hook): Clarify section about buffer-local hooks
6746 (bug#6218).
6747
58274504
LMI
6748 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6749
bead9a43
JB
67502011-07-13 Juanma Barranquero <lekktu@gmail.com>
6751
6752 * tabify.el (untabify): Preserve the current column so that point
6753 doesn't move (bug#6032).
6754
3af98a7b
LMI
67552011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6756
b796c9b7
SM
6757 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6758 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 6759
6240145a
GM
67602011-07-13 Glenn Morris <rgm@gnu.org>
6761
6762 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6763 (dired-insert-directory): Give a message the first time
6764 if ls is found not to support --dired.
6765
1d8c2ccc
LMI
67662011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6767
6768 * simple.el (toggle-truncate-lines): Clarify what is toggled
6769 (bug#5580). Text by Drew Adams.
6770
5fc4038e
CY
67712011-07-13 Chong Yidong <cyd@stupidchicken.com>
6772
6773 * simple.el (blink-matching-open): Make the error message from the
6774 last change less verbose.
6775
bf6012e5
DN
67762011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6777
6778 * font-lock.el (font-lock-comment-face): Use the high contrast
6779 "yellow" color for font-lock-comment-face on low color terminals
6780 using a dark background color (bug#4221).
6781
343c3b5a
LMI
67822011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6783
7e9505c5
LMI
6784 * dired.el (dired-insert-set-properties): Make the doc string
6785 reflect what it does now (bug#5325).
6786
c26fdcf5
LMI
6787 * simple.el (blink-matching-open): Say that we were unable to find
6788 the match within the limit, if we're limited (bug#5122).
6789
bb388cc5
LMI
6790 * international/mule-cmds.el (prefer-coding-system): Add an
6791 example (bug#4869).
6792
343c3b5a
LMI
6793 * progmodes/etags.el (tags-search): Document `file-list-form'
6794 (bug#4731).
6795
2a517d45
LM
67962011-07-13 Lawrence Mitchell <wence@gmx.li>
6797
6798 * net/browse-url.el (browse-url-default-browser)
6799 (browse-url-browser-function): Make the default browser choice a
6800 bit more logical (bug#4300). Also clean up the doc string.
6801
b6c78ef2
JB
68022011-07-13 Juanma Barranquero <lekktu@gmail.com>
6803
6804 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6805 binary endings (bug#4440).
6806
1c4dd947
LMI
68072011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6808
a2014063
LMI
6809 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6810 which can be pretty annoying (bug#8971).
6811
9c9c2d88
LMI
6812 * jka-compr.el (jka-compr-verbose): New variable, and use
6813 throughout (bug#8971).
6814
1c4dd947
LMI
6815 * info.el (Info-find-file): Fall back on the installation
6816 directory if we can't find the info node anywhere else.
6817
a1c9f41b
SO
68182011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6819
6820 * vc/vc.el (vc-revert-file):
6821 Don't set file time-stamp in the past. (Bug#5181)
6822
536f3d36
LMI
68232011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6824
7152b011
LMI
6825 * files.el (after-find-file): Give a better error message when
6826 trying to find a symlink that points to a file that doesn't exist
6827 (bug#4398).
6828
536f3d36
LMI
6829 * progmodes/cc-vars.el: Remove (probably) misleading comment
6830 (bug#4396).
6831
460c0fba
JB
68322011-07-12 Johan Bockgård <bojohan@gnu.org>
6833
6834 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6835
7a6bda45
CY
68362011-07-12 Chong Yidong <cyd@stupidchicken.com>
6837
6838 * mouse-sel.el: Hack restoring functionality, while keeping
6839 compatibility with 2010-07-03 changes to mouse selection.
6840 (mouse-sel-primary-overlay): New var.
6841 (mouse-sel-selection-alist): Use it.
6842 (mouse-sel-mode): Doc fix; remove points that are default features
6843 of mouse.el.
6844
c79598ef
JB
68452011-07-12 Johan Bockgård <bojohan@gnu.org>
6846
6847 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6848 Fix previous fix (bug#2490).
6849
ff8be6ef
RW
68502011-07-12 Roland Winkler <winkler@gnu.org>
6851
b796c9b7
SM
6852 * textmodes/bibtex.el (bibtex-initialize):
6853 Use pop-to-buffer-same-window.
ff8be6ef
RW
6854 (bibtex-search-entries): Fix interactive call.
6855
296ba3ee
LMI
68562011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6857
f5242a02 6858 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
6859 Fontise bytecomp Error lines more correctly (bug#2490).
6860 Fix suggested by Johan Bockgård.
f5242a02 6861
296ba3ee
LMI
6862 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6863
6864 * dired-x.el (dired-guess-default): Use `delete-dups'.
6865
f69fd0d2
CY
68662011-07-12 Chong Yidong <cyd@stupidchicken.com>
6867
6868 * dired.el (dired-mark-prompt):
6869 * dired-aux.el (dired-read-shell-command): Doc fix.
6870
eab5dc07
LMI
68712011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6872
b796c9b7
SM
6873 * mail/sendmail.el (sendmail-query-once):
6874 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
6875 emacs -Q.
6876
6877 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6878
eab5dc07
LMI
6879 * cus-edit.el (custom-file): Take an optional no-error variable.
6880 (customize-save-variable): Set the variable, and give a warning if
6881 running under "emacs -q".
6882
a1e65d42
JB
68832011-07-11 Juanma Barranquero <lekktu@gmail.com>
6884
6885 * loadhist.el (unload-feature-special-hooks):
6886 Add `auto-coding-functions', `fill-nobreak-predicate' and
6887 `find-directory-functions' (bug#5327).
6888
1d52da10
LMI
68892011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6890
be958f1d
LMI
6891 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6892
5bedb26c
LMI
6893 * cus-edit.el (custom-guess-name-alist): -alist variables should
6894 use the `alist' type (bug#3120). Suggested by Drew Adams.
6895
1d52da10
LMI
6896 * printing.el: Add documentation to all the `pr-toggle-' commands.
6897
cd394be1 68982011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
6899
6900 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6901 backends where it makes sense (bug#2623).
6902
dcc88d8a
LMI
69032011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6904
c3de9feb
LMI
6905 * dired-x.el (dired-guess-default): Remove duplicate shell command
6906 entries (bug#2028).
8a93078b 6907 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 6908 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 6909
dcc88d8a
LMI
6910 * subr.el (remove-duplicates): New conveniency function.
6911
505e3645
LMI
69122011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6913
6914 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6915 (bug#1526).
6916
69172011-07-10 Martin Rudalics <rudalics@gmx.at>
6918
6919 * window.el (display-buffer-normalize-default): Don't invert
6920 meaning of even-window-heights. Reported by Eli Zaretskii
6921 <eliz@gnu.org>.
6922
455e4fa1
BR
69232011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6924
6925 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6926
8e0bc3e9
CY
69272011-07-10 Chong Yidong <cyd@stupidchicken.com>
6928
6929 * window.el (display-buffer): Fix arguments to
6930 display-buffer-reuse-window in last change.
6931
fa7c3228
CY
6932 * faces.el (link): Use a less saturated blue on light backgrounds.
6933
6934 * startup.el (fancy-startup-text, fancy-about-text)
6935 (fancy-startup-tail): Use font-lock faces, for background safety.
6936
c0a7f300
BN
69372011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6938
b796c9b7
SM
6939 * emulation/viper-cmd.el (viper-change-state-to-vi):
6940 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 6941
4dc2a129
MR
69422011-07-09 Martin Rudalics <rudalics@gmx.at>
6943
6944 * window.el (display-buffer-default-specifiers): Remove.
6945 (display-buffer-macro-specifiers): Remove default specifiers.
6946 (display-buffer-alist): Default to nil.
b796c9b7 6947 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
6948 (display-buffer-pop-up-window): Allow splitting internal
6949 windows. Check whether a live window was created.
6950 (display-buffer-other-window-means-other-frame)
6951 (display-buffer-normalize-arguments): Rename to
6952 display-buffer-normalize-argument and rewrite. Set the
6953 other-window specifier.
6954 (display-buffer-normalize-special): New function.
6955 (display-buffer-normalize-options): Rename to
6956 display-buffer-normalize-default and rewrite.
6957 (display-buffer-normalize-options-inhibit): Remove.
6958 (display-buffer-normalize-specifiers): Rewrite.
6959 (display-buffer): Process other-window specifier and call
6960 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6961 more faithfully.
b796c9b7 6962 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 6963 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
6964 (display-buffer-in-window, display-buffer-alist-set):
6965 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
6966 <tassilo@member.fsf.org>.
6967
2d43b8c9
LL
69682011-07-09 Leo Liu <sdl.web@gmail.com>
6969
6970 * register.el (insert-register): Restore accidental change on
6971 2011-06-26. (Bug#9028)
6972
7f9b7c53
GM
69732011-07-09 Glenn Morris <rgm@gnu.org>
6974
6975 * subr.el (remq): Handle the empty list. (Bug#9024)
6976
f042cfd8
AS
69772011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6978
6979 * mail/sendmail.el (send-mail-function): No longer delay custom
6980 initialization.
6981 * custom.el (custom-initialize-delay): Doc fix.
6982
856b2f11
SM
69832011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6984
6985 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6986
afae1d68
MA
69872011-07-08 Michael Albinus <michael.albinus@gmx.de>
6988
6989 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6990 human-friendly prompt.
6991
0757af94
SM
69922011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6993
6994 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6995 provided by a particular plugin.
6996
d760b731
LMI
69972011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6998
6999 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7000 save customizations (with "emacs -Q"), just set the variable
7001 instead of erroring out.
7002
7003 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7004
cd79ce90
JL
70052011-07-08 Juri Linkov <juri@jurta.org>
7006
7007 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7008 (archive-zip-update-case): Use 7z if found by `executable-find'.
7009 The order of searching the available programs is the same as in
7010 `archive-zip-extract' (bug#8968).
7011
14cc04aa
CY
70122011-07-07 Chong Yidong <cyd@stupidchicken.com>
7013
7014 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7015 (menu-bar-options-menu): Tweak descriptions.
7016
0a1848ec
LMI
70172011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7018
7019 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7020 menu items into verb phrases (bug#1421). Also refill to fit under
7021 80 columns.
7022
f5bd0689
CY
70232011-07-07 Chong Yidong <cyd@stupidchicken.com>
7024
538e85c6
CY
7025 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7026 (Info-read-node-name): Doc fix (Bug#1084).
7027
f5bd0689
CY
7028 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7029 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7030 (end-of-sexp, beginning-of-sexp)
7031 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7032 (forward-symbol, forward-same-syntax, word-at-point)
7033 (sentence-at-point): Doc fix (Bug#1144).
7034
56ec5115
LMI
70352011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7036
f3f8e37f
LMI
7037 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7038 should cover it (bug#1281).
7039
0757af94 7040 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 7041
e9fce1ac 7042 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
7043 negotiation fails, then possibly try again with a non-encrypted
7044 connection (bug#9017).
7045
56ec5115
LMI
7046 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7047 be used.
7048
c2f9aec8
RS
70492011-07-07 Richard Stallman <rms@gnu.org>
7050
7051 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7052 property, and handle its changed format.
7053 Look for the correct line number.
7054 Use file's line contents (but not past first =) to find
7055 correct line in message.
7056
ef7b981d 70572011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
7058
7059 * international/characters.el (build-unicode-category-table):
7060 Delete it.
0757af94 7061 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 7062
0757af94 7063 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
7064 to src/chartab.c.
7065 (get-char-code-property): Call unicode-property-table-internal to
7066 load a file. Call get-unicode-property-internal where necessary.
7067 (put-char-code-property): Call unicode-property-table-internal to
7068 load a file. Call put-unicode-property-internal where necessary.
7069 put-unicode-property-internal where necessary.
0757af94
SM
7070 (char-code-property-description):
7071 Call unicode-property-table-internal to load a file.
c805dec0
KH
7072
7073 * international/charprop.el:
7074 * international/uni-bidi.el:
7075 * international/uni-category.el:
7076 * international/uni-combining.el:
7077 * international/uni-comment.el:
7078 * international/uni-decimal.el:
7079 * international/uni-decomposition.el:
7080 * international/uni-digit.el:
7081 * international/uni-lowercase.el:
7082 * international/uni-mirrored.el:
7083 * international/uni-name.el:
7084 * international/uni-numeric.el:
7085 * international/uni-old-name.el:
7086 * international/uni-titlecase.el:
7087 * international/uni-uppercase.el: Regenerate.
7088
7089 * loadup.el: Load international/charprop.el before
7090 international/characters.
7091
e14b388a
CY
70922011-07-07 Chong Yidong <cyd@stupidchicken.com>
7093
7094 * window.el (next-buffer, previous-buffer): Signal an error if
7095 called from a minibuffer window.
7096
7097 * bindings.el: Revert 2011-07-04 change.
7098
354cf0ba
RS
70992011-07-06 Richard Stallman <rms@gnu.org>
7100
7101 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7102 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7103 Treat markers like ints.
7104 (rmail-mime-entity): Doc fix.
7105
a48868a7
LMI
71062011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7107
4906cd3d
LMI
7108 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7109 defcustom again for backwards compatibility.
7110
e0457abe
LMI
7111 * simple.el (shell-command-on-region): Fill.
7112
d67f7e1f
LMI
7113 * dired-aux.el (dired-kill-line): Add a doc string.
7114
fe204702
LMI
7115 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7116 to "\\sw\\|\\s_" (bug#358).
7117
a48868a7
LMI
7118 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7119 (dired-unmark-backward): Ditto.
7120 (dired-flag-backup-files): Ditto.
7121
7122 * dired-x.el (dired-mark-sexp): Ditto.
7123
aa8a705c
RS
71242011-07-06 Richard Stallman <rms@gnu.org>
7125
7126 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7127 (rmail-mime-entity): New arg TRUNCATED.
7128 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7129 New functions.
7130 (rmail-mime-save): Warn if entity is truncated.
7131 (rmail-mime-toggle-hidden): Likewise, for showing.
7132 (rmail-mime-process-multipart): Record when an entity is truncated.
7133
a9a936b9
RS
7134 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7135 if ENTITY is a string.
7136
1f2b92cb
LMI
71372011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7138
f4f73198 7139 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
7140 of faces when `M-C-x'-ing their definitions (bug#8378).
7141 Also clean up the code slightly.
f4f73198 7142
12b16734 7143 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 7144 because that makes the colors go away.
12b16734 7145
f0691d22
LMI
7146 * mail/sendmail.el (send-mail-function): Change the default to
7147 `sendmail-query-once'.
9e87df06 7148 (sendmail-query-once): Add an autoload cookie.
f0691d22 7149
1f2b92cb
LMI
7150 * net/network-stream.el (network-stream-open-starttls): Try using
7151 a plain connection even if the server offered STARTTLS, and we
7152 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7153 capability. This should make smtpmail.el work in slightly more
7154 configurations.
7155
1cdd2a1b
MA
71562011-07-06 Michael Albinus <michael.albinus@gmx.de>
7157
7158 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7159 New defun.
7160 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7161
fbcc67e2
MM
71622011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7163
7164 * progmodes/sql.el: Version 3.0
0757af94 7165 (sql-product-alist): Add product :completion-object,
fbcc67e2 7166 :completion-column, and :statement attributes.
0757af94 7167 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 7168 (sql-mode-syntax-table): Mark all punctuation.
0757af94 7169 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
7170 ansi keywords.
7171 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 7172 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
7173 (sql-oracle-show-reserved-words): New function for development.
7174 (sql-product-font-lock): Simplify for source code buffers.
7175 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7176 New functions.
7177 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
7178 (sql-mode-map): Add statement movement functions.
7179 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7180 New variable.
fbcc67e2
MM
7181 (sql-statement-regexp, sql-beginning-of-statement)
7182 (sql-end-of-statement, sql-signum): New functions.
0757af94 7183 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
7184 (sql-show-sqli-buffer): Bug fix.
7185 (sql-interactive-mode): Store connection data as buffer local.
0757af94 7186 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
7187 with sql-interactive-mode.
7188 (sql-save-connection): Save buffer local settings.
0757af94 7189 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
7190 (sql-product-interactive): Bug fix.
7191 (sql-preoutput-hold): New variable.
7192 (sql-interactive-remove-continuation-prompt): Bug fixes.
7193 (sql-debug-redirect): New variable.
7194 (sql-str-literal): New function.
7195 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 7196 Redesign.
fbcc67e2
MM
7197 (sql-oracle-save-settings, sql-oracle-restore-settings)
7198 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7199 (sql-completion-object, sql-completion-column)
7200 (sql-completion-sqlbuf): New variables.
7201 (sql-build-completions-1, sql-build-completions)
7202 (sql-try-completion): New functions.
7203 (sql-read-table-name): Use them.
7204 (sql-contains-names): New buffer local variable.
7205 (sql-list-all, sql-list-table): Use it.
7206 (sql-oracle-completion-types): New variable.
7207 (sql-oracle-completion-object, sql-sqlite-completion-object)
7208 (sql-postgres-completion-object): New functions.
7209
d4eaeab1
GM
72102011-07-06 Glenn Morris <rgm@gnu.org>
7211
7212 * window.el (pop-to-buffer): Doc fix.
7213
322b7dab 72142011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
7215
7216 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7217
322b7dab 72182011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 7219
322b7dab 7220 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 7221
322b7dab 7222 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 7223
605dd5bf
CY
72242011-07-05 Chong Yidong <cyd@stupidchicken.com>
7225
7226 * button.el (button): Inherit from link face. Suggested by Dan
7227 Nicolaescu.
7228
7dbfa719
SM
72292011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7230
3db614b0
SM
7231 * progmodes/gdb-mi.el: Fit in 80 columns.
7232 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7233 switch-to-buffer.
7234
7dbfa719
SM
7235 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7236 if imenu is simply not configured (bug#8941).
7237
919d884a
KM
72382011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7239
7240 * allout.el (allout-post-undo-hook): New allout outline-change
7241 event hook to signal undo activity.
7242 (allout-post-command-business): Run allout-post-undo-hook if an
7243 undo just occurred.
7dbfa719
SM
7244 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7245 * allout-widgets.el (allout-widgets-after-undo-function):
7246 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
7247 in the vicinity of an undo.
7248 (allout-widgets-mode): Include allout-widgets-after-undo-function
7249 on the new allout-post-undo-hook.
7250
450a0f09
SM
72512011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7252
7253 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7254 Let define-derived-mode define it.
7255 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7256 cycles of abbrev-table inheritance (bug#8998).
7257
2de69e00
RW
72582011-07-05 Roland Winkler <winkler@gnu.org>
7259
7260 * textmodes/bibtex.el: Add support for biblatex.
7261 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7262 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7263 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7264 (bibtex-entry-alist, bibtex-field-alist): New variables.
7265 (bibtex-entry-field-alist): Obsolete alias for
7266 bibtex-BibTeX-entry-alist.
7267 (bibtex-entry-alist, bibtex-field-alist): New widgets.
7268 (bibtex-set-dialect): New command.
7269 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
7270 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7271 Bind via bibtex-set-dialect.
2de69e00
RW
7272 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7273 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7274 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7275 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7276 Define via bibtex-set-dialect.
450a0f09
SM
7277 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7278 Obey bibtex-no-opt-remove-re.
2de69e00
RW
7279 (bibtex-vec-push, bibtex-vec-incr): New functions.
7280 (bibtex-format-entry, bibtex-field-list)
7281 (bibtex-print-help-message, bibtex-validate)
7282 (bibtex-search-entries): Use new format of bibtex-entry-alist.
7283
2dcdbdd9
SM
72842011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7285
7286 * progmodes/compile.el (compilation-goto-locus):
7287 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7288 * bs.el (bs-cycle-next, bs-cycle-previous):
7289 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7290 * bindings.el (mode-line-other-buffer):
7291 * autoinsert.el (auto-insert):
7292 * arc-mode.el (archive-extract):
7293 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7294
b27640fe
JB
72952011-07-05 Juanma Barranquero <lekktu@gmail.com>
7296
7297 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7298 Fix check of `emacs-lock-unlockable-modes'.
7299 Coerce true values of `emacs-lock--try-unlocking' to t.
7300
53bbe3ad
JB
73012011-07-05 Juanma Barranquero <lekktu@gmail.com>
7302
7303 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7304 * emacs-lock.el: New file.
7305
1d3cdbc7
JD
73062011-07-05 Julien Danjou <julien@danjou.info>
7307
7308 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7309 than `boundp' to check if face is set.
7310
9173deec
JB
73112011-07-05 Juanma Barranquero <lekktu@gmail.com>
7312
7313 * register.el (registerv-make):
7314 * window.el (window-min-height): Fix typos in docstrings.
7315
869795d6
JD
73162011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7317
9173deec 7318 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
7319 Update doc string.
7320
b768cdcd
JB
73212011-07-04 Juanma Barranquero <lekktu@gmail.com>
7322
7323 * server.el (server-execute): Catch quit and call
7324 `server-return-error' to pass the error back to emacsclient and
7325 close the connection (bug#8942).
7326
13aa217b
KM
73272011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
7328
7329 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7330 insecure exception for current topic. Also note that auto-saves
7331 are handled differently.
7332
7333 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7334 State variables for tracking auto-save inhibition situation.
7335
7336 (allout-write-contents-hook-handler): Rename from
7337 'allout-write-file-hook-handler', and describe how it depends on
7338 write-contents-functions sensitivity to non-nil value to prevent
7339 file write.
7340
7341 (allout-auto-save-hook-handler): Remove. auto-save does not check
7342 this in individual buffers, only in the starting buffer, so this
7343 is not the right way for us to inhibit auto-save in a buffer
7344 according to its condition.
7345
7346 (allout-mode): Use new allout-write-contents-hook-handler, and
7347 only with write-contents-functions. Remove auto-save provisions -
7348 they're implemented elsewhere.
7349
7350 (allout-before-change-handler): If undo is in progress, note that
7351 for attention of allout-post-command-business.
7352
7353 (allout-post-command-business): If the command we're following was
7354 an undo, check for change in the status of encrypted items and
7355 adjust auto-save inhibitions accordingly.
7356
7357 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7358 according to whether there are or aren't any plain-text topics
7359 pending encryption.
7360
2dcdbdd9 7361 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
7362 Adjust buffer-saved-size and some allout state to inhibit auto-saves
7363 if there are plain-text topics pending encryption.
13aa217b
KM
7364
7365 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7366 buffer-saved-size and some allout state to not inhibit auto-saves
7367 if there are no longer any plain-text topics pending encryption.
7368
0757af94
SM
7369 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7370 No longer provide for exemption of the current topic.
13aa217b 7371
ac89b32c
JL
73722011-07-04 Juri Linkov <juri@jurta.org>
7373
7374 Add 7z operations to delete and save changed members (bug#8968).
7375 * arc-mode.el (archive-7z-expunge, archive-7z-update):
7376 New defcustoms.
7377 (archive-7z-write-file-member): New function.
7378 (archive-7z-summarize): Fix the number of dashes in the
7379 listing output.
7380
8fa39615
SM
73812011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7382
7383 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7384 (bug#8958).
7385
2f11b3f1
CY
73862011-07-04 Chong Yidong <cyd@stupidchicken.com>
7387
d66fef2b
CY
7388 * bindings.el: Ignore next-buffer and previous-buffer in
7389 minibuffer-local-map.
7390
2f11b3f1
CY
7391 * font-lock.el (font-lock-builtin-face): Change light background
7392 color to dark slate blue (Bug#6693).
7393
f932a347
WD
73942011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
7395
7396 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7397
c8af70e1
SM
73982011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7399
7400 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7401 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7402 Add switch-to-buffer.
7403
f158badc
LMI
74042011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7405
7406 * isearch.el (isearch-search-fun-function): Clarify further the
7407 meaning of the function returned.
7408
6d95bd46
MA
74092011-07-04 Michael Albinus <michael.albinus@gmx.de>
7410
7411 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7412
7413 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7414 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7415 Use it.
7416 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
7417 `tramp-default-remote-path' does not exist.
7418 (tramp-send-command-and-read): New optional argument NOERROR.
7419 (tramp-open-connection-setup-interactive-shell)
7420 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7421 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7422 (tramp-process-sentinel): Flush also process' connection property.
7423 (tramp-sh-handle-start-file-process): Do not set process
7424 sentinel. It is done now ...
7425 (tramp-maybe-open-connection): ... here. (Bug#8929)
7426
909e6b67
MK
74272011-07-04 MON KEY <monkey@sandpframing.com>
7428
7429 * play/animate.el (animate-string): Doc fixes and allow changing
7430 the buffer name (bug#5417).
7431
74322011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7433
c8af70e1 7434 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 7435
f34755dc
PE
74362011-07-04 Paul Eggert <eggert@cs.ucla.edu>
7437
396cec72
PE
7438 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7439 This is simpler and helps future-proof the code.
7440 (timer-until): Use time-subtract and float-time.
08235028 7441 (timer--time-less-p): Use time-less-p.
f34755dc 7442
56e6cc31
JB
74432011-07-04 Juanma Barranquero <lekktu@gmail.com>
7444
3abb79e5
JB
7445 * type-break.el (timep): Use the value of `float-time' to avoid a
7446 byte-compiler warning.
7447
56e6cc31
JB
7448 * server.el (server-eval-and-print): Return any result, even nil.
7449
7b9430b4
PE
74502011-07-03 Paul Eggert <eggert@cs.ucla.edu>
7451
7452 * type-break.el: Accept time formats that the builtins accept.
7453 (timep, type-break-time-difference): Accept any format that
7454 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7455 This is simpler and helps future-proof the code.
7456 (type-break-time-difference): Round rather than ignoring
7457 subseconds components.
7458
3034e9e7
LMI
74592011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7460
7461 * info.el (Info-apropos-matches): Make non-interactive, since it
7462 doesn't seem to do anything useful as a command (bug#8829).
7463
1485f4c0
CY
74642011-07-03 Chong Yidong <cyd@stupidchicken.com>
7465
7466 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 7467 Move from faces.el.
1485f4c0
CY
7468 (frame-default-terminal-background): New function.
7469
7470 * custom.el (custom-push-theme): Don't record faces in `changed'
7471 theme; this doesn't work correctly for per-frame face settings.
7472 (disable-theme): Use face-set-after-frame-default to reset faces.
7473 (custom--frame-color-default): New function.
7474
9fa3dd45
LMI
74752011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7476
c8af70e1 7477 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
7478 (bug#8769).
7479
6cbbc20c
KR
74802011-03-29 Kevin Ryde <user42@zip.com.au>
7481
7482 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7483 `perl-Test2' extend to match possible "fail #N" rep count
7484 (bug#8377).
7485
c7f98048
LMI
74862011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7487
65676592
LMI
7488 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7489 `smtpmail-via-smtp' now returns the error instead of nil.
7490
c7f98048
LMI
7491 * isearch.el (isearch-search-fun-function): Clarify the doc string
7492 (bug#8101).
7493
56e6cc31 74942011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
7495
7496 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7497 unnecessary spaces (bug#8987).
7498
2b216704
LMI
74992011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7500
7501 * net/network-stream.el (open-network-stream): Use the
7502 :end-of-capability command thoughout.
7503
75042011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7505
7506 * net/network-stream.el (open-network-stream): Add the
7507 :end-of-capability command parameter, used by pop3.el.
7508
36adf6ce
LMI
75092011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7510
1ca0da0e
LMI
7511 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7512
fc00f69c
LMI
7513 * fringe.el (fringe-query-style): Remove redundant text " (type ?
7514 for list)" (bug#6475).
7515
28fd8759 7516 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 7517 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
7518 an error (bug#6297).
7519
0dd8b6da
LMI
7520 * man.el (Man-reference-regexp): Allow matching possible
7521 word-wrapped references (bug#6289).
7522
ce1438d6
LMI
7523 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7524 for consistency with the other vc buffers (bug#6197).
7525 (vc-checkin): Ditto.
7526
7527 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7528
36adf6ce
LMI
7529 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7530
e83cc1f7
LMI
75312011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7532
8a20ca4c
LMI
7533 * custom.el (defcustom): Clarify that :set is only used in the
7534 Customize user interface (bug#6089).
7535
83319045
LMI
7536 * progmodes/flymake.el (flymake-mode): If the buffer isn't
7537 associated with a file, refuse to run instead of erroring out
7538 (bug#6084).
7539
a8392169
LMI
7540 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7541 the doc string, since it appears that using `fill-column' always
7542 controls the width (bug#7845).
7543
e83cc1f7
LMI
7544 * simple.el (shell-command-on-region): Say where the error output
7545 went if `shell-command-default-error-buffer' is set (bug#6857).
7546
e47ca23b
KM
75472011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
7548
7549 * allout.el (allout-yank-processing): Adjust cursor position for
7550 backwards-deleted space.
7551
7552 (allout-rebullet-heading): Register changes with
7553 allout-exposure-changed-hook, so the modified topic is properly
7554 decorated.
7555
5cf56143
LMI
75562011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7557
08549772
LMI
7558 * minibuffer.el (completion-in-region): Document PREDICATE
7559 (bug#7136).
7560
48e96771
LMI
7561 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7562 of keyword/argument pairs (bug#6904).
7563
c8af70e1
SM
7564 * replace.el (multi-occur):
7565 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 7566
e17d05e2
LMI
75672011-07-02 Drew Adams <drew.adams@oracle.com>
7568
7569 * dired.el (dired-mark-if): Make the message about whether it's
7570 marking or unmarking clearer (bug#8523).
7571
063b0e45
LMI
75722011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7573
7574 * disp-table.el (display-table-print-array): New function.
7575 (describe-display-table): Use it to print the vectors more pretty
7576 (Bug#8859).
7577
28545e04
MR
75782011-07-02 Martin Rudalics <rudalics@gmx.at>
7579
7580 * window.el (window-state-get-1): Don't assign clone numbers.
7581 Add clone-of item to list of window parameters.
7582 (window-state-put-2): Don't process clone numbers.
7583 (display-buffer-alist): Fix doc-string.
7584
3349e122
SM
75852011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7586
7587 * subr.el (remq): Don't allocate if it's not needed.
7588 (keymap--menu-item-binding, keymap--menu-item-with-binding)
7589 (keymap--merge-bindings): New functions.
7590 (keymap-canonicalize): Use them to refine the canonicalization.
7591 * minibuffer.el (minibuffer-local-completion-map)
7592 (minibuffer-local-must-match-map): Move initialization from C.
7593 (minibuffer-local-filename-completion-map): Move initialization from C;
7594 don't inherit from anything here.
7595 (minibuffer-local-filename-must-match-map): Make obsolete.
7596 (completing-read-default): Use make-composed-keymap to combine
7597 minibuffer-local-filename-completion-map with either
7598 minibuffer-local-must-match-map or
7599 minibuffer-local-filename-completion-map.
7600
d224ac83
GM
76012011-07-01 Glenn Morris <rgm@gnu.org>
7602
3de63bf8
GM
7603 * type-break.el (type-break-time-sum): Use dolist.
7604
d224ac83
GM
7605 * textmodes/flyspell.el (flyspell-word-search-backward):
7606 Replace CL function.
7607
1a1e3f32
SM
76082011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7609
fe3f64d5
SM
7610 * mouse.el (mouse--strip-first-event): New function.
7611 (function-key-map): Use it to map fringe clicks to normal clicks
7612 by default.
7613
eb604e34
SM
7614 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7615 (vc-bzr-revision-completion-table): Add support for annotate and date.
7616
1a1e3f32
SM
7617 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7618 inherit from parent.
7619
5bd35902
LMI
76202011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7621
ace6c69c 7622 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 7623 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 7624
191e2bed
LMI
7625 * dired.el (dired-mode): Fix up the doc string as suggested by
7626 Drew Adams (bug#8817).
7627
5bd35902
LMI
7628 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7629 cookie, since the manual says that it should be possible to add
7630 this function to `find-file-hook' (bug#8709).
7631
eee8207a
TZ
76322011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7633
7634 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7635 here. Noted Ted Zlatanov as the maintainer.
7636 (cfengine-common-settings, cfengine-common-syntax): New functions
7637 to set up common things between `cfengine-mode' and
7638 `cfengine3-mode'.
7639 (cfengine3-mode): New mode.
7640 (cfengine3-defuns cfengine3-defuns-regex
7641 (cfengine3-class-selector-regex cfengine3-category-regex)
7642 (cfengine3-vartypes cfengine3-font-lock-keywords)
7643 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 7644 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 7645
36b148cf
MA
76462011-07-01 Michael Albinus <michael.albinus@gmx.de>
7647
7648 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7649
7650 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7651
0bf4ba9a
MR
76522011-07-01 Martin Rudalics <rudalics@gmx.at>
7653
7654 * window.el (same-window-buffer-names, same-window-regexps)
7655 (same-window-p, special-display-frame-alist)
7656 (special-display-popup-frame, special-display-function)
7657 (special-display-buffer-names, special-display-regexps)
7658 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7659 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7660 (split-window-preferred-function, split-height-threshold)
7661 (split-width-threshold, even-window-heights)
7662 (display-buffer-mark-dedicated, window-splittable-p)
7663 (split-window-sensibly, window-safely-shrinkable-p):
7664 Un-obsolete.
7665 (display-buffer): Don't spread args with function specifier
7666 because special-display-popup-frame won't like it.
7667
35837f51
PE
76682011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7669
d0672f86
PE
7670 Time-stamp simplifications and fixes.
7671 These improve accuracy slightly, and future-proof the code
7672 against some potential changes to current-time format.
7673
b9444d97
PE
7674 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7675 by using time-since and float-time.
7676
0ef923dc
PE
7677 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7678 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7679 + NNN microseconds".
7680
2f81380d
PE
7681 * type-break.el (type-break-time-sum): Rewrite using time-add.
7682
845b5c3e
PE
7683 * play/hanoi.el (hanoi-current-time-float): Remove.
7684 All uses replaced by float-time.
7685
ee6f1be0
PE
7686 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7687 This yields a more-accurate answer.
7688 (rng-time-to-float): Remove; no longer needed.
7689
fe955043
PE
7690 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7691
5777162a
PE
7692 * calendar/timeclock.el (timeclock-seconds-to-time):
7693 Defalias to seconds-to-time, since they're the same thing.
7694
3103f8b6 7695 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 7696 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
7697 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7698
0e61a35f
SM
76992011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7700
7701 * window.el (bury-buffer): Don't iconify the only frame.
7702 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7703 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7704
ddd63a1e
CY
77052011-07-01 Chong Yidong <cyd@stupidchicken.com>
7706
0e61a35f
SM
7707 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7708 Add mouse-yank-primary.
ddd63a1e 7709
055f4923
TZ
77102011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7711
7712 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7713
6a2fb145
SM
77142011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7715
7716 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7717 (find-library-name): Use it to find relative load names when provided
7718 absolute file name (bug#8803).
7719
fd4983f2
LMI
77202011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7721
887d14ad
LMI
7722 * textmodes/flyspell.el (flyspell-word): Consider words that
7723 differ only in case as potential doublons (bug#5687).
7724
c53dc7fc
LMI
7725 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7726 Remove two rather uninteresting debugging-like messages to make
7727 debbugs.el more silent.
7728
fd4983f2
LMI
7729 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7730 a password-like phrase.
7731
7a71b18d 77322011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
7733
7734 * progmodes/cc-guess.el: New file.
7735
6a2fb145 7736 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
7737
7738 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7739 derived from `c-basic-common-init'.
7740
7741 * progmodes/cc-mode.el (top-level): Require cc-guess.
7742 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7743
1fa280a3
LM
77442011-06-30 Lawrence Mitchell <wence@gmx.li>
7745
7746 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7747
e6597158
AM
77482011-06-30 Alan Mackenzie <acm@muc.de>
7749
1fa280a3
LM
7750 * progmodes/cc-engine.el (c-guess-continued-construct):
7751 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
7752 lock is disabled. Name this case as "CASE G".
7753
68ba37fb
KM
77542011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7755
7756 * allout.el (allout-yank-processing): Fix injection of extra space
7757 between bullet and non-whitespace character in first topic when
7758 pasting, ensuring that the actual spacing in the pasted topic
7759 following the bullet char is preserved. This extra space was
7760 causing pasted encrypted topics to get a decrypted status even
7761 when the content was actually still encrypted. Now the decryption
7762 status from before the paste is preserved.
7763
7764 (allout-flag-region): Set all allout overlays so they evaporate
7765 when reduced to zero length (evanescent), to prevent overlay
7766 leakage.
7767
887a0b34
GM
77682011-06-30 Glenn Morris <rgm@gnu.org>
7769
94b9acce
GM
7770 * w32-fns.el (w32-charset-info-alist): Declare.
7771
1d9b46d4
GM
7772 * find-dired.el (find-grep-options): Simplify.
7773
cc232200
GM
7774 * term/ns-win.el (ns-set-resource): Declare.
7775
28e77c46
GM
7776 * ses.el (row, col): Declare dynamic variables honestly.
7777
887a0b34
GM
7778 * textmodes/reftex-parse.el (index-tags): Declare.
7779
658d8eb8
CY
77802011-06-30 Chong Yidong <cyd@stupidchicken.com>
7781
7782 * cus-edit.el (customize-push-and-save): New function.
7783
7784 * files.el (hack-local-variables-confirm): Use it.
7785
1fa280a3
LM
7786 * custom.el (load-theme): New arg NO-CONFIRM.
7787 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
7788 (custom-enabled-themes): Doc fix.
7789
7790 * cus-theme.el (customize-create-theme)
7791 (custom-theme-merge-theme): Callers to load-theme changed.
7792
bb617717
LMI
77932011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7794
d61bdd5d
LMI
7795 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7796 short URLs have at least one dot in them (bug #7614).
7797
bb617717
LMI
7798 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7799 nil, because using a pty is apparently too slow (bug #895).
7800
2f31f37a
LMI
78012011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7802
7803 * mail/sendmail.el (sendmail-query-once): New function.
7804 (sendmail-query-once-function): New variable.
7805
3076b24e
GM
78062011-06-29 Glenn Morris <rgm@gnu.org>
7807
faf2a174
GM
7808 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7809
3076b24e
GM
7810 * ses.el (top-level): Require cl when compiling.
7811 (ses-set-localvars): Fix error statement.
7812 Call it at compile time to silence a storm of warnings.
7813
5386012d
MR
78142011-06-29 Martin Rudalics <rudalics@gmx.at>
7815
7816 * window.el (normalize-live-buffer): Rename to
7817 window-normalize-buffer.
7818 (normalize-live-frame): Rename to window-normalize-frame.
7819 (normalize-any-window): Rename to window-normalize-any-window.
7820 (normalize-live-window): Rename to window-normalize-live-window.
7821 (make-window-atom): Rename to window-make-atom.
7822 (window-resize-reset): Rename to window--resize-reset.
7823 (window-resize-reset-1): Rename to window--resize-reset-1.
7824 (resize-mini-window): Rename to window--resize-mini-window.
7825 (resize-subwindows-skip-p): Rename to
7826 window--resize-subwindows-skip-p.
7827 (resize-subwindows-normal): Rename to
7828 window--resize-subwindows-normal.
7829 (resize-subwindows): Rename to window--resize-subwindows.
7830 (resize-other-windows): Rename to window--resize-siblings.
7831 (resize-this-window): Rename to window--resize-this-window.
7832 (resize-root-window): Rename to window--resize-root-window.
7833 (resize-root-window-vertically): Rename to
7834 window--resize-root-window-vertically.
7835 (normalize-buffer-to-display): Rename to
7836 window-normalize-buffer-to-display.
7837 (normalize-buffer-to-switch-to): Rename to
7838 window-normalize-buffer-to-switch-to.
7839 Correspondingly update all callers of the functions listed
7840 above.
7841 (display-buffer-alist, display-buffer-normalize-arguments)
7842 (display-buffer-normalize-options, display-buffer)
7843 (display-buffer-alist-set): Use "function" instead of
7844 "fun-with-args".
7845
1176868d
CY
78462011-06-28 Chong Yidong <cyd@stupidchicken.com>
7847
7848 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7849 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7850 debbugs.gnu.org. Mention acknowledgment email.
7851
20a7a65f
LMI
78522011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7853
7854 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7855 buffer multibyteness, since it shouldn't matter.
7856
5f45cca5
MR
78572011-06-28 Martin Rudalics <rudalics@gmx.at>
7858
7859 * window.el (display-buffer-in-side-window): Handle dedicated
7860 windows as in display-buffer-reuse-window.
7861 (display-buffer-normalize-alist): Use value of override
7862 specifier.
7863 (display-buffer-normalize-specifiers): Use value of
7864 other-window-means-other-frame specifier.
7865 (display-buffer-alist): Rewrite some texts in widgets.
7866 (display-buffer): Spread arguments when calling function
7867 specified by fun-with-args.
7868
ad85fe1f
DD
78692011-06-28 Deniz Dogan <deniz@dogan.se>
7870
1fa280a3
LM
7871 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7872 Unnest `let'.
da68c4c8 7873
ad85fe1f
DD
7874 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7875 selectors (Bug#5732).
ec49bd31 7876 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 7877
a08cc025
JA
78782011-06-27 Jari Aalto <jari.aalto@cante.net>
7879
7880 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7881 (eshell-ls-date-format): New defcustom.
7882 (eshell-ls-file): Use it.
7883
e2b551c5
SM
78842011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7885
7886 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7887
8982b231
KY
78882011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7889
7890 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7891 (ange-ftp-make-tmp-name): New arg.
7892 (ange-ftp-file-local-copy): Use it.
7893
36c9fa27
J
78942011-06-27 Jambunathan K <kjambunathan@gmail.com>
7895
7896 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7897 no-conversion (Bug#8870).
7898
d68443dc
MR
78992011-06-27 Martin Rudalics <rudalics@gmx.at>
7900
7901 * window.el (window-right, window-left, window-child)
7902 (window-child-count, window-last-child)
7903 (window-iso-combination-p, walk-window-tree-1)
7904 (window-atom-check-1, window-tree-1, delete-window)
7905 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7906 new naming conventions - window-vchild, window-hchild,
7907 window-next and window-prev are now called window-top-child,
7908 window-left-child, window-next-sibling and window-prev-sibling
7909 respectively.
d615d6d2
MR
7910 (resize-window-reset): Rename to window-resize-reset.
7911 (resize-window-reset-1): Rename to window-resize-reset-1.
7912 (resize-window): Rename to window-resize.
7913 (window-min-height, window-min-width)
7914 (resize-mini-window, resize-this-window, resize-root-window)
7915 (resize-root-window-vertically, adjust-window-trailing-edge)
7916 (enlarge-window, shrink-window, maximize-window)
7917 (minimize-window, delete-window, quit-restore-window)
7918 (split-window, balance-windows, balance-windows-area-adjust)
7919 (balance-windows-area, window-state-put-2)
7920 (display-buffer-even-window-sizes, display-buffer-set-height)
7921 (display-buffer-set-width, set-window-text-height)
7922 (fit-window-to-buffer): Rename all "resize-window" prefixed
7923 calls to use the "window-resize" prefix convention.
7924 (display-buffer-alist): Fix symbol for label specifier.
7925 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7926 corresponding specifier.
7927 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 7928
b6458526
VB
79292011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7930
7931 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7932 convention.
7933 (ses-call-printer): Does not pass an empty string to formatter when the
7934 cell is empty to keep from barking printer Calc math-format-value.
7935
d31fd9ac
RS
79362011-06-27 Richard Stallman <rms@gnu.org>
7937
43d5bf84
RS
7938 * battery.el (battery-mode-line-limit): New variable.
7939 (battery-update): Handle it.
7940
d31fd9ac
RS
7941 * mail/rmailmm.el (rmail-mime-process-multipart):
7942 Handle truncated messages.
7943
819a6054
GM
79442011-06-27 Glenn Morris <rgm@gnu.org>
7945
7946 * progmodes/flymake.el (flymake-err-line-patterns):
7947 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7948
cedc73f2
VB
79492011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7950
819a6054 7951 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
7952 (ses--clean-!, ses--clean-_): New functions.
7953 (ses-range): Add configurability of readout order, and conversion
7954 to Calc vector.
7955
5e5d49b6
VB
7956 * ses.el (ses-repair-cell-reference-all): New function.
7957 (ses-cell-symbol): Set macro as safe, so that it can be used in
7958 formulas.
7959
56e6cc31 7960 * ses.el: Update cycle detection algorithm.
90ca8b49 7961 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 7962 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
7963 (ses-set-localvars): New function.
7964 (ses-make-cell): Add property-list as a cell element.
7965 (ses-cell-property-get-fun, ses-cell-property-get)
7966 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
7967 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7968 New functions.
90ca8b49
VB
7969 (ses-cell-property-set, ses-cell-property-pop)
7970 (ses-cell-property-get-handle): New macro.
7971 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7972 New aliases, used for code readability.
7973 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7974 cycle detection.
7975 (ses-self-reference-early-detection): New defcustom.
fac916bf 7976 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
7977 (ses-mode): Use ses-set-localvars.
7978 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7979 before lauching the update processing.
7980 (ses-initialize-Dijkstra-attempt): New function.
7981 (ses-recalculate-cell): Update for cycle detection based on
7982 Dijkstra algorithm.
7983
2bb63e81
VB
7984 * ses.el: Fix commenting and indenting convention.
7985
c9d29fb8
SM
79862011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7987
7988 * bs.el (bs-cycle-next): Complete last change.
7989
d8e4b68b
JB
79902011-06-27 Drew Adams <drew.adams@oracle.com>
7991
7992 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7993
40098786
LMI
79942011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7995
c9d29fb8
SM
7996 * net/network-stream.el (network-stream-open-starttls):
7997 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
7998 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7999
40098786
LMI
8000 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8001 to binary to possibly avoid line encoding issues on Windows (among
8002 other things).
8003
468d09d4
LMI
80042011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8005
8006 * net/network-stream.el (open-network-stream): Return an :error
8007 saying what the problem was, if possible.
8008
8009 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8010 server.
8011
8012 * net/network-stream.el (network-stream-open-starttls): If we
8013 wanted to use STARTTLS, and the server offered it, but we weren't
8014 able to because we had no STARTTLS support, then close the connection.
8015 (open-network-stream): Return an :error element, if present.
8016
16f07dd7
CY
80172011-06-26 Chong Yidong <cyd@stupidchicken.com>
8018
88821ca0
CY
8019 * hl-line.el (hl-line-sticky-flag): Doc fix.
8020 (global-hl-line-sticky-flag): New option (Bug#8323).
8021 (global-hl-line-highlight): Obey it.
8022
16f07dd7
CY
8023 * vc/vc.el (vc-revert-show-diff): Default to t.
8024
6b5ccddf
KM
80252011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8026
c9d29fb8
SM
8027 * allout-widgets.el (allout-widgets-post-command-business):
8028 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
8029 undecorated when an isearch is continued past, and isearch
8030 automatically collapses them. This leads to "widget leaks", where
8031 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
8032 hidden widgets can slow down cursor travel, substantially.
8033 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
8034 so we're doing without this nicety.
8035
8036 (allout-widgets-tally-string): Don't try to do a hash-table-count
8037 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8038 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8039 *Messages* when allout-widgets-maintain-tally is t.
8040
355f2e07
MR
80412011-06-26 Martin Rudalics <rudalics@gmx.at>
8042
8043 * window.el (display-buffer-normalize-argument): Rename to
8044 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
8045 LABEL argument. Respect special-display-function when popping up
8046 a new frame. Fix code searching for a window showing the buffer
8047 on another frame.
c9d29fb8
SM
8048 (display-buffer-normalize-specifiers):
8049 Call display-buffer-normalize-arguments.
355f2e07
MR
8050 (display-buffer-in-window): Don't undedicate the window if its
8051 buffer remains the same.
8052 Reported by Drew Adams <drew.adams@oracle.com>.
8053 (display-buffer-alist): Add choice for same-window macro
8054 specfier.
8055 (display-buffer): Mention special meaning of LABEL argument in
8056 doc-string. Fix quoting. Don't pop up a new frame even as
8057 fallback.
8058
7ca8fc42
JB
80592011-06-26 Juanma Barranquero <lekktu@gmail.com>
8060
8061 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8062 avoid deleting the current window in some cases (bug#8911).
8063
bc312254
AS
80642011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8065
8066 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8067 (Bug#8934)
8068
2db18f3f
LMI
80692011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8070
c9d29fb8
SM
8071 * net/network-stream.el (network-stream-open-starttls):
8072 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
8073 (network-stream-open-tls): Ditto.
8074
6302e0d3
LL
80752011-06-26 Leo Liu <sdl.web@gmail.com>
8076
8077 * register.el (registerv): New struct.
8078 (registerv-make): New function.
c9d29fb8
SM
8079 (jump-to-register, describe-register-1, insert-register):
8080 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
8081 struct. (Bug#8415)
8082
5fdd4046
CY
80832011-06-26 Chong Yidong <cyd@stupidchicken.com>
8084
2afef60a
CY
8085 * vc/vc.el (vc-revert-show-diff): New defcustom.
8086 (vc-diff-internal): New arg specifying diff buffer.
8087 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8088 reuse an existing *vc-diff* buffer (Bug#8927).
8089
5fdd4046
CY
8090 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8091
e93db24a
GM
80922011-06-26 Glenn Morris <rgm@gnu.org>
8093
8094 * progmodes/f90.el (f90-critical-indent): New option.
8095 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8096 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8097 (f90-mode): Doc fix.
8098 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8099 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8100 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8101 (f90-match-end): Handle block, critical.
8102
eefff499
GM
81032011-06-25 Glenn Morris <rgm@gnu.org>
8104
f6ba4cc9
GM
8105 * calendar/diary-lib.el (diary-included-files): Doc fix.
8106 (diary-include-files): New function, extracted from
8107 diary-include-other-diary-files and diary-mark-included-diary-files.
8108 (diary-include-other-diary-files, diary-mark-included-diary-files):
8109 Just call diary-include-files.
8110 (diary-mark-entries): Reset diary-included-files on first call.
8111
16712304
GM
8112 * calendar/diary-lib.el (diary-mark-entries)
8113 (diary-mark-included-diary-files):
8114 Visit included diary-files in temp buffers.
8115
5d8e0d43
GM
8116 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8117 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8118 (f90-start-block-re, f90-imenu-generic-expression)
8119 (f90-looking-at-program-block-start, f90-no-block-limit):
8120 Add support for submodules.
8121
ccf7a5d5
GM
8122 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8123 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 8124
11fdef7d 81252011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
8126
8127 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8128 buffer-file-type before setting its value, to avoid disastrous
eefff499 8129 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 8130
74f53697
JB
81312011-06-25 Juanma Barranquero <lekktu@gmail.com>
8132
8133 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8134
8135 * ses.el (ses-unload-function):
8136 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8137
8138 * proced.el (proced-unload-function):
8139 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8140
18a4ce5e
AR
81412011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8142
8143 * server.el (server-create-window-system-frame): Add parameters arg.
8144 (server-process-filter): Doc fix. Handle frame-parameters.
8145
519d22cc
JB
81462011-06-25 Juanma Barranquero <lekktu@gmail.com>
8147
8148 Fix bug#8730, bug#8781.
8149
8150 * loadhist.el (unload--set-major-mode): New function.
8151 (unload-feature): Use it.
8152
8153 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8154 (python-unload-function): New function.
8155
c206f5b0
SM
81562011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8157
8158 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8159
f9ad64f3
GS
81602011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8161
8162 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8163 the candidates list.
8164
7d0da90e
JB
81652011-06-24 Juanma Barranquero <lekktu@gmail.com>
8166
8167 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8168
14b4e83d
RS
81692011-06-23 Richard Stallman <rms@gnu.org>
8170
8171 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8172 (rmail-variables): Set next-error-move-function.
8173 (rmail-what-message): Take argument POS.
8174 (rmail-next-error-move): New function.
8175
273d2baf
SM
81762011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8177
8178 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8179 messages for adjacent non-terminals.
8180
56c2cc9a
RS
81812011-06-23 Richard Stallman <rms@gnu.org>
8182
8183 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 8184 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
8185 (rmail-start-mail): Don't specify use of rmail-mail-return;
8186 that's done by mail-bury now.
8187 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 8188
d59eb518
MA
81892011-06-23 Michael Albinus <michael.albinus@gmx.de>
8190
8191 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8192 SIZE is a number.
8193
02cfc6d6
MR
81942011-06-23 Martin Rudalics <rudalics@gmx.at>
8195
8196 * window.el (get-lru-window, get-mru-window)
8197 (get-largest-window): Never return a minibuffer window.
8198 (display-buffer-pop-up-window): Fix a bug that could lead to
8199 reusing the minibuffer window.
8200 (display-buffer): Pass original specifier argument to
8201 display-buffer-function instead of the normalized one.
8202 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8203
4e323265
LL
82042011-06-22 Leo Liu <sdl.web@gmail.com>
8205
8206 * minibuffer.el (completing-read-function)
8207 (completing-read-default): Move from minibuf.c
8208
7a70468f
RS
82092011-06-22 Richard Stallman <rms@gnu.org>
8210
50718fc2
RS
8211 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8212 to Rmail even if not started by a special Rmail command.
8213
7a70468f
RS
8214 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8215 Copy the buffer currently showing just one message.
8216
297dde5a
RW
82172011-06-22 Roland Winkler <winkler@gnu.org>
8218
8219 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8220 (bibtex-clean-entry): First delete the old key so that a
8221 customized algorithm for generating the new key does not get
8222 confused by the old key.
8223 (bibtex-url): Obey regexp of first step.
8224 (bibtex-search-entries): Do not use add-to-list with local
8225 list-var.
8226
97bb1093
LMI
82272011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8228
8229 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8230 stored a user name, then query for the password first, instead of
8231 waiting for SMTP to give an error message and the trying again.
8232
1c0f1a19
JD
82332011-06-22 Lawrence Mitchell <wence@gmx.li>
8234
8235 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8236 BUFFER in call-process.
8237
396f7c9d
LMI
82382011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8239
8240 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8241 QUIT twice.
ddb7ffee
LMI
8242 (smtpmail-try-auth-methods): Require user name and password from
8243 auth-source.
396f7c9d 8244
8998d1b3
MR
82452011-06-22 Martin Rudalics <rudalics@gmx.at>
8246
8247 * window.el (display-buffer-default-specifiers)
8248 (display-buffer-alist): Remove entries for pop-up-frame-alist.
8249 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 8250 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
8251
8252 * frame.el (pop-up-frame-alist, pop-up-frame-function)
8253 (special-display-frame-alist, special-display-popup-frame):
8254 Remove duplicate declarations. These are now in window.el.
8255
4ea31e07
LMI
82562011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8257
c9d29fb8
SM
8258 * mail/smtpmail.el (smtpmail-via-smtp):
8259 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
8260 server supports it. SMTP servers that support STARTTLS commonly
8261 require it.
8262
8263 * net/network-stream.el (network-stream-open-starttls): Support
8264 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 8265 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 8266
95f41d9a
LMI
8267 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8268 upgrades with `open-network-stream', and rely solely on
8269 auth-source for all credentials. Big changes throughout the file,
8270 but in particular:
c9d29fb8
SM
8271 (smtpmail-auth-credentials): Remove.
8272 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
8273 (smtpmail-via-smtp): Check for servers saying they want AUTH after
8274 MAIL FROM, too.
95f41d9a 8275
c9d29fb8
SM
8276 * net/network-stream.el (network-stream-open-starttls):
8277 Provide support for client certificates both for external and built-in
4ea31e07
LMI
8278 STARTTLS.
8279 (auth-source): Require.
8280 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
8281 (network-stream-certificate): Change cert-cert to cert and
8282 cert-key to key.
4ea31e07 8283
065ec2c7
MA
82842011-06-21 Michael Albinus <michael.albinus@gmx.de>
8285
8286 * net/tramp-cache.el (top): Don't load the persistency file when
8287 "emacs -Q" has been called.
8288
cd93b359
DR
82892011-06-21 Tim Harper <timcharper@gmail.com>
8290
d8e4b68b
JB
8291 * term/ns-win.el (ns-initialize-window-system):
8292 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
8293 resource to NO as it is not yet supported by the NS port.
8294
ae9c0411
JB
82952011-06-21 Juanma Barranquero <lekktu@gmail.com>
8296
8297 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8298 (list-dynamic-libraries): ...not here.
8299
7f3f739f
LL
83002011-06-21 Leo Liu <sdl.web@gmail.com>
8301
8302 * subr.el (sha1): Implement sha1 using secure-hash.
8303
327c8fb1
MR
83042011-06-21 Martin Rudalics <rudalics@gmx.at>
8305
8306 * window.el (display-buffer-alist): In default value do not
8307 enforce searching a window on any but the selected frame.
8308 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8309 (display-buffer-select-window): Remove function.
8310 (display-buffer-in-window): When a window on another frame gets
8311 reused, do not select it any more but just raise its frame if
8312 necessary (Bug#8851) and (Bug#8856).
8313 (display-buffer-normalize-options): Handle pop-up-frames related
8314 options more faithfully.
8315 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8316 window if it is on another frame.
c9d29fb8
SM
8317 (display-buffer-alist, display-buffer-default-specifiers):
8318 Don't make new frame unsplittable by default.
9e9de014
MR
8319 (display-buffer-normalize-argument): Fix doc-string typo and use
8320 'same-frame-other-window instead of 'other-window when associating
8321 with display-buffer-macro-specifiers.
327c8fb1 8322
7cf3f556
VB
83232011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8324
8325 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8326 New functions.
8327 (5x5-mode-map, 5x5-mode-menu): Bind them.
8328 (5x5-draw-grid): Tweak the solver's rendering.
8329
60a406cf
SM
83302011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8331
8332 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8333 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8334
d8e4b68b 83352011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
8336
8337 * menu-bar.el: Use function variable instead of switch-to-buffer.
8338 (menu-bar-select-buffer-function): New variable.
60a406cf 8339 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 8340
478d6f95
SM
83412011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8342
8343 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8344 variable's status.
8345
ca530739
JD
83462011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8347
8348 * x-dnd.el (x-dnd-version-from-flags)
8349 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8350 and long as number (Bug#8899).
8351 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8352
bcd70d97
SM
83532011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8354
60a406cf 8355 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
8356 (completion-try-completion, completion-all-completions): Compute the
8357 metadata argument if it's missing; make it optional (bug#8795).
8358
60a406cf 8359 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
8360 (widget-complete): Use new :completion-function property.
8361 (widget-completions-at-point): New function.
8362 (default): Use :completion-function instead of :complete.
60a406cf
SM
8363 (widget-default-completions): Rename from widget-default-complete;
8364 Rewrite.
bcd70d97
SM
8365 (widget-string-complete, widget-file-complete, widget-color-complete):
8366 Remove functions.
8367 (file, symbol, function, variable, coding-system, color):
8368 * international/mule-cmds.el (default-input-method, charset)
8369 (language-info-custom-alist):
8370 * cus-edit.el (face): Use new property :completions.
8371
8372 * progmodes/pascal.el (pascal-completions-at-point): New function.
8373 (pascal-mode): Use it.
8374 (pascal-mode-map): Use completion-at-point.
8375 (pascal-toggle-completions): Make obsolete.
8376 (pascal-complete-word, pascal-show-completions):
8377 * progmodes/octave-mod.el (octave-complete-symbol):
8378 Redefine as obsolete alias.
8379 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8380 Signal absence of completion info for old Octave,
8381 (inferior-octave-complete): Redefine as obsolete alias.
8382 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8383 (meta-completions-at-point): Rename from meta-complete-symbol and
8384 adapt it for use on completion-at-point-functions.
8385 (meta-common-mode): Use it.
8386 (meta-looking-at-backward, meta-match-buffer): Remove.
8387 (meta-complete-symbol): Redefine as obsolete alias.
8388 (meta-common-mode-map): Use completion-at-point.
8389 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8390 (makefile-mode-map): Use completion-at-point.
8391 (makefile-completions-at-point): Rename from makefile-complete and
8392 adapt it for use on completion-at-point-functions.
8393 (makefile-mode): Use it.
8394 (makefile-complete): Redefine as obsolete alias.
8395
aebf69c8
DD
83962011-06-20 Deniz Dogan <deniz@dogan.se>
8397
8398 * net/rcirc.el: Delete trailing whitespaces once and for all.
8399
bfbbb27d
DC
84002011-06-20 Daniel Colascione <dan.colascione@gmail.com>
8401
8402 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8403
d264a46b
CY
84042011-06-19 Chong Yidong <cyd@stupidchicken.com>
8405
4ca009e5
CY
8406 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8407
d264a46b
CY
8408 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8409
fbf5b3ce
MR
84102011-06-19 Martin Rudalics <rudalics@gmx.at>
8411
8412 * window.el (display-buffer-other-window-means-other-frame):
8413 Call display-buffer-normalize-alist.
8414 (display-buffer-normalize-specifiers-1): Rename to
8415 display-buffer-normalize-argument. New argument other-frame.
8416 Rewrite.
8417 (display-buffer-normalize-specifiers-2): Rename to
8418 display-buffer-normalize-options.
8419 (display-buffer-normalize-alist-1): New function.
8420 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
8421 display-buffer-normalize-alist.
8422 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
8423 (display-buffer-normalize-options-inhibit): New variable.
8424 (display-buffer-normalize-specifiers): Rewrite calling
8425 display-buffer-normalize-alist,
8426 display-buffer-normalize-argument, and
8427 display-buffer-normalize-options. Don't call the latter if
8428 display-buffer-normalize-options-inhibit is non-nil.
8429 (frame-auto-delete): New option.
8430 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
8431 (window-list-no-nils, window-state-ignored-parameters)
8432 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
8433 (window-state-put-1, window-state-put-2, window-state-put):
8434 New functions.
9a028c23
MR
8435 (display-buffer-normalize-options): Move special-display-p group
8436 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 8437
6d10d800
CY
84382011-06-18 Chong Yidong <cyd@stupidchicken.com>
8439
6420d28b
CY
8440 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8441 groups (Bug#8776).
8442 (rx-submatch-n): New function.
8443 (rx): Document it.
8444
ddb8b596
CY
8445 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8446 (Bug#8768).
8447
8448 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8449
77080289
CY
8450 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8451
61dfb316
CY
8452 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8453 anytime existing face settings are present (Bug#8889).
8454
6d10d800
CY
8455 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8456 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8457 Remove unused argument.
8458
be3fb2b8
MR
84592011-06-18 Martin Rudalics <rudalics@gmx.at>
8460
bcd70d97
SM
8461 * window.el (display-buffer-default-specifiers):
8462 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
8463 pop-up-window-min-width, and another reuse-window specifier
8464 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
8465 (display-buffer-normalize-specifiers-2):
8466 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
8467 pop-up-windows is unset. Add a reuse-window specifier for the
8468 case popping up a new window fails.
8469 (special-display-popup-frame): Remove double quoting.
28dec25a 8470 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 8471
1c6d8c76
SM
84722011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8473
8474 * shell.el (shell-completion-vars): Set pcomplete-termination-string
8475 according to comint-completion-addsuffix.
8476
8477 * pcomplete.el: Convert to lexical binding and fix bug#8819.
8478 (pcomplete-suffix-list): Mark as obsolete.
8479 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8480 pcomplete-seen in the closure.
8481 (pcomplete-comint-setup): Setup completion-at-point as well.
8482 (pcomplete--entries): New function.
8483 (pcomplete--env-regexp): New var.
8484 (pcomplete-entries): Rewrite to work with partial-completion and
8485 without relying on pcomplete-suffix-list.
8486 (pcomplete-pare-list): Remove, unused.
8487
25aef8b8
MR
84882011-06-17 Martin Rudalics <rudalics@gmx.at>
8489
8490 * window.el (display-buffer-alist): Set pop-up-window-min-height
8491 and pop-up-window-min-width in default value. Reported by
8492 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
8493 other-window-means-other-frame.
8494 (display-buffer-macro-specifiers): Comment out entry for
8495 other-window specifier.
8496 (display-buffer-other-window-means-other-frame): New function.
8497 (display-buffer-normalize-specifiers-1): New arguments
8498 buffer-name and label. Treat other-window case specially.
8499 (display-buffer-normalize-specifiers-2): Treat other-window case
8500 specially.
8501 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
8502 (display-buffer-normalize-specifiers):
8503 Call display-buffer-normalize-specifiers-3.
25aef8b8 8504
dbad4f69
MR
85052011-06-17 Martin Rudalics <rudalics@gmx.at>
8506
8507 * window.el (same-window-p): Fix two typos introduced when
8508 adding with-no-warnings.
d1067961
MR
8509 (display-buffer-normalize-specifiers-1): Don't check
8510 pop-up-frames for 'unset initialization.
8511 (display-buffer-normalize-specifiers-2): Major rewrite using
8512 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8513 (pop-up-frames, display-buffer-reuse-frames)
8514 (display-buffer-mark-dedicated): Don't initialize to 'unset.
8515 Suggested by David Engster <deng@randomsample.de>.
8516 (even-window-heights): Initialize to 'unset.
8517 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
8518 (display-buffer-macro-specifiers): Don't pop up a new frame in the
8519 other window case.
dbad4f69 8520
9b9c9e3a
MR
85212011-06-16 Martin Rudalics <rudalics@gmx.at>
8522
bcd70d97
SM
8523 * window.el (display-buffer-normalize-specifiers-1):
8524 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 8525 second argument of display-buffer (Bug#8865).
981d5c09
MR
8526 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8527 (switch-to-buffer-other-window-same-frame)
8528 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
8529 Adams (Bug#8875).
9c2755e9
MR
8530 (display-buffer): Don't check noninteractive when calling
8531 display-buffer-pop-up-frame.
8532 (display-buffer-pop-up-frame): Never pop up a frame in
8533 noninteractive mode (Bug#8857).
67222e1d
MR
8534 (enlarge-window, shrink-window): Don't report an error when the
8535 window can't be resized as requested (Bug#8862).
9b9c9e3a 8536
2b75be67
SM
85372011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8538
9ffdd3ba
SM
8539 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8540
cb581a67
SM
8541 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8542
2b75be67
SM
8543 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8544
8c0e3589
AM
85452011-06-15 Alan Mackenzie <acm@muc.de>
8546
cb581a67
SM
8547 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8548 for declarators, disable knr checking to speed up for normal files.
8549 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 8550
b96e6cde
LMI
85512011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8552
4bba86e6
LMI
8553 * net/network-stream.el (open-network-stream): Add the keyword
8554 :always-query-capabilities for the case where you want to force a
8555 `plain' network connection, but the protocol still requires the
8556 capabilitiy command (i.e., SMTP and EHLO).
8557
2b75be67 8558 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
8559 consistency with other `-live-p' functions.
8560
efdcdbf8
SM
85612011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8562
8563 * window.el (same-window-buffer-names, same-window-regexps)
8564 (special-display-frame-alist, special-display-popup-frame)
8565 (special-display-function, special-display-buffer-names)
8566 (special-display-regexps, pop-up-frame-alist)
8567 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8568 (pop-up-windows, split-window-preferred-function)
8569 (split-height-threshold, split-width-threshold, even-window-heights)
8570 (display-buffer-mark-dedicated): Don't encourage the use of
8571 display-buffer-alist from Elisp code.
8572
c5cde042
DN
85732011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
8574
8575 * progmodes/python.el (python-mode): Derive from prog-mode.
8576 * progmodes/ps-mode.el (ps-mode):
8577 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 8578 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
8579 * progmodes/ld-script.el (ld-script-mode): Likewise.
8580
baa1c9ab
MR
85812011-06-15 Martin Rudalics <rudalics@gmx.at>
8582
8583 * window.el (display-buffer-alist): Trim default value to avoid
8584 popping up a new frame (Bug#8857) or reusing an arbitrary window
8585 on another frame.
8586 (display-buffer): Do not fall back on popping up a new frame in
8587 batch mode (Bug#8857).
8588
c5dd5a51
CY
85892011-06-14 Chong Yidong <cyd@stupidchicken.com>
8590
8591 * cus-theme.el (describe-theme-1): Use custom-theme-p.
8592 (custom-theme-summary): New function.
8593 (customize-themes): Use it.
8594
d647b7c4
GM
85952011-06-13 Glenn Morris <rgm@gnu.org>
8596
8597 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8598
9481c002
MR
85992011-06-13 Martin Rudalics <rudalics@gmx.at>
8600
357f93d2
MR
8601 * help.el (help-window): Remove variable.
8602 (help-window-point-marker, temp-buffer-max-height)
8603 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8604 (help-print-return-message): Don't set help-window.
8605 (resize-temp-buffer-window): Rewrite cod eand doc-string.
8606 (help-window-setup-finish): Remove.
8607 (help-window-display-message, help-window-setup)
8608 (with-help-window): Major rewrite based on new
8609 display-buffer-window variable.
8610
8611 * help-mode.el (help-mode-finish): Remove help-window related
8612 code.
8613
8614 * view.el (view-exits-all-viewing-windows): Remove reference to
8615 view-return-to-alist in doc-string.
8616 (view-return-to-alist): Make obsolete.
8617 (view-buffer): Call pop-to-buffer-same-window and remove
8618 undo-window code.
8619 (view-buffer-other-window): Call pop-to-buffer-other-window and
8620 simplify code. Ignore second argument.
8621 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8622 simplify code. Ignore second argument.
8623 (view-return-to-alist-update): Make obsolete.
8624 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8625 Rewrite using quit-restore window parameters.
2b75be67
SM
8626 (view-mode-exit): Rename second argument to EXIT-ONLY.
8627 Rewrite using quit-restore-window.
357f93d2
MR
8628 (View-exit, View-exit-and-edit, View-leave, View-quit)
8629 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8630 appropriate arguments.
8631 (view-end-message): Use quit-restore window parameter.
8632
9481c002
MR
8633 * window.el (display-buffer-function): Rewrite doc-string.
8634 (display-buffer-window, display-buffer-alist): New variables.
8635 (display-buffer-split-specifiers)
8636 (display-buffer-side-specifiers)
8637 (display-buffer-macro-specifiers): New constants.
8638 (display-buffer-even-window-sizes, display-buffer-set-height)
8639 (display-buffer-set-width, display-buffer-select-window)
8640 (display-buffer-in-window, display-buffer-reuse-window)
8641 (display-buffer-split-window-1, display-buffer-split-window)
8642 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8643 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8644 (display-buffer-in-side-window, normalize-buffer-to-display)
8645 (display-buffer-normalize-specifiers-1)
8646 (display-buffer-normalize-specifiers-2)
2b75be67
SM
8647 (display-buffer-normalize-specifiers, display-buffer-frame):
8648 New functions.
9481c002
MR
8649 (display-buffer): Major rewrite.
8650 (display-buffer-other-window, display-buffer-other-frame)
8651 (pop-to-buffer, switch-to-buffer-other-window)
8652 (switch-to-buffer-other-frame): Rewrite.
8653 (display-buffer-same-window, display-buffer-same-frame)
8654 (display-buffer-same-frame-other-window)
8655 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8656 (pop-to-buffer-other-window)
8657 (pop-to-buffer-same-frame-other-window)
8658 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8659 (switch-to-buffer-other-window-same-frame): New functions.
8660 (same-window-p, special-display-p): Rewrite disabling warnings.
8661 Make obsolete.
8662 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8663 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8664 Make obsolete
8665 (same-window-buffer-names, same-window-regexps)
8666 (special-display-frame-alist, special-display-popup-frame)
8667 (special-display-function, special-display-buffer-names)
8668 (special-display-regexps, pop-up-frame-alist)
8669 (pop-up-frame-function, split-window-preferred-function)
8670 (split-height-threshold, split-width-threshold)
8671 (even-window-heights): Make obsolete.
8672
9db51aca
GM
86732011-06-12 Glenn Morris <rgm@gnu.org>
8674
8675 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 8676 Misc simplifications.
9db51aca 8677
39cffb44
MR
86782011-06-12 Martin Rudalics <rudalics@gmx.at>
8679
8680 * window.el (window-safely-shrinkable-p): Restore function which
8681 was inadvertently removed in change from 2011-06-11. Declare as
8682 obsolete.
8683
2b75be67
SM
8684 * calendar/calendar.el (calendar-generate-window):
8685 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
8686 window-safely-shrinkable-p.
8687
a8955be7
GM
86882011-06-12 Glenn Morris <rgm@gnu.org>
8689
8690 * progmodes/fortran.el (fortran-mode-syntax-table):
8691 * progmodes/f90.el (f90-mode-syntax-table):
8692 Set % to punctuation. (Bug#8820)
8693 (f90-find-tag-default): Remove, no longer needed.
8694
f0d4059d
DC
86952011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8696
8697 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8698
1100a63c
CY
86992011-06-11 Chong Yidong <cyd@stupidchicken.com>
8700
8701 * image.el (image-animated-p): Return animation delay in seconds.
8702 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8703 (image-animate-timeout): Remove DELAY argument. Don't assume
8704 every subimage has the same delay; get it from image-animated-p.
8705 (image-animate): Caller changed.
8706
def722bf
MA
87072011-06-11 Michael Albinus <michael.albinus@gmx.de>
8708
8709 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8710 to ignored backtrace functions.
8711
0a2bb1a9
GM
87122011-06-11 Glenn Morris <rgm@gnu.org>
8713
8714 * calendar/appt.el (appt-disp-window-function): Doc fix.
8715 (appt-check): Handle overlapping appointments. (Bug#8337)
8716
6198ccd0
MR
87172011-06-11 Martin Rudalics <rudalics@gmx.at>
8718
8719 * window.el (window-tree-1, window-tree): New functions, moving
8720 the latter to window.el.
8721 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8722 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8723 (bw-refresh-edges): Remove.
8724 (balance-windows-1, balance-windows-2): New functions.
8725 (balance-windows): Rewrite in terms of window tree functions,
8726 balance-windows-1 and balance-windows-2.
8727 (bw-adjust-window): Remove.
8728 (balance-windows-area-adjust): New function with functionality of
8729 bw-adjust-window but using resize-window.
2b75be67
SM
8730 (set-window-text-height): Rewrite doc-string.
8731 Use normalize-live-window and resize-window.
8732 (enlarge-window-horizontally, shrink-window-horizontally):
8733 Rename argument to DELTA.
6198ccd0
MR
8734 (window-buffer-height): New function.
8735 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8736 Rewrite using new window resize routines.
2b75be67
SM
8737 (kill-buffer-and-window, mouse-autoselect-window-select):
8738 Use ignore-errors instead of condition-case.
6198ccd0
MR
8739 (quit-window): Call delete-frame instead of delete-windows-on
8740 for the only buffer on frame.
8741
9397e56f
MR
87422011-06-10 Martin Rudalics <rudalics@gmx.at>
8743
8744 * loadup.el (top-level): Load window before files for the sake
8745 of replace-buffer-in-windows.
8746
8747 * files.el (read-buffer-to-switch)
8748 (switch-to-buffer-other-window)
2b75be67
SM
8749 (switch-to-buffer-other-frame, display-buffer-other-frame):
8750 Move to window.el.
9397e56f
MR
8751
8752 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8753 (previous-buffer): Move to window.el.
8754
8755 * bindings.el (unbury-buffer): Move to window.el.
8756
8757 * window.el (delete-other-windows-vertically): Move after
8758 definition of delete-other-windows.
8759 (other-window, delete-windows-on, replace-buffer-in-windows):
8760 Move here from window.c.
8761 (record-window-buffer, unrecord-window-buffer)
8762 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8763 (switch-to-next-buffer): New functions.
8764 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8765 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
8766 (previous-buffer): Move here from simple.el.
8767 Call switch-to-prev-buffer.
9397e56f
MR
8768 (bury-buffer): Move here from buffer.c. Switch to previous
8769 buffer when window cannot be deleted.
8770 (unbury-buffer): Move here from bindings.el.
8771 (ctl-x-map): Move binding for other-window from window.c to
8772 here.
8773 (read-buffer-to-switch, switch-to-buffer-other-window)
8774 (switch-to-buffer-other-frame): Move here from files.el.
8775 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
8776 (switch-to-buffer): Move here from buffer.c.
8777 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 8778
562dd5e9
MR
87792011-06-10 Martin Rudalics <rudalics@gmx.at>
8780
8781 * window.el (window-min-height, window-min-width): Move here
8782 from window.c. Add defcustoms and rewrite doc-strings.
8783 (resize-mini-window, resize-window): New functions.
8784 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8785 Move here from window.c.
8786 (maximize-window, minimize-window): New functions.
8787 (delete-window, delete-other-windows, split-window): Move here
8788 from window.c.
8789 (window-split-min-size): New function.
8790 (split-window-keep-point): Mention split-window-above-each-other
8791 instead of split-window-vertically.
2b75be67 8792 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
8793 Rename split-window-vertically to split-window-above-each-other
8794 and provide defalias for old definition.
8795 (split-window-side-by-side, split-window-horizontally):
8796 Rename split-window-horizontally to split-window-side-by-side
8797 and provide defalias for the old definition.
562dd5e9
MR
8798 (ctl-x-map): Move bindings for delete-window,
8799 delete-other-windows and enlarge-window here from window.c.
8800 Replace bindings for split-window-vertically and
8801 split-window-horizontally by bindings for
8802 split-window-above-each-other and split-window-side-by-side.
8803
8804 * cus-start.el (all): Remove entries for window-min-height and
8805 window-min-width. Add entries for window-splits and
8806 window-nest.
8807
f0da764a
GM
88082011-06-09 Glenn Morris <rgm@gnu.org>
8809
80675c21
GM
8810 * calendar/appt.el (appt-mode-line): New function.
8811 (appt-check, appt-disp-window): Use it.
8812
f0da764a
GM
8813 * files.el (hack-one-local-variable-eval-safep):
8814 Allow minor-modes with explicit +/-1 arguments.
8815
59f623b7
TZ
88162011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8817
8818 * term/xterm.el (xterm): Add defgroup.
8819 (xterm-extra-capabilities): Add defcustom to supply known xterm
8820 capabilities, skip querying them, or query them (default).
8821 (terminal-init-xterm): Use it.
8822 (terminal-init-xterm-modify-other-keys): New function to set up
8823 modifyOtherKeys support to simplify `terminal-init-xterm'.
8824
9aab8e0d
MR
88252011-06-09 Martin Rudalics <rudalics@gmx.at>
8826
8827 * window.el (resize-window-reset, resize-window-reset-1)
8828 (resize-subwindows-skip-p, resize-subwindows-normal)
8829 (resize-subwindows, resize-other-windows, resize-this-window)
8830 (resize-root-window, resize-root-window-vertically)
8831 (window-deletable-p, window-or-subwindow-p)
8832 (frame-root-window-p): New functions.
8833
e8b08aee
GM
88342011-06-09 Glenn Morris <rgm@gnu.org>
8835
8836 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8837 (ange-ftp-get-files): Use it.
8838
254c37a5
AK
88392011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8840
8841 * mail/sendmail.el (mail-recover-1, mail-recover):
8842 * files.el (recover-file, recover-session):
8843 Handle dired-listing-switches not being just a single short option.
8844
35d7dbd3
GM
88452011-06-09 Glenn Morris <rgm@gnu.org>
8846
8847 * calendar/appt.el (appt-display-message, appt-disp-window):
8848 Handle lists of appointments.
8849
387522b2
MR
88502011-06-08 Martin Rudalics <rudalics@gmx.at>
8851
2b75be67
SM
8852 * window.el (one-window-p): Move down in code.
8853 Rewrite doc-string.
8854 (window-current-scroll-bars): Rewrite doc-string.
8855 Normalize live window argument.
387522b2
MR
8856 (walk-windows, get-window-with-predicate, count-windows):
8857 Rewrite doc-string. Use window-list-1.
8858 (window-in-direction-2, window-in-direction, get-mru-window):
8859 New functions.
8860
d8e4b68b 88612011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
8862
8863 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8864 Doc fix (Bug#8713).
8865
88662011-06-08 Chong Yidong <cyd@stupidchicken.com>
8867
8868 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8869
88702011-06-08 Juanma Barranquero <lekktu@gmail.com>
8871
8872 * loadhist.el (unload-feature-special-hooks):
8873 Add `comint-output-filter-functions'.
8874
0de12c52
IK
88752011-06-08 Ivan Kanis <gnu@kanis.fr>
8876
8877 * calendar/appt.el (appt-check): Move some initializations into the let.
8878
f3d1777e
MR
88792011-06-08 Martin Rudalics <rudalics@gmx.at>
8880
8881 * window.el (window-height): Defalias to window-total-height.
8882 (window-width): Defalias to window-body-width.
8883
18af70d0
CY
88842011-06-07 Chong Yidong <cyd@stupidchicken.com>
8885
8886 * image-mode.el (image-toggle-animation): New command.
8887 (image-mode-map): Bind it to RET.
8888 (image-mode): Update message.
8889 (image-toggle-display-image): Avoid a spurious cache flush.
8890 (image-transform-rotation): Doc fix.
8891 (image-transform-properties): Return quickly in the normal case.
8892 (image-animate-loop): Rename from image-animate-max-time.
8893
2b75be67 8894 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
8895 (create-animated-image): Remove unnecessary function.
8896 (image-animate): Rename from image-animate-start. New arg.
2b75be67 8897 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
8898 (image-animate-timer): Use car-safe.
8899 (image-animate-timeout): Rename argument.
8900
190b47e6
MR
89012011-06-07 Martin Rudalics <rudalics@gmx.at>
8902
8903 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
8904 window.c. Rename first argument to ALL-FRAMES.
8905 Rephrase doc-strings.
8906 (get-buffer-window-list): Rewrite using window-list-1.
8907 Rephrase doc-string.
a1511caf
MR
8908 (window-safe-min-height, window-safe-min-width): New constants.
8909 (window-size-ignore, window-min-size, window-min-size-1)
8910 (window-sizable, window-sizable-p, window-size-fixed-1)
8911 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8912 (window-max-delta-1, window-max-delta, window-resizable)
8913 (window-resizable-p, window-total-height, window-total-width)
8914 (window-body-width): New functions.
8915 (window-full-height-p, window-full-width-p): Rewrite using
8916 window-total-size.
8917 (window-body-height): Rewrite using window-body-size.
190b47e6 8918
85cc1f11
MR
89192011-06-06 Martin Rudalics <rudalics@gmx.at>
8920
8921 * window.el (window-right, window-left, window-child)
8922 (window-child-count, window-last-child, window-any-p)
8923 (normalize-live-buffer, normalize-live-frame)
8924 (normalize-any-window, normalize-live-window)
8925 (window-iso-combination-p, window-iso-combined-p)
8926 (window-iso-combinations)
8927 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8928 (windows-with-parameter, window-with-parameter)
8929 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
8930 (window-atom-check, window-side-check, window-check):
8931 New functions.
85cc1f11
MR
8932 (ignore-window-parameters, window-sides, window-sides-vertical)
8933 (window-sides-slots): New variables.
8934 (window-size-fixed): Move down in code. Minor doc-string fix.
8935
e7156492
AS
89362011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8937
8938 * comint.el (comint-dynamic-complete-as-filename)
8939 (comint-dynamic-complete-filename): Correctly call
8940 completion-in-region.
8941
7e821d0d
DD
89422011-06-05 Deniz Dogan <deniz@dogan.se>
8943
8944 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8945 in last change.
8946
ac09b8a1
DD
89472011-06-05 Deniz Dogan <deniz@dogan.se>
8948
8949 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8950 (rcirc): Use it to prompt for encryption.
8951
34699b85
RW
89522011-06-05 Roland Winkler <winkler@gnu.org>
8953
8954 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8955 (bibtex-search-entries): New command bound to C-c C-a.
8956 (bibtex-display-entries): New function.
8957
004dedd3
RW
89582011-06-05 Roland Winkler <winkler@gnu.org>
8959
8960 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8961 (bibtex-insert-kill): After yanking insert newline if necessary.
8962 (bibtex-initialize): Call bibtex-string-files-init only once.
8963 (bibtex-mode): Do not call easy-menu-add.
8964 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8965 (bibtex-yank): Set arg properly if nil.
8966
022fe7ce
RW
89672011-06-05 Roland Winkler <winkler@gnu.org>
8968
2b75be67
SM
8969 * textmodes/bibtex.el (bibtex-search-entry-globally):
8970 New variable.
022fe7ce
RW
8971 (bibtex-search-entry): Use it.
8972
b7c3692a
RW
89732011-06-05 Roland Winkler <winkler@gnu.org>
8974
8975 * textmodes/bibtex.el (bibtex-entry-format): New option
8976 sort-fields.
8977 (bibtex-format-entry, bibtex-reformat): Honor this option.
8978 (bibtex-parse-entry): Return fields in proper order.
8979
8eda563d
JB
89802011-06-05 Juanma Barranquero <lekktu@gmail.com>
8981
8982 * doc-view.el (doc-view-remove-if): Move computation of result out
8983 of `dolist' to silence misleading lexical-binding warning.
8984
7dbe3dbc
CY
89852011-06-04 Chong Yidong <cyd@stupidchicken.com>
8986
8987 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8988 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8989
0c33dd17
MA
89902011-06-04 Michael Albinus <michael.albinus@gmx.de>
8991
8992 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8993 "SunOS 5.10".
8994
f8f91c2b
MA
89952011-06-04 Michael Albinus <michael.albinus@gmx.de>
8996
8997 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8998 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8999 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9000 (tramp-parse-putty):
9001 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9002 (tramp-completion-function-alist-ssh)
9003 (tramp-completion-function-alist-telnet)
9004 (tramp-completion-function-alist-su)
9005 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9006 cookie.
9007
9008 * net/tramp-ftp.el:
9009 * net/tramp-sh.el:
9010 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9011 load "tramp.el" `tramp-set-completion-function'.
9012
e17d9003
SM
90132011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9014
9015 * shell.el: Require and use pcomplete.
9016 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9017 (shell-completion-vars): Set pcomplete-default-completion-function.
9018
6c4cab03
DD
90192011-06-04 Deniz Dogan <deniz@dogan.se>
9020
9021 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9022 `memq' (Bug#8799).
9023
ea9fafe0
SM
90242011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9025
9026 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9027
b3e945d3
JB
90282011-06-02 Juanma Barranquero <lekktu@gmail.com>
9029
9030 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9031 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9032 * vc/log-view.el (log-view-beginning-of-defun):
9033 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9034 (smerge-refine-forward, smerge-refine-chopup-region):
9035 Silence warning for unused `dotimes' counter variables.
9036
7d520089
SM
90372011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9038
9039 * net/tramp.el (tramp-with-progress-reporter): Rename from
9040 with-progress-reporter. Use `declare'.
9041 * net/tramp-smb.el:
9042 * net/tramp-sh.el:
9043 * net/tramp-gvfs.el: Update all uses.
9044
a1c2400f
JB
90452011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9046
9047 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9048 buffer isn't killed before making it current.
9049
2403c841
SM
90502011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9051
9052 Silence various byte-compiler warnings.
9053 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9054 `access-type' and new obsolescence format.
9055 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9056 new format.
9057 (byte-compile-check-variable): New `access-type' argument.
9058 Only warn if the access-type is obsolete.
9059 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9060 (byte-compile-variable-set): Adjust callers.
9061 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9062 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9063 setting it as obsolete.
9064 * simple.el (minibuffer-completing-symbol):
9065 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9066 access as obsolete.
9067 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9068 obsolete yet.
9069 * international/quail.el (quail-mouse-choose-completion): Remove unused
9070 code referring to obsolete var.
9071 (quail-choose-completion-string): Remove.
9072 * server.el (server-clients-with, server-kill-buffer-query-function)
9073 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9074 * proced.el (proced-send-signal):
9075 * emacs-lisp/lisp.el (lisp-complete-symbol):
9076 Replace completion-annotate-function with completion-extra-properties.
9077
2462470b
SM
90782011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9079
fb5b2591
SM
9080 * simple.el (goto-line): Use read-number.
9081 (overriding-map-is-bound): Remove.
9082 (saved-overriding-map): Change default.
9083 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9084 Take the map as argument.
9085 (universal-argument, negative-argument, digit-argument): Use it.
9086 (restore-overriding-map): Adjust.
9087 (do-auto-fill): Use fill-forward-paragraph.
9088 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9089
fd6fa53f
SM
9090 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9091 (minibuffer-inactive-mode): New major mode.
9092 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9093 the *Messages* buffer" hack.
9094 (mouse-popup-menubar): Don't burp if the event is a normal key.
9095
2462470b
SM
9096 Miscellaneous tweaks.
9097 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9098 lexical scoping as in subr.el's dolist and dotimes.
9099 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9100 Silence compiler warning.
9101 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9102 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9103 * international/ccl.el (ccl-compile): Trivial simplification.
9104 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9105 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9106 `printflag' argument.
9107 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9108 Purecopy the whole obsolescence data.
9109
108bf785
LL
91102011-06-01 Leo Liu <sdl.web@gmail.com>
9111
9112 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9113 improve doc-string as suggested by Marco Pessotto
9114 <melmothx@gmail.com>.
9115 (rcirc-print): Fix last change.
9116
30a23501
SM
91172011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9118
9119 * minibuffer.el (complete-with-action): Return nil for the metadata and
9120 boundaries of non-functional tables.
9121 (completion-table-dynamic): Return nil for the metadata.
9122 (completion-table-with-terminator): Add default case, using
9123 complete-with-action.
9124 (completion--metadata): New function.
9125 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9126 to try and avoid pathological performance problems.
9127 (completion--embedded-envvar-table): Return `category' metadata.
9128
bcd54f83
LMI
91292011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9130
9131 * subr.el (process-alive-p): New tiny convenience function.
9132
e227544d
SM
91332011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9134
9135 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9136 content but also its previous major mode.
9137
e8296fdc
HE
91382011-05-31 Helmut Eller <eller.helmut@gmail.com>
9139
4d61f28d 9140 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
9141 *Backtrace* buffer when we exit with C-M-c.
9142
620c53a6
SM
91432011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9144
9145 * minibuffer.el: Add metadata method to completion tables.
9146 (completion-category-overrides): New defcustom.
9147 (completion-metadata, completion--field-metadata)
9148 (completion-metadata-get, completion--styles)
9149 (completion--cycle-threshold): New functions.
9150 (completion-try-completion, completion-all-completions):
9151 Add `metadata' argument to choose completion-styles.
9152 (completion--do-completion): Use metadata to choose cycling.
9153 (completion-all-sorted-completions): Use metadata for sorting.
9154 Remove :completion-cycle-penalty which is not needed any more.
9155 (completion--try-word-completion): Add `metadata' argument.
9156 (minibuffer-completion-help): Check metadata for annotation function
9157 and sorting.
9158 (completion-file-name-table): Return `category' metadata.
9159 (minibuffer-completing-file-name): Make obsolete.
9160 * simple.el (minibuffer-completing-symbol): Make obsolete.
9161 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9162 completion-try-completion.
9163
1257e755
SM
91642011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9165
9166 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9167
3767e706
LL
91682011-05-30 Leo Liu <sdl.web@gmail.com>
9169
9170 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
9171 (rcirc-print): Decode all incoming messages (bug#8744).
9172 (rcirc-decode-coding-system): Allow value nil for automatic coding
9173 system detection.
3767e706 9174
d1a5d56a
GM
91752011-06-01 Glenn Morris <rgm@gnu.org>
9176
9177 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9178
e8cbec34
CY
91792011-05-29 Chong Yidong <cyd@stupidchicken.com>
9180
9181 * image.el (image-animate-max-time): Allow nil and t values.
9182 Default to nil.
9183 (create-animated-image): Doc fix.
9184 (image-animate-start): Remove second arg; just use
9185 image-animate-max-time.
9186 (image-animate-timeout): Doc fix. Args changed.
9187
9188 * image-mode.el (image-toggle-display-image): Ensure that the
9189 image spec passed to the animate timer is the same object as in
58179cce 9190 the buffer's display property (Bug#6981).
e8cbec34
CY
9191 (image-transform-properties): Doc fix.
9192
9193 * image.el (image-animate-max-time): Default to nil.
9194
159daf87
MR
91952011-05-29 Martin Rudalics <rudalics@gmx.at>
9196
9197 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9198 entire buffer list (Bug#8184).
9199
d66c4c7c
CY
92002011-05-29 Chong Yidong <cyd@stupidchicken.com>
9201
9202 * image.el (imagemagick-types-inhibit)
9203 (imagemagick-register-types): Doc fix.
9204
80aec780
DD
92052011-05-29 Deniz Dogan <deniz@dogan.se>
9206
9207 * net/rcirc.el (rcirc): Use the user's stored encryption method by
9208 default.
9209
1dd3c2d9
CY
92102011-05-29 Chong Yidong <cyd@stupidchicken.com>
9211
9212 * select.el: Don't perform clipboard-manager saving in hooks;
9213 leave the hooks empty.
9214
60e56523
LL
92152011-05-28 Leo Liu <sdl.web@gmail.com>
9216
9217 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9218 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
9219 (occur-edit-mode): New major mode (Bug#8463).
9220 (occur-after-change-function): New function.
9221 (occur-engine): Give Occur tags a read-only property.
9222
2b1e1a22
KR
92232011-05-28 Kevin Ryde <user42@zip.com.au>
9224
9225 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9226
5d344e88
CY
92272011-05-28 Chong Yidong <cyd@stupidchicken.com>
9228
8e6ca83d
CY
9229 * bindings.el (help-echo): Make the initial non-indicator dash
9230 empty on graphical terminals (Bug#7295).
9231
5d344e88
CY
9232 * files.el (auto-mode-alist): Move config rule after the
9233 in-stripping one (Bug#8547).
9234
bfbbace7
CY
9235 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9236
fbeba6e2
CY
9237 * startup.el (normal-splash-screen): Remove gratuitous mode-line
9238 setting (Bug#8740).
9239
60ed8c72
AA
92402011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
9241
4ac619f0
AA
9242 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9243 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9244 (Bug#8539).
60ed8c72 9245
23db196e
CY
92462011-05-28 Chong Yidong <cyd@stupidchicken.com>
9247
9248 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9249
5012f24c
DK
92502011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
9251
9252 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9253 (hs-hide-block-at-point, hs-find-block-beginning)
9254 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9255 (Bug#8279).
9256
6a639b16
GM
92572011-05-28 Glenn Morris <rgm@gnu.org>
9258
9259 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9260
d43eaf2c
CY
92612011-05-28 Chong Yidong <cyd@stupidchicken.com>
9262
5199bde1
CY
9263 * help-fns.el (describe-function-1): If the function is a derived
9264 major mode, print the parent mode.
9265
d43eaf2c
CY
9266 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9267 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9268
423428a8
SM
92692011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9270
0ff8e1ba 9271 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 9272 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
9273 * progmodes/etags.el (tags-completion-at-point-function):
9274 * info-look.el (info-lookup-completions-at-point): Mark as
9275 non-exclusive.
9276 (info-complete): Adjust accordingly.
9277
423428a8
SM
9278 * info-look.el: Convert to lexical-binding and completion-at-point.
9279 (info-lookup-completions-at-point): New function.
9280 (info-complete): Use it and completion-in-region.
9281
b74aa22b
DA
92822011-05-28 Drew Adams <drew.adams@oracle.com>
9283
9284 * isearch.el: Let M-e start with point at the first mismatched char.
9285 (isearch-fail-pos): New function.
9286 (isearch-edit-string): Use it.
9287
66e2e71d
DK
92882011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9289
9290 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9291
b1890b0f 92922011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
9293
9294 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9295 traversal functions for avl-trees.
9296 (avl-tree--stack): New struct.
9297 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9298 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
9299 (avl-tree--do-enter): Add optional `updatefun' arg.
9300 Change return value.
eb95d01d 9301 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
9302 (avl-tree--do-delete): Add `test' and `nilflag' args.
9303 Change return value.
eb95d01d
TC
9304 (avl-tree-member): Add optional `nilflag'
9305 (avl-tree-member-p): New function.
9306 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9307 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9308 (avl-tree-stack-empty-p): New functions.
9309
3769ddcf
TC
9310 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9311 avl-tree--del-balance1 and make it work both ways.
9312 (avl-tree--del-balance2): Remove.
9313 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9314 make it work both ways.
9315 (avl-tree--enter-balance2): Remove.
9316 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9317 New macros.
9318 (avl-tree--mapc, avl-tree-map): Add direction argument.
9319
eb95d01d 93202011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
9321
9322 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9323
a9f737ee
CY
93242011-05-27 Chong Yidong <cyd@stupidchicken.com>
9325
9326 * select.el: Support clipboard managers with built-in function
9327 x-clipboard-manager-save, via delete-frame-functions and
9328 kill-emacs-hook.
9329 (xselect-convert-to-targets): Add MULTIPLE target to list.
9330 (xselect-convert-to-save-targets): New function.
9331
c92a1e54
KH
93322011-05-27 Kenichi Handa <handa@m17n.org>
9333
9334 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9335 let-binding rfc2047-encode-encoded-words to nil.
9336
e145f188
GM
93372011-05-27 Glenn Morris <rgm@gnu.org>
9338
5ec8a862
GM
9339 * mail/emacsbug.el: Don't require url-util.
9340
4b29d9fb
GM
9341 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9342
e145f188
GM
9343 * files.el (set-auto-mode):
9344 Also respect mode: entries at the end of the file. (Bug#8586)
9345
7d15102b
GM
93462011-05-26 Glenn Morris <rgm@gnu.org>
9347
98f593b8
GM
9348 * files.el (hack-local-variables-prop-line, hack-local-variables):
9349 Downcase mode names, as seems to be traditional.
27b48e63 9350 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 9351
7d15102b
GM
9352 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9353 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
9354
51d5b4ec
JD
93552011-05-25 Julien Danjou <julien@danjou.info>
9356
9357 * textmodes/rst.el (rst-define-level-faces): Do not define face
9358 symbol if it is already defined.
9359
91513f63
VB
93602011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
9361
9362 * play/5x5.el (5x5-new-game, 5x5-randomize):
9363 Reset 5x5-solver-output to nil when a new grid is cast.
9364 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9365 these debugging traces, as defmacro breaks the compiled code.
9366
4d90d6d0
DK
93672011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9368
9369 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9370
e1b90ef6
LL
93712011-05-24 Leo Liu <sdl.web@gmail.com>
9372
9373 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9374 (vc-bzr-sha1): Adapt.
9375
d8e4b68b 9376 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
9377
9378 * bindings.el: Provide sha1 feature.
9379
db0406bb 93802011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
9381
9382 * mail/sendmail.el: Require `rfc2047'.
9383 (mail-insert-from-field): Do not perform RFC2047 encoding.
9384 (mail-encode-header): New function.
9385 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
9386 buffer to the return value of select-message-coding-system.
9387 Call mail-encode-header.
b8d747b9
KH
9388
9389 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9390
db0406bb 93912011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 9392
4d90d6d0
DK
9393 * mail/supercite.el (sc-default-cite-frame):
9394 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 9395
eb8a5e9b
GM
93962011-05-24 Glenn Morris <rgm@gnu.org>
9397
f8630703
GM
9398 * progmodes/python.el (brm-menu): Declare.
9399
8831bbed
GM
9400 * emulation/viper.el (viper-set-hooks): Declare.
9401
eb8a5e9b
GM
9402 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9403 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9404 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9405 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9406 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9407 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9408
a2a25d24
SM
94092011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9410
9411 Add an :exit-function for completion-at-point.
9412
9413 * minibuffer.el (completion--done): New fun.
9414 (completion--do-completion): Use it. New arg `expect-exact'.
9415 (minibuffer-complete, minibuffer-complete-word): Don't output message,
9416 since completion--do-completion does it for us now.
9417 (minibuffer-force-complete): Use completion--done and
9418 completion--replace. Handle sole-completion case with more care.
9419 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9420 (completion-extra-properties): New var.
9421 (completion-annotate-function): Make obsolete.
9422 (minibuffer-completion-help): Adjust accordingly.
9423 Use completion-list-insert-choice-function.
9424 (completion-at-point, completion-help-at-point):
9425 Bind completion-extra-properties.
9426 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9427 * simple.el (completion-list-insert-choice-function): New var.
9428 (completion-setup-function): Preserve it.
9429 (choose-completion): Pay attention to it, shuffle the code a bit.
9430 (choose-completion-string): New arg `insert-function'.
9431
9432 * textmodes/bibtex.el: Convert to lexical binding.
9433 (bibtex-mode-map): Use completion-at-point.
9434 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9435 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9436 (bibtex-complete): Define as obsolete alias.
9437 (bibtex-complete-internal): Remove.
9438 (bibtex-format-entry): Remove unused sub-group in regexp.
9439 * shell.el (shell--command-completion-data)
9440 (shell-environment-variable-completion):
9441 * pcomplete.el (pcomplete-completions-at-point):
9442 * comint.el (comint--complete-file-name-data): Use :exit-function
9443 instead of completion-table-with-terminator so it also works for
9444 choose-completion.
9445
e44e373d
SM
94462011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9447
4f91a816
SM
9448 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9449
782fc819
SM
9450 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9451 (bug#8710).
9452
e44e373d
SM
9453 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9454
381987c3
KM
94552011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
9456
9457 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9458 customization variable and implement: If non-nil, auto-fill will
9459 be inhibited while on topic's header line.
9460
b776bc70
VB
94612011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
9462
9463 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 9464 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
9465 always have a solution in grid size = 5 cases.
9466 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9467 (5x5-solver-output, 5x5-log-buffer): New vars.
9468 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9469 Make these variables buffer local to achieve 5x5 multi-session-ness.
9470 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9471 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9472 (5x5-solve-suggest): New funs.
9473 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9474 randomize a grid so that we ensure that there is always a solution.
9475 (5x5-make-random-grid): Allow other movement than flipping.
9476
7de88b6e
KR
94772011-05-23 Kevin Ryde <user42@zip.com.au>
9478
9479 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 9480 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
9481 advice and passes PREDICATE.
9482
b1ef1257
SM
94832011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9484
bbca48fe
SM
9485 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9486 byte-compile-lambda if it's actually a lambda.
9487
b1ef1257
SM
9488 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9489 Fix function quoting. Use backquote better.
9490
92a9cc65
YS
94912011-05-22 Yuanle Song <sylecn@gmail.com>
9492
9493 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9494 matching (Bug#8516).
9495
f0fb8059
JA
94962011-01-22 Jari Aalto <jari.aalto@cante.net>
9497
9498 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9499 different face (Bug#8178).
9500
d5b44c93
CY
95012011-05-22 Chong Yidong <cyd@stupidchicken.com>
9502
9503 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9504 defface (Bug#8144).
9505
79106a44
SM
95062011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
9507
9c848d8a
SM
9508 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9509 funcall as well (bug#8712). Warn when performing those conversions.
9510 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9511
79106a44
SM
9512 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9513
88dfa756
GM
95142011-05-22 Glenn Morris <rgm@gnu.org>
9515
9516 * files.el (hack-local-variables-prop-line): Small simplifications.
9517 (hack-local-variables, hack-local-variables-prop-line):
9518 If MODE-ONLY, return the mode, rather than just `t'.
9519
b7cf2c79
SM
95202011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9521
9522 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9523
3f1a8558
GM
95242011-05-21 Glenn Morris <rgm@gnu.org>
9525
7e4ccca3
GM
9526 * files.el (hack-local-variables-prop-line, hack-local-variables):
9527 If only interested in the mode, don't bother doing the other stuff.
9528
637d46ca
GM
9529 * image-mode.el (image-after-revert-hook):
9530 Redraw all frames on which the image is visible. (Bug#8567)
9531
973d955b
GM
9532 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
9533
3f1a8558
GM
9534 * wid-edit.el (widget-checklist-match-inline):
9535 Fix 2011-04-19 change. (Bug#8649)
9536
96479927
SM
95372011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
9538
1dcf791f
SM
9539 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9540 Also allow singlespace after single-letter capitals followed by a dot.
9541
96479927
SM
9542 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9543 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9544
35fd0881
N
95452011-05-20 Nix <nix@esperi.org.uk>
9546
9547 * files.el (basic-save-buffer-2):
9548 Fix handling of break-hardlink-on-save with non-existent files.
9549
82745640
DD
95502011-05-19 Deniz Dogan <deniz@dogan.se>
9551
9552 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 9553 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 9554
4a720484
GM
95552011-05-19 Glenn Morris <rgm@gnu.org>
9556
d1f21341
GM
9557 * progmodes/f90.el (f90-type-def-re):
9558 Handle "type, bind(c)". (Bug#8691)
9559
4a720484
GM
9560 * emacs-lisp/autoload.el (batch-update-autoloads):
9561 Set autoload-excludes by parsing loadup.el rather than Makefiles.
9562
2fb0a219
MA
95632011-05-18 Michael Albinus <michael.albinus@gmx.de>
9564
9565 * net/tramp.el (tramp-process-actions): Set "first-password-request"
9566 property for the correct connection in case of multihops.
9567
e565dd37
GM
95682011-05-18 Glenn Morris <rgm@gnu.org>
9569
c2571358 9570 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
9571 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9572
e565dd37
GM
9573 Rationalize calendar handling of day and month abbrev-arrays.
9574 * calendar/calendar.el (calendar-customized-p): New function.
9575 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9576 (calendar-day-name-array, calendar-month-name-array): Doc fix.
9577 Add :set function.
9578 (calendar-abbrev-length, calendar-day-abbrev-array)
9579 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9580 (calendar-day-abbrev-array, calendar-month-abbrev-array):
9581 Elements may no longer be nil.
9582 (calendar-day-name, calendar-month-name):
9583 Update for changed nature of abbrev arrays.
9584 * calendar/diary-lib.el (diary-name-pattern):
9585 Update for changed nature of abbrev arrays.
9586 (diary-mark-entries-1): Update calendar-make-alist calls.
9587 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9588 * calendar/cal-html.el (cal-html-day-abbrev-array):
9589 Simply inherit from calendar-day-abbrev-array.
9590
1d99a745
SM
95912011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9592
9593 * progmodes/grep.el (grep-mode): Disable default
9594 compilation-directory-matcher setting (bug#8684).
9595
7c1d9aa0
MA
95962011-05-17 Michael Albinus <michael.albinus@gmx.de>
9597
9598 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9599 instead of "head" and "tail". There were problems with SunOS 5.9,
9600 and it performs better.
9601
3952e9d8
GM
96022011-05-17 Glenn Morris <rgm@gnu.org>
9603
2dd12e7f
GM
9604 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9605
e4157b9c
GM
9606 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9607 Replace obsolete function.
9608
8e249bbd
GM
9609 * shell.el (pcomplete-parse-arguments-function): Declare.
9610
3952e9d8
GM
9611 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9612 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9613 (appt-check): Doc fixes.
9614 (appt-disp-window-function, appt-delete-window-function):
9615 Remove needless special case in custom :type.
9616 (appt-display-count): Default to 0, not nil.
9617 (appt-check): Reset appt-display-count to 0, not nil.
9618
c71a0d48 96192011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 9620
c71a0d48
GM
9621 * progmodes/python.el (python-font-lock-keywords):
9622 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 9623
31d55be9
SM
96242011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9625
9626 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9627
3bfacb2f
KR
96282011-05-16 Kevin Ryde <user42@zip.com.au>
9629
9630 * info-look.el (makefile-automake-mode): New setups, looking in
9631 automake manual, then makefile-mode.
9632 (makefile-mode): Remove automake manual, have it just in
9633 makefile-automake-mode since there's various things different or
9634 not relevant to plain make.
9635 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9636 believe a hypothetical automake-mode would go to makefile-mode,
9637 not the other way around.
9638
c8e83751
CY
96392011-05-15 Chong Yidong <cyd@stupidchicken.com>
9640
5e9e35cd
CY
9641 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9642 hunk-end tags (Bug#8672).
9643
c8e83751
CY
9644 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9645 vc-annotate-show-diff-revision-at-line (Bug#8671).
9646
50b23e5a
GM
96472011-05-14 Glenn Morris <rgm@gnu.org>
9648
7210a739
GM
9649 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9650 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
9651 (change-log-font-lock-keywords): Also handle multiple author lines
9652 with leading tabs. (Bug#8644)
7210a739 9653
4691905a
GM
9654 * calendar/appt.el (appt-check): Rename some local variables.
9655 Some simplification/reordering.
9656
50b23e5a
GM
9657 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9658 (feedmail-sendmail-f-doesnt-sell-me-out)
9659 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9660 (feedmail-debug-sit-for, feedmail-queue-express-hook)
9661 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
9662 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9663 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
9664 (feedmail-binmail-gnulinuxish-template):
9665 Rename from feedmail-binmail-linuxish-template.
9666 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9667 Use insert-buffer-substring.
9668
215cda7c
BC
96692011-05-14 Bill Carpenter <bill@carpenter.org>
9670
9671 * mail/feedmail.el (feedmail-patch-level): Increase.
9672 (feedmail-debug): New custom group.
9673 (feedmail-confirm-outgoing-timeout)
9674 (feedmail-sendmail-f-doesnt-sell-me-out)
9675 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9676 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9677 (feedmail-sender-line, feedmail-from-line)
9678 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 9679 (feedmail-spray-this-address)
215cda7c
BC
9680 (feedmail-spray-address-fiddle-plex-list)
9681 (feedmail-queue-use-send-time-for-date)
9682 (feedmail-queue-use-send-time-for-message-id)
9683 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9684 (feedmail-buffer-eating-function):
9685 Doc fixes.
9686 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9687 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9688 (feedmail-message-action-scroll-down): New functions.
9689 (feedmail-queue-directory, feedmail-queue-draft-directory):
9690 Use expand-file-name.
9691 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9692 Remove C-v help entry.
9693 (feedmail-queue-buffer-file-name): New variable.
9694 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9695 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9696 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9697 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9698 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9699 (feedmail-message-action-toggle-spray)
9700 (feedmail-run-the-queue-no-prompts)
9701 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9702 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9703 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9704 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9705 (feedmail-envelope-deducer, feedmail-fiddle-from)
9706 (feedmail-fiddle-sender, feedmail-default-date-generator)
9707 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9708 (feedmail-fiddle-spray-address)
9709 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9710 (feedmail-fiddle-list-of-fiddle-plexes)
9711 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9712 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9713 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9714 Change default. Doc fix.
9715 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9716 (feedmail-binmail-linuxish-template): New constant.
9717 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9718 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9719 (feedmail-send-it): Add debug call.
9720 Use feedmail-queue-buffer-file-name, and
9721 feedmail-send-it-immediately-wrapper.
9722 (feedmail-message-action-send): Add debug call.
9723 Use feedmail-send-it-immediately-wrapper.
9724 (feedmail-queue-express-to-queue): Add debug call.
9725 Run feedmail-queue-express-hook.
9726 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9727 (feedmail-message-action-help-blat):
9728 Rename from feedmail-queue-send-edit-prompt-help-first.
9729 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9730 Check line-endings. Handle errors better.
9731 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9732 Doc fix. Add debug call.
9733 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9734 Use feedmail-queue-send-edit-prompt-inner.
9735 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9736 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9737 from feedmail-queue-send-edit-prompt.
9738 (feedmail-queue-send-edit-prompt-help)
9739 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9740 (feedmail-tidy-up-slug): Add debug call.
9741 Respect feedmail-queue-slug-suspect-regexp.
9742 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9743 (feedmail-dump-message-to-queue): Add debug call.
9744 Expand queue-directory.
9745 (feedmail-dump-message-to-queue): Change message slightly.
9746 Use feedmail-say-chatter.
9747 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9748 (feedmail-send-it-immediately-wrapper): New function.
9749 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9750 Insert empty string rather than newline. Handle full-frame case.
9751 Use catch/throw. Use feedmail-say-chatter.
9752 (feedmail-fiddle-from): Try mail-host-address.
9753 (feedmail-default-message-id-generator): Doc fix.
9754 Bind system-time-locale. Handle missing end.
9755 (feedmail-fiddle-x-mailer): Add debug call.
9756 Handle feedmail-x-mailer-line being nil.
9757 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9758 Add debug call. Use buffer-substring-no-properties.
9759 (feedmail-say-debug, feedmail-say-chatter): New functions.
9760 (feedmail-find-eoh): Give an explicit error.
9761
42c7e61e
UJ
97622011-05-13 Ulf Jasper <ulf.jasper@web.de>
9763
c2571358 9764 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 9765 family from helvetica to sans.
c2571358 9766 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9767 etc/images/newsticker.
9768
c2571358 9769 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
9770 family from helvetica to sans.
9771
9772 * net/newst-plainview.el (newsticker-new-item-face)
9773 (newsticker-old-item-face, newsticker-immortal-item-face)
9774 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 9775 (newsticker-statistics-face): Change default family from
42c7e61e 9776 helvetica to sans.
c2571358 9777 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9778 etc/images/newsticker.
9779
9780 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9781 (newsticker--process-auto-mark-filter-match): : Tell user about
9782 auto-marking.
9783
8497a297
DV
97842011-05-13 Didier Verna <didier@xemacs.org>
9785
9786 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
9787 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9788 TODO entries.
8497a297
DV
9789 (lisp-lambda-list-keyword-parameter-indentation)
9790 (lisp-lambda-list-keyword-parameter-alignment)
9791 (lisp-lambda-list-keyword-alignment): New customizable user options.
9792 (lisp-indent-defun-method): Improve docstring.
9793 (extended-loop-p): Fix comment.
9794 (lisp-indent-lambda-list-keywords-regexp): New variable.
9795 (lisp-indent-lambda-list): New function.
9796 (lisp-indent-259): Use it.
9797 (lisp-indent-defmethod): Support for more than one
9798 method qualifier and properly indent methods lambda-lists.
9799 (defgeneric): Provide a missing common-lisp-indent-function property.
9800
f278f87f
SM
98012011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9802
9803 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9804 bounds for the empty string (bug#8667).
9805
5233edd7
GM
98062011-05-13 Glenn Morris <rgm@gnu.org>
9807
5237a44f
GM
9808 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9809
8340026c 9810 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 9811 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 9812
5233edd7 9813 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 9814 (appt-time-msg-list): Doc fix.
a5464014 9815 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 9816
92d10796
AS
98172011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9818
9819 * progmodes/ld-script.el (ld-script-keywords)
9820 (ld-script-builtins): Update keywords list.
9821
914a0ae1
SM
98222011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9823
c89be45f
SM
9824 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9825
914a0ae1
SM
9826 * shell.el (shell-completion-vars): New function.
9827 (shell-mode):
9828 * simple.el (read-shell-command): Use it.
9829 (blink-matching-open): No need for " [...]" in minibuffer-message.
9830
98dc3df3
GM
98312011-05-12 Glenn Morris <rgm@gnu.org>
9832
9833 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9834 (appt-check): Simplify.
9835
d2fc7e3d 98362011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 9837
4d61f28d 9838 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
9839 literal "/dev/null".
9840
d2fc7e3d 98412011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
9842
9843 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9844 Fix typo.
9845
d2fc7e3d 98462011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 9847
3f254caa
SM
9848 * progmodes/which-func.el (which-function):
9849 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
9850 which might not be defined (Bug#8260).
9851
d45885f7
GM
98522011-05-12 Glenn Morris <rgm@gnu.org>
9853
9854 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9855 Let byte-compile-initial-macro-environment always take precedence.
9856
488086f4
SM
98572011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9858
9859 * net/rcirc.el: Add support for SSL/TLS connections.
9860 (rcirc-server-alist): New field `encryption'.
9861 (rcirc): Check `encryption' settings.
9862 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9863 Merge make-local-variable into `set'.
9864 (rcirc--connection-open-p): New function.
9865 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9866 the process is not a network process (e.g. running gnutls-cli).
9867 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9868 Make rcirc-(en|de)code-coding-system local here.
9869 (rcirc-mode): Merge make-local-variable into `set'.
9870 (rcirc-parent-buffer): Make permanent buffer-local.
9871 (rcirc-multiline-minor-mode): Don't do it here.
9872 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9873 there's no server buffer.
9874
7d3b9d44
GM
98752011-05-11 Glenn Morris <rgm@gnu.org>
9876
f64049c6
GM
9877 * newcomment.el (comment-kill): Prefix "unused" local.
9878
93c9df73
GM
9879 * term/w32console.el (get-screen-color): Declare.
9880
7d3b9d44
GM
9881 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9882 Handle symbol elements of byte-compile-initial-macro-environment.
9883
9e2dd53f
LL
98842011-05-10 Leo Liu <sdl.web@gmail.com>
9885
488086f4
SM
9886 * bookmark.el (bookmark-bmenu-mode-map):
9887 Bind bookmark-bmenu-search to `/'.
8b340240 9888
9e2dd53f 9889 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
9890 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9891 (Footnote-unicode): New function.
9892 (footnote-style-alist): Add unicode style to the list.
9893 (footnote-style): Doc fix.
9e2dd53f 9894
79b70037
GM
98952011-05-10 Jim Meyering <meyering@redhat.com>
9896
9897 Fix doubled-word typos.
9898 * international/quail.el (quail-insert-kbd-layout): and and -> and
9899 * kermit.el: and and -> and
9900 * net/ldap.el (ldap-search-internal): to to -> to
9901 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9902 * progmodes/js.el (js-mode): and and -> and
9903 * textmodes/artist.el (artist-move-to-xy): at at -> at
9904 (artist-draw-region-trim-line-endings): if if -> if
9905 And Safetyc -> Safety.
9906 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9907
b8f82dc1 99082011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 9909 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
9910
9911 * files.el (hack-one-local-variable-eval-safep):
9912 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9913
4f99f44b
GM
99142011-05-10 Glenn Morris <rgm@gnu.org>
9915
9916 * calendar/diary-lib.el (diary-list-entries-hook)
9917 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9918 (diary-nongregorian-marking-hook, diary-list-entries)
9919 (diary-include-other-diary-files, diary-mark-entries)
9920 (diary-mark-included-diary-files): Doc fixes.
9921
84f29e6b
JB
99222011-05-09 Juanma Barranquero <lekktu@gmail.com>
9923
9924 * misc.el: Require tabulated-list.el during compilation.
9925
9bedd73a
CY
99262011-05-09 Chong Yidong <cyd@stupidchicken.com>
9927
488086f4
SM
9928 * progmodes/compile.el (compilation-start):
9929 Run compilation-filter-hook for the async case too.
9bedd73a
CY
9930 (compilation-filter-hook): Doc fix.
9931
797c735c
DD
99322011-05-09 Deniz Dogan <deniz@dogan.se>
9933
9934 * wdired.el: Remove outdated installation comment. Fix usage
9935 comment.
9936
5f4b1dfe
JB
99372011-05-09 Juanma Barranquero <lekktu@gmail.com>
9938
9939 * misc.el: Implement new command `list-dynamic-libraries'.
9940 (list-dynamic-libraries--loaded-only-p): New variable.
9941 (list-dynamic-libraries--refresh): New function.
9942 (list-dynamic-libraries): New command.
9943
4c44026c
CY
99442011-05-09 Chong Yidong <cyd@stupidchicken.com>
9945
488086f4
SM
9946 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9947 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
9948 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9949 higher priority to avoid clobbering by gnu.
9950
027f966d
CY
99512011-05-08 Chong Yidong <cyd@stupidchicken.com>
9952
9953 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9954 if the face has existing theme settings (Bug#8454).
9955
085f5d7d
CY
99562011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9957
488086f4
SM
9958 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9959 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 9960
2a86a00c
RS
9961 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9962 special file names `.' and `..' (Bug#8259).
9963
d9c54a06
CY
99642011-05-08 Chong Yidong <cyd@stupidchicken.com>
9965
488086f4
SM
9966 * progmodes/grep.el (grep-mode-font-lock-keywords):
9967 Remove buffer-changing entries.
d9c54a06
CY
9968 (grep-filter): New function.
9969 (grep-mode): Add it to compilation-filter-hook.
9970
9971 * progmodes/compile.el (compilation-filter-hook)
9972 (compilation-filter-start): New defvars.
9973 (compilation-filter): Call compilation-filter-hook prior to
9974 updating the process mark.
9975
c4662635
SM
99762011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9977
9978 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9979
b0512a1d
EZ
99802011-05-07 Eli Zaretskii <eliz@gnu.org>
9981
605c9376
EZ
9982 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9983 mailclient-send-it even if window-system is nil. (Bug#8595)
9984
c4662635
SM
9985 * term/w32console.el (terminal-init-w32console):
9986 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
9987 background-mode. (Bug#8597)
9988
d1dc2cc2
SM
99892011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9990
9991 Make bytecomp.el understand that defmethod defines funs (bug#8631).
9992 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9993 New functions.
9994 (defgeneric, eieio--defmethod): Use them.
9995 (eieio-defgeneric): Remove.
9996 (defmethod): Call defgeneric in a way visible to the byte-compiler.
9997
915d1300
GM
99982011-05-07 Glenn Morris <rgm@gnu.org>
9999
a3961c3e
GM
10000 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10001 Use let rather than let*.
10002 (timeclock-find-discrep): Remove unused local.
10003
314347b9
GM
10004 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10005
915d1300
GM
10006 * calendar/appt.el (appt-time-msg-list): Doc fix.
10007
275b59b0
NF
100082011-05-06 Noah Friedman <friedman@splode.com>
10009
10010 * apropos.el (apropos-print-doc): Only use
10011 emacs-lisp-docstring-fill-column when it is bound to an integer,
10012 per that variable's documentation.
10013
6c19f744
SM
100142011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10015
10016 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 10017 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 10018
60f884b2
GM
100192011-05-06 Glenn Morris <rgm@gnu.org>
10020
5006e634
GM
10021 * calendar/appt.el (appt-message-warning-time): Doc fix.
10022 (appt-warning-time-regexp): New option.
10023 (appt-make-list): Respect appt-message-warning-time.
10024
548d0a63
GM
10025 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10026 New options.
10027 (diary-add-to-list): Strip comments from the displayed string.
10028 (diary-mode): Set comment-start and comment-end.
10029
60f884b2
GM
10030 * vc/diff-mode.el (smerge-refine-subst): Declare.
10031 (diff-refine-hunk): Don't require smerge-mode when compiling.
10032
989681bb
JB
100332011-05-06 Juanma Barranquero <lekktu@gmail.com>
10034
10035 * simple.el (list-processes): Return nil as the docstring says.
10036
a6bc05e1
MA
100372011-05-05 Michael Albinus <michael.albinus@gmx.de>
10038
10039 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10040 to "".
10041 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10042 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10043 determining of binary transfer. (Bug#7383)
10044
23c22e9a
MA
100452011-05-05 Michael Albinus <michael.albinus@gmx.de>
10046
c4662635
SM
10047 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10048 Fix port computation bug. (Bug#8618)
23c22e9a 10049
0bff894f
GM
100502011-05-05 Glenn Morris <rgm@gnu.org>
10051
b8296902
GM
10052 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10053
1f522ce8
GM
10054 * simple.el (shell-dynamic-complete-functions)
10055 (comint-dynamic-complete-functions): Declare.
10056
cf5bee67
GM
10057 * net/network-stream.el (gnutls-negotiate):
10058 * simple.el (tabulated-list-print): Fix declarations.
10059
10060 * progmodes/gud.el (syntax-symbol, syntax-point):
10061 Remove unnecessary and incorrect declarations.
10062
0bff894f
GM
10063 * emacs-lisp/check-declare.el (check-declare-scan):
10064 Handle byte-compile-initial-macro-environment in bytecomp.el
10065
9869b3ae
SM
100662011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10067
10068 Fix earlier half-done eieio-defmethod change (bug#8338).
10069 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10070 Streamline and change calling convention.
10071 (defmethod): Adjust accordingly and simplify.
10072 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10073 new eieio--defmethod.
10074 (slot-boundp): Minor CSE simplification.
10075
9c1d5ac5
MZ
100762011-05-05 Milan Zamazal <pdm@zamazal.org>
10077
10078 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10079 (glasses-make-readable): Use glasses-separate-capital-groups.
10080
455c834e
JB
100812011-05-05 Juanma Barranquero <lekktu@gmail.com>
10082
10083 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10084 (warning-series): Doc fix.
10085 (display-warning): Don't try to create the buffer if we just found it.
10086
9ed7c8cb
CY
100872011-05-04 Chong Yidong <cyd@stupidchicken.com>
10088
10089 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10090 (autoload-find-generated-file): New function.
10091 (generate-file-autoloads): Bind generated-autoload-file to
10092 buffer-file-name.
9869b3ae
SM
10093 (update-file-autoloads, update-directory-autoloads):
10094 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
10095 output file (Bug#7989).
10096 (batch-update-autoloads): Doc fix.
10097
0898ca10
JB
100982011-05-04 Juanma Barranquero <lekktu@gmail.com>
10099
10100 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10101
31dfb76c
GM
101022011-05-04 Glenn Morris <rgm@gnu.org>
10103
f330b642
GM
10104 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10105 function, so it follows changes in calendar-date-style.
10106 (diary-fancy-date-matcher): New function.
10107 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10108 (diary-fancy-font-lock-fontify-region-function):
10109 Use diary-fancy-date-pattern as a function.
10110
31dfb76c
GM
10111 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10112 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10113
48e79d6a
TZ
101142011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10115
10116 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10117 instead of positional arguments. Allow :keylist and :crlfiles
10118 arguments.
10119 (open-gnutls-stream): Call it.
10120
10121 * net/network-stream.el (network-stream-open-starttls): Adjust to
10122 call `gnutls-negotiate' with :process and :hostname arguments.
10123
dd5a5ee0
SM
101242011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10125
ef80fc09
SM
10126 * minibuffer.el (completion--message): New function.
10127 (completion--do-completion, minibuffer-complete)
10128 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10129 (completion--do-completion): Don't ignore completion-auto-help when in
10130 icomplete-mode.
10131
dd5a5ee0
SM
10132 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10133 internal encoding (e.g. tibetan zero is not whitespace).
10134 (global-whitespace-mode): Prefer save-current-buffer.
10135 (whitespace-trailing-regexp): Remove useless save-match-data.
10136 (whitespace-empty-at-bob-regexp): Minor simplification.
10137
b7d22a83
CY
101382011-05-03 Chong Yidong <cyd@stupidchicken.com>
10139
10140 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10141
5192af46
AM
101422011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10143
10144 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 10145 Use `concat' to create string for insertion.
5192af46 10146
5767d190
SM
101472011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10148
10149 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10150 Avoid open-line which runs post-self-insert-hook.
10151 (bibtex-fill-entry): Remove unused `end' var.
10152
bf242939
AM
101532011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10154
5767d190
SM
10155 * textmodes/ispell.el (ispell-add-per-file-word-list):
10156 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 10157
25666126
LL
101582011-05-03 Leo Liu <sdl.web@gmail.com>
10159
10160 * isearch.el (isearch-yank-pop): New command.
5767d190 10161 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
10162 (isearch-forward): Mention it.
10163
52d3c2d0
SM
101642011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10165
1bcace58
SM
10166 * simple.el (minibuffer-complete-shell-command): Remove.
10167 (minibuffer-local-shell-command-map): Use completion-at-point.
10168 (read-shell-command): Setup completion vars here instead.
10169 (read-expression-map): Bind TAB to symbol completion.
10170
52d3c2d0
SM
10171 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10172 error directly rather via storing it into `results'.
10173
35813471
LL
101742011-05-02 Leo Liu <sdl.web@gmail.com>
10175
10176 * vc/diff.el: Fix description.
10177
e793a940
LMI
101782011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10179
10180 * server.el (server-eval-at): New function.
10181
8de66e05
LMI
101822011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10183
10184 * net/network-stream.el (open-network-stream): Take a :nowait
10185 parameter and pass it on to `make-network-process'.
10186 (network-stream-open-plain): Ditto.
10187
dcb79f20
AS
101882011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10189
10190 * faces.el (face-spec-set-match-display): Don't match toolkit
10191 options on terminal frames.
10192
14a7fbd8
SM
101932011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10194
7eabc1be
SM
10195 * progmodes/pascal.el: Use lexical binding.
10196 (pascal-mode-map): Remove author preferences.
10197
14a7fbd8
SM
10198 * pcomplete.el (pcomplete-std-complete): Don't abuse
10199 completion-at-point.
10200
50f84510
JB
102012011-04-28 Juanma Barranquero <lekktu@gmail.com>
10202
6e087a44
JB
10203 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10204 removing code that has been dead since 1991 or so.
10205
50f84510
JB
10206 * startup.el (command-line): When warning about "_emacs", use a
10207 delayed warning to allow the user to filter it out.
10208
0ba690bd
DD
102092011-04-28 Deniz Dogan <deniz@dogan.se>
10210
10211 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10212 user has not joined.
10213
08abfaad
SM
102142011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10215
10216 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10217 aren't any completions at point.
10218
638f053a
JB
102192011-04-28 Juanma Barranquero <lekktu@gmail.com>
10220
10221 * subr.el (display-delayed-warnings): New function.
10222 (delayed-warnings-hook): New variable.
10223
8fff8daa
SM
102242011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10225
08abfaad
SM
10226 * minibuffer.el (completion-at-point, completion-help-at-point):
10227 Don't presume that a given completion-at-point-function will always
10228 use the same calling convention.
10229
8fff8daa
SM
10230 * pcomplete.el (pcomplete-completions-at-point):
10231 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10232 pcomplete-seen is non-nil.
10233 (pcomplete-comint-setup): Also recognize the new comint/shell
10234 completion functions.
10235 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10236 pcomplete-seen is non-nil.
10237
841a1577 102382011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 10239
841a1577 10240 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 10241 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 10242 the first character in the entry. This allows for code to add its
211ec907
UJ
10243 own uid to the entry.
10244 (icalendar--convert-float-to-ical): Add export of
10245 `diary-float'-entries save for those with the optional DAY
10246 argument.
10247
2a782793
DC
102482011-04-27 Daniel Colascione <dan.colascione@gmail.com>
10249
10250 * subr.el (shell-quote-argument): Use alternate escaping strategy
10251 when we spot a variable reference in a string.
10252
0438ce91
DC
102532011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10254
10255 * cus-start.el (all): Define customization for debug-on-event.
10256
841a1577 102572011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
10258
10259 * subr.el (shell-quote-argument): Escape correctly under Windows.
10260
d090ed6c
SM
102612011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10262
10263 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10264
bfd31217
MA
102652011-04-25 Michael Albinus <michael.albinus@gmx.de>
10266
d090ed6c
SM
10267 * net/tramp.el (tramp-process-actions): Add POS argument.
10268 Delete region between POS and (pos).
bfd31217 10269
d090ed6c
SM
10270 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10271 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
10272 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10273
10274 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10275 position in `tramp-process-actions' call.
10276
10277 * net/trampver.el: Update release number.
10278
e92f3bd3
SM
102792011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10280
850256b5
SM
10281 * custom.el (defcustom): Obey lexical-binding.
10282
e92f3bd3
SM
10283 Fix octave-inf completion problems reported by Alexander Klimov.
10284 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10285 Inherit from octave-mode-syntax-table.
10286 (inferior-octave-mode): Set info-lookup-mode.
10287 (inferior-octave-completion-at-point): New function.
10288 (inferior-octave-complete): Use it and completion-in-region.
10289 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10290 comint-filename-completion.
10291 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10292 symbol elements which shouldn't be word elements.
10293 (octave-font-lock-keywords, octave-beginning-of-defun)
10294 (octave-function-header-regexp): Adjust regexps accordingly.
10295 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10296
cd22b309
JB
102972011-04-25 Juanma Barranquero <lekktu@gmail.com>
10298
10299 * net/gnutls.el (gnutls-errorp): Declare before first use.
10300
8b492194
TZ
103012011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10302
10303 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10304 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 10305 default trustfile exists before going to use it. Add missing
5a5fa834 10306 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
10307 Reported by Claudio Bley <claudio.bley@gmail.com>.
10308 (open-gnutls-stream): Add usage example.
10309
10310 * net/network-stream.el (network-stream-open-starttls): Give host
10311 parameter to `gnutls-negotiate'.
10312 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 10313 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 10314
841a1577 103152011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 10316
cd22b309
JB
10317 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10318 Use correct match group (bug#8438).
05842630 10319
3ba7869c
CY
103202011-04-24 Chong Yidong <cyd@stupidchicken.com>
10321
512e3ae1
CY
10322 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10323 (package-menu--generate): New arg specifying packages to show.
10324 (package-menu-refresh, package-menu-execute, list-packages):
10325 Callers changed.
10326 (package-show-package-list): New function, replacing deleted
10327 package--list-packages (renamed because it is non-internal).
10328
10329 * finder.el (finder-list-matches): Use package-show-package-list
10330 instead of deleted package--list-packages.
10331
e92f3bd3
SM
10332 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10333 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
10334 (vc-annotate-mode-map): Bind it to RET.
10335
7031be6d
UR
103362011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10337
10338 * progmodes/etags.el (next-file): Don't use set-buffer to change
10339 buffers (Bug#8478).
10340
4ef177aa
CY
103412011-04-24 Chong Yidong <cyd@stupidchicken.com>
10342
c8d173eb
CY
10343 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10344
4ef177aa
CY
10345 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10346 (apropos-accumulator): Doc fix.
10347 (apropos-function, apropos-macro, apropos-command)
10348 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10349 (apropos-plist): Add face property.
10350 (apropos-symbols-internal): Fix indentation.
10351 (apropos-print): Simplify help, and recognize apropos-multi-type.
10352 (apropos-print-doc): Use button-type-get to extract the button's
10353 face property. Fill docstring (Bug#8352).
10354
4ffd0d6b 103552011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
10356
10357 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10358
c6c32125 10359 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 10360 (mpuz-mode-map): Use mapc.
c6c32125
JB
10361 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10362 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10363 Fix typos in docstrings.
10364
58d468b4
JB
10365 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10366 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10367
6470c3c6
JB
10368 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10369
4ffd0d6b 103702011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
10371
10372 * minibuffer.el (completion--do-completion): Avoid the "Next char
10373 not unique" prompt if icomplete-mode is enabled (Bug#5849).
10374
3ad8bad0
CY
10375 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10376 mouse-2 into unread-command-events, it is interpreted correctly.
10377
71d73c9c 10378 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 10379 (image-toggle-display): Doc fix.
71d73c9c 10380
841a1577 103812011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 10382
4ffd0d6b
GM
10383 * textmodes/page.el (what-page): Use line-number-at-pos to
10384 calculate line number (Bug#6825).
6e1dbaa9 10385
c2fb1b60
JB
103862011-04-22 Juanma Barranquero <lekktu@gmail.com>
10387
10388 * eshell/esh-mode.el (find-tag-interactive): Declare function.
10389 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10390 Pass argument NO-DEFAULT to `find-tag-interactive'.
10391
e02f48d7
JB
103922011-04-22 Juanma Barranquero <lekktu@gmail.com>
10393
10394 Lexical-binding cleanup.
10395
10396 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10397 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10398 * progmodes/ada-prj.el (ada-prj-initialize-values)
10399 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10400 (ada-prj-show-value):
10401 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10402 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10403 (antlr-invalidate-context-cache, antlr-options-menu-filter)
10404 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10405 * progmodes/bug-reference.el (bug-reference-push-button):
10406 * progmodes/fortran.el (fortran-line-length):
10407 * progmodes/glasses.el (glasses-change):
10408 * progmodes/octave-mod.el (octave-fill-paragraph):
10409 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10410 (python-pdbtrack-grub-for-buffer, python-sentinel):
10411 * progmodes/sql.el (sql-save-connection):
10412 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10413 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10414 Mark unused parameters.
10415
10416 * progmodes/compile.el (compilation--flush-directory-cache)
10417 (compilation--flush-parse, compile-internal): Mark unused parameters.
10418 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10419 (compilation-next-error-function): Remove unused variable `timestamp'.
10420
10421 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10422 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10423
10424 * progmodes/dcl-mode.el (dcl-end-of-command):
10425 Remove unused variable `start'.
10426 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10427 (dcl-option-value-basic, dcl-option-value-offset)
10428 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10429 Mark unused parameters.
10430 (dcl-save-local-variable): Remove unused variable `val'.
10431 (mode): Declare.
10432
10433 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10434 Mark unused parameters.
10435 (delphi-ignore-changes): Move before first use.
10436 (delphi-charset-token-at): Remove unused variable `start'.
10437 (delphi-else-start): Remove unused variable `if-count'.
10438 (delphi-comment-block-start, delphi-comment-block-end):
10439 Remove unused variable `kind'.
10440 (delphi-indent-line): Remove unused variable `new-point'.
10441
10442 * progmodes/ebrowse.el (ebrowse-files-list)
10443 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10444 Mark unused parameters. Don't quote `lambda'.
10445 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10446 Don't quote `lambda'.
10447 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10448 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10449 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10450 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10451 Use `ignore-errors'.
10452 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10453 (ebrowse-view/find-file-and-search-pattern)
10454 (ebrowse-view/find-member-declaration/definition):
10455 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10456 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10457 Rename parameter PREFIX-ARG to PREFIX.
10458 (ebrowse-tags-read-name): Remove unused variables `start' and
10459 `member-info'.
10460 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10461 to `tags-file'.
10462
10463 * progmodes/etags.el (local-find-tag-hook): Declare.
10464 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10465 Mark unused parameters.
10466
10467 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10468 (executable-interpret): Mark unused parameter.
10469
10470 * progmodes/flymake.el (flymake-process-sentinel)
10471 (flymake-after-change-function)
10472 (flymake-create-temp-with-folder-structure)
10473 (flymake-get-include-dirs-dot): Mark unused parameters.
10474 (flymake-safe-delete-directory): Remove unused variable `err'.
10475
10476 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10477 (speedbar-timer-fn, speedbar-line-text)
10478 (speedbar-change-expand-button-char, speedbar-delete-subblock)
10479 (speedbar-center-buffer-smartly): Declare functions.
10480 (gdb-find-watch-expression): Remove unused variable `array'.
10481 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10482 (gdb-starting): Mark unused parameters.
10483 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10484 (gdb-table-string): Remove unused variable `res'.
10485 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10486 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10487 (gdb-display-buffer): Remove unused variable `cur-size'.
10488
10489 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10490 allow lexical-binding compilation.
10491 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10492 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10493 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10494 Mark unused parameters.
10495 (gud-gdb-marker-filter): Remove unused variable `match'.
10496 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10497 lambda expressions and funcall them, instead of using `fset'.
10498
10499 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10500 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10501
10502 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10503 variable `header-beg'; use `let'.
10504
10505 * progmodes/icon.el (indent-icon-exp): Remove unused variables
10506 `restart', `last-sexp' and `at-do'.
10507
10508 * progmodes/js.el (js--debug): Mark unused parameter.
10509 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10510 (js--splice-into-items): Remove unused variable `item'.
10511 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10512
10513 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10514 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10515 (makefile-complete): Remove unused variable `try'.
10516 (makefile-fill-paragraph, makefile-match-function-end):
10517 Mark unused parameters.
10518
10519 * progmodes/octave-inf.el (inferior-octave-complete):
10520 Remove unused variable `proc'.
10521 (inferior-octave-output-digest): Mark unused parameter.
10522
10523 * progmodes/perl-mode.el (perl-calculate-indent):
10524 Remove unused variable `err'.
10525
10526 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10527 (prolog-indent-line): Mark unused parameters.
10528 (prolog-indent-line): Remove unused variable `beg'.
10529
10530 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10531 (reporter-dont-compact-list): Declare.
10532
10533 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10534 Remove unused variable `char'.
10535 (sh-debug): Mark unused parameter.
10536 (sh-get-indent-info): Remove unused variable `start'.
10537 (sh-calculate-indent): Remove unused variable `var'.
10538
10539 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10540 (simula-electric-keyword): Remove unused variable `null'.
10541 (simula-search-backward, simula-search-forward): Remove unused
10542 variables `begin' and `end'.
10543
10544 * progmodes/vera-mode.el (vera-guess-basic-syntax):
10545 Remove unused variable `pos'.
10546 (vera-electric-tab, vera-comment-uncomment-region):
10547 Mark unused parameters.
10548 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10549
7ede3b65
CY
105502011-04-22 Chong Yidong <cyd@stupidchicken.com>
10551
10552 * emacs-lisp/package.el (package--builtins, package-alist)
10553 (package-load-descriptor, package-built-in-p, package-activate)
10554 (define-package, package-installed-p)
10555 (package-compute-transaction, package-buffer-info)
10556 (package--push): Doc fix. Distinguish more clearly between
10557 version strings and version lists.
10558
121656e9
JB
105592011-04-21 Juanma Barranquero <lekktu@gmail.com>
10560
10561 Lexical-binding cleanup.
10562
10563 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10564 (5x5-make-mutate-best):
10565 * play/fortune.el (fortune-in-buffer):
10566 * play/gomoku.el (gomoku-init-display):
10567 * play/solitaire.el (solitaire, solitaire-do-check):
10568 * play/tetris.el (tetris-default-update-speed-function):
10569 Mark unused parameters.
10570
10571 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10572 (bubbles--shift): Remove unused variable `char-org'.
10573 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
10574 (bubbles--show-images): Remove unused variable `char'.
10575
10576 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10577 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10578 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10579 (decipher-analyze-buffer): Use ?\s.
10580 (decipher-make-checkpoint): Remove unused variable `mapping'.
10581
10582 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10583
10584 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10585 Remove unused variable `result'; use `let'.
10586
10587 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10588 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10589 (gametree-children-shown-p, gametree-compute-reduced-score):
10590 Use `ignore-errors'.
10591
10592 * play/handwrite.el (ps-lpr-switches): Declare.
10593 (handwrite): Remove unused variables `pmin' and `lastp'.
10594
10595 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10596
10597 * play/landmark.el (landmark-init-display)
10598 (landmark-update-naught-weights): Mark unused parameters.
10599 (landmark-y): Remove unused variable `noise'. Simplify.
10600 (landmark-human-plays): Remove unused variable `score'.
10601
10602 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10603 (mpuz-try-proposal): Remove unused variable `game'.
10604
10605 * play/zone.el (life-patterns): Declare.
10606
80f499c7
JB
106072011-04-20 Juanma Barranquero <lekktu@gmail.com>
10608
10609 * vc/vc.el (ediff-vc-internal): Declare function.
10610
024ff170
SM
106112011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10612
c0a193ea
SM
10613 * shell.el: Use lexical-binding and std completion UI.
10614 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10615 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10616 comint-preoutput-filter-functions rather than on
10617 comint-output-filter-functions.
10618 (shell-command-completion, shell--command-completion-data)
10619 (shell-filename-completion, shell-environment-variable-completion)
10620 (shell-c-a-p-replace-by-expanded-directory): New functions.
10621 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10622 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10623 (shell-dynamic-complete-environment-variable): Use them.
10624 (shell-dynamic-complete-as-environment-variable)
10625 (shell-dynamic-complete-as-command): Remove.
10626 (shell-match-partial-variable): Match past point.
10627 * comint.el: Clean up use of completion-at-point-functions.
10628 (comint-completion-at-point): New function.
10629 (comint-mode): Use it completion-at-point-functions.
10630 (comint-dynamic-complete): Make it obsolete.
10631 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10632 (comint-c-a-p-replace-by-expanded-history): New function.
10633 (comint-dynamic-complete-functions)
10634 (comint-replace-by-expanded-history): Use it.
10635 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10636 termination strings. Try harder to avoid second try-completion.
10637 (completion-in-region-mode-map): Disable bindings that don't work yet.
10638
2dbaa080
SM
10639 * comint.el: Use lexical-binding. Require CL.
10640 (comint-dynamic-complete-functions): Use comint-filename-completion.
10641 (comint-completion-addsuffix): Tweak custom type.
10642 (comint-filename-completion, comint--common-suffix)
10643 (comint--common-quoted-suffix, comint--table-subvert)
10644 (comint--complete-file-name-data): New functions.
10645 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10646 (comint-dynamic-list-filename-completions): Use them.
10647 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 10648
2dbaa080
SM
10649 * minibuffer.el (completion-in-region-mode):
10650 Keep completion-in-region-mode--predicate global.
10651 (completion-in-region--postch):
10652 Assume completion-in-region-mode--predicate is not null.
10653
c79a6f38
SM
10654 * progmodes/flymake.el (flymake-start-syntax-check-process):
10655 Obey `dir'. Simplify.
10656
024ff170
SM
10657 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10658 we're in VC after all.
10659
1c6c854e
CS
106602011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10661
10662 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 10663 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
10664 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10665
bed7f140
SM
106662011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10667
332e62ab
SM
10668 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10669 add sanity check.
10670
bed7f140
SM
10671 * obsolete/erc-hecomplete.el: Make obsolete.
10672 * obsolete/: Standardize obsolescence info in the header.
10673
f195c582
GM
106742011-04-20 Glenn Morris <rgm@gnu.org>
10675
10676 * calendar/solar.el (solar-horizontal-coordinates):
10677 Use the longitude argument rather than `calendar-longitude'.
10678 (solar-date-next-longitude): Remove unused locals.
10679
cb79b8c0
VJL
106802011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10681
10682 * whitespace.el: New version 13.2.1.
10683
106842011-04-20 felix <EmacsWiki> (tiny change)
10685
d8e4b68b 10686 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
10687 switching between major modes on a file.
10688
602ea69d
SM
106892011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10690
10691 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10692 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10693 multi-line comments as well.
10694
06b60517
JB
106952011-04-19 Juanma Barranquero <lekktu@gmail.com>
10696
10697 Lexical-binding cleanup.
10698
10699 * arc-mode.el (archive-mode-revert):
10700 * cmuscheme.el (scheme-interactively-start-process):
10701 * custom.el (custom-initialize-delay):
10702 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10703 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10704 * emacs-lock.el (emacs-lock-clear-sentinel):
10705 * ezimage.el (defezimage):
10706 * follow.el (follow-avoid-tail-recenter):
10707 * fringe.el (set-fringe-mode-1):
10708 * generic-x.el (bat-generic-mode-compile):
10709 * help-mode.el (help-info-variable, help-do-xref)
10710 (help-mode-revert-buffer):
10711 * help.el (view-emacs-todo):
10712 * iswitchb.el (iswitchb-completion-help):
10713 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10714 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10715 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10716 * locate.el (locate-update):
10717 * longlines.el (longlines-encode-region)
10718 (longlines-after-change-function):
10719 * outline.el (outline-isearch-open-invisible):
10720 * ps-def.el (declare-function, charset-dimension, char-width)
10721 (encode-char):
10722 * ps-mule.el (ps-mule-plot-string):
10723 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10724 (recentf-edit-list-select, recentf-edit-list-validate)
10725 (recentf-open-files-action):
10726 * rect.el (delete-whitespace-rectangle-line)
10727 (rectangle-number-line-callback):
10728 * register.el (window-configuration-to-register)
10729 (frame-configuration-to-register):
10730 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10731 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10732 (xselect-convert-to-targets, xselect-convert-to-delete)
10733 (xselect-convert-to-filename, xselect-convert-to-charpos)
10734 (xselect-convert-to-lineno, xselect-convert-to-colno)
10735 (xselect-convert-to-os, xselect-convert-to-host)
10736 (xselect-convert-to-user, xselect-convert-to-class)
10737 (xselect-convert-to-name, xselect-convert-to-integer)
10738 (xselect-convert-to-atom, xselect-convert-to-identity):
10739 * subr.el (declare, ignore, process-kill-without-query)
10740 (text-clone-maintain):
10741 * terminal.el (te-get-char, te-tic-sentinel):
10742 * tool-bar.el (tool-bar-make-keymap):
10743 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10744 * type-break.el (type-break-mode, type-break-noninteractive-query):
10745 * view.el (View-back-to-mark):
10746 * wid-browse.el (widget-browse-action, widget-browse-widget)
10747 (widget-browse-widgets, widget-browse-sexp):
10748 * widget.el (define-widget-keywords):
10749 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10750 Mark unused parameters.
10751
10752 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10753 (align-areas): Remove unused variable `look'.
10754 (align-region): Remove unused variables `real-end' and `pos-list'.
10755
10756 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10757
10758 * bindings.el (mode-line-modified, mode-line-remote):
10759 Mark unused parameters.
10760 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10761
10762 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10763 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10764
10765 * comint.el (comint-history-isearch-pop-state)
10766 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10767 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10768 (comint-substitute-in-file-name): Doc fix.
10769
10770 * completion.el (cmpl-statistics-block): Mark unused parameter.
10771 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10772 (save-completions-to-file, load-completions-from-file):
10773 Remove unused local variable `e'.
10774
10775 * composite.el (compose-chars): Remove unused variable `len'.
10776 (lgstring-insert-glyph): Remove unused variable `g'.
10777 (compose-glyph-string): Remove unused variables `ascent',
10778 `descent', `lbearing' and `rbearing'.
10779 (compose-glyph-string-relative): Remove unused variables
10780 `lbearing', `rbearing' and `wadjust'.
10781 (compose-gstring-for-graphic): Remove unused variables `header',
10782 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10783 (compose-gstring-for-terminal): Remove unused variables `header'
10784 and `nchars'. Use `let', not `let*'.
10785
10786 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10787 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10788 (Custom-buffer-done, custom-buffer-create-internal)
10789 (custom-browse-visibility-action, custom-browse-group-tag-action)
10790 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10791 (widget-magic-mouse-down-action, custom-toggle-parent)
10792 (custom-add-parent-links, custom-toggle-hide-variable)
10793 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10794 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10795 (custom-face-menu-create, custom-variable-menu-create, get)
10796 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10797 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10798 (customize-apropos): Remove unused variable `tests'.
10799 (custom-group-value-create): Remove unused variable `hidden-p'.
10800 (sort-fold-case): Declare.
10801
10802 * cus-theme.el (custom-reset-standard-faces-list)
10803 (custom-reset-standard-variables-list): Declare.
10804 (customize-create-theme, custom-theme-revert, custom-theme-write)
10805 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10806 Mark unused parameters.
10807
10808 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10809
10810 * delim-col.el (delimit-columns-max): Move defvar before first use.
10811
10812 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 10813 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
10814
10815 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10816 (auto-insert): Declare.
10817 (desktop-restore-file-buffer): Rename desktop-* parameters;
10818 mark unused ones.
10819 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10820 (desktop-buffer): Rename desktop-* parameters.
10821
10822 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10823 (dframe-reposition-frame-xemacs, dframe-help-echo)
10824 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10825 Mark unused parameters.
10826
10827 * dired-aux.el (backup-extract-version-start, overwrite-query)
10828 (overwrite-backup-query, rename-regexp-query)
10829 (rename-non-directory-query): Declare.
10830 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10831 (dired-add-entry): Remove unused variable `orig-file-name'.
10832 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10833 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10834 `dired-copy-preserve-time' directly.
10835 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10836 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10837
10838 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10839 (dired-virtual-revert, dired-make-relative-symlink):
10840 Mark unused parameters.
10841 (manual-program): Declare.
10842 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10843 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10844 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10845
10846 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10847
10848 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10849
10850 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10851 Declare.
10852
10853 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10854
10855 * electric.el (Electric-command-loop): Rename parameter
10856 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10857
10858 * expand.el (expand-in-literal): Remove unused variable `here'.
10859
10860 * facemenu.el (facemenu-add-new-color):
10861 Remove unused variable `docstring'.
10862
10863 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10864 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10865 (face-attr-construct): Mark unused parameter. Doc fix.
10866 (read-color): Remove unused variable `hex-string'.
10867
10868 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10869 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10870 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10871 (display-buffer-other-frame): Remove unused variable `old-window'.
10872 (kill-buffer-hook): Declare.
10873 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10874 Mark unused parameters.
10875 (after-find-file): Pass 1 to `auto-save-mode', not t.
10876
10877 * files-x.el (auto-insert): Declare.
10878 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10879
10880 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 10881 variable `buf'. Mark unused parameter.
06b60517
JB
10882 (find-lisp-insert-directory): Mark unused parameter.
10883
10884 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10885 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10886 (format-common-tail): Remove, unused.
10887 (format-deannotate-region): Remove unused variable `loc'.
10888 (format-annotate-region): Remove unused variable `p'.
10889 (format-annotate-single-property-change): Remove unused variables
10890 `default' and `tail'.
10891
10892 * forms.el (read-file-filter): Declare.
10893 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10894
10895 * frame.el (frame-creation-function-alist): Mark unused parameter.
10896 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10897
10898 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10899 Remove unused parameters.
10900 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10901 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10902
10903 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10904 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10905 (hfy-prepare-tag-map): Mark unused parameters.
10906 (htmlfontify-buffer): Use `called-interactively-p'.
10907
10908 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10909 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10910 (ibuffer-do-occur): Mark unused parameters.
10911 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10912 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10913
10914 * ibuffer.el: Don't quote `lambda'.
10915 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10916 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10917 Mark unused parameters.
10918
10919 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10920 (ido-completing-read): Mark unused parameters.
10921 (ido-copy-current-word): Mark unused parameters;
10922 remove unused variable `name'.
10923 (ido-sort-merged-list): Remove unused parameter `dirs'.
10924
10925 * ielm.el (ielm-input-sender): Mark unused parameter.
10926 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10927 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10928 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10929 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10930 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10931
10932 * image-dired.el (image-dired-display-thumbs): Remove unused
10933 variables `curr-file' and `count'.
10934 (image-dired-remove-tag): Remove unused variable `start'.
10935 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10936 variable `curr-file'
10937 (image-dired-rotate-original): Remove unused variable `temp-file'.
10938 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10939 Remove unused variable `file'.
10940 (image-dired-gallery-generate): Remove unused variable `curr'.
10941 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10942
10943 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10944
10945 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10946
10947 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10948
10949 * isearch.el (minibuffer-history-symbol): Declare.
10950 (isearch-edit-string): Remove unused variable `err'.
10951 (isearch-message-prefix, isearch-message-suffix):
10952 Mark unused parameters.
10953
10954 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10955
10956 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10957
10958 * makesum.el (double-column): Remove unused variable `cnt'.
10959
10960 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10961 (ido-ignore-item-temp-list): Declare.
10962
10963 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10964 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10965 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10966 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10967 `mouse-col-delta'.
10968
10969 * mouse-sel.el (mouse-extend-internal):
10970 Remove unused variable `orig-window-frame'.
10971
10972 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10973 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10974 Move declarations before first use.
10975 (pcomplete-opt): Mark unused parameters; doc fix.
10976
10977 * proced.el (proced-revert): Mark unused parameter.
10978 (proced-send-signal): Remove unused variable `err'.
10979
10980 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10981 Rename parameter PREFIX-ARG to ARG.
10982 (ps-basic-plot-string, ps-basic-plot-whitespace):
10983 Mark unused parameters.
10984
10985 * replace.el (replace-count): Define.
10986 (occur-revert-function): Mark unused parameters.
10987 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10988 (isearch-case-fold-search, isearch-string): Declare.
10989 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10990 bind `case-fold-search'. Remove unused variables `beg' and `end',
10991 and simplify.
10992 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10993 COUNT and bind `replace-count'.
10994 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10995 to COUNT.
10996
10997 * savehist.el (print-readably, print-string-length): Declare.
10998
10999 * shadowfile.el (shadow-expand-cluster-in-file-name):
11000 Remove unused variable `cluster'.
11001 (shadow-copy-file): Remove unused variable `i'.
11002 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11003 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11004 (shadow-define-literal-group, shadow-define-regexp-group)
11005 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11006
11007 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11008 (shell): Use `called-interactively-p'.
11009 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11010
11011 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11012 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11013 (delete-backward-char): Remove unused variable `ocol'.
11014 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11015 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11016 (event-apply-hyper-modifier, event-apply-shift-modifier)
11017 (event-apply-control-modifier, event-apply-meta-modifier):
11018 Mark unused parameters.
11019 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11020 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11021
11022 * speedbar.el (speedbar-ignored-directory-expressions)
11023 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11024 (speedbar-find-file, speedbar-dir-follow)
11025 (speedbar-directory-buttons-follow, speedbar-tag-find)
11026 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11027 (speedbar-buffers-line-directory, speedbar-buffer-click):
11028 Mark unused parameters.
11029 (speedbar-tag-file): Remove unused variable `mode'.
11030 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11031
11032 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11033
11034 * talk.el (talk): Remove unused variable `display'.
11035
11036 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11037 (tar-write-region-annotate): Mark unused parameter.
11038
11039 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11040 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11041 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11042 warning by another.
11043
11044 * time-stamp.el (time-stamp-string-preprocess):
11045 Remove unused variable `require-padding'.
11046
11047 * tree-widget.el (widget-glyph-enable): Declare.
11048 (tree-widget-action): Mark unused parameter.
11049
11050 * w32-fns.el (x-get-selection): Mark unused parameter.
11051 (autoload-make-program, generated-autoload-file): Declare.
11052
11053 * wdired.el (wdired-revert): Mark unused parameters.
11054 (wdired-xcase-word): Remove unused variable `err'.
11055
11056 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11057 (whitespace-help-scroll): Remove unused variable `data-help'.
11058
11059 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11060 (widget-image-insert, widget-after-change, default)
11061 (widget-default-format-handler, widget-default-notify)
11062 (widget-default-prompt-value, widget-info-link-action)
11063 (widget-url-link-action, widget-function-link-action)
11064 (widget-variable-link-action, widget-file-link-action)
11065 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11066 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11067 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11068 (widget-insert-button-action, widget-delete-button-action, visibility)
11069 (widget-documentation-link-action, widget-documentation-string-action)
11070 (widget-const-prompt-value, widget-regexp-match, symbol)
11071 (widget-coding-system-prompt-value)
11072 (widget-key-sequence-value-to-external, sexp)
11073 (widget-sexp-value-to-internal, character, vector, cons)
11074 (widget-choice-prompt-value, widget-boolean-prompt-value)
11075 (widget-color--choose-action): Mark unused parameters.
11076 (widget-item-match-inline, widget-choice-match-inline)
11077 (widget-checklist-match, widget-checklist-match-inline)
11078 (widget-group-match): Rename parameter VALUES to VALS.
11079 (widget-field-value-set): Remove unused variable `size'.
11080 (widget-color-action): Remove unused variables `value' and `start'.
11081
11082 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 11083 variable `dir'. Doc fix.
06b60517
JB
11084 (windmove-find-other-window): Don't pass it.
11085
11086 * window.el (count-windows): Mark unused parameter.
11087 (bw-adjust-window): Remove unused variable `err'.
11088
11089 * woman.el (woman-file-name): Remove unused variable `default'.
11090 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11091 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11092 (global-font-lock-mode): Declare.
11093 (woman-decode-region): Mark unused parameter.
11094 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11095
11096 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11097 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11098 (x-dnd-handle-moz-url): Remove unused variable `title'.
11099 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11100
11101 * xml.el (xml-parse-tag, xml-parse-attlist):
11102 Remove unused variable `pos'.
11103
bc4f7f3d
GM
111042011-04-19 Glenn Morris <rgm@gnu.org>
11105
11106 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11107 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11108 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11109 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11110 * calendar/cal-html.el (cal-html-insert-minical):
11111 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11112 (calendar-mark-date-pattern):
11113 Prefix "unused" locals.
11114
11115 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11116 optional argument `style'.
11117
11118 * calendar/appt.el (appt-make-list):
11119 * calendar/cal-china.el (calendar-chinese-date-string):
11120 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11121 (diary-hebrew-yahrzeit):
11122 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11123 * calendar/calendar.el (calendar-generate-window):
11124 * calendar/time-date.el (time-to-days):
11125 Remove unused local variables.
11126
16a43933
CY
111272011-04-18 Chong Yidong <cyd@stupidchicken.com>
11128
11129 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11130 glyphless-char-display table.
11131 (tabulated-list-glyphless-char-display): New var.
11132
7eed1860
SS
111332011-04-18 Sam Steingold <sds@gnu.org>
11134
11135 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11136 to acknowledgments.
11137
4d2d1ccd
GM
111382011-04-17 Glenn Morris <rgm@gnu.org>
11139
11140 * calendar/diary-lib.el (diary-sexp-entry):
11141 * calendar/holidays.el (holiday-sexp):
11142 Set debug-on-error rather than the removed stack-trace-on-error.
11143
239da61d
GM
111442011-04-16 Glenn Morris <rgm@gnu.org>
11145
11146 * progmodes/f90.el: Use lexical-binding.
11147 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11148
8b05752a
SM
111492011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11150
daca8ba5
SM
11151 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11152 (mail-mode): Setup mailalias completion here instead.
11153 * mail/mailalias.el: Use lexical-binding.
11154 (pattern, mailalias-done): Declare dynamic.
11155 (mail-completion-at-point-function): New function, from mail-complete.
11156 (mail-complete): Use it.
11157 (mail-completion-expand): New function.
11158 (mail-get-names): Use it.
11159 (mail-directory, mail-directory-process, mail-directory-stream):
11160 Don't use `pattern' for lexically bound arg.
11161
6f542485
SM
11162 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11163
037e7c3f
SM
11164 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11165 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11166 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11167
8b05752a
SM
11168 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11169 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11170 (byte-interactive-p): Define them again, for use when inlining
11171 old code.
11172
49093f60
JB
111732011-04-15 Juanma Barranquero <lekktu@gmail.com>
11174
11175 * loadup.el: Use `string-to-number', not `string-to-int'.
11176
b5b8e7de
SM
111772011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11178
11179 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11180 gud-gdb-complete-command.
11181 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11182 (gud-gdb-completion-at-point): New function.
11183 (gud-gdb-completions): Remove.
11184
f42efeb5
MA
111852011-04-14 Michael Albinus <michael.albinus@gmx.de>
11186
49093f60
JB
11187 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11188 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11189 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11190 whether `executable-find' is bound.
f42efeb5
MA
11191
11192 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11193
e240cc21
SM
111942011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11195
11196 * minibuffer.el (completion-in-region-mode-predicate)
11197 (completion-in-region-mode--predicate): New vars.
11198 (completion-in-region, completion-in-region--postch)
11199 (completion-in-region-mode): Use them.
11200 (completion--capf-wrapper): Also return the hook function.
11201 (completion-at-point, completion-help-at-point):
11202 Adjust and provide a predicate.
c2bd2ab0
SM
11203
11204 Preserve arg names for advice of subr and lexical functions (bug#8457).
11205 * help-fns.el (help-function-arglist): Consolidate the subr and
11206 new-byte-code cases. Add argument `preserve-names' to extract names
11207 from the docstring when needed.
11208 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11209 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11210 (ad-arglist): Use help-function-arglist's new arg.
11211 (ad-definition-type): Use cond.
11212
c183f693
JB
112132011-04-13 Juanma Barranquero <lekktu@gmail.com>
11214
06641a47
JB
11215 * autorevert.el (auto-revert-handler):
11216 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11217 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11218 Don't quote lambda.
11219
c183f693
JB
11220 * image-mode.el (image-transform-set-scale):
11221 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11222
1e3b6001
G
112232011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11224
11225 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 11226 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
11227 Upgrades via gnutls-cli are too slow to be done opportunistically.
11228
2d6af8dd
JB
112292011-04-12 Juanma Barranquero <lekktu@gmail.com>
11230
11231 * dframe.el (dframe-current-frame): Remove spurious quote.
11232
c0749a51
GM
112332011-04-12 Glenn Morris <rgm@gnu.org>
11234
088d0d61
GM
11235 * calendar/cal-tex.el (cal-tex-end-document):
11236 Try to automatically use latin1 input if needed.
11237
c0749a51
GM
11238 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11239 Don't try to cons a mark onto an empty element.
11240
5c90fde0
LL
112412011-04-11 Leo Liu <sdl.web@gmail.com>
11242
11243 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11244 buffers.
11245 (ido-kill-buffer-at-head): Support killing virtual buffers.
11246
369e974d
CY
112472011-04-10 Chong Yidong <cyd@stupidchicken.com>
11248
11249 * minibuffer.el (completion-show-inline-help): New var.
11250 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
11251 (minibuffer-force-complete, minibuffer-complete-word):
11252 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
11253
11254 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11255 to avoid interference from inline help (Bug#5849).
11256
37f1c930
LL
112572011-04-10 Leo Liu <sdl.web@gmail.com>
11258
099c39a4
JB
11259 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11260 Fix typo.
37f1c930 11261
a32d4040
CY
112622011-04-09 Chong Yidong <cyd@stupidchicken.com>
11263
11264 * image-mode.el (image-toggle-display-image): Signal an error if
11265 not in Image mode.
11266 (image-transform-mode, image-transform-resize)
11267 (image-transform-set-rotation): Doc fix.
daca8ba5 11268 (image-transform-set-resize): Delete.
a32d4040
CY
11269 (image-transform-set-scale, image-transform-fit-to-height)
11270 (image-transform-fit-to-width): Handle image-toggle-display-image
11271 and image-transform-resize directly.
11272
099c39a4 112732011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
11274
11275 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
11276 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11277 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
11278 (doc-view-mode-map): Add bindings for the new functions.
11279
099c39a4 112802011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 11281
4d61f28d 11282 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
11283 Fix typo in docstring.
11284
3726838a
EZ
112852011-04-08 Eli Zaretskii <eliz@gnu.org>
11286
04f33f1e
EZ
11287 * files.el (file-size-human-readable): Produce one digit after
11288 decimal, like "ls -lh" does.
11289
11290 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11291 the file size representation.
11292
3726838a
EZ
11293 * simple.el (list-processes): If async subprocesses are not
11294 available, error out with a clear error message.
11295
cbb59342
CY
112962011-04-08 Chong Yidong <cyd@stupidchicken.com>
11297
11298 * help.el (help-form-show): New function, to be called from C.
11299 Put help-form output in a buffer named differently than *Help*.
11300
e3971c44
EZ
113012011-04-08 Eli Zaretskii <eliz@gnu.org>
11302
11303 * files.el (file-size-human-readable): New function.
11304
11305 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11306 computing the representation inline. Don't require `cl'.
11307
12544bbe
GM
113082011-04-08 Glenn Morris <rgm@gnu.org>
11309
a1de6c6a
GM
11310 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11311
3c4671f4
GM
11312 * net/browse-url.el (browse-url-firefox):
11313 Test system-type, not system-configuration.
11314
b605679c
GM
11315 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11316 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11317 Use log-edit-empty-buffer-p. (Bug#7598)
11318
56442f0c
GM
11319 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11320 (rlogin-mode-map): Initialize in the defvar.
11321 (rlogin): Use ignore-errors.
11322
12544bbe
GM
11323 * replace.el (occur-mode-map): Some fixes for menu items.
11324
eb237b0f
AH
113252011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11326
11327 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
11328
7d668f2c
CY
113292011-04-06 Chong Yidong <cyd@stupidchicken.com>
11330
e67a13ab
CY
11331 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11332 issuing unused warnings.
11333
11334 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11335 macro directly.
11336
7d668f2c
CY
11337 * simple.el: Lisp reimplement of list-processes. Based on an
11338 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11339 (process-menu-mode): New major mode.
11340 (list-processes--refresh, list-processes):
11341 (process-menu-visit-buffer): New functions.
11342
11343 * files.el (save-buffers-kill-emacs): Don't assume any return
11344 value of list-processes, which is undocumented anyway.
11345
a83ec3c9
CY
113462011-04-06 Chong Yidong <cyd@stupidchicken.com>
11347
11348 * emacs-lisp/tabulated-list.el: New file.
11349
e91a96fe
CY
11350 * emacs-lisp/package.el: Use Tabulated List mode.
11351 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11352 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11353 table format using Tabulated List mode variables.
11354 (package--push): New macro, replacing package-list-maybe-add.
11355 (package-menu--generate): Use package--push. Renamed from
11356 package--generate-package-list.
11357 (package-menu-refresh, list-packages): Use it.
daca8ba5 11358 (package-menu--print-info): Rename from package-print-package.
e91a96fe 11359 Return insertion data instead of inserting it directly.
099c39a4
JB
11360 (package-menu-describe-package, package-menu-execute):
11361 Use tabulated-list-get-id.
e91a96fe
CY
11362 (package-menu-mark-delete, package-menu-mark-install)
11363 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
11364 (package-menu-mark-obsolete-for-deletion):
11365 Use tabulated-list-put-tag.
e91a96fe
CY
11366 (package--list-packages, package-menu-revert)
11367 (package-menu-get-package, package-menu-get-version)
11368 (package-menu-sort-by-column): Functions deleted.
11369 (package-menu-package-list, package-menu-sort-key): Vars deleted.
11370 (package-menu--status-predicate, package-menu--version-predicate)
11371 (package-menu--name-predicate)
11372 (package-menu--description-predicate): Handle arguments in the
11373 Tabulated List format.
11374 (package-list-packages-no-fetch): Call list-packages.
11375
3e214b50
JB
113762011-04-06 Juanma Barranquero <lekktu@gmail.com>
11377
11378 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 11379 (after-find-file): Don't bind it.
3e214b50
JB
11380 (revert-buffer-in-progress-p): New variable.
11381 (revert-buffer): Bind it.
11382 Pass nil for `after-find-file-from-revert-buffer'.
11383
11384 * saveplace.el (save-place-find-file-hook): Use new variable
11385 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11386
3f0f1700
GM
113872011-04-06 Glenn Morris <rgm@gnu.org>
11388
c0274801
GM
11389 * Makefile.in (AUTOGEN_VCS): New variable.
11390 (autoloads): Use $AUTOGEN_VCS.
11391
3f0f1700
GM
11392 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11393 * calendar/calendar.el (calendar-mode-map):
11394 Check for toolkit scroll bars. (Bug#8305)
11395
41ea9e48
CY
113962011-04-05 Chong Yidong <cyd@stupidchicken.com>
11397
11398 * minibuffer.el (completion-in-region--postch)
11399 (completion-in-region-mode): Remove unnecessary messages.
11400
6194c800
JB
114012011-04-05 Juanma Barranquero <lekktu@gmail.com>
11402
33256f14
JB
11403 * font-lock.el (font-lock-refresh-defaults):
11404 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11405 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11406
6194c800
JB
11407 * info.el (Info-directory-list, Info-read-node-name-2)
11408 (Info-split-parameter-string): Doc fixes.
11409 (Info-virtual-nodes): Reflow docstring.
11410 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11411 (Info-apropos-toc-nodes, info-finder, Info-get-token)
11412 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11413 Fix typos in docstrings.
11414 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11415 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11416 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11417 (Info-restore-desktop-buffer): Mark unused parameters.
11418 (Info-directory-find-file, Info-directory-find-node)
11419 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11420 (Info-virtual-index-find-node, Info-apropos-find-file)
11421 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 11422 Mark unused parameters; fix typos in docstrings.
6194c800
JB
11423 (Info-virtual-index): Remove unused local variable `nodename'.
11424
b87a8200 114252011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 11426
b87a8200
DD
11427 * net/rcirc.el: Update my e-mail address.
11428 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 11429
3b2ff876
CY
114302011-04-05 Chong Yidong <cyd@stupidchicken.com>
11431
11432 * startup.el (command-line): Save the cursor's theme-face
11433 directly, instead of using face-override-spec.
11434
11435 * custom.el (load-theme): Minor optimization in assigning faces.
11436
8d17e7ca
JB
114372011-04-04 Juanma Barranquero <lekktu@gmail.com>
11438
11439 * help-fns.el (describe-variable): Complete all variables having
11440 documentation, including keywords.
11441 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11442
2fbc1934
JB
114432011-04-04 Juanma Barranquero <lekktu@gmail.com>
11444
11445 Convert to lexical-binding.
11446
11447 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11448 (bs--get-marked-string, bs--get-modified-string)
11449 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11450 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11451 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11452
11453 * ehelp.el (electric-help-execute-extended)
11454 (electric-help-ctrl-x-prefix):
11455 * hexl.el (hexl-revert-buffer-function):
11456 * linum.el (linum-after-change, linum-after-scroll):
11457 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11458
11459 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11460
74f50695
DU
114612011-04-04 Daiki Ueno <ueno@unixuser.org>
11462
11463 * epa-dired.el:
11464 * epa-mail.el:
11465 * epa-hook.el:
11466 * epa-file.el:
11467 * epa.el:
11468 * epg.el: Use lexical binding.
11469
c11325f7
CY
114702011-04-03 Chong Yidong <cyd@stupidchicken.com>
11471
0d9e9a12
CY
11472 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11473
c11325f7 11474 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
11475 dictionary case for flyspell-mark-duplications-exceptions.
11476 Use regexp matching for languages.
c11325f7
CY
11477 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11478 default dictionary (Bug#7926).
11479
da91b5f2
CY
114802011-04-02 Chong Yidong <cyd@stupidchicken.com>
11481
099c39a4
JB
11482 * emacs-lisp/package.el (package--with-work-buffer):
11483 Recognize https URLs.
da91b5f2 11484
099c39a4
JB
11485 * net/network-stream.el: Move from gnus/proto-stream.el.
11486 Change prefix to network-stream throughout.
da91b5f2
CY
11487 (open-protocol-stream): Merge into open-network-stream, leaving
11488 open-protocol-stream as an alias. Handle nil BUFFER args.
11489
11490 * subr.el (open-network-stream): Move to net/network-stream.el.
11491
afa8e9f6
GM
114922011-04-02 Glenn Morris <rgm@gnu.org>
11493
1d2e369d
GM
11494 * find-dired.el (find-exec-terminator): New option.
11495 (find-ls-option): Test for -ls support.
11496 (find-ls-subdir-switches): Test for -b in find-ls-option.
11497 (find-dired, find-grep-dired): Doc fixes.
11498 (find-dired): Use find-exec-terminator.
11499
8abb7da8 11500 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
11501 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11502 (find-name-arg): Remove purecopy.
8abb7da8 11503
f3ca7378
GM
11504 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11505 (grep-compute-defaults): Check for `-exec COMMAND +' support.
11506 Set grep-find-use-xargs, grep-find-command, and grep-find-template
11507 accordingly. Don't add the null-device if not needed.
11508
afa8e9f6
GM
11509 * files.el (save-some-buffers): Doc fix.
11510
35eae264
EZ
115112011-04-02 Eli Zaretskii <eliz@gnu.org>
11512
11513 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11514
26b51db5
JB
115152011-04-01 Juanma Barranquero <lekktu@gmail.com>
11516
11517 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11518 Use `dolist' rather than `mapcar'.
11519
7200d79c
SM
115202011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11521
03408648 11522 Add lexical binding.
7200d79c 11523
03408648
SM
11524 * subr.el (apply-partially): Use new closures rather than CL.
11525 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11526 (dolist, dotimes): Use slightly different expansion for lexical code.
11527 (functionp): Move to C.
11528 (letrec): New macro.
11529 (with-wrapper-hook): Use it and apply-partially instead of CL.
11530 (eval-after-load): Preserve lexical-binding.
11531 (save-window-excursion, with-output-to-temp-buffer): Turn them
11532 into macros.
7200d79c 11533
03408648
SM
11534 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11535
11536 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11537 than the arglist.
11538 (help-add-fundoc-usage): Don't add `Not documented'.
11539 (help-function-arglist): Handle closures, subroutines, and new
11540 byte-code-functions.
11541 (help-make-usage): Remove leading underscores.
11542 (describe-function-1): Handle closures.
11543 (describe-variable): Use special-variable-p for completion.
11544
11545 * files.el (lexical-binding): Declare safe.
f488fb65 11546
03408648
SM
11547 * emacs-lisp/pcase.el: Don't use destructuring-bind.
11548 (pcase--memoize): Rename from pcase-memoize. Change weakness.
11549 (pcase): Add `let' pattern.
11550 Change memoization so it actually works.
11551 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11552 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11553 <let>: New case.
f488fb65 11554
03408648
SM
11555 * emacs-lisp/macroexp.el: Use lexical binding.
11556 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
11557 Don't convert ' to #' without checking that it's indeed quoting
11558 a lambda.
11559
11560 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 11561 Use eval-sexp-add-defvars.
03408648
SM
11562 (eval-sexp-add-defvars): New fun.
11563
11564 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11565
11566 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11567 Don't autoload.
11568 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11569 than the internal `byte-compile-lambda'.
11570 (defmethod): Don't hide code under quotes.
11571 (eieio-defmethod): New `code' argument.
11572
11573 * emacs-lisp/eieio-comp.el: Remove.
11574
11575 * emacs-lisp/edebug.el (edebug-eval-defun)
11576 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11577 (edebug-toggle): Avoid `eval'.
11578
11579 * emacs-lisp/disass.el (disassemble-internal): Handle new
11580 `closure' objects.
11581 (disassemble-1): Handle new byte codes.
11582
11583 * emacs-lisp/cl.el (pushnew): Silence warning.
11584
11585 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11586 (cl-byte-compile-throw): Remove.
11587 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11588
11589 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11590 closures.
11591
11592 * emacs-lisp/cconv.el: New file.
11593
11594 * emacs-lisp/bytecomp.el: Use lexical binding instead of
11595 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
11596 (byte-compile-initial-macro-environment):
11597 Handle declare-function here.
11598 (byte-compile--lexical-environment): New var.
11599 (byte-stack-ref, byte-stack-set, byte-discardN)
11600 (byte-discardN-preserve-tos): New lap codes.
11601 (byte-interactive-p): Don't use any more.
11602 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11603 New macros.
11604 (byte-compile-lapcode): Use them and handle new lap codes.
11605 (byte-compile-obsolete): Remove.
11606 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11607 (byte-compile-arglist-warn): Check late def of inlinable funs.
11608 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11609 since they should have been expanded by now.
11610 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11611 (byte-compile-from-buffer): Remove unused second arg.
11612 (byte-compile-preprocess): New function.
11613 (byte-compile-toplevel-file-form): New function to distinguish
11614 file-form calls from outside from file-form calls from hunk-handlers.
11615 (byte-compile-file-form): Simplify.
11616 (byte-compile-file-form-defsubst): Remove.
11617 (byte-compile-file-form-defmumble): Simplify now that
11618 byte-compile-lambda always returns a byte-code-function.
11619 (byte-compile): Preprocess.
11620 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11621 Remove, not used any more.
11622 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11623 (byte-compile-make-args-desc): New funs.
11624 (byte-compile-lambda): Handle lexical functions. Always return
11625 a byte-code-function.
11626 (byte-compile-reserved-constants): New var, to make up room for
11627 closed-over variables.
11628 (byte-compile-constants-vector): Obey it.
11629 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11630 (byte-compile-macroexpand-declare-function): New function.
11631 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11632 byte-code-functions.
11633 (byte-compile-form): Check obsolescence here.
11634 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11635 (byte-compile-variable-ref): Remove.
11636 (byte-compile-dynamic-variable-op): New fun.
11637 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11638 (byte-compile-variable-set): New funs.
11639 (byte-compile-discard): Add 2 args.
11640 (byte-compile-stack-ref, byte-compile-stack-set)
11641 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11642 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11643 macroexpand-all instead.
11644 (byte-compile-quote-form): Remove.
11645 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11646 (byte-compile-bind, byte-compile-unbind): New funs.
11647 (byte-compile-let): Handle let* and lexical binding.
11648 (byte-compile-let*): Remove.
11649 (byte-compile-catch, byte-compile-unwind-protect)
11650 (byte-compile-track-mouse, byte-compile-condition-case):
11651 Handle a new :fun-body form, used for lexical scoping.
11652 (byte-compile-save-window-excursion)
11653 (byte-compile-with-output-to-temp-buffer): Remove.
11654 (byte-compile-defun): Simplify.
11655 (byte-compile-stack-adjustment): New fun.
11656 (byte-compile-out): Use it.
11657 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11658
11659 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11660 handler any more.
11661
11662 * emacs-lisp/byte-opt.el: Use lexical binding.
11663 (byte-inline-lapcode): Remove (to bytecomp).
11664 (byte-compile-inline-expand): Pay attention to inlining to/from
11665 lexically bound code.
11666 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11667 any more.
11668 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11669 any more and don't call compiler-macros.
11670 (byte-compile-splice-in-already-compiled-code): Remove.
11671 (byte-code): Don't inline any more.
11672 (disassemble-offset): Receive `bytes' as argument rather than via
11673 dynamic scoping.
11674 (byte-compile-tag-number): Declare before first use.
11675 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11676 `return' even if make-spliceable.
11677 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11678 obsolete interactive-p.
11679 (byte-optimize-lapcode): Optimize new lap-codes.
11680 Don't trip up on new form of `byte-constant' lap code.
11681
11682 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11683
11684 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11685
11686 * custom.el (custom-initialize-default, custom-declare-variable):
11687 Use `defvar'.
11688
11689 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11690 New variables.
11691 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11692 (COMPILE_FIRST): Add macroexp and cconv.
11693 * makefile.w32-in: Mirror changes in Makefile.in.
11694
11695 * vc/cvs-status.el:
11696 * vc/diff-mode.el:
11697 * vc/log-edit.el:
11698 * vc/log-view.el:
11699 * vc/smerge-mode.el:
11700 * textmodes/bibtex-style.el:
11701 * textmodes/css.el:
11702 * startup.el:
11703 * uniquify.el:
da91b5f2
CY
11704 * minibuffer.el:
11705 * newcomment.el:
11706 * reveal.el:
11707 * server.el:
11708 * mpc.el:
11709 * emacs-lisp/smie.el:
11710 * doc-view.el:
11711 * dired.el:
03408648
SM
11712 * abbrev.el: Use lexical binding.
11713
0f0c1f27
EZ
117142011-04-01 Eli Zaretskii <eliz@gnu.org>
11715
11716 * info.el (info-display-manual): New function.
11717
c82b2579
SM
117182011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11719
11720 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11721
221ddf68
TH
117222011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11723
11724 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 11725 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 11726
cba6e77e
GM
117272011-03-31 Glenn Morris <rgm@gnu.org>
11728
e040639f
GM
11729 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11730
cba6e77e
GM
11731 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11732
6d0f1c9e
CS
117332011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11734
11735 * progmodes/python.el (python-default-interpreter)
11736 (python-python-command-args, python-jython-command-args)
11737 (python-which-shell, python-which-args, python-which-bufname)
11738 (python-file-queue, python-comint-output-filter-function)
11739 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11740 variables and functions.
11741
3e2d70fd
SM
117422011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11743
11744 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11745 (completion-in-region-mode): New minor mode.
11746 (completion-in-region): Use it.
11747 (completion-in-region--data, completion-in-region-mode-map): New vars.
11748 (completion-in-region--postch): New function.
11749 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11750 New vars.
11751 (completion--capf-wrapper): New function.
11752 (completion-at-point): Use it to track well-behavedness of
11753 hook functions.
11754 (completion-help-at-point): New command.
11755
f3e4086c
JM
117562011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11757
11758 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11759 syntax class to search for whitespace on a single line
11760 (Message-ID: <4D938140.4030905@redhat.com>).
11761
eb7ffc14
LL
117622011-03-30 Leo Liu <sdl.web@gmail.com>
11763
11764 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11765 New commands.
11766 (edit-abbrevs-map): Bind them here.
11767 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11768
d806ab68
KM
117692011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11770
11771 * allout.el (allout-hide-by-annotation, allout-flag-region):
11772 Reduce possibility of overlay leakage by making them volatile.
11773
11774 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11775 hash is not shared between buffers. Mode initialization is
11776 responsible for giving it a useful starting value.
11777 (allout-item-span): Reduce possibility of overlay leakage by
11778 making them volatile.
11779 (allout-widgets-count-buttons-in-region): Add diagnostic function
11780 for tracking down button overlay leaks.
11781
ea622834
LL
117822011-03-29 Leo Liu <sdl.web@gmail.com>
11783
11784 * ido.el (ido-read-internal): Use the default history var
11785 minibuffer-history if no HISTORY is specified.
11786
b62f8267
G
117872011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11788
03408648
SM
11789 * net/imap.el (imap-shell-open, imap-process-connection-type):
11790 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
11791 Kerberos, SSL, other subprocesses.
11792
947b6566
LL
117932011-03-28 Leo Liu <sdl.web@gmail.com>
11794
11795 * abbrev.el (abbrev-table-empty-p): New function.
11796 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11797 nonempty ones. (Bug#5937)
11798
5ffb62aa
JD
117992011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11800
11801 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11802
7a097943
LL
118032011-03-27 Leo Liu <sdl.web@gmail.com>
11804
11805 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11806 for foreground and background colors.
11807 (ansi-color-make-color-map): Adapt.
11808
c5b40130
LL
118092011-03-25 Leo Liu <sdl.web@gmail.com>
11810
1f48f7d2
LL
11811 * midnight.el (midnight-time-float): Remove. Note it calculates
11812 the microsecond component incorrectly and seconds-to-time does the
11813 same job.
625897ec 11814 Remove redundant (require 'timer).
1f48f7d2 11815
c5b40130
LL
11816 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11817 (ido-completions): Remove unused arguments. (Bug#8329)
11818
d86d2721
SM
118192011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11820
11821 * minibuffer.el (completion--flush-all-sorted-completions):
11822 Remove itself from hook.
11823 (completion-at-point): Let the functions perform the completion
11824 immediately and return nil or t.
11825 * comint.el (comint-dynamic-complete-functions): Now identical to
11826 completion-at-point-functions.
11827 (comint-dynamic-list-input-ring): Remove unused var `index'.
11828 (comint--match-partial-filename, comint--unquote&expand-filename):
11829 New funs, split from comint-match-partial-filename.
11830 (comint-dynamic-complete): Use completion-at-point.
11831 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11832
e8974c48
DA
118332011-03-24 Drew Adams <drew.adams@oracle.com>
11834
11835 * thingatpt.el: Support `defun'.
11836
def71b5e
LL
118372011-03-23 Leo Liu <sdl.web@gmail.com>
11838
cb5af48e
LL
11839 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11840
def71b5e
LL
11841 * help-mode.el (help-mode-finish): Tweak regexp.
11842
927c53e7
GM
118432011-03-23 Glenn Morris <rgm@gnu.org>
11844
18d05bed
GM
11845 * eshell/esh-opt.el (eshell-eval-using-options):
11846 Do not bind unused local variable `eshell-option-stub'.
11847
927c53e7
GM
11848 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11849
9d0da923
JB
118502011-03-22 Juanma Barranquero <lekktu@gmail.com>
11851
11852 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11853 keymap variable in `with-no-warnings' to avoid a warning when the
11854 keymap has been already `defconst'ed.
11855
4b978a67
LL
118562011-03-22 Leo Liu <sdl.web@gmail.com>
11857
11858 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11859 encode all chars in abbrevs; otherwise use emacs-mule or
11860 utf-8-emacs. (Bug#8308)
11861
5fd62452
JB
118622011-03-22 Juanma Barranquero <lekktu@gmail.com>
11863
0b1596c6
JB
11864 * simple.el (backward-delete-char-untabify):
11865 Avoid warning about using `delete-backward-char'.
11866
5fd62452
JB
11867 * image.el (image-type-file-name-regexps): Make it variable.
11868 `imagemagick-register-types' modifies it, and the user may want
11869 to add new extensions for known image types.
11870 (imagemagick-register-types): Throw error if not using ImageMagick.
11871
0b4e93f1
LL
118722011-03-22 Leo Liu <sdl.web@gmail.com>
11873
11874 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11875 located before rcirc-prompt-end-marker.
11876 (rcirc-complete): Error if point is not after rcirc prompt.
11877 Handle the case when table is nil.
9882e214 11878 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 11879
fccee4ab
CY
118802011-03-22 Chong Yidong <cyd@stupidchicken.com>
11881
11882 * custom.el (custom--inhibit-theme-enable): Make it affect only
11883 custom-theme-set-variables and custom-theme-set-faces.
11884 (provide-theme): Ignore custom--inhibit-theme-enable.
11885 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11886 (custom-enabling-themes): Delete variable.
d86d2721
SM
11887 (enable-theme): Accept only loaded themes as arguments.
11888 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
11889 (custom-enabled-themes): Forbid themes from setting this.
11890 Eliminate use of custom-enabling-themes.
11891 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 11892
af896da6
LL
118932011-03-21 Leo Liu <sdl.web@gmail.com>
11894
11895 * ido.el (ido-read-internal): Add ido-selected to history instead
11896 of user input.
11897
78f64af0
SM
118982011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11899
11900 * subr.el (deferred-action-list, deferred-action-function):
11901 Mark obsolete.
11902
b16ac1ec
LL
119032011-03-21 Leo Liu <sdl.web@gmail.com>
11904
810f7698
LL
11905 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11906 change on 2011-02-13 (bug#8309).
11907
b16ac1ec
LL
11908 * minibuffer.el (read-file-name-function): Change default value.
11909 (read-file-name--defaults): Rename from read-file-name-defaults.
11910 (read-file-name-default): Rename from read-file-name.
11911 (read-file-name): Call read-file-name-function.
11912
4e05e67e
GM
119132011-03-21 Glenn Morris <rgm@gnu.org>
11914
11915 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11916 Doc fixes.
11917
4359915b
CY
119182011-03-21 Chong Yidong <cyd@stupidchicken.com>
11919
11920 * cus-theme.el: Add missing provide statement.
11921 (customize-create-theme): Extract theme value correctly.
11922 (custom-theme-visit-theme): Autoload.
11923 (customize-create-theme): Prompt before inserting default faces.
11924
1fe275ee
JB
119252011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11926
11927 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11928 units and musical notes.
11929
cd394be1 119302011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
11931
11932 * ido.el (ido-read-internal): Use completing-read-default.
11933 (ido-completing-read): Fix compatibility with completing-read.
11934
7d476bde
CO
119352011-03-20 Christian Ohler <ohler@gnu.org>
11936
11937 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11938 (ert-delete-all-tests): Use `called-interactively-p' rather than
11939 `interactive-p'.
11940 (ert--make-xrefs-region): Respect END.
11941
fe0fb33e
CY
119422011-03-19 Chong Yidong <cyd@stupidchicken.com>
11943
ff854b0b
CY
11944 * dired-aux.el (dired-create-directory): Signal an error if the
11945 directory already exists (Bug#8246).
11946
fe0fb33e
CY
11947 * facemenu.el (list-colors-display): Call list-faces-display
11948 inside with-help-window.
11949 (list-colors-print): Use display property to align the final
11950 column, instead of checking window-width.
11951
576bce32
EZ
119522011-03-19 Eli Zaretskii <eliz@gnu.org>
11953
4d61f28d 11954 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
11955 windows-nt systems.
11956 (emerge-protect-metachars): Quote correctly for ms-dos and
11957 windows-nt systems.
11958
89c41d68 119592011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
11960
11961 * info.el (info-initialize): Replace all uses of `:' with
11962 path-separator for compatibility with non-Unix systems.
11963 Cache quoting of path-separator. (Bug#8258)
11964
b14e3e21 119652011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
11966
11967 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11968 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11969 (mouse-avoidance-mode): Fix typos in docstrings.
11970
4525ce3e
CY
119712011-03-19 Chong Yidong <cyd@stupidchicken.com>
11972
11973 * startup.el (package-subdirectory-regexp): Move from package.el.
11974 Omit \\` and \\', and let callers add them.
11975
11976 * emacs-lisp/package.el (package-strip-version)
11977 (package-load-all-descriptors): Add \\` and \\' to
11978 package-subdirectory-regexp before using it.
11979 (package-untar-buffer): New arg DIR; ensure that file untars only
11980 into this expected directory. Remove superfluous delete-region.
11981 (package-unpack): Caller changed.
11982 (package-tar-file-info): Use package-subdirectory-regexp.
11983
a904a09a 119842011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 11985
a904a09a
SM
11986 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11987 diff-mode-shared-map (bug#8284).
11988 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
11989
119902011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11991
11992 * calendar/time-date.el (format-seconds): Use assoc instead of
11993 assoc-string, since assoc-string doesn't exist in XEmacs.
11994
171fc304
JB
119952011-03-17 Juanma Barranquero <lekktu@gmail.com>
11996
11997 * custom.el (custom-known-themes): Reflow docstring.
11998 (custom-theme-load-path): Fix typo in docstring.
11999 (load-theme): Fix typo in error message.
12000 (custom-available-themes, custom-variable-theme-value):
12001 Use `let', not `let*'.
12002
d71990a1
JB
120032011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12004
12005 * calc/README: Mention inclusion of musical notes.
12006
12007 * calc/calc-units.el (calc-lu-quant): Rename from
12008 `calc-logunits-quantity'.
12009 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12010 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12011 (calc-db): Rename from `calc-dblevel'.
12012 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12013 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12014 (calc-np): Rename from `calc-nplevel'.
12015 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12016 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12017 (calc-lu-plus): Rename from `calc-logunits-add'.
12018 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12019 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12020 (calc-lu-minus): Rename from `calc-logunits-sub'.
12021 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12022 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12023 (calc-lu-times): Rename from `calc-logunits-mul'.
12024 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12025 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12026 (calc-lu-divide): Rename from `calc-logunits-div'.
12027 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12028 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12029
12030 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12031 functions being autoloaded.
12032
12033 * calc/calc.el (calc-lu-power-reference): Rename from
12034 `calc-logunits-power-reference'.
12035 (calc-lu-field-reference): Rename from
12036 `calc-logunits-field-reference'.
12037
7a71b18d
GM
12038 * calc/calc-help.el (calc-l-prefix-help):
12039 Mention musical note functions.
d71990a1 12040
40c2934b
SM
120412011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12042
12043 * minibuffer.el (completion-all-sorted-completions):
12044 Use :completion-cycle-penalty text property if present.
12045
b0911414
KM
120462011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12047
12048 * allout.el (allout-yank-processing): Adjust for new rebulleting
12049 regime so bullet being yanked is used without prompting the user
12050 for a choice.
12051
8a05b668
JB
120522011-03-16 Juanma Barranquero <lekktu@gmail.com>
12053
12054 * startup.el (command-line): Warn the user that _emacs is deprecated.
12055
5ba5fb81
JB
120562011-03-16 Juanma Barranquero <lekktu@gmail.com>
12057
12058 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12059 (delphi-verbose, delphi-comment-face, delphi-string-face)
12060 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12061 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12062 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12063 (delphi-new-comment-line, delphi-font-lock-defaults)
12064 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12065 Fix typos in docstrings.
12066
2dab465b
KM
120672011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12068
5ba5fb81 12069 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
12070 Invert the roles of character and string values for INSTEAD, so a
12071 string is used for the more common case of a defaulting prompt.
12072
0adf5618
SM
120732011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12074
12075 * progmodes/ruby-mode.el (ruby-backward-sexp):
12076 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12077 * play/gamegrid.el (gamegrid-make-face):
12078 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12079 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12080 * notifications.el (notifications-notify):
12081 * net/xesam.el (xesam-search-engines):
12082 * net/quickurl.el (quickurl-list-insert):
12083 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12084
d72700e5
CY
120852011-03-15 Chong Yidong <cyd@stupidchicken.com>
12086
12087 * startup.el (command-line): Update package subdirectory regexp.
12088
49c5410a
SM
120892011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12090
c6eee9aa
SM
12091 * allout.el (allout-abbreviate-flattened-numbering)
12092 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12093
49c5410a
SM
12094 * subr.el (read-char-choice): Only show the cursor after the prompt,
12095 not after the answer.
12096
047b2bb9
KR
120972011-03-15 Kevin Ryde <user42@zip.com.au>
12098
12099 * help-fns.el (variable-at-point): Skip leading quotes, if any
12100 (bug#8253).
12101
0a57d256
SM
121022011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12103
12104 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12105 warning message.
12106
77c992bc
MA
121072011-03-14 Michael Albinus <michael.albinus@gmx.de>
12108
12109 * shell.el (shell): When called interactively, offer to change the
12110 shell file name on remote hosts.
12111
eebc475d
TZ
121122011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12113
12114 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12115 integration for LDAP parameters. The host, base, user or binddn,
12116 and secret tokens can be specified in a netrc file, for instance.
12117 This is optional because an `auth-source' parameter must be
12118 specified in the search attributes.
12119
9d05d1ba
JB
121202011-03-13 Juanma Barranquero <lekktu@gmail.com>
12121
12122 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12123
09d9db2c
GM
121242011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12125
12126 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12127 into declaration. Remove redundant and harmful binding.
12128
121292011-03-12 Eli Zaretskii <eliz@gnu.org>
12130
12131 * files.el (file-ownership-preserved-p): Pass `integer' as an
12132 explicit 2nd argument to `file-attributes'. If the file's owner
12133 is the Administrators group on Windows, and the current user is
12134 Administrator, consider that a match.
12135
12136 * server.el (server-ensure-safe-dir): Consider server directory
12137 safe on MS-Windows if its owner is the Administrators group while
12138 the current Emacs user is Administrator. Use `=' to compare
12139 numerical UIDs, since they could be integers or floats.
12140
219bd536
JB
121412011-03-12 Juanma Barranquero <lekktu@gmail.com>
12142
12143 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12144
f3afd36b
MA
121452011-03-12 Michael Albinus <michael.albinus@gmx.de>
12146
12147 Sync with Tramp 2.2.1.
12148
12149 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12150
12151 * net/trampver.el: Update release number.
12152
3aaaa6f1
SM
121532011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12154
94642599
SM
12155 * progmodes/compile.el (compilation--previous-directory): Fix up
12156 various nil/dead-marker mismatches (bug#8014).
12157 (compilation-directory-properties, compilation-error-properties):
12158 Don't call it at a position past the one we're about to change.
12159
3aaaa6f1
SM
12160 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12161 Disable obsolescence warnings in the file that declares it.
12162
14239447
KM
121632011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12164
099c39a4
JB
12165 * allout-widgets.el (allout-widgets-tally):
12166 Initialize allout-widgets-tally as a hash table rather than nil to
12167 prevent mode-line redisplay warnings. Also, clarify the module
12168 description and fix a comment typo.
14239447 12169
135e287c
JB
121702011-03-11 Juanma Barranquero <lekktu@gmail.com>
12171
12172 * help-fns.el (describe-variable): Don't complete keywords.
12173 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12174
ffbf300e
CY
121752011-03-10 Chong Yidong <cyd@stupidchicken.com>
12176
ba08b241
CY
12177 * emacs-lisp/package.el (package-version-join): Impose a standard
12178 string representation for pre/alpha/beta version lists.
12179 (package-unpack-single): Standardize the directory name by passing
12180 it through package-version-join.
12181 (package-strip-rcs-id): Accept any version string that does not
12182 signal an error in version-to-list.
ffbf300e 12183
f346fd6b
MA
121842011-03-10 Michael Albinus <michael.albinus@gmx.de>
12185
12186 * simple.el (delete-trailing-whitespace): Return nil for the
12187 benefit of `write-file-functions'.
12188
ccb55d27
GM
121892011-03-10 Glenn Morris <rgm@gnu.org>
12190
5ceaac0c
GM
12191 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12192
02da65ff
GM
12193 * vc/vc-git.el (vc-git-program): New option.
12194 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12195 (vc-git--call): Use it.
12196
b2f603cc
GM
12197 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12198
5772caab
GM
12199 * cus-edit.el (Custom-newline): If no button at point, look
12200 for a subgroup button at start-of-line. (Bug#2298)
12201
ccb55d27
GM
12202 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12203
ec6ecaed
JD
122042011-03-10 Julien Danjou <julien@danjou.info>
12205
12206 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12207 `cursor-type' is nil.
12208
9d5aa01d
JB
122092011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
12210
12211 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12212
b6a5875b
KM
122132011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
12214
7a71b18d 12215 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
12216 preserves the existing header prefix, rebulleting it if necessary,
12217 rather than replacing it. This is necessary for proper operation
12218 of cooperative addons like allout-widgets.
1154d12e
JB
12219 (allout-make-topic-prefix, allout-rebullet-heading):
12220 Change SOLICIT arg to INSTEAD, and interpret additionally a string
12221 value as alternate bullet to be used, instead of prompting the user
12222 for a bullet character.
b6a5875b 12223
ee545c35
MA
122242011-03-09 Michael Albinus <michael.albinus@gmx.de>
12225
d86d2721
SM
12226 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12227 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
12228 `tramp-default-port'.
12229
c47971d7
DD
122302011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12231
12232 * net/rcirc.el (rcirc-handler-001): Remove useless
12233 with-rcirc-process-buffer.
12234 (rcirc-check-auth-status): Swap arguments to string-match.
12235
13522cb4
GM
122362011-03-09 Glenn Morris <rgm@gnu.org>
12237
0be6f4f1
GM
12238 * shell.el (shell-mode):
12239 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
12240
13522cb4
GM
12241 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12242 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
12243
515de2e3
CY
122442011-03-08 Chong Yidong <cyd@stupidchicken.com>
12245
12246 * emacs-lisp/package.el (package-refresh-contents)
12247 (package-menu-execute): Use condition-case-no-debug.
12248
b511b994
MA
122492011-03-08 Michael Albinus <michael.albinus@gmx.de>
12250
12251 * simple.el (shell-command-to-string): Use `process-file'.
12252
12253 * emacs-lisp/package.el (package-tar-file-info): Handle also
12254 remote files.
12255
d86d2721
SM
12256 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12257 Use `equal' for upload base check.
b511b994 12258
25bbfb31
AM
122592011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12260
12261 * textmodes/texinfo.el (texinfo-environments):
12262 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
12263
be996521
GM
122642011-03-08 Glenn Morris <rgm@gnu.org>
12265
e9c8529f
GM
12266 * cus-start.el (cursor-in-non-selected-windows):
12267 Fix :set quoting oddness. (Bug#8192)
12268
be996521
GM
12269 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12270 in some setf expressions. (Bug#2159)
12271
2bb5649e
CY
122722011-03-08 Chong Yidong <cyd@stupidchicken.com>
12273
12274 * custom.el (custom-available-themes): Return themes in
12275 alphabetical order.
12276
33383987 12277See ChangeLog.15 for earlier changes.
e3d51b27
MR
12278
12279;; Local Variables:
12280;; coding: utf-8
e3d51b27
MR
12281;; End:
12282
acaf905b 12283 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
12284
12285 This file is part of GNU Emacs.
12286
12287 GNU Emacs is free software: you can redistribute it and/or modify
12288 it under the terms of the GNU General Public License as published by
12289 the Free Software Foundation, either version 3 of the License, or
12290 (at your option) any later version.
12291
12292 GNU Emacs is distributed in the hope that it will be useful,
12293 but WITHOUT ANY WARRANTY; without even the implied warranty of
12294 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12295 GNU General Public License for more details.
12296
12297 You should have received a copy of the GNU General Public License
12298 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.