* lisp/progmodes/which-func.el (which-func-modes): Add objc-mode.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
adedaa1f
LL
12012-04-13 Leo Liu <sdl.web@gmail.com>
2
3 * progmodes/which-func.el (which-func-modes): Add objc-mode.
4
70e74021
KB
52012-04-13 Ken Brown <kbrown@cornell.edu>
6
7 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
8 this is no longer needed now that cygstart understands file://
9 URLs.
10 (browse-url-filename-alist): For the same reason, don't modify
11 file:// URLs on Cygwin.
12
e75e89ba
SM
132012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
14
15 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
16 the region on shift if the binding is already shifted (bug#11221).
17
82f289a4
GM
182012-04-12 Glenn Morris <rgm@gnu.org>
19
20 * mail/mailpost.el: Move to obsolete/.
21
d333dc4c
DA
222012-04-12 Drew Adams <drew.adams@oracle.com>
23
24 * imenu.el (imenu--generic-function): Ignore invisible definitions
25 (bug#10123).
26
0d15b5ba
VD
272012-04-12 Vivek Dasmohapatra <vivek@etla.org>
28
29 * hexl.el (hexl-bits): New variable.
30 (hexl-options): Mention the variable in the doc string.
31 (hexl-rulerise): New function.
32 (hexl-line-displen): New function
33 (hexl-mode): Mention the new variable.
34 (hexl-mode, hexl-current-address, hexl-current-address): Use the
35 displen.
36 (hexl-ascii-start-column): New function.
37 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
38 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
39
64a440db
AM
402012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
41
42 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
43 '("-i" ENCODING), in 2 separate command-line arguments, to specify
44 the encoding, as expected by hunspell.
45
6decb6c2
SM
462012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
47
48 * battery.el (battery--linux-sysfs-regexp): New const.
49 (battery-status-function): Use it. Remove yeeloong special case.
50 (battery-yeeloong-sysfs): Remove.
51 (battery-echo-area-format): Remove yeeloong special case.
52
088be6fb
SM
532012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
54
6622e416
SM
55 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
56 Reported by Noah Friedman.
57
088be6fb
SM
58 * subr.el (read-passwd): Use read-string.
59
b49f886e
LMI
602012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
61
62 * vcursor.el (vcursor-move): Increase the priority of the overlay
63 (bug#9663).
64
a63067fc
DD
652012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
66
67 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
68 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
69
ac3cf14a
WS
702012-04-11 William Stevenson <yhvh2000@gmail.com>
71
72 * textmodes/artist.el (artist-mode): Convert artist-mode to use
73 define-minor-mode (bug#10760).
74
c4fc691b 752012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c
WJ
76
77 * lisp/progmodes/grep.el (rgrep): Tweak the find command line so
78 that directories matching `grep-find-ignored-files' won't be
79 pruned (bug#10351).
80
af23e2e5
CY
812012-04-11 Chong Yidong <cyd@gnu.org>
82
83 * startup.el (command-line): Remove support for long-obsolete
84 variable font-lock-face-attributes.
85
ab7ce8c1
GM
862012-04-11 Glenn Morris <rgm@gnu.org>
87
88 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
89
de8c03dc
SM
902012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
91
92 * window.el (window--state-get-1): Obey window-point-insertion-type.
93
050cc68b
LB
942012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
95
96 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
97 to previous function when point is on the first character of a
98 function. Take care of that in `narrow-to-defun' (bug#6157).
99
a38c310c
GM
1002012-04-11 Glenn Morris <rgm@gnu.org>
101
effed0c2
GM
102 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
103 not just file-errors.
104
a38c310c
GM
105 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
106 (vc-bzr-sha1): Use internal sha1.
107
0221e323
SM
1082012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
109
110 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
111
43956923
SG
1122012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
113
114 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
115 that start in the middle of the line (bug#10496).
116
6a8c9eaf
DN
1172012-04-10 Dan Nicolaescu <dann@gnu.org>
118
119 * battery.el (battery-linux-proc-acpi): Only one battery is
120 discharged at a time, but that seems to confuse battery.el when
121 computing `rate-type' for the battery not being discharged
122 (bug#10332).
123
1930bf5d
SM
1242012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
125
2a718f6f
SM
126 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
127
599430d0
SM
128 * international/quail.el: Use dolist and simplify.
129 (quail-define-package, quail-update-keyboard-layout)
130 (quail-define-rules): Use dolist.
131 (quail-insert-kbd-layout, quail-get-translation): CSE.
132
a2754b6c
SM
133 * tmm.el: Use dolist, remove left over hook.
134 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
135 Use dolist.
136 (calendar-load-hook): Don't mess with it.
137
1930bf5d
SM
138 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
139 Use derived-mode-p. Run the diff asynchronously.
140
9f67961c
LMI
1412012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
142
143 * obsolete/mouse-sel.el: Add an Obsolete-since header.
144
2a8ce227
JB
1452012-04-10 Juanma Barranquero <lekktu@gmail.com>
146
147 * misc.el: Display absolute path of loaded DLLs (bug#10424).
148 (list-dynamic-libraries--loaded): New function.
149 (list-dynamic-libraries--refresh): Use it.
150
8f33b5f8
NW
1512012-04-10 Nathan Weizenbaum <nweiz@google.com>
152
1930bf5d
SM
153 * progmodes/python.el (python-fill-paragraph):
154 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
155 disabled (bug#7018).
156
b12f0439
L
1572012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
158
1930bf5d 159 * language/european.el (cp775): Add oem/legacy (en)coding on
b12f0439
L
160 DOS/MS Windows for the Baltic languages. There are still plenty of
161 texts written in this encoding/codepage (bug#6519).
162
57c3bd01
GM
1632012-04-10 Glenn Morris <rgm@gnu.org>
164
165 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
166 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
167
6c3eab30
FA
1682012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
169
1930bf5d 170 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
171 next-line "n" and previous-line "p" in order to make recentf more
172 consistent with ibuffer, dired or org-mode (bug#9387).
173
24d78a88
LMI
1742012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
175
bc72b5d9
LMI
176 * image.el (put-image): Return the overlay created instead of the
177 optional input string (bug#7834). Note that this may break code
178 that is (for some reason or other) depending on `put-image'
179 returning the string.
180
bd2dba5a
LMI
181 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
182
74beb59f
LMI
183 * simple.el (zap-to-char): Allow zapping using input methods
184 (bug#1580).
185
24d78a88
LMI
186 * textmodes/fill.el (fill-region): Leave point and mark where they
187 were before filling (bug#5399).
188
263f20cd
GM
1892012-04-09 Glenn Morris <rgm@gnu.org>
190
191 * version.el (emacs-bzr-get-version):
192 Handle lightweight checkouts of local branches.
193
58d1f797
AS
1942012-04-09 Andreas Schwab <schwab@linux-m68k.org>
195
263f20cd 196 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 197
b4d3bc10
CY
1982012-04-09 Chong Yidong <cyd@gnu.org>
199
200 * custom.el (custom-variable-p): Return nil for non-symbol
201 arguments instead of signaling an error.
202 (user-variable-p): Obsolete alias for custom-variable-p.
203
204 * apropos.el (apropos-variable):
205 * files-x.el (read-file-local-variable):
206 * simple.el (set-variable):
207 * woman.el (woman-mini-help):
208 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
209
fd06db5d
GM
2102012-04-09 Glenn Morris <rgm@gnu.org>
211
e5fcdb5e
GM
212 * startup.el (normal-top-level): Don't look for leim-list.el
213 in places where it will not be found. (Bug#910)
214
fd06db5d
GM
215 * international/mule-cmds.el (set-default-coding-systems):
216 * files.el (normal-mode):
217 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
218 This function was removed with ucs-tables.el in 2008.
219
b39bb7e1
EZ
2202012-04-08 Eli Zaretskii <eliz@gnu.org>
221
222 * textmodes/ispell.el (ispell-check-version): For hunspell, set
223 ispell-encoding8-command to "-i", without a trailing space.
224 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
225 separate command-line arguments, to specify the encoding, since
226 that's how hunspell expects it.
227
5c5b8e23
GM
2282012-04-08 Glenn Morris <rgm@gnu.org>
229
230 * loadup.el: Load bindings before cus-start.
231 This reduces somewhat the number of "rogue" settings in emacs -Q.
232
a1ed8b05
GM
2332012-04-07 Glenn Morris <rgm@gnu.org>
234
235 * version.el (emacs-bzr-get-version): New function.
dfae128a 236 (emacs-bzr-version): New variable.
a1ed8b05
GM
237 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
238 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
239
b142f158
EZ
2402012-04-07 Eli Zaretskii <eliz@gnu.org>
241
dfae128a
GM
242 * international/uni-bidi.el, international/uni-category.el:
243 * international/uni-combining.el, international/uni-decimal.el:
244 * international/uni-decomposition.el, international/uni-digit.el:
245 * international/uni-lowercase.el, international/uni-mirrored.el:
246 * international/uni-name.el, international/uni-numeric.el:
247 * international/uni-titlecase.el, international/uni-uppercase.el:
248 Update for Unicode 6.1.
b142f158 249
9078ead6
EZ
2502012-04-07 Eli Zaretskii <eliz@gnu.org>
251
252 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
253
f23d2c7d
LMI
2542012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
255
256 * window.el (shrink-window): Mention the `window-min-height'
257 variable in the doc string.
258
0a0a3573
BG
2592012-04-05 Bastien Guerry <bzg@altern.org>
260
261 * color.el (color-lighten-name): Fix typo.
262
e5248ac9
SM
2632012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
264
265 * server.el (server--on-display-p): New function.
266 (server--on-display-p): Use it.
267
b4243e22
GV
2682012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
269
270 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
271 (bug#11145).
272
305d9f44
SM
2732012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
274
275 * comint.el (comint--common-quoted-suffix): Check string boundary
276 before comparing (bug#11158).
277 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
278
3d439cd1
CY
2792012-04-04 Chong Yidong <cyd@gnu.org>
280
321cc491
CY
281 * minibuffer.el (completion-extra-properties): Doc fix.
282
3d439cd1
CY
283 * subr.el (delayed-warnings-hook): Doc fix.
284
2d562c0f
DU
2852012-04-04 Daiki Ueno <ueno@unixuser.org>
286
287 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
288 selection (Bug#11159).
289 (epa-insert-keys): Inform that the default public key will be
290 exported if no key is selected.
291
4443f204
RS
2922012-04-04 Richard Stallman <rms@gnu.org>
293
294 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
295
529c06b6
CY
2962012-04-03 Chong Yidong <cyd@gnu.org>
297
298 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
299 mail-insert-file, not its obsolete alias mail-attach-file.
300
66b907dc
MA
3012012-04-03 Michael Albinus <michael.albinus@gmx.de>
302
303 * notifications.el (notifications-notify): Fix docstring.
304
c0ea195d
GM
3052012-04-02 Glenn Morris <rgm@gnu.org>
306
307 * emacs-lisp/authors.el (authors-aliases): Another addition.
308
5ca64e00
MA
3092012-04-02 Michael Albinus <michael.albinus@gmx.de>
310
311 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
312 `tramp-compat-call-process' instead of `tramp-local-call-process'.
313 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
314
42ee526b
CY
3152012-04-01 Chong Yidong <cyd@gnu.org>
316
317 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
318 Handle root directory properly.
319 (copy-directory): Caller changed.
320
321 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
322 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
323
0b021094
GM
3242012-03-31 Glenn Morris <rgm@gnu.org>
325
40f86458
GM
326 * term/xterm.el (xterm-extra-capabilities): Doc fix.
327
7019c177
GM
328 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
329
a1daddd6
GM
330 * calendar/calendar.el (calendar-window-list)
331 (calendar-hide-window): Restore. (Bug#11140)
332 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
333
0b021094
GM
334 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
335
40311efc
TV
3362012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
337
338 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
339 Check if file is a symlink (Bug#10489).
340
341 * files.el (copy-directory): Likewise.
342
5319014e
CY
3432012-03-30 Chong Yidong <cyd@gnu.org>
344
345 * image.el (imagemagick-types-inhibit)
346 (imagemagick-register-types): Doc fix.
347
935d1290
AM
3482012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
349
350 * ispell.el (ispell-get-extended-character-mode): Disable
351 extended-char-mode for hunspell. hunspell does not support it and
352 treats ~word as ordinary words in pipe mode.
353
61c6e8fd
GM
3542012-03-30 Glenn Morris <rgm@gnu.org>
355
356 * tutorial.el (help-with-tutorial): Ensure local variables don't
357 happen to make the buffer read-only. (Bug#11127)
358
81fdff00
SM
3592012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
360
361 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
362 (perl-calculate-indent): Return `noindent' in strings.
363
6e7a6ec0
SS
3642012-03-28 Sam Steingold <sds@gnu.org>
365
366 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
367 instead of the broken adhockery which does not prevent calendar
368 buffers from being displayed at random after exit.
369 (calendar-window-list, calendar-hide-window): Remove the broken
370 adhockery.
371
fee88ca0
GM
3722012-03-28 Glenn Morris <rgm@gnu.org>
373
374 * replace.el (query-replace-map): Doc fix.
375
38de3354
AS
3762012-03-28 Andreas Schwab <schwab@linux-m68k.org>
377
378 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
379 contents. (Bug#11109)
380
b973155e
SM
3812012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
382
383 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
384 (bug#11077).
385 (avl-tree--check, avl-tree--check-node): New funs.
386
dcb6e7b3
MR
3872012-03-27 Martin Rudalics <rudalics@gmx.at>
388
389 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
390 (switch-to-prev-buffer, switch-to-next-buffer):
391 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
392 showing a buffer already is done on the same frame.
393
b4fa35fa
GM
3942012-03-27 Glenn Morris <rgm@gnu.org>
395
396 * startup.el (mail-host-address): Doc fix.
397
f9210e18
SM
3982012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
399
400 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
401 than 197 variables.
402
c0bf7753
AF
4032012-03-26 Ami Fischman <ami@fischman.org>
404
405 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
406
33da7b16
GM
4072012-03-26 Glenn Morris <rgm@gnu.org>
408
02243d9d
GM
409 * files.el (save-buffers-kill-emacs): Doc fix.
410
33da7b16
GM
411 * startup.el (normal-top-level, command-line, command-line-1):
412 Give them doc strings.
413
e5a69fd0
EZ
4142012-03-25 Eli Zaretskii <eliz@gnu.org>
415
416 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 417 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 418
9a69676a
CY
4192012-03-25 Chong Yidong <cyd@gnu.org>
420
4125cb8b
CY
421 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
422 theme if it was previously enabled before (Bug#11031).
423
dd470960
CY
424 * cus-theme.el (custom-theme-write-faces): Retrieve current face
425 spec with custom-face-get-current-spec if its :shown-value is not
426 determined yet (Bug#9337).
4125cb8b 427 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 428
9a69676a
CY
429 * button.el (button-at): Minor addition to docstring.
430
6e7e90fa
SL
4312012-03-24 Simon Leinen <simon.leinen@gmail.com>
432
433 * vc/vc.el (vc-merge): Fix a prompt.
434
f06e2758
CY
4352012-03-24 Chong Yidong <cyd@gnu.org>
436
437 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
438 point (Bug#9623).
439
6e7e90fa
SL
440 * button.el (button-at): Minor addition to docstring.
441
b9d0879b
SM
4422012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
443
444 * newcomment.el (comment-choose-indent): No space after BOL.
445
e71cebb3
SS
4462012-03-22 Sam Steingold <sds@gnu.org>
447
448 * window.el (switch-to-prev-buffer): Revert last patch because the
449 bug turned out to be an advertised feature (Elisp manual 28.14).
450
335aff35
GM
4512012-03-22 Glenn Morris <rgm@gnu.org>
452
453 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
454 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
455
c676576a
LMI
4562012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
457
458 * net/network-stream.el (network-stream-open-starttls): Make error
459 message under Windows be less misleading.
460
126f3d39
LW
4612012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
462
463 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
464 understands (bug#9942).
465
64fee311
CY
4662012-03-22 Chong Yidong <cyd@gnu.org>
467
468 * simple.el (end-of-visible-line): Handle return value of
469 next-single-property-change properly (Bug#9371).
470
a640d29a
KH
4712012-03-22 Kenichi Handa <handa@m17n.org>
472
473 * international/quail.el (quail-insert-kbd-layout): Fix previous
474 change. To avoid unwanted bidi reordering, use
475 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
476
39675016
DG
4772012-03-21 Dmitry Gutov <dgutov@yandex.ru>
478
479 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
480 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
481 (ruby-beginning-of-indent): Be more careful with the difference
482 between word-boundary and symbol boundary.
483 (ruby-mode-syntax-table): Make : a symbol constituent.
484
0a6934fc 4852012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 486
3d008e4f
SM
487 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
488
0a6934fc
SM
4892012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
490
af67c9d7
SM
491 * progmodes/etags.el (tags-completion-at-point-function):
492 Improve last fix.
493
1acad97c
SM
494 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
495
e298b5da
SS
4962012-03-21 Sam Steingold <sds@gnu.org>
497
498 * progmodes/etags.el (tags-completion-at-point-function):
499 Avoid the error when point is inside the pattern.
500
91d82a70
JY
5012012-03-21 John Yates <john@yates-sheets.org> (tiny change)
502
503 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
504 line (Bug#10855).
505
69188b79
CY
5062012-03-21 Drew Adams <drew.adams@oracle.com>
507
508 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
509
99fc91fe
AK
5102012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
511
512 * ido.el (ido-set-current-directory, ido-read-internal)
513 (ido-choose-completion-string, ido-completion-help): Handle nil
514 value of ido-completion-buffer (Bug#11008).
515
087bbb4c
SS
5162012-03-21 Sam Steingold <sds@gnu.org>
517
518 * window.el (switch-to-prev-buffer): Do not switch to a visible
519 window previous buffer, just like with the frame previous buffers.
520
fb5b8aca
CY
5212012-03-21 Chong Yidong <cyd@gnu.org>
522
523 * faces.el (make-face, make-empty-face, copy-face):
524 * face-remap.el (face-remap-add-relative, face-remap-set-base):
525 Doc fixes.
526
dc9924b8
SM
5272012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
528
529 * wid-edit.el (widget-complete-field): Remove (bug#11051).
530 (widget-complete): Remove broken use of it.
531
f0bcceb9
CY
5322012-03-20 Chong Yidong <cyd@gnu.org>
533
dc9924b8
SM
534 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
535 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
536 characters.
537
ee52ebf3
TH
5382012-03-20 Tassilo Horn <tassilo@member.fsf.org>
539
540 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
541 to draw rectangles, not squares. (Regression introduced by revno
542 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
543
4c5779ab
CY
5442012-03-18 Chong Yidong <cyd@gnu.org>
545
546 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
547 it is not yet defined (for temacs).
548
15360934
LL
5492012-03-18 Leo Liu <sdl.web@gmail.com>
550
dc9924b8 551 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 552
d9a8eb66
EZ
5532012-03-17 Eli Zaretskii <eliz@gnu.org>
554
555 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
556 (ispell-choices-win-default-height, ispell-silently-savep)
557 (ispell-dictionary-alist, ispell-encoding8-command)
558 (ispell-check-version, ispell-aspell-find-dictionary)
559 (ispell-valid-dictionary-list, ispell-words-keyword)
560 (ispell-get-word, ispell-internal-change-dictionary)
561 (ispell-region, ispell-skip-region-list)
562 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
563 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
564 (ispell-message-text-end, ispell-message)
565 (ispell-buffer-local-parsing): Doc fix.
566
f02ff80d
J
5672012-03-13 Jambunathan K <kjambunathan@gmail.com>
568
569 * htmlfontify.el: Add support for code block fontification for ODT
570 export (Bug #9914).
571 (hfy-optimisations): Define new option
572 `body-text-only'
573 (hfy-fontify-buffer): Honor above setting.
574 (hfy-begin-span, hfy-end-span): New routines factored out form
575 `hfy-fontify-buffer'.
576 (hfy-begin-span-handler, hfy-end-span-handler): New variables
577 that permit insertion of custom tags.
578 (hfy-fontify-buffer): Use above handlers.
579 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
580 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 581 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
f02ff80d
J
582 over multiple runs. This is made possible by having the caller let
583 bind a special variable `hfy-user-sheet-assoc'.
584 (htmlfontify-string): New defun.
585 (hfy-compile-face-map): Make sure that the last char in the
586 buffer is correctly fontified.
587 (hfy-face-resolve-face): Whitespace only change.
588
9ac7a13f
EZ
5892012-03-17 Eli Zaretskii <eliz@gnu.org>
590
591 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
592 message more clear.
593
e2b5bdd7
LL
5942012-03-16 Leo Liu <sdl.web@gmail.com>
595
596 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
597
2e492df3
AM
5982012-03-16 Alan Mackenzie <acm@muc.de>
599
600 Further optimise the handling of large macros.
601
602 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
603 limit to a call of `c-literal-limits'.
604 (c-determine-+ve-limit): New function.
dc9924b8
SM
605 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
606 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
607 In CASE 5B, restrict a search limit to 500.
608 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
609
610 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
611 Restrict macro bounds to +-500 from after-change's BEG END.
612
50e94f0c
LL
6132012-03-16 Leo Liu <sdl.web@gmail.com>
614
615 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
616
6f09f6ed
AH
6172012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
618
619 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 620 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 621
c7e73d51
GM
6222012-03-16 Glenn Morris <rgm@gnu.org>
623
da986230
GM
624 * view.el (view-buffer, view-buffer-other-window)
625 (view-buffer-other-frame): Doc fixes re special mode-class.
626
0835f01e
GM
627 * subr.el (eval-after-load): If named feature is provided not from
628 a file, run after-load forms. (Bug#10946)
629
c7e73d51
GM
630 * calendar/calendar.el (calendar-insert-at-column):
631 Handle non-unit-width characters a bit better. (Bug#10978)
632
3f2eafd1
CY
6332012-03-15 Chong Yidong <cyd@gnu.org>
634
635 * emacs-lisp/ring.el (ring-extend): New function.
636 (ring-insert+extend): Extend the ring correctly (Bug#11019).
637
638 * comint.el (comint-read-input-ring)
639 (comint-add-to-input-history): Grow comint-input-ring lazily.
640
103af3fe
SM
6412012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
642
663b1677
SM
643 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
644 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
645
103af3fe
SM
646 * imenu.el: Fix multiple inheritance breakage (bug#9199).
647 (imenu-add-to-menubar): Don't add a redundant index.
648 (imenu-update-menubar): Handle a dynamically composed keymap.
649
899cb7cb
KY
6502012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
651
652 * mail/sendmail.el (mail-encode-header):
653 Bind rfc2047-encode-encoded-words to nil.
654
3809f91d
GM
6552012-03-13 Glenn Morris <rgm@gnu.org>
656
657 * calendar/calendar.el (calendar-string-spread):
658 Handle non-unit-width characters a bit better. (Bug#10978)
659
9e345a01
LL
6602012-03-13 Leo Liu <sdl.web@gmail.com>
661
662 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
663 directory and file as argument (Bug#10822).
664
4a07df36
KS
6652012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
666
667 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
668 For dynamically generated code, follow $PC.
669 (gdb-disassembly-handler-custom): Handle no function name case.
670
4aaa9356
TL
6712012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
672
673 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
674 * emulation/ws-mode.el (ws-query-replace):
675 * sort.el (sort-regexp-fields):
676 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
677
225979da
SM
6782012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
679
680 * dabbrev.el: Fix cycle completion order (bug#10963).
681 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
682 (dabbrev-completion): Don't use an obarray; provide
683 a cycle-sort-function.
684
e2f1fdab
LL
6852012-03-12 Leo Liu <sdl.web@gmail.com>
686
dc9924b8 687 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
688 (kill-do-not-save-duplicates): Doc fix.
689
b19490ed
SM
6902012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
691
692 * dabbrev.el: Fix cycle completion (bug#10963).
693 Use lexical binding and wrap to 80 columns.
694 (dabbrev-completion): Delay computing the list of completions.
695
4b05d722
KH
6962012-03-12 Kenichi Handa <handa@m17n.org>
697
698 * international/quail.el (quail-insert-kbd-layout): Surround each
699 row by LRO and PDF instead of inserting many LRMs. Pad the left
700 and right of each non-spacing marks. Insert invisible space
701 between lower and upper characters to prevent composition.
702
dbbc2e69
SM
7032012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
704
705 * minibuffer.el (minibuffer-complete): Don't get confused when the
706 function is run twice via different commands (bug#10958).
707 (complete-with-action): Fix docstring.
708
292112ed
CY
7092012-03-12 Chong Yidong <cyd@gnu.org>
710
5d1ac394
CY
711 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
712 (nxml-completion-at-point-function): New function.
713 (nxml-mode): Use it.
714 (nxml-bind-meta-tab-to-complete-flag): Default to t.
715
292112ed
CY
716 * emacs-lisp/package.el (package-unpack, package-unpack-single):
717 Load generated autoloads file before byte compiling (Bug#10970).
718 (package--make-autoloads-and-compile): New helper fun.
719
4098f8f7
CS
7202012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
721
722 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
723
8f754691
MA
7242012-03-11 Michael Albinus <michael.albinus@gmx.de>
725
726 * autorevert.el (auto-revert-handler): Ensure, that
727 file-readable-p is applied only for local files or in
728 auto-revert-tail-mode.
729
e29ab36b
AS
7302012-03-11 Andreas Schwab <schwab@linux-m68k.org>
731
dbbc2e69
SM
732 * server.el (server-eval-at): Handle non-tcp connections.
733 Decode result string.
ad0bf5b6 734
e29ab36b
AS
735 * server.el (server-msg-size): New constant.
736 (server-reply-print): New function.
737 (server-eval-and-print): Use it.
738 (server-eval-at): Use server-quote-arg and server-unquote-arg.
739 Handle -print-nonl.
740
de5939ba
CS
7412012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
742
743 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
744 (Bug#10987).
745
0c93eabf
CY
7462012-03-11 Chong Yidong <cyd@gnu.org>
747
397a688f
CY
748 * simple.el (goto-line): Doc fix (Bug#9938).
749
2cc775f9
CY
750 * subr.el (save-window-excursion): Doc fix (Bug#9979).
751
0c93eabf
CY
752 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
753 when finished (Bug#10963).
754
c491fa41
MR
7552012-03-11 Martin Rudalics <rudalics@gmx.at>
756
757 * window.el (split-window-below): Fix bug in case where
758 split-window-keep-point is nil (Bug#10971).
759
300e8fa5
JL
7602012-03-11 Juri Linkov <juri@jurta.org>
761
762 * replace.el (replace-highlight): Set isearch-word to nil
763 unconditionally. (Bug#10887)
764
dbf6c5a1
EZ
7652012-03-10 Eli Zaretskii <eliz@gnu.org>
766
767 * net/mairix.el (mairix-replace-invalid-chars): Rename from
768 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 769 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
770 (mairix-widget-create-query): Add usage information about mairix
771 search forms: negating words, searching for substrings, etc.
772
b9e501de
JP
7732012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
774
775 * international/fontset.el (font-encoding-alist): Add an entry for
776 ksx1001 (Bug#5667).
777
92795c91
RS
7782012-03-10 Richard Stallman <rms@gnu.org>
779
1694e6c1
RS
780 * mail/sendmail.el (mail-encode-header):
781 Set rfc2047-encode-encoded-words.
782
607e8555
RS
783 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
784
de3bc99a
RS
785 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
786 view buffer means not swapped.
787 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
788 (rmail-write-region-annotate): Error if real text has disappeared.
789
92795c91
RS
790 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
791
699bd04e
CY
7922012-03-10 Chong Yidong <cyd@gnu.org>
793
794 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
795 * emulation/cua-base.el (cua--init-keymaps):
796 Add delete-forward-char to remappings (Bug#9666).
699bd04e 797
570a1714
MR
7982012-03-10 Martin Rudalics <rudalics@gmx.at>
799
dbbc2e69
SM
800 * speedbar.el (speedbar-unhighlight-one-tag-line):
801 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 802
82dcf4e4
CY
8032012-03-10 Chong Yidong <cyd@gnu.org>
804
7a2c7ca7
CY
805 * minibuffer.el (completion-in-region, completion-help-at-point):
806 Give the completion field overlay a high priority (Bug#6830).
807
82dcf4e4
CY
808 * dired.el (dired-goto-file): Recognize absolute file name
809 listings (Bug#7126).
810 (dired-goto-file-1): New helper function.
811 (dired-toggle-read-only): Inhibit warnings.
812
052e28ac
MA
8132012-03-09 Michael Albinus <michael.albinus@gmx.de>
814
815 * net/dbus.el: (dbus-property-handler): Return empty array if
816 there are no properties.
817
95d5e396
LL
8182012-03-09 Leo Liu <sdl.web@gmail.com>
819
820 * savehist.el (savehist-printable): Stricter check for string
821 value (Bug#10937).
822
3f018d6d
EZ
8232012-03-09 Eli Zaretskii <eliz@gnu.org>
824
dbbc2e69
SM
825 * mail/smtpmail.el (smtpmail-send-it):
826 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
827 valid mbox format.
828
f7fd3d79
GM
8292012-03-09 Glenn Morris <rgm@gnu.org>
830
831 * files.el (dir-locals-find-file):
832 Don't check result is regular, readable.
833 (dir-locals-read-from-file): Demote errors.
834
6ff6e72f
EZ
8352012-03-08 Eli Zaretskii <eliz@gnu.org>
836
dbbc2e69
SM
837 * international/quail.el (quail-insert-kbd-layout):
838 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
839 layout cell, to prevent their reordering by bidi display engine.
840 For details, see the discussion in
841 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
842
9cec7834
AM
8432012-03-08 Alan Mackenzie <acm@muc.de>
844
845 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
846 the starting position; make it extend the marked region when
847 invoked repeatedly - all under appropriate circumstances.
848 Fixes bugs #5525, #10906.
849
9a40b8d4
GM
8502012-03-08 Glenn Morris <rgm@gnu.org>
851
852 * files.el (locate-dominating-file, dir-locals-find-file):
853 Undo 2012-03-06 change.
854
7a08ed35
EZ
8552012-03-07 Eli Zaretskii <eliz@gnu.org>
856
dbbc2e69
SM
857 * international/quail.el (quail-help):
858 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
859 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
860 for the reason.
861
5aca4f71 8622012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
863
864 Avoid superfluous registering of signals. (Bug#10807)
865
866 * notifications.el (notifications-on-action-object)
867 (notifications-on-close-object): New defvars.
868 (notifications-on-action-signal, notifications-on-closed-signal):
869 Unregister the signal if not needed any longer.
870 (notifications-notify): Register `notifications-action-signal' or
871 `notifications-closed-signal', if :on-action or :on-close has been
872 passed as argument.
873
78e8b10a
CY
8742012-03-07 Chong Yidong <cyd@gnu.org>
875
876 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
877 non-X platforms.
878
69481eb8
GM
8792012-03-06 Glenn Morris <rgm@gnu.org>
880
881 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
882 (x-disown-selection-internal, x-get-selection-internal):
883 Doc fix (add arglist signatures). (Bug#10783)
884
133b8e11
KS
8852012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
886
887 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
888 Handle breakpoints with no "type".
889
99a83064
GM
8902012-03-06 Glenn Morris <rgm@gnu.org>
891
892 * files.el (locate-dominating-file): Add optional predicate argument.
893 (dir-locals-find-file): Make use of above change.
894
17798e78
TTN
8952012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
896
897 * info.el (Info-insert-dir): Also try "dir.gz".
898
eb182446
GM
8992012-03-06 Glenn Morris <rgm@gnu.org>
900
8f2114ee
GM
901 * files.el (dir-locals-find-file):
902 Ignore non-readable or non-regular files. (Bug#10928)
903
eb182446
GM
904 * files.el (locate-dominating-file): Doc fix.
905
24679323
AS
9062012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
907
908 * calendar/calendar.el (calendar-set-mode-line):
909 `getenv' returns a string. (Bug#10951)
910
01d972a9
LL
9112012-03-05 Leo Liu <sdl.web@gmail.com>
912
109aa8a9
LL
913 * simple.el (backward-delete-char-untabify): Constrain point to
914 field (Bug#10939).
915
01d972a9
LL
916 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
917
10607bea
CY
9182012-03-05 Chong Yidong <cyd@gnu.org>
919
920 * simple.el (count-words): If called from Lisp, return the word
921 count, for symmetry with `count-lines'. Arglist changed.
922 (count-words--message): Args changed. Consolidate counting code
923 from count-words and count-words-region.
924 (count-words-region): Caller changed.
925 (count-lines-region): Make it an obsolete alias.
926
5dd11cfe
TH
9272012-03-04 Tassilo Horn <tassilo@member.fsf.org>
928
929 * saveplace.el (save-place-to-alist)
930 (save-place-ignore-files-regexp): Allow value nil to disable this
931 feature.
932
c349f4e6
CY
9332012-03-04 Chong Yidong <cyd@gnu.org>
934
935 * faces.el (face-spec-reset-face): For the default face, reset the
936 attributes to default values (Bug#10748).
937
e627be4c
LMI
9382012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
939
940 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
941 previous patch: Check `message-send-mail-function', and not the
942 default function (bug#10897).
943
ebeabff4
MA
9442012-03-04 Michael Albinus <michael.albinus@gmx.de>
945
a41a6cf4
MA
946 * notifications.el (notifications-on-action-signal)
947 (notifications-on-closed-signal): Check for unique service name of
948 incoming event. Fix error in removing entry.
ebeabff4 949 (top): Register for signals with wildcard service name.
a41a6cf4 950 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 951
c1ca42b4
CY
9522012-03-04 Chong Yidong <cyd@gnu.org>
953
dc9924b8 954 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 955
ea16568d
GM
9562012-03-04 Glenn Morris <rgm@gnu.org>
957
958 * abbrev.el (copy-abbrev-table, abbrev-table-p)
959 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
960 (expand-abbrev, define-abbrev-table): Doc fixes.
961
fbae4637
LMI
9622012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
963
964 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
965 `message-default-send-mail-function' and not `send-mail-function'
966 when doing the prompting for `sendmail-query-once' before sending
967 in Message buffers (bug#10897).
968
a1e7225c
LMI
969 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
970 This is inconsistent with all the other stream functions, which leave
971 the setting up to the higher levels (if so wanted) (bug#10931).
972
56d093a9
AM
9732012-03-02 Alan Mackenzie <acm@muc.de>
974
975 Depessimize the handling of very large macros.
976
977 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
978 (c-macro-cache-syntactic): New variables to implement a one
979 element macro cache.
980 (c-invalidate-macro-cache): New function.
981 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
982 Adapt to use the new cache.
983 (c-state-safe-place): Use better the cache of safe positions.
984 (c-state-semi-nonlit-pos-cache)
985 (c-state-semi-nonlit-pos-cache-limit):
986 New variables for...
987 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
988 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
989 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
990 Use c-state-semi-safe-place.
56d093a9 991
dbbc2e69
SM
992 * progmodes/cc-langs.el (c-get-state-before-change-functions):
993 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 994
817e5c3d
MA
9952012-03-02 Michael Albinus <michael.albinus@gmx.de>
996
dbbc2e69
SM
997 * jka-compr.el (jka-compr-call-process):
998 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
999 not remote.
1000
a032a702
MA
10012012-03-01 Michael Albinus <michael.albinus@gmx.de>
1002
1003 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1004 access of FILE2, if FILE1 does not exist.
1005
99a54f21
MA
1006 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1007 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1008
1009 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1010 Add "PAGER=" to `process-environment'.
1011
f6561e1f
MM
10122012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1013
1014 * progmodes/sql.el: Bug fix
1015 (sql-get-login-ext): Save login values in globals.
1016 (sql-get-login): Use new version of `sql-get-login-ext'.
1017 (sql-interactive-mode): Set global `sql-connection' to nil.
1018 (sql-connect): Set global values for connection.
1019 (sql-product-interactive): Save global values as buffer local.
1020
2d44d9cc
LL
10212012-02-29 Leo Liu <sdl.web@gmail.com>
1022
1023 * abbrev.el (define-abbrevs): Reset sys to nil.
1024
96b49301 10252012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1026
bf7f9bc5
JB
1027 * files.el (file-equal-p): Rename from `files-equal-p'.
1028 Return nil when one or both files don't exist.
96b49301 1029 (file-subdir-of-p): Now only top directory must exists,
1030 return nil if it doesn't.
bf7f9bc5
JB
1031 (copy-directory): No need to test with `file-subdir-of-p' after
1032 creating dir.
1033 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1034 to `file-equal-p'.
96b49301 1035
44e97401
GM
10362012-02-28 Glenn Morris <rgm@gnu.org>
1037
1038 * shell.el (shell-mode):
1039 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1040 * play/landmark.el (landmark-font-lock-face-O):
1041 * play/handwrite.el (handwrite):
1042 * play/gomoku.el (gomoku-O):
1043 * net/browse-url.el (browse-url-browser-display):
1044 * international/mule.el (define-charset):
1045 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1046 * filesets.el (filesets-find-file-delay):
1047 * eshell/em-xtra.el (eshell-xtra):
1048 * eshell/em-unix.el (eshell-grep):
1049 * emulation/viper.el (viper-mode):
1050 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1051 * emacs-lisp/easymenu.el (easy-menu-define):
1052 * calendar/timeclock.el (timeclock-use-display-time):
1053 * bs.el (bs-mode):
1054 * bookmark.el (bookmark-save-flag):
1055 Doc fix (standardize possessive apostrophe usage).
1056
c98c6276
CY
10572012-02-27 Chong Yidong <cyd@gnu.org>
1058
bf7f9bc5
JB
1059 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1060 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 1061
c98c6276
CY
1062 * font-lock.el (font-lock-specified-p): Rename from
1063 font-lock-spec-present. Callers changed.
1064
9c62cd04 10652012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 1066
bf7f9bc5
JB
1067 * emacs-lisp/package.el (package-compute-transaction):
1068 Handle holding a package version to t in package-load-list.
8ac9e529 1069
530739c9
MA
10702012-02-26 Michael Albinus <michael.albinus@gmx.de>
1071
1072 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1073 (tramp-get-inode, tramp-get-device): Use cached values.
1074
487915d7
AM
10752012-02-26 Alan Mackenzie <acm@muc.de>
1076
1077 Check there is a font-lock specification before doing initial
1078 fontification.
1079
1080 * font-core.el (font-lock-mode): Move the conditional from
1081 :after-hook to font-lock-initial-fontify.
1082 (font-lock-default-function): Move the check for a specification
1083 to font-lock-spec-present.
1084
dc9924b8 1085 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
1086 (font-lock-spec-present): New function.
1087
4fd96557
JB
10882012-02-26 Jim Blandy <jimb@red-bean.com>
1089
1090 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1091 (gdb-send): Apply it to the operand of the '-interpreter-exec
1092 console' command, so that we can pass arguments with (say) quotes
1093 in them. Store exact string sent in gdb-debug-log (Bug#10765).
1094
9a4888c0
CY
10952012-02-26 Chong Yidong <cyd@gnu.org>
1096
07498861
CY
1097 * help-fns.el (describe-function-1): Clarify description of
1098 remapping (Bug#10844).
1099
9a4888c0
CY
1100 * files.el (files-equal-p): Doc fix.
1101 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
1102 and quit the loop once a mismatch is found.
1103
ea8fb88d
JB
11042012-02-25 Juanma Barranquero <lekktu@gmail.com>
1105
1106 * bs.el (bs--show-with-configuration): Don't throw an error
1107 if the window cannot be split; otherwise, subsequent calls to
1108 bs-show fail, restoring a stale window config. (Bug#10882)
1109
525795c1
JD
11102012-02-25 Jan Djärv <jan.h.d@swipnet.se>
1111
1112 * term/ns-win.el (global-map): Bind ns-drag-file to
1113 ns-find-file (Bug#5855, Bug#10050).
1114
f008086f
AS
11152012-02-25 Andreas Schwab <schwab@linux-m68k.org>
1116
1117 * calendar/parse-time.el (parse-time-string): Allow extractor to
1118 return nil.
1119
a3fcfa99
MA
11202012-02-25 Michael Albinus <michael.albinus@gmx.de>
1121
91027d08
JB
1122 * net/tramp.el (tramp-file-name-for-operation):
1123 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
1124
1125 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
1126 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1127 Add COPY-CONTENTS argument.
a3fcfa99 1128
67b0de11
CY
11292012-02-25 Chong Yidong <cyd@gnu.org>
1130
1131 Add custom groups for VC backends, for consistency with vc-bzr.
1132
1133 * vc/vc-arch.el (vc-arch):
1134 * vc/vc-cvs.el (vc-cvs):
1135 * vc/vc-git.el (vc-git):
1136 * vc/vc-hg.el (vc-hg):
1137 * vc/vc-mtn.el (vc-mtn):
1138 * vc/vc-rcs.el (vc-rcs):
1139 * vc/vc-sccs.el (vc-sccs):
1140 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1141 All relevant defcustoms reassigned.
1142
3c9dfce6
CY
11432012-02-25 Chong Yidong <cyd@gnu.org>
1144
1339bf43
CY
1145 * newcomment.el (comment-styles): Add autoload (Bug#10868).
1146
3c9dfce6
CY
1147 * term/x-win.el (x-initialize-window-system): Reduce default for
1148 x-selection-timeout to 5 seconds (Bug#8869).
1149
53a46cd0 11502012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 1151
53a46cd0 1152 * files.el (file-subdir-of-p): Fix typo.
14a8a663 1153
25b2e303 11542012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1155
ec70a47d
GM
1156 * files.el (files-equal-p, file-subdir-of-p): New functions.
1157 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 1158 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
1159 * dired-aux.el (dired-copy-file-recursive): Same.
1160 (dired-create-files): Modify destination when source is equal to
1161 dest when copying files.
53a46cd0 1162 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 1163
914260cd
MA
11642012-02-24 Michael Albinus <michael.albinus@gmx.de>
1165
1166 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1167 (Bug#10874)
1168
2cb228f7
AM
11692012-02-23 Alan Mackenzie <acm@muc.de>
1170
1171 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1172 parameter "after-hook:" to allow the expansion to run code after
1173 the execution of the mode hooks.
1174
1175 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 1176 from font-lock-mode-internal.
2cb228f7 1177
91027d08 1178 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
1179 :after-hook.
1180
8f0fde21
SM
11812012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1182
3e88618b
SM
1183 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1184 (completion--cache-all-sorted-completions): New function.
1185 (completion-all-sorted-completions): Use it.
1186 (completion--do-completion, minibuffer-force-complete):
1187 Use it to re-instate the flush hook.
1188
8f0fde21
SM
1189 * icomplete.el (icomplete-completions): Replace last fix with a better
1190 one (bug#10850).
1191
8e911f6f
DG
11922012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1193
1194 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1195 when it might call us back infinitely (bug#10797).
1196
49fe4321
GM
11972012-02-23 Glenn Morris <rgm@gnu.org>
1198
1199 * minibuffer.el (completion-category-overrides): Doc fix.
1200
b291b572
SM
12012012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1202
1203 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1204 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1205
31a9ef2e
GM
12062012-02-23 Glenn Morris <rgm@gnu.org>
1207
5e6e6794 1208 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
1209 (authors-obsolete-files-regexps, authors-ignored-files)
1210 (authors-ambiguous-files, authors-renamed-files-alist):
1211 Add more entries.
1212
0bd1e074
JL
12132012-02-23 Juri Linkov <juri@jurta.org>
1214
1215 * isearch.el (isearch-occur): Sync interactive spec with occur's
1216 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1217
b617673c
JL
1218 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1219
19e9789e
JL
12202012-02-22 Juri Linkov <juri@jurta.org>
1221
1222 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1223 (ucs-insert): Doc fix. Check for hex digits in the string.
1224 Don't display `nil' in the error message. (Bug#10857)
1225
f41ce09d
AM
12262012-02-22 Alan Mackenzie <acm@muc.de>
1227
7a71b18d 1228 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 1229
ac2eceee
GM
12302012-02-22 Glenn Morris <rgm@gnu.org>
1231
1232 * ffap.el (ffap-c-path):
1233 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1234
abd1f678
CY
12352012-02-22 Chong Yidong <cyd@gnu.org>
1236
1237 * custom.el (load-theme): Doc fix.
1238
f25aef2e
GM
12392012-02-22 Glenn Morris <rgm@gnu.org>
1240
1241 * dired-x.el (dired-guess-shell-alist-default):
1242 Remove escape sequences from nroff output. (Bug#172)
1243
5f8dc2ca
GM
12442012-02-21 Glenn Morris <rgm@gnu.org>
1245
6ff86ec4
GM
1246 * vc/emerge.el (emerge-defvar-local):
1247 Set `permanent-local' property rather than unused `preserved'.
1248
be3223a3 1249 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
1250 (picture-mode-map): Use it. (Bug#10860)
1251 (picture-mode): Doc fix.
1252
3fe58f4f
JB
12532012-02-21 Juanma Barranquero <lekktu@gmail.com>
1254
1255 * newcomment.el (uncomment-region-default): Remove unused binding.
1256
f9a998c3
GM
12572012-02-21 Glenn Morris <rgm@gnu.org>
1258
1259 * textmodes/picture.el (picture-motion, picture-motion-reverse)
1260 (picture-self-insert, picture-tab-chars): Doc fix.
1261 (picture-mode-map): Fix C-a, C-e.
1262
c6029348
GM
12632012-02-20 Glenn Morris <rgm@gnu.org>
1264
1265 * emacs-lisp/authors.el (authors-aliases): Add another entry.
1266
ab1ce9d7
LL
12672012-02-20 Leo Liu <sdl.web@gmail.com>
1268
1269 * icomplete.el (icomplete-completions): Check FROM arg before
1270 passing to substring (Bug#10850).
1271
0fd40f89
CY
12722012-02-19 Chong Yidong <cyd@gnu.org>
1273
1274 * comint.el: Require ansi-color.
1275 (comint-output-filter-functions): Add ansi-color-process-output.
1276
1277 * ansi-color.el: Don't set comint-output-filter-functions; it is
1278 now in the initial value defined in comint.el.
1279 (ansi-color-apply-face-function): New variable.
1280 (ansi-color-apply-on-region): Use it.
1281 (ansi-color-apply-overlay-face): New function.
1282
1283 * shell.el (shell): No need to require ansi-color.
1284 (shell-mode): Use ansi-color-apply-face-function to highlight
1285 color escapes using font-lock-face property (Bug#10835).
1286
20af2394
CY
12872012-02-19 Chong Yidong <cyd@gnu.org>
1288
1289 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1290 mode-line formats (Bug#10839).
1291
e23a3fbe
GM
12922012-02-18 Glenn Morris <rgm@gnu.org>
1293
b474519e
GM
1294 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1295
1296 * mail/undigest.el (unforward-rmail-message): Doc fix.
1297
e23a3fbe
GM
1298 * saveplace.el (save-place-ignore-files-regexp): Add :version.
1299
57939ff4
EZ
13002012-02-18 Eli Zaretskii <eliz@gnu.org>
1301
1302 * international/characters.el (script-list): Sync with the latest
1303 Unicode Character Database.
1304
0c23686e
AS
13052012-02-18 Andreas Schwab <schwab@linux-m68k.org>
1306
1307 * international/titdic-cnv.el: Remove duplicate coding tag.
1308 * language/cham.el: Likewise.
1309 * language/tai-viet.el: Likewise.
1310
6818b449
GM
13112012-02-18 Glenn Morris <rgm@gnu.org>
1312
1313 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1314 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1315 (calendar-bahai-all-holidays-flag, calendar-other-dates):
1316 * calendar/diary-lib.el (diary-abbreviated-year-flag):
1317 * calendar/holidays.el (holiday-bahai-holidays)
1318 (calendar-holidays, list-holidays):
1319 Use utf-8 Bahá'í in doc-strings, menus, etc.
1320
0311a3fc
TH
13212012-02-17 Tassilo Horn <tassilo@member.fsf.org>
1322
1323 * saveplace.el (save-place-ignore-files-regexp): New variable
1324 allowing for excluding files from saving their location of point.
1325 The default value matches the temporary commit message editing
1326 files from Git, SVN, Bazaar, and Mercurial.
1327 (save-place-to-alist): Use it.
1328
eb864a71
LM
13292012-02-17 Lawrence Mitchell <wence@gmx.li>
1330 Stefan Monnier <monnier@iro.umontreal.ca>
1331
1332 * newcomment.el (uncomment-region-default): Don't leave extra space
1333 when an arg is provided (bug#8150).
1334
ee0ce425
TZ
13352012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1336
eb864a71 1337 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 1338
95ddf442
GM
13392012-02-17 Glenn Morris <rgm@gnu.org>
1340
1341 * net/socks.el: Require network-stream. (Bug#10599)
1342
48dd1e39 13432012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
1344
1345 * international/charprop.el:
1346 * international/uni-name.el:
1347 * international/uni-old-name.el:
1348 * international/uni-comment.el: Regenerate.
1349
d68cd087
GM
13502012-02-16 Glenn Morris <rgm@gnu.org>
1351
1352 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1353 Interactively in calendar buffer, give an error if not on a date.
1354
13932042
GM
13552012-02-15 Glenn Morris <rgm@gnu.org>
1356
1357 * shell.el (shell-delimiter-argument-list):
1358 Revert 2011-02-17 change. (Bug#8027)
1359
c3a70e2b
CY
13602012-02-15 Chong Yidong <cyd@gnu.org>
1361
60236b0d
CY
1362 * minibuffer.el (completion-at-point-functions): Doc fix.
1363
c3a70e2b
CY
1364 * custom.el (defcustom): Doc fix; note use of defvar.
1365
9f26dc24
GM
13662012-02-15 Glenn Morris <rgm@gnu.org>
1367
1368 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1369 Doc fixes.
1370
6546b134
GM
13712012-02-14 Glenn Morris <rgm@gnu.org>
1372
1373 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1374
d29b2b4c
LI
13752012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
1376
1377 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1378 way the ports list is computed.
835bdcba
LI
1379 (smtpmail-query-smtp-server): Prompt the user for a port number if
1380 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 1381
08dcdbc9
TZ
13822012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
1383
1384 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1385
2605051a
GM
13862012-02-13 Glenn Morris <rgm@gnu.org>
1387
1388 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
1389
7ee99f32
TZ
13902012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1391
1392 * net/gnutls.el (gnutls-trustfiles): New variable.
1393 (gnutls-negotiate): Use it.
1394
5f0af64f
LI
13952012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1396
1397 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1398 does its stuff if Gnus is running.
1399
c14fcc95
AM
14002012-02-13 Alan Mackenzie <acm@muc.de>
1401
1402 Fix a loop in c-set-fl-decl-start.
1403
7a71b18d 1404 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
1405 c-backward-syntactic-ws actually moves backwards.
1406
142b4d90
LL
14072012-02-13 Leo Liu <sdl.web@gmail.com>
1408
1409 * net/rcirc.el (rcirc-markup-attributes): Move point to the
1410 beginning so that all \C-o chars are removed.
1411
fa9958a6
TZ
14122012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1413
dc9924b8 1414 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 1415
0bc5886a
AM
14162012-02-12 Alan Mackenzie <acm@muc.de>
1417
1418 Fix infinite loop with long macros.
1419 * cc-engine.el (c-state-safe-place): Handle macros properly.
1420
d4bd55e7
CY
14212012-02-12 Chong Yidong <cyd@gnu.org>
1422
1423 * window.el (display-buffer): Doc fix (Bug#10785).
1424
66f3fe22
GM
14252012-02-12 Glenn Morris <rgm@gnu.org>
1426
bd7da63e
GM
1427 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1428 (x-disown-selection-internal, x-get-selection-internal):
1429 Sync docs with the xselect.c versions.
1430
66f3fe22
GM
1431 * allout-widgets.el: Add missing license notice.
1432
3e0d2fa7
GM
14332012-02-11 Glenn Morris <rgm@gnu.org>
1434
cfecdf09
GM
1435 * select.el (x-get-selection-internal, x-own-selection-internal)
1436 (x-disown-selection-internal):
1437 * x-dnd.el (x-get-selection-internal): Update declarations.
1438
6d216d7f
GM
1439 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1440
2bed3f04
GM
1441 * window.el (window-sides-slots):
1442 * tool-bar.el (tool-bar-position):
1443 * term/xterm.el (xterm-extra-capabilities):
1444 * ses.el (ses-self-reference-early-detection):
1445 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1446 (verilog-auto-wire-type)
1447 (verilog-auto-delete-trailing-whitespace)
1448 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1449 (verilog-auto-tieoff-declaration):
1450 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1451 (sql-oracle-statement-starters, sql-oracle-scan-on):
1452 * progmodes/prolog.el (prolog-align-comments-flag)
1453 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1454 (prolog-left-indent-regexp, prolog-paren-indent-p)
1455 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1456 (prolog-types, prolog-mode-specificators)
1457 (prolog-determinism-specificators, prolog-directives)
1458 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1459 (prolog-electric-dot-flag)
1460 (prolog-electric-dot-full-predicate-template)
1461 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1462 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1463 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1464 (prolog-program-switches, prolog-prompt-regexp)
1465 (prolog-debug-on-string, prolog-debug-off-string)
1466 (prolog-trace-on-string, prolog-trace-off-string)
1467 (prolog-zip-on-string, prolog-zip-off-string)
1468 (prolog-use-standard-consult-compile-method-flag)
1469 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1470 (prolog-imenu-max-lines, prolog-info-predicate-index)
1471 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1472 (prolog-char-quote-workaround):
1473 * progmodes/cc-vars.el (c-defun-tactic):
1474 * net/tramp.el (tramp-encoding-command-interactive)
1475 (tramp-local-end-of-line):
1476 * net/soap-client.el (soap-client):
1477 * net/netrc.el (netrc-file):
1478 * net/gnutls.el (gnutls):
1479 * minibuffer.el (completion-category-overrides)
1480 (completion-cycle-threshold)
1481 (completion-pcm-complete-word-inserts-delimiters):
1482 * man.el (Man-name-local-regexp):
1483 * mail/feedmail.el (feedmail-display-full-frame):
1484 * international/characters.el (glyphless-char-display-control):
1485 * eshell/em-ls.el (eshell-ls-date-format):
1486 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1487 (lisp-lambda-list-keyword-parameter-indentation)
1488 (lisp-lambda-list-keyword-parameter-alignment):
1489 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1490 * dired-x.el (dired-omit-verbose):
1491 * cus-theme.el (custom-theme-allow-multiple-selections):
1492 * calc/calc.el (calc-highlight-selections-with-faces)
1493 (calc-lu-field-reference, calc-lu-power-reference)
1494 (calc-note-threshold):
1495 * battery.el (battery-mode-line-limit):
1496 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1497 (archive-7z-update):
1498 * allout.el (allout-prefixed-keybindings)
1499 (allout-unprefixed-keybindings)
1500 (allout-inhibit-auto-fill-on-headline)
1501 (allout-flattened-numbering-abbreviation):
1502 * allout-widgets.el (allout-widgets-auto-activation)
1503 (allout-widgets-icons-dark-subdir)
1504 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1505 (allout-widgets-theme-dark-background)
1506 (allout-widgets-theme-light-background)
1507 (allout-widgets-item-image-properties-emacs)
1508 (allout-widgets-item-image-properties-xemacs)
1509 (allout-widgets-run-unit-tests-on-load)
1510 (allout-widgets-time-decoration-activity)
1511 (allout-widgets-hook-error-post-time)
1512 (allout-widgets-track-decoration):
1513 Add missing :version tags to new defcustoms and defgroups.
1514
5fec1b8e
GM
1515 * progmodes/sql.el (sql-ansi-statement-starters)
1516 (sql-oracle-statement-starters): Add custom type.
1517
3e0d2fa7
GM
1518 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1519 (prolog-system-version): Give it a type.
1520
90b671e2
EZ
15212012-02-11 Eli Zaretskii <eliz@gnu.org>
1522
1523 * term/pc-win.el (x-select-text, x-selection-owner-p)
1524 (x-own-selection-internal, x-disown-selection-internal)
1525 (x-get-selection-internal): Sync doc strings and argument lists
1526 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1527
5eac0c02
LL
15282012-02-11 Leo Liu <sdl.web@gmail.com>
1529
1530 * progmodes/python.el (python-end-of-statement): Fix infinite
1531 loop. (Bug#10788)
1532
f82cb659
GM
15332012-02-10 Glenn Morris <rgm@gnu.org>
1534
1535 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1536 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1537
cc26d239
LI
15382012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1539
1540 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1541 about SMTP before checking the From header.
1542
91027d08 1543 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
1544 into own function for reuse by emacsbug.el.
1545
1be3ca5a
LL
15462012-02-10 Leo Liu <sdl.web@gmail.com>
1547
1548 * subr.el (condition-case-unless-debug): Rename from
1549 condition-case-no-debug. All callers changed.
1550 (with-demoted-errors): Fix caller.
1551
1552 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1553 * nxml/rng-valid.el (rng-do-some-validation):
1554 * emacs-lisp/package.el (package-refresh-contents)
1555 (package-menu-execute):
1556 * desktop.el (desktop-create-buffer):
91027d08 1557 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 1558
b011fbfe
GM
15592012-02-10 Glenn Morris <rgm@gnu.org>
1560
b2096d72
GM
1561 * textmodes/bibtex.el:
1562 Add missing :version tags for new/changed defcustoms.
1563
b011fbfe
GM
1564 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1565
4c7e65bf
LI
15662012-02-09 Lars Ingebrigtsen <larsi@rusty>
1567
1568 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1569 (smtpmail-via-smtp): Use it, or fall back on the From address.
1570 (smtpmail-send-it): Ditto.
1571
f3934f6f
SM
15722012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1573
1574 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1575 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1576 (byte-compile-tmp-var): New const.
1577 (byte-compile-defvar): Use it to minimize .elc size.
1578 Just use `defvar' rather than simulate it (bug#10761).
1579
a075a2c5
GM
15802012-02-09 Glenn Morris <rgm@gnu.org>
1581
cf3aa21b
GM
1582 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1583
354998cd
GM
1584 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1585 Add :version tags.
1586
dc9924b8
SM
1587 * progmodes/compile.el (compilation-error-screen-columns)
1588 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 1589
dab3703d
GM
1590 * vc/log-view.el (log-view-toggle-entry-display):
1591 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1592
3f88cd72
GM
1593 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1594 (report-emacs-bug-can-use-xdg-email):
1595 (report-emacs-bug-insert-to-mailer): Doc fixes.
1596 (report-emacs-bug): Message fix.
1597
d95b247d
GM
1598 * net/browse-url.el (browse-url-can-use-xdg-open)
1599 (browse-url-xdg-open): Doc fixes.
1600
a075a2c5
GM
1601 * electric.el (electric-indent-mode, electric-pair-mode)
1602 (electric-layout-rules, electric-layout-mode): Doc fixes.
1603 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1604
ffb6157e
MR
16052012-02-08 Martin Rudalics <rudalics@gmx.at>
1606
1607 * server.el (server-unselect-display): Don't inadvertently kill
1608 the current buffer. (Bug#10729)
1609
e1ac4066
GM
16102012-02-08 Glenn Morris <rgm@gnu.org>
1611
34e8a2da
GM
1612 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1613 (sql-list-table): Doc fixes.
1614
b4ac6e8c
GM
1615 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1616 Comment out (does nothing).
1617
e1ac4066
GM
1618 * completion.el (dynamic-completion-mode):
1619 * dirtrack.el (dirtrack-debug-mode):
1620 * electric.el (electric-layout-mode):
1621 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1622 * face-remap.el (text-scale-mode, buffer-face-mode):
1623 * iimage.el (iimage-mode):
1624 * image-mode.el (image-transform-mode):
1625 * minibuffer.el (completion-in-region-mode):
1626 * scroll-lock.el (scroll-lock-mode):
1627 * simple.el (next-error-follow-minor-mode):
1628 * tar-mode.el (tar-subfile-mode):
1629 * tooltip.el (tooltip-mode):
1630 * vcursor.el (vcursor-use-vcursor-map):
1631 * wid-browse.el (widget-minor-mode):
1632 * emulation/tpu-edt.el (tpu-edt-mode):
1633 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1634 * international/iso-ascii.el (iso-ascii-mode):
1635 * language/thai-util.el (thai-word-mode):
1636 * mail/supercite.el (sc-minor-mode):
1637 * net/goto-addr.el (goto-address-mode):
1638 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1639 * progmodes/cwarn.el (cwarn-mode):
1640 * progmodes/flymake.el (flymake-mode):
1641 * progmodes/glasses.el (glasses-mode):
1642 * progmodes/hideshow.el (hs-minor-mode):
1643 * progmodes/pascal.el (pascal-outline-mode):
1644 * textmodes/enriched.el (enriched-mode):
1645 * vc/smerge-mode.el (smerge-mode):
1646 Doc fixes (minor mode argument).
1647
5e0d957f
EZ
16482012-02-07 Eli Zaretskii <eliz@gnu.org>
1649
1650 * ls-lisp.el (ls-lisp-sanitize): New function.
1651 (ls-lisp-insert-directory): Use it to fix or remove any elements
1652 in file-alist with missing attributes. (Bug#4673)
1653
98d7371e
AM
16542012-02-07 Alan Mackenzie <acm@muc.de>
1655
1656 Fix spurious recognition of c-in-knr-argdecl.
1657
1658 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1659 putative K&R region.
1660
667ced3a
AM
16612012-02-07 Alan Mackenzie <acm@muc.de>
1662
eb864a71
LM
1663 * progmodes/cc-engine.el (c-forward-objc-directive):
1664 Prevent looping in "#pragma mark @implementation".
667ced3a 1665
5b77774d
MA
16662012-02-07 Michael Albinus <michael.albinus@gmx.de>
1667
1668 * notifications.el (notifications-on-closed-signal): Make `reason'
1669 optional. (Bug#10744)
1670
af008560
GM
16712012-02-07 Glenn Morris <rgm@gnu.org>
1672
60d47423
GM
1673 * emacs-lisp/easy-mmode.el (define-minor-mode):
1674 Doc fixes for the macro and the mode it defines.
1675
dd605cc4
GM
1676 * image.el (imagemagick-types-inhibit): Doc fix.
1677
af008560
GM
1678 * cus-start.el (imagemagick-render-type): Add it.
1679
5cc59a37
LI
16802012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1681
1682 * progmodes/cc-mode.el
1683 (c-standard-font-lock-fontify-region-function): Set the default at
1684 load time, too, so that `font-lock-fontify-buffer' can be called
1685 without setting up the entire mode first. This fixes a bug in
1686 `mm-inline-text' with C MIME parts.
1687
9a6dd747
CY
16882012-02-06 Chong Yidong <cyd@gnu.org>
1689
2d16b285
CY
1690 * simple.el (list-processes--refresh): Delete exited processes
1691 (Bug#8094).
1692
171e9b6e
CY
1693 * comint.el (comint-next-prompt): next-single-char-property-change
1694 and prev-single-char-property-change never return nil (Bug#8657).
1695
9a6dd747
CY
1696 * custom.el (defcustom): Doc fix (Bug#9711).
1697
aa4589a7
CY
16982012-02-05 Chong Yidong <cyd@gnu.org>
1699
5c2a252f
CY
1700 * cus-edit.el (custom-variable-reset-backup): Quote the value
1701 before storing it in the customized-value property (Bug#6712).
4aab9006 1702 (custom-display): Add a customization type tag.
983b9602 1703 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 1704
aa4589a7
CY
1705 * wid-edit.el (widget-field-value-get): New optional arg to
1706 suppress trailing whitespace truncation.
1707 (character): Use it (Bug#2689).
1708
1ff980ae
AS
17092012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1710
1711 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1712 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1713
03988c98
CY
17142012-02-05 Chong Yidong <cyd@gnu.org>
1715
eeb6cc88
CY
1716 * cus-edit.el (custom-variable-value-create): For mismatched
1717 types, show the current value (Bug#7600).
1718
03988c98
CY
1719 * custom.el (defcustom): Doc fix.
1720
f8cdeef0
GM
17212012-02-05 Glenn Morris <rgm@gnu.org>
1722
1723 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1724
0696d255
JB
17252012-02-05 Juanma Barranquero <lekktu@gmail.com>
1726
1727 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1728 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1729 (pp-last-sexp): Use `looking-at-p'.
1730
34c99998
GM
17312012-02-04 Glenn Morris <rgm@gnu.org>
1732
8f05da42
GM
1733 * files.el (revert-buffer):
1734 Doc fix (mention revert-buffer-in-progress-p).
1735
f160676e
GM
1736 * emacs-lisp/ert-x.el (ert-simulate-command):
1737 Check deferred-action-list (which is obsolete) is bound.
1738
c7291ad9
GM
1739 * subr.el (with-wrapper-hook): Doc fixes.
1740
34c99998
GM
1741 * simple.el (filter-buffer-substring-functions)
1742 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1743
6283a7d3
LL
17442012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1745
1746 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1747 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1748
e96e3013
LL
17492012-02-04 Leo Liu <sdl.web@gmail.com>
1750
1751 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1752
8ded50f2
GM
17532012-02-04 Glenn Morris <rgm@gnu.org>
1754
82ff1d13
GM
1755 * image.el (image-extension-data): Add obsolete alias.
1756
987a0a16
GM
1757 * isearch.el (isearch-update): Doc fix.
1758
ea32ef46
GM
1759 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1760
8ded50f2
GM
1761 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1762
eea14f31
GM
17632012-02-03 Glenn Morris <rgm@gnu.org>
1764
1765 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1766 (image-animate-timeout): Doc fix.
1767
1768 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1769
12f381b7
GM
17702012-02-02 Glenn Morris <rgm@gnu.org>
1771
953cebf5
GM
1772 * server.el (server-auth-dir): Doc fix.
1773 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1774
12f381b7
GM
1775 * subr.el (run-mode-hooks): Doc fix.
1776
953a8c3b
JL
17772012-02-02 Juri Linkov <juri@jurta.org>
1778
1779 * image-mode.el (image-toggle-display-image): Remove tautological
1780 `major-mode' from the `derived-mode-p' test.
1781
c5d3843c
KH
17822012-02-02 Kenichi Handa <handa@m17n.org>
1783
9f6e692e 1784 * composite.el (compose-region): Cancel previous change.
c5d3843c 1785
159462d4 17862012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
1787
1788 * composite.el (compose-region, compose-string): Signal error for
1789 a null string component (Bug#6988).
1790
9f562668
CY
17912012-02-01 Chong Yidong <cyd@gnu.org>
1792
e2cef717
CY
1793 * view.el (view-buffer-other-window, view-buffer-other-frame):
1794 Handle special modes like view-buffer (Bug#10650).
1795 (view-buffer): Simplify.
1796
9f562668
CY
1797 * frame.el (set-frame-font): Tweak meaning of third argument.
1798
9f6e692e
JB
1799 * dynamic-setting.el (font-setting-change-default-font):
1800 Use set-frame-font (Bug#9982).
9f562668 1801
781acb9f
GM
18022012-02-01 Glenn Morris <rgm@gnu.org>
1803
6035be52
GM
1804 * progmodes/compile.el (compilation-internal-error-properties):
1805 Respect compilation-first-column in the "*compilation*" buffer.
1806
781acb9f
GM
1807 * emacs-lisp/easy-mmode.el (define-minor-mode):
1808 Relax :variable's test for a named function.
1809
abbceb00
AM
18102012-01-31 Alan Mackenzie <acm@muc.de>
1811
1812 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1813 off by one error.
1814
fce3fdeb
CY
18152012-01-31 Chong Yidong <cyd@gnu.org>
1816
1817 * frame.el (set-frame-font): New arg ALL-FRAMES.
1818
1819 * menu-bar.el (menu-set-font): Use set-frame-font.
1820
1821 * faces.el (face-spec-reset-face): Don't apply unspecified
1822 attribute values to the default face.
1823
47893581
JB
18242012-01-31 Juanma Barranquero <lekktu@gmail.com>
1825
1826 * progmodes/cwarn.el (cwarn): Remove dead link.
1827 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1828 Remove * from defcustom docstrings.
1829 (turn-on-cwarn-mode): Make obsolete.
1830 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1831 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1832
e58e988a
GM
18332012-01-31 Glenn Morris <rgm@gnu.org>
1834
60dc2671 1835 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 1836 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 1837 Allow named functions to be used as the cdr of :variable.
e58e988a 1838
7a3f511d
GM
18392012-01-30 Glenn Morris <rgm@gnu.org>
1840
1841 * emacs-lisp/authors.el (authors-fixed-entries):
1842 Remove reference to deleted file rnewspost.el.
1843
cb882333
JB
18442012-01-29 Juanma Barranquero <lekktu@gmail.com>
1845
1846 * window.el (window-with-parameter): Remove unused variable `windows'.
1847 (window--side-check): Remove unused variable `code'.
1848 (window--resize-siblings): Remove unused variable `first'.
1849 (adjust-window-trailing-edge): Remove unused variable `failed'.
1850 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1851 Use `let', not `let*'.
1852 (balance-windows-2): Remove unused variable `found'.
1853 (window--state-put-2): Remove unused variable `splits'.
1854 (window-state-put): Remove unused variable `selected'.
1855 (same-window-p): Use `string-match-p'.
1856 (display-buffer-assq-regexp): Remove unused variable `value'.
1857 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1858 Mark argument ALIST as ignored.
1859 (pop-to-buffer): Remove unused variable `old-window'.
1860
907201af
EZ
18612012-01-29 Eli Zaretskii <eliz@gnu.org>
1862
1863 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1864 and .lzma compressed files.
1865
ea162670
CY
18662012-01-29 Chong Yidong <cyd@gnu.org>
1867
5b95ee8a
CY
1868 * frame.el (window-system-default-frame-alist): Doc fix.
1869
ea162670
CY
1870 * dynamic-setting.el (font-setting-change-default-font): Don't
1871 change the default face if SET-FONT argument is non-nil (Bug#9982).
1872
d6e6f4b1
SB
18732012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
1874
1875 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1876
0f29fa41 18772012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
1878
1879 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1880 breakpoints in files outside current directory (Bug#6098).
1881
db174434
CY
18822012-01-29 Chong Yidong <cyd@gnu.org>
1883
6b25e4e2
SE
1884 * progmodes/python.el: Require ansi-color at top-level.
1885
6df6ae42
JB
1886 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1887 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
1888 (lisp-mode-abbrev-table): Add doc.
1889 (lisp-mode-variables): Don't set local-abbrev-table.
1890 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1891
e70ee681
RW
18922012-01-28 Roland Winkler <winkler@gnu.org>
1893
1894 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1895
ace88aa2
RW
18962012-01-28 Roland Winkler <winkler@gnu.org>
1897
1898 * textmodes/bibtex.el (bibtex-entry-alist): New function.
1899 (bibtex-set-dialect): Use it. Either set global values of
1900 dialect-dependent variables or bind these variables buffer-locally
1901 (Bug#10254).
1902 (bibtex-mode): Call bibtex-set-dialect via
1903 hack-local-variables-hook.
eb864a71
LM
1904 (bibtex-dialect): Update docstring.
1905 Add safe-local-variable predicate.
ace88aa2
RW
1906 (bibtex-entry-alist, bibtex-field-alist): Initialize via
1907 bibtex-set-dialect.
1908 (bibtex-mode-map): Define menu for each dialect.
1909 (bibtex-entry): Fix docstring.
1910
93376c5b
CY
19112012-01-28 Chong Yidong <cyd@gnu.org>
1912
1913 * eshell/esh-arg.el (eshell-quote-argument): New function.
1914
1915 * eshell/esh-ext.el (eshell-invoke-batch-file):
1916 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1917 first arg to eshell-parse-command (Bug#10523).
1918
4372494f
DA
19192012-01-28 Drew Adams <drew.adams@oracle.com>
1920
1921 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1922 `default-directory' is non-nil.
1923
4d4ec1f8
EZ
19242012-01-28 Eli Zaretskii <eliz@gnu.org>
1925
1926 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1927 line that displays system-configuration-options. (Bug#9924)
1928
7c188927
DA
19292012-01-28 Drew Adams <drew.adams@oracle.com>
1930
1931 * descr-text.el (describe-char): Show information about POS, in
1932 addition to information about the character at POS. Improve and
1933 update the doc string. Change "code point" to "code point in
1934 charset", to avoid confusion with the character's Unicode code
1935 point shown above that. (Bug#10129)
1936
e0da685a
EZ
19372012-01-28 Eli Zaretskii <eliz@gnu.org>
1938
1939 * descr-text.el (describe-char): Show the raw character, not only
1940 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
1941 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1942 for the reasons.
1943
70550acf
PH
19442012-01-28 Phil Hagelberg <phil@hagelb.org>
1945
eb864a71
LM
1946 * emacs-lisp/package.el (package-install):
1947 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 1948
0ce8e868
CY
19492012-01-28 Chong Yidong <cyd@gnu.org>
1950
cb882333
JB
1951 * emacs-lisp/package.el (package-maybe-load-descriptor):
1952 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
1953 (package-maybe-load-descriptor): Use it.
1954 (package-download-transaction): Fully load required packages
1955 inside the loop, so that `require' calls work (Bug#10593).
1956 (package-install): No need to call package-initialize now.
1957
2e7f3bea
CY
19582012-01-28 Chong Yidong <cyd@gnu.org>
1959
6e9bad14
CY
1960 * simple.el (deactivate-mark): Doc fix (Bug#8614).
1961
f823b8ca
CY
1962 * tooltip.el (tooltip-mode): Doc fix.
1963 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1964
2680c309
CY
1965 * frame.el (set-cursor-color): Doc fix (Bug#352).
1966
d7a9e63b
CY
1967 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1968 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1969
2e7f3bea
CY
1970 * cus-edit.el (custom-buffer-create-internal): Fix search button
1971 action (Bug#10542).
2ae01800 1972 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 1973
fc4f7a23
EW
19742012-01-27 Eduard Wiebe <usenet@pusto.de>
1975
1976 * dired.el (dired-mark-files-regexp):
1977 Include any subdirectory components. (Bug#10445)
1978
7dd37071
ML
19792012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
1980
1981 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1982 Handle [host]:port syntax. (Bug#10533)
1983
a268160b
AH
19842012-01-27 Alex Harsanyi <harsanyi@mac.com>
1985
1986 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1987
e43273ef
GM
19882012-01-26 Glenn Morris <rgm@gnu.org>
1989
1990 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1991 * term.el (term-raw-escape-map): Use Control-X-prefix.
1992 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
1993
1edf595d
MR
19942012-01-25 Martin Rudalics <rudalics@gmx.at>
1995
1996 * window.el (window-state-get, window--state-get-1): Don't deal
1997 with fixed-sizeness of windows. Simplify code.
1998
fa8eafef
JC
19992012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2000
6df6ae42
JB
2001 * window.el (window--state-get-1, window--state-put-2):
2002 Don't save and restore the mark.
fa8eafef 2003
0b21c100
CY
20042012-01-25 Chong Yidong <cyd@gnu.org>
2005
2006 * custom.el (custom-variable-p): Doc fix.
2007
5ae1a6c8
GM
20082012-01-25 Glenn Morris <rgm@gnu.org>
2009
40047858
GM
2010 * dired.el (dired-goto-file): Handle some of the more common
2011 characters that `ls -b' escapes. (Bug#10596)
2012
5ddce96c
GM
2013 * progmodes/compile.el (compilation-next-error-function):
2014 Respect compilation-first-column in the "*compilation*" buffer.
2015 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2016
5ae1a6c8
GM
2017 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2018
b559f1a9
GM
20192012-01-24 Glenn Morris <rgm@gnu.org>
2020
2021 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2022
6725d21a
JD
20232012-01-24 Julien Danjou <julien@danjou.info>
2024
2025 * color.el (color-rgb-to-hsl): Fix value computing.
2026 (color-hue-to-rgb): New function.
2027 (color-hsl-to-rgb): New function.
2028 (color-clamp, color-saturate-hsl, color-saturate-name)
2029 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2030 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2031
70df4bbe
GM
20322012-01-24 Glenn Morris <rgm@gnu.org>
2033
2034 * vc/vc-rcs.el (vc-rcs-create-tag):
2035 * vc/vc-sccs.el (vc-sccs-create-tag):
2036 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2037
802a2ae2
ML
20382012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2039
2040 * eshell/esh-util.el (eshell-read-hosts-file):
2041 Skip comment lines. (Bug#10549)
2042
d7128bb1
ML
2043 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2044
d1a5c3b4
JB
20452012-01-23 Juanma Barranquero <lekktu@gmail.com>
2046
2724d9c7
JB
2047 * subr.el (display-delayed-warnings): Doc fix.
2048 (collapse-delayed-warnings): New function to collapse identical
2049 adjacent warnings.
2050 (delayed-warnings-hook): Add it.
d1a5c3b4 2051
a5509865
MA
20522012-01-22 Michael Albinus <michael.albinus@gmx.de>
2053
2054 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2055
2056 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2057 properties, when "login-as" is set.
2058
2059 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2060 (tramp-default-user-alist): Don't add "pscp".
2061 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2062 property "login-as", if set. (Bug#10530)
2063
cc6d5805
MA
20642012-01-21 Michael Albinus <michael.albinus@gmx.de>
2065
2066 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2067 "plink1" and "psftp". (Bug#10530)
2068
20692012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
2070
2071 * international/mule-cmds.el (prefer-coding-system): Show a
2072 warning message if the default value of file-name-coding-system
2073 was not changed.
2074
f0960428
JC
20752012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2076
cb882333
JB
2077 * windmove.el (windmove-reference-loc):
2078 Fix windmove-reference-loc miscalculation.
f0960428 2079
dd6f2a63
JB
20802012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2081
2082 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2083 default unit.
2084
7b447e9b
GM
20852012-01-21 Glenn Morris <rgm@gnu.org>
2086
117a9ea1
GM
2087 * international/mule.el (auto-coding-alist): Add .tbz.
2088
7b447e9b
GM
2089 * files.el (local-enable-local-variables): Doc fix.
2090 (inhibit-local-variables-regexps): Rename from
2091 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
2092 Doc fix. Add some extensions from auto-coding-alist.
2093 (inhibit-local-variables-suffixes):
2094 Rename from inhibit-first-line-modes-suffixes. Doc fix.
2095 (inhibit-local-variables-p):
2096 New function, extracted from set-auto-mode-1.
2097 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
2098 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
2099 (hack-local-variables): Doc fix. Make the mode-only case
2100 respect enable-local-variables and friends.
2101 Respect inhibit-local-variables-regexps for file-locals, but
2102 not for directory-locals.
2103 (set-visited-file-name):
2104 Take account of inhibit-local-variables-regexps.
2105 Whether it applies may change as the file name is changed.
2106 * jka-cmpr-hook.el (jka-compr-install):
2107 * jka-compr.el (jka-compr-uninstall):
2108 Update for inhibit-first-line-modes-suffixes name change.
2109
dd6e3cdd
MR
21102012-01-20 Martin Rudalics <rudalics@gmx.at>
2111
2112 * help-macro.el (make-help-screen): Temporarily restore original
2113 binding for minor-mode-map-alist (Bug#10454).
2114
0d0deb38
JD
21152012-01-19 Julien Danjou <julien@danjou.info>
2116
2117 * color.el (color-name-to-rgb): Use the white color to find the max
2118 color component value and return correctly computed values.
2119 (color-name-to-rgb): Add missing float conversion for max value.
2120
34a02f46
MR
21212012-01-19 Martin Rudalics <rudalics@gmx.at>
2122
2123 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
2124 special state value for window-persistent-parameters.
2125 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
2126 (window--state-put-2): Reset all window parameters to nil before
2127 assigning values of persistent parameters.
2128
606c44c4
AM
21292012-01-18 Alan Mackenzie <acm@muc.de>
2130
2131 Eliminate sluggishness and hangs in fontification of "semicolon
2132 deserts".
2133
cb882333
JB
2134 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2135 Change value 10000 -> 3000.
606c44c4
AM
2136 (c-state-safe-place): Reformulate so it doesn't stack up an
2137 infinite number of wrong entries in c-state-nonlit-pos-cache.
2138 (c-determine-limit-get-base, c-determine-limit): New functions to
2139 determine backward search limits disregarding literals.
2140 (c-find-decl-spots): Amend commenting.
2141 (c-cheap-inside-bracelist-p): New function which detects "={".
2142
2143 * progmodes/cc-fonts.el
2144 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2145 backward search.
2146 (c-font-lock-declarations): Fix an occurrence of point being
2147 undefined. Check additionally for point being in a bracelist or
2148 near a macro invocation without a semicolon so as to avoid a
2149 fruitless time consuming search for a declarator. Give a more
2150 precise search limit for declarators using the new
2151 c-determine-limit.
2152
f3860cea
GM
21532012-01-18 Glenn Morris <rgm@gnu.org>
2154
2155 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2156 (set-auto-mode): Doc fixes.
2157
1db03b16
GM
21582012-01-17 Glenn Morris <rgm@gnu.org>
2159
0e6038be
GM
2160 * isearch.el (search-nonincremental-instead): Fix doc typo.
2161
1db03b16
GM
2162 * dired.el (dired-insert-directory): Handle newlines in directory name.
2163 (dired-build-subdir-alist): Unescape newlines in directory name.
2164
4cb0aa75
MA
21652012-01-17 Michael Albinus <michael.albinus@gmx.de>
2166
2167 * net/tramp.el (tramp-local-end-of-line): New defcustom.
2168 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2169 (tramp-action-terminal): Use it. (Bug#10530)
2170
1d00653d
SM
21712012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2172
2173 * minibuffer.el (completion--replace): Strip properties (bug#10062).
2174
6a6ee00d
MR
21752012-01-16 Martin Rudalics <rudalics@gmx.at>
2176
2177 * window.el (window-state-ignored-parameters): Remove variable.
2178 (window--state-get-1): Rename argument MARKERS to IGNORE.
2179 Handle persistent window parameters. Make copy of clone-of
2180 parameter only if requested. (Bug#10348)
2181 (window--state-put-2): Install a window parameter only if it has
2182 a non-nil value or an existing parameter shall be overwritten.
2183
97912def
MA
21842012-01-15 Michael Albinus <michael.albinus@gmx.de>
2185
2186 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2187
688070a5
EZ
21882012-01-14 Eli Zaretskii <eliz@gnu.org>
2189
2190 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2191 don't pass the (nil) value of `upnode' to string-match.
2192
301afadc
CY
21932012-01-14 Chong Yidong <cyd@gnu.org>
2194
2195 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 2196 Fix values recognized by the cursorBlink resource.
301afadc 2197
9e5788aa
PE
21982012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2199
2200 * epg.el (epg--make-temp-file): Avoid permission race condition
2201 when running on old Emacs versions (bug#10403).
2202
3cdb7f5a
GM
22032012-01-14 Glenn Morris <rgm@gnu.org>
2204
2205 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2206
8c82b1b4
AM
22072012-01-13 Alan Mackenzie <acm@muc.de>
2208
2209 Fix filling for when filladapt mode is enabled.
2210
2211 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2212 c-mask-paragraph, pass in `fill-paragraph' rather than
2213 `fill-region-as-paragraph'. (This is a reversion of a previous
2214 change.)
eb864a71
LM
2215 * progmodes/cc-mode.el (c-basic-common-init):
2216 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 2217
e517eda4
GM
22182012-01-13 Glenn Morris <rgm@gnu.org>
2219
1498536e
GM
2220 * dired.el (dired-switches-escape-p): New function.
2221 (dired-insert-directory): Use dired-switches-escape-p.
2222 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2223
e517eda4
GM
2224 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2225
328f984d
GM
22262012-01-12 Glenn Morris <rgm@gnu.org>
2227
2228 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2229 changes in adaptive-fill-regexp. (Bug#10276)
2230
2cc769a8
AM
22312012-01-11 Alan Mackenzie <acm@muc.de>
2232
2233 Fix Emacs bug #10463 - put `widen's around the critical spots.
2234
1d00653d 2235 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
2236 widen around each invocation of c-state-pp-to-literal. Remove an
2237 unused let variable.
2238
e52c37fa
GM
22392012-01-11 Glenn Morris <rgm@gnu.org>
2240
2241 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 2242 Doc fix.
e52c37fa 2243
96f8741e
CY
22442012-01-10 Chong Yidong <cyd@gnu.org>
2245
1d00653d
SM
2246 * net/network-stream.el (network-stream-open-starttls):
2247 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
2248 response to the capability command.
2249
b09a806e
GM
22502012-01-10 Glenn Morris <rgm@gnu.org>
2251
2252 * mail/unrmail.el (unrmail): Tweak previous change.
2253
7655cb66
CY
22542012-01-09 Chong Yidong <cyd@gnu.org>
2255
2256 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2257
9d5a8f0b
AM
22582012-01-08 Alan Mackenzie <acm@muc.de>
2259
2260 Optimise font locking in long enum definitions.
2261
2262 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2263 arm to a cond form to handle enums.
2264 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2265 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2266
9a0115ab 22672012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
2268
2269 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 2270 (Bug#10401)
6bb72cbd 2271
f186bb95
LMI
22722012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2273
29232a68
LMI
2274 * faces.el (set-face-attribute): Clarify the meaning of the nil
2275 frame (bug#10294).
2276
4e5d086d
LMI
2277 * subr.el (with-selected-frame): Mention that the selected frame
2278 is restored (bug#9980).
2279
8e66aebe
LMI
2280 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2281 (bug#9759).
2282
cd394be1 2283 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
2284 (password-read): Don't autoload unused function.
2285
adf4e762
JB
22862012-01-07 Juanma Barranquero <lekktu@gmail.com>
2287
2288 * progmodes/which-func.el (which-func-mode): Turn into a
2289 non-interactive function and mark as obsolete (bug#10428).
2290
89bd9ccd
CY
22912012-01-06 Chong Yidong <cyd@gnu.org>
2292
2293 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2294 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2295 functions, along with 1 and -1.
2296
4afee9d5
EZ
22972012-01-06 Eli Zaretskii <eliz@gnu.org>
2298
2299 * time.el (display-time-load-average)
2300 (display-time-default-load-average): Doc fixes. See the thread
2301 starting at
2302 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2303 for the details.
2304
536aea70
GM
23052012-01-06 Glenn Morris <rgm@gnu.org>
2306
665ae865
GM
2307 * mail/unrmail.el (unrmail): Give an explicit error if the input file
2308 has no messages. (Bug#10377)
2309
c869783d
GM
2310 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2311 than Info-edit. (Bug#10385)
2312
2bb4227e
GM
2313 * time.el (display-time-load-average, display-time-next-load-average):
2314 Doc fixes.
2315
7d5944b9
GM
2316 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2317 local setting of buffer-read-only to the input buffer. (Bug#10419)
2318
536aea70
GM
2319 * calendar/calendar.el (calendar-mode):
2320 Locally set scroll-margin to 0. (Bug#10379)
2321
7dccca16
UM
23222012-01-06 Ulrich Mueller <ulm@gentoo.org>
2323
2324 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
2325
afbb7930
GM
23262012-01-05 Glenn Morris <rgm@gnu.org>
2327
2328 * eshell/em-unix.el (diff-no-select): Autoload it.
2329 (eshell/diff): Use diff-no-select. (Bug#10420)
2330
04482335
CY
23312012-01-05 Chong Yidong <cyd@gnu.org>
2332
7baca3bc
CY
2333 * shell.el (shell-dynamic-complete-functions): Revert last change.
2334 (shell-command-completion-function): New function.
2335 (shell-completion-vars): Use it to implement
2336 shell-completion-execonly (Bug#10417).
2337
04482335
CY
2338 * custom.el (enable-theme): Don't set custom-safe-themes.
2339
1d00653d
SM
2340 * cus-theme.el (custom-theme-merge-theme):
2341 Ignore custom-enabled-themes and custom-safe-themes.
04482335 2342
bb5aa5d6
MM
23432012-01-05 Michael R. Mauger <mmaug@yahoo.com>
2344
2345 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2346 first prompt in `sql-interacive-mode'.
2347 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 2348 keywords.
6df6ae42 2349 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
2350 (sql-product-interactive): Bug fix: Set `sql-buffer' in
2351 context of original buffer. Invoke `sql-login-hook'.
2352
a7183d7c
EZ
23532012-01-04 Eli Zaretskii <eliz@gnu.org>
2354
2355 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2356 letters in cite-prefix.
2357
a1eacd1e
LMI
23582012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2359
2360 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2361
787cdb34
CY
23622012-01-03 Chong Yidong <cyd@gnu.org>
2363
1d00653d
SM
2364 * shell.el (shell-dynamic-complete-functions):
2365 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
2366 comint-filename-completion first (Bug#10417).
2367
30710442
RS
23682012-01-02 Richard Stallman <rms@gnu.org>
2369
2370 * battery.el (battery-status-function):
2371 Detect when to use battery-yeeloong-sysfs.
2372 (battery-echo-area-format): Add string for Yeeloong.
2373 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2374 (battery-yeeloong-sysfs): New function.
2375
f75bfc33
CY
23762012-01-02 Chong Yidong <cyd@gnu.org>
2377
2378 * dirtrack.el (dirtrack-list): Eliminate unused third element.
2379 (dirtrack): Merge code for handling relative filenames in prompt
2380 from shell-dir-cookie-watcher.
2381 (dirtrack-debug-message): New arg to avoid excess format calls.
2382
2383 * shell.el (shell-dir-cookie-re): Variable deleted.
2384 (shell-dir-cookie-watcher): Function deleted.
2385 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2386 with dirtrack-mode.
2387
651e947e
EZ
23882012-01-01 Eli Zaretskii <eliz@gnu.org>
2389
1d00653d
SM
2390 * term/w32-win.el (dynamic-library-alist) <gnutls>:
2391 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
2392 libgnutls-26.dll.
2393
94d4c7dc
AS
23942011-12-31 Andreas Schwab <schwab@linux-m68k.org>
2395
2396 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2397
8d43f3cd
EZ
23982011-12-31 Eli Zaretskii <eliz@gnu.org>
2399
2400 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2401 headers of non-MIME messages, when rmail-enable-mime is non-nil.
2402
98c8795a
MA
24032011-12-29 Michael Albinus <michael.albinus@gmx.de>
2404
2405 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2406 also for alternative shells.
2407 (tramp-open-connection-setup-interactive-shell): Check, whether
2408 the shell is a busybox.
2409 (tramp-send-command): Don't suppress multiple prompts for
2410 busyboxes, it hurts.
2411
51281b32
CY
24122011-12-28 Chong Yidong <cyd@gnu.org>
2413
2414 * progmodes/gdb-mi.el (gdb-get-source-file-list)
2415 (gdb-get-source-file): Move mode line update to
2416 gdb-get-source-file (Bug#10087).
2417
2170cb53
CY
24182011-12-25 Chong Yidong <cyd@gnu.org>
2419
2420 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2421 gud-gdb-marker-filter without taking it as an argument.
2422 (gud-gdb-run-command-fetch-lines): Caller changed.
2423 (gud-gdb-completion-function): New variable.
2424 (gud-gdb-completion-at-point): Use it.
2425 (gud-gdb-completions-1): Split from gud-gdb-completions.
2426
2427 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2428 function as separate arguments.
2429 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2430 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2431 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2432 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2433 (gdb-stopped, def-gdb-auto-update-trigger)
2434 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
2435 (gdb-get-changed-registers, gdb-get-main-selected-frame):
2436 Callers changed.
2170cb53
CY
2437 (gud-gdbmi-completions): New function.
2438 (gdb): Use it for generating the completion table.
2439
be8b11bb
AM
24402011-12-24 Alan Mackenzie <acm@muc.de>
2441
2442 Introduce a mechanism to widen the region used in context font
1d00653d 2443 locking. Use this to protect declarations from losing their contexts.
be8b11bb 2444
1d00653d
SM
2445 * progmodes/cc-langs.el (c-before-font-lock-functions):
2446 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 2447 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
2448 functions to be run just before context (etc.) font locking.
2449
2450 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 2451 New, functionality extracted from
be8b11bb 2452 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 2453 (c-in-after-change-fontification): New variable.
be8b11bb
AM
2454 (c-after-change): Set c-in-after-change-fontification.
2455 (c-set-fl-decl-start): Rejig its interface, so it can be called
2456 from both after-change and context fontifying.
b81d40f0
JB
2457 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2458 New functions.
2459 (c-standard-font-lock-fontify-region-function): New variable.
2460 (c-font-lock-fontify-region): New function.
be8b11bb 2461
341cf6ac
JL
24622011-12-24 Juri Linkov <juri@jurta.org>
2463
2464 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2465 (Bug#10348)
2466
bffcee0a
MA
24672011-12-23 Michael Albinus <michael.albinus@gmx.de>
2468
2469 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2470 existence of source file. (Bug#10325)
2471
cb5e207c
AM
24722011-12-23 Alan Mackenzie <acm@muc.de>
2473
2474 Fix unstable fontification inside templates.
2475
b81d40f0
JB
2476 * progmodes/cc-langs.el (c-before-font-lock-functions):
2477 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
2478 additionally has c-set-fl-decl-start. The other languages (apart
2479 from AWK) have that as a single entry.
2480
b81d40f0
JB
2481 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2482 The functionality for "local" declarations has been extracted to
cb5e207c
AM
2483 c-set-fl-decl-start.
2484
b81d40f0
JB
2485 * progmodes/cc-mode.el (c-common-init, c-after-change):
2486 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
2487 (c-set-fl-decl-start): New function, extracted from
2488 c-font-lock-enclosing-decls and enhanced.
2489
60ff536c
JB
24902011-12-23 Juanma Barranquero <lekktu@gmail.com>
2491
2492 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2493
1c4757d6
JL
24942011-12-22 Juri Linkov <juri@jurta.org>
2495
2496 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
2497
d031f2c7
CY
24982011-12-22 Chong Yidong <cyd@gnu.org>
2499
2500 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2501
bace743a
DA
25022011-12-21 Drew Adams <drew.adams@oracle.com>
2503
2504 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2505
728a1f2b
JC
25062011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2507
2508 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2509
0d373f73
TZ
25102011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2511
fec0aaa4
TZ
2512 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2513 highlighting and support. Fix up comments for capitalization.
2514 (cfengine-mode-debug): New var.
2515 (cfengine3-mode): Change the modeline indicator to "CFE3".
2516 (cfengine3-font-lock-keywords): Improve defun highlighting.
2517 (cfengine2-actions): Rename from `cfengine-actions'.
2518 (cfengine2-font-lock-keywords): Rename from
2519 `cfengine-font-lock-keywords'.
2520 (cfengine2-imenu-expression): Rename from
2521 `cfengine-imenu-expression'.
2522 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2523 (cfengine2-beginning-of-defun): Rename from
2524 `cfengine-beginning-of-defun'.
2525 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2526 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2527 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2528 modeline indicator to "CFE2".
2529 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2530 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 2531
bc86f573
CY
25322011-12-21 Chong Yidong <cyd@gnu.org>
2533
2534 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2535 filename argument.
2536
d45ba96b
MR
25372011-12-20 Martin Rudalics <rudalics@gmx.at>
2538
2539 * window.el (window-normalize-buffer-to-display): Remove.
2540 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2541
a6198c90
CY
25422011-12-19 Chong Yidong <cyd@gnu.org>
2543
2544 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2545 Don't signal an error in a predicate function; return non-nil.
2546 (vc-dir-mark-file): Move the error here.
2547 (vc-dir-mark-unmark): If acting on the region, keep going if one
2548 of the entries cannot be marked/unmarked.
2549 (vc-dir-mark-all-files): If current entry is a directory, mark
2550 only child files, as documented.
2551
34c5fb55
VB
25522011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2553
2554 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2555 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2556 addition.
2557
c803b2b7
JD
25582011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2559
2560 * term/ns-win.el (ns-get-selection-internal)
2561 (ns-store-selection-internal): Declare.
1154d12e
JB
2562 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2563 Declare as obsolete.
2564 (ns-get-pasteboard, ns-paste-secondary):
2565 Use ns-get-selection-internal.
2566 (ns-set-pasteboard, ns-copy-including-secondary):
2567 Use ns-store-selection-internal.
c803b2b7 2568
9cff91f8 25692011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
2570
2571 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 2572 (vc-deduce-fileset): Doc fix.
99a289d9 2573
f16c898a
AS
25742011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2575
2576 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2577
763237c4
SS
25782011-12-13 Sam Steingold <sds@gnu.org>
2579
2580 * man.el (Man-getpage-in-background): When running under a
2581 window-system, ignore $MANWIDTH and $COLUMNS.
2582
5fc1c122
KH
25832011-12-15 Kenichi Handa <handa@m17n.org>
2584
2585 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2586 (setup-ethiopic-environment-internal): Comment out key-binding for
2587 ethio-toggle-punctuation.
2588
13d49cbb
AM
25892011-12-13 Alan Mackenzie <acm@muc.de>
2590
898169a2
AM
2591 Add the switch statement to AWK Mode.
2592
7a71b18d 2593 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
2594 "default" to the keywords regexp.
2595
7a71b18d 2596 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 2597 expression as the rest.
1d00653d
SM
2598 (c-nonlabel-token-key): Allow string literals for AWK.
2599 Refactor for the other modes.
898169a2 2600
13d49cbb 2601 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 2602 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
2603 routines. Limit backward searching in c-font-lock-enclosing.decl.
2604
2605 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2606 pp-state and literal type in addition to the limits.
1d00653d 2607 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 2608 (c-state-literal-at): Use the above new defun.
1d00653d
SM
2609 (c-slow-in-literal, c-fast-in-literal): Remove.
2610 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
2611
2612 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2613 being in a literal. Add a limit for backward searching.
2614
2615 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2616 c-slow-in-literal.
2617
15e0efc7
SM
26182011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2619
2620 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2621
454592a6
MR
26222011-12-13 Martin Rudalics <rudalics@gmx.at>
2623
2624 * window.el (delete-other-windows): Use correct frame in call to
2625 window-with-parameter.
2626
87393f26
DP
26272011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2628
2629 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2630 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2631 (makefile-gmake-statements, makefile-makepp-statements):
2632 Use it and add new makepp keywords.
2633 (makefile-makepp-font-lock-keywords): Add new patterns.
2634 (makefile-match-function-end): Match new [...] and [[...]].
2635
11636b22
JB
26362011-12-11 Juanma Barranquero <lekktu@gmail.com>
2637
2638 * ses.el (ses-call-printer-return, ses-cell-property-get)
2639 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2640 (ses-create-cell-variable, ses-reset-header-string)
2641 (ses-cell-set-formula, ses-repair-cell-reference-all)
2642 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2643 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2644 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2645 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2646 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2647 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2648 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2649 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2650 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2651 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2652 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2653 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2654
cf018193
VB
26552011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2656
2657 * ses.el: The overall change is to add cell renaming, that is
2658 setting fancy names for cell symbols other than name matching
2659 "\\`[A-Z]+[0-9]+\\'" regexp .
2660 (ses-create-cell-variable): New defun.
2661 (ses-relocate-formula): Relocate formulas only for cells the
2662 symbols of which are not renamed, i.e. symbols whose names do not
2663 match regexp "\\`[A-Z]+[0-9]+\\'".
2664 (ses-relocate-all): Relocate values only for cells the symbols of
2665 which are not renamed.
2666 (ses-load): Create cells variables as the (ses-cell ...) are read,
2667 in order to check row col consistency with cell symbol name only
2668 for cells that are not renamed.
2669 (ses-replace-name-in-formula): New defun.
2670 (ses-rename-cell): New defun.
2671
ee957461
CY
26722011-12-11 Chong Yidong <cyd@gnu.org>
2673
2674 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2675 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2676
9a9e9ef0
MR
26772011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2678
2679 * window.el (other-window): Fix docstring.
2680
92a8eba5
EZ
26812011-12-10 Eli Zaretskii <eliz@gnu.org>
2682
2683 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
2684 `from' or `to' address before taking its substring.
2685 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
2686 encoded name is chopped in the middle of the encoded string, and
2687 thus displayed encoded.
2688
e152e577
JB
26892011-12-10 Juanma Barranquero <lekktu@gmail.com>
2690
2691 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2692
e5d84bfe
EZ
26932011-12-10 Eli Zaretskii <eliz@gnu.org>
2694
2695 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2696 to use texinfo-update-node and commands that call it if the
2697 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 2698 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
2699 (texinfo-all-menus-update, texinfo-master-menu)
2700 (texinfo-update-node, texinfo-every-node-update)
2701 (texinfo-multiple-files-update): Doc fix. Warn against updating
2702 all the @node lines.
2703 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
2704 argument is numeric. Explain better in the doc string what the
2705 function really does.
2706 (texinfo-insert-master-menu-list): Improve the error message
2707 displayed if there's no menu in the Top node.
2708 (Bug#2975) See also this thread:
e5d84bfe
EZ
2709 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2710
1d84e9bb
MG
27112011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2712
2713 * speedbar.el (speedbar-supported-extension-expressions):
2714 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2715
382c953b
JB
27162011-12-09 Juanma Barranquero <lekktu@gmail.com>
2717
2718 * printing.el (pr-mode-alist):
2719 * simple.el (filter-buffer-substring-functions)
2720 (completion-list-insert-choice-function):
2721 * window.el (window-with-parameter, window-atom-root)
2722 (window-sides-slots, window-size-fixed, window-min-delta)
2723 (window-max-delta, window--resize-mini-window)
2724 (window--resize-child-windows-normal, window-tree)
2725 (delete-other-windows, quit-window, split-window)
2726 (display-buffer-record-window, special-display-buffer-names)
2727 (special-display-regexps, special-display-popup-frame)
2728 (same-window-p, split-window-sensibly)
2729 (display-buffer-overriding-action, display-buffer-alist)
2730 (display-buffer-base-action, display-buffer, switch-to-buffer)
2731 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2732 (fit-window-to-buffer, recenter-positions)
2733 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2734 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2735 and remove unneeded backslashes in docstrings.
2736
39c9faef
SM
27372011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2738
98449af8
SM
2739 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2740
39c9faef
SM
2741 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2742 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2743 end in ".mk".
2744 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2745 when reading the makefile (bug#10116).
2746
86ed9fdc
SM
27472011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2748
2749 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2750 (bug#10116).
2751
5580f89d
GM
27522011-12-06 Glenn Morris <rgm@gnu.org>
2753
2754 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2755
28d3917c
CY
27562011-12-06 Chong Yidong <cyd@gnu.org>
2757
2758 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2759
a98edce9
JB
27602011-12-06 Juanma Barranquero <lekktu@gmail.com>
2761
2762 * textmodes/table.el (table-shorten-cell): Fix typo.
2763
e65adfac
CG
27642011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2765
2766 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2767
71cc0b74
EZ
27682011-12-05 Eli Zaretskii <eliz@gnu.org>
2769
2770 * descr-text.el (describe-char): Fix display of strong
2771 right-to-left characters and directional embeddings and overrides.
2772
2773 * simple.el (what-cursor-position): Fix display of codepoints of
2774 strong right-to-left characters.
2775
315bc30d
CY
27762011-12-05 Chong Yidong <cyd@gnu.org>
2777
2778 * faces.el (read-color): Doc fix.
2779
58a70b94
GM
27802011-12-05 Glenn Morris <rgm@gnu.org>
2781
2782 * align.el (align--set-marker): Add doc-string.
2783 Don't try to move something that is not a marker. (Bug#10216)
2784
5158face
GM
27852011-12-04 Glenn Morris <rgm@gnu.org>
2786
2787 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2788 overly zealous deletion of trailing whitespace.
2789
520fca41
JB
27902011-12-04 Juanma Barranquero <lekktu@gmail.com>
2791
2792 * server.el (server-delete-client): On Windows, do not try to delete
2793 the only terminal.
2794 (server-process-filter): On Windows, treat requests for a tty frame as
2795 if they were for a GUI frame if the running server is in GUI mode.
2796
5e605a2e
GM
27972011-12-03 Glenn Morris <rgm@gnu.org>
2798
2799 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2800
5c3fe83f
SM
28012011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2802
6f5e57e7
SM
2803 * electric.el: Streamline electric-indent's hook.
2804 (electric-indent-chars): Revert to simple list.
2805 (electric-indent-functions): New var.
2806 (electric-indent-post-self-insert-function): Use it.
2807
5c3fe83f
SM
2808 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2809 there's no inferior buffer (bug#10196).
2810 (prolog-consult-compile): Don't use toggle-read-only.
2811
6bdac736
MA
28122011-12-02 Michael Albinus <michael.albinus@gmx.de>
2813
2814 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2815 interrupt. (Bug#10187)
2816
6131ba7f
SM
28172011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2818
99c79fee
SM
2819 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2820 (bug#9160).
2821
6131ba7f
SM
2822 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2823 (bug#10191).
2824
cb0a02ea
JL
28252011-12-02 Juri Linkov <juri@jurta.org>
2826
2827 * info.el (Info-search): Display "end of manual" when Isearch
2828 reaches the end of single-file Info manual. (Bug#9918)
2829
66e0570c
EZ
28302011-12-02 Eli Zaretskii <eliz@gnu.org>
2831
2832 * isearch.el (isearch-message-prefix): Run the input method part
2833 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2834
02b16839
JL
28352011-12-02 Juri Linkov <juri@jurta.org>
2836
2837 * isearch.el (isearch-occur): Use `word-search-regexp' for
2838 `isearch-word'.
2839 (isearch-search-and-update): Add condition for `isearch-word' and
2840 call `word-search-regexp'. (Bug#10145)
2841
0b950688
GM
28422011-12-01 Glenn Morris <rgm@gnu.org>
2843
2844 * eshell/em-hist.el (eshell-hist-initialize):
2845 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 2846 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 2847
9505c3c7
SM
28482011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2849
2850 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2851
1bbe96b2 28522011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 2853
a1beca85
SM
2854 * progmodes/verilog-mode.el (verilog-pretty-expr):
2855 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
2856 verilog, such as += *= and the like.
2857 (verilog-assignment-operator-re): Regular expression to find the
2858 assigment operator in a verilog assignment.
2859 (verilog-assignment-operation-re): Regular expression to find an
2860 assignment statement for pretty-expr.
2861 (verilog-in-attribute-p): Query returns true if point is in an
2862 attribute context; used to skip these for expression line up from
2863 pretty-expr.
2864 (verilog-in-parameter-p): Query returns true if point is in an
2865 parameter definition context; used to skip these for expression
2866 line up from pretty-expr.
2867 (verilog-in-parenthesis-p): Query returns true if point is in a
2868 parenthetical expression, specifically ( ) but not [ ] or { };
2869 used by pretty-expr.
2870 (verilog-just-one-space): If there is no space, don't add one.
2871 (verilog-get-lineup-indent-2): Specifically skip just attribute
2872 contexts for expression lineup, rather than skipping all
2873 parenthetical expressions.
2874 (verilog-calculate-indent): Fix comment, and fix indent.
2875 (verilog-do-indent): Indent declarations in lists (suggested by
2876 Joachim Lechner).
2877 (verilog-mode-abbrev-table): Populate abbrev mode with the various
2878 skeleton items.
2879 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2880 by Alain Mellan).
2881
1bbe96b2 28822011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
2883
2884 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2885 parameters with embedded comments. Reported by Ray Stevens.
2886 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2887 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2888 Reported by Tim Holt.
2889 (verilog-auto): Fix AUTOing a upper module then AUTOing module
2890 instantiated by upper module causing wrong expansion until AUTOed a
2891 second time. Reported by K C Buckenmaier.
2892 (verilog-diff-auto): Fix showing .* as a difference when
2893 `verilog-auto-star-save' off. Reported by Dan Dever.
2894 (verilog-auto-reset, verilog-read-always-signals)
2895 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2896 temporary signals in reset list if
2897 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
2898 style to each signal's assignment type, bug381.
2899 Reported by Thomas Esposito.
6288f0ca
WS
2900 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2901 (verilog-uvm-statement-re): Support UVM indentation and
2902 highlighting, with old OVM keywords only.
a1beca85 2903 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
2904 Support AUTOTIEOFF creating non-wire data types.
2905 Suggested by Jonathan Greenlaw.
6288f0ca
WS
2906 (verilog-auto-insert-lisp, verilog-delete-to-paren)
2907 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2908 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
2909 (verilog-read-sub-decls, verilog-read-sub-decls-line):
2910 Fix mismatching parenthesis inside commented out code when deleting
382c953b 2911 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
2912 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2913 non-numeric vector width. Reported by Alex Reed.
2914 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 2915 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
2916 (verilog-auto-delete-trailing-whitespace):
2917 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
2918 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
2919 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2920 Fix verilog-scan-cache corruption when running user AUTO expansion
2921 hooks that call indentation routines.
2922 (verilog-simplify-range-expression): Fix typo ignoring lower case
2923 identifiers.
2924 (verilog-delete-auto): Fix delete-autos to also remove user created
2925 automatics, as long as they start with AUTO.
2926 (verilog-batch-diff-auto, verilog-diff-auto)
2927 (verilog-diff-function): Add `verilog-diff-auto' and bind to
2928 "C-c?" to report differences in AUTO expansion, ignoring spaces.
2929 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2930 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
2931 (verilog-re-search-forward-quick, verilog-syntax-ppss):
2932 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
2933 is disabled and its cache will get corrupt, causing AUTOS not to
2934 expand. Instead use only -quick functions.
2935 (verilog-scan-region): Fix scanning over escaped quotes.
2936 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2937 (verilog-re-search-backward-quick)
2938 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2939 related functions now ignore strings, to fix misparsing of strings
2940 with magic comments embedded in them.
a1beca85
SM
2941 (verilog-read-auto-template):
2942 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2943 Reported by Brad Dobbie.
2944 (verilog-read-auto-template):
2945 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 2946 Reported by Brad Dobbie.
6288f0ca
WS
2947 (verilog-auto-inst, verilog-auto-inst-param)
2948 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2949 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
2950 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
2951 debugging templates without merge conflicts, bug357.
2952 Reported by Brad Dobbie.
2953 (verilog-read-auto-template):
2954 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
2955 Reported by Brad Dobbie.
2956 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2957 abbrevs so user won't be asked to save.
2958 (verilog-read-auto-lisp-present): Fix to start at beginning of
2959 buffer in case called outside of verilog-auto.
2960 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2961 to "X-2". Reported by Matthew Myers.
2962 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2963 all inputs from module templates. Reported by Leith Johnson.
2964 (verilog-module-inside-filename-p): Fix locating programs as with
2965 modules.
2966 (verilog-auto-inst-port): Fix vl-width expressions when using
2967 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
2968 (verilog-decls-get-regs, verilog-decls-get-signals,
2969 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2970 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2971 verilog-read-decls): Combine reg and wire structures into one var
2972 structure to represent SystemVerilog concepts.
2973 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2974 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
2975 (verilog-auto-wire-type, verilog-insert-definition):
2976 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
2977 SystemVerilog "logic" keyword instead of "wire"/"reg".
2978 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2979 to declares outputs that also have assignments (presumably in an
a1beca85
SM
2980 ifdef or generate if so there's not a driver conflict).
2981 Reported by Matthew Myers.
2982 (verilog-auto-declare-nettype, verilog-insert-definition):
2983 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
2984 `default_nettype none. Reported by Julian Gorfajn.
2985 (verilog-read-always-signals-recurse, verilog-read-decls)
2986 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2987 malformed end statement, bug325. Reported by Joshua Wise and
2988 Andrew Drake.
2989 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2990 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
2991 when expanding .* in interfaces, bug320.
2992 Reported by Pierre-David Pfister.
6288f0ca 2993 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
2994 name and open parenthesis, bug317.
2995 Reported by Pierre-David Pfister.
6288f0ca
WS
2996 (verilog-simplify-range-expression): Fix simplification of
2997 multiplications inside AUTOWIRE connections, bug303.
2998 (verilog-auto-inst-port): Support parameter expansion in
2999 multidimensional arrays.
3000 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3001 after "assert property". Reported by Julian Gorfajn.
3002 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3003 with multiplication, bug303.
3004 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3005 Reported by Jan Frode Lonnum.
3006
1bbe96b2
GM
30072011-11-30 Juanma Barranquero <lekktu@gmail.com>
3008
3009 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3010 (hfy-shell-file-name, hfy-shell):
3011 * international/fontset.el (x-decompose-font-name): Fix typos.
3012
30132011-11-29 Ken Brown <kbrown@cornell.edu>
3014
3015 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3016 (gdb-version): Remove defvar.
3017 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3018 (gdb-gud-context-command, gdb-non-stop-handler)
3019 (gdb-current-context-command, gdb-stopped): Use it.
3020 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
3021 (gdb-non-stop-handler): Don't enable pretty-printing here.
3022 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
3023 non-stop mode. Use the following.
3024 (gdb-check-target-async): New defun.
3025 (gud-watch, gdb-stopped): Fix whitespace.
3026 (gdb-get-source-file): Don't try to display the source file if
3027 `gdb-main-file' is nil.
3028
30292011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3030
3031 * align.el: Try to generate fewer markers (bug#10047).
3032 (align--set-marker): New macro.
3033 (align-region): Use it.
3034
c935221f
SM
30352011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3036
3037 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3038
e70b5064
CY
30392011-11-29 Chong Yidong <cyd@gnu.org>
3040
3041 * indent.el (indent-for-tab-command, indent-according-to-mode):
3042 Doc fix.
3043 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3044
f3af92b7
MA
30452011-11-29 Michael Albinus <michael.albinus@gmx.de>
3046
3047 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3048 aware of remote file names. (Bug#10124)
3049
ed472be9
CY
30502011-11-29 Chong Yidong <cyd@gnu.org>
3051
3052 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3053
24510c22
SM
30542011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3055
3056 * files.el (find-file): Don't use force-same-window (bug#10144).
3057 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3058 use pop-to-buffer if the selected window can't be used.
3059 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3060
c60c3703
EZ
30612011-11-28 Eli Zaretskii <eliz@gnu.org>
3062
3063 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3064 special-mode-map.
3065
e95def75
CY
30662011-11-28 Chong Yidong <cyd@gnu.org>
3067
3068 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3069
c3f1c606
NR
30702011-11-27 Nick Roberts <nickrob@snap.net.nz>
3071
3072 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3073 gdb-get-source-file-list on gdb-create-source-file-list.
3074
00db469c
EZ
30752011-11-26 Eli Zaretskii <eliz@gnu.org>
3076
3077 * whitespace.el (whitespace-newline): Use a different foreground
3078 color for 16-color light-background displays.
3079
4ad3bc2a
CY
30802011-11-24 Chong Yidong <cyd@gnu.org>
3081
3082 * window.el (display-buffer--special-action): Doc fix.
3083
e9fce1ac
JB
30842011-11-25 Juanma Barranquero <lekktu@gmail.com>
3085
3086 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3087 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3088 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3089 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3090 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3091 (avl-tree-stack-first):
3092 * emacs-lisp/cconv.el (cconv--analyse-use):
3093 * net/gnutls.el (gnutls-negotiate): Fix typos.
3094
cb825e5d
GM
30952011-11-24 Glenn Morris <rgm@gnu.org>
3096
3adbe224
GM
3097 * lpr.el (lpr-windows-system, lpr-lp-system):
3098 * mail/binhex.el (binhex-begin-line):
3099 * progmodes/grep.el (grep-history, grep-find-history):
3100 * textmodes/flyspell.el:
3101 * vc/pcvs-defs.el (cvs-global-menu):
3102 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3103 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3104 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3105
321decc8
GM
3106 * net/tls.el: Fix case of "GnuTLS".
3107
420b63ad
GM
3108 * paths.el (rmail-file-name): Format doc-string for make-docfile.
3109
cb825e5d
GM
3110 * version.el (emacs-build-system): Give it a doc-string.
3111
a0649f08
JL
31122011-11-24 Juri Linkov <juri@jurta.org>
3113
3114 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3115
c0bc0fd4
GM
31162011-11-24 Glenn Morris <rgm@gnu.org>
3117
3118 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3119 if called on a non-mime message just toggle the headers. (Bug#8006)
3120
20db1522
JB
31212011-11-24 Juanma Barranquero <lekktu@gmail.com>
3122
3123 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3124 (allout-lead-with-comment-string, allout-structure-deleted-hook)
3125 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3126 (allout-rebullet-heading, allout-open-sibtopic)
3127 (allout-toggle-current-subtree-encryption)
3128 (allout-toggle-subtree-encryption, allout-encrypt-string)
3129 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3130 (allout-distinctive-bullets-string, allout-auto-activation):
3131 * window.el (window-normalize-buffer-to-display):
3132 * progmodes/verilog-mode.el (verilog-batch-indent):
3133 * textmodes/bibtex.el (bibtex-field-braces-opt)
3134 (bibtex-field-strings-opt):
3135 * vc/cvs-status.el (cvs-tree-merge):
3136 Fix typos.
3137
7262a87c
MA
31382011-11-23 Michael Albinus <michael.albinus@gmx.de>
3139
3140 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3141 `non-essential' to t, in order to avoid remote connections.
3142
283430a1
EZ
31432011-11-23 Eli Zaretskii <eliz@gnu.org>
3144
a1beca85
SM
3145 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3146 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
3147 case-insensitively.
3148
d2992a38
ML
31492011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3150
3151 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
3152
50419064
GM
31532011-11-23 Glenn Morris <rgm@gnu.org>
3154
da94eca1
GM
3155 * paths.el (rmail-file-name): Reformat the doc-string so that it
3156 is picked up.
3157
9aac4de2
GM
3158 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3159 (rmail-auto-file): Ignore case in the "special" field names,
3160 as mail-fetch-field does for all others.
3161
8038d2d2
GM
3162 * mail/rmail.el (rmail-forward):
3163 * mail/rmailkwd.el (rmail-set-label):
3164 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3165 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
3166
f3fe222a
GM
3167 * mail/rmail.el (rmail-current-message): Doc fix.
3168
50419064
GM
3169 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
3170
28109f49
SM
31712011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3172
3173 * server.el (server-eval-and-print): Allow C-g (bug#6585).
3174
394c65f1
GM
31752011-11-22 Glenn Morris <rgm@gnu.org>
3176
3177 * mail/rmailmm.el (test-rmail-mime-handler)
3178 (test-rmail-mime-bulk-handler)
3179 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3180
f2a0aa3a
JL
31812011-11-21 Juri Linkov <juri@jurta.org>
3182
1154d12e
JB
3183 * calc/calc.el (calc-read-key-sequence):
3184 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 3185
9c34a344
LMI
31862011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3187
3188 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3189 Tell the caller that the next line needs recomputation, even
3190 though it doesn't start a sexp (bug#10094).
3191
f04a3be9
SM
31922011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3193
3194 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3195
7978747f
SM
31962011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3197
f04a3be9
SM
3198 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3199 Use force-same-window.
7978747f 3200
fe7a3057
JB
32012011-11-20 Juanma Barranquero <lekktu@gmail.com>
3202
3203 * descr-text.el (describe-char-unicode-data):
3204 * json.el (json-string-escape):
3205 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3206 (Footnote-unicode, Footnote-style-p):
3207 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3208
24901d61
CY
32092011-11-20 Chong Yidong <cyd@gnu.org>
3210
3211 * window.el (replace-buffer-in-windows): Restore interactive spec.
3212
bac7ff22
SM
32132011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3214
24f3d7b9
SM
3215 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3216
bac7ff22
SM
3217 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3218 (byte-compile-global-not-obsolete-vars): New var.
3219 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3220 Use it.
3221 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3222
cd1181db
JB
32232011-11-20 Juanma Barranquero <lekktu@gmail.com>
3224
3225 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3226 * progmodes/pascal.el (electric-pascal-equal):
3227 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3228 * xml.el (xml-substitute-special): Fix typos.
3229
7fb18e9e
GM
32302011-11-20 Glenn Morris <rgm@gnu.org>
3231
3232 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3233 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3234 Doc fixes.
3235 (rmail-decode-mime-charset): Mark as obsolete.
3236
3237 * mail/rmailsum.el (rmail-message-regexp-p-1):
3238 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3239 Before using mime functions, check they are set. (Bug#10077)
3240
d5a6b3ba
JL
32412011-11-19 Juri Linkov <juri@jurta.org>
3242
3243 * info.el (Info-finder-find-node): Use `package--builtins' instead
3244 of `package-alist'. Use node names formed by the pattern "Keyword "
3245 and the keyword name.
3246
e981b61f
AS
32472011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3248
1d00653d 3249 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 3250
3ffbc301
JL
32512011-11-19 Juri Linkov <juri@jurta.org>
3252
3253 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3254 that calls `revert-buffer' on all Info buffers. (Bug#9915)
3255 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3256 `old-history', `old-history-forward'. Add let-binding
3257 `window-selected'. Remove calls to `kill-buffer',
3258 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
3259 before calling `Info-find-node', so `Info-find-node-2' will reread
3260 the Info file. Restore window positions only when `window-selected'
3261 is non-nil.
3262
30c62133
JL
32632011-11-19 Juri Linkov <juri@jurta.org>
3264
3265 * isearch.el (isearch-lazy-highlight-new-loop):
3266 Remove condition `(not isearch-error)'. (Bug#9918)
3267
3268 * misearch.el (multi-isearch-search-fun): Add condition
3269 `(not bound)' to ignore lazy-highlighting search.
3270 Add the search-failed message "end of multi" when the end of
3271 multi-sequence is reached. Uncapitalize the search-failed
3272 message "Repeat for next buffer".
3273
3274 * info.el (Info-search): Add the search-failed message
3275 "end of the manual" when the end of the manual is reached
3276 in Isearch mode.
3277
645ca9cf
JL
32782011-11-19 Juri Linkov <juri@jurta.org>
3279
3280 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3281 Use non-destructive `remove' instead of `delete' because
3282 `Info-history-list' stored to `Info-isearch-initial-history-list' in
3283 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3284
df754f66
JL
32852011-11-19 Juri Linkov <juri@jurta.org>
3286
3287 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3288 to nil instead of binding `search-ring' and `regexp-search-ring'.
3289 (Bug#9185)
3290
0e23d96a
EZ
32912011-11-19 Eli Zaretskii <eliz@gnu.org>
3292
3293 * simple.el (line-move): Force movement by logical lines for any
3294 hscrolled window, not only when auto-hscroll-mode is on.
3295 (line-move-visual): Update doc string to that effect. (Bug#10076)
3296
8a6ccb66
AS
32972011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3298
3299 * language/european.el (macintosh): Define as alias for mac-roman.
3300
49ae5b39
EZ
33012011-11-19 Eli Zaretskii <eliz@gnu.org>
3302
3303 * mail/rmailmm.el (rmail-mime-display-header)
3304 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3305 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3306 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3307 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3308 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3309 of a raw aref.
3310 (rmail-mime-entity-segment): To get past the tagline, move forward
3311 2 more lines, to account for the 2 empty lines that precede and
3312 follow the line with the buttons.
3313 (rmail-mime-update-tagline): Move one more line, to get past the
3314 empty line that follows the buttons in the tagline. (Bug#9520)
3315
c56cad4a
MR
33162011-11-19 Martin Rudalics <rudalics@gmx.at>
3317
3318 * window.el (window-max-delta-1, window-min-delta-1)
3319 (window-min-size-1, window-state-get-1, window-state-put-1)
3320 (window-state-put-2): Use "window--" prefix.
3321
cbe71af3
SM
33222011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3323
2ad52c60
SM
3324 * emacs-lisp/smie.el: Improve warnings and conflict detection.
3325 (smie-warning-count): New var.
3326 (smie-set-prec2tab): Use it.
3327 (smie-bnf->prec2): Improve warnings. Add docstring.
3328 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3329 (smie-bnf--set-class): New function.
3330 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
3331 corner case.
3332
6944dbc1
SM
3333 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3334 (compilation-error-properties, compilation-move-to-column):
3335 Handle compilation-first-column while in the target buffer.
3336
c400c4d7
SM
3337 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3338 Don't hardcode point-min==1.
3339
6dbe3e96
SM
3340 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3341 (eshell-rewrite-for-command): Remove workaround.
3342 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3343 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3344 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3345
cbe71af3
SM
3346 * files-x.el (modify-file-local-variable): Obey commenting conventions.
3347
a8e1496d
GM
33482011-11-17 Glenn Morris <rgm@gnu.org>
3349
3350 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3351 Ignore buffer-local generated-autoload-file if it is the same
3352 as the global value. (Bug#10049)
3353
df85d315
JB
33542011-11-17 Juanma Barranquero <lekktu@gmail.com>
3355
3356 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3357 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3358 (reftex-toc-previous-heading, reftex-toc-max-level)
3359 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3360 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3361 (reftex-toc-do-promote, reftex-toc-promote-prepare)
3362 (reftex-toc-promote-action, reftex-toc-extract-section-number)
3363 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3364 (reftex-toc-rename-label, reftex-toc-visit-location)
3365 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3366 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3367 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3368 leaving "*toc*" only for references to the buffer.
3369
a0c2d0ae
MR
33702011-11-17 Martin Rudalics <rudalics@gmx.at>
3371
3372 * window.el (window-resize, delete-window, split-window):
3373 Replace window-splits by window-combination-resize.
1d00653d 3374 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 3375
35c0bac8
GM
33762011-11-17 Glenn Morris <rgm@gnu.org>
3377
3378 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3379 Make bash entry derive from sh entry, not shell entry.
3380
d0c8fc8a
MA
33812011-11-16 Michael Albinus <michael.albinus@gmx.de>
3382
d0c8fc8a
MA
3383 * net/tramp-cache.el (tramp-flush-file-property): Flush also
3384 properties of linked files. (Bug#9879)
3385
7262a87c
MA
3386 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3387 local file name.
3388
7877f373
JB
33892011-11-16 Juanma Barranquero <lekktu@gmail.com>
3390
3391 * menu-bar.el (menu-bar-file-menu):
3392 * printing.el (pr-ps-utility):
3393 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3394 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3395 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3396 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3397 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3398 (icalendar--convert-cyclic-to-ical)
3399 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3400 (icalendar--convert-ical-to-diary)
3401 (icalendar--convert-recurring-to-diary)
3402 (icalendar--convert-non-recurring-all-day-to-diary)
3403 (icalendar-import-format-sample):
3404 * progmodes/idlw-shell.el (idlwave-shell-mode):
3405 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3406 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3407 (vhdl-ps-print-init): Fix typos.
3408
10649b82
KM
34092011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
3410
9d0cfcd6
GM
3411 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3412 FSF and collapse date sequence, obscure author/maintainer email address
3413 better, remove extra version line, track relocation of author's webpage.
10649b82 3414
9d0cfcd6
GM
3415 * progmodes/python.el (python-pdbtrack-input-prompt)
3416 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3417 regular python pdb prompts. Adjustments shamelessly taken exactly as
3418 suggested in EmacsWiki page (tiny change):
3419 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 3420
58179cce
JB
34212011-11-16 Juanma Barranquero <lekktu@gmail.com>
3422
3423 * expand.el (expand-pos, expand-index, expand-point):
3424 Remove redundant info from docstring.
3425 (expand-add-abbrevs): Doc fix.
3426 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3427 (expand-sample-perl-mode-expand-list): Fix typos.
3428
3429 * net/dbus.el (dbus-event-member-name):
3430 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3431 * term/pc-win.el (msdos-create-frame-with-faces):
3432 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3433
b6f67890
MR
34342011-11-16 Martin Rudalics <rudalics@gmx.at>
3435
3436 * window.el (split-window, window-state-get-1)
3437 (window-state-put-1, window-state-put-2): Rename occurrences of
3438 window-nest to window-combination-limit.
1d00653d 3439 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 3440
ce7ddba0
CY
34412011-11-16 Chong Yidong <cyd@gnu.org>
3442
3443 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3444 regexp (Bug#10033).
3445
3ae704f4
SM
34462011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3447
3448 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3449 `completing-read' will remove *Completions* and will preserve
3450 current-buffer for us.
3451 (tmm-add-prompt): Users of *Completions* will always (re)set its
3452 major mode.
3453 (tmm-old-comp-map): Remove.
3454
6ad1cdde
GM
34552011-11-16 Glenn Morris <rgm@gnu.org>
3456
3457 * mail/rmailedit.el: Require rmailmm when compiling.
3458 (rmail-old-mime-state): New declaration.
3459 (rmail-edit-current-message): If editing a mime message,
3460 edit the "raw" message from the mbox buffer.
3461 (rmail-cease-edit): Handle mime messages. (Bug#9840)
3462
d20faa20
GM
34632011-11-15 Glenn Morris <rgm@gnu.org>
3464
3465 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3466 which wasn't being used. Add optional arg to force given state.
3467 (rmail-mime): Add optional arg to force given state.
3468
c7015153
JB
34692011-11-15 Juanma Barranquero <lekktu@gmail.com>
3470
3471 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3472 * frame.el (display-mm-dimensions-alist):
3473 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3474 (outline-move-subtree-down):
3475 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3476 (newsticker--treeview-do-get-node):
3477 * net/quickurl.el (quickurl-list-buffer-name):
3478 * progmodes/dcl-mode.el (dcl-mode):
3479 * progmodes/gdb-mi.el (gdb-mapcar*):
3480 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3481
45261b50
GM
34822011-11-15 Glenn Morris <rgm@gnu.org>
3483
3484 * mail/rmail.el (rmail-file-coding-system): It's only ever used
3485 in a boolean sense, so just make it a boolean, and fix the doc.
3486 (rmail-show-mime-function, rmail-mime-feature)
3487 (rmail-require-mime-maybe): Doc fixes.
3488 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3489
3490 * mail/rmailmm.el (rmail-show-mime): Doc fix.
3491
0d26e0b6
JB
34922011-11-15 Juanma Barranquero <lekktu@gmail.com>
3493
3494 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3495 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3496 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3497 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3498
447f30f6
GM
34992011-11-15 Glenn Morris <rgm@gnu.org>
3500
672b871d
GM
3501 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3502 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3503 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3504 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3505 (rmail-mime, rmail-show-mime): Doc fixes.
3506
f6aa5bb1
GM
3507 * term/ns-win.el (mode-line-frame-identification):
3508 Leave it alone. (Bug#10051)
3509
947cd66b
GM
3510 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3511
447f30f6
GM
3512 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3513 Handle empty buffers. (Bug#9978)
3514
0b381c7e
JB
35152011-11-14 Juanma Barranquero <lekktu@gmail.com>
3516
3517 * international/mule.el (define-charset):
3518 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3519 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3520 * progmodes/verilog-mode.el (verilog-backward-token):
3521 * textmodes/ispell.el (lookup-words):
3522 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3523
71e027ac
GM
35242011-11-14 Glenn Morris <rgm@gnu.org>
3525
56632ce4
GM
3526 * progmodes/executable.el
3527 (executable-make-buffer-file-executable-if-script-p):
3528 Handle file-modes returning nil.
3529
40500957
GM
3530 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3531 message - not necessary, and causes problems. (Bug#9831)
3532
071c2340
GM
3533 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3534
d3cfca60
GM
3535 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3536
71e027ac
GM
3537 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3538 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
3539 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3540
89d61221
MR
35412011-11-12 Martin Rudalics <rudalics@gmx.at>
3542
3543 * window.el (window-resize, delete-window): Use window-splits
3544 variable instead of function.
3545 (window-state-get-1, window-state-put-2, window-state-put):
3546 Don't deal with windows' splits status.
3547
98282f6f
GM
35482011-11-12 Glenn Morris <rgm@gnu.org>
3549
3550 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3551 (apropos-documentation): Doc fixes.
3552
40a8bdf6
JB
35532011-11-11 Juanma Barranquero <lekktu@gmail.com>
3554
3555 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3556 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3557
65bd19ff
SM
35582011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3559
3560 * electric.el (electric-indent-post-self-insert-function): Make it
3561 possible for a char to only indent in some circumstances.
3562 (electric-indent-mode): Simplify.
3563
54f9154c
MR
35642011-11-11 Martin Rudalics <rudalics@gmx.at>
3565
3566 * window.el (windows-with-parameter): Remove unused function.
3567 (windows-at-side): Rename to window-at-side-list.
3568 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
3569 (window-side-check, window-size-ignore, window-size-fixed-1)
3570 (window-in-direction-2): Prefix with "window--".
3571 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 3572
68cbc58b
GM
35732011-11-11 Glenn Morris <rgm@gnu.org>
3574
3575 * subr.el (eval-after-load): If FILE is already loaded,
3576 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3577
b2621720
GM
35782011-11-10 Glenn Morris <rgm@gnu.org>
3579
9a4de110
GM
3580 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3581 Call svn via vc-svn-command rather than vc-do-command.
3582 (vc-svn-command): Add --non-interactive. (Bug#9993)
3583 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3584
b2621720
GM
3585 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3586 Add toggle-read-only. (Bug#7292)
3587 * files.el (toggle-read-only): Mention that it should only
3588 be used interactively. (Bug#10006)
3589
1dce7193
SM
35902011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3591
d9ac1a1e
SM
3592 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3593 Adjust regexp for OCaml warnings.
3594
0c325082
SM
3595 * electric.el (electric-pair-post-self-insert-function): Let user
3596 turn it off buffer-locally (bug#9932).
3597
90132c14
SM
3598 * progmodes/python.el (python-beginning-of-statement):
3599 Rewrite (bug#2703).
3600
1dce7193
SM
3601 * progmodes/compile.el: Better handle TABs (bug#9749).
3602 (compilation-internal-error-properties)
3603 (compilation-next-error-function): Obey the target buffer's
3604 compilation-error-screen-columns.
3605
c4e7c63a
JB
36062011-11-09 Juanma Barranquero <lekktu@gmail.com>
3607
3608 * progmodes/meta-mode.el: Remove obsolete comments.
3609 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3610 Fix typos in docstrings.
3611
2cffd681
MR
36122011-11-09 Martin Rudalics <rudalics@gmx.at>
3613
3614 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 3615 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
3616 (window--resizable): New function. Make all callers of
3617 window-resizable call window--resizable instead.
3618 (window-resizable): Rewrite in terms of window--resizable.
3619
0edcba87
GM
36202011-11-08 Glenn Morris <rgm@gnu.org>
3621
3622 * progmodes/delphi.el (delphi-mode-syntax-table):
3623 Let define-derived-mode define a proper syntax table. (Bug#9994)
3624
4b0d61e3
SM
36252011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3626
3627 * window.el: Stay away from defsubst.
3628 (window-list-no-nils): Remove.
3629 (window-state-get-1, window-state-get): Use backquote instead.
3630
cd394be1 36312011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 3632
4b0d61e3 3633 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 3634 Fix incorrect use of default argument in `completing-read'.
3635
e1c2c6f2
MR
36362011-11-08 Martin Rudalics <rudalics@gmx.at>
3637
3638 * window.el (display-buffer-function, special-display-function):
3639 Mention display-buffer-record-window but do not mention
3640 help-setup parameter in doc-strings.
b3f4a882 3641 (window-min-delta): Fix doc-string typo.
e1c2c6f2 3642
105216ed
CY
36432011-11-08 Chong Yidong <cyd@gnu.org>
3644
3645 * window.el (window-total-height, window-total-width): Doc fix.
3646 (window-body-size): Move from C.
3647 (window-body-height, window-body-width): Move to C.
3648
0a9f9ab5
SM
36492011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3650
3651 * window.el: Make special-display like display-buffer-alist (bug#9532).
3652 (display-buffer--special-action): New function, morphed
3653 from display-buffer--special.
3654 (display-buffer): Use it to handle special-display-buffers at higher
3655 priority (just after display-buffer-alist).
3656 (display-buffer-fallback-action, display-buffer--other-frame-action)
3657 (pop-to-buffer-same-window): Remove display-buffer--special.
3658
a769dd15
GM
36592011-11-07 Glenn Morris <rgm@gnu.org>
3660
3661 * calendar/cal-menu.el (cal-menu-set-date-title):
3662 Do nothing if not in a calendar. (Bug#9976)
3663
05a61ee3
SM
36642011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3665
3666 * files.el (find-file): Always use selected-window.
3667
be7f5545
MR
36682011-11-07 Martin Rudalics <rudalics@gmx.at>
3669
3670 * window.el (window-combinations): Make WINDOW argument
3671 mandatory. Rewrite doc-string.
3672 (walk-window-subtree, window-atom-check, window-min-delta)
3673 (window-max-delta, window--resize-this-window)
3674 (window--resize-root-window-vertically, window-tree)
3675 (balance-windows, window-state-put): Rewrite doc-strings as to
3676 not mention the term "subwindow".
3677 (window--resize-subwindows-skip-p): Rename to
3678 window--resize-child-windows-skip-p.
3679 (window--resize-subwindows-normal): Rename to
3680 window--resize-child-windows-normal.
3681 (window--resize-subwindows): Rename to
3682 window--resize-child-windows.
3683 (window-or-subwindow-p): Rename to window--in-subtree-p.
3684
3c6702ef
ML
36852011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3686
3687 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3688 Ensure that mbox format messages end in two newlines (Bug#9974).
3689
49745b39
CY
36902011-11-06 Chong Yidong <cyd@gnu.org>
3691
3692 * window.el (window-combination-p): Function deleted; its
3693 side-effect is not used in any existing code.
3694 (window-combinations, window-combined-p): Call window-*-child
3695 directly.
3696
24300f5f
CY
36972011-11-05 Chong Yidong <cyd@gnu.org>
3698
3699 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
3700 (window-size-ignore, window-state-get): Callers changed.
3701 (window-normalize-window): Rename from window-normalize-any-window.
3702 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 3703 (window-normalize-live-window): Delete.
447f16b8
CY
3704 (window-combination-p, window-combined-p, window-combinations)
3705 (walk-window-subtree, window-atom-root, window-min-size)
3706 (window-sizable, window-sizable-p, window-size-fixed-p)
3707 (window-min-delta, window-max-delta, window-resizable)
3708 (window-resizable-p, window-full-height-p, window-full-width-p)
3709 (window-current-scroll-bars, window-point-1, set-window-point-1)
3710 (window-at-side-p, window-in-direction, window-resize)
3711 (adjust-window-trailing-edge, maximize-window, minimize-window)
3712 (window-deletable-p, delete-window, delete-other-windows)
3713 (record-window-buffer, unrecord-window-buffer)
3714 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3715 (quit-window, split-window, window-state-put)
3716 (set-window-text-height, fit-window-to-buffer)
3717 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 3718
89bd5ee1
EZ
37192011-11-04 Eli Zaretskii <eliz@gnu.org>
3720
53479029
EZ
3721 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3722 rfc2047-decode-string.
3723 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3724 warnings.
3725
89bd5ee1
EZ
3726 * window.el (window-body-height, window-body-width): Mention in
3727 the doc string that the return values are in frame's canonical
3728 units. (Bug#9949)
3729
bd17fdee
AM
37302011-11-03 Alan Mackenzie <acm@muc.de>
3731
3732 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3733 change in cc-engine.el.
3734
acc825c5
SM
37352011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3736
3737 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3738
1885e5b8
MR
37392011-11-02 Martin Rudalics <rudalics@gmx.at>
3740
3741 * window.el (quit-window): Call unrecord-window-buffer after
3742 showing another buffer in the window. (Bug#9937)
acc825c5 3743 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 3744
ebe06da9
JB
37452011-11-02 Juanma Barranquero <lekktu@gmail.com>
3746
3747 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3748 Accept status with more than 9 shelves. (Bug#9935)
3749 Reported by Colin D Bennett <colin@gibibit.com>.
3750
4ee88440
MR
37512011-11-01 Martin Rudalics <rudalics@gmx.at>
3752
3753 * help.el (with-help-window): Don't reference
3754 temp-buffer-show-specifiers in doc-string.
3755
08e1d82c
AS
37562011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3757
3758 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3759 menu-item.
3760
84bd6e9e
VJL
37612011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3762
3763 * whitespace.el: New version 13.2.2.
3764 (whitespace-newline-mode): Disable properly. Reported by Sarah
3765 <EmacsWiki>.
3766
dba0634a
UJ
37672011-10-30 Ulf Jasper <ulf.jasper@web.de>
3768
3769 * net/newst-treeview.el: Remove "Time-stamp".
3770 (newsticker--group-manage-orphan-feeds): Do not call
3771 newsticker--treeview-tree-update.
db22a3c2
JB
3772 (newsticker-treeview-update, newsticker-treeview):
3773 Call newsticker--treeview-tree-update if necessary.
dba0634a 3774
3d8daefe
MR
37752011-10-30 Martin Rudalics <rudalics@gmx.at>
3776
3777 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
3778 (window-iso-combinations): Remove "iso-" infix.
3779 Suggested by Chong Yidong.
3d8daefe
MR
3780 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3781 (window-max-delta-1, window-resize, window--resize-siblings)
3782 (window--resize-this-window, adjust-window-trailing-edge)
3783 (split-window, balance-windows-1)
3784 (shrink-window-if-larger-than-buffer):
3785 * calendar/calendar.el (calendar-generate-window):
db22a3c2 3786 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 3787
1bc4c3ae
SM
37882011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3789
3790 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3791 in place (bug#9907).
3792 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3793 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3794 (eshell-structure-basic-command, eshell-rewrite-while-command)
3795 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3796 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3797 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3798 (eshell-do-pipelines-synchronously, eshell-eval-command):
3799 Use backquotes and prefer setq to set.
3800 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3801 (eshell-macrop): Use functionp.
c1e2f5fa 3802 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 3803
30b65d9c
CY
38042011-10-30 Chong Yidong <cyd@gnu.org>
3805
3806 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3807 instead of set-mark (Bug#9810).
3808
2d197ffb
CY
38092011-10-30 Chong Yidong <cyd@gnu.org>
3810
3811 * window.el (split-window-below, split-window-right): Rename from
3812 split-window-above-each-other and split-window-side-by-side
3813 respectively. All callers changed.
3814 (split-window-sensibly, split-window-sensibly): Use them.
3815 (split-window-keep-point): Doc fix.
3816
3817 * isearch.el: Add isearch-scroll property to split-window-below
3818 and split-window-right.
3819
3820 * follow.el (follow-mode):
3821 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3822 * progmodes/ada-xref.el (ada-gdb-application):
3823 * emulation/vip.el (vip-buffer-in-two-windows):
3824 * image-dired.el (image-dired-dired-with-window-configuration):
3825 * dired-x.el (dired-do-find-marked-files):
3826 * dired.el (dired-pop-to-buffer):
3827 * bs.el (bs--show-with-configuration):
3828 * vc/emerge.el (emerge-setup-windows):
3829 * textmodes/two-column.el (2C-two-columns):
3830 * textmodes/reftex-toc.el (reftex-toc):
3831 * progmodes/gdb-mi.el (gdb-setup-windows):
3832 * progmodes/fortran.el (fortran-window-create):
3833 * net/newst-treeview.el (newsticker--treeview-window-init):
3834 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3835 * emulation/tpu-edt.el (tpu-gold-map):
3836 * emulation/crisp.el (crisp-mode-map):
3837 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3838
38bb2ca8
CY
38392011-10-29 Chong Yidong <cyd@gnu.org>
3840
aa4de341
CY
3841 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3842
e1eb5385
CY
3843 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3844
5d2ece3c
CY
3845 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3846 forged Ispell output (Bug#7904).
3847
38bb2ca8
CY
3848 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3849
d0af9f77
SM
38502011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3851
3852 * doc-view.el: Avoid ugly errors about not finding nil.
3853 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3854 (doc-view-dvipdf-program, doc-view-unoconv-program)
3855 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3856 Avoid nil or absolute file name as default value.
3857 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3858
52bedd34
AM
38592011-10-28 Alan Mackenzie <acm@muc.de>
3860
db22a3c2 3861 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 3862
7e43cfa5
AM
38632011-10-28 Alan Mackenzie <acm@muc.de>
3864
3865 Amend the handling of c-beginning/end-of-defun in nested declaration
3866 scopes.
3867
52bedd34
AM
3868 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3869 cc-langs.el. Change it to a defcustom.
7e43cfa5 3870
52bedd34
AM
3871 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3872 cc-vars.el.
7e43cfa5 3873
d0af9f77
SM
3874 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3875 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 3876
52bedd34 3877 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 3878 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
3879 (c-widen-to-enclosing-decl-scope): New function.
3880 (c-while-widening-to-decl-block): New macro.
3881 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3882 outward for defun boundaries, and correspondingly change symbol
3883 `respect-enclosure' to `go-outward'.
3884 (c-declaration-limits): Change algorithm to report only the "innermost"
3885 defun's boundaries.
3886
1a2ce9ee
DD
38872011-10-28 Deniz Dogan <deniz@dogan.se>
3888
3889 * net/rcirc.el (rcirc-mode): Use hard newlines.
3890
bc97a826
AM
38912011-10-28 Alan Mackenzie <acm@muc.de>
3892
3893 Amend to indent and fontify macros "which include their own semicolon"
3894 correctly, using the "virtual semicolon" mechanism.
3895
52bedd34 3896 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 3897
d0af9f77 3898 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 3899 Recode to scan one line at a time rather than having \n and \r
58179cce 3900 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 3901 (c-forward-label): Amend for virtual semicolons.
58179cce 3902 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 3903
52bedd34
AM
3904 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3905 of the new C macros.
bc97a826 3906
52bedd34 3907 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
3908 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3909 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
3910 (c-opt-cpp-macro-define): Make into a full language variable.
3911 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3912 AWK Mode (including \n, \r) removed, no longer needed.
3913
d0af9f77
SM
3914 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3915 Invoke c-make-macro-with-semi-re.
bc97a826 3916
52bedd34
AM
3917 * progmodes/cc-vars.el (c-macro-with-semi-re):
3918 (c-macro-names-with-semicolon): New variables.
58179cce 3919 (c-make-macro-with-semi-re): New function.
bc97a826 3920
7a6c0941
SM
39212011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3922
3923 * vc/log-edit.el: Fill empty field rather than adding new one.
3924 (log-edit-add-field): New function.
3925 (log-edit-insert-changelog): Use it.
3926
b0c4cdcf
ML
39272011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3928
3929 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3930
ee1f1da9
SM
39312011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3932
3933 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3934 (gdb--check-interpreter): New function.
3935 (gdb): Use it.
3936
51bc5f8b
GM
39372011-10-27 Glenn Morris <rgm@gnu.org>
3938
416a2c45
GM
3939 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3940 (least-positive-float, least-negative-float)
3941 (least-positive-normalized-float, least-negative-normalized-float)
3942 (float-epsilon, float-negative-epsilon):
3943 Remove unnecessary declarations.
3944
3945 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3946 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3947 (least-positive-float, least-negative-float)
3948 (least-positive-normalized-float, least-negative-normalized-float)
3949 (float-epsilon, float-negative-epsilon): Add doc-strings,
3950 based on those in cl.texi.
3951
51bc5f8b
GM
3952 * files.el (set-visited-file-name): If the major-mode changed,
3953 reload the local variables. (Bug#9796)
3954
15de15c6
CY
39552011-10-27 Chong Yidong <cyd@gnu.org>
3956
3957 * subr.el (change-major-mode-after-body-hook): New hook.
3958 (run-mode-hooks): Run it.
3959
ee1f1da9
SM
3960 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3961 Use change-major-mode-before-body-hook.
15de15c6
CY
3962
3963 * simple.el (fundamental-mode):
3964 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3965 change introducing fundamental-mode-hook.
3966
5430d399
JB
39672011-10-26 Juanma Barranquero <lekktu@gmail.com>
3968
acc825c5 3969 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 3970
ad74a69e
MA
39712011-10-26 Michael Albinus <michael.albinus@gmx.de>
3972
3973 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 3974 tramp.el explicitly. (Bug#7583)
ad74a69e 3975
71d4c2a5
SM
39762011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3977
3978 * progmodes/octave-mod.el:
3979 * progmodes/octave-inf.el: Update maintainer.
3980
b1f6fa26
CY
39812011-10-26 Chong Yidong <cyd@gnu.org>
3982
3983 * subr.el (with-wrapper-hook): Rewrite doc.
3984
3f04efd6
MA
39852011-10-25 Michael Albinus <michael.albinus@gmx.de>
3986
3987 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 3988 filenames "/method:foo:". (Bug#9793)
3f04efd6 3989
410488d3
SM
39902011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3991
3992 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3993 (bug#9865).
3994
c1ebb47e
GM
39952011-10-24 Glenn Morris <rgm@gnu.org>
3996
3997 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
3998
7f5c46c7
MA
39992011-10-24 Michael Albinus <michael.albinus@gmx.de>
4000
4001 * notifications.el: Add the requirement of a running D-Bus session
4002 bus to the Commentary.
4003
db2440b6
JL
40042011-10-24 Juri Linkov <juri@jurta.org>
4005
4006 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4007 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4008 (Bug#9364)
4009
feecf435
JL
40102011-10-24 Juri Linkov <juri@jurta.org>
4011
4012 * info.el (Info-following-node-name-re): Add newline to the list
4013 of allowed characters for leading space. (Bug#9824)
4014
a3839de2
SM
40152011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4016
acc825c5
SM
4017 * progmodes/octave-inf.el (inferior-octave-mode-map):
4018 Fix C-c C-h binding.
a3839de2
SM
4019 * progmodes/octave-mod.el (octave-help): Remove.
4020
09388e76
MA
40212011-10-23 Michael Albinus <michael.albinus@gmx.de>
4022
4023 Sync with Tramp 2.2.3.
4024
4025 * net/tramp-cache.el (top): Pacify byte-compiler using
4026 `init-file-user' and `site-run-file'.
4027
4028 * net/trampver.el: Update release number.
4029
86c60681
CY
40302011-10-23 Chong Yidong <cyd@gnu.org>
4031
4032 * files.el (toggle-read-only): Remove obsolete comment about
4033 version control.
4034
4035 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4036 for toggle-read-only. Note that this hasn't called vc-next-action
4037 since 2008-05-02, though it wasn't documented at the time.
4038
a3839de2
SM
4039 * vc/ediff-init.el (ediff-toggle-read-only-function):
4040 Use toggle-read-only.
86c60681 4041
cd5495ff
AM
40422011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4043
4044 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4045 of c-parse-state.
4046
00b77525 4047 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 4048 correct faulty logical expression.
cd5495ff
AM
4049 (c-parse-state-state, c-record-parse-state-state):
4050 (c-replay-parse-state-state): New defvar/defuns.
4051 (c-debug-parse-state): Use new functions.
4052
42ee24ed
MR
40532011-10-22 Martin Rudalics <rudalics@gmx.at>
4054
4055 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 4056 last fix. Use window-in-direction correctly.
42ee24ed 4057
a7dee7e7
CY
40582011-10-21 Chong Yidong <cyd@gnu.org>
4059
4060 * progmodes/idlwave.el (idlwave-mode):
4061 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
4062 require-final-newline; that's done in prog-mode.
4063 Suggested by Stefan Monnier.
a7dee7e7 4064
e07b9a6d
MR
40652011-10-21 Martin Rudalics <rudalics@gmx.at>
4066
4067 * mouse.el (mouse-drag-window-above)
4068 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4069 (mouse-drag-mode-line-1, mouse-drag-header-line)
4070 (mouse-drag-vertical-line-rightward-window): Remove.
4071 (mouse-drag-line): New function.
4072 (mouse-drag-mode-line, mouse-drag-header-line)
4073 (mouse-drag-vertical-line): Call mouse-drag-line.
4074 * window.el (window-at-side-p, windows-at-side): New functions.
4075
7e1361d9
UM
40762011-10-21 Ulrich Mueller <ulm@gentoo.org>
4077
4078 * tar-mode.el (tar-grind-file-mode):
4079 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4080
30fcaf3a
CY
40812011-10-21 Chong Yidong <cyd@gnu.org>
4082
4083 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
4084 * progmodes/vera-mode.el (vera-mode):
4085 Use mode-require-final-newline.
30fcaf3a 4086
516eddb0
GM
40872011-10-20 Glenn Morris <rgm@gnu.org>
4088
db22a3c2 4089 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 4090
10d5f513
CS
40912011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
4092
4093 * emulation/cua-base.el (cua-set-mark): Fix case of string.
4094
ac6c8639
CY
40952011-10-20 Chong Yidong <cyd@gnu.org>
4096
4097 * emulation/cua-base.el (cua-mode):
4098 * mail/footnote.el (footnote-mode):
4099 * mail/mailabbrev.el (mail-abbrevs-mode):
4100 * net/xesam.el (xesam-minor-mode):
4101 * progmodes/bug-reference.el (bug-reference-mode):
4102 * progmodes/cap-words.el (capitalized-words-mode):
4103 * progmodes/compile.el (compilation-minor-mode)
4104 (compilation-shell-minor-mode):
4105 * progmodes/gud.el (gud-tooltip-mode):
4106 * progmodes/hideif.el (hide-ifdef-mode):
4107 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4108 * progmodes/subword.el (subword-mode):
4109 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4110 * progmodes/which-func.el (which-function-mode):
4111 * term/tvi970.el (tvi970-set-keypad-mode):
4112 * term/vt100.el (vt100-wide-mode):
4113 * textmodes/flyspell.el (flyspell-mode):
4114 * textmodes/ispell.el (ispell-minor-mode):
4115 * textmodes/nroff-mode.el (nroff-electric-mode):
4116 * textmodes/paragraphs.el (use-hard-newlines):
4117 * textmodes/refill.el (refill-mode):
4118 * textmodes/reftex.el (reftex-mode):
4119 * textmodes/rst.el (rst-minor-mode):
4120 * textmodes/sgml-mode.el (html-autoview-mode)
4121 (sgml-electric-tag-pair-mode):
4122 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4123 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4124 * emulation/crisp.el (crisp-mode):
4125 * emacs-lisp/eldoc.el (eldoc-mode):
4126 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4127 minor mode behavior.
4128
aa42ab43
JL
41292011-10-19 Juri Linkov <juri@jurta.org>
4130
4131 * descr-text.el (describe-char): Add #x2010 and #x2011 to
4132 the list of hard-coded chars with escape-glyph face.
4133
89400f1d
SM
41342011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4135
4136 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4137
305c07f6
MA
41382011-10-19 Michael Albinus <michael.albinus@gmx.de>
4139
4140 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4141 running process.
4142
13754b54
GM
41432011-10-19 Glenn Morris <rgm@gnu.org>
4144
4145 * vc/vc-bzr.el (vc-bzr-after-dir-status):
4146 Ignore ignored files. (Bug#9726)
4147
06e21633
CY
41482011-10-19 Chong Yidong <cyd@gnu.org>
4149
4150 Doc fix for minor modes, stating that an omitted argument enables
4151 the mode unconditionally when called from Lisp.
4152
4153 * abbrev.el (abbrev-mode):
4154 * allout.el (allout-mode):
4155 * autoinsert.el (auto-insert-mode):
4156 * autoarg.el (autoarg-mode, autoarg-kp-mode):
4157 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4158 (global-auto-revert-mode):
4159 * battery.el (display-battery-mode):
4160 * composite.el (global-auto-composition-mode)
4161 (auto-composition-mode):
4162 * delsel.el (delete-selection-mode):
4163 * desktop.el (desktop-save-mode):
4164 * dired-x.el (dired-omit-mode):
4165 * dirtrack.el (dirtrack-mode):
4166 * doc-view.el (doc-view-minor-mode):
4167 * double.el (double-mode):
4168 * electric.el (electric-indent-mode, electric-pair-mode):
4169 * emacs-lock.el (emacs-lock-mode):
4170 * epa-hook.el (auto-encryption-mode):
4171 * follow.el (follow-mode):
4172 * font-core.el (font-lock-mode):
4173 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4174 * help.el (temp-buffer-resize-mode):
4175 * hilit-chg.el (highlight-changes-mode)
4176 (highlight-changes-visible-mode):
4177 * hi-lock.el (hi-lock-mode):
4178 * hl-line.el (hl-line-mode, global-hl-line-mode):
4179 * icomplete.el (icomplete-mode):
4180 * ido.el (ido-everywhere):
4181 * image-file.el (auto-image-file-mode):
4182 * image-mode.el (image-minor-mode):
4183 * iswitchb.el (iswitchb-mode):
4184 * jka-cmpr-hook.el (auto-compression-mode):
4185 * linum.el (linum-mode):
4186 * longlines.el (longlines-mode):
4187 * master.el (master-mode):
4188 * mb-depth.el (minibuffer-depth-indicate-mode):
4189 * menu-bar.el (menu-bar-mode):
4190 * minibuf-eldef.el (minibuffer-electric-default-mode):
4191 * mouse-sel.el (mouse-sel-mode):
4192 * msb.el (msb-mode):
4193 * mwheel.el (mouse-wheel-mode):
4194 * outline.el (outline-minor-mode):
4195 * paren.el (show-paren-mode):
4196 * recentf.el (recentf-mode):
4197 * reveal.el (reveal-mode, global-reveal-mode):
4198 * rfn-eshadow.el (file-name-shadow-mode):
4199 * ruler-mode.el (ruler-mode):
4200 * savehist.el (savehist-mode):
4201 * scroll-all.el (scroll-all-mode):
4202 * scroll-bar.el (scroll-bar-mode):
4203 * server.el (server-mode):
4204 * shell.el (shell-dirtrack-mode):
4205 * simple.el (auto-fill-mode, transient-mark-mode)
4206 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4207 (line-number-mode, column-number-mode, size-indication-mode)
4208 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4209 * strokes.el (strokes-mode):
4210 * time.el (display-time-mode):
4211 * t-mouse.el (gpm-mouse-mode):
4212 * tool-bar.el (tool-bar-mode):
4213 * tooltip.el (tooltip-mode):
4214 * type-break.el (type-break-mode-line-message-mode)
4215 (type-break-query-mode):
4216 * view.el (view-mode):
4217 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4218 (global-whitespace-mode, global-whitespace-newline-mode):
4219 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4220
a3839de2
SM
4221 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4222 Fix autogenerated docstring.
06e21633 4223
5214e501
JL
42242011-10-19 Juri Linkov <juri@jurta.org>
4225
4226 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4227 by checking environment variables "DESKTOP_SESSION" and
4228 "XDG_CURRENT_DESKTOP". (Bug#9779)
4229
195f8db9
JL
42302011-10-19 Juri Linkov <juri@jurta.org>
4231
4232 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4233 (browse-url-chromium-program, browse-url-chromium-arguments):
4234 New defcustoms.
4235 (browse-url-default-browser): Check for `browse-url-chromium' and
4236 call `browse-url-chromium-program'.
4237 (browse-url-chromium): New command. (Bug#9779)
4238
343a34ff
JB
42392011-10-18 Juanma Barranquero <lekktu@gmail.com>
4240
4241 * facemenu.el (list-colors-duplicates): On Windows, detect more
4242 duplicates by assuming that only colors matching "^System" are
4243 special "system colors". (Bug#9722)
4244
6978a151
SM
42452011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4246
4247 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4248 to distinguish the author from the committer.
4249
6a80b297
MA
42502011-10-18 Michael Albinus <michael.albinus@gmx.de>
4251
4252 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4253
b31a5677
JK
42542011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
4255
4256 * international/mule.el (sgml-html-meta-auto-coding-function):
4257 Add support for detecting encoding in HTML5 specified only as
4258 <meta charset="UTF-8">. Implementation just makes http-equiv and
4259 content-type parts from HTML4 encoding string optional. (Bug#9716)
4260
80c6d77f
GM
42612011-10-18 Glenn Morris <rgm@gnu.org>
4262
4263 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
4264
08b0fee8
CY
42652011-10-18 Chong Yidong <cyd@gnu.org>
4266
4267 * faces.el (cursor): Doc fix.
4268
67e729a5
CY
42692011-10-17 Chong Yidong <cyd@gnu.org>
4270
4271 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4272
343a34ff 42732011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
4274
4275 * dirtrack.el (dirtrack): Support shell buffers with path
4276 prefixes, e.g. tramp-based remote shells. (Bug#9647)
4277
0bc06380
TZ
42782011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
4279
4280 * json.el: Bump version to 1.3 and note change in History.
4281 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4282
8b79f3e0
SM
42832011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4284
5a7c536b
SM
4285 * comint.el (comint-insert-input, comint-send-input)
4286 (comint-get-old-input-default, comint-backward-matching-input)
4287 (comint-next-prompt): Use nil instead of `input' for field property of
4288 past user input (bug#114).
4289
96a8a0df
SM
4290 * minibuffer.el (completion--replace): Inherit surrounding properties
4291 (bug#114).
4292 (minibuffer-complete-and-exit): Use it.
4293
8b79f3e0
SM
4294 * comint.el (comint--table-subvert): Quote the all-completions output
4295 (bug#9160).
4296
b8f7ff0d
MR
42972011-10-17 Martin Rudalics <rudalics@gmx.at>
4298
8b79f3e0 4299 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 4300
b8f7ff0d 4301 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 4302 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
4303 entries and separate them from frame entries.
4304
c235b555
GM
43052011-10-15 Glenn Morris <rgm@gnu.org>
4306
4307 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4308 Doc fixes.
4309
6bbfa6e1
CY
43102011-10-15 Chong Yidong <cyd@stupidchicken.com>
4311
8b79f3e0
SM
4312 * net/network-stream.el (network-stream-open-starttls):
4313 Improve detection of failure due to lack of TLS support.
ec5c990d 4314
6bbfa6e1
CY
4315 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4316 putting the input text in front and in bold.
4317
98488977
SM
43182011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4319
3d1337be
SM
4320 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4321
ee0b45e4
SM
4322 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4323 empty buffer.
4324
98488977
SM
4325 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4326 unread-command-events rather than pushing yet-another event.
4327
186f4720
EZ
43282011-10-14 Eli Zaretskii <eliz@gnu.org>
4329
4330 * mail/sendmail.el (sendmail-query-once): Improve the wording of
4331 the explanation of the possible choices. Make the options passed
4332 to completing-read shorter.
4333
8b7a997c
AM
43342011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4335
4336 * textmodes/flyspell.el (flyspell-large-region): Make sure
4337 extended character mode is used if defined (Bug#1339).
4338
12587bbb
EZ
43392011-10-13 Eli Zaretskii <eliz@gnu.org>
4340
4341 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
4342 character info for LRE, LRO, RLE, and RLO characters by appending
4343 an invisible PDF.
12587bbb 4344
bad41229
SM
43452011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
4346
4347 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4348 even in case of error; add debug spec; simplify data flow.
4349 (with-timeout-handler): Remove.
4350
28dbc92f
MA
43512011-10-12 Michael Albinus <michael.albinus@gmx.de>
4352
4353 Fix Bug#6019, Bug#9315.
4354
4355 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4356 complete `buffer-file-name', the local file name part could look
4357 remotely (for example on VMS).
4358
4359 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4360 `tramp-run-real-handler'.
4361 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4362 already quoted by '"'.
4363
4364 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4365 Let `file-name-handler-alist' be nil, the local file name part
4366 could look remotely (for example on VMS).
4367
e1b0b23a
SM
43682011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4369
4370 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4371 from here...
4372 (flyspell-post-command-hook): ...to here.
4373
a120bde9
SM
43742011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4375
4376 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4377 if not needed.
4378 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
4379 using completion. Protect against "slow" callers.
4380 Remove the "message hack".
4381
7ce7717b
JL
43822011-10-11 Juri Linkov <juri@jurta.org>
4383
4384 * isearch.el (isearch-lazy-highlight-word): New variable.
4385 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4386 Use it. (Bug#9727)
4387
c02ee9d6
GM
43882011-10-11 Glenn Morris <rgm@gnu.org>
4389
4390 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4391 like f90-previous-statement does.
4392
93e616fd 43932011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4394
1f190e73 4395 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
4396 only in interactive use, to avoid error.
4397
af7b6078
SM
43982011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4399
4400 * minibuffer.el (completion-file-name-table): Fix last change,
4401 i.e. ignore normal errors but not the other ones.
4402
0563dae9
MR
44032011-10-10 Martin Rudalics <rudalics@gmx.at>
4404
4405 * window.el (special-display-buffer-names)
4406 (special-display-regexps): Remove some remnants of earlier
4407 changes from doc-strings.
366ca7f3
MR
4408 (quit-windows-on): New function.
4409
4410 * vc/vc.el (vc-revert, vc-rollback):
4411 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4412 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 4413 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 4414
49677495
MR
44152011-10-09 Martin Rudalics <rudalics@gmx.at>
4416
4417 * window.el (frame-auto-hide-function): Add version tag.
4418 (Bug#9699)
4419
56f2d1e1
MA
44202011-10-09 Michael Albinus <michael.albinus@gmx.de>
4421
4422 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4423 condition.
4424
112a6592
LL
44252011-10-09 Leo Liu <sdl.web@gmail.com>
4426
4427 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4428 (Bug#9701)
4429
0812589b
GM
44302011-10-08 Glenn Morris <rgm@gnu.org>
4431
4432 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4433 before the first code statement zero indent. (Bug#9690)
4434
b2b0776e
CY
44352011-10-08 Chong Yidong <cyd@stupidchicken.com>
4436
4437 * simple.el (count-words-region): Always count in the region.
4438 Report the number of lines and characters too.
4439 (count-words): New command, which counts in the buffer if the
4440 region is inactive, as count-words-region used to.
4441 (count-words--message): New function. Handle plurals.
4442 (count-lines-region): Make it an alias for count-words-region.
4443
4444 * bindings.el (esc-map): Replace count-lines-region with
4445 count-words-region.
4446
c557cd6b
MR
44472011-10-08 Martin Rudalics <rudalics@gmx.at>
4448
4449 * window.el (window--delete): Delete dedicated frame
4450 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 4451 (switch-to-buffer): Fix doc-string typo.
c557cd6b 4452
61a57ef4 44532011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4454
3a7d293b 4455 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 4456
c3833279
CY
44572011-10-07 Chong Yidong <cyd@stupidchicken.com>
4458
4459 * bindings.el ([M-left],[M-right]): Bind to left-word and
4460 right-word respectively.
4461
21ce8245
GM
44622011-10-07 Glenn Morris <rgm@gnu.org>
4463
4464 * cus-start.el (debug-on-quit): Fix custom type.
4465
6d823bb2
LMI
44662011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4467
0181e193
LMI
4468 * subr.el (define-key-after): Clarify that the function is not
4469 useful for non-menu keymaps.
4470
6d823bb2
LMI
4471 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4472
8e3459ce 44732011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4474
21ce8245 4475 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 4476 in current minibuffer (Fix bug with recursive minibuffers).
4477
a1c2d21e
CY
44782011-10-06 Chong Yidong <cyd@stupidchicken.com>
4479
4480 * progmodes/gdb-mi.el (gdb): Doc fix.
4481
5a4cf282
MR
44822011-10-05 Martin Rudalics <rudalics@gmx.at>
4483
4484 * window.el (frame-auto-hide-function): New option replacing
4485 frame-auto-delete. Suggested by Stefan Monnier.
4486 (window--delete): Call frame-auto-hide-function instead of
4487 investigating frame-auto-delete.
c96111ea
MR
4488 (window-point-1, set-window-point-1): New functions.
4489 (window-in-direction, record-window-buffer, window-state-get-1)
4490 (display-buffer-record-window): Use window-point-1 instead of
4491 window-point.
4492 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 4493
9854542e
SM
44942011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4495
4496 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4497
8943cfb0
GM
44982011-10-05 Glenn Morris <rgm@gnu.org>
4499
4500 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4501 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
4502
647ab967
LL
45032011-10-05 Leo Liu <sdl.web@gmail.com>
4504
4505 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4506 works with buffer object.
4507
3ddfbced
SM
45082011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4509
4510 * mpc.el (mpc-tool-bar-map): Add labels.
4511
bdfa5dd2
GM
45122011-10-04 Glenn Morris <rgm@gnu.org>
4513
4514 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4515
0e2070b5
MR
45162011-10-04 Martin Rudalics <rudalics@gmx.at>
4517
4518 * window.el (window--delete): New function.
4519 (frame-auto-delete): Resuscitate option.
4520 (bury-buffer, replace-buffer-in-windows)
4521 (quit-window): Rewrite using window--delete.
4522 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4523 Pass display-buffer-mark-dedicated to window--display-buffer-2
4524 (Bug#9639).
4525
3dc61a09
SM
45262011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4527
915a9b64
SM
4528 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4529 returns a list (bug#9554). Add remote file name completion.
4530 * comint.el (comint--table-subvert): Curry and get quote&unquote
4531 functions as arguments.
4532 (comint--complete-file-name-data): Adjust call accordingly.
4533 * pcomplete.el (pcomplete--table-subvert): Remove.
4534 (pcomplete-completions-at-point): Use comint--table-subvert instead.
4535
3dc61a09
SM
4536 * minibuffer.el (completion-table-case-fold): Use currying.
4537 (completion--styles-type, completion--cycling-threshold-type):
4538 New constants.
4539 (completion-styles, completion-category-overrides)
4540 (completion-cycle-threshold): Use them.
4541 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4542 completion-table-case-fold.
4543
8ea0a993
SB
45442011-10-03 Stephen Berman <stephen.berman@gmx.net>
4545
4546 * minibuffer.el (completion-category-overrides): Fix type of styles
4547 and add more user friendly tags (bug#9660).
4548
8c24b7f6
SM
45492011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4550
4551 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4552 (mule-input-method-string): New widget.
4553 (default-input-method, language-info-custom-alist): Use it.
4554
428fe61a
SM
45552011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4556
32c1fffd
SM
4557 * pcomplete.el: Require comint.
4558 (pcomplete--common-suffix): Remove.
4559 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4560 (pcomplete--table-subvert): Sync with comint--table-subvert.
4561 (pcomplete--entries): Use comint-completion-file-name-table.
4562 * comint.el (comint-unquote-filename): Simplify.
4563 (comint-completion-file-name-table): New function (bug#9616).
4564 (comint--complete-file-name-data): Use it.
4565
428fe61a
SM
4566 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4567 (pcmpl-gnu-tar-buffer): Remove.
4568 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
4569 around. Make sure pcomplete-suffix-list is only changed temporarily.
4570 Don't look inside the tar's file if it's too large.
428fe61a 4571
04c52e2f
CY
45722011-10-01 Chong Yidong <cyd@stupidchicken.com>
4573
ce3cefcc
CY
4574 * cus-edit.el (custom-mode-map):
4575 * epa.el (epa-key-list-mode-map):
4576 * man.el (Man-mode-map):
4577 * startup.el (splash-screen-keymap):
4578 * simple.el (special-mode-map): Use scroll-up-command and
4579 scroll-down-command.
4580
4581 * progmodes/idlw-help.el (idlwave-help-mode-map):
4582 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4583 * net/newst-plainview.el (newsticker-mode-map):
4584 * emulation/ws-mode.el (wordstar-mode-map):
4585 * emulation/vi.el (vi-com-map):
4586 * calc/calc-graph.el (calc-graph-show-dumb):
4587 * term/sun.el (terminal-init-sun):
4588 * term/ns-win.el (global-map):
4589 * progmodes/grep.el (grep-mode-map):
4590 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4591 * mail/rmail.el (rmail-mode-map):
4592 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4593
04c52e2f
CY
4594 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4595 custom-safe-themes as special.
4596
79adf8c8
JD
45972011-10-01 Julien Danjou <julien@danjou.info>
4598
4599 * notifications.el (notifications-notify): Fix docstring.
4600
63bd50d3
PS
46012011-10-01 Per Starbäck <per@starback.se>
4602
4603 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4604
199e4c7e
MR
46052011-09-30 Martin Rudalics <rudalics@gmx.at>
4606
4607 * startup.el (command-line-1): Fix last fix by inserting
4608 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 4609 (Bug#9605) and (Bug#9636)
199e4c7e 4610
fe5f08dd
EZ
46112011-09-29 Eli Zaretskii <eliz@gnu.org>
4612
4613 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4614 window is hscrolled, move by logical lines. (Bug#9607)
4615 (line-move-visual): Update the doc string to the above effect.
4616
b5516bbd
MR
46172011-09-29 Martin Rudalics <rudalics@gmx.at>
4618
ccee00c0
MR
4619 * window.el (display-buffer-record-window): When WINDOW is the
4620 selected window use `point' instead of `window-point'. (Bug#9626)
4621
b5516bbd
MR
4622 * startup.el (command-line-1): Use insert-before-markers when
4623 inserting initial-scratch-message. (Bug#9605)
ccee00c0 4624
b5516bbd
MR
4625 * help.el (help-window): Remove variable.
4626
52aa0014
GM
46272011-09-29 Glenn Morris <rgm@gnu.org>
4628
4629 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4630
df9a7357
JB
46312011-09-29 Juanma Barranquero <lekktu@gmail.com>
4632
4633 * descr-text.el (describe-char-categories): Accept category
4634 descriptions more than one line long.
4635
a8406c20
SM
46362011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4637
88d9610c
SM
4638 * simple.el (delete-trailing-whitespace): Fix last change.
4639
a5daf810
SM
4640 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4641 Don't confuse "y => 3" as the beginning of a `y' operation.
4642
a8406c20
SM
4643 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4644 object has more than 4 slots (bug#9613).
4645
a239d4e9
JB
46462011-09-28 Juanma Barranquero <lekktu@gmail.com>
4647
4648 * subr.el (with-output-to-temp-buffer):
4649 * net/quickurl.el (quickurl, quickurl-browse-url):
4650 Fix typos in docstrings.
4651
693fbdb6
EZ
46522011-09-27 Eli Zaretskii <eliz@gnu.org>
4653
4654 * minibuffer.el (completion-styles)
4655 (completion-category-overrides): Cross reference each other in doc
4656 strings.
4657
8b457e28
GM
46582011-09-27 Glenn Morris <rgm@gnu.org>
4659
4660 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4661 to split-string. (Bug#9606)
4662
85a16208
LMI
46632011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4664
4665 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4666 (bug#9615).
4667
502f9ebd
CY
46682011-09-27 Chong Yidong <cyd@stupidchicken.com>
4669
4670 * emacs-lisp/package.el (list-packages): Fix echo area message.
4671
7690bdea
LL
46722011-09-27 Leo Liu <sdl.web@gmail.com>
4673
4674 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4675
e2ee6f30
MA
46762011-09-25 Michael Albinus <michael.albinus@gmx.de>
4677
4678 * net/dbus.el (dbus-unregister-object): Don't release services for
4679 registered signals. (Bug#9581)
4680
f3f98342
TZ
46812011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4682
4683 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4684 function that picks between cfengine 2 and 3 support
4685 automatically. Update docs accordingly.
4686
dd7aa8dd
KH
46872011-09-22 Kenichi Handa <handa@m17n.org>
4688
4689 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4690 ZERO.
4691 (indian-itrans-v5-table-for-tamil): New variable.
4692 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4693
3f2b07f8
KM
46942011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4695
4696 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4697 that's true if the current command involved collapsing of text.
4698 It's reset to false at the beginning of the next command.
4699 (allout-post-command-business): Move the cursor to the beginning
4700 of entry if the cursor is hidden and collapsing activity just
4701 happened.
4702
371d6a61
CY
47032011-09-24 Chong Yidong <cyd@stupidchicken.com>
4704
4705 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4706 tracking (Bug#9541).
4707
2ac2721a
UJ
47082011-09-24 Ulf Jasper <ulf.jasper@web.de>
4709
4710 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
4711 (newsticker-show-news): Automatically load html rendering package
4712 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4713 because w3m-fill-column is let-bound" and the error "Symbol's value
4714 as variable is void: w3m-fill-column".
2ac2721a 4715
fac7ae53
MA
47162011-09-24 Michael Albinus <michael.albinus@gmx.de>
4717
4718 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4719 Release services only if they are defined. (Bug#9581)
4720
e08b633b
RS
47212011-09-23 Richard Stallman <rms@gnu.org>
4722
e488d29c
RS
4723 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4724 distinguish start of paragraph from start of its text.
4725
19c38752
RS
4726 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4727
e08b633b
RS
4728 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4729 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4730 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4731
0a39f27e
AS
47322011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4733
4734 * international/mule-diag.el (mule-diag): Insert a newline after
4735 each fontset description.
4736
db4e950d
SM
47372011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4738
4739 * simple.el (delete-trailing-whitespace):
4740 Document last change; simplify.
4741
eca3f3ea
PW
47422011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4743
d68e189a
PW
4744 * simple.el (delete-trailing-whitespace): Also delete
4745 extra newlines at the end of the buffer.
4746
eca3f3ea
PW
4747 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4748 (picture-newline): Use forward-line so as to ignore fields.
4749
01c157cc
SM
47502011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4751
4752 * subr.el (with-wrapper-hook): Fix edebug spec.
4753
022de23e
LMI
47542011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4755
4756 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4757 (bug#4538).
4758
91683089
MA
47592011-09-23 Michael Albinus <michael.albinus@gmx.de>
4760
eca3f3ea
PW
4761 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4762 Fix nasty bug using wrong cached values.
91683089 4763
5bdd6fa4
AM
47642011-09-23 Alan Mackenzie <acm@muc.de>
4765
4766 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4767
97adfb97
CY
47682011-09-23 Chong Yidong <cyd@stupidchicken.com>
4769
4770 * window.el (pop-to-buffer): Ensure right window is selected if we
4771 chose another frame.
4772
d4ef2b50
EZ
47732011-09-22 Eli Zaretskii <eliz@gnu.org>
4774
4775 * simple.el (what-cursor-position): Use get-char-property-change
4776 and next-single-char-property-change, to be able to show display
4777 properties that come from overlays as well as text properties.
4778
72258fe5
CY
47792011-09-22 Chong Yidong <cyd@stupidchicken.com>
4780
4781 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4782
4783 * cmuscheme.el (run-scheme, switch-to-scheme):
4784 * cus-edit.el (customize-group, custom-buffer-create)
4785 (customize-browse):
4786 * info.el (info):
4787 * shell.el (shell):
4788 * mail/sendmail.el (mail):
4789 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4790
8f098516
RS
47912011-09-22 Richard Stallman <rms@gnu.org>
4792
4793 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4794 move back only to line beg, don't move back over blank lines.
4795
e74f1bb6
MA
47962011-09-22 Michael Albinus <michael.albinus@gmx.de>
4797
4798 * files.el (copy-directory): Set directory attributes only in case
4799 they could be retrieved from the source directory. (Bug#9565)
4800
bfeef8b6
DK
48012011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4802
4803 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4804 (hs-find-block-beginning, hs-hide-level-recursive):
4805 Ignore strings as well as comments. (Bug#9502)
4806
7e423bb8
AS
48072011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4808
4809 * progmodes/sql.el (sql-comint-postgres):
4810 Convert port number to a string. (Bug#9566)
4811
b4d72fcf
MR
48122011-09-22 Martin Rudalics <rudalics@gmx.at>
4813
4814 * window.el (quit-window): Undedicate window when switching to
4815 previous buffer. Reported by Thierry Volpiatto
4816 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
4817 (special-display-popup-frame): When popping up a new frame reset
4818 its previous buffers to nil. Simplify code.
b4d72fcf 4819
a7b88dc6
MA
48202011-09-21 Michael Albinus <michael.albinus@gmx.de>
4821
4822 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4823 and process filter, as done also in `shell-command'.
4824
cf4eacfd
MR
48252011-09-21 Martin Rudalics <rudalics@gmx.at>
4826
eca3f3ea 4827 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
4828 Call set-window-start with NOFORCE argument t.
4829 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
4830 (quit-window): Reword doc-string. Handle new format of
4831 quit-restore parameter. Don't delete window if it has a
4832 previous buffer we can show instead of the present one.
4833 (display-buffer-record-window): Rewrite using a new format for
4834 the quit-restore window parameter
4835 (special-display-popup-frame, display-buffer-same-window)
4836 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4837 (display-buffer-pop-up-window, display-buffer-use-some-window):
4838 Adapt symbol passed to display-buffer-record-window.
4839 * help.el (help-window-setup): Handle new format of quit-restore
4840 parameter.
4841
8d28cb95
SM
48422011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4843
94ab793f
SM
4844 * faces.el (face-list): Fix docstring (bug#9564).
4845
8d28cb95
SM
4846 * window.el (display-buffer--action-function-custom-type):
4847 Don't include internal functions in the Custom interface.
4848
3820edeb
JL
48492011-09-20 Juri Linkov <juri@jurta.org>
4850
4851 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4852 (Info-forward-node, Info-backward-node, Info-next-preorder)
4853 (Info-last-preorder): Use it. (Bug#9528)
4854
5147931d
JL
48552011-09-20 Juri Linkov <juri@jurta.org>
4856
4857 * info.el (Info-last-preorder): Visit last menu item only when
4858 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4859
cf499a1a
JD
48602011-09-20 Julien Danjou <julien@danjou.info>
4861
4862 * password-cache.el (password-cache-remove): Remove entries even if the
4863 value is nil, so that password with a nil value (negative caching) is
4864 possible to invalidate.
4865
f84e2fe2
LM
48662011-09-20 Lawrence Mitchell <wence@gmx.li>
4867
4868 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4869 all whitespace around breakpoint. (Bug#9553)
4870 (f90-find-breakpoint): Only break at whitespace inside a comment.
4871
78054a46
SM
48722011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4873
4874 * minibuffer.el (completion-file-name-table): Keep track of errors.
4875 (completion-table-with-predicate): Handle the case where pred1 is nil.
4876 * pcomplete.el (pcomplete-completions-at-point): Simplify.
4877
345083b2
SM
48782011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4879
e24e27be
SM
4880 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4881 (debugger-return-value): Signal an error if the debugging context does
4882 not await any return value.
4883
345083b2
SM
4884 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4885 * image-mode.el (image-toggle-display-text)
4886 (image-toggle-display-image): Stay away from evil `intangible'.
4887
08d355e3
LL
48882011-09-19 Leo Liu <sdl.web@gmail.com>
4889
4890 * replace.el (occur-revert-arguments): Make it permanent-local.
4891 (occur-mode): Don't call font-lock-defontify.
4892
f01da43f
CY
48932011-09-19 Chong Yidong <cyd@stupidchicken.com>
4894
4895 * net/ldap.el (ldap-search-internal): Don't push empty search
4896 result (Bug#9508).
4897
b6072fa6
SM
48982011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4899
4900 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4901
443d6696
MA
49022011-09-19 Michael Albinus <michael.albinus@gmx.de>
4903
4904 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4905 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4906
7cc6e154
JL
49072011-09-18 Juri Linkov <juri@jurta.org>
4908
4909 * buff-menu.el (Buffer-menu-mode-map):
4910 * dired.el (dired-mode-map):
4911 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4912 (lisp-interaction-mode-map):
4913 * emacs-lisp/package.el (package-menu-mode-map):
4914 * epa.el (epa-key-list-mode-map):
4915 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4916 (menu-bar-options-menu):
4917 * outline.el (outline-mode-menu-bar-map):
4918 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4919 * vc/vc-dir.el (vc-dir-menu-map):
4920 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4921 Capitalize non-function content words in menu item strings.
4922
4923 * dired.el (dired-mode-map): Add menu item for
4924 `image-dired-dired-toggle-marked-thumbs'.
4925
80302a81
JL
49262011-09-18 Juri Linkov <juri@jurta.org>
4927
4928 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4929 to `isearch-case-fold-search' and restore its original value
4930 after the `isearch-mode' call.
4931
46c5cf66
JL
49322011-09-18 Juri Linkov <juri@jurta.org>
4933
4934 * progmodes/grep.el (grep-process-setup): Don't check code for 1
4935 because `zgrep' returns 1 for successful matches (bug#9226).
4936
d18b513b
JL
49372011-09-18 Juri Linkov <juri@jurta.org>
4938
4939 * info.el (Info-extract-menu-node-name): Check the second match
4940 for empty string (second test-case of bug#9528).
4941 (Info-last-preorder): Let-bind `Info-history' to nil to not add
4942 intermediate nodes to the history (first test-case of bug#9528).
4943
72753f87
JL
49442011-09-18 Juri Linkov <juri@jurta.org>
4945
4946 * info.el (Info-mode-syntax-table): New variable.
1154d12e 4947 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 4948
c9384295
JL
49492011-09-18 Juri Linkov <juri@jurta.org>
4950
1154d12e
JB
4951 * info.el (Info-file-supports-index-cookies):
4952 Increment line-beginning-position's arg from 3 to 4 because makeinfo
4953 outputs one more line for long file names (bug#4142).
c9384295 4954
d473dce8
CY
49552011-09-18 Chong Yidong <cyd@stupidchicken.com>
4956
4957 * newcomment.el (comment-normalize-vars): If prompting for
4958 comment-start, set comment-start-skip too (Bug#8424).
4959
2176854d
JB
49602011-09-18 Johan Bockgård <bojohan@gnu.org>
4961
4962 * icomplete.el: Fix previous fix of Bug#5849.
4963 (icomplete-mode): Don't set completion-show-inline-help.
4964 (icomplete-minibuffer-setup): Set completion-show-inline-help
4965 locally during icompletion.
4966
3aace4e4
CY
49672011-09-18 Chong Yidong <cyd@stupidchicken.com>
4968
c940224f
CY
4969 * woman.el (woman2-process-escapes): Don't delete unrecognized
4970 escapes (Bug#7843).
4971
3aace4e4
CY
4972 * files.el (inhibit-first-line-modes-regexps): Add image files.
4973 (hack-local-variables-prop-line): Return nil for malformed
4974 prop-lines (Bug#9044).
4975
710dec63
MA
49762011-09-18 Michael Albinus <michael.albinus@gmx.de>
4977
4978 * net/tramp.el (top): Don't require 'shell.
4979 (tramp-methods): Fix docstring.
4980 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
4981 Return complete remote file name. Handle "smb" case.
4982 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
4983 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4984
4985 * net/tramp-compat.el (top): Require 'shell.
4986
4987 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4988 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4989 `tramp-current-host'.
4990 (tramp-get-remote-tmpdir): Remove.
4991
4992 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4993 `tramp-tmpdir' entries.
4994 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4995 (tramp-smb-handle-file-attributes): Ignore errors.
4996 (tramp-smb-wait-for-output): Check also for process end.
4997
5d5ac8ec
LMI
49982011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4999
5000 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5001 when sending QUIT (bug#9312).
5002
8c0f49f0
CY
50032011-09-17 Chong Yidong <cyd@stupidchicken.com>
5004
5005 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5006 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5007 occur-mode-display-occurrence.
5008 (occur-edit-mode): Add usage message.
5009 (occur-cease-edit): New command.
5010 (occur-after-change-function): Use text properties to find the
5011 position of the prefix text.
5012 (occur-engine): Set stickiness of prefix text properties.
5013
8f1383f7
GM
50142011-09-17 Glenn Morris <rgm@gnu.org>
5015
5016 * progmodes/etags.el (complete-tag):
5017 Fix call to completion-in-region. (Bug#9526)
5018
744ba0e3
JL
50192011-09-17 Juri Linkov <juri@jurta.org>
5020
5021 * textmodes/ispell.el (ispell-word): Add to the error message
5022 the word, ispell program name and current dictionary (bug#9121).
5023 (ispell-tex-arg-end): Capitalize "error" in the error message.
5024
d9bbf400
AS
50252011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5026
5027 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5028 check. (Bug#4251)
5029
8da11505
JL
50302011-09-17 Juri Linkov <juri@jurta.org>
5031
5032 * window.el (window-safe-min-height, window-safe-min-width):
5033 Fix typos (followup to bug#9522).
5034
a91adc7e
SJ
50352011-09-17 Sven Joachim <svenjoac@gmx.de>
5036
5037 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5038
064f328a
EZ
50392011-09-16 Eli Zaretskii <eliz@gnu.org>
5040
5041 * simple.el (line-move): If goal-column is set, move by logical
5042 lines, not by display lines. (Bug#971)
5043 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5044 to reflect the above change.
5045
e69df516
SM
50462011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5047
5048 * image.el (imagemagick-register-types): Use regexp-opt.
5049
cbb0f9ab
CY
50502011-09-15 Chong Yidong <cyd@stupidchicken.com>
5051
5052 * window.el (display-buffer-base-action): Rename from
5053 display-buffer-default-action. Make default value empty.
5054 (display-buffer-overriding-action): Convert to defvar.
5055 (display-buffer-fallback-action): New var.
5056
25322144
CY
50572011-09-15 Chong Yidong <cyd@stupidchicken.com>
5058
5059 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5060 declaration.
5061 (package--add-to-archive-contents): If there is a duplicate entry
5062 with an older version, remove it.
5063 (package-menu-mark-delete, package-menu-mark-install)
5064 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
5065 (package-menu-mark-obsolete-for-deletion):
5066 Use package-menu-get-status instead of a regexp search.
25322144
CY
5067 (package-menu-get-status): Use tabulated-list-entry.
5068 (package-menu-mark-upgrades): New command.
d770725a 5069 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
5070 (package-menu-execute): Do installation before deletion.
5071 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5072 instead of checking major-mode.
5073 (package-menu--find-upgrades): New function.
5074
7520339c
LMI
50752011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5076
5077 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5078 passwords in the log buffer.
65a046c4
LMI
5079 (smtpmail-process-filter): Update the process marker so that the
5080 "broken by peer" status message is inserted in the right place.
7520339c 5081
d3c30954
SM
50822011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5083
3fe48822
SM
5084 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5085 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5086 bibtex-completion-at-point-function.
5087 (bibtex-completion-at-point-function): Use them.
5088
1b8b3954
SM
5089 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5090
d3c30954
SM
5091 * mpc.el (mpc-constraints-tag-lookup): New function.
5092 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5093 also to browser "album|playlist".
5094
72779976
JL
50952011-09-14 Juri Linkov <juri@jurta.org>
5096
5097 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
5098 (isearch-edit-string): Use length of `isearch-string' when
5099 `isearch-fail-pos' returns nil.
5100 (isearch-message): Remove duplicate code and call
5101 `isearch-fail-pos' with arg `t'.
5102
a0bf2bcd
CY
51032011-09-14 Chong Yidong <cyd@stupidchicken.com>
5104
17bb0a2d
CY
5105 * replace.el (occur-mode-goto-occurrence): Don't force using other
5106 window (Bug#9499).
5107
a0bf2bcd
CY
5108 * dired-aux.el (dired-do-chmod): Don't provide initial input.
5109
f678e0b6
MR
51102011-09-14 Martin Rudalics <rudalics@gmx.at>
5111
5112 * window.el (display-buffer-window): Remove.
5113 (display-buffer-record-window): Use help-setup window parameter
5114 instead of variable display-buffer-window.
5115 (display-buffer-function, special-display-buffer-names)
5116 (special-display-function): Mention help-setup parameter instead
5117 of display-buffer-window in doc-string.
d3c30954
SM
5118 * help.el (help-window-setup): New argument help-window.
5119 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
5120 Reword some messages.
5121 (with-help-window): Pass window used for displaying the buffer
5122 to help-window-setup. Don't set display-buffer-window.
5123
8e39b2e8
GM
51242011-09-13 Glenn Morris <rgm@gnu.org>
5125
5126 * emacs-lisp/debug.el (debugger-make-xrefs):
5127 Preserve point. (Bug#9462)
5128
85e9c04b
CY
51292011-09-13 Chong Yidong <cyd@stupidchicken.com>
5130
5131 * window.el (window-deletable-p): Use next-frame.
5132
1b36ed6a
MR
51332011-09-13 Martin Rudalics <rudalics@gmx.at>
5134
5135 * window.el (window-auto-delete): Remove.
5136 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 5137 dedication and previous buffers.
1b36ed6a
MR
5138 (switch-to-prev-buffer): Don't delete window.
5139 (delete-windows-on): Delete a window's frame if and only if the
5140 window is dedicated.
5141 (replace-buffer-in-windows): Delete buffer's window or frame if
5142 and only if window is dedicated.
5143 (quit-window): Handle quit-restore as before last change.
4d61f28d 5144 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 5145
ef8ef9fb
CY
51462011-09-13 Chong Yidong <cyd@stupidchicken.com>
5147
5148 * window.el (window-deletable-p): Never delete the last frame on a
5149 given terminal.
5150
b2cba41e
GM
51512011-09-13 Glenn Morris <rgm@gnu.org>
5152
5153 * help.el (describe-key-briefly): Copy previous standard-output change.
5154
51553db6 51552011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
5156
5157 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
5158
b7556719
GM
51592011-09-13 Glenn Morris <rgm@gnu.org>
5160
5161 * emacs-lisp/lisp-mode.el (lisp-indent-function):
5162 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5163
64b51947
CY
51642011-09-12 Chong Yidong <cyd@stupidchicken.com>
5165
5166 * dired-aux.el (dired-mark-read-string): Don't return default
5167 value on empty input (Bug#9361).
5168 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5169 Omit initial minibuffer contents.
5170 (dired-do-chmod): Signal an error on empty input.
5171 (dired-mark-read-string): Don't return default on empty input.
5172
5173 * files.el (file-modes-symbolic-to-number): Doc fix.
5174
393a301e
SM
51752011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5176
5177 * international/mule-cmds.el (ucs-completions): Remove.
5178 (read-char-by-name): Use complete-with-action instead; add metadata.
5179
fa5660f9
CY
51802011-09-11 Chong Yidong <cyd@stupidchicken.com>
5181
5182 * window.el (display-buffer--action-function-custom-type)
5183 (display-buffer--action-custom-type): New vars.
5184 (display-buffer-alist, display-buffer-default-action)
5185 (display-buffer-overriding-action): Add defcustom types.
5186
4a592f66
CY
5187 * frame.el (delete-other-frames): Doc fix (Bug#276).
5188
73d56dbd
LMI
51892011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5190
5191 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5192
37ac18a3
CY
51932011-09-11 Chong Yidong <cyd@stupidchicken.com>
5194
5195 Change modes that used same-window-* vars to use switch-to-buffer.
5196
5197 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5198 Use switch-to-buffer.
5199
5200 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
5201 (customize-browse, custom-buffer-create-other-window):
5202 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
5203
5204 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5205 (Info-prev, Info-up, Info-speedbar-goto-node)
5206 (info-display-manual): Use switch-to-buffer.
5207 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5208
5209 * mail/sendmail.el (mail): Use switch-to-buffer.
5210 (mail-recover): Use switch-to-buffer-other-window.
5211
5212 * cmuscheme.el (run-scheme, switch-to-scheme):
5213 * ielm.el (ielm):
5214 * shell.el (shell):
5215 * net/rlogin.el (rlogin):
5216 * net/telnet.el (telnet, rsh):
5217 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5218
10195bd6
AS
52192011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5220
5221 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5222
b322f63a
LMI
52232011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5224
39d7fed6
LMI
5225 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5226 so don't mention it (bug#9301).
ba5a81f1 5227 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 5228
ee0e9f11
LMI
5229 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5230 match `x', `w32' and `ns', like the manual says (bug#9029).
5231
0b1c89c1 5232 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
5233 (process-kill-buffer-query-function): Mention the buffer name in
5234 the query.
0b1c89c1 5235
77549ea8
LMI
5236 * image-mode.el (image-next-line): The line parameter is mandatory
5237 (bug#9258).
5238
803ef892
LMI
5239 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5240 which can be useful (bug#9301).
5241
12980837
LMI
5242 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5243
91054f8f
LMI
5244 * subr.el (match-string): Mention that the current buffer should
5245 be the same as the search was done in (bug#9282).
5246
b322f63a
LMI
5247 * facemenu.el: Disable the remove-* commands if the mark isn't
5248 active (bug#9162).
5249
3199b96f
CY
52502011-09-10 Chong Yidong <cyd@stupidchicken.com>
5251
5252 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5253 of display-buffer.
5254 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5255
5256 * replace.el (occur-mode-goto-occurrence)
5257 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5258 and display-buffer.
5259
5260 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5261 display-buffer.
5262
5263 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5264 special-display and same-window variables.
5265 (mail-other-window): Use switch-to-buffer-other-window.
5266 (mail-other-frame): USe switch-to-buffer-other-frame.
5267
393a301e
SM
5268 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5269 Use display-buffer-other-frame.
3199b96f
CY
5270 (gdb-display-gdb-buffer): Use pop-to-buffer.
5271
5272 * progmodes/gud.el (gud-goto-info): Use info-other-window.
5273
5274 * progmodes/python.el: Don't set same-window-buffer-names.
5275
5276 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5277
5278 * window.el (display-buffer-alist): Add *Python*.
5279
8319e0bf
CY
52802011-09-10 Chong Yidong <cyd@stupidchicken.com>
5281
5282 * window.el (display-buffer-alist): Add entry for buffers
5283 previously handled same-window-*.
5284 (display-buffer-alist, display-buffer-default-action)
5285 (display-buffer-overriding-action): Mark as risky.
5286 (display-buffer-alist): Document action function changes.
5287 (display-buffer--same-window-action)
5288 (display-buffer--other-frame-action): New variables.
5289 (switch-to-buffer, display-buffer-other-frame): Use them.
5290 (display-buffer): Rename reuse-frame entry to reusable-frames.
5291 (display-buffer-reuse-selected-window): Function deleted.
5292 (display-buffer-reuse-window): Handle reusable-frames alist entry.
5293 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5294 (display-buffer-special): New function.
5295 (display-buffer--maybe-pop-up-frame-or-window): Rename from
5296 display-buffer-reuse-or-pop-window. Split off special-display
5297 part into display-buffer-special.
5298 (display-buffer-use-some-window): Don't perform any special
5299 pop-up-frames handling.
5300 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 5301 (display-buffer--maybe-same-window): Rename from
0d3ff375 5302 display-buffer-maybe-same-window.
8319e0bf 5303
919a69aa
CY
5304 * info.el: Don't set same-window-regexps.
5305 (info-setup): New function.
5306 (info-other-window, info): Call it.
5307
5308 * cus-edit.el: Don't set same-window-regexps.
5309 (customize-group): New argument.
5310 (customize-group-other-window): Use it.
5311 (customize-face, customize-face-other-window): Likewise.
5312 (custom-buffer-create-other-window): Use pop-to-buffer directly.
5313
8319e0bf
CY
5314 * net/rlogin.el:
5315 * net/telnet.el:
5316 * progmodes/gud.el: Don't set same-window-regexps.
5317
5318 * cmuscheme.el:
5319 * ielm.el:
5320 * shell.el:
5321 * mail/sendmail.el:
5322 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5323
25173000
JL
53242011-09-10 Juri Linkov <juri@jurta.org>
5325
5326 * isearch.el (isearch-edit-string): Remove obsolete mention of
5327 `C-w' (`isearch-yank-word-or-char') from docstring.
5328 (isearch-query-replace): Fix typo in docstring (bug#9466).
5329
056e44ef
JL
53302011-09-10 Juri Linkov <juri@jurta.org>
5331
5332 * paren.el (show-paren-function): Don't show escaped parens.
5333 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
5334
c3760c17
EZ
53352011-09-10 Eli Zaretskii <eliz@gnu.org>
5336
5337 * mail/sendmail.el (mml-to-mime, mml-attach-file)
5338 (mm-default-file-encoding): Remove autoload forms, they are
5339 replaced with autoload cookies in mml.el and mm-encode.el.
5340 (mail-add-attachment): New command.
5341 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5342 (mail-mode): Mention mail-insert-file and mail-add-attachment in
5343 the doc string.
5344 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5345
fece895e
RT
53462011-09-10 Reuben Thomas <rrt@sc3d.org>
5347
e69df516
SM
5348 * simple.el (count-words-region): Use buffer if there's no region
5349 (bug#9429).
fece895e 5350
5e68ce4a
JL
53512011-09-09 Juri Linkov <juri@jurta.org>
5352
5353 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5354 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5355 (wdired-isearch-filter-read-only): New function. (Bug#6362)
5356
0a6b9622
AM
53572011-09-09 Alan Mackenzie <acm@muc.de>
5358
5359 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5360 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
5361
14a29deb
EZ
53622011-09-09 Eli Zaretskii <eliz@gnu.org>
5363
5364 Fix for Savannah bug#9392.
5365 * simple.el (mail-encode-mml): New defvar.
5366
5367 * mail/rmail.el (mail-encode-mml): Add a defvar.
5368 (rmail-enable-mime-composing): Default to t.
5369 (rmail-forward): Use MIME method of forwarding only if both
5370 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5371 Set mail-encode-mml non-nil if the MIME method was used.
5372
5373 * mail/sendmail.el (mml-to-mime): Add autoload form.
5374 (mail-encode-mml): Add a defvar.
5375 (mail-mode): Make mail-encode-mml buffer-local and initialize it
5376 to nil.
5377 (mail-send): If mail-encode-mml is non-nil, run the outgoing
5378 message through mml-to-mime, and reset mail-encode-mml to nil.
5379
28c45130
GM
53802011-09-09 Glenn Morris <rgm@gnu.org>
5381
5382 * woman.el (woman-if-body): When processing an .el block,
5383 do not delete the next .el block as well. (Bug#9447)
69f4b618 5384 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 5385
9b1c252e
MR
53862011-09-08 Martin Rudalics <rudalics@gmx.at>
5387
5388 * window.el (window-deletable-p): Make sure window is live before
5389 invoking window-prev-buffers.
5390
567457e3
LL
53912011-09-08 Leo Liu <sdl.web@gmail.com>
5392
5393 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
5394
97f05794
JL
53952011-09-08 Juri Linkov <juri@jurta.org>
5396
5397 * progmodes/compile.el (compilation-environment): Make it
5398 a defcustom (bug#8340).
5399
8b0874b5
MR
54002011-09-08 Martin Rudalics <rudalics@gmx.at>
5401
5402 * window.el (frame-auto-delete): Rename to window-auto-delete.
5403 Make it control auto-deletion of windows and/or frames.
5404 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 5405 for deleting window/frame. (Bug#9419)
8b0874b5
MR
5406 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5407 Rewrite handling of case when window/frame can be deleted.
5408 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 5409 argument t. (Bug#9456)
8b0874b5 5410
4feb6e73
CY
54112011-09-07 Chong Yidong <cyd@stupidchicken.com>
5412
5413 * help-mode.el (help-mode): Restore autoload.
5414
91ab9c13
JL
54152011-09-07 Juri Linkov <juri@jurta.org>
5416
5417 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5418 `compilation-environment'. Set buffer-local
5419 `compilation-environment' to `thisenv' later after (funcall mode).
5420 (Bug#8340)
5421
5422 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
5423 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5424 instead of replacing its value. (Bug#8340)
5425
0527e251
JL
54262011-09-07 Juri Linkov <juri@jurta.org>
5427
5428 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5429 based on text properties put by `grep-filter' instead of matching
5430 escape sequences.
5431 (grep-mode): Set buffer-local `compilation-error-screen-columns'
5432 to the value of `grep-error-screen-columns' (bug#9438).
5433
249f792c
JL
54342011-09-07 Juri Linkov <juri@jurta.org>
5435
5436 * simple.el (next-error-highlight, next-error-highlight-no-select):
5437 Doc fix (bug#9432).
5438
ff7271b9
OT
54392011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5440
5441 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5442 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
5443
183fc730
LL
54442011-09-07 Leo Liu <sdl.web@gmail.com>
5445
5446 * net/rcirc.el (rcirc-mode): Conditionally initialize
5447 rcirc-input-ring.
5448
77694924
SM
54492011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5450
5451 * emacs-lisp/find-func.el (find-function-C-source): Only set
5452 find-function-C-source-directory after checking that we found a source
5453 file there (bug#9440).
5454
d809b8eb
AM
54552011-09-06 Alan Mackenzie <acm@muc.de>
5456
5457 * isearch.el (isearch-other-meta-char): Wherever a key list is
5458 unread, "unread" the prefix arg, too. This fixes bug #8901.
5459
453de99f
OG
54602011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5461
5462 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5463
90439906
JL
54642011-09-05 Juri Linkov <juri@jurta.org>
5465
5466 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5467
f62bd846
JL
54682011-09-05 Juri Linkov <juri@jurta.org>
5469
5470 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5471 keeping point where processing of grep matches begins, and
5472 continue to delete remaining escape sequences from the same point.
5473 (grep-filter): Make leading zero optional in "0?1;31m" because
5474 git-grep emits "\033[1;31m" escape sequences unlike expected
5475 "\033[01;31m" as GNU Grep does (bug#9408).
5476 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5477
045820ec
JL
54782011-09-05 Juri Linkov <juri@jurta.org>
5479
5480 * subr.el (y-or-n-p): Capitalize "yes".
5481
f5e29b9b
MA
54822011-09-04 Michael Albinus <michael.albinus@gmx.de>
5483
5484 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
5485 `tramp-cache-unload-hook' where appropriate.
5486 (tramp-methods): Rename `tramp-remote-sh' to
5487 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
5488 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5489
5490 * net/tramp-sh.el (top): Don't require 'shell.
5491 (tramp-methods): Add `tramp-remote-shell' and
5492 `tramp-remote-shell-args' entries.
5493 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5494 (tramp-sh-handle-shell-command): Remove.
5495 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5496 Use `tramp-remote-shell'.
5497
2784c434
CY
54982011-09-03 Chong Yidong <cyd@stupidchicken.com>
5499
393a301e 5500 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
5501 (sendmail-query-once): Save directly to send-mail-function.
5502 Update message-send-mail-function too.
5503
5504 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5505
464cdf56
CS
55062011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5507
5508 * progmodes/python.el (python-mode-map): Use correct function to
5509 start python interpreter from menu-bar (as reported by Geert
5510 Kloosterman).
5511 (inferior-python-mode-map): Fix typo.
393a301e 5512 (python-shell-map): Remove.
464cdf56 5513
d37e5c87
DD
55142011-09-03 Deniz Dogan <deniz@dogan.se>
5515
5516 * net/rcirc.el (rcirc-print): Simplify code for
5517 rcirc-scroll-show-maximum-output. There is no need to walk
5518 through all windows to find the right one.
5519
f3ada0ee
CS
55202011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5521
5522 * help.el (help-return-method): Doc fix.
5523
1f3c99ca
MR
55242011-09-03 Martin Rudalics <rudalics@gmx.at>
5525
5526 * window.el (window-deletable-p): Don't return a non-nil value
5527 when there's a buffer that was shown in the window before.
5528 (Bug#9419)
393a301e
SM
5529 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5530 Set window's previous buffers to nil.
1f3c99ca 5531
a3cf097f
EZ
55322011-09-03 Eli Zaretskii <eliz@gnu.org>
5533
5534 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5535 newline before and after the tag line, so it doesn't interfere
5536 with determining the paragraph direction of bidirectional text.
5537
3d03de90
LL
55382011-09-03 Leo Liu <sdl.web@gmail.com>
5539
5540 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5541
c3313451
CY
55422011-09-02 Chong Yidong <cyd@stupidchicken.com>
5543
393a301e 5544 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
5545 (pop-to-buffer): Change interactive spec. Pass second argument
5546 directly to display-buffer.
5547 (display-buffer): Fix interactive spec. Use functionp to
5548 distinguish between a function and a list of functions.
5549
5550 * abbrev.el (edit-abbrevs):
5551 * arc-mode.el (archive-extract):
5552 * autoinsert.el (auto-insert):
5553 * bookmark.el (bookmark-bmenu-list):
5554 * files.el (find-file):
5555 * view.el (view-buffer):
5556 * progmodes/compile.el (compilation-goto-locus):
5557 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5558
89894cd8
CY
55592011-09-02 Chong Yidong <cyd@stupidchicken.com>
5560
5561 * window.el (display-buffer-alist): Doc fix.
5562 (display-buffer): Add docstring. Don't treat
5563 display-buffer-default specially.
5564 (display-buffer-reuse-selected-window)
5565 (display-buffer-same-window, display-buffer-maybe-same-window)
5566 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5567 (display-buffer-pop-up-window)
5568 (display-buffer-reuse-or-pop-window)
5569 (display-buffer-use-some-window): New functions.
5570 (display-buffer-default-action): Use them.
393a301e 5571 (display-buffer-default): Delete.
89894cd8
CY
5572 (pop-to-buffer-1): Fix choice of actions.
5573
ae0bc9fb
SM
55742011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5575
5576 * minibuffer.el (completion--insert-strings): Don't get confused by
5577 completion entries that end with an LF char.
5578
e9d90883
EZ
55792011-09-01 Eli Zaretskii <eliz@gnu.org>
5580
5581 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5582
437014c8
CY
55832011-09-01 Chong Yidong <cyd@stupidchicken.com>
5584
5585 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
5586 (display-buffer-same-window, display-buffer-other-window):
5587 New functions.
437014c8
CY
5588 (pop-to-buffer-1): New function. Use the above.
5589 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 5590 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
5591
5592 * view.el (view-buffer-other-window, view-buffer-other-frame):
5593 Just use pop-to-buffer.
5594
a5e063d5
TV
55952011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5596
5597 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5598
793d32bb
WH
55992011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5600
5601 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5602
d65e4c15
RS
56032011-08-31 Richard Stallman <rms@gnu.org>
5604
5605 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5606 of the separation of rmail-view-buffer from rmail-buffer.
5607 If you say no to "replace original", the decrypt is in the
5608 view buffer. If you say yes, the decrypt goes into the
5609 rmail buffer also.
5610
f818cd2a
MR
56112011-08-31 Martin Rudalics <rudalics@gmx.at>
5612
5613 * window.el (display-buffer-window): Rewrite doc-string.
5614 (display-buffer-record-window): New function.
5615 (display-buffer-macro-specifiers)
5616 (display-buffer-even-window-sizes, display-buffer-set-height)
5617 (display-buffer-set-width, display-buffer-in-window)
5618 (display-buffer-reuse-window, display-buffer-split-specifiers)
5619 (display-buffer-side-specifiers, display-buffer-split-window-1)
5620 (display-buffer-split-window, display-buffer-split-atom-window)
5621 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5622 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5623 (display-buffer-other-window-means-other-frame)
5624 (display-buffer-normalize-special)
5625 (display-buffer-normalize-default)
5626 (display-buffer-normalize-argument)
5627 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5628 (display-buffer-normalize-specifiers, display-buffer-frame)
5629 (display-buffer-same-window, display-buffer-same-frame)
5630 (display-buffer-other-window)
5631 (display-buffer-same-frame-other-window)
5632 (display-buffer-other-frame, pop-to-buffer-same-window)
5633 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5634 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5635 (switch-to-buffer-same-frame)
5636 (switch-to-buffer-other-window-same-frame)
5637 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5638 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5639 (display-buffer-alist-set): Remove.
5640 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
5641 (special-display-regexps, special-display-function):
5642 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
5643 parameter.
5644 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5645 (special-display-frame-alist, special-display-popup-frame)
5646 (same-window-buffer-names, same-window-regexps, same-window-p)
5647 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5648 (split-window-preferred-function, split-height-threshold)
5649 (split-width-threshold, window-splittable-p)
5650 (split-window-sensibly, window--try-to-split-window)
5651 (window--frame-usable-p, even-window-heights)
5652 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
5653 (window--display-buffer-2, display-buffer-other-frame):
5654 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
5655 (display-buffer-default, display-buffer-assq-regexp): New functions.
5656 (display-buffer-alist): Rewrite doc-string.
5657 (display-buffer-default-action)
5658 (display-buffer-overriding-action): New variables.
5659 (display-buffer, switch-to-buffer): Rewrite.
5660 (pop-to-buffer): Restore Emacs 23 behavior but use
5661 window-normalize-buffer-to-display.
5662 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5663 Restore Emacs 23 behavior but use
5664 window-normalize-buffer-to-switch-to.
5665 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
5666 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5667 Rewrite using Emacs 23 options.
f818cd2a 5668
5bc3b51d
MA
56692011-08-31 Michael Albinus <michael.albinus@gmx.de>
5670
5671 * net/tramp.el (tramp-root-regexp): Remove.
5672 (tramp-completion-file-name-regexp-unified)
5673 (tramp-completion-file-name-regexp-separate)
5674 (tramp-completion-file-name-regexp-url): Don't use leading volume
5675 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
5676 (tramp-drop-volume-letter): Simplify definition.
5677 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 5678
b1a4f8e1
SM
56792011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5680
5681 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5682 (bug#9356).
5683
5664fa7b
RT
56842011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5685
b1a4f8e1 5686 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 5687
9a45d6c3
JL
56882011-08-29 Juri Linkov <juri@jurta.org>
5689
5690 * isearch.el (isearch-done): Don't display message "Mark saved"
5691 when arg `edit' is non-nil to prevent its flicker in the echo area.
5692
fb87e0fb
CY
56932011-08-28 Chong Yidong <cyd@stupidchicken.com>
5694
5695 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5696 obsolete packages for deletion.
5697
09ac1c2a
CS
56982011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5699
5700 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 5701 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
5702 view-mode from help-mode.
5703 (help-xref-override-view-map): Remove.
5704 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5705 view-mode is not used anymore.
5706
7a1ff57f
CY
57072011-08-28 Chong Yidong <cyd@stupidchicken.com>
5708
5709 * server.el (server-port): Doc fix.
5710
b9696605
CY
5711 * cus-theme.el (custom-theme-choose-mode): Inherit from
5712 special-mode (Bug#9124).
5713 (custom-theme-choose-mode-map): Add special-mode to parent.
5714
ef8cdf8c
AM
57152011-08-28 Alan Mackenzie <acm@muc.de>
5716
5717 * progmodes/cc-fonts.el
5718 (c-make-font-lock-BO-decl-search-function): New function.
5719 (c-basic-matchers-after - "Fontify the clauses after various
5720 keywords"): Extract the three keyword lists for the 3 erroneous
5721 constructs from the list of four, and use the new function above
5722 in place of an old one.
5723
27de4e20
DD
57242011-08-28 Deniz Dogan <deniz@dogan.se>
5725
5726 * net/rcirc.el (rcirc-insert-prev-input)
5727 (rcirc-insert-next-input): Remove unused argument.
5728
356a3681
SM
57292011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5730
5731 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5732
3fc9b218
AM
57332011-08-27 Alan Mackenzie <acm@muc.de>
5734
5735 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5736 handle function pointer parameters properly.
5737
538a061c
MR
57382011-08-27 Martin Rudalics <rudalics@gmx.at>
5739
5740 * window.el (display-buffer-reuse-window): Fix case where
5741 selected window was reused with non-nil OTHER-WINDOW argument.
5742 (Bug#9381)
5743
35b1c40c
DD
57442011-08-27 Deniz Dogan <deniz@dogan.se>
5745
5746 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5747 oftc's NickServ messages.
5748
2f6a3e79
GM
57492011-08-27 Glenn Morris <rgm@gnu.org>
5750
5751 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5752
7254299e
CY
57532011-08-26 Chong Yidong <cyd@stupidchicken.com>
5754
5755 * emacs-lisp/package.el (package-install): Call package-initialize
5756 if called interactively.
5757
f8ccf167
LL
57582011-08-26 Leo Liu <sdl.web@gmail.com>
5759
5760 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5761
3e8cd5ce
JL
57622011-08-25 Juri Linkov <juri@jurta.org>
5763
5764 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5765 `search-whitespace-regexp' (bug#9364).
5766
93eb7113
JL
57672011-08-25 Juri Linkov <juri@jurta.org>
5768
5769 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5770 `regexp-search-ring' to their global values to protect from
5771 updating by `read-from-minibuffer' (bug#9185).
5772
f65d1611
JL
57732011-08-25 Juri Linkov <juri@jurta.org>
5774
5775 * textmodes/ispell.el (ispell-command-loop): Add newline
5776 at the end of the "Use option `i'..." line.
5777
f1cf7a31
JL
57782011-08-25 Juri Linkov <juri@jurta.org>
5779
5780 * battery.el (display-battery-mode): If `battery-status-function'
5781 or `battery-mode-line-format' is nil, display the message and set
5782 `display-battery-mode' to nil (bug#9363).
5783
0c95fcf7
EZ
57842011-08-25 Eli Zaretskii <eliz@gnu.org>
5785
5786 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5787 bidi-string-mark-left-to-right; they are unnecessary now.
5788
a2ebe600
DD
57892011-08-25 Deniz Dogan <deniz@dogan.se>
5790
5791 * net/quickurl.el: Documentation typo fixes.
5792
e4ed06f1
CY
57932011-08-25 Chong Yidong <cyd@stupidchicken.com>
5794
5795 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5796
e5f1c99e
GM
57972011-08-25 Glenn Morris <rgm@gnu.org>
5798
b2948976
GM
5799 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5800
e5f1c99e
GM
5801 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5802 (smtpmail-via-smtp): Handle nil response from smtp.
5803
f22f4808
JL
58042011-08-24 Juri Linkov <juri@jurta.org>
5805
5806 * proced.el (proced-marked): Inherit from `error' instead of
5807 `font-lock-warning-face'.
5808
5809 * ibuffer.el (ibuffer-marked-face): Change default face from
5810 `font-lock-warning-face' to `warning'.
5811 (ibuffer-deletion-face): Change default face from
5812 `font-lock-type-face' to `error'.
5813
5814 * battery.el (battery-update): Use the face `error' instead of
5815 `font-lock-warning-face' (bug#6117).
5816
6a93965e
JL
58172011-08-24 Juri Linkov <juri@jurta.org>
5818
5819 * faces.el (success): Change face color from "Green3" to
5820 "ForestGreen" on light background (bug#9353).
5821
1ed43b09
CY
58222011-08-24 Chong Yidong <cyd@stupidchicken.com>
5823
5664fa7b
RT
5824 * window.el (quit-window): Rename from quit-restore-window.
5825 Use same arglist as old quit-window.
1ed43b09
CY
5826 (frame-auto-delete): Doc fix.
5827
5828 * view.el (view-mode-exit): Use quit-window.
5829
11dcdbb2
JL
58302011-08-24 Juri Linkov <juri@jurta.org>
5831
5832 * isearch.el (isearch-ring-adjust1): Start visiting previous
5833 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5834 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5835 for empty search string (when the last search string is reused
5836 automatically) to adjust the isearch ring to the last element and
5837 prepare the correct index for further M-p commands (bug#9185).
5838
de62b4df
KH
58392011-08-24 Kenichi Handa <handa@m17n.org>
5840
5841 * international/ucs-normalize.el: If decomposition property of
5842 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5843 nil.
5844 (nfd, nfkd): Likewise.
5845
963b492b
SM
58462011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5847
5848 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5849 from process filters aren't reliably transmitted to the surrounding
5850 accept-process-output.
5851 (mpc-proc-check): New function.
5852 (mpc-proc-sync): Use it (bug#8293)
5853
93b6b5e1
SM
58542011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5855
5856 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5857 Add compatibility functions (bug#9313).
5858
bca633fb
EZ
58592011-08-23 Eli Zaretskii <eliz@gnu.org>
5860
b177498a
EZ
5861 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5862
6df6ae42 5863 * international/uni-bidi.el: Regenerate.
bca633fb 5864
0902a04e
KH
58652011-08-23 Kenichi Handa <handa@m17n.org>
5866
5867 * international/charprop.el:
5868 * international/uni-bidi.el:
5869 * international/uni-category.el:
5870 * international/uni-combining.el:
5871 * international/uni-comment.el:
5872 * international/uni-decimal.el:
5873 * international/uni-decomposition.el:
5874 * international/uni-digit.el:
5875 * international/uni-lowercase.el:
5876 * international/uni-mirrored.el:
5877 * international/uni-name.el:
5878 * international/uni-numeric.el:
5879 * international/uni-old-name.el:
5880 * international/uni-titlecase.el:
5881 * international/uni-uppercase.el: Regenerate.
5882
3bbf23bc
MR
58832011-08-23 Martin Rudalics <rudalics@gmx.at>
5884
5885 * help.el (help-window-setup): Fix message displayed when other
5886 window is reused. (Bug#9341)
5887
b3fd59bd
SM
58882011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5889
1802e444
SM
5890 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5891 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5892
b3fd59bd
SM
5893 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5894 Mark obsolete.
5895 * shell.el (shell-parse-pcomplete-arguments): New function.
5896 (shell-completion-vars): Use it instead (bug#9160).
5897
4eb61348
SM
58982011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5899
867cab74
SM
5900 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5901 strings and comments (bug#9333).
5902
4eb61348
SM
5903 * emacs-lisp/debug.el (debug-arglist): New function.
5904 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
5905 (debug-on-entry-1): Handle interpreted closures (bug#9120).
5906
262a1439
JL
59072011-08-22 Juri Linkov <juri@jurta.org>
5908
56ee679c
JL
5909 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5910 Revert regexp that highlights output switches to its old
5911 pre-2010-10-28 value and remove one `?' from it (bug#9319).
5912
262a1439
JL
5913 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5914 to check for empty output (bug#9226).
5915
f13f86fb
CY
59162011-08-22 Chong Yidong <cyd@stupidchicken.com>
5917
5918 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5919 symbol-constituent as the default, as that stops font-lock from
5920 working properly (Bug#8843).
5921
c65c9622
LMI
59222011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5923
5924 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5925 `coding-system-for-*' around the process open call to avoid
5926 auth-source side effects.
e7f2c178 5927 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
5928 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5929 probe hangs.
c65c9622 5930
23a8a5ab
CY
59312011-08-21 Chong Yidong <cyd@stupidchicken.com>
5932
ff98b2dd
CY
5933 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5934
23a8a5ab
CY
5935 * emacs-lisp/find-func.el (find-function-noselect): New arg
5936 lisp-only.
5937
5938 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5939 signal an error for built-in functions (Bug#6664).
5940
f5e3c598
LMI
59412011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5942
5943 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5944 (smtpmail-try-auth-methods): Use it.
5945
a3f2468a
CY
59462011-08-21 Chong Yidong <cyd@stupidchicken.com>
5947
2c34e8da
CY
5948 * font-lock.el (font-lock-fontify-region)
5949 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5950 (font-lock-default-unfontify-buffer)
5951 (font-lock-default-fontify-region)
5952 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5953
b3fd59bd
SM
5954 * progmodes/compile.el (compilation-error-properties):
5955 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
5956 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5957 `ant' regexp.
ee31aabc 5958
a3f2468a
CY
5959 * net/browse-url.el (browse-url-firefox): Don't call
5960 browse-url-firefox-sentinel unless using -remote (Bug#9328).
5961
8e999f70
GM
59622011-08-20 Glenn Morris <rgm@gnu.org>
5963
c21a496a
GM
5964 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5965
59ee0542
GM
5966 * tutorial.el (tutorial--default-keys): Update some default bindings.
5967
8e999f70
GM
5968 * files.el (hack-local-variables): Fully ignore case for "mode:".
5969
e3715033
AM
59702011-08-20 Alan Mackenzie <acm@muc.de>
5971
5972 Resolve invalid use of a regexp in regexp-opt.
5973
4d61f28d
JB
5974 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5975 detection for a java annotation.
e3715033 5976
4d61f28d 5977 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
5978 detection for a java annotation.
5979
4d61f28d
JB
5980 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5981 handling for java.
e3715033
AM
5982 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5983
04ed2e9c
CY
59842011-08-20 Chong Yidong <cyd@stupidchicken.com>
5985
5986 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5987 (Bug#9274).
5988
826cee64
AM
59892011-08-20 Alan Mackenzie <acm@muc.de>
5990
58179cce 5991 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
5992 such a construct. Mainly for when jit-lock etc. starts a chunk
5993 here.
5994
58179cce 5995 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 5996 variable.
58179cce 5997 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
5998 c-make-font-lock-search-function.
5999 (c-make-font-lock-search-function): Use the above function.
6000 (c-make-font-lock-context-search-function): New function.
6001 (c-cpp-matchers): Enhance the preprocessor expression case with
6002 the above function
6003 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6004 which takes an expression.
6005
6006 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6007
13009bd8
MR
60082011-08-20 Martin Rudalics <rudalics@gmx.at>
6009
6010 * window.el (display-buffer-reuse-window)
6011 (display-buffer-pop-up-window): Don't reuse or split a side
6012 window.
6013
9234ff7f
GM
60142011-08-19 Glenn Morris <rgm@gnu.org>
6015
6016 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 6017 Downcase "Mode:". (Bug#9331)
9234ff7f 6018
f635daa1
CY
60192011-08-18 Chong Yidong <cyd@stupidchicken.com>
6020
6021 * international/characters.el: Add L and R categories.
6022
6023 * subr.el (bidi-string-mark-left-to-right): Rename from
6024 string-mark-left-to-right. Use category search.
6025
6026 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6027
bc987f8b
JL
60282011-08-18 Juri Linkov <juri@jurta.org>
6029
6030 * faces.el (error, warning, success): New faces with definitions
6031 copied from old default values of `font-lock-warning-face',
6032 `compilation-warning', `compilation-info' (bug#6117).
6033
6034 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6035
6036 * progmodes/compile.el (compilation-error): Inherit from `error'.
6037 (compilation-warning): Inherit from `warning'.
6038 (compilation-info): Inherit from `success'.
6039
6040 * dired.el (dired-marked): Inherit from `warning'.
6041 (dired-flagged): Inherit from `error'.
6042
57173b96
LMI
60432011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6044
3e79eb87
LMI
6045 * mail/smtpmail.el (auth-source): Require to avoid problems with
6046 binding variables (bug#9298). Also clean up some unused
6047 autoloads.
6048
b3fd59bd
SM
6049 * net/network-stream.el (network-stream-open-starttls):
6050 Support using starttls.el without using gnutls-cli.
57173b96 6051
02b404de
JL
60522011-08-17 Juri Linkov <juri@jurta.org>
6053
6054 * progmodes/grep.el (rgrep): Handle the case when
6055 `grep-find-command' is a cons cell (bug#9278).
6056
8c9177f2
MR
60572011-08-17 Martin Rudalics <rudalics@gmx.at>
6058
6059 * window.el (display-buffer-pop-up-frame): Run frame creation
6060 function with BUFFER current (as special-display-popup-frame
6061 does). Reported by Drew Adams.
6062
3644a0ab
DU
60632011-08-17 Daiki Ueno <ueno@unixuser.org>
6064
6065 * epa-mail.el: Simplify GnuPG group expansion using
6066 epg-expand-group.
6067 (epa-mail-group-alist, epa-mail-group-modtime)
6068 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6069 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6070 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6071 Remove.
6072
5e617bc2 60732011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
6074
6075 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6076
9c4aeabf
AM
60772011-08-16 Alan Mackenzie <acm@muc.de>
6078
6079 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6080 Correct, to avoid the inside of macros.
6081
3a99bf64
RS
60822011-08-16 Richard Stallman <rms@gnu.org>
6083
04963aa8
RS
6084 * epa-mail.el: Handle GnuPG group definitions.
6085 (epa-mail-group-alist, epa-mail-group-modtime)
6086 (epa-mail-gnupg-conf-file): New variables.
6087 (epa-mail-parse-groups, epa-mail-sync-groups)
6088 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6089 (epa-mail-expand-recipients): New functions.
6090 (epa-mail-encrypt): Call epa-mail-expand-recipients.
6091
177549d0
RS
6092 * mail/rmail.el (rmail-epa-decrypt): New command.
6093
fe38beef
RS
6094 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6095 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
6096 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6097 (epa-decrypt-armor-in-region): Make error message clearer.
6098
934eacb9
SM
60992011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6100
6101 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6102 and "a2b" to "ab" for `prefix'.
6103
d024fb4e
CY
61042011-08-14 Chong Yidong <cyd@stupidchicken.com>
6105
6106 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6107 filter groups.
de148fee
CY
6108 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
6109 Fourquet (Bug#8804).
d024fb4e 6110
62f1ca49
JB
61112011-08-12 Juanma Barranquero <lekktu@gmail.com>
6112
6113 * startup.el (argi): Declare as global variable (bug#9275).
6114
9ccaaa4b
CY
61152011-08-12 Chong Yidong <cyd@stupidchicken.com>
6116
6117 * subr.el (string-mark-left-to-right): Search the entire string
6118 for RTL script, not just the terminating character. Doc fix.
6119
a3dae87a
SM
61202011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6121
6cd18349
SM
6122 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6123 New function.
6124 (js--regexp-literal, js-syntax-propertize-function): Remove.
6125 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6126 (js-mode-map): Don't rebind electric keys.
6127 (js-insert-and-indent): Remove.
6128 (js-mode): Setup electric-layout and electric-indent instead.
6129
a3dae87a
SM
6130 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6131
9d5cb631
DU
61322011-08-12 Daiki Ueno <ueno@unixuser.org>
6133
6134 * epa.el (epa-progress-callback-function): Fix the logic of
6135 displaying progress.
6136 * epa-file.el (epa-file-insert-file-contents): Make progress
6137 display more user-friendly.
6138 (epa-file-write-region): Ditto.
6139
3e26a4a2
CY
61402011-08-10 Chong Yidong <cyd@stupidchicken.com>
6141
6142 * subr.el (string-mark-left-to-right): New function.
6143
6144 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6145 Use string-mark-left-to-right.
6146 (list-buffers-noselect): Caller changed.
6147
a3dae87a
SM
6148 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6149 Use string-mark-left-to-right.
3e26a4a2
CY
6150 (tabulated-list-print): Recenter after moving point.
6151
ac8cf6e6
JL
61522011-08-10 Juri Linkov <juri@jurta.org>
6153
6154 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6155 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6156 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6157
8d96c9a4
CY
61582011-08-09 Chong Yidong <cyd@stupidchicken.com>
6159
6160 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6161 (Bug#7554).
6162
7be1c708 61632011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
6164
6165 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6166 character. (Bug#6594)
6167
37e11a63
CY
61682011-08-08 Chong Yidong <cyd@stupidchicken.com>
6169
839dde57
CY
6170 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6171 (image-dired--with-db-file): New macro.
6172 (image-dired-write-tags, image-dired-remove-tag)
6173 (image-dired-create-gallery-lists, image-dired-write-comments)
6174 (image-dired-get-comment, image-dired-mark-tagged-files)
6175 (image-dired-list-tags, image-dired-gallery-generate): Use it.
6176 (image-dired-gallery-generate): Use insert-file-contents.
6177
37e11a63
CY
6178 * time.el (display-time-world-list, display-time-world-display):
6179 * time-stamp.el (time-stamp-string):
6180 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6181 set-time-zone-rule (Bug#7337).
6182
0b4946c4
DU
61832011-08-08 Daiki Ueno <ueno@unixuser.org>
6184
6185 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6186 (epg-error-to-string, epg-errors-to-string): New function.
6187 (epg-wait-for-completion): Reverse errors list.
6188 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6189 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6190 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6191 (epg-sign-keys, epg-generate-key-from-file)
6192 (epg-generate-key-from-string): Format errors by using
6193 epg-errors-to-string (bug#9255).
6194 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6195
75bfc667
JL
61962011-08-07 Juri Linkov <juri@jurta.org>
6197
6198 * faces.el (list-faces-display): Remove extra angle bracket
6199 from `help-mode-map'.
6200
6201 * info.el (Info-history-toc-nodes): Doc fix.
6202
6203 * longlines.el (longlines-mode): Doc fix.
6204
673e08bb
SM
62052011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6206
4640dd88
SM
6207 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6208 of statements and in a few more cases (bug#9183).
6209
673e08bb
SM
6210 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6211 New functions.
6212 (cl-transform-lambda): Use them (bug#9239).
6213
89b3f019
MR
62142011-08-05 Martin Rudalics <rudalics@gmx.at>
6215
6216 * window.el (display-buffer-same-window)
6217 (display-buffer-same-frame, display-buffer-other-window)
6218 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6219 (pop-to-buffer-other-window)
6220 (pop-to-buffer-same-frame-other-window)
6221 (pop-to-buffer-other-frame): Make them defuns.
6222 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6223
640c8776
SM
62242011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6225
6226 * subr.el (make-composed-keymap): Move from C. Change calling
6227 convention, and improve docstring to bring attention to a subtle point.
6228 * minibuffer.el (completing-read-default): Adjust accordingly.
6229
63648a95
MA
62302011-08-03 Michael Albinus <michael.albinus@gmx.de>
6231
6232 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6233 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6234
6235 * net/trampver.el: Update release number.
6236
b796c9b7
SM
62372011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6238
6239 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6240 "in" (bug#9190).
6241
2239d7d5
LMI
62422011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6243
e07dd7c3
LMI
6244 * mail/sendmail.el (sendmail-query-once): Restore the current
6245 buffer after querying (bug#9074).
6246
0e6a2bd7
LMI
6247 * dired.el (dired-flagged): Use different faces for marked and
6248 flagged files (bug#6117).
6249
ce887515
LMI
6250 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6251 (bug#4433).
6252
92f2affc
LMI
6253 * ido.el (ido-mode): Switch off the message if called
6254 non-interactively.
6255
57d5aff0
LMI
6256 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6257 before 587, since it appears that that's more likely to work for
6258 more people.
6259
98cd6c18 6260 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 6261 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
6262 exist.
6263
b96dec83
LMI
6264 * info.el: Remove the `Info-beginning-of-buffer' function
6265 (bug#8325).
6266
b796c9b7
SM
6267 * net/network-stream.el (network-stream-open-starttls):
6268 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 6269
d90e2ea0
MR
62702011-08-01 Martin Rudalics <rudalics@gmx.at>
6271
6272 * window.el (display-buffer-in-window): Don't set dedicated status
6273 of window here (Bug#9215).
6274 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6275 (display-buffer-pop-up-side-window)
b796c9b7 6276 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 6277
cca09170
SM
62782011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6279
6280 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6281 before binding generated-autoload-file.
6282
027b979c
DD
62832011-08-01 Deniz Dogan <deniz@dogan.se>
6284
6285 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6286
3c7ee4f3
MA
62872011-07-30 Michael Albinus <michael.albinus@gmx.de>
6288
6289 Sync with Tramp 2.2.2.
6290
6291 * net/trampver.el: Update release number.
6292
2cc8e51a
JL
62932011-07-30 Juri Linkov <juri@jurta.org>
6294
6295 * dired-aux.el (dired-touch-initial): Remove function.
6296 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6297 current time, and `default' to the last modification time of the
6298 current marked file (bug#6887).
6299
a514d856
JM
63002011-07-28 Jose E. Marchesi <jemarch@gnu.org>
6301
6302 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 6303 numeric argument to read-number (bug#9163).
a514d856 6304
8a7eddd7
MA
63052011-07-27 Michael Albinus <michael.albinus@gmx.de>
6306
6307 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6308 connection process, it could be nil.
6309
1ddd96f5
LL
63102011-07-27 Leo Liu <sdl.web@gmail.com>
6311
6312 Simplify url handling in rcirc-mode.
6313
6314 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6315 (rcirc-browse-url-at-mouse): Remove.
6316 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6317
b248a85d
AM
63182011-07-26 Alan Mackenzie <acm@muc.de>
6319
6320 Fontify bitfield declarations properly.
6321
6322 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6323 (c-symbol-chars): Now exported as a lang variable.
6324 (c-not-primitive-type-keywords): New lang variable.
6325
6326 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6327 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 6328 parsed as a bitfield declaration.
b248a85d 6329
b796c9b7
SM
6330 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6331 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
6332 (c-punctuation-in): New function.
6333 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6334 declarations properly.
6335
68575ab0
UJ
63362011-07-26 Ulf Jasper <ulf.jasper@web.de>
6337
6338 * calendar/icalendar.el (icalendar--all-events): Take care of
6339 multiple vcalendars in a single file.
b796c9b7 6340 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 6341
0f0a88b9
DD
63422011-07-25 Deniz Dogan <deniz@dogan.se>
6343
6344 * image.el (insert-image): Clarifying docstring.
6345
0b3f36df
MA
63462011-07-24 Michael Albinus <michael.albinus@gmx.de>
6347
6348 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6349 `tramp-send-command-and-check' if there is no error.
6350 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6351
a9901f61
AM
63522011-07-22 Alan Mackenzie <acm@muc.de>
6353
6354 Prevent cc-langs.elc being loaded at run time.
6355
6356 * progmodes/cc-mode.el: Remove two autoload forms which loaded
6357 cc-langs.
6358
4d61f28d 6359 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
6360 "(require 'cc-langs)". Quote a form so it will evaluate at
6361 (cc-mode's) compilation time.
6362
11d074b2
MA
63632011-07-22 Michael Albinus <michael.albinus@gmx.de>
6364
6365 * net/tramp.el (tramp-file-name-handler): Avoid recursive
6366 loading. (Bug#9114)
6367
938b94c8
MR
63682011-07-21 Martin Rudalics <rudalics@gmx.at>
6369
6370 * window.el (display-buffer-pop-up-window)
6371 (display-buffer-pop-up-side-window)
6372 (display-buffer-in-side-window): Call display-buffer-set-height
6373 and display-buffer-set-width after setting the new window's
b796c9b7 6374 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 6375
bfa4f190
SS
63762011-07-20 Sam Steingold <sds@gnu.org>
6377
6378 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6379 (etags-tags-included-tables): Call `convert-standard-filename' on
6380 the file names contained in TAGS so that windows Emacs can handle
6381 TAGS files created by cygwin ctags.
6382
8ca42262
LMI
63832011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
6384
6385 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6386 which apparently didn't work.
6387
5db2afd2 63882011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 6389
5db2afd2
RW
6390 * proced.el (proced-send-signal): For *Marked Processes* buffer
6391 put point at beginning of buffer.
6392
92e15d10
SB
63932011-07-19 Stephen Berman <stephen.berman@gmx.net>
6394
6395 * proced.el (proced-format): Make header lines align with the text
6396 (bug#1779).
6397
1bfd59e5
LMI
63982011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6399
6400 * view.el (view-buffer): Allow running in `special' modes if we're
6401 visiting a file (bug#8615).
6402
f5aae37c
MR
64032011-07-19 Martin Rudalics <rudalics@gmx.at>
6404
6405 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
6406 (display-buffer-alist-set-1, display-buffer-alist-set-2):
6407 New functions.
f5aae37c
MR
6408 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6409 more accurately.
6410
bf2c1571
AM
64112011-07-18 Alan Mackenzie <acm@muc.de>
6412
6413 Fontify declarators properly when, e.g., a jit-lock chunk begins
6414 inside a declaration.
6415
6416 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6417
b796c9b7
SM
6418 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6419 New function.
bf2c1571
AM
6420 (c-complex-decl-matchers): Insert reference to
6421 c-font-lock-enclosing-decls.
6422
6423 * progmodes/cc-engine.el (c-backward-single-comment):
6424 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6425 to nil around calls to (forward-comment -1).
6426
4e190b80
LMI
64272011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6428
12dc863d
LMI
6429 * image.el (put-image): Doc typo fix.
6430
a762e966
LMI
6431 * progmodes/etags.el (tags-search): Doc typo fix.
6432
4e190b80
LMI
6433 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6434 password if we get errors 550 to 554.
6435
f019fb21
LMI
64362011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6437
b796c9b7 6438 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 6439
81746738
LMI
6440 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6441 indentation character (bug#6380).
6442
3ee3a1b5
LMI
6443 * files.el (buffer-offer-save): Made permanently local (bug#6241).
6444
c82f64de
LMI
6445 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6446 to clarify what the problem is (bug#4291).
6447
f019fb21
LMI
6448 * simple.el (current-kill): Clarify what
6449 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
6450 (auto-fill-mode): Document `auto-fill-function' in relation to
6451 `auto-fill-mode' (bug#2470).
f019fb21 6452
0794775d
LM
64532011-07-16 Lawrence Mitchell <wence@gmx.li>
6454
6455 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6456 method if slot is read-only (bug#9035).
6457
be39b8cc
MR
64582011-07-16 Martin Rudalics <rudalics@gmx.at>
6459
b796c9b7 6460 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 6461 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
6462 selected before, see discussion of (Bug#8615), (Bug#6954).
6463 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 6464
6ccf7859
GM
64652011-07-15 Glenn Morris <rgm@gnu.org>
6466
6467 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 6468 Respect help-form.
6ccf7859 6469
87e86684
LM
64702011-07-09 Lawrence Mitchell <wence@gmx.li>
6471
6472 * net/gnutls.el (gnutls-min-prime-bits): New variable.
6473 (gnutls-negotiate): Use it.
6474
d6066239
LMI
64752011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6476
b796c9b7
SM
6477 * net/gnutls.el (gnutls-negotiate):
6478 Upcase `gnutls-algorithm-priority'.
d6066239 6479
bd23ebc0
GM
64802011-07-15 Glenn Morris <rgm@gnu.org>
6481
c65bca65
GM
6482 * jka-compr.el (jka-compr-verbose): Move from here...
6483 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
6484 Add missing :version tag.
6485 * info.el: No need to require jka-compr when compiling.
bd23ebc0 6486
478615cc
LMI
64872011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6488
7b41decb
LMI
6489 * net/gnutls.el (gnutls-algorithm-priority): New variable.
6490 (gnutls-negotiate): Use it.
6491
dbc44fcd
LMI
6492 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6493
06789f97
LMI
6494 * info.el (Info-beginning-of-buffer): New command.
6495 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6496 announcing `b' as the key (bug#8325).
ab896c37 6497 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 6498
c39da690
LMI
6499 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6500
3aa5f34b
LMI
6501 * international/mule-cmds.el
6502 (describe-specified-language-support): Make the error message
6503 clearer (bug#8905).
6504
4bf0979f
LMI
6505 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6506
478615cc
LMI
6507 * isearch.el (isearch-barrier): Add a doc string, since it's
6508 mentioned in a function doc string (bug#8678).
6509
75c68aa1
MR
65102011-07-15 Martin Rudalics <rudalics@gmx.at>
6511
6512 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6513 buffer argument (Bug#9083) and self-identifying label argument.
6514
a7c33da2
GM
65152011-07-15 Glenn Morris <rgm@gnu.org>
6516
6517 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6518
2f5c6024
LMI
65192011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6520
6521 * man.el (Man-fontify-manpage): Fix message when formatting the
6522 man page (bug#7929).
6523
0bb23927 65242011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
6525
6526 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6527 argument LRM; if non-nil, append an invisible LRM character to the
6528 buffer name.
6529 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6530 last argument non-nil, when formatting buffer names.
0bb23927
EZ
6531 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6532 paragraph direction.
cce4b0a7 6533
621ef9ab
LMI
65342011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6535
d1583c48
LMI
6536 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6537 the man page name (bug#7929).
6538
6a57fb5f
LMI
6539 * image.el (put-image): Mention the `put-image' overlay property
6540 (bug#7834).
6541
d7956b14
LMI
6542 * scroll-bar.el (set-scroll-bar-mode): Mention that
6543 `scroll-bar-mode' lists the values (bug#7772).
6544
5b2d4a66
LMI
6545 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6546 command (bug#7729).
6547
7509a874
LMI
6548 * rect.el (apply-on-rectangle): Return the point after the last
6549 operation.
6550 (string-rectangle): Go to the point after the last operation
6551 (bug#7522).
6552
4fe74b19
LMI
6553 * printing.el (pr-toggle-region): Clarify the documentation
6554 slightly (bug#7493).
6555
b796c9b7
SM
6556 * time.el (display-time-update):
6557 Allow `display-time-mail-function' to return nil (bug#7158).
6558 Fix suggested by Detlev Zundel.
ab283561 6559
fc233c9d
LMI
6560 * vc/diff.el (diff): Clarify the order the file names are read
6561 (bug#7111).
6562
43f5740b
LMI
6563 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6564 the doc string (bug#7015).
6565
f2182a76
LMI
6566 * font-lock.el (font-lock-maximum-decoration): Mention what
6567 numeric levels mean (bug#6935).
6568
621ef9ab
LMI
6569 * startup.el (initial-buffer-choice): Don't mention the `none'
6570 selection, which is against policy.
6571
adc47434
MR
65722011-07-14 Martin Rudalics <rudalics@gmx.at>
6573
b796c9b7
SM
6574 * window.el (display-buffer-normalize-special):
6575 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 6576
7e5bfb8f
EZ
65772011-07-14 Eli Zaretskii <eliz@gnu.org>
6578
6579 * subr.el (version<, version<=, version=): Mention "-CVS" and
6580 "-12345" alpha version numbers.
6581
27fa387a
CY
65822011-07-14 Chong Yidong <cyd@stupidchicken.com>
6583
6584 * bindings.el: Add advertised binding for set-mark-command
6585 (Bug#5772).
6586
8bdfa064
CY
65872011-07-14 Chong Yidong <cyd@stupidchicken.com>
6588
6589 * bindings.el (mode-line-other-buffer):
6590 * bookmark.el (bookmark-bmenu-2-window):
6591 * bs.el (bs-cycle-next, bs-cycle-previous):
6592 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6593 switch-to-buffer.
6594
6595 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 6596 Delete.
8bdfa064 6597
5eba16a3
JB
65982011-07-14 Juanma Barranquero <lekktu@gmail.com>
6599
6600 * follow.el (follow-debug-message, follow-redisplay):
6601 * jka-cmpr-hook.el (with-auto-compression-mode):
6602 Fix typos in docstrings.
6603
15853710
LMI
66042011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6605
a28e4607
LMI
6606 * subr.el (with-silent-modifications): Clarify somewhat what the
6607 macro inhibits (bug#6525).
6608
15853710
LMI
6609 * simple.el (eval-expression): Note what it does if called
6610 interactively (bug#6495).
6611
bee0fcef
CY
66122011-07-13 Chong Yidong <cyd@stupidchicken.com>
6613
b796c9b7
SM
6614 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6615 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
6616
6617 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6618 Remove switch-to-buffer.
6619
58274504
LMI
66202011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6621
bd2fcc8d
LMI
6622 * files.el (make-directory): Clarify that an error will be raised
6623 if there's an error (bug#6397).
6624
0f04b32c
LMI
6625 * startup.el (initial-buffer-choice): Add `none' as a choice
6626 (bug#6234).
6627
465c5fc8
LMI
6628 * subr.el (add-hook): Clarify section about buffer-local hooks
6629 (bug#6218).
6630
58274504
LMI
6631 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6632
bead9a43
JB
66332011-07-13 Juanma Barranquero <lekktu@gmail.com>
6634
6635 * tabify.el (untabify): Preserve the current column so that point
6636 doesn't move (bug#6032).
6637
3af98a7b
LMI
66382011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6639
b796c9b7
SM
6640 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6641 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 6642
6240145a
GM
66432011-07-13 Glenn Morris <rgm@gnu.org>
6644
6645 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6646 (dired-insert-directory): Give a message the first time
6647 if ls is found not to support --dired.
6648
1d8c2ccc
LMI
66492011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6650
6651 * simple.el (toggle-truncate-lines): Clarify what is toggled
6652 (bug#5580). Text by Drew Adams.
6653
5fc4038e
CY
66542011-07-13 Chong Yidong <cyd@stupidchicken.com>
6655
6656 * simple.el (blink-matching-open): Make the error message from the
6657 last change less verbose.
6658
bf6012e5
DN
66592011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6660
6661 * font-lock.el (font-lock-comment-face): Use the high contrast
6662 "yellow" color for font-lock-comment-face on low color terminals
6663 using a dark background color (bug#4221).
6664
343c3b5a
LMI
66652011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6666
7e9505c5
LMI
6667 * dired.el (dired-insert-set-properties): Make the doc string
6668 reflect what it does now (bug#5325).
6669
c26fdcf5
LMI
6670 * simple.el (blink-matching-open): Say that we were unable to find
6671 the match within the limit, if we're limited (bug#5122).
6672
bb388cc5
LMI
6673 * international/mule-cmds.el (prefer-coding-system): Add an
6674 example (bug#4869).
6675
343c3b5a
LMI
6676 * progmodes/etags.el (tags-search): Document `file-list-form'
6677 (bug#4731).
6678
2a517d45
LM
66792011-07-13 Lawrence Mitchell <wence@gmx.li>
6680
6681 * net/browse-url.el (browse-url-default-browser)
6682 (browse-url-browser-function): Make the default browser choice a
6683 bit more logical (bug#4300). Also clean up the doc string.
6684
b6c78ef2
JB
66852011-07-13 Juanma Barranquero <lekktu@gmail.com>
6686
6687 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6688 binary endings (bug#4440).
6689
1c4dd947
LMI
66902011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6691
a2014063
LMI
6692 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6693 which can be pretty annoying (bug#8971).
6694
9c9c2d88
LMI
6695 * jka-compr.el (jka-compr-verbose): New variable, and use
6696 throughout (bug#8971).
6697
1c4dd947
LMI
6698 * info.el (Info-find-file): Fall back on the installation
6699 directory if we can't find the info node anywhere else.
6700
a1c9f41b
SO
67012011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6702
6703 * vc/vc.el (vc-revert-file):
6704 Don't set file time-stamp in the past. (Bug#5181)
6705
536f3d36
LMI
67062011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6707
7152b011
LMI
6708 * files.el (after-find-file): Give a better error message when
6709 trying to find a symlink that points to a file that doesn't exist
6710 (bug#4398).
6711
536f3d36
LMI
6712 * progmodes/cc-vars.el: Remove (probably) misleading comment
6713 (bug#4396).
6714
460c0fba
JB
67152011-07-12 Johan Bockgård <bojohan@gnu.org>
6716
6717 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6718
7a6bda45
CY
67192011-07-12 Chong Yidong <cyd@stupidchicken.com>
6720
6721 * mouse-sel.el: Hack restoring functionality, while keeping
6722 compatibility with 2010-07-03 changes to mouse selection.
6723 (mouse-sel-primary-overlay): New var.
6724 (mouse-sel-selection-alist): Use it.
6725 (mouse-sel-mode): Doc fix; remove points that are default features
6726 of mouse.el.
6727
c79598ef
JB
67282011-07-12 Johan Bockgård <bojohan@gnu.org>
6729
6730 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6731 Fix previous fix (bug#2490).
6732
ff8be6ef
RW
67332011-07-12 Roland Winkler <winkler@gnu.org>
6734
b796c9b7
SM
6735 * textmodes/bibtex.el (bibtex-initialize):
6736 Use pop-to-buffer-same-window.
ff8be6ef
RW
6737 (bibtex-search-entries): Fix interactive call.
6738
296ba3ee
LMI
67392011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6740
f5242a02 6741 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
6742 Fontise bytecomp Error lines more correctly (bug#2490).
6743 Fix suggested by Johan Bockgård.
f5242a02 6744
296ba3ee
LMI
6745 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6746
6747 * dired-x.el (dired-guess-default): Use `delete-dups'.
6748
f69fd0d2
CY
67492011-07-12 Chong Yidong <cyd@stupidchicken.com>
6750
6751 * dired.el (dired-mark-prompt):
6752 * dired-aux.el (dired-read-shell-command): Doc fix.
6753
eab5dc07
LMI
67542011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6755
b796c9b7
SM
6756 * mail/sendmail.el (sendmail-query-once):
6757 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
6758 emacs -Q.
6759
6760 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6761
eab5dc07
LMI
6762 * cus-edit.el (custom-file): Take an optional no-error variable.
6763 (customize-save-variable): Set the variable, and give a warning if
6764 running under "emacs -q".
6765
a1e65d42
JB
67662011-07-11 Juanma Barranquero <lekktu@gmail.com>
6767
6768 * loadhist.el (unload-feature-special-hooks):
6769 Add `auto-coding-functions', `fill-nobreak-predicate' and
6770 `find-directory-functions' (bug#5327).
6771
1d52da10
LMI
67722011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6773
be958f1d
LMI
6774 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6775
5bedb26c
LMI
6776 * cus-edit.el (custom-guess-name-alist): -alist variables should
6777 use the `alist' type (bug#3120). Suggested by Drew Adams.
6778
1d52da10
LMI
6779 * printing.el: Add documentation to all the `pr-toggle-' commands.
6780
cd394be1 67812011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
6782
6783 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6784 backends where it makes sense (bug#2623).
6785
dcc88d8a
LMI
67862011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6787
c3de9feb
LMI
6788 * dired-x.el (dired-guess-default): Remove duplicate shell command
6789 entries (bug#2028).
8a93078b 6790 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 6791 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 6792
dcc88d8a
LMI
6793 * subr.el (remove-duplicates): New conveniency function.
6794
505e3645
LMI
67952011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6796
6797 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6798 (bug#1526).
6799
68002011-07-10 Martin Rudalics <rudalics@gmx.at>
6801
6802 * window.el (display-buffer-normalize-default): Don't invert
6803 meaning of even-window-heights. Reported by Eli Zaretskii
6804 <eliz@gnu.org>.
6805
455e4fa1
BR
68062011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6807
6808 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6809
8e0bc3e9
CY
68102011-07-10 Chong Yidong <cyd@stupidchicken.com>
6811
6812 * window.el (display-buffer): Fix arguments to
6813 display-buffer-reuse-window in last change.
6814
fa7c3228
CY
6815 * faces.el (link): Use a less saturated blue on light backgrounds.
6816
6817 * startup.el (fancy-startup-text, fancy-about-text)
6818 (fancy-startup-tail): Use font-lock faces, for background safety.
6819
c0a7f300
BN
68202011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6821
b796c9b7
SM
6822 * emulation/viper-cmd.el (viper-change-state-to-vi):
6823 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 6824
4dc2a129
MR
68252011-07-09 Martin Rudalics <rudalics@gmx.at>
6826
6827 * window.el (display-buffer-default-specifiers): Remove.
6828 (display-buffer-macro-specifiers): Remove default specifiers.
6829 (display-buffer-alist): Default to nil.
b796c9b7 6830 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
6831 (display-buffer-pop-up-window): Allow splitting internal
6832 windows. Check whether a live window was created.
6833 (display-buffer-other-window-means-other-frame)
6834 (display-buffer-normalize-arguments): Rename to
6835 display-buffer-normalize-argument and rewrite. Set the
6836 other-window specifier.
6837 (display-buffer-normalize-special): New function.
6838 (display-buffer-normalize-options): Rename to
6839 display-buffer-normalize-default and rewrite.
6840 (display-buffer-normalize-options-inhibit): Remove.
6841 (display-buffer-normalize-specifiers): Rewrite.
6842 (display-buffer): Process other-window specifier and call
6843 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6844 more faithfully.
b796c9b7 6845 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 6846 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
6847 (display-buffer-in-window, display-buffer-alist-set):
6848 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
6849 <tassilo@member.fsf.org>.
6850
2d43b8c9
LL
68512011-07-09 Leo Liu <sdl.web@gmail.com>
6852
6853 * register.el (insert-register): Restore accidental change on
6854 2011-06-26. (Bug#9028)
6855
7f9b7c53
GM
68562011-07-09 Glenn Morris <rgm@gnu.org>
6857
6858 * subr.el (remq): Handle the empty list. (Bug#9024)
6859
f042cfd8
AS
68602011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6861
6862 * mail/sendmail.el (send-mail-function): No longer delay custom
6863 initialization.
6864 * custom.el (custom-initialize-delay): Doc fix.
6865
856b2f11
SM
68662011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6867
6868 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6869
afae1d68
MA
68702011-07-08 Michael Albinus <michael.albinus@gmx.de>
6871
6872 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6873 human-friendly prompt.
6874
0757af94
SM
68752011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6876
6877 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6878 provided by a particular plugin.
6879
d760b731
LMI
68802011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6881
6882 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6883 save customizations (with "emacs -Q"), just set the variable
6884 instead of erroring out.
6885
6886 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6887
cd79ce90
JL
68882011-07-08 Juri Linkov <juri@jurta.org>
6889
6890 * arc-mode.el (archive-zip-expunge, archive-zip-update)
6891 (archive-zip-update-case): Use 7z if found by `executable-find'.
6892 The order of searching the available programs is the same as in
6893 `archive-zip-extract' (bug#8968).
6894
14cc04aa
CY
68952011-07-07 Chong Yidong <cyd@stupidchicken.com>
6896
6897 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6898 (menu-bar-options-menu): Tweak descriptions.
6899
0a1848ec
LMI
69002011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6901
6902 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6903 menu items into verb phrases (bug#1421). Also refill to fit under
6904 80 columns.
6905
f5bd0689
CY
69062011-07-07 Chong Yidong <cyd@stupidchicken.com>
6907
538e85c6
CY
6908 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6909 (Info-read-node-name): Doc fix (Bug#1084).
6910
f5bd0689
CY
6911 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6912 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6913 (end-of-sexp, beginning-of-sexp)
6914 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6915 (forward-symbol, forward-same-syntax, word-at-point)
6916 (sentence-at-point): Doc fix (Bug#1144).
6917
56ec5115
LMI
69182011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6919
f3f8e37f
LMI
6920 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6921 should cover it (bug#1281).
6922
0757af94 6923 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 6924
e9fce1ac 6925 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
6926 negotiation fails, then possibly try again with a non-encrypted
6927 connection (bug#9017).
6928
56ec5115
LMI
6929 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6930 be used.
6931
c2f9aec8
RS
69322011-07-07 Richard Stallman <rms@gnu.org>
6933
6934 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6935 property, and handle its changed format.
6936 Look for the correct line number.
6937 Use file's line contents (but not past first =) to find
6938 correct line in message.
6939
ef7b981d 69402011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
6941
6942 * international/characters.el (build-unicode-category-table):
6943 Delete it.
0757af94 6944 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 6945
0757af94 6946 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
6947 to src/chartab.c.
6948 (get-char-code-property): Call unicode-property-table-internal to
6949 load a file. Call get-unicode-property-internal where necessary.
6950 (put-char-code-property): Call unicode-property-table-internal to
6951 load a file. Call put-unicode-property-internal where necessary.
6952 put-unicode-property-internal where necessary.
0757af94
SM
6953 (char-code-property-description):
6954 Call unicode-property-table-internal to load a file.
c805dec0
KH
6955
6956 * international/charprop.el:
6957 * international/uni-bidi.el:
6958 * international/uni-category.el:
6959 * international/uni-combining.el:
6960 * international/uni-comment.el:
6961 * international/uni-decimal.el:
6962 * international/uni-decomposition.el:
6963 * international/uni-digit.el:
6964 * international/uni-lowercase.el:
6965 * international/uni-mirrored.el:
6966 * international/uni-name.el:
6967 * international/uni-numeric.el:
6968 * international/uni-old-name.el:
6969 * international/uni-titlecase.el:
6970 * international/uni-uppercase.el: Regenerate.
6971
6972 * loadup.el: Load international/charprop.el before
6973 international/characters.
6974
e14b388a
CY
69752011-07-07 Chong Yidong <cyd@stupidchicken.com>
6976
6977 * window.el (next-buffer, previous-buffer): Signal an error if
6978 called from a minibuffer window.
6979
6980 * bindings.el: Revert 2011-07-04 change.
6981
354cf0ba
RS
69822011-07-06 Richard Stallman <rms@gnu.org>
6983
6984 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6985 (rmail-mime-insert-bulk, rmail-mime-insert-text):
6986 Treat markers like ints.
6987 (rmail-mime-entity): Doc fix.
6988
a48868a7
LMI
69892011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6990
4906cd3d
LMI
6991 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6992 defcustom again for backwards compatibility.
6993
e0457abe
LMI
6994 * simple.el (shell-command-on-region): Fill.
6995
d67f7e1f
LMI
6996 * dired-aux.el (dired-kill-line): Add a doc string.
6997
fe204702
LMI
6998 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6999 to "\\sw\\|\\s_" (bug#358).
7000
a48868a7
LMI
7001 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7002 (dired-unmark-backward): Ditto.
7003 (dired-flag-backup-files): Ditto.
7004
7005 * dired-x.el (dired-mark-sexp): Ditto.
7006
aa8a705c
RS
70072011-07-06 Richard Stallman <rms@gnu.org>
7008
7009 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7010 (rmail-mime-entity): New arg TRUNCATED.
7011 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7012 New functions.
7013 (rmail-mime-save): Warn if entity is truncated.
7014 (rmail-mime-toggle-hidden): Likewise, for showing.
7015 (rmail-mime-process-multipart): Record when an entity is truncated.
7016
a9a936b9
RS
7017 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7018 if ENTITY is a string.
7019
1f2b92cb
LMI
70202011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7021
f4f73198 7022 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
7023 of faces when `M-C-x'-ing their definitions (bug#8378).
7024 Also clean up the code slightly.
f4f73198 7025
12b16734 7026 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 7027 because that makes the colors go away.
12b16734 7028
f0691d22
LMI
7029 * mail/sendmail.el (send-mail-function): Change the default to
7030 `sendmail-query-once'.
9e87df06 7031 (sendmail-query-once): Add an autoload cookie.
f0691d22 7032
1f2b92cb
LMI
7033 * net/network-stream.el (network-stream-open-starttls): Try using
7034 a plain connection even if the server offered STARTTLS, and we
7035 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7036 capability. This should make smtpmail.el work in slightly more
7037 configurations.
7038
1cdd2a1b
MA
70392011-07-06 Michael Albinus <michael.albinus@gmx.de>
7040
7041 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7042 New defun.
7043 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7044
fbcc67e2
MM
70452011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7046
7047 * progmodes/sql.el: Version 3.0
0757af94 7048 (sql-product-alist): Add product :completion-object,
fbcc67e2 7049 :completion-column, and :statement attributes.
0757af94 7050 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 7051 (sql-mode-syntax-table): Mark all punctuation.
0757af94 7052 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
7053 ansi keywords.
7054 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 7055 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
7056 (sql-oracle-show-reserved-words): New function for development.
7057 (sql-product-font-lock): Simplify for source code buffers.
7058 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7059 New functions.
7060 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
7061 (sql-mode-map): Add statement movement functions.
7062 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7063 New variable.
fbcc67e2
MM
7064 (sql-statement-regexp, sql-beginning-of-statement)
7065 (sql-end-of-statement, sql-signum): New functions.
0757af94 7066 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
7067 (sql-show-sqli-buffer): Bug fix.
7068 (sql-interactive-mode): Store connection data as buffer local.
0757af94 7069 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
7070 with sql-interactive-mode.
7071 (sql-save-connection): Save buffer local settings.
0757af94 7072 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
7073 (sql-product-interactive): Bug fix.
7074 (sql-preoutput-hold): New variable.
7075 (sql-interactive-remove-continuation-prompt): Bug fixes.
7076 (sql-debug-redirect): New variable.
7077 (sql-str-literal): New function.
7078 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 7079 Redesign.
fbcc67e2
MM
7080 (sql-oracle-save-settings, sql-oracle-restore-settings)
7081 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7082 (sql-completion-object, sql-completion-column)
7083 (sql-completion-sqlbuf): New variables.
7084 (sql-build-completions-1, sql-build-completions)
7085 (sql-try-completion): New functions.
7086 (sql-read-table-name): Use them.
7087 (sql-contains-names): New buffer local variable.
7088 (sql-list-all, sql-list-table): Use it.
7089 (sql-oracle-completion-types): New variable.
7090 (sql-oracle-completion-object, sql-sqlite-completion-object)
7091 (sql-postgres-completion-object): New functions.
7092
d4eaeab1
GM
70932011-07-06 Glenn Morris <rgm@gnu.org>
7094
7095 * window.el (pop-to-buffer): Doc fix.
7096
322b7dab 70972011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
7098
7099 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7100
322b7dab 71012011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 7102
322b7dab 7103 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 7104
322b7dab 7105 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 7106
605dd5bf
CY
71072011-07-05 Chong Yidong <cyd@stupidchicken.com>
7108
7109 * button.el (button): Inherit from link face. Suggested by Dan
7110 Nicolaescu.
7111
7dbfa719
SM
71122011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7113
3db614b0
SM
7114 * progmodes/gdb-mi.el: Fit in 80 columns.
7115 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7116 switch-to-buffer.
7117
7dbfa719
SM
7118 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7119 if imenu is simply not configured (bug#8941).
7120
919d884a
KM
71212011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7122
7123 * allout.el (allout-post-undo-hook): New allout outline-change
7124 event hook to signal undo activity.
7125 (allout-post-command-business): Run allout-post-undo-hook if an
7126 undo just occurred.
7dbfa719
SM
7127 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7128 * allout-widgets.el (allout-widgets-after-undo-function):
7129 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
7130 in the vicinity of an undo.
7131 (allout-widgets-mode): Include allout-widgets-after-undo-function
7132 on the new allout-post-undo-hook.
7133
450a0f09
SM
71342011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7135
7136 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7137 Let define-derived-mode define it.
7138 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7139 cycles of abbrev-table inheritance (bug#8998).
7140
2de69e00
RW
71412011-07-05 Roland Winkler <winkler@gnu.org>
7142
7143 * textmodes/bibtex.el: Add support for biblatex.
7144 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7145 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7146 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7147 (bibtex-entry-alist, bibtex-field-alist): New variables.
7148 (bibtex-entry-field-alist): Obsolete alias for
7149 bibtex-BibTeX-entry-alist.
7150 (bibtex-entry-alist, bibtex-field-alist): New widgets.
7151 (bibtex-set-dialect): New command.
7152 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
7153 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7154 Bind via bibtex-set-dialect.
2de69e00
RW
7155 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7156 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7157 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7158 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7159 Define via bibtex-set-dialect.
450a0f09
SM
7160 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7161 Obey bibtex-no-opt-remove-re.
2de69e00
RW
7162 (bibtex-vec-push, bibtex-vec-incr): New functions.
7163 (bibtex-format-entry, bibtex-field-list)
7164 (bibtex-print-help-message, bibtex-validate)
7165 (bibtex-search-entries): Use new format of bibtex-entry-alist.
7166
2dcdbdd9
SM
71672011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7168
7169 * progmodes/compile.el (compilation-goto-locus):
7170 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7171 * bs.el (bs-cycle-next, bs-cycle-previous):
7172 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7173 * bindings.el (mode-line-other-buffer):
7174 * autoinsert.el (auto-insert):
7175 * arc-mode.el (archive-extract):
7176 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7177
b27640fe
JB
71782011-07-05 Juanma Barranquero <lekktu@gmail.com>
7179
7180 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7181 Fix check of `emacs-lock-unlockable-modes'.
7182 Coerce true values of `emacs-lock--try-unlocking' to t.
7183
53bbe3ad
JB
71842011-07-05 Juanma Barranquero <lekktu@gmail.com>
7185
7186 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7187 * emacs-lock.el: New file.
7188
1d3cdbc7
JD
71892011-07-05 Julien Danjou <julien@danjou.info>
7190
7191 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7192 than `boundp' to check if face is set.
7193
9173deec
JB
71942011-07-05 Juanma Barranquero <lekktu@gmail.com>
7195
7196 * register.el (registerv-make):
7197 * window.el (window-min-height): Fix typos in docstrings.
7198
869795d6
JD
71992011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7200
9173deec 7201 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
7202 Update doc string.
7203
b768cdcd
JB
72042011-07-04 Juanma Barranquero <lekktu@gmail.com>
7205
7206 * server.el (server-execute): Catch quit and call
7207 `server-return-error' to pass the error back to emacsclient and
7208 close the connection (bug#8942).
7209
13aa217b
KM
72102011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
7211
7212 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7213 insecure exception for current topic. Also note that auto-saves
7214 are handled differently.
7215
7216 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7217 State variables for tracking auto-save inhibition situation.
7218
7219 (allout-write-contents-hook-handler): Rename from
7220 'allout-write-file-hook-handler', and describe how it depends on
7221 write-contents-functions sensitivity to non-nil value to prevent
7222 file write.
7223
7224 (allout-auto-save-hook-handler): Remove. auto-save does not check
7225 this in individual buffers, only in the starting buffer, so this
7226 is not the right way for us to inhibit auto-save in a buffer
7227 according to its condition.
7228
7229 (allout-mode): Use new allout-write-contents-hook-handler, and
7230 only with write-contents-functions. Remove auto-save provisions -
7231 they're implemented elsewhere.
7232
7233 (allout-before-change-handler): If undo is in progress, note that
7234 for attention of allout-post-command-business.
7235
7236 (allout-post-command-business): If the command we're following was
7237 an undo, check for change in the status of encrypted items and
7238 adjust auto-save inhibitions accordingly.
7239
7240 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7241 according to whether there are or aren't any plain-text topics
7242 pending encryption.
7243
2dcdbdd9 7244 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
7245 Adjust buffer-saved-size and some allout state to inhibit auto-saves
7246 if there are plain-text topics pending encryption.
13aa217b
KM
7247
7248 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7249 buffer-saved-size and some allout state to not inhibit auto-saves
7250 if there are no longer any plain-text topics pending encryption.
7251
0757af94
SM
7252 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7253 No longer provide for exemption of the current topic.
13aa217b 7254
ac89b32c
JL
72552011-07-04 Juri Linkov <juri@jurta.org>
7256
7257 Add 7z operations to delete and save changed members (bug#8968).
7258 * arc-mode.el (archive-7z-expunge, archive-7z-update):
7259 New defcustoms.
7260 (archive-7z-write-file-member): New function.
7261 (archive-7z-summarize): Fix the number of dashes in the
7262 listing output.
7263
8fa39615
SM
72642011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7265
7266 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7267 (bug#8958).
7268
2f11b3f1
CY
72692011-07-04 Chong Yidong <cyd@stupidchicken.com>
7270
d66fef2b
CY
7271 * bindings.el: Ignore next-buffer and previous-buffer in
7272 minibuffer-local-map.
7273
2f11b3f1
CY
7274 * font-lock.el (font-lock-builtin-face): Change light background
7275 color to dark slate blue (Bug#6693).
7276
f932a347
WD
72772011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
7278
7279 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7280
c8af70e1
SM
72812011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7282
7283 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7284 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7285 Add switch-to-buffer.
7286
f158badc
LMI
72872011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7288
7289 * isearch.el (isearch-search-fun-function): Clarify further the
7290 meaning of the function returned.
7291
6d95bd46
MA
72922011-07-04 Michael Albinus <michael.albinus@gmx.de>
7293
7294 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7295
7296 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7297 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7298 Use it.
7299 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
7300 `tramp-default-remote-path' does not exist.
7301 (tramp-send-command-and-read): New optional argument NOERROR.
7302 (tramp-open-connection-setup-interactive-shell)
7303 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7304 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7305 (tramp-process-sentinel): Flush also process' connection property.
7306 (tramp-sh-handle-start-file-process): Do not set process
7307 sentinel. It is done now ...
7308 (tramp-maybe-open-connection): ... here. (Bug#8929)
7309
909e6b67
MK
73102011-07-04 MON KEY <monkey@sandpframing.com>
7311
7312 * play/animate.el (animate-string): Doc fixes and allow changing
7313 the buffer name (bug#5417).
7314
73152011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7316
c8af70e1 7317 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 7318
f34755dc
PE
73192011-07-04 Paul Eggert <eggert@cs.ucla.edu>
7320
396cec72
PE
7321 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7322 This is simpler and helps future-proof the code.
7323 (timer-until): Use time-subtract and float-time.
08235028 7324 (timer--time-less-p): Use time-less-p.
f34755dc 7325
56e6cc31
JB
73262011-07-04 Juanma Barranquero <lekktu@gmail.com>
7327
3abb79e5
JB
7328 * type-break.el (timep): Use the value of `float-time' to avoid a
7329 byte-compiler warning.
7330
56e6cc31
JB
7331 * server.el (server-eval-and-print): Return any result, even nil.
7332
7b9430b4
PE
73332011-07-03 Paul Eggert <eggert@cs.ucla.edu>
7334
7335 * type-break.el: Accept time formats that the builtins accept.
7336 (timep, type-break-time-difference): Accept any format that
7337 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7338 This is simpler and helps future-proof the code.
7339 (type-break-time-difference): Round rather than ignoring
7340 subseconds components.
7341
3034e9e7
LMI
73422011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7343
7344 * info.el (Info-apropos-matches): Make non-interactive, since it
7345 doesn't seem to do anything useful as a command (bug#8829).
7346
1485f4c0
CY
73472011-07-03 Chong Yidong <cyd@stupidchicken.com>
7348
7349 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 7350 Move from faces.el.
1485f4c0
CY
7351 (frame-default-terminal-background): New function.
7352
7353 * custom.el (custom-push-theme): Don't record faces in `changed'
7354 theme; this doesn't work correctly for per-frame face settings.
7355 (disable-theme): Use face-set-after-frame-default to reset faces.
7356 (custom--frame-color-default): New function.
7357
9fa3dd45
LMI
73582011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7359
c8af70e1 7360 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
7361 (bug#8769).
7362
6cbbc20c
KR
73632011-03-29 Kevin Ryde <user42@zip.com.au>
7364
7365 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7366 `perl-Test2' extend to match possible "fail #N" rep count
7367 (bug#8377).
7368
c7f98048
LMI
73692011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7370
65676592
LMI
7371 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7372 `smtpmail-via-smtp' now returns the error instead of nil.
7373
c7f98048
LMI
7374 * isearch.el (isearch-search-fun-function): Clarify the doc string
7375 (bug#8101).
7376
56e6cc31 73772011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
7378
7379 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7380 unnecessary spaces (bug#8987).
7381
2b216704
LMI
73822011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7383
7384 * net/network-stream.el (open-network-stream): Use the
7385 :end-of-capability command thoughout.
7386
73872011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7388
7389 * net/network-stream.el (open-network-stream): Add the
7390 :end-of-capability command parameter, used by pop3.el.
7391
36adf6ce
LMI
73922011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7393
1ca0da0e
LMI
7394 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7395
fc00f69c
LMI
7396 * fringe.el (fringe-query-style): Remove redundant text " (type ?
7397 for list)" (bug#6475).
7398
28fd8759 7399 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 7400 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
7401 an error (bug#6297).
7402
0dd8b6da
LMI
7403 * man.el (Man-reference-regexp): Allow matching possible
7404 word-wrapped references (bug#6289).
7405
ce1438d6
LMI
7406 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7407 for consistency with the other vc buffers (bug#6197).
7408 (vc-checkin): Ditto.
7409
7410 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7411
36adf6ce
LMI
7412 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7413
e83cc1f7
LMI
74142011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7415
8a20ca4c
LMI
7416 * custom.el (defcustom): Clarify that :set is only used in the
7417 Customize user interface (bug#6089).
7418
83319045
LMI
7419 * progmodes/flymake.el (flymake-mode): If the buffer isn't
7420 associated with a file, refuse to run instead of erroring out
7421 (bug#6084).
7422
a8392169
LMI
7423 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7424 the doc string, since it appears that using `fill-column' always
7425 controls the width (bug#7845).
7426
e83cc1f7
LMI
7427 * simple.el (shell-command-on-region): Say where the error output
7428 went if `shell-command-default-error-buffer' is set (bug#6857).
7429
e47ca23b
KM
74302011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
7431
7432 * allout.el (allout-yank-processing): Adjust cursor position for
7433 backwards-deleted space.
7434
7435 (allout-rebullet-heading): Register changes with
7436 allout-exposure-changed-hook, so the modified topic is properly
7437 decorated.
7438
5cf56143
LMI
74392011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7440
08549772
LMI
7441 * minibuffer.el (completion-in-region): Document PREDICATE
7442 (bug#7136).
7443
48e96771
LMI
7444 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7445 of keyword/argument pairs (bug#6904).
7446
c8af70e1
SM
7447 * replace.el (multi-occur):
7448 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 7449
e17d05e2
LMI
74502011-07-02 Drew Adams <drew.adams@oracle.com>
7451
7452 * dired.el (dired-mark-if): Make the message about whether it's
7453 marking or unmarking clearer (bug#8523).
7454
063b0e45
LMI
74552011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7456
7457 * disp-table.el (display-table-print-array): New function.
7458 (describe-display-table): Use it to print the vectors more pretty
7459 (Bug#8859).
7460
28545e04
MR
74612011-07-02 Martin Rudalics <rudalics@gmx.at>
7462
7463 * window.el (window-state-get-1): Don't assign clone numbers.
7464 Add clone-of item to list of window parameters.
7465 (window-state-put-2): Don't process clone numbers.
7466 (display-buffer-alist): Fix doc-string.
7467
3349e122
SM
74682011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7469
7470 * subr.el (remq): Don't allocate if it's not needed.
7471 (keymap--menu-item-binding, keymap--menu-item-with-binding)
7472 (keymap--merge-bindings): New functions.
7473 (keymap-canonicalize): Use them to refine the canonicalization.
7474 * minibuffer.el (minibuffer-local-completion-map)
7475 (minibuffer-local-must-match-map): Move initialization from C.
7476 (minibuffer-local-filename-completion-map): Move initialization from C;
7477 don't inherit from anything here.
7478 (minibuffer-local-filename-must-match-map): Make obsolete.
7479 (completing-read-default): Use make-composed-keymap to combine
7480 minibuffer-local-filename-completion-map with either
7481 minibuffer-local-must-match-map or
7482 minibuffer-local-filename-completion-map.
7483
d224ac83
GM
74842011-07-01 Glenn Morris <rgm@gnu.org>
7485
3de63bf8
GM
7486 * type-break.el (type-break-time-sum): Use dolist.
7487
d224ac83
GM
7488 * textmodes/flyspell.el (flyspell-word-search-backward):
7489 Replace CL function.
7490
1a1e3f32
SM
74912011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7492
fe3f64d5
SM
7493 * mouse.el (mouse--strip-first-event): New function.
7494 (function-key-map): Use it to map fringe clicks to normal clicks
7495 by default.
7496
eb604e34
SM
7497 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7498 (vc-bzr-revision-completion-table): Add support for annotate and date.
7499
1a1e3f32
SM
7500 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7501 inherit from parent.
7502
5bd35902
LMI
75032011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7504
ace6c69c 7505 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 7506 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 7507
191e2bed
LMI
7508 * dired.el (dired-mode): Fix up the doc string as suggested by
7509 Drew Adams (bug#8817).
7510
5bd35902
LMI
7511 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7512 cookie, since the manual says that it should be possible to add
7513 this function to `find-file-hook' (bug#8709).
7514
eee8207a
TZ
75152011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7516
7517 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7518 here. Noted Ted Zlatanov as the maintainer.
7519 (cfengine-common-settings, cfengine-common-syntax): New functions
7520 to set up common things between `cfengine-mode' and
7521 `cfengine3-mode'.
7522 (cfengine3-mode): New mode.
7523 (cfengine3-defuns cfengine3-defuns-regex
7524 (cfengine3-class-selector-regex cfengine3-category-regex)
7525 (cfengine3-vartypes cfengine3-font-lock-keywords)
7526 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 7527 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 7528
36b148cf
MA
75292011-07-01 Michael Albinus <michael.albinus@gmx.de>
7530
7531 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7532
7533 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7534
0bf4ba9a
MR
75352011-07-01 Martin Rudalics <rudalics@gmx.at>
7536
7537 * window.el (same-window-buffer-names, same-window-regexps)
7538 (same-window-p, special-display-frame-alist)
7539 (special-display-popup-frame, special-display-function)
7540 (special-display-buffer-names, special-display-regexps)
7541 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7542 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7543 (split-window-preferred-function, split-height-threshold)
7544 (split-width-threshold, even-window-heights)
7545 (display-buffer-mark-dedicated, window-splittable-p)
7546 (split-window-sensibly, window-safely-shrinkable-p):
7547 Un-obsolete.
7548 (display-buffer): Don't spread args with function specifier
7549 because special-display-popup-frame won't like it.
7550
35837f51
PE
75512011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7552
d0672f86
PE
7553 Time-stamp simplifications and fixes.
7554 These improve accuracy slightly, and future-proof the code
7555 against some potential changes to current-time format.
7556
b9444d97
PE
7557 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7558 by using time-since and float-time.
7559
0ef923dc
PE
7560 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7561 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7562 + NNN microseconds".
7563
2f81380d
PE
7564 * type-break.el (type-break-time-sum): Rewrite using time-add.
7565
845b5c3e
PE
7566 * play/hanoi.el (hanoi-current-time-float): Remove.
7567 All uses replaced by float-time.
7568
ee6f1be0
PE
7569 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7570 This yields a more-accurate answer.
7571 (rng-time-to-float): Remove; no longer needed.
7572
fe955043
PE
7573 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7574
5777162a
PE
7575 * calendar/timeclock.el (timeclock-seconds-to-time):
7576 Defalias to seconds-to-time, since they're the same thing.
7577
3103f8b6 7578 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 7579 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
7580 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7581
0e61a35f
SM
75822011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7583
7584 * window.el (bury-buffer): Don't iconify the only frame.
7585 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7586 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7587
ddd63a1e
CY
75882011-07-01 Chong Yidong <cyd@stupidchicken.com>
7589
0e61a35f
SM
7590 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7591 Add mouse-yank-primary.
ddd63a1e 7592
055f4923
TZ
75932011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7594
7595 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7596
6a2fb145
SM
75972011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7598
7599 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7600 (find-library-name): Use it to find relative load names when provided
7601 absolute file name (bug#8803).
7602
fd4983f2
LMI
76032011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7604
887d14ad
LMI
7605 * textmodes/flyspell.el (flyspell-word): Consider words that
7606 differ only in case as potential doublons (bug#5687).
7607
c53dc7fc
LMI
7608 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7609 Remove two rather uninteresting debugging-like messages to make
7610 debbugs.el more silent.
7611
fd4983f2
LMI
7612 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7613 a password-like phrase.
7614
7a71b18d 76152011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
7616
7617 * progmodes/cc-guess.el: New file.
7618
6a2fb145 7619 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
7620
7621 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7622 derived from `c-basic-common-init'.
7623
7624 * progmodes/cc-mode.el (top-level): Require cc-guess.
7625 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7626
1fa280a3
LM
76272011-06-30 Lawrence Mitchell <wence@gmx.li>
7628
7629 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7630
e6597158
AM
76312011-06-30 Alan Mackenzie <acm@muc.de>
7632
1fa280a3
LM
7633 * progmodes/cc-engine.el (c-guess-continued-construct):
7634 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
7635 lock is disabled. Name this case as "CASE G".
7636
68ba37fb
KM
76372011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7638
7639 * allout.el (allout-yank-processing): Fix injection of extra space
7640 between bullet and non-whitespace character in first topic when
7641 pasting, ensuring that the actual spacing in the pasted topic
7642 following the bullet char is preserved. This extra space was
7643 causing pasted encrypted topics to get a decrypted status even
7644 when the content was actually still encrypted. Now the decryption
7645 status from before the paste is preserved.
7646
7647 (allout-flag-region): Set all allout overlays so they evaporate
7648 when reduced to zero length (evanescent), to prevent overlay
7649 leakage.
7650
887a0b34
GM
76512011-06-30 Glenn Morris <rgm@gnu.org>
7652
94b9acce
GM
7653 * w32-fns.el (w32-charset-info-alist): Declare.
7654
1d9b46d4
GM
7655 * find-dired.el (find-grep-options): Simplify.
7656
cc232200
GM
7657 * term/ns-win.el (ns-set-resource): Declare.
7658
28e77c46
GM
7659 * ses.el (row, col): Declare dynamic variables honestly.
7660
887a0b34
GM
7661 * textmodes/reftex-parse.el (index-tags): Declare.
7662
658d8eb8
CY
76632011-06-30 Chong Yidong <cyd@stupidchicken.com>
7664
7665 * cus-edit.el (customize-push-and-save): New function.
7666
7667 * files.el (hack-local-variables-confirm): Use it.
7668
1fa280a3
LM
7669 * custom.el (load-theme): New arg NO-CONFIRM.
7670 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
7671 (custom-enabled-themes): Doc fix.
7672
7673 * cus-theme.el (customize-create-theme)
7674 (custom-theme-merge-theme): Callers to load-theme changed.
7675
bb617717
LMI
76762011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7677
d61bdd5d
LMI
7678 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7679 short URLs have at least one dot in them (bug #7614).
7680
bb617717
LMI
7681 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7682 nil, because using a pty is apparently too slow (bug #895).
7683
2f31f37a
LMI
76842011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7685
7686 * mail/sendmail.el (sendmail-query-once): New function.
7687 (sendmail-query-once-function): New variable.
7688
3076b24e
GM
76892011-06-29 Glenn Morris <rgm@gnu.org>
7690
faf2a174
GM
7691 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7692
3076b24e
GM
7693 * ses.el (top-level): Require cl when compiling.
7694 (ses-set-localvars): Fix error statement.
7695 Call it at compile time to silence a storm of warnings.
7696
5386012d
MR
76972011-06-29 Martin Rudalics <rudalics@gmx.at>
7698
7699 * window.el (normalize-live-buffer): Rename to
7700 window-normalize-buffer.
7701 (normalize-live-frame): Rename to window-normalize-frame.
7702 (normalize-any-window): Rename to window-normalize-any-window.
7703 (normalize-live-window): Rename to window-normalize-live-window.
7704 (make-window-atom): Rename to window-make-atom.
7705 (window-resize-reset): Rename to window--resize-reset.
7706 (window-resize-reset-1): Rename to window--resize-reset-1.
7707 (resize-mini-window): Rename to window--resize-mini-window.
7708 (resize-subwindows-skip-p): Rename to
7709 window--resize-subwindows-skip-p.
7710 (resize-subwindows-normal): Rename to
7711 window--resize-subwindows-normal.
7712 (resize-subwindows): Rename to window--resize-subwindows.
7713 (resize-other-windows): Rename to window--resize-siblings.
7714 (resize-this-window): Rename to window--resize-this-window.
7715 (resize-root-window): Rename to window--resize-root-window.
7716 (resize-root-window-vertically): Rename to
7717 window--resize-root-window-vertically.
7718 (normalize-buffer-to-display): Rename to
7719 window-normalize-buffer-to-display.
7720 (normalize-buffer-to-switch-to): Rename to
7721 window-normalize-buffer-to-switch-to.
7722 Correspondingly update all callers of the functions listed
7723 above.
7724 (display-buffer-alist, display-buffer-normalize-arguments)
7725 (display-buffer-normalize-options, display-buffer)
7726 (display-buffer-alist-set): Use "function" instead of
7727 "fun-with-args".
7728
1176868d
CY
77292011-06-28 Chong Yidong <cyd@stupidchicken.com>
7730
7731 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7732 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7733 debbugs.gnu.org. Mention acknowledgment email.
7734
20a7a65f
LMI
77352011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7736
7737 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7738 buffer multibyteness, since it shouldn't matter.
7739
5f45cca5
MR
77402011-06-28 Martin Rudalics <rudalics@gmx.at>
7741
7742 * window.el (display-buffer-in-side-window): Handle dedicated
7743 windows as in display-buffer-reuse-window.
7744 (display-buffer-normalize-alist): Use value of override
7745 specifier.
7746 (display-buffer-normalize-specifiers): Use value of
7747 other-window-means-other-frame specifier.
7748 (display-buffer-alist): Rewrite some texts in widgets.
7749 (display-buffer): Spread arguments when calling function
7750 specified by fun-with-args.
7751
ad85fe1f
DD
77522011-06-28 Deniz Dogan <deniz@dogan.se>
7753
1fa280a3
LM
7754 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7755 Unnest `let'.
da68c4c8 7756
ad85fe1f
DD
7757 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7758 selectors (Bug#5732).
ec49bd31 7759 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 7760
a08cc025
JA
77612011-06-27 Jari Aalto <jari.aalto@cante.net>
7762
7763 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7764 (eshell-ls-date-format): New defcustom.
7765 (eshell-ls-file): Use it.
7766
e2b551c5
SM
77672011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7768
7769 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7770
8982b231
KY
77712011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7772
7773 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7774 (ange-ftp-make-tmp-name): New arg.
7775 (ange-ftp-file-local-copy): Use it.
7776
36c9fa27
J
77772011-06-27 Jambunathan K <kjambunathan@gmail.com>
7778
7779 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7780 no-conversion (Bug#8870).
7781
d68443dc
MR
77822011-06-27 Martin Rudalics <rudalics@gmx.at>
7783
7784 * window.el (window-right, window-left, window-child)
7785 (window-child-count, window-last-child)
7786 (window-iso-combination-p, walk-window-tree-1)
7787 (window-atom-check-1, window-tree-1, delete-window)
7788 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7789 new naming conventions - window-vchild, window-hchild,
7790 window-next and window-prev are now called window-top-child,
7791 window-left-child, window-next-sibling and window-prev-sibling
7792 respectively.
d615d6d2
MR
7793 (resize-window-reset): Rename to window-resize-reset.
7794 (resize-window-reset-1): Rename to window-resize-reset-1.
7795 (resize-window): Rename to window-resize.
7796 (window-min-height, window-min-width)
7797 (resize-mini-window, resize-this-window, resize-root-window)
7798 (resize-root-window-vertically, adjust-window-trailing-edge)
7799 (enlarge-window, shrink-window, maximize-window)
7800 (minimize-window, delete-window, quit-restore-window)
7801 (split-window, balance-windows, balance-windows-area-adjust)
7802 (balance-windows-area, window-state-put-2)
7803 (display-buffer-even-window-sizes, display-buffer-set-height)
7804 (display-buffer-set-width, set-window-text-height)
7805 (fit-window-to-buffer): Rename all "resize-window" prefixed
7806 calls to use the "window-resize" prefix convention.
7807 (display-buffer-alist): Fix symbol for label specifier.
7808 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7809 corresponding specifier.
7810 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 7811
b6458526
VB
78122011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7813
7814 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7815 convention.
7816 (ses-call-printer): Does not pass an empty string to formatter when the
7817 cell is empty to keep from barking printer Calc math-format-value.
7818
d31fd9ac
RS
78192011-06-27 Richard Stallman <rms@gnu.org>
7820
43d5bf84
RS
7821 * battery.el (battery-mode-line-limit): New variable.
7822 (battery-update): Handle it.
7823
d31fd9ac
RS
7824 * mail/rmailmm.el (rmail-mime-process-multipart):
7825 Handle truncated messages.
7826
819a6054
GM
78272011-06-27 Glenn Morris <rgm@gnu.org>
7828
7829 * progmodes/flymake.el (flymake-err-line-patterns):
7830 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7831
cedc73f2
VB
78322011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7833
819a6054 7834 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
7835 (ses--clean-!, ses--clean-_): New functions.
7836 (ses-range): Add configurability of readout order, and conversion
7837 to Calc vector.
7838
5e5d49b6
VB
7839 * ses.el (ses-repair-cell-reference-all): New function.
7840 (ses-cell-symbol): Set macro as safe, so that it can be used in
7841 formulas.
7842
56e6cc31 7843 * ses.el: Update cycle detection algorithm.
90ca8b49 7844 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 7845 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
7846 (ses-set-localvars): New function.
7847 (ses-make-cell): Add property-list as a cell element.
7848 (ses-cell-property-get-fun, ses-cell-property-get)
7849 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
7850 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7851 New functions.
90ca8b49
VB
7852 (ses-cell-property-set, ses-cell-property-pop)
7853 (ses-cell-property-get-handle): New macro.
7854 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7855 New aliases, used for code readability.
7856 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7857 cycle detection.
7858 (ses-self-reference-early-detection): New defcustom.
fac916bf 7859 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
7860 (ses-mode): Use ses-set-localvars.
7861 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7862 before lauching the update processing.
7863 (ses-initialize-Dijkstra-attempt): New function.
7864 (ses-recalculate-cell): Update for cycle detection based on
7865 Dijkstra algorithm.
7866
2bb63e81
VB
7867 * ses.el: Fix commenting and indenting convention.
7868
c9d29fb8
SM
78692011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7870
7871 * bs.el (bs-cycle-next): Complete last change.
7872
d8e4b68b
JB
78732011-06-27 Drew Adams <drew.adams@oracle.com>
7874
7875 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7876
40098786
LMI
78772011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7878
c9d29fb8
SM
7879 * net/network-stream.el (network-stream-open-starttls):
7880 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
7881 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7882
40098786
LMI
7883 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7884 to binary to possibly avoid line encoding issues on Windows (among
7885 other things).
7886
468d09d4
LMI
78872011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7888
7889 * net/network-stream.el (open-network-stream): Return an :error
7890 saying what the problem was, if possible.
7891
7892 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7893 server.
7894
7895 * net/network-stream.el (network-stream-open-starttls): If we
7896 wanted to use STARTTLS, and the server offered it, but we weren't
7897 able to because we had no STARTTLS support, then close the connection.
7898 (open-network-stream): Return an :error element, if present.
7899
16f07dd7
CY
79002011-06-26 Chong Yidong <cyd@stupidchicken.com>
7901
88821ca0
CY
7902 * hl-line.el (hl-line-sticky-flag): Doc fix.
7903 (global-hl-line-sticky-flag): New option (Bug#8323).
7904 (global-hl-line-highlight): Obey it.
7905
16f07dd7
CY
7906 * vc/vc.el (vc-revert-show-diff): Default to t.
7907
6b5ccddf
KM
79082011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
7909
c9d29fb8
SM
7910 * allout-widgets.el (allout-widgets-post-command-business):
7911 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
7912 undecorated when an isearch is continued past, and isearch
7913 automatically collapses them. This leads to "widget leaks", where
7914 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
7915 hidden widgets can slow down cursor travel, substantially.
7916 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
7917 so we're doing without this nicety.
7918
7919 (allout-widgets-tally-string): Don't try to do a hash-table-count
7920 of allout-widgets-tally when it's nil. This eliminates spurious "Error
7921 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7922 *Messages* when allout-widgets-maintain-tally is t.
7923
355f2e07
MR
79242011-06-26 Martin Rudalics <rudalics@gmx.at>
7925
7926 * window.el (display-buffer-normalize-argument): Rename to
7927 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
7928 LABEL argument. Respect special-display-function when popping up
7929 a new frame. Fix code searching for a window showing the buffer
7930 on another frame.
c9d29fb8
SM
7931 (display-buffer-normalize-specifiers):
7932 Call display-buffer-normalize-arguments.
355f2e07
MR
7933 (display-buffer-in-window): Don't undedicate the window if its
7934 buffer remains the same.
7935 Reported by Drew Adams <drew.adams@oracle.com>.
7936 (display-buffer-alist): Add choice for same-window macro
7937 specfier.
7938 (display-buffer): Mention special meaning of LABEL argument in
7939 doc-string. Fix quoting. Don't pop up a new frame even as
7940 fallback.
7941
7ca8fc42
JB
79422011-06-26 Juanma Barranquero <lekktu@gmail.com>
7943
7944 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7945 avoid deleting the current window in some cases (bug#8911).
7946
bc312254
AS
79472011-06-26 Andreas Schwab <schwab@linux-m68k.org>
7948
7949 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7950 (Bug#8934)
7951
2db18f3f
LMI
79522011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7953
c9d29fb8
SM
7954 * net/network-stream.el (network-stream-open-starttls):
7955 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
7956 (network-stream-open-tls): Ditto.
7957
6302e0d3
LL
79582011-06-26 Leo Liu <sdl.web@gmail.com>
7959
7960 * register.el (registerv): New struct.
7961 (registerv-make): New function.
c9d29fb8
SM
7962 (jump-to-register, describe-register-1, insert-register):
7963 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
7964 struct. (Bug#8415)
7965
5fdd4046
CY
79662011-06-26 Chong Yidong <cyd@stupidchicken.com>
7967
2afef60a
CY
7968 * vc/vc.el (vc-revert-show-diff): New defcustom.
7969 (vc-diff-internal): New arg specifying diff buffer.
7970 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
7971 reuse an existing *vc-diff* buffer (Bug#8927).
7972
5fdd4046
CY
7973 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7974
e93db24a
GM
79752011-06-26 Glenn Morris <rgm@gnu.org>
7976
7977 * progmodes/f90.el (f90-critical-indent): New option.
7978 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7979 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7980 (f90-mode): Doc fix.
7981 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7982 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7983 (f90-beginning-of-block, f90-next-block, f90-indent-region)
7984 (f90-match-end): Handle block, critical.
7985
eefff499
GM
79862011-06-25 Glenn Morris <rgm@gnu.org>
7987
f6ba4cc9
GM
7988 * calendar/diary-lib.el (diary-included-files): Doc fix.
7989 (diary-include-files): New function, extracted from
7990 diary-include-other-diary-files and diary-mark-included-diary-files.
7991 (diary-include-other-diary-files, diary-mark-included-diary-files):
7992 Just call diary-include-files.
7993 (diary-mark-entries): Reset diary-included-files on first call.
7994
16712304
GM
7995 * calendar/diary-lib.el (diary-mark-entries)
7996 (diary-mark-included-diary-files):
7997 Visit included diary-files in temp buffers.
7998
5d8e0d43
GM
7999 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8000 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8001 (f90-start-block-re, f90-imenu-generic-expression)
8002 (f90-looking-at-program-block-start, f90-no-block-limit):
8003 Add support for submodules.
8004
ccf7a5d5
GM
8005 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8006 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 8007
11fdef7d 80082011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
8009
8010 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8011 buffer-file-type before setting its value, to avoid disastrous
eefff499 8012 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 8013
74f53697
JB
80142011-06-25 Juanma Barranquero <lekktu@gmail.com>
8015
8016 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8017
8018 * ses.el (ses-unload-function):
8019 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8020
8021 * proced.el (proced-unload-function):
8022 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8023
18a4ce5e
AR
80242011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8025
8026 * server.el (server-create-window-system-frame): Add parameters arg.
8027 (server-process-filter): Doc fix. Handle frame-parameters.
8028
519d22cc
JB
80292011-06-25 Juanma Barranquero <lekktu@gmail.com>
8030
8031 Fix bug#8730, bug#8781.
8032
8033 * loadhist.el (unload--set-major-mode): New function.
8034 (unload-feature): Use it.
8035
8036 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8037 (python-unload-function): New function.
8038
c206f5b0
SM
80392011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8040
8041 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8042
f9ad64f3
GS
80432011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8044
8045 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8046 the candidates list.
8047
7d0da90e
JB
80482011-06-24 Juanma Barranquero <lekktu@gmail.com>
8049
8050 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8051
14b4e83d
RS
80522011-06-23 Richard Stallman <rms@gnu.org>
8053
8054 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8055 (rmail-variables): Set next-error-move-function.
8056 (rmail-what-message): Take argument POS.
8057 (rmail-next-error-move): New function.
8058
273d2baf
SM
80592011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8060
8061 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8062 messages for adjacent non-terminals.
8063
56c2cc9a
RS
80642011-06-23 Richard Stallman <rms@gnu.org>
8065
8066 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 8067 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
8068 (rmail-start-mail): Don't specify use of rmail-mail-return;
8069 that's done by mail-bury now.
8070 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 8071
d59eb518
MA
80722011-06-23 Michael Albinus <michael.albinus@gmx.de>
8073
8074 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8075 SIZE is a number.
8076
02cfc6d6
MR
80772011-06-23 Martin Rudalics <rudalics@gmx.at>
8078
8079 * window.el (get-lru-window, get-mru-window)
8080 (get-largest-window): Never return a minibuffer window.
8081 (display-buffer-pop-up-window): Fix a bug that could lead to
8082 reusing the minibuffer window.
8083 (display-buffer): Pass original specifier argument to
8084 display-buffer-function instead of the normalized one.
8085 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8086
4e323265
LL
80872011-06-22 Leo Liu <sdl.web@gmail.com>
8088
8089 * minibuffer.el (completing-read-function)
8090 (completing-read-default): Move from minibuf.c
8091
7a70468f
RS
80922011-06-22 Richard Stallman <rms@gnu.org>
8093
50718fc2
RS
8094 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8095 to Rmail even if not started by a special Rmail command.
8096
7a70468f
RS
8097 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8098 Copy the buffer currently showing just one message.
8099
297dde5a
RW
81002011-06-22 Roland Winkler <winkler@gnu.org>
8101
8102 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8103 (bibtex-clean-entry): First delete the old key so that a
8104 customized algorithm for generating the new key does not get
8105 confused by the old key.
8106 (bibtex-url): Obey regexp of first step.
8107 (bibtex-search-entries): Do not use add-to-list with local
8108 list-var.
8109
97bb1093
LMI
81102011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8111
8112 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8113 stored a user name, then query for the password first, instead of
8114 waiting for SMTP to give an error message and the trying again.
8115
1c0f1a19
JD
81162011-06-22 Lawrence Mitchell <wence@gmx.li>
8117
8118 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8119 BUFFER in call-process.
8120
396f7c9d
LMI
81212011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8122
8123 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8124 QUIT twice.
ddb7ffee
LMI
8125 (smtpmail-try-auth-methods): Require user name and password from
8126 auth-source.
396f7c9d 8127
8998d1b3
MR
81282011-06-22 Martin Rudalics <rudalics@gmx.at>
8129
8130 * window.el (display-buffer-default-specifiers)
8131 (display-buffer-alist): Remove entries for pop-up-frame-alist.
8132 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 8133 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
8134
8135 * frame.el (pop-up-frame-alist, pop-up-frame-function)
8136 (special-display-frame-alist, special-display-popup-frame):
8137 Remove duplicate declarations. These are now in window.el.
8138
4ea31e07
LMI
81392011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8140
c9d29fb8
SM
8141 * mail/smtpmail.el (smtpmail-via-smtp):
8142 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
8143 server supports it. SMTP servers that support STARTTLS commonly
8144 require it.
8145
8146 * net/network-stream.el (network-stream-open-starttls): Support
8147 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 8148 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 8149
95f41d9a
LMI
8150 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8151 upgrades with `open-network-stream', and rely solely on
8152 auth-source for all credentials. Big changes throughout the file,
8153 but in particular:
c9d29fb8
SM
8154 (smtpmail-auth-credentials): Remove.
8155 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
8156 (smtpmail-via-smtp): Check for servers saying they want AUTH after
8157 MAIL FROM, too.
95f41d9a 8158
c9d29fb8
SM
8159 * net/network-stream.el (network-stream-open-starttls):
8160 Provide support for client certificates both for external and built-in
4ea31e07
LMI
8161 STARTTLS.
8162 (auth-source): Require.
8163 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
8164 (network-stream-certificate): Change cert-cert to cert and
8165 cert-key to key.
4ea31e07 8166
065ec2c7
MA
81672011-06-21 Michael Albinus <michael.albinus@gmx.de>
8168
8169 * net/tramp-cache.el (top): Don't load the persistency file when
8170 "emacs -Q" has been called.
8171
cd93b359
DR
81722011-06-21 Tim Harper <timcharper@gmail.com>
8173
d8e4b68b
JB
8174 * term/ns-win.el (ns-initialize-window-system):
8175 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
8176 resource to NO as it is not yet supported by the NS port.
8177
ae9c0411
JB
81782011-06-21 Juanma Barranquero <lekktu@gmail.com>
8179
8180 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8181 (list-dynamic-libraries): ...not here.
8182
7f3f739f
LL
81832011-06-21 Leo Liu <sdl.web@gmail.com>
8184
8185 * subr.el (sha1): Implement sha1 using secure-hash.
8186
327c8fb1
MR
81872011-06-21 Martin Rudalics <rudalics@gmx.at>
8188
8189 * window.el (display-buffer-alist): In default value do not
8190 enforce searching a window on any but the selected frame.
8191 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8192 (display-buffer-select-window): Remove function.
8193 (display-buffer-in-window): When a window on another frame gets
8194 reused, do not select it any more but just raise its frame if
8195 necessary (Bug#8851) and (Bug#8856).
8196 (display-buffer-normalize-options): Handle pop-up-frames related
8197 options more faithfully.
8198 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8199 window if it is on another frame.
c9d29fb8
SM
8200 (display-buffer-alist, display-buffer-default-specifiers):
8201 Don't make new frame unsplittable by default.
9e9de014
MR
8202 (display-buffer-normalize-argument): Fix doc-string typo and use
8203 'same-frame-other-window instead of 'other-window when associating
8204 with display-buffer-macro-specifiers.
327c8fb1 8205
7cf3f556
VB
82062011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8207
8208 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8209 New functions.
8210 (5x5-mode-map, 5x5-mode-menu): Bind them.
8211 (5x5-draw-grid): Tweak the solver's rendering.
8212
60a406cf
SM
82132011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8214
8215 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8216 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8217
d8e4b68b 82182011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
8219
8220 * menu-bar.el: Use function variable instead of switch-to-buffer.
8221 (menu-bar-select-buffer-function): New variable.
60a406cf 8222 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 8223
478d6f95
SM
82242011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8225
8226 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8227 variable's status.
8228
ca530739
JD
82292011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8230
8231 * x-dnd.el (x-dnd-version-from-flags)
8232 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8233 and long as number (Bug#8899).
8234 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8235
bcd70d97
SM
82362011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8237
60a406cf 8238 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
8239 (completion-try-completion, completion-all-completions): Compute the
8240 metadata argument if it's missing; make it optional (bug#8795).
8241
60a406cf 8242 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
8243 (widget-complete): Use new :completion-function property.
8244 (widget-completions-at-point): New function.
8245 (default): Use :completion-function instead of :complete.
60a406cf
SM
8246 (widget-default-completions): Rename from widget-default-complete;
8247 Rewrite.
bcd70d97
SM
8248 (widget-string-complete, widget-file-complete, widget-color-complete):
8249 Remove functions.
8250 (file, symbol, function, variable, coding-system, color):
8251 * international/mule-cmds.el (default-input-method, charset)
8252 (language-info-custom-alist):
8253 * cus-edit.el (face): Use new property :completions.
8254
8255 * progmodes/pascal.el (pascal-completions-at-point): New function.
8256 (pascal-mode): Use it.
8257 (pascal-mode-map): Use completion-at-point.
8258 (pascal-toggle-completions): Make obsolete.
8259 (pascal-complete-word, pascal-show-completions):
8260 * progmodes/octave-mod.el (octave-complete-symbol):
8261 Redefine as obsolete alias.
8262 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8263 Signal absence of completion info for old Octave,
8264 (inferior-octave-complete): Redefine as obsolete alias.
8265 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8266 (meta-completions-at-point): Rename from meta-complete-symbol and
8267 adapt it for use on completion-at-point-functions.
8268 (meta-common-mode): Use it.
8269 (meta-looking-at-backward, meta-match-buffer): Remove.
8270 (meta-complete-symbol): Redefine as obsolete alias.
8271 (meta-common-mode-map): Use completion-at-point.
8272 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8273 (makefile-mode-map): Use completion-at-point.
8274 (makefile-completions-at-point): Rename from makefile-complete and
8275 adapt it for use on completion-at-point-functions.
8276 (makefile-mode): Use it.
8277 (makefile-complete): Redefine as obsolete alias.
8278
aebf69c8
DD
82792011-06-20 Deniz Dogan <deniz@dogan.se>
8280
8281 * net/rcirc.el: Delete trailing whitespaces once and for all.
8282
bfbbb27d
DC
82832011-06-20 Daniel Colascione <dan.colascione@gmail.com>
8284
8285 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8286
d264a46b
CY
82872011-06-19 Chong Yidong <cyd@stupidchicken.com>
8288
4ca009e5
CY
8289 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8290
d264a46b
CY
8291 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8292
fbf5b3ce
MR
82932011-06-19 Martin Rudalics <rudalics@gmx.at>
8294
8295 * window.el (display-buffer-other-window-means-other-frame):
8296 Call display-buffer-normalize-alist.
8297 (display-buffer-normalize-specifiers-1): Rename to
8298 display-buffer-normalize-argument. New argument other-frame.
8299 Rewrite.
8300 (display-buffer-normalize-specifiers-2): Rename to
8301 display-buffer-normalize-options.
8302 (display-buffer-normalize-alist-1): New function.
8303 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
8304 display-buffer-normalize-alist.
8305 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
8306 (display-buffer-normalize-options-inhibit): New variable.
8307 (display-buffer-normalize-specifiers): Rewrite calling
8308 display-buffer-normalize-alist,
8309 display-buffer-normalize-argument, and
8310 display-buffer-normalize-options. Don't call the latter if
8311 display-buffer-normalize-options-inhibit is non-nil.
8312 (frame-auto-delete): New option.
8313 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
8314 (window-list-no-nils, window-state-ignored-parameters)
8315 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
8316 (window-state-put-1, window-state-put-2, window-state-put):
8317 New functions.
9a028c23
MR
8318 (display-buffer-normalize-options): Move special-display-p group
8319 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 8320
6d10d800
CY
83212011-06-18 Chong Yidong <cyd@stupidchicken.com>
8322
6420d28b
CY
8323 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8324 groups (Bug#8776).
8325 (rx-submatch-n): New function.
8326 (rx): Document it.
8327
ddb8b596
CY
8328 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8329 (Bug#8768).
8330
8331 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8332
77080289
CY
8333 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8334
61dfb316
CY
8335 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8336 anytime existing face settings are present (Bug#8889).
8337
6d10d800
CY
8338 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8339 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8340 Remove unused argument.
8341
be3fb2b8
MR
83422011-06-18 Martin Rudalics <rudalics@gmx.at>
8343
bcd70d97
SM
8344 * window.el (display-buffer-default-specifiers):
8345 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
8346 pop-up-window-min-width, and another reuse-window specifier
8347 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
8348 (display-buffer-normalize-specifiers-2):
8349 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
8350 pop-up-windows is unset. Add a reuse-window specifier for the
8351 case popping up a new window fails.
8352 (special-display-popup-frame): Remove double quoting.
28dec25a 8353 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 8354
1c6d8c76
SM
83552011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8356
8357 * shell.el (shell-completion-vars): Set pcomplete-termination-string
8358 according to comint-completion-addsuffix.
8359
8360 * pcomplete.el: Convert to lexical binding and fix bug#8819.
8361 (pcomplete-suffix-list): Mark as obsolete.
8362 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8363 pcomplete-seen in the closure.
8364 (pcomplete-comint-setup): Setup completion-at-point as well.
8365 (pcomplete--entries): New function.
8366 (pcomplete--env-regexp): New var.
8367 (pcomplete-entries): Rewrite to work with partial-completion and
8368 without relying on pcomplete-suffix-list.
8369 (pcomplete-pare-list): Remove, unused.
8370
25aef8b8
MR
83712011-06-17 Martin Rudalics <rudalics@gmx.at>
8372
8373 * window.el (display-buffer-alist): Set pop-up-window-min-height
8374 and pop-up-window-min-width in default value. Reported by
8375 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
8376 other-window-means-other-frame.
8377 (display-buffer-macro-specifiers): Comment out entry for
8378 other-window specifier.
8379 (display-buffer-other-window-means-other-frame): New function.
8380 (display-buffer-normalize-specifiers-1): New arguments
8381 buffer-name and label. Treat other-window case specially.
8382 (display-buffer-normalize-specifiers-2): Treat other-window case
8383 specially.
8384 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
8385 (display-buffer-normalize-specifiers):
8386 Call display-buffer-normalize-specifiers-3.
25aef8b8 8387
dbad4f69
MR
83882011-06-17 Martin Rudalics <rudalics@gmx.at>
8389
8390 * window.el (same-window-p): Fix two typos introduced when
8391 adding with-no-warnings.
d1067961
MR
8392 (display-buffer-normalize-specifiers-1): Don't check
8393 pop-up-frames for 'unset initialization.
8394 (display-buffer-normalize-specifiers-2): Major rewrite using
8395 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8396 (pop-up-frames, display-buffer-reuse-frames)
8397 (display-buffer-mark-dedicated): Don't initialize to 'unset.
8398 Suggested by David Engster <deng@randomsample.de>.
8399 (even-window-heights): Initialize to 'unset.
8400 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
8401 (display-buffer-macro-specifiers): Don't pop up a new frame in the
8402 other window case.
dbad4f69 8403
9b9c9e3a
MR
84042011-06-16 Martin Rudalics <rudalics@gmx.at>
8405
bcd70d97
SM
8406 * window.el (display-buffer-normalize-specifiers-1):
8407 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 8408 second argument of display-buffer (Bug#8865).
981d5c09
MR
8409 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8410 (switch-to-buffer-other-window-same-frame)
8411 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
8412 Adams (Bug#8875).
9c2755e9
MR
8413 (display-buffer): Don't check noninteractive when calling
8414 display-buffer-pop-up-frame.
8415 (display-buffer-pop-up-frame): Never pop up a frame in
8416 noninteractive mode (Bug#8857).
67222e1d
MR
8417 (enlarge-window, shrink-window): Don't report an error when the
8418 window can't be resized as requested (Bug#8862).
9b9c9e3a 8419
2b75be67
SM
84202011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8421
9ffdd3ba
SM
8422 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8423
cb581a67
SM
8424 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8425
2b75be67
SM
8426 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8427
8c0e3589
AM
84282011-06-15 Alan Mackenzie <acm@muc.de>
8429
cb581a67
SM
8430 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8431 for declarators, disable knr checking to speed up for normal files.
8432 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 8433
b96e6cde
LMI
84342011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8435
4bba86e6
LMI
8436 * net/network-stream.el (open-network-stream): Add the keyword
8437 :always-query-capabilities for the case where you want to force a
8438 `plain' network connection, but the protocol still requires the
8439 capabilitiy command (i.e., SMTP and EHLO).
8440
2b75be67 8441 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
8442 consistency with other `-live-p' functions.
8443
efdcdbf8
SM
84442011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8445
8446 * window.el (same-window-buffer-names, same-window-regexps)
8447 (special-display-frame-alist, special-display-popup-frame)
8448 (special-display-function, special-display-buffer-names)
8449 (special-display-regexps, pop-up-frame-alist)
8450 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8451 (pop-up-windows, split-window-preferred-function)
8452 (split-height-threshold, split-width-threshold, even-window-heights)
8453 (display-buffer-mark-dedicated): Don't encourage the use of
8454 display-buffer-alist from Elisp code.
8455
c5cde042
DN
84562011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
8457
8458 * progmodes/python.el (python-mode): Derive from prog-mode.
8459 * progmodes/ps-mode.el (ps-mode):
8460 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 8461 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
8462 * progmodes/ld-script.el (ld-script-mode): Likewise.
8463
baa1c9ab
MR
84642011-06-15 Martin Rudalics <rudalics@gmx.at>
8465
8466 * window.el (display-buffer-alist): Trim default value to avoid
8467 popping up a new frame (Bug#8857) or reusing an arbitrary window
8468 on another frame.
8469 (display-buffer): Do not fall back on popping up a new frame in
8470 batch mode (Bug#8857).
8471
c5dd5a51
CY
84722011-06-14 Chong Yidong <cyd@stupidchicken.com>
8473
8474 * cus-theme.el (describe-theme-1): Use custom-theme-p.
8475 (custom-theme-summary): New function.
8476 (customize-themes): Use it.
8477
d647b7c4
GM
84782011-06-13 Glenn Morris <rgm@gnu.org>
8479
8480 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8481
9481c002
MR
84822011-06-13 Martin Rudalics <rudalics@gmx.at>
8483
357f93d2
MR
8484 * help.el (help-window): Remove variable.
8485 (help-window-point-marker, temp-buffer-max-height)
8486 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8487 (help-print-return-message): Don't set help-window.
8488 (resize-temp-buffer-window): Rewrite cod eand doc-string.
8489 (help-window-setup-finish): Remove.
8490 (help-window-display-message, help-window-setup)
8491 (with-help-window): Major rewrite based on new
8492 display-buffer-window variable.
8493
8494 * help-mode.el (help-mode-finish): Remove help-window related
8495 code.
8496
8497 * view.el (view-exits-all-viewing-windows): Remove reference to
8498 view-return-to-alist in doc-string.
8499 (view-return-to-alist): Make obsolete.
8500 (view-buffer): Call pop-to-buffer-same-window and remove
8501 undo-window code.
8502 (view-buffer-other-window): Call pop-to-buffer-other-window and
8503 simplify code. Ignore second argument.
8504 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8505 simplify code. Ignore second argument.
8506 (view-return-to-alist-update): Make obsolete.
8507 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8508 Rewrite using quit-restore window parameters.
2b75be67
SM
8509 (view-mode-exit): Rename second argument to EXIT-ONLY.
8510 Rewrite using quit-restore-window.
357f93d2
MR
8511 (View-exit, View-exit-and-edit, View-leave, View-quit)
8512 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8513 appropriate arguments.
8514 (view-end-message): Use quit-restore window parameter.
8515
9481c002
MR
8516 * window.el (display-buffer-function): Rewrite doc-string.
8517 (display-buffer-window, display-buffer-alist): New variables.
8518 (display-buffer-split-specifiers)
8519 (display-buffer-side-specifiers)
8520 (display-buffer-macro-specifiers): New constants.
8521 (display-buffer-even-window-sizes, display-buffer-set-height)
8522 (display-buffer-set-width, display-buffer-select-window)
8523 (display-buffer-in-window, display-buffer-reuse-window)
8524 (display-buffer-split-window-1, display-buffer-split-window)
8525 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8526 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8527 (display-buffer-in-side-window, normalize-buffer-to-display)
8528 (display-buffer-normalize-specifiers-1)
8529 (display-buffer-normalize-specifiers-2)
2b75be67
SM
8530 (display-buffer-normalize-specifiers, display-buffer-frame):
8531 New functions.
9481c002
MR
8532 (display-buffer): Major rewrite.
8533 (display-buffer-other-window, display-buffer-other-frame)
8534 (pop-to-buffer, switch-to-buffer-other-window)
8535 (switch-to-buffer-other-frame): Rewrite.
8536 (display-buffer-same-window, display-buffer-same-frame)
8537 (display-buffer-same-frame-other-window)
8538 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8539 (pop-to-buffer-other-window)
8540 (pop-to-buffer-same-frame-other-window)
8541 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8542 (switch-to-buffer-other-window-same-frame): New functions.
8543 (same-window-p, special-display-p): Rewrite disabling warnings.
8544 Make obsolete.
8545 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8546 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8547 Make obsolete
8548 (same-window-buffer-names, same-window-regexps)
8549 (special-display-frame-alist, special-display-popup-frame)
8550 (special-display-function, special-display-buffer-names)
8551 (special-display-regexps, pop-up-frame-alist)
8552 (pop-up-frame-function, split-window-preferred-function)
8553 (split-height-threshold, split-width-threshold)
8554 (even-window-heights): Make obsolete.
8555
9db51aca
GM
85562011-06-12 Glenn Morris <rgm@gnu.org>
8557
8558 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 8559 Misc simplifications.
9db51aca 8560
39cffb44
MR
85612011-06-12 Martin Rudalics <rudalics@gmx.at>
8562
8563 * window.el (window-safely-shrinkable-p): Restore function which
8564 was inadvertently removed in change from 2011-06-11. Declare as
8565 obsolete.
8566
2b75be67
SM
8567 * calendar/calendar.el (calendar-generate-window):
8568 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
8569 window-safely-shrinkable-p.
8570
a8955be7
GM
85712011-06-12 Glenn Morris <rgm@gnu.org>
8572
8573 * progmodes/fortran.el (fortran-mode-syntax-table):
8574 * progmodes/f90.el (f90-mode-syntax-table):
8575 Set % to punctuation. (Bug#8820)
8576 (f90-find-tag-default): Remove, no longer needed.
8577
f0d4059d
DC
85782011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8579
8580 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8581
1100a63c
CY
85822011-06-11 Chong Yidong <cyd@stupidchicken.com>
8583
8584 * image.el (image-animated-p): Return animation delay in seconds.
8585 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8586 (image-animate-timeout): Remove DELAY argument. Don't assume
8587 every subimage has the same delay; get it from image-animated-p.
8588 (image-animate): Caller changed.
8589
def722bf
MA
85902011-06-11 Michael Albinus <michael.albinus@gmx.de>
8591
8592 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8593 to ignored backtrace functions.
8594
0a2bb1a9
GM
85952011-06-11 Glenn Morris <rgm@gnu.org>
8596
8597 * calendar/appt.el (appt-disp-window-function): Doc fix.
8598 (appt-check): Handle overlapping appointments. (Bug#8337)
8599
6198ccd0
MR
86002011-06-11 Martin Rudalics <rudalics@gmx.at>
8601
8602 * window.el (window-tree-1, window-tree): New functions, moving
8603 the latter to window.el.
8604 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8605 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8606 (bw-refresh-edges): Remove.
8607 (balance-windows-1, balance-windows-2): New functions.
8608 (balance-windows): Rewrite in terms of window tree functions,
8609 balance-windows-1 and balance-windows-2.
8610 (bw-adjust-window): Remove.
8611 (balance-windows-area-adjust): New function with functionality of
8612 bw-adjust-window but using resize-window.
2b75be67
SM
8613 (set-window-text-height): Rewrite doc-string.
8614 Use normalize-live-window and resize-window.
8615 (enlarge-window-horizontally, shrink-window-horizontally):
8616 Rename argument to DELTA.
6198ccd0
MR
8617 (window-buffer-height): New function.
8618 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8619 Rewrite using new window resize routines.
2b75be67
SM
8620 (kill-buffer-and-window, mouse-autoselect-window-select):
8621 Use ignore-errors instead of condition-case.
6198ccd0
MR
8622 (quit-window): Call delete-frame instead of delete-windows-on
8623 for the only buffer on frame.
8624
9397e56f
MR
86252011-06-10 Martin Rudalics <rudalics@gmx.at>
8626
8627 * loadup.el (top-level): Load window before files for the sake
8628 of replace-buffer-in-windows.
8629
8630 * files.el (read-buffer-to-switch)
8631 (switch-to-buffer-other-window)
2b75be67
SM
8632 (switch-to-buffer-other-frame, display-buffer-other-frame):
8633 Move to window.el.
9397e56f
MR
8634
8635 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8636 (previous-buffer): Move to window.el.
8637
8638 * bindings.el (unbury-buffer): Move to window.el.
8639
8640 * window.el (delete-other-windows-vertically): Move after
8641 definition of delete-other-windows.
8642 (other-window, delete-windows-on, replace-buffer-in-windows):
8643 Move here from window.c.
8644 (record-window-buffer, unrecord-window-buffer)
8645 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8646 (switch-to-next-buffer): New functions.
8647 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8648 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
8649 (previous-buffer): Move here from simple.el.
8650 Call switch-to-prev-buffer.
9397e56f
MR
8651 (bury-buffer): Move here from buffer.c. Switch to previous
8652 buffer when window cannot be deleted.
8653 (unbury-buffer): Move here from bindings.el.
8654 (ctl-x-map): Move binding for other-window from window.c to
8655 here.
8656 (read-buffer-to-switch, switch-to-buffer-other-window)
8657 (switch-to-buffer-other-frame): Move here from files.el.
8658 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
8659 (switch-to-buffer): Move here from buffer.c.
8660 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 8661
562dd5e9
MR
86622011-06-10 Martin Rudalics <rudalics@gmx.at>
8663
8664 * window.el (window-min-height, window-min-width): Move here
8665 from window.c. Add defcustoms and rewrite doc-strings.
8666 (resize-mini-window, resize-window): New functions.
8667 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8668 Move here from window.c.
8669 (maximize-window, minimize-window): New functions.
8670 (delete-window, delete-other-windows, split-window): Move here
8671 from window.c.
8672 (window-split-min-size): New function.
8673 (split-window-keep-point): Mention split-window-above-each-other
8674 instead of split-window-vertically.
2b75be67 8675 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
8676 Rename split-window-vertically to split-window-above-each-other
8677 and provide defalias for old definition.
8678 (split-window-side-by-side, split-window-horizontally):
8679 Rename split-window-horizontally to split-window-side-by-side
8680 and provide defalias for the old definition.
562dd5e9
MR
8681 (ctl-x-map): Move bindings for delete-window,
8682 delete-other-windows and enlarge-window here from window.c.
8683 Replace bindings for split-window-vertically and
8684 split-window-horizontally by bindings for
8685 split-window-above-each-other and split-window-side-by-side.
8686
8687 * cus-start.el (all): Remove entries for window-min-height and
8688 window-min-width. Add entries for window-splits and
8689 window-nest.
8690
f0da764a
GM
86912011-06-09 Glenn Morris <rgm@gnu.org>
8692
80675c21
GM
8693 * calendar/appt.el (appt-mode-line): New function.
8694 (appt-check, appt-disp-window): Use it.
8695
f0da764a
GM
8696 * files.el (hack-one-local-variable-eval-safep):
8697 Allow minor-modes with explicit +/-1 arguments.
8698
59f623b7
TZ
86992011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8700
8701 * term/xterm.el (xterm): Add defgroup.
8702 (xterm-extra-capabilities): Add defcustom to supply known xterm
8703 capabilities, skip querying them, or query them (default).
8704 (terminal-init-xterm): Use it.
8705 (terminal-init-xterm-modify-other-keys): New function to set up
8706 modifyOtherKeys support to simplify `terminal-init-xterm'.
8707
9aab8e0d
MR
87082011-06-09 Martin Rudalics <rudalics@gmx.at>
8709
8710 * window.el (resize-window-reset, resize-window-reset-1)
8711 (resize-subwindows-skip-p, resize-subwindows-normal)
8712 (resize-subwindows, resize-other-windows, resize-this-window)
8713 (resize-root-window, resize-root-window-vertically)
8714 (window-deletable-p, window-or-subwindow-p)
8715 (frame-root-window-p): New functions.
8716
e8b08aee
GM
87172011-06-09 Glenn Morris <rgm@gnu.org>
8718
8719 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8720 (ange-ftp-get-files): Use it.
8721
254c37a5
AK
87222011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8723
8724 * mail/sendmail.el (mail-recover-1, mail-recover):
8725 * files.el (recover-file, recover-session):
8726 Handle dired-listing-switches not being just a single short option.
8727
35d7dbd3
GM
87282011-06-09 Glenn Morris <rgm@gnu.org>
8729
8730 * calendar/appt.el (appt-display-message, appt-disp-window):
8731 Handle lists of appointments.
8732
387522b2
MR
87332011-06-08 Martin Rudalics <rudalics@gmx.at>
8734
2b75be67
SM
8735 * window.el (one-window-p): Move down in code.
8736 Rewrite doc-string.
8737 (window-current-scroll-bars): Rewrite doc-string.
8738 Normalize live window argument.
387522b2
MR
8739 (walk-windows, get-window-with-predicate, count-windows):
8740 Rewrite doc-string. Use window-list-1.
8741 (window-in-direction-2, window-in-direction, get-mru-window):
8742 New functions.
8743
d8e4b68b 87442011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
8745
8746 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8747 Doc fix (Bug#8713).
8748
87492011-06-08 Chong Yidong <cyd@stupidchicken.com>
8750
8751 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8752
87532011-06-08 Juanma Barranquero <lekktu@gmail.com>
8754
8755 * loadhist.el (unload-feature-special-hooks):
8756 Add `comint-output-filter-functions'.
8757
0de12c52
IK
87582011-06-08 Ivan Kanis <gnu@kanis.fr>
8759
8760 * calendar/appt.el (appt-check): Move some initializations into the let.
8761
f3d1777e
MR
87622011-06-08 Martin Rudalics <rudalics@gmx.at>
8763
8764 * window.el (window-height): Defalias to window-total-height.
8765 (window-width): Defalias to window-body-width.
8766
18af70d0
CY
87672011-06-07 Chong Yidong <cyd@stupidchicken.com>
8768
8769 * image-mode.el (image-toggle-animation): New command.
8770 (image-mode-map): Bind it to RET.
8771 (image-mode): Update message.
8772 (image-toggle-display-image): Avoid a spurious cache flush.
8773 (image-transform-rotation): Doc fix.
8774 (image-transform-properties): Return quickly in the normal case.
8775 (image-animate-loop): Rename from image-animate-max-time.
8776
2b75be67 8777 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
8778 (create-animated-image): Remove unnecessary function.
8779 (image-animate): Rename from image-animate-start. New arg.
2b75be67 8780 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
8781 (image-animate-timer): Use car-safe.
8782 (image-animate-timeout): Rename argument.
8783
190b47e6
MR
87842011-06-07 Martin Rudalics <rudalics@gmx.at>
8785
8786 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
8787 window.c. Rename first argument to ALL-FRAMES.
8788 Rephrase doc-strings.
8789 (get-buffer-window-list): Rewrite using window-list-1.
8790 Rephrase doc-string.
a1511caf
MR
8791 (window-safe-min-height, window-safe-min-width): New constants.
8792 (window-size-ignore, window-min-size, window-min-size-1)
8793 (window-sizable, window-sizable-p, window-size-fixed-1)
8794 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8795 (window-max-delta-1, window-max-delta, window-resizable)
8796 (window-resizable-p, window-total-height, window-total-width)
8797 (window-body-width): New functions.
8798 (window-full-height-p, window-full-width-p): Rewrite using
8799 window-total-size.
8800 (window-body-height): Rewrite using window-body-size.
190b47e6 8801
85cc1f11
MR
88022011-06-06 Martin Rudalics <rudalics@gmx.at>
8803
8804 * window.el (window-right, window-left, window-child)
8805 (window-child-count, window-last-child, window-any-p)
8806 (normalize-live-buffer, normalize-live-frame)
8807 (normalize-any-window, normalize-live-window)
8808 (window-iso-combination-p, window-iso-combined-p)
8809 (window-iso-combinations)
8810 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8811 (windows-with-parameter, window-with-parameter)
8812 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
8813 (window-atom-check, window-side-check, window-check):
8814 New functions.
85cc1f11
MR
8815 (ignore-window-parameters, window-sides, window-sides-vertical)
8816 (window-sides-slots): New variables.
8817 (window-size-fixed): Move down in code. Minor doc-string fix.
8818
e7156492
AS
88192011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8820
8821 * comint.el (comint-dynamic-complete-as-filename)
8822 (comint-dynamic-complete-filename): Correctly call
8823 completion-in-region.
8824
7e821d0d
DD
88252011-06-05 Deniz Dogan <deniz@dogan.se>
8826
8827 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8828 in last change.
8829
ac09b8a1
DD
88302011-06-05 Deniz Dogan <deniz@dogan.se>
8831
8832 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8833 (rcirc): Use it to prompt for encryption.
8834
34699b85
RW
88352011-06-05 Roland Winkler <winkler@gnu.org>
8836
8837 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8838 (bibtex-search-entries): New command bound to C-c C-a.
8839 (bibtex-display-entries): New function.
8840
004dedd3
RW
88412011-06-05 Roland Winkler <winkler@gnu.org>
8842
8843 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8844 (bibtex-insert-kill): After yanking insert newline if necessary.
8845 (bibtex-initialize): Call bibtex-string-files-init only once.
8846 (bibtex-mode): Do not call easy-menu-add.
8847 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8848 (bibtex-yank): Set arg properly if nil.
8849
022fe7ce
RW
88502011-06-05 Roland Winkler <winkler@gnu.org>
8851
2b75be67
SM
8852 * textmodes/bibtex.el (bibtex-search-entry-globally):
8853 New variable.
022fe7ce
RW
8854 (bibtex-search-entry): Use it.
8855
b7c3692a
RW
88562011-06-05 Roland Winkler <winkler@gnu.org>
8857
8858 * textmodes/bibtex.el (bibtex-entry-format): New option
8859 sort-fields.
8860 (bibtex-format-entry, bibtex-reformat): Honor this option.
8861 (bibtex-parse-entry): Return fields in proper order.
8862
8eda563d
JB
88632011-06-05 Juanma Barranquero <lekktu@gmail.com>
8864
8865 * doc-view.el (doc-view-remove-if): Move computation of result out
8866 of `dolist' to silence misleading lexical-binding warning.
8867
7dbe3dbc
CY
88682011-06-04 Chong Yidong <cyd@stupidchicken.com>
8869
8870 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8871 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8872
0c33dd17
MA
88732011-06-04 Michael Albinus <michael.albinus@gmx.de>
8874
8875 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8876 "SunOS 5.10".
8877
f8f91c2b
MA
88782011-06-04 Michael Albinus <michael.albinus@gmx.de>
8879
8880 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8881 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8882 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8883 (tramp-parse-putty):
8884 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8885 (tramp-completion-function-alist-ssh)
8886 (tramp-completion-function-alist-telnet)
8887 (tramp-completion-function-alist-su)
8888 (tramp-completion-function-alist-putty): Set `tramp-autoload'
8889 cookie.
8890
8891 * net/tramp-ftp.el:
8892 * net/tramp-sh.el:
8893 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8894 load "tramp.el" `tramp-set-completion-function'.
8895
e17d9003
SM
88962011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8897
8898 * shell.el: Require and use pcomplete.
8899 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8900 (shell-completion-vars): Set pcomplete-default-completion-function.
8901
6c4cab03
DD
89022011-06-04 Deniz Dogan <deniz@dogan.se>
8903
8904 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8905 `memq' (Bug#8799).
8906
ea9fafe0
SM
89072011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8908
8909 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8910
b3e945d3
JB
89112011-06-02 Juanma Barranquero <lekktu@gmail.com>
8912
8913 * bs.el (bs--mark-unmark, bs--nth-wrapper):
8914 * mpc.el (mpc-select-extend, mpc-songpointer-context):
8915 * vc/log-view.el (log-view-beginning-of-defun):
8916 * vc/smerge-mode.el (smerge-apply-resolution-patch)
8917 (smerge-refine-forward, smerge-refine-chopup-region):
8918 Silence warning for unused `dotimes' counter variables.
8919
7d520089
SM
89202011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8921
8922 * net/tramp.el (tramp-with-progress-reporter): Rename from
8923 with-progress-reporter. Use `declare'.
8924 * net/tramp-smb.el:
8925 * net/tramp-sh.el:
8926 * net/tramp-gvfs.el: Update all uses.
8927
a1c2400f
JB
89282011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
8929
8930 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8931 buffer isn't killed before making it current.
8932
2403c841
SM
89332011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8934
8935 Silence various byte-compiler warnings.
8936 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8937 `access-type' and new obsolescence format.
8938 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8939 new format.
8940 (byte-compile-check-variable): New `access-type' argument.
8941 Only warn if the access-type is obsolete.
8942 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8943 (byte-compile-variable-set): Adjust callers.
8944 * help-fns.el (describe-variable): Adjust to new obsolescence format.
8945 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8946 setting it as obsolete.
8947 * simple.el (minibuffer-completing-symbol):
8948 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8949 access as obsolete.
8950 * minibuffer.el (minibuffer-completing-file-name): Don't make it
8951 obsolete yet.
8952 * international/quail.el (quail-mouse-choose-completion): Remove unused
8953 code referring to obsolete var.
8954 (quail-choose-completion-string): Remove.
8955 * server.el (server-clients-with, server-kill-buffer-query-function)
8956 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8957 * proced.el (proced-send-signal):
8958 * emacs-lisp/lisp.el (lisp-complete-symbol):
8959 Replace completion-annotate-function with completion-extra-properties.
8960
2462470b
SM
89612011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8962
fb5b2591
SM
8963 * simple.el (goto-line): Use read-number.
8964 (overriding-map-is-bound): Remove.
8965 (saved-overriding-map): Change default.
8966 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8967 Take the map as argument.
8968 (universal-argument, negative-argument, digit-argument): Use it.
8969 (restore-overriding-map): Adjust.
8970 (do-auto-fill): Use fill-forward-paragraph.
8971 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8972
fd6fa53f
SM
8973 * minibuffer.el (minibuffer-inactive-mode-map): New var.
8974 (minibuffer-inactive-mode): New major mode.
8975 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8976 the *Messages* buffer" hack.
8977 (mouse-popup-menubar): Don't burp if the event is a normal key.
8978
2462470b
SM
8979 Miscellaneous tweaks.
8980 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8981 lexical scoping as in subr.el's dolist and dotimes.
8982 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8983 Silence compiler warning.
8984 * thingatpt.el (forward-whitespace): Trivial coding style fix.
8985 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8986 * international/ccl.el (ccl-compile): Trivial simplification.
8987 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8988 * emacs-lisp/testcover.el (testcover-end): Remove spurious
8989 `printflag' argument.
8990 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8991 Purecopy the whole obsolescence data.
8992
108bf785
LL
89932011-06-01 Leo Liu <sdl.web@gmail.com>
8994
8995 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8996 improve doc-string as suggested by Marco Pessotto
8997 <melmothx@gmail.com>.
8998 (rcirc-print): Fix last change.
8999
30a23501
SM
90002011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9001
9002 * minibuffer.el (complete-with-action): Return nil for the metadata and
9003 boundaries of non-functional tables.
9004 (completion-table-dynamic): Return nil for the metadata.
9005 (completion-table-with-terminator): Add default case, using
9006 complete-with-action.
9007 (completion--metadata): New function.
9008 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9009 to try and avoid pathological performance problems.
9010 (completion--embedded-envvar-table): Return `category' metadata.
9011
bcd54f83
LMI
90122011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9013
9014 * subr.el (process-alive-p): New tiny convenience function.
9015
e227544d
SM
90162011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9017
9018 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9019 content but also its previous major mode.
9020
e8296fdc
HE
90212011-05-31 Helmut Eller <eller.helmut@gmail.com>
9022
4d61f28d 9023 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
9024 *Backtrace* buffer when we exit with C-M-c.
9025
620c53a6
SM
90262011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9027
9028 * minibuffer.el: Add metadata method to completion tables.
9029 (completion-category-overrides): New defcustom.
9030 (completion-metadata, completion--field-metadata)
9031 (completion-metadata-get, completion--styles)
9032 (completion--cycle-threshold): New functions.
9033 (completion-try-completion, completion-all-completions):
9034 Add `metadata' argument to choose completion-styles.
9035 (completion--do-completion): Use metadata to choose cycling.
9036 (completion-all-sorted-completions): Use metadata for sorting.
9037 Remove :completion-cycle-penalty which is not needed any more.
9038 (completion--try-word-completion): Add `metadata' argument.
9039 (minibuffer-completion-help): Check metadata for annotation function
9040 and sorting.
9041 (completion-file-name-table): Return `category' metadata.
9042 (minibuffer-completing-file-name): Make obsolete.
9043 * simple.el (minibuffer-completing-symbol): Make obsolete.
9044 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9045 completion-try-completion.
9046
1257e755
SM
90472011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9048
9049 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9050
3767e706
LL
90512011-05-30 Leo Liu <sdl.web@gmail.com>
9052
9053 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
9054 (rcirc-print): Decode all incoming messages (bug#8744).
9055 (rcirc-decode-coding-system): Allow value nil for automatic coding
9056 system detection.
3767e706 9057
d1a5d56a
GM
90582011-06-01 Glenn Morris <rgm@gnu.org>
9059
9060 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9061
e8cbec34
CY
90622011-05-29 Chong Yidong <cyd@stupidchicken.com>
9063
9064 * image.el (image-animate-max-time): Allow nil and t values.
9065 Default to nil.
9066 (create-animated-image): Doc fix.
9067 (image-animate-start): Remove second arg; just use
9068 image-animate-max-time.
9069 (image-animate-timeout): Doc fix. Args changed.
9070
9071 * image-mode.el (image-toggle-display-image): Ensure that the
9072 image spec passed to the animate timer is the same object as in
58179cce 9073 the buffer's display property (Bug#6981).
e8cbec34
CY
9074 (image-transform-properties): Doc fix.
9075
9076 * image.el (image-animate-max-time): Default to nil.
9077
159daf87
MR
90782011-05-29 Martin Rudalics <rudalics@gmx.at>
9079
9080 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9081 entire buffer list (Bug#8184).
9082
d66c4c7c
CY
90832011-05-29 Chong Yidong <cyd@stupidchicken.com>
9084
9085 * image.el (imagemagick-types-inhibit)
9086 (imagemagick-register-types): Doc fix.
9087
80aec780
DD
90882011-05-29 Deniz Dogan <deniz@dogan.se>
9089
9090 * net/rcirc.el (rcirc): Use the user's stored encryption method by
9091 default.
9092
1dd3c2d9
CY
90932011-05-29 Chong Yidong <cyd@stupidchicken.com>
9094
9095 * select.el: Don't perform clipboard-manager saving in hooks;
9096 leave the hooks empty.
9097
60e56523
LL
90982011-05-28 Leo Liu <sdl.web@gmail.com>
9099
9100 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9101 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
9102 (occur-edit-mode): New major mode (Bug#8463).
9103 (occur-after-change-function): New function.
9104 (occur-engine): Give Occur tags a read-only property.
9105
2b1e1a22
KR
91062011-05-28 Kevin Ryde <user42@zip.com.au>
9107
9108 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9109
5d344e88
CY
91102011-05-28 Chong Yidong <cyd@stupidchicken.com>
9111
8e6ca83d
CY
9112 * bindings.el (help-echo): Make the initial non-indicator dash
9113 empty on graphical terminals (Bug#7295).
9114
5d344e88
CY
9115 * files.el (auto-mode-alist): Move config rule after the
9116 in-stripping one (Bug#8547).
9117
bfbbace7
CY
9118 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9119
fbeba6e2
CY
9120 * startup.el (normal-splash-screen): Remove gratuitous mode-line
9121 setting (Bug#8740).
9122
60ed8c72
AA
91232011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
9124
4ac619f0
AA
9125 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9126 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9127 (Bug#8539).
60ed8c72 9128
23db196e
CY
91292011-05-28 Chong Yidong <cyd@stupidchicken.com>
9130
9131 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9132
5012f24c
DK
91332011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
9134
9135 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9136 (hs-hide-block-at-point, hs-find-block-beginning)
9137 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9138 (Bug#8279).
9139
6a639b16
GM
91402011-05-28 Glenn Morris <rgm@gnu.org>
9141
9142 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9143
d43eaf2c
CY
91442011-05-28 Chong Yidong <cyd@stupidchicken.com>
9145
5199bde1
CY
9146 * help-fns.el (describe-function-1): If the function is a derived
9147 major mode, print the parent mode.
9148
d43eaf2c
CY
9149 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9150 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9151
423428a8
SM
91522011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9153
0ff8e1ba 9154 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 9155 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
9156 * progmodes/etags.el (tags-completion-at-point-function):
9157 * info-look.el (info-lookup-completions-at-point): Mark as
9158 non-exclusive.
9159 (info-complete): Adjust accordingly.
9160
423428a8
SM
9161 * info-look.el: Convert to lexical-binding and completion-at-point.
9162 (info-lookup-completions-at-point): New function.
9163 (info-complete): Use it and completion-in-region.
9164
b74aa22b
DA
91652011-05-28 Drew Adams <drew.adams@oracle.com>
9166
9167 * isearch.el: Let M-e start with point at the first mismatched char.
9168 (isearch-fail-pos): New function.
9169 (isearch-edit-string): Use it.
9170
66e2e71d
DK
91712011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9172
9173 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9174
b1890b0f 91752011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
9176
9177 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9178 traversal functions for avl-trees.
9179 (avl-tree--stack): New struct.
9180 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9181 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
9182 (avl-tree--do-enter): Add optional `updatefun' arg.
9183 Change return value.
eb95d01d 9184 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
9185 (avl-tree--do-delete): Add `test' and `nilflag' args.
9186 Change return value.
eb95d01d
TC
9187 (avl-tree-member): Add optional `nilflag'
9188 (avl-tree-member-p): New function.
9189 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9190 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9191 (avl-tree-stack-empty-p): New functions.
9192
3769ddcf
TC
9193 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9194 avl-tree--del-balance1 and make it work both ways.
9195 (avl-tree--del-balance2): Remove.
9196 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9197 make it work both ways.
9198 (avl-tree--enter-balance2): Remove.
9199 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9200 New macros.
9201 (avl-tree--mapc, avl-tree-map): Add direction argument.
9202
eb95d01d 92032011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
9204
9205 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9206
a9f737ee
CY
92072011-05-27 Chong Yidong <cyd@stupidchicken.com>
9208
9209 * select.el: Support clipboard managers with built-in function
9210 x-clipboard-manager-save, via delete-frame-functions and
9211 kill-emacs-hook.
9212 (xselect-convert-to-targets): Add MULTIPLE target to list.
9213 (xselect-convert-to-save-targets): New function.
9214
c92a1e54
KH
92152011-05-27 Kenichi Handa <handa@m17n.org>
9216
9217 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9218 let-binding rfc2047-encode-encoded-words to nil.
9219
e145f188
GM
92202011-05-27 Glenn Morris <rgm@gnu.org>
9221
5ec8a862
GM
9222 * mail/emacsbug.el: Don't require url-util.
9223
4b29d9fb
GM
9224 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9225
e145f188
GM
9226 * files.el (set-auto-mode):
9227 Also respect mode: entries at the end of the file. (Bug#8586)
9228
7d15102b
GM
92292011-05-26 Glenn Morris <rgm@gnu.org>
9230
98f593b8
GM
9231 * files.el (hack-local-variables-prop-line, hack-local-variables):
9232 Downcase mode names, as seems to be traditional.
27b48e63 9233 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 9234
7d15102b
GM
9235 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9236 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
9237
51d5b4ec
JD
92382011-05-25 Julien Danjou <julien@danjou.info>
9239
9240 * textmodes/rst.el (rst-define-level-faces): Do not define face
9241 symbol if it is already defined.
9242
91513f63
VB
92432011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
9244
9245 * play/5x5.el (5x5-new-game, 5x5-randomize):
9246 Reset 5x5-solver-output to nil when a new grid is cast.
9247 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9248 these debugging traces, as defmacro breaks the compiled code.
9249
4d90d6d0
DK
92502011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9251
9252 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9253
e1b90ef6
LL
92542011-05-24 Leo Liu <sdl.web@gmail.com>
9255
9256 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9257 (vc-bzr-sha1): Adapt.
9258
d8e4b68b 9259 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
9260
9261 * bindings.el: Provide sha1 feature.
9262
db0406bb 92632011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
9264
9265 * mail/sendmail.el: Require `rfc2047'.
9266 (mail-insert-from-field): Do not perform RFC2047 encoding.
9267 (mail-encode-header): New function.
9268 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
9269 buffer to the return value of select-message-coding-system.
9270 Call mail-encode-header.
b8d747b9
KH
9271
9272 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9273
db0406bb 92742011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 9275
4d90d6d0
DK
9276 * mail/supercite.el (sc-default-cite-frame):
9277 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 9278
eb8a5e9b
GM
92792011-05-24 Glenn Morris <rgm@gnu.org>
9280
f8630703
GM
9281 * progmodes/python.el (brm-menu): Declare.
9282
8831bbed
GM
9283 * emulation/viper.el (viper-set-hooks): Declare.
9284
eb8a5e9b
GM
9285 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9286 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9287 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9288 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9289 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9290 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9291
a2a25d24
SM
92922011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9293
9294 Add an :exit-function for completion-at-point.
9295
9296 * minibuffer.el (completion--done): New fun.
9297 (completion--do-completion): Use it. New arg `expect-exact'.
9298 (minibuffer-complete, minibuffer-complete-word): Don't output message,
9299 since completion--do-completion does it for us now.
9300 (minibuffer-force-complete): Use completion--done and
9301 completion--replace. Handle sole-completion case with more care.
9302 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9303 (completion-extra-properties): New var.
9304 (completion-annotate-function): Make obsolete.
9305 (minibuffer-completion-help): Adjust accordingly.
9306 Use completion-list-insert-choice-function.
9307 (completion-at-point, completion-help-at-point):
9308 Bind completion-extra-properties.
9309 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9310 * simple.el (completion-list-insert-choice-function): New var.
9311 (completion-setup-function): Preserve it.
9312 (choose-completion): Pay attention to it, shuffle the code a bit.
9313 (choose-completion-string): New arg `insert-function'.
9314
9315 * textmodes/bibtex.el: Convert to lexical binding.
9316 (bibtex-mode-map): Use completion-at-point.
9317 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9318 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9319 (bibtex-complete): Define as obsolete alias.
9320 (bibtex-complete-internal): Remove.
9321 (bibtex-format-entry): Remove unused sub-group in regexp.
9322 * shell.el (shell--command-completion-data)
9323 (shell-environment-variable-completion):
9324 * pcomplete.el (pcomplete-completions-at-point):
9325 * comint.el (comint--complete-file-name-data): Use :exit-function
9326 instead of completion-table-with-terminator so it also works for
9327 choose-completion.
9328
e44e373d
SM
93292011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9330
4f91a816
SM
9331 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9332
782fc819
SM
9333 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9334 (bug#8710).
9335
e44e373d
SM
9336 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9337
381987c3
KM
93382011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
9339
9340 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9341 customization variable and implement: If non-nil, auto-fill will
9342 be inhibited while on topic's header line.
9343
b776bc70
VB
93442011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
9345
9346 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 9347 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
9348 always have a solution in grid size = 5 cases.
9349 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9350 (5x5-solver-output, 5x5-log-buffer): New vars.
9351 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9352 Make these variables buffer local to achieve 5x5 multi-session-ness.
9353 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9354 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9355 (5x5-solve-suggest): New funs.
9356 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9357 randomize a grid so that we ensure that there is always a solution.
9358 (5x5-make-random-grid): Allow other movement than flipping.
9359
7de88b6e
KR
93602011-05-23 Kevin Ryde <user42@zip.com.au>
9361
9362 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 9363 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
9364 advice and passes PREDICATE.
9365
b1ef1257
SM
93662011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9367
bbca48fe
SM
9368 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9369 byte-compile-lambda if it's actually a lambda.
9370
b1ef1257
SM
9371 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9372 Fix function quoting. Use backquote better.
9373
92a9cc65
YS
93742011-05-22 Yuanle Song <sylecn@gmail.com>
9375
9376 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9377 matching (Bug#8516).
9378
f0fb8059
JA
93792011-01-22 Jari Aalto <jari.aalto@cante.net>
9380
9381 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9382 different face (Bug#8178).
9383
d5b44c93
CY
93842011-05-22 Chong Yidong <cyd@stupidchicken.com>
9385
9386 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9387 defface (Bug#8144).
9388
79106a44
SM
93892011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
9390
9c848d8a
SM
9391 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9392 funcall as well (bug#8712). Warn when performing those conversions.
9393 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9394
79106a44
SM
9395 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9396
88dfa756
GM
93972011-05-22 Glenn Morris <rgm@gnu.org>
9398
9399 * files.el (hack-local-variables-prop-line): Small simplifications.
9400 (hack-local-variables, hack-local-variables-prop-line):
9401 If MODE-ONLY, return the mode, rather than just `t'.
9402
b7cf2c79
SM
94032011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9404
9405 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9406
3f1a8558
GM
94072011-05-21 Glenn Morris <rgm@gnu.org>
9408
7e4ccca3
GM
9409 * files.el (hack-local-variables-prop-line, hack-local-variables):
9410 If only interested in the mode, don't bother doing the other stuff.
9411
637d46ca
GM
9412 * image-mode.el (image-after-revert-hook):
9413 Redraw all frames on which the image is visible. (Bug#8567)
9414
973d955b
GM
9415 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
9416
3f1a8558
GM
9417 * wid-edit.el (widget-checklist-match-inline):
9418 Fix 2011-04-19 change. (Bug#8649)
9419
96479927
SM
94202011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
9421
1dcf791f
SM
9422 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9423 Also allow singlespace after single-letter capitals followed by a dot.
9424
96479927
SM
9425 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9426 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9427
35fd0881
N
94282011-05-20 Nix <nix@esperi.org.uk>
9429
9430 * files.el (basic-save-buffer-2):
9431 Fix handling of break-hardlink-on-save with non-existent files.
9432
82745640
DD
94332011-05-19 Deniz Dogan <deniz@dogan.se>
9434
9435 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 9436 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 9437
4a720484
GM
94382011-05-19 Glenn Morris <rgm@gnu.org>
9439
d1f21341
GM
9440 * progmodes/f90.el (f90-type-def-re):
9441 Handle "type, bind(c)". (Bug#8691)
9442
4a720484
GM
9443 * emacs-lisp/autoload.el (batch-update-autoloads):
9444 Set autoload-excludes by parsing loadup.el rather than Makefiles.
9445
2fb0a219
MA
94462011-05-18 Michael Albinus <michael.albinus@gmx.de>
9447
9448 * net/tramp.el (tramp-process-actions): Set "first-password-request"
9449 property for the correct connection in case of multihops.
9450
e565dd37
GM
94512011-05-18 Glenn Morris <rgm@gnu.org>
9452
c2571358 9453 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
9454 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9455
e565dd37
GM
9456 Rationalize calendar handling of day and month abbrev-arrays.
9457 * calendar/calendar.el (calendar-customized-p): New function.
9458 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9459 (calendar-day-name-array, calendar-month-name-array): Doc fix.
9460 Add :set function.
9461 (calendar-abbrev-length, calendar-day-abbrev-array)
9462 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9463 (calendar-day-abbrev-array, calendar-month-abbrev-array):
9464 Elements may no longer be nil.
9465 (calendar-day-name, calendar-month-name):
9466 Update for changed nature of abbrev arrays.
9467 * calendar/diary-lib.el (diary-name-pattern):
9468 Update for changed nature of abbrev arrays.
9469 (diary-mark-entries-1): Update calendar-make-alist calls.
9470 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9471 * calendar/cal-html.el (cal-html-day-abbrev-array):
9472 Simply inherit from calendar-day-abbrev-array.
9473
1d99a745
SM
94742011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9475
9476 * progmodes/grep.el (grep-mode): Disable default
9477 compilation-directory-matcher setting (bug#8684).
9478
7c1d9aa0
MA
94792011-05-17 Michael Albinus <michael.albinus@gmx.de>
9480
9481 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9482 instead of "head" and "tail". There were problems with SunOS 5.9,
9483 and it performs better.
9484
3952e9d8
GM
94852011-05-17 Glenn Morris <rgm@gnu.org>
9486
2dd12e7f
GM
9487 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9488
e4157b9c
GM
9489 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9490 Replace obsolete function.
9491
8e249bbd
GM
9492 * shell.el (pcomplete-parse-arguments-function): Declare.
9493
3952e9d8
GM
9494 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9495 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9496 (appt-check): Doc fixes.
9497 (appt-disp-window-function, appt-delete-window-function):
9498 Remove needless special case in custom :type.
9499 (appt-display-count): Default to 0, not nil.
9500 (appt-check): Reset appt-display-count to 0, not nil.
9501
c71a0d48 95022011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 9503
c71a0d48
GM
9504 * progmodes/python.el (python-font-lock-keywords):
9505 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 9506
31d55be9
SM
95072011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9508
9509 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9510
3bfacb2f
KR
95112011-05-16 Kevin Ryde <user42@zip.com.au>
9512
9513 * info-look.el (makefile-automake-mode): New setups, looking in
9514 automake manual, then makefile-mode.
9515 (makefile-mode): Remove automake manual, have it just in
9516 makefile-automake-mode since there's various things different or
9517 not relevant to plain make.
9518 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9519 believe a hypothetical automake-mode would go to makefile-mode,
9520 not the other way around.
9521
c8e83751
CY
95222011-05-15 Chong Yidong <cyd@stupidchicken.com>
9523
5e9e35cd
CY
9524 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9525 hunk-end tags (Bug#8672).
9526
c8e83751
CY
9527 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9528 vc-annotate-show-diff-revision-at-line (Bug#8671).
9529
50b23e5a
GM
95302011-05-14 Glenn Morris <rgm@gnu.org>
9531
7210a739
GM
9532 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9533 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
9534 (change-log-font-lock-keywords): Also handle multiple author lines
9535 with leading tabs. (Bug#8644)
7210a739 9536
4691905a
GM
9537 * calendar/appt.el (appt-check): Rename some local variables.
9538 Some simplification/reordering.
9539
50b23e5a
GM
9540 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9541 (feedmail-sendmail-f-doesnt-sell-me-out)
9542 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9543 (feedmail-debug-sit-for, feedmail-queue-express-hook)
9544 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
9545 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9546 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
9547 (feedmail-binmail-gnulinuxish-template):
9548 Rename from feedmail-binmail-linuxish-template.
9549 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9550 Use insert-buffer-substring.
9551
215cda7c
BC
95522011-05-14 Bill Carpenter <bill@carpenter.org>
9553
9554 * mail/feedmail.el (feedmail-patch-level): Increase.
9555 (feedmail-debug): New custom group.
9556 (feedmail-confirm-outgoing-timeout)
9557 (feedmail-sendmail-f-doesnt-sell-me-out)
9558 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9559 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9560 (feedmail-sender-line, feedmail-from-line)
9561 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 9562 (feedmail-spray-this-address)
215cda7c
BC
9563 (feedmail-spray-address-fiddle-plex-list)
9564 (feedmail-queue-use-send-time-for-date)
9565 (feedmail-queue-use-send-time-for-message-id)
9566 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9567 (feedmail-buffer-eating-function):
9568 Doc fixes.
9569 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9570 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9571 (feedmail-message-action-scroll-down): New functions.
9572 (feedmail-queue-directory, feedmail-queue-draft-directory):
9573 Use expand-file-name.
9574 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9575 Remove C-v help entry.
9576 (feedmail-queue-buffer-file-name): New variable.
9577 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9578 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9579 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9580 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9581 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9582 (feedmail-message-action-toggle-spray)
9583 (feedmail-run-the-queue-no-prompts)
9584 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9585 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9586 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9587 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9588 (feedmail-envelope-deducer, feedmail-fiddle-from)
9589 (feedmail-fiddle-sender, feedmail-default-date-generator)
9590 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9591 (feedmail-fiddle-spray-address)
9592 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9593 (feedmail-fiddle-list-of-fiddle-plexes)
9594 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9595 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9596 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9597 Change default. Doc fix.
9598 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9599 (feedmail-binmail-linuxish-template): New constant.
9600 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9601 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9602 (feedmail-send-it): Add debug call.
9603 Use feedmail-queue-buffer-file-name, and
9604 feedmail-send-it-immediately-wrapper.
9605 (feedmail-message-action-send): Add debug call.
9606 Use feedmail-send-it-immediately-wrapper.
9607 (feedmail-queue-express-to-queue): Add debug call.
9608 Run feedmail-queue-express-hook.
9609 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9610 (feedmail-message-action-help-blat):
9611 Rename from feedmail-queue-send-edit-prompt-help-first.
9612 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9613 Check line-endings. Handle errors better.
9614 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9615 Doc fix. Add debug call.
9616 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9617 Use feedmail-queue-send-edit-prompt-inner.
9618 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9619 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9620 from feedmail-queue-send-edit-prompt.
9621 (feedmail-queue-send-edit-prompt-help)
9622 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9623 (feedmail-tidy-up-slug): Add debug call.
9624 Respect feedmail-queue-slug-suspect-regexp.
9625 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9626 (feedmail-dump-message-to-queue): Add debug call.
9627 Expand queue-directory.
9628 (feedmail-dump-message-to-queue): Change message slightly.
9629 Use feedmail-say-chatter.
9630 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9631 (feedmail-send-it-immediately-wrapper): New function.
9632 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9633 Insert empty string rather than newline. Handle full-frame case.
9634 Use catch/throw. Use feedmail-say-chatter.
9635 (feedmail-fiddle-from): Try mail-host-address.
9636 (feedmail-default-message-id-generator): Doc fix.
9637 Bind system-time-locale. Handle missing end.
9638 (feedmail-fiddle-x-mailer): Add debug call.
9639 Handle feedmail-x-mailer-line being nil.
9640 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9641 Add debug call. Use buffer-substring-no-properties.
9642 (feedmail-say-debug, feedmail-say-chatter): New functions.
9643 (feedmail-find-eoh): Give an explicit error.
9644
42c7e61e
UJ
96452011-05-13 Ulf Jasper <ulf.jasper@web.de>
9646
c2571358 9647 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 9648 family from helvetica to sans.
c2571358 9649 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9650 etc/images/newsticker.
9651
c2571358 9652 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
9653 family from helvetica to sans.
9654
9655 * net/newst-plainview.el (newsticker-new-item-face)
9656 (newsticker-old-item-face, newsticker-immortal-item-face)
9657 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 9658 (newsticker-statistics-face): Change default family from
42c7e61e 9659 helvetica to sans.
c2571358 9660 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9661 etc/images/newsticker.
9662
9663 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9664 (newsticker--process-auto-mark-filter-match): : Tell user about
9665 auto-marking.
9666
8497a297
DV
96672011-05-13 Didier Verna <didier@xemacs.org>
9668
9669 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
9670 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9671 TODO entries.
8497a297
DV
9672 (lisp-lambda-list-keyword-parameter-indentation)
9673 (lisp-lambda-list-keyword-parameter-alignment)
9674 (lisp-lambda-list-keyword-alignment): New customizable user options.
9675 (lisp-indent-defun-method): Improve docstring.
9676 (extended-loop-p): Fix comment.
9677 (lisp-indent-lambda-list-keywords-regexp): New variable.
9678 (lisp-indent-lambda-list): New function.
9679 (lisp-indent-259): Use it.
9680 (lisp-indent-defmethod): Support for more than one
9681 method qualifier and properly indent methods lambda-lists.
9682 (defgeneric): Provide a missing common-lisp-indent-function property.
9683
f278f87f
SM
96842011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9685
9686 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9687 bounds for the empty string (bug#8667).
9688
5233edd7
GM
96892011-05-13 Glenn Morris <rgm@gnu.org>
9690
5237a44f
GM
9691 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9692
8340026c 9693 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 9694 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 9695
5233edd7 9696 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 9697 (appt-time-msg-list): Doc fix.
a5464014 9698 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 9699
92d10796
AS
97002011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9701
9702 * progmodes/ld-script.el (ld-script-keywords)
9703 (ld-script-builtins): Update keywords list.
9704
914a0ae1
SM
97052011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9706
c89be45f
SM
9707 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9708
914a0ae1
SM
9709 * shell.el (shell-completion-vars): New function.
9710 (shell-mode):
9711 * simple.el (read-shell-command): Use it.
9712 (blink-matching-open): No need for " [...]" in minibuffer-message.
9713
98dc3df3
GM
97142011-05-12 Glenn Morris <rgm@gnu.org>
9715
9716 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9717 (appt-check): Simplify.
9718
d2fc7e3d 97192011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 9720
4d61f28d 9721 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
9722 literal "/dev/null".
9723
d2fc7e3d 97242011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
9725
9726 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9727 Fix typo.
9728
d2fc7e3d 97292011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 9730
3f254caa
SM
9731 * progmodes/which-func.el (which-function):
9732 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
9733 which might not be defined (Bug#8260).
9734
d45885f7
GM
97352011-05-12 Glenn Morris <rgm@gnu.org>
9736
9737 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9738 Let byte-compile-initial-macro-environment always take precedence.
9739
488086f4
SM
97402011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9741
9742 * net/rcirc.el: Add support for SSL/TLS connections.
9743 (rcirc-server-alist): New field `encryption'.
9744 (rcirc): Check `encryption' settings.
9745 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9746 Merge make-local-variable into `set'.
9747 (rcirc--connection-open-p): New function.
9748 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9749 the process is not a network process (e.g. running gnutls-cli).
9750 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9751 Make rcirc-(en|de)code-coding-system local here.
9752 (rcirc-mode): Merge make-local-variable into `set'.
9753 (rcirc-parent-buffer): Make permanent buffer-local.
9754 (rcirc-multiline-minor-mode): Don't do it here.
9755 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9756 there's no server buffer.
9757
7d3b9d44
GM
97582011-05-11 Glenn Morris <rgm@gnu.org>
9759
f64049c6
GM
9760 * newcomment.el (comment-kill): Prefix "unused" local.
9761
93c9df73
GM
9762 * term/w32console.el (get-screen-color): Declare.
9763
7d3b9d44
GM
9764 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9765 Handle symbol elements of byte-compile-initial-macro-environment.
9766
9e2dd53f
LL
97672011-05-10 Leo Liu <sdl.web@gmail.com>
9768
488086f4
SM
9769 * bookmark.el (bookmark-bmenu-mode-map):
9770 Bind bookmark-bmenu-search to `/'.
8b340240 9771
9e2dd53f 9772 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
9773 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9774 (Footnote-unicode): New function.
9775 (footnote-style-alist): Add unicode style to the list.
9776 (footnote-style): Doc fix.
9e2dd53f 9777
79b70037
GM
97782011-05-10 Jim Meyering <meyering@redhat.com>
9779
9780 Fix doubled-word typos.
9781 * international/quail.el (quail-insert-kbd-layout): and and -> and
9782 * kermit.el: and and -> and
9783 * net/ldap.el (ldap-search-internal): to to -> to
9784 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9785 * progmodes/js.el (js-mode): and and -> and
9786 * textmodes/artist.el (artist-move-to-xy): at at -> at
9787 (artist-draw-region-trim-line-endings): if if -> if
9788 And Safetyc -> Safety.
9789 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9790
b8f82dc1 97912011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 9792 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
9793
9794 * files.el (hack-one-local-variable-eval-safep):
9795 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9796
4f99f44b
GM
97972011-05-10 Glenn Morris <rgm@gnu.org>
9798
9799 * calendar/diary-lib.el (diary-list-entries-hook)
9800 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9801 (diary-nongregorian-marking-hook, diary-list-entries)
9802 (diary-include-other-diary-files, diary-mark-entries)
9803 (diary-mark-included-diary-files): Doc fixes.
9804
84f29e6b
JB
98052011-05-09 Juanma Barranquero <lekktu@gmail.com>
9806
9807 * misc.el: Require tabulated-list.el during compilation.
9808
9bedd73a
CY
98092011-05-09 Chong Yidong <cyd@stupidchicken.com>
9810
488086f4
SM
9811 * progmodes/compile.el (compilation-start):
9812 Run compilation-filter-hook for the async case too.
9bedd73a
CY
9813 (compilation-filter-hook): Doc fix.
9814
797c735c
DD
98152011-05-09 Deniz Dogan <deniz@dogan.se>
9816
9817 * wdired.el: Remove outdated installation comment. Fix usage
9818 comment.
9819
5f4b1dfe
JB
98202011-05-09 Juanma Barranquero <lekktu@gmail.com>
9821
9822 * misc.el: Implement new command `list-dynamic-libraries'.
9823 (list-dynamic-libraries--loaded-only-p): New variable.
9824 (list-dynamic-libraries--refresh): New function.
9825 (list-dynamic-libraries): New command.
9826
4c44026c
CY
98272011-05-09 Chong Yidong <cyd@stupidchicken.com>
9828
488086f4
SM
9829 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9830 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
9831 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9832 higher priority to avoid clobbering by gnu.
9833
027f966d
CY
98342011-05-08 Chong Yidong <cyd@stupidchicken.com>
9835
9836 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9837 if the face has existing theme settings (Bug#8454).
9838
085f5d7d
CY
98392011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9840
488086f4
SM
9841 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9842 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 9843
2a86a00c
RS
9844 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9845 special file names `.' and `..' (Bug#8259).
9846
d9c54a06
CY
98472011-05-08 Chong Yidong <cyd@stupidchicken.com>
9848
488086f4
SM
9849 * progmodes/grep.el (grep-mode-font-lock-keywords):
9850 Remove buffer-changing entries.
d9c54a06
CY
9851 (grep-filter): New function.
9852 (grep-mode): Add it to compilation-filter-hook.
9853
9854 * progmodes/compile.el (compilation-filter-hook)
9855 (compilation-filter-start): New defvars.
9856 (compilation-filter): Call compilation-filter-hook prior to
9857 updating the process mark.
9858
c4662635
SM
98592011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9860
9861 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9862
b0512a1d
EZ
98632011-05-07 Eli Zaretskii <eliz@gnu.org>
9864
605c9376
EZ
9865 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9866 mailclient-send-it even if window-system is nil. (Bug#8595)
9867
c4662635
SM
9868 * term/w32console.el (terminal-init-w32console):
9869 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
9870 background-mode. (Bug#8597)
9871
d1dc2cc2
SM
98722011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9873
9874 Make bytecomp.el understand that defmethod defines funs (bug#8631).
9875 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9876 New functions.
9877 (defgeneric, eieio--defmethod): Use them.
9878 (eieio-defgeneric): Remove.
9879 (defmethod): Call defgeneric in a way visible to the byte-compiler.
9880
915d1300
GM
98812011-05-07 Glenn Morris <rgm@gnu.org>
9882
a3961c3e
GM
9883 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9884 Use let rather than let*.
9885 (timeclock-find-discrep): Remove unused local.
9886
314347b9
GM
9887 * calendar/diary-lib.el (diary-comment-start): Doc fix.
9888
915d1300
GM
9889 * calendar/appt.el (appt-time-msg-list): Doc fix.
9890
275b59b0
NF
98912011-05-06 Noah Friedman <friedman@splode.com>
9892
9893 * apropos.el (apropos-print-doc): Only use
9894 emacs-lisp-docstring-fill-column when it is bound to an integer,
9895 per that variable's documentation.
9896
6c19f744
SM
98972011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9898
9899 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 9900 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 9901
60f884b2
GM
99022011-05-06 Glenn Morris <rgm@gnu.org>
9903
5006e634
GM
9904 * calendar/appt.el (appt-message-warning-time): Doc fix.
9905 (appt-warning-time-regexp): New option.
9906 (appt-make-list): Respect appt-message-warning-time.
9907
548d0a63
GM
9908 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9909 New options.
9910 (diary-add-to-list): Strip comments from the displayed string.
9911 (diary-mode): Set comment-start and comment-end.
9912
60f884b2
GM
9913 * vc/diff-mode.el (smerge-refine-subst): Declare.
9914 (diff-refine-hunk): Don't require smerge-mode when compiling.
9915
989681bb
JB
99162011-05-06 Juanma Barranquero <lekktu@gmail.com>
9917
9918 * simple.el (list-processes): Return nil as the docstring says.
9919
a6bc05e1
MA
99202011-05-05 Michael Albinus <michael.albinus@gmx.de>
9921
9922 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9923 to "".
9924 (ange-ftp-write-region, ange-ftp-insert-file-contents)
9925 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9926 determining of binary transfer. (Bug#7383)
9927
23c22e9a
MA
99282011-05-05 Michael Albinus <michael.albinus@gmx.de>
9929
c4662635
SM
9930 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9931 Fix port computation bug. (Bug#8618)
23c22e9a 9932
0bff894f
GM
99332011-05-05 Glenn Morris <rgm@gnu.org>
9934
b8296902
GM
9935 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9936
1f522ce8
GM
9937 * simple.el (shell-dynamic-complete-functions)
9938 (comint-dynamic-complete-functions): Declare.
9939
cf5bee67
GM
9940 * net/network-stream.el (gnutls-negotiate):
9941 * simple.el (tabulated-list-print): Fix declarations.
9942
9943 * progmodes/gud.el (syntax-symbol, syntax-point):
9944 Remove unnecessary and incorrect declarations.
9945
0bff894f
GM
9946 * emacs-lisp/check-declare.el (check-declare-scan):
9947 Handle byte-compile-initial-macro-environment in bytecomp.el
9948
9869b3ae
SM
99492011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9950
9951 Fix earlier half-done eieio-defmethod change (bug#8338).
9952 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9953 Streamline and change calling convention.
9954 (defmethod): Adjust accordingly and simplify.
9955 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9956 new eieio--defmethod.
9957 (slot-boundp): Minor CSE simplification.
9958
9c1d5ac5
MZ
99592011-05-05 Milan Zamazal <pdm@zamazal.org>
9960
9961 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9962 (glasses-make-readable): Use glasses-separate-capital-groups.
9963
455c834e
JB
99642011-05-05 Juanma Barranquero <lekktu@gmail.com>
9965
9966 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9967 (warning-series): Doc fix.
9968 (display-warning): Don't try to create the buffer if we just found it.
9969
9ed7c8cb
CY
99702011-05-04 Chong Yidong <cyd@stupidchicken.com>
9971
9972 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9973 (autoload-find-generated-file): New function.
9974 (generate-file-autoloads): Bind generated-autoload-file to
9975 buffer-file-name.
9869b3ae
SM
9976 (update-file-autoloads, update-directory-autoloads):
9977 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
9978 output file (Bug#7989).
9979 (batch-update-autoloads): Doc fix.
9980
0898ca10
JB
99812011-05-04 Juanma Barranquero <lekktu@gmail.com>
9982
9983 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9984
31dfb76c
GM
99852011-05-04 Glenn Morris <rgm@gnu.org>
9986
f330b642
GM
9987 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9988 function, so it follows changes in calendar-date-style.
9989 (diary-fancy-date-matcher): New function.
9990 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9991 (diary-fancy-font-lock-fontify-region-function):
9992 Use diary-fancy-date-pattern as a function.
9993
31dfb76c
GM
9994 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9995 non-numbers for `year' etc pseudo-variables. (Bug#8583)
9996
48e79d6a
TZ
99972011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
9998
9999 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10000 instead of positional arguments. Allow :keylist and :crlfiles
10001 arguments.
10002 (open-gnutls-stream): Call it.
10003
10004 * net/network-stream.el (network-stream-open-starttls): Adjust to
10005 call `gnutls-negotiate' with :process and :hostname arguments.
10006
dd5a5ee0
SM
100072011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10008
ef80fc09
SM
10009 * minibuffer.el (completion--message): New function.
10010 (completion--do-completion, minibuffer-complete)
10011 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10012 (completion--do-completion): Don't ignore completion-auto-help when in
10013 icomplete-mode.
10014
dd5a5ee0
SM
10015 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10016 internal encoding (e.g. tibetan zero is not whitespace).
10017 (global-whitespace-mode): Prefer save-current-buffer.
10018 (whitespace-trailing-regexp): Remove useless save-match-data.
10019 (whitespace-empty-at-bob-regexp): Minor simplification.
10020
b7d22a83
CY
100212011-05-03 Chong Yidong <cyd@stupidchicken.com>
10022
10023 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10024
5192af46
AM
100252011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10026
10027 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 10028 Use `concat' to create string for insertion.
5192af46 10029
5767d190
SM
100302011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10031
10032 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10033 Avoid open-line which runs post-self-insert-hook.
10034 (bibtex-fill-entry): Remove unused `end' var.
10035
bf242939
AM
100362011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10037
5767d190
SM
10038 * textmodes/ispell.el (ispell-add-per-file-word-list):
10039 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 10040
25666126
LL
100412011-05-03 Leo Liu <sdl.web@gmail.com>
10042
10043 * isearch.el (isearch-yank-pop): New command.
5767d190 10044 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
10045 (isearch-forward): Mention it.
10046
52d3c2d0
SM
100472011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10048
1bcace58
SM
10049 * simple.el (minibuffer-complete-shell-command): Remove.
10050 (minibuffer-local-shell-command-map): Use completion-at-point.
10051 (read-shell-command): Setup completion vars here instead.
10052 (read-expression-map): Bind TAB to symbol completion.
10053
52d3c2d0
SM
10054 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10055 error directly rather via storing it into `results'.
10056
35813471
LL
100572011-05-02 Leo Liu <sdl.web@gmail.com>
10058
10059 * vc/diff.el: Fix description.
10060
e793a940
LMI
100612011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10062
10063 * server.el (server-eval-at): New function.
10064
8de66e05
LMI
100652011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10066
10067 * net/network-stream.el (open-network-stream): Take a :nowait
10068 parameter and pass it on to `make-network-process'.
10069 (network-stream-open-plain): Ditto.
10070
dcb79f20
AS
100712011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10072
10073 * faces.el (face-spec-set-match-display): Don't match toolkit
10074 options on terminal frames.
10075
14a7fbd8
SM
100762011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10077
7eabc1be
SM
10078 * progmodes/pascal.el: Use lexical binding.
10079 (pascal-mode-map): Remove author preferences.
10080
14a7fbd8
SM
10081 * pcomplete.el (pcomplete-std-complete): Don't abuse
10082 completion-at-point.
10083
50f84510
JB
100842011-04-28 Juanma Barranquero <lekktu@gmail.com>
10085
6e087a44
JB
10086 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10087 removing code that has been dead since 1991 or so.
10088
50f84510
JB
10089 * startup.el (command-line): When warning about "_emacs", use a
10090 delayed warning to allow the user to filter it out.
10091
0ba690bd
DD
100922011-04-28 Deniz Dogan <deniz@dogan.se>
10093
10094 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10095 user has not joined.
10096
08abfaad
SM
100972011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10098
10099 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10100 aren't any completions at point.
10101
638f053a
JB
101022011-04-28 Juanma Barranquero <lekktu@gmail.com>
10103
10104 * subr.el (display-delayed-warnings): New function.
10105 (delayed-warnings-hook): New variable.
10106
8fff8daa
SM
101072011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10108
08abfaad
SM
10109 * minibuffer.el (completion-at-point, completion-help-at-point):
10110 Don't presume that a given completion-at-point-function will always
10111 use the same calling convention.
10112
8fff8daa
SM
10113 * pcomplete.el (pcomplete-completions-at-point):
10114 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10115 pcomplete-seen is non-nil.
10116 (pcomplete-comint-setup): Also recognize the new comint/shell
10117 completion functions.
10118 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10119 pcomplete-seen is non-nil.
10120
841a1577 101212011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 10122
841a1577 10123 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 10124 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 10125 the first character in the entry. This allows for code to add its
211ec907
UJ
10126 own uid to the entry.
10127 (icalendar--convert-float-to-ical): Add export of
10128 `diary-float'-entries save for those with the optional DAY
10129 argument.
10130
2a782793
DC
101312011-04-27 Daniel Colascione <dan.colascione@gmail.com>
10132
10133 * subr.el (shell-quote-argument): Use alternate escaping strategy
10134 when we spot a variable reference in a string.
10135
0438ce91
DC
101362011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10137
10138 * cus-start.el (all): Define customization for debug-on-event.
10139
841a1577 101402011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
10141
10142 * subr.el (shell-quote-argument): Escape correctly under Windows.
10143
d090ed6c
SM
101442011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10145
10146 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10147
bfd31217
MA
101482011-04-25 Michael Albinus <michael.albinus@gmx.de>
10149
d090ed6c
SM
10150 * net/tramp.el (tramp-process-actions): Add POS argument.
10151 Delete region between POS and (pos).
bfd31217 10152
d090ed6c
SM
10153 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10154 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
10155 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10156
10157 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10158 position in `tramp-process-actions' call.
10159
10160 * net/trampver.el: Update release number.
10161
e92f3bd3
SM
101622011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10163
850256b5
SM
10164 * custom.el (defcustom): Obey lexical-binding.
10165
e92f3bd3
SM
10166 Fix octave-inf completion problems reported by Alexander Klimov.
10167 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10168 Inherit from octave-mode-syntax-table.
10169 (inferior-octave-mode): Set info-lookup-mode.
10170 (inferior-octave-completion-at-point): New function.
10171 (inferior-octave-complete): Use it and completion-in-region.
10172 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10173 comint-filename-completion.
10174 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10175 symbol elements which shouldn't be word elements.
10176 (octave-font-lock-keywords, octave-beginning-of-defun)
10177 (octave-function-header-regexp): Adjust regexps accordingly.
10178 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10179
cd22b309
JB
101802011-04-25 Juanma Barranquero <lekktu@gmail.com>
10181
10182 * net/gnutls.el (gnutls-errorp): Declare before first use.
10183
8b492194
TZ
101842011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10185
10186 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10187 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 10188 default trustfile exists before going to use it. Add missing
5a5fa834 10189 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
10190 Reported by Claudio Bley <claudio.bley@gmail.com>.
10191 (open-gnutls-stream): Add usage example.
10192
10193 * net/network-stream.el (network-stream-open-starttls): Give host
10194 parameter to `gnutls-negotiate'.
10195 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 10196 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 10197
841a1577 101982011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 10199
cd22b309
JB
10200 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10201 Use correct match group (bug#8438).
05842630 10202
3ba7869c
CY
102032011-04-24 Chong Yidong <cyd@stupidchicken.com>
10204
512e3ae1
CY
10205 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10206 (package-menu--generate): New arg specifying packages to show.
10207 (package-menu-refresh, package-menu-execute, list-packages):
10208 Callers changed.
10209 (package-show-package-list): New function, replacing deleted
10210 package--list-packages (renamed because it is non-internal).
10211
10212 * finder.el (finder-list-matches): Use package-show-package-list
10213 instead of deleted package--list-packages.
10214
e92f3bd3
SM
10215 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10216 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
10217 (vc-annotate-mode-map): Bind it to RET.
10218
7031be6d
UR
102192011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10220
10221 * progmodes/etags.el (next-file): Don't use set-buffer to change
10222 buffers (Bug#8478).
10223
4ef177aa
CY
102242011-04-24 Chong Yidong <cyd@stupidchicken.com>
10225
c8d173eb
CY
10226 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10227
4ef177aa
CY
10228 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10229 (apropos-accumulator): Doc fix.
10230 (apropos-function, apropos-macro, apropos-command)
10231 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10232 (apropos-plist): Add face property.
10233 (apropos-symbols-internal): Fix indentation.
10234 (apropos-print): Simplify help, and recognize apropos-multi-type.
10235 (apropos-print-doc): Use button-type-get to extract the button's
10236 face property. Fill docstring (Bug#8352).
10237
4ffd0d6b 102382011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
10239
10240 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10241
c6c32125 10242 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 10243 (mpuz-mode-map): Use mapc.
c6c32125
JB
10244 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10245 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10246 Fix typos in docstrings.
10247
58d468b4
JB
10248 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10249 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10250
6470c3c6
JB
10251 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10252
4ffd0d6b 102532011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
10254
10255 * minibuffer.el (completion--do-completion): Avoid the "Next char
10256 not unique" prompt if icomplete-mode is enabled (Bug#5849).
10257
3ad8bad0
CY
10258 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10259 mouse-2 into unread-command-events, it is interpreted correctly.
10260
71d73c9c 10261 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 10262 (image-toggle-display): Doc fix.
71d73c9c 10263
841a1577 102642011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 10265
4ffd0d6b
GM
10266 * textmodes/page.el (what-page): Use line-number-at-pos to
10267 calculate line number (Bug#6825).
6e1dbaa9 10268
c2fb1b60
JB
102692011-04-22 Juanma Barranquero <lekktu@gmail.com>
10270
10271 * eshell/esh-mode.el (find-tag-interactive): Declare function.
10272 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10273 Pass argument NO-DEFAULT to `find-tag-interactive'.
10274
e02f48d7
JB
102752011-04-22 Juanma Barranquero <lekktu@gmail.com>
10276
10277 Lexical-binding cleanup.
10278
10279 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10280 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10281 * progmodes/ada-prj.el (ada-prj-initialize-values)
10282 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10283 (ada-prj-show-value):
10284 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10285 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10286 (antlr-invalidate-context-cache, antlr-options-menu-filter)
10287 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10288 * progmodes/bug-reference.el (bug-reference-push-button):
10289 * progmodes/fortran.el (fortran-line-length):
10290 * progmodes/glasses.el (glasses-change):
10291 * progmodes/octave-mod.el (octave-fill-paragraph):
10292 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10293 (python-pdbtrack-grub-for-buffer, python-sentinel):
10294 * progmodes/sql.el (sql-save-connection):
10295 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10296 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10297 Mark unused parameters.
10298
10299 * progmodes/compile.el (compilation--flush-directory-cache)
10300 (compilation--flush-parse, compile-internal): Mark unused parameters.
10301 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10302 (compilation-next-error-function): Remove unused variable `timestamp'.
10303
10304 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10305 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10306
10307 * progmodes/dcl-mode.el (dcl-end-of-command):
10308 Remove unused variable `start'.
10309 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10310 (dcl-option-value-basic, dcl-option-value-offset)
10311 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10312 Mark unused parameters.
10313 (dcl-save-local-variable): Remove unused variable `val'.
10314 (mode): Declare.
10315
10316 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10317 Mark unused parameters.
10318 (delphi-ignore-changes): Move before first use.
10319 (delphi-charset-token-at): Remove unused variable `start'.
10320 (delphi-else-start): Remove unused variable `if-count'.
10321 (delphi-comment-block-start, delphi-comment-block-end):
10322 Remove unused variable `kind'.
10323 (delphi-indent-line): Remove unused variable `new-point'.
10324
10325 * progmodes/ebrowse.el (ebrowse-files-list)
10326 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10327 Mark unused parameters. Don't quote `lambda'.
10328 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10329 Don't quote `lambda'.
10330 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10331 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10332 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10333 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10334 Use `ignore-errors'.
10335 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10336 (ebrowse-view/find-file-and-search-pattern)
10337 (ebrowse-view/find-member-declaration/definition):
10338 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10339 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10340 Rename parameter PREFIX-ARG to PREFIX.
10341 (ebrowse-tags-read-name): Remove unused variables `start' and
10342 `member-info'.
10343 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10344 to `tags-file'.
10345
10346 * progmodes/etags.el (local-find-tag-hook): Declare.
10347 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10348 Mark unused parameters.
10349
10350 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10351 (executable-interpret): Mark unused parameter.
10352
10353 * progmodes/flymake.el (flymake-process-sentinel)
10354 (flymake-after-change-function)
10355 (flymake-create-temp-with-folder-structure)
10356 (flymake-get-include-dirs-dot): Mark unused parameters.
10357 (flymake-safe-delete-directory): Remove unused variable `err'.
10358
10359 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10360 (speedbar-timer-fn, speedbar-line-text)
10361 (speedbar-change-expand-button-char, speedbar-delete-subblock)
10362 (speedbar-center-buffer-smartly): Declare functions.
10363 (gdb-find-watch-expression): Remove unused variable `array'.
10364 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10365 (gdb-starting): Mark unused parameters.
10366 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10367 (gdb-table-string): Remove unused variable `res'.
10368 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10369 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10370 (gdb-display-buffer): Remove unused variable `cur-size'.
10371
10372 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10373 allow lexical-binding compilation.
10374 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10375 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10376 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10377 Mark unused parameters.
10378 (gud-gdb-marker-filter): Remove unused variable `match'.
10379 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10380 lambda expressions and funcall them, instead of using `fset'.
10381
10382 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10383 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10384
10385 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10386 variable `header-beg'; use `let'.
10387
10388 * progmodes/icon.el (indent-icon-exp): Remove unused variables
10389 `restart', `last-sexp' and `at-do'.
10390
10391 * progmodes/js.el (js--debug): Mark unused parameter.
10392 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10393 (js--splice-into-items): Remove unused variable `item'.
10394 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10395
10396 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10397 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10398 (makefile-complete): Remove unused variable `try'.
10399 (makefile-fill-paragraph, makefile-match-function-end):
10400 Mark unused parameters.
10401
10402 * progmodes/octave-inf.el (inferior-octave-complete):
10403 Remove unused variable `proc'.
10404 (inferior-octave-output-digest): Mark unused parameter.
10405
10406 * progmodes/perl-mode.el (perl-calculate-indent):
10407 Remove unused variable `err'.
10408
10409 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10410 (prolog-indent-line): Mark unused parameters.
10411 (prolog-indent-line): Remove unused variable `beg'.
10412
10413 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10414 (reporter-dont-compact-list): Declare.
10415
10416 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10417 Remove unused variable `char'.
10418 (sh-debug): Mark unused parameter.
10419 (sh-get-indent-info): Remove unused variable `start'.
10420 (sh-calculate-indent): Remove unused variable `var'.
10421
10422 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10423 (simula-electric-keyword): Remove unused variable `null'.
10424 (simula-search-backward, simula-search-forward): Remove unused
10425 variables `begin' and `end'.
10426
10427 * progmodes/vera-mode.el (vera-guess-basic-syntax):
10428 Remove unused variable `pos'.
10429 (vera-electric-tab, vera-comment-uncomment-region):
10430 Mark unused parameters.
10431 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10432
7ede3b65
CY
104332011-04-22 Chong Yidong <cyd@stupidchicken.com>
10434
10435 * emacs-lisp/package.el (package--builtins, package-alist)
10436 (package-load-descriptor, package-built-in-p, package-activate)
10437 (define-package, package-installed-p)
10438 (package-compute-transaction, package-buffer-info)
10439 (package--push): Doc fix. Distinguish more clearly between
10440 version strings and version lists.
10441
121656e9
JB
104422011-04-21 Juanma Barranquero <lekktu@gmail.com>
10443
10444 Lexical-binding cleanup.
10445
10446 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10447 (5x5-make-mutate-best):
10448 * play/fortune.el (fortune-in-buffer):
10449 * play/gomoku.el (gomoku-init-display):
10450 * play/solitaire.el (solitaire, solitaire-do-check):
10451 * play/tetris.el (tetris-default-update-speed-function):
10452 Mark unused parameters.
10453
10454 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10455 (bubbles--shift): Remove unused variable `char-org'.
10456 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
10457 (bubbles--show-images): Remove unused variable `char'.
10458
10459 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10460 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10461 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10462 (decipher-analyze-buffer): Use ?\s.
10463 (decipher-make-checkpoint): Remove unused variable `mapping'.
10464
10465 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10466
10467 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10468 Remove unused variable `result'; use `let'.
10469
10470 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10471 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10472 (gametree-children-shown-p, gametree-compute-reduced-score):
10473 Use `ignore-errors'.
10474
10475 * play/handwrite.el (ps-lpr-switches): Declare.
10476 (handwrite): Remove unused variables `pmin' and `lastp'.
10477
10478 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10479
10480 * play/landmark.el (landmark-init-display)
10481 (landmark-update-naught-weights): Mark unused parameters.
10482 (landmark-y): Remove unused variable `noise'. Simplify.
10483 (landmark-human-plays): Remove unused variable `score'.
10484
10485 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10486 (mpuz-try-proposal): Remove unused variable `game'.
10487
10488 * play/zone.el (life-patterns): Declare.
10489
80f499c7
JB
104902011-04-20 Juanma Barranquero <lekktu@gmail.com>
10491
10492 * vc/vc.el (ediff-vc-internal): Declare function.
10493
024ff170
SM
104942011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10495
c0a193ea
SM
10496 * shell.el: Use lexical-binding and std completion UI.
10497 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10498 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10499 comint-preoutput-filter-functions rather than on
10500 comint-output-filter-functions.
10501 (shell-command-completion, shell--command-completion-data)
10502 (shell-filename-completion, shell-environment-variable-completion)
10503 (shell-c-a-p-replace-by-expanded-directory): New functions.
10504 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10505 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10506 (shell-dynamic-complete-environment-variable): Use them.
10507 (shell-dynamic-complete-as-environment-variable)
10508 (shell-dynamic-complete-as-command): Remove.
10509 (shell-match-partial-variable): Match past point.
10510 * comint.el: Clean up use of completion-at-point-functions.
10511 (comint-completion-at-point): New function.
10512 (comint-mode): Use it completion-at-point-functions.
10513 (comint-dynamic-complete): Make it obsolete.
10514 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10515 (comint-c-a-p-replace-by-expanded-history): New function.
10516 (comint-dynamic-complete-functions)
10517 (comint-replace-by-expanded-history): Use it.
10518 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10519 termination strings. Try harder to avoid second try-completion.
10520 (completion-in-region-mode-map): Disable bindings that don't work yet.
10521
2dbaa080
SM
10522 * comint.el: Use lexical-binding. Require CL.
10523 (comint-dynamic-complete-functions): Use comint-filename-completion.
10524 (comint-completion-addsuffix): Tweak custom type.
10525 (comint-filename-completion, comint--common-suffix)
10526 (comint--common-quoted-suffix, comint--table-subvert)
10527 (comint--complete-file-name-data): New functions.
10528 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10529 (comint-dynamic-list-filename-completions): Use them.
10530 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 10531
2dbaa080
SM
10532 * minibuffer.el (completion-in-region-mode):
10533 Keep completion-in-region-mode--predicate global.
10534 (completion-in-region--postch):
10535 Assume completion-in-region-mode--predicate is not null.
10536
c79a6f38
SM
10537 * progmodes/flymake.el (flymake-start-syntax-check-process):
10538 Obey `dir'. Simplify.
10539
024ff170
SM
10540 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10541 we're in VC after all.
10542
1c6c854e
CS
105432011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10544
10545 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 10546 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
10547 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10548
bed7f140
SM
105492011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10550
332e62ab
SM
10551 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10552 add sanity check.
10553
bed7f140
SM
10554 * obsolete/erc-hecomplete.el: Make obsolete.
10555 * obsolete/: Standardize obsolescence info in the header.
10556
f195c582
GM
105572011-04-20 Glenn Morris <rgm@gnu.org>
10558
10559 * calendar/solar.el (solar-horizontal-coordinates):
10560 Use the longitude argument rather than `calendar-longitude'.
10561 (solar-date-next-longitude): Remove unused locals.
10562
cb79b8c0
VJL
105632011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10564
10565 * whitespace.el: New version 13.2.1.
10566
105672011-04-20 felix <EmacsWiki> (tiny change)
10568
d8e4b68b 10569 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
10570 switching between major modes on a file.
10571
602ea69d
SM
105722011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10573
10574 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10575 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10576 multi-line comments as well.
10577
06b60517
JB
105782011-04-19 Juanma Barranquero <lekktu@gmail.com>
10579
10580 Lexical-binding cleanup.
10581
10582 * arc-mode.el (archive-mode-revert):
10583 * cmuscheme.el (scheme-interactively-start-process):
10584 * custom.el (custom-initialize-delay):
10585 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10586 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10587 * emacs-lock.el (emacs-lock-clear-sentinel):
10588 * ezimage.el (defezimage):
10589 * follow.el (follow-avoid-tail-recenter):
10590 * fringe.el (set-fringe-mode-1):
10591 * generic-x.el (bat-generic-mode-compile):
10592 * help-mode.el (help-info-variable, help-do-xref)
10593 (help-mode-revert-buffer):
10594 * help.el (view-emacs-todo):
10595 * iswitchb.el (iswitchb-completion-help):
10596 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10597 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10598 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10599 * locate.el (locate-update):
10600 * longlines.el (longlines-encode-region)
10601 (longlines-after-change-function):
10602 * outline.el (outline-isearch-open-invisible):
10603 * ps-def.el (declare-function, charset-dimension, char-width)
10604 (encode-char):
10605 * ps-mule.el (ps-mule-plot-string):
10606 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10607 (recentf-edit-list-select, recentf-edit-list-validate)
10608 (recentf-open-files-action):
10609 * rect.el (delete-whitespace-rectangle-line)
10610 (rectangle-number-line-callback):
10611 * register.el (window-configuration-to-register)
10612 (frame-configuration-to-register):
10613 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10614 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10615 (xselect-convert-to-targets, xselect-convert-to-delete)
10616 (xselect-convert-to-filename, xselect-convert-to-charpos)
10617 (xselect-convert-to-lineno, xselect-convert-to-colno)
10618 (xselect-convert-to-os, xselect-convert-to-host)
10619 (xselect-convert-to-user, xselect-convert-to-class)
10620 (xselect-convert-to-name, xselect-convert-to-integer)
10621 (xselect-convert-to-atom, xselect-convert-to-identity):
10622 * subr.el (declare, ignore, process-kill-without-query)
10623 (text-clone-maintain):
10624 * terminal.el (te-get-char, te-tic-sentinel):
10625 * tool-bar.el (tool-bar-make-keymap):
10626 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10627 * type-break.el (type-break-mode, type-break-noninteractive-query):
10628 * view.el (View-back-to-mark):
10629 * wid-browse.el (widget-browse-action, widget-browse-widget)
10630 (widget-browse-widgets, widget-browse-sexp):
10631 * widget.el (define-widget-keywords):
10632 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10633 Mark unused parameters.
10634
10635 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10636 (align-areas): Remove unused variable `look'.
10637 (align-region): Remove unused variables `real-end' and `pos-list'.
10638
10639 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10640
10641 * bindings.el (mode-line-modified, mode-line-remote):
10642 Mark unused parameters.
10643 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10644
10645 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10646 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10647
10648 * comint.el (comint-history-isearch-pop-state)
10649 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10650 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10651 (comint-substitute-in-file-name): Doc fix.
10652
10653 * completion.el (cmpl-statistics-block): Mark unused parameter.
10654 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10655 (save-completions-to-file, load-completions-from-file):
10656 Remove unused local variable `e'.
10657
10658 * composite.el (compose-chars): Remove unused variable `len'.
10659 (lgstring-insert-glyph): Remove unused variable `g'.
10660 (compose-glyph-string): Remove unused variables `ascent',
10661 `descent', `lbearing' and `rbearing'.
10662 (compose-glyph-string-relative): Remove unused variables
10663 `lbearing', `rbearing' and `wadjust'.
10664 (compose-gstring-for-graphic): Remove unused variables `header',
10665 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10666 (compose-gstring-for-terminal): Remove unused variables `header'
10667 and `nchars'. Use `let', not `let*'.
10668
10669 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10670 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10671 (Custom-buffer-done, custom-buffer-create-internal)
10672 (custom-browse-visibility-action, custom-browse-group-tag-action)
10673 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10674 (widget-magic-mouse-down-action, custom-toggle-parent)
10675 (custom-add-parent-links, custom-toggle-hide-variable)
10676 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10677 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10678 (custom-face-menu-create, custom-variable-menu-create, get)
10679 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10680 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10681 (customize-apropos): Remove unused variable `tests'.
10682 (custom-group-value-create): Remove unused variable `hidden-p'.
10683 (sort-fold-case): Declare.
10684
10685 * cus-theme.el (custom-reset-standard-faces-list)
10686 (custom-reset-standard-variables-list): Declare.
10687 (customize-create-theme, custom-theme-revert, custom-theme-write)
10688 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10689 Mark unused parameters.
10690
10691 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10692
10693 * delim-col.el (delimit-columns-max): Move defvar before first use.
10694
10695 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 10696 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
10697
10698 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10699 (auto-insert): Declare.
10700 (desktop-restore-file-buffer): Rename desktop-* parameters;
10701 mark unused ones.
10702 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10703 (desktop-buffer): Rename desktop-* parameters.
10704
10705 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10706 (dframe-reposition-frame-xemacs, dframe-help-echo)
10707 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10708 Mark unused parameters.
10709
10710 * dired-aux.el (backup-extract-version-start, overwrite-query)
10711 (overwrite-backup-query, rename-regexp-query)
10712 (rename-non-directory-query): Declare.
10713 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10714 (dired-add-entry): Remove unused variable `orig-file-name'.
10715 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10716 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10717 `dired-copy-preserve-time' directly.
10718 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10719 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10720
10721 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10722 (dired-virtual-revert, dired-make-relative-symlink):
10723 Mark unused parameters.
10724 (manual-program): Declare.
10725 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10726 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10727 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10728
10729 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10730
10731 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10732
10733 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10734 Declare.
10735
10736 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10737
10738 * electric.el (Electric-command-loop): Rename parameter
10739 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10740
10741 * expand.el (expand-in-literal): Remove unused variable `here'.
10742
10743 * facemenu.el (facemenu-add-new-color):
10744 Remove unused variable `docstring'.
10745
10746 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10747 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10748 (face-attr-construct): Mark unused parameter. Doc fix.
10749 (read-color): Remove unused variable `hex-string'.
10750
10751 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10752 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10753 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10754 (display-buffer-other-frame): Remove unused variable `old-window'.
10755 (kill-buffer-hook): Declare.
10756 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10757 Mark unused parameters.
10758 (after-find-file): Pass 1 to `auto-save-mode', not t.
10759
10760 * files-x.el (auto-insert): Declare.
10761 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10762
10763 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 10764 variable `buf'. Mark unused parameter.
06b60517
JB
10765 (find-lisp-insert-directory): Mark unused parameter.
10766
10767 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10768 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10769 (format-common-tail): Remove, unused.
10770 (format-deannotate-region): Remove unused variable `loc'.
10771 (format-annotate-region): Remove unused variable `p'.
10772 (format-annotate-single-property-change): Remove unused variables
10773 `default' and `tail'.
10774
10775 * forms.el (read-file-filter): Declare.
10776 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10777
10778 * frame.el (frame-creation-function-alist): Mark unused parameter.
10779 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10780
10781 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10782 Remove unused parameters.
10783 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10784 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10785
10786 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10787 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10788 (hfy-prepare-tag-map): Mark unused parameters.
10789 (htmlfontify-buffer): Use `called-interactively-p'.
10790
10791 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10792 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10793 (ibuffer-do-occur): Mark unused parameters.
10794 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10795 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10796
10797 * ibuffer.el: Don't quote `lambda'.
10798 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10799 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10800 Mark unused parameters.
10801
10802 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10803 (ido-completing-read): Mark unused parameters.
10804 (ido-copy-current-word): Mark unused parameters;
10805 remove unused variable `name'.
10806 (ido-sort-merged-list): Remove unused parameter `dirs'.
10807
10808 * ielm.el (ielm-input-sender): Mark unused parameter.
10809 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10810 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10811 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10812 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10813 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10814
10815 * image-dired.el (image-dired-display-thumbs): Remove unused
10816 variables `curr-file' and `count'.
10817 (image-dired-remove-tag): Remove unused variable `start'.
10818 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10819 variable `curr-file'
10820 (image-dired-rotate-original): Remove unused variable `temp-file'.
10821 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10822 Remove unused variable `file'.
10823 (image-dired-gallery-generate): Remove unused variable `curr'.
10824 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10825
10826 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10827
10828 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10829
10830 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10831
10832 * isearch.el (minibuffer-history-symbol): Declare.
10833 (isearch-edit-string): Remove unused variable `err'.
10834 (isearch-message-prefix, isearch-message-suffix):
10835 Mark unused parameters.
10836
10837 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10838
10839 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10840
10841 * makesum.el (double-column): Remove unused variable `cnt'.
10842
10843 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10844 (ido-ignore-item-temp-list): Declare.
10845
10846 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10847 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10848 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10849 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10850 `mouse-col-delta'.
10851
10852 * mouse-sel.el (mouse-extend-internal):
10853 Remove unused variable `orig-window-frame'.
10854
10855 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10856 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10857 Move declarations before first use.
10858 (pcomplete-opt): Mark unused parameters; doc fix.
10859
10860 * proced.el (proced-revert): Mark unused parameter.
10861 (proced-send-signal): Remove unused variable `err'.
10862
10863 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10864 Rename parameter PREFIX-ARG to ARG.
10865 (ps-basic-plot-string, ps-basic-plot-whitespace):
10866 Mark unused parameters.
10867
10868 * replace.el (replace-count): Define.
10869 (occur-revert-function): Mark unused parameters.
10870 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10871 (isearch-case-fold-search, isearch-string): Declare.
10872 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10873 bind `case-fold-search'. Remove unused variables `beg' and `end',
10874 and simplify.
10875 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10876 COUNT and bind `replace-count'.
10877 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10878 to COUNT.
10879
10880 * savehist.el (print-readably, print-string-length): Declare.
10881
10882 * shadowfile.el (shadow-expand-cluster-in-file-name):
10883 Remove unused variable `cluster'.
10884 (shadow-copy-file): Remove unused variable `i'.
10885 (shadow-noquery, shadow-clusters, shadow-site-cluster)
10886 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10887 (shadow-define-literal-group, shadow-define-regexp-group)
10888 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10889
10890 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10891 (shell): Use `called-interactively-p'.
10892 (shell-directory-tracker): Remove unused variable `chdir-failure'.
10893
10894 * simple.el (compilation-context-lines, comint-file-name-quote-list)
10895 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10896 (delete-backward-char): Remove unused variable `ocol'.
10897 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10898 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10899 (event-apply-hyper-modifier, event-apply-shift-modifier)
10900 (event-apply-control-modifier, event-apply-meta-modifier):
10901 Mark unused parameters.
10902 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10903 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10904
10905 * speedbar.el (speedbar-ignored-directory-expressions)
10906 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10907 (speedbar-find-file, speedbar-dir-follow)
10908 (speedbar-directory-buttons-follow, speedbar-tag-find)
10909 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10910 (speedbar-buffers-line-directory, speedbar-buffer-click):
10911 Mark unused parameters.
10912 (speedbar-tag-file): Remove unused variable `mode'.
10913 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10914
10915 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10916
10917 * talk.el (talk): Remove unused variable `display'.
10918
10919 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10920 (tar-write-region-annotate): Mark unused parameter.
10921
10922 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10923 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10924 Declare them, wrapped in `with-no-warnings' to avoid replacing one
10925 warning by another.
10926
10927 * time-stamp.el (time-stamp-string-preprocess):
10928 Remove unused variable `require-padding'.
10929
10930 * tree-widget.el (widget-glyph-enable): Declare.
10931 (tree-widget-action): Mark unused parameter.
10932
10933 * w32-fns.el (x-get-selection): Mark unused parameter.
10934 (autoload-make-program, generated-autoload-file): Declare.
10935
10936 * wdired.el (wdired-revert): Mark unused parameters.
10937 (wdired-xcase-word): Remove unused variable `err'.
10938
10939 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10940 (whitespace-help-scroll): Remove unused variable `data-help'.
10941
10942 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10943 (widget-image-insert, widget-after-change, default)
10944 (widget-default-format-handler, widget-default-notify)
10945 (widget-default-prompt-value, widget-info-link-action)
10946 (widget-url-link-action, widget-function-link-action)
10947 (widget-variable-link-action, widget-file-link-action)
10948 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10949 (widget-field-prompt-internal, widget-field-action, widget-field-match)
10950 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10951 (widget-insert-button-action, widget-delete-button-action, visibility)
10952 (widget-documentation-link-action, widget-documentation-string-action)
10953 (widget-const-prompt-value, widget-regexp-match, symbol)
10954 (widget-coding-system-prompt-value)
10955 (widget-key-sequence-value-to-external, sexp)
10956 (widget-sexp-value-to-internal, character, vector, cons)
10957 (widget-choice-prompt-value, widget-boolean-prompt-value)
10958 (widget-color--choose-action): Mark unused parameters.
10959 (widget-item-match-inline, widget-choice-match-inline)
10960 (widget-checklist-match, widget-checklist-match-inline)
10961 (widget-group-match): Rename parameter VALUES to VALS.
10962 (widget-field-value-set): Remove unused variable `size'.
10963 (widget-color-action): Remove unused variables `value' and `start'.
10964
10965 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 10966 variable `dir'. Doc fix.
06b60517
JB
10967 (windmove-find-other-window): Don't pass it.
10968
10969 * window.el (count-windows): Mark unused parameter.
10970 (bw-adjust-window): Remove unused variable `err'.
10971
10972 * woman.el (woman-file-name): Remove unused variable `default'.
10973 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10974 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10975 (global-font-lock-mode): Declare.
10976 (woman-decode-region): Mark unused parameter.
10977 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10978
10979 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10980 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10981 (x-dnd-handle-moz-url): Remove unused variable `title'.
10982 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10983
10984 * xml.el (xml-parse-tag, xml-parse-attlist):
10985 Remove unused variable `pos'.
10986
bc4f7f3d
GM
109872011-04-19 Glenn Morris <rgm@gnu.org>
10988
10989 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10990 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10991 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10992 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10993 * calendar/cal-html.el (cal-html-insert-minical):
10994 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10995 (calendar-mark-date-pattern):
10996 Prefix "unused" locals.
10997
10998 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10999 optional argument `style'.
11000
11001 * calendar/appt.el (appt-make-list):
11002 * calendar/cal-china.el (calendar-chinese-date-string):
11003 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11004 (diary-hebrew-yahrzeit):
11005 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11006 * calendar/calendar.el (calendar-generate-window):
11007 * calendar/time-date.el (time-to-days):
11008 Remove unused local variables.
11009
16a43933
CY
110102011-04-18 Chong Yidong <cyd@stupidchicken.com>
11011
11012 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11013 glyphless-char-display table.
11014 (tabulated-list-glyphless-char-display): New var.
11015
7eed1860
SS
110162011-04-18 Sam Steingold <sds@gnu.org>
11017
11018 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11019 to acknowledgments.
11020
4d2d1ccd
GM
110212011-04-17 Glenn Morris <rgm@gnu.org>
11022
11023 * calendar/diary-lib.el (diary-sexp-entry):
11024 * calendar/holidays.el (holiday-sexp):
11025 Set debug-on-error rather than the removed stack-trace-on-error.
11026
239da61d
GM
110272011-04-16 Glenn Morris <rgm@gnu.org>
11028
11029 * progmodes/f90.el: Use lexical-binding.
11030 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11031
8b05752a
SM
110322011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11033
daca8ba5
SM
11034 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11035 (mail-mode): Setup mailalias completion here instead.
11036 * mail/mailalias.el: Use lexical-binding.
11037 (pattern, mailalias-done): Declare dynamic.
11038 (mail-completion-at-point-function): New function, from mail-complete.
11039 (mail-complete): Use it.
11040 (mail-completion-expand): New function.
11041 (mail-get-names): Use it.
11042 (mail-directory, mail-directory-process, mail-directory-stream):
11043 Don't use `pattern' for lexically bound arg.
11044
6f542485
SM
11045 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11046
037e7c3f
SM
11047 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11048 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11049 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11050
8b05752a
SM
11051 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11052 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11053 (byte-interactive-p): Define them again, for use when inlining
11054 old code.
11055
49093f60
JB
110562011-04-15 Juanma Barranquero <lekktu@gmail.com>
11057
11058 * loadup.el: Use `string-to-number', not `string-to-int'.
11059
b5b8e7de
SM
110602011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11061
11062 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11063 gud-gdb-complete-command.
11064 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11065 (gud-gdb-completion-at-point): New function.
11066 (gud-gdb-completions): Remove.
11067
f42efeb5
MA
110682011-04-14 Michael Albinus <michael.albinus@gmx.de>
11069
49093f60
JB
11070 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11071 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11072 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11073 whether `executable-find' is bound.
f42efeb5
MA
11074
11075 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11076
e240cc21
SM
110772011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11078
11079 * minibuffer.el (completion-in-region-mode-predicate)
11080 (completion-in-region-mode--predicate): New vars.
11081 (completion-in-region, completion-in-region--postch)
11082 (completion-in-region-mode): Use them.
11083 (completion--capf-wrapper): Also return the hook function.
11084 (completion-at-point, completion-help-at-point):
11085 Adjust and provide a predicate.
c2bd2ab0
SM
11086
11087 Preserve arg names for advice of subr and lexical functions (bug#8457).
11088 * help-fns.el (help-function-arglist): Consolidate the subr and
11089 new-byte-code cases. Add argument `preserve-names' to extract names
11090 from the docstring when needed.
11091 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11092 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11093 (ad-arglist): Use help-function-arglist's new arg.
11094 (ad-definition-type): Use cond.
11095
c183f693
JB
110962011-04-13 Juanma Barranquero <lekktu@gmail.com>
11097
06641a47
JB
11098 * autorevert.el (auto-revert-handler):
11099 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11100 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11101 Don't quote lambda.
11102
c183f693
JB
11103 * image-mode.el (image-transform-set-scale):
11104 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11105
1e3b6001
G
111062011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11107
11108 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 11109 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
11110 Upgrades via gnutls-cli are too slow to be done opportunistically.
11111
2d6af8dd
JB
111122011-04-12 Juanma Barranquero <lekktu@gmail.com>
11113
11114 * dframe.el (dframe-current-frame): Remove spurious quote.
11115
c0749a51
GM
111162011-04-12 Glenn Morris <rgm@gnu.org>
11117
088d0d61
GM
11118 * calendar/cal-tex.el (cal-tex-end-document):
11119 Try to automatically use latin1 input if needed.
11120
c0749a51
GM
11121 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11122 Don't try to cons a mark onto an empty element.
11123
5c90fde0
LL
111242011-04-11 Leo Liu <sdl.web@gmail.com>
11125
11126 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11127 buffers.
11128 (ido-kill-buffer-at-head): Support killing virtual buffers.
11129
369e974d
CY
111302011-04-10 Chong Yidong <cyd@stupidchicken.com>
11131
11132 * minibuffer.el (completion-show-inline-help): New var.
11133 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
11134 (minibuffer-force-complete, minibuffer-complete-word):
11135 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
11136
11137 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11138 to avoid interference from inline help (Bug#5849).
11139
37f1c930
LL
111402011-04-10 Leo Liu <sdl.web@gmail.com>
11141
099c39a4
JB
11142 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11143 Fix typo.
37f1c930 11144
a32d4040
CY
111452011-04-09 Chong Yidong <cyd@stupidchicken.com>
11146
11147 * image-mode.el (image-toggle-display-image): Signal an error if
11148 not in Image mode.
11149 (image-transform-mode, image-transform-resize)
11150 (image-transform-set-rotation): Doc fix.
daca8ba5 11151 (image-transform-set-resize): Delete.
a32d4040
CY
11152 (image-transform-set-scale, image-transform-fit-to-height)
11153 (image-transform-fit-to-width): Handle image-toggle-display-image
11154 and image-transform-resize directly.
11155
099c39a4 111562011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
11157
11158 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
11159 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11160 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
11161 (doc-view-mode-map): Add bindings for the new functions.
11162
099c39a4 111632011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 11164
4d61f28d 11165 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
11166 Fix typo in docstring.
11167
3726838a
EZ
111682011-04-08 Eli Zaretskii <eliz@gnu.org>
11169
04f33f1e
EZ
11170 * files.el (file-size-human-readable): Produce one digit after
11171 decimal, like "ls -lh" does.
11172
11173 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11174 the file size representation.
11175
3726838a
EZ
11176 * simple.el (list-processes): If async subprocesses are not
11177 available, error out with a clear error message.
11178
cbb59342
CY
111792011-04-08 Chong Yidong <cyd@stupidchicken.com>
11180
11181 * help.el (help-form-show): New function, to be called from C.
11182 Put help-form output in a buffer named differently than *Help*.
11183
e3971c44
EZ
111842011-04-08 Eli Zaretskii <eliz@gnu.org>
11185
11186 * files.el (file-size-human-readable): New function.
11187
11188 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11189 computing the representation inline. Don't require `cl'.
11190
12544bbe
GM
111912011-04-08 Glenn Morris <rgm@gnu.org>
11192
a1de6c6a
GM
11193 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11194
3c4671f4
GM
11195 * net/browse-url.el (browse-url-firefox):
11196 Test system-type, not system-configuration.
11197
b605679c
GM
11198 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11199 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11200 Use log-edit-empty-buffer-p. (Bug#7598)
11201
56442f0c
GM
11202 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11203 (rlogin-mode-map): Initialize in the defvar.
11204 (rlogin): Use ignore-errors.
11205
12544bbe
GM
11206 * replace.el (occur-mode-map): Some fixes for menu items.
11207
eb237b0f
AH
112082011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11209
11210 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
11211
7d668f2c
CY
112122011-04-06 Chong Yidong <cyd@stupidchicken.com>
11213
e67a13ab
CY
11214 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11215 issuing unused warnings.
11216
11217 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11218 macro directly.
11219
7d668f2c
CY
11220 * simple.el: Lisp reimplement of list-processes. Based on an
11221 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11222 (process-menu-mode): New major mode.
11223 (list-processes--refresh, list-processes):
11224 (process-menu-visit-buffer): New functions.
11225
11226 * files.el (save-buffers-kill-emacs): Don't assume any return
11227 value of list-processes, which is undocumented anyway.
11228
a83ec3c9
CY
112292011-04-06 Chong Yidong <cyd@stupidchicken.com>
11230
11231 * emacs-lisp/tabulated-list.el: New file.
11232
e91a96fe
CY
11233 * emacs-lisp/package.el: Use Tabulated List mode.
11234 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11235 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11236 table format using Tabulated List mode variables.
11237 (package--push): New macro, replacing package-list-maybe-add.
11238 (package-menu--generate): Use package--push. Renamed from
11239 package--generate-package-list.
11240 (package-menu-refresh, list-packages): Use it.
daca8ba5 11241 (package-menu--print-info): Rename from package-print-package.
e91a96fe 11242 Return insertion data instead of inserting it directly.
099c39a4
JB
11243 (package-menu-describe-package, package-menu-execute):
11244 Use tabulated-list-get-id.
e91a96fe
CY
11245 (package-menu-mark-delete, package-menu-mark-install)
11246 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
11247 (package-menu-mark-obsolete-for-deletion):
11248 Use tabulated-list-put-tag.
e91a96fe
CY
11249 (package--list-packages, package-menu-revert)
11250 (package-menu-get-package, package-menu-get-version)
11251 (package-menu-sort-by-column): Functions deleted.
11252 (package-menu-package-list, package-menu-sort-key): Vars deleted.
11253 (package-menu--status-predicate, package-menu--version-predicate)
11254 (package-menu--name-predicate)
11255 (package-menu--description-predicate): Handle arguments in the
11256 Tabulated List format.
11257 (package-list-packages-no-fetch): Call list-packages.
11258
3e214b50
JB
112592011-04-06 Juanma Barranquero <lekktu@gmail.com>
11260
11261 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 11262 (after-find-file): Don't bind it.
3e214b50
JB
11263 (revert-buffer-in-progress-p): New variable.
11264 (revert-buffer): Bind it.
11265 Pass nil for `after-find-file-from-revert-buffer'.
11266
11267 * saveplace.el (save-place-find-file-hook): Use new variable
11268 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11269
3f0f1700
GM
112702011-04-06 Glenn Morris <rgm@gnu.org>
11271
c0274801
GM
11272 * Makefile.in (AUTOGEN_VCS): New variable.
11273 (autoloads): Use $AUTOGEN_VCS.
11274
3f0f1700
GM
11275 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11276 * calendar/calendar.el (calendar-mode-map):
11277 Check for toolkit scroll bars. (Bug#8305)
11278
41ea9e48
CY
112792011-04-05 Chong Yidong <cyd@stupidchicken.com>
11280
11281 * minibuffer.el (completion-in-region--postch)
11282 (completion-in-region-mode): Remove unnecessary messages.
11283
6194c800
JB
112842011-04-05 Juanma Barranquero <lekktu@gmail.com>
11285
33256f14
JB
11286 * font-lock.el (font-lock-refresh-defaults):
11287 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11288 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11289
6194c800
JB
11290 * info.el (Info-directory-list, Info-read-node-name-2)
11291 (Info-split-parameter-string): Doc fixes.
11292 (Info-virtual-nodes): Reflow docstring.
11293 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11294 (Info-apropos-toc-nodes, info-finder, Info-get-token)
11295 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11296 Fix typos in docstrings.
11297 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11298 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11299 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11300 (Info-restore-desktop-buffer): Mark unused parameters.
11301 (Info-directory-find-file, Info-directory-find-node)
11302 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11303 (Info-virtual-index-find-node, Info-apropos-find-file)
11304 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 11305 Mark unused parameters; fix typos in docstrings.
6194c800
JB
11306 (Info-virtual-index): Remove unused local variable `nodename'.
11307
b87a8200 113082011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 11309
b87a8200
DD
11310 * net/rcirc.el: Update my e-mail address.
11311 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 11312
3b2ff876
CY
113132011-04-05 Chong Yidong <cyd@stupidchicken.com>
11314
11315 * startup.el (command-line): Save the cursor's theme-face
11316 directly, instead of using face-override-spec.
11317
11318 * custom.el (load-theme): Minor optimization in assigning faces.
11319
8d17e7ca
JB
113202011-04-04 Juanma Barranquero <lekktu@gmail.com>
11321
11322 * help-fns.el (describe-variable): Complete all variables having
11323 documentation, including keywords.
11324 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11325
2fbc1934
JB
113262011-04-04 Juanma Barranquero <lekktu@gmail.com>
11327
11328 Convert to lexical-binding.
11329
11330 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11331 (bs--get-marked-string, bs--get-modified-string)
11332 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11333 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11334 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11335
11336 * ehelp.el (electric-help-execute-extended)
11337 (electric-help-ctrl-x-prefix):
11338 * hexl.el (hexl-revert-buffer-function):
11339 * linum.el (linum-after-change, linum-after-scroll):
11340 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11341
11342 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11343
74f50695
DU
113442011-04-04 Daiki Ueno <ueno@unixuser.org>
11345
11346 * epa-dired.el:
11347 * epa-mail.el:
11348 * epa-hook.el:
11349 * epa-file.el:
11350 * epa.el:
11351 * epg.el: Use lexical binding.
11352
c11325f7
CY
113532011-04-03 Chong Yidong <cyd@stupidchicken.com>
11354
0d9e9a12
CY
11355 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11356
c11325f7 11357 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
11358 dictionary case for flyspell-mark-duplications-exceptions.
11359 Use regexp matching for languages.
c11325f7
CY
11360 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11361 default dictionary (Bug#7926).
11362
da91b5f2
CY
113632011-04-02 Chong Yidong <cyd@stupidchicken.com>
11364
099c39a4
JB
11365 * emacs-lisp/package.el (package--with-work-buffer):
11366 Recognize https URLs.
da91b5f2 11367
099c39a4
JB
11368 * net/network-stream.el: Move from gnus/proto-stream.el.
11369 Change prefix to network-stream throughout.
da91b5f2
CY
11370 (open-protocol-stream): Merge into open-network-stream, leaving
11371 open-protocol-stream as an alias. Handle nil BUFFER args.
11372
11373 * subr.el (open-network-stream): Move to net/network-stream.el.
11374
afa8e9f6
GM
113752011-04-02 Glenn Morris <rgm@gnu.org>
11376
1d2e369d
GM
11377 * find-dired.el (find-exec-terminator): New option.
11378 (find-ls-option): Test for -ls support.
11379 (find-ls-subdir-switches): Test for -b in find-ls-option.
11380 (find-dired, find-grep-dired): Doc fixes.
11381 (find-dired): Use find-exec-terminator.
11382
8abb7da8 11383 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
11384 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11385 (find-name-arg): Remove purecopy.
8abb7da8 11386
f3ca7378
GM
11387 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11388 (grep-compute-defaults): Check for `-exec COMMAND +' support.
11389 Set grep-find-use-xargs, grep-find-command, and grep-find-template
11390 accordingly. Don't add the null-device if not needed.
11391
afa8e9f6
GM
11392 * files.el (save-some-buffers): Doc fix.
11393
35eae264
EZ
113942011-04-02 Eli Zaretskii <eliz@gnu.org>
11395
11396 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11397
26b51db5
JB
113982011-04-01 Juanma Barranquero <lekktu@gmail.com>
11399
11400 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11401 Use `dolist' rather than `mapcar'.
11402
7200d79c
SM
114032011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11404
03408648 11405 Add lexical binding.
7200d79c 11406
03408648
SM
11407 * subr.el (apply-partially): Use new closures rather than CL.
11408 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11409 (dolist, dotimes): Use slightly different expansion for lexical code.
11410 (functionp): Move to C.
11411 (letrec): New macro.
11412 (with-wrapper-hook): Use it and apply-partially instead of CL.
11413 (eval-after-load): Preserve lexical-binding.
11414 (save-window-excursion, with-output-to-temp-buffer): Turn them
11415 into macros.
7200d79c 11416
03408648
SM
11417 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11418
11419 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11420 than the arglist.
11421 (help-add-fundoc-usage): Don't add `Not documented'.
11422 (help-function-arglist): Handle closures, subroutines, and new
11423 byte-code-functions.
11424 (help-make-usage): Remove leading underscores.
11425 (describe-function-1): Handle closures.
11426 (describe-variable): Use special-variable-p for completion.
11427
11428 * files.el (lexical-binding): Declare safe.
f488fb65 11429
03408648
SM
11430 * emacs-lisp/pcase.el: Don't use destructuring-bind.
11431 (pcase--memoize): Rename from pcase-memoize. Change weakness.
11432 (pcase): Add `let' pattern.
11433 Change memoization so it actually works.
11434 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11435 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11436 <let>: New case.
f488fb65 11437
03408648
SM
11438 * emacs-lisp/macroexp.el: Use lexical binding.
11439 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
11440 Don't convert ' to #' without checking that it's indeed quoting
11441 a lambda.
11442
11443 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 11444 Use eval-sexp-add-defvars.
03408648
SM
11445 (eval-sexp-add-defvars): New fun.
11446
11447 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11448
11449 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11450 Don't autoload.
11451 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11452 than the internal `byte-compile-lambda'.
11453 (defmethod): Don't hide code under quotes.
11454 (eieio-defmethod): New `code' argument.
11455
11456 * emacs-lisp/eieio-comp.el: Remove.
11457
11458 * emacs-lisp/edebug.el (edebug-eval-defun)
11459 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11460 (edebug-toggle): Avoid `eval'.
11461
11462 * emacs-lisp/disass.el (disassemble-internal): Handle new
11463 `closure' objects.
11464 (disassemble-1): Handle new byte codes.
11465
11466 * emacs-lisp/cl.el (pushnew): Silence warning.
11467
11468 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11469 (cl-byte-compile-throw): Remove.
11470 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11471
11472 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11473 closures.
11474
11475 * emacs-lisp/cconv.el: New file.
11476
11477 * emacs-lisp/bytecomp.el: Use lexical binding instead of
11478 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
11479 (byte-compile-initial-macro-environment):
11480 Handle declare-function here.
11481 (byte-compile--lexical-environment): New var.
11482 (byte-stack-ref, byte-stack-set, byte-discardN)
11483 (byte-discardN-preserve-tos): New lap codes.
11484 (byte-interactive-p): Don't use any more.
11485 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11486 New macros.
11487 (byte-compile-lapcode): Use them and handle new lap codes.
11488 (byte-compile-obsolete): Remove.
11489 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11490 (byte-compile-arglist-warn): Check late def of inlinable funs.
11491 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11492 since they should have been expanded by now.
11493 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11494 (byte-compile-from-buffer): Remove unused second arg.
11495 (byte-compile-preprocess): New function.
11496 (byte-compile-toplevel-file-form): New function to distinguish
11497 file-form calls from outside from file-form calls from hunk-handlers.
11498 (byte-compile-file-form): Simplify.
11499 (byte-compile-file-form-defsubst): Remove.
11500 (byte-compile-file-form-defmumble): Simplify now that
11501 byte-compile-lambda always returns a byte-code-function.
11502 (byte-compile): Preprocess.
11503 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11504 Remove, not used any more.
11505 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11506 (byte-compile-make-args-desc): New funs.
11507 (byte-compile-lambda): Handle lexical functions. Always return
11508 a byte-code-function.
11509 (byte-compile-reserved-constants): New var, to make up room for
11510 closed-over variables.
11511 (byte-compile-constants-vector): Obey it.
11512 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11513 (byte-compile-macroexpand-declare-function): New function.
11514 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11515 byte-code-functions.
11516 (byte-compile-form): Check obsolescence here.
11517 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11518 (byte-compile-variable-ref): Remove.
11519 (byte-compile-dynamic-variable-op): New fun.
11520 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11521 (byte-compile-variable-set): New funs.
11522 (byte-compile-discard): Add 2 args.
11523 (byte-compile-stack-ref, byte-compile-stack-set)
11524 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11525 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11526 macroexpand-all instead.
11527 (byte-compile-quote-form): Remove.
11528 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11529 (byte-compile-bind, byte-compile-unbind): New funs.
11530 (byte-compile-let): Handle let* and lexical binding.
11531 (byte-compile-let*): Remove.
11532 (byte-compile-catch, byte-compile-unwind-protect)
11533 (byte-compile-track-mouse, byte-compile-condition-case):
11534 Handle a new :fun-body form, used for lexical scoping.
11535 (byte-compile-save-window-excursion)
11536 (byte-compile-with-output-to-temp-buffer): Remove.
11537 (byte-compile-defun): Simplify.
11538 (byte-compile-stack-adjustment): New fun.
11539 (byte-compile-out): Use it.
11540 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11541
11542 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11543 handler any more.
11544
11545 * emacs-lisp/byte-opt.el: Use lexical binding.
11546 (byte-inline-lapcode): Remove (to bytecomp).
11547 (byte-compile-inline-expand): Pay attention to inlining to/from
11548 lexically bound code.
11549 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11550 any more.
11551 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11552 any more and don't call compiler-macros.
11553 (byte-compile-splice-in-already-compiled-code): Remove.
11554 (byte-code): Don't inline any more.
11555 (disassemble-offset): Receive `bytes' as argument rather than via
11556 dynamic scoping.
11557 (byte-compile-tag-number): Declare before first use.
11558 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11559 `return' even if make-spliceable.
11560 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11561 obsolete interactive-p.
11562 (byte-optimize-lapcode): Optimize new lap-codes.
11563 Don't trip up on new form of `byte-constant' lap code.
11564
11565 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11566
11567 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11568
11569 * custom.el (custom-initialize-default, custom-declare-variable):
11570 Use `defvar'.
11571
11572 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11573 New variables.
11574 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11575 (COMPILE_FIRST): Add macroexp and cconv.
11576 * makefile.w32-in: Mirror changes in Makefile.in.
11577
11578 * vc/cvs-status.el:
11579 * vc/diff-mode.el:
11580 * vc/log-edit.el:
11581 * vc/log-view.el:
11582 * vc/smerge-mode.el:
11583 * textmodes/bibtex-style.el:
11584 * textmodes/css.el:
11585 * startup.el:
11586 * uniquify.el:
da91b5f2
CY
11587 * minibuffer.el:
11588 * newcomment.el:
11589 * reveal.el:
11590 * server.el:
11591 * mpc.el:
11592 * emacs-lisp/smie.el:
11593 * doc-view.el:
11594 * dired.el:
03408648
SM
11595 * abbrev.el: Use lexical binding.
11596
0f0c1f27
EZ
115972011-04-01 Eli Zaretskii <eliz@gnu.org>
11598
11599 * info.el (info-display-manual): New function.
11600
c82b2579
SM
116012011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11602
11603 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11604
221ddf68
TH
116052011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11606
11607 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 11608 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 11609
cba6e77e
GM
116102011-03-31 Glenn Morris <rgm@gnu.org>
11611
e040639f
GM
11612 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11613
cba6e77e
GM
11614 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11615
6d0f1c9e
CS
116162011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11617
11618 * progmodes/python.el (python-default-interpreter)
11619 (python-python-command-args, python-jython-command-args)
11620 (python-which-shell, python-which-args, python-which-bufname)
11621 (python-file-queue, python-comint-output-filter-function)
11622 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11623 variables and functions.
11624
3e2d70fd
SM
116252011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11626
11627 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11628 (completion-in-region-mode): New minor mode.
11629 (completion-in-region): Use it.
11630 (completion-in-region--data, completion-in-region-mode-map): New vars.
11631 (completion-in-region--postch): New function.
11632 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11633 New vars.
11634 (completion--capf-wrapper): New function.
11635 (completion-at-point): Use it to track well-behavedness of
11636 hook functions.
11637 (completion-help-at-point): New command.
11638
f3e4086c
JM
116392011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11640
11641 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11642 syntax class to search for whitespace on a single line
11643 (Message-ID: <4D938140.4030905@redhat.com>).
11644
eb7ffc14
LL
116452011-03-30 Leo Liu <sdl.web@gmail.com>
11646
11647 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11648 New commands.
11649 (edit-abbrevs-map): Bind them here.
11650 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11651
d806ab68
KM
116522011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11653
11654 * allout.el (allout-hide-by-annotation, allout-flag-region):
11655 Reduce possibility of overlay leakage by making them volatile.
11656
11657 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11658 hash is not shared between buffers. Mode initialization is
11659 responsible for giving it a useful starting value.
11660 (allout-item-span): Reduce possibility of overlay leakage by
11661 making them volatile.
11662 (allout-widgets-count-buttons-in-region): Add diagnostic function
11663 for tracking down button overlay leaks.
11664
ea622834
LL
116652011-03-29 Leo Liu <sdl.web@gmail.com>
11666
11667 * ido.el (ido-read-internal): Use the default history var
11668 minibuffer-history if no HISTORY is specified.
11669
b62f8267
G
116702011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11671
03408648
SM
11672 * net/imap.el (imap-shell-open, imap-process-connection-type):
11673 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
11674 Kerberos, SSL, other subprocesses.
11675
947b6566
LL
116762011-03-28 Leo Liu <sdl.web@gmail.com>
11677
11678 * abbrev.el (abbrev-table-empty-p): New function.
11679 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11680 nonempty ones. (Bug#5937)
11681
5ffb62aa
JD
116822011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11683
11684 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11685
7a097943
LL
116862011-03-27 Leo Liu <sdl.web@gmail.com>
11687
11688 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11689 for foreground and background colors.
11690 (ansi-color-make-color-map): Adapt.
11691
c5b40130
LL
116922011-03-25 Leo Liu <sdl.web@gmail.com>
11693
1f48f7d2
LL
11694 * midnight.el (midnight-time-float): Remove. Note it calculates
11695 the microsecond component incorrectly and seconds-to-time does the
11696 same job.
625897ec 11697 Remove redundant (require 'timer).
1f48f7d2 11698
c5b40130
LL
11699 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11700 (ido-completions): Remove unused arguments. (Bug#8329)
11701
d86d2721
SM
117022011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11703
11704 * minibuffer.el (completion--flush-all-sorted-completions):
11705 Remove itself from hook.
11706 (completion-at-point): Let the functions perform the completion
11707 immediately and return nil or t.
11708 * comint.el (comint-dynamic-complete-functions): Now identical to
11709 completion-at-point-functions.
11710 (comint-dynamic-list-input-ring): Remove unused var `index'.
11711 (comint--match-partial-filename, comint--unquote&expand-filename):
11712 New funs, split from comint-match-partial-filename.
11713 (comint-dynamic-complete): Use completion-at-point.
11714 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11715
e8974c48
DA
117162011-03-24 Drew Adams <drew.adams@oracle.com>
11717
11718 * thingatpt.el: Support `defun'.
11719
def71b5e
LL
117202011-03-23 Leo Liu <sdl.web@gmail.com>
11721
cb5af48e
LL
11722 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11723
def71b5e
LL
11724 * help-mode.el (help-mode-finish): Tweak regexp.
11725
927c53e7
GM
117262011-03-23 Glenn Morris <rgm@gnu.org>
11727
18d05bed
GM
11728 * eshell/esh-opt.el (eshell-eval-using-options):
11729 Do not bind unused local variable `eshell-option-stub'.
11730
927c53e7
GM
11731 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11732
9d0da923
JB
117332011-03-22 Juanma Barranquero <lekktu@gmail.com>
11734
11735 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11736 keymap variable in `with-no-warnings' to avoid a warning when the
11737 keymap has been already `defconst'ed.
11738
4b978a67
LL
117392011-03-22 Leo Liu <sdl.web@gmail.com>
11740
11741 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11742 encode all chars in abbrevs; otherwise use emacs-mule or
11743 utf-8-emacs. (Bug#8308)
11744
5fd62452
JB
117452011-03-22 Juanma Barranquero <lekktu@gmail.com>
11746
0b1596c6
JB
11747 * simple.el (backward-delete-char-untabify):
11748 Avoid warning about using `delete-backward-char'.
11749
5fd62452
JB
11750 * image.el (image-type-file-name-regexps): Make it variable.
11751 `imagemagick-register-types' modifies it, and the user may want
11752 to add new extensions for known image types.
11753 (imagemagick-register-types): Throw error if not using ImageMagick.
11754
0b4e93f1
LL
117552011-03-22 Leo Liu <sdl.web@gmail.com>
11756
11757 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11758 located before rcirc-prompt-end-marker.
11759 (rcirc-complete): Error if point is not after rcirc prompt.
11760 Handle the case when table is nil.
9882e214 11761 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 11762
fccee4ab
CY
117632011-03-22 Chong Yidong <cyd@stupidchicken.com>
11764
11765 * custom.el (custom--inhibit-theme-enable): Make it affect only
11766 custom-theme-set-variables and custom-theme-set-faces.
11767 (provide-theme): Ignore custom--inhibit-theme-enable.
11768 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11769 (custom-enabling-themes): Delete variable.
d86d2721
SM
11770 (enable-theme): Accept only loaded themes as arguments.
11771 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
11772 (custom-enabled-themes): Forbid themes from setting this.
11773 Eliminate use of custom-enabling-themes.
11774 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 11775
af896da6
LL
117762011-03-21 Leo Liu <sdl.web@gmail.com>
11777
11778 * ido.el (ido-read-internal): Add ido-selected to history instead
11779 of user input.
11780
78f64af0
SM
117812011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11782
11783 * subr.el (deferred-action-list, deferred-action-function):
11784 Mark obsolete.
11785
b16ac1ec
LL
117862011-03-21 Leo Liu <sdl.web@gmail.com>
11787
810f7698
LL
11788 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11789 change on 2011-02-13 (bug#8309).
11790
b16ac1ec
LL
11791 * minibuffer.el (read-file-name-function): Change default value.
11792 (read-file-name--defaults): Rename from read-file-name-defaults.
11793 (read-file-name-default): Rename from read-file-name.
11794 (read-file-name): Call read-file-name-function.
11795
4e05e67e
GM
117962011-03-21 Glenn Morris <rgm@gnu.org>
11797
11798 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11799 Doc fixes.
11800
4359915b
CY
118012011-03-21 Chong Yidong <cyd@stupidchicken.com>
11802
11803 * cus-theme.el: Add missing provide statement.
11804 (customize-create-theme): Extract theme value correctly.
11805 (custom-theme-visit-theme): Autoload.
11806 (customize-create-theme): Prompt before inserting default faces.
11807
1fe275ee
JB
118082011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11809
11810 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11811 units and musical notes.
11812
cd394be1 118132011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
11814
11815 * ido.el (ido-read-internal): Use completing-read-default.
11816 (ido-completing-read): Fix compatibility with completing-read.
11817
7d476bde
CO
118182011-03-20 Christian Ohler <ohler@gnu.org>
11819
11820 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11821 (ert-delete-all-tests): Use `called-interactively-p' rather than
11822 `interactive-p'.
11823 (ert--make-xrefs-region): Respect END.
11824
fe0fb33e
CY
118252011-03-19 Chong Yidong <cyd@stupidchicken.com>
11826
ff854b0b
CY
11827 * dired-aux.el (dired-create-directory): Signal an error if the
11828 directory already exists (Bug#8246).
11829
fe0fb33e
CY
11830 * facemenu.el (list-colors-display): Call list-faces-display
11831 inside with-help-window.
11832 (list-colors-print): Use display property to align the final
11833 column, instead of checking window-width.
11834
576bce32
EZ
118352011-03-19 Eli Zaretskii <eliz@gnu.org>
11836
4d61f28d 11837 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
11838 windows-nt systems.
11839 (emerge-protect-metachars): Quote correctly for ms-dos and
11840 windows-nt systems.
11841
89c41d68 118422011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
11843
11844 * info.el (info-initialize): Replace all uses of `:' with
11845 path-separator for compatibility with non-Unix systems.
11846 Cache quoting of path-separator. (Bug#8258)
11847
b14e3e21 118482011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
11849
11850 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11851 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11852 (mouse-avoidance-mode): Fix typos in docstrings.
11853
4525ce3e
CY
118542011-03-19 Chong Yidong <cyd@stupidchicken.com>
11855
11856 * startup.el (package-subdirectory-regexp): Move from package.el.
11857 Omit \\` and \\', and let callers add them.
11858
11859 * emacs-lisp/package.el (package-strip-version)
11860 (package-load-all-descriptors): Add \\` and \\' to
11861 package-subdirectory-regexp before using it.
11862 (package-untar-buffer): New arg DIR; ensure that file untars only
11863 into this expected directory. Remove superfluous delete-region.
11864 (package-unpack): Caller changed.
11865 (package-tar-file-info): Use package-subdirectory-regexp.
11866
a904a09a 118672011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 11868
a904a09a
SM
11869 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11870 diff-mode-shared-map (bug#8284).
11871 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
11872
118732011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11874
11875 * calendar/time-date.el (format-seconds): Use assoc instead of
11876 assoc-string, since assoc-string doesn't exist in XEmacs.
11877
171fc304
JB
118782011-03-17 Juanma Barranquero <lekktu@gmail.com>
11879
11880 * custom.el (custom-known-themes): Reflow docstring.
11881 (custom-theme-load-path): Fix typo in docstring.
11882 (load-theme): Fix typo in error message.
11883 (custom-available-themes, custom-variable-theme-value):
11884 Use `let', not `let*'.
11885
d71990a1
JB
118862011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11887
11888 * calc/README: Mention inclusion of musical notes.
11889
11890 * calc/calc-units.el (calc-lu-quant): Rename from
11891 `calc-logunits-quantity'.
11892 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11893 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11894 (calc-db): Rename from `calc-dblevel'.
11895 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11896 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11897 (calc-np): Rename from `calc-nplevel'.
11898 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11899 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11900 (calc-lu-plus): Rename from `calc-logunits-add'.
11901 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11902 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11903 (calc-lu-minus): Rename from `calc-logunits-sub'.
11904 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11905 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11906 (calc-lu-times): Rename from `calc-logunits-mul'.
11907 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11908 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11909 (calc-lu-divide): Rename from `calc-logunits-div'.
11910 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11911 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11912
11913 * calc/calc-ext.el (calc-init-extensions): Update the names of the
11914 functions being autoloaded.
11915
11916 * calc/calc.el (calc-lu-power-reference): Rename from
11917 `calc-logunits-power-reference'.
11918 (calc-lu-field-reference): Rename from
11919 `calc-logunits-field-reference'.
11920
7a71b18d
GM
11921 * calc/calc-help.el (calc-l-prefix-help):
11922 Mention musical note functions.
d71990a1 11923
40c2934b
SM
119242011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11925
11926 * minibuffer.el (completion-all-sorted-completions):
11927 Use :completion-cycle-penalty text property if present.
11928
b0911414
KM
119292011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
11930
11931 * allout.el (allout-yank-processing): Adjust for new rebulleting
11932 regime so bullet being yanked is used without prompting the user
11933 for a choice.
11934
8a05b668
JB
119352011-03-16 Juanma Barranquero <lekktu@gmail.com>
11936
11937 * startup.el (command-line): Warn the user that _emacs is deprecated.
11938
5ba5fb81
JB
119392011-03-16 Juanma Barranquero <lekktu@gmail.com>
11940
11941 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11942 (delphi-verbose, delphi-comment-face, delphi-string-face)
11943 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11944 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11945 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11946 (delphi-new-comment-line, delphi-font-lock-defaults)
11947 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11948 Fix typos in docstrings.
11949
2dab465b
KM
119502011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
11951
5ba5fb81 11952 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
11953 Invert the roles of character and string values for INSTEAD, so a
11954 string is used for the more common case of a defaulting prompt.
11955
0adf5618
SM
119562011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11957
11958 * progmodes/ruby-mode.el (ruby-backward-sexp):
11959 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11960 * play/gamegrid.el (gamegrid-make-face):
11961 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11962 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11963 * notifications.el (notifications-notify):
11964 * net/xesam.el (xesam-search-engines):
11965 * net/quickurl.el (quickurl-list-insert):
11966 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11967
d72700e5
CY
119682011-03-15 Chong Yidong <cyd@stupidchicken.com>
11969
11970 * startup.el (command-line): Update package subdirectory regexp.
11971
49c5410a
SM
119722011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11973
c6eee9aa
SM
11974 * allout.el (allout-abbreviate-flattened-numbering)
11975 (allout-mode-deactivate-hook): Fix up obsolescence "date".
11976
49c5410a
SM
11977 * subr.el (read-char-choice): Only show the cursor after the prompt,
11978 not after the answer.
11979
047b2bb9
KR
119802011-03-15 Kevin Ryde <user42@zip.com.au>
11981
11982 * help-fns.el (variable-at-point): Skip leading quotes, if any
11983 (bug#8253).
11984
0a57d256
SM
119852011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11986
11987 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11988 warning message.
11989
77c992bc
MA
119902011-03-14 Michael Albinus <michael.albinus@gmx.de>
11991
11992 * shell.el (shell): When called interactively, offer to change the
11993 shell file name on remote hosts.
11994
eebc475d
TZ
119952011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
11996
11997 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11998 integration for LDAP parameters. The host, base, user or binddn,
11999 and secret tokens can be specified in a netrc file, for instance.
12000 This is optional because an `auth-source' parameter must be
12001 specified in the search attributes.
12002
9d05d1ba
JB
120032011-03-13 Juanma Barranquero <lekktu@gmail.com>
12004
12005 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12006
09d9db2c
GM
120072011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12008
12009 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12010 into declaration. Remove redundant and harmful binding.
12011
120122011-03-12 Eli Zaretskii <eliz@gnu.org>
12013
12014 * files.el (file-ownership-preserved-p): Pass `integer' as an
12015 explicit 2nd argument to `file-attributes'. If the file's owner
12016 is the Administrators group on Windows, and the current user is
12017 Administrator, consider that a match.
12018
12019 * server.el (server-ensure-safe-dir): Consider server directory
12020 safe on MS-Windows if its owner is the Administrators group while
12021 the current Emacs user is Administrator. Use `=' to compare
12022 numerical UIDs, since they could be integers or floats.
12023
219bd536
JB
120242011-03-12 Juanma Barranquero <lekktu@gmail.com>
12025
12026 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12027
f3afd36b
MA
120282011-03-12 Michael Albinus <michael.albinus@gmx.de>
12029
12030 Sync with Tramp 2.2.1.
12031
12032 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12033
12034 * net/trampver.el: Update release number.
12035
3aaaa6f1
SM
120362011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12037
94642599
SM
12038 * progmodes/compile.el (compilation--previous-directory): Fix up
12039 various nil/dead-marker mismatches (bug#8014).
12040 (compilation-directory-properties, compilation-error-properties):
12041 Don't call it at a position past the one we're about to change.
12042
3aaaa6f1
SM
12043 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12044 Disable obsolescence warnings in the file that declares it.
12045
14239447
KM
120462011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12047
099c39a4
JB
12048 * allout-widgets.el (allout-widgets-tally):
12049 Initialize allout-widgets-tally as a hash table rather than nil to
12050 prevent mode-line redisplay warnings. Also, clarify the module
12051 description and fix a comment typo.
14239447 12052
135e287c
JB
120532011-03-11 Juanma Barranquero <lekktu@gmail.com>
12054
12055 * help-fns.el (describe-variable): Don't complete keywords.
12056 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12057
ffbf300e
CY
120582011-03-10 Chong Yidong <cyd@stupidchicken.com>
12059
ba08b241
CY
12060 * emacs-lisp/package.el (package-version-join): Impose a standard
12061 string representation for pre/alpha/beta version lists.
12062 (package-unpack-single): Standardize the directory name by passing
12063 it through package-version-join.
12064 (package-strip-rcs-id): Accept any version string that does not
12065 signal an error in version-to-list.
ffbf300e 12066
f346fd6b
MA
120672011-03-10 Michael Albinus <michael.albinus@gmx.de>
12068
12069 * simple.el (delete-trailing-whitespace): Return nil for the
12070 benefit of `write-file-functions'.
12071
ccb55d27
GM
120722011-03-10 Glenn Morris <rgm@gnu.org>
12073
5ceaac0c
GM
12074 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12075
02da65ff
GM
12076 * vc/vc-git.el (vc-git-program): New option.
12077 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12078 (vc-git--call): Use it.
12079
b2f603cc
GM
12080 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12081
5772caab
GM
12082 * cus-edit.el (Custom-newline): If no button at point, look
12083 for a subgroup button at start-of-line. (Bug#2298)
12084
ccb55d27
GM
12085 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12086
ec6ecaed
JD
120872011-03-10 Julien Danjou <julien@danjou.info>
12088
12089 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12090 `cursor-type' is nil.
12091
9d5aa01d
JB
120922011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
12093
12094 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12095
b6a5875b
KM
120962011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
12097
7a71b18d 12098 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
12099 preserves the existing header prefix, rebulleting it if necessary,
12100 rather than replacing it. This is necessary for proper operation
12101 of cooperative addons like allout-widgets.
1154d12e
JB
12102 (allout-make-topic-prefix, allout-rebullet-heading):
12103 Change SOLICIT arg to INSTEAD, and interpret additionally a string
12104 value as alternate bullet to be used, instead of prompting the user
12105 for a bullet character.
b6a5875b 12106
ee545c35
MA
121072011-03-09 Michael Albinus <michael.albinus@gmx.de>
12108
d86d2721
SM
12109 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12110 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
12111 `tramp-default-port'.
12112
c47971d7
DD
121132011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12114
12115 * net/rcirc.el (rcirc-handler-001): Remove useless
12116 with-rcirc-process-buffer.
12117 (rcirc-check-auth-status): Swap arguments to string-match.
12118
13522cb4
GM
121192011-03-09 Glenn Morris <rgm@gnu.org>
12120
0be6f4f1
GM
12121 * shell.el (shell-mode):
12122 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
12123
13522cb4
GM
12124 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12125 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
12126
515de2e3
CY
121272011-03-08 Chong Yidong <cyd@stupidchicken.com>
12128
12129 * emacs-lisp/package.el (package-refresh-contents)
12130 (package-menu-execute): Use condition-case-no-debug.
12131
b511b994
MA
121322011-03-08 Michael Albinus <michael.albinus@gmx.de>
12133
12134 * simple.el (shell-command-to-string): Use `process-file'.
12135
12136 * emacs-lisp/package.el (package-tar-file-info): Handle also
12137 remote files.
12138
d86d2721
SM
12139 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12140 Use `equal' for upload base check.
b511b994 12141
25bbfb31
AM
121422011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12143
12144 * textmodes/texinfo.el (texinfo-environments):
12145 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
12146
be996521
GM
121472011-03-08 Glenn Morris <rgm@gnu.org>
12148
e9c8529f
GM
12149 * cus-start.el (cursor-in-non-selected-windows):
12150 Fix :set quoting oddness. (Bug#8192)
12151
be996521
GM
12152 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12153 in some setf expressions. (Bug#2159)
12154
2bb5649e
CY
121552011-03-08 Chong Yidong <cyd@stupidchicken.com>
12156
12157 * custom.el (custom-available-themes): Return themes in
12158 alphabetical order.
12159
33383987 12160See ChangeLog.15 for earlier changes.
e3d51b27
MR
12161
12162;; Local Variables:
12163;; coding: utf-8
e3d51b27
MR
12164;; End:
12165
acaf905b 12166 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
12167
12168 This file is part of GNU Emacs.
12169
12170 GNU Emacs is free software: you can redistribute it and/or modify
12171 it under the terms of the GNU General Public License as published by
12172 the Free Software Foundation, either version 3 of the License, or
12173 (at your option) any later version.
12174
12175 GNU Emacs is distributed in the hope that it will be useful,
12176 but WITHOUT ANY WARRANTY; without even the implied warranty of
12177 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12178 GNU General Public License for more details.
12179
12180 You should have received a copy of the GNU General Public License
12181 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.