textmodes/flyspell.el (flyspell-large-region): Specify encoding for hunspell with...
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
64a440db
AM
12012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2
3 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
4 '("-i" ENCODING), in 2 separate command-line arguments, to specify
5 the encoding, as expected by hunspell.
6
6decb6c2
SM
72012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8
9 * battery.el (battery--linux-sysfs-regexp): New const.
10 (battery-status-function): Use it. Remove yeeloong special case.
11 (battery-yeeloong-sysfs): Remove.
12 (battery-echo-area-format): Remove yeeloong special case.
13
088be6fb
SM
142012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15
6622e416
SM
16 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
17 Reported by Noah Friedman.
18
088be6fb
SM
19 * subr.el (read-passwd): Use read-string.
20
b49f886e
LMI
212012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22
23 * vcursor.el (vcursor-move): Increase the priority of the overlay
24 (bug#9663).
25
a63067fc
DD
262012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
27
28 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
29 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
30
ac3cf14a
WS
312012-04-11 William Stevenson <yhvh2000@gmail.com>
32
33 * textmodes/artist.el (artist-mode): Convert artist-mode to use
34 define-minor-mode (bug#10760).
35
c4fc691b 362012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c
WJ
37
38 * lisp/progmodes/grep.el (rgrep): Tweak the find command line so
39 that directories matching `grep-find-ignored-files' won't be
40 pruned (bug#10351).
41
af23e2e5
CY
422012-04-11 Chong Yidong <cyd@gnu.org>
43
44 * startup.el (command-line): Remove support for long-obsolete
45 variable font-lock-face-attributes.
46
ab7ce8c1
GM
472012-04-11 Glenn Morris <rgm@gnu.org>
48
49 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
50
de8c03dc
SM
512012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
52
53 * window.el (window--state-get-1): Obey window-point-insertion-type.
54
050cc68b
LB
552012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
56
57 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
58 to previous function when point is on the first character of a
59 function. Take care of that in `narrow-to-defun' (bug#6157).
60
a38c310c
GM
612012-04-11 Glenn Morris <rgm@gnu.org>
62
effed0c2
GM
63 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
64 not just file-errors.
65
a38c310c
GM
66 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
67 (vc-bzr-sha1): Use internal sha1.
68
0221e323
SM
692012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
70
71 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
72
43956923
SG
732012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
74
75 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
76 that start in the middle of the line (bug#10496).
77
6a8c9eaf
DN
782012-04-10 Dan Nicolaescu <dann@gnu.org>
79
80 * battery.el (battery-linux-proc-acpi): Only one battery is
81 discharged at a time, but that seems to confuse battery.el when
82 computing `rate-type' for the battery not being discharged
83 (bug#10332).
84
1930bf5d
SM
852012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
86
2a718f6f
SM
87 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
88
599430d0
SM
89 * international/quail.el: Use dolist and simplify.
90 (quail-define-package, quail-update-keyboard-layout)
91 (quail-define-rules): Use dolist.
92 (quail-insert-kbd-layout, quail-get-translation): CSE.
93
a2754b6c
SM
94 * tmm.el: Use dolist, remove left over hook.
95 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
96 Use dolist.
97 (calendar-load-hook): Don't mess with it.
98
1930bf5d
SM
99 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
100 Use derived-mode-p. Run the diff asynchronously.
101
9f67961c
LMI
1022012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
103
104 * obsolete/mouse-sel.el: Add an Obsolete-since header.
105
2a8ce227
JB
1062012-04-10 Juanma Barranquero <lekktu@gmail.com>
107
108 * misc.el: Display absolute path of loaded DLLs (bug#10424).
109 (list-dynamic-libraries--loaded): New function.
110 (list-dynamic-libraries--refresh): Use it.
111
8f33b5f8
NW
1122012-04-10 Nathan Weizenbaum <nweiz@google.com>
113
1930bf5d
SM
114 * progmodes/python.el (python-fill-paragraph):
115 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
116 disabled (bug#7018).
117
b12f0439
L
1182012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
119
1930bf5d 120 * language/european.el (cp775): Add oem/legacy (en)coding on
b12f0439
L
121 DOS/MS Windows for the Baltic languages. There are still plenty of
122 texts written in this encoding/codepage (bug#6519).
123
57c3bd01
GM
1242012-04-10 Glenn Morris <rgm@gnu.org>
125
126 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
127 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
128
6c3eab30
FA
1292012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
130
1930bf5d 131 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
132 next-line "n" and previous-line "p" in order to make recentf more
133 consistent with ibuffer, dired or org-mode (bug#9387).
134
24d78a88
LMI
1352012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
136
bc72b5d9
LMI
137 * image.el (put-image): Return the overlay created instead of the
138 optional input string (bug#7834). Note that this may break code
139 that is (for some reason or other) depending on `put-image'
140 returning the string.
141
bd2dba5a
LMI
142 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
143
74beb59f
LMI
144 * simple.el (zap-to-char): Allow zapping using input methods
145 (bug#1580).
146
24d78a88
LMI
147 * textmodes/fill.el (fill-region): Leave point and mark where they
148 were before filling (bug#5399).
149
263f20cd
GM
1502012-04-09 Glenn Morris <rgm@gnu.org>
151
152 * version.el (emacs-bzr-get-version):
153 Handle lightweight checkouts of local branches.
154
58d1f797
AS
1552012-04-09 Andreas Schwab <schwab@linux-m68k.org>
156
263f20cd 157 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 158
b4d3bc10
CY
1592012-04-09 Chong Yidong <cyd@gnu.org>
160
161 * custom.el (custom-variable-p): Return nil for non-symbol
162 arguments instead of signaling an error.
163 (user-variable-p): Obsolete alias for custom-variable-p.
164
165 * apropos.el (apropos-variable):
166 * files-x.el (read-file-local-variable):
167 * simple.el (set-variable):
168 * woman.el (woman-mini-help):
169 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
170
fd06db5d
GM
1712012-04-09 Glenn Morris <rgm@gnu.org>
172
e5fcdb5e
GM
173 * startup.el (normal-top-level): Don't look for leim-list.el
174 in places where it will not be found. (Bug#910)
175
fd06db5d
GM
176 * international/mule-cmds.el (set-default-coding-systems):
177 * files.el (normal-mode):
178 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
179 This function was removed with ucs-tables.el in 2008.
180
b39bb7e1
EZ
1812012-04-08 Eli Zaretskii <eliz@gnu.org>
182
183 * textmodes/ispell.el (ispell-check-version): For hunspell, set
184 ispell-encoding8-command to "-i", without a trailing space.
185 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
186 separate command-line arguments, to specify the encoding, since
187 that's how hunspell expects it.
188
5c5b8e23
GM
1892012-04-08 Glenn Morris <rgm@gnu.org>
190
191 * loadup.el: Load bindings before cus-start.
192 This reduces somewhat the number of "rogue" settings in emacs -Q.
193
a1ed8b05
GM
1942012-04-07 Glenn Morris <rgm@gnu.org>
195
196 * version.el (emacs-bzr-get-version): New function.
dfae128a 197 (emacs-bzr-version): New variable.
a1ed8b05
GM
198 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
199 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
200
b142f158
EZ
2012012-04-07 Eli Zaretskii <eliz@gnu.org>
202
dfae128a
GM
203 * international/uni-bidi.el, international/uni-category.el:
204 * international/uni-combining.el, international/uni-decimal.el:
205 * international/uni-decomposition.el, international/uni-digit.el:
206 * international/uni-lowercase.el, international/uni-mirrored.el:
207 * international/uni-name.el, international/uni-numeric.el:
208 * international/uni-titlecase.el, international/uni-uppercase.el:
209 Update for Unicode 6.1.
b142f158 210
9078ead6
EZ
2112012-04-07 Eli Zaretskii <eliz@gnu.org>
212
213 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
214
f23d2c7d
LMI
2152012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
216
217 * window.el (shrink-window): Mention the `window-min-height'
218 variable in the doc string.
219
0a0a3573
BG
2202012-04-05 Bastien Guerry <bzg@altern.org>
221
222 * color.el (color-lighten-name): Fix typo.
223
e5248ac9
SM
2242012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
225
226 * server.el (server--on-display-p): New function.
227 (server--on-display-p): Use it.
228
b4243e22
GV
2292012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
230
231 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
232 (bug#11145).
233
305d9f44
SM
2342012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
235
236 * comint.el (comint--common-quoted-suffix): Check string boundary
237 before comparing (bug#11158).
238 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
239
3d439cd1
CY
2402012-04-04 Chong Yidong <cyd@gnu.org>
241
321cc491
CY
242 * minibuffer.el (completion-extra-properties): Doc fix.
243
3d439cd1
CY
244 * subr.el (delayed-warnings-hook): Doc fix.
245
2d562c0f
DU
2462012-04-04 Daiki Ueno <ueno@unixuser.org>
247
248 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
249 selection (Bug#11159).
250 (epa-insert-keys): Inform that the default public key will be
251 exported if no key is selected.
252
4443f204
RS
2532012-04-04 Richard Stallman <rms@gnu.org>
254
255 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
256
529c06b6
CY
2572012-04-03 Chong Yidong <cyd@gnu.org>
258
259 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
260 mail-insert-file, not its obsolete alias mail-attach-file.
261
66b907dc
MA
2622012-04-03 Michael Albinus <michael.albinus@gmx.de>
263
264 * notifications.el (notifications-notify): Fix docstring.
265
c0ea195d
GM
2662012-04-02 Glenn Morris <rgm@gnu.org>
267
268 * emacs-lisp/authors.el (authors-aliases): Another addition.
269
5ca64e00
MA
2702012-04-02 Michael Albinus <michael.albinus@gmx.de>
271
272 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
273 `tramp-compat-call-process' instead of `tramp-local-call-process'.
274 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
275
42ee526b
CY
2762012-04-01 Chong Yidong <cyd@gnu.org>
277
278 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
279 Handle root directory properly.
280 (copy-directory): Caller changed.
281
282 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
283 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
284
0b021094
GM
2852012-03-31 Glenn Morris <rgm@gnu.org>
286
40f86458
GM
287 * term/xterm.el (xterm-extra-capabilities): Doc fix.
288
7019c177
GM
289 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
290
a1daddd6
GM
291 * calendar/calendar.el (calendar-window-list)
292 (calendar-hide-window): Restore. (Bug#11140)
293 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
294
0b021094
GM
295 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
296
40311efc
TV
2972012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
298
299 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
300 Check if file is a symlink (Bug#10489).
301
302 * files.el (copy-directory): Likewise.
303
5319014e
CY
3042012-03-30 Chong Yidong <cyd@gnu.org>
305
306 * image.el (imagemagick-types-inhibit)
307 (imagemagick-register-types): Doc fix.
308
935d1290
AM
3092012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
310
311 * ispell.el (ispell-get-extended-character-mode): Disable
312 extended-char-mode for hunspell. hunspell does not support it and
313 treats ~word as ordinary words in pipe mode.
314
61c6e8fd
GM
3152012-03-30 Glenn Morris <rgm@gnu.org>
316
317 * tutorial.el (help-with-tutorial): Ensure local variables don't
318 happen to make the buffer read-only. (Bug#11127)
319
81fdff00
SM
3202012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
321
322 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
323 (perl-calculate-indent): Return `noindent' in strings.
324
6e7a6ec0
SS
3252012-03-28 Sam Steingold <sds@gnu.org>
326
327 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
328 instead of the broken adhockery which does not prevent calendar
329 buffers from being displayed at random after exit.
330 (calendar-window-list, calendar-hide-window): Remove the broken
331 adhockery.
332
fee88ca0
GM
3332012-03-28 Glenn Morris <rgm@gnu.org>
334
335 * replace.el (query-replace-map): Doc fix.
336
38de3354
AS
3372012-03-28 Andreas Schwab <schwab@linux-m68k.org>
338
339 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
340 contents. (Bug#11109)
341
b973155e
SM
3422012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
343
344 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
345 (bug#11077).
346 (avl-tree--check, avl-tree--check-node): New funs.
347
dcb6e7b3
MR
3482012-03-27 Martin Rudalics <rudalics@gmx.at>
349
350 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
351 (switch-to-prev-buffer, switch-to-next-buffer):
352 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
353 showing a buffer already is done on the same frame.
354
b4fa35fa
GM
3552012-03-27 Glenn Morris <rgm@gnu.org>
356
357 * startup.el (mail-host-address): Doc fix.
358
f9210e18
SM
3592012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
360
361 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
362 than 197 variables.
363
c0bf7753
AF
3642012-03-26 Ami Fischman <ami@fischman.org>
365
366 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
367
33da7b16
GM
3682012-03-26 Glenn Morris <rgm@gnu.org>
369
02243d9d
GM
370 * files.el (save-buffers-kill-emacs): Doc fix.
371
33da7b16
GM
372 * startup.el (normal-top-level, command-line, command-line-1):
373 Give them doc strings.
374
e5a69fd0
EZ
3752012-03-25 Eli Zaretskii <eliz@gnu.org>
376
377 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 378 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 379
9a69676a
CY
3802012-03-25 Chong Yidong <cyd@gnu.org>
381
4125cb8b
CY
382 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
383 theme if it was previously enabled before (Bug#11031).
384
dd470960
CY
385 * cus-theme.el (custom-theme-write-faces): Retrieve current face
386 spec with custom-face-get-current-spec if its :shown-value is not
387 determined yet (Bug#9337).
4125cb8b 388 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 389
9a69676a
CY
390 * button.el (button-at): Minor addition to docstring.
391
6e7e90fa
SL
3922012-03-24 Simon Leinen <simon.leinen@gmail.com>
393
394 * vc/vc.el (vc-merge): Fix a prompt.
395
f06e2758
CY
3962012-03-24 Chong Yidong <cyd@gnu.org>
397
398 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
399 point (Bug#9623).
400
6e7e90fa
SL
401 * button.el (button-at): Minor addition to docstring.
402
b9d0879b
SM
4032012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
404
405 * newcomment.el (comment-choose-indent): No space after BOL.
406
e71cebb3
SS
4072012-03-22 Sam Steingold <sds@gnu.org>
408
409 * window.el (switch-to-prev-buffer): Revert last patch because the
410 bug turned out to be an advertised feature (Elisp manual 28.14).
411
335aff35
GM
4122012-03-22 Glenn Morris <rgm@gnu.org>
413
414 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
415 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
416
c676576a
LMI
4172012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
418
419 * net/network-stream.el (network-stream-open-starttls): Make error
420 message under Windows be less misleading.
421
126f3d39
LW
4222012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
423
424 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
425 understands (bug#9942).
426
64fee311
CY
4272012-03-22 Chong Yidong <cyd@gnu.org>
428
429 * simple.el (end-of-visible-line): Handle return value of
430 next-single-property-change properly (Bug#9371).
431
a640d29a
KH
4322012-03-22 Kenichi Handa <handa@m17n.org>
433
434 * international/quail.el (quail-insert-kbd-layout): Fix previous
435 change. To avoid unwanted bidi reordering, use
436 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
437
39675016
DG
4382012-03-21 Dmitry Gutov <dgutov@yandex.ru>
439
440 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
441 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
442 (ruby-beginning-of-indent): Be more careful with the difference
443 between word-boundary and symbol boundary.
444 (ruby-mode-syntax-table): Make : a symbol constituent.
445
0a6934fc 4462012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 447
3d008e4f
SM
448 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
449
0a6934fc
SM
4502012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
451
af67c9d7
SM
452 * progmodes/etags.el (tags-completion-at-point-function):
453 Improve last fix.
454
1acad97c
SM
455 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
456
e298b5da
SS
4572012-03-21 Sam Steingold <sds@gnu.org>
458
459 * progmodes/etags.el (tags-completion-at-point-function):
460 Avoid the error when point is inside the pattern.
461
91d82a70
JY
4622012-03-21 John Yates <john@yates-sheets.org> (tiny change)
463
464 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
465 line (Bug#10855).
466
69188b79
CY
4672012-03-21 Drew Adams <drew.adams@oracle.com>
468
469 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
470
99fc91fe
AK
4712012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
472
473 * ido.el (ido-set-current-directory, ido-read-internal)
474 (ido-choose-completion-string, ido-completion-help): Handle nil
475 value of ido-completion-buffer (Bug#11008).
476
087bbb4c
SS
4772012-03-21 Sam Steingold <sds@gnu.org>
478
479 * window.el (switch-to-prev-buffer): Do not switch to a visible
480 window previous buffer, just like with the frame previous buffers.
481
fb5b8aca
CY
4822012-03-21 Chong Yidong <cyd@gnu.org>
483
484 * faces.el (make-face, make-empty-face, copy-face):
485 * face-remap.el (face-remap-add-relative, face-remap-set-base):
486 Doc fixes.
487
dc9924b8
SM
4882012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
489
490 * wid-edit.el (widget-complete-field): Remove (bug#11051).
491 (widget-complete): Remove broken use of it.
492
f0bcceb9
CY
4932012-03-20 Chong Yidong <cyd@gnu.org>
494
dc9924b8
SM
495 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
496 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
497 characters.
498
ee52ebf3
TH
4992012-03-20 Tassilo Horn <tassilo@member.fsf.org>
500
501 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
502 to draw rectangles, not squares. (Regression introduced by revno
503 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
504
4c5779ab
CY
5052012-03-18 Chong Yidong <cyd@gnu.org>
506
507 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
508 it is not yet defined (for temacs).
509
15360934
LL
5102012-03-18 Leo Liu <sdl.web@gmail.com>
511
dc9924b8 512 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 513
d9a8eb66
EZ
5142012-03-17 Eli Zaretskii <eliz@gnu.org>
515
516 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
517 (ispell-choices-win-default-height, ispell-silently-savep)
518 (ispell-dictionary-alist, ispell-encoding8-command)
519 (ispell-check-version, ispell-aspell-find-dictionary)
520 (ispell-valid-dictionary-list, ispell-words-keyword)
521 (ispell-get-word, ispell-internal-change-dictionary)
522 (ispell-region, ispell-skip-region-list)
523 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
524 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
525 (ispell-message-text-end, ispell-message)
526 (ispell-buffer-local-parsing): Doc fix.
527
f02ff80d
J
5282012-03-13 Jambunathan K <kjambunathan@gmail.com>
529
530 * htmlfontify.el: Add support for code block fontification for ODT
531 export (Bug #9914).
532 (hfy-optimisations): Define new option
533 `body-text-only'
534 (hfy-fontify-buffer): Honor above setting.
535 (hfy-begin-span, hfy-end-span): New routines factored out form
536 `hfy-fontify-buffer'.
537 (hfy-begin-span-handler, hfy-end-span-handler): New variables
538 that permit insertion of custom tags.
539 (hfy-fontify-buffer): Use above handlers.
540 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
541 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 542 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
f02ff80d
J
543 over multiple runs. This is made possible by having the caller let
544 bind a special variable `hfy-user-sheet-assoc'.
545 (htmlfontify-string): New defun.
546 (hfy-compile-face-map): Make sure that the last char in the
547 buffer is correctly fontified.
548 (hfy-face-resolve-face): Whitespace only change.
549
9ac7a13f
EZ
5502012-03-17 Eli Zaretskii <eliz@gnu.org>
551
552 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
553 message more clear.
554
e2b5bdd7
LL
5552012-03-16 Leo Liu <sdl.web@gmail.com>
556
557 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
558
2e492df3
AM
5592012-03-16 Alan Mackenzie <acm@muc.de>
560
561 Further optimise the handling of large macros.
562
563 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
564 limit to a call of `c-literal-limits'.
565 (c-determine-+ve-limit): New function.
dc9924b8
SM
566 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
567 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
568 In CASE 5B, restrict a search limit to 500.
569 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
570
571 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
572 Restrict macro bounds to +-500 from after-change's BEG END.
573
50e94f0c
LL
5742012-03-16 Leo Liu <sdl.web@gmail.com>
575
576 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
577
6f09f6ed
AH
5782012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
579
580 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 581 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 582
c7e73d51
GM
5832012-03-16 Glenn Morris <rgm@gnu.org>
584
da986230
GM
585 * view.el (view-buffer, view-buffer-other-window)
586 (view-buffer-other-frame): Doc fixes re special mode-class.
587
0835f01e
GM
588 * subr.el (eval-after-load): If named feature is provided not from
589 a file, run after-load forms. (Bug#10946)
590
c7e73d51
GM
591 * calendar/calendar.el (calendar-insert-at-column):
592 Handle non-unit-width characters a bit better. (Bug#10978)
593
3f2eafd1
CY
5942012-03-15 Chong Yidong <cyd@gnu.org>
595
596 * emacs-lisp/ring.el (ring-extend): New function.
597 (ring-insert+extend): Extend the ring correctly (Bug#11019).
598
599 * comint.el (comint-read-input-ring)
600 (comint-add-to-input-history): Grow comint-input-ring lazily.
601
103af3fe
SM
6022012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
603
663b1677
SM
604 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
605 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
606
103af3fe
SM
607 * imenu.el: Fix multiple inheritance breakage (bug#9199).
608 (imenu-add-to-menubar): Don't add a redundant index.
609 (imenu-update-menubar): Handle a dynamically composed keymap.
610
899cb7cb
KY
6112012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
612
613 * mail/sendmail.el (mail-encode-header):
614 Bind rfc2047-encode-encoded-words to nil.
615
3809f91d
GM
6162012-03-13 Glenn Morris <rgm@gnu.org>
617
618 * calendar/calendar.el (calendar-string-spread):
619 Handle non-unit-width characters a bit better. (Bug#10978)
620
9e345a01
LL
6212012-03-13 Leo Liu <sdl.web@gmail.com>
622
623 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
624 directory and file as argument (Bug#10822).
625
4a07df36
KS
6262012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
627
628 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
629 For dynamically generated code, follow $PC.
630 (gdb-disassembly-handler-custom): Handle no function name case.
631
4aaa9356
TL
6322012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
633
634 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
635 * emulation/ws-mode.el (ws-query-replace):
636 * sort.el (sort-regexp-fields):
637 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
638
225979da
SM
6392012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
640
641 * dabbrev.el: Fix cycle completion order (bug#10963).
642 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
643 (dabbrev-completion): Don't use an obarray; provide
644 a cycle-sort-function.
645
e2f1fdab
LL
6462012-03-12 Leo Liu <sdl.web@gmail.com>
647
dc9924b8 648 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
649 (kill-do-not-save-duplicates): Doc fix.
650
b19490ed
SM
6512012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
652
653 * dabbrev.el: Fix cycle completion (bug#10963).
654 Use lexical binding and wrap to 80 columns.
655 (dabbrev-completion): Delay computing the list of completions.
656
4b05d722
KH
6572012-03-12 Kenichi Handa <handa@m17n.org>
658
659 * international/quail.el (quail-insert-kbd-layout): Surround each
660 row by LRO and PDF instead of inserting many LRMs. Pad the left
661 and right of each non-spacing marks. Insert invisible space
662 between lower and upper characters to prevent composition.
663
dbbc2e69
SM
6642012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
665
666 * minibuffer.el (minibuffer-complete): Don't get confused when the
667 function is run twice via different commands (bug#10958).
668 (complete-with-action): Fix docstring.
669
292112ed
CY
6702012-03-12 Chong Yidong <cyd@gnu.org>
671
5d1ac394
CY
672 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
673 (nxml-completion-at-point-function): New function.
674 (nxml-mode): Use it.
675 (nxml-bind-meta-tab-to-complete-flag): Default to t.
676
292112ed
CY
677 * emacs-lisp/package.el (package-unpack, package-unpack-single):
678 Load generated autoloads file before byte compiling (Bug#10970).
679 (package--make-autoloads-and-compile): New helper fun.
680
4098f8f7
CS
6812012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
682
683 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
684
8f754691
MA
6852012-03-11 Michael Albinus <michael.albinus@gmx.de>
686
687 * autorevert.el (auto-revert-handler): Ensure, that
688 file-readable-p is applied only for local files or in
689 auto-revert-tail-mode.
690
e29ab36b
AS
6912012-03-11 Andreas Schwab <schwab@linux-m68k.org>
692
dbbc2e69
SM
693 * server.el (server-eval-at): Handle non-tcp connections.
694 Decode result string.
ad0bf5b6 695
e29ab36b
AS
696 * server.el (server-msg-size): New constant.
697 (server-reply-print): New function.
698 (server-eval-and-print): Use it.
699 (server-eval-at): Use server-quote-arg and server-unquote-arg.
700 Handle -print-nonl.
701
de5939ba
CS
7022012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
703
704 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
705 (Bug#10987).
706
0c93eabf
CY
7072012-03-11 Chong Yidong <cyd@gnu.org>
708
397a688f
CY
709 * simple.el (goto-line): Doc fix (Bug#9938).
710
2cc775f9
CY
711 * subr.el (save-window-excursion): Doc fix (Bug#9979).
712
0c93eabf
CY
713 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
714 when finished (Bug#10963).
715
c491fa41
MR
7162012-03-11 Martin Rudalics <rudalics@gmx.at>
717
718 * window.el (split-window-below): Fix bug in case where
719 split-window-keep-point is nil (Bug#10971).
720
300e8fa5
JL
7212012-03-11 Juri Linkov <juri@jurta.org>
722
723 * replace.el (replace-highlight): Set isearch-word to nil
724 unconditionally. (Bug#10887)
725
dbf6c5a1
EZ
7262012-03-10 Eli Zaretskii <eliz@gnu.org>
727
728 * net/mairix.el (mairix-replace-invalid-chars): Rename from
729 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 730 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
731 (mairix-widget-create-query): Add usage information about mairix
732 search forms: negating words, searching for substrings, etc.
733
b9e501de
JP
7342012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
735
736 * international/fontset.el (font-encoding-alist): Add an entry for
737 ksx1001 (Bug#5667).
738
92795c91
RS
7392012-03-10 Richard Stallman <rms@gnu.org>
740
1694e6c1
RS
741 * mail/sendmail.el (mail-encode-header):
742 Set rfc2047-encode-encoded-words.
743
607e8555
RS
744 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
745
de3bc99a
RS
746 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
747 view buffer means not swapped.
748 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
749 (rmail-write-region-annotate): Error if real text has disappeared.
750
92795c91
RS
751 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
752
699bd04e
CY
7532012-03-10 Chong Yidong <cyd@gnu.org>
754
755 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
756 * emulation/cua-base.el (cua--init-keymaps):
757 Add delete-forward-char to remappings (Bug#9666).
699bd04e 758
570a1714
MR
7592012-03-10 Martin Rudalics <rudalics@gmx.at>
760
dbbc2e69
SM
761 * speedbar.el (speedbar-unhighlight-one-tag-line):
762 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 763
82dcf4e4
CY
7642012-03-10 Chong Yidong <cyd@gnu.org>
765
7a2c7ca7
CY
766 * minibuffer.el (completion-in-region, completion-help-at-point):
767 Give the completion field overlay a high priority (Bug#6830).
768
82dcf4e4
CY
769 * dired.el (dired-goto-file): Recognize absolute file name
770 listings (Bug#7126).
771 (dired-goto-file-1): New helper function.
772 (dired-toggle-read-only): Inhibit warnings.
773
052e28ac
MA
7742012-03-09 Michael Albinus <michael.albinus@gmx.de>
775
776 * net/dbus.el: (dbus-property-handler): Return empty array if
777 there are no properties.
778
95d5e396
LL
7792012-03-09 Leo Liu <sdl.web@gmail.com>
780
781 * savehist.el (savehist-printable): Stricter check for string
782 value (Bug#10937).
783
3f018d6d
EZ
7842012-03-09 Eli Zaretskii <eliz@gnu.org>
785
dbbc2e69
SM
786 * mail/smtpmail.el (smtpmail-send-it):
787 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
788 valid mbox format.
789
f7fd3d79
GM
7902012-03-09 Glenn Morris <rgm@gnu.org>
791
792 * files.el (dir-locals-find-file):
793 Don't check result is regular, readable.
794 (dir-locals-read-from-file): Demote errors.
795
6ff6e72f
EZ
7962012-03-08 Eli Zaretskii <eliz@gnu.org>
797
dbbc2e69
SM
798 * international/quail.el (quail-insert-kbd-layout):
799 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
800 layout cell, to prevent their reordering by bidi display engine.
801 For details, see the discussion in
802 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
803
9cec7834
AM
8042012-03-08 Alan Mackenzie <acm@muc.de>
805
806 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
807 the starting position; make it extend the marked region when
808 invoked repeatedly - all under appropriate circumstances.
809 Fixes bugs #5525, #10906.
810
9a40b8d4
GM
8112012-03-08 Glenn Morris <rgm@gnu.org>
812
813 * files.el (locate-dominating-file, dir-locals-find-file):
814 Undo 2012-03-06 change.
815
7a08ed35
EZ
8162012-03-07 Eli Zaretskii <eliz@gnu.org>
817
dbbc2e69
SM
818 * international/quail.el (quail-help):
819 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
820 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
821 for the reason.
822
5aca4f71 8232012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
824
825 Avoid superfluous registering of signals. (Bug#10807)
826
827 * notifications.el (notifications-on-action-object)
828 (notifications-on-close-object): New defvars.
829 (notifications-on-action-signal, notifications-on-closed-signal):
830 Unregister the signal if not needed any longer.
831 (notifications-notify): Register `notifications-action-signal' or
832 `notifications-closed-signal', if :on-action or :on-close has been
833 passed as argument.
834
78e8b10a
CY
8352012-03-07 Chong Yidong <cyd@gnu.org>
836
837 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
838 non-X platforms.
839
69481eb8
GM
8402012-03-06 Glenn Morris <rgm@gnu.org>
841
842 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
843 (x-disown-selection-internal, x-get-selection-internal):
844 Doc fix (add arglist signatures). (Bug#10783)
845
133b8e11
KS
8462012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
847
848 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
849 Handle breakpoints with no "type".
850
99a83064
GM
8512012-03-06 Glenn Morris <rgm@gnu.org>
852
853 * files.el (locate-dominating-file): Add optional predicate argument.
854 (dir-locals-find-file): Make use of above change.
855
17798e78
TTN
8562012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
857
858 * info.el (Info-insert-dir): Also try "dir.gz".
859
eb182446
GM
8602012-03-06 Glenn Morris <rgm@gnu.org>
861
8f2114ee
GM
862 * files.el (dir-locals-find-file):
863 Ignore non-readable or non-regular files. (Bug#10928)
864
eb182446
GM
865 * files.el (locate-dominating-file): Doc fix.
866
24679323
AS
8672012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
868
869 * calendar/calendar.el (calendar-set-mode-line):
870 `getenv' returns a string. (Bug#10951)
871
01d972a9
LL
8722012-03-05 Leo Liu <sdl.web@gmail.com>
873
109aa8a9
LL
874 * simple.el (backward-delete-char-untabify): Constrain point to
875 field (Bug#10939).
876
01d972a9
LL
877 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
878
10607bea
CY
8792012-03-05 Chong Yidong <cyd@gnu.org>
880
881 * simple.el (count-words): If called from Lisp, return the word
882 count, for symmetry with `count-lines'. Arglist changed.
883 (count-words--message): Args changed. Consolidate counting code
884 from count-words and count-words-region.
885 (count-words-region): Caller changed.
886 (count-lines-region): Make it an obsolete alias.
887
5dd11cfe
TH
8882012-03-04 Tassilo Horn <tassilo@member.fsf.org>
889
890 * saveplace.el (save-place-to-alist)
891 (save-place-ignore-files-regexp): Allow value nil to disable this
892 feature.
893
c349f4e6
CY
8942012-03-04 Chong Yidong <cyd@gnu.org>
895
896 * faces.el (face-spec-reset-face): For the default face, reset the
897 attributes to default values (Bug#10748).
898
e627be4c
LMI
8992012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
900
901 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
902 previous patch: Check `message-send-mail-function', and not the
903 default function (bug#10897).
904
ebeabff4
MA
9052012-03-04 Michael Albinus <michael.albinus@gmx.de>
906
a41a6cf4
MA
907 * notifications.el (notifications-on-action-signal)
908 (notifications-on-closed-signal): Check for unique service name of
909 incoming event. Fix error in removing entry.
ebeabff4 910 (top): Register for signals with wildcard service name.
a41a6cf4 911 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 912
c1ca42b4
CY
9132012-03-04 Chong Yidong <cyd@gnu.org>
914
dc9924b8 915 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 916
ea16568d
GM
9172012-03-04 Glenn Morris <rgm@gnu.org>
918
919 * abbrev.el (copy-abbrev-table, abbrev-table-p)
920 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
921 (expand-abbrev, define-abbrev-table): Doc fixes.
922
fbae4637
LMI
9232012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
924
925 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
926 `message-default-send-mail-function' and not `send-mail-function'
927 when doing the prompting for `sendmail-query-once' before sending
928 in Message buffers (bug#10897).
929
a1e7225c
LMI
930 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
931 This is inconsistent with all the other stream functions, which leave
932 the setting up to the higher levels (if so wanted) (bug#10931).
933
56d093a9
AM
9342012-03-02 Alan Mackenzie <acm@muc.de>
935
936 Depessimize the handling of very large macros.
937
938 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
939 (c-macro-cache-syntactic): New variables to implement a one
940 element macro cache.
941 (c-invalidate-macro-cache): New function.
942 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
943 Adapt to use the new cache.
944 (c-state-safe-place): Use better the cache of safe positions.
945 (c-state-semi-nonlit-pos-cache)
946 (c-state-semi-nonlit-pos-cache-limit):
947 New variables for...
948 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
949 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
950 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
951 Use c-state-semi-safe-place.
56d093a9 952
dbbc2e69
SM
953 * progmodes/cc-langs.el (c-get-state-before-change-functions):
954 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 955
817e5c3d
MA
9562012-03-02 Michael Albinus <michael.albinus@gmx.de>
957
dbbc2e69
SM
958 * jka-compr.el (jka-compr-call-process):
959 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
960 not remote.
961
a032a702
MA
9622012-03-01 Michael Albinus <michael.albinus@gmx.de>
963
964 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
965 access of FILE2, if FILE1 does not exist.
966
99a54f21
MA
967 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
968 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
969
970 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
971 Add "PAGER=" to `process-environment'.
972
f6561e1f
MM
9732012-03-01 Michael R. Mauger <mmaug@yahoo.com>
974
975 * progmodes/sql.el: Bug fix
976 (sql-get-login-ext): Save login values in globals.
977 (sql-get-login): Use new version of `sql-get-login-ext'.
978 (sql-interactive-mode): Set global `sql-connection' to nil.
979 (sql-connect): Set global values for connection.
980 (sql-product-interactive): Save global values as buffer local.
981
2d44d9cc
LL
9822012-02-29 Leo Liu <sdl.web@gmail.com>
983
984 * abbrev.el (define-abbrevs): Reset sys to nil.
985
96b49301 9862012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
987
bf7f9bc5
JB
988 * files.el (file-equal-p): Rename from `files-equal-p'.
989 Return nil when one or both files don't exist.
96b49301 990 (file-subdir-of-p): Now only top directory must exists,
991 return nil if it doesn't.
bf7f9bc5
JB
992 (copy-directory): No need to test with `file-subdir-of-p' after
993 creating dir.
994 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
995 to `file-equal-p'.
96b49301 996
44e97401
GM
9972012-02-28 Glenn Morris <rgm@gnu.org>
998
999 * shell.el (shell-mode):
1000 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1001 * play/landmark.el (landmark-font-lock-face-O):
1002 * play/handwrite.el (handwrite):
1003 * play/gomoku.el (gomoku-O):
1004 * net/browse-url.el (browse-url-browser-display):
1005 * international/mule.el (define-charset):
1006 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1007 * filesets.el (filesets-find-file-delay):
1008 * eshell/em-xtra.el (eshell-xtra):
1009 * eshell/em-unix.el (eshell-grep):
1010 * emulation/viper.el (viper-mode):
1011 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1012 * emacs-lisp/easymenu.el (easy-menu-define):
1013 * calendar/timeclock.el (timeclock-use-display-time):
1014 * bs.el (bs-mode):
1015 * bookmark.el (bookmark-save-flag):
1016 Doc fix (standardize possessive apostrophe usage).
1017
c98c6276
CY
10182012-02-27 Chong Yidong <cyd@gnu.org>
1019
bf7f9bc5
JB
1020 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1021 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 1022
c98c6276
CY
1023 * font-lock.el (font-lock-specified-p): Rename from
1024 font-lock-spec-present. Callers changed.
1025
9c62cd04 10262012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 1027
bf7f9bc5
JB
1028 * emacs-lisp/package.el (package-compute-transaction):
1029 Handle holding a package version to t in package-load-list.
8ac9e529 1030
530739c9
MA
10312012-02-26 Michael Albinus <michael.albinus@gmx.de>
1032
1033 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1034 (tramp-get-inode, tramp-get-device): Use cached values.
1035
487915d7
AM
10362012-02-26 Alan Mackenzie <acm@muc.de>
1037
1038 Check there is a font-lock specification before doing initial
1039 fontification.
1040
1041 * font-core.el (font-lock-mode): Move the conditional from
1042 :after-hook to font-lock-initial-fontify.
1043 (font-lock-default-function): Move the check for a specification
1044 to font-lock-spec-present.
1045
dc9924b8 1046 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
1047 (font-lock-spec-present): New function.
1048
4fd96557
JB
10492012-02-26 Jim Blandy <jimb@red-bean.com>
1050
1051 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1052 (gdb-send): Apply it to the operand of the '-interpreter-exec
1053 console' command, so that we can pass arguments with (say) quotes
1054 in them. Store exact string sent in gdb-debug-log (Bug#10765).
1055
9a4888c0
CY
10562012-02-26 Chong Yidong <cyd@gnu.org>
1057
07498861
CY
1058 * help-fns.el (describe-function-1): Clarify description of
1059 remapping (Bug#10844).
1060
9a4888c0
CY
1061 * files.el (files-equal-p): Doc fix.
1062 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
1063 and quit the loop once a mismatch is found.
1064
ea8fb88d
JB
10652012-02-25 Juanma Barranquero <lekktu@gmail.com>
1066
1067 * bs.el (bs--show-with-configuration): Don't throw an error
1068 if the window cannot be split; otherwise, subsequent calls to
1069 bs-show fail, restoring a stale window config. (Bug#10882)
1070
525795c1
JD
10712012-02-25 Jan Djärv <jan.h.d@swipnet.se>
1072
1073 * term/ns-win.el (global-map): Bind ns-drag-file to
1074 ns-find-file (Bug#5855, Bug#10050).
1075
f008086f
AS
10762012-02-25 Andreas Schwab <schwab@linux-m68k.org>
1077
1078 * calendar/parse-time.el (parse-time-string): Allow extractor to
1079 return nil.
1080
a3fcfa99
MA
10812012-02-25 Michael Albinus <michael.albinus@gmx.de>
1082
91027d08
JB
1083 * net/tramp.el (tramp-file-name-for-operation):
1084 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
1085
1086 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
1087 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1088 Add COPY-CONTENTS argument.
a3fcfa99 1089
67b0de11
CY
10902012-02-25 Chong Yidong <cyd@gnu.org>
1091
1092 Add custom groups for VC backends, for consistency with vc-bzr.
1093
1094 * vc/vc-arch.el (vc-arch):
1095 * vc/vc-cvs.el (vc-cvs):
1096 * vc/vc-git.el (vc-git):
1097 * vc/vc-hg.el (vc-hg):
1098 * vc/vc-mtn.el (vc-mtn):
1099 * vc/vc-rcs.el (vc-rcs):
1100 * vc/vc-sccs.el (vc-sccs):
1101 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1102 All relevant defcustoms reassigned.
1103
3c9dfce6
CY
11042012-02-25 Chong Yidong <cyd@gnu.org>
1105
1339bf43
CY
1106 * newcomment.el (comment-styles): Add autoload (Bug#10868).
1107
3c9dfce6
CY
1108 * term/x-win.el (x-initialize-window-system): Reduce default for
1109 x-selection-timeout to 5 seconds (Bug#8869).
1110
53a46cd0 11112012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 1112
53a46cd0 1113 * files.el (file-subdir-of-p): Fix typo.
14a8a663 1114
25b2e303 11152012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1116
ec70a47d
GM
1117 * files.el (files-equal-p, file-subdir-of-p): New functions.
1118 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 1119 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
1120 * dired-aux.el (dired-copy-file-recursive): Same.
1121 (dired-create-files): Modify destination when source is equal to
1122 dest when copying files.
53a46cd0 1123 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 1124
914260cd
MA
11252012-02-24 Michael Albinus <michael.albinus@gmx.de>
1126
1127 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1128 (Bug#10874)
1129
2cb228f7
AM
11302012-02-23 Alan Mackenzie <acm@muc.de>
1131
1132 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1133 parameter "after-hook:" to allow the expansion to run code after
1134 the execution of the mode hooks.
1135
1136 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 1137 from font-lock-mode-internal.
2cb228f7 1138
91027d08 1139 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
1140 :after-hook.
1141
8f0fde21
SM
11422012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1143
3e88618b
SM
1144 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1145 (completion--cache-all-sorted-completions): New function.
1146 (completion-all-sorted-completions): Use it.
1147 (completion--do-completion, minibuffer-force-complete):
1148 Use it to re-instate the flush hook.
1149
8f0fde21
SM
1150 * icomplete.el (icomplete-completions): Replace last fix with a better
1151 one (bug#10850).
1152
8e911f6f
DG
11532012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1154
1155 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1156 when it might call us back infinitely (bug#10797).
1157
49fe4321
GM
11582012-02-23 Glenn Morris <rgm@gnu.org>
1159
1160 * minibuffer.el (completion-category-overrides): Doc fix.
1161
b291b572
SM
11622012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1163
1164 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1165 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1166
31a9ef2e
GM
11672012-02-23 Glenn Morris <rgm@gnu.org>
1168
5e6e6794 1169 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
1170 (authors-obsolete-files-regexps, authors-ignored-files)
1171 (authors-ambiguous-files, authors-renamed-files-alist):
1172 Add more entries.
1173
0bd1e074
JL
11742012-02-23 Juri Linkov <juri@jurta.org>
1175
1176 * isearch.el (isearch-occur): Sync interactive spec with occur's
1177 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1178
b617673c
JL
1179 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1180
19e9789e
JL
11812012-02-22 Juri Linkov <juri@jurta.org>
1182
1183 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1184 (ucs-insert): Doc fix. Check for hex digits in the string.
1185 Don't display `nil' in the error message. (Bug#10857)
1186
f41ce09d
AM
11872012-02-22 Alan Mackenzie <acm@muc.de>
1188
7a71b18d 1189 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 1190
ac2eceee
GM
11912012-02-22 Glenn Morris <rgm@gnu.org>
1192
1193 * ffap.el (ffap-c-path):
1194 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1195
abd1f678
CY
11962012-02-22 Chong Yidong <cyd@gnu.org>
1197
1198 * custom.el (load-theme): Doc fix.
1199
f25aef2e
GM
12002012-02-22 Glenn Morris <rgm@gnu.org>
1201
1202 * dired-x.el (dired-guess-shell-alist-default):
1203 Remove escape sequences from nroff output. (Bug#172)
1204
5f8dc2ca
GM
12052012-02-21 Glenn Morris <rgm@gnu.org>
1206
6ff86ec4
GM
1207 * vc/emerge.el (emerge-defvar-local):
1208 Set `permanent-local' property rather than unused `preserved'.
1209
be3223a3 1210 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
1211 (picture-mode-map): Use it. (Bug#10860)
1212 (picture-mode): Doc fix.
1213
3fe58f4f
JB
12142012-02-21 Juanma Barranquero <lekktu@gmail.com>
1215
1216 * newcomment.el (uncomment-region-default): Remove unused binding.
1217
f9a998c3
GM
12182012-02-21 Glenn Morris <rgm@gnu.org>
1219
1220 * textmodes/picture.el (picture-motion, picture-motion-reverse)
1221 (picture-self-insert, picture-tab-chars): Doc fix.
1222 (picture-mode-map): Fix C-a, C-e.
1223
c6029348
GM
12242012-02-20 Glenn Morris <rgm@gnu.org>
1225
1226 * emacs-lisp/authors.el (authors-aliases): Add another entry.
1227
ab1ce9d7
LL
12282012-02-20 Leo Liu <sdl.web@gmail.com>
1229
1230 * icomplete.el (icomplete-completions): Check FROM arg before
1231 passing to substring (Bug#10850).
1232
0fd40f89
CY
12332012-02-19 Chong Yidong <cyd@gnu.org>
1234
1235 * comint.el: Require ansi-color.
1236 (comint-output-filter-functions): Add ansi-color-process-output.
1237
1238 * ansi-color.el: Don't set comint-output-filter-functions; it is
1239 now in the initial value defined in comint.el.
1240 (ansi-color-apply-face-function): New variable.
1241 (ansi-color-apply-on-region): Use it.
1242 (ansi-color-apply-overlay-face): New function.
1243
1244 * shell.el (shell): No need to require ansi-color.
1245 (shell-mode): Use ansi-color-apply-face-function to highlight
1246 color escapes using font-lock-face property (Bug#10835).
1247
20af2394
CY
12482012-02-19 Chong Yidong <cyd@gnu.org>
1249
1250 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1251 mode-line formats (Bug#10839).
1252
e23a3fbe
GM
12532012-02-18 Glenn Morris <rgm@gnu.org>
1254
b474519e
GM
1255 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1256
1257 * mail/undigest.el (unforward-rmail-message): Doc fix.
1258
e23a3fbe
GM
1259 * saveplace.el (save-place-ignore-files-regexp): Add :version.
1260
57939ff4
EZ
12612012-02-18 Eli Zaretskii <eliz@gnu.org>
1262
1263 * international/characters.el (script-list): Sync with the latest
1264 Unicode Character Database.
1265
0c23686e
AS
12662012-02-18 Andreas Schwab <schwab@linux-m68k.org>
1267
1268 * international/titdic-cnv.el: Remove duplicate coding tag.
1269 * language/cham.el: Likewise.
1270 * language/tai-viet.el: Likewise.
1271
6818b449
GM
12722012-02-18 Glenn Morris <rgm@gnu.org>
1273
1274 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1275 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1276 (calendar-bahai-all-holidays-flag, calendar-other-dates):
1277 * calendar/diary-lib.el (diary-abbreviated-year-flag):
1278 * calendar/holidays.el (holiday-bahai-holidays)
1279 (calendar-holidays, list-holidays):
1280 Use utf-8 Bahá'í in doc-strings, menus, etc.
1281
0311a3fc
TH
12822012-02-17 Tassilo Horn <tassilo@member.fsf.org>
1283
1284 * saveplace.el (save-place-ignore-files-regexp): New variable
1285 allowing for excluding files from saving their location of point.
1286 The default value matches the temporary commit message editing
1287 files from Git, SVN, Bazaar, and Mercurial.
1288 (save-place-to-alist): Use it.
1289
eb864a71
LM
12902012-02-17 Lawrence Mitchell <wence@gmx.li>
1291 Stefan Monnier <monnier@iro.umontreal.ca>
1292
1293 * newcomment.el (uncomment-region-default): Don't leave extra space
1294 when an arg is provided (bug#8150).
1295
ee0ce425
TZ
12962012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1297
eb864a71 1298 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 1299
95ddf442
GM
13002012-02-17 Glenn Morris <rgm@gnu.org>
1301
1302 * net/socks.el: Require network-stream. (Bug#10599)
1303
48dd1e39 13042012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
1305
1306 * international/charprop.el:
1307 * international/uni-name.el:
1308 * international/uni-old-name.el:
1309 * international/uni-comment.el: Regenerate.
1310
d68cd087
GM
13112012-02-16 Glenn Morris <rgm@gnu.org>
1312
1313 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1314 Interactively in calendar buffer, give an error if not on a date.
1315
13932042
GM
13162012-02-15 Glenn Morris <rgm@gnu.org>
1317
1318 * shell.el (shell-delimiter-argument-list):
1319 Revert 2011-02-17 change. (Bug#8027)
1320
c3a70e2b
CY
13212012-02-15 Chong Yidong <cyd@gnu.org>
1322
60236b0d
CY
1323 * minibuffer.el (completion-at-point-functions): Doc fix.
1324
c3a70e2b
CY
1325 * custom.el (defcustom): Doc fix; note use of defvar.
1326
9f26dc24
GM
13272012-02-15 Glenn Morris <rgm@gnu.org>
1328
1329 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1330 Doc fixes.
1331
6546b134
GM
13322012-02-14 Glenn Morris <rgm@gnu.org>
1333
1334 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1335
d29b2b4c
LI
13362012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
1337
1338 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1339 way the ports list is computed.
835bdcba
LI
1340 (smtpmail-query-smtp-server): Prompt the user for a port number if
1341 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 1342
08dcdbc9
TZ
13432012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
1344
1345 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1346
2605051a
GM
13472012-02-13 Glenn Morris <rgm@gnu.org>
1348
1349 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
1350
7ee99f32
TZ
13512012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1352
1353 * net/gnutls.el (gnutls-trustfiles): New variable.
1354 (gnutls-negotiate): Use it.
1355
5f0af64f
LI
13562012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1357
1358 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1359 does its stuff if Gnus is running.
1360
c14fcc95
AM
13612012-02-13 Alan Mackenzie <acm@muc.de>
1362
1363 Fix a loop in c-set-fl-decl-start.
1364
7a71b18d 1365 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
1366 c-backward-syntactic-ws actually moves backwards.
1367
142b4d90
LL
13682012-02-13 Leo Liu <sdl.web@gmail.com>
1369
1370 * net/rcirc.el (rcirc-markup-attributes): Move point to the
1371 beginning so that all \C-o chars are removed.
1372
fa9958a6
TZ
13732012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1374
dc9924b8 1375 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 1376
0bc5886a
AM
13772012-02-12 Alan Mackenzie <acm@muc.de>
1378
1379 Fix infinite loop with long macros.
1380 * cc-engine.el (c-state-safe-place): Handle macros properly.
1381
d4bd55e7
CY
13822012-02-12 Chong Yidong <cyd@gnu.org>
1383
1384 * window.el (display-buffer): Doc fix (Bug#10785).
1385
66f3fe22
GM
13862012-02-12 Glenn Morris <rgm@gnu.org>
1387
bd7da63e
GM
1388 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1389 (x-disown-selection-internal, x-get-selection-internal):
1390 Sync docs with the xselect.c versions.
1391
66f3fe22
GM
1392 * allout-widgets.el: Add missing license notice.
1393
3e0d2fa7
GM
13942012-02-11 Glenn Morris <rgm@gnu.org>
1395
cfecdf09
GM
1396 * select.el (x-get-selection-internal, x-own-selection-internal)
1397 (x-disown-selection-internal):
1398 * x-dnd.el (x-get-selection-internal): Update declarations.
1399
6d216d7f
GM
1400 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1401
2bed3f04
GM
1402 * window.el (window-sides-slots):
1403 * tool-bar.el (tool-bar-position):
1404 * term/xterm.el (xterm-extra-capabilities):
1405 * ses.el (ses-self-reference-early-detection):
1406 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1407 (verilog-auto-wire-type)
1408 (verilog-auto-delete-trailing-whitespace)
1409 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1410 (verilog-auto-tieoff-declaration):
1411 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1412 (sql-oracle-statement-starters, sql-oracle-scan-on):
1413 * progmodes/prolog.el (prolog-align-comments-flag)
1414 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1415 (prolog-left-indent-regexp, prolog-paren-indent-p)
1416 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1417 (prolog-types, prolog-mode-specificators)
1418 (prolog-determinism-specificators, prolog-directives)
1419 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1420 (prolog-electric-dot-flag)
1421 (prolog-electric-dot-full-predicate-template)
1422 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1423 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1424 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1425 (prolog-program-switches, prolog-prompt-regexp)
1426 (prolog-debug-on-string, prolog-debug-off-string)
1427 (prolog-trace-on-string, prolog-trace-off-string)
1428 (prolog-zip-on-string, prolog-zip-off-string)
1429 (prolog-use-standard-consult-compile-method-flag)
1430 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1431 (prolog-imenu-max-lines, prolog-info-predicate-index)
1432 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1433 (prolog-char-quote-workaround):
1434 * progmodes/cc-vars.el (c-defun-tactic):
1435 * net/tramp.el (tramp-encoding-command-interactive)
1436 (tramp-local-end-of-line):
1437 * net/soap-client.el (soap-client):
1438 * net/netrc.el (netrc-file):
1439 * net/gnutls.el (gnutls):
1440 * minibuffer.el (completion-category-overrides)
1441 (completion-cycle-threshold)
1442 (completion-pcm-complete-word-inserts-delimiters):
1443 * man.el (Man-name-local-regexp):
1444 * mail/feedmail.el (feedmail-display-full-frame):
1445 * international/characters.el (glyphless-char-display-control):
1446 * eshell/em-ls.el (eshell-ls-date-format):
1447 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1448 (lisp-lambda-list-keyword-parameter-indentation)
1449 (lisp-lambda-list-keyword-parameter-alignment):
1450 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1451 * dired-x.el (dired-omit-verbose):
1452 * cus-theme.el (custom-theme-allow-multiple-selections):
1453 * calc/calc.el (calc-highlight-selections-with-faces)
1454 (calc-lu-field-reference, calc-lu-power-reference)
1455 (calc-note-threshold):
1456 * battery.el (battery-mode-line-limit):
1457 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1458 (archive-7z-update):
1459 * allout.el (allout-prefixed-keybindings)
1460 (allout-unprefixed-keybindings)
1461 (allout-inhibit-auto-fill-on-headline)
1462 (allout-flattened-numbering-abbreviation):
1463 * allout-widgets.el (allout-widgets-auto-activation)
1464 (allout-widgets-icons-dark-subdir)
1465 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1466 (allout-widgets-theme-dark-background)
1467 (allout-widgets-theme-light-background)
1468 (allout-widgets-item-image-properties-emacs)
1469 (allout-widgets-item-image-properties-xemacs)
1470 (allout-widgets-run-unit-tests-on-load)
1471 (allout-widgets-time-decoration-activity)
1472 (allout-widgets-hook-error-post-time)
1473 (allout-widgets-track-decoration):
1474 Add missing :version tags to new defcustoms and defgroups.
1475
5fec1b8e
GM
1476 * progmodes/sql.el (sql-ansi-statement-starters)
1477 (sql-oracle-statement-starters): Add custom type.
1478
3e0d2fa7
GM
1479 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1480 (prolog-system-version): Give it a type.
1481
90b671e2
EZ
14822012-02-11 Eli Zaretskii <eliz@gnu.org>
1483
1484 * term/pc-win.el (x-select-text, x-selection-owner-p)
1485 (x-own-selection-internal, x-disown-selection-internal)
1486 (x-get-selection-internal): Sync doc strings and argument lists
1487 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1488
5eac0c02
LL
14892012-02-11 Leo Liu <sdl.web@gmail.com>
1490
1491 * progmodes/python.el (python-end-of-statement): Fix infinite
1492 loop. (Bug#10788)
1493
f82cb659
GM
14942012-02-10 Glenn Morris <rgm@gnu.org>
1495
1496 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1497 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1498
cc26d239
LI
14992012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1500
1501 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1502 about SMTP before checking the From header.
1503
91027d08 1504 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
1505 into own function for reuse by emacsbug.el.
1506
1be3ca5a
LL
15072012-02-10 Leo Liu <sdl.web@gmail.com>
1508
1509 * subr.el (condition-case-unless-debug): Rename from
1510 condition-case-no-debug. All callers changed.
1511 (with-demoted-errors): Fix caller.
1512
1513 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1514 * nxml/rng-valid.el (rng-do-some-validation):
1515 * emacs-lisp/package.el (package-refresh-contents)
1516 (package-menu-execute):
1517 * desktop.el (desktop-create-buffer):
91027d08 1518 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 1519
b011fbfe
GM
15202012-02-10 Glenn Morris <rgm@gnu.org>
1521
b2096d72
GM
1522 * textmodes/bibtex.el:
1523 Add missing :version tags for new/changed defcustoms.
1524
b011fbfe
GM
1525 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1526
4c7e65bf
LI
15272012-02-09 Lars Ingebrigtsen <larsi@rusty>
1528
1529 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1530 (smtpmail-via-smtp): Use it, or fall back on the From address.
1531 (smtpmail-send-it): Ditto.
1532
f3934f6f
SM
15332012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1534
1535 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1536 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1537 (byte-compile-tmp-var): New const.
1538 (byte-compile-defvar): Use it to minimize .elc size.
1539 Just use `defvar' rather than simulate it (bug#10761).
1540
a075a2c5
GM
15412012-02-09 Glenn Morris <rgm@gnu.org>
1542
cf3aa21b
GM
1543 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1544
354998cd
GM
1545 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1546 Add :version tags.
1547
dc9924b8
SM
1548 * progmodes/compile.el (compilation-error-screen-columns)
1549 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 1550
dab3703d
GM
1551 * vc/log-view.el (log-view-toggle-entry-display):
1552 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1553
3f88cd72
GM
1554 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1555 (report-emacs-bug-can-use-xdg-email):
1556 (report-emacs-bug-insert-to-mailer): Doc fixes.
1557 (report-emacs-bug): Message fix.
1558
d95b247d
GM
1559 * net/browse-url.el (browse-url-can-use-xdg-open)
1560 (browse-url-xdg-open): Doc fixes.
1561
a075a2c5
GM
1562 * electric.el (electric-indent-mode, electric-pair-mode)
1563 (electric-layout-rules, electric-layout-mode): Doc fixes.
1564 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1565
ffb6157e
MR
15662012-02-08 Martin Rudalics <rudalics@gmx.at>
1567
1568 * server.el (server-unselect-display): Don't inadvertently kill
1569 the current buffer. (Bug#10729)
1570
e1ac4066
GM
15712012-02-08 Glenn Morris <rgm@gnu.org>
1572
34e8a2da
GM
1573 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1574 (sql-list-table): Doc fixes.
1575
b4ac6e8c
GM
1576 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1577 Comment out (does nothing).
1578
e1ac4066
GM
1579 * completion.el (dynamic-completion-mode):
1580 * dirtrack.el (dirtrack-debug-mode):
1581 * electric.el (electric-layout-mode):
1582 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1583 * face-remap.el (text-scale-mode, buffer-face-mode):
1584 * iimage.el (iimage-mode):
1585 * image-mode.el (image-transform-mode):
1586 * minibuffer.el (completion-in-region-mode):
1587 * scroll-lock.el (scroll-lock-mode):
1588 * simple.el (next-error-follow-minor-mode):
1589 * tar-mode.el (tar-subfile-mode):
1590 * tooltip.el (tooltip-mode):
1591 * vcursor.el (vcursor-use-vcursor-map):
1592 * wid-browse.el (widget-minor-mode):
1593 * emulation/tpu-edt.el (tpu-edt-mode):
1594 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1595 * international/iso-ascii.el (iso-ascii-mode):
1596 * language/thai-util.el (thai-word-mode):
1597 * mail/supercite.el (sc-minor-mode):
1598 * net/goto-addr.el (goto-address-mode):
1599 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1600 * progmodes/cwarn.el (cwarn-mode):
1601 * progmodes/flymake.el (flymake-mode):
1602 * progmodes/glasses.el (glasses-mode):
1603 * progmodes/hideshow.el (hs-minor-mode):
1604 * progmodes/pascal.el (pascal-outline-mode):
1605 * textmodes/enriched.el (enriched-mode):
1606 * vc/smerge-mode.el (smerge-mode):
1607 Doc fixes (minor mode argument).
1608
5e0d957f
EZ
16092012-02-07 Eli Zaretskii <eliz@gnu.org>
1610
1611 * ls-lisp.el (ls-lisp-sanitize): New function.
1612 (ls-lisp-insert-directory): Use it to fix or remove any elements
1613 in file-alist with missing attributes. (Bug#4673)
1614
98d7371e
AM
16152012-02-07 Alan Mackenzie <acm@muc.de>
1616
1617 Fix spurious recognition of c-in-knr-argdecl.
1618
1619 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1620 putative K&R region.
1621
667ced3a
AM
16222012-02-07 Alan Mackenzie <acm@muc.de>
1623
eb864a71
LM
1624 * progmodes/cc-engine.el (c-forward-objc-directive):
1625 Prevent looping in "#pragma mark @implementation".
667ced3a 1626
5b77774d
MA
16272012-02-07 Michael Albinus <michael.albinus@gmx.de>
1628
1629 * notifications.el (notifications-on-closed-signal): Make `reason'
1630 optional. (Bug#10744)
1631
af008560
GM
16322012-02-07 Glenn Morris <rgm@gnu.org>
1633
60d47423
GM
1634 * emacs-lisp/easy-mmode.el (define-minor-mode):
1635 Doc fixes for the macro and the mode it defines.
1636
dd605cc4
GM
1637 * image.el (imagemagick-types-inhibit): Doc fix.
1638
af008560
GM
1639 * cus-start.el (imagemagick-render-type): Add it.
1640
5cc59a37
LI
16412012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1642
1643 * progmodes/cc-mode.el
1644 (c-standard-font-lock-fontify-region-function): Set the default at
1645 load time, too, so that `font-lock-fontify-buffer' can be called
1646 without setting up the entire mode first. This fixes a bug in
1647 `mm-inline-text' with C MIME parts.
1648
9a6dd747
CY
16492012-02-06 Chong Yidong <cyd@gnu.org>
1650
2d16b285
CY
1651 * simple.el (list-processes--refresh): Delete exited processes
1652 (Bug#8094).
1653
171e9b6e
CY
1654 * comint.el (comint-next-prompt): next-single-char-property-change
1655 and prev-single-char-property-change never return nil (Bug#8657).
1656
9a6dd747
CY
1657 * custom.el (defcustom): Doc fix (Bug#9711).
1658
aa4589a7
CY
16592012-02-05 Chong Yidong <cyd@gnu.org>
1660
5c2a252f
CY
1661 * cus-edit.el (custom-variable-reset-backup): Quote the value
1662 before storing it in the customized-value property (Bug#6712).
4aab9006 1663 (custom-display): Add a customization type tag.
983b9602 1664 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 1665
aa4589a7
CY
1666 * wid-edit.el (widget-field-value-get): New optional arg to
1667 suppress trailing whitespace truncation.
1668 (character): Use it (Bug#2689).
1669
1ff980ae
AS
16702012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1671
1672 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1673 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1674
03988c98
CY
16752012-02-05 Chong Yidong <cyd@gnu.org>
1676
eeb6cc88
CY
1677 * cus-edit.el (custom-variable-value-create): For mismatched
1678 types, show the current value (Bug#7600).
1679
03988c98
CY
1680 * custom.el (defcustom): Doc fix.
1681
f8cdeef0
GM
16822012-02-05 Glenn Morris <rgm@gnu.org>
1683
1684 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1685
0696d255
JB
16862012-02-05 Juanma Barranquero <lekktu@gmail.com>
1687
1688 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1689 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1690 (pp-last-sexp): Use `looking-at-p'.
1691
34c99998
GM
16922012-02-04 Glenn Morris <rgm@gnu.org>
1693
8f05da42
GM
1694 * files.el (revert-buffer):
1695 Doc fix (mention revert-buffer-in-progress-p).
1696
f160676e
GM
1697 * emacs-lisp/ert-x.el (ert-simulate-command):
1698 Check deferred-action-list (which is obsolete) is bound.
1699
c7291ad9
GM
1700 * subr.el (with-wrapper-hook): Doc fixes.
1701
34c99998
GM
1702 * simple.el (filter-buffer-substring-functions)
1703 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1704
6283a7d3
LL
17052012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1706
1707 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1708 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1709
e96e3013
LL
17102012-02-04 Leo Liu <sdl.web@gmail.com>
1711
1712 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1713
8ded50f2
GM
17142012-02-04 Glenn Morris <rgm@gnu.org>
1715
82ff1d13
GM
1716 * image.el (image-extension-data): Add obsolete alias.
1717
987a0a16
GM
1718 * isearch.el (isearch-update): Doc fix.
1719
ea32ef46
GM
1720 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1721
8ded50f2
GM
1722 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1723
eea14f31
GM
17242012-02-03 Glenn Morris <rgm@gnu.org>
1725
1726 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1727 (image-animate-timeout): Doc fix.
1728
1729 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1730
12f381b7
GM
17312012-02-02 Glenn Morris <rgm@gnu.org>
1732
953cebf5
GM
1733 * server.el (server-auth-dir): Doc fix.
1734 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1735
12f381b7
GM
1736 * subr.el (run-mode-hooks): Doc fix.
1737
953a8c3b
JL
17382012-02-02 Juri Linkov <juri@jurta.org>
1739
1740 * image-mode.el (image-toggle-display-image): Remove tautological
1741 `major-mode' from the `derived-mode-p' test.
1742
c5d3843c
KH
17432012-02-02 Kenichi Handa <handa@m17n.org>
1744
9f6e692e 1745 * composite.el (compose-region): Cancel previous change.
c5d3843c 1746
159462d4 17472012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
1748
1749 * composite.el (compose-region, compose-string): Signal error for
1750 a null string component (Bug#6988).
1751
9f562668
CY
17522012-02-01 Chong Yidong <cyd@gnu.org>
1753
e2cef717
CY
1754 * view.el (view-buffer-other-window, view-buffer-other-frame):
1755 Handle special modes like view-buffer (Bug#10650).
1756 (view-buffer): Simplify.
1757
9f562668
CY
1758 * frame.el (set-frame-font): Tweak meaning of third argument.
1759
9f6e692e
JB
1760 * dynamic-setting.el (font-setting-change-default-font):
1761 Use set-frame-font (Bug#9982).
9f562668 1762
781acb9f
GM
17632012-02-01 Glenn Morris <rgm@gnu.org>
1764
6035be52
GM
1765 * progmodes/compile.el (compilation-internal-error-properties):
1766 Respect compilation-first-column in the "*compilation*" buffer.
1767
781acb9f
GM
1768 * emacs-lisp/easy-mmode.el (define-minor-mode):
1769 Relax :variable's test for a named function.
1770
abbceb00
AM
17712012-01-31 Alan Mackenzie <acm@muc.de>
1772
1773 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1774 off by one error.
1775
fce3fdeb
CY
17762012-01-31 Chong Yidong <cyd@gnu.org>
1777
1778 * frame.el (set-frame-font): New arg ALL-FRAMES.
1779
1780 * menu-bar.el (menu-set-font): Use set-frame-font.
1781
1782 * faces.el (face-spec-reset-face): Don't apply unspecified
1783 attribute values to the default face.
1784
47893581
JB
17852012-01-31 Juanma Barranquero <lekktu@gmail.com>
1786
1787 * progmodes/cwarn.el (cwarn): Remove dead link.
1788 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1789 Remove * from defcustom docstrings.
1790 (turn-on-cwarn-mode): Make obsolete.
1791 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1792 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1793
e58e988a
GM
17942012-01-31 Glenn Morris <rgm@gnu.org>
1795
60dc2671 1796 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 1797 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 1798 Allow named functions to be used as the cdr of :variable.
e58e988a 1799
7a3f511d
GM
18002012-01-30 Glenn Morris <rgm@gnu.org>
1801
1802 * emacs-lisp/authors.el (authors-fixed-entries):
1803 Remove reference to deleted file rnewspost.el.
1804
cb882333
JB
18052012-01-29 Juanma Barranquero <lekktu@gmail.com>
1806
1807 * window.el (window-with-parameter): Remove unused variable `windows'.
1808 (window--side-check): Remove unused variable `code'.
1809 (window--resize-siblings): Remove unused variable `first'.
1810 (adjust-window-trailing-edge): Remove unused variable `failed'.
1811 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1812 Use `let', not `let*'.
1813 (balance-windows-2): Remove unused variable `found'.
1814 (window--state-put-2): Remove unused variable `splits'.
1815 (window-state-put): Remove unused variable `selected'.
1816 (same-window-p): Use `string-match-p'.
1817 (display-buffer-assq-regexp): Remove unused variable `value'.
1818 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1819 Mark argument ALIST as ignored.
1820 (pop-to-buffer): Remove unused variable `old-window'.
1821
907201af
EZ
18222012-01-29 Eli Zaretskii <eliz@gnu.org>
1823
1824 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1825 and .lzma compressed files.
1826
ea162670
CY
18272012-01-29 Chong Yidong <cyd@gnu.org>
1828
5b95ee8a
CY
1829 * frame.el (window-system-default-frame-alist): Doc fix.
1830
ea162670
CY
1831 * dynamic-setting.el (font-setting-change-default-font): Don't
1832 change the default face if SET-FONT argument is non-nil (Bug#9982).
1833
d6e6f4b1
SB
18342012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
1835
1836 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1837
0f29fa41 18382012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
1839
1840 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1841 breakpoints in files outside current directory (Bug#6098).
1842
db174434
CY
18432012-01-29 Chong Yidong <cyd@gnu.org>
1844
6b25e4e2
SE
1845 * progmodes/python.el: Require ansi-color at top-level.
1846
6df6ae42
JB
1847 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1848 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
1849 (lisp-mode-abbrev-table): Add doc.
1850 (lisp-mode-variables): Don't set local-abbrev-table.
1851 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1852
e70ee681
RW
18532012-01-28 Roland Winkler <winkler@gnu.org>
1854
1855 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1856
ace88aa2
RW
18572012-01-28 Roland Winkler <winkler@gnu.org>
1858
1859 * textmodes/bibtex.el (bibtex-entry-alist): New function.
1860 (bibtex-set-dialect): Use it. Either set global values of
1861 dialect-dependent variables or bind these variables buffer-locally
1862 (Bug#10254).
1863 (bibtex-mode): Call bibtex-set-dialect via
1864 hack-local-variables-hook.
eb864a71
LM
1865 (bibtex-dialect): Update docstring.
1866 Add safe-local-variable predicate.
ace88aa2
RW
1867 (bibtex-entry-alist, bibtex-field-alist): Initialize via
1868 bibtex-set-dialect.
1869 (bibtex-mode-map): Define menu for each dialect.
1870 (bibtex-entry): Fix docstring.
1871
93376c5b
CY
18722012-01-28 Chong Yidong <cyd@gnu.org>
1873
1874 * eshell/esh-arg.el (eshell-quote-argument): New function.
1875
1876 * eshell/esh-ext.el (eshell-invoke-batch-file):
1877 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1878 first arg to eshell-parse-command (Bug#10523).
1879
4372494f
DA
18802012-01-28 Drew Adams <drew.adams@oracle.com>
1881
1882 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1883 `default-directory' is non-nil.
1884
4d4ec1f8
EZ
18852012-01-28 Eli Zaretskii <eliz@gnu.org>
1886
1887 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1888 line that displays system-configuration-options. (Bug#9924)
1889
7c188927
DA
18902012-01-28 Drew Adams <drew.adams@oracle.com>
1891
1892 * descr-text.el (describe-char): Show information about POS, in
1893 addition to information about the character at POS. Improve and
1894 update the doc string. Change "code point" to "code point in
1895 charset", to avoid confusion with the character's Unicode code
1896 point shown above that. (Bug#10129)
1897
e0da685a
EZ
18982012-01-28 Eli Zaretskii <eliz@gnu.org>
1899
1900 * descr-text.el (describe-char): Show the raw character, not only
1901 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
1902 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1903 for the reasons.
1904
70550acf
PH
19052012-01-28 Phil Hagelberg <phil@hagelb.org>
1906
eb864a71
LM
1907 * emacs-lisp/package.el (package-install):
1908 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 1909
0ce8e868
CY
19102012-01-28 Chong Yidong <cyd@gnu.org>
1911
cb882333
JB
1912 * emacs-lisp/package.el (package-maybe-load-descriptor):
1913 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
1914 (package-maybe-load-descriptor): Use it.
1915 (package-download-transaction): Fully load required packages
1916 inside the loop, so that `require' calls work (Bug#10593).
1917 (package-install): No need to call package-initialize now.
1918
2e7f3bea
CY
19192012-01-28 Chong Yidong <cyd@gnu.org>
1920
6e9bad14
CY
1921 * simple.el (deactivate-mark): Doc fix (Bug#8614).
1922
f823b8ca
CY
1923 * tooltip.el (tooltip-mode): Doc fix.
1924 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1925
2680c309
CY
1926 * frame.el (set-cursor-color): Doc fix (Bug#352).
1927
d7a9e63b
CY
1928 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1929 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1930
2e7f3bea
CY
1931 * cus-edit.el (custom-buffer-create-internal): Fix search button
1932 action (Bug#10542).
2ae01800 1933 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 1934
fc4f7a23
EW
19352012-01-27 Eduard Wiebe <usenet@pusto.de>
1936
1937 * dired.el (dired-mark-files-regexp):
1938 Include any subdirectory components. (Bug#10445)
1939
7dd37071
ML
19402012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
1941
1942 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1943 Handle [host]:port syntax. (Bug#10533)
1944
a268160b
AH
19452012-01-27 Alex Harsanyi <harsanyi@mac.com>
1946
1947 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1948
e43273ef
GM
19492012-01-26 Glenn Morris <rgm@gnu.org>
1950
1951 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1952 * term.el (term-raw-escape-map): Use Control-X-prefix.
1953 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
1954
1edf595d
MR
19552012-01-25 Martin Rudalics <rudalics@gmx.at>
1956
1957 * window.el (window-state-get, window--state-get-1): Don't deal
1958 with fixed-sizeness of windows. Simplify code.
1959
fa8eafef
JC
19602012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
1961
6df6ae42
JB
1962 * window.el (window--state-get-1, window--state-put-2):
1963 Don't save and restore the mark.
fa8eafef 1964
0b21c100
CY
19652012-01-25 Chong Yidong <cyd@gnu.org>
1966
1967 * custom.el (custom-variable-p): Doc fix.
1968
5ae1a6c8
GM
19692012-01-25 Glenn Morris <rgm@gnu.org>
1970
40047858
GM
1971 * dired.el (dired-goto-file): Handle some of the more common
1972 characters that `ls -b' escapes. (Bug#10596)
1973
5ddce96c
GM
1974 * progmodes/compile.el (compilation-next-error-function):
1975 Respect compilation-first-column in the "*compilation*" buffer.
1976 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
1977
5ae1a6c8
GM
1978 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
1979
b559f1a9
GM
19802012-01-24 Glenn Morris <rgm@gnu.org>
1981
1982 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
1983
6725d21a
JD
19842012-01-24 Julien Danjou <julien@danjou.info>
1985
1986 * color.el (color-rgb-to-hsl): Fix value computing.
1987 (color-hue-to-rgb): New function.
1988 (color-hsl-to-rgb): New function.
1989 (color-clamp, color-saturate-hsl, color-saturate-name)
1990 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1991 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
1992
70df4bbe
GM
19932012-01-24 Glenn Morris <rgm@gnu.org>
1994
1995 * vc/vc-rcs.el (vc-rcs-create-tag):
1996 * vc/vc-sccs.el (vc-sccs-create-tag):
1997 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
1998
802a2ae2
ML
19992012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2000
2001 * eshell/esh-util.el (eshell-read-hosts-file):
2002 Skip comment lines. (Bug#10549)
2003
d7128bb1
ML
2004 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2005
d1a5c3b4
JB
20062012-01-23 Juanma Barranquero <lekktu@gmail.com>
2007
2724d9c7
JB
2008 * subr.el (display-delayed-warnings): Doc fix.
2009 (collapse-delayed-warnings): New function to collapse identical
2010 adjacent warnings.
2011 (delayed-warnings-hook): Add it.
d1a5c3b4 2012
a5509865
MA
20132012-01-22 Michael Albinus <michael.albinus@gmx.de>
2014
2015 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2016
2017 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2018 properties, when "login-as" is set.
2019
2020 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2021 (tramp-default-user-alist): Don't add "pscp".
2022 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2023 property "login-as", if set. (Bug#10530)
2024
cc6d5805
MA
20252012-01-21 Michael Albinus <michael.albinus@gmx.de>
2026
2027 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2028 "plink1" and "psftp". (Bug#10530)
2029
20302012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
2031
2032 * international/mule-cmds.el (prefer-coding-system): Show a
2033 warning message if the default value of file-name-coding-system
2034 was not changed.
2035
f0960428
JC
20362012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2037
cb882333
JB
2038 * windmove.el (windmove-reference-loc):
2039 Fix windmove-reference-loc miscalculation.
f0960428 2040
dd6f2a63
JB
20412012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2042
2043 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2044 default unit.
2045
7b447e9b
GM
20462012-01-21 Glenn Morris <rgm@gnu.org>
2047
117a9ea1
GM
2048 * international/mule.el (auto-coding-alist): Add .tbz.
2049
7b447e9b
GM
2050 * files.el (local-enable-local-variables): Doc fix.
2051 (inhibit-local-variables-regexps): Rename from
2052 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
2053 Doc fix. Add some extensions from auto-coding-alist.
2054 (inhibit-local-variables-suffixes):
2055 Rename from inhibit-first-line-modes-suffixes. Doc fix.
2056 (inhibit-local-variables-p):
2057 New function, extracted from set-auto-mode-1.
2058 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
2059 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
2060 (hack-local-variables): Doc fix. Make the mode-only case
2061 respect enable-local-variables and friends.
2062 Respect inhibit-local-variables-regexps for file-locals, but
2063 not for directory-locals.
2064 (set-visited-file-name):
2065 Take account of inhibit-local-variables-regexps.
2066 Whether it applies may change as the file name is changed.
2067 * jka-cmpr-hook.el (jka-compr-install):
2068 * jka-compr.el (jka-compr-uninstall):
2069 Update for inhibit-first-line-modes-suffixes name change.
2070
dd6e3cdd
MR
20712012-01-20 Martin Rudalics <rudalics@gmx.at>
2072
2073 * help-macro.el (make-help-screen): Temporarily restore original
2074 binding for minor-mode-map-alist (Bug#10454).
2075
0d0deb38
JD
20762012-01-19 Julien Danjou <julien@danjou.info>
2077
2078 * color.el (color-name-to-rgb): Use the white color to find the max
2079 color component value and return correctly computed values.
2080 (color-name-to-rgb): Add missing float conversion for max value.
2081
34a02f46
MR
20822012-01-19 Martin Rudalics <rudalics@gmx.at>
2083
2084 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
2085 special state value for window-persistent-parameters.
2086 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
2087 (window--state-put-2): Reset all window parameters to nil before
2088 assigning values of persistent parameters.
2089
606c44c4
AM
20902012-01-18 Alan Mackenzie <acm@muc.de>
2091
2092 Eliminate sluggishness and hangs in fontification of "semicolon
2093 deserts".
2094
cb882333
JB
2095 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2096 Change value 10000 -> 3000.
606c44c4
AM
2097 (c-state-safe-place): Reformulate so it doesn't stack up an
2098 infinite number of wrong entries in c-state-nonlit-pos-cache.
2099 (c-determine-limit-get-base, c-determine-limit): New functions to
2100 determine backward search limits disregarding literals.
2101 (c-find-decl-spots): Amend commenting.
2102 (c-cheap-inside-bracelist-p): New function which detects "={".
2103
2104 * progmodes/cc-fonts.el
2105 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2106 backward search.
2107 (c-font-lock-declarations): Fix an occurrence of point being
2108 undefined. Check additionally for point being in a bracelist or
2109 near a macro invocation without a semicolon so as to avoid a
2110 fruitless time consuming search for a declarator. Give a more
2111 precise search limit for declarators using the new
2112 c-determine-limit.
2113
f3860cea
GM
21142012-01-18 Glenn Morris <rgm@gnu.org>
2115
2116 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2117 (set-auto-mode): Doc fixes.
2118
1db03b16
GM
21192012-01-17 Glenn Morris <rgm@gnu.org>
2120
0e6038be
GM
2121 * isearch.el (search-nonincremental-instead): Fix doc typo.
2122
1db03b16
GM
2123 * dired.el (dired-insert-directory): Handle newlines in directory name.
2124 (dired-build-subdir-alist): Unescape newlines in directory name.
2125
4cb0aa75
MA
21262012-01-17 Michael Albinus <michael.albinus@gmx.de>
2127
2128 * net/tramp.el (tramp-local-end-of-line): New defcustom.
2129 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2130 (tramp-action-terminal): Use it. (Bug#10530)
2131
1d00653d
SM
21322012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2133
2134 * minibuffer.el (completion--replace): Strip properties (bug#10062).
2135
6a6ee00d
MR
21362012-01-16 Martin Rudalics <rudalics@gmx.at>
2137
2138 * window.el (window-state-ignored-parameters): Remove variable.
2139 (window--state-get-1): Rename argument MARKERS to IGNORE.
2140 Handle persistent window parameters. Make copy of clone-of
2141 parameter only if requested. (Bug#10348)
2142 (window--state-put-2): Install a window parameter only if it has
2143 a non-nil value or an existing parameter shall be overwritten.
2144
97912def
MA
21452012-01-15 Michael Albinus <michael.albinus@gmx.de>
2146
2147 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2148
688070a5
EZ
21492012-01-14 Eli Zaretskii <eliz@gnu.org>
2150
2151 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2152 don't pass the (nil) value of `upnode' to string-match.
2153
301afadc
CY
21542012-01-14 Chong Yidong <cyd@gnu.org>
2155
2156 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 2157 Fix values recognized by the cursorBlink resource.
301afadc 2158
9e5788aa
PE
21592012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2160
2161 * epg.el (epg--make-temp-file): Avoid permission race condition
2162 when running on old Emacs versions (bug#10403).
2163
3cdb7f5a
GM
21642012-01-14 Glenn Morris <rgm@gnu.org>
2165
2166 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2167
8c82b1b4
AM
21682012-01-13 Alan Mackenzie <acm@muc.de>
2169
2170 Fix filling for when filladapt mode is enabled.
2171
2172 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2173 c-mask-paragraph, pass in `fill-paragraph' rather than
2174 `fill-region-as-paragraph'. (This is a reversion of a previous
2175 change.)
eb864a71
LM
2176 * progmodes/cc-mode.el (c-basic-common-init):
2177 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 2178
e517eda4
GM
21792012-01-13 Glenn Morris <rgm@gnu.org>
2180
1498536e
GM
2181 * dired.el (dired-switches-escape-p): New function.
2182 (dired-insert-directory): Use dired-switches-escape-p.
2183 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2184
e517eda4
GM
2185 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2186
328f984d
GM
21872012-01-12 Glenn Morris <rgm@gnu.org>
2188
2189 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2190 changes in adaptive-fill-regexp. (Bug#10276)
2191
2cc769a8
AM
21922012-01-11 Alan Mackenzie <acm@muc.de>
2193
2194 Fix Emacs bug #10463 - put `widen's around the critical spots.
2195
1d00653d 2196 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
2197 widen around each invocation of c-state-pp-to-literal. Remove an
2198 unused let variable.
2199
e52c37fa
GM
22002012-01-11 Glenn Morris <rgm@gnu.org>
2201
2202 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 2203 Doc fix.
e52c37fa 2204
96f8741e
CY
22052012-01-10 Chong Yidong <cyd@gnu.org>
2206
1d00653d
SM
2207 * net/network-stream.el (network-stream-open-starttls):
2208 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
2209 response to the capability command.
2210
b09a806e
GM
22112012-01-10 Glenn Morris <rgm@gnu.org>
2212
2213 * mail/unrmail.el (unrmail): Tweak previous change.
2214
7655cb66
CY
22152012-01-09 Chong Yidong <cyd@gnu.org>
2216
2217 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2218
9d5a8f0b
AM
22192012-01-08 Alan Mackenzie <acm@muc.de>
2220
2221 Optimise font locking in long enum definitions.
2222
2223 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2224 arm to a cond form to handle enums.
2225 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2226 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2227
9a0115ab 22282012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
2229
2230 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 2231 (Bug#10401)
6bb72cbd 2232
f186bb95
LMI
22332012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2234
29232a68
LMI
2235 * faces.el (set-face-attribute): Clarify the meaning of the nil
2236 frame (bug#10294).
2237
4e5d086d
LMI
2238 * subr.el (with-selected-frame): Mention that the selected frame
2239 is restored (bug#9980).
2240
8e66aebe
LMI
2241 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2242 (bug#9759).
2243
cd394be1 2244 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
2245 (password-read): Don't autoload unused function.
2246
adf4e762
JB
22472012-01-07 Juanma Barranquero <lekktu@gmail.com>
2248
2249 * progmodes/which-func.el (which-func-mode): Turn into a
2250 non-interactive function and mark as obsolete (bug#10428).
2251
89bd9ccd
CY
22522012-01-06 Chong Yidong <cyd@gnu.org>
2253
2254 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2255 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2256 functions, along with 1 and -1.
2257
4afee9d5
EZ
22582012-01-06 Eli Zaretskii <eliz@gnu.org>
2259
2260 * time.el (display-time-load-average)
2261 (display-time-default-load-average): Doc fixes. See the thread
2262 starting at
2263 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2264 for the details.
2265
536aea70
GM
22662012-01-06 Glenn Morris <rgm@gnu.org>
2267
665ae865
GM
2268 * mail/unrmail.el (unrmail): Give an explicit error if the input file
2269 has no messages. (Bug#10377)
2270
c869783d
GM
2271 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2272 than Info-edit. (Bug#10385)
2273
2bb4227e
GM
2274 * time.el (display-time-load-average, display-time-next-load-average):
2275 Doc fixes.
2276
7d5944b9
GM
2277 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2278 local setting of buffer-read-only to the input buffer. (Bug#10419)
2279
536aea70
GM
2280 * calendar/calendar.el (calendar-mode):
2281 Locally set scroll-margin to 0. (Bug#10379)
2282
7dccca16
UM
22832012-01-06 Ulrich Mueller <ulm@gentoo.org>
2284
2285 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
2286
afbb7930
GM
22872012-01-05 Glenn Morris <rgm@gnu.org>
2288
2289 * eshell/em-unix.el (diff-no-select): Autoload it.
2290 (eshell/diff): Use diff-no-select. (Bug#10420)
2291
04482335
CY
22922012-01-05 Chong Yidong <cyd@gnu.org>
2293
7baca3bc
CY
2294 * shell.el (shell-dynamic-complete-functions): Revert last change.
2295 (shell-command-completion-function): New function.
2296 (shell-completion-vars): Use it to implement
2297 shell-completion-execonly (Bug#10417).
2298
04482335
CY
2299 * custom.el (enable-theme): Don't set custom-safe-themes.
2300
1d00653d
SM
2301 * cus-theme.el (custom-theme-merge-theme):
2302 Ignore custom-enabled-themes and custom-safe-themes.
04482335 2303
bb5aa5d6
MM
23042012-01-05 Michael R. Mauger <mmaug@yahoo.com>
2305
2306 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2307 first prompt in `sql-interacive-mode'.
2308 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 2309 keywords.
6df6ae42 2310 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
2311 (sql-product-interactive): Bug fix: Set `sql-buffer' in
2312 context of original buffer. Invoke `sql-login-hook'.
2313
a7183d7c
EZ
23142012-01-04 Eli Zaretskii <eliz@gnu.org>
2315
2316 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2317 letters in cite-prefix.
2318
a1eacd1e
LMI
23192012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2320
2321 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2322
787cdb34
CY
23232012-01-03 Chong Yidong <cyd@gnu.org>
2324
1d00653d
SM
2325 * shell.el (shell-dynamic-complete-functions):
2326 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
2327 comint-filename-completion first (Bug#10417).
2328
30710442
RS
23292012-01-02 Richard Stallman <rms@gnu.org>
2330
2331 * battery.el (battery-status-function):
2332 Detect when to use battery-yeeloong-sysfs.
2333 (battery-echo-area-format): Add string for Yeeloong.
2334 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2335 (battery-yeeloong-sysfs): New function.
2336
f75bfc33
CY
23372012-01-02 Chong Yidong <cyd@gnu.org>
2338
2339 * dirtrack.el (dirtrack-list): Eliminate unused third element.
2340 (dirtrack): Merge code for handling relative filenames in prompt
2341 from shell-dir-cookie-watcher.
2342 (dirtrack-debug-message): New arg to avoid excess format calls.
2343
2344 * shell.el (shell-dir-cookie-re): Variable deleted.
2345 (shell-dir-cookie-watcher): Function deleted.
2346 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2347 with dirtrack-mode.
2348
651e947e
EZ
23492012-01-01 Eli Zaretskii <eliz@gnu.org>
2350
1d00653d
SM
2351 * term/w32-win.el (dynamic-library-alist) <gnutls>:
2352 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
2353 libgnutls-26.dll.
2354
94d4c7dc
AS
23552011-12-31 Andreas Schwab <schwab@linux-m68k.org>
2356
2357 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2358
8d43f3cd
EZ
23592011-12-31 Eli Zaretskii <eliz@gnu.org>
2360
2361 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2362 headers of non-MIME messages, when rmail-enable-mime is non-nil.
2363
98c8795a
MA
23642011-12-29 Michael Albinus <michael.albinus@gmx.de>
2365
2366 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2367 also for alternative shells.
2368 (tramp-open-connection-setup-interactive-shell): Check, whether
2369 the shell is a busybox.
2370 (tramp-send-command): Don't suppress multiple prompts for
2371 busyboxes, it hurts.
2372
51281b32
CY
23732011-12-28 Chong Yidong <cyd@gnu.org>
2374
2375 * progmodes/gdb-mi.el (gdb-get-source-file-list)
2376 (gdb-get-source-file): Move mode line update to
2377 gdb-get-source-file (Bug#10087).
2378
2170cb53
CY
23792011-12-25 Chong Yidong <cyd@gnu.org>
2380
2381 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2382 gud-gdb-marker-filter without taking it as an argument.
2383 (gud-gdb-run-command-fetch-lines): Caller changed.
2384 (gud-gdb-completion-function): New variable.
2385 (gud-gdb-completion-at-point): Use it.
2386 (gud-gdb-completions-1): Split from gud-gdb-completions.
2387
2388 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2389 function as separate arguments.
2390 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2391 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2392 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2393 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2394 (gdb-stopped, def-gdb-auto-update-trigger)
2395 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
2396 (gdb-get-changed-registers, gdb-get-main-selected-frame):
2397 Callers changed.
2170cb53
CY
2398 (gud-gdbmi-completions): New function.
2399 (gdb): Use it for generating the completion table.
2400
be8b11bb
AM
24012011-12-24 Alan Mackenzie <acm@muc.de>
2402
2403 Introduce a mechanism to widen the region used in context font
1d00653d 2404 locking. Use this to protect declarations from losing their contexts.
be8b11bb 2405
1d00653d
SM
2406 * progmodes/cc-langs.el (c-before-font-lock-functions):
2407 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 2408 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
2409 functions to be run just before context (etc.) font locking.
2410
2411 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 2412 New, functionality extracted from
be8b11bb 2413 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 2414 (c-in-after-change-fontification): New variable.
be8b11bb
AM
2415 (c-after-change): Set c-in-after-change-fontification.
2416 (c-set-fl-decl-start): Rejig its interface, so it can be called
2417 from both after-change and context fontifying.
b81d40f0
JB
2418 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2419 New functions.
2420 (c-standard-font-lock-fontify-region-function): New variable.
2421 (c-font-lock-fontify-region): New function.
be8b11bb 2422
341cf6ac
JL
24232011-12-24 Juri Linkov <juri@jurta.org>
2424
2425 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2426 (Bug#10348)
2427
bffcee0a
MA
24282011-12-23 Michael Albinus <michael.albinus@gmx.de>
2429
2430 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2431 existence of source file. (Bug#10325)
2432
cb5e207c
AM
24332011-12-23 Alan Mackenzie <acm@muc.de>
2434
2435 Fix unstable fontification inside templates.
2436
b81d40f0
JB
2437 * progmodes/cc-langs.el (c-before-font-lock-functions):
2438 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
2439 additionally has c-set-fl-decl-start. The other languages (apart
2440 from AWK) have that as a single entry.
2441
b81d40f0
JB
2442 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2443 The functionality for "local" declarations has been extracted to
cb5e207c
AM
2444 c-set-fl-decl-start.
2445
b81d40f0
JB
2446 * progmodes/cc-mode.el (c-common-init, c-after-change):
2447 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
2448 (c-set-fl-decl-start): New function, extracted from
2449 c-font-lock-enclosing-decls and enhanced.
2450
60ff536c
JB
24512011-12-23 Juanma Barranquero <lekktu@gmail.com>
2452
2453 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2454
1c4757d6
JL
24552011-12-22 Juri Linkov <juri@jurta.org>
2456
2457 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
2458
d031f2c7
CY
24592011-12-22 Chong Yidong <cyd@gnu.org>
2460
2461 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2462
bace743a
DA
24632011-12-21 Drew Adams <drew.adams@oracle.com>
2464
2465 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2466
728a1f2b
JC
24672011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2468
2469 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2470
0d373f73
TZ
24712011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2472
fec0aaa4
TZ
2473 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2474 highlighting and support. Fix up comments for capitalization.
2475 (cfengine-mode-debug): New var.
2476 (cfengine3-mode): Change the modeline indicator to "CFE3".
2477 (cfengine3-font-lock-keywords): Improve defun highlighting.
2478 (cfengine2-actions): Rename from `cfengine-actions'.
2479 (cfengine2-font-lock-keywords): Rename from
2480 `cfengine-font-lock-keywords'.
2481 (cfengine2-imenu-expression): Rename from
2482 `cfengine-imenu-expression'.
2483 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2484 (cfengine2-beginning-of-defun): Rename from
2485 `cfengine-beginning-of-defun'.
2486 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2487 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2488 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2489 modeline indicator to "CFE2".
2490 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2491 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 2492
bc86f573
CY
24932011-12-21 Chong Yidong <cyd@gnu.org>
2494
2495 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2496 filename argument.
2497
d45ba96b
MR
24982011-12-20 Martin Rudalics <rudalics@gmx.at>
2499
2500 * window.el (window-normalize-buffer-to-display): Remove.
2501 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2502
a6198c90
CY
25032011-12-19 Chong Yidong <cyd@gnu.org>
2504
2505 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2506 Don't signal an error in a predicate function; return non-nil.
2507 (vc-dir-mark-file): Move the error here.
2508 (vc-dir-mark-unmark): If acting on the region, keep going if one
2509 of the entries cannot be marked/unmarked.
2510 (vc-dir-mark-all-files): If current entry is a directory, mark
2511 only child files, as documented.
2512
34c5fb55
VB
25132011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2514
2515 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2516 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2517 addition.
2518
c803b2b7
JD
25192011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2520
2521 * term/ns-win.el (ns-get-selection-internal)
2522 (ns-store-selection-internal): Declare.
1154d12e
JB
2523 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2524 Declare as obsolete.
2525 (ns-get-pasteboard, ns-paste-secondary):
2526 Use ns-get-selection-internal.
2527 (ns-set-pasteboard, ns-copy-including-secondary):
2528 Use ns-store-selection-internal.
c803b2b7 2529
9cff91f8 25302011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
2531
2532 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 2533 (vc-deduce-fileset): Doc fix.
99a289d9 2534
f16c898a
AS
25352011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2536
2537 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2538
763237c4
SS
25392011-12-13 Sam Steingold <sds@gnu.org>
2540
2541 * man.el (Man-getpage-in-background): When running under a
2542 window-system, ignore $MANWIDTH and $COLUMNS.
2543
5fc1c122
KH
25442011-12-15 Kenichi Handa <handa@m17n.org>
2545
2546 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2547 (setup-ethiopic-environment-internal): Comment out key-binding for
2548 ethio-toggle-punctuation.
2549
13d49cbb
AM
25502011-12-13 Alan Mackenzie <acm@muc.de>
2551
898169a2
AM
2552 Add the switch statement to AWK Mode.
2553
7a71b18d 2554 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
2555 "default" to the keywords regexp.
2556
7a71b18d 2557 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 2558 expression as the rest.
1d00653d
SM
2559 (c-nonlabel-token-key): Allow string literals for AWK.
2560 Refactor for the other modes.
898169a2 2561
13d49cbb 2562 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 2563 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
2564 routines. Limit backward searching in c-font-lock-enclosing.decl.
2565
2566 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2567 pp-state and literal type in addition to the limits.
1d00653d 2568 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 2569 (c-state-literal-at): Use the above new defun.
1d00653d
SM
2570 (c-slow-in-literal, c-fast-in-literal): Remove.
2571 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
2572
2573 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2574 being in a literal. Add a limit for backward searching.
2575
2576 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2577 c-slow-in-literal.
2578
15e0efc7
SM
25792011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2580
2581 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2582
454592a6
MR
25832011-12-13 Martin Rudalics <rudalics@gmx.at>
2584
2585 * window.el (delete-other-windows): Use correct frame in call to
2586 window-with-parameter.
2587
87393f26
DP
25882011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2589
2590 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2591 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2592 (makefile-gmake-statements, makefile-makepp-statements):
2593 Use it and add new makepp keywords.
2594 (makefile-makepp-font-lock-keywords): Add new patterns.
2595 (makefile-match-function-end): Match new [...] and [[...]].
2596
11636b22
JB
25972011-12-11 Juanma Barranquero <lekktu@gmail.com>
2598
2599 * ses.el (ses-call-printer-return, ses-cell-property-get)
2600 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2601 (ses-create-cell-variable, ses-reset-header-string)
2602 (ses-cell-set-formula, ses-repair-cell-reference-all)
2603 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2604 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2605 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2606 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2607 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2608 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2609 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2610 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2611 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2612 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2613 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2614 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2615
cf018193
VB
26162011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2617
2618 * ses.el: The overall change is to add cell renaming, that is
2619 setting fancy names for cell symbols other than name matching
2620 "\\`[A-Z]+[0-9]+\\'" regexp .
2621 (ses-create-cell-variable): New defun.
2622 (ses-relocate-formula): Relocate formulas only for cells the
2623 symbols of which are not renamed, i.e. symbols whose names do not
2624 match regexp "\\`[A-Z]+[0-9]+\\'".
2625 (ses-relocate-all): Relocate values only for cells the symbols of
2626 which are not renamed.
2627 (ses-load): Create cells variables as the (ses-cell ...) are read,
2628 in order to check row col consistency with cell symbol name only
2629 for cells that are not renamed.
2630 (ses-replace-name-in-formula): New defun.
2631 (ses-rename-cell): New defun.
2632
ee957461
CY
26332011-12-11 Chong Yidong <cyd@gnu.org>
2634
2635 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2636 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2637
9a9e9ef0
MR
26382011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2639
2640 * window.el (other-window): Fix docstring.
2641
92a8eba5
EZ
26422011-12-10 Eli Zaretskii <eliz@gnu.org>
2643
2644 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
2645 `from' or `to' address before taking its substring.
2646 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
2647 encoded name is chopped in the middle of the encoded string, and
2648 thus displayed encoded.
2649
e152e577
JB
26502011-12-10 Juanma Barranquero <lekktu@gmail.com>
2651
2652 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2653
e5d84bfe
EZ
26542011-12-10 Eli Zaretskii <eliz@gnu.org>
2655
2656 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2657 to use texinfo-update-node and commands that call it if the
2658 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 2659 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
2660 (texinfo-all-menus-update, texinfo-master-menu)
2661 (texinfo-update-node, texinfo-every-node-update)
2662 (texinfo-multiple-files-update): Doc fix. Warn against updating
2663 all the @node lines.
2664 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
2665 argument is numeric. Explain better in the doc string what the
2666 function really does.
2667 (texinfo-insert-master-menu-list): Improve the error message
2668 displayed if there's no menu in the Top node.
2669 (Bug#2975) See also this thread:
e5d84bfe
EZ
2670 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2671
1d84e9bb
MG
26722011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2673
2674 * speedbar.el (speedbar-supported-extension-expressions):
2675 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2676
382c953b
JB
26772011-12-09 Juanma Barranquero <lekktu@gmail.com>
2678
2679 * printing.el (pr-mode-alist):
2680 * simple.el (filter-buffer-substring-functions)
2681 (completion-list-insert-choice-function):
2682 * window.el (window-with-parameter, window-atom-root)
2683 (window-sides-slots, window-size-fixed, window-min-delta)
2684 (window-max-delta, window--resize-mini-window)
2685 (window--resize-child-windows-normal, window-tree)
2686 (delete-other-windows, quit-window, split-window)
2687 (display-buffer-record-window, special-display-buffer-names)
2688 (special-display-regexps, special-display-popup-frame)
2689 (same-window-p, split-window-sensibly)
2690 (display-buffer-overriding-action, display-buffer-alist)
2691 (display-buffer-base-action, display-buffer, switch-to-buffer)
2692 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2693 (fit-window-to-buffer, recenter-positions)
2694 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2695 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2696 and remove unneeded backslashes in docstrings.
2697
39c9faef
SM
26982011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2699
98449af8
SM
2700 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2701
39c9faef
SM
2702 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2703 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2704 end in ".mk".
2705 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2706 when reading the makefile (bug#10116).
2707
86ed9fdc
SM
27082011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2709
2710 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2711 (bug#10116).
2712
5580f89d
GM
27132011-12-06 Glenn Morris <rgm@gnu.org>
2714
2715 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2716
28d3917c
CY
27172011-12-06 Chong Yidong <cyd@gnu.org>
2718
2719 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2720
a98edce9
JB
27212011-12-06 Juanma Barranquero <lekktu@gmail.com>
2722
2723 * textmodes/table.el (table-shorten-cell): Fix typo.
2724
e65adfac
CG
27252011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2726
2727 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2728
71cc0b74
EZ
27292011-12-05 Eli Zaretskii <eliz@gnu.org>
2730
2731 * descr-text.el (describe-char): Fix display of strong
2732 right-to-left characters and directional embeddings and overrides.
2733
2734 * simple.el (what-cursor-position): Fix display of codepoints of
2735 strong right-to-left characters.
2736
315bc30d
CY
27372011-12-05 Chong Yidong <cyd@gnu.org>
2738
2739 * faces.el (read-color): Doc fix.
2740
58a70b94
GM
27412011-12-05 Glenn Morris <rgm@gnu.org>
2742
2743 * align.el (align--set-marker): Add doc-string.
2744 Don't try to move something that is not a marker. (Bug#10216)
2745
5158face
GM
27462011-12-04 Glenn Morris <rgm@gnu.org>
2747
2748 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2749 overly zealous deletion of trailing whitespace.
2750
520fca41
JB
27512011-12-04 Juanma Barranquero <lekktu@gmail.com>
2752
2753 * server.el (server-delete-client): On Windows, do not try to delete
2754 the only terminal.
2755 (server-process-filter): On Windows, treat requests for a tty frame as
2756 if they were for a GUI frame if the running server is in GUI mode.
2757
5e605a2e
GM
27582011-12-03 Glenn Morris <rgm@gnu.org>
2759
2760 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2761
5c3fe83f
SM
27622011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2763
6f5e57e7
SM
2764 * electric.el: Streamline electric-indent's hook.
2765 (electric-indent-chars): Revert to simple list.
2766 (electric-indent-functions): New var.
2767 (electric-indent-post-self-insert-function): Use it.
2768
5c3fe83f
SM
2769 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2770 there's no inferior buffer (bug#10196).
2771 (prolog-consult-compile): Don't use toggle-read-only.
2772
6bdac736
MA
27732011-12-02 Michael Albinus <michael.albinus@gmx.de>
2774
2775 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2776 interrupt. (Bug#10187)
2777
6131ba7f
SM
27782011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2779
99c79fee
SM
2780 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2781 (bug#9160).
2782
6131ba7f
SM
2783 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2784 (bug#10191).
2785
cb0a02ea
JL
27862011-12-02 Juri Linkov <juri@jurta.org>
2787
2788 * info.el (Info-search): Display "end of manual" when Isearch
2789 reaches the end of single-file Info manual. (Bug#9918)
2790
66e0570c
EZ
27912011-12-02 Eli Zaretskii <eliz@gnu.org>
2792
2793 * isearch.el (isearch-message-prefix): Run the input method part
2794 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2795
02b16839
JL
27962011-12-02 Juri Linkov <juri@jurta.org>
2797
2798 * isearch.el (isearch-occur): Use `word-search-regexp' for
2799 `isearch-word'.
2800 (isearch-search-and-update): Add condition for `isearch-word' and
2801 call `word-search-regexp'. (Bug#10145)
2802
0b950688
GM
28032011-12-01 Glenn Morris <rgm@gnu.org>
2804
2805 * eshell/em-hist.el (eshell-hist-initialize):
2806 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 2807 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 2808
9505c3c7
SM
28092011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2810
2811 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2812
1bbe96b2 28132011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 2814
a1beca85
SM
2815 * progmodes/verilog-mode.el (verilog-pretty-expr):
2816 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
2817 verilog, such as += *= and the like.
2818 (verilog-assignment-operator-re): Regular expression to find the
2819 assigment operator in a verilog assignment.
2820 (verilog-assignment-operation-re): Regular expression to find an
2821 assignment statement for pretty-expr.
2822 (verilog-in-attribute-p): Query returns true if point is in an
2823 attribute context; used to skip these for expression line up from
2824 pretty-expr.
2825 (verilog-in-parameter-p): Query returns true if point is in an
2826 parameter definition context; used to skip these for expression
2827 line up from pretty-expr.
2828 (verilog-in-parenthesis-p): Query returns true if point is in a
2829 parenthetical expression, specifically ( ) but not [ ] or { };
2830 used by pretty-expr.
2831 (verilog-just-one-space): If there is no space, don't add one.
2832 (verilog-get-lineup-indent-2): Specifically skip just attribute
2833 contexts for expression lineup, rather than skipping all
2834 parenthetical expressions.
2835 (verilog-calculate-indent): Fix comment, and fix indent.
2836 (verilog-do-indent): Indent declarations in lists (suggested by
2837 Joachim Lechner).
2838 (verilog-mode-abbrev-table): Populate abbrev mode with the various
2839 skeleton items.
2840 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2841 by Alain Mellan).
2842
1bbe96b2 28432011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
2844
2845 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2846 parameters with embedded comments. Reported by Ray Stevens.
2847 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2848 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2849 Reported by Tim Holt.
2850 (verilog-auto): Fix AUTOing a upper module then AUTOing module
2851 instantiated by upper module causing wrong expansion until AUTOed a
2852 second time. Reported by K C Buckenmaier.
2853 (verilog-diff-auto): Fix showing .* as a difference when
2854 `verilog-auto-star-save' off. Reported by Dan Dever.
2855 (verilog-auto-reset, verilog-read-always-signals)
2856 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2857 temporary signals in reset list if
2858 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
2859 style to each signal's assignment type, bug381.
2860 Reported by Thomas Esposito.
6288f0ca
WS
2861 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2862 (verilog-uvm-statement-re): Support UVM indentation and
2863 highlighting, with old OVM keywords only.
a1beca85 2864 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
2865 Support AUTOTIEOFF creating non-wire data types.
2866 Suggested by Jonathan Greenlaw.
6288f0ca
WS
2867 (verilog-auto-insert-lisp, verilog-delete-to-paren)
2868 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2869 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
2870 (verilog-read-sub-decls, verilog-read-sub-decls-line):
2871 Fix mismatching parenthesis inside commented out code when deleting
382c953b 2872 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
2873 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2874 non-numeric vector width. Reported by Alex Reed.
2875 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 2876 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
2877 (verilog-auto-delete-trailing-whitespace):
2878 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
2879 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
2880 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2881 Fix verilog-scan-cache corruption when running user AUTO expansion
2882 hooks that call indentation routines.
2883 (verilog-simplify-range-expression): Fix typo ignoring lower case
2884 identifiers.
2885 (verilog-delete-auto): Fix delete-autos to also remove user created
2886 automatics, as long as they start with AUTO.
2887 (verilog-batch-diff-auto, verilog-diff-auto)
2888 (verilog-diff-function): Add `verilog-diff-auto' and bind to
2889 "C-c?" to report differences in AUTO expansion, ignoring spaces.
2890 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2891 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
2892 (verilog-re-search-forward-quick, verilog-syntax-ppss):
2893 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
2894 is disabled and its cache will get corrupt, causing AUTOS not to
2895 expand. Instead use only -quick functions.
2896 (verilog-scan-region): Fix scanning over escaped quotes.
2897 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2898 (verilog-re-search-backward-quick)
2899 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2900 related functions now ignore strings, to fix misparsing of strings
2901 with magic comments embedded in them.
a1beca85
SM
2902 (verilog-read-auto-template):
2903 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2904 Reported by Brad Dobbie.
2905 (verilog-read-auto-template):
2906 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 2907 Reported by Brad Dobbie.
6288f0ca
WS
2908 (verilog-auto-inst, verilog-auto-inst-param)
2909 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2910 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
2911 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
2912 debugging templates without merge conflicts, bug357.
2913 Reported by Brad Dobbie.
2914 (verilog-read-auto-template):
2915 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
2916 Reported by Brad Dobbie.
2917 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2918 abbrevs so user won't be asked to save.
2919 (verilog-read-auto-lisp-present): Fix to start at beginning of
2920 buffer in case called outside of verilog-auto.
2921 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2922 to "X-2". Reported by Matthew Myers.
2923 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2924 all inputs from module templates. Reported by Leith Johnson.
2925 (verilog-module-inside-filename-p): Fix locating programs as with
2926 modules.
2927 (verilog-auto-inst-port): Fix vl-width expressions when using
2928 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
2929 (verilog-decls-get-regs, verilog-decls-get-signals,
2930 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2931 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2932 verilog-read-decls): Combine reg and wire structures into one var
2933 structure to represent SystemVerilog concepts.
2934 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2935 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
2936 (verilog-auto-wire-type, verilog-insert-definition):
2937 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
2938 SystemVerilog "logic" keyword instead of "wire"/"reg".
2939 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2940 to declares outputs that also have assignments (presumably in an
a1beca85
SM
2941 ifdef or generate if so there's not a driver conflict).
2942 Reported by Matthew Myers.
2943 (verilog-auto-declare-nettype, verilog-insert-definition):
2944 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
2945 `default_nettype none. Reported by Julian Gorfajn.
2946 (verilog-read-always-signals-recurse, verilog-read-decls)
2947 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2948 malformed end statement, bug325. Reported by Joshua Wise and
2949 Andrew Drake.
2950 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2951 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
2952 when expanding .* in interfaces, bug320.
2953 Reported by Pierre-David Pfister.
6288f0ca 2954 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
2955 name and open parenthesis, bug317.
2956 Reported by Pierre-David Pfister.
6288f0ca
WS
2957 (verilog-simplify-range-expression): Fix simplification of
2958 multiplications inside AUTOWIRE connections, bug303.
2959 (verilog-auto-inst-port): Support parameter expansion in
2960 multidimensional arrays.
2961 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
2962 after "assert property". Reported by Julian Gorfajn.
2963 (verilog-simplify-range-expression): Fix "couldn't merge" errors
2964 with multiplication, bug303.
2965 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
2966 Reported by Jan Frode Lonnum.
2967
1bbe96b2
GM
29682011-11-30 Juanma Barranquero <lekktu@gmail.com>
2969
2970 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
2971 (hfy-shell-file-name, hfy-shell):
2972 * international/fontset.el (x-decompose-font-name): Fix typos.
2973
29742011-11-29 Ken Brown <kbrown@cornell.edu>
2975
2976 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
2977 (gdb-version): Remove defvar.
2978 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
2979 (gdb-gud-context-command, gdb-non-stop-handler)
2980 (gdb-current-context-command, gdb-stopped): Use it.
2981 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
2982 (gdb-non-stop-handler): Don't enable pretty-printing here.
2983 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
2984 non-stop mode. Use the following.
2985 (gdb-check-target-async): New defun.
2986 (gud-watch, gdb-stopped): Fix whitespace.
2987 (gdb-get-source-file): Don't try to display the source file if
2988 `gdb-main-file' is nil.
2989
29902011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2991
2992 * align.el: Try to generate fewer markers (bug#10047).
2993 (align--set-marker): New macro.
2994 (align-region): Use it.
2995
c935221f
SM
29962011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2997
2998 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
2999
e70b5064
CY
30002011-11-29 Chong Yidong <cyd@gnu.org>
3001
3002 * indent.el (indent-for-tab-command, indent-according-to-mode):
3003 Doc fix.
3004 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3005
f3af92b7
MA
30062011-11-29 Michael Albinus <michael.albinus@gmx.de>
3007
3008 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3009 aware of remote file names. (Bug#10124)
3010
ed472be9
CY
30112011-11-29 Chong Yidong <cyd@gnu.org>
3012
3013 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3014
24510c22
SM
30152011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3016
3017 * files.el (find-file): Don't use force-same-window (bug#10144).
3018 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3019 use pop-to-buffer if the selected window can't be used.
3020 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3021
c60c3703
EZ
30222011-11-28 Eli Zaretskii <eliz@gnu.org>
3023
3024 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3025 special-mode-map.
3026
e95def75
CY
30272011-11-28 Chong Yidong <cyd@gnu.org>
3028
3029 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3030
c3f1c606
NR
30312011-11-27 Nick Roberts <nickrob@snap.net.nz>
3032
3033 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3034 gdb-get-source-file-list on gdb-create-source-file-list.
3035
00db469c
EZ
30362011-11-26 Eli Zaretskii <eliz@gnu.org>
3037
3038 * whitespace.el (whitespace-newline): Use a different foreground
3039 color for 16-color light-background displays.
3040
4ad3bc2a
CY
30412011-11-24 Chong Yidong <cyd@gnu.org>
3042
3043 * window.el (display-buffer--special-action): Doc fix.
3044
e9fce1ac
JB
30452011-11-25 Juanma Barranquero <lekktu@gmail.com>
3046
3047 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3048 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3049 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3050 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3051 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3052 (avl-tree-stack-first):
3053 * emacs-lisp/cconv.el (cconv--analyse-use):
3054 * net/gnutls.el (gnutls-negotiate): Fix typos.
3055
cb825e5d
GM
30562011-11-24 Glenn Morris <rgm@gnu.org>
3057
3adbe224
GM
3058 * lpr.el (lpr-windows-system, lpr-lp-system):
3059 * mail/binhex.el (binhex-begin-line):
3060 * progmodes/grep.el (grep-history, grep-find-history):
3061 * textmodes/flyspell.el:
3062 * vc/pcvs-defs.el (cvs-global-menu):
3063 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3064 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3065 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3066
321decc8
GM
3067 * net/tls.el: Fix case of "GnuTLS".
3068
420b63ad
GM
3069 * paths.el (rmail-file-name): Format doc-string for make-docfile.
3070
cb825e5d
GM
3071 * version.el (emacs-build-system): Give it a doc-string.
3072
a0649f08
JL
30732011-11-24 Juri Linkov <juri@jurta.org>
3074
3075 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3076
c0bc0fd4
GM
30772011-11-24 Glenn Morris <rgm@gnu.org>
3078
3079 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3080 if called on a non-mime message just toggle the headers. (Bug#8006)
3081
20db1522
JB
30822011-11-24 Juanma Barranquero <lekktu@gmail.com>
3083
3084 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3085 (allout-lead-with-comment-string, allout-structure-deleted-hook)
3086 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3087 (allout-rebullet-heading, allout-open-sibtopic)
3088 (allout-toggle-current-subtree-encryption)
3089 (allout-toggle-subtree-encryption, allout-encrypt-string)
3090 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3091 (allout-distinctive-bullets-string, allout-auto-activation):
3092 * window.el (window-normalize-buffer-to-display):
3093 * progmodes/verilog-mode.el (verilog-batch-indent):
3094 * textmodes/bibtex.el (bibtex-field-braces-opt)
3095 (bibtex-field-strings-opt):
3096 * vc/cvs-status.el (cvs-tree-merge):
3097 Fix typos.
3098
7262a87c
MA
30992011-11-23 Michael Albinus <michael.albinus@gmx.de>
3100
3101 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3102 `non-essential' to t, in order to avoid remote connections.
3103
283430a1
EZ
31042011-11-23 Eli Zaretskii <eliz@gnu.org>
3105
a1beca85
SM
3106 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3107 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
3108 case-insensitively.
3109
d2992a38
ML
31102011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3111
3112 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
3113
50419064
GM
31142011-11-23 Glenn Morris <rgm@gnu.org>
3115
da94eca1
GM
3116 * paths.el (rmail-file-name): Reformat the doc-string so that it
3117 is picked up.
3118
9aac4de2
GM
3119 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3120 (rmail-auto-file): Ignore case in the "special" field names,
3121 as mail-fetch-field does for all others.
3122
8038d2d2
GM
3123 * mail/rmail.el (rmail-forward):
3124 * mail/rmailkwd.el (rmail-set-label):
3125 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3126 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
3127
f3fe222a
GM
3128 * mail/rmail.el (rmail-current-message): Doc fix.
3129
50419064
GM
3130 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
3131
28109f49
SM
31322011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3133
3134 * server.el (server-eval-and-print): Allow C-g (bug#6585).
3135
394c65f1
GM
31362011-11-22 Glenn Morris <rgm@gnu.org>
3137
3138 * mail/rmailmm.el (test-rmail-mime-handler)
3139 (test-rmail-mime-bulk-handler)
3140 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3141
f2a0aa3a
JL
31422011-11-21 Juri Linkov <juri@jurta.org>
3143
1154d12e
JB
3144 * calc/calc.el (calc-read-key-sequence):
3145 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 3146
9c34a344
LMI
31472011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3148
3149 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3150 Tell the caller that the next line needs recomputation, even
3151 though it doesn't start a sexp (bug#10094).
3152
f04a3be9
SM
31532011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3154
3155 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3156
7978747f
SM
31572011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3158
f04a3be9
SM
3159 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3160 Use force-same-window.
7978747f 3161
fe7a3057
JB
31622011-11-20 Juanma Barranquero <lekktu@gmail.com>
3163
3164 * descr-text.el (describe-char-unicode-data):
3165 * json.el (json-string-escape):
3166 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3167 (Footnote-unicode, Footnote-style-p):
3168 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3169
24901d61
CY
31702011-11-20 Chong Yidong <cyd@gnu.org>
3171
3172 * window.el (replace-buffer-in-windows): Restore interactive spec.
3173
bac7ff22
SM
31742011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3175
24f3d7b9
SM
3176 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3177
bac7ff22
SM
3178 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3179 (byte-compile-global-not-obsolete-vars): New var.
3180 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3181 Use it.
3182 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3183
cd1181db
JB
31842011-11-20 Juanma Barranquero <lekktu@gmail.com>
3185
3186 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3187 * progmodes/pascal.el (electric-pascal-equal):
3188 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3189 * xml.el (xml-substitute-special): Fix typos.
3190
7fb18e9e
GM
31912011-11-20 Glenn Morris <rgm@gnu.org>
3192
3193 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3194 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3195 Doc fixes.
3196 (rmail-decode-mime-charset): Mark as obsolete.
3197
3198 * mail/rmailsum.el (rmail-message-regexp-p-1):
3199 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3200 Before using mime functions, check they are set. (Bug#10077)
3201
d5a6b3ba
JL
32022011-11-19 Juri Linkov <juri@jurta.org>
3203
3204 * info.el (Info-finder-find-node): Use `package--builtins' instead
3205 of `package-alist'. Use node names formed by the pattern "Keyword "
3206 and the keyword name.
3207
e981b61f
AS
32082011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3209
1d00653d 3210 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 3211
3ffbc301
JL
32122011-11-19 Juri Linkov <juri@jurta.org>
3213
3214 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3215 that calls `revert-buffer' on all Info buffers. (Bug#9915)
3216 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3217 `old-history', `old-history-forward'. Add let-binding
3218 `window-selected'. Remove calls to `kill-buffer',
3219 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
3220 before calling `Info-find-node', so `Info-find-node-2' will reread
3221 the Info file. Restore window positions only when `window-selected'
3222 is non-nil.
3223
30c62133
JL
32242011-11-19 Juri Linkov <juri@jurta.org>
3225
3226 * isearch.el (isearch-lazy-highlight-new-loop):
3227 Remove condition `(not isearch-error)'. (Bug#9918)
3228
3229 * misearch.el (multi-isearch-search-fun): Add condition
3230 `(not bound)' to ignore lazy-highlighting search.
3231 Add the search-failed message "end of multi" when the end of
3232 multi-sequence is reached. Uncapitalize the search-failed
3233 message "Repeat for next buffer".
3234
3235 * info.el (Info-search): Add the search-failed message
3236 "end of the manual" when the end of the manual is reached
3237 in Isearch mode.
3238
645ca9cf
JL
32392011-11-19 Juri Linkov <juri@jurta.org>
3240
3241 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3242 Use non-destructive `remove' instead of `delete' because
3243 `Info-history-list' stored to `Info-isearch-initial-history-list' in
3244 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3245
df754f66
JL
32462011-11-19 Juri Linkov <juri@jurta.org>
3247
3248 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3249 to nil instead of binding `search-ring' and `regexp-search-ring'.
3250 (Bug#9185)
3251
0e23d96a
EZ
32522011-11-19 Eli Zaretskii <eliz@gnu.org>
3253
3254 * simple.el (line-move): Force movement by logical lines for any
3255 hscrolled window, not only when auto-hscroll-mode is on.
3256 (line-move-visual): Update doc string to that effect. (Bug#10076)
3257
8a6ccb66
AS
32582011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3259
3260 * language/european.el (macintosh): Define as alias for mac-roman.
3261
49ae5b39
EZ
32622011-11-19 Eli Zaretskii <eliz@gnu.org>
3263
3264 * mail/rmailmm.el (rmail-mime-display-header)
3265 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3266 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3267 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3268 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3269 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3270 of a raw aref.
3271 (rmail-mime-entity-segment): To get past the tagline, move forward
3272 2 more lines, to account for the 2 empty lines that precede and
3273 follow the line with the buttons.
3274 (rmail-mime-update-tagline): Move one more line, to get past the
3275 empty line that follows the buttons in the tagline. (Bug#9520)
3276
c56cad4a
MR
32772011-11-19 Martin Rudalics <rudalics@gmx.at>
3278
3279 * window.el (window-max-delta-1, window-min-delta-1)
3280 (window-min-size-1, window-state-get-1, window-state-put-1)
3281 (window-state-put-2): Use "window--" prefix.
3282
cbe71af3
SM
32832011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3284
2ad52c60
SM
3285 * emacs-lisp/smie.el: Improve warnings and conflict detection.
3286 (smie-warning-count): New var.
3287 (smie-set-prec2tab): Use it.
3288 (smie-bnf->prec2): Improve warnings. Add docstring.
3289 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3290 (smie-bnf--set-class): New function.
3291 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
3292 corner case.
3293
6944dbc1
SM
3294 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3295 (compilation-error-properties, compilation-move-to-column):
3296 Handle compilation-first-column while in the target buffer.
3297
c400c4d7
SM
3298 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3299 Don't hardcode point-min==1.
3300
6dbe3e96
SM
3301 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3302 (eshell-rewrite-for-command): Remove workaround.
3303 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3304 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3305 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3306
cbe71af3
SM
3307 * files-x.el (modify-file-local-variable): Obey commenting conventions.
3308
a8e1496d
GM
33092011-11-17 Glenn Morris <rgm@gnu.org>
3310
3311 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3312 Ignore buffer-local generated-autoload-file if it is the same
3313 as the global value. (Bug#10049)
3314
df85d315
JB
33152011-11-17 Juanma Barranquero <lekktu@gmail.com>
3316
3317 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3318 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3319 (reftex-toc-previous-heading, reftex-toc-max-level)
3320 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3321 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3322 (reftex-toc-do-promote, reftex-toc-promote-prepare)
3323 (reftex-toc-promote-action, reftex-toc-extract-section-number)
3324 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3325 (reftex-toc-rename-label, reftex-toc-visit-location)
3326 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3327 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3328 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3329 leaving "*toc*" only for references to the buffer.
3330
a0c2d0ae
MR
33312011-11-17 Martin Rudalics <rudalics@gmx.at>
3332
3333 * window.el (window-resize, delete-window, split-window):
3334 Replace window-splits by window-combination-resize.
1d00653d 3335 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 3336
35c0bac8
GM
33372011-11-17 Glenn Morris <rgm@gnu.org>
3338
3339 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3340 Make bash entry derive from sh entry, not shell entry.
3341
d0c8fc8a
MA
33422011-11-16 Michael Albinus <michael.albinus@gmx.de>
3343
d0c8fc8a
MA
3344 * net/tramp-cache.el (tramp-flush-file-property): Flush also
3345 properties of linked files. (Bug#9879)
3346
7262a87c
MA
3347 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3348 local file name.
3349
7877f373
JB
33502011-11-16 Juanma Barranquero <lekktu@gmail.com>
3351
3352 * menu-bar.el (menu-bar-file-menu):
3353 * printing.el (pr-ps-utility):
3354 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3355 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3356 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3357 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3358 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3359 (icalendar--convert-cyclic-to-ical)
3360 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3361 (icalendar--convert-ical-to-diary)
3362 (icalendar--convert-recurring-to-diary)
3363 (icalendar--convert-non-recurring-all-day-to-diary)
3364 (icalendar-import-format-sample):
3365 * progmodes/idlw-shell.el (idlwave-shell-mode):
3366 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3367 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3368 (vhdl-ps-print-init): Fix typos.
3369
10649b82
KM
33702011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
3371
9d0cfcd6
GM
3372 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3373 FSF and collapse date sequence, obscure author/maintainer email address
3374 better, remove extra version line, track relocation of author's webpage.
10649b82 3375
9d0cfcd6
GM
3376 * progmodes/python.el (python-pdbtrack-input-prompt)
3377 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3378 regular python pdb prompts. Adjustments shamelessly taken exactly as
3379 suggested in EmacsWiki page (tiny change):
3380 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 3381
58179cce
JB
33822011-11-16 Juanma Barranquero <lekktu@gmail.com>
3383
3384 * expand.el (expand-pos, expand-index, expand-point):
3385 Remove redundant info from docstring.
3386 (expand-add-abbrevs): Doc fix.
3387 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3388 (expand-sample-perl-mode-expand-list): Fix typos.
3389
3390 * net/dbus.el (dbus-event-member-name):
3391 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3392 * term/pc-win.el (msdos-create-frame-with-faces):
3393 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3394
b6f67890
MR
33952011-11-16 Martin Rudalics <rudalics@gmx.at>
3396
3397 * window.el (split-window, window-state-get-1)
3398 (window-state-put-1, window-state-put-2): Rename occurrences of
3399 window-nest to window-combination-limit.
1d00653d 3400 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 3401
ce7ddba0
CY
34022011-11-16 Chong Yidong <cyd@gnu.org>
3403
3404 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3405 regexp (Bug#10033).
3406
3ae704f4
SM
34072011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3408
3409 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3410 `completing-read' will remove *Completions* and will preserve
3411 current-buffer for us.
3412 (tmm-add-prompt): Users of *Completions* will always (re)set its
3413 major mode.
3414 (tmm-old-comp-map): Remove.
3415
6ad1cdde
GM
34162011-11-16 Glenn Morris <rgm@gnu.org>
3417
3418 * mail/rmailedit.el: Require rmailmm when compiling.
3419 (rmail-old-mime-state): New declaration.
3420 (rmail-edit-current-message): If editing a mime message,
3421 edit the "raw" message from the mbox buffer.
3422 (rmail-cease-edit): Handle mime messages. (Bug#9840)
3423
d20faa20
GM
34242011-11-15 Glenn Morris <rgm@gnu.org>
3425
3426 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3427 which wasn't being used. Add optional arg to force given state.
3428 (rmail-mime): Add optional arg to force given state.
3429
c7015153
JB
34302011-11-15 Juanma Barranquero <lekktu@gmail.com>
3431
3432 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3433 * frame.el (display-mm-dimensions-alist):
3434 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3435 (outline-move-subtree-down):
3436 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3437 (newsticker--treeview-do-get-node):
3438 * net/quickurl.el (quickurl-list-buffer-name):
3439 * progmodes/dcl-mode.el (dcl-mode):
3440 * progmodes/gdb-mi.el (gdb-mapcar*):
3441 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3442
45261b50
GM
34432011-11-15 Glenn Morris <rgm@gnu.org>
3444
3445 * mail/rmail.el (rmail-file-coding-system): It's only ever used
3446 in a boolean sense, so just make it a boolean, and fix the doc.
3447 (rmail-show-mime-function, rmail-mime-feature)
3448 (rmail-require-mime-maybe): Doc fixes.
3449 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3450
3451 * mail/rmailmm.el (rmail-show-mime): Doc fix.
3452
0d26e0b6
JB
34532011-11-15 Juanma Barranquero <lekktu@gmail.com>
3454
3455 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3456 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3457 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3458 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3459
447f30f6
GM
34602011-11-15 Glenn Morris <rgm@gnu.org>
3461
672b871d
GM
3462 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3463 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3464 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3465 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3466 (rmail-mime, rmail-show-mime): Doc fixes.
3467
f6aa5bb1
GM
3468 * term/ns-win.el (mode-line-frame-identification):
3469 Leave it alone. (Bug#10051)
3470
947cd66b
GM
3471 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3472
447f30f6
GM
3473 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3474 Handle empty buffers. (Bug#9978)
3475
0b381c7e
JB
34762011-11-14 Juanma Barranquero <lekktu@gmail.com>
3477
3478 * international/mule.el (define-charset):
3479 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3480 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3481 * progmodes/verilog-mode.el (verilog-backward-token):
3482 * textmodes/ispell.el (lookup-words):
3483 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3484
71e027ac
GM
34852011-11-14 Glenn Morris <rgm@gnu.org>
3486
56632ce4
GM
3487 * progmodes/executable.el
3488 (executable-make-buffer-file-executable-if-script-p):
3489 Handle file-modes returning nil.
3490
40500957
GM
3491 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3492 message - not necessary, and causes problems. (Bug#9831)
3493
071c2340
GM
3494 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3495
d3cfca60
GM
3496 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3497
71e027ac
GM
3498 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3499 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
3500 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3501
89d61221
MR
35022011-11-12 Martin Rudalics <rudalics@gmx.at>
3503
3504 * window.el (window-resize, delete-window): Use window-splits
3505 variable instead of function.
3506 (window-state-get-1, window-state-put-2, window-state-put):
3507 Don't deal with windows' splits status.
3508
98282f6f
GM
35092011-11-12 Glenn Morris <rgm@gnu.org>
3510
3511 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3512 (apropos-documentation): Doc fixes.
3513
40a8bdf6
JB
35142011-11-11 Juanma Barranquero <lekktu@gmail.com>
3515
3516 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3517 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3518
65bd19ff
SM
35192011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3520
3521 * electric.el (electric-indent-post-self-insert-function): Make it
3522 possible for a char to only indent in some circumstances.
3523 (electric-indent-mode): Simplify.
3524
54f9154c
MR
35252011-11-11 Martin Rudalics <rudalics@gmx.at>
3526
3527 * window.el (windows-with-parameter): Remove unused function.
3528 (windows-at-side): Rename to window-at-side-list.
3529 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
3530 (window-side-check, window-size-ignore, window-size-fixed-1)
3531 (window-in-direction-2): Prefix with "window--".
3532 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 3533
68cbc58b
GM
35342011-11-11 Glenn Morris <rgm@gnu.org>
3535
3536 * subr.el (eval-after-load): If FILE is already loaded,
3537 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3538
b2621720
GM
35392011-11-10 Glenn Morris <rgm@gnu.org>
3540
9a4de110
GM
3541 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3542 Call svn via vc-svn-command rather than vc-do-command.
3543 (vc-svn-command): Add --non-interactive. (Bug#9993)
3544 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3545
b2621720
GM
3546 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3547 Add toggle-read-only. (Bug#7292)
3548 * files.el (toggle-read-only): Mention that it should only
3549 be used interactively. (Bug#10006)
3550
1dce7193
SM
35512011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3552
d9ac1a1e
SM
3553 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3554 Adjust regexp for OCaml warnings.
3555
0c325082
SM
3556 * electric.el (electric-pair-post-self-insert-function): Let user
3557 turn it off buffer-locally (bug#9932).
3558
90132c14
SM
3559 * progmodes/python.el (python-beginning-of-statement):
3560 Rewrite (bug#2703).
3561
1dce7193
SM
3562 * progmodes/compile.el: Better handle TABs (bug#9749).
3563 (compilation-internal-error-properties)
3564 (compilation-next-error-function): Obey the target buffer's
3565 compilation-error-screen-columns.
3566
c4e7c63a
JB
35672011-11-09 Juanma Barranquero <lekktu@gmail.com>
3568
3569 * progmodes/meta-mode.el: Remove obsolete comments.
3570 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3571 Fix typos in docstrings.
3572
2cffd681
MR
35732011-11-09 Martin Rudalics <rudalics@gmx.at>
3574
3575 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 3576 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
3577 (window--resizable): New function. Make all callers of
3578 window-resizable call window--resizable instead.
3579 (window-resizable): Rewrite in terms of window--resizable.
3580
0edcba87
GM
35812011-11-08 Glenn Morris <rgm@gnu.org>
3582
3583 * progmodes/delphi.el (delphi-mode-syntax-table):
3584 Let define-derived-mode define a proper syntax table. (Bug#9994)
3585
4b0d61e3
SM
35862011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3587
3588 * window.el: Stay away from defsubst.
3589 (window-list-no-nils): Remove.
3590 (window-state-get-1, window-state-get): Use backquote instead.
3591
cd394be1 35922011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 3593
4b0d61e3 3594 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 3595 Fix incorrect use of default argument in `completing-read'.
3596
e1c2c6f2
MR
35972011-11-08 Martin Rudalics <rudalics@gmx.at>
3598
3599 * window.el (display-buffer-function, special-display-function):
3600 Mention display-buffer-record-window but do not mention
3601 help-setup parameter in doc-strings.
b3f4a882 3602 (window-min-delta): Fix doc-string typo.
e1c2c6f2 3603
105216ed
CY
36042011-11-08 Chong Yidong <cyd@gnu.org>
3605
3606 * window.el (window-total-height, window-total-width): Doc fix.
3607 (window-body-size): Move from C.
3608 (window-body-height, window-body-width): Move to C.
3609
0a9f9ab5
SM
36102011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3611
3612 * window.el: Make special-display like display-buffer-alist (bug#9532).
3613 (display-buffer--special-action): New function, morphed
3614 from display-buffer--special.
3615 (display-buffer): Use it to handle special-display-buffers at higher
3616 priority (just after display-buffer-alist).
3617 (display-buffer-fallback-action, display-buffer--other-frame-action)
3618 (pop-to-buffer-same-window): Remove display-buffer--special.
3619
a769dd15
GM
36202011-11-07 Glenn Morris <rgm@gnu.org>
3621
3622 * calendar/cal-menu.el (cal-menu-set-date-title):
3623 Do nothing if not in a calendar. (Bug#9976)
3624
05a61ee3
SM
36252011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3626
3627 * files.el (find-file): Always use selected-window.
3628
be7f5545
MR
36292011-11-07 Martin Rudalics <rudalics@gmx.at>
3630
3631 * window.el (window-combinations): Make WINDOW argument
3632 mandatory. Rewrite doc-string.
3633 (walk-window-subtree, window-atom-check, window-min-delta)
3634 (window-max-delta, window--resize-this-window)
3635 (window--resize-root-window-vertically, window-tree)
3636 (balance-windows, window-state-put): Rewrite doc-strings as to
3637 not mention the term "subwindow".
3638 (window--resize-subwindows-skip-p): Rename to
3639 window--resize-child-windows-skip-p.
3640 (window--resize-subwindows-normal): Rename to
3641 window--resize-child-windows-normal.
3642 (window--resize-subwindows): Rename to
3643 window--resize-child-windows.
3644 (window-or-subwindow-p): Rename to window--in-subtree-p.
3645
3c6702ef
ML
36462011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3647
3648 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3649 Ensure that mbox format messages end in two newlines (Bug#9974).
3650
49745b39
CY
36512011-11-06 Chong Yidong <cyd@gnu.org>
3652
3653 * window.el (window-combination-p): Function deleted; its
3654 side-effect is not used in any existing code.
3655 (window-combinations, window-combined-p): Call window-*-child
3656 directly.
3657
24300f5f
CY
36582011-11-05 Chong Yidong <cyd@gnu.org>
3659
3660 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
3661 (window-size-ignore, window-state-get): Callers changed.
3662 (window-normalize-window): Rename from window-normalize-any-window.
3663 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 3664 (window-normalize-live-window): Delete.
447f16b8
CY
3665 (window-combination-p, window-combined-p, window-combinations)
3666 (walk-window-subtree, window-atom-root, window-min-size)
3667 (window-sizable, window-sizable-p, window-size-fixed-p)
3668 (window-min-delta, window-max-delta, window-resizable)
3669 (window-resizable-p, window-full-height-p, window-full-width-p)
3670 (window-current-scroll-bars, window-point-1, set-window-point-1)
3671 (window-at-side-p, window-in-direction, window-resize)
3672 (adjust-window-trailing-edge, maximize-window, minimize-window)
3673 (window-deletable-p, delete-window, delete-other-windows)
3674 (record-window-buffer, unrecord-window-buffer)
3675 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3676 (quit-window, split-window, window-state-put)
3677 (set-window-text-height, fit-window-to-buffer)
3678 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 3679
89bd5ee1
EZ
36802011-11-04 Eli Zaretskii <eliz@gnu.org>
3681
53479029
EZ
3682 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3683 rfc2047-decode-string.
3684 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3685 warnings.
3686
89bd5ee1
EZ
3687 * window.el (window-body-height, window-body-width): Mention in
3688 the doc string that the return values are in frame's canonical
3689 units. (Bug#9949)
3690
bd17fdee
AM
36912011-11-03 Alan Mackenzie <acm@muc.de>
3692
3693 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3694 change in cc-engine.el.
3695
acc825c5
SM
36962011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3697
3698 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3699
1885e5b8
MR
37002011-11-02 Martin Rudalics <rudalics@gmx.at>
3701
3702 * window.el (quit-window): Call unrecord-window-buffer after
3703 showing another buffer in the window. (Bug#9937)
acc825c5 3704 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 3705
ebe06da9
JB
37062011-11-02 Juanma Barranquero <lekktu@gmail.com>
3707
3708 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3709 Accept status with more than 9 shelves. (Bug#9935)
3710 Reported by Colin D Bennett <colin@gibibit.com>.
3711
4ee88440
MR
37122011-11-01 Martin Rudalics <rudalics@gmx.at>
3713
3714 * help.el (with-help-window): Don't reference
3715 temp-buffer-show-specifiers in doc-string.
3716
08e1d82c
AS
37172011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3718
3719 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3720 menu-item.
3721
84bd6e9e
VJL
37222011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3723
3724 * whitespace.el: New version 13.2.2.
3725 (whitespace-newline-mode): Disable properly. Reported by Sarah
3726 <EmacsWiki>.
3727
dba0634a
UJ
37282011-10-30 Ulf Jasper <ulf.jasper@web.de>
3729
3730 * net/newst-treeview.el: Remove "Time-stamp".
3731 (newsticker--group-manage-orphan-feeds): Do not call
3732 newsticker--treeview-tree-update.
db22a3c2
JB
3733 (newsticker-treeview-update, newsticker-treeview):
3734 Call newsticker--treeview-tree-update if necessary.
dba0634a 3735
3d8daefe
MR
37362011-10-30 Martin Rudalics <rudalics@gmx.at>
3737
3738 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
3739 (window-iso-combinations): Remove "iso-" infix.
3740 Suggested by Chong Yidong.
3d8daefe
MR
3741 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3742 (window-max-delta-1, window-resize, window--resize-siblings)
3743 (window--resize-this-window, adjust-window-trailing-edge)
3744 (split-window, balance-windows-1)
3745 (shrink-window-if-larger-than-buffer):
3746 * calendar/calendar.el (calendar-generate-window):
db22a3c2 3747 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 3748
1bc4c3ae
SM
37492011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3750
3751 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3752 in place (bug#9907).
3753 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3754 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3755 (eshell-structure-basic-command, eshell-rewrite-while-command)
3756 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3757 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3758 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3759 (eshell-do-pipelines-synchronously, eshell-eval-command):
3760 Use backquotes and prefer setq to set.
3761 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3762 (eshell-macrop): Use functionp.
c1e2f5fa 3763 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 3764
30b65d9c
CY
37652011-10-30 Chong Yidong <cyd@gnu.org>
3766
3767 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3768 instead of set-mark (Bug#9810).
3769
2d197ffb
CY
37702011-10-30 Chong Yidong <cyd@gnu.org>
3771
3772 * window.el (split-window-below, split-window-right): Rename from
3773 split-window-above-each-other and split-window-side-by-side
3774 respectively. All callers changed.
3775 (split-window-sensibly, split-window-sensibly): Use them.
3776 (split-window-keep-point): Doc fix.
3777
3778 * isearch.el: Add isearch-scroll property to split-window-below
3779 and split-window-right.
3780
3781 * follow.el (follow-mode):
3782 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3783 * progmodes/ada-xref.el (ada-gdb-application):
3784 * emulation/vip.el (vip-buffer-in-two-windows):
3785 * image-dired.el (image-dired-dired-with-window-configuration):
3786 * dired-x.el (dired-do-find-marked-files):
3787 * dired.el (dired-pop-to-buffer):
3788 * bs.el (bs--show-with-configuration):
3789 * vc/emerge.el (emerge-setup-windows):
3790 * textmodes/two-column.el (2C-two-columns):
3791 * textmodes/reftex-toc.el (reftex-toc):
3792 * progmodes/gdb-mi.el (gdb-setup-windows):
3793 * progmodes/fortran.el (fortran-window-create):
3794 * net/newst-treeview.el (newsticker--treeview-window-init):
3795 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3796 * emulation/tpu-edt.el (tpu-gold-map):
3797 * emulation/crisp.el (crisp-mode-map):
3798 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3799
38bb2ca8
CY
38002011-10-29 Chong Yidong <cyd@gnu.org>
3801
aa4de341
CY
3802 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3803
e1eb5385
CY
3804 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3805
5d2ece3c
CY
3806 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3807 forged Ispell output (Bug#7904).
3808
38bb2ca8
CY
3809 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3810
d0af9f77
SM
38112011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3812
3813 * doc-view.el: Avoid ugly errors about not finding nil.
3814 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3815 (doc-view-dvipdf-program, doc-view-unoconv-program)
3816 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3817 Avoid nil or absolute file name as default value.
3818 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3819
52bedd34
AM
38202011-10-28 Alan Mackenzie <acm@muc.de>
3821
db22a3c2 3822 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 3823
7e43cfa5
AM
38242011-10-28 Alan Mackenzie <acm@muc.de>
3825
3826 Amend the handling of c-beginning/end-of-defun in nested declaration
3827 scopes.
3828
52bedd34
AM
3829 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3830 cc-langs.el. Change it to a defcustom.
7e43cfa5 3831
52bedd34
AM
3832 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3833 cc-vars.el.
7e43cfa5 3834
d0af9f77
SM
3835 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3836 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 3837
52bedd34 3838 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 3839 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
3840 (c-widen-to-enclosing-decl-scope): New function.
3841 (c-while-widening-to-decl-block): New macro.
3842 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3843 outward for defun boundaries, and correspondingly change symbol
3844 `respect-enclosure' to `go-outward'.
3845 (c-declaration-limits): Change algorithm to report only the "innermost"
3846 defun's boundaries.
3847
1a2ce9ee
DD
38482011-10-28 Deniz Dogan <deniz@dogan.se>
3849
3850 * net/rcirc.el (rcirc-mode): Use hard newlines.
3851
bc97a826
AM
38522011-10-28 Alan Mackenzie <acm@muc.de>
3853
3854 Amend to indent and fontify macros "which include their own semicolon"
3855 correctly, using the "virtual semicolon" mechanism.
3856
52bedd34 3857 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 3858
d0af9f77 3859 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 3860 Recode to scan one line at a time rather than having \n and \r
58179cce 3861 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 3862 (c-forward-label): Amend for virtual semicolons.
58179cce 3863 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 3864
52bedd34
AM
3865 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3866 of the new C macros.
bc97a826 3867
52bedd34 3868 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
3869 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3870 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
3871 (c-opt-cpp-macro-define): Make into a full language variable.
3872 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3873 AWK Mode (including \n, \r) removed, no longer needed.
3874
d0af9f77
SM
3875 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3876 Invoke c-make-macro-with-semi-re.
bc97a826 3877
52bedd34
AM
3878 * progmodes/cc-vars.el (c-macro-with-semi-re):
3879 (c-macro-names-with-semicolon): New variables.
58179cce 3880 (c-make-macro-with-semi-re): New function.
bc97a826 3881
7a6c0941
SM
38822011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3883
3884 * vc/log-edit.el: Fill empty field rather than adding new one.
3885 (log-edit-add-field): New function.
3886 (log-edit-insert-changelog): Use it.
3887
b0c4cdcf
ML
38882011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3889
3890 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3891
ee1f1da9
SM
38922011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3893
3894 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3895 (gdb--check-interpreter): New function.
3896 (gdb): Use it.
3897
51bc5f8b
GM
38982011-10-27 Glenn Morris <rgm@gnu.org>
3899
416a2c45
GM
3900 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3901 (least-positive-float, least-negative-float)
3902 (least-positive-normalized-float, least-negative-normalized-float)
3903 (float-epsilon, float-negative-epsilon):
3904 Remove unnecessary declarations.
3905
3906 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3907 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3908 (least-positive-float, least-negative-float)
3909 (least-positive-normalized-float, least-negative-normalized-float)
3910 (float-epsilon, float-negative-epsilon): Add doc-strings,
3911 based on those in cl.texi.
3912
51bc5f8b
GM
3913 * files.el (set-visited-file-name): If the major-mode changed,
3914 reload the local variables. (Bug#9796)
3915
15de15c6
CY
39162011-10-27 Chong Yidong <cyd@gnu.org>
3917
3918 * subr.el (change-major-mode-after-body-hook): New hook.
3919 (run-mode-hooks): Run it.
3920
ee1f1da9
SM
3921 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3922 Use change-major-mode-before-body-hook.
15de15c6
CY
3923
3924 * simple.el (fundamental-mode):
3925 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3926 change introducing fundamental-mode-hook.
3927
5430d399
JB
39282011-10-26 Juanma Barranquero <lekktu@gmail.com>
3929
acc825c5 3930 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 3931
ad74a69e
MA
39322011-10-26 Michael Albinus <michael.albinus@gmx.de>
3933
3934 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 3935 tramp.el explicitly. (Bug#7583)
ad74a69e 3936
71d4c2a5
SM
39372011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3938
3939 * progmodes/octave-mod.el:
3940 * progmodes/octave-inf.el: Update maintainer.
3941
b1f6fa26
CY
39422011-10-26 Chong Yidong <cyd@gnu.org>
3943
3944 * subr.el (with-wrapper-hook): Rewrite doc.
3945
3f04efd6
MA
39462011-10-25 Michael Albinus <michael.albinus@gmx.de>
3947
3948 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 3949 filenames "/method:foo:". (Bug#9793)
3f04efd6 3950
410488d3
SM
39512011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3952
3953 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3954 (bug#9865).
3955
c1ebb47e
GM
39562011-10-24 Glenn Morris <rgm@gnu.org>
3957
3958 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
3959
7f5c46c7
MA
39602011-10-24 Michael Albinus <michael.albinus@gmx.de>
3961
3962 * notifications.el: Add the requirement of a running D-Bus session
3963 bus to the Commentary.
3964
db2440b6
JL
39652011-10-24 Juri Linkov <juri@jurta.org>
3966
3967 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3968 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
3969 (Bug#9364)
3970
feecf435
JL
39712011-10-24 Juri Linkov <juri@jurta.org>
3972
3973 * info.el (Info-following-node-name-re): Add newline to the list
3974 of allowed characters for leading space. (Bug#9824)
3975
a3839de2
SM
39762011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3977
acc825c5
SM
3978 * progmodes/octave-inf.el (inferior-octave-mode-map):
3979 Fix C-c C-h binding.
a3839de2
SM
3980 * progmodes/octave-mod.el (octave-help): Remove.
3981
09388e76
MA
39822011-10-23 Michael Albinus <michael.albinus@gmx.de>
3983
3984 Sync with Tramp 2.2.3.
3985
3986 * net/tramp-cache.el (top): Pacify byte-compiler using
3987 `init-file-user' and `site-run-file'.
3988
3989 * net/trampver.el: Update release number.
3990
86c60681
CY
39912011-10-23 Chong Yidong <cyd@gnu.org>
3992
3993 * files.el (toggle-read-only): Remove obsolete comment about
3994 version control.
3995
3996 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
3997 for toggle-read-only. Note that this hasn't called vc-next-action
3998 since 2008-05-02, though it wasn't documented at the time.
3999
a3839de2
SM
4000 * vc/ediff-init.el (ediff-toggle-read-only-function):
4001 Use toggle-read-only.
86c60681 4002
cd5495ff
AM
40032011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4004
4005 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4006 of c-parse-state.
4007
00b77525 4008 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 4009 correct faulty logical expression.
cd5495ff
AM
4010 (c-parse-state-state, c-record-parse-state-state):
4011 (c-replay-parse-state-state): New defvar/defuns.
4012 (c-debug-parse-state): Use new functions.
4013
42ee24ed
MR
40142011-10-22 Martin Rudalics <rudalics@gmx.at>
4015
4016 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 4017 last fix. Use window-in-direction correctly.
42ee24ed 4018
a7dee7e7
CY
40192011-10-21 Chong Yidong <cyd@gnu.org>
4020
4021 * progmodes/idlwave.el (idlwave-mode):
4022 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
4023 require-final-newline; that's done in prog-mode.
4024 Suggested by Stefan Monnier.
a7dee7e7 4025
e07b9a6d
MR
40262011-10-21 Martin Rudalics <rudalics@gmx.at>
4027
4028 * mouse.el (mouse-drag-window-above)
4029 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4030 (mouse-drag-mode-line-1, mouse-drag-header-line)
4031 (mouse-drag-vertical-line-rightward-window): Remove.
4032 (mouse-drag-line): New function.
4033 (mouse-drag-mode-line, mouse-drag-header-line)
4034 (mouse-drag-vertical-line): Call mouse-drag-line.
4035 * window.el (window-at-side-p, windows-at-side): New functions.
4036
7e1361d9
UM
40372011-10-21 Ulrich Mueller <ulm@gentoo.org>
4038
4039 * tar-mode.el (tar-grind-file-mode):
4040 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4041
30fcaf3a
CY
40422011-10-21 Chong Yidong <cyd@gnu.org>
4043
4044 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
4045 * progmodes/vera-mode.el (vera-mode):
4046 Use mode-require-final-newline.
30fcaf3a 4047
516eddb0
GM
40482011-10-20 Glenn Morris <rgm@gnu.org>
4049
db22a3c2 4050 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 4051
10d5f513
CS
40522011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
4053
4054 * emulation/cua-base.el (cua-set-mark): Fix case of string.
4055
ac6c8639
CY
40562011-10-20 Chong Yidong <cyd@gnu.org>
4057
4058 * emulation/cua-base.el (cua-mode):
4059 * mail/footnote.el (footnote-mode):
4060 * mail/mailabbrev.el (mail-abbrevs-mode):
4061 * net/xesam.el (xesam-minor-mode):
4062 * progmodes/bug-reference.el (bug-reference-mode):
4063 * progmodes/cap-words.el (capitalized-words-mode):
4064 * progmodes/compile.el (compilation-minor-mode)
4065 (compilation-shell-minor-mode):
4066 * progmodes/gud.el (gud-tooltip-mode):
4067 * progmodes/hideif.el (hide-ifdef-mode):
4068 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4069 * progmodes/subword.el (subword-mode):
4070 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4071 * progmodes/which-func.el (which-function-mode):
4072 * term/tvi970.el (tvi970-set-keypad-mode):
4073 * term/vt100.el (vt100-wide-mode):
4074 * textmodes/flyspell.el (flyspell-mode):
4075 * textmodes/ispell.el (ispell-minor-mode):
4076 * textmodes/nroff-mode.el (nroff-electric-mode):
4077 * textmodes/paragraphs.el (use-hard-newlines):
4078 * textmodes/refill.el (refill-mode):
4079 * textmodes/reftex.el (reftex-mode):
4080 * textmodes/rst.el (rst-minor-mode):
4081 * textmodes/sgml-mode.el (html-autoview-mode)
4082 (sgml-electric-tag-pair-mode):
4083 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4084 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4085 * emulation/crisp.el (crisp-mode):
4086 * emacs-lisp/eldoc.el (eldoc-mode):
4087 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4088 minor mode behavior.
4089
aa42ab43
JL
40902011-10-19 Juri Linkov <juri@jurta.org>
4091
4092 * descr-text.el (describe-char): Add #x2010 and #x2011 to
4093 the list of hard-coded chars with escape-glyph face.
4094
89400f1d
SM
40952011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4096
4097 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4098
305c07f6
MA
40992011-10-19 Michael Albinus <michael.albinus@gmx.de>
4100
4101 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4102 running process.
4103
13754b54
GM
41042011-10-19 Glenn Morris <rgm@gnu.org>
4105
4106 * vc/vc-bzr.el (vc-bzr-after-dir-status):
4107 Ignore ignored files. (Bug#9726)
4108
06e21633
CY
41092011-10-19 Chong Yidong <cyd@gnu.org>
4110
4111 Doc fix for minor modes, stating that an omitted argument enables
4112 the mode unconditionally when called from Lisp.
4113
4114 * abbrev.el (abbrev-mode):
4115 * allout.el (allout-mode):
4116 * autoinsert.el (auto-insert-mode):
4117 * autoarg.el (autoarg-mode, autoarg-kp-mode):
4118 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4119 (global-auto-revert-mode):
4120 * battery.el (display-battery-mode):
4121 * composite.el (global-auto-composition-mode)
4122 (auto-composition-mode):
4123 * delsel.el (delete-selection-mode):
4124 * desktop.el (desktop-save-mode):
4125 * dired-x.el (dired-omit-mode):
4126 * dirtrack.el (dirtrack-mode):
4127 * doc-view.el (doc-view-minor-mode):
4128 * double.el (double-mode):
4129 * electric.el (electric-indent-mode, electric-pair-mode):
4130 * emacs-lock.el (emacs-lock-mode):
4131 * epa-hook.el (auto-encryption-mode):
4132 * follow.el (follow-mode):
4133 * font-core.el (font-lock-mode):
4134 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4135 * help.el (temp-buffer-resize-mode):
4136 * hilit-chg.el (highlight-changes-mode)
4137 (highlight-changes-visible-mode):
4138 * hi-lock.el (hi-lock-mode):
4139 * hl-line.el (hl-line-mode, global-hl-line-mode):
4140 * icomplete.el (icomplete-mode):
4141 * ido.el (ido-everywhere):
4142 * image-file.el (auto-image-file-mode):
4143 * image-mode.el (image-minor-mode):
4144 * iswitchb.el (iswitchb-mode):
4145 * jka-cmpr-hook.el (auto-compression-mode):
4146 * linum.el (linum-mode):
4147 * longlines.el (longlines-mode):
4148 * master.el (master-mode):
4149 * mb-depth.el (minibuffer-depth-indicate-mode):
4150 * menu-bar.el (menu-bar-mode):
4151 * minibuf-eldef.el (minibuffer-electric-default-mode):
4152 * mouse-sel.el (mouse-sel-mode):
4153 * msb.el (msb-mode):
4154 * mwheel.el (mouse-wheel-mode):
4155 * outline.el (outline-minor-mode):
4156 * paren.el (show-paren-mode):
4157 * recentf.el (recentf-mode):
4158 * reveal.el (reveal-mode, global-reveal-mode):
4159 * rfn-eshadow.el (file-name-shadow-mode):
4160 * ruler-mode.el (ruler-mode):
4161 * savehist.el (savehist-mode):
4162 * scroll-all.el (scroll-all-mode):
4163 * scroll-bar.el (scroll-bar-mode):
4164 * server.el (server-mode):
4165 * shell.el (shell-dirtrack-mode):
4166 * simple.el (auto-fill-mode, transient-mark-mode)
4167 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4168 (line-number-mode, column-number-mode, size-indication-mode)
4169 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4170 * strokes.el (strokes-mode):
4171 * time.el (display-time-mode):
4172 * t-mouse.el (gpm-mouse-mode):
4173 * tool-bar.el (tool-bar-mode):
4174 * tooltip.el (tooltip-mode):
4175 * type-break.el (type-break-mode-line-message-mode)
4176 (type-break-query-mode):
4177 * view.el (view-mode):
4178 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4179 (global-whitespace-mode, global-whitespace-newline-mode):
4180 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4181
a3839de2
SM
4182 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4183 Fix autogenerated docstring.
06e21633 4184
5214e501
JL
41852011-10-19 Juri Linkov <juri@jurta.org>
4186
4187 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4188 by checking environment variables "DESKTOP_SESSION" and
4189 "XDG_CURRENT_DESKTOP". (Bug#9779)
4190
195f8db9
JL
41912011-10-19 Juri Linkov <juri@jurta.org>
4192
4193 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4194 (browse-url-chromium-program, browse-url-chromium-arguments):
4195 New defcustoms.
4196 (browse-url-default-browser): Check for `browse-url-chromium' and
4197 call `browse-url-chromium-program'.
4198 (browse-url-chromium): New command. (Bug#9779)
4199
343a34ff
JB
42002011-10-18 Juanma Barranquero <lekktu@gmail.com>
4201
4202 * facemenu.el (list-colors-duplicates): On Windows, detect more
4203 duplicates by assuming that only colors matching "^System" are
4204 special "system colors". (Bug#9722)
4205
6978a151
SM
42062011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4207
4208 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4209 to distinguish the author from the committer.
4210
6a80b297
MA
42112011-10-18 Michael Albinus <michael.albinus@gmx.de>
4212
4213 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4214
b31a5677
JK
42152011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
4216
4217 * international/mule.el (sgml-html-meta-auto-coding-function):
4218 Add support for detecting encoding in HTML5 specified only as
4219 <meta charset="UTF-8">. Implementation just makes http-equiv and
4220 content-type parts from HTML4 encoding string optional. (Bug#9716)
4221
80c6d77f
GM
42222011-10-18 Glenn Morris <rgm@gnu.org>
4223
4224 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
4225
08b0fee8
CY
42262011-10-18 Chong Yidong <cyd@gnu.org>
4227
4228 * faces.el (cursor): Doc fix.
4229
67e729a5
CY
42302011-10-17 Chong Yidong <cyd@gnu.org>
4231
4232 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4233
343a34ff 42342011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
4235
4236 * dirtrack.el (dirtrack): Support shell buffers with path
4237 prefixes, e.g. tramp-based remote shells. (Bug#9647)
4238
0bc06380
TZ
42392011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
4240
4241 * json.el: Bump version to 1.3 and note change in History.
4242 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4243
8b79f3e0
SM
42442011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4245
5a7c536b
SM
4246 * comint.el (comint-insert-input, comint-send-input)
4247 (comint-get-old-input-default, comint-backward-matching-input)
4248 (comint-next-prompt): Use nil instead of `input' for field property of
4249 past user input (bug#114).
4250
96a8a0df
SM
4251 * minibuffer.el (completion--replace): Inherit surrounding properties
4252 (bug#114).
4253 (minibuffer-complete-and-exit): Use it.
4254
8b79f3e0
SM
4255 * comint.el (comint--table-subvert): Quote the all-completions output
4256 (bug#9160).
4257
b8f7ff0d
MR
42582011-10-17 Martin Rudalics <rudalics@gmx.at>
4259
8b79f3e0 4260 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 4261
b8f7ff0d 4262 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 4263 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
4264 entries and separate them from frame entries.
4265
c235b555
GM
42662011-10-15 Glenn Morris <rgm@gnu.org>
4267
4268 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4269 Doc fixes.
4270
6bbfa6e1
CY
42712011-10-15 Chong Yidong <cyd@stupidchicken.com>
4272
8b79f3e0
SM
4273 * net/network-stream.el (network-stream-open-starttls):
4274 Improve detection of failure due to lack of TLS support.
ec5c990d 4275
6bbfa6e1
CY
4276 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4277 putting the input text in front and in bold.
4278
98488977
SM
42792011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4280
3d1337be
SM
4281 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4282
ee0b45e4
SM
4283 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4284 empty buffer.
4285
98488977
SM
4286 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4287 unread-command-events rather than pushing yet-another event.
4288
186f4720
EZ
42892011-10-14 Eli Zaretskii <eliz@gnu.org>
4290
4291 * mail/sendmail.el (sendmail-query-once): Improve the wording of
4292 the explanation of the possible choices. Make the options passed
4293 to completing-read shorter.
4294
8b7a997c
AM
42952011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4296
4297 * textmodes/flyspell.el (flyspell-large-region): Make sure
4298 extended character mode is used if defined (Bug#1339).
4299
12587bbb
EZ
43002011-10-13 Eli Zaretskii <eliz@gnu.org>
4301
4302 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
4303 character info for LRE, LRO, RLE, and RLO characters by appending
4304 an invisible PDF.
12587bbb 4305
bad41229
SM
43062011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
4307
4308 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4309 even in case of error; add debug spec; simplify data flow.
4310 (with-timeout-handler): Remove.
4311
28dbc92f
MA
43122011-10-12 Michael Albinus <michael.albinus@gmx.de>
4313
4314 Fix Bug#6019, Bug#9315.
4315
4316 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4317 complete `buffer-file-name', the local file name part could look
4318 remotely (for example on VMS).
4319
4320 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4321 `tramp-run-real-handler'.
4322 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4323 already quoted by '"'.
4324
4325 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4326 Let `file-name-handler-alist' be nil, the local file name part
4327 could look remotely (for example on VMS).
4328
e1b0b23a
SM
43292011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4330
4331 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4332 from here...
4333 (flyspell-post-command-hook): ...to here.
4334
a120bde9
SM
43352011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4336
4337 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4338 if not needed.
4339 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
4340 using completion. Protect against "slow" callers.
4341 Remove the "message hack".
4342
7ce7717b
JL
43432011-10-11 Juri Linkov <juri@jurta.org>
4344
4345 * isearch.el (isearch-lazy-highlight-word): New variable.
4346 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4347 Use it. (Bug#9727)
4348
c02ee9d6
GM
43492011-10-11 Glenn Morris <rgm@gnu.org>
4350
4351 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4352 like f90-previous-statement does.
4353
93e616fd 43542011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4355
1f190e73 4356 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
4357 only in interactive use, to avoid error.
4358
af7b6078
SM
43592011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4360
4361 * minibuffer.el (completion-file-name-table): Fix last change,
4362 i.e. ignore normal errors but not the other ones.
4363
0563dae9
MR
43642011-10-10 Martin Rudalics <rudalics@gmx.at>
4365
4366 * window.el (special-display-buffer-names)
4367 (special-display-regexps): Remove some remnants of earlier
4368 changes from doc-strings.
366ca7f3
MR
4369 (quit-windows-on): New function.
4370
4371 * vc/vc.el (vc-revert, vc-rollback):
4372 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4373 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 4374 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 4375
49677495
MR
43762011-10-09 Martin Rudalics <rudalics@gmx.at>
4377
4378 * window.el (frame-auto-hide-function): Add version tag.
4379 (Bug#9699)
4380
56f2d1e1
MA
43812011-10-09 Michael Albinus <michael.albinus@gmx.de>
4382
4383 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4384 condition.
4385
112a6592
LL
43862011-10-09 Leo Liu <sdl.web@gmail.com>
4387
4388 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4389 (Bug#9701)
4390
0812589b
GM
43912011-10-08 Glenn Morris <rgm@gnu.org>
4392
4393 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4394 before the first code statement zero indent. (Bug#9690)
4395
b2b0776e
CY
43962011-10-08 Chong Yidong <cyd@stupidchicken.com>
4397
4398 * simple.el (count-words-region): Always count in the region.
4399 Report the number of lines and characters too.
4400 (count-words): New command, which counts in the buffer if the
4401 region is inactive, as count-words-region used to.
4402 (count-words--message): New function. Handle plurals.
4403 (count-lines-region): Make it an alias for count-words-region.
4404
4405 * bindings.el (esc-map): Replace count-lines-region with
4406 count-words-region.
4407
c557cd6b
MR
44082011-10-08 Martin Rudalics <rudalics@gmx.at>
4409
4410 * window.el (window--delete): Delete dedicated frame
4411 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 4412 (switch-to-buffer): Fix doc-string typo.
c557cd6b 4413
61a57ef4 44142011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4415
3a7d293b 4416 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 4417
c3833279
CY
44182011-10-07 Chong Yidong <cyd@stupidchicken.com>
4419
4420 * bindings.el ([M-left],[M-right]): Bind to left-word and
4421 right-word respectively.
4422
21ce8245
GM
44232011-10-07 Glenn Morris <rgm@gnu.org>
4424
4425 * cus-start.el (debug-on-quit): Fix custom type.
4426
6d823bb2
LMI
44272011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4428
0181e193
LMI
4429 * subr.el (define-key-after): Clarify that the function is not
4430 useful for non-menu keymaps.
4431
6d823bb2
LMI
4432 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4433
8e3459ce 44342011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4435
21ce8245 4436 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 4437 in current minibuffer (Fix bug with recursive minibuffers).
4438
a1c2d21e
CY
44392011-10-06 Chong Yidong <cyd@stupidchicken.com>
4440
4441 * progmodes/gdb-mi.el (gdb): Doc fix.
4442
5a4cf282
MR
44432011-10-05 Martin Rudalics <rudalics@gmx.at>
4444
4445 * window.el (frame-auto-hide-function): New option replacing
4446 frame-auto-delete. Suggested by Stefan Monnier.
4447 (window--delete): Call frame-auto-hide-function instead of
4448 investigating frame-auto-delete.
c96111ea
MR
4449 (window-point-1, set-window-point-1): New functions.
4450 (window-in-direction, record-window-buffer, window-state-get-1)
4451 (display-buffer-record-window): Use window-point-1 instead of
4452 window-point.
4453 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 4454
9854542e
SM
44552011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4456
4457 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4458
8943cfb0
GM
44592011-10-05 Glenn Morris <rgm@gnu.org>
4460
4461 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4462 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
4463
647ab967
LL
44642011-10-05 Leo Liu <sdl.web@gmail.com>
4465
4466 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4467 works with buffer object.
4468
3ddfbced
SM
44692011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4470
4471 * mpc.el (mpc-tool-bar-map): Add labels.
4472
bdfa5dd2
GM
44732011-10-04 Glenn Morris <rgm@gnu.org>
4474
4475 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4476
0e2070b5
MR
44772011-10-04 Martin Rudalics <rudalics@gmx.at>
4478
4479 * window.el (window--delete): New function.
4480 (frame-auto-delete): Resuscitate option.
4481 (bury-buffer, replace-buffer-in-windows)
4482 (quit-window): Rewrite using window--delete.
4483 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4484 Pass display-buffer-mark-dedicated to window--display-buffer-2
4485 (Bug#9639).
4486
3dc61a09
SM
44872011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4488
915a9b64
SM
4489 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4490 returns a list (bug#9554). Add remote file name completion.
4491 * comint.el (comint--table-subvert): Curry and get quote&unquote
4492 functions as arguments.
4493 (comint--complete-file-name-data): Adjust call accordingly.
4494 * pcomplete.el (pcomplete--table-subvert): Remove.
4495 (pcomplete-completions-at-point): Use comint--table-subvert instead.
4496
3dc61a09
SM
4497 * minibuffer.el (completion-table-case-fold): Use currying.
4498 (completion--styles-type, completion--cycling-threshold-type):
4499 New constants.
4500 (completion-styles, completion-category-overrides)
4501 (completion-cycle-threshold): Use them.
4502 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4503 completion-table-case-fold.
4504
8ea0a993
SB
45052011-10-03 Stephen Berman <stephen.berman@gmx.net>
4506
4507 * minibuffer.el (completion-category-overrides): Fix type of styles
4508 and add more user friendly tags (bug#9660).
4509
8c24b7f6
SM
45102011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4511
4512 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4513 (mule-input-method-string): New widget.
4514 (default-input-method, language-info-custom-alist): Use it.
4515
428fe61a
SM
45162011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4517
32c1fffd
SM
4518 * pcomplete.el: Require comint.
4519 (pcomplete--common-suffix): Remove.
4520 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4521 (pcomplete--table-subvert): Sync with comint--table-subvert.
4522 (pcomplete--entries): Use comint-completion-file-name-table.
4523 * comint.el (comint-unquote-filename): Simplify.
4524 (comint-completion-file-name-table): New function (bug#9616).
4525 (comint--complete-file-name-data): Use it.
4526
428fe61a
SM
4527 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4528 (pcmpl-gnu-tar-buffer): Remove.
4529 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
4530 around. Make sure pcomplete-suffix-list is only changed temporarily.
4531 Don't look inside the tar's file if it's too large.
428fe61a 4532
04c52e2f
CY
45332011-10-01 Chong Yidong <cyd@stupidchicken.com>
4534
ce3cefcc
CY
4535 * cus-edit.el (custom-mode-map):
4536 * epa.el (epa-key-list-mode-map):
4537 * man.el (Man-mode-map):
4538 * startup.el (splash-screen-keymap):
4539 * simple.el (special-mode-map): Use scroll-up-command and
4540 scroll-down-command.
4541
4542 * progmodes/idlw-help.el (idlwave-help-mode-map):
4543 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4544 * net/newst-plainview.el (newsticker-mode-map):
4545 * emulation/ws-mode.el (wordstar-mode-map):
4546 * emulation/vi.el (vi-com-map):
4547 * calc/calc-graph.el (calc-graph-show-dumb):
4548 * term/sun.el (terminal-init-sun):
4549 * term/ns-win.el (global-map):
4550 * progmodes/grep.el (grep-mode-map):
4551 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4552 * mail/rmail.el (rmail-mode-map):
4553 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4554
04c52e2f
CY
4555 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4556 custom-safe-themes as special.
4557
79adf8c8
JD
45582011-10-01 Julien Danjou <julien@danjou.info>
4559
4560 * notifications.el (notifications-notify): Fix docstring.
4561
63bd50d3
PS
45622011-10-01 Per Starbäck <per@starback.se>
4563
4564 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4565
199e4c7e
MR
45662011-09-30 Martin Rudalics <rudalics@gmx.at>
4567
4568 * startup.el (command-line-1): Fix last fix by inserting
4569 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 4570 (Bug#9605) and (Bug#9636)
199e4c7e 4571
fe5f08dd
EZ
45722011-09-29 Eli Zaretskii <eliz@gnu.org>
4573
4574 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4575 window is hscrolled, move by logical lines. (Bug#9607)
4576 (line-move-visual): Update the doc string to the above effect.
4577
b5516bbd
MR
45782011-09-29 Martin Rudalics <rudalics@gmx.at>
4579
ccee00c0
MR
4580 * window.el (display-buffer-record-window): When WINDOW is the
4581 selected window use `point' instead of `window-point'. (Bug#9626)
4582
b5516bbd
MR
4583 * startup.el (command-line-1): Use insert-before-markers when
4584 inserting initial-scratch-message. (Bug#9605)
ccee00c0 4585
b5516bbd
MR
4586 * help.el (help-window): Remove variable.
4587
52aa0014
GM
45882011-09-29 Glenn Morris <rgm@gnu.org>
4589
4590 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4591
df9a7357
JB
45922011-09-29 Juanma Barranquero <lekktu@gmail.com>
4593
4594 * descr-text.el (describe-char-categories): Accept category
4595 descriptions more than one line long.
4596
a8406c20
SM
45972011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4598
88d9610c
SM
4599 * simple.el (delete-trailing-whitespace): Fix last change.
4600
a5daf810
SM
4601 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4602 Don't confuse "y => 3" as the beginning of a `y' operation.
4603
a8406c20
SM
4604 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4605 object has more than 4 slots (bug#9613).
4606
a239d4e9
JB
46072011-09-28 Juanma Barranquero <lekktu@gmail.com>
4608
4609 * subr.el (with-output-to-temp-buffer):
4610 * net/quickurl.el (quickurl, quickurl-browse-url):
4611 Fix typos in docstrings.
4612
693fbdb6
EZ
46132011-09-27 Eli Zaretskii <eliz@gnu.org>
4614
4615 * minibuffer.el (completion-styles)
4616 (completion-category-overrides): Cross reference each other in doc
4617 strings.
4618
8b457e28
GM
46192011-09-27 Glenn Morris <rgm@gnu.org>
4620
4621 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4622 to split-string. (Bug#9606)
4623
85a16208
LMI
46242011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4625
4626 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4627 (bug#9615).
4628
502f9ebd
CY
46292011-09-27 Chong Yidong <cyd@stupidchicken.com>
4630
4631 * emacs-lisp/package.el (list-packages): Fix echo area message.
4632
7690bdea
LL
46332011-09-27 Leo Liu <sdl.web@gmail.com>
4634
4635 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4636
e2ee6f30
MA
46372011-09-25 Michael Albinus <michael.albinus@gmx.de>
4638
4639 * net/dbus.el (dbus-unregister-object): Don't release services for
4640 registered signals. (Bug#9581)
4641
f3f98342
TZ
46422011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4643
4644 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4645 function that picks between cfengine 2 and 3 support
4646 automatically. Update docs accordingly.
4647
dd7aa8dd
KH
46482011-09-22 Kenichi Handa <handa@m17n.org>
4649
4650 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4651 ZERO.
4652 (indian-itrans-v5-table-for-tamil): New variable.
4653 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4654
3f2b07f8
KM
46552011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4656
4657 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4658 that's true if the current command involved collapsing of text.
4659 It's reset to false at the beginning of the next command.
4660 (allout-post-command-business): Move the cursor to the beginning
4661 of entry if the cursor is hidden and collapsing activity just
4662 happened.
4663
371d6a61
CY
46642011-09-24 Chong Yidong <cyd@stupidchicken.com>
4665
4666 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4667 tracking (Bug#9541).
4668
2ac2721a
UJ
46692011-09-24 Ulf Jasper <ulf.jasper@web.de>
4670
4671 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
4672 (newsticker-show-news): Automatically load html rendering package
4673 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4674 because w3m-fill-column is let-bound" and the error "Symbol's value
4675 as variable is void: w3m-fill-column".
2ac2721a 4676
fac7ae53
MA
46772011-09-24 Michael Albinus <michael.albinus@gmx.de>
4678
4679 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4680 Release services only if they are defined. (Bug#9581)
4681
e08b633b
RS
46822011-09-23 Richard Stallman <rms@gnu.org>
4683
e488d29c
RS
4684 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4685 distinguish start of paragraph from start of its text.
4686
19c38752
RS
4687 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4688
e08b633b
RS
4689 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4690 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4691 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4692
0a39f27e
AS
46932011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4694
4695 * international/mule-diag.el (mule-diag): Insert a newline after
4696 each fontset description.
4697
db4e950d
SM
46982011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4699
4700 * simple.el (delete-trailing-whitespace):
4701 Document last change; simplify.
4702
eca3f3ea
PW
47032011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4704
d68e189a
PW
4705 * simple.el (delete-trailing-whitespace): Also delete
4706 extra newlines at the end of the buffer.
4707
eca3f3ea
PW
4708 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4709 (picture-newline): Use forward-line so as to ignore fields.
4710
01c157cc
SM
47112011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4712
4713 * subr.el (with-wrapper-hook): Fix edebug spec.
4714
022de23e
LMI
47152011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4716
4717 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4718 (bug#4538).
4719
91683089
MA
47202011-09-23 Michael Albinus <michael.albinus@gmx.de>
4721
eca3f3ea
PW
4722 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4723 Fix nasty bug using wrong cached values.
91683089 4724
5bdd6fa4
AM
47252011-09-23 Alan Mackenzie <acm@muc.de>
4726
4727 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4728
97adfb97
CY
47292011-09-23 Chong Yidong <cyd@stupidchicken.com>
4730
4731 * window.el (pop-to-buffer): Ensure right window is selected if we
4732 chose another frame.
4733
d4ef2b50
EZ
47342011-09-22 Eli Zaretskii <eliz@gnu.org>
4735
4736 * simple.el (what-cursor-position): Use get-char-property-change
4737 and next-single-char-property-change, to be able to show display
4738 properties that come from overlays as well as text properties.
4739
72258fe5
CY
47402011-09-22 Chong Yidong <cyd@stupidchicken.com>
4741
4742 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4743
4744 * cmuscheme.el (run-scheme, switch-to-scheme):
4745 * cus-edit.el (customize-group, custom-buffer-create)
4746 (customize-browse):
4747 * info.el (info):
4748 * shell.el (shell):
4749 * mail/sendmail.el (mail):
4750 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4751
8f098516
RS
47522011-09-22 Richard Stallman <rms@gnu.org>
4753
4754 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4755 move back only to line beg, don't move back over blank lines.
4756
e74f1bb6
MA
47572011-09-22 Michael Albinus <michael.albinus@gmx.de>
4758
4759 * files.el (copy-directory): Set directory attributes only in case
4760 they could be retrieved from the source directory. (Bug#9565)
4761
bfeef8b6
DK
47622011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4763
4764 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4765 (hs-find-block-beginning, hs-hide-level-recursive):
4766 Ignore strings as well as comments. (Bug#9502)
4767
7e423bb8
AS
47682011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4769
4770 * progmodes/sql.el (sql-comint-postgres):
4771 Convert port number to a string. (Bug#9566)
4772
b4d72fcf
MR
47732011-09-22 Martin Rudalics <rudalics@gmx.at>
4774
4775 * window.el (quit-window): Undedicate window when switching to
4776 previous buffer. Reported by Thierry Volpiatto
4777 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
4778 (special-display-popup-frame): When popping up a new frame reset
4779 its previous buffers to nil. Simplify code.
b4d72fcf 4780
a7b88dc6
MA
47812011-09-21 Michael Albinus <michael.albinus@gmx.de>
4782
4783 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4784 and process filter, as done also in `shell-command'.
4785
cf4eacfd
MR
47862011-09-21 Martin Rudalics <rudalics@gmx.at>
4787
eca3f3ea 4788 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
4789 Call set-window-start with NOFORCE argument t.
4790 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
4791 (quit-window): Reword doc-string. Handle new format of
4792 quit-restore parameter. Don't delete window if it has a
4793 previous buffer we can show instead of the present one.
4794 (display-buffer-record-window): Rewrite using a new format for
4795 the quit-restore window parameter
4796 (special-display-popup-frame, display-buffer-same-window)
4797 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4798 (display-buffer-pop-up-window, display-buffer-use-some-window):
4799 Adapt symbol passed to display-buffer-record-window.
4800 * help.el (help-window-setup): Handle new format of quit-restore
4801 parameter.
4802
8d28cb95
SM
48032011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4804
94ab793f
SM
4805 * faces.el (face-list): Fix docstring (bug#9564).
4806
8d28cb95
SM
4807 * window.el (display-buffer--action-function-custom-type):
4808 Don't include internal functions in the Custom interface.
4809
3820edeb
JL
48102011-09-20 Juri Linkov <juri@jurta.org>
4811
4812 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4813 (Info-forward-node, Info-backward-node, Info-next-preorder)
4814 (Info-last-preorder): Use it. (Bug#9528)
4815
5147931d
JL
48162011-09-20 Juri Linkov <juri@jurta.org>
4817
4818 * info.el (Info-last-preorder): Visit last menu item only when
4819 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4820
cf499a1a
JD
48212011-09-20 Julien Danjou <julien@danjou.info>
4822
4823 * password-cache.el (password-cache-remove): Remove entries even if the
4824 value is nil, so that password with a nil value (negative caching) is
4825 possible to invalidate.
4826
f84e2fe2
LM
48272011-09-20 Lawrence Mitchell <wence@gmx.li>
4828
4829 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4830 all whitespace around breakpoint. (Bug#9553)
4831 (f90-find-breakpoint): Only break at whitespace inside a comment.
4832
78054a46
SM
48332011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4834
4835 * minibuffer.el (completion-file-name-table): Keep track of errors.
4836 (completion-table-with-predicate): Handle the case where pred1 is nil.
4837 * pcomplete.el (pcomplete-completions-at-point): Simplify.
4838
345083b2
SM
48392011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4840
e24e27be
SM
4841 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4842 (debugger-return-value): Signal an error if the debugging context does
4843 not await any return value.
4844
345083b2
SM
4845 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4846 * image-mode.el (image-toggle-display-text)
4847 (image-toggle-display-image): Stay away from evil `intangible'.
4848
08d355e3
LL
48492011-09-19 Leo Liu <sdl.web@gmail.com>
4850
4851 * replace.el (occur-revert-arguments): Make it permanent-local.
4852 (occur-mode): Don't call font-lock-defontify.
4853
f01da43f
CY
48542011-09-19 Chong Yidong <cyd@stupidchicken.com>
4855
4856 * net/ldap.el (ldap-search-internal): Don't push empty search
4857 result (Bug#9508).
4858
b6072fa6
SM
48592011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4860
4861 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4862
443d6696
MA
48632011-09-19 Michael Albinus <michael.albinus@gmx.de>
4864
4865 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4866 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4867
7cc6e154
JL
48682011-09-18 Juri Linkov <juri@jurta.org>
4869
4870 * buff-menu.el (Buffer-menu-mode-map):
4871 * dired.el (dired-mode-map):
4872 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4873 (lisp-interaction-mode-map):
4874 * emacs-lisp/package.el (package-menu-mode-map):
4875 * epa.el (epa-key-list-mode-map):
4876 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4877 (menu-bar-options-menu):
4878 * outline.el (outline-mode-menu-bar-map):
4879 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4880 * vc/vc-dir.el (vc-dir-menu-map):
4881 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4882 Capitalize non-function content words in menu item strings.
4883
4884 * dired.el (dired-mode-map): Add menu item for
4885 `image-dired-dired-toggle-marked-thumbs'.
4886
80302a81
JL
48872011-09-18 Juri Linkov <juri@jurta.org>
4888
4889 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4890 to `isearch-case-fold-search' and restore its original value
4891 after the `isearch-mode' call.
4892
46c5cf66
JL
48932011-09-18 Juri Linkov <juri@jurta.org>
4894
4895 * progmodes/grep.el (grep-process-setup): Don't check code for 1
4896 because `zgrep' returns 1 for successful matches (bug#9226).
4897
d18b513b
JL
48982011-09-18 Juri Linkov <juri@jurta.org>
4899
4900 * info.el (Info-extract-menu-node-name): Check the second match
4901 for empty string (second test-case of bug#9528).
4902 (Info-last-preorder): Let-bind `Info-history' to nil to not add
4903 intermediate nodes to the history (first test-case of bug#9528).
4904
72753f87
JL
49052011-09-18 Juri Linkov <juri@jurta.org>
4906
4907 * info.el (Info-mode-syntax-table): New variable.
1154d12e 4908 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 4909
c9384295
JL
49102011-09-18 Juri Linkov <juri@jurta.org>
4911
1154d12e
JB
4912 * info.el (Info-file-supports-index-cookies):
4913 Increment line-beginning-position's arg from 3 to 4 because makeinfo
4914 outputs one more line for long file names (bug#4142).
c9384295 4915
d473dce8
CY
49162011-09-18 Chong Yidong <cyd@stupidchicken.com>
4917
4918 * newcomment.el (comment-normalize-vars): If prompting for
4919 comment-start, set comment-start-skip too (Bug#8424).
4920
2176854d
JB
49212011-09-18 Johan Bockgård <bojohan@gnu.org>
4922
4923 * icomplete.el: Fix previous fix of Bug#5849.
4924 (icomplete-mode): Don't set completion-show-inline-help.
4925 (icomplete-minibuffer-setup): Set completion-show-inline-help
4926 locally during icompletion.
4927
3aace4e4
CY
49282011-09-18 Chong Yidong <cyd@stupidchicken.com>
4929
c940224f
CY
4930 * woman.el (woman2-process-escapes): Don't delete unrecognized
4931 escapes (Bug#7843).
4932
3aace4e4
CY
4933 * files.el (inhibit-first-line-modes-regexps): Add image files.
4934 (hack-local-variables-prop-line): Return nil for malformed
4935 prop-lines (Bug#9044).
4936
710dec63
MA
49372011-09-18 Michael Albinus <michael.albinus@gmx.de>
4938
4939 * net/tramp.el (top): Don't require 'shell.
4940 (tramp-methods): Fix docstring.
4941 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
4942 Return complete remote file name. Handle "smb" case.
4943 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
4944 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4945
4946 * net/tramp-compat.el (top): Require 'shell.
4947
4948 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4949 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4950 `tramp-current-host'.
4951 (tramp-get-remote-tmpdir): Remove.
4952
4953 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4954 `tramp-tmpdir' entries.
4955 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4956 (tramp-smb-handle-file-attributes): Ignore errors.
4957 (tramp-smb-wait-for-output): Check also for process end.
4958
5d5ac8ec
LMI
49592011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4960
4961 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
4962 when sending QUIT (bug#9312).
4963
8c0f49f0
CY
49642011-09-17 Chong Yidong <cyd@stupidchicken.com>
4965
4966 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
4967 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
4968 occur-mode-display-occurrence.
4969 (occur-edit-mode): Add usage message.
4970 (occur-cease-edit): New command.
4971 (occur-after-change-function): Use text properties to find the
4972 position of the prefix text.
4973 (occur-engine): Set stickiness of prefix text properties.
4974
8f1383f7
GM
49752011-09-17 Glenn Morris <rgm@gnu.org>
4976
4977 * progmodes/etags.el (complete-tag):
4978 Fix call to completion-in-region. (Bug#9526)
4979
744ba0e3
JL
49802011-09-17 Juri Linkov <juri@jurta.org>
4981
4982 * textmodes/ispell.el (ispell-word): Add to the error message
4983 the word, ispell program name and current dictionary (bug#9121).
4984 (ispell-tex-arg-end): Capitalize "error" in the error message.
4985
d9bbf400
AS
49862011-09-17 Andreas Schwab <schwab@linux-m68k.org>
4987
4988 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
4989 check. (Bug#4251)
4990
8da11505
JL
49912011-09-17 Juri Linkov <juri@jurta.org>
4992
4993 * window.el (window-safe-min-height, window-safe-min-width):
4994 Fix typos (followup to bug#9522).
4995
a91adc7e
SJ
49962011-09-17 Sven Joachim <svenjoac@gmx.de>
4997
4998 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
4999
064f328a
EZ
50002011-09-16 Eli Zaretskii <eliz@gnu.org>
5001
5002 * simple.el (line-move): If goal-column is set, move by logical
5003 lines, not by display lines. (Bug#971)
5004 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5005 to reflect the above change.
5006
e69df516
SM
50072011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5008
5009 * image.el (imagemagick-register-types): Use regexp-opt.
5010
cbb0f9ab
CY
50112011-09-15 Chong Yidong <cyd@stupidchicken.com>
5012
5013 * window.el (display-buffer-base-action): Rename from
5014 display-buffer-default-action. Make default value empty.
5015 (display-buffer-overriding-action): Convert to defvar.
5016 (display-buffer-fallback-action): New var.
5017
25322144
CY
50182011-09-15 Chong Yidong <cyd@stupidchicken.com>
5019
5020 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5021 declaration.
5022 (package--add-to-archive-contents): If there is a duplicate entry
5023 with an older version, remove it.
5024 (package-menu-mark-delete, package-menu-mark-install)
5025 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
5026 (package-menu-mark-obsolete-for-deletion):
5027 Use package-menu-get-status instead of a regexp search.
25322144
CY
5028 (package-menu-get-status): Use tabulated-list-entry.
5029 (package-menu-mark-upgrades): New command.
d770725a 5030 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
5031 (package-menu-execute): Do installation before deletion.
5032 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5033 instead of checking major-mode.
5034 (package-menu--find-upgrades): New function.
5035
7520339c
LMI
50362011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5037
5038 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5039 passwords in the log buffer.
65a046c4
LMI
5040 (smtpmail-process-filter): Update the process marker so that the
5041 "broken by peer" status message is inserted in the right place.
7520339c 5042
d3c30954
SM
50432011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5044
3fe48822
SM
5045 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5046 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5047 bibtex-completion-at-point-function.
5048 (bibtex-completion-at-point-function): Use them.
5049
1b8b3954
SM
5050 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5051
d3c30954
SM
5052 * mpc.el (mpc-constraints-tag-lookup): New function.
5053 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5054 also to browser "album|playlist".
5055
72779976
JL
50562011-09-14 Juri Linkov <juri@jurta.org>
5057
5058 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
5059 (isearch-edit-string): Use length of `isearch-string' when
5060 `isearch-fail-pos' returns nil.
5061 (isearch-message): Remove duplicate code and call
5062 `isearch-fail-pos' with arg `t'.
5063
a0bf2bcd
CY
50642011-09-14 Chong Yidong <cyd@stupidchicken.com>
5065
17bb0a2d
CY
5066 * replace.el (occur-mode-goto-occurrence): Don't force using other
5067 window (Bug#9499).
5068
a0bf2bcd
CY
5069 * dired-aux.el (dired-do-chmod): Don't provide initial input.
5070
f678e0b6
MR
50712011-09-14 Martin Rudalics <rudalics@gmx.at>
5072
5073 * window.el (display-buffer-window): Remove.
5074 (display-buffer-record-window): Use help-setup window parameter
5075 instead of variable display-buffer-window.
5076 (display-buffer-function, special-display-buffer-names)
5077 (special-display-function): Mention help-setup parameter instead
5078 of display-buffer-window in doc-string.
d3c30954
SM
5079 * help.el (help-window-setup): New argument help-window.
5080 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
5081 Reword some messages.
5082 (with-help-window): Pass window used for displaying the buffer
5083 to help-window-setup. Don't set display-buffer-window.
5084
8e39b2e8
GM
50852011-09-13 Glenn Morris <rgm@gnu.org>
5086
5087 * emacs-lisp/debug.el (debugger-make-xrefs):
5088 Preserve point. (Bug#9462)
5089
85e9c04b
CY
50902011-09-13 Chong Yidong <cyd@stupidchicken.com>
5091
5092 * window.el (window-deletable-p): Use next-frame.
5093
1b36ed6a
MR
50942011-09-13 Martin Rudalics <rudalics@gmx.at>
5095
5096 * window.el (window-auto-delete): Remove.
5097 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 5098 dedication and previous buffers.
1b36ed6a
MR
5099 (switch-to-prev-buffer): Don't delete window.
5100 (delete-windows-on): Delete a window's frame if and only if the
5101 window is dedicated.
5102 (replace-buffer-in-windows): Delete buffer's window or frame if
5103 and only if window is dedicated.
5104 (quit-window): Handle quit-restore as before last change.
4d61f28d 5105 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 5106
ef8ef9fb
CY
51072011-09-13 Chong Yidong <cyd@stupidchicken.com>
5108
5109 * window.el (window-deletable-p): Never delete the last frame on a
5110 given terminal.
5111
b2cba41e
GM
51122011-09-13 Glenn Morris <rgm@gnu.org>
5113
5114 * help.el (describe-key-briefly): Copy previous standard-output change.
5115
51553db6 51162011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
5117
5118 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
5119
b7556719
GM
51202011-09-13 Glenn Morris <rgm@gnu.org>
5121
5122 * emacs-lisp/lisp-mode.el (lisp-indent-function):
5123 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5124
64b51947
CY
51252011-09-12 Chong Yidong <cyd@stupidchicken.com>
5126
5127 * dired-aux.el (dired-mark-read-string): Don't return default
5128 value on empty input (Bug#9361).
5129 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5130 Omit initial minibuffer contents.
5131 (dired-do-chmod): Signal an error on empty input.
5132 (dired-mark-read-string): Don't return default on empty input.
5133
5134 * files.el (file-modes-symbolic-to-number): Doc fix.
5135
393a301e
SM
51362011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5137
5138 * international/mule-cmds.el (ucs-completions): Remove.
5139 (read-char-by-name): Use complete-with-action instead; add metadata.
5140
fa5660f9
CY
51412011-09-11 Chong Yidong <cyd@stupidchicken.com>
5142
5143 * window.el (display-buffer--action-function-custom-type)
5144 (display-buffer--action-custom-type): New vars.
5145 (display-buffer-alist, display-buffer-default-action)
5146 (display-buffer-overriding-action): Add defcustom types.
5147
4a592f66
CY
5148 * frame.el (delete-other-frames): Doc fix (Bug#276).
5149
73d56dbd
LMI
51502011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5151
5152 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5153
37ac18a3
CY
51542011-09-11 Chong Yidong <cyd@stupidchicken.com>
5155
5156 Change modes that used same-window-* vars to use switch-to-buffer.
5157
5158 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5159 Use switch-to-buffer.
5160
5161 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
5162 (customize-browse, custom-buffer-create-other-window):
5163 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
5164
5165 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5166 (Info-prev, Info-up, Info-speedbar-goto-node)
5167 (info-display-manual): Use switch-to-buffer.
5168 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5169
5170 * mail/sendmail.el (mail): Use switch-to-buffer.
5171 (mail-recover): Use switch-to-buffer-other-window.
5172
5173 * cmuscheme.el (run-scheme, switch-to-scheme):
5174 * ielm.el (ielm):
5175 * shell.el (shell):
5176 * net/rlogin.el (rlogin):
5177 * net/telnet.el (telnet, rsh):
5178 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5179
10195bd6
AS
51802011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5181
5182 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5183
b322f63a
LMI
51842011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5185
39d7fed6
LMI
5186 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5187 so don't mention it (bug#9301).
ba5a81f1 5188 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 5189
ee0e9f11
LMI
5190 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5191 match `x', `w32' and `ns', like the manual says (bug#9029).
5192
0b1c89c1 5193 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
5194 (process-kill-buffer-query-function): Mention the buffer name in
5195 the query.
0b1c89c1 5196
77549ea8
LMI
5197 * image-mode.el (image-next-line): The line parameter is mandatory
5198 (bug#9258).
5199
803ef892
LMI
5200 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5201 which can be useful (bug#9301).
5202
12980837
LMI
5203 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5204
91054f8f
LMI
5205 * subr.el (match-string): Mention that the current buffer should
5206 be the same as the search was done in (bug#9282).
5207
b322f63a
LMI
5208 * facemenu.el: Disable the remove-* commands if the mark isn't
5209 active (bug#9162).
5210
3199b96f
CY
52112011-09-10 Chong Yidong <cyd@stupidchicken.com>
5212
5213 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5214 of display-buffer.
5215 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5216
5217 * replace.el (occur-mode-goto-occurrence)
5218 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5219 and display-buffer.
5220
5221 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5222 display-buffer.
5223
5224 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5225 special-display and same-window variables.
5226 (mail-other-window): Use switch-to-buffer-other-window.
5227 (mail-other-frame): USe switch-to-buffer-other-frame.
5228
393a301e
SM
5229 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5230 Use display-buffer-other-frame.
3199b96f
CY
5231 (gdb-display-gdb-buffer): Use pop-to-buffer.
5232
5233 * progmodes/gud.el (gud-goto-info): Use info-other-window.
5234
5235 * progmodes/python.el: Don't set same-window-buffer-names.
5236
5237 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5238
5239 * window.el (display-buffer-alist): Add *Python*.
5240
8319e0bf
CY
52412011-09-10 Chong Yidong <cyd@stupidchicken.com>
5242
5243 * window.el (display-buffer-alist): Add entry for buffers
5244 previously handled same-window-*.
5245 (display-buffer-alist, display-buffer-default-action)
5246 (display-buffer-overriding-action): Mark as risky.
5247 (display-buffer-alist): Document action function changes.
5248 (display-buffer--same-window-action)
5249 (display-buffer--other-frame-action): New variables.
5250 (switch-to-buffer, display-buffer-other-frame): Use them.
5251 (display-buffer): Rename reuse-frame entry to reusable-frames.
5252 (display-buffer-reuse-selected-window): Function deleted.
5253 (display-buffer-reuse-window): Handle reusable-frames alist entry.
5254 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5255 (display-buffer-special): New function.
5256 (display-buffer--maybe-pop-up-frame-or-window): Rename from
5257 display-buffer-reuse-or-pop-window. Split off special-display
5258 part into display-buffer-special.
5259 (display-buffer-use-some-window): Don't perform any special
5260 pop-up-frames handling.
5261 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 5262 (display-buffer--maybe-same-window): Rename from
0d3ff375 5263 display-buffer-maybe-same-window.
8319e0bf 5264
919a69aa
CY
5265 * info.el: Don't set same-window-regexps.
5266 (info-setup): New function.
5267 (info-other-window, info): Call it.
5268
5269 * cus-edit.el: Don't set same-window-regexps.
5270 (customize-group): New argument.
5271 (customize-group-other-window): Use it.
5272 (customize-face, customize-face-other-window): Likewise.
5273 (custom-buffer-create-other-window): Use pop-to-buffer directly.
5274
8319e0bf
CY
5275 * net/rlogin.el:
5276 * net/telnet.el:
5277 * progmodes/gud.el: Don't set same-window-regexps.
5278
5279 * cmuscheme.el:
5280 * ielm.el:
5281 * shell.el:
5282 * mail/sendmail.el:
5283 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5284
25173000
JL
52852011-09-10 Juri Linkov <juri@jurta.org>
5286
5287 * isearch.el (isearch-edit-string): Remove obsolete mention of
5288 `C-w' (`isearch-yank-word-or-char') from docstring.
5289 (isearch-query-replace): Fix typo in docstring (bug#9466).
5290
056e44ef
JL
52912011-09-10 Juri Linkov <juri@jurta.org>
5292
5293 * paren.el (show-paren-function): Don't show escaped parens.
5294 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
5295
c3760c17
EZ
52962011-09-10 Eli Zaretskii <eliz@gnu.org>
5297
5298 * mail/sendmail.el (mml-to-mime, mml-attach-file)
5299 (mm-default-file-encoding): Remove autoload forms, they are
5300 replaced with autoload cookies in mml.el and mm-encode.el.
5301 (mail-add-attachment): New command.
5302 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5303 (mail-mode): Mention mail-insert-file and mail-add-attachment in
5304 the doc string.
5305 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5306
fece895e
RT
53072011-09-10 Reuben Thomas <rrt@sc3d.org>
5308
e69df516
SM
5309 * simple.el (count-words-region): Use buffer if there's no region
5310 (bug#9429).
fece895e 5311
5e68ce4a
JL
53122011-09-09 Juri Linkov <juri@jurta.org>
5313
5314 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5315 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5316 (wdired-isearch-filter-read-only): New function. (Bug#6362)
5317
0a6b9622
AM
53182011-09-09 Alan Mackenzie <acm@muc.de>
5319
5320 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5321 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
5322
14a29deb
EZ
53232011-09-09 Eli Zaretskii <eliz@gnu.org>
5324
5325 Fix for Savannah bug#9392.
5326 * simple.el (mail-encode-mml): New defvar.
5327
5328 * mail/rmail.el (mail-encode-mml): Add a defvar.
5329 (rmail-enable-mime-composing): Default to t.
5330 (rmail-forward): Use MIME method of forwarding only if both
5331 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5332 Set mail-encode-mml non-nil if the MIME method was used.
5333
5334 * mail/sendmail.el (mml-to-mime): Add autoload form.
5335 (mail-encode-mml): Add a defvar.
5336 (mail-mode): Make mail-encode-mml buffer-local and initialize it
5337 to nil.
5338 (mail-send): If mail-encode-mml is non-nil, run the outgoing
5339 message through mml-to-mime, and reset mail-encode-mml to nil.
5340
28c45130
GM
53412011-09-09 Glenn Morris <rgm@gnu.org>
5342
5343 * woman.el (woman-if-body): When processing an .el block,
5344 do not delete the next .el block as well. (Bug#9447)
69f4b618 5345 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 5346
9b1c252e
MR
53472011-09-08 Martin Rudalics <rudalics@gmx.at>
5348
5349 * window.el (window-deletable-p): Make sure window is live before
5350 invoking window-prev-buffers.
5351
567457e3
LL
53522011-09-08 Leo Liu <sdl.web@gmail.com>
5353
5354 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
5355
97f05794
JL
53562011-09-08 Juri Linkov <juri@jurta.org>
5357
5358 * progmodes/compile.el (compilation-environment): Make it
5359 a defcustom (bug#8340).
5360
8b0874b5
MR
53612011-09-08 Martin Rudalics <rudalics@gmx.at>
5362
5363 * window.el (frame-auto-delete): Rename to window-auto-delete.
5364 Make it control auto-deletion of windows and/or frames.
5365 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 5366 for deleting window/frame. (Bug#9419)
8b0874b5
MR
5367 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5368 Rewrite handling of case when window/frame can be deleted.
5369 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 5370 argument t. (Bug#9456)
8b0874b5 5371
4feb6e73
CY
53722011-09-07 Chong Yidong <cyd@stupidchicken.com>
5373
5374 * help-mode.el (help-mode): Restore autoload.
5375
91ab9c13
JL
53762011-09-07 Juri Linkov <juri@jurta.org>
5377
5378 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5379 `compilation-environment'. Set buffer-local
5380 `compilation-environment' to `thisenv' later after (funcall mode).
5381 (Bug#8340)
5382
5383 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
5384 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5385 instead of replacing its value. (Bug#8340)
5386
0527e251
JL
53872011-09-07 Juri Linkov <juri@jurta.org>
5388
5389 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5390 based on text properties put by `grep-filter' instead of matching
5391 escape sequences.
5392 (grep-mode): Set buffer-local `compilation-error-screen-columns'
5393 to the value of `grep-error-screen-columns' (bug#9438).
5394
249f792c
JL
53952011-09-07 Juri Linkov <juri@jurta.org>
5396
5397 * simple.el (next-error-highlight, next-error-highlight-no-select):
5398 Doc fix (bug#9432).
5399
ff7271b9
OT
54002011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5401
5402 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5403 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
5404
183fc730
LL
54052011-09-07 Leo Liu <sdl.web@gmail.com>
5406
5407 * net/rcirc.el (rcirc-mode): Conditionally initialize
5408 rcirc-input-ring.
5409
77694924
SM
54102011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5411
5412 * emacs-lisp/find-func.el (find-function-C-source): Only set
5413 find-function-C-source-directory after checking that we found a source
5414 file there (bug#9440).
5415
d809b8eb
AM
54162011-09-06 Alan Mackenzie <acm@muc.de>
5417
5418 * isearch.el (isearch-other-meta-char): Wherever a key list is
5419 unread, "unread" the prefix arg, too. This fixes bug #8901.
5420
453de99f
OG
54212011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5422
5423 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5424
90439906
JL
54252011-09-05 Juri Linkov <juri@jurta.org>
5426
5427 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5428
f62bd846
JL
54292011-09-05 Juri Linkov <juri@jurta.org>
5430
5431 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5432 keeping point where processing of grep matches begins, and
5433 continue to delete remaining escape sequences from the same point.
5434 (grep-filter): Make leading zero optional in "0?1;31m" because
5435 git-grep emits "\033[1;31m" escape sequences unlike expected
5436 "\033[01;31m" as GNU Grep does (bug#9408).
5437 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5438
045820ec
JL
54392011-09-05 Juri Linkov <juri@jurta.org>
5440
5441 * subr.el (y-or-n-p): Capitalize "yes".
5442
f5e29b9b
MA
54432011-09-04 Michael Albinus <michael.albinus@gmx.de>
5444
5445 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
5446 `tramp-cache-unload-hook' where appropriate.
5447 (tramp-methods): Rename `tramp-remote-sh' to
5448 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
5449 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5450
5451 * net/tramp-sh.el (top): Don't require 'shell.
5452 (tramp-methods): Add `tramp-remote-shell' and
5453 `tramp-remote-shell-args' entries.
5454 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5455 (tramp-sh-handle-shell-command): Remove.
5456 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5457 Use `tramp-remote-shell'.
5458
2784c434
CY
54592011-09-03 Chong Yidong <cyd@stupidchicken.com>
5460
393a301e 5461 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
5462 (sendmail-query-once): Save directly to send-mail-function.
5463 Update message-send-mail-function too.
5464
5465 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5466
464cdf56
CS
54672011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5468
5469 * progmodes/python.el (python-mode-map): Use correct function to
5470 start python interpreter from menu-bar (as reported by Geert
5471 Kloosterman).
5472 (inferior-python-mode-map): Fix typo.
393a301e 5473 (python-shell-map): Remove.
464cdf56 5474
d37e5c87
DD
54752011-09-03 Deniz Dogan <deniz@dogan.se>
5476
5477 * net/rcirc.el (rcirc-print): Simplify code for
5478 rcirc-scroll-show-maximum-output. There is no need to walk
5479 through all windows to find the right one.
5480
f3ada0ee
CS
54812011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5482
5483 * help.el (help-return-method): Doc fix.
5484
1f3c99ca
MR
54852011-09-03 Martin Rudalics <rudalics@gmx.at>
5486
5487 * window.el (window-deletable-p): Don't return a non-nil value
5488 when there's a buffer that was shown in the window before.
5489 (Bug#9419)
393a301e
SM
5490 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5491 Set window's previous buffers to nil.
1f3c99ca 5492
a3cf097f
EZ
54932011-09-03 Eli Zaretskii <eliz@gnu.org>
5494
5495 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5496 newline before and after the tag line, so it doesn't interfere
5497 with determining the paragraph direction of bidirectional text.
5498
3d03de90
LL
54992011-09-03 Leo Liu <sdl.web@gmail.com>
5500
5501 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5502
c3313451
CY
55032011-09-02 Chong Yidong <cyd@stupidchicken.com>
5504
393a301e 5505 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
5506 (pop-to-buffer): Change interactive spec. Pass second argument
5507 directly to display-buffer.
5508 (display-buffer): Fix interactive spec. Use functionp to
5509 distinguish between a function and a list of functions.
5510
5511 * abbrev.el (edit-abbrevs):
5512 * arc-mode.el (archive-extract):
5513 * autoinsert.el (auto-insert):
5514 * bookmark.el (bookmark-bmenu-list):
5515 * files.el (find-file):
5516 * view.el (view-buffer):
5517 * progmodes/compile.el (compilation-goto-locus):
5518 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5519
89894cd8
CY
55202011-09-02 Chong Yidong <cyd@stupidchicken.com>
5521
5522 * window.el (display-buffer-alist): Doc fix.
5523 (display-buffer): Add docstring. Don't treat
5524 display-buffer-default specially.
5525 (display-buffer-reuse-selected-window)
5526 (display-buffer-same-window, display-buffer-maybe-same-window)
5527 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5528 (display-buffer-pop-up-window)
5529 (display-buffer-reuse-or-pop-window)
5530 (display-buffer-use-some-window): New functions.
5531 (display-buffer-default-action): Use them.
393a301e 5532 (display-buffer-default): Delete.
89894cd8
CY
5533 (pop-to-buffer-1): Fix choice of actions.
5534
ae0bc9fb
SM
55352011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5536
5537 * minibuffer.el (completion--insert-strings): Don't get confused by
5538 completion entries that end with an LF char.
5539
e9d90883
EZ
55402011-09-01 Eli Zaretskii <eliz@gnu.org>
5541
5542 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5543
437014c8
CY
55442011-09-01 Chong Yidong <cyd@stupidchicken.com>
5545
5546 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
5547 (display-buffer-same-window, display-buffer-other-window):
5548 New functions.
437014c8
CY
5549 (pop-to-buffer-1): New function. Use the above.
5550 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 5551 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
5552
5553 * view.el (view-buffer-other-window, view-buffer-other-frame):
5554 Just use pop-to-buffer.
5555
a5e063d5
TV
55562011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5557
5558 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5559
793d32bb
WH
55602011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5561
5562 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5563
d65e4c15
RS
55642011-08-31 Richard Stallman <rms@gnu.org>
5565
5566 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5567 of the separation of rmail-view-buffer from rmail-buffer.
5568 If you say no to "replace original", the decrypt is in the
5569 view buffer. If you say yes, the decrypt goes into the
5570 rmail buffer also.
5571
f818cd2a
MR
55722011-08-31 Martin Rudalics <rudalics@gmx.at>
5573
5574 * window.el (display-buffer-window): Rewrite doc-string.
5575 (display-buffer-record-window): New function.
5576 (display-buffer-macro-specifiers)
5577 (display-buffer-even-window-sizes, display-buffer-set-height)
5578 (display-buffer-set-width, display-buffer-in-window)
5579 (display-buffer-reuse-window, display-buffer-split-specifiers)
5580 (display-buffer-side-specifiers, display-buffer-split-window-1)
5581 (display-buffer-split-window, display-buffer-split-atom-window)
5582 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5583 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5584 (display-buffer-other-window-means-other-frame)
5585 (display-buffer-normalize-special)
5586 (display-buffer-normalize-default)
5587 (display-buffer-normalize-argument)
5588 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5589 (display-buffer-normalize-specifiers, display-buffer-frame)
5590 (display-buffer-same-window, display-buffer-same-frame)
5591 (display-buffer-other-window)
5592 (display-buffer-same-frame-other-window)
5593 (display-buffer-other-frame, pop-to-buffer-same-window)
5594 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5595 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5596 (switch-to-buffer-same-frame)
5597 (switch-to-buffer-other-window-same-frame)
5598 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5599 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5600 (display-buffer-alist-set): Remove.
5601 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
5602 (special-display-regexps, special-display-function):
5603 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
5604 parameter.
5605 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5606 (special-display-frame-alist, special-display-popup-frame)
5607 (same-window-buffer-names, same-window-regexps, same-window-p)
5608 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5609 (split-window-preferred-function, split-height-threshold)
5610 (split-width-threshold, window-splittable-p)
5611 (split-window-sensibly, window--try-to-split-window)
5612 (window--frame-usable-p, even-window-heights)
5613 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
5614 (window--display-buffer-2, display-buffer-other-frame):
5615 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
5616 (display-buffer-default, display-buffer-assq-regexp): New functions.
5617 (display-buffer-alist): Rewrite doc-string.
5618 (display-buffer-default-action)
5619 (display-buffer-overriding-action): New variables.
5620 (display-buffer, switch-to-buffer): Rewrite.
5621 (pop-to-buffer): Restore Emacs 23 behavior but use
5622 window-normalize-buffer-to-display.
5623 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5624 Restore Emacs 23 behavior but use
5625 window-normalize-buffer-to-switch-to.
5626 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
5627 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5628 Rewrite using Emacs 23 options.
f818cd2a 5629
5bc3b51d
MA
56302011-08-31 Michael Albinus <michael.albinus@gmx.de>
5631
5632 * net/tramp.el (tramp-root-regexp): Remove.
5633 (tramp-completion-file-name-regexp-unified)
5634 (tramp-completion-file-name-regexp-separate)
5635 (tramp-completion-file-name-regexp-url): Don't use leading volume
5636 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
5637 (tramp-drop-volume-letter): Simplify definition.
5638 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 5639
b1a4f8e1
SM
56402011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5641
5642 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5643 (bug#9356).
5644
5664fa7b
RT
56452011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5646
b1a4f8e1 5647 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 5648
9a45d6c3
JL
56492011-08-29 Juri Linkov <juri@jurta.org>
5650
5651 * isearch.el (isearch-done): Don't display message "Mark saved"
5652 when arg `edit' is non-nil to prevent its flicker in the echo area.
5653
fb87e0fb
CY
56542011-08-28 Chong Yidong <cyd@stupidchicken.com>
5655
5656 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5657 obsolete packages for deletion.
5658
09ac1c2a
CS
56592011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5660
5661 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 5662 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
5663 view-mode from help-mode.
5664 (help-xref-override-view-map): Remove.
5665 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5666 view-mode is not used anymore.
5667
7a1ff57f
CY
56682011-08-28 Chong Yidong <cyd@stupidchicken.com>
5669
5670 * server.el (server-port): Doc fix.
5671
b9696605
CY
5672 * cus-theme.el (custom-theme-choose-mode): Inherit from
5673 special-mode (Bug#9124).
5674 (custom-theme-choose-mode-map): Add special-mode to parent.
5675
ef8cdf8c
AM
56762011-08-28 Alan Mackenzie <acm@muc.de>
5677
5678 * progmodes/cc-fonts.el
5679 (c-make-font-lock-BO-decl-search-function): New function.
5680 (c-basic-matchers-after - "Fontify the clauses after various
5681 keywords"): Extract the three keyword lists for the 3 erroneous
5682 constructs from the list of four, and use the new function above
5683 in place of an old one.
5684
27de4e20
DD
56852011-08-28 Deniz Dogan <deniz@dogan.se>
5686
5687 * net/rcirc.el (rcirc-insert-prev-input)
5688 (rcirc-insert-next-input): Remove unused argument.
5689
356a3681
SM
56902011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5691
5692 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5693
3fc9b218
AM
56942011-08-27 Alan Mackenzie <acm@muc.de>
5695
5696 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5697 handle function pointer parameters properly.
5698
538a061c
MR
56992011-08-27 Martin Rudalics <rudalics@gmx.at>
5700
5701 * window.el (display-buffer-reuse-window): Fix case where
5702 selected window was reused with non-nil OTHER-WINDOW argument.
5703 (Bug#9381)
5704
35b1c40c
DD
57052011-08-27 Deniz Dogan <deniz@dogan.se>
5706
5707 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5708 oftc's NickServ messages.
5709
2f6a3e79
GM
57102011-08-27 Glenn Morris <rgm@gnu.org>
5711
5712 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5713
7254299e
CY
57142011-08-26 Chong Yidong <cyd@stupidchicken.com>
5715
5716 * emacs-lisp/package.el (package-install): Call package-initialize
5717 if called interactively.
5718
f8ccf167
LL
57192011-08-26 Leo Liu <sdl.web@gmail.com>
5720
5721 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5722
3e8cd5ce
JL
57232011-08-25 Juri Linkov <juri@jurta.org>
5724
5725 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5726 `search-whitespace-regexp' (bug#9364).
5727
93eb7113
JL
57282011-08-25 Juri Linkov <juri@jurta.org>
5729
5730 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5731 `regexp-search-ring' to their global values to protect from
5732 updating by `read-from-minibuffer' (bug#9185).
5733
f65d1611
JL
57342011-08-25 Juri Linkov <juri@jurta.org>
5735
5736 * textmodes/ispell.el (ispell-command-loop): Add newline
5737 at the end of the "Use option `i'..." line.
5738
f1cf7a31
JL
57392011-08-25 Juri Linkov <juri@jurta.org>
5740
5741 * battery.el (display-battery-mode): If `battery-status-function'
5742 or `battery-mode-line-format' is nil, display the message and set
5743 `display-battery-mode' to nil (bug#9363).
5744
0c95fcf7
EZ
57452011-08-25 Eli Zaretskii <eliz@gnu.org>
5746
5747 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5748 bidi-string-mark-left-to-right; they are unnecessary now.
5749
a2ebe600
DD
57502011-08-25 Deniz Dogan <deniz@dogan.se>
5751
5752 * net/quickurl.el: Documentation typo fixes.
5753
e4ed06f1
CY
57542011-08-25 Chong Yidong <cyd@stupidchicken.com>
5755
5756 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5757
e5f1c99e
GM
57582011-08-25 Glenn Morris <rgm@gnu.org>
5759
b2948976
GM
5760 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5761
e5f1c99e
GM
5762 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5763 (smtpmail-via-smtp): Handle nil response from smtp.
5764
f22f4808
JL
57652011-08-24 Juri Linkov <juri@jurta.org>
5766
5767 * proced.el (proced-marked): Inherit from `error' instead of
5768 `font-lock-warning-face'.
5769
5770 * ibuffer.el (ibuffer-marked-face): Change default face from
5771 `font-lock-warning-face' to `warning'.
5772 (ibuffer-deletion-face): Change default face from
5773 `font-lock-type-face' to `error'.
5774
5775 * battery.el (battery-update): Use the face `error' instead of
5776 `font-lock-warning-face' (bug#6117).
5777
6a93965e
JL
57782011-08-24 Juri Linkov <juri@jurta.org>
5779
5780 * faces.el (success): Change face color from "Green3" to
5781 "ForestGreen" on light background (bug#9353).
5782
1ed43b09
CY
57832011-08-24 Chong Yidong <cyd@stupidchicken.com>
5784
5664fa7b
RT
5785 * window.el (quit-window): Rename from quit-restore-window.
5786 Use same arglist as old quit-window.
1ed43b09
CY
5787 (frame-auto-delete): Doc fix.
5788
5789 * view.el (view-mode-exit): Use quit-window.
5790
11dcdbb2
JL
57912011-08-24 Juri Linkov <juri@jurta.org>
5792
5793 * isearch.el (isearch-ring-adjust1): Start visiting previous
5794 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5795 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5796 for empty search string (when the last search string is reused
5797 automatically) to adjust the isearch ring to the last element and
5798 prepare the correct index for further M-p commands (bug#9185).
5799
de62b4df
KH
58002011-08-24 Kenichi Handa <handa@m17n.org>
5801
5802 * international/ucs-normalize.el: If decomposition property of
5803 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5804 nil.
5805 (nfd, nfkd): Likewise.
5806
963b492b
SM
58072011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5808
5809 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5810 from process filters aren't reliably transmitted to the surrounding
5811 accept-process-output.
5812 (mpc-proc-check): New function.
5813 (mpc-proc-sync): Use it (bug#8293)
5814
93b6b5e1
SM
58152011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5816
5817 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5818 Add compatibility functions (bug#9313).
5819
bca633fb
EZ
58202011-08-23 Eli Zaretskii <eliz@gnu.org>
5821
b177498a
EZ
5822 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5823
6df6ae42 5824 * international/uni-bidi.el: Regenerate.
bca633fb 5825
0902a04e
KH
58262011-08-23 Kenichi Handa <handa@m17n.org>
5827
5828 * international/charprop.el:
5829 * international/uni-bidi.el:
5830 * international/uni-category.el:
5831 * international/uni-combining.el:
5832 * international/uni-comment.el:
5833 * international/uni-decimal.el:
5834 * international/uni-decomposition.el:
5835 * international/uni-digit.el:
5836 * international/uni-lowercase.el:
5837 * international/uni-mirrored.el:
5838 * international/uni-name.el:
5839 * international/uni-numeric.el:
5840 * international/uni-old-name.el:
5841 * international/uni-titlecase.el:
5842 * international/uni-uppercase.el: Regenerate.
5843
3bbf23bc
MR
58442011-08-23 Martin Rudalics <rudalics@gmx.at>
5845
5846 * help.el (help-window-setup): Fix message displayed when other
5847 window is reused. (Bug#9341)
5848
b3fd59bd
SM
58492011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5850
1802e444
SM
5851 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5852 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5853
b3fd59bd
SM
5854 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5855 Mark obsolete.
5856 * shell.el (shell-parse-pcomplete-arguments): New function.
5857 (shell-completion-vars): Use it instead (bug#9160).
5858
4eb61348
SM
58592011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5860
867cab74
SM
5861 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5862 strings and comments (bug#9333).
5863
4eb61348
SM
5864 * emacs-lisp/debug.el (debug-arglist): New function.
5865 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
5866 (debug-on-entry-1): Handle interpreted closures (bug#9120).
5867
262a1439
JL
58682011-08-22 Juri Linkov <juri@jurta.org>
5869
56ee679c
JL
5870 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5871 Revert regexp that highlights output switches to its old
5872 pre-2010-10-28 value and remove one `?' from it (bug#9319).
5873
262a1439
JL
5874 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5875 to check for empty output (bug#9226).
5876
f13f86fb
CY
58772011-08-22 Chong Yidong <cyd@stupidchicken.com>
5878
5879 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5880 symbol-constituent as the default, as that stops font-lock from
5881 working properly (Bug#8843).
5882
c65c9622
LMI
58832011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5884
5885 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5886 `coding-system-for-*' around the process open call to avoid
5887 auth-source side effects.
e7f2c178 5888 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
5889 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5890 probe hangs.
c65c9622 5891
23a8a5ab
CY
58922011-08-21 Chong Yidong <cyd@stupidchicken.com>
5893
ff98b2dd
CY
5894 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5895
23a8a5ab
CY
5896 * emacs-lisp/find-func.el (find-function-noselect): New arg
5897 lisp-only.
5898
5899 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5900 signal an error for built-in functions (Bug#6664).
5901
f5e3c598
LMI
59022011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5903
5904 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5905 (smtpmail-try-auth-methods): Use it.
5906
a3f2468a
CY
59072011-08-21 Chong Yidong <cyd@stupidchicken.com>
5908
2c34e8da
CY
5909 * font-lock.el (font-lock-fontify-region)
5910 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5911 (font-lock-default-unfontify-buffer)
5912 (font-lock-default-fontify-region)
5913 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5914
b3fd59bd
SM
5915 * progmodes/compile.el (compilation-error-properties):
5916 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
5917 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5918 `ant' regexp.
ee31aabc 5919
a3f2468a
CY
5920 * net/browse-url.el (browse-url-firefox): Don't call
5921 browse-url-firefox-sentinel unless using -remote (Bug#9328).
5922
8e999f70
GM
59232011-08-20 Glenn Morris <rgm@gnu.org>
5924
c21a496a
GM
5925 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5926
59ee0542
GM
5927 * tutorial.el (tutorial--default-keys): Update some default bindings.
5928
8e999f70
GM
5929 * files.el (hack-local-variables): Fully ignore case for "mode:".
5930
e3715033
AM
59312011-08-20 Alan Mackenzie <acm@muc.de>
5932
5933 Resolve invalid use of a regexp in regexp-opt.
5934
4d61f28d
JB
5935 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5936 detection for a java annotation.
e3715033 5937
4d61f28d 5938 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
5939 detection for a java annotation.
5940
4d61f28d
JB
5941 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5942 handling for java.
e3715033
AM
5943 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5944
04ed2e9c
CY
59452011-08-20 Chong Yidong <cyd@stupidchicken.com>
5946
5947 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5948 (Bug#9274).
5949
826cee64
AM
59502011-08-20 Alan Mackenzie <acm@muc.de>
5951
58179cce 5952 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
5953 such a construct. Mainly for when jit-lock etc. starts a chunk
5954 here.
5955
58179cce 5956 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 5957 variable.
58179cce 5958 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
5959 c-make-font-lock-search-function.
5960 (c-make-font-lock-search-function): Use the above function.
5961 (c-make-font-lock-context-search-function): New function.
5962 (c-cpp-matchers): Enhance the preprocessor expression case with
5963 the above function
5964 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
5965 which takes an expression.
5966
5967 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
5968
13009bd8
MR
59692011-08-20 Martin Rudalics <rudalics@gmx.at>
5970
5971 * window.el (display-buffer-reuse-window)
5972 (display-buffer-pop-up-window): Don't reuse or split a side
5973 window.
5974
9234ff7f
GM
59752011-08-19 Glenn Morris <rgm@gnu.org>
5976
5977 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 5978 Downcase "Mode:". (Bug#9331)
9234ff7f 5979
f635daa1
CY
59802011-08-18 Chong Yidong <cyd@stupidchicken.com>
5981
5982 * international/characters.el: Add L and R categories.
5983
5984 * subr.el (bidi-string-mark-left-to-right): Rename from
5985 string-mark-left-to-right. Use category search.
5986
5987 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
5988
bc987f8b
JL
59892011-08-18 Juri Linkov <juri@jurta.org>
5990
5991 * faces.el (error, warning, success): New faces with definitions
5992 copied from old default values of `font-lock-warning-face',
5993 `compilation-warning', `compilation-info' (bug#6117).
5994
5995 * font-lock.el (font-lock-warning-face): Inherit from `error'.
5996
5997 * progmodes/compile.el (compilation-error): Inherit from `error'.
5998 (compilation-warning): Inherit from `warning'.
5999 (compilation-info): Inherit from `success'.
6000
6001 * dired.el (dired-marked): Inherit from `warning'.
6002 (dired-flagged): Inherit from `error'.
6003
57173b96
LMI
60042011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6005
3e79eb87
LMI
6006 * mail/smtpmail.el (auth-source): Require to avoid problems with
6007 binding variables (bug#9298). Also clean up some unused
6008 autoloads.
6009
b3fd59bd
SM
6010 * net/network-stream.el (network-stream-open-starttls):
6011 Support using starttls.el without using gnutls-cli.
57173b96 6012
02b404de
JL
60132011-08-17 Juri Linkov <juri@jurta.org>
6014
6015 * progmodes/grep.el (rgrep): Handle the case when
6016 `grep-find-command' is a cons cell (bug#9278).
6017
8c9177f2
MR
60182011-08-17 Martin Rudalics <rudalics@gmx.at>
6019
6020 * window.el (display-buffer-pop-up-frame): Run frame creation
6021 function with BUFFER current (as special-display-popup-frame
6022 does). Reported by Drew Adams.
6023
3644a0ab
DU
60242011-08-17 Daiki Ueno <ueno@unixuser.org>
6025
6026 * epa-mail.el: Simplify GnuPG group expansion using
6027 epg-expand-group.
6028 (epa-mail-group-alist, epa-mail-group-modtime)
6029 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6030 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6031 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6032 Remove.
6033
5e617bc2 60342011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
6035
6036 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6037
9c4aeabf
AM
60382011-08-16 Alan Mackenzie <acm@muc.de>
6039
6040 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6041 Correct, to avoid the inside of macros.
6042
3a99bf64
RS
60432011-08-16 Richard Stallman <rms@gnu.org>
6044
04963aa8
RS
6045 * epa-mail.el: Handle GnuPG group definitions.
6046 (epa-mail-group-alist, epa-mail-group-modtime)
6047 (epa-mail-gnupg-conf-file): New variables.
6048 (epa-mail-parse-groups, epa-mail-sync-groups)
6049 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6050 (epa-mail-expand-recipients): New functions.
6051 (epa-mail-encrypt): Call epa-mail-expand-recipients.
6052
177549d0
RS
6053 * mail/rmail.el (rmail-epa-decrypt): New command.
6054
fe38beef
RS
6055 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6056 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
6057 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6058 (epa-decrypt-armor-in-region): Make error message clearer.
6059
934eacb9
SM
60602011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6061
6062 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6063 and "a2b" to "ab" for `prefix'.
6064
d024fb4e
CY
60652011-08-14 Chong Yidong <cyd@stupidchicken.com>
6066
6067 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6068 filter groups.
de148fee
CY
6069 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
6070 Fourquet (Bug#8804).
d024fb4e 6071
62f1ca49
JB
60722011-08-12 Juanma Barranquero <lekktu@gmail.com>
6073
6074 * startup.el (argi): Declare as global variable (bug#9275).
6075
9ccaaa4b
CY
60762011-08-12 Chong Yidong <cyd@stupidchicken.com>
6077
6078 * subr.el (string-mark-left-to-right): Search the entire string
6079 for RTL script, not just the terminating character. Doc fix.
6080
a3dae87a
SM
60812011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6082
6cd18349
SM
6083 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6084 New function.
6085 (js--regexp-literal, js-syntax-propertize-function): Remove.
6086 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6087 (js-mode-map): Don't rebind electric keys.
6088 (js-insert-and-indent): Remove.
6089 (js-mode): Setup electric-layout and electric-indent instead.
6090
a3dae87a
SM
6091 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6092
9d5cb631
DU
60932011-08-12 Daiki Ueno <ueno@unixuser.org>
6094
6095 * epa.el (epa-progress-callback-function): Fix the logic of
6096 displaying progress.
6097 * epa-file.el (epa-file-insert-file-contents): Make progress
6098 display more user-friendly.
6099 (epa-file-write-region): Ditto.
6100
3e26a4a2
CY
61012011-08-10 Chong Yidong <cyd@stupidchicken.com>
6102
6103 * subr.el (string-mark-left-to-right): New function.
6104
6105 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6106 Use string-mark-left-to-right.
6107 (list-buffers-noselect): Caller changed.
6108
a3dae87a
SM
6109 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6110 Use string-mark-left-to-right.
3e26a4a2
CY
6111 (tabulated-list-print): Recenter after moving point.
6112
ac8cf6e6
JL
61132011-08-10 Juri Linkov <juri@jurta.org>
6114
6115 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6116 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6117 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6118
8d96c9a4
CY
61192011-08-09 Chong Yidong <cyd@stupidchicken.com>
6120
6121 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6122 (Bug#7554).
6123
7be1c708 61242011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
6125
6126 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6127 character. (Bug#6594)
6128
37e11a63
CY
61292011-08-08 Chong Yidong <cyd@stupidchicken.com>
6130
839dde57
CY
6131 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6132 (image-dired--with-db-file): New macro.
6133 (image-dired-write-tags, image-dired-remove-tag)
6134 (image-dired-create-gallery-lists, image-dired-write-comments)
6135 (image-dired-get-comment, image-dired-mark-tagged-files)
6136 (image-dired-list-tags, image-dired-gallery-generate): Use it.
6137 (image-dired-gallery-generate): Use insert-file-contents.
6138
37e11a63
CY
6139 * time.el (display-time-world-list, display-time-world-display):
6140 * time-stamp.el (time-stamp-string):
6141 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6142 set-time-zone-rule (Bug#7337).
6143
0b4946c4
DU
61442011-08-08 Daiki Ueno <ueno@unixuser.org>
6145
6146 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6147 (epg-error-to-string, epg-errors-to-string): New function.
6148 (epg-wait-for-completion): Reverse errors list.
6149 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6150 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6151 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6152 (epg-sign-keys, epg-generate-key-from-file)
6153 (epg-generate-key-from-string): Format errors by using
6154 epg-errors-to-string (bug#9255).
6155 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6156
75bfc667
JL
61572011-08-07 Juri Linkov <juri@jurta.org>
6158
6159 * faces.el (list-faces-display): Remove extra angle bracket
6160 from `help-mode-map'.
6161
6162 * info.el (Info-history-toc-nodes): Doc fix.
6163
6164 * longlines.el (longlines-mode): Doc fix.
6165
673e08bb
SM
61662011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6167
4640dd88
SM
6168 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6169 of statements and in a few more cases (bug#9183).
6170
673e08bb
SM
6171 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6172 New functions.
6173 (cl-transform-lambda): Use them (bug#9239).
6174
89b3f019
MR
61752011-08-05 Martin Rudalics <rudalics@gmx.at>
6176
6177 * window.el (display-buffer-same-window)
6178 (display-buffer-same-frame, display-buffer-other-window)
6179 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6180 (pop-to-buffer-other-window)
6181 (pop-to-buffer-same-frame-other-window)
6182 (pop-to-buffer-other-frame): Make them defuns.
6183 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6184
640c8776
SM
61852011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6186
6187 * subr.el (make-composed-keymap): Move from C. Change calling
6188 convention, and improve docstring to bring attention to a subtle point.
6189 * minibuffer.el (completing-read-default): Adjust accordingly.
6190
63648a95
MA
61912011-08-03 Michael Albinus <michael.albinus@gmx.de>
6192
6193 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6194 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6195
6196 * net/trampver.el: Update release number.
6197
b796c9b7
SM
61982011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6199
6200 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6201 "in" (bug#9190).
6202
2239d7d5
LMI
62032011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6204
e07dd7c3
LMI
6205 * mail/sendmail.el (sendmail-query-once): Restore the current
6206 buffer after querying (bug#9074).
6207
0e6a2bd7
LMI
6208 * dired.el (dired-flagged): Use different faces for marked and
6209 flagged files (bug#6117).
6210
ce887515
LMI
6211 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6212 (bug#4433).
6213
92f2affc
LMI
6214 * ido.el (ido-mode): Switch off the message if called
6215 non-interactively.
6216
57d5aff0
LMI
6217 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6218 before 587, since it appears that that's more likely to work for
6219 more people.
6220
98cd6c18 6221 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 6222 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
6223 exist.
6224
b96dec83
LMI
6225 * info.el: Remove the `Info-beginning-of-buffer' function
6226 (bug#8325).
6227
b796c9b7
SM
6228 * net/network-stream.el (network-stream-open-starttls):
6229 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 6230
d90e2ea0
MR
62312011-08-01 Martin Rudalics <rudalics@gmx.at>
6232
6233 * window.el (display-buffer-in-window): Don't set dedicated status
6234 of window here (Bug#9215).
6235 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6236 (display-buffer-pop-up-side-window)
b796c9b7 6237 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 6238
cca09170
SM
62392011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6240
6241 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6242 before binding generated-autoload-file.
6243
027b979c
DD
62442011-08-01 Deniz Dogan <deniz@dogan.se>
6245
6246 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6247
3c7ee4f3
MA
62482011-07-30 Michael Albinus <michael.albinus@gmx.de>
6249
6250 Sync with Tramp 2.2.2.
6251
6252 * net/trampver.el: Update release number.
6253
2cc8e51a
JL
62542011-07-30 Juri Linkov <juri@jurta.org>
6255
6256 * dired-aux.el (dired-touch-initial): Remove function.
6257 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6258 current time, and `default' to the last modification time of the
6259 current marked file (bug#6887).
6260
a514d856
JM
62612011-07-28 Jose E. Marchesi <jemarch@gnu.org>
6262
6263 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 6264 numeric argument to read-number (bug#9163).
a514d856 6265
8a7eddd7
MA
62662011-07-27 Michael Albinus <michael.albinus@gmx.de>
6267
6268 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6269 connection process, it could be nil.
6270
1ddd96f5
LL
62712011-07-27 Leo Liu <sdl.web@gmail.com>
6272
6273 Simplify url handling in rcirc-mode.
6274
6275 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6276 (rcirc-browse-url-at-mouse): Remove.
6277 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6278
b248a85d
AM
62792011-07-26 Alan Mackenzie <acm@muc.de>
6280
6281 Fontify bitfield declarations properly.
6282
6283 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6284 (c-symbol-chars): Now exported as a lang variable.
6285 (c-not-primitive-type-keywords): New lang variable.
6286
6287 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6288 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 6289 parsed as a bitfield declaration.
b248a85d 6290
b796c9b7
SM
6291 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6292 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
6293 (c-punctuation-in): New function.
6294 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6295 declarations properly.
6296
68575ab0
UJ
62972011-07-26 Ulf Jasper <ulf.jasper@web.de>
6298
6299 * calendar/icalendar.el (icalendar--all-events): Take care of
6300 multiple vcalendars in a single file.
b796c9b7 6301 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 6302
0f0a88b9
DD
63032011-07-25 Deniz Dogan <deniz@dogan.se>
6304
6305 * image.el (insert-image): Clarifying docstring.
6306
0b3f36df
MA
63072011-07-24 Michael Albinus <michael.albinus@gmx.de>
6308
6309 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6310 `tramp-send-command-and-check' if there is no error.
6311 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6312
a9901f61
AM
63132011-07-22 Alan Mackenzie <acm@muc.de>
6314
6315 Prevent cc-langs.elc being loaded at run time.
6316
6317 * progmodes/cc-mode.el: Remove two autoload forms which loaded
6318 cc-langs.
6319
4d61f28d 6320 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
6321 "(require 'cc-langs)". Quote a form so it will evaluate at
6322 (cc-mode's) compilation time.
6323
11d074b2
MA
63242011-07-22 Michael Albinus <michael.albinus@gmx.de>
6325
6326 * net/tramp.el (tramp-file-name-handler): Avoid recursive
6327 loading. (Bug#9114)
6328
938b94c8
MR
63292011-07-21 Martin Rudalics <rudalics@gmx.at>
6330
6331 * window.el (display-buffer-pop-up-window)
6332 (display-buffer-pop-up-side-window)
6333 (display-buffer-in-side-window): Call display-buffer-set-height
6334 and display-buffer-set-width after setting the new window's
b796c9b7 6335 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 6336
bfa4f190
SS
63372011-07-20 Sam Steingold <sds@gnu.org>
6338
6339 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6340 (etags-tags-included-tables): Call `convert-standard-filename' on
6341 the file names contained in TAGS so that windows Emacs can handle
6342 TAGS files created by cygwin ctags.
6343
8ca42262
LMI
63442011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
6345
6346 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6347 which apparently didn't work.
6348
5db2afd2 63492011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 6350
5db2afd2
RW
6351 * proced.el (proced-send-signal): For *Marked Processes* buffer
6352 put point at beginning of buffer.
6353
92e15d10
SB
63542011-07-19 Stephen Berman <stephen.berman@gmx.net>
6355
6356 * proced.el (proced-format): Make header lines align with the text
6357 (bug#1779).
6358
1bfd59e5
LMI
63592011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6360
6361 * view.el (view-buffer): Allow running in `special' modes if we're
6362 visiting a file (bug#8615).
6363
f5aae37c
MR
63642011-07-19 Martin Rudalics <rudalics@gmx.at>
6365
6366 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
6367 (display-buffer-alist-set-1, display-buffer-alist-set-2):
6368 New functions.
f5aae37c
MR
6369 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6370 more accurately.
6371
bf2c1571
AM
63722011-07-18 Alan Mackenzie <acm@muc.de>
6373
6374 Fontify declarators properly when, e.g., a jit-lock chunk begins
6375 inside a declaration.
6376
6377 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6378
b796c9b7
SM
6379 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6380 New function.
bf2c1571
AM
6381 (c-complex-decl-matchers): Insert reference to
6382 c-font-lock-enclosing-decls.
6383
6384 * progmodes/cc-engine.el (c-backward-single-comment):
6385 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6386 to nil around calls to (forward-comment -1).
6387
4e190b80
LMI
63882011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6389
12dc863d
LMI
6390 * image.el (put-image): Doc typo fix.
6391
a762e966
LMI
6392 * progmodes/etags.el (tags-search): Doc typo fix.
6393
4e190b80
LMI
6394 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6395 password if we get errors 550 to 554.
6396
f019fb21
LMI
63972011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6398
b796c9b7 6399 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 6400
81746738
LMI
6401 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6402 indentation character (bug#6380).
6403
3ee3a1b5
LMI
6404 * files.el (buffer-offer-save): Made permanently local (bug#6241).
6405
c82f64de
LMI
6406 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6407 to clarify what the problem is (bug#4291).
6408
f019fb21
LMI
6409 * simple.el (current-kill): Clarify what
6410 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
6411 (auto-fill-mode): Document `auto-fill-function' in relation to
6412 `auto-fill-mode' (bug#2470).
f019fb21 6413
0794775d
LM
64142011-07-16 Lawrence Mitchell <wence@gmx.li>
6415
6416 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6417 method if slot is read-only (bug#9035).
6418
be39b8cc
MR
64192011-07-16 Martin Rudalics <rudalics@gmx.at>
6420
b796c9b7 6421 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 6422 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
6423 selected before, see discussion of (Bug#8615), (Bug#6954).
6424 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 6425
6ccf7859
GM
64262011-07-15 Glenn Morris <rgm@gnu.org>
6427
6428 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 6429 Respect help-form.
6ccf7859 6430
87e86684
LM
64312011-07-09 Lawrence Mitchell <wence@gmx.li>
6432
6433 * net/gnutls.el (gnutls-min-prime-bits): New variable.
6434 (gnutls-negotiate): Use it.
6435
d6066239
LMI
64362011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6437
b796c9b7
SM
6438 * net/gnutls.el (gnutls-negotiate):
6439 Upcase `gnutls-algorithm-priority'.
d6066239 6440
bd23ebc0
GM
64412011-07-15 Glenn Morris <rgm@gnu.org>
6442
c65bca65
GM
6443 * jka-compr.el (jka-compr-verbose): Move from here...
6444 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
6445 Add missing :version tag.
6446 * info.el: No need to require jka-compr when compiling.
bd23ebc0 6447
478615cc
LMI
64482011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6449
7b41decb
LMI
6450 * net/gnutls.el (gnutls-algorithm-priority): New variable.
6451 (gnutls-negotiate): Use it.
6452
dbc44fcd
LMI
6453 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6454
06789f97
LMI
6455 * info.el (Info-beginning-of-buffer): New command.
6456 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6457 announcing `b' as the key (bug#8325).
ab896c37 6458 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 6459
c39da690
LMI
6460 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6461
3aa5f34b
LMI
6462 * international/mule-cmds.el
6463 (describe-specified-language-support): Make the error message
6464 clearer (bug#8905).
6465
4bf0979f
LMI
6466 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6467
478615cc
LMI
6468 * isearch.el (isearch-barrier): Add a doc string, since it's
6469 mentioned in a function doc string (bug#8678).
6470
75c68aa1
MR
64712011-07-15 Martin Rudalics <rudalics@gmx.at>
6472
6473 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6474 buffer argument (Bug#9083) and self-identifying label argument.
6475
a7c33da2
GM
64762011-07-15 Glenn Morris <rgm@gnu.org>
6477
6478 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6479
2f5c6024
LMI
64802011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6481
6482 * man.el (Man-fontify-manpage): Fix message when formatting the
6483 man page (bug#7929).
6484
0bb23927 64852011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
6486
6487 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6488 argument LRM; if non-nil, append an invisible LRM character to the
6489 buffer name.
6490 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6491 last argument non-nil, when formatting buffer names.
0bb23927
EZ
6492 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6493 paragraph direction.
cce4b0a7 6494
621ef9ab
LMI
64952011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6496
d1583c48
LMI
6497 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6498 the man page name (bug#7929).
6499
6a57fb5f
LMI
6500 * image.el (put-image): Mention the `put-image' overlay property
6501 (bug#7834).
6502
d7956b14
LMI
6503 * scroll-bar.el (set-scroll-bar-mode): Mention that
6504 `scroll-bar-mode' lists the values (bug#7772).
6505
5b2d4a66
LMI
6506 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6507 command (bug#7729).
6508
7509a874
LMI
6509 * rect.el (apply-on-rectangle): Return the point after the last
6510 operation.
6511 (string-rectangle): Go to the point after the last operation
6512 (bug#7522).
6513
4fe74b19
LMI
6514 * printing.el (pr-toggle-region): Clarify the documentation
6515 slightly (bug#7493).
6516
b796c9b7
SM
6517 * time.el (display-time-update):
6518 Allow `display-time-mail-function' to return nil (bug#7158).
6519 Fix suggested by Detlev Zundel.
ab283561 6520
fc233c9d
LMI
6521 * vc/diff.el (diff): Clarify the order the file names are read
6522 (bug#7111).
6523
43f5740b
LMI
6524 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6525 the doc string (bug#7015).
6526
f2182a76
LMI
6527 * font-lock.el (font-lock-maximum-decoration): Mention what
6528 numeric levels mean (bug#6935).
6529
621ef9ab
LMI
6530 * startup.el (initial-buffer-choice): Don't mention the `none'
6531 selection, which is against policy.
6532
adc47434
MR
65332011-07-14 Martin Rudalics <rudalics@gmx.at>
6534
b796c9b7
SM
6535 * window.el (display-buffer-normalize-special):
6536 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 6537
7e5bfb8f
EZ
65382011-07-14 Eli Zaretskii <eliz@gnu.org>
6539
6540 * subr.el (version<, version<=, version=): Mention "-CVS" and
6541 "-12345" alpha version numbers.
6542
27fa387a
CY
65432011-07-14 Chong Yidong <cyd@stupidchicken.com>
6544
6545 * bindings.el: Add advertised binding for set-mark-command
6546 (Bug#5772).
6547
8bdfa064
CY
65482011-07-14 Chong Yidong <cyd@stupidchicken.com>
6549
6550 * bindings.el (mode-line-other-buffer):
6551 * bookmark.el (bookmark-bmenu-2-window):
6552 * bs.el (bs-cycle-next, bs-cycle-previous):
6553 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6554 switch-to-buffer.
6555
6556 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 6557 Delete.
8bdfa064 6558
5eba16a3
JB
65592011-07-14 Juanma Barranquero <lekktu@gmail.com>
6560
6561 * follow.el (follow-debug-message, follow-redisplay):
6562 * jka-cmpr-hook.el (with-auto-compression-mode):
6563 Fix typos in docstrings.
6564
15853710
LMI
65652011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6566
a28e4607
LMI
6567 * subr.el (with-silent-modifications): Clarify somewhat what the
6568 macro inhibits (bug#6525).
6569
15853710
LMI
6570 * simple.el (eval-expression): Note what it does if called
6571 interactively (bug#6495).
6572
bee0fcef
CY
65732011-07-13 Chong Yidong <cyd@stupidchicken.com>
6574
b796c9b7
SM
6575 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6576 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
6577
6578 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6579 Remove switch-to-buffer.
6580
58274504
LMI
65812011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6582
bd2fcc8d
LMI
6583 * files.el (make-directory): Clarify that an error will be raised
6584 if there's an error (bug#6397).
6585
0f04b32c
LMI
6586 * startup.el (initial-buffer-choice): Add `none' as a choice
6587 (bug#6234).
6588
465c5fc8
LMI
6589 * subr.el (add-hook): Clarify section about buffer-local hooks
6590 (bug#6218).
6591
58274504
LMI
6592 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6593
bead9a43
JB
65942011-07-13 Juanma Barranquero <lekktu@gmail.com>
6595
6596 * tabify.el (untabify): Preserve the current column so that point
6597 doesn't move (bug#6032).
6598
3af98a7b
LMI
65992011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6600
b796c9b7
SM
6601 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6602 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 6603
6240145a
GM
66042011-07-13 Glenn Morris <rgm@gnu.org>
6605
6606 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6607 (dired-insert-directory): Give a message the first time
6608 if ls is found not to support --dired.
6609
1d8c2ccc
LMI
66102011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6611
6612 * simple.el (toggle-truncate-lines): Clarify what is toggled
6613 (bug#5580). Text by Drew Adams.
6614
5fc4038e
CY
66152011-07-13 Chong Yidong <cyd@stupidchicken.com>
6616
6617 * simple.el (blink-matching-open): Make the error message from the
6618 last change less verbose.
6619
bf6012e5
DN
66202011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6621
6622 * font-lock.el (font-lock-comment-face): Use the high contrast
6623 "yellow" color for font-lock-comment-face on low color terminals
6624 using a dark background color (bug#4221).
6625
343c3b5a
LMI
66262011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6627
7e9505c5
LMI
6628 * dired.el (dired-insert-set-properties): Make the doc string
6629 reflect what it does now (bug#5325).
6630
c26fdcf5
LMI
6631 * simple.el (blink-matching-open): Say that we were unable to find
6632 the match within the limit, if we're limited (bug#5122).
6633
bb388cc5
LMI
6634 * international/mule-cmds.el (prefer-coding-system): Add an
6635 example (bug#4869).
6636
343c3b5a
LMI
6637 * progmodes/etags.el (tags-search): Document `file-list-form'
6638 (bug#4731).
6639
2a517d45
LM
66402011-07-13 Lawrence Mitchell <wence@gmx.li>
6641
6642 * net/browse-url.el (browse-url-default-browser)
6643 (browse-url-browser-function): Make the default browser choice a
6644 bit more logical (bug#4300). Also clean up the doc string.
6645
b6c78ef2
JB
66462011-07-13 Juanma Barranquero <lekktu@gmail.com>
6647
6648 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6649 binary endings (bug#4440).
6650
1c4dd947
LMI
66512011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6652
a2014063
LMI
6653 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6654 which can be pretty annoying (bug#8971).
6655
9c9c2d88
LMI
6656 * jka-compr.el (jka-compr-verbose): New variable, and use
6657 throughout (bug#8971).
6658
1c4dd947
LMI
6659 * info.el (Info-find-file): Fall back on the installation
6660 directory if we can't find the info node anywhere else.
6661
a1c9f41b
SO
66622011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6663
6664 * vc/vc.el (vc-revert-file):
6665 Don't set file time-stamp in the past. (Bug#5181)
6666
536f3d36
LMI
66672011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6668
7152b011
LMI
6669 * files.el (after-find-file): Give a better error message when
6670 trying to find a symlink that points to a file that doesn't exist
6671 (bug#4398).
6672
536f3d36
LMI
6673 * progmodes/cc-vars.el: Remove (probably) misleading comment
6674 (bug#4396).
6675
460c0fba
JB
66762011-07-12 Johan Bockgård <bojohan@gnu.org>
6677
6678 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6679
7a6bda45
CY
66802011-07-12 Chong Yidong <cyd@stupidchicken.com>
6681
6682 * mouse-sel.el: Hack restoring functionality, while keeping
6683 compatibility with 2010-07-03 changes to mouse selection.
6684 (mouse-sel-primary-overlay): New var.
6685 (mouse-sel-selection-alist): Use it.
6686 (mouse-sel-mode): Doc fix; remove points that are default features
6687 of mouse.el.
6688
c79598ef
JB
66892011-07-12 Johan Bockgård <bojohan@gnu.org>
6690
6691 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6692 Fix previous fix (bug#2490).
6693
ff8be6ef
RW
66942011-07-12 Roland Winkler <winkler@gnu.org>
6695
b796c9b7
SM
6696 * textmodes/bibtex.el (bibtex-initialize):
6697 Use pop-to-buffer-same-window.
ff8be6ef
RW
6698 (bibtex-search-entries): Fix interactive call.
6699
296ba3ee
LMI
67002011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6701
f5242a02 6702 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
6703 Fontise bytecomp Error lines more correctly (bug#2490).
6704 Fix suggested by Johan Bockgård.
f5242a02 6705
296ba3ee
LMI
6706 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6707
6708 * dired-x.el (dired-guess-default): Use `delete-dups'.
6709
f69fd0d2
CY
67102011-07-12 Chong Yidong <cyd@stupidchicken.com>
6711
6712 * dired.el (dired-mark-prompt):
6713 * dired-aux.el (dired-read-shell-command): Doc fix.
6714
eab5dc07
LMI
67152011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6716
b796c9b7
SM
6717 * mail/sendmail.el (sendmail-query-once):
6718 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
6719 emacs -Q.
6720
6721 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6722
eab5dc07
LMI
6723 * cus-edit.el (custom-file): Take an optional no-error variable.
6724 (customize-save-variable): Set the variable, and give a warning if
6725 running under "emacs -q".
6726
a1e65d42
JB
67272011-07-11 Juanma Barranquero <lekktu@gmail.com>
6728
6729 * loadhist.el (unload-feature-special-hooks):
6730 Add `auto-coding-functions', `fill-nobreak-predicate' and
6731 `find-directory-functions' (bug#5327).
6732
1d52da10
LMI
67332011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6734
be958f1d
LMI
6735 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6736
5bedb26c
LMI
6737 * cus-edit.el (custom-guess-name-alist): -alist variables should
6738 use the `alist' type (bug#3120). Suggested by Drew Adams.
6739
1d52da10
LMI
6740 * printing.el: Add documentation to all the `pr-toggle-' commands.
6741
cd394be1 67422011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
6743
6744 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6745 backends where it makes sense (bug#2623).
6746
dcc88d8a
LMI
67472011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6748
c3de9feb
LMI
6749 * dired-x.el (dired-guess-default): Remove duplicate shell command
6750 entries (bug#2028).
8a93078b 6751 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 6752 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 6753
dcc88d8a
LMI
6754 * subr.el (remove-duplicates): New conveniency function.
6755
505e3645
LMI
67562011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6757
6758 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6759 (bug#1526).
6760
67612011-07-10 Martin Rudalics <rudalics@gmx.at>
6762
6763 * window.el (display-buffer-normalize-default): Don't invert
6764 meaning of even-window-heights. Reported by Eli Zaretskii
6765 <eliz@gnu.org>.
6766
455e4fa1
BR
67672011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6768
6769 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6770
8e0bc3e9
CY
67712011-07-10 Chong Yidong <cyd@stupidchicken.com>
6772
6773 * window.el (display-buffer): Fix arguments to
6774 display-buffer-reuse-window in last change.
6775
fa7c3228
CY
6776 * faces.el (link): Use a less saturated blue on light backgrounds.
6777
6778 * startup.el (fancy-startup-text, fancy-about-text)
6779 (fancy-startup-tail): Use font-lock faces, for background safety.
6780
c0a7f300
BN
67812011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6782
b796c9b7
SM
6783 * emulation/viper-cmd.el (viper-change-state-to-vi):
6784 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 6785
4dc2a129
MR
67862011-07-09 Martin Rudalics <rudalics@gmx.at>
6787
6788 * window.el (display-buffer-default-specifiers): Remove.
6789 (display-buffer-macro-specifiers): Remove default specifiers.
6790 (display-buffer-alist): Default to nil.
b796c9b7 6791 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
6792 (display-buffer-pop-up-window): Allow splitting internal
6793 windows. Check whether a live window was created.
6794 (display-buffer-other-window-means-other-frame)
6795 (display-buffer-normalize-arguments): Rename to
6796 display-buffer-normalize-argument and rewrite. Set the
6797 other-window specifier.
6798 (display-buffer-normalize-special): New function.
6799 (display-buffer-normalize-options): Rename to
6800 display-buffer-normalize-default and rewrite.
6801 (display-buffer-normalize-options-inhibit): Remove.
6802 (display-buffer-normalize-specifiers): Rewrite.
6803 (display-buffer): Process other-window specifier and call
6804 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6805 more faithfully.
b796c9b7 6806 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 6807 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
6808 (display-buffer-in-window, display-buffer-alist-set):
6809 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
6810 <tassilo@member.fsf.org>.
6811
2d43b8c9
LL
68122011-07-09 Leo Liu <sdl.web@gmail.com>
6813
6814 * register.el (insert-register): Restore accidental change on
6815 2011-06-26. (Bug#9028)
6816
7f9b7c53
GM
68172011-07-09 Glenn Morris <rgm@gnu.org>
6818
6819 * subr.el (remq): Handle the empty list. (Bug#9024)
6820
f042cfd8
AS
68212011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6822
6823 * mail/sendmail.el (send-mail-function): No longer delay custom
6824 initialization.
6825 * custom.el (custom-initialize-delay): Doc fix.
6826
856b2f11
SM
68272011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6828
6829 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6830
afae1d68
MA
68312011-07-08 Michael Albinus <michael.albinus@gmx.de>
6832
6833 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6834 human-friendly prompt.
6835
0757af94
SM
68362011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6837
6838 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6839 provided by a particular plugin.
6840
d760b731
LMI
68412011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6842
6843 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6844 save customizations (with "emacs -Q"), just set the variable
6845 instead of erroring out.
6846
6847 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6848
cd79ce90
JL
68492011-07-08 Juri Linkov <juri@jurta.org>
6850
6851 * arc-mode.el (archive-zip-expunge, archive-zip-update)
6852 (archive-zip-update-case): Use 7z if found by `executable-find'.
6853 The order of searching the available programs is the same as in
6854 `archive-zip-extract' (bug#8968).
6855
14cc04aa
CY
68562011-07-07 Chong Yidong <cyd@stupidchicken.com>
6857
6858 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6859 (menu-bar-options-menu): Tweak descriptions.
6860
0a1848ec
LMI
68612011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6862
6863 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6864 menu items into verb phrases (bug#1421). Also refill to fit under
6865 80 columns.
6866
f5bd0689
CY
68672011-07-07 Chong Yidong <cyd@stupidchicken.com>
6868
538e85c6
CY
6869 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6870 (Info-read-node-name): Doc fix (Bug#1084).
6871
f5bd0689
CY
6872 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6873 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6874 (end-of-sexp, beginning-of-sexp)
6875 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6876 (forward-symbol, forward-same-syntax, word-at-point)
6877 (sentence-at-point): Doc fix (Bug#1144).
6878
56ec5115
LMI
68792011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6880
f3f8e37f
LMI
6881 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6882 should cover it (bug#1281).
6883
0757af94 6884 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 6885
e9fce1ac 6886 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
6887 negotiation fails, then possibly try again with a non-encrypted
6888 connection (bug#9017).
6889
56ec5115
LMI
6890 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6891 be used.
6892
c2f9aec8
RS
68932011-07-07 Richard Stallman <rms@gnu.org>
6894
6895 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6896 property, and handle its changed format.
6897 Look for the correct line number.
6898 Use file's line contents (but not past first =) to find
6899 correct line in message.
6900
ef7b981d 69012011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
6902
6903 * international/characters.el (build-unicode-category-table):
6904 Delete it.
0757af94 6905 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 6906
0757af94 6907 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
6908 to src/chartab.c.
6909 (get-char-code-property): Call unicode-property-table-internal to
6910 load a file. Call get-unicode-property-internal where necessary.
6911 (put-char-code-property): Call unicode-property-table-internal to
6912 load a file. Call put-unicode-property-internal where necessary.
6913 put-unicode-property-internal where necessary.
0757af94
SM
6914 (char-code-property-description):
6915 Call unicode-property-table-internal to load a file.
c805dec0
KH
6916
6917 * international/charprop.el:
6918 * international/uni-bidi.el:
6919 * international/uni-category.el:
6920 * international/uni-combining.el:
6921 * international/uni-comment.el:
6922 * international/uni-decimal.el:
6923 * international/uni-decomposition.el:
6924 * international/uni-digit.el:
6925 * international/uni-lowercase.el:
6926 * international/uni-mirrored.el:
6927 * international/uni-name.el:
6928 * international/uni-numeric.el:
6929 * international/uni-old-name.el:
6930 * international/uni-titlecase.el:
6931 * international/uni-uppercase.el: Regenerate.
6932
6933 * loadup.el: Load international/charprop.el before
6934 international/characters.
6935
e14b388a
CY
69362011-07-07 Chong Yidong <cyd@stupidchicken.com>
6937
6938 * window.el (next-buffer, previous-buffer): Signal an error if
6939 called from a minibuffer window.
6940
6941 * bindings.el: Revert 2011-07-04 change.
6942
354cf0ba
RS
69432011-07-06 Richard Stallman <rms@gnu.org>
6944
6945 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6946 (rmail-mime-insert-bulk, rmail-mime-insert-text):
6947 Treat markers like ints.
6948 (rmail-mime-entity): Doc fix.
6949
a48868a7
LMI
69502011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6951
4906cd3d
LMI
6952 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6953 defcustom again for backwards compatibility.
6954
e0457abe
LMI
6955 * simple.el (shell-command-on-region): Fill.
6956
d67f7e1f
LMI
6957 * dired-aux.el (dired-kill-line): Add a doc string.
6958
fe204702
LMI
6959 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6960 to "\\sw\\|\\s_" (bug#358).
6961
a48868a7
LMI
6962 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
6963 (dired-unmark-backward): Ditto.
6964 (dired-flag-backup-files): Ditto.
6965
6966 * dired-x.el (dired-mark-sexp): Ditto.
6967
aa8a705c
RS
69682011-07-06 Richard Stallman <rms@gnu.org>
6969
6970 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
6971 (rmail-mime-entity): New arg TRUNCATED.
6972 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
6973 New functions.
6974 (rmail-mime-save): Warn if entity is truncated.
6975 (rmail-mime-toggle-hidden): Likewise, for showing.
6976 (rmail-mime-process-multipart): Record when an entity is truncated.
6977
a9a936b9
RS
6978 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
6979 if ENTITY is a string.
6980
1f2b92cb
LMI
69812011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6982
f4f73198 6983 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
6984 of faces when `M-C-x'-ing their definitions (bug#8378).
6985 Also clean up the code slightly.
f4f73198 6986
12b16734 6987 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 6988 because that makes the colors go away.
12b16734 6989
f0691d22
LMI
6990 * mail/sendmail.el (send-mail-function): Change the default to
6991 `sendmail-query-once'.
9e87df06 6992 (sendmail-query-once): Add an autoload cookie.
f0691d22 6993
1f2b92cb
LMI
6994 * net/network-stream.el (network-stream-open-starttls): Try using
6995 a plain connection even if the server offered STARTTLS, and we
6996 kinda wanted to use it, if Emacs doesn't have any STARTTLS
6997 capability. This should make smtpmail.el work in slightly more
6998 configurations.
6999
1cdd2a1b
MA
70002011-07-06 Michael Albinus <michael.albinus@gmx.de>
7001
7002 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7003 New defun.
7004 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7005
fbcc67e2
MM
70062011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7007
7008 * progmodes/sql.el: Version 3.0
0757af94 7009 (sql-product-alist): Add product :completion-object,
fbcc67e2 7010 :completion-column, and :statement attributes.
0757af94 7011 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 7012 (sql-mode-syntax-table): Mark all punctuation.
0757af94 7013 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
7014 ansi keywords.
7015 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 7016 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
7017 (sql-oracle-show-reserved-words): New function for development.
7018 (sql-product-font-lock): Simplify for source code buffers.
7019 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7020 New functions.
7021 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
7022 (sql-mode-map): Add statement movement functions.
7023 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7024 New variable.
fbcc67e2
MM
7025 (sql-statement-regexp, sql-beginning-of-statement)
7026 (sql-end-of-statement, sql-signum): New functions.
0757af94 7027 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
7028 (sql-show-sqli-buffer): Bug fix.
7029 (sql-interactive-mode): Store connection data as buffer local.
0757af94 7030 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
7031 with sql-interactive-mode.
7032 (sql-save-connection): Save buffer local settings.
0757af94 7033 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
7034 (sql-product-interactive): Bug fix.
7035 (sql-preoutput-hold): New variable.
7036 (sql-interactive-remove-continuation-prompt): Bug fixes.
7037 (sql-debug-redirect): New variable.
7038 (sql-str-literal): New function.
7039 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 7040 Redesign.
fbcc67e2
MM
7041 (sql-oracle-save-settings, sql-oracle-restore-settings)
7042 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7043 (sql-completion-object, sql-completion-column)
7044 (sql-completion-sqlbuf): New variables.
7045 (sql-build-completions-1, sql-build-completions)
7046 (sql-try-completion): New functions.
7047 (sql-read-table-name): Use them.
7048 (sql-contains-names): New buffer local variable.
7049 (sql-list-all, sql-list-table): Use it.
7050 (sql-oracle-completion-types): New variable.
7051 (sql-oracle-completion-object, sql-sqlite-completion-object)
7052 (sql-postgres-completion-object): New functions.
7053
d4eaeab1
GM
70542011-07-06 Glenn Morris <rgm@gnu.org>
7055
7056 * window.el (pop-to-buffer): Doc fix.
7057
322b7dab 70582011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
7059
7060 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7061
322b7dab 70622011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 7063
322b7dab 7064 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 7065
322b7dab 7066 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 7067
605dd5bf
CY
70682011-07-05 Chong Yidong <cyd@stupidchicken.com>
7069
7070 * button.el (button): Inherit from link face. Suggested by Dan
7071 Nicolaescu.
7072
7dbfa719
SM
70732011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7074
3db614b0
SM
7075 * progmodes/gdb-mi.el: Fit in 80 columns.
7076 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7077 switch-to-buffer.
7078
7dbfa719
SM
7079 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7080 if imenu is simply not configured (bug#8941).
7081
919d884a
KM
70822011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7083
7084 * allout.el (allout-post-undo-hook): New allout outline-change
7085 event hook to signal undo activity.
7086 (allout-post-command-business): Run allout-post-undo-hook if an
7087 undo just occurred.
7dbfa719
SM
7088 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7089 * allout-widgets.el (allout-widgets-after-undo-function):
7090 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
7091 in the vicinity of an undo.
7092 (allout-widgets-mode): Include allout-widgets-after-undo-function
7093 on the new allout-post-undo-hook.
7094
450a0f09
SM
70952011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7096
7097 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7098 Let define-derived-mode define it.
7099 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7100 cycles of abbrev-table inheritance (bug#8998).
7101
2de69e00
RW
71022011-07-05 Roland Winkler <winkler@gnu.org>
7103
7104 * textmodes/bibtex.el: Add support for biblatex.
7105 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7106 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7107 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7108 (bibtex-entry-alist, bibtex-field-alist): New variables.
7109 (bibtex-entry-field-alist): Obsolete alias for
7110 bibtex-BibTeX-entry-alist.
7111 (bibtex-entry-alist, bibtex-field-alist): New widgets.
7112 (bibtex-set-dialect): New command.
7113 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
7114 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7115 Bind via bibtex-set-dialect.
2de69e00
RW
7116 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7117 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7118 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7119 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7120 Define via bibtex-set-dialect.
450a0f09
SM
7121 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7122 Obey bibtex-no-opt-remove-re.
2de69e00
RW
7123 (bibtex-vec-push, bibtex-vec-incr): New functions.
7124 (bibtex-format-entry, bibtex-field-list)
7125 (bibtex-print-help-message, bibtex-validate)
7126 (bibtex-search-entries): Use new format of bibtex-entry-alist.
7127
2dcdbdd9
SM
71282011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7129
7130 * progmodes/compile.el (compilation-goto-locus):
7131 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7132 * bs.el (bs-cycle-next, bs-cycle-previous):
7133 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7134 * bindings.el (mode-line-other-buffer):
7135 * autoinsert.el (auto-insert):
7136 * arc-mode.el (archive-extract):
7137 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7138
b27640fe
JB
71392011-07-05 Juanma Barranquero <lekktu@gmail.com>
7140
7141 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7142 Fix check of `emacs-lock-unlockable-modes'.
7143 Coerce true values of `emacs-lock--try-unlocking' to t.
7144
53bbe3ad
JB
71452011-07-05 Juanma Barranquero <lekktu@gmail.com>
7146
7147 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7148 * emacs-lock.el: New file.
7149
1d3cdbc7
JD
71502011-07-05 Julien Danjou <julien@danjou.info>
7151
7152 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7153 than `boundp' to check if face is set.
7154
9173deec
JB
71552011-07-05 Juanma Barranquero <lekktu@gmail.com>
7156
7157 * register.el (registerv-make):
7158 * window.el (window-min-height): Fix typos in docstrings.
7159
869795d6
JD
71602011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7161
9173deec 7162 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
7163 Update doc string.
7164
b768cdcd
JB
71652011-07-04 Juanma Barranquero <lekktu@gmail.com>
7166
7167 * server.el (server-execute): Catch quit and call
7168 `server-return-error' to pass the error back to emacsclient and
7169 close the connection (bug#8942).
7170
13aa217b
KM
71712011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
7172
7173 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7174 insecure exception for current topic. Also note that auto-saves
7175 are handled differently.
7176
7177 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7178 State variables for tracking auto-save inhibition situation.
7179
7180 (allout-write-contents-hook-handler): Rename from
7181 'allout-write-file-hook-handler', and describe how it depends on
7182 write-contents-functions sensitivity to non-nil value to prevent
7183 file write.
7184
7185 (allout-auto-save-hook-handler): Remove. auto-save does not check
7186 this in individual buffers, only in the starting buffer, so this
7187 is not the right way for us to inhibit auto-save in a buffer
7188 according to its condition.
7189
7190 (allout-mode): Use new allout-write-contents-hook-handler, and
7191 only with write-contents-functions. Remove auto-save provisions -
7192 they're implemented elsewhere.
7193
7194 (allout-before-change-handler): If undo is in progress, note that
7195 for attention of allout-post-command-business.
7196
7197 (allout-post-command-business): If the command we're following was
7198 an undo, check for change in the status of encrypted items and
7199 adjust auto-save inhibitions accordingly.
7200
7201 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7202 according to whether there are or aren't any plain-text topics
7203 pending encryption.
7204
2dcdbdd9 7205 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
7206 Adjust buffer-saved-size and some allout state to inhibit auto-saves
7207 if there are plain-text topics pending encryption.
13aa217b
KM
7208
7209 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7210 buffer-saved-size and some allout state to not inhibit auto-saves
7211 if there are no longer any plain-text topics pending encryption.
7212
0757af94
SM
7213 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7214 No longer provide for exemption of the current topic.
13aa217b 7215
ac89b32c
JL
72162011-07-04 Juri Linkov <juri@jurta.org>
7217
7218 Add 7z operations to delete and save changed members (bug#8968).
7219 * arc-mode.el (archive-7z-expunge, archive-7z-update):
7220 New defcustoms.
7221 (archive-7z-write-file-member): New function.
7222 (archive-7z-summarize): Fix the number of dashes in the
7223 listing output.
7224
8fa39615
SM
72252011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7226
7227 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7228 (bug#8958).
7229
2f11b3f1
CY
72302011-07-04 Chong Yidong <cyd@stupidchicken.com>
7231
d66fef2b
CY
7232 * bindings.el: Ignore next-buffer and previous-buffer in
7233 minibuffer-local-map.
7234
2f11b3f1
CY
7235 * font-lock.el (font-lock-builtin-face): Change light background
7236 color to dark slate blue (Bug#6693).
7237
f932a347
WD
72382011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
7239
7240 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7241
c8af70e1
SM
72422011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7243
7244 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7245 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7246 Add switch-to-buffer.
7247
f158badc
LMI
72482011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7249
7250 * isearch.el (isearch-search-fun-function): Clarify further the
7251 meaning of the function returned.
7252
6d95bd46
MA
72532011-07-04 Michael Albinus <michael.albinus@gmx.de>
7254
7255 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7256
7257 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7258 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7259 Use it.
7260 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
7261 `tramp-default-remote-path' does not exist.
7262 (tramp-send-command-and-read): New optional argument NOERROR.
7263 (tramp-open-connection-setup-interactive-shell)
7264 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7265 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7266 (tramp-process-sentinel): Flush also process' connection property.
7267 (tramp-sh-handle-start-file-process): Do not set process
7268 sentinel. It is done now ...
7269 (tramp-maybe-open-connection): ... here. (Bug#8929)
7270
909e6b67
MK
72712011-07-04 MON KEY <monkey@sandpframing.com>
7272
7273 * play/animate.el (animate-string): Doc fixes and allow changing
7274 the buffer name (bug#5417).
7275
72762011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7277
c8af70e1 7278 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 7279
f34755dc
PE
72802011-07-04 Paul Eggert <eggert@cs.ucla.edu>
7281
396cec72
PE
7282 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7283 This is simpler and helps future-proof the code.
7284 (timer-until): Use time-subtract and float-time.
08235028 7285 (timer--time-less-p): Use time-less-p.
f34755dc 7286
56e6cc31
JB
72872011-07-04 Juanma Barranquero <lekktu@gmail.com>
7288
3abb79e5
JB
7289 * type-break.el (timep): Use the value of `float-time' to avoid a
7290 byte-compiler warning.
7291
56e6cc31
JB
7292 * server.el (server-eval-and-print): Return any result, even nil.
7293
7b9430b4
PE
72942011-07-03 Paul Eggert <eggert@cs.ucla.edu>
7295
7296 * type-break.el: Accept time formats that the builtins accept.
7297 (timep, type-break-time-difference): Accept any format that
7298 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7299 This is simpler and helps future-proof the code.
7300 (type-break-time-difference): Round rather than ignoring
7301 subseconds components.
7302
3034e9e7
LMI
73032011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7304
7305 * info.el (Info-apropos-matches): Make non-interactive, since it
7306 doesn't seem to do anything useful as a command (bug#8829).
7307
1485f4c0
CY
73082011-07-03 Chong Yidong <cyd@stupidchicken.com>
7309
7310 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 7311 Move from faces.el.
1485f4c0
CY
7312 (frame-default-terminal-background): New function.
7313
7314 * custom.el (custom-push-theme): Don't record faces in `changed'
7315 theme; this doesn't work correctly for per-frame face settings.
7316 (disable-theme): Use face-set-after-frame-default to reset faces.
7317 (custom--frame-color-default): New function.
7318
9fa3dd45
LMI
73192011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7320
c8af70e1 7321 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
7322 (bug#8769).
7323
6cbbc20c
KR
73242011-03-29 Kevin Ryde <user42@zip.com.au>
7325
7326 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7327 `perl-Test2' extend to match possible "fail #N" rep count
7328 (bug#8377).
7329
c7f98048
LMI
73302011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7331
65676592
LMI
7332 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7333 `smtpmail-via-smtp' now returns the error instead of nil.
7334
c7f98048
LMI
7335 * isearch.el (isearch-search-fun-function): Clarify the doc string
7336 (bug#8101).
7337
56e6cc31 73382011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
7339
7340 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7341 unnecessary spaces (bug#8987).
7342
2b216704
LMI
73432011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7344
7345 * net/network-stream.el (open-network-stream): Use the
7346 :end-of-capability command thoughout.
7347
73482011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7349
7350 * net/network-stream.el (open-network-stream): Add the
7351 :end-of-capability command parameter, used by pop3.el.
7352
36adf6ce
LMI
73532011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7354
1ca0da0e
LMI
7355 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7356
fc00f69c
LMI
7357 * fringe.el (fringe-query-style): Remove redundant text " (type ?
7358 for list)" (bug#6475).
7359
28fd8759 7360 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 7361 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
7362 an error (bug#6297).
7363
0dd8b6da
LMI
7364 * man.el (Man-reference-regexp): Allow matching possible
7365 word-wrapped references (bug#6289).
7366
ce1438d6
LMI
7367 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7368 for consistency with the other vc buffers (bug#6197).
7369 (vc-checkin): Ditto.
7370
7371 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7372
36adf6ce
LMI
7373 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7374
e83cc1f7
LMI
73752011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7376
8a20ca4c
LMI
7377 * custom.el (defcustom): Clarify that :set is only used in the
7378 Customize user interface (bug#6089).
7379
83319045
LMI
7380 * progmodes/flymake.el (flymake-mode): If the buffer isn't
7381 associated with a file, refuse to run instead of erroring out
7382 (bug#6084).
7383
a8392169
LMI
7384 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7385 the doc string, since it appears that using `fill-column' always
7386 controls the width (bug#7845).
7387
e83cc1f7
LMI
7388 * simple.el (shell-command-on-region): Say where the error output
7389 went if `shell-command-default-error-buffer' is set (bug#6857).
7390
e47ca23b
KM
73912011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
7392
7393 * allout.el (allout-yank-processing): Adjust cursor position for
7394 backwards-deleted space.
7395
7396 (allout-rebullet-heading): Register changes with
7397 allout-exposure-changed-hook, so the modified topic is properly
7398 decorated.
7399
5cf56143
LMI
74002011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7401
08549772
LMI
7402 * minibuffer.el (completion-in-region): Document PREDICATE
7403 (bug#7136).
7404
48e96771
LMI
7405 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7406 of keyword/argument pairs (bug#6904).
7407
c8af70e1
SM
7408 * replace.el (multi-occur):
7409 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 7410
e17d05e2
LMI
74112011-07-02 Drew Adams <drew.adams@oracle.com>
7412
7413 * dired.el (dired-mark-if): Make the message about whether it's
7414 marking or unmarking clearer (bug#8523).
7415
063b0e45
LMI
74162011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7417
7418 * disp-table.el (display-table-print-array): New function.
7419 (describe-display-table): Use it to print the vectors more pretty
7420 (Bug#8859).
7421
28545e04
MR
74222011-07-02 Martin Rudalics <rudalics@gmx.at>
7423
7424 * window.el (window-state-get-1): Don't assign clone numbers.
7425 Add clone-of item to list of window parameters.
7426 (window-state-put-2): Don't process clone numbers.
7427 (display-buffer-alist): Fix doc-string.
7428
3349e122
SM
74292011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7430
7431 * subr.el (remq): Don't allocate if it's not needed.
7432 (keymap--menu-item-binding, keymap--menu-item-with-binding)
7433 (keymap--merge-bindings): New functions.
7434 (keymap-canonicalize): Use them to refine the canonicalization.
7435 * minibuffer.el (minibuffer-local-completion-map)
7436 (minibuffer-local-must-match-map): Move initialization from C.
7437 (minibuffer-local-filename-completion-map): Move initialization from C;
7438 don't inherit from anything here.
7439 (minibuffer-local-filename-must-match-map): Make obsolete.
7440 (completing-read-default): Use make-composed-keymap to combine
7441 minibuffer-local-filename-completion-map with either
7442 minibuffer-local-must-match-map or
7443 minibuffer-local-filename-completion-map.
7444
d224ac83
GM
74452011-07-01 Glenn Morris <rgm@gnu.org>
7446
3de63bf8
GM
7447 * type-break.el (type-break-time-sum): Use dolist.
7448
d224ac83
GM
7449 * textmodes/flyspell.el (flyspell-word-search-backward):
7450 Replace CL function.
7451
1a1e3f32
SM
74522011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7453
fe3f64d5
SM
7454 * mouse.el (mouse--strip-first-event): New function.
7455 (function-key-map): Use it to map fringe clicks to normal clicks
7456 by default.
7457
eb604e34
SM
7458 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7459 (vc-bzr-revision-completion-table): Add support for annotate and date.
7460
1a1e3f32
SM
7461 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7462 inherit from parent.
7463
5bd35902
LMI
74642011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7465
ace6c69c 7466 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 7467 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 7468
191e2bed
LMI
7469 * dired.el (dired-mode): Fix up the doc string as suggested by
7470 Drew Adams (bug#8817).
7471
5bd35902
LMI
7472 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7473 cookie, since the manual says that it should be possible to add
7474 this function to `find-file-hook' (bug#8709).
7475
eee8207a
TZ
74762011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7477
7478 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7479 here. Noted Ted Zlatanov as the maintainer.
7480 (cfengine-common-settings, cfengine-common-syntax): New functions
7481 to set up common things between `cfengine-mode' and
7482 `cfengine3-mode'.
7483 (cfengine3-mode): New mode.
7484 (cfengine3-defuns cfengine3-defuns-regex
7485 (cfengine3-class-selector-regex cfengine3-category-regex)
7486 (cfengine3-vartypes cfengine3-font-lock-keywords)
7487 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 7488 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 7489
36b148cf
MA
74902011-07-01 Michael Albinus <michael.albinus@gmx.de>
7491
7492 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7493
7494 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7495
0bf4ba9a
MR
74962011-07-01 Martin Rudalics <rudalics@gmx.at>
7497
7498 * window.el (same-window-buffer-names, same-window-regexps)
7499 (same-window-p, special-display-frame-alist)
7500 (special-display-popup-frame, special-display-function)
7501 (special-display-buffer-names, special-display-regexps)
7502 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7503 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7504 (split-window-preferred-function, split-height-threshold)
7505 (split-width-threshold, even-window-heights)
7506 (display-buffer-mark-dedicated, window-splittable-p)
7507 (split-window-sensibly, window-safely-shrinkable-p):
7508 Un-obsolete.
7509 (display-buffer): Don't spread args with function specifier
7510 because special-display-popup-frame won't like it.
7511
35837f51
PE
75122011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7513
d0672f86
PE
7514 Time-stamp simplifications and fixes.
7515 These improve accuracy slightly, and future-proof the code
7516 against some potential changes to current-time format.
7517
b9444d97
PE
7518 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7519 by using time-since and float-time.
7520
0ef923dc
PE
7521 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7522 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7523 + NNN microseconds".
7524
2f81380d
PE
7525 * type-break.el (type-break-time-sum): Rewrite using time-add.
7526
845b5c3e
PE
7527 * play/hanoi.el (hanoi-current-time-float): Remove.
7528 All uses replaced by float-time.
7529
ee6f1be0
PE
7530 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7531 This yields a more-accurate answer.
7532 (rng-time-to-float): Remove; no longer needed.
7533
fe955043
PE
7534 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7535
5777162a
PE
7536 * calendar/timeclock.el (timeclock-seconds-to-time):
7537 Defalias to seconds-to-time, since they're the same thing.
7538
3103f8b6 7539 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 7540 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
7541 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7542
0e61a35f
SM
75432011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7544
7545 * window.el (bury-buffer): Don't iconify the only frame.
7546 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7547 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7548
ddd63a1e
CY
75492011-07-01 Chong Yidong <cyd@stupidchicken.com>
7550
0e61a35f
SM
7551 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7552 Add mouse-yank-primary.
ddd63a1e 7553
055f4923
TZ
75542011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7555
7556 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7557
6a2fb145
SM
75582011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7559
7560 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7561 (find-library-name): Use it to find relative load names when provided
7562 absolute file name (bug#8803).
7563
fd4983f2
LMI
75642011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7565
887d14ad
LMI
7566 * textmodes/flyspell.el (flyspell-word): Consider words that
7567 differ only in case as potential doublons (bug#5687).
7568
c53dc7fc
LMI
7569 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7570 Remove two rather uninteresting debugging-like messages to make
7571 debbugs.el more silent.
7572
fd4983f2
LMI
7573 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7574 a password-like phrase.
7575
7a71b18d 75762011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
7577
7578 * progmodes/cc-guess.el: New file.
7579
6a2fb145 7580 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
7581
7582 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7583 derived from `c-basic-common-init'.
7584
7585 * progmodes/cc-mode.el (top-level): Require cc-guess.
7586 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7587
1fa280a3
LM
75882011-06-30 Lawrence Mitchell <wence@gmx.li>
7589
7590 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7591
e6597158
AM
75922011-06-30 Alan Mackenzie <acm@muc.de>
7593
1fa280a3
LM
7594 * progmodes/cc-engine.el (c-guess-continued-construct):
7595 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
7596 lock is disabled. Name this case as "CASE G".
7597
68ba37fb
KM
75982011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7599
7600 * allout.el (allout-yank-processing): Fix injection of extra space
7601 between bullet and non-whitespace character in first topic when
7602 pasting, ensuring that the actual spacing in the pasted topic
7603 following the bullet char is preserved. This extra space was
7604 causing pasted encrypted topics to get a decrypted status even
7605 when the content was actually still encrypted. Now the decryption
7606 status from before the paste is preserved.
7607
7608 (allout-flag-region): Set all allout overlays so they evaporate
7609 when reduced to zero length (evanescent), to prevent overlay
7610 leakage.
7611
887a0b34
GM
76122011-06-30 Glenn Morris <rgm@gnu.org>
7613
94b9acce
GM
7614 * w32-fns.el (w32-charset-info-alist): Declare.
7615
1d9b46d4
GM
7616 * find-dired.el (find-grep-options): Simplify.
7617
cc232200
GM
7618 * term/ns-win.el (ns-set-resource): Declare.
7619
28e77c46
GM
7620 * ses.el (row, col): Declare dynamic variables honestly.
7621
887a0b34
GM
7622 * textmodes/reftex-parse.el (index-tags): Declare.
7623
658d8eb8
CY
76242011-06-30 Chong Yidong <cyd@stupidchicken.com>
7625
7626 * cus-edit.el (customize-push-and-save): New function.
7627
7628 * files.el (hack-local-variables-confirm): Use it.
7629
1fa280a3
LM
7630 * custom.el (load-theme): New arg NO-CONFIRM.
7631 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
7632 (custom-enabled-themes): Doc fix.
7633
7634 * cus-theme.el (customize-create-theme)
7635 (custom-theme-merge-theme): Callers to load-theme changed.
7636
bb617717
LMI
76372011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7638
d61bdd5d
LMI
7639 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7640 short URLs have at least one dot in them (bug #7614).
7641
bb617717
LMI
7642 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7643 nil, because using a pty is apparently too slow (bug #895).
7644
2f31f37a
LMI
76452011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7646
7647 * mail/sendmail.el (sendmail-query-once): New function.
7648 (sendmail-query-once-function): New variable.
7649
3076b24e
GM
76502011-06-29 Glenn Morris <rgm@gnu.org>
7651
faf2a174
GM
7652 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7653
3076b24e
GM
7654 * ses.el (top-level): Require cl when compiling.
7655 (ses-set-localvars): Fix error statement.
7656 Call it at compile time to silence a storm of warnings.
7657
5386012d
MR
76582011-06-29 Martin Rudalics <rudalics@gmx.at>
7659
7660 * window.el (normalize-live-buffer): Rename to
7661 window-normalize-buffer.
7662 (normalize-live-frame): Rename to window-normalize-frame.
7663 (normalize-any-window): Rename to window-normalize-any-window.
7664 (normalize-live-window): Rename to window-normalize-live-window.
7665 (make-window-atom): Rename to window-make-atom.
7666 (window-resize-reset): Rename to window--resize-reset.
7667 (window-resize-reset-1): Rename to window--resize-reset-1.
7668 (resize-mini-window): Rename to window--resize-mini-window.
7669 (resize-subwindows-skip-p): Rename to
7670 window--resize-subwindows-skip-p.
7671 (resize-subwindows-normal): Rename to
7672 window--resize-subwindows-normal.
7673 (resize-subwindows): Rename to window--resize-subwindows.
7674 (resize-other-windows): Rename to window--resize-siblings.
7675 (resize-this-window): Rename to window--resize-this-window.
7676 (resize-root-window): Rename to window--resize-root-window.
7677 (resize-root-window-vertically): Rename to
7678 window--resize-root-window-vertically.
7679 (normalize-buffer-to-display): Rename to
7680 window-normalize-buffer-to-display.
7681 (normalize-buffer-to-switch-to): Rename to
7682 window-normalize-buffer-to-switch-to.
7683 Correspondingly update all callers of the functions listed
7684 above.
7685 (display-buffer-alist, display-buffer-normalize-arguments)
7686 (display-buffer-normalize-options, display-buffer)
7687 (display-buffer-alist-set): Use "function" instead of
7688 "fun-with-args".
7689
1176868d
CY
76902011-06-28 Chong Yidong <cyd@stupidchicken.com>
7691
7692 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7693 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7694 debbugs.gnu.org. Mention acknowledgment email.
7695
20a7a65f
LMI
76962011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7697
7698 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7699 buffer multibyteness, since it shouldn't matter.
7700
5f45cca5
MR
77012011-06-28 Martin Rudalics <rudalics@gmx.at>
7702
7703 * window.el (display-buffer-in-side-window): Handle dedicated
7704 windows as in display-buffer-reuse-window.
7705 (display-buffer-normalize-alist): Use value of override
7706 specifier.
7707 (display-buffer-normalize-specifiers): Use value of
7708 other-window-means-other-frame specifier.
7709 (display-buffer-alist): Rewrite some texts in widgets.
7710 (display-buffer): Spread arguments when calling function
7711 specified by fun-with-args.
7712
ad85fe1f
DD
77132011-06-28 Deniz Dogan <deniz@dogan.se>
7714
1fa280a3
LM
7715 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7716 Unnest `let'.
da68c4c8 7717
ad85fe1f
DD
7718 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7719 selectors (Bug#5732).
ec49bd31 7720 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 7721
a08cc025
JA
77222011-06-27 Jari Aalto <jari.aalto@cante.net>
7723
7724 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7725 (eshell-ls-date-format): New defcustom.
7726 (eshell-ls-file): Use it.
7727
e2b551c5
SM
77282011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7729
7730 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7731
8982b231
KY
77322011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7733
7734 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7735 (ange-ftp-make-tmp-name): New arg.
7736 (ange-ftp-file-local-copy): Use it.
7737
36c9fa27
J
77382011-06-27 Jambunathan K <kjambunathan@gmail.com>
7739
7740 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7741 no-conversion (Bug#8870).
7742
d68443dc
MR
77432011-06-27 Martin Rudalics <rudalics@gmx.at>
7744
7745 * window.el (window-right, window-left, window-child)
7746 (window-child-count, window-last-child)
7747 (window-iso-combination-p, walk-window-tree-1)
7748 (window-atom-check-1, window-tree-1, delete-window)
7749 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7750 new naming conventions - window-vchild, window-hchild,
7751 window-next and window-prev are now called window-top-child,
7752 window-left-child, window-next-sibling and window-prev-sibling
7753 respectively.
d615d6d2
MR
7754 (resize-window-reset): Rename to window-resize-reset.
7755 (resize-window-reset-1): Rename to window-resize-reset-1.
7756 (resize-window): Rename to window-resize.
7757 (window-min-height, window-min-width)
7758 (resize-mini-window, resize-this-window, resize-root-window)
7759 (resize-root-window-vertically, adjust-window-trailing-edge)
7760 (enlarge-window, shrink-window, maximize-window)
7761 (minimize-window, delete-window, quit-restore-window)
7762 (split-window, balance-windows, balance-windows-area-adjust)
7763 (balance-windows-area, window-state-put-2)
7764 (display-buffer-even-window-sizes, display-buffer-set-height)
7765 (display-buffer-set-width, set-window-text-height)
7766 (fit-window-to-buffer): Rename all "resize-window" prefixed
7767 calls to use the "window-resize" prefix convention.
7768 (display-buffer-alist): Fix symbol for label specifier.
7769 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7770 corresponding specifier.
7771 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 7772
b6458526
VB
77732011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7774
7775 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7776 convention.
7777 (ses-call-printer): Does not pass an empty string to formatter when the
7778 cell is empty to keep from barking printer Calc math-format-value.
7779
d31fd9ac
RS
77802011-06-27 Richard Stallman <rms@gnu.org>
7781
43d5bf84
RS
7782 * battery.el (battery-mode-line-limit): New variable.
7783 (battery-update): Handle it.
7784
d31fd9ac
RS
7785 * mail/rmailmm.el (rmail-mime-process-multipart):
7786 Handle truncated messages.
7787
819a6054
GM
77882011-06-27 Glenn Morris <rgm@gnu.org>
7789
7790 * progmodes/flymake.el (flymake-err-line-patterns):
7791 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7792
cedc73f2
VB
77932011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7794
819a6054 7795 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
7796 (ses--clean-!, ses--clean-_): New functions.
7797 (ses-range): Add configurability of readout order, and conversion
7798 to Calc vector.
7799
5e5d49b6
VB
7800 * ses.el (ses-repair-cell-reference-all): New function.
7801 (ses-cell-symbol): Set macro as safe, so that it can be used in
7802 formulas.
7803
56e6cc31 7804 * ses.el: Update cycle detection algorithm.
90ca8b49 7805 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 7806 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
7807 (ses-set-localvars): New function.
7808 (ses-make-cell): Add property-list as a cell element.
7809 (ses-cell-property-get-fun, ses-cell-property-get)
7810 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
7811 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7812 New functions.
90ca8b49
VB
7813 (ses-cell-property-set, ses-cell-property-pop)
7814 (ses-cell-property-get-handle): New macro.
7815 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7816 New aliases, used for code readability.
7817 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7818 cycle detection.
7819 (ses-self-reference-early-detection): New defcustom.
fac916bf 7820 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
7821 (ses-mode): Use ses-set-localvars.
7822 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7823 before lauching the update processing.
7824 (ses-initialize-Dijkstra-attempt): New function.
7825 (ses-recalculate-cell): Update for cycle detection based on
7826 Dijkstra algorithm.
7827
2bb63e81
VB
7828 * ses.el: Fix commenting and indenting convention.
7829
c9d29fb8
SM
78302011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7831
7832 * bs.el (bs-cycle-next): Complete last change.
7833
d8e4b68b
JB
78342011-06-27 Drew Adams <drew.adams@oracle.com>
7835
7836 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7837
40098786
LMI
78382011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7839
c9d29fb8
SM
7840 * net/network-stream.el (network-stream-open-starttls):
7841 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
7842 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7843
40098786
LMI
7844 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7845 to binary to possibly avoid line encoding issues on Windows (among
7846 other things).
7847
468d09d4
LMI
78482011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7849
7850 * net/network-stream.el (open-network-stream): Return an :error
7851 saying what the problem was, if possible.
7852
7853 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7854 server.
7855
7856 * net/network-stream.el (network-stream-open-starttls): If we
7857 wanted to use STARTTLS, and the server offered it, but we weren't
7858 able to because we had no STARTTLS support, then close the connection.
7859 (open-network-stream): Return an :error element, if present.
7860
16f07dd7
CY
78612011-06-26 Chong Yidong <cyd@stupidchicken.com>
7862
88821ca0
CY
7863 * hl-line.el (hl-line-sticky-flag): Doc fix.
7864 (global-hl-line-sticky-flag): New option (Bug#8323).
7865 (global-hl-line-highlight): Obey it.
7866
16f07dd7
CY
7867 * vc/vc.el (vc-revert-show-diff): Default to t.
7868
6b5ccddf
KM
78692011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
7870
c9d29fb8
SM
7871 * allout-widgets.el (allout-widgets-post-command-business):
7872 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
7873 undecorated when an isearch is continued past, and isearch
7874 automatically collapses them. This leads to "widget leaks", where
7875 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
7876 hidden widgets can slow down cursor travel, substantially.
7877 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
7878 so we're doing without this nicety.
7879
7880 (allout-widgets-tally-string): Don't try to do a hash-table-count
7881 of allout-widgets-tally when it's nil. This eliminates spurious "Error
7882 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7883 *Messages* when allout-widgets-maintain-tally is t.
7884
355f2e07
MR
78852011-06-26 Martin Rudalics <rudalics@gmx.at>
7886
7887 * window.el (display-buffer-normalize-argument): Rename to
7888 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
7889 LABEL argument. Respect special-display-function when popping up
7890 a new frame. Fix code searching for a window showing the buffer
7891 on another frame.
c9d29fb8
SM
7892 (display-buffer-normalize-specifiers):
7893 Call display-buffer-normalize-arguments.
355f2e07
MR
7894 (display-buffer-in-window): Don't undedicate the window if its
7895 buffer remains the same.
7896 Reported by Drew Adams <drew.adams@oracle.com>.
7897 (display-buffer-alist): Add choice for same-window macro
7898 specfier.
7899 (display-buffer): Mention special meaning of LABEL argument in
7900 doc-string. Fix quoting. Don't pop up a new frame even as
7901 fallback.
7902
7ca8fc42
JB
79032011-06-26 Juanma Barranquero <lekktu@gmail.com>
7904
7905 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7906 avoid deleting the current window in some cases (bug#8911).
7907
bc312254
AS
79082011-06-26 Andreas Schwab <schwab@linux-m68k.org>
7909
7910 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7911 (Bug#8934)
7912
2db18f3f
LMI
79132011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7914
c9d29fb8
SM
7915 * net/network-stream.el (network-stream-open-starttls):
7916 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
7917 (network-stream-open-tls): Ditto.
7918
6302e0d3
LL
79192011-06-26 Leo Liu <sdl.web@gmail.com>
7920
7921 * register.el (registerv): New struct.
7922 (registerv-make): New function.
c9d29fb8
SM
7923 (jump-to-register, describe-register-1, insert-register):
7924 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
7925 struct. (Bug#8415)
7926
5fdd4046
CY
79272011-06-26 Chong Yidong <cyd@stupidchicken.com>
7928
2afef60a
CY
7929 * vc/vc.el (vc-revert-show-diff): New defcustom.
7930 (vc-diff-internal): New arg specifying diff buffer.
7931 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
7932 reuse an existing *vc-diff* buffer (Bug#8927).
7933
5fdd4046
CY
7934 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7935
e93db24a
GM
79362011-06-26 Glenn Morris <rgm@gnu.org>
7937
7938 * progmodes/f90.el (f90-critical-indent): New option.
7939 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7940 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7941 (f90-mode): Doc fix.
7942 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7943 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7944 (f90-beginning-of-block, f90-next-block, f90-indent-region)
7945 (f90-match-end): Handle block, critical.
7946
eefff499
GM
79472011-06-25 Glenn Morris <rgm@gnu.org>
7948
f6ba4cc9
GM
7949 * calendar/diary-lib.el (diary-included-files): Doc fix.
7950 (diary-include-files): New function, extracted from
7951 diary-include-other-diary-files and diary-mark-included-diary-files.
7952 (diary-include-other-diary-files, diary-mark-included-diary-files):
7953 Just call diary-include-files.
7954 (diary-mark-entries): Reset diary-included-files on first call.
7955
16712304
GM
7956 * calendar/diary-lib.el (diary-mark-entries)
7957 (diary-mark-included-diary-files):
7958 Visit included diary-files in temp buffers.
7959
5d8e0d43
GM
7960 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
7961 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
7962 (f90-start-block-re, f90-imenu-generic-expression)
7963 (f90-looking-at-program-block-start, f90-no-block-limit):
7964 Add support for submodules.
7965
ccf7a5d5
GM
7966 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7967 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 7968
11fdef7d 79692011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
7970
7971 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
7972 buffer-file-type before setting its value, to avoid disastrous
eefff499 7973 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 7974
74f53697
JB
79752011-06-25 Juanma Barranquero <lekktu@gmail.com>
7976
7977 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
7978
7979 * ses.el (ses-unload-function):
7980 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7981
7982 * proced.el (proced-unload-function):
7983 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7984
18a4ce5e
AR
79852011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
7986
7987 * server.el (server-create-window-system-frame): Add parameters arg.
7988 (server-process-filter): Doc fix. Handle frame-parameters.
7989
519d22cc
JB
79902011-06-25 Juanma Barranquero <lekktu@gmail.com>
7991
7992 Fix bug#8730, bug#8781.
7993
7994 * loadhist.el (unload--set-major-mode): New function.
7995 (unload-feature): Use it.
7996
7997 * progmodes/python.el (python-after-info-look): Add autoload cookie.
7998 (python-unload-function): New function.
7999
c206f5b0
SM
80002011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8001
8002 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8003
f9ad64f3
GS
80042011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8005
8006 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8007 the candidates list.
8008
7d0da90e
JB
80092011-06-24 Juanma Barranquero <lekktu@gmail.com>
8010
8011 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8012
14b4e83d
RS
80132011-06-23 Richard Stallman <rms@gnu.org>
8014
8015 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8016 (rmail-variables): Set next-error-move-function.
8017 (rmail-what-message): Take argument POS.
8018 (rmail-next-error-move): New function.
8019
273d2baf
SM
80202011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8021
8022 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8023 messages for adjacent non-terminals.
8024
56c2cc9a
RS
80252011-06-23 Richard Stallman <rms@gnu.org>
8026
8027 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 8028 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
8029 (rmail-start-mail): Don't specify use of rmail-mail-return;
8030 that's done by mail-bury now.
8031 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 8032
d59eb518
MA
80332011-06-23 Michael Albinus <michael.albinus@gmx.de>
8034
8035 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8036 SIZE is a number.
8037
02cfc6d6
MR
80382011-06-23 Martin Rudalics <rudalics@gmx.at>
8039
8040 * window.el (get-lru-window, get-mru-window)
8041 (get-largest-window): Never return a minibuffer window.
8042 (display-buffer-pop-up-window): Fix a bug that could lead to
8043 reusing the minibuffer window.
8044 (display-buffer): Pass original specifier argument to
8045 display-buffer-function instead of the normalized one.
8046 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8047
4e323265
LL
80482011-06-22 Leo Liu <sdl.web@gmail.com>
8049
8050 * minibuffer.el (completing-read-function)
8051 (completing-read-default): Move from minibuf.c
8052
7a70468f
RS
80532011-06-22 Richard Stallman <rms@gnu.org>
8054
50718fc2
RS
8055 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8056 to Rmail even if not started by a special Rmail command.
8057
7a70468f
RS
8058 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8059 Copy the buffer currently showing just one message.
8060
297dde5a
RW
80612011-06-22 Roland Winkler <winkler@gnu.org>
8062
8063 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8064 (bibtex-clean-entry): First delete the old key so that a
8065 customized algorithm for generating the new key does not get
8066 confused by the old key.
8067 (bibtex-url): Obey regexp of first step.
8068 (bibtex-search-entries): Do not use add-to-list with local
8069 list-var.
8070
97bb1093
LMI
80712011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8072
8073 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8074 stored a user name, then query for the password first, instead of
8075 waiting for SMTP to give an error message and the trying again.
8076
1c0f1a19
JD
80772011-06-22 Lawrence Mitchell <wence@gmx.li>
8078
8079 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8080 BUFFER in call-process.
8081
396f7c9d
LMI
80822011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8083
8084 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8085 QUIT twice.
ddb7ffee
LMI
8086 (smtpmail-try-auth-methods): Require user name and password from
8087 auth-source.
396f7c9d 8088
8998d1b3
MR
80892011-06-22 Martin Rudalics <rudalics@gmx.at>
8090
8091 * window.el (display-buffer-default-specifiers)
8092 (display-buffer-alist): Remove entries for pop-up-frame-alist.
8093 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 8094 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
8095
8096 * frame.el (pop-up-frame-alist, pop-up-frame-function)
8097 (special-display-frame-alist, special-display-popup-frame):
8098 Remove duplicate declarations. These are now in window.el.
8099
4ea31e07
LMI
81002011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8101
c9d29fb8
SM
8102 * mail/smtpmail.el (smtpmail-via-smtp):
8103 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
8104 server supports it. SMTP servers that support STARTTLS commonly
8105 require it.
8106
8107 * net/network-stream.el (network-stream-open-starttls): Support
8108 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 8109 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 8110
95f41d9a
LMI
8111 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8112 upgrades with `open-network-stream', and rely solely on
8113 auth-source for all credentials. Big changes throughout the file,
8114 but in particular:
c9d29fb8
SM
8115 (smtpmail-auth-credentials): Remove.
8116 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
8117 (smtpmail-via-smtp): Check for servers saying they want AUTH after
8118 MAIL FROM, too.
95f41d9a 8119
c9d29fb8
SM
8120 * net/network-stream.el (network-stream-open-starttls):
8121 Provide support for client certificates both for external and built-in
4ea31e07
LMI
8122 STARTTLS.
8123 (auth-source): Require.
8124 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
8125 (network-stream-certificate): Change cert-cert to cert and
8126 cert-key to key.
4ea31e07 8127
065ec2c7
MA
81282011-06-21 Michael Albinus <michael.albinus@gmx.de>
8129
8130 * net/tramp-cache.el (top): Don't load the persistency file when
8131 "emacs -Q" has been called.
8132
cd93b359
DR
81332011-06-21 Tim Harper <timcharper@gmail.com>
8134
d8e4b68b
JB
8135 * term/ns-win.el (ns-initialize-window-system):
8136 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
8137 resource to NO as it is not yet supported by the NS port.
8138
ae9c0411
JB
81392011-06-21 Juanma Barranquero <lekktu@gmail.com>
8140
8141 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8142 (list-dynamic-libraries): ...not here.
8143
7f3f739f
LL
81442011-06-21 Leo Liu <sdl.web@gmail.com>
8145
8146 * subr.el (sha1): Implement sha1 using secure-hash.
8147
327c8fb1
MR
81482011-06-21 Martin Rudalics <rudalics@gmx.at>
8149
8150 * window.el (display-buffer-alist): In default value do not
8151 enforce searching a window on any but the selected frame.
8152 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8153 (display-buffer-select-window): Remove function.
8154 (display-buffer-in-window): When a window on another frame gets
8155 reused, do not select it any more but just raise its frame if
8156 necessary (Bug#8851) and (Bug#8856).
8157 (display-buffer-normalize-options): Handle pop-up-frames related
8158 options more faithfully.
8159 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8160 window if it is on another frame.
c9d29fb8
SM
8161 (display-buffer-alist, display-buffer-default-specifiers):
8162 Don't make new frame unsplittable by default.
9e9de014
MR
8163 (display-buffer-normalize-argument): Fix doc-string typo and use
8164 'same-frame-other-window instead of 'other-window when associating
8165 with display-buffer-macro-specifiers.
327c8fb1 8166
7cf3f556
VB
81672011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8168
8169 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8170 New functions.
8171 (5x5-mode-map, 5x5-mode-menu): Bind them.
8172 (5x5-draw-grid): Tweak the solver's rendering.
8173
60a406cf
SM
81742011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8175
8176 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8177 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8178
d8e4b68b 81792011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
8180
8181 * menu-bar.el: Use function variable instead of switch-to-buffer.
8182 (menu-bar-select-buffer-function): New variable.
60a406cf 8183 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 8184
478d6f95
SM
81852011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8186
8187 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8188 variable's status.
8189
ca530739
JD
81902011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8191
8192 * x-dnd.el (x-dnd-version-from-flags)
8193 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8194 and long as number (Bug#8899).
8195 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8196
bcd70d97
SM
81972011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8198
60a406cf 8199 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
8200 (completion-try-completion, completion-all-completions): Compute the
8201 metadata argument if it's missing; make it optional (bug#8795).
8202
60a406cf 8203 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
8204 (widget-complete): Use new :completion-function property.
8205 (widget-completions-at-point): New function.
8206 (default): Use :completion-function instead of :complete.
60a406cf
SM
8207 (widget-default-completions): Rename from widget-default-complete;
8208 Rewrite.
bcd70d97
SM
8209 (widget-string-complete, widget-file-complete, widget-color-complete):
8210 Remove functions.
8211 (file, symbol, function, variable, coding-system, color):
8212 * international/mule-cmds.el (default-input-method, charset)
8213 (language-info-custom-alist):
8214 * cus-edit.el (face): Use new property :completions.
8215
8216 * progmodes/pascal.el (pascal-completions-at-point): New function.
8217 (pascal-mode): Use it.
8218 (pascal-mode-map): Use completion-at-point.
8219 (pascal-toggle-completions): Make obsolete.
8220 (pascal-complete-word, pascal-show-completions):
8221 * progmodes/octave-mod.el (octave-complete-symbol):
8222 Redefine as obsolete alias.
8223 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8224 Signal absence of completion info for old Octave,
8225 (inferior-octave-complete): Redefine as obsolete alias.
8226 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8227 (meta-completions-at-point): Rename from meta-complete-symbol and
8228 adapt it for use on completion-at-point-functions.
8229 (meta-common-mode): Use it.
8230 (meta-looking-at-backward, meta-match-buffer): Remove.
8231 (meta-complete-symbol): Redefine as obsolete alias.
8232 (meta-common-mode-map): Use completion-at-point.
8233 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8234 (makefile-mode-map): Use completion-at-point.
8235 (makefile-completions-at-point): Rename from makefile-complete and
8236 adapt it for use on completion-at-point-functions.
8237 (makefile-mode): Use it.
8238 (makefile-complete): Redefine as obsolete alias.
8239
aebf69c8
DD
82402011-06-20 Deniz Dogan <deniz@dogan.se>
8241
8242 * net/rcirc.el: Delete trailing whitespaces once and for all.
8243
bfbbb27d
DC
82442011-06-20 Daniel Colascione <dan.colascione@gmail.com>
8245
8246 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8247
d264a46b
CY
82482011-06-19 Chong Yidong <cyd@stupidchicken.com>
8249
4ca009e5
CY
8250 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8251
d264a46b
CY
8252 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8253
fbf5b3ce
MR
82542011-06-19 Martin Rudalics <rudalics@gmx.at>
8255
8256 * window.el (display-buffer-other-window-means-other-frame):
8257 Call display-buffer-normalize-alist.
8258 (display-buffer-normalize-specifiers-1): Rename to
8259 display-buffer-normalize-argument. New argument other-frame.
8260 Rewrite.
8261 (display-buffer-normalize-specifiers-2): Rename to
8262 display-buffer-normalize-options.
8263 (display-buffer-normalize-alist-1): New function.
8264 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
8265 display-buffer-normalize-alist.
8266 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
8267 (display-buffer-normalize-options-inhibit): New variable.
8268 (display-buffer-normalize-specifiers): Rewrite calling
8269 display-buffer-normalize-alist,
8270 display-buffer-normalize-argument, and
8271 display-buffer-normalize-options. Don't call the latter if
8272 display-buffer-normalize-options-inhibit is non-nil.
8273 (frame-auto-delete): New option.
8274 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
8275 (window-list-no-nils, window-state-ignored-parameters)
8276 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
8277 (window-state-put-1, window-state-put-2, window-state-put):
8278 New functions.
9a028c23
MR
8279 (display-buffer-normalize-options): Move special-display-p group
8280 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 8281
6d10d800
CY
82822011-06-18 Chong Yidong <cyd@stupidchicken.com>
8283
6420d28b
CY
8284 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8285 groups (Bug#8776).
8286 (rx-submatch-n): New function.
8287 (rx): Document it.
8288
ddb8b596
CY
8289 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8290 (Bug#8768).
8291
8292 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8293
77080289
CY
8294 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8295
61dfb316
CY
8296 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8297 anytime existing face settings are present (Bug#8889).
8298
6d10d800
CY
8299 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8300 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8301 Remove unused argument.
8302
be3fb2b8
MR
83032011-06-18 Martin Rudalics <rudalics@gmx.at>
8304
bcd70d97
SM
8305 * window.el (display-buffer-default-specifiers):
8306 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
8307 pop-up-window-min-width, and another reuse-window specifier
8308 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
8309 (display-buffer-normalize-specifiers-2):
8310 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
8311 pop-up-windows is unset. Add a reuse-window specifier for the
8312 case popping up a new window fails.
8313 (special-display-popup-frame): Remove double quoting.
28dec25a 8314 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 8315
1c6d8c76
SM
83162011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8317
8318 * shell.el (shell-completion-vars): Set pcomplete-termination-string
8319 according to comint-completion-addsuffix.
8320
8321 * pcomplete.el: Convert to lexical binding and fix bug#8819.
8322 (pcomplete-suffix-list): Mark as obsolete.
8323 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8324 pcomplete-seen in the closure.
8325 (pcomplete-comint-setup): Setup completion-at-point as well.
8326 (pcomplete--entries): New function.
8327 (pcomplete--env-regexp): New var.
8328 (pcomplete-entries): Rewrite to work with partial-completion and
8329 without relying on pcomplete-suffix-list.
8330 (pcomplete-pare-list): Remove, unused.
8331
25aef8b8
MR
83322011-06-17 Martin Rudalics <rudalics@gmx.at>
8333
8334 * window.el (display-buffer-alist): Set pop-up-window-min-height
8335 and pop-up-window-min-width in default value. Reported by
8336 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
8337 other-window-means-other-frame.
8338 (display-buffer-macro-specifiers): Comment out entry for
8339 other-window specifier.
8340 (display-buffer-other-window-means-other-frame): New function.
8341 (display-buffer-normalize-specifiers-1): New arguments
8342 buffer-name and label. Treat other-window case specially.
8343 (display-buffer-normalize-specifiers-2): Treat other-window case
8344 specially.
8345 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
8346 (display-buffer-normalize-specifiers):
8347 Call display-buffer-normalize-specifiers-3.
25aef8b8 8348
dbad4f69
MR
83492011-06-17 Martin Rudalics <rudalics@gmx.at>
8350
8351 * window.el (same-window-p): Fix two typos introduced when
8352 adding with-no-warnings.
d1067961
MR
8353 (display-buffer-normalize-specifiers-1): Don't check
8354 pop-up-frames for 'unset initialization.
8355 (display-buffer-normalize-specifiers-2): Major rewrite using
8356 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8357 (pop-up-frames, display-buffer-reuse-frames)
8358 (display-buffer-mark-dedicated): Don't initialize to 'unset.
8359 Suggested by David Engster <deng@randomsample.de>.
8360 (even-window-heights): Initialize to 'unset.
8361 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
8362 (display-buffer-macro-specifiers): Don't pop up a new frame in the
8363 other window case.
dbad4f69 8364
9b9c9e3a
MR
83652011-06-16 Martin Rudalics <rudalics@gmx.at>
8366
bcd70d97
SM
8367 * window.el (display-buffer-normalize-specifiers-1):
8368 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 8369 second argument of display-buffer (Bug#8865).
981d5c09
MR
8370 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8371 (switch-to-buffer-other-window-same-frame)
8372 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
8373 Adams (Bug#8875).
9c2755e9
MR
8374 (display-buffer): Don't check noninteractive when calling
8375 display-buffer-pop-up-frame.
8376 (display-buffer-pop-up-frame): Never pop up a frame in
8377 noninteractive mode (Bug#8857).
67222e1d
MR
8378 (enlarge-window, shrink-window): Don't report an error when the
8379 window can't be resized as requested (Bug#8862).
9b9c9e3a 8380
2b75be67
SM
83812011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8382
9ffdd3ba
SM
8383 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8384
cb581a67
SM
8385 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8386
2b75be67
SM
8387 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8388
8c0e3589
AM
83892011-06-15 Alan Mackenzie <acm@muc.de>
8390
cb581a67
SM
8391 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8392 for declarators, disable knr checking to speed up for normal files.
8393 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 8394
b96e6cde
LMI
83952011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8396
4bba86e6
LMI
8397 * net/network-stream.el (open-network-stream): Add the keyword
8398 :always-query-capabilities for the case where you want to force a
8399 `plain' network connection, but the protocol still requires the
8400 capabilitiy command (i.e., SMTP and EHLO).
8401
2b75be67 8402 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
8403 consistency with other `-live-p' functions.
8404
efdcdbf8
SM
84052011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8406
8407 * window.el (same-window-buffer-names, same-window-regexps)
8408 (special-display-frame-alist, special-display-popup-frame)
8409 (special-display-function, special-display-buffer-names)
8410 (special-display-regexps, pop-up-frame-alist)
8411 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8412 (pop-up-windows, split-window-preferred-function)
8413 (split-height-threshold, split-width-threshold, even-window-heights)
8414 (display-buffer-mark-dedicated): Don't encourage the use of
8415 display-buffer-alist from Elisp code.
8416
c5cde042
DN
84172011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
8418
8419 * progmodes/python.el (python-mode): Derive from prog-mode.
8420 * progmodes/ps-mode.el (ps-mode):
8421 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 8422 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
8423 * progmodes/ld-script.el (ld-script-mode): Likewise.
8424
baa1c9ab
MR
84252011-06-15 Martin Rudalics <rudalics@gmx.at>
8426
8427 * window.el (display-buffer-alist): Trim default value to avoid
8428 popping up a new frame (Bug#8857) or reusing an arbitrary window
8429 on another frame.
8430 (display-buffer): Do not fall back on popping up a new frame in
8431 batch mode (Bug#8857).
8432
c5dd5a51
CY
84332011-06-14 Chong Yidong <cyd@stupidchicken.com>
8434
8435 * cus-theme.el (describe-theme-1): Use custom-theme-p.
8436 (custom-theme-summary): New function.
8437 (customize-themes): Use it.
8438
d647b7c4
GM
84392011-06-13 Glenn Morris <rgm@gnu.org>
8440
8441 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8442
9481c002
MR
84432011-06-13 Martin Rudalics <rudalics@gmx.at>
8444
357f93d2
MR
8445 * help.el (help-window): Remove variable.
8446 (help-window-point-marker, temp-buffer-max-height)
8447 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8448 (help-print-return-message): Don't set help-window.
8449 (resize-temp-buffer-window): Rewrite cod eand doc-string.
8450 (help-window-setup-finish): Remove.
8451 (help-window-display-message, help-window-setup)
8452 (with-help-window): Major rewrite based on new
8453 display-buffer-window variable.
8454
8455 * help-mode.el (help-mode-finish): Remove help-window related
8456 code.
8457
8458 * view.el (view-exits-all-viewing-windows): Remove reference to
8459 view-return-to-alist in doc-string.
8460 (view-return-to-alist): Make obsolete.
8461 (view-buffer): Call pop-to-buffer-same-window and remove
8462 undo-window code.
8463 (view-buffer-other-window): Call pop-to-buffer-other-window and
8464 simplify code. Ignore second argument.
8465 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8466 simplify code. Ignore second argument.
8467 (view-return-to-alist-update): Make obsolete.
8468 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8469 Rewrite using quit-restore window parameters.
2b75be67
SM
8470 (view-mode-exit): Rename second argument to EXIT-ONLY.
8471 Rewrite using quit-restore-window.
357f93d2
MR
8472 (View-exit, View-exit-and-edit, View-leave, View-quit)
8473 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8474 appropriate arguments.
8475 (view-end-message): Use quit-restore window parameter.
8476
9481c002
MR
8477 * window.el (display-buffer-function): Rewrite doc-string.
8478 (display-buffer-window, display-buffer-alist): New variables.
8479 (display-buffer-split-specifiers)
8480 (display-buffer-side-specifiers)
8481 (display-buffer-macro-specifiers): New constants.
8482 (display-buffer-even-window-sizes, display-buffer-set-height)
8483 (display-buffer-set-width, display-buffer-select-window)
8484 (display-buffer-in-window, display-buffer-reuse-window)
8485 (display-buffer-split-window-1, display-buffer-split-window)
8486 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8487 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8488 (display-buffer-in-side-window, normalize-buffer-to-display)
8489 (display-buffer-normalize-specifiers-1)
8490 (display-buffer-normalize-specifiers-2)
2b75be67
SM
8491 (display-buffer-normalize-specifiers, display-buffer-frame):
8492 New functions.
9481c002
MR
8493 (display-buffer): Major rewrite.
8494 (display-buffer-other-window, display-buffer-other-frame)
8495 (pop-to-buffer, switch-to-buffer-other-window)
8496 (switch-to-buffer-other-frame): Rewrite.
8497 (display-buffer-same-window, display-buffer-same-frame)
8498 (display-buffer-same-frame-other-window)
8499 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8500 (pop-to-buffer-other-window)
8501 (pop-to-buffer-same-frame-other-window)
8502 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8503 (switch-to-buffer-other-window-same-frame): New functions.
8504 (same-window-p, special-display-p): Rewrite disabling warnings.
8505 Make obsolete.
8506 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8507 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8508 Make obsolete
8509 (same-window-buffer-names, same-window-regexps)
8510 (special-display-frame-alist, special-display-popup-frame)
8511 (special-display-function, special-display-buffer-names)
8512 (special-display-regexps, pop-up-frame-alist)
8513 (pop-up-frame-function, split-window-preferred-function)
8514 (split-height-threshold, split-width-threshold)
8515 (even-window-heights): Make obsolete.
8516
9db51aca
GM
85172011-06-12 Glenn Morris <rgm@gnu.org>
8518
8519 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 8520 Misc simplifications.
9db51aca 8521
39cffb44
MR
85222011-06-12 Martin Rudalics <rudalics@gmx.at>
8523
8524 * window.el (window-safely-shrinkable-p): Restore function which
8525 was inadvertently removed in change from 2011-06-11. Declare as
8526 obsolete.
8527
2b75be67
SM
8528 * calendar/calendar.el (calendar-generate-window):
8529 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
8530 window-safely-shrinkable-p.
8531
a8955be7
GM
85322011-06-12 Glenn Morris <rgm@gnu.org>
8533
8534 * progmodes/fortran.el (fortran-mode-syntax-table):
8535 * progmodes/f90.el (f90-mode-syntax-table):
8536 Set % to punctuation. (Bug#8820)
8537 (f90-find-tag-default): Remove, no longer needed.
8538
f0d4059d
DC
85392011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8540
8541 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8542
1100a63c
CY
85432011-06-11 Chong Yidong <cyd@stupidchicken.com>
8544
8545 * image.el (image-animated-p): Return animation delay in seconds.
8546 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8547 (image-animate-timeout): Remove DELAY argument. Don't assume
8548 every subimage has the same delay; get it from image-animated-p.
8549 (image-animate): Caller changed.
8550
def722bf
MA
85512011-06-11 Michael Albinus <michael.albinus@gmx.de>
8552
8553 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8554 to ignored backtrace functions.
8555
0a2bb1a9
GM
85562011-06-11 Glenn Morris <rgm@gnu.org>
8557
8558 * calendar/appt.el (appt-disp-window-function): Doc fix.
8559 (appt-check): Handle overlapping appointments. (Bug#8337)
8560
6198ccd0
MR
85612011-06-11 Martin Rudalics <rudalics@gmx.at>
8562
8563 * window.el (window-tree-1, window-tree): New functions, moving
8564 the latter to window.el.
8565 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8566 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8567 (bw-refresh-edges): Remove.
8568 (balance-windows-1, balance-windows-2): New functions.
8569 (balance-windows): Rewrite in terms of window tree functions,
8570 balance-windows-1 and balance-windows-2.
8571 (bw-adjust-window): Remove.
8572 (balance-windows-area-adjust): New function with functionality of
8573 bw-adjust-window but using resize-window.
2b75be67
SM
8574 (set-window-text-height): Rewrite doc-string.
8575 Use normalize-live-window and resize-window.
8576 (enlarge-window-horizontally, shrink-window-horizontally):
8577 Rename argument to DELTA.
6198ccd0
MR
8578 (window-buffer-height): New function.
8579 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8580 Rewrite using new window resize routines.
2b75be67
SM
8581 (kill-buffer-and-window, mouse-autoselect-window-select):
8582 Use ignore-errors instead of condition-case.
6198ccd0
MR
8583 (quit-window): Call delete-frame instead of delete-windows-on
8584 for the only buffer on frame.
8585
9397e56f
MR
85862011-06-10 Martin Rudalics <rudalics@gmx.at>
8587
8588 * loadup.el (top-level): Load window before files for the sake
8589 of replace-buffer-in-windows.
8590
8591 * files.el (read-buffer-to-switch)
8592 (switch-to-buffer-other-window)
2b75be67
SM
8593 (switch-to-buffer-other-frame, display-buffer-other-frame):
8594 Move to window.el.
9397e56f
MR
8595
8596 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8597 (previous-buffer): Move to window.el.
8598
8599 * bindings.el (unbury-buffer): Move to window.el.
8600
8601 * window.el (delete-other-windows-vertically): Move after
8602 definition of delete-other-windows.
8603 (other-window, delete-windows-on, replace-buffer-in-windows):
8604 Move here from window.c.
8605 (record-window-buffer, unrecord-window-buffer)
8606 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8607 (switch-to-next-buffer): New functions.
8608 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8609 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
8610 (previous-buffer): Move here from simple.el.
8611 Call switch-to-prev-buffer.
9397e56f
MR
8612 (bury-buffer): Move here from buffer.c. Switch to previous
8613 buffer when window cannot be deleted.
8614 (unbury-buffer): Move here from bindings.el.
8615 (ctl-x-map): Move binding for other-window from window.c to
8616 here.
8617 (read-buffer-to-switch, switch-to-buffer-other-window)
8618 (switch-to-buffer-other-frame): Move here from files.el.
8619 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
8620 (switch-to-buffer): Move here from buffer.c.
8621 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 8622
562dd5e9
MR
86232011-06-10 Martin Rudalics <rudalics@gmx.at>
8624
8625 * window.el (window-min-height, window-min-width): Move here
8626 from window.c. Add defcustoms and rewrite doc-strings.
8627 (resize-mini-window, resize-window): New functions.
8628 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8629 Move here from window.c.
8630 (maximize-window, minimize-window): New functions.
8631 (delete-window, delete-other-windows, split-window): Move here
8632 from window.c.
8633 (window-split-min-size): New function.
8634 (split-window-keep-point): Mention split-window-above-each-other
8635 instead of split-window-vertically.
2b75be67 8636 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
8637 Rename split-window-vertically to split-window-above-each-other
8638 and provide defalias for old definition.
8639 (split-window-side-by-side, split-window-horizontally):
8640 Rename split-window-horizontally to split-window-side-by-side
8641 and provide defalias for the old definition.
562dd5e9
MR
8642 (ctl-x-map): Move bindings for delete-window,
8643 delete-other-windows and enlarge-window here from window.c.
8644 Replace bindings for split-window-vertically and
8645 split-window-horizontally by bindings for
8646 split-window-above-each-other and split-window-side-by-side.
8647
8648 * cus-start.el (all): Remove entries for window-min-height and
8649 window-min-width. Add entries for window-splits and
8650 window-nest.
8651
f0da764a
GM
86522011-06-09 Glenn Morris <rgm@gnu.org>
8653
80675c21
GM
8654 * calendar/appt.el (appt-mode-line): New function.
8655 (appt-check, appt-disp-window): Use it.
8656
f0da764a
GM
8657 * files.el (hack-one-local-variable-eval-safep):
8658 Allow minor-modes with explicit +/-1 arguments.
8659
59f623b7
TZ
86602011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8661
8662 * term/xterm.el (xterm): Add defgroup.
8663 (xterm-extra-capabilities): Add defcustom to supply known xterm
8664 capabilities, skip querying them, or query them (default).
8665 (terminal-init-xterm): Use it.
8666 (terminal-init-xterm-modify-other-keys): New function to set up
8667 modifyOtherKeys support to simplify `terminal-init-xterm'.
8668
9aab8e0d
MR
86692011-06-09 Martin Rudalics <rudalics@gmx.at>
8670
8671 * window.el (resize-window-reset, resize-window-reset-1)
8672 (resize-subwindows-skip-p, resize-subwindows-normal)
8673 (resize-subwindows, resize-other-windows, resize-this-window)
8674 (resize-root-window, resize-root-window-vertically)
8675 (window-deletable-p, window-or-subwindow-p)
8676 (frame-root-window-p): New functions.
8677
e8b08aee
GM
86782011-06-09 Glenn Morris <rgm@gnu.org>
8679
8680 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8681 (ange-ftp-get-files): Use it.
8682
254c37a5
AK
86832011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8684
8685 * mail/sendmail.el (mail-recover-1, mail-recover):
8686 * files.el (recover-file, recover-session):
8687 Handle dired-listing-switches not being just a single short option.
8688
35d7dbd3
GM
86892011-06-09 Glenn Morris <rgm@gnu.org>
8690
8691 * calendar/appt.el (appt-display-message, appt-disp-window):
8692 Handle lists of appointments.
8693
387522b2
MR
86942011-06-08 Martin Rudalics <rudalics@gmx.at>
8695
2b75be67
SM
8696 * window.el (one-window-p): Move down in code.
8697 Rewrite doc-string.
8698 (window-current-scroll-bars): Rewrite doc-string.
8699 Normalize live window argument.
387522b2
MR
8700 (walk-windows, get-window-with-predicate, count-windows):
8701 Rewrite doc-string. Use window-list-1.
8702 (window-in-direction-2, window-in-direction, get-mru-window):
8703 New functions.
8704
d8e4b68b 87052011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
8706
8707 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8708 Doc fix (Bug#8713).
8709
87102011-06-08 Chong Yidong <cyd@stupidchicken.com>
8711
8712 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8713
87142011-06-08 Juanma Barranquero <lekktu@gmail.com>
8715
8716 * loadhist.el (unload-feature-special-hooks):
8717 Add `comint-output-filter-functions'.
8718
0de12c52
IK
87192011-06-08 Ivan Kanis <gnu@kanis.fr>
8720
8721 * calendar/appt.el (appt-check): Move some initializations into the let.
8722
f3d1777e
MR
87232011-06-08 Martin Rudalics <rudalics@gmx.at>
8724
8725 * window.el (window-height): Defalias to window-total-height.
8726 (window-width): Defalias to window-body-width.
8727
18af70d0
CY
87282011-06-07 Chong Yidong <cyd@stupidchicken.com>
8729
8730 * image-mode.el (image-toggle-animation): New command.
8731 (image-mode-map): Bind it to RET.
8732 (image-mode): Update message.
8733 (image-toggle-display-image): Avoid a spurious cache flush.
8734 (image-transform-rotation): Doc fix.
8735 (image-transform-properties): Return quickly in the normal case.
8736 (image-animate-loop): Rename from image-animate-max-time.
8737
2b75be67 8738 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
8739 (create-animated-image): Remove unnecessary function.
8740 (image-animate): Rename from image-animate-start. New arg.
2b75be67 8741 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
8742 (image-animate-timer): Use car-safe.
8743 (image-animate-timeout): Rename argument.
8744
190b47e6
MR
87452011-06-07 Martin Rudalics <rudalics@gmx.at>
8746
8747 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
8748 window.c. Rename first argument to ALL-FRAMES.
8749 Rephrase doc-strings.
8750 (get-buffer-window-list): Rewrite using window-list-1.
8751 Rephrase doc-string.
a1511caf
MR
8752 (window-safe-min-height, window-safe-min-width): New constants.
8753 (window-size-ignore, window-min-size, window-min-size-1)
8754 (window-sizable, window-sizable-p, window-size-fixed-1)
8755 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8756 (window-max-delta-1, window-max-delta, window-resizable)
8757 (window-resizable-p, window-total-height, window-total-width)
8758 (window-body-width): New functions.
8759 (window-full-height-p, window-full-width-p): Rewrite using
8760 window-total-size.
8761 (window-body-height): Rewrite using window-body-size.
190b47e6 8762
85cc1f11
MR
87632011-06-06 Martin Rudalics <rudalics@gmx.at>
8764
8765 * window.el (window-right, window-left, window-child)
8766 (window-child-count, window-last-child, window-any-p)
8767 (normalize-live-buffer, normalize-live-frame)
8768 (normalize-any-window, normalize-live-window)
8769 (window-iso-combination-p, window-iso-combined-p)
8770 (window-iso-combinations)
8771 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8772 (windows-with-parameter, window-with-parameter)
8773 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
8774 (window-atom-check, window-side-check, window-check):
8775 New functions.
85cc1f11
MR
8776 (ignore-window-parameters, window-sides, window-sides-vertical)
8777 (window-sides-slots): New variables.
8778 (window-size-fixed): Move down in code. Minor doc-string fix.
8779
e7156492
AS
87802011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8781
8782 * comint.el (comint-dynamic-complete-as-filename)
8783 (comint-dynamic-complete-filename): Correctly call
8784 completion-in-region.
8785
7e821d0d
DD
87862011-06-05 Deniz Dogan <deniz@dogan.se>
8787
8788 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8789 in last change.
8790
ac09b8a1
DD
87912011-06-05 Deniz Dogan <deniz@dogan.se>
8792
8793 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8794 (rcirc): Use it to prompt for encryption.
8795
34699b85
RW
87962011-06-05 Roland Winkler <winkler@gnu.org>
8797
8798 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8799 (bibtex-search-entries): New command bound to C-c C-a.
8800 (bibtex-display-entries): New function.
8801
004dedd3
RW
88022011-06-05 Roland Winkler <winkler@gnu.org>
8803
8804 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8805 (bibtex-insert-kill): After yanking insert newline if necessary.
8806 (bibtex-initialize): Call bibtex-string-files-init only once.
8807 (bibtex-mode): Do not call easy-menu-add.
8808 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8809 (bibtex-yank): Set arg properly if nil.
8810
022fe7ce
RW
88112011-06-05 Roland Winkler <winkler@gnu.org>
8812
2b75be67
SM
8813 * textmodes/bibtex.el (bibtex-search-entry-globally):
8814 New variable.
022fe7ce
RW
8815 (bibtex-search-entry): Use it.
8816
b7c3692a
RW
88172011-06-05 Roland Winkler <winkler@gnu.org>
8818
8819 * textmodes/bibtex.el (bibtex-entry-format): New option
8820 sort-fields.
8821 (bibtex-format-entry, bibtex-reformat): Honor this option.
8822 (bibtex-parse-entry): Return fields in proper order.
8823
8eda563d
JB
88242011-06-05 Juanma Barranquero <lekktu@gmail.com>
8825
8826 * doc-view.el (doc-view-remove-if): Move computation of result out
8827 of `dolist' to silence misleading lexical-binding warning.
8828
7dbe3dbc
CY
88292011-06-04 Chong Yidong <cyd@stupidchicken.com>
8830
8831 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8832 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8833
0c33dd17
MA
88342011-06-04 Michael Albinus <michael.albinus@gmx.de>
8835
8836 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8837 "SunOS 5.10".
8838
f8f91c2b
MA
88392011-06-04 Michael Albinus <michael.albinus@gmx.de>
8840
8841 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8842 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8843 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8844 (tramp-parse-putty):
8845 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8846 (tramp-completion-function-alist-ssh)
8847 (tramp-completion-function-alist-telnet)
8848 (tramp-completion-function-alist-su)
8849 (tramp-completion-function-alist-putty): Set `tramp-autoload'
8850 cookie.
8851
8852 * net/tramp-ftp.el:
8853 * net/tramp-sh.el:
8854 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8855 load "tramp.el" `tramp-set-completion-function'.
8856
e17d9003
SM
88572011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8858
8859 * shell.el: Require and use pcomplete.
8860 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8861 (shell-completion-vars): Set pcomplete-default-completion-function.
8862
6c4cab03
DD
88632011-06-04 Deniz Dogan <deniz@dogan.se>
8864
8865 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8866 `memq' (Bug#8799).
8867
ea9fafe0
SM
88682011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8869
8870 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8871
b3e945d3
JB
88722011-06-02 Juanma Barranquero <lekktu@gmail.com>
8873
8874 * bs.el (bs--mark-unmark, bs--nth-wrapper):
8875 * mpc.el (mpc-select-extend, mpc-songpointer-context):
8876 * vc/log-view.el (log-view-beginning-of-defun):
8877 * vc/smerge-mode.el (smerge-apply-resolution-patch)
8878 (smerge-refine-forward, smerge-refine-chopup-region):
8879 Silence warning for unused `dotimes' counter variables.
8880
7d520089
SM
88812011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8882
8883 * net/tramp.el (tramp-with-progress-reporter): Rename from
8884 with-progress-reporter. Use `declare'.
8885 * net/tramp-smb.el:
8886 * net/tramp-sh.el:
8887 * net/tramp-gvfs.el: Update all uses.
8888
a1c2400f
JB
88892011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
8890
8891 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8892 buffer isn't killed before making it current.
8893
2403c841
SM
88942011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8895
8896 Silence various byte-compiler warnings.
8897 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8898 `access-type' and new obsolescence format.
8899 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8900 new format.
8901 (byte-compile-check-variable): New `access-type' argument.
8902 Only warn if the access-type is obsolete.
8903 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8904 (byte-compile-variable-set): Adjust callers.
8905 * help-fns.el (describe-variable): Adjust to new obsolescence format.
8906 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8907 setting it as obsolete.
8908 * simple.el (minibuffer-completing-symbol):
8909 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8910 access as obsolete.
8911 * minibuffer.el (minibuffer-completing-file-name): Don't make it
8912 obsolete yet.
8913 * international/quail.el (quail-mouse-choose-completion): Remove unused
8914 code referring to obsolete var.
8915 (quail-choose-completion-string): Remove.
8916 * server.el (server-clients-with, server-kill-buffer-query-function)
8917 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8918 * proced.el (proced-send-signal):
8919 * emacs-lisp/lisp.el (lisp-complete-symbol):
8920 Replace completion-annotate-function with completion-extra-properties.
8921
2462470b
SM
89222011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8923
fb5b2591
SM
8924 * simple.el (goto-line): Use read-number.
8925 (overriding-map-is-bound): Remove.
8926 (saved-overriding-map): Change default.
8927 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8928 Take the map as argument.
8929 (universal-argument, negative-argument, digit-argument): Use it.
8930 (restore-overriding-map): Adjust.
8931 (do-auto-fill): Use fill-forward-paragraph.
8932 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8933
fd6fa53f
SM
8934 * minibuffer.el (minibuffer-inactive-mode-map): New var.
8935 (minibuffer-inactive-mode): New major mode.
8936 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8937 the *Messages* buffer" hack.
8938 (mouse-popup-menubar): Don't burp if the event is a normal key.
8939
2462470b
SM
8940 Miscellaneous tweaks.
8941 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8942 lexical scoping as in subr.el's dolist and dotimes.
8943 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8944 Silence compiler warning.
8945 * thingatpt.el (forward-whitespace): Trivial coding style fix.
8946 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8947 * international/ccl.el (ccl-compile): Trivial simplification.
8948 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8949 * emacs-lisp/testcover.el (testcover-end): Remove spurious
8950 `printflag' argument.
8951 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8952 Purecopy the whole obsolescence data.
8953
108bf785
LL
89542011-06-01 Leo Liu <sdl.web@gmail.com>
8955
8956 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8957 improve doc-string as suggested by Marco Pessotto
8958 <melmothx@gmail.com>.
8959 (rcirc-print): Fix last change.
8960
30a23501
SM
89612011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8962
8963 * minibuffer.el (complete-with-action): Return nil for the metadata and
8964 boundaries of non-functional tables.
8965 (completion-table-dynamic): Return nil for the metadata.
8966 (completion-table-with-terminator): Add default case, using
8967 complete-with-action.
8968 (completion--metadata): New function.
8969 (completion-all-sorted-completions, minibuffer-completion-help): Use it
8970 to try and avoid pathological performance problems.
8971 (completion--embedded-envvar-table): Return `category' metadata.
8972
bcd54f83
LMI
89732011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
8974
8975 * subr.el (process-alive-p): New tiny convenience function.
8976
e227544d
SM
89772011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8978
8979 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8980 content but also its previous major mode.
8981
e8296fdc
HE
89822011-05-31 Helmut Eller <eller.helmut@gmail.com>
8983
4d61f28d 8984 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
8985 *Backtrace* buffer when we exit with C-M-c.
8986
620c53a6
SM
89872011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8988
8989 * minibuffer.el: Add metadata method to completion tables.
8990 (completion-category-overrides): New defcustom.
8991 (completion-metadata, completion--field-metadata)
8992 (completion-metadata-get, completion--styles)
8993 (completion--cycle-threshold): New functions.
8994 (completion-try-completion, completion-all-completions):
8995 Add `metadata' argument to choose completion-styles.
8996 (completion--do-completion): Use metadata to choose cycling.
8997 (completion-all-sorted-completions): Use metadata for sorting.
8998 Remove :completion-cycle-penalty which is not needed any more.
8999 (completion--try-word-completion): Add `metadata' argument.
9000 (minibuffer-completion-help): Check metadata for annotation function
9001 and sorting.
9002 (completion-file-name-table): Return `category' metadata.
9003 (minibuffer-completing-file-name): Make obsolete.
9004 * simple.el (minibuffer-completing-symbol): Make obsolete.
9005 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9006 completion-try-completion.
9007
1257e755
SM
90082011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9009
9010 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9011
3767e706
LL
90122011-05-30 Leo Liu <sdl.web@gmail.com>
9013
9014 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
9015 (rcirc-print): Decode all incoming messages (bug#8744).
9016 (rcirc-decode-coding-system): Allow value nil for automatic coding
9017 system detection.
3767e706 9018
d1a5d56a
GM
90192011-06-01 Glenn Morris <rgm@gnu.org>
9020
9021 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9022
e8cbec34
CY
90232011-05-29 Chong Yidong <cyd@stupidchicken.com>
9024
9025 * image.el (image-animate-max-time): Allow nil and t values.
9026 Default to nil.
9027 (create-animated-image): Doc fix.
9028 (image-animate-start): Remove second arg; just use
9029 image-animate-max-time.
9030 (image-animate-timeout): Doc fix. Args changed.
9031
9032 * image-mode.el (image-toggle-display-image): Ensure that the
9033 image spec passed to the animate timer is the same object as in
58179cce 9034 the buffer's display property (Bug#6981).
e8cbec34
CY
9035 (image-transform-properties): Doc fix.
9036
9037 * image.el (image-animate-max-time): Default to nil.
9038
159daf87
MR
90392011-05-29 Martin Rudalics <rudalics@gmx.at>
9040
9041 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9042 entire buffer list (Bug#8184).
9043
d66c4c7c
CY
90442011-05-29 Chong Yidong <cyd@stupidchicken.com>
9045
9046 * image.el (imagemagick-types-inhibit)
9047 (imagemagick-register-types): Doc fix.
9048
80aec780
DD
90492011-05-29 Deniz Dogan <deniz@dogan.se>
9050
9051 * net/rcirc.el (rcirc): Use the user's stored encryption method by
9052 default.
9053
1dd3c2d9
CY
90542011-05-29 Chong Yidong <cyd@stupidchicken.com>
9055
9056 * select.el: Don't perform clipboard-manager saving in hooks;
9057 leave the hooks empty.
9058
60e56523
LL
90592011-05-28 Leo Liu <sdl.web@gmail.com>
9060
9061 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9062 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
9063 (occur-edit-mode): New major mode (Bug#8463).
9064 (occur-after-change-function): New function.
9065 (occur-engine): Give Occur tags a read-only property.
9066
2b1e1a22
KR
90672011-05-28 Kevin Ryde <user42@zip.com.au>
9068
9069 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9070
5d344e88
CY
90712011-05-28 Chong Yidong <cyd@stupidchicken.com>
9072
8e6ca83d
CY
9073 * bindings.el (help-echo): Make the initial non-indicator dash
9074 empty on graphical terminals (Bug#7295).
9075
5d344e88
CY
9076 * files.el (auto-mode-alist): Move config rule after the
9077 in-stripping one (Bug#8547).
9078
bfbbace7
CY
9079 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9080
fbeba6e2
CY
9081 * startup.el (normal-splash-screen): Remove gratuitous mode-line
9082 setting (Bug#8740).
9083
60ed8c72
AA
90842011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
9085
4ac619f0
AA
9086 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9087 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9088 (Bug#8539).
60ed8c72 9089
23db196e
CY
90902011-05-28 Chong Yidong <cyd@stupidchicken.com>
9091
9092 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9093
5012f24c
DK
90942011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
9095
9096 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9097 (hs-hide-block-at-point, hs-find-block-beginning)
9098 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9099 (Bug#8279).
9100
6a639b16
GM
91012011-05-28 Glenn Morris <rgm@gnu.org>
9102
9103 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9104
d43eaf2c
CY
91052011-05-28 Chong Yidong <cyd@stupidchicken.com>
9106
5199bde1
CY
9107 * help-fns.el (describe-function-1): If the function is a derived
9108 major mode, print the parent mode.
9109
d43eaf2c
CY
9110 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9111 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9112
423428a8
SM
91132011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9114
0ff8e1ba 9115 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 9116 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
9117 * progmodes/etags.el (tags-completion-at-point-function):
9118 * info-look.el (info-lookup-completions-at-point): Mark as
9119 non-exclusive.
9120 (info-complete): Adjust accordingly.
9121
423428a8
SM
9122 * info-look.el: Convert to lexical-binding and completion-at-point.
9123 (info-lookup-completions-at-point): New function.
9124 (info-complete): Use it and completion-in-region.
9125
b74aa22b
DA
91262011-05-28 Drew Adams <drew.adams@oracle.com>
9127
9128 * isearch.el: Let M-e start with point at the first mismatched char.
9129 (isearch-fail-pos): New function.
9130 (isearch-edit-string): Use it.
9131
66e2e71d
DK
91322011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9133
9134 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9135
b1890b0f 91362011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
9137
9138 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9139 traversal functions for avl-trees.
9140 (avl-tree--stack): New struct.
9141 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9142 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
9143 (avl-tree--do-enter): Add optional `updatefun' arg.
9144 Change return value.
eb95d01d 9145 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
9146 (avl-tree--do-delete): Add `test' and `nilflag' args.
9147 Change return value.
eb95d01d
TC
9148 (avl-tree-member): Add optional `nilflag'
9149 (avl-tree-member-p): New function.
9150 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9151 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9152 (avl-tree-stack-empty-p): New functions.
9153
3769ddcf
TC
9154 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9155 avl-tree--del-balance1 and make it work both ways.
9156 (avl-tree--del-balance2): Remove.
9157 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9158 make it work both ways.
9159 (avl-tree--enter-balance2): Remove.
9160 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9161 New macros.
9162 (avl-tree--mapc, avl-tree-map): Add direction argument.
9163
eb95d01d 91642011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
9165
9166 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9167
a9f737ee
CY
91682011-05-27 Chong Yidong <cyd@stupidchicken.com>
9169
9170 * select.el: Support clipboard managers with built-in function
9171 x-clipboard-manager-save, via delete-frame-functions and
9172 kill-emacs-hook.
9173 (xselect-convert-to-targets): Add MULTIPLE target to list.
9174 (xselect-convert-to-save-targets): New function.
9175
c92a1e54
KH
91762011-05-27 Kenichi Handa <handa@m17n.org>
9177
9178 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9179 let-binding rfc2047-encode-encoded-words to nil.
9180
e145f188
GM
91812011-05-27 Glenn Morris <rgm@gnu.org>
9182
5ec8a862
GM
9183 * mail/emacsbug.el: Don't require url-util.
9184
4b29d9fb
GM
9185 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9186
e145f188
GM
9187 * files.el (set-auto-mode):
9188 Also respect mode: entries at the end of the file. (Bug#8586)
9189
7d15102b
GM
91902011-05-26 Glenn Morris <rgm@gnu.org>
9191
98f593b8
GM
9192 * files.el (hack-local-variables-prop-line, hack-local-variables):
9193 Downcase mode names, as seems to be traditional.
27b48e63 9194 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 9195
7d15102b
GM
9196 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9197 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
9198
51d5b4ec
JD
91992011-05-25 Julien Danjou <julien@danjou.info>
9200
9201 * textmodes/rst.el (rst-define-level-faces): Do not define face
9202 symbol if it is already defined.
9203
91513f63
VB
92042011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
9205
9206 * play/5x5.el (5x5-new-game, 5x5-randomize):
9207 Reset 5x5-solver-output to nil when a new grid is cast.
9208 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9209 these debugging traces, as defmacro breaks the compiled code.
9210
4d90d6d0
DK
92112011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9212
9213 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9214
e1b90ef6
LL
92152011-05-24 Leo Liu <sdl.web@gmail.com>
9216
9217 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9218 (vc-bzr-sha1): Adapt.
9219
d8e4b68b 9220 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
9221
9222 * bindings.el: Provide sha1 feature.
9223
db0406bb 92242011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
9225
9226 * mail/sendmail.el: Require `rfc2047'.
9227 (mail-insert-from-field): Do not perform RFC2047 encoding.
9228 (mail-encode-header): New function.
9229 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
9230 buffer to the return value of select-message-coding-system.
9231 Call mail-encode-header.
b8d747b9
KH
9232
9233 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9234
db0406bb 92352011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 9236
4d90d6d0
DK
9237 * mail/supercite.el (sc-default-cite-frame):
9238 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 9239
eb8a5e9b
GM
92402011-05-24 Glenn Morris <rgm@gnu.org>
9241
f8630703
GM
9242 * progmodes/python.el (brm-menu): Declare.
9243
8831bbed
GM
9244 * emulation/viper.el (viper-set-hooks): Declare.
9245
eb8a5e9b
GM
9246 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9247 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9248 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9249 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9250 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9251 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9252
a2a25d24
SM
92532011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9254
9255 Add an :exit-function for completion-at-point.
9256
9257 * minibuffer.el (completion--done): New fun.
9258 (completion--do-completion): Use it. New arg `expect-exact'.
9259 (minibuffer-complete, minibuffer-complete-word): Don't output message,
9260 since completion--do-completion does it for us now.
9261 (minibuffer-force-complete): Use completion--done and
9262 completion--replace. Handle sole-completion case with more care.
9263 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9264 (completion-extra-properties): New var.
9265 (completion-annotate-function): Make obsolete.
9266 (minibuffer-completion-help): Adjust accordingly.
9267 Use completion-list-insert-choice-function.
9268 (completion-at-point, completion-help-at-point):
9269 Bind completion-extra-properties.
9270 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9271 * simple.el (completion-list-insert-choice-function): New var.
9272 (completion-setup-function): Preserve it.
9273 (choose-completion): Pay attention to it, shuffle the code a bit.
9274 (choose-completion-string): New arg `insert-function'.
9275
9276 * textmodes/bibtex.el: Convert to lexical binding.
9277 (bibtex-mode-map): Use completion-at-point.
9278 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9279 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9280 (bibtex-complete): Define as obsolete alias.
9281 (bibtex-complete-internal): Remove.
9282 (bibtex-format-entry): Remove unused sub-group in regexp.
9283 * shell.el (shell--command-completion-data)
9284 (shell-environment-variable-completion):
9285 * pcomplete.el (pcomplete-completions-at-point):
9286 * comint.el (comint--complete-file-name-data): Use :exit-function
9287 instead of completion-table-with-terminator so it also works for
9288 choose-completion.
9289
e44e373d
SM
92902011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9291
4f91a816
SM
9292 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9293
782fc819
SM
9294 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9295 (bug#8710).
9296
e44e373d
SM
9297 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9298
381987c3
KM
92992011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
9300
9301 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9302 customization variable and implement: If non-nil, auto-fill will
9303 be inhibited while on topic's header line.
9304
b776bc70
VB
93052011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
9306
9307 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 9308 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
9309 always have a solution in grid size = 5 cases.
9310 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9311 (5x5-solver-output, 5x5-log-buffer): New vars.
9312 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9313 Make these variables buffer local to achieve 5x5 multi-session-ness.
9314 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9315 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9316 (5x5-solve-suggest): New funs.
9317 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9318 randomize a grid so that we ensure that there is always a solution.
9319 (5x5-make-random-grid): Allow other movement than flipping.
9320
7de88b6e
KR
93212011-05-23 Kevin Ryde <user42@zip.com.au>
9322
9323 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 9324 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
9325 advice and passes PREDICATE.
9326
b1ef1257
SM
93272011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9328
bbca48fe
SM
9329 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9330 byte-compile-lambda if it's actually a lambda.
9331
b1ef1257
SM
9332 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9333 Fix function quoting. Use backquote better.
9334
92a9cc65
YS
93352011-05-22 Yuanle Song <sylecn@gmail.com>
9336
9337 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9338 matching (Bug#8516).
9339
f0fb8059
JA
93402011-01-22 Jari Aalto <jari.aalto@cante.net>
9341
9342 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9343 different face (Bug#8178).
9344
d5b44c93
CY
93452011-05-22 Chong Yidong <cyd@stupidchicken.com>
9346
9347 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9348 defface (Bug#8144).
9349
79106a44
SM
93502011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
9351
9c848d8a
SM
9352 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9353 funcall as well (bug#8712). Warn when performing those conversions.
9354 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9355
79106a44
SM
9356 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9357
88dfa756
GM
93582011-05-22 Glenn Morris <rgm@gnu.org>
9359
9360 * files.el (hack-local-variables-prop-line): Small simplifications.
9361 (hack-local-variables, hack-local-variables-prop-line):
9362 If MODE-ONLY, return the mode, rather than just `t'.
9363
b7cf2c79
SM
93642011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9365
9366 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9367
3f1a8558
GM
93682011-05-21 Glenn Morris <rgm@gnu.org>
9369
7e4ccca3
GM
9370 * files.el (hack-local-variables-prop-line, hack-local-variables):
9371 If only interested in the mode, don't bother doing the other stuff.
9372
637d46ca
GM
9373 * image-mode.el (image-after-revert-hook):
9374 Redraw all frames on which the image is visible. (Bug#8567)
9375
973d955b
GM
9376 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
9377
3f1a8558
GM
9378 * wid-edit.el (widget-checklist-match-inline):
9379 Fix 2011-04-19 change. (Bug#8649)
9380
96479927
SM
93812011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
9382
1dcf791f
SM
9383 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9384 Also allow singlespace after single-letter capitals followed by a dot.
9385
96479927
SM
9386 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9387 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9388
35fd0881
N
93892011-05-20 Nix <nix@esperi.org.uk>
9390
9391 * files.el (basic-save-buffer-2):
9392 Fix handling of break-hardlink-on-save with non-existent files.
9393
82745640
DD
93942011-05-19 Deniz Dogan <deniz@dogan.se>
9395
9396 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 9397 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 9398
4a720484
GM
93992011-05-19 Glenn Morris <rgm@gnu.org>
9400
d1f21341
GM
9401 * progmodes/f90.el (f90-type-def-re):
9402 Handle "type, bind(c)". (Bug#8691)
9403
4a720484
GM
9404 * emacs-lisp/autoload.el (batch-update-autoloads):
9405 Set autoload-excludes by parsing loadup.el rather than Makefiles.
9406
2fb0a219
MA
94072011-05-18 Michael Albinus <michael.albinus@gmx.de>
9408
9409 * net/tramp.el (tramp-process-actions): Set "first-password-request"
9410 property for the correct connection in case of multihops.
9411
e565dd37
GM
94122011-05-18 Glenn Morris <rgm@gnu.org>
9413
c2571358 9414 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
9415 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9416
e565dd37
GM
9417 Rationalize calendar handling of day and month abbrev-arrays.
9418 * calendar/calendar.el (calendar-customized-p): New function.
9419 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9420 (calendar-day-name-array, calendar-month-name-array): Doc fix.
9421 Add :set function.
9422 (calendar-abbrev-length, calendar-day-abbrev-array)
9423 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9424 (calendar-day-abbrev-array, calendar-month-abbrev-array):
9425 Elements may no longer be nil.
9426 (calendar-day-name, calendar-month-name):
9427 Update for changed nature of abbrev arrays.
9428 * calendar/diary-lib.el (diary-name-pattern):
9429 Update for changed nature of abbrev arrays.
9430 (diary-mark-entries-1): Update calendar-make-alist calls.
9431 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9432 * calendar/cal-html.el (cal-html-day-abbrev-array):
9433 Simply inherit from calendar-day-abbrev-array.
9434
1d99a745
SM
94352011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9436
9437 * progmodes/grep.el (grep-mode): Disable default
9438 compilation-directory-matcher setting (bug#8684).
9439
7c1d9aa0
MA
94402011-05-17 Michael Albinus <michael.albinus@gmx.de>
9441
9442 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9443 instead of "head" and "tail". There were problems with SunOS 5.9,
9444 and it performs better.
9445
3952e9d8
GM
94462011-05-17 Glenn Morris <rgm@gnu.org>
9447
2dd12e7f
GM
9448 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9449
e4157b9c
GM
9450 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9451 Replace obsolete function.
9452
8e249bbd
GM
9453 * shell.el (pcomplete-parse-arguments-function): Declare.
9454
3952e9d8
GM
9455 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9456 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9457 (appt-check): Doc fixes.
9458 (appt-disp-window-function, appt-delete-window-function):
9459 Remove needless special case in custom :type.
9460 (appt-display-count): Default to 0, not nil.
9461 (appt-check): Reset appt-display-count to 0, not nil.
9462
c71a0d48 94632011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 9464
c71a0d48
GM
9465 * progmodes/python.el (python-font-lock-keywords):
9466 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 9467
31d55be9
SM
94682011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9469
9470 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9471
3bfacb2f
KR
94722011-05-16 Kevin Ryde <user42@zip.com.au>
9473
9474 * info-look.el (makefile-automake-mode): New setups, looking in
9475 automake manual, then makefile-mode.
9476 (makefile-mode): Remove automake manual, have it just in
9477 makefile-automake-mode since there's various things different or
9478 not relevant to plain make.
9479 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9480 believe a hypothetical automake-mode would go to makefile-mode,
9481 not the other way around.
9482
c8e83751
CY
94832011-05-15 Chong Yidong <cyd@stupidchicken.com>
9484
5e9e35cd
CY
9485 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9486 hunk-end tags (Bug#8672).
9487
c8e83751
CY
9488 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9489 vc-annotate-show-diff-revision-at-line (Bug#8671).
9490
50b23e5a
GM
94912011-05-14 Glenn Morris <rgm@gnu.org>
9492
7210a739
GM
9493 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9494 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
9495 (change-log-font-lock-keywords): Also handle multiple author lines
9496 with leading tabs. (Bug#8644)
7210a739 9497
4691905a
GM
9498 * calendar/appt.el (appt-check): Rename some local variables.
9499 Some simplification/reordering.
9500
50b23e5a
GM
9501 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9502 (feedmail-sendmail-f-doesnt-sell-me-out)
9503 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9504 (feedmail-debug-sit-for, feedmail-queue-express-hook)
9505 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
9506 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9507 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
9508 (feedmail-binmail-gnulinuxish-template):
9509 Rename from feedmail-binmail-linuxish-template.
9510 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9511 Use insert-buffer-substring.
9512
215cda7c
BC
95132011-05-14 Bill Carpenter <bill@carpenter.org>
9514
9515 * mail/feedmail.el (feedmail-patch-level): Increase.
9516 (feedmail-debug): New custom group.
9517 (feedmail-confirm-outgoing-timeout)
9518 (feedmail-sendmail-f-doesnt-sell-me-out)
9519 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9520 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9521 (feedmail-sender-line, feedmail-from-line)
9522 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 9523 (feedmail-spray-this-address)
215cda7c
BC
9524 (feedmail-spray-address-fiddle-plex-list)
9525 (feedmail-queue-use-send-time-for-date)
9526 (feedmail-queue-use-send-time-for-message-id)
9527 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9528 (feedmail-buffer-eating-function):
9529 Doc fixes.
9530 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9531 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9532 (feedmail-message-action-scroll-down): New functions.
9533 (feedmail-queue-directory, feedmail-queue-draft-directory):
9534 Use expand-file-name.
9535 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9536 Remove C-v help entry.
9537 (feedmail-queue-buffer-file-name): New variable.
9538 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9539 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9540 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9541 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9542 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9543 (feedmail-message-action-toggle-spray)
9544 (feedmail-run-the-queue-no-prompts)
9545 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9546 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9547 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9548 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9549 (feedmail-envelope-deducer, feedmail-fiddle-from)
9550 (feedmail-fiddle-sender, feedmail-default-date-generator)
9551 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9552 (feedmail-fiddle-spray-address)
9553 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9554 (feedmail-fiddle-list-of-fiddle-plexes)
9555 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9556 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9557 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9558 Change default. Doc fix.
9559 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9560 (feedmail-binmail-linuxish-template): New constant.
9561 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9562 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9563 (feedmail-send-it): Add debug call.
9564 Use feedmail-queue-buffer-file-name, and
9565 feedmail-send-it-immediately-wrapper.
9566 (feedmail-message-action-send): Add debug call.
9567 Use feedmail-send-it-immediately-wrapper.
9568 (feedmail-queue-express-to-queue): Add debug call.
9569 Run feedmail-queue-express-hook.
9570 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9571 (feedmail-message-action-help-blat):
9572 Rename from feedmail-queue-send-edit-prompt-help-first.
9573 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9574 Check line-endings. Handle errors better.
9575 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9576 Doc fix. Add debug call.
9577 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9578 Use feedmail-queue-send-edit-prompt-inner.
9579 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9580 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9581 from feedmail-queue-send-edit-prompt.
9582 (feedmail-queue-send-edit-prompt-help)
9583 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9584 (feedmail-tidy-up-slug): Add debug call.
9585 Respect feedmail-queue-slug-suspect-regexp.
9586 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9587 (feedmail-dump-message-to-queue): Add debug call.
9588 Expand queue-directory.
9589 (feedmail-dump-message-to-queue): Change message slightly.
9590 Use feedmail-say-chatter.
9591 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9592 (feedmail-send-it-immediately-wrapper): New function.
9593 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9594 Insert empty string rather than newline. Handle full-frame case.
9595 Use catch/throw. Use feedmail-say-chatter.
9596 (feedmail-fiddle-from): Try mail-host-address.
9597 (feedmail-default-message-id-generator): Doc fix.
9598 Bind system-time-locale. Handle missing end.
9599 (feedmail-fiddle-x-mailer): Add debug call.
9600 Handle feedmail-x-mailer-line being nil.
9601 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9602 Add debug call. Use buffer-substring-no-properties.
9603 (feedmail-say-debug, feedmail-say-chatter): New functions.
9604 (feedmail-find-eoh): Give an explicit error.
9605
42c7e61e
UJ
96062011-05-13 Ulf Jasper <ulf.jasper@web.de>
9607
c2571358 9608 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 9609 family from helvetica to sans.
c2571358 9610 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9611 etc/images/newsticker.
9612
c2571358 9613 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
9614 family from helvetica to sans.
9615
9616 * net/newst-plainview.el (newsticker-new-item-face)
9617 (newsticker-old-item-face, newsticker-immortal-item-face)
9618 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 9619 (newsticker-statistics-face): Change default family from
42c7e61e 9620 helvetica to sans.
c2571358 9621 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9622 etc/images/newsticker.
9623
9624 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9625 (newsticker--process-auto-mark-filter-match): : Tell user about
9626 auto-marking.
9627
8497a297
DV
96282011-05-13 Didier Verna <didier@xemacs.org>
9629
9630 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
9631 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9632 TODO entries.
8497a297
DV
9633 (lisp-lambda-list-keyword-parameter-indentation)
9634 (lisp-lambda-list-keyword-parameter-alignment)
9635 (lisp-lambda-list-keyword-alignment): New customizable user options.
9636 (lisp-indent-defun-method): Improve docstring.
9637 (extended-loop-p): Fix comment.
9638 (lisp-indent-lambda-list-keywords-regexp): New variable.
9639 (lisp-indent-lambda-list): New function.
9640 (lisp-indent-259): Use it.
9641 (lisp-indent-defmethod): Support for more than one
9642 method qualifier and properly indent methods lambda-lists.
9643 (defgeneric): Provide a missing common-lisp-indent-function property.
9644
f278f87f
SM
96452011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9646
9647 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9648 bounds for the empty string (bug#8667).
9649
5233edd7
GM
96502011-05-13 Glenn Morris <rgm@gnu.org>
9651
5237a44f
GM
9652 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9653
8340026c 9654 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 9655 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 9656
5233edd7 9657 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 9658 (appt-time-msg-list): Doc fix.
a5464014 9659 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 9660
92d10796
AS
96612011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9662
9663 * progmodes/ld-script.el (ld-script-keywords)
9664 (ld-script-builtins): Update keywords list.
9665
914a0ae1
SM
96662011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9667
c89be45f
SM
9668 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9669
914a0ae1
SM
9670 * shell.el (shell-completion-vars): New function.
9671 (shell-mode):
9672 * simple.el (read-shell-command): Use it.
9673 (blink-matching-open): No need for " [...]" in minibuffer-message.
9674
98dc3df3
GM
96752011-05-12 Glenn Morris <rgm@gnu.org>
9676
9677 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9678 (appt-check): Simplify.
9679
d2fc7e3d 96802011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 9681
4d61f28d 9682 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
9683 literal "/dev/null".
9684
d2fc7e3d 96852011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
9686
9687 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9688 Fix typo.
9689
d2fc7e3d 96902011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 9691
3f254caa
SM
9692 * progmodes/which-func.el (which-function):
9693 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
9694 which might not be defined (Bug#8260).
9695
d45885f7
GM
96962011-05-12 Glenn Morris <rgm@gnu.org>
9697
9698 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9699 Let byte-compile-initial-macro-environment always take precedence.
9700
488086f4
SM
97012011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9702
9703 * net/rcirc.el: Add support for SSL/TLS connections.
9704 (rcirc-server-alist): New field `encryption'.
9705 (rcirc): Check `encryption' settings.
9706 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9707 Merge make-local-variable into `set'.
9708 (rcirc--connection-open-p): New function.
9709 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9710 the process is not a network process (e.g. running gnutls-cli).
9711 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9712 Make rcirc-(en|de)code-coding-system local here.
9713 (rcirc-mode): Merge make-local-variable into `set'.
9714 (rcirc-parent-buffer): Make permanent buffer-local.
9715 (rcirc-multiline-minor-mode): Don't do it here.
9716 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9717 there's no server buffer.
9718
7d3b9d44
GM
97192011-05-11 Glenn Morris <rgm@gnu.org>
9720
f64049c6
GM
9721 * newcomment.el (comment-kill): Prefix "unused" local.
9722
93c9df73
GM
9723 * term/w32console.el (get-screen-color): Declare.
9724
7d3b9d44
GM
9725 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9726 Handle symbol elements of byte-compile-initial-macro-environment.
9727
9e2dd53f
LL
97282011-05-10 Leo Liu <sdl.web@gmail.com>
9729
488086f4
SM
9730 * bookmark.el (bookmark-bmenu-mode-map):
9731 Bind bookmark-bmenu-search to `/'.
8b340240 9732
9e2dd53f 9733 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
9734 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9735 (Footnote-unicode): New function.
9736 (footnote-style-alist): Add unicode style to the list.
9737 (footnote-style): Doc fix.
9e2dd53f 9738
79b70037
GM
97392011-05-10 Jim Meyering <meyering@redhat.com>
9740
9741 Fix doubled-word typos.
9742 * international/quail.el (quail-insert-kbd-layout): and and -> and
9743 * kermit.el: and and -> and
9744 * net/ldap.el (ldap-search-internal): to to -> to
9745 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9746 * progmodes/js.el (js-mode): and and -> and
9747 * textmodes/artist.el (artist-move-to-xy): at at -> at
9748 (artist-draw-region-trim-line-endings): if if -> if
9749 And Safetyc -> Safety.
9750 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9751
b8f82dc1 97522011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 9753 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
9754
9755 * files.el (hack-one-local-variable-eval-safep):
9756 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9757
4f99f44b
GM
97582011-05-10 Glenn Morris <rgm@gnu.org>
9759
9760 * calendar/diary-lib.el (diary-list-entries-hook)
9761 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9762 (diary-nongregorian-marking-hook, diary-list-entries)
9763 (diary-include-other-diary-files, diary-mark-entries)
9764 (diary-mark-included-diary-files): Doc fixes.
9765
84f29e6b
JB
97662011-05-09 Juanma Barranquero <lekktu@gmail.com>
9767
9768 * misc.el: Require tabulated-list.el during compilation.
9769
9bedd73a
CY
97702011-05-09 Chong Yidong <cyd@stupidchicken.com>
9771
488086f4
SM
9772 * progmodes/compile.el (compilation-start):
9773 Run compilation-filter-hook for the async case too.
9bedd73a
CY
9774 (compilation-filter-hook): Doc fix.
9775
797c735c
DD
97762011-05-09 Deniz Dogan <deniz@dogan.se>
9777
9778 * wdired.el: Remove outdated installation comment. Fix usage
9779 comment.
9780
5f4b1dfe
JB
97812011-05-09 Juanma Barranquero <lekktu@gmail.com>
9782
9783 * misc.el: Implement new command `list-dynamic-libraries'.
9784 (list-dynamic-libraries--loaded-only-p): New variable.
9785 (list-dynamic-libraries--refresh): New function.
9786 (list-dynamic-libraries): New command.
9787
4c44026c
CY
97882011-05-09 Chong Yidong <cyd@stupidchicken.com>
9789
488086f4
SM
9790 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9791 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
9792 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9793 higher priority to avoid clobbering by gnu.
9794
027f966d
CY
97952011-05-08 Chong Yidong <cyd@stupidchicken.com>
9796
9797 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9798 if the face has existing theme settings (Bug#8454).
9799
085f5d7d
CY
98002011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9801
488086f4
SM
9802 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9803 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 9804
2a86a00c
RS
9805 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9806 special file names `.' and `..' (Bug#8259).
9807
d9c54a06
CY
98082011-05-08 Chong Yidong <cyd@stupidchicken.com>
9809
488086f4
SM
9810 * progmodes/grep.el (grep-mode-font-lock-keywords):
9811 Remove buffer-changing entries.
d9c54a06
CY
9812 (grep-filter): New function.
9813 (grep-mode): Add it to compilation-filter-hook.
9814
9815 * progmodes/compile.el (compilation-filter-hook)
9816 (compilation-filter-start): New defvars.
9817 (compilation-filter): Call compilation-filter-hook prior to
9818 updating the process mark.
9819
c4662635
SM
98202011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9821
9822 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9823
b0512a1d
EZ
98242011-05-07 Eli Zaretskii <eliz@gnu.org>
9825
605c9376
EZ
9826 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9827 mailclient-send-it even if window-system is nil. (Bug#8595)
9828
c4662635
SM
9829 * term/w32console.el (terminal-init-w32console):
9830 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
9831 background-mode. (Bug#8597)
9832
d1dc2cc2
SM
98332011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9834
9835 Make bytecomp.el understand that defmethod defines funs (bug#8631).
9836 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9837 New functions.
9838 (defgeneric, eieio--defmethod): Use them.
9839 (eieio-defgeneric): Remove.
9840 (defmethod): Call defgeneric in a way visible to the byte-compiler.
9841
915d1300
GM
98422011-05-07 Glenn Morris <rgm@gnu.org>
9843
a3961c3e
GM
9844 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9845 Use let rather than let*.
9846 (timeclock-find-discrep): Remove unused local.
9847
314347b9
GM
9848 * calendar/diary-lib.el (diary-comment-start): Doc fix.
9849
915d1300
GM
9850 * calendar/appt.el (appt-time-msg-list): Doc fix.
9851
275b59b0
NF
98522011-05-06 Noah Friedman <friedman@splode.com>
9853
9854 * apropos.el (apropos-print-doc): Only use
9855 emacs-lisp-docstring-fill-column when it is bound to an integer,
9856 per that variable's documentation.
9857
6c19f744
SM
98582011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9859
9860 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 9861 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 9862
60f884b2
GM
98632011-05-06 Glenn Morris <rgm@gnu.org>
9864
5006e634
GM
9865 * calendar/appt.el (appt-message-warning-time): Doc fix.
9866 (appt-warning-time-regexp): New option.
9867 (appt-make-list): Respect appt-message-warning-time.
9868
548d0a63
GM
9869 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9870 New options.
9871 (diary-add-to-list): Strip comments from the displayed string.
9872 (diary-mode): Set comment-start and comment-end.
9873
60f884b2
GM
9874 * vc/diff-mode.el (smerge-refine-subst): Declare.
9875 (diff-refine-hunk): Don't require smerge-mode when compiling.
9876
989681bb
JB
98772011-05-06 Juanma Barranquero <lekktu@gmail.com>
9878
9879 * simple.el (list-processes): Return nil as the docstring says.
9880
a6bc05e1
MA
98812011-05-05 Michael Albinus <michael.albinus@gmx.de>
9882
9883 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9884 to "".
9885 (ange-ftp-write-region, ange-ftp-insert-file-contents)
9886 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9887 determining of binary transfer. (Bug#7383)
9888
23c22e9a
MA
98892011-05-05 Michael Albinus <michael.albinus@gmx.de>
9890
c4662635
SM
9891 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9892 Fix port computation bug. (Bug#8618)
23c22e9a 9893
0bff894f
GM
98942011-05-05 Glenn Morris <rgm@gnu.org>
9895
b8296902
GM
9896 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9897
1f522ce8
GM
9898 * simple.el (shell-dynamic-complete-functions)
9899 (comint-dynamic-complete-functions): Declare.
9900
cf5bee67
GM
9901 * net/network-stream.el (gnutls-negotiate):
9902 * simple.el (tabulated-list-print): Fix declarations.
9903
9904 * progmodes/gud.el (syntax-symbol, syntax-point):
9905 Remove unnecessary and incorrect declarations.
9906
0bff894f
GM
9907 * emacs-lisp/check-declare.el (check-declare-scan):
9908 Handle byte-compile-initial-macro-environment in bytecomp.el
9909
9869b3ae
SM
99102011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9911
9912 Fix earlier half-done eieio-defmethod change (bug#8338).
9913 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9914 Streamline and change calling convention.
9915 (defmethod): Adjust accordingly and simplify.
9916 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9917 new eieio--defmethod.
9918 (slot-boundp): Minor CSE simplification.
9919
9c1d5ac5
MZ
99202011-05-05 Milan Zamazal <pdm@zamazal.org>
9921
9922 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9923 (glasses-make-readable): Use glasses-separate-capital-groups.
9924
455c834e
JB
99252011-05-05 Juanma Barranquero <lekktu@gmail.com>
9926
9927 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9928 (warning-series): Doc fix.
9929 (display-warning): Don't try to create the buffer if we just found it.
9930
9ed7c8cb
CY
99312011-05-04 Chong Yidong <cyd@stupidchicken.com>
9932
9933 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9934 (autoload-find-generated-file): New function.
9935 (generate-file-autoloads): Bind generated-autoload-file to
9936 buffer-file-name.
9869b3ae
SM
9937 (update-file-autoloads, update-directory-autoloads):
9938 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
9939 output file (Bug#7989).
9940 (batch-update-autoloads): Doc fix.
9941
0898ca10
JB
99422011-05-04 Juanma Barranquero <lekktu@gmail.com>
9943
9944 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9945
31dfb76c
GM
99462011-05-04 Glenn Morris <rgm@gnu.org>
9947
f330b642
GM
9948 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9949 function, so it follows changes in calendar-date-style.
9950 (diary-fancy-date-matcher): New function.
9951 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9952 (diary-fancy-font-lock-fontify-region-function):
9953 Use diary-fancy-date-pattern as a function.
9954
31dfb76c
GM
9955 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9956 non-numbers for `year' etc pseudo-variables. (Bug#8583)
9957
48e79d6a
TZ
99582011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
9959
9960 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
9961 instead of positional arguments. Allow :keylist and :crlfiles
9962 arguments.
9963 (open-gnutls-stream): Call it.
9964
9965 * net/network-stream.el (network-stream-open-starttls): Adjust to
9966 call `gnutls-negotiate' with :process and :hostname arguments.
9967
dd5a5ee0
SM
99682011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9969
ef80fc09
SM
9970 * minibuffer.el (completion--message): New function.
9971 (completion--do-completion, minibuffer-complete)
9972 (minibuffer-force-complete, minibuffer-complete-word): Use it.
9973 (completion--do-completion): Don't ignore completion-auto-help when in
9974 icomplete-mode.
9975
dd5a5ee0
SM
9976 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
9977 internal encoding (e.g. tibetan zero is not whitespace).
9978 (global-whitespace-mode): Prefer save-current-buffer.
9979 (whitespace-trailing-regexp): Remove useless save-match-data.
9980 (whitespace-empty-at-bob-regexp): Minor simplification.
9981
b7d22a83
CY
99822011-05-03 Chong Yidong <cyd@stupidchicken.com>
9983
9984 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9985
5192af46
AM
99862011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9987
9988 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 9989 Use `concat' to create string for insertion.
5192af46 9990
5767d190
SM
99912011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9992
9993 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
9994 Avoid open-line which runs post-self-insert-hook.
9995 (bibtex-fill-entry): Remove unused `end' var.
9996
bf242939
AM
99972011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
9998
5767d190
SM
9999 * textmodes/ispell.el (ispell-add-per-file-word-list):
10000 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 10001
25666126
LL
100022011-05-03 Leo Liu <sdl.web@gmail.com>
10003
10004 * isearch.el (isearch-yank-pop): New command.
5767d190 10005 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
10006 (isearch-forward): Mention it.
10007
52d3c2d0
SM
100082011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10009
1bcace58
SM
10010 * simple.el (minibuffer-complete-shell-command): Remove.
10011 (minibuffer-local-shell-command-map): Use completion-at-point.
10012 (read-shell-command): Setup completion vars here instead.
10013 (read-expression-map): Bind TAB to symbol completion.
10014
52d3c2d0
SM
10015 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10016 error directly rather via storing it into `results'.
10017
35813471
LL
100182011-05-02 Leo Liu <sdl.web@gmail.com>
10019
10020 * vc/diff.el: Fix description.
10021
e793a940
LMI
100222011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10023
10024 * server.el (server-eval-at): New function.
10025
8de66e05
LMI
100262011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10027
10028 * net/network-stream.el (open-network-stream): Take a :nowait
10029 parameter and pass it on to `make-network-process'.
10030 (network-stream-open-plain): Ditto.
10031
dcb79f20
AS
100322011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10033
10034 * faces.el (face-spec-set-match-display): Don't match toolkit
10035 options on terminal frames.
10036
14a7fbd8
SM
100372011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10038
7eabc1be
SM
10039 * progmodes/pascal.el: Use lexical binding.
10040 (pascal-mode-map): Remove author preferences.
10041
14a7fbd8
SM
10042 * pcomplete.el (pcomplete-std-complete): Don't abuse
10043 completion-at-point.
10044
50f84510
JB
100452011-04-28 Juanma Barranquero <lekktu@gmail.com>
10046
6e087a44
JB
10047 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10048 removing code that has been dead since 1991 or so.
10049
50f84510
JB
10050 * startup.el (command-line): When warning about "_emacs", use a
10051 delayed warning to allow the user to filter it out.
10052
0ba690bd
DD
100532011-04-28 Deniz Dogan <deniz@dogan.se>
10054
10055 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10056 user has not joined.
10057
08abfaad
SM
100582011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10059
10060 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10061 aren't any completions at point.
10062
638f053a
JB
100632011-04-28 Juanma Barranquero <lekktu@gmail.com>
10064
10065 * subr.el (display-delayed-warnings): New function.
10066 (delayed-warnings-hook): New variable.
10067
8fff8daa
SM
100682011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10069
08abfaad
SM
10070 * minibuffer.el (completion-at-point, completion-help-at-point):
10071 Don't presume that a given completion-at-point-function will always
10072 use the same calling convention.
10073
8fff8daa
SM
10074 * pcomplete.el (pcomplete-completions-at-point):
10075 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10076 pcomplete-seen is non-nil.
10077 (pcomplete-comint-setup): Also recognize the new comint/shell
10078 completion functions.
10079 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10080 pcomplete-seen is non-nil.
10081
841a1577 100822011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 10083
841a1577 10084 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 10085 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 10086 the first character in the entry. This allows for code to add its
211ec907
UJ
10087 own uid to the entry.
10088 (icalendar--convert-float-to-ical): Add export of
10089 `diary-float'-entries save for those with the optional DAY
10090 argument.
10091
2a782793
DC
100922011-04-27 Daniel Colascione <dan.colascione@gmail.com>
10093
10094 * subr.el (shell-quote-argument): Use alternate escaping strategy
10095 when we spot a variable reference in a string.
10096
0438ce91
DC
100972011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10098
10099 * cus-start.el (all): Define customization for debug-on-event.
10100
841a1577 101012011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
10102
10103 * subr.el (shell-quote-argument): Escape correctly under Windows.
10104
d090ed6c
SM
101052011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10106
10107 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10108
bfd31217
MA
101092011-04-25 Michael Albinus <michael.albinus@gmx.de>
10110
d090ed6c
SM
10111 * net/tramp.el (tramp-process-actions): Add POS argument.
10112 Delete region between POS and (pos).
bfd31217 10113
d090ed6c
SM
10114 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10115 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
10116 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10117
10118 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10119 position in `tramp-process-actions' call.
10120
10121 * net/trampver.el: Update release number.
10122
e92f3bd3
SM
101232011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10124
850256b5
SM
10125 * custom.el (defcustom): Obey lexical-binding.
10126
e92f3bd3
SM
10127 Fix octave-inf completion problems reported by Alexander Klimov.
10128 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10129 Inherit from octave-mode-syntax-table.
10130 (inferior-octave-mode): Set info-lookup-mode.
10131 (inferior-octave-completion-at-point): New function.
10132 (inferior-octave-complete): Use it and completion-in-region.
10133 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10134 comint-filename-completion.
10135 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10136 symbol elements which shouldn't be word elements.
10137 (octave-font-lock-keywords, octave-beginning-of-defun)
10138 (octave-function-header-regexp): Adjust regexps accordingly.
10139 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10140
cd22b309
JB
101412011-04-25 Juanma Barranquero <lekktu@gmail.com>
10142
10143 * net/gnutls.el (gnutls-errorp): Declare before first use.
10144
8b492194
TZ
101452011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10146
10147 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10148 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 10149 default trustfile exists before going to use it. Add missing
5a5fa834 10150 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
10151 Reported by Claudio Bley <claudio.bley@gmail.com>.
10152 (open-gnutls-stream): Add usage example.
10153
10154 * net/network-stream.el (network-stream-open-starttls): Give host
10155 parameter to `gnutls-negotiate'.
10156 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 10157 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 10158
841a1577 101592011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 10160
cd22b309
JB
10161 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10162 Use correct match group (bug#8438).
05842630 10163
3ba7869c
CY
101642011-04-24 Chong Yidong <cyd@stupidchicken.com>
10165
512e3ae1
CY
10166 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10167 (package-menu--generate): New arg specifying packages to show.
10168 (package-menu-refresh, package-menu-execute, list-packages):
10169 Callers changed.
10170 (package-show-package-list): New function, replacing deleted
10171 package--list-packages (renamed because it is non-internal).
10172
10173 * finder.el (finder-list-matches): Use package-show-package-list
10174 instead of deleted package--list-packages.
10175
e92f3bd3
SM
10176 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10177 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
10178 (vc-annotate-mode-map): Bind it to RET.
10179
7031be6d
UR
101802011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10181
10182 * progmodes/etags.el (next-file): Don't use set-buffer to change
10183 buffers (Bug#8478).
10184
4ef177aa
CY
101852011-04-24 Chong Yidong <cyd@stupidchicken.com>
10186
c8d173eb
CY
10187 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10188
4ef177aa
CY
10189 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10190 (apropos-accumulator): Doc fix.
10191 (apropos-function, apropos-macro, apropos-command)
10192 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10193 (apropos-plist): Add face property.
10194 (apropos-symbols-internal): Fix indentation.
10195 (apropos-print): Simplify help, and recognize apropos-multi-type.
10196 (apropos-print-doc): Use button-type-get to extract the button's
10197 face property. Fill docstring (Bug#8352).
10198
4ffd0d6b 101992011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
10200
10201 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10202
c6c32125 10203 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 10204 (mpuz-mode-map): Use mapc.
c6c32125
JB
10205 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10206 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10207 Fix typos in docstrings.
10208
58d468b4
JB
10209 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10210 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10211
6470c3c6
JB
10212 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10213
4ffd0d6b 102142011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
10215
10216 * minibuffer.el (completion--do-completion): Avoid the "Next char
10217 not unique" prompt if icomplete-mode is enabled (Bug#5849).
10218
3ad8bad0
CY
10219 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10220 mouse-2 into unread-command-events, it is interpreted correctly.
10221
71d73c9c 10222 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 10223 (image-toggle-display): Doc fix.
71d73c9c 10224
841a1577 102252011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 10226
4ffd0d6b
GM
10227 * textmodes/page.el (what-page): Use line-number-at-pos to
10228 calculate line number (Bug#6825).
6e1dbaa9 10229
c2fb1b60
JB
102302011-04-22 Juanma Barranquero <lekktu@gmail.com>
10231
10232 * eshell/esh-mode.el (find-tag-interactive): Declare function.
10233 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10234 Pass argument NO-DEFAULT to `find-tag-interactive'.
10235
e02f48d7
JB
102362011-04-22 Juanma Barranquero <lekktu@gmail.com>
10237
10238 Lexical-binding cleanup.
10239
10240 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10241 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10242 * progmodes/ada-prj.el (ada-prj-initialize-values)
10243 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10244 (ada-prj-show-value):
10245 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10246 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10247 (antlr-invalidate-context-cache, antlr-options-menu-filter)
10248 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10249 * progmodes/bug-reference.el (bug-reference-push-button):
10250 * progmodes/fortran.el (fortran-line-length):
10251 * progmodes/glasses.el (glasses-change):
10252 * progmodes/octave-mod.el (octave-fill-paragraph):
10253 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10254 (python-pdbtrack-grub-for-buffer, python-sentinel):
10255 * progmodes/sql.el (sql-save-connection):
10256 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10257 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10258 Mark unused parameters.
10259
10260 * progmodes/compile.el (compilation--flush-directory-cache)
10261 (compilation--flush-parse, compile-internal): Mark unused parameters.
10262 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10263 (compilation-next-error-function): Remove unused variable `timestamp'.
10264
10265 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10266 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10267
10268 * progmodes/dcl-mode.el (dcl-end-of-command):
10269 Remove unused variable `start'.
10270 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10271 (dcl-option-value-basic, dcl-option-value-offset)
10272 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10273 Mark unused parameters.
10274 (dcl-save-local-variable): Remove unused variable `val'.
10275 (mode): Declare.
10276
10277 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10278 Mark unused parameters.
10279 (delphi-ignore-changes): Move before first use.
10280 (delphi-charset-token-at): Remove unused variable `start'.
10281 (delphi-else-start): Remove unused variable `if-count'.
10282 (delphi-comment-block-start, delphi-comment-block-end):
10283 Remove unused variable `kind'.
10284 (delphi-indent-line): Remove unused variable `new-point'.
10285
10286 * progmodes/ebrowse.el (ebrowse-files-list)
10287 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10288 Mark unused parameters. Don't quote `lambda'.
10289 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10290 Don't quote `lambda'.
10291 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10292 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10293 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10294 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10295 Use `ignore-errors'.
10296 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10297 (ebrowse-view/find-file-and-search-pattern)
10298 (ebrowse-view/find-member-declaration/definition):
10299 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10300 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10301 Rename parameter PREFIX-ARG to PREFIX.
10302 (ebrowse-tags-read-name): Remove unused variables `start' and
10303 `member-info'.
10304 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10305 to `tags-file'.
10306
10307 * progmodes/etags.el (local-find-tag-hook): Declare.
10308 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10309 Mark unused parameters.
10310
10311 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10312 (executable-interpret): Mark unused parameter.
10313
10314 * progmodes/flymake.el (flymake-process-sentinel)
10315 (flymake-after-change-function)
10316 (flymake-create-temp-with-folder-structure)
10317 (flymake-get-include-dirs-dot): Mark unused parameters.
10318 (flymake-safe-delete-directory): Remove unused variable `err'.
10319
10320 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10321 (speedbar-timer-fn, speedbar-line-text)
10322 (speedbar-change-expand-button-char, speedbar-delete-subblock)
10323 (speedbar-center-buffer-smartly): Declare functions.
10324 (gdb-find-watch-expression): Remove unused variable `array'.
10325 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10326 (gdb-starting): Mark unused parameters.
10327 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10328 (gdb-table-string): Remove unused variable `res'.
10329 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10330 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10331 (gdb-display-buffer): Remove unused variable `cur-size'.
10332
10333 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10334 allow lexical-binding compilation.
10335 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10336 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10337 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10338 Mark unused parameters.
10339 (gud-gdb-marker-filter): Remove unused variable `match'.
10340 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10341 lambda expressions and funcall them, instead of using `fset'.
10342
10343 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10344 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10345
10346 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10347 variable `header-beg'; use `let'.
10348
10349 * progmodes/icon.el (indent-icon-exp): Remove unused variables
10350 `restart', `last-sexp' and `at-do'.
10351
10352 * progmodes/js.el (js--debug): Mark unused parameter.
10353 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10354 (js--splice-into-items): Remove unused variable `item'.
10355 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10356
10357 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10358 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10359 (makefile-complete): Remove unused variable `try'.
10360 (makefile-fill-paragraph, makefile-match-function-end):
10361 Mark unused parameters.
10362
10363 * progmodes/octave-inf.el (inferior-octave-complete):
10364 Remove unused variable `proc'.
10365 (inferior-octave-output-digest): Mark unused parameter.
10366
10367 * progmodes/perl-mode.el (perl-calculate-indent):
10368 Remove unused variable `err'.
10369
10370 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10371 (prolog-indent-line): Mark unused parameters.
10372 (prolog-indent-line): Remove unused variable `beg'.
10373
10374 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10375 (reporter-dont-compact-list): Declare.
10376
10377 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10378 Remove unused variable `char'.
10379 (sh-debug): Mark unused parameter.
10380 (sh-get-indent-info): Remove unused variable `start'.
10381 (sh-calculate-indent): Remove unused variable `var'.
10382
10383 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10384 (simula-electric-keyword): Remove unused variable `null'.
10385 (simula-search-backward, simula-search-forward): Remove unused
10386 variables `begin' and `end'.
10387
10388 * progmodes/vera-mode.el (vera-guess-basic-syntax):
10389 Remove unused variable `pos'.
10390 (vera-electric-tab, vera-comment-uncomment-region):
10391 Mark unused parameters.
10392 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10393
7ede3b65
CY
103942011-04-22 Chong Yidong <cyd@stupidchicken.com>
10395
10396 * emacs-lisp/package.el (package--builtins, package-alist)
10397 (package-load-descriptor, package-built-in-p, package-activate)
10398 (define-package, package-installed-p)
10399 (package-compute-transaction, package-buffer-info)
10400 (package--push): Doc fix. Distinguish more clearly between
10401 version strings and version lists.
10402
121656e9
JB
104032011-04-21 Juanma Barranquero <lekktu@gmail.com>
10404
10405 Lexical-binding cleanup.
10406
10407 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10408 (5x5-make-mutate-best):
10409 * play/fortune.el (fortune-in-buffer):
10410 * play/gomoku.el (gomoku-init-display):
10411 * play/solitaire.el (solitaire, solitaire-do-check):
10412 * play/tetris.el (tetris-default-update-speed-function):
10413 Mark unused parameters.
10414
10415 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10416 (bubbles--shift): Remove unused variable `char-org'.
10417 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
10418 (bubbles--show-images): Remove unused variable `char'.
10419
10420 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10421 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10422 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10423 (decipher-analyze-buffer): Use ?\s.
10424 (decipher-make-checkpoint): Remove unused variable `mapping'.
10425
10426 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10427
10428 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10429 Remove unused variable `result'; use `let'.
10430
10431 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10432 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10433 (gametree-children-shown-p, gametree-compute-reduced-score):
10434 Use `ignore-errors'.
10435
10436 * play/handwrite.el (ps-lpr-switches): Declare.
10437 (handwrite): Remove unused variables `pmin' and `lastp'.
10438
10439 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10440
10441 * play/landmark.el (landmark-init-display)
10442 (landmark-update-naught-weights): Mark unused parameters.
10443 (landmark-y): Remove unused variable `noise'. Simplify.
10444 (landmark-human-plays): Remove unused variable `score'.
10445
10446 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10447 (mpuz-try-proposal): Remove unused variable `game'.
10448
10449 * play/zone.el (life-patterns): Declare.
10450
80f499c7
JB
104512011-04-20 Juanma Barranquero <lekktu@gmail.com>
10452
10453 * vc/vc.el (ediff-vc-internal): Declare function.
10454
024ff170
SM
104552011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10456
c0a193ea
SM
10457 * shell.el: Use lexical-binding and std completion UI.
10458 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10459 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10460 comint-preoutput-filter-functions rather than on
10461 comint-output-filter-functions.
10462 (shell-command-completion, shell--command-completion-data)
10463 (shell-filename-completion, shell-environment-variable-completion)
10464 (shell-c-a-p-replace-by-expanded-directory): New functions.
10465 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10466 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10467 (shell-dynamic-complete-environment-variable): Use them.
10468 (shell-dynamic-complete-as-environment-variable)
10469 (shell-dynamic-complete-as-command): Remove.
10470 (shell-match-partial-variable): Match past point.
10471 * comint.el: Clean up use of completion-at-point-functions.
10472 (comint-completion-at-point): New function.
10473 (comint-mode): Use it completion-at-point-functions.
10474 (comint-dynamic-complete): Make it obsolete.
10475 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10476 (comint-c-a-p-replace-by-expanded-history): New function.
10477 (comint-dynamic-complete-functions)
10478 (comint-replace-by-expanded-history): Use it.
10479 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10480 termination strings. Try harder to avoid second try-completion.
10481 (completion-in-region-mode-map): Disable bindings that don't work yet.
10482
2dbaa080
SM
10483 * comint.el: Use lexical-binding. Require CL.
10484 (comint-dynamic-complete-functions): Use comint-filename-completion.
10485 (comint-completion-addsuffix): Tweak custom type.
10486 (comint-filename-completion, comint--common-suffix)
10487 (comint--common-quoted-suffix, comint--table-subvert)
10488 (comint--complete-file-name-data): New functions.
10489 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10490 (comint-dynamic-list-filename-completions): Use them.
10491 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 10492
2dbaa080
SM
10493 * minibuffer.el (completion-in-region-mode):
10494 Keep completion-in-region-mode--predicate global.
10495 (completion-in-region--postch):
10496 Assume completion-in-region-mode--predicate is not null.
10497
c79a6f38
SM
10498 * progmodes/flymake.el (flymake-start-syntax-check-process):
10499 Obey `dir'. Simplify.
10500
024ff170
SM
10501 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10502 we're in VC after all.
10503
1c6c854e
CS
105042011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10505
10506 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 10507 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
10508 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10509
bed7f140
SM
105102011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10511
332e62ab
SM
10512 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10513 add sanity check.
10514
bed7f140
SM
10515 * obsolete/erc-hecomplete.el: Make obsolete.
10516 * obsolete/: Standardize obsolescence info in the header.
10517
f195c582
GM
105182011-04-20 Glenn Morris <rgm@gnu.org>
10519
10520 * calendar/solar.el (solar-horizontal-coordinates):
10521 Use the longitude argument rather than `calendar-longitude'.
10522 (solar-date-next-longitude): Remove unused locals.
10523
cb79b8c0
VJL
105242011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10525
10526 * whitespace.el: New version 13.2.1.
10527
105282011-04-20 felix <EmacsWiki> (tiny change)
10529
d8e4b68b 10530 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
10531 switching between major modes on a file.
10532
602ea69d
SM
105332011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10534
10535 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10536 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10537 multi-line comments as well.
10538
06b60517
JB
105392011-04-19 Juanma Barranquero <lekktu@gmail.com>
10540
10541 Lexical-binding cleanup.
10542
10543 * arc-mode.el (archive-mode-revert):
10544 * cmuscheme.el (scheme-interactively-start-process):
10545 * custom.el (custom-initialize-delay):
10546 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10547 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10548 * emacs-lock.el (emacs-lock-clear-sentinel):
10549 * ezimage.el (defezimage):
10550 * follow.el (follow-avoid-tail-recenter):
10551 * fringe.el (set-fringe-mode-1):
10552 * generic-x.el (bat-generic-mode-compile):
10553 * help-mode.el (help-info-variable, help-do-xref)
10554 (help-mode-revert-buffer):
10555 * help.el (view-emacs-todo):
10556 * iswitchb.el (iswitchb-completion-help):
10557 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10558 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10559 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10560 * locate.el (locate-update):
10561 * longlines.el (longlines-encode-region)
10562 (longlines-after-change-function):
10563 * outline.el (outline-isearch-open-invisible):
10564 * ps-def.el (declare-function, charset-dimension, char-width)
10565 (encode-char):
10566 * ps-mule.el (ps-mule-plot-string):
10567 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10568 (recentf-edit-list-select, recentf-edit-list-validate)
10569 (recentf-open-files-action):
10570 * rect.el (delete-whitespace-rectangle-line)
10571 (rectangle-number-line-callback):
10572 * register.el (window-configuration-to-register)
10573 (frame-configuration-to-register):
10574 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10575 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10576 (xselect-convert-to-targets, xselect-convert-to-delete)
10577 (xselect-convert-to-filename, xselect-convert-to-charpos)
10578 (xselect-convert-to-lineno, xselect-convert-to-colno)
10579 (xselect-convert-to-os, xselect-convert-to-host)
10580 (xselect-convert-to-user, xselect-convert-to-class)
10581 (xselect-convert-to-name, xselect-convert-to-integer)
10582 (xselect-convert-to-atom, xselect-convert-to-identity):
10583 * subr.el (declare, ignore, process-kill-without-query)
10584 (text-clone-maintain):
10585 * terminal.el (te-get-char, te-tic-sentinel):
10586 * tool-bar.el (tool-bar-make-keymap):
10587 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10588 * type-break.el (type-break-mode, type-break-noninteractive-query):
10589 * view.el (View-back-to-mark):
10590 * wid-browse.el (widget-browse-action, widget-browse-widget)
10591 (widget-browse-widgets, widget-browse-sexp):
10592 * widget.el (define-widget-keywords):
10593 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10594 Mark unused parameters.
10595
10596 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10597 (align-areas): Remove unused variable `look'.
10598 (align-region): Remove unused variables `real-end' and `pos-list'.
10599
10600 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10601
10602 * bindings.el (mode-line-modified, mode-line-remote):
10603 Mark unused parameters.
10604 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10605
10606 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10607 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10608
10609 * comint.el (comint-history-isearch-pop-state)
10610 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10611 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10612 (comint-substitute-in-file-name): Doc fix.
10613
10614 * completion.el (cmpl-statistics-block): Mark unused parameter.
10615 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10616 (save-completions-to-file, load-completions-from-file):
10617 Remove unused local variable `e'.
10618
10619 * composite.el (compose-chars): Remove unused variable `len'.
10620 (lgstring-insert-glyph): Remove unused variable `g'.
10621 (compose-glyph-string): Remove unused variables `ascent',
10622 `descent', `lbearing' and `rbearing'.
10623 (compose-glyph-string-relative): Remove unused variables
10624 `lbearing', `rbearing' and `wadjust'.
10625 (compose-gstring-for-graphic): Remove unused variables `header',
10626 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10627 (compose-gstring-for-terminal): Remove unused variables `header'
10628 and `nchars'. Use `let', not `let*'.
10629
10630 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10631 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10632 (Custom-buffer-done, custom-buffer-create-internal)
10633 (custom-browse-visibility-action, custom-browse-group-tag-action)
10634 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10635 (widget-magic-mouse-down-action, custom-toggle-parent)
10636 (custom-add-parent-links, custom-toggle-hide-variable)
10637 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10638 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10639 (custom-face-menu-create, custom-variable-menu-create, get)
10640 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10641 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10642 (customize-apropos): Remove unused variable `tests'.
10643 (custom-group-value-create): Remove unused variable `hidden-p'.
10644 (sort-fold-case): Declare.
10645
10646 * cus-theme.el (custom-reset-standard-faces-list)
10647 (custom-reset-standard-variables-list): Declare.
10648 (customize-create-theme, custom-theme-revert, custom-theme-write)
10649 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10650 Mark unused parameters.
10651
10652 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10653
10654 * delim-col.el (delimit-columns-max): Move defvar before first use.
10655
10656 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 10657 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
10658
10659 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10660 (auto-insert): Declare.
10661 (desktop-restore-file-buffer): Rename desktop-* parameters;
10662 mark unused ones.
10663 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10664 (desktop-buffer): Rename desktop-* parameters.
10665
10666 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10667 (dframe-reposition-frame-xemacs, dframe-help-echo)
10668 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10669 Mark unused parameters.
10670
10671 * dired-aux.el (backup-extract-version-start, overwrite-query)
10672 (overwrite-backup-query, rename-regexp-query)
10673 (rename-non-directory-query): Declare.
10674 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10675 (dired-add-entry): Remove unused variable `orig-file-name'.
10676 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10677 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10678 `dired-copy-preserve-time' directly.
10679 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10680 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10681
10682 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10683 (dired-virtual-revert, dired-make-relative-symlink):
10684 Mark unused parameters.
10685 (manual-program): Declare.
10686 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10687 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10688 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10689
10690 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10691
10692 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10693
10694 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10695 Declare.
10696
10697 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10698
10699 * electric.el (Electric-command-loop): Rename parameter
10700 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10701
10702 * expand.el (expand-in-literal): Remove unused variable `here'.
10703
10704 * facemenu.el (facemenu-add-new-color):
10705 Remove unused variable `docstring'.
10706
10707 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10708 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10709 (face-attr-construct): Mark unused parameter. Doc fix.
10710 (read-color): Remove unused variable `hex-string'.
10711
10712 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10713 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10714 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10715 (display-buffer-other-frame): Remove unused variable `old-window'.
10716 (kill-buffer-hook): Declare.
10717 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10718 Mark unused parameters.
10719 (after-find-file): Pass 1 to `auto-save-mode', not t.
10720
10721 * files-x.el (auto-insert): Declare.
10722 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10723
10724 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 10725 variable `buf'. Mark unused parameter.
06b60517
JB
10726 (find-lisp-insert-directory): Mark unused parameter.
10727
10728 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10729 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10730 (format-common-tail): Remove, unused.
10731 (format-deannotate-region): Remove unused variable `loc'.
10732 (format-annotate-region): Remove unused variable `p'.
10733 (format-annotate-single-property-change): Remove unused variables
10734 `default' and `tail'.
10735
10736 * forms.el (read-file-filter): Declare.
10737 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10738
10739 * frame.el (frame-creation-function-alist): Mark unused parameter.
10740 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10741
10742 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10743 Remove unused parameters.
10744 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10745 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10746
10747 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10748 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10749 (hfy-prepare-tag-map): Mark unused parameters.
10750 (htmlfontify-buffer): Use `called-interactively-p'.
10751
10752 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10753 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10754 (ibuffer-do-occur): Mark unused parameters.
10755 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10756 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10757
10758 * ibuffer.el: Don't quote `lambda'.
10759 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10760 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10761 Mark unused parameters.
10762
10763 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10764 (ido-completing-read): Mark unused parameters.
10765 (ido-copy-current-word): Mark unused parameters;
10766 remove unused variable `name'.
10767 (ido-sort-merged-list): Remove unused parameter `dirs'.
10768
10769 * ielm.el (ielm-input-sender): Mark unused parameter.
10770 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10771 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10772 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10773 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10774 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10775
10776 * image-dired.el (image-dired-display-thumbs): Remove unused
10777 variables `curr-file' and `count'.
10778 (image-dired-remove-tag): Remove unused variable `start'.
10779 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10780 variable `curr-file'
10781 (image-dired-rotate-original): Remove unused variable `temp-file'.
10782 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10783 Remove unused variable `file'.
10784 (image-dired-gallery-generate): Remove unused variable `curr'.
10785 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10786
10787 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10788
10789 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10790
10791 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10792
10793 * isearch.el (minibuffer-history-symbol): Declare.
10794 (isearch-edit-string): Remove unused variable `err'.
10795 (isearch-message-prefix, isearch-message-suffix):
10796 Mark unused parameters.
10797
10798 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10799
10800 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10801
10802 * makesum.el (double-column): Remove unused variable `cnt'.
10803
10804 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10805 (ido-ignore-item-temp-list): Declare.
10806
10807 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10808 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10809 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10810 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10811 `mouse-col-delta'.
10812
10813 * mouse-sel.el (mouse-extend-internal):
10814 Remove unused variable `orig-window-frame'.
10815
10816 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10817 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10818 Move declarations before first use.
10819 (pcomplete-opt): Mark unused parameters; doc fix.
10820
10821 * proced.el (proced-revert): Mark unused parameter.
10822 (proced-send-signal): Remove unused variable `err'.
10823
10824 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10825 Rename parameter PREFIX-ARG to ARG.
10826 (ps-basic-plot-string, ps-basic-plot-whitespace):
10827 Mark unused parameters.
10828
10829 * replace.el (replace-count): Define.
10830 (occur-revert-function): Mark unused parameters.
10831 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10832 (isearch-case-fold-search, isearch-string): Declare.
10833 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10834 bind `case-fold-search'. Remove unused variables `beg' and `end',
10835 and simplify.
10836 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10837 COUNT and bind `replace-count'.
10838 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10839 to COUNT.
10840
10841 * savehist.el (print-readably, print-string-length): Declare.
10842
10843 * shadowfile.el (shadow-expand-cluster-in-file-name):
10844 Remove unused variable `cluster'.
10845 (shadow-copy-file): Remove unused variable `i'.
10846 (shadow-noquery, shadow-clusters, shadow-site-cluster)
10847 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10848 (shadow-define-literal-group, shadow-define-regexp-group)
10849 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10850
10851 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10852 (shell): Use `called-interactively-p'.
10853 (shell-directory-tracker): Remove unused variable `chdir-failure'.
10854
10855 * simple.el (compilation-context-lines, comint-file-name-quote-list)
10856 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10857 (delete-backward-char): Remove unused variable `ocol'.
10858 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10859 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10860 (event-apply-hyper-modifier, event-apply-shift-modifier)
10861 (event-apply-control-modifier, event-apply-meta-modifier):
10862 Mark unused parameters.
10863 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10864 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10865
10866 * speedbar.el (speedbar-ignored-directory-expressions)
10867 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10868 (speedbar-find-file, speedbar-dir-follow)
10869 (speedbar-directory-buttons-follow, speedbar-tag-find)
10870 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10871 (speedbar-buffers-line-directory, speedbar-buffer-click):
10872 Mark unused parameters.
10873 (speedbar-tag-file): Remove unused variable `mode'.
10874 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10875
10876 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10877
10878 * talk.el (talk): Remove unused variable `display'.
10879
10880 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10881 (tar-write-region-annotate): Mark unused parameter.
10882
10883 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10884 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10885 Declare them, wrapped in `with-no-warnings' to avoid replacing one
10886 warning by another.
10887
10888 * time-stamp.el (time-stamp-string-preprocess):
10889 Remove unused variable `require-padding'.
10890
10891 * tree-widget.el (widget-glyph-enable): Declare.
10892 (tree-widget-action): Mark unused parameter.
10893
10894 * w32-fns.el (x-get-selection): Mark unused parameter.
10895 (autoload-make-program, generated-autoload-file): Declare.
10896
10897 * wdired.el (wdired-revert): Mark unused parameters.
10898 (wdired-xcase-word): Remove unused variable `err'.
10899
10900 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10901 (whitespace-help-scroll): Remove unused variable `data-help'.
10902
10903 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10904 (widget-image-insert, widget-after-change, default)
10905 (widget-default-format-handler, widget-default-notify)
10906 (widget-default-prompt-value, widget-info-link-action)
10907 (widget-url-link-action, widget-function-link-action)
10908 (widget-variable-link-action, widget-file-link-action)
10909 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10910 (widget-field-prompt-internal, widget-field-action, widget-field-match)
10911 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10912 (widget-insert-button-action, widget-delete-button-action, visibility)
10913 (widget-documentation-link-action, widget-documentation-string-action)
10914 (widget-const-prompt-value, widget-regexp-match, symbol)
10915 (widget-coding-system-prompt-value)
10916 (widget-key-sequence-value-to-external, sexp)
10917 (widget-sexp-value-to-internal, character, vector, cons)
10918 (widget-choice-prompt-value, widget-boolean-prompt-value)
10919 (widget-color--choose-action): Mark unused parameters.
10920 (widget-item-match-inline, widget-choice-match-inline)
10921 (widget-checklist-match, widget-checklist-match-inline)
10922 (widget-group-match): Rename parameter VALUES to VALS.
10923 (widget-field-value-set): Remove unused variable `size'.
10924 (widget-color-action): Remove unused variables `value' and `start'.
10925
10926 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 10927 variable `dir'. Doc fix.
06b60517
JB
10928 (windmove-find-other-window): Don't pass it.
10929
10930 * window.el (count-windows): Mark unused parameter.
10931 (bw-adjust-window): Remove unused variable `err'.
10932
10933 * woman.el (woman-file-name): Remove unused variable `default'.
10934 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10935 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10936 (global-font-lock-mode): Declare.
10937 (woman-decode-region): Mark unused parameter.
10938 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10939
10940 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10941 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10942 (x-dnd-handle-moz-url): Remove unused variable `title'.
10943 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10944
10945 * xml.el (xml-parse-tag, xml-parse-attlist):
10946 Remove unused variable `pos'.
10947
bc4f7f3d
GM
109482011-04-19 Glenn Morris <rgm@gnu.org>
10949
10950 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10951 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10952 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10953 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10954 * calendar/cal-html.el (cal-html-insert-minical):
10955 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10956 (calendar-mark-date-pattern):
10957 Prefix "unused" locals.
10958
10959 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10960 optional argument `style'.
10961
10962 * calendar/appt.el (appt-make-list):
10963 * calendar/cal-china.el (calendar-chinese-date-string):
10964 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
10965 (diary-hebrew-yahrzeit):
10966 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
10967 * calendar/calendar.el (calendar-generate-window):
10968 * calendar/time-date.el (time-to-days):
10969 Remove unused local variables.
10970
16a43933
CY
109712011-04-18 Chong Yidong <cyd@stupidchicken.com>
10972
10973 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
10974 glyphless-char-display table.
10975 (tabulated-list-glyphless-char-display): New var.
10976
7eed1860
SS
109772011-04-18 Sam Steingold <sds@gnu.org>
10978
10979 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10980 to acknowledgments.
10981
4d2d1ccd
GM
109822011-04-17 Glenn Morris <rgm@gnu.org>
10983
10984 * calendar/diary-lib.el (diary-sexp-entry):
10985 * calendar/holidays.el (holiday-sexp):
10986 Set debug-on-error rather than the removed stack-trace-on-error.
10987
239da61d
GM
109882011-04-16 Glenn Morris <rgm@gnu.org>
10989
10990 * progmodes/f90.el: Use lexical-binding.
10991 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
10992
8b05752a
SM
109932011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10994
daca8ba5
SM
10995 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
10996 (mail-mode): Setup mailalias completion here instead.
10997 * mail/mailalias.el: Use lexical-binding.
10998 (pattern, mailalias-done): Declare dynamic.
10999 (mail-completion-at-point-function): New function, from mail-complete.
11000 (mail-complete): Use it.
11001 (mail-completion-expand): New function.
11002 (mail-get-names): Use it.
11003 (mail-directory, mail-directory-process, mail-directory-stream):
11004 Don't use `pattern' for lexically bound arg.
11005
6f542485
SM
11006 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11007
037e7c3f
SM
11008 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11009 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11010 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11011
8b05752a
SM
11012 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11013 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11014 (byte-interactive-p): Define them again, for use when inlining
11015 old code.
11016
49093f60
JB
110172011-04-15 Juanma Barranquero <lekktu@gmail.com>
11018
11019 * loadup.el: Use `string-to-number', not `string-to-int'.
11020
b5b8e7de
SM
110212011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11022
11023 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11024 gud-gdb-complete-command.
11025 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11026 (gud-gdb-completion-at-point): New function.
11027 (gud-gdb-completions): Remove.
11028
f42efeb5
MA
110292011-04-14 Michael Albinus <michael.albinus@gmx.de>
11030
49093f60
JB
11031 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11032 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11033 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11034 whether `executable-find' is bound.
f42efeb5
MA
11035
11036 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11037
e240cc21
SM
110382011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11039
11040 * minibuffer.el (completion-in-region-mode-predicate)
11041 (completion-in-region-mode--predicate): New vars.
11042 (completion-in-region, completion-in-region--postch)
11043 (completion-in-region-mode): Use them.
11044 (completion--capf-wrapper): Also return the hook function.
11045 (completion-at-point, completion-help-at-point):
11046 Adjust and provide a predicate.
c2bd2ab0
SM
11047
11048 Preserve arg names for advice of subr and lexical functions (bug#8457).
11049 * help-fns.el (help-function-arglist): Consolidate the subr and
11050 new-byte-code cases. Add argument `preserve-names' to extract names
11051 from the docstring when needed.
11052 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11053 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11054 (ad-arglist): Use help-function-arglist's new arg.
11055 (ad-definition-type): Use cond.
11056
c183f693
JB
110572011-04-13 Juanma Barranquero <lekktu@gmail.com>
11058
06641a47
JB
11059 * autorevert.el (auto-revert-handler):
11060 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11061 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11062 Don't quote lambda.
11063
c183f693
JB
11064 * image-mode.el (image-transform-set-scale):
11065 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11066
1e3b6001
G
110672011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11068
11069 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 11070 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
11071 Upgrades via gnutls-cli are too slow to be done opportunistically.
11072
2d6af8dd
JB
110732011-04-12 Juanma Barranquero <lekktu@gmail.com>
11074
11075 * dframe.el (dframe-current-frame): Remove spurious quote.
11076
c0749a51
GM
110772011-04-12 Glenn Morris <rgm@gnu.org>
11078
088d0d61
GM
11079 * calendar/cal-tex.el (cal-tex-end-document):
11080 Try to automatically use latin1 input if needed.
11081
c0749a51
GM
11082 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11083 Don't try to cons a mark onto an empty element.
11084
5c90fde0
LL
110852011-04-11 Leo Liu <sdl.web@gmail.com>
11086
11087 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11088 buffers.
11089 (ido-kill-buffer-at-head): Support killing virtual buffers.
11090
369e974d
CY
110912011-04-10 Chong Yidong <cyd@stupidchicken.com>
11092
11093 * minibuffer.el (completion-show-inline-help): New var.
11094 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
11095 (minibuffer-force-complete, minibuffer-complete-word):
11096 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
11097
11098 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11099 to avoid interference from inline help (Bug#5849).
11100
37f1c930
LL
111012011-04-10 Leo Liu <sdl.web@gmail.com>
11102
099c39a4
JB
11103 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11104 Fix typo.
37f1c930 11105
a32d4040
CY
111062011-04-09 Chong Yidong <cyd@stupidchicken.com>
11107
11108 * image-mode.el (image-toggle-display-image): Signal an error if
11109 not in Image mode.
11110 (image-transform-mode, image-transform-resize)
11111 (image-transform-set-rotation): Doc fix.
daca8ba5 11112 (image-transform-set-resize): Delete.
a32d4040
CY
11113 (image-transform-set-scale, image-transform-fit-to-height)
11114 (image-transform-fit-to-width): Handle image-toggle-display-image
11115 and image-transform-resize directly.
11116
099c39a4 111172011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
11118
11119 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
11120 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11121 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
11122 (doc-view-mode-map): Add bindings for the new functions.
11123
099c39a4 111242011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 11125
4d61f28d 11126 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
11127 Fix typo in docstring.
11128
3726838a
EZ
111292011-04-08 Eli Zaretskii <eliz@gnu.org>
11130
04f33f1e
EZ
11131 * files.el (file-size-human-readable): Produce one digit after
11132 decimal, like "ls -lh" does.
11133
11134 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11135 the file size representation.
11136
3726838a
EZ
11137 * simple.el (list-processes): If async subprocesses are not
11138 available, error out with a clear error message.
11139
cbb59342
CY
111402011-04-08 Chong Yidong <cyd@stupidchicken.com>
11141
11142 * help.el (help-form-show): New function, to be called from C.
11143 Put help-form output in a buffer named differently than *Help*.
11144
e3971c44
EZ
111452011-04-08 Eli Zaretskii <eliz@gnu.org>
11146
11147 * files.el (file-size-human-readable): New function.
11148
11149 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11150 computing the representation inline. Don't require `cl'.
11151
12544bbe
GM
111522011-04-08 Glenn Morris <rgm@gnu.org>
11153
a1de6c6a
GM
11154 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11155
3c4671f4
GM
11156 * net/browse-url.el (browse-url-firefox):
11157 Test system-type, not system-configuration.
11158
b605679c
GM
11159 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11160 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11161 Use log-edit-empty-buffer-p. (Bug#7598)
11162
56442f0c
GM
11163 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11164 (rlogin-mode-map): Initialize in the defvar.
11165 (rlogin): Use ignore-errors.
11166
12544bbe
GM
11167 * replace.el (occur-mode-map): Some fixes for menu items.
11168
eb237b0f
AH
111692011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11170
11171 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
11172
7d668f2c
CY
111732011-04-06 Chong Yidong <cyd@stupidchicken.com>
11174
e67a13ab
CY
11175 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11176 issuing unused warnings.
11177
11178 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11179 macro directly.
11180
7d668f2c
CY
11181 * simple.el: Lisp reimplement of list-processes. Based on an
11182 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11183 (process-menu-mode): New major mode.
11184 (list-processes--refresh, list-processes):
11185 (process-menu-visit-buffer): New functions.
11186
11187 * files.el (save-buffers-kill-emacs): Don't assume any return
11188 value of list-processes, which is undocumented anyway.
11189
a83ec3c9
CY
111902011-04-06 Chong Yidong <cyd@stupidchicken.com>
11191
11192 * emacs-lisp/tabulated-list.el: New file.
11193
e91a96fe
CY
11194 * emacs-lisp/package.el: Use Tabulated List mode.
11195 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11196 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11197 table format using Tabulated List mode variables.
11198 (package--push): New macro, replacing package-list-maybe-add.
11199 (package-menu--generate): Use package--push. Renamed from
11200 package--generate-package-list.
11201 (package-menu-refresh, list-packages): Use it.
daca8ba5 11202 (package-menu--print-info): Rename from package-print-package.
e91a96fe 11203 Return insertion data instead of inserting it directly.
099c39a4
JB
11204 (package-menu-describe-package, package-menu-execute):
11205 Use tabulated-list-get-id.
e91a96fe
CY
11206 (package-menu-mark-delete, package-menu-mark-install)
11207 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
11208 (package-menu-mark-obsolete-for-deletion):
11209 Use tabulated-list-put-tag.
e91a96fe
CY
11210 (package--list-packages, package-menu-revert)
11211 (package-menu-get-package, package-menu-get-version)
11212 (package-menu-sort-by-column): Functions deleted.
11213 (package-menu-package-list, package-menu-sort-key): Vars deleted.
11214 (package-menu--status-predicate, package-menu--version-predicate)
11215 (package-menu--name-predicate)
11216 (package-menu--description-predicate): Handle arguments in the
11217 Tabulated List format.
11218 (package-list-packages-no-fetch): Call list-packages.
11219
3e214b50
JB
112202011-04-06 Juanma Barranquero <lekktu@gmail.com>
11221
11222 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 11223 (after-find-file): Don't bind it.
3e214b50
JB
11224 (revert-buffer-in-progress-p): New variable.
11225 (revert-buffer): Bind it.
11226 Pass nil for `after-find-file-from-revert-buffer'.
11227
11228 * saveplace.el (save-place-find-file-hook): Use new variable
11229 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11230
3f0f1700
GM
112312011-04-06 Glenn Morris <rgm@gnu.org>
11232
c0274801
GM
11233 * Makefile.in (AUTOGEN_VCS): New variable.
11234 (autoloads): Use $AUTOGEN_VCS.
11235
3f0f1700
GM
11236 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11237 * calendar/calendar.el (calendar-mode-map):
11238 Check for toolkit scroll bars. (Bug#8305)
11239
41ea9e48
CY
112402011-04-05 Chong Yidong <cyd@stupidchicken.com>
11241
11242 * minibuffer.el (completion-in-region--postch)
11243 (completion-in-region-mode): Remove unnecessary messages.
11244
6194c800
JB
112452011-04-05 Juanma Barranquero <lekktu@gmail.com>
11246
33256f14
JB
11247 * font-lock.el (font-lock-refresh-defaults):
11248 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11249 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11250
6194c800
JB
11251 * info.el (Info-directory-list, Info-read-node-name-2)
11252 (Info-split-parameter-string): Doc fixes.
11253 (Info-virtual-nodes): Reflow docstring.
11254 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11255 (Info-apropos-toc-nodes, info-finder, Info-get-token)
11256 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11257 Fix typos in docstrings.
11258 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11259 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11260 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11261 (Info-restore-desktop-buffer): Mark unused parameters.
11262 (Info-directory-find-file, Info-directory-find-node)
11263 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11264 (Info-virtual-index-find-node, Info-apropos-find-file)
11265 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 11266 Mark unused parameters; fix typos in docstrings.
6194c800
JB
11267 (Info-virtual-index): Remove unused local variable `nodename'.
11268
b87a8200 112692011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 11270
b87a8200
DD
11271 * net/rcirc.el: Update my e-mail address.
11272 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 11273
3b2ff876
CY
112742011-04-05 Chong Yidong <cyd@stupidchicken.com>
11275
11276 * startup.el (command-line): Save the cursor's theme-face
11277 directly, instead of using face-override-spec.
11278
11279 * custom.el (load-theme): Minor optimization in assigning faces.
11280
8d17e7ca
JB
112812011-04-04 Juanma Barranquero <lekktu@gmail.com>
11282
11283 * help-fns.el (describe-variable): Complete all variables having
11284 documentation, including keywords.
11285 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11286
2fbc1934
JB
112872011-04-04 Juanma Barranquero <lekktu@gmail.com>
11288
11289 Convert to lexical-binding.
11290
11291 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11292 (bs--get-marked-string, bs--get-modified-string)
11293 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11294 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11295 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11296
11297 * ehelp.el (electric-help-execute-extended)
11298 (electric-help-ctrl-x-prefix):
11299 * hexl.el (hexl-revert-buffer-function):
11300 * linum.el (linum-after-change, linum-after-scroll):
11301 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11302
11303 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11304
74f50695
DU
113052011-04-04 Daiki Ueno <ueno@unixuser.org>
11306
11307 * epa-dired.el:
11308 * epa-mail.el:
11309 * epa-hook.el:
11310 * epa-file.el:
11311 * epa.el:
11312 * epg.el: Use lexical binding.
11313
c11325f7
CY
113142011-04-03 Chong Yidong <cyd@stupidchicken.com>
11315
0d9e9a12
CY
11316 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11317
c11325f7 11318 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
11319 dictionary case for flyspell-mark-duplications-exceptions.
11320 Use regexp matching for languages.
c11325f7
CY
11321 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11322 default dictionary (Bug#7926).
11323
da91b5f2
CY
113242011-04-02 Chong Yidong <cyd@stupidchicken.com>
11325
099c39a4
JB
11326 * emacs-lisp/package.el (package--with-work-buffer):
11327 Recognize https URLs.
da91b5f2 11328
099c39a4
JB
11329 * net/network-stream.el: Move from gnus/proto-stream.el.
11330 Change prefix to network-stream throughout.
da91b5f2
CY
11331 (open-protocol-stream): Merge into open-network-stream, leaving
11332 open-protocol-stream as an alias. Handle nil BUFFER args.
11333
11334 * subr.el (open-network-stream): Move to net/network-stream.el.
11335
afa8e9f6
GM
113362011-04-02 Glenn Morris <rgm@gnu.org>
11337
1d2e369d
GM
11338 * find-dired.el (find-exec-terminator): New option.
11339 (find-ls-option): Test for -ls support.
11340 (find-ls-subdir-switches): Test for -b in find-ls-option.
11341 (find-dired, find-grep-dired): Doc fixes.
11342 (find-dired): Use find-exec-terminator.
11343
8abb7da8 11344 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
11345 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11346 (find-name-arg): Remove purecopy.
8abb7da8 11347
f3ca7378
GM
11348 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11349 (grep-compute-defaults): Check for `-exec COMMAND +' support.
11350 Set grep-find-use-xargs, grep-find-command, and grep-find-template
11351 accordingly. Don't add the null-device if not needed.
11352
afa8e9f6
GM
11353 * files.el (save-some-buffers): Doc fix.
11354
35eae264
EZ
113552011-04-02 Eli Zaretskii <eliz@gnu.org>
11356
11357 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11358
26b51db5
JB
113592011-04-01 Juanma Barranquero <lekktu@gmail.com>
11360
11361 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11362 Use `dolist' rather than `mapcar'.
11363
7200d79c
SM
113642011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11365
03408648 11366 Add lexical binding.
7200d79c 11367
03408648
SM
11368 * subr.el (apply-partially): Use new closures rather than CL.
11369 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11370 (dolist, dotimes): Use slightly different expansion for lexical code.
11371 (functionp): Move to C.
11372 (letrec): New macro.
11373 (with-wrapper-hook): Use it and apply-partially instead of CL.
11374 (eval-after-load): Preserve lexical-binding.
11375 (save-window-excursion, with-output-to-temp-buffer): Turn them
11376 into macros.
7200d79c 11377
03408648
SM
11378 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11379
11380 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11381 than the arglist.
11382 (help-add-fundoc-usage): Don't add `Not documented'.
11383 (help-function-arglist): Handle closures, subroutines, and new
11384 byte-code-functions.
11385 (help-make-usage): Remove leading underscores.
11386 (describe-function-1): Handle closures.
11387 (describe-variable): Use special-variable-p for completion.
11388
11389 * files.el (lexical-binding): Declare safe.
f488fb65 11390
03408648
SM
11391 * emacs-lisp/pcase.el: Don't use destructuring-bind.
11392 (pcase--memoize): Rename from pcase-memoize. Change weakness.
11393 (pcase): Add `let' pattern.
11394 Change memoization so it actually works.
11395 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11396 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11397 <let>: New case.
f488fb65 11398
03408648
SM
11399 * emacs-lisp/macroexp.el: Use lexical binding.
11400 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
11401 Don't convert ' to #' without checking that it's indeed quoting
11402 a lambda.
11403
11404 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 11405 Use eval-sexp-add-defvars.
03408648
SM
11406 (eval-sexp-add-defvars): New fun.
11407
11408 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11409
11410 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11411 Don't autoload.
11412 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11413 than the internal `byte-compile-lambda'.
11414 (defmethod): Don't hide code under quotes.
11415 (eieio-defmethod): New `code' argument.
11416
11417 * emacs-lisp/eieio-comp.el: Remove.
11418
11419 * emacs-lisp/edebug.el (edebug-eval-defun)
11420 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11421 (edebug-toggle): Avoid `eval'.
11422
11423 * emacs-lisp/disass.el (disassemble-internal): Handle new
11424 `closure' objects.
11425 (disassemble-1): Handle new byte codes.
11426
11427 * emacs-lisp/cl.el (pushnew): Silence warning.
11428
11429 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11430 (cl-byte-compile-throw): Remove.
11431 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11432
11433 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11434 closures.
11435
11436 * emacs-lisp/cconv.el: New file.
11437
11438 * emacs-lisp/bytecomp.el: Use lexical binding instead of
11439 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
11440 (byte-compile-initial-macro-environment):
11441 Handle declare-function here.
11442 (byte-compile--lexical-environment): New var.
11443 (byte-stack-ref, byte-stack-set, byte-discardN)
11444 (byte-discardN-preserve-tos): New lap codes.
11445 (byte-interactive-p): Don't use any more.
11446 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11447 New macros.
11448 (byte-compile-lapcode): Use them and handle new lap codes.
11449 (byte-compile-obsolete): Remove.
11450 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11451 (byte-compile-arglist-warn): Check late def of inlinable funs.
11452 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11453 since they should have been expanded by now.
11454 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11455 (byte-compile-from-buffer): Remove unused second arg.
11456 (byte-compile-preprocess): New function.
11457 (byte-compile-toplevel-file-form): New function to distinguish
11458 file-form calls from outside from file-form calls from hunk-handlers.
11459 (byte-compile-file-form): Simplify.
11460 (byte-compile-file-form-defsubst): Remove.
11461 (byte-compile-file-form-defmumble): Simplify now that
11462 byte-compile-lambda always returns a byte-code-function.
11463 (byte-compile): Preprocess.
11464 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11465 Remove, not used any more.
11466 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11467 (byte-compile-make-args-desc): New funs.
11468 (byte-compile-lambda): Handle lexical functions. Always return
11469 a byte-code-function.
11470 (byte-compile-reserved-constants): New var, to make up room for
11471 closed-over variables.
11472 (byte-compile-constants-vector): Obey it.
11473 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11474 (byte-compile-macroexpand-declare-function): New function.
11475 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11476 byte-code-functions.
11477 (byte-compile-form): Check obsolescence here.
11478 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11479 (byte-compile-variable-ref): Remove.
11480 (byte-compile-dynamic-variable-op): New fun.
11481 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11482 (byte-compile-variable-set): New funs.
11483 (byte-compile-discard): Add 2 args.
11484 (byte-compile-stack-ref, byte-compile-stack-set)
11485 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11486 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11487 macroexpand-all instead.
11488 (byte-compile-quote-form): Remove.
11489 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11490 (byte-compile-bind, byte-compile-unbind): New funs.
11491 (byte-compile-let): Handle let* and lexical binding.
11492 (byte-compile-let*): Remove.
11493 (byte-compile-catch, byte-compile-unwind-protect)
11494 (byte-compile-track-mouse, byte-compile-condition-case):
11495 Handle a new :fun-body form, used for lexical scoping.
11496 (byte-compile-save-window-excursion)
11497 (byte-compile-with-output-to-temp-buffer): Remove.
11498 (byte-compile-defun): Simplify.
11499 (byte-compile-stack-adjustment): New fun.
11500 (byte-compile-out): Use it.
11501 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11502
11503 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11504 handler any more.
11505
11506 * emacs-lisp/byte-opt.el: Use lexical binding.
11507 (byte-inline-lapcode): Remove (to bytecomp).
11508 (byte-compile-inline-expand): Pay attention to inlining to/from
11509 lexically bound code.
11510 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11511 any more.
11512 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11513 any more and don't call compiler-macros.
11514 (byte-compile-splice-in-already-compiled-code): Remove.
11515 (byte-code): Don't inline any more.
11516 (disassemble-offset): Receive `bytes' as argument rather than via
11517 dynamic scoping.
11518 (byte-compile-tag-number): Declare before first use.
11519 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11520 `return' even if make-spliceable.
11521 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11522 obsolete interactive-p.
11523 (byte-optimize-lapcode): Optimize new lap-codes.
11524 Don't trip up on new form of `byte-constant' lap code.
11525
11526 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11527
11528 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11529
11530 * custom.el (custom-initialize-default, custom-declare-variable):
11531 Use `defvar'.
11532
11533 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11534 New variables.
11535 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11536 (COMPILE_FIRST): Add macroexp and cconv.
11537 * makefile.w32-in: Mirror changes in Makefile.in.
11538
11539 * vc/cvs-status.el:
11540 * vc/diff-mode.el:
11541 * vc/log-edit.el:
11542 * vc/log-view.el:
11543 * vc/smerge-mode.el:
11544 * textmodes/bibtex-style.el:
11545 * textmodes/css.el:
11546 * startup.el:
11547 * uniquify.el:
da91b5f2
CY
11548 * minibuffer.el:
11549 * newcomment.el:
11550 * reveal.el:
11551 * server.el:
11552 * mpc.el:
11553 * emacs-lisp/smie.el:
11554 * doc-view.el:
11555 * dired.el:
03408648
SM
11556 * abbrev.el: Use lexical binding.
11557
0f0c1f27
EZ
115582011-04-01 Eli Zaretskii <eliz@gnu.org>
11559
11560 * info.el (info-display-manual): New function.
11561
c82b2579
SM
115622011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11563
11564 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11565
221ddf68
TH
115662011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11567
11568 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 11569 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 11570
cba6e77e
GM
115712011-03-31 Glenn Morris <rgm@gnu.org>
11572
e040639f
GM
11573 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11574
cba6e77e
GM
11575 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11576
6d0f1c9e
CS
115772011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11578
11579 * progmodes/python.el (python-default-interpreter)
11580 (python-python-command-args, python-jython-command-args)
11581 (python-which-shell, python-which-args, python-which-bufname)
11582 (python-file-queue, python-comint-output-filter-function)
11583 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11584 variables and functions.
11585
3e2d70fd
SM
115862011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11587
11588 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11589 (completion-in-region-mode): New minor mode.
11590 (completion-in-region): Use it.
11591 (completion-in-region--data, completion-in-region-mode-map): New vars.
11592 (completion-in-region--postch): New function.
11593 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11594 New vars.
11595 (completion--capf-wrapper): New function.
11596 (completion-at-point): Use it to track well-behavedness of
11597 hook functions.
11598 (completion-help-at-point): New command.
11599
f3e4086c
JM
116002011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11601
11602 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11603 syntax class to search for whitespace on a single line
11604 (Message-ID: <4D938140.4030905@redhat.com>).
11605
eb7ffc14
LL
116062011-03-30 Leo Liu <sdl.web@gmail.com>
11607
11608 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11609 New commands.
11610 (edit-abbrevs-map): Bind them here.
11611 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11612
d806ab68
KM
116132011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11614
11615 * allout.el (allout-hide-by-annotation, allout-flag-region):
11616 Reduce possibility of overlay leakage by making them volatile.
11617
11618 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11619 hash is not shared between buffers. Mode initialization is
11620 responsible for giving it a useful starting value.
11621 (allout-item-span): Reduce possibility of overlay leakage by
11622 making them volatile.
11623 (allout-widgets-count-buttons-in-region): Add diagnostic function
11624 for tracking down button overlay leaks.
11625
ea622834
LL
116262011-03-29 Leo Liu <sdl.web@gmail.com>
11627
11628 * ido.el (ido-read-internal): Use the default history var
11629 minibuffer-history if no HISTORY is specified.
11630
b62f8267
G
116312011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11632
03408648
SM
11633 * net/imap.el (imap-shell-open, imap-process-connection-type):
11634 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
11635 Kerberos, SSL, other subprocesses.
11636
947b6566
LL
116372011-03-28 Leo Liu <sdl.web@gmail.com>
11638
11639 * abbrev.el (abbrev-table-empty-p): New function.
11640 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11641 nonempty ones. (Bug#5937)
11642
5ffb62aa
JD
116432011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11644
11645 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11646
7a097943
LL
116472011-03-27 Leo Liu <sdl.web@gmail.com>
11648
11649 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11650 for foreground and background colors.
11651 (ansi-color-make-color-map): Adapt.
11652
c5b40130
LL
116532011-03-25 Leo Liu <sdl.web@gmail.com>
11654
1f48f7d2
LL
11655 * midnight.el (midnight-time-float): Remove. Note it calculates
11656 the microsecond component incorrectly and seconds-to-time does the
11657 same job.
625897ec 11658 Remove redundant (require 'timer).
1f48f7d2 11659
c5b40130
LL
11660 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11661 (ido-completions): Remove unused arguments. (Bug#8329)
11662
d86d2721
SM
116632011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11664
11665 * minibuffer.el (completion--flush-all-sorted-completions):
11666 Remove itself from hook.
11667 (completion-at-point): Let the functions perform the completion
11668 immediately and return nil or t.
11669 * comint.el (comint-dynamic-complete-functions): Now identical to
11670 completion-at-point-functions.
11671 (comint-dynamic-list-input-ring): Remove unused var `index'.
11672 (comint--match-partial-filename, comint--unquote&expand-filename):
11673 New funs, split from comint-match-partial-filename.
11674 (comint-dynamic-complete): Use completion-at-point.
11675 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11676
e8974c48
DA
116772011-03-24 Drew Adams <drew.adams@oracle.com>
11678
11679 * thingatpt.el: Support `defun'.
11680
def71b5e
LL
116812011-03-23 Leo Liu <sdl.web@gmail.com>
11682
cb5af48e
LL
11683 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11684
def71b5e
LL
11685 * help-mode.el (help-mode-finish): Tweak regexp.
11686
927c53e7
GM
116872011-03-23 Glenn Morris <rgm@gnu.org>
11688
18d05bed
GM
11689 * eshell/esh-opt.el (eshell-eval-using-options):
11690 Do not bind unused local variable `eshell-option-stub'.
11691
927c53e7
GM
11692 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11693
9d0da923
JB
116942011-03-22 Juanma Barranquero <lekktu@gmail.com>
11695
11696 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11697 keymap variable in `with-no-warnings' to avoid a warning when the
11698 keymap has been already `defconst'ed.
11699
4b978a67
LL
117002011-03-22 Leo Liu <sdl.web@gmail.com>
11701
11702 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11703 encode all chars in abbrevs; otherwise use emacs-mule or
11704 utf-8-emacs. (Bug#8308)
11705
5fd62452
JB
117062011-03-22 Juanma Barranquero <lekktu@gmail.com>
11707
0b1596c6
JB
11708 * simple.el (backward-delete-char-untabify):
11709 Avoid warning about using `delete-backward-char'.
11710
5fd62452
JB
11711 * image.el (image-type-file-name-regexps): Make it variable.
11712 `imagemagick-register-types' modifies it, and the user may want
11713 to add new extensions for known image types.
11714 (imagemagick-register-types): Throw error if not using ImageMagick.
11715
0b4e93f1
LL
117162011-03-22 Leo Liu <sdl.web@gmail.com>
11717
11718 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11719 located before rcirc-prompt-end-marker.
11720 (rcirc-complete): Error if point is not after rcirc prompt.
11721 Handle the case when table is nil.
9882e214 11722 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 11723
fccee4ab
CY
117242011-03-22 Chong Yidong <cyd@stupidchicken.com>
11725
11726 * custom.el (custom--inhibit-theme-enable): Make it affect only
11727 custom-theme-set-variables and custom-theme-set-faces.
11728 (provide-theme): Ignore custom--inhibit-theme-enable.
11729 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11730 (custom-enabling-themes): Delete variable.
d86d2721
SM
11731 (enable-theme): Accept only loaded themes as arguments.
11732 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
11733 (custom-enabled-themes): Forbid themes from setting this.
11734 Eliminate use of custom-enabling-themes.
11735 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 11736
af896da6
LL
117372011-03-21 Leo Liu <sdl.web@gmail.com>
11738
11739 * ido.el (ido-read-internal): Add ido-selected to history instead
11740 of user input.
11741
78f64af0
SM
117422011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11743
11744 * subr.el (deferred-action-list, deferred-action-function):
11745 Mark obsolete.
11746
b16ac1ec
LL
117472011-03-21 Leo Liu <sdl.web@gmail.com>
11748
810f7698
LL
11749 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11750 change on 2011-02-13 (bug#8309).
11751
b16ac1ec
LL
11752 * minibuffer.el (read-file-name-function): Change default value.
11753 (read-file-name--defaults): Rename from read-file-name-defaults.
11754 (read-file-name-default): Rename from read-file-name.
11755 (read-file-name): Call read-file-name-function.
11756
4e05e67e
GM
117572011-03-21 Glenn Morris <rgm@gnu.org>
11758
11759 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11760 Doc fixes.
11761
4359915b
CY
117622011-03-21 Chong Yidong <cyd@stupidchicken.com>
11763
11764 * cus-theme.el: Add missing provide statement.
11765 (customize-create-theme): Extract theme value correctly.
11766 (custom-theme-visit-theme): Autoload.
11767 (customize-create-theme): Prompt before inserting default faces.
11768
1fe275ee
JB
117692011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11770
11771 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11772 units and musical notes.
11773
cd394be1 117742011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
11775
11776 * ido.el (ido-read-internal): Use completing-read-default.
11777 (ido-completing-read): Fix compatibility with completing-read.
11778
7d476bde
CO
117792011-03-20 Christian Ohler <ohler@gnu.org>
11780
11781 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11782 (ert-delete-all-tests): Use `called-interactively-p' rather than
11783 `interactive-p'.
11784 (ert--make-xrefs-region): Respect END.
11785
fe0fb33e
CY
117862011-03-19 Chong Yidong <cyd@stupidchicken.com>
11787
ff854b0b
CY
11788 * dired-aux.el (dired-create-directory): Signal an error if the
11789 directory already exists (Bug#8246).
11790
fe0fb33e
CY
11791 * facemenu.el (list-colors-display): Call list-faces-display
11792 inside with-help-window.
11793 (list-colors-print): Use display property to align the final
11794 column, instead of checking window-width.
11795
576bce32
EZ
117962011-03-19 Eli Zaretskii <eliz@gnu.org>
11797
4d61f28d 11798 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
11799 windows-nt systems.
11800 (emerge-protect-metachars): Quote correctly for ms-dos and
11801 windows-nt systems.
11802
89c41d68 118032011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
11804
11805 * info.el (info-initialize): Replace all uses of `:' with
11806 path-separator for compatibility with non-Unix systems.
11807 Cache quoting of path-separator. (Bug#8258)
11808
b14e3e21 118092011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
11810
11811 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11812 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11813 (mouse-avoidance-mode): Fix typos in docstrings.
11814
4525ce3e
CY
118152011-03-19 Chong Yidong <cyd@stupidchicken.com>
11816
11817 * startup.el (package-subdirectory-regexp): Move from package.el.
11818 Omit \\` and \\', and let callers add them.
11819
11820 * emacs-lisp/package.el (package-strip-version)
11821 (package-load-all-descriptors): Add \\` and \\' to
11822 package-subdirectory-regexp before using it.
11823 (package-untar-buffer): New arg DIR; ensure that file untars only
11824 into this expected directory. Remove superfluous delete-region.
11825 (package-unpack): Caller changed.
11826 (package-tar-file-info): Use package-subdirectory-regexp.
11827
a904a09a 118282011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 11829
a904a09a
SM
11830 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11831 diff-mode-shared-map (bug#8284).
11832 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
11833
118342011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11835
11836 * calendar/time-date.el (format-seconds): Use assoc instead of
11837 assoc-string, since assoc-string doesn't exist in XEmacs.
11838
171fc304
JB
118392011-03-17 Juanma Barranquero <lekktu@gmail.com>
11840
11841 * custom.el (custom-known-themes): Reflow docstring.
11842 (custom-theme-load-path): Fix typo in docstring.
11843 (load-theme): Fix typo in error message.
11844 (custom-available-themes, custom-variable-theme-value):
11845 Use `let', not `let*'.
11846
d71990a1
JB
118472011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11848
11849 * calc/README: Mention inclusion of musical notes.
11850
11851 * calc/calc-units.el (calc-lu-quant): Rename from
11852 `calc-logunits-quantity'.
11853 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11854 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11855 (calc-db): Rename from `calc-dblevel'.
11856 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11857 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11858 (calc-np): Rename from `calc-nplevel'.
11859 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11860 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11861 (calc-lu-plus): Rename from `calc-logunits-add'.
11862 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11863 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11864 (calc-lu-minus): Rename from `calc-logunits-sub'.
11865 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11866 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11867 (calc-lu-times): Rename from `calc-logunits-mul'.
11868 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11869 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11870 (calc-lu-divide): Rename from `calc-logunits-div'.
11871 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11872 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11873
11874 * calc/calc-ext.el (calc-init-extensions): Update the names of the
11875 functions being autoloaded.
11876
11877 * calc/calc.el (calc-lu-power-reference): Rename from
11878 `calc-logunits-power-reference'.
11879 (calc-lu-field-reference): Rename from
11880 `calc-logunits-field-reference'.
11881
7a71b18d
GM
11882 * calc/calc-help.el (calc-l-prefix-help):
11883 Mention musical note functions.
d71990a1 11884
40c2934b
SM
118852011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11886
11887 * minibuffer.el (completion-all-sorted-completions):
11888 Use :completion-cycle-penalty text property if present.
11889
b0911414
KM
118902011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
11891
11892 * allout.el (allout-yank-processing): Adjust for new rebulleting
11893 regime so bullet being yanked is used without prompting the user
11894 for a choice.
11895
8a05b668
JB
118962011-03-16 Juanma Barranquero <lekktu@gmail.com>
11897
11898 * startup.el (command-line): Warn the user that _emacs is deprecated.
11899
5ba5fb81
JB
119002011-03-16 Juanma Barranquero <lekktu@gmail.com>
11901
11902 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11903 (delphi-verbose, delphi-comment-face, delphi-string-face)
11904 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11905 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11906 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11907 (delphi-new-comment-line, delphi-font-lock-defaults)
11908 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11909 Fix typos in docstrings.
11910
2dab465b
KM
119112011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
11912
5ba5fb81 11913 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
11914 Invert the roles of character and string values for INSTEAD, so a
11915 string is used for the more common case of a defaulting prompt.
11916
0adf5618
SM
119172011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11918
11919 * progmodes/ruby-mode.el (ruby-backward-sexp):
11920 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11921 * play/gamegrid.el (gamegrid-make-face):
11922 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11923 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11924 * notifications.el (notifications-notify):
11925 * net/xesam.el (xesam-search-engines):
11926 * net/quickurl.el (quickurl-list-insert):
11927 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11928
d72700e5
CY
119292011-03-15 Chong Yidong <cyd@stupidchicken.com>
11930
11931 * startup.el (command-line): Update package subdirectory regexp.
11932
49c5410a
SM
119332011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11934
c6eee9aa
SM
11935 * allout.el (allout-abbreviate-flattened-numbering)
11936 (allout-mode-deactivate-hook): Fix up obsolescence "date".
11937
49c5410a
SM
11938 * subr.el (read-char-choice): Only show the cursor after the prompt,
11939 not after the answer.
11940
047b2bb9
KR
119412011-03-15 Kevin Ryde <user42@zip.com.au>
11942
11943 * help-fns.el (variable-at-point): Skip leading quotes, if any
11944 (bug#8253).
11945
0a57d256
SM
119462011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11947
11948 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11949 warning message.
11950
77c992bc
MA
119512011-03-14 Michael Albinus <michael.albinus@gmx.de>
11952
11953 * shell.el (shell): When called interactively, offer to change the
11954 shell file name on remote hosts.
11955
eebc475d
TZ
119562011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
11957
11958 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11959 integration for LDAP parameters. The host, base, user or binddn,
11960 and secret tokens can be specified in a netrc file, for instance.
11961 This is optional because an `auth-source' parameter must be
11962 specified in the search attributes.
11963
9d05d1ba
JB
119642011-03-13 Juanma Barranquero <lekktu@gmail.com>
11965
11966 * help.el (describe-mode): Link to the mode's definition (bug#8185).
11967
09d9db2c
GM
119682011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11969
11970 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
11971 into declaration. Remove redundant and harmful binding.
11972
119732011-03-12 Eli Zaretskii <eliz@gnu.org>
11974
11975 * files.el (file-ownership-preserved-p): Pass `integer' as an
11976 explicit 2nd argument to `file-attributes'. If the file's owner
11977 is the Administrators group on Windows, and the current user is
11978 Administrator, consider that a match.
11979
11980 * server.el (server-ensure-safe-dir): Consider server directory
11981 safe on MS-Windows if its owner is the Administrators group while
11982 the current Emacs user is Administrator. Use `=' to compare
11983 numerical UIDs, since they could be integers or floats.
11984
219bd536
JB
119852011-03-12 Juanma Barranquero <lekktu@gmail.com>
11986
11987 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
11988
f3afd36b
MA
119892011-03-12 Michael Albinus <michael.albinus@gmx.de>
11990
11991 Sync with Tramp 2.2.1.
11992
11993 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11994
11995 * net/trampver.el: Update release number.
11996
3aaaa6f1
SM
119972011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11998
94642599
SM
11999 * progmodes/compile.el (compilation--previous-directory): Fix up
12000 various nil/dead-marker mismatches (bug#8014).
12001 (compilation-directory-properties, compilation-error-properties):
12002 Don't call it at a position past the one we're about to change.
12003
3aaaa6f1
SM
12004 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12005 Disable obsolescence warnings in the file that declares it.
12006
14239447
KM
120072011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12008
099c39a4
JB
12009 * allout-widgets.el (allout-widgets-tally):
12010 Initialize allout-widgets-tally as a hash table rather than nil to
12011 prevent mode-line redisplay warnings. Also, clarify the module
12012 description and fix a comment typo.
14239447 12013
135e287c
JB
120142011-03-11 Juanma Barranquero <lekktu@gmail.com>
12015
12016 * help-fns.el (describe-variable): Don't complete keywords.
12017 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12018
ffbf300e
CY
120192011-03-10 Chong Yidong <cyd@stupidchicken.com>
12020
ba08b241
CY
12021 * emacs-lisp/package.el (package-version-join): Impose a standard
12022 string representation for pre/alpha/beta version lists.
12023 (package-unpack-single): Standardize the directory name by passing
12024 it through package-version-join.
12025 (package-strip-rcs-id): Accept any version string that does not
12026 signal an error in version-to-list.
ffbf300e 12027
f346fd6b
MA
120282011-03-10 Michael Albinus <michael.albinus@gmx.de>
12029
12030 * simple.el (delete-trailing-whitespace): Return nil for the
12031 benefit of `write-file-functions'.
12032
ccb55d27
GM
120332011-03-10 Glenn Morris <rgm@gnu.org>
12034
5ceaac0c
GM
12035 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12036
02da65ff
GM
12037 * vc/vc-git.el (vc-git-program): New option.
12038 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12039 (vc-git--call): Use it.
12040
b2f603cc
GM
12041 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12042
5772caab
GM
12043 * cus-edit.el (Custom-newline): If no button at point, look
12044 for a subgroup button at start-of-line. (Bug#2298)
12045
ccb55d27
GM
12046 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12047
ec6ecaed
JD
120482011-03-10 Julien Danjou <julien@danjou.info>
12049
12050 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12051 `cursor-type' is nil.
12052
9d5aa01d
JB
120532011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
12054
12055 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12056
b6a5875b
KM
120572011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
12058
7a71b18d 12059 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
12060 preserves the existing header prefix, rebulleting it if necessary,
12061 rather than replacing it. This is necessary for proper operation
12062 of cooperative addons like allout-widgets.
1154d12e
JB
12063 (allout-make-topic-prefix, allout-rebullet-heading):
12064 Change SOLICIT arg to INSTEAD, and interpret additionally a string
12065 value as alternate bullet to be used, instead of prompting the user
12066 for a bullet character.
b6a5875b 12067
ee545c35
MA
120682011-03-09 Michael Albinus <michael.albinus@gmx.de>
12069
d86d2721
SM
12070 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12071 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
12072 `tramp-default-port'.
12073
c47971d7
DD
120742011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12075
12076 * net/rcirc.el (rcirc-handler-001): Remove useless
12077 with-rcirc-process-buffer.
12078 (rcirc-check-auth-status): Swap arguments to string-match.
12079
13522cb4
GM
120802011-03-09 Glenn Morris <rgm@gnu.org>
12081
0be6f4f1
GM
12082 * shell.el (shell-mode):
12083 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
12084
13522cb4
GM
12085 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12086 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
12087
515de2e3
CY
120882011-03-08 Chong Yidong <cyd@stupidchicken.com>
12089
12090 * emacs-lisp/package.el (package-refresh-contents)
12091 (package-menu-execute): Use condition-case-no-debug.
12092
b511b994
MA
120932011-03-08 Michael Albinus <michael.albinus@gmx.de>
12094
12095 * simple.el (shell-command-to-string): Use `process-file'.
12096
12097 * emacs-lisp/package.el (package-tar-file-info): Handle also
12098 remote files.
12099
d86d2721
SM
12100 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12101 Use `equal' for upload base check.
b511b994 12102
25bbfb31
AM
121032011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12104
12105 * textmodes/texinfo.el (texinfo-environments):
12106 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
12107
be996521
GM
121082011-03-08 Glenn Morris <rgm@gnu.org>
12109
e9c8529f
GM
12110 * cus-start.el (cursor-in-non-selected-windows):
12111 Fix :set quoting oddness. (Bug#8192)
12112
be996521
GM
12113 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12114 in some setf expressions. (Bug#2159)
12115
2bb5649e
CY
121162011-03-08 Chong Yidong <cyd@stupidchicken.com>
12117
12118 * custom.el (custom-available-themes): Return themes in
12119 alphabetical order.
12120
33383987 12121See ChangeLog.15 for earlier changes.
e3d51b27
MR
12122
12123;; Local Variables:
12124;; coding: utf-8
e3d51b27
MR
12125;; End:
12126
acaf905b 12127 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
12128
12129 This file is part of GNU Emacs.
12130
12131 GNU Emacs is free software: you can redistribute it and/or modify
12132 it under the terms of the GNU General Public License as published by
12133 the Free Software Foundation, either version 3 of the License, or
12134 (at your option) any later version.
12135
12136 GNU Emacs is distributed in the hope that it will be useful,
12137 but WITHOUT ANY WARRANTY; without even the implied warranty of
12138 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12139 GNU General Public License for more details.
12140
12141 You should have received a copy of the GNU General Public License
12142 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.