* hexl.el (hexl-insert-char): Make display sizes other than 16 work.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
b472a594
VD
12012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2
3 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
4
09b95ce3
MY
52012-04-13 Masatake YAMATO <yamato@redhat.com>
6
7 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8 to allow `C-M-f' and `C-M-b' to move to the nearest path
9 separator (bug#9511).
10
4b63a9ca
LI
112012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
12
13 * avoid.el: Require cl when compiling. And also move the
14 `provide' to the end.
15
7b55b8bf
TV
162012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17
18 * avoid.el (mouse-avoidance-banish-position): New variable.
19 (mouse-avoidance-banish-destination): Use it (bug#10165).
20
adedaa1f
LL
212012-04-13 Leo Liu <sdl.web@gmail.com>
22
23 * progmodes/which-func.el (which-func-modes): Add objc-mode.
24
70e74021
KB
252012-04-13 Ken Brown <kbrown@cornell.edu>
26
27 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
28 this is no longer needed now that cygstart understands file://
29 URLs.
30 (browse-url-filename-alist): For the same reason, don't modify
31 file:// URLs on Cygwin.
32
e75e89ba
SM
332012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
34
35 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
36 the region on shift if the binding is already shifted (bug#11221).
37
82f289a4
GM
382012-04-12 Glenn Morris <rgm@gnu.org>
39
40 * mail/mailpost.el: Move to obsolete/.
41
d333dc4c
DA
422012-04-12 Drew Adams <drew.adams@oracle.com>
43
44 * imenu.el (imenu--generic-function): Ignore invisible definitions
45 (bug#10123).
46
0d15b5ba
VD
472012-04-12 Vivek Dasmohapatra <vivek@etla.org>
48
49 * hexl.el (hexl-bits): New variable.
50 (hexl-options): Mention the variable in the doc string.
51 (hexl-rulerise): New function.
52 (hexl-line-displen): New function
53 (hexl-mode): Mention the new variable.
54 (hexl-mode, hexl-current-address, hexl-current-address): Use the
55 displen.
56 (hexl-ascii-start-column): New function.
57 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
58 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
59
64a440db
AM
602012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
61
62 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
63 '("-i" ENCODING), in 2 separate command-line arguments, to specify
64 the encoding, as expected by hunspell.
65
6decb6c2
SM
662012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
67
68 * battery.el (battery--linux-sysfs-regexp): New const.
69 (battery-status-function): Use it. Remove yeeloong special case.
70 (battery-yeeloong-sysfs): Remove.
71 (battery-echo-area-format): Remove yeeloong special case.
72
088be6fb
SM
732012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
74
6622e416
SM
75 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
76 Reported by Noah Friedman.
77
088be6fb
SM
78 * subr.el (read-passwd): Use read-string.
79
b49f886e
LMI
802012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
81
82 * vcursor.el (vcursor-move): Increase the priority of the overlay
83 (bug#9663).
84
a63067fc
DD
852012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
86
87 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
88 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
89
ac3cf14a
WS
902012-04-11 William Stevenson <yhvh2000@gmail.com>
91
92 * textmodes/artist.el (artist-mode): Convert artist-mode to use
93 define-minor-mode (bug#10760).
94
c4fc691b 952012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c
WJ
96
97 * lisp/progmodes/grep.el (rgrep): Tweak the find command line so
98 that directories matching `grep-find-ignored-files' won't be
99 pruned (bug#10351).
100
af23e2e5
CY
1012012-04-11 Chong Yidong <cyd@gnu.org>
102
103 * startup.el (command-line): Remove support for long-obsolete
104 variable font-lock-face-attributes.
105
ab7ce8c1
GM
1062012-04-11 Glenn Morris <rgm@gnu.org>
107
108 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
109
de8c03dc
SM
1102012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
111
112 * window.el (window--state-get-1): Obey window-point-insertion-type.
113
050cc68b
LB
1142012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
115
116 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
117 to previous function when point is on the first character of a
118 function. Take care of that in `narrow-to-defun' (bug#6157).
119
a38c310c
GM
1202012-04-11 Glenn Morris <rgm@gnu.org>
121
effed0c2
GM
122 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
123 not just file-errors.
124
a38c310c
GM
125 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
126 (vc-bzr-sha1): Use internal sha1.
127
0221e323
SM
1282012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
129
130 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
131
43956923
SG
1322012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
133
134 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
135 that start in the middle of the line (bug#10496).
136
6a8c9eaf
DN
1372012-04-10 Dan Nicolaescu <dann@gnu.org>
138
139 * battery.el (battery-linux-proc-acpi): Only one battery is
140 discharged at a time, but that seems to confuse battery.el when
141 computing `rate-type' for the battery not being discharged
142 (bug#10332).
143
1930bf5d
SM
1442012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
145
2a718f6f
SM
146 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
147
599430d0
SM
148 * international/quail.el: Use dolist and simplify.
149 (quail-define-package, quail-update-keyboard-layout)
150 (quail-define-rules): Use dolist.
151 (quail-insert-kbd-layout, quail-get-translation): CSE.
152
a2754b6c
SM
153 * tmm.el: Use dolist, remove left over hook.
154 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
155 Use dolist.
156 (calendar-load-hook): Don't mess with it.
157
1930bf5d
SM
158 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
159 Use derived-mode-p. Run the diff asynchronously.
160
9f67961c
LMI
1612012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
162
163 * obsolete/mouse-sel.el: Add an Obsolete-since header.
164
2a8ce227
JB
1652012-04-10 Juanma Barranquero <lekktu@gmail.com>
166
167 * misc.el: Display absolute path of loaded DLLs (bug#10424).
168 (list-dynamic-libraries--loaded): New function.
169 (list-dynamic-libraries--refresh): Use it.
170
8f33b5f8
NW
1712012-04-10 Nathan Weizenbaum <nweiz@google.com>
172
1930bf5d
SM
173 * progmodes/python.el (python-fill-paragraph):
174 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
175 disabled (bug#7018).
176
b12f0439
L
1772012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
178
1930bf5d 179 * language/european.el (cp775): Add oem/legacy (en)coding on
b12f0439
L
180 DOS/MS Windows for the Baltic languages. There are still plenty of
181 texts written in this encoding/codepage (bug#6519).
182
57c3bd01
GM
1832012-04-10 Glenn Morris <rgm@gnu.org>
184
185 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
186 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
187
6c3eab30
FA
1882012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
189
1930bf5d 190 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
191 next-line "n" and previous-line "p" in order to make recentf more
192 consistent with ibuffer, dired or org-mode (bug#9387).
193
24d78a88
LMI
1942012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
195
bc72b5d9
LMI
196 * image.el (put-image): Return the overlay created instead of the
197 optional input string (bug#7834). Note that this may break code
198 that is (for some reason or other) depending on `put-image'
199 returning the string.
200
bd2dba5a
LMI
201 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
202
74beb59f
LMI
203 * simple.el (zap-to-char): Allow zapping using input methods
204 (bug#1580).
205
24d78a88
LMI
206 * textmodes/fill.el (fill-region): Leave point and mark where they
207 were before filling (bug#5399).
208
263f20cd
GM
2092012-04-09 Glenn Morris <rgm@gnu.org>
210
211 * version.el (emacs-bzr-get-version):
212 Handle lightweight checkouts of local branches.
213
58d1f797
AS
2142012-04-09 Andreas Schwab <schwab@linux-m68k.org>
215
263f20cd 216 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 217
b4d3bc10
CY
2182012-04-09 Chong Yidong <cyd@gnu.org>
219
220 * custom.el (custom-variable-p): Return nil for non-symbol
221 arguments instead of signaling an error.
222 (user-variable-p): Obsolete alias for custom-variable-p.
223
224 * apropos.el (apropos-variable):
225 * files-x.el (read-file-local-variable):
226 * simple.el (set-variable):
227 * woman.el (woman-mini-help):
228 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
229
fd06db5d
GM
2302012-04-09 Glenn Morris <rgm@gnu.org>
231
e5fcdb5e
GM
232 * startup.el (normal-top-level): Don't look for leim-list.el
233 in places where it will not be found. (Bug#910)
234
fd06db5d
GM
235 * international/mule-cmds.el (set-default-coding-systems):
236 * files.el (normal-mode):
237 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
238 This function was removed with ucs-tables.el in 2008.
239
b39bb7e1
EZ
2402012-04-08 Eli Zaretskii <eliz@gnu.org>
241
242 * textmodes/ispell.el (ispell-check-version): For hunspell, set
243 ispell-encoding8-command to "-i", without a trailing space.
244 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
245 separate command-line arguments, to specify the encoding, since
246 that's how hunspell expects it.
247
5c5b8e23
GM
2482012-04-08 Glenn Morris <rgm@gnu.org>
249
250 * loadup.el: Load bindings before cus-start.
251 This reduces somewhat the number of "rogue" settings in emacs -Q.
252
a1ed8b05
GM
2532012-04-07 Glenn Morris <rgm@gnu.org>
254
255 * version.el (emacs-bzr-get-version): New function.
dfae128a 256 (emacs-bzr-version): New variable.
a1ed8b05
GM
257 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
258 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
259
b142f158
EZ
2602012-04-07 Eli Zaretskii <eliz@gnu.org>
261
dfae128a
GM
262 * international/uni-bidi.el, international/uni-category.el:
263 * international/uni-combining.el, international/uni-decimal.el:
264 * international/uni-decomposition.el, international/uni-digit.el:
265 * international/uni-lowercase.el, international/uni-mirrored.el:
266 * international/uni-name.el, international/uni-numeric.el:
267 * international/uni-titlecase.el, international/uni-uppercase.el:
268 Update for Unicode 6.1.
b142f158 269
9078ead6
EZ
2702012-04-07 Eli Zaretskii <eliz@gnu.org>
271
272 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
273
f23d2c7d
LMI
2742012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
275
276 * window.el (shrink-window): Mention the `window-min-height'
277 variable in the doc string.
278
0a0a3573
BG
2792012-04-05 Bastien Guerry <bzg@altern.org>
280
281 * color.el (color-lighten-name): Fix typo.
282
e5248ac9
SM
2832012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
284
285 * server.el (server--on-display-p): New function.
286 (server--on-display-p): Use it.
287
b4243e22
GV
2882012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
289
290 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
291 (bug#11145).
292
305d9f44
SM
2932012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
294
295 * comint.el (comint--common-quoted-suffix): Check string boundary
296 before comparing (bug#11158).
297 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
298
3d439cd1
CY
2992012-04-04 Chong Yidong <cyd@gnu.org>
300
321cc491
CY
301 * minibuffer.el (completion-extra-properties): Doc fix.
302
3d439cd1
CY
303 * subr.el (delayed-warnings-hook): Doc fix.
304
2d562c0f
DU
3052012-04-04 Daiki Ueno <ueno@unixuser.org>
306
307 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
308 selection (Bug#11159).
309 (epa-insert-keys): Inform that the default public key will be
310 exported if no key is selected.
311
4443f204
RS
3122012-04-04 Richard Stallman <rms@gnu.org>
313
314 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
315
529c06b6
CY
3162012-04-03 Chong Yidong <cyd@gnu.org>
317
318 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
319 mail-insert-file, not its obsolete alias mail-attach-file.
320
66b907dc
MA
3212012-04-03 Michael Albinus <michael.albinus@gmx.de>
322
323 * notifications.el (notifications-notify): Fix docstring.
324
c0ea195d
GM
3252012-04-02 Glenn Morris <rgm@gnu.org>
326
327 * emacs-lisp/authors.el (authors-aliases): Another addition.
328
5ca64e00
MA
3292012-04-02 Michael Albinus <michael.albinus@gmx.de>
330
331 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
332 `tramp-compat-call-process' instead of `tramp-local-call-process'.
333 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
334
42ee526b
CY
3352012-04-01 Chong Yidong <cyd@gnu.org>
336
337 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
338 Handle root directory properly.
339 (copy-directory): Caller changed.
340
341 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
342 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
343
0b021094
GM
3442012-03-31 Glenn Morris <rgm@gnu.org>
345
40f86458
GM
346 * term/xterm.el (xterm-extra-capabilities): Doc fix.
347
7019c177
GM
348 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
349
a1daddd6
GM
350 * calendar/calendar.el (calendar-window-list)
351 (calendar-hide-window): Restore. (Bug#11140)
352 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
353
0b021094
GM
354 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
355
40311efc
TV
3562012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
357
358 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
359 Check if file is a symlink (Bug#10489).
360
361 * files.el (copy-directory): Likewise.
362
5319014e
CY
3632012-03-30 Chong Yidong <cyd@gnu.org>
364
365 * image.el (imagemagick-types-inhibit)
366 (imagemagick-register-types): Doc fix.
367
935d1290
AM
3682012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
369
370 * ispell.el (ispell-get-extended-character-mode): Disable
371 extended-char-mode for hunspell. hunspell does not support it and
372 treats ~word as ordinary words in pipe mode.
373
61c6e8fd
GM
3742012-03-30 Glenn Morris <rgm@gnu.org>
375
376 * tutorial.el (help-with-tutorial): Ensure local variables don't
377 happen to make the buffer read-only. (Bug#11127)
378
81fdff00
SM
3792012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
380
381 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
382 (perl-calculate-indent): Return `noindent' in strings.
383
6e7a6ec0
SS
3842012-03-28 Sam Steingold <sds@gnu.org>
385
386 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
387 instead of the broken adhockery which does not prevent calendar
388 buffers from being displayed at random after exit.
389 (calendar-window-list, calendar-hide-window): Remove the broken
390 adhockery.
391
fee88ca0
GM
3922012-03-28 Glenn Morris <rgm@gnu.org>
393
394 * replace.el (query-replace-map): Doc fix.
395
38de3354
AS
3962012-03-28 Andreas Schwab <schwab@linux-m68k.org>
397
398 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
399 contents. (Bug#11109)
400
b973155e
SM
4012012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
402
403 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
404 (bug#11077).
405 (avl-tree--check, avl-tree--check-node): New funs.
406
dcb6e7b3
MR
4072012-03-27 Martin Rudalics <rudalics@gmx.at>
408
409 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
410 (switch-to-prev-buffer, switch-to-next-buffer):
411 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
412 showing a buffer already is done on the same frame.
413
b4fa35fa
GM
4142012-03-27 Glenn Morris <rgm@gnu.org>
415
416 * startup.el (mail-host-address): Doc fix.
417
f9210e18
SM
4182012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
419
420 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
421 than 197 variables.
422
c0bf7753
AF
4232012-03-26 Ami Fischman <ami@fischman.org>
424
425 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
426
33da7b16
GM
4272012-03-26 Glenn Morris <rgm@gnu.org>
428
02243d9d
GM
429 * files.el (save-buffers-kill-emacs): Doc fix.
430
33da7b16
GM
431 * startup.el (normal-top-level, command-line, command-line-1):
432 Give them doc strings.
433
e5a69fd0
EZ
4342012-03-25 Eli Zaretskii <eliz@gnu.org>
435
436 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 437 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 438
9a69676a
CY
4392012-03-25 Chong Yidong <cyd@gnu.org>
440
4125cb8b
CY
441 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
442 theme if it was previously enabled before (Bug#11031).
443
dd470960
CY
444 * cus-theme.el (custom-theme-write-faces): Retrieve current face
445 spec with custom-face-get-current-spec if its :shown-value is not
446 determined yet (Bug#9337).
4125cb8b 447 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 448
9a69676a
CY
449 * button.el (button-at): Minor addition to docstring.
450
6e7e90fa
SL
4512012-03-24 Simon Leinen <simon.leinen@gmail.com>
452
453 * vc/vc.el (vc-merge): Fix a prompt.
454
f06e2758
CY
4552012-03-24 Chong Yidong <cyd@gnu.org>
456
457 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
458 point (Bug#9623).
459
6e7e90fa
SL
460 * button.el (button-at): Minor addition to docstring.
461
b9d0879b
SM
4622012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
463
464 * newcomment.el (comment-choose-indent): No space after BOL.
465
e71cebb3
SS
4662012-03-22 Sam Steingold <sds@gnu.org>
467
468 * window.el (switch-to-prev-buffer): Revert last patch because the
469 bug turned out to be an advertised feature (Elisp manual 28.14).
470
335aff35
GM
4712012-03-22 Glenn Morris <rgm@gnu.org>
472
473 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
474 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
475
c676576a
LMI
4762012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
477
478 * net/network-stream.el (network-stream-open-starttls): Make error
479 message under Windows be less misleading.
480
126f3d39
LW
4812012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
482
483 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
484 understands (bug#9942).
485
64fee311
CY
4862012-03-22 Chong Yidong <cyd@gnu.org>
487
488 * simple.el (end-of-visible-line): Handle return value of
489 next-single-property-change properly (Bug#9371).
490
a640d29a
KH
4912012-03-22 Kenichi Handa <handa@m17n.org>
492
493 * international/quail.el (quail-insert-kbd-layout): Fix previous
494 change. To avoid unwanted bidi reordering, use
495 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
496
39675016
DG
4972012-03-21 Dmitry Gutov <dgutov@yandex.ru>
498
499 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
500 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
501 (ruby-beginning-of-indent): Be more careful with the difference
502 between word-boundary and symbol boundary.
503 (ruby-mode-syntax-table): Make : a symbol constituent.
504
0a6934fc 5052012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 506
3d008e4f
SM
507 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
508
0a6934fc
SM
5092012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
510
af67c9d7
SM
511 * progmodes/etags.el (tags-completion-at-point-function):
512 Improve last fix.
513
1acad97c
SM
514 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
515
e298b5da
SS
5162012-03-21 Sam Steingold <sds@gnu.org>
517
518 * progmodes/etags.el (tags-completion-at-point-function):
519 Avoid the error when point is inside the pattern.
520
91d82a70
JY
5212012-03-21 John Yates <john@yates-sheets.org> (tiny change)
522
523 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
524 line (Bug#10855).
525
69188b79
CY
5262012-03-21 Drew Adams <drew.adams@oracle.com>
527
528 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
529
99fc91fe
AK
5302012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
531
532 * ido.el (ido-set-current-directory, ido-read-internal)
533 (ido-choose-completion-string, ido-completion-help): Handle nil
534 value of ido-completion-buffer (Bug#11008).
535
087bbb4c
SS
5362012-03-21 Sam Steingold <sds@gnu.org>
537
538 * window.el (switch-to-prev-buffer): Do not switch to a visible
539 window previous buffer, just like with the frame previous buffers.
540
fb5b8aca
CY
5412012-03-21 Chong Yidong <cyd@gnu.org>
542
543 * faces.el (make-face, make-empty-face, copy-face):
544 * face-remap.el (face-remap-add-relative, face-remap-set-base):
545 Doc fixes.
546
dc9924b8
SM
5472012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
548
549 * wid-edit.el (widget-complete-field): Remove (bug#11051).
550 (widget-complete): Remove broken use of it.
551
f0bcceb9
CY
5522012-03-20 Chong Yidong <cyd@gnu.org>
553
dc9924b8
SM
554 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
555 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
556 characters.
557
ee52ebf3
TH
5582012-03-20 Tassilo Horn <tassilo@member.fsf.org>
559
560 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
561 to draw rectangles, not squares. (Regression introduced by revno
562 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
563
4c5779ab
CY
5642012-03-18 Chong Yidong <cyd@gnu.org>
565
566 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
567 it is not yet defined (for temacs).
568
15360934
LL
5692012-03-18 Leo Liu <sdl.web@gmail.com>
570
dc9924b8 571 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 572
d9a8eb66
EZ
5732012-03-17 Eli Zaretskii <eliz@gnu.org>
574
575 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
576 (ispell-choices-win-default-height, ispell-silently-savep)
577 (ispell-dictionary-alist, ispell-encoding8-command)
578 (ispell-check-version, ispell-aspell-find-dictionary)
579 (ispell-valid-dictionary-list, ispell-words-keyword)
580 (ispell-get-word, ispell-internal-change-dictionary)
581 (ispell-region, ispell-skip-region-list)
582 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
583 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
584 (ispell-message-text-end, ispell-message)
585 (ispell-buffer-local-parsing): Doc fix.
586
f02ff80d
J
5872012-03-13 Jambunathan K <kjambunathan@gmail.com>
588
589 * htmlfontify.el: Add support for code block fontification for ODT
590 export (Bug #9914).
591 (hfy-optimisations): Define new option
592 `body-text-only'
593 (hfy-fontify-buffer): Honor above setting.
594 (hfy-begin-span, hfy-end-span): New routines factored out form
595 `hfy-fontify-buffer'.
596 (hfy-begin-span-handler, hfy-end-span-handler): New variables
597 that permit insertion of custom tags.
598 (hfy-fontify-buffer): Use above handlers.
599 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
600 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 601 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
f02ff80d
J
602 over multiple runs. This is made possible by having the caller let
603 bind a special variable `hfy-user-sheet-assoc'.
604 (htmlfontify-string): New defun.
605 (hfy-compile-face-map): Make sure that the last char in the
606 buffer is correctly fontified.
607 (hfy-face-resolve-face): Whitespace only change.
608
9ac7a13f
EZ
6092012-03-17 Eli Zaretskii <eliz@gnu.org>
610
611 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
612 message more clear.
613
e2b5bdd7
LL
6142012-03-16 Leo Liu <sdl.web@gmail.com>
615
616 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
617
2e492df3
AM
6182012-03-16 Alan Mackenzie <acm@muc.de>
619
620 Further optimise the handling of large macros.
621
622 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
623 limit to a call of `c-literal-limits'.
624 (c-determine-+ve-limit): New function.
dc9924b8
SM
625 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
626 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
627 In CASE 5B, restrict a search limit to 500.
628 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
629
630 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
631 Restrict macro bounds to +-500 from after-change's BEG END.
632
50e94f0c
LL
6332012-03-16 Leo Liu <sdl.web@gmail.com>
634
635 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
636
6f09f6ed
AH
6372012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
638
639 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 640 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 641
c7e73d51
GM
6422012-03-16 Glenn Morris <rgm@gnu.org>
643
da986230
GM
644 * view.el (view-buffer, view-buffer-other-window)
645 (view-buffer-other-frame): Doc fixes re special mode-class.
646
0835f01e
GM
647 * subr.el (eval-after-load): If named feature is provided not from
648 a file, run after-load forms. (Bug#10946)
649
c7e73d51
GM
650 * calendar/calendar.el (calendar-insert-at-column):
651 Handle non-unit-width characters a bit better. (Bug#10978)
652
3f2eafd1
CY
6532012-03-15 Chong Yidong <cyd@gnu.org>
654
655 * emacs-lisp/ring.el (ring-extend): New function.
656 (ring-insert+extend): Extend the ring correctly (Bug#11019).
657
658 * comint.el (comint-read-input-ring)
659 (comint-add-to-input-history): Grow comint-input-ring lazily.
660
103af3fe
SM
6612012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
662
663b1677
SM
663 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
664 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
665
103af3fe
SM
666 * imenu.el: Fix multiple inheritance breakage (bug#9199).
667 (imenu-add-to-menubar): Don't add a redundant index.
668 (imenu-update-menubar): Handle a dynamically composed keymap.
669
899cb7cb
KY
6702012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
671
672 * mail/sendmail.el (mail-encode-header):
673 Bind rfc2047-encode-encoded-words to nil.
674
3809f91d
GM
6752012-03-13 Glenn Morris <rgm@gnu.org>
676
677 * calendar/calendar.el (calendar-string-spread):
678 Handle non-unit-width characters a bit better. (Bug#10978)
679
9e345a01
LL
6802012-03-13 Leo Liu <sdl.web@gmail.com>
681
682 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
683 directory and file as argument (Bug#10822).
684
4a07df36
KS
6852012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
686
687 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
688 For dynamically generated code, follow $PC.
689 (gdb-disassembly-handler-custom): Handle no function name case.
690
4aaa9356
TL
6912012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
692
693 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
694 * emulation/ws-mode.el (ws-query-replace):
695 * sort.el (sort-regexp-fields):
696 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
697
225979da
SM
6982012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
699
700 * dabbrev.el: Fix cycle completion order (bug#10963).
701 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
702 (dabbrev-completion): Don't use an obarray; provide
703 a cycle-sort-function.
704
e2f1fdab
LL
7052012-03-12 Leo Liu <sdl.web@gmail.com>
706
dc9924b8 707 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
708 (kill-do-not-save-duplicates): Doc fix.
709
b19490ed
SM
7102012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
711
712 * dabbrev.el: Fix cycle completion (bug#10963).
713 Use lexical binding and wrap to 80 columns.
714 (dabbrev-completion): Delay computing the list of completions.
715
4b05d722
KH
7162012-03-12 Kenichi Handa <handa@m17n.org>
717
718 * international/quail.el (quail-insert-kbd-layout): Surround each
719 row by LRO and PDF instead of inserting many LRMs. Pad the left
720 and right of each non-spacing marks. Insert invisible space
721 between lower and upper characters to prevent composition.
722
dbbc2e69
SM
7232012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
724
725 * minibuffer.el (minibuffer-complete): Don't get confused when the
726 function is run twice via different commands (bug#10958).
727 (complete-with-action): Fix docstring.
728
292112ed
CY
7292012-03-12 Chong Yidong <cyd@gnu.org>
730
5d1ac394
CY
731 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
732 (nxml-completion-at-point-function): New function.
733 (nxml-mode): Use it.
734 (nxml-bind-meta-tab-to-complete-flag): Default to t.
735
292112ed
CY
736 * emacs-lisp/package.el (package-unpack, package-unpack-single):
737 Load generated autoloads file before byte compiling (Bug#10970).
738 (package--make-autoloads-and-compile): New helper fun.
739
4098f8f7
CS
7402012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
741
742 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
743
8f754691
MA
7442012-03-11 Michael Albinus <michael.albinus@gmx.de>
745
746 * autorevert.el (auto-revert-handler): Ensure, that
747 file-readable-p is applied only for local files or in
748 auto-revert-tail-mode.
749
e29ab36b
AS
7502012-03-11 Andreas Schwab <schwab@linux-m68k.org>
751
dbbc2e69
SM
752 * server.el (server-eval-at): Handle non-tcp connections.
753 Decode result string.
ad0bf5b6 754
e29ab36b
AS
755 * server.el (server-msg-size): New constant.
756 (server-reply-print): New function.
757 (server-eval-and-print): Use it.
758 (server-eval-at): Use server-quote-arg and server-unquote-arg.
759 Handle -print-nonl.
760
de5939ba
CS
7612012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
762
763 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
764 (Bug#10987).
765
0c93eabf
CY
7662012-03-11 Chong Yidong <cyd@gnu.org>
767
397a688f
CY
768 * simple.el (goto-line): Doc fix (Bug#9938).
769
2cc775f9
CY
770 * subr.el (save-window-excursion): Doc fix (Bug#9979).
771
0c93eabf
CY
772 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
773 when finished (Bug#10963).
774
c491fa41
MR
7752012-03-11 Martin Rudalics <rudalics@gmx.at>
776
777 * window.el (split-window-below): Fix bug in case where
778 split-window-keep-point is nil (Bug#10971).
779
300e8fa5
JL
7802012-03-11 Juri Linkov <juri@jurta.org>
781
782 * replace.el (replace-highlight): Set isearch-word to nil
783 unconditionally. (Bug#10887)
784
dbf6c5a1
EZ
7852012-03-10 Eli Zaretskii <eliz@gnu.org>
786
787 * net/mairix.el (mairix-replace-invalid-chars): Rename from
788 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 789 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
790 (mairix-widget-create-query): Add usage information about mairix
791 search forms: negating words, searching for substrings, etc.
792
b9e501de
JP
7932012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
794
795 * international/fontset.el (font-encoding-alist): Add an entry for
796 ksx1001 (Bug#5667).
797
92795c91
RS
7982012-03-10 Richard Stallman <rms@gnu.org>
799
1694e6c1
RS
800 * mail/sendmail.el (mail-encode-header):
801 Set rfc2047-encode-encoded-words.
802
607e8555
RS
803 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
804
de3bc99a
RS
805 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
806 view buffer means not swapped.
807 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
808 (rmail-write-region-annotate): Error if real text has disappeared.
809
92795c91
RS
810 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
811
699bd04e
CY
8122012-03-10 Chong Yidong <cyd@gnu.org>
813
814 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
815 * emulation/cua-base.el (cua--init-keymaps):
816 Add delete-forward-char to remappings (Bug#9666).
699bd04e 817
570a1714
MR
8182012-03-10 Martin Rudalics <rudalics@gmx.at>
819
dbbc2e69
SM
820 * speedbar.el (speedbar-unhighlight-one-tag-line):
821 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 822
82dcf4e4
CY
8232012-03-10 Chong Yidong <cyd@gnu.org>
824
7a2c7ca7
CY
825 * minibuffer.el (completion-in-region, completion-help-at-point):
826 Give the completion field overlay a high priority (Bug#6830).
827
82dcf4e4
CY
828 * dired.el (dired-goto-file): Recognize absolute file name
829 listings (Bug#7126).
830 (dired-goto-file-1): New helper function.
831 (dired-toggle-read-only): Inhibit warnings.
832
052e28ac
MA
8332012-03-09 Michael Albinus <michael.albinus@gmx.de>
834
835 * net/dbus.el: (dbus-property-handler): Return empty array if
836 there are no properties.
837
95d5e396
LL
8382012-03-09 Leo Liu <sdl.web@gmail.com>
839
840 * savehist.el (savehist-printable): Stricter check for string
841 value (Bug#10937).
842
3f018d6d
EZ
8432012-03-09 Eli Zaretskii <eliz@gnu.org>
844
dbbc2e69
SM
845 * mail/smtpmail.el (smtpmail-send-it):
846 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
847 valid mbox format.
848
f7fd3d79
GM
8492012-03-09 Glenn Morris <rgm@gnu.org>
850
851 * files.el (dir-locals-find-file):
852 Don't check result is regular, readable.
853 (dir-locals-read-from-file): Demote errors.
854
6ff6e72f
EZ
8552012-03-08 Eli Zaretskii <eliz@gnu.org>
856
dbbc2e69
SM
857 * international/quail.el (quail-insert-kbd-layout):
858 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
859 layout cell, to prevent their reordering by bidi display engine.
860 For details, see the discussion in
861 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
862
9cec7834
AM
8632012-03-08 Alan Mackenzie <acm@muc.de>
864
865 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
866 the starting position; make it extend the marked region when
867 invoked repeatedly - all under appropriate circumstances.
868 Fixes bugs #5525, #10906.
869
9a40b8d4
GM
8702012-03-08 Glenn Morris <rgm@gnu.org>
871
872 * files.el (locate-dominating-file, dir-locals-find-file):
873 Undo 2012-03-06 change.
874
7a08ed35
EZ
8752012-03-07 Eli Zaretskii <eliz@gnu.org>
876
dbbc2e69
SM
877 * international/quail.el (quail-help):
878 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
879 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
880 for the reason.
881
5aca4f71 8822012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
883
884 Avoid superfluous registering of signals. (Bug#10807)
885
886 * notifications.el (notifications-on-action-object)
887 (notifications-on-close-object): New defvars.
888 (notifications-on-action-signal, notifications-on-closed-signal):
889 Unregister the signal if not needed any longer.
890 (notifications-notify): Register `notifications-action-signal' or
891 `notifications-closed-signal', if :on-action or :on-close has been
892 passed as argument.
893
78e8b10a
CY
8942012-03-07 Chong Yidong <cyd@gnu.org>
895
896 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
897 non-X platforms.
898
69481eb8
GM
8992012-03-06 Glenn Morris <rgm@gnu.org>
900
901 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
902 (x-disown-selection-internal, x-get-selection-internal):
903 Doc fix (add arglist signatures). (Bug#10783)
904
133b8e11
KS
9052012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
906
907 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
908 Handle breakpoints with no "type".
909
99a83064
GM
9102012-03-06 Glenn Morris <rgm@gnu.org>
911
912 * files.el (locate-dominating-file): Add optional predicate argument.
913 (dir-locals-find-file): Make use of above change.
914
17798e78
TTN
9152012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
916
917 * info.el (Info-insert-dir): Also try "dir.gz".
918
eb182446
GM
9192012-03-06 Glenn Morris <rgm@gnu.org>
920
8f2114ee
GM
921 * files.el (dir-locals-find-file):
922 Ignore non-readable or non-regular files. (Bug#10928)
923
eb182446
GM
924 * files.el (locate-dominating-file): Doc fix.
925
24679323
AS
9262012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
927
928 * calendar/calendar.el (calendar-set-mode-line):
929 `getenv' returns a string. (Bug#10951)
930
01d972a9
LL
9312012-03-05 Leo Liu <sdl.web@gmail.com>
932
109aa8a9
LL
933 * simple.el (backward-delete-char-untabify): Constrain point to
934 field (Bug#10939).
935
01d972a9
LL
936 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
937
10607bea
CY
9382012-03-05 Chong Yidong <cyd@gnu.org>
939
940 * simple.el (count-words): If called from Lisp, return the word
941 count, for symmetry with `count-lines'. Arglist changed.
942 (count-words--message): Args changed. Consolidate counting code
943 from count-words and count-words-region.
944 (count-words-region): Caller changed.
945 (count-lines-region): Make it an obsolete alias.
946
5dd11cfe
TH
9472012-03-04 Tassilo Horn <tassilo@member.fsf.org>
948
949 * saveplace.el (save-place-to-alist)
950 (save-place-ignore-files-regexp): Allow value nil to disable this
951 feature.
952
c349f4e6
CY
9532012-03-04 Chong Yidong <cyd@gnu.org>
954
955 * faces.el (face-spec-reset-face): For the default face, reset the
956 attributes to default values (Bug#10748).
957
e627be4c
LMI
9582012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
959
960 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
961 previous patch: Check `message-send-mail-function', and not the
962 default function (bug#10897).
963
ebeabff4
MA
9642012-03-04 Michael Albinus <michael.albinus@gmx.de>
965
a41a6cf4
MA
966 * notifications.el (notifications-on-action-signal)
967 (notifications-on-closed-signal): Check for unique service name of
968 incoming event. Fix error in removing entry.
ebeabff4 969 (top): Register for signals with wildcard service name.
a41a6cf4 970 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 971
c1ca42b4
CY
9722012-03-04 Chong Yidong <cyd@gnu.org>
973
dc9924b8 974 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 975
ea16568d
GM
9762012-03-04 Glenn Morris <rgm@gnu.org>
977
978 * abbrev.el (copy-abbrev-table, abbrev-table-p)
979 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
980 (expand-abbrev, define-abbrev-table): Doc fixes.
981
fbae4637
LMI
9822012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
983
984 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
985 `message-default-send-mail-function' and not `send-mail-function'
986 when doing the prompting for `sendmail-query-once' before sending
987 in Message buffers (bug#10897).
988
a1e7225c
LMI
989 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
990 This is inconsistent with all the other stream functions, which leave
991 the setting up to the higher levels (if so wanted) (bug#10931).
992
56d093a9
AM
9932012-03-02 Alan Mackenzie <acm@muc.de>
994
995 Depessimize the handling of very large macros.
996
997 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
998 (c-macro-cache-syntactic): New variables to implement a one
999 element macro cache.
1000 (c-invalidate-macro-cache): New function.
1001 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1002 Adapt to use the new cache.
1003 (c-state-safe-place): Use better the cache of safe positions.
1004 (c-state-semi-nonlit-pos-cache)
1005 (c-state-semi-nonlit-pos-cache-limit):
1006 New variables for...
1007 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1008 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
1009 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1010 Use c-state-semi-safe-place.
56d093a9 1011
dbbc2e69
SM
1012 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1013 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 1014
817e5c3d
MA
10152012-03-02 Michael Albinus <michael.albinus@gmx.de>
1016
dbbc2e69
SM
1017 * jka-compr.el (jka-compr-call-process):
1018 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
1019 not remote.
1020
a032a702
MA
10212012-03-01 Michael Albinus <michael.albinus@gmx.de>
1022
1023 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1024 access of FILE2, if FILE1 does not exist.
1025
99a54f21
MA
1026 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1027 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1028
1029 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1030 Add "PAGER=" to `process-environment'.
1031
f6561e1f
MM
10322012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1033
1034 * progmodes/sql.el: Bug fix
1035 (sql-get-login-ext): Save login values in globals.
1036 (sql-get-login): Use new version of `sql-get-login-ext'.
1037 (sql-interactive-mode): Set global `sql-connection' to nil.
1038 (sql-connect): Set global values for connection.
1039 (sql-product-interactive): Save global values as buffer local.
1040
2d44d9cc
LL
10412012-02-29 Leo Liu <sdl.web@gmail.com>
1042
1043 * abbrev.el (define-abbrevs): Reset sys to nil.
1044
96b49301 10452012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1046
bf7f9bc5
JB
1047 * files.el (file-equal-p): Rename from `files-equal-p'.
1048 Return nil when one or both files don't exist.
96b49301 1049 (file-subdir-of-p): Now only top directory must exists,
1050 return nil if it doesn't.
bf7f9bc5
JB
1051 (copy-directory): No need to test with `file-subdir-of-p' after
1052 creating dir.
1053 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1054 to `file-equal-p'.
96b49301 1055
44e97401
GM
10562012-02-28 Glenn Morris <rgm@gnu.org>
1057
1058 * shell.el (shell-mode):
1059 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1060 * play/landmark.el (landmark-font-lock-face-O):
1061 * play/handwrite.el (handwrite):
1062 * play/gomoku.el (gomoku-O):
1063 * net/browse-url.el (browse-url-browser-display):
1064 * international/mule.el (define-charset):
1065 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1066 * filesets.el (filesets-find-file-delay):
1067 * eshell/em-xtra.el (eshell-xtra):
1068 * eshell/em-unix.el (eshell-grep):
1069 * emulation/viper.el (viper-mode):
1070 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1071 * emacs-lisp/easymenu.el (easy-menu-define):
1072 * calendar/timeclock.el (timeclock-use-display-time):
1073 * bs.el (bs-mode):
1074 * bookmark.el (bookmark-save-flag):
1075 Doc fix (standardize possessive apostrophe usage).
1076
c98c6276
CY
10772012-02-27 Chong Yidong <cyd@gnu.org>
1078
bf7f9bc5
JB
1079 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1080 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 1081
c98c6276
CY
1082 * font-lock.el (font-lock-specified-p): Rename from
1083 font-lock-spec-present. Callers changed.
1084
9c62cd04 10852012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 1086
bf7f9bc5
JB
1087 * emacs-lisp/package.el (package-compute-transaction):
1088 Handle holding a package version to t in package-load-list.
8ac9e529 1089
530739c9
MA
10902012-02-26 Michael Albinus <michael.albinus@gmx.de>
1091
1092 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1093 (tramp-get-inode, tramp-get-device): Use cached values.
1094
487915d7
AM
10952012-02-26 Alan Mackenzie <acm@muc.de>
1096
1097 Check there is a font-lock specification before doing initial
1098 fontification.
1099
1100 * font-core.el (font-lock-mode): Move the conditional from
1101 :after-hook to font-lock-initial-fontify.
1102 (font-lock-default-function): Move the check for a specification
1103 to font-lock-spec-present.
1104
dc9924b8 1105 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
1106 (font-lock-spec-present): New function.
1107
4fd96557
JB
11082012-02-26 Jim Blandy <jimb@red-bean.com>
1109
1110 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1111 (gdb-send): Apply it to the operand of the '-interpreter-exec
1112 console' command, so that we can pass arguments with (say) quotes
1113 in them. Store exact string sent in gdb-debug-log (Bug#10765).
1114
9a4888c0
CY
11152012-02-26 Chong Yidong <cyd@gnu.org>
1116
07498861
CY
1117 * help-fns.el (describe-function-1): Clarify description of
1118 remapping (Bug#10844).
1119
9a4888c0
CY
1120 * files.el (files-equal-p): Doc fix.
1121 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
1122 and quit the loop once a mismatch is found.
1123
ea8fb88d
JB
11242012-02-25 Juanma Barranquero <lekktu@gmail.com>
1125
1126 * bs.el (bs--show-with-configuration): Don't throw an error
1127 if the window cannot be split; otherwise, subsequent calls to
1128 bs-show fail, restoring a stale window config. (Bug#10882)
1129
525795c1
JD
11302012-02-25 Jan Djärv <jan.h.d@swipnet.se>
1131
1132 * term/ns-win.el (global-map): Bind ns-drag-file to
1133 ns-find-file (Bug#5855, Bug#10050).
1134
f008086f
AS
11352012-02-25 Andreas Schwab <schwab@linux-m68k.org>
1136
1137 * calendar/parse-time.el (parse-time-string): Allow extractor to
1138 return nil.
1139
a3fcfa99
MA
11402012-02-25 Michael Albinus <michael.albinus@gmx.de>
1141
91027d08
JB
1142 * net/tramp.el (tramp-file-name-for-operation):
1143 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
1144
1145 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
1146 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1147 Add COPY-CONTENTS argument.
a3fcfa99 1148
67b0de11
CY
11492012-02-25 Chong Yidong <cyd@gnu.org>
1150
1151 Add custom groups for VC backends, for consistency with vc-bzr.
1152
1153 * vc/vc-arch.el (vc-arch):
1154 * vc/vc-cvs.el (vc-cvs):
1155 * vc/vc-git.el (vc-git):
1156 * vc/vc-hg.el (vc-hg):
1157 * vc/vc-mtn.el (vc-mtn):
1158 * vc/vc-rcs.el (vc-rcs):
1159 * vc/vc-sccs.el (vc-sccs):
1160 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1161 All relevant defcustoms reassigned.
1162
3c9dfce6
CY
11632012-02-25 Chong Yidong <cyd@gnu.org>
1164
1339bf43
CY
1165 * newcomment.el (comment-styles): Add autoload (Bug#10868).
1166
3c9dfce6
CY
1167 * term/x-win.el (x-initialize-window-system): Reduce default for
1168 x-selection-timeout to 5 seconds (Bug#8869).
1169
53a46cd0 11702012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 1171
53a46cd0 1172 * files.el (file-subdir-of-p): Fix typo.
14a8a663 1173
25b2e303 11742012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1175
ec70a47d
GM
1176 * files.el (files-equal-p, file-subdir-of-p): New functions.
1177 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 1178 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
1179 * dired-aux.el (dired-copy-file-recursive): Same.
1180 (dired-create-files): Modify destination when source is equal to
1181 dest when copying files.
53a46cd0 1182 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 1183
914260cd
MA
11842012-02-24 Michael Albinus <michael.albinus@gmx.de>
1185
1186 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1187 (Bug#10874)
1188
2cb228f7
AM
11892012-02-23 Alan Mackenzie <acm@muc.de>
1190
1191 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1192 parameter "after-hook:" to allow the expansion to run code after
1193 the execution of the mode hooks.
1194
1195 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 1196 from font-lock-mode-internal.
2cb228f7 1197
91027d08 1198 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
1199 :after-hook.
1200
8f0fde21
SM
12012012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1202
3e88618b
SM
1203 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1204 (completion--cache-all-sorted-completions): New function.
1205 (completion-all-sorted-completions): Use it.
1206 (completion--do-completion, minibuffer-force-complete):
1207 Use it to re-instate the flush hook.
1208
8f0fde21
SM
1209 * icomplete.el (icomplete-completions): Replace last fix with a better
1210 one (bug#10850).
1211
8e911f6f
DG
12122012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1213
1214 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1215 when it might call us back infinitely (bug#10797).
1216
49fe4321
GM
12172012-02-23 Glenn Morris <rgm@gnu.org>
1218
1219 * minibuffer.el (completion-category-overrides): Doc fix.
1220
b291b572
SM
12212012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1222
1223 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1224 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1225
31a9ef2e
GM
12262012-02-23 Glenn Morris <rgm@gnu.org>
1227
5e6e6794 1228 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
1229 (authors-obsolete-files-regexps, authors-ignored-files)
1230 (authors-ambiguous-files, authors-renamed-files-alist):
1231 Add more entries.
1232
0bd1e074
JL
12332012-02-23 Juri Linkov <juri@jurta.org>
1234
1235 * isearch.el (isearch-occur): Sync interactive spec with occur's
1236 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1237
b617673c
JL
1238 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1239
19e9789e
JL
12402012-02-22 Juri Linkov <juri@jurta.org>
1241
1242 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1243 (ucs-insert): Doc fix. Check for hex digits in the string.
1244 Don't display `nil' in the error message. (Bug#10857)
1245
f41ce09d
AM
12462012-02-22 Alan Mackenzie <acm@muc.de>
1247
7a71b18d 1248 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 1249
ac2eceee
GM
12502012-02-22 Glenn Morris <rgm@gnu.org>
1251
1252 * ffap.el (ffap-c-path):
1253 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1254
abd1f678
CY
12552012-02-22 Chong Yidong <cyd@gnu.org>
1256
1257 * custom.el (load-theme): Doc fix.
1258
f25aef2e
GM
12592012-02-22 Glenn Morris <rgm@gnu.org>
1260
1261 * dired-x.el (dired-guess-shell-alist-default):
1262 Remove escape sequences from nroff output. (Bug#172)
1263
5f8dc2ca
GM
12642012-02-21 Glenn Morris <rgm@gnu.org>
1265
6ff86ec4
GM
1266 * vc/emerge.el (emerge-defvar-local):
1267 Set `permanent-local' property rather than unused `preserved'.
1268
be3223a3 1269 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
1270 (picture-mode-map): Use it. (Bug#10860)
1271 (picture-mode): Doc fix.
1272
3fe58f4f
JB
12732012-02-21 Juanma Barranquero <lekktu@gmail.com>
1274
1275 * newcomment.el (uncomment-region-default): Remove unused binding.
1276
f9a998c3
GM
12772012-02-21 Glenn Morris <rgm@gnu.org>
1278
1279 * textmodes/picture.el (picture-motion, picture-motion-reverse)
1280 (picture-self-insert, picture-tab-chars): Doc fix.
1281 (picture-mode-map): Fix C-a, C-e.
1282
c6029348
GM
12832012-02-20 Glenn Morris <rgm@gnu.org>
1284
1285 * emacs-lisp/authors.el (authors-aliases): Add another entry.
1286
ab1ce9d7
LL
12872012-02-20 Leo Liu <sdl.web@gmail.com>
1288
1289 * icomplete.el (icomplete-completions): Check FROM arg before
1290 passing to substring (Bug#10850).
1291
0fd40f89
CY
12922012-02-19 Chong Yidong <cyd@gnu.org>
1293
1294 * comint.el: Require ansi-color.
1295 (comint-output-filter-functions): Add ansi-color-process-output.
1296
1297 * ansi-color.el: Don't set comint-output-filter-functions; it is
1298 now in the initial value defined in comint.el.
1299 (ansi-color-apply-face-function): New variable.
1300 (ansi-color-apply-on-region): Use it.
1301 (ansi-color-apply-overlay-face): New function.
1302
1303 * shell.el (shell): No need to require ansi-color.
1304 (shell-mode): Use ansi-color-apply-face-function to highlight
1305 color escapes using font-lock-face property (Bug#10835).
1306
20af2394
CY
13072012-02-19 Chong Yidong <cyd@gnu.org>
1308
1309 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1310 mode-line formats (Bug#10839).
1311
e23a3fbe
GM
13122012-02-18 Glenn Morris <rgm@gnu.org>
1313
b474519e
GM
1314 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1315
1316 * mail/undigest.el (unforward-rmail-message): Doc fix.
1317
e23a3fbe
GM
1318 * saveplace.el (save-place-ignore-files-regexp): Add :version.
1319
57939ff4
EZ
13202012-02-18 Eli Zaretskii <eliz@gnu.org>
1321
1322 * international/characters.el (script-list): Sync with the latest
1323 Unicode Character Database.
1324
0c23686e
AS
13252012-02-18 Andreas Schwab <schwab@linux-m68k.org>
1326
1327 * international/titdic-cnv.el: Remove duplicate coding tag.
1328 * language/cham.el: Likewise.
1329 * language/tai-viet.el: Likewise.
1330
6818b449
GM
13312012-02-18 Glenn Morris <rgm@gnu.org>
1332
1333 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1334 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1335 (calendar-bahai-all-holidays-flag, calendar-other-dates):
1336 * calendar/diary-lib.el (diary-abbreviated-year-flag):
1337 * calendar/holidays.el (holiday-bahai-holidays)
1338 (calendar-holidays, list-holidays):
1339 Use utf-8 Bahá'í in doc-strings, menus, etc.
1340
0311a3fc
TH
13412012-02-17 Tassilo Horn <tassilo@member.fsf.org>
1342
1343 * saveplace.el (save-place-ignore-files-regexp): New variable
1344 allowing for excluding files from saving their location of point.
1345 The default value matches the temporary commit message editing
1346 files from Git, SVN, Bazaar, and Mercurial.
1347 (save-place-to-alist): Use it.
1348
eb864a71
LM
13492012-02-17 Lawrence Mitchell <wence@gmx.li>
1350 Stefan Monnier <monnier@iro.umontreal.ca>
1351
1352 * newcomment.el (uncomment-region-default): Don't leave extra space
1353 when an arg is provided (bug#8150).
1354
ee0ce425
TZ
13552012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1356
eb864a71 1357 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 1358
95ddf442
GM
13592012-02-17 Glenn Morris <rgm@gnu.org>
1360
1361 * net/socks.el: Require network-stream. (Bug#10599)
1362
48dd1e39 13632012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
1364
1365 * international/charprop.el:
1366 * international/uni-name.el:
1367 * international/uni-old-name.el:
1368 * international/uni-comment.el: Regenerate.
1369
d68cd087
GM
13702012-02-16 Glenn Morris <rgm@gnu.org>
1371
1372 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1373 Interactively in calendar buffer, give an error if not on a date.
1374
13932042
GM
13752012-02-15 Glenn Morris <rgm@gnu.org>
1376
1377 * shell.el (shell-delimiter-argument-list):
1378 Revert 2011-02-17 change. (Bug#8027)
1379
c3a70e2b
CY
13802012-02-15 Chong Yidong <cyd@gnu.org>
1381
60236b0d
CY
1382 * minibuffer.el (completion-at-point-functions): Doc fix.
1383
c3a70e2b
CY
1384 * custom.el (defcustom): Doc fix; note use of defvar.
1385
9f26dc24
GM
13862012-02-15 Glenn Morris <rgm@gnu.org>
1387
1388 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1389 Doc fixes.
1390
6546b134
GM
13912012-02-14 Glenn Morris <rgm@gnu.org>
1392
1393 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1394
d29b2b4c
LI
13952012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
1396
1397 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1398 way the ports list is computed.
835bdcba
LI
1399 (smtpmail-query-smtp-server): Prompt the user for a port number if
1400 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 1401
08dcdbc9
TZ
14022012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
1403
1404 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1405
2605051a
GM
14062012-02-13 Glenn Morris <rgm@gnu.org>
1407
1408 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
1409
7ee99f32
TZ
14102012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1411
1412 * net/gnutls.el (gnutls-trustfiles): New variable.
1413 (gnutls-negotiate): Use it.
1414
5f0af64f
LI
14152012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1416
1417 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1418 does its stuff if Gnus is running.
1419
c14fcc95
AM
14202012-02-13 Alan Mackenzie <acm@muc.de>
1421
1422 Fix a loop in c-set-fl-decl-start.
1423
7a71b18d 1424 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
1425 c-backward-syntactic-ws actually moves backwards.
1426
142b4d90
LL
14272012-02-13 Leo Liu <sdl.web@gmail.com>
1428
1429 * net/rcirc.el (rcirc-markup-attributes): Move point to the
1430 beginning so that all \C-o chars are removed.
1431
fa9958a6
TZ
14322012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1433
dc9924b8 1434 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 1435
0bc5886a
AM
14362012-02-12 Alan Mackenzie <acm@muc.de>
1437
1438 Fix infinite loop with long macros.
1439 * cc-engine.el (c-state-safe-place): Handle macros properly.
1440
d4bd55e7
CY
14412012-02-12 Chong Yidong <cyd@gnu.org>
1442
1443 * window.el (display-buffer): Doc fix (Bug#10785).
1444
66f3fe22
GM
14452012-02-12 Glenn Morris <rgm@gnu.org>
1446
bd7da63e
GM
1447 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1448 (x-disown-selection-internal, x-get-selection-internal):
1449 Sync docs with the xselect.c versions.
1450
66f3fe22
GM
1451 * allout-widgets.el: Add missing license notice.
1452
3e0d2fa7
GM
14532012-02-11 Glenn Morris <rgm@gnu.org>
1454
cfecdf09
GM
1455 * select.el (x-get-selection-internal, x-own-selection-internal)
1456 (x-disown-selection-internal):
1457 * x-dnd.el (x-get-selection-internal): Update declarations.
1458
6d216d7f
GM
1459 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1460
2bed3f04
GM
1461 * window.el (window-sides-slots):
1462 * tool-bar.el (tool-bar-position):
1463 * term/xterm.el (xterm-extra-capabilities):
1464 * ses.el (ses-self-reference-early-detection):
1465 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1466 (verilog-auto-wire-type)
1467 (verilog-auto-delete-trailing-whitespace)
1468 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1469 (verilog-auto-tieoff-declaration):
1470 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1471 (sql-oracle-statement-starters, sql-oracle-scan-on):
1472 * progmodes/prolog.el (prolog-align-comments-flag)
1473 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1474 (prolog-left-indent-regexp, prolog-paren-indent-p)
1475 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1476 (prolog-types, prolog-mode-specificators)
1477 (prolog-determinism-specificators, prolog-directives)
1478 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1479 (prolog-electric-dot-flag)
1480 (prolog-electric-dot-full-predicate-template)
1481 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1482 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1483 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1484 (prolog-program-switches, prolog-prompt-regexp)
1485 (prolog-debug-on-string, prolog-debug-off-string)
1486 (prolog-trace-on-string, prolog-trace-off-string)
1487 (prolog-zip-on-string, prolog-zip-off-string)
1488 (prolog-use-standard-consult-compile-method-flag)
1489 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1490 (prolog-imenu-max-lines, prolog-info-predicate-index)
1491 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1492 (prolog-char-quote-workaround):
1493 * progmodes/cc-vars.el (c-defun-tactic):
1494 * net/tramp.el (tramp-encoding-command-interactive)
1495 (tramp-local-end-of-line):
1496 * net/soap-client.el (soap-client):
1497 * net/netrc.el (netrc-file):
1498 * net/gnutls.el (gnutls):
1499 * minibuffer.el (completion-category-overrides)
1500 (completion-cycle-threshold)
1501 (completion-pcm-complete-word-inserts-delimiters):
1502 * man.el (Man-name-local-regexp):
1503 * mail/feedmail.el (feedmail-display-full-frame):
1504 * international/characters.el (glyphless-char-display-control):
1505 * eshell/em-ls.el (eshell-ls-date-format):
1506 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1507 (lisp-lambda-list-keyword-parameter-indentation)
1508 (lisp-lambda-list-keyword-parameter-alignment):
1509 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1510 * dired-x.el (dired-omit-verbose):
1511 * cus-theme.el (custom-theme-allow-multiple-selections):
1512 * calc/calc.el (calc-highlight-selections-with-faces)
1513 (calc-lu-field-reference, calc-lu-power-reference)
1514 (calc-note-threshold):
1515 * battery.el (battery-mode-line-limit):
1516 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1517 (archive-7z-update):
1518 * allout.el (allout-prefixed-keybindings)
1519 (allout-unprefixed-keybindings)
1520 (allout-inhibit-auto-fill-on-headline)
1521 (allout-flattened-numbering-abbreviation):
1522 * allout-widgets.el (allout-widgets-auto-activation)
1523 (allout-widgets-icons-dark-subdir)
1524 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1525 (allout-widgets-theme-dark-background)
1526 (allout-widgets-theme-light-background)
1527 (allout-widgets-item-image-properties-emacs)
1528 (allout-widgets-item-image-properties-xemacs)
1529 (allout-widgets-run-unit-tests-on-load)
1530 (allout-widgets-time-decoration-activity)
1531 (allout-widgets-hook-error-post-time)
1532 (allout-widgets-track-decoration):
1533 Add missing :version tags to new defcustoms and defgroups.
1534
5fec1b8e
GM
1535 * progmodes/sql.el (sql-ansi-statement-starters)
1536 (sql-oracle-statement-starters): Add custom type.
1537
3e0d2fa7
GM
1538 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1539 (prolog-system-version): Give it a type.
1540
90b671e2
EZ
15412012-02-11 Eli Zaretskii <eliz@gnu.org>
1542
1543 * term/pc-win.el (x-select-text, x-selection-owner-p)
1544 (x-own-selection-internal, x-disown-selection-internal)
1545 (x-get-selection-internal): Sync doc strings and argument lists
1546 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1547
5eac0c02
LL
15482012-02-11 Leo Liu <sdl.web@gmail.com>
1549
1550 * progmodes/python.el (python-end-of-statement): Fix infinite
1551 loop. (Bug#10788)
1552
f82cb659
GM
15532012-02-10 Glenn Morris <rgm@gnu.org>
1554
1555 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1556 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1557
cc26d239
LI
15582012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1559
1560 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1561 about SMTP before checking the From header.
1562
91027d08 1563 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
1564 into own function for reuse by emacsbug.el.
1565
1be3ca5a
LL
15662012-02-10 Leo Liu <sdl.web@gmail.com>
1567
1568 * subr.el (condition-case-unless-debug): Rename from
1569 condition-case-no-debug. All callers changed.
1570 (with-demoted-errors): Fix caller.
1571
1572 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1573 * nxml/rng-valid.el (rng-do-some-validation):
1574 * emacs-lisp/package.el (package-refresh-contents)
1575 (package-menu-execute):
1576 * desktop.el (desktop-create-buffer):
91027d08 1577 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 1578
b011fbfe
GM
15792012-02-10 Glenn Morris <rgm@gnu.org>
1580
b2096d72
GM
1581 * textmodes/bibtex.el:
1582 Add missing :version tags for new/changed defcustoms.
1583
b011fbfe
GM
1584 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1585
4c7e65bf
LI
15862012-02-09 Lars Ingebrigtsen <larsi@rusty>
1587
1588 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1589 (smtpmail-via-smtp): Use it, or fall back on the From address.
1590 (smtpmail-send-it): Ditto.
1591
f3934f6f
SM
15922012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1593
1594 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1595 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1596 (byte-compile-tmp-var): New const.
1597 (byte-compile-defvar): Use it to minimize .elc size.
1598 Just use `defvar' rather than simulate it (bug#10761).
1599
a075a2c5
GM
16002012-02-09 Glenn Morris <rgm@gnu.org>
1601
cf3aa21b
GM
1602 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1603
354998cd
GM
1604 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1605 Add :version tags.
1606
dc9924b8
SM
1607 * progmodes/compile.el (compilation-error-screen-columns)
1608 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 1609
dab3703d
GM
1610 * vc/log-view.el (log-view-toggle-entry-display):
1611 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1612
3f88cd72
GM
1613 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1614 (report-emacs-bug-can-use-xdg-email):
1615 (report-emacs-bug-insert-to-mailer): Doc fixes.
1616 (report-emacs-bug): Message fix.
1617
d95b247d
GM
1618 * net/browse-url.el (browse-url-can-use-xdg-open)
1619 (browse-url-xdg-open): Doc fixes.
1620
a075a2c5
GM
1621 * electric.el (electric-indent-mode, electric-pair-mode)
1622 (electric-layout-rules, electric-layout-mode): Doc fixes.
1623 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1624
ffb6157e
MR
16252012-02-08 Martin Rudalics <rudalics@gmx.at>
1626
1627 * server.el (server-unselect-display): Don't inadvertently kill
1628 the current buffer. (Bug#10729)
1629
e1ac4066
GM
16302012-02-08 Glenn Morris <rgm@gnu.org>
1631
34e8a2da
GM
1632 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1633 (sql-list-table): Doc fixes.
1634
b4ac6e8c
GM
1635 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1636 Comment out (does nothing).
1637
e1ac4066
GM
1638 * completion.el (dynamic-completion-mode):
1639 * dirtrack.el (dirtrack-debug-mode):
1640 * electric.el (electric-layout-mode):
1641 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1642 * face-remap.el (text-scale-mode, buffer-face-mode):
1643 * iimage.el (iimage-mode):
1644 * image-mode.el (image-transform-mode):
1645 * minibuffer.el (completion-in-region-mode):
1646 * scroll-lock.el (scroll-lock-mode):
1647 * simple.el (next-error-follow-minor-mode):
1648 * tar-mode.el (tar-subfile-mode):
1649 * tooltip.el (tooltip-mode):
1650 * vcursor.el (vcursor-use-vcursor-map):
1651 * wid-browse.el (widget-minor-mode):
1652 * emulation/tpu-edt.el (tpu-edt-mode):
1653 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1654 * international/iso-ascii.el (iso-ascii-mode):
1655 * language/thai-util.el (thai-word-mode):
1656 * mail/supercite.el (sc-minor-mode):
1657 * net/goto-addr.el (goto-address-mode):
1658 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1659 * progmodes/cwarn.el (cwarn-mode):
1660 * progmodes/flymake.el (flymake-mode):
1661 * progmodes/glasses.el (glasses-mode):
1662 * progmodes/hideshow.el (hs-minor-mode):
1663 * progmodes/pascal.el (pascal-outline-mode):
1664 * textmodes/enriched.el (enriched-mode):
1665 * vc/smerge-mode.el (smerge-mode):
1666 Doc fixes (minor mode argument).
1667
5e0d957f
EZ
16682012-02-07 Eli Zaretskii <eliz@gnu.org>
1669
1670 * ls-lisp.el (ls-lisp-sanitize): New function.
1671 (ls-lisp-insert-directory): Use it to fix or remove any elements
1672 in file-alist with missing attributes. (Bug#4673)
1673
98d7371e
AM
16742012-02-07 Alan Mackenzie <acm@muc.de>
1675
1676 Fix spurious recognition of c-in-knr-argdecl.
1677
1678 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1679 putative K&R region.
1680
667ced3a
AM
16812012-02-07 Alan Mackenzie <acm@muc.de>
1682
eb864a71
LM
1683 * progmodes/cc-engine.el (c-forward-objc-directive):
1684 Prevent looping in "#pragma mark @implementation".
667ced3a 1685
5b77774d
MA
16862012-02-07 Michael Albinus <michael.albinus@gmx.de>
1687
1688 * notifications.el (notifications-on-closed-signal): Make `reason'
1689 optional. (Bug#10744)
1690
af008560
GM
16912012-02-07 Glenn Morris <rgm@gnu.org>
1692
60d47423
GM
1693 * emacs-lisp/easy-mmode.el (define-minor-mode):
1694 Doc fixes for the macro and the mode it defines.
1695
dd605cc4
GM
1696 * image.el (imagemagick-types-inhibit): Doc fix.
1697
af008560
GM
1698 * cus-start.el (imagemagick-render-type): Add it.
1699
5cc59a37
LI
17002012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1701
1702 * progmodes/cc-mode.el
1703 (c-standard-font-lock-fontify-region-function): Set the default at
1704 load time, too, so that `font-lock-fontify-buffer' can be called
1705 without setting up the entire mode first. This fixes a bug in
1706 `mm-inline-text' with C MIME parts.
1707
9a6dd747
CY
17082012-02-06 Chong Yidong <cyd@gnu.org>
1709
2d16b285
CY
1710 * simple.el (list-processes--refresh): Delete exited processes
1711 (Bug#8094).
1712
171e9b6e
CY
1713 * comint.el (comint-next-prompt): next-single-char-property-change
1714 and prev-single-char-property-change never return nil (Bug#8657).
1715
9a6dd747
CY
1716 * custom.el (defcustom): Doc fix (Bug#9711).
1717
aa4589a7
CY
17182012-02-05 Chong Yidong <cyd@gnu.org>
1719
5c2a252f
CY
1720 * cus-edit.el (custom-variable-reset-backup): Quote the value
1721 before storing it in the customized-value property (Bug#6712).
4aab9006 1722 (custom-display): Add a customization type tag.
983b9602 1723 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 1724
aa4589a7
CY
1725 * wid-edit.el (widget-field-value-get): New optional arg to
1726 suppress trailing whitespace truncation.
1727 (character): Use it (Bug#2689).
1728
1ff980ae
AS
17292012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1730
1731 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1732 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1733
03988c98
CY
17342012-02-05 Chong Yidong <cyd@gnu.org>
1735
eeb6cc88
CY
1736 * cus-edit.el (custom-variable-value-create): For mismatched
1737 types, show the current value (Bug#7600).
1738
03988c98
CY
1739 * custom.el (defcustom): Doc fix.
1740
f8cdeef0
GM
17412012-02-05 Glenn Morris <rgm@gnu.org>
1742
1743 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1744
0696d255
JB
17452012-02-05 Juanma Barranquero <lekktu@gmail.com>
1746
1747 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1748 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1749 (pp-last-sexp): Use `looking-at-p'.
1750
34c99998
GM
17512012-02-04 Glenn Morris <rgm@gnu.org>
1752
8f05da42
GM
1753 * files.el (revert-buffer):
1754 Doc fix (mention revert-buffer-in-progress-p).
1755
f160676e
GM
1756 * emacs-lisp/ert-x.el (ert-simulate-command):
1757 Check deferred-action-list (which is obsolete) is bound.
1758
c7291ad9
GM
1759 * subr.el (with-wrapper-hook): Doc fixes.
1760
34c99998
GM
1761 * simple.el (filter-buffer-substring-functions)
1762 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1763
6283a7d3
LL
17642012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1765
1766 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1767 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1768
e96e3013
LL
17692012-02-04 Leo Liu <sdl.web@gmail.com>
1770
1771 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1772
8ded50f2
GM
17732012-02-04 Glenn Morris <rgm@gnu.org>
1774
82ff1d13
GM
1775 * image.el (image-extension-data): Add obsolete alias.
1776
987a0a16
GM
1777 * isearch.el (isearch-update): Doc fix.
1778
ea32ef46
GM
1779 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1780
8ded50f2
GM
1781 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1782
eea14f31
GM
17832012-02-03 Glenn Morris <rgm@gnu.org>
1784
1785 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1786 (image-animate-timeout): Doc fix.
1787
1788 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1789
12f381b7
GM
17902012-02-02 Glenn Morris <rgm@gnu.org>
1791
953cebf5
GM
1792 * server.el (server-auth-dir): Doc fix.
1793 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1794
12f381b7
GM
1795 * subr.el (run-mode-hooks): Doc fix.
1796
953a8c3b
JL
17972012-02-02 Juri Linkov <juri@jurta.org>
1798
1799 * image-mode.el (image-toggle-display-image): Remove tautological
1800 `major-mode' from the `derived-mode-p' test.
1801
c5d3843c
KH
18022012-02-02 Kenichi Handa <handa@m17n.org>
1803
9f6e692e 1804 * composite.el (compose-region): Cancel previous change.
c5d3843c 1805
159462d4 18062012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
1807
1808 * composite.el (compose-region, compose-string): Signal error for
1809 a null string component (Bug#6988).
1810
9f562668
CY
18112012-02-01 Chong Yidong <cyd@gnu.org>
1812
e2cef717
CY
1813 * view.el (view-buffer-other-window, view-buffer-other-frame):
1814 Handle special modes like view-buffer (Bug#10650).
1815 (view-buffer): Simplify.
1816
9f562668
CY
1817 * frame.el (set-frame-font): Tweak meaning of third argument.
1818
9f6e692e
JB
1819 * dynamic-setting.el (font-setting-change-default-font):
1820 Use set-frame-font (Bug#9982).
9f562668 1821
781acb9f
GM
18222012-02-01 Glenn Morris <rgm@gnu.org>
1823
6035be52
GM
1824 * progmodes/compile.el (compilation-internal-error-properties):
1825 Respect compilation-first-column in the "*compilation*" buffer.
1826
781acb9f
GM
1827 * emacs-lisp/easy-mmode.el (define-minor-mode):
1828 Relax :variable's test for a named function.
1829
abbceb00
AM
18302012-01-31 Alan Mackenzie <acm@muc.de>
1831
1832 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1833 off by one error.
1834
fce3fdeb
CY
18352012-01-31 Chong Yidong <cyd@gnu.org>
1836
1837 * frame.el (set-frame-font): New arg ALL-FRAMES.
1838
1839 * menu-bar.el (menu-set-font): Use set-frame-font.
1840
1841 * faces.el (face-spec-reset-face): Don't apply unspecified
1842 attribute values to the default face.
1843
47893581
JB
18442012-01-31 Juanma Barranquero <lekktu@gmail.com>
1845
1846 * progmodes/cwarn.el (cwarn): Remove dead link.
1847 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1848 Remove * from defcustom docstrings.
1849 (turn-on-cwarn-mode): Make obsolete.
1850 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1851 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1852
e58e988a
GM
18532012-01-31 Glenn Morris <rgm@gnu.org>
1854
60dc2671 1855 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 1856 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 1857 Allow named functions to be used as the cdr of :variable.
e58e988a 1858
7a3f511d
GM
18592012-01-30 Glenn Morris <rgm@gnu.org>
1860
1861 * emacs-lisp/authors.el (authors-fixed-entries):
1862 Remove reference to deleted file rnewspost.el.
1863
cb882333
JB
18642012-01-29 Juanma Barranquero <lekktu@gmail.com>
1865
1866 * window.el (window-with-parameter): Remove unused variable `windows'.
1867 (window--side-check): Remove unused variable `code'.
1868 (window--resize-siblings): Remove unused variable `first'.
1869 (adjust-window-trailing-edge): Remove unused variable `failed'.
1870 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1871 Use `let', not `let*'.
1872 (balance-windows-2): Remove unused variable `found'.
1873 (window--state-put-2): Remove unused variable `splits'.
1874 (window-state-put): Remove unused variable `selected'.
1875 (same-window-p): Use `string-match-p'.
1876 (display-buffer-assq-regexp): Remove unused variable `value'.
1877 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1878 Mark argument ALIST as ignored.
1879 (pop-to-buffer): Remove unused variable `old-window'.
1880
907201af
EZ
18812012-01-29 Eli Zaretskii <eliz@gnu.org>
1882
1883 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1884 and .lzma compressed files.
1885
ea162670
CY
18862012-01-29 Chong Yidong <cyd@gnu.org>
1887
5b95ee8a
CY
1888 * frame.el (window-system-default-frame-alist): Doc fix.
1889
ea162670
CY
1890 * dynamic-setting.el (font-setting-change-default-font): Don't
1891 change the default face if SET-FONT argument is non-nil (Bug#9982).
1892
d6e6f4b1
SB
18932012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
1894
1895 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1896
0f29fa41 18972012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
1898
1899 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1900 breakpoints in files outside current directory (Bug#6098).
1901
db174434
CY
19022012-01-29 Chong Yidong <cyd@gnu.org>
1903
6b25e4e2
SE
1904 * progmodes/python.el: Require ansi-color at top-level.
1905
6df6ae42
JB
1906 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1907 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
1908 (lisp-mode-abbrev-table): Add doc.
1909 (lisp-mode-variables): Don't set local-abbrev-table.
1910 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1911
e70ee681
RW
19122012-01-28 Roland Winkler <winkler@gnu.org>
1913
1914 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1915
ace88aa2
RW
19162012-01-28 Roland Winkler <winkler@gnu.org>
1917
1918 * textmodes/bibtex.el (bibtex-entry-alist): New function.
1919 (bibtex-set-dialect): Use it. Either set global values of
1920 dialect-dependent variables or bind these variables buffer-locally
1921 (Bug#10254).
1922 (bibtex-mode): Call bibtex-set-dialect via
1923 hack-local-variables-hook.
eb864a71
LM
1924 (bibtex-dialect): Update docstring.
1925 Add safe-local-variable predicate.
ace88aa2
RW
1926 (bibtex-entry-alist, bibtex-field-alist): Initialize via
1927 bibtex-set-dialect.
1928 (bibtex-mode-map): Define menu for each dialect.
1929 (bibtex-entry): Fix docstring.
1930
93376c5b
CY
19312012-01-28 Chong Yidong <cyd@gnu.org>
1932
1933 * eshell/esh-arg.el (eshell-quote-argument): New function.
1934
1935 * eshell/esh-ext.el (eshell-invoke-batch-file):
1936 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1937 first arg to eshell-parse-command (Bug#10523).
1938
4372494f
DA
19392012-01-28 Drew Adams <drew.adams@oracle.com>
1940
1941 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1942 `default-directory' is non-nil.
1943
4d4ec1f8
EZ
19442012-01-28 Eli Zaretskii <eliz@gnu.org>
1945
1946 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1947 line that displays system-configuration-options. (Bug#9924)
1948
7c188927
DA
19492012-01-28 Drew Adams <drew.adams@oracle.com>
1950
1951 * descr-text.el (describe-char): Show information about POS, in
1952 addition to information about the character at POS. Improve and
1953 update the doc string. Change "code point" to "code point in
1954 charset", to avoid confusion with the character's Unicode code
1955 point shown above that. (Bug#10129)
1956
e0da685a
EZ
19572012-01-28 Eli Zaretskii <eliz@gnu.org>
1958
1959 * descr-text.el (describe-char): Show the raw character, not only
1960 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
1961 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1962 for the reasons.
1963
70550acf
PH
19642012-01-28 Phil Hagelberg <phil@hagelb.org>
1965
eb864a71
LM
1966 * emacs-lisp/package.el (package-install):
1967 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 1968
0ce8e868
CY
19692012-01-28 Chong Yidong <cyd@gnu.org>
1970
cb882333
JB
1971 * emacs-lisp/package.el (package-maybe-load-descriptor):
1972 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
1973 (package-maybe-load-descriptor): Use it.
1974 (package-download-transaction): Fully load required packages
1975 inside the loop, so that `require' calls work (Bug#10593).
1976 (package-install): No need to call package-initialize now.
1977
2e7f3bea
CY
19782012-01-28 Chong Yidong <cyd@gnu.org>
1979
6e9bad14
CY
1980 * simple.el (deactivate-mark): Doc fix (Bug#8614).
1981
f823b8ca
CY
1982 * tooltip.el (tooltip-mode): Doc fix.
1983 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1984
2680c309
CY
1985 * frame.el (set-cursor-color): Doc fix (Bug#352).
1986
d7a9e63b
CY
1987 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1988 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1989
2e7f3bea
CY
1990 * cus-edit.el (custom-buffer-create-internal): Fix search button
1991 action (Bug#10542).
2ae01800 1992 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 1993
fc4f7a23
EW
19942012-01-27 Eduard Wiebe <usenet@pusto.de>
1995
1996 * dired.el (dired-mark-files-regexp):
1997 Include any subdirectory components. (Bug#10445)
1998
7dd37071
ML
19992012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2000
2001 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2002 Handle [host]:port syntax. (Bug#10533)
2003
a268160b
AH
20042012-01-27 Alex Harsanyi <harsanyi@mac.com>
2005
2006 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2007
e43273ef
GM
20082012-01-26 Glenn Morris <rgm@gnu.org>
2009
2010 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2011 * term.el (term-raw-escape-map): Use Control-X-prefix.
2012 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2013
1edf595d
MR
20142012-01-25 Martin Rudalics <rudalics@gmx.at>
2015
2016 * window.el (window-state-get, window--state-get-1): Don't deal
2017 with fixed-sizeness of windows. Simplify code.
2018
fa8eafef
JC
20192012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2020
6df6ae42
JB
2021 * window.el (window--state-get-1, window--state-put-2):
2022 Don't save and restore the mark.
fa8eafef 2023
0b21c100
CY
20242012-01-25 Chong Yidong <cyd@gnu.org>
2025
2026 * custom.el (custom-variable-p): Doc fix.
2027
5ae1a6c8
GM
20282012-01-25 Glenn Morris <rgm@gnu.org>
2029
40047858
GM
2030 * dired.el (dired-goto-file): Handle some of the more common
2031 characters that `ls -b' escapes. (Bug#10596)
2032
5ddce96c
GM
2033 * progmodes/compile.el (compilation-next-error-function):
2034 Respect compilation-first-column in the "*compilation*" buffer.
2035 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2036
5ae1a6c8
GM
2037 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2038
b559f1a9
GM
20392012-01-24 Glenn Morris <rgm@gnu.org>
2040
2041 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2042
6725d21a
JD
20432012-01-24 Julien Danjou <julien@danjou.info>
2044
2045 * color.el (color-rgb-to-hsl): Fix value computing.
2046 (color-hue-to-rgb): New function.
2047 (color-hsl-to-rgb): New function.
2048 (color-clamp, color-saturate-hsl, color-saturate-name)
2049 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2050 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2051
70df4bbe
GM
20522012-01-24 Glenn Morris <rgm@gnu.org>
2053
2054 * vc/vc-rcs.el (vc-rcs-create-tag):
2055 * vc/vc-sccs.el (vc-sccs-create-tag):
2056 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2057
802a2ae2
ML
20582012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2059
2060 * eshell/esh-util.el (eshell-read-hosts-file):
2061 Skip comment lines. (Bug#10549)
2062
d7128bb1
ML
2063 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2064
d1a5c3b4
JB
20652012-01-23 Juanma Barranquero <lekktu@gmail.com>
2066
2724d9c7
JB
2067 * subr.el (display-delayed-warnings): Doc fix.
2068 (collapse-delayed-warnings): New function to collapse identical
2069 adjacent warnings.
2070 (delayed-warnings-hook): Add it.
d1a5c3b4 2071
a5509865
MA
20722012-01-22 Michael Albinus <michael.albinus@gmx.de>
2073
2074 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2075
2076 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2077 properties, when "login-as" is set.
2078
2079 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2080 (tramp-default-user-alist): Don't add "pscp".
2081 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2082 property "login-as", if set. (Bug#10530)
2083
cc6d5805
MA
20842012-01-21 Michael Albinus <michael.albinus@gmx.de>
2085
2086 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2087 "plink1" and "psftp". (Bug#10530)
2088
20892012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
2090
2091 * international/mule-cmds.el (prefer-coding-system): Show a
2092 warning message if the default value of file-name-coding-system
2093 was not changed.
2094
f0960428
JC
20952012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2096
cb882333
JB
2097 * windmove.el (windmove-reference-loc):
2098 Fix windmove-reference-loc miscalculation.
f0960428 2099
dd6f2a63
JB
21002012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2101
2102 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2103 default unit.
2104
7b447e9b
GM
21052012-01-21 Glenn Morris <rgm@gnu.org>
2106
117a9ea1
GM
2107 * international/mule.el (auto-coding-alist): Add .tbz.
2108
7b447e9b
GM
2109 * files.el (local-enable-local-variables): Doc fix.
2110 (inhibit-local-variables-regexps): Rename from
2111 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
2112 Doc fix. Add some extensions from auto-coding-alist.
2113 (inhibit-local-variables-suffixes):
2114 Rename from inhibit-first-line-modes-suffixes. Doc fix.
2115 (inhibit-local-variables-p):
2116 New function, extracted from set-auto-mode-1.
2117 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
2118 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
2119 (hack-local-variables): Doc fix. Make the mode-only case
2120 respect enable-local-variables and friends.
2121 Respect inhibit-local-variables-regexps for file-locals, but
2122 not for directory-locals.
2123 (set-visited-file-name):
2124 Take account of inhibit-local-variables-regexps.
2125 Whether it applies may change as the file name is changed.
2126 * jka-cmpr-hook.el (jka-compr-install):
2127 * jka-compr.el (jka-compr-uninstall):
2128 Update for inhibit-first-line-modes-suffixes name change.
2129
dd6e3cdd
MR
21302012-01-20 Martin Rudalics <rudalics@gmx.at>
2131
2132 * help-macro.el (make-help-screen): Temporarily restore original
2133 binding for minor-mode-map-alist (Bug#10454).
2134
0d0deb38
JD
21352012-01-19 Julien Danjou <julien@danjou.info>
2136
2137 * color.el (color-name-to-rgb): Use the white color to find the max
2138 color component value and return correctly computed values.
2139 (color-name-to-rgb): Add missing float conversion for max value.
2140
34a02f46
MR
21412012-01-19 Martin Rudalics <rudalics@gmx.at>
2142
2143 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
2144 special state value for window-persistent-parameters.
2145 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
2146 (window--state-put-2): Reset all window parameters to nil before
2147 assigning values of persistent parameters.
2148
606c44c4
AM
21492012-01-18 Alan Mackenzie <acm@muc.de>
2150
2151 Eliminate sluggishness and hangs in fontification of "semicolon
2152 deserts".
2153
cb882333
JB
2154 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2155 Change value 10000 -> 3000.
606c44c4
AM
2156 (c-state-safe-place): Reformulate so it doesn't stack up an
2157 infinite number of wrong entries in c-state-nonlit-pos-cache.
2158 (c-determine-limit-get-base, c-determine-limit): New functions to
2159 determine backward search limits disregarding literals.
2160 (c-find-decl-spots): Amend commenting.
2161 (c-cheap-inside-bracelist-p): New function which detects "={".
2162
2163 * progmodes/cc-fonts.el
2164 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2165 backward search.
2166 (c-font-lock-declarations): Fix an occurrence of point being
2167 undefined. Check additionally for point being in a bracelist or
2168 near a macro invocation without a semicolon so as to avoid a
2169 fruitless time consuming search for a declarator. Give a more
2170 precise search limit for declarators using the new
2171 c-determine-limit.
2172
f3860cea
GM
21732012-01-18 Glenn Morris <rgm@gnu.org>
2174
2175 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2176 (set-auto-mode): Doc fixes.
2177
1db03b16
GM
21782012-01-17 Glenn Morris <rgm@gnu.org>
2179
0e6038be
GM
2180 * isearch.el (search-nonincremental-instead): Fix doc typo.
2181
1db03b16
GM
2182 * dired.el (dired-insert-directory): Handle newlines in directory name.
2183 (dired-build-subdir-alist): Unescape newlines in directory name.
2184
4cb0aa75
MA
21852012-01-17 Michael Albinus <michael.albinus@gmx.de>
2186
2187 * net/tramp.el (tramp-local-end-of-line): New defcustom.
2188 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2189 (tramp-action-terminal): Use it. (Bug#10530)
2190
1d00653d
SM
21912012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2192
2193 * minibuffer.el (completion--replace): Strip properties (bug#10062).
2194
6a6ee00d
MR
21952012-01-16 Martin Rudalics <rudalics@gmx.at>
2196
2197 * window.el (window-state-ignored-parameters): Remove variable.
2198 (window--state-get-1): Rename argument MARKERS to IGNORE.
2199 Handle persistent window parameters. Make copy of clone-of
2200 parameter only if requested. (Bug#10348)
2201 (window--state-put-2): Install a window parameter only if it has
2202 a non-nil value or an existing parameter shall be overwritten.
2203
97912def
MA
22042012-01-15 Michael Albinus <michael.albinus@gmx.de>
2205
2206 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2207
688070a5
EZ
22082012-01-14 Eli Zaretskii <eliz@gnu.org>
2209
2210 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2211 don't pass the (nil) value of `upnode' to string-match.
2212
301afadc
CY
22132012-01-14 Chong Yidong <cyd@gnu.org>
2214
2215 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 2216 Fix values recognized by the cursorBlink resource.
301afadc 2217
9e5788aa
PE
22182012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2219
2220 * epg.el (epg--make-temp-file): Avoid permission race condition
2221 when running on old Emacs versions (bug#10403).
2222
3cdb7f5a
GM
22232012-01-14 Glenn Morris <rgm@gnu.org>
2224
2225 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2226
8c82b1b4
AM
22272012-01-13 Alan Mackenzie <acm@muc.de>
2228
2229 Fix filling for when filladapt mode is enabled.
2230
2231 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2232 c-mask-paragraph, pass in `fill-paragraph' rather than
2233 `fill-region-as-paragraph'. (This is a reversion of a previous
2234 change.)
eb864a71
LM
2235 * progmodes/cc-mode.el (c-basic-common-init):
2236 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 2237
e517eda4
GM
22382012-01-13 Glenn Morris <rgm@gnu.org>
2239
1498536e
GM
2240 * dired.el (dired-switches-escape-p): New function.
2241 (dired-insert-directory): Use dired-switches-escape-p.
2242 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2243
e517eda4
GM
2244 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2245
328f984d
GM
22462012-01-12 Glenn Morris <rgm@gnu.org>
2247
2248 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2249 changes in adaptive-fill-regexp. (Bug#10276)
2250
2cc769a8
AM
22512012-01-11 Alan Mackenzie <acm@muc.de>
2252
2253 Fix Emacs bug #10463 - put `widen's around the critical spots.
2254
1d00653d 2255 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
2256 widen around each invocation of c-state-pp-to-literal. Remove an
2257 unused let variable.
2258
e52c37fa
GM
22592012-01-11 Glenn Morris <rgm@gnu.org>
2260
2261 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 2262 Doc fix.
e52c37fa 2263
96f8741e
CY
22642012-01-10 Chong Yidong <cyd@gnu.org>
2265
1d00653d
SM
2266 * net/network-stream.el (network-stream-open-starttls):
2267 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
2268 response to the capability command.
2269
b09a806e
GM
22702012-01-10 Glenn Morris <rgm@gnu.org>
2271
2272 * mail/unrmail.el (unrmail): Tweak previous change.
2273
7655cb66
CY
22742012-01-09 Chong Yidong <cyd@gnu.org>
2275
2276 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2277
9d5a8f0b
AM
22782012-01-08 Alan Mackenzie <acm@muc.de>
2279
2280 Optimise font locking in long enum definitions.
2281
2282 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2283 arm to a cond form to handle enums.
2284 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2285 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2286
9a0115ab 22872012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
2288
2289 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 2290 (Bug#10401)
6bb72cbd 2291
f186bb95
LMI
22922012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2293
29232a68
LMI
2294 * faces.el (set-face-attribute): Clarify the meaning of the nil
2295 frame (bug#10294).
2296
4e5d086d
LMI
2297 * subr.el (with-selected-frame): Mention that the selected frame
2298 is restored (bug#9980).
2299
8e66aebe
LMI
2300 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2301 (bug#9759).
2302
cd394be1 2303 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
2304 (password-read): Don't autoload unused function.
2305
adf4e762
JB
23062012-01-07 Juanma Barranquero <lekktu@gmail.com>
2307
2308 * progmodes/which-func.el (which-func-mode): Turn into a
2309 non-interactive function and mark as obsolete (bug#10428).
2310
89bd9ccd
CY
23112012-01-06 Chong Yidong <cyd@gnu.org>
2312
2313 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2314 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2315 functions, along with 1 and -1.
2316
4afee9d5
EZ
23172012-01-06 Eli Zaretskii <eliz@gnu.org>
2318
2319 * time.el (display-time-load-average)
2320 (display-time-default-load-average): Doc fixes. See the thread
2321 starting at
2322 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2323 for the details.
2324
536aea70
GM
23252012-01-06 Glenn Morris <rgm@gnu.org>
2326
665ae865
GM
2327 * mail/unrmail.el (unrmail): Give an explicit error if the input file
2328 has no messages. (Bug#10377)
2329
c869783d
GM
2330 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2331 than Info-edit. (Bug#10385)
2332
2bb4227e
GM
2333 * time.el (display-time-load-average, display-time-next-load-average):
2334 Doc fixes.
2335
7d5944b9
GM
2336 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2337 local setting of buffer-read-only to the input buffer. (Bug#10419)
2338
536aea70
GM
2339 * calendar/calendar.el (calendar-mode):
2340 Locally set scroll-margin to 0. (Bug#10379)
2341
7dccca16
UM
23422012-01-06 Ulrich Mueller <ulm@gentoo.org>
2343
2344 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
2345
afbb7930
GM
23462012-01-05 Glenn Morris <rgm@gnu.org>
2347
2348 * eshell/em-unix.el (diff-no-select): Autoload it.
2349 (eshell/diff): Use diff-no-select. (Bug#10420)
2350
04482335
CY
23512012-01-05 Chong Yidong <cyd@gnu.org>
2352
7baca3bc
CY
2353 * shell.el (shell-dynamic-complete-functions): Revert last change.
2354 (shell-command-completion-function): New function.
2355 (shell-completion-vars): Use it to implement
2356 shell-completion-execonly (Bug#10417).
2357
04482335
CY
2358 * custom.el (enable-theme): Don't set custom-safe-themes.
2359
1d00653d
SM
2360 * cus-theme.el (custom-theme-merge-theme):
2361 Ignore custom-enabled-themes and custom-safe-themes.
04482335 2362
bb5aa5d6
MM
23632012-01-05 Michael R. Mauger <mmaug@yahoo.com>
2364
2365 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2366 first prompt in `sql-interacive-mode'.
2367 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 2368 keywords.
6df6ae42 2369 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
2370 (sql-product-interactive): Bug fix: Set `sql-buffer' in
2371 context of original buffer. Invoke `sql-login-hook'.
2372
a7183d7c
EZ
23732012-01-04 Eli Zaretskii <eliz@gnu.org>
2374
2375 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2376 letters in cite-prefix.
2377
a1eacd1e
LMI
23782012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2379
2380 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2381
787cdb34
CY
23822012-01-03 Chong Yidong <cyd@gnu.org>
2383
1d00653d
SM
2384 * shell.el (shell-dynamic-complete-functions):
2385 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
2386 comint-filename-completion first (Bug#10417).
2387
30710442
RS
23882012-01-02 Richard Stallman <rms@gnu.org>
2389
2390 * battery.el (battery-status-function):
2391 Detect when to use battery-yeeloong-sysfs.
2392 (battery-echo-area-format): Add string for Yeeloong.
2393 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2394 (battery-yeeloong-sysfs): New function.
2395
f75bfc33
CY
23962012-01-02 Chong Yidong <cyd@gnu.org>
2397
2398 * dirtrack.el (dirtrack-list): Eliminate unused third element.
2399 (dirtrack): Merge code for handling relative filenames in prompt
2400 from shell-dir-cookie-watcher.
2401 (dirtrack-debug-message): New arg to avoid excess format calls.
2402
2403 * shell.el (shell-dir-cookie-re): Variable deleted.
2404 (shell-dir-cookie-watcher): Function deleted.
2405 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2406 with dirtrack-mode.
2407
651e947e
EZ
24082012-01-01 Eli Zaretskii <eliz@gnu.org>
2409
1d00653d
SM
2410 * term/w32-win.el (dynamic-library-alist) <gnutls>:
2411 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
2412 libgnutls-26.dll.
2413
94d4c7dc
AS
24142011-12-31 Andreas Schwab <schwab@linux-m68k.org>
2415
2416 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2417
8d43f3cd
EZ
24182011-12-31 Eli Zaretskii <eliz@gnu.org>
2419
2420 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2421 headers of non-MIME messages, when rmail-enable-mime is non-nil.
2422
98c8795a
MA
24232011-12-29 Michael Albinus <michael.albinus@gmx.de>
2424
2425 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2426 also for alternative shells.
2427 (tramp-open-connection-setup-interactive-shell): Check, whether
2428 the shell is a busybox.
2429 (tramp-send-command): Don't suppress multiple prompts for
2430 busyboxes, it hurts.
2431
51281b32
CY
24322011-12-28 Chong Yidong <cyd@gnu.org>
2433
2434 * progmodes/gdb-mi.el (gdb-get-source-file-list)
2435 (gdb-get-source-file): Move mode line update to
2436 gdb-get-source-file (Bug#10087).
2437
2170cb53
CY
24382011-12-25 Chong Yidong <cyd@gnu.org>
2439
2440 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2441 gud-gdb-marker-filter without taking it as an argument.
2442 (gud-gdb-run-command-fetch-lines): Caller changed.
2443 (gud-gdb-completion-function): New variable.
2444 (gud-gdb-completion-at-point): Use it.
2445 (gud-gdb-completions-1): Split from gud-gdb-completions.
2446
2447 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2448 function as separate arguments.
2449 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2450 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2451 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2452 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2453 (gdb-stopped, def-gdb-auto-update-trigger)
2454 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
2455 (gdb-get-changed-registers, gdb-get-main-selected-frame):
2456 Callers changed.
2170cb53
CY
2457 (gud-gdbmi-completions): New function.
2458 (gdb): Use it for generating the completion table.
2459
be8b11bb
AM
24602011-12-24 Alan Mackenzie <acm@muc.de>
2461
2462 Introduce a mechanism to widen the region used in context font
1d00653d 2463 locking. Use this to protect declarations from losing their contexts.
be8b11bb 2464
1d00653d
SM
2465 * progmodes/cc-langs.el (c-before-font-lock-functions):
2466 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 2467 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
2468 functions to be run just before context (etc.) font locking.
2469
2470 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 2471 New, functionality extracted from
be8b11bb 2472 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 2473 (c-in-after-change-fontification): New variable.
be8b11bb
AM
2474 (c-after-change): Set c-in-after-change-fontification.
2475 (c-set-fl-decl-start): Rejig its interface, so it can be called
2476 from both after-change and context fontifying.
b81d40f0
JB
2477 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2478 New functions.
2479 (c-standard-font-lock-fontify-region-function): New variable.
2480 (c-font-lock-fontify-region): New function.
be8b11bb 2481
341cf6ac
JL
24822011-12-24 Juri Linkov <juri@jurta.org>
2483
2484 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2485 (Bug#10348)
2486
bffcee0a
MA
24872011-12-23 Michael Albinus <michael.albinus@gmx.de>
2488
2489 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2490 existence of source file. (Bug#10325)
2491
cb5e207c
AM
24922011-12-23 Alan Mackenzie <acm@muc.de>
2493
2494 Fix unstable fontification inside templates.
2495
b81d40f0
JB
2496 * progmodes/cc-langs.el (c-before-font-lock-functions):
2497 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
2498 additionally has c-set-fl-decl-start. The other languages (apart
2499 from AWK) have that as a single entry.
2500
b81d40f0
JB
2501 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2502 The functionality for "local" declarations has been extracted to
cb5e207c
AM
2503 c-set-fl-decl-start.
2504
b81d40f0
JB
2505 * progmodes/cc-mode.el (c-common-init, c-after-change):
2506 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
2507 (c-set-fl-decl-start): New function, extracted from
2508 c-font-lock-enclosing-decls and enhanced.
2509
60ff536c
JB
25102011-12-23 Juanma Barranquero <lekktu@gmail.com>
2511
2512 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2513
1c4757d6
JL
25142011-12-22 Juri Linkov <juri@jurta.org>
2515
2516 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
2517
d031f2c7
CY
25182011-12-22 Chong Yidong <cyd@gnu.org>
2519
2520 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2521
bace743a
DA
25222011-12-21 Drew Adams <drew.adams@oracle.com>
2523
2524 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2525
728a1f2b
JC
25262011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2527
2528 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2529
0d373f73
TZ
25302011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2531
fec0aaa4
TZ
2532 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2533 highlighting and support. Fix up comments for capitalization.
2534 (cfengine-mode-debug): New var.
2535 (cfengine3-mode): Change the modeline indicator to "CFE3".
2536 (cfengine3-font-lock-keywords): Improve defun highlighting.
2537 (cfengine2-actions): Rename from `cfengine-actions'.
2538 (cfengine2-font-lock-keywords): Rename from
2539 `cfengine-font-lock-keywords'.
2540 (cfengine2-imenu-expression): Rename from
2541 `cfengine-imenu-expression'.
2542 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2543 (cfengine2-beginning-of-defun): Rename from
2544 `cfengine-beginning-of-defun'.
2545 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2546 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2547 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2548 modeline indicator to "CFE2".
2549 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2550 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 2551
bc86f573
CY
25522011-12-21 Chong Yidong <cyd@gnu.org>
2553
2554 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2555 filename argument.
2556
d45ba96b
MR
25572011-12-20 Martin Rudalics <rudalics@gmx.at>
2558
2559 * window.el (window-normalize-buffer-to-display): Remove.
2560 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2561
a6198c90
CY
25622011-12-19 Chong Yidong <cyd@gnu.org>
2563
2564 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2565 Don't signal an error in a predicate function; return non-nil.
2566 (vc-dir-mark-file): Move the error here.
2567 (vc-dir-mark-unmark): If acting on the region, keep going if one
2568 of the entries cannot be marked/unmarked.
2569 (vc-dir-mark-all-files): If current entry is a directory, mark
2570 only child files, as documented.
2571
34c5fb55
VB
25722011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2573
2574 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2575 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2576 addition.
2577
c803b2b7
JD
25782011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2579
2580 * term/ns-win.el (ns-get-selection-internal)
2581 (ns-store-selection-internal): Declare.
1154d12e
JB
2582 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2583 Declare as obsolete.
2584 (ns-get-pasteboard, ns-paste-secondary):
2585 Use ns-get-selection-internal.
2586 (ns-set-pasteboard, ns-copy-including-secondary):
2587 Use ns-store-selection-internal.
c803b2b7 2588
9cff91f8 25892011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
2590
2591 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 2592 (vc-deduce-fileset): Doc fix.
99a289d9 2593
f16c898a
AS
25942011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2595
2596 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2597
763237c4
SS
25982011-12-13 Sam Steingold <sds@gnu.org>
2599
2600 * man.el (Man-getpage-in-background): When running under a
2601 window-system, ignore $MANWIDTH and $COLUMNS.
2602
5fc1c122
KH
26032011-12-15 Kenichi Handa <handa@m17n.org>
2604
2605 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2606 (setup-ethiopic-environment-internal): Comment out key-binding for
2607 ethio-toggle-punctuation.
2608
13d49cbb
AM
26092011-12-13 Alan Mackenzie <acm@muc.de>
2610
898169a2
AM
2611 Add the switch statement to AWK Mode.
2612
7a71b18d 2613 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
2614 "default" to the keywords regexp.
2615
7a71b18d 2616 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 2617 expression as the rest.
1d00653d
SM
2618 (c-nonlabel-token-key): Allow string literals for AWK.
2619 Refactor for the other modes.
898169a2 2620
13d49cbb 2621 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 2622 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
2623 routines. Limit backward searching in c-font-lock-enclosing.decl.
2624
2625 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2626 pp-state and literal type in addition to the limits.
1d00653d 2627 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 2628 (c-state-literal-at): Use the above new defun.
1d00653d
SM
2629 (c-slow-in-literal, c-fast-in-literal): Remove.
2630 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
2631
2632 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2633 being in a literal. Add a limit for backward searching.
2634
2635 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2636 c-slow-in-literal.
2637
15e0efc7
SM
26382011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2639
2640 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2641
454592a6
MR
26422011-12-13 Martin Rudalics <rudalics@gmx.at>
2643
2644 * window.el (delete-other-windows): Use correct frame in call to
2645 window-with-parameter.
2646
87393f26
DP
26472011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2648
2649 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2650 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2651 (makefile-gmake-statements, makefile-makepp-statements):
2652 Use it and add new makepp keywords.
2653 (makefile-makepp-font-lock-keywords): Add new patterns.
2654 (makefile-match-function-end): Match new [...] and [[...]].
2655
11636b22
JB
26562011-12-11 Juanma Barranquero <lekktu@gmail.com>
2657
2658 * ses.el (ses-call-printer-return, ses-cell-property-get)
2659 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2660 (ses-create-cell-variable, ses-reset-header-string)
2661 (ses-cell-set-formula, ses-repair-cell-reference-all)
2662 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2663 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2664 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2665 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2666 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2667 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2668 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2669 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2670 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2671 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2672 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2673 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2674
cf018193
VB
26752011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2676
2677 * ses.el: The overall change is to add cell renaming, that is
2678 setting fancy names for cell symbols other than name matching
2679 "\\`[A-Z]+[0-9]+\\'" regexp .
2680 (ses-create-cell-variable): New defun.
2681 (ses-relocate-formula): Relocate formulas only for cells the
2682 symbols of which are not renamed, i.e. symbols whose names do not
2683 match regexp "\\`[A-Z]+[0-9]+\\'".
2684 (ses-relocate-all): Relocate values only for cells the symbols of
2685 which are not renamed.
2686 (ses-load): Create cells variables as the (ses-cell ...) are read,
2687 in order to check row col consistency with cell symbol name only
2688 for cells that are not renamed.
2689 (ses-replace-name-in-formula): New defun.
2690 (ses-rename-cell): New defun.
2691
ee957461
CY
26922011-12-11 Chong Yidong <cyd@gnu.org>
2693
2694 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2695 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2696
9a9e9ef0
MR
26972011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2698
2699 * window.el (other-window): Fix docstring.
2700
92a8eba5
EZ
27012011-12-10 Eli Zaretskii <eliz@gnu.org>
2702
2703 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
2704 `from' or `to' address before taking its substring.
2705 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
2706 encoded name is chopped in the middle of the encoded string, and
2707 thus displayed encoded.
2708
e152e577
JB
27092011-12-10 Juanma Barranquero <lekktu@gmail.com>
2710
2711 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2712
e5d84bfe
EZ
27132011-12-10 Eli Zaretskii <eliz@gnu.org>
2714
2715 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2716 to use texinfo-update-node and commands that call it if the
2717 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 2718 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
2719 (texinfo-all-menus-update, texinfo-master-menu)
2720 (texinfo-update-node, texinfo-every-node-update)
2721 (texinfo-multiple-files-update): Doc fix. Warn against updating
2722 all the @node lines.
2723 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
2724 argument is numeric. Explain better in the doc string what the
2725 function really does.
2726 (texinfo-insert-master-menu-list): Improve the error message
2727 displayed if there's no menu in the Top node.
2728 (Bug#2975) See also this thread:
e5d84bfe
EZ
2729 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2730
1d84e9bb
MG
27312011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2732
2733 * speedbar.el (speedbar-supported-extension-expressions):
2734 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2735
382c953b
JB
27362011-12-09 Juanma Barranquero <lekktu@gmail.com>
2737
2738 * printing.el (pr-mode-alist):
2739 * simple.el (filter-buffer-substring-functions)
2740 (completion-list-insert-choice-function):
2741 * window.el (window-with-parameter, window-atom-root)
2742 (window-sides-slots, window-size-fixed, window-min-delta)
2743 (window-max-delta, window--resize-mini-window)
2744 (window--resize-child-windows-normal, window-tree)
2745 (delete-other-windows, quit-window, split-window)
2746 (display-buffer-record-window, special-display-buffer-names)
2747 (special-display-regexps, special-display-popup-frame)
2748 (same-window-p, split-window-sensibly)
2749 (display-buffer-overriding-action, display-buffer-alist)
2750 (display-buffer-base-action, display-buffer, switch-to-buffer)
2751 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2752 (fit-window-to-buffer, recenter-positions)
2753 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2754 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2755 and remove unneeded backslashes in docstrings.
2756
39c9faef
SM
27572011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2758
98449af8
SM
2759 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2760
39c9faef
SM
2761 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2762 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2763 end in ".mk".
2764 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2765 when reading the makefile (bug#10116).
2766
86ed9fdc
SM
27672011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2768
2769 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2770 (bug#10116).
2771
5580f89d
GM
27722011-12-06 Glenn Morris <rgm@gnu.org>
2773
2774 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2775
28d3917c
CY
27762011-12-06 Chong Yidong <cyd@gnu.org>
2777
2778 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2779
a98edce9
JB
27802011-12-06 Juanma Barranquero <lekktu@gmail.com>
2781
2782 * textmodes/table.el (table-shorten-cell): Fix typo.
2783
e65adfac
CG
27842011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2785
2786 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2787
71cc0b74
EZ
27882011-12-05 Eli Zaretskii <eliz@gnu.org>
2789
2790 * descr-text.el (describe-char): Fix display of strong
2791 right-to-left characters and directional embeddings and overrides.
2792
2793 * simple.el (what-cursor-position): Fix display of codepoints of
2794 strong right-to-left characters.
2795
315bc30d
CY
27962011-12-05 Chong Yidong <cyd@gnu.org>
2797
2798 * faces.el (read-color): Doc fix.
2799
58a70b94
GM
28002011-12-05 Glenn Morris <rgm@gnu.org>
2801
2802 * align.el (align--set-marker): Add doc-string.
2803 Don't try to move something that is not a marker. (Bug#10216)
2804
5158face
GM
28052011-12-04 Glenn Morris <rgm@gnu.org>
2806
2807 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2808 overly zealous deletion of trailing whitespace.
2809
520fca41
JB
28102011-12-04 Juanma Barranquero <lekktu@gmail.com>
2811
2812 * server.el (server-delete-client): On Windows, do not try to delete
2813 the only terminal.
2814 (server-process-filter): On Windows, treat requests for a tty frame as
2815 if they were for a GUI frame if the running server is in GUI mode.
2816
5e605a2e
GM
28172011-12-03 Glenn Morris <rgm@gnu.org>
2818
2819 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2820
5c3fe83f
SM
28212011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2822
6f5e57e7
SM
2823 * electric.el: Streamline electric-indent's hook.
2824 (electric-indent-chars): Revert to simple list.
2825 (electric-indent-functions): New var.
2826 (electric-indent-post-self-insert-function): Use it.
2827
5c3fe83f
SM
2828 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2829 there's no inferior buffer (bug#10196).
2830 (prolog-consult-compile): Don't use toggle-read-only.
2831
6bdac736
MA
28322011-12-02 Michael Albinus <michael.albinus@gmx.de>
2833
2834 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2835 interrupt. (Bug#10187)
2836
6131ba7f
SM
28372011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2838
99c79fee
SM
2839 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2840 (bug#9160).
2841
6131ba7f
SM
2842 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2843 (bug#10191).
2844
cb0a02ea
JL
28452011-12-02 Juri Linkov <juri@jurta.org>
2846
2847 * info.el (Info-search): Display "end of manual" when Isearch
2848 reaches the end of single-file Info manual. (Bug#9918)
2849
66e0570c
EZ
28502011-12-02 Eli Zaretskii <eliz@gnu.org>
2851
2852 * isearch.el (isearch-message-prefix): Run the input method part
2853 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2854
02b16839
JL
28552011-12-02 Juri Linkov <juri@jurta.org>
2856
2857 * isearch.el (isearch-occur): Use `word-search-regexp' for
2858 `isearch-word'.
2859 (isearch-search-and-update): Add condition for `isearch-word' and
2860 call `word-search-regexp'. (Bug#10145)
2861
0b950688
GM
28622011-12-01 Glenn Morris <rgm@gnu.org>
2863
2864 * eshell/em-hist.el (eshell-hist-initialize):
2865 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 2866 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 2867
9505c3c7
SM
28682011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2869
2870 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2871
1bbe96b2 28722011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 2873
a1beca85
SM
2874 * progmodes/verilog-mode.el (verilog-pretty-expr):
2875 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
2876 verilog, such as += *= and the like.
2877 (verilog-assignment-operator-re): Regular expression to find the
2878 assigment operator in a verilog assignment.
2879 (verilog-assignment-operation-re): Regular expression to find an
2880 assignment statement for pretty-expr.
2881 (verilog-in-attribute-p): Query returns true if point is in an
2882 attribute context; used to skip these for expression line up from
2883 pretty-expr.
2884 (verilog-in-parameter-p): Query returns true if point is in an
2885 parameter definition context; used to skip these for expression
2886 line up from pretty-expr.
2887 (verilog-in-parenthesis-p): Query returns true if point is in a
2888 parenthetical expression, specifically ( ) but not [ ] or { };
2889 used by pretty-expr.
2890 (verilog-just-one-space): If there is no space, don't add one.
2891 (verilog-get-lineup-indent-2): Specifically skip just attribute
2892 contexts for expression lineup, rather than skipping all
2893 parenthetical expressions.
2894 (verilog-calculate-indent): Fix comment, and fix indent.
2895 (verilog-do-indent): Indent declarations in lists (suggested by
2896 Joachim Lechner).
2897 (verilog-mode-abbrev-table): Populate abbrev mode with the various
2898 skeleton items.
2899 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2900 by Alain Mellan).
2901
1bbe96b2 29022011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
2903
2904 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2905 parameters with embedded comments. Reported by Ray Stevens.
2906 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2907 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2908 Reported by Tim Holt.
2909 (verilog-auto): Fix AUTOing a upper module then AUTOing module
2910 instantiated by upper module causing wrong expansion until AUTOed a
2911 second time. Reported by K C Buckenmaier.
2912 (verilog-diff-auto): Fix showing .* as a difference when
2913 `verilog-auto-star-save' off. Reported by Dan Dever.
2914 (verilog-auto-reset, verilog-read-always-signals)
2915 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2916 temporary signals in reset list if
2917 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
2918 style to each signal's assignment type, bug381.
2919 Reported by Thomas Esposito.
6288f0ca
WS
2920 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2921 (verilog-uvm-statement-re): Support UVM indentation and
2922 highlighting, with old OVM keywords only.
a1beca85 2923 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
2924 Support AUTOTIEOFF creating non-wire data types.
2925 Suggested by Jonathan Greenlaw.
6288f0ca
WS
2926 (verilog-auto-insert-lisp, verilog-delete-to-paren)
2927 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2928 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
2929 (verilog-read-sub-decls, verilog-read-sub-decls-line):
2930 Fix mismatching parenthesis inside commented out code when deleting
382c953b 2931 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
2932 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2933 non-numeric vector width. Reported by Alex Reed.
2934 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 2935 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
2936 (verilog-auto-delete-trailing-whitespace):
2937 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
2938 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
2939 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2940 Fix verilog-scan-cache corruption when running user AUTO expansion
2941 hooks that call indentation routines.
2942 (verilog-simplify-range-expression): Fix typo ignoring lower case
2943 identifiers.
2944 (verilog-delete-auto): Fix delete-autos to also remove user created
2945 automatics, as long as they start with AUTO.
2946 (verilog-batch-diff-auto, verilog-diff-auto)
2947 (verilog-diff-function): Add `verilog-diff-auto' and bind to
2948 "C-c?" to report differences in AUTO expansion, ignoring spaces.
2949 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2950 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
2951 (verilog-re-search-forward-quick, verilog-syntax-ppss):
2952 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
2953 is disabled and its cache will get corrupt, causing AUTOS not to
2954 expand. Instead use only -quick functions.
2955 (verilog-scan-region): Fix scanning over escaped quotes.
2956 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2957 (verilog-re-search-backward-quick)
2958 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2959 related functions now ignore strings, to fix misparsing of strings
2960 with magic comments embedded in them.
a1beca85
SM
2961 (verilog-read-auto-template):
2962 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2963 Reported by Brad Dobbie.
2964 (verilog-read-auto-template):
2965 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 2966 Reported by Brad Dobbie.
6288f0ca
WS
2967 (verilog-auto-inst, verilog-auto-inst-param)
2968 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2969 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
2970 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
2971 debugging templates without merge conflicts, bug357.
2972 Reported by Brad Dobbie.
2973 (verilog-read-auto-template):
2974 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
2975 Reported by Brad Dobbie.
2976 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2977 abbrevs so user won't be asked to save.
2978 (verilog-read-auto-lisp-present): Fix to start at beginning of
2979 buffer in case called outside of verilog-auto.
2980 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2981 to "X-2". Reported by Matthew Myers.
2982 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2983 all inputs from module templates. Reported by Leith Johnson.
2984 (verilog-module-inside-filename-p): Fix locating programs as with
2985 modules.
2986 (verilog-auto-inst-port): Fix vl-width expressions when using
2987 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
2988 (verilog-decls-get-regs, verilog-decls-get-signals,
2989 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2990 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2991 verilog-read-decls): Combine reg and wire structures into one var
2992 structure to represent SystemVerilog concepts.
2993 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2994 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
2995 (verilog-auto-wire-type, verilog-insert-definition):
2996 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
2997 SystemVerilog "logic" keyword instead of "wire"/"reg".
2998 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2999 to declares outputs that also have assignments (presumably in an
a1beca85
SM
3000 ifdef or generate if so there's not a driver conflict).
3001 Reported by Matthew Myers.
3002 (verilog-auto-declare-nettype, verilog-insert-definition):
3003 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
3004 `default_nettype none. Reported by Julian Gorfajn.
3005 (verilog-read-always-signals-recurse, verilog-read-decls)
3006 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3007 malformed end statement, bug325. Reported by Joshua Wise and
3008 Andrew Drake.
3009 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3010 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
3011 when expanding .* in interfaces, bug320.
3012 Reported by Pierre-David Pfister.
6288f0ca 3013 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
3014 name and open parenthesis, bug317.
3015 Reported by Pierre-David Pfister.
6288f0ca
WS
3016 (verilog-simplify-range-expression): Fix simplification of
3017 multiplications inside AUTOWIRE connections, bug303.
3018 (verilog-auto-inst-port): Support parameter expansion in
3019 multidimensional arrays.
3020 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3021 after "assert property". Reported by Julian Gorfajn.
3022 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3023 with multiplication, bug303.
3024 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3025 Reported by Jan Frode Lonnum.
3026
1bbe96b2
GM
30272011-11-30 Juanma Barranquero <lekktu@gmail.com>
3028
3029 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3030 (hfy-shell-file-name, hfy-shell):
3031 * international/fontset.el (x-decompose-font-name): Fix typos.
3032
30332011-11-29 Ken Brown <kbrown@cornell.edu>
3034
3035 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3036 (gdb-version): Remove defvar.
3037 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3038 (gdb-gud-context-command, gdb-non-stop-handler)
3039 (gdb-current-context-command, gdb-stopped): Use it.
3040 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
3041 (gdb-non-stop-handler): Don't enable pretty-printing here.
3042 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
3043 non-stop mode. Use the following.
3044 (gdb-check-target-async): New defun.
3045 (gud-watch, gdb-stopped): Fix whitespace.
3046 (gdb-get-source-file): Don't try to display the source file if
3047 `gdb-main-file' is nil.
3048
30492011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3050
3051 * align.el: Try to generate fewer markers (bug#10047).
3052 (align--set-marker): New macro.
3053 (align-region): Use it.
3054
c935221f
SM
30552011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3056
3057 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3058
e70b5064
CY
30592011-11-29 Chong Yidong <cyd@gnu.org>
3060
3061 * indent.el (indent-for-tab-command, indent-according-to-mode):
3062 Doc fix.
3063 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3064
f3af92b7
MA
30652011-11-29 Michael Albinus <michael.albinus@gmx.de>
3066
3067 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3068 aware of remote file names. (Bug#10124)
3069
ed472be9
CY
30702011-11-29 Chong Yidong <cyd@gnu.org>
3071
3072 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3073
24510c22
SM
30742011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3075
3076 * files.el (find-file): Don't use force-same-window (bug#10144).
3077 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3078 use pop-to-buffer if the selected window can't be used.
3079 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3080
c60c3703
EZ
30812011-11-28 Eli Zaretskii <eliz@gnu.org>
3082
3083 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3084 special-mode-map.
3085
e95def75
CY
30862011-11-28 Chong Yidong <cyd@gnu.org>
3087
3088 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3089
c3f1c606
NR
30902011-11-27 Nick Roberts <nickrob@snap.net.nz>
3091
3092 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3093 gdb-get-source-file-list on gdb-create-source-file-list.
3094
00db469c
EZ
30952011-11-26 Eli Zaretskii <eliz@gnu.org>
3096
3097 * whitespace.el (whitespace-newline): Use a different foreground
3098 color for 16-color light-background displays.
3099
4ad3bc2a
CY
31002011-11-24 Chong Yidong <cyd@gnu.org>
3101
3102 * window.el (display-buffer--special-action): Doc fix.
3103
e9fce1ac
JB
31042011-11-25 Juanma Barranquero <lekktu@gmail.com>
3105
3106 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3107 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3108 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3109 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3110 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3111 (avl-tree-stack-first):
3112 * emacs-lisp/cconv.el (cconv--analyse-use):
3113 * net/gnutls.el (gnutls-negotiate): Fix typos.
3114
cb825e5d
GM
31152011-11-24 Glenn Morris <rgm@gnu.org>
3116
3adbe224
GM
3117 * lpr.el (lpr-windows-system, lpr-lp-system):
3118 * mail/binhex.el (binhex-begin-line):
3119 * progmodes/grep.el (grep-history, grep-find-history):
3120 * textmodes/flyspell.el:
3121 * vc/pcvs-defs.el (cvs-global-menu):
3122 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3123 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3124 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3125
321decc8
GM
3126 * net/tls.el: Fix case of "GnuTLS".
3127
420b63ad
GM
3128 * paths.el (rmail-file-name): Format doc-string for make-docfile.
3129
cb825e5d
GM
3130 * version.el (emacs-build-system): Give it a doc-string.
3131
a0649f08
JL
31322011-11-24 Juri Linkov <juri@jurta.org>
3133
3134 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3135
c0bc0fd4
GM
31362011-11-24 Glenn Morris <rgm@gnu.org>
3137
3138 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3139 if called on a non-mime message just toggle the headers. (Bug#8006)
3140
20db1522
JB
31412011-11-24 Juanma Barranquero <lekktu@gmail.com>
3142
3143 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3144 (allout-lead-with-comment-string, allout-structure-deleted-hook)
3145 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3146 (allout-rebullet-heading, allout-open-sibtopic)
3147 (allout-toggle-current-subtree-encryption)
3148 (allout-toggle-subtree-encryption, allout-encrypt-string)
3149 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3150 (allout-distinctive-bullets-string, allout-auto-activation):
3151 * window.el (window-normalize-buffer-to-display):
3152 * progmodes/verilog-mode.el (verilog-batch-indent):
3153 * textmodes/bibtex.el (bibtex-field-braces-opt)
3154 (bibtex-field-strings-opt):
3155 * vc/cvs-status.el (cvs-tree-merge):
3156 Fix typos.
3157
7262a87c
MA
31582011-11-23 Michael Albinus <michael.albinus@gmx.de>
3159
3160 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3161 `non-essential' to t, in order to avoid remote connections.
3162
283430a1
EZ
31632011-11-23 Eli Zaretskii <eliz@gnu.org>
3164
a1beca85
SM
3165 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3166 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
3167 case-insensitively.
3168
d2992a38
ML
31692011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3170
3171 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
3172
50419064
GM
31732011-11-23 Glenn Morris <rgm@gnu.org>
3174
da94eca1
GM
3175 * paths.el (rmail-file-name): Reformat the doc-string so that it
3176 is picked up.
3177
9aac4de2
GM
3178 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3179 (rmail-auto-file): Ignore case in the "special" field names,
3180 as mail-fetch-field does for all others.
3181
8038d2d2
GM
3182 * mail/rmail.el (rmail-forward):
3183 * mail/rmailkwd.el (rmail-set-label):
3184 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3185 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
3186
f3fe222a
GM
3187 * mail/rmail.el (rmail-current-message): Doc fix.
3188
50419064
GM
3189 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
3190
28109f49
SM
31912011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3192
3193 * server.el (server-eval-and-print): Allow C-g (bug#6585).
3194
394c65f1
GM
31952011-11-22 Glenn Morris <rgm@gnu.org>
3196
3197 * mail/rmailmm.el (test-rmail-mime-handler)
3198 (test-rmail-mime-bulk-handler)
3199 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3200
f2a0aa3a
JL
32012011-11-21 Juri Linkov <juri@jurta.org>
3202
1154d12e
JB
3203 * calc/calc.el (calc-read-key-sequence):
3204 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 3205
9c34a344
LMI
32062011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3207
3208 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3209 Tell the caller that the next line needs recomputation, even
3210 though it doesn't start a sexp (bug#10094).
3211
f04a3be9
SM
32122011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3213
3214 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3215
7978747f
SM
32162011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3217
f04a3be9
SM
3218 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3219 Use force-same-window.
7978747f 3220
fe7a3057
JB
32212011-11-20 Juanma Barranquero <lekktu@gmail.com>
3222
3223 * descr-text.el (describe-char-unicode-data):
3224 * json.el (json-string-escape):
3225 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3226 (Footnote-unicode, Footnote-style-p):
3227 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3228
24901d61
CY
32292011-11-20 Chong Yidong <cyd@gnu.org>
3230
3231 * window.el (replace-buffer-in-windows): Restore interactive spec.
3232
bac7ff22
SM
32332011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3234
24f3d7b9
SM
3235 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3236
bac7ff22
SM
3237 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3238 (byte-compile-global-not-obsolete-vars): New var.
3239 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3240 Use it.
3241 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3242
cd1181db
JB
32432011-11-20 Juanma Barranquero <lekktu@gmail.com>
3244
3245 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3246 * progmodes/pascal.el (electric-pascal-equal):
3247 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3248 * xml.el (xml-substitute-special): Fix typos.
3249
7fb18e9e
GM
32502011-11-20 Glenn Morris <rgm@gnu.org>
3251
3252 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3253 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3254 Doc fixes.
3255 (rmail-decode-mime-charset): Mark as obsolete.
3256
3257 * mail/rmailsum.el (rmail-message-regexp-p-1):
3258 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3259 Before using mime functions, check they are set. (Bug#10077)
3260
d5a6b3ba
JL
32612011-11-19 Juri Linkov <juri@jurta.org>
3262
3263 * info.el (Info-finder-find-node): Use `package--builtins' instead
3264 of `package-alist'. Use node names formed by the pattern "Keyword "
3265 and the keyword name.
3266
e981b61f
AS
32672011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3268
1d00653d 3269 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 3270
3ffbc301
JL
32712011-11-19 Juri Linkov <juri@jurta.org>
3272
3273 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3274 that calls `revert-buffer' on all Info buffers. (Bug#9915)
3275 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3276 `old-history', `old-history-forward'. Add let-binding
3277 `window-selected'. Remove calls to `kill-buffer',
3278 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
3279 before calling `Info-find-node', so `Info-find-node-2' will reread
3280 the Info file. Restore window positions only when `window-selected'
3281 is non-nil.
3282
30c62133
JL
32832011-11-19 Juri Linkov <juri@jurta.org>
3284
3285 * isearch.el (isearch-lazy-highlight-new-loop):
3286 Remove condition `(not isearch-error)'. (Bug#9918)
3287
3288 * misearch.el (multi-isearch-search-fun): Add condition
3289 `(not bound)' to ignore lazy-highlighting search.
3290 Add the search-failed message "end of multi" when the end of
3291 multi-sequence is reached. Uncapitalize the search-failed
3292 message "Repeat for next buffer".
3293
3294 * info.el (Info-search): Add the search-failed message
3295 "end of the manual" when the end of the manual is reached
3296 in Isearch mode.
3297
645ca9cf
JL
32982011-11-19 Juri Linkov <juri@jurta.org>
3299
3300 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3301 Use non-destructive `remove' instead of `delete' because
3302 `Info-history-list' stored to `Info-isearch-initial-history-list' in
3303 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3304
df754f66
JL
33052011-11-19 Juri Linkov <juri@jurta.org>
3306
3307 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3308 to nil instead of binding `search-ring' and `regexp-search-ring'.
3309 (Bug#9185)
3310
0e23d96a
EZ
33112011-11-19 Eli Zaretskii <eliz@gnu.org>
3312
3313 * simple.el (line-move): Force movement by logical lines for any
3314 hscrolled window, not only when auto-hscroll-mode is on.
3315 (line-move-visual): Update doc string to that effect. (Bug#10076)
3316
8a6ccb66
AS
33172011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3318
3319 * language/european.el (macintosh): Define as alias for mac-roman.
3320
49ae5b39
EZ
33212011-11-19 Eli Zaretskii <eliz@gnu.org>
3322
3323 * mail/rmailmm.el (rmail-mime-display-header)
3324 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3325 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3326 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3327 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3328 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3329 of a raw aref.
3330 (rmail-mime-entity-segment): To get past the tagline, move forward
3331 2 more lines, to account for the 2 empty lines that precede and
3332 follow the line with the buttons.
3333 (rmail-mime-update-tagline): Move one more line, to get past the
3334 empty line that follows the buttons in the tagline. (Bug#9520)
3335
c56cad4a
MR
33362011-11-19 Martin Rudalics <rudalics@gmx.at>
3337
3338 * window.el (window-max-delta-1, window-min-delta-1)
3339 (window-min-size-1, window-state-get-1, window-state-put-1)
3340 (window-state-put-2): Use "window--" prefix.
3341
cbe71af3
SM
33422011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3343
2ad52c60
SM
3344 * emacs-lisp/smie.el: Improve warnings and conflict detection.
3345 (smie-warning-count): New var.
3346 (smie-set-prec2tab): Use it.
3347 (smie-bnf->prec2): Improve warnings. Add docstring.
3348 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3349 (smie-bnf--set-class): New function.
3350 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
3351 corner case.
3352
6944dbc1
SM
3353 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3354 (compilation-error-properties, compilation-move-to-column):
3355 Handle compilation-first-column while in the target buffer.
3356
c400c4d7
SM
3357 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3358 Don't hardcode point-min==1.
3359
6dbe3e96
SM
3360 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3361 (eshell-rewrite-for-command): Remove workaround.
3362 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3363 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3364 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3365
cbe71af3
SM
3366 * files-x.el (modify-file-local-variable): Obey commenting conventions.
3367
a8e1496d
GM
33682011-11-17 Glenn Morris <rgm@gnu.org>
3369
3370 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3371 Ignore buffer-local generated-autoload-file if it is the same
3372 as the global value. (Bug#10049)
3373
df85d315
JB
33742011-11-17 Juanma Barranquero <lekktu@gmail.com>
3375
3376 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3377 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3378 (reftex-toc-previous-heading, reftex-toc-max-level)
3379 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3380 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3381 (reftex-toc-do-promote, reftex-toc-promote-prepare)
3382 (reftex-toc-promote-action, reftex-toc-extract-section-number)
3383 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3384 (reftex-toc-rename-label, reftex-toc-visit-location)
3385 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3386 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3387 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3388 leaving "*toc*" only for references to the buffer.
3389
a0c2d0ae
MR
33902011-11-17 Martin Rudalics <rudalics@gmx.at>
3391
3392 * window.el (window-resize, delete-window, split-window):
3393 Replace window-splits by window-combination-resize.
1d00653d 3394 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 3395
35c0bac8
GM
33962011-11-17 Glenn Morris <rgm@gnu.org>
3397
3398 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3399 Make bash entry derive from sh entry, not shell entry.
3400
d0c8fc8a
MA
34012011-11-16 Michael Albinus <michael.albinus@gmx.de>
3402
d0c8fc8a
MA
3403 * net/tramp-cache.el (tramp-flush-file-property): Flush also
3404 properties of linked files. (Bug#9879)
3405
7262a87c
MA
3406 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3407 local file name.
3408
7877f373
JB
34092011-11-16 Juanma Barranquero <lekktu@gmail.com>
3410
3411 * menu-bar.el (menu-bar-file-menu):
3412 * printing.el (pr-ps-utility):
3413 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3414 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3415 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3416 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3417 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3418 (icalendar--convert-cyclic-to-ical)
3419 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3420 (icalendar--convert-ical-to-diary)
3421 (icalendar--convert-recurring-to-diary)
3422 (icalendar--convert-non-recurring-all-day-to-diary)
3423 (icalendar-import-format-sample):
3424 * progmodes/idlw-shell.el (idlwave-shell-mode):
3425 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3426 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3427 (vhdl-ps-print-init): Fix typos.
3428
10649b82
KM
34292011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
3430
9d0cfcd6
GM
3431 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3432 FSF and collapse date sequence, obscure author/maintainer email address
3433 better, remove extra version line, track relocation of author's webpage.
10649b82 3434
9d0cfcd6
GM
3435 * progmodes/python.el (python-pdbtrack-input-prompt)
3436 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3437 regular python pdb prompts. Adjustments shamelessly taken exactly as
3438 suggested in EmacsWiki page (tiny change):
3439 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 3440
58179cce
JB
34412011-11-16 Juanma Barranquero <lekktu@gmail.com>
3442
3443 * expand.el (expand-pos, expand-index, expand-point):
3444 Remove redundant info from docstring.
3445 (expand-add-abbrevs): Doc fix.
3446 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3447 (expand-sample-perl-mode-expand-list): Fix typos.
3448
3449 * net/dbus.el (dbus-event-member-name):
3450 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3451 * term/pc-win.el (msdos-create-frame-with-faces):
3452 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3453
b6f67890
MR
34542011-11-16 Martin Rudalics <rudalics@gmx.at>
3455
3456 * window.el (split-window, window-state-get-1)
3457 (window-state-put-1, window-state-put-2): Rename occurrences of
3458 window-nest to window-combination-limit.
1d00653d 3459 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 3460
ce7ddba0
CY
34612011-11-16 Chong Yidong <cyd@gnu.org>
3462
3463 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3464 regexp (Bug#10033).
3465
3ae704f4
SM
34662011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3467
3468 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3469 `completing-read' will remove *Completions* and will preserve
3470 current-buffer for us.
3471 (tmm-add-prompt): Users of *Completions* will always (re)set its
3472 major mode.
3473 (tmm-old-comp-map): Remove.
3474
6ad1cdde
GM
34752011-11-16 Glenn Morris <rgm@gnu.org>
3476
3477 * mail/rmailedit.el: Require rmailmm when compiling.
3478 (rmail-old-mime-state): New declaration.
3479 (rmail-edit-current-message): If editing a mime message,
3480 edit the "raw" message from the mbox buffer.
3481 (rmail-cease-edit): Handle mime messages. (Bug#9840)
3482
d20faa20
GM
34832011-11-15 Glenn Morris <rgm@gnu.org>
3484
3485 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3486 which wasn't being used. Add optional arg to force given state.
3487 (rmail-mime): Add optional arg to force given state.
3488
c7015153
JB
34892011-11-15 Juanma Barranquero <lekktu@gmail.com>
3490
3491 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3492 * frame.el (display-mm-dimensions-alist):
3493 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3494 (outline-move-subtree-down):
3495 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3496 (newsticker--treeview-do-get-node):
3497 * net/quickurl.el (quickurl-list-buffer-name):
3498 * progmodes/dcl-mode.el (dcl-mode):
3499 * progmodes/gdb-mi.el (gdb-mapcar*):
3500 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3501
45261b50
GM
35022011-11-15 Glenn Morris <rgm@gnu.org>
3503
3504 * mail/rmail.el (rmail-file-coding-system): It's only ever used
3505 in a boolean sense, so just make it a boolean, and fix the doc.
3506 (rmail-show-mime-function, rmail-mime-feature)
3507 (rmail-require-mime-maybe): Doc fixes.
3508 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3509
3510 * mail/rmailmm.el (rmail-show-mime): Doc fix.
3511
0d26e0b6
JB
35122011-11-15 Juanma Barranquero <lekktu@gmail.com>
3513
3514 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3515 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3516 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3517 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3518
447f30f6
GM
35192011-11-15 Glenn Morris <rgm@gnu.org>
3520
672b871d
GM
3521 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3522 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3523 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3524 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3525 (rmail-mime, rmail-show-mime): Doc fixes.
3526
f6aa5bb1
GM
3527 * term/ns-win.el (mode-line-frame-identification):
3528 Leave it alone. (Bug#10051)
3529
947cd66b
GM
3530 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3531
447f30f6
GM
3532 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3533 Handle empty buffers. (Bug#9978)
3534
0b381c7e
JB
35352011-11-14 Juanma Barranquero <lekktu@gmail.com>
3536
3537 * international/mule.el (define-charset):
3538 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3539 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3540 * progmodes/verilog-mode.el (verilog-backward-token):
3541 * textmodes/ispell.el (lookup-words):
3542 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3543
71e027ac
GM
35442011-11-14 Glenn Morris <rgm@gnu.org>
3545
56632ce4
GM
3546 * progmodes/executable.el
3547 (executable-make-buffer-file-executable-if-script-p):
3548 Handle file-modes returning nil.
3549
40500957
GM
3550 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3551 message - not necessary, and causes problems. (Bug#9831)
3552
071c2340
GM
3553 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3554
d3cfca60
GM
3555 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3556
71e027ac
GM
3557 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3558 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
3559 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3560
89d61221
MR
35612011-11-12 Martin Rudalics <rudalics@gmx.at>
3562
3563 * window.el (window-resize, delete-window): Use window-splits
3564 variable instead of function.
3565 (window-state-get-1, window-state-put-2, window-state-put):
3566 Don't deal with windows' splits status.
3567
98282f6f
GM
35682011-11-12 Glenn Morris <rgm@gnu.org>
3569
3570 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3571 (apropos-documentation): Doc fixes.
3572
40a8bdf6
JB
35732011-11-11 Juanma Barranquero <lekktu@gmail.com>
3574
3575 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3576 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3577
65bd19ff
SM
35782011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3579
3580 * electric.el (electric-indent-post-self-insert-function): Make it
3581 possible for a char to only indent in some circumstances.
3582 (electric-indent-mode): Simplify.
3583
54f9154c
MR
35842011-11-11 Martin Rudalics <rudalics@gmx.at>
3585
3586 * window.el (windows-with-parameter): Remove unused function.
3587 (windows-at-side): Rename to window-at-side-list.
3588 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
3589 (window-side-check, window-size-ignore, window-size-fixed-1)
3590 (window-in-direction-2): Prefix with "window--".
3591 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 3592
68cbc58b
GM
35932011-11-11 Glenn Morris <rgm@gnu.org>
3594
3595 * subr.el (eval-after-load): If FILE is already loaded,
3596 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3597
b2621720
GM
35982011-11-10 Glenn Morris <rgm@gnu.org>
3599
9a4de110
GM
3600 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3601 Call svn via vc-svn-command rather than vc-do-command.
3602 (vc-svn-command): Add --non-interactive. (Bug#9993)
3603 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3604
b2621720
GM
3605 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3606 Add toggle-read-only. (Bug#7292)
3607 * files.el (toggle-read-only): Mention that it should only
3608 be used interactively. (Bug#10006)
3609
1dce7193
SM
36102011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3611
d9ac1a1e
SM
3612 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3613 Adjust regexp for OCaml warnings.
3614
0c325082
SM
3615 * electric.el (electric-pair-post-self-insert-function): Let user
3616 turn it off buffer-locally (bug#9932).
3617
90132c14
SM
3618 * progmodes/python.el (python-beginning-of-statement):
3619 Rewrite (bug#2703).
3620
1dce7193
SM
3621 * progmodes/compile.el: Better handle TABs (bug#9749).
3622 (compilation-internal-error-properties)
3623 (compilation-next-error-function): Obey the target buffer's
3624 compilation-error-screen-columns.
3625
c4e7c63a
JB
36262011-11-09 Juanma Barranquero <lekktu@gmail.com>
3627
3628 * progmodes/meta-mode.el: Remove obsolete comments.
3629 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3630 Fix typos in docstrings.
3631
2cffd681
MR
36322011-11-09 Martin Rudalics <rudalics@gmx.at>
3633
3634 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 3635 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
3636 (window--resizable): New function. Make all callers of
3637 window-resizable call window--resizable instead.
3638 (window-resizable): Rewrite in terms of window--resizable.
3639
0edcba87
GM
36402011-11-08 Glenn Morris <rgm@gnu.org>
3641
3642 * progmodes/delphi.el (delphi-mode-syntax-table):
3643 Let define-derived-mode define a proper syntax table. (Bug#9994)
3644
4b0d61e3
SM
36452011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3646
3647 * window.el: Stay away from defsubst.
3648 (window-list-no-nils): Remove.
3649 (window-state-get-1, window-state-get): Use backquote instead.
3650
cd394be1 36512011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 3652
4b0d61e3 3653 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 3654 Fix incorrect use of default argument in `completing-read'.
3655
e1c2c6f2
MR
36562011-11-08 Martin Rudalics <rudalics@gmx.at>
3657
3658 * window.el (display-buffer-function, special-display-function):
3659 Mention display-buffer-record-window but do not mention
3660 help-setup parameter in doc-strings.
b3f4a882 3661 (window-min-delta): Fix doc-string typo.
e1c2c6f2 3662
105216ed
CY
36632011-11-08 Chong Yidong <cyd@gnu.org>
3664
3665 * window.el (window-total-height, window-total-width): Doc fix.
3666 (window-body-size): Move from C.
3667 (window-body-height, window-body-width): Move to C.
3668
0a9f9ab5
SM
36692011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3670
3671 * window.el: Make special-display like display-buffer-alist (bug#9532).
3672 (display-buffer--special-action): New function, morphed
3673 from display-buffer--special.
3674 (display-buffer): Use it to handle special-display-buffers at higher
3675 priority (just after display-buffer-alist).
3676 (display-buffer-fallback-action, display-buffer--other-frame-action)
3677 (pop-to-buffer-same-window): Remove display-buffer--special.
3678
a769dd15
GM
36792011-11-07 Glenn Morris <rgm@gnu.org>
3680
3681 * calendar/cal-menu.el (cal-menu-set-date-title):
3682 Do nothing if not in a calendar. (Bug#9976)
3683
05a61ee3
SM
36842011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3685
3686 * files.el (find-file): Always use selected-window.
3687
be7f5545
MR
36882011-11-07 Martin Rudalics <rudalics@gmx.at>
3689
3690 * window.el (window-combinations): Make WINDOW argument
3691 mandatory. Rewrite doc-string.
3692 (walk-window-subtree, window-atom-check, window-min-delta)
3693 (window-max-delta, window--resize-this-window)
3694 (window--resize-root-window-vertically, window-tree)
3695 (balance-windows, window-state-put): Rewrite doc-strings as to
3696 not mention the term "subwindow".
3697 (window--resize-subwindows-skip-p): Rename to
3698 window--resize-child-windows-skip-p.
3699 (window--resize-subwindows-normal): Rename to
3700 window--resize-child-windows-normal.
3701 (window--resize-subwindows): Rename to
3702 window--resize-child-windows.
3703 (window-or-subwindow-p): Rename to window--in-subtree-p.
3704
3c6702ef
ML
37052011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3706
3707 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3708 Ensure that mbox format messages end in two newlines (Bug#9974).
3709
49745b39
CY
37102011-11-06 Chong Yidong <cyd@gnu.org>
3711
3712 * window.el (window-combination-p): Function deleted; its
3713 side-effect is not used in any existing code.
3714 (window-combinations, window-combined-p): Call window-*-child
3715 directly.
3716
24300f5f
CY
37172011-11-05 Chong Yidong <cyd@gnu.org>
3718
3719 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
3720 (window-size-ignore, window-state-get): Callers changed.
3721 (window-normalize-window): Rename from window-normalize-any-window.
3722 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 3723 (window-normalize-live-window): Delete.
447f16b8
CY
3724 (window-combination-p, window-combined-p, window-combinations)
3725 (walk-window-subtree, window-atom-root, window-min-size)
3726 (window-sizable, window-sizable-p, window-size-fixed-p)
3727 (window-min-delta, window-max-delta, window-resizable)
3728 (window-resizable-p, window-full-height-p, window-full-width-p)
3729 (window-current-scroll-bars, window-point-1, set-window-point-1)
3730 (window-at-side-p, window-in-direction, window-resize)
3731 (adjust-window-trailing-edge, maximize-window, minimize-window)
3732 (window-deletable-p, delete-window, delete-other-windows)
3733 (record-window-buffer, unrecord-window-buffer)
3734 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3735 (quit-window, split-window, window-state-put)
3736 (set-window-text-height, fit-window-to-buffer)
3737 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 3738
89bd5ee1
EZ
37392011-11-04 Eli Zaretskii <eliz@gnu.org>
3740
53479029
EZ
3741 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3742 rfc2047-decode-string.
3743 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3744 warnings.
3745
89bd5ee1
EZ
3746 * window.el (window-body-height, window-body-width): Mention in
3747 the doc string that the return values are in frame's canonical
3748 units. (Bug#9949)
3749
bd17fdee
AM
37502011-11-03 Alan Mackenzie <acm@muc.de>
3751
3752 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3753 change in cc-engine.el.
3754
acc825c5
SM
37552011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3756
3757 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3758
1885e5b8
MR
37592011-11-02 Martin Rudalics <rudalics@gmx.at>
3760
3761 * window.el (quit-window): Call unrecord-window-buffer after
3762 showing another buffer in the window. (Bug#9937)
acc825c5 3763 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 3764
ebe06da9
JB
37652011-11-02 Juanma Barranquero <lekktu@gmail.com>
3766
3767 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3768 Accept status with more than 9 shelves. (Bug#9935)
3769 Reported by Colin D Bennett <colin@gibibit.com>.
3770
4ee88440
MR
37712011-11-01 Martin Rudalics <rudalics@gmx.at>
3772
3773 * help.el (with-help-window): Don't reference
3774 temp-buffer-show-specifiers in doc-string.
3775
08e1d82c
AS
37762011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3777
3778 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3779 menu-item.
3780
84bd6e9e
VJL
37812011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3782
3783 * whitespace.el: New version 13.2.2.
3784 (whitespace-newline-mode): Disable properly. Reported by Sarah
3785 <EmacsWiki>.
3786
dba0634a
UJ
37872011-10-30 Ulf Jasper <ulf.jasper@web.de>
3788
3789 * net/newst-treeview.el: Remove "Time-stamp".
3790 (newsticker--group-manage-orphan-feeds): Do not call
3791 newsticker--treeview-tree-update.
db22a3c2
JB
3792 (newsticker-treeview-update, newsticker-treeview):
3793 Call newsticker--treeview-tree-update if necessary.
dba0634a 3794
3d8daefe
MR
37952011-10-30 Martin Rudalics <rudalics@gmx.at>
3796
3797 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
3798 (window-iso-combinations): Remove "iso-" infix.
3799 Suggested by Chong Yidong.
3d8daefe
MR
3800 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3801 (window-max-delta-1, window-resize, window--resize-siblings)
3802 (window--resize-this-window, adjust-window-trailing-edge)
3803 (split-window, balance-windows-1)
3804 (shrink-window-if-larger-than-buffer):
3805 * calendar/calendar.el (calendar-generate-window):
db22a3c2 3806 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 3807
1bc4c3ae
SM
38082011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3809
3810 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3811 in place (bug#9907).
3812 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3813 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3814 (eshell-structure-basic-command, eshell-rewrite-while-command)
3815 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3816 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3817 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3818 (eshell-do-pipelines-synchronously, eshell-eval-command):
3819 Use backquotes and prefer setq to set.
3820 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3821 (eshell-macrop): Use functionp.
c1e2f5fa 3822 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 3823
30b65d9c
CY
38242011-10-30 Chong Yidong <cyd@gnu.org>
3825
3826 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3827 instead of set-mark (Bug#9810).
3828
2d197ffb
CY
38292011-10-30 Chong Yidong <cyd@gnu.org>
3830
3831 * window.el (split-window-below, split-window-right): Rename from
3832 split-window-above-each-other and split-window-side-by-side
3833 respectively. All callers changed.
3834 (split-window-sensibly, split-window-sensibly): Use them.
3835 (split-window-keep-point): Doc fix.
3836
3837 * isearch.el: Add isearch-scroll property to split-window-below
3838 and split-window-right.
3839
3840 * follow.el (follow-mode):
3841 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3842 * progmodes/ada-xref.el (ada-gdb-application):
3843 * emulation/vip.el (vip-buffer-in-two-windows):
3844 * image-dired.el (image-dired-dired-with-window-configuration):
3845 * dired-x.el (dired-do-find-marked-files):
3846 * dired.el (dired-pop-to-buffer):
3847 * bs.el (bs--show-with-configuration):
3848 * vc/emerge.el (emerge-setup-windows):
3849 * textmodes/two-column.el (2C-two-columns):
3850 * textmodes/reftex-toc.el (reftex-toc):
3851 * progmodes/gdb-mi.el (gdb-setup-windows):
3852 * progmodes/fortran.el (fortran-window-create):
3853 * net/newst-treeview.el (newsticker--treeview-window-init):
3854 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3855 * emulation/tpu-edt.el (tpu-gold-map):
3856 * emulation/crisp.el (crisp-mode-map):
3857 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3858
38bb2ca8
CY
38592011-10-29 Chong Yidong <cyd@gnu.org>
3860
aa4de341
CY
3861 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3862
e1eb5385
CY
3863 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3864
5d2ece3c
CY
3865 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3866 forged Ispell output (Bug#7904).
3867
38bb2ca8
CY
3868 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3869
d0af9f77
SM
38702011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3871
3872 * doc-view.el: Avoid ugly errors about not finding nil.
3873 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3874 (doc-view-dvipdf-program, doc-view-unoconv-program)
3875 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3876 Avoid nil or absolute file name as default value.
3877 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3878
52bedd34
AM
38792011-10-28 Alan Mackenzie <acm@muc.de>
3880
db22a3c2 3881 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 3882
7e43cfa5
AM
38832011-10-28 Alan Mackenzie <acm@muc.de>
3884
3885 Amend the handling of c-beginning/end-of-defun in nested declaration
3886 scopes.
3887
52bedd34
AM
3888 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3889 cc-langs.el. Change it to a defcustom.
7e43cfa5 3890
52bedd34
AM
3891 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3892 cc-vars.el.
7e43cfa5 3893
d0af9f77
SM
3894 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3895 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 3896
52bedd34 3897 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 3898 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
3899 (c-widen-to-enclosing-decl-scope): New function.
3900 (c-while-widening-to-decl-block): New macro.
3901 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3902 outward for defun boundaries, and correspondingly change symbol
3903 `respect-enclosure' to `go-outward'.
3904 (c-declaration-limits): Change algorithm to report only the "innermost"
3905 defun's boundaries.
3906
1a2ce9ee
DD
39072011-10-28 Deniz Dogan <deniz@dogan.se>
3908
3909 * net/rcirc.el (rcirc-mode): Use hard newlines.
3910
bc97a826
AM
39112011-10-28 Alan Mackenzie <acm@muc.de>
3912
3913 Amend to indent and fontify macros "which include their own semicolon"
3914 correctly, using the "virtual semicolon" mechanism.
3915
52bedd34 3916 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 3917
d0af9f77 3918 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 3919 Recode to scan one line at a time rather than having \n and \r
58179cce 3920 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 3921 (c-forward-label): Amend for virtual semicolons.
58179cce 3922 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 3923
52bedd34
AM
3924 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3925 of the new C macros.
bc97a826 3926
52bedd34 3927 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
3928 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3929 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
3930 (c-opt-cpp-macro-define): Make into a full language variable.
3931 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3932 AWK Mode (including \n, \r) removed, no longer needed.
3933
d0af9f77
SM
3934 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3935 Invoke c-make-macro-with-semi-re.
bc97a826 3936
52bedd34
AM
3937 * progmodes/cc-vars.el (c-macro-with-semi-re):
3938 (c-macro-names-with-semicolon): New variables.
58179cce 3939 (c-make-macro-with-semi-re): New function.
bc97a826 3940
7a6c0941
SM
39412011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3942
3943 * vc/log-edit.el: Fill empty field rather than adding new one.
3944 (log-edit-add-field): New function.
3945 (log-edit-insert-changelog): Use it.
3946
b0c4cdcf
ML
39472011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3948
3949 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3950
ee1f1da9
SM
39512011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3952
3953 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3954 (gdb--check-interpreter): New function.
3955 (gdb): Use it.
3956
51bc5f8b
GM
39572011-10-27 Glenn Morris <rgm@gnu.org>
3958
416a2c45
GM
3959 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3960 (least-positive-float, least-negative-float)
3961 (least-positive-normalized-float, least-negative-normalized-float)
3962 (float-epsilon, float-negative-epsilon):
3963 Remove unnecessary declarations.
3964
3965 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3966 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3967 (least-positive-float, least-negative-float)
3968 (least-positive-normalized-float, least-negative-normalized-float)
3969 (float-epsilon, float-negative-epsilon): Add doc-strings,
3970 based on those in cl.texi.
3971
51bc5f8b
GM
3972 * files.el (set-visited-file-name): If the major-mode changed,
3973 reload the local variables. (Bug#9796)
3974
15de15c6
CY
39752011-10-27 Chong Yidong <cyd@gnu.org>
3976
3977 * subr.el (change-major-mode-after-body-hook): New hook.
3978 (run-mode-hooks): Run it.
3979
ee1f1da9
SM
3980 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3981 Use change-major-mode-before-body-hook.
15de15c6
CY
3982
3983 * simple.el (fundamental-mode):
3984 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3985 change introducing fundamental-mode-hook.
3986
5430d399
JB
39872011-10-26 Juanma Barranquero <lekktu@gmail.com>
3988
acc825c5 3989 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 3990
ad74a69e
MA
39912011-10-26 Michael Albinus <michael.albinus@gmx.de>
3992
3993 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 3994 tramp.el explicitly. (Bug#7583)
ad74a69e 3995
71d4c2a5
SM
39962011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3997
3998 * progmodes/octave-mod.el:
3999 * progmodes/octave-inf.el: Update maintainer.
4000
b1f6fa26
CY
40012011-10-26 Chong Yidong <cyd@gnu.org>
4002
4003 * subr.el (with-wrapper-hook): Rewrite doc.
4004
3f04efd6
MA
40052011-10-25 Michael Albinus <michael.albinus@gmx.de>
4006
4007 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 4008 filenames "/method:foo:". (Bug#9793)
3f04efd6 4009
410488d3
SM
40102011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4011
4012 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4013 (bug#9865).
4014
c1ebb47e
GM
40152011-10-24 Glenn Morris <rgm@gnu.org>
4016
4017 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4018
7f5c46c7
MA
40192011-10-24 Michael Albinus <michael.albinus@gmx.de>
4020
4021 * notifications.el: Add the requirement of a running D-Bus session
4022 bus to the Commentary.
4023
db2440b6
JL
40242011-10-24 Juri Linkov <juri@jurta.org>
4025
4026 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4027 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4028 (Bug#9364)
4029
feecf435
JL
40302011-10-24 Juri Linkov <juri@jurta.org>
4031
4032 * info.el (Info-following-node-name-re): Add newline to the list
4033 of allowed characters for leading space. (Bug#9824)
4034
a3839de2
SM
40352011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4036
acc825c5
SM
4037 * progmodes/octave-inf.el (inferior-octave-mode-map):
4038 Fix C-c C-h binding.
a3839de2
SM
4039 * progmodes/octave-mod.el (octave-help): Remove.
4040
09388e76
MA
40412011-10-23 Michael Albinus <michael.albinus@gmx.de>
4042
4043 Sync with Tramp 2.2.3.
4044
4045 * net/tramp-cache.el (top): Pacify byte-compiler using
4046 `init-file-user' and `site-run-file'.
4047
4048 * net/trampver.el: Update release number.
4049
86c60681
CY
40502011-10-23 Chong Yidong <cyd@gnu.org>
4051
4052 * files.el (toggle-read-only): Remove obsolete comment about
4053 version control.
4054
4055 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4056 for toggle-read-only. Note that this hasn't called vc-next-action
4057 since 2008-05-02, though it wasn't documented at the time.
4058
a3839de2
SM
4059 * vc/ediff-init.el (ediff-toggle-read-only-function):
4060 Use toggle-read-only.
86c60681 4061
cd5495ff
AM
40622011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4063
4064 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4065 of c-parse-state.
4066
00b77525 4067 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 4068 correct faulty logical expression.
cd5495ff
AM
4069 (c-parse-state-state, c-record-parse-state-state):
4070 (c-replay-parse-state-state): New defvar/defuns.
4071 (c-debug-parse-state): Use new functions.
4072
42ee24ed
MR
40732011-10-22 Martin Rudalics <rudalics@gmx.at>
4074
4075 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 4076 last fix. Use window-in-direction correctly.
42ee24ed 4077
a7dee7e7
CY
40782011-10-21 Chong Yidong <cyd@gnu.org>
4079
4080 * progmodes/idlwave.el (idlwave-mode):
4081 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
4082 require-final-newline; that's done in prog-mode.
4083 Suggested by Stefan Monnier.
a7dee7e7 4084
e07b9a6d
MR
40852011-10-21 Martin Rudalics <rudalics@gmx.at>
4086
4087 * mouse.el (mouse-drag-window-above)
4088 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4089 (mouse-drag-mode-line-1, mouse-drag-header-line)
4090 (mouse-drag-vertical-line-rightward-window): Remove.
4091 (mouse-drag-line): New function.
4092 (mouse-drag-mode-line, mouse-drag-header-line)
4093 (mouse-drag-vertical-line): Call mouse-drag-line.
4094 * window.el (window-at-side-p, windows-at-side): New functions.
4095
7e1361d9
UM
40962011-10-21 Ulrich Mueller <ulm@gentoo.org>
4097
4098 * tar-mode.el (tar-grind-file-mode):
4099 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4100
30fcaf3a
CY
41012011-10-21 Chong Yidong <cyd@gnu.org>
4102
4103 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
4104 * progmodes/vera-mode.el (vera-mode):
4105 Use mode-require-final-newline.
30fcaf3a 4106
516eddb0
GM
41072011-10-20 Glenn Morris <rgm@gnu.org>
4108
db22a3c2 4109 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 4110
10d5f513
CS
41112011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
4112
4113 * emulation/cua-base.el (cua-set-mark): Fix case of string.
4114
ac6c8639
CY
41152011-10-20 Chong Yidong <cyd@gnu.org>
4116
4117 * emulation/cua-base.el (cua-mode):
4118 * mail/footnote.el (footnote-mode):
4119 * mail/mailabbrev.el (mail-abbrevs-mode):
4120 * net/xesam.el (xesam-minor-mode):
4121 * progmodes/bug-reference.el (bug-reference-mode):
4122 * progmodes/cap-words.el (capitalized-words-mode):
4123 * progmodes/compile.el (compilation-minor-mode)
4124 (compilation-shell-minor-mode):
4125 * progmodes/gud.el (gud-tooltip-mode):
4126 * progmodes/hideif.el (hide-ifdef-mode):
4127 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4128 * progmodes/subword.el (subword-mode):
4129 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4130 * progmodes/which-func.el (which-function-mode):
4131 * term/tvi970.el (tvi970-set-keypad-mode):
4132 * term/vt100.el (vt100-wide-mode):
4133 * textmodes/flyspell.el (flyspell-mode):
4134 * textmodes/ispell.el (ispell-minor-mode):
4135 * textmodes/nroff-mode.el (nroff-electric-mode):
4136 * textmodes/paragraphs.el (use-hard-newlines):
4137 * textmodes/refill.el (refill-mode):
4138 * textmodes/reftex.el (reftex-mode):
4139 * textmodes/rst.el (rst-minor-mode):
4140 * textmodes/sgml-mode.el (html-autoview-mode)
4141 (sgml-electric-tag-pair-mode):
4142 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4143 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4144 * emulation/crisp.el (crisp-mode):
4145 * emacs-lisp/eldoc.el (eldoc-mode):
4146 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4147 minor mode behavior.
4148
aa42ab43
JL
41492011-10-19 Juri Linkov <juri@jurta.org>
4150
4151 * descr-text.el (describe-char): Add #x2010 and #x2011 to
4152 the list of hard-coded chars with escape-glyph face.
4153
89400f1d
SM
41542011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4155
4156 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4157
305c07f6
MA
41582011-10-19 Michael Albinus <michael.albinus@gmx.de>
4159
4160 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4161 running process.
4162
13754b54
GM
41632011-10-19 Glenn Morris <rgm@gnu.org>
4164
4165 * vc/vc-bzr.el (vc-bzr-after-dir-status):
4166 Ignore ignored files. (Bug#9726)
4167
06e21633
CY
41682011-10-19 Chong Yidong <cyd@gnu.org>
4169
4170 Doc fix for minor modes, stating that an omitted argument enables
4171 the mode unconditionally when called from Lisp.
4172
4173 * abbrev.el (abbrev-mode):
4174 * allout.el (allout-mode):
4175 * autoinsert.el (auto-insert-mode):
4176 * autoarg.el (autoarg-mode, autoarg-kp-mode):
4177 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4178 (global-auto-revert-mode):
4179 * battery.el (display-battery-mode):
4180 * composite.el (global-auto-composition-mode)
4181 (auto-composition-mode):
4182 * delsel.el (delete-selection-mode):
4183 * desktop.el (desktop-save-mode):
4184 * dired-x.el (dired-omit-mode):
4185 * dirtrack.el (dirtrack-mode):
4186 * doc-view.el (doc-view-minor-mode):
4187 * double.el (double-mode):
4188 * electric.el (electric-indent-mode, electric-pair-mode):
4189 * emacs-lock.el (emacs-lock-mode):
4190 * epa-hook.el (auto-encryption-mode):
4191 * follow.el (follow-mode):
4192 * font-core.el (font-lock-mode):
4193 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4194 * help.el (temp-buffer-resize-mode):
4195 * hilit-chg.el (highlight-changes-mode)
4196 (highlight-changes-visible-mode):
4197 * hi-lock.el (hi-lock-mode):
4198 * hl-line.el (hl-line-mode, global-hl-line-mode):
4199 * icomplete.el (icomplete-mode):
4200 * ido.el (ido-everywhere):
4201 * image-file.el (auto-image-file-mode):
4202 * image-mode.el (image-minor-mode):
4203 * iswitchb.el (iswitchb-mode):
4204 * jka-cmpr-hook.el (auto-compression-mode):
4205 * linum.el (linum-mode):
4206 * longlines.el (longlines-mode):
4207 * master.el (master-mode):
4208 * mb-depth.el (minibuffer-depth-indicate-mode):
4209 * menu-bar.el (menu-bar-mode):
4210 * minibuf-eldef.el (minibuffer-electric-default-mode):
4211 * mouse-sel.el (mouse-sel-mode):
4212 * msb.el (msb-mode):
4213 * mwheel.el (mouse-wheel-mode):
4214 * outline.el (outline-minor-mode):
4215 * paren.el (show-paren-mode):
4216 * recentf.el (recentf-mode):
4217 * reveal.el (reveal-mode, global-reveal-mode):
4218 * rfn-eshadow.el (file-name-shadow-mode):
4219 * ruler-mode.el (ruler-mode):
4220 * savehist.el (savehist-mode):
4221 * scroll-all.el (scroll-all-mode):
4222 * scroll-bar.el (scroll-bar-mode):
4223 * server.el (server-mode):
4224 * shell.el (shell-dirtrack-mode):
4225 * simple.el (auto-fill-mode, transient-mark-mode)
4226 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4227 (line-number-mode, column-number-mode, size-indication-mode)
4228 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4229 * strokes.el (strokes-mode):
4230 * time.el (display-time-mode):
4231 * t-mouse.el (gpm-mouse-mode):
4232 * tool-bar.el (tool-bar-mode):
4233 * tooltip.el (tooltip-mode):
4234 * type-break.el (type-break-mode-line-message-mode)
4235 (type-break-query-mode):
4236 * view.el (view-mode):
4237 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4238 (global-whitespace-mode, global-whitespace-newline-mode):
4239 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4240
a3839de2
SM
4241 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4242 Fix autogenerated docstring.
06e21633 4243
5214e501
JL
42442011-10-19 Juri Linkov <juri@jurta.org>
4245
4246 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4247 by checking environment variables "DESKTOP_SESSION" and
4248 "XDG_CURRENT_DESKTOP". (Bug#9779)
4249
195f8db9
JL
42502011-10-19 Juri Linkov <juri@jurta.org>
4251
4252 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4253 (browse-url-chromium-program, browse-url-chromium-arguments):
4254 New defcustoms.
4255 (browse-url-default-browser): Check for `browse-url-chromium' and
4256 call `browse-url-chromium-program'.
4257 (browse-url-chromium): New command. (Bug#9779)
4258
343a34ff
JB
42592011-10-18 Juanma Barranquero <lekktu@gmail.com>
4260
4261 * facemenu.el (list-colors-duplicates): On Windows, detect more
4262 duplicates by assuming that only colors matching "^System" are
4263 special "system colors". (Bug#9722)
4264
6978a151
SM
42652011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4266
4267 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4268 to distinguish the author from the committer.
4269
6a80b297
MA
42702011-10-18 Michael Albinus <michael.albinus@gmx.de>
4271
4272 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4273
b31a5677
JK
42742011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
4275
4276 * international/mule.el (sgml-html-meta-auto-coding-function):
4277 Add support for detecting encoding in HTML5 specified only as
4278 <meta charset="UTF-8">. Implementation just makes http-equiv and
4279 content-type parts from HTML4 encoding string optional. (Bug#9716)
4280
80c6d77f
GM
42812011-10-18 Glenn Morris <rgm@gnu.org>
4282
4283 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
4284
08b0fee8
CY
42852011-10-18 Chong Yidong <cyd@gnu.org>
4286
4287 * faces.el (cursor): Doc fix.
4288
67e729a5
CY
42892011-10-17 Chong Yidong <cyd@gnu.org>
4290
4291 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4292
343a34ff 42932011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
4294
4295 * dirtrack.el (dirtrack): Support shell buffers with path
4296 prefixes, e.g. tramp-based remote shells. (Bug#9647)
4297
0bc06380
TZ
42982011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
4299
4300 * json.el: Bump version to 1.3 and note change in History.
4301 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4302
8b79f3e0
SM
43032011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4304
5a7c536b
SM
4305 * comint.el (comint-insert-input, comint-send-input)
4306 (comint-get-old-input-default, comint-backward-matching-input)
4307 (comint-next-prompt): Use nil instead of `input' for field property of
4308 past user input (bug#114).
4309
96a8a0df
SM
4310 * minibuffer.el (completion--replace): Inherit surrounding properties
4311 (bug#114).
4312 (minibuffer-complete-and-exit): Use it.
4313
8b79f3e0
SM
4314 * comint.el (comint--table-subvert): Quote the all-completions output
4315 (bug#9160).
4316
b8f7ff0d
MR
43172011-10-17 Martin Rudalics <rudalics@gmx.at>
4318
8b79f3e0 4319 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 4320
b8f7ff0d 4321 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 4322 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
4323 entries and separate them from frame entries.
4324
c235b555
GM
43252011-10-15 Glenn Morris <rgm@gnu.org>
4326
4327 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4328 Doc fixes.
4329
6bbfa6e1
CY
43302011-10-15 Chong Yidong <cyd@stupidchicken.com>
4331
8b79f3e0
SM
4332 * net/network-stream.el (network-stream-open-starttls):
4333 Improve detection of failure due to lack of TLS support.
ec5c990d 4334
6bbfa6e1
CY
4335 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4336 putting the input text in front and in bold.
4337
98488977
SM
43382011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4339
3d1337be
SM
4340 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4341
ee0b45e4
SM
4342 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4343 empty buffer.
4344
98488977
SM
4345 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4346 unread-command-events rather than pushing yet-another event.
4347
186f4720
EZ
43482011-10-14 Eli Zaretskii <eliz@gnu.org>
4349
4350 * mail/sendmail.el (sendmail-query-once): Improve the wording of
4351 the explanation of the possible choices. Make the options passed
4352 to completing-read shorter.
4353
8b7a997c
AM
43542011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4355
4356 * textmodes/flyspell.el (flyspell-large-region): Make sure
4357 extended character mode is used if defined (Bug#1339).
4358
12587bbb
EZ
43592011-10-13 Eli Zaretskii <eliz@gnu.org>
4360
4361 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
4362 character info for LRE, LRO, RLE, and RLO characters by appending
4363 an invisible PDF.
12587bbb 4364
bad41229
SM
43652011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
4366
4367 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4368 even in case of error; add debug spec; simplify data flow.
4369 (with-timeout-handler): Remove.
4370
28dbc92f
MA
43712011-10-12 Michael Albinus <michael.albinus@gmx.de>
4372
4373 Fix Bug#6019, Bug#9315.
4374
4375 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4376 complete `buffer-file-name', the local file name part could look
4377 remotely (for example on VMS).
4378
4379 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4380 `tramp-run-real-handler'.
4381 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4382 already quoted by '"'.
4383
4384 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4385 Let `file-name-handler-alist' be nil, the local file name part
4386 could look remotely (for example on VMS).
4387
e1b0b23a
SM
43882011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4389
4390 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4391 from here...
4392 (flyspell-post-command-hook): ...to here.
4393
a120bde9
SM
43942011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4395
4396 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4397 if not needed.
4398 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
4399 using completion. Protect against "slow" callers.
4400 Remove the "message hack".
4401
7ce7717b
JL
44022011-10-11 Juri Linkov <juri@jurta.org>
4403
4404 * isearch.el (isearch-lazy-highlight-word): New variable.
4405 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4406 Use it. (Bug#9727)
4407
c02ee9d6
GM
44082011-10-11 Glenn Morris <rgm@gnu.org>
4409
4410 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4411 like f90-previous-statement does.
4412
93e616fd 44132011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4414
1f190e73 4415 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
4416 only in interactive use, to avoid error.
4417
af7b6078
SM
44182011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4419
4420 * minibuffer.el (completion-file-name-table): Fix last change,
4421 i.e. ignore normal errors but not the other ones.
4422
0563dae9
MR
44232011-10-10 Martin Rudalics <rudalics@gmx.at>
4424
4425 * window.el (special-display-buffer-names)
4426 (special-display-regexps): Remove some remnants of earlier
4427 changes from doc-strings.
366ca7f3
MR
4428 (quit-windows-on): New function.
4429
4430 * vc/vc.el (vc-revert, vc-rollback):
4431 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4432 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 4433 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 4434
49677495
MR
44352011-10-09 Martin Rudalics <rudalics@gmx.at>
4436
4437 * window.el (frame-auto-hide-function): Add version tag.
4438 (Bug#9699)
4439
56f2d1e1
MA
44402011-10-09 Michael Albinus <michael.albinus@gmx.de>
4441
4442 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4443 condition.
4444
112a6592
LL
44452011-10-09 Leo Liu <sdl.web@gmail.com>
4446
4447 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4448 (Bug#9701)
4449
0812589b
GM
44502011-10-08 Glenn Morris <rgm@gnu.org>
4451
4452 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4453 before the first code statement zero indent. (Bug#9690)
4454
b2b0776e
CY
44552011-10-08 Chong Yidong <cyd@stupidchicken.com>
4456
4457 * simple.el (count-words-region): Always count in the region.
4458 Report the number of lines and characters too.
4459 (count-words): New command, which counts in the buffer if the
4460 region is inactive, as count-words-region used to.
4461 (count-words--message): New function. Handle plurals.
4462 (count-lines-region): Make it an alias for count-words-region.
4463
4464 * bindings.el (esc-map): Replace count-lines-region with
4465 count-words-region.
4466
c557cd6b
MR
44672011-10-08 Martin Rudalics <rudalics@gmx.at>
4468
4469 * window.el (window--delete): Delete dedicated frame
4470 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 4471 (switch-to-buffer): Fix doc-string typo.
c557cd6b 4472
61a57ef4 44732011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4474
3a7d293b 4475 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 4476
c3833279
CY
44772011-10-07 Chong Yidong <cyd@stupidchicken.com>
4478
4479 * bindings.el ([M-left],[M-right]): Bind to left-word and
4480 right-word respectively.
4481
21ce8245
GM
44822011-10-07 Glenn Morris <rgm@gnu.org>
4483
4484 * cus-start.el (debug-on-quit): Fix custom type.
4485
6d823bb2
LMI
44862011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4487
0181e193
LMI
4488 * subr.el (define-key-after): Clarify that the function is not
4489 useful for non-menu keymaps.
4490
6d823bb2
LMI
4491 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4492
8e3459ce 44932011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4494
21ce8245 4495 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 4496 in current minibuffer (Fix bug with recursive minibuffers).
4497
a1c2d21e
CY
44982011-10-06 Chong Yidong <cyd@stupidchicken.com>
4499
4500 * progmodes/gdb-mi.el (gdb): Doc fix.
4501
5a4cf282
MR
45022011-10-05 Martin Rudalics <rudalics@gmx.at>
4503
4504 * window.el (frame-auto-hide-function): New option replacing
4505 frame-auto-delete. Suggested by Stefan Monnier.
4506 (window--delete): Call frame-auto-hide-function instead of
4507 investigating frame-auto-delete.
c96111ea
MR
4508 (window-point-1, set-window-point-1): New functions.
4509 (window-in-direction, record-window-buffer, window-state-get-1)
4510 (display-buffer-record-window): Use window-point-1 instead of
4511 window-point.
4512 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 4513
9854542e
SM
45142011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4515
4516 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4517
8943cfb0
GM
45182011-10-05 Glenn Morris <rgm@gnu.org>
4519
4520 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4521 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
4522
647ab967
LL
45232011-10-05 Leo Liu <sdl.web@gmail.com>
4524
4525 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4526 works with buffer object.
4527
3ddfbced
SM
45282011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4529
4530 * mpc.el (mpc-tool-bar-map): Add labels.
4531
bdfa5dd2
GM
45322011-10-04 Glenn Morris <rgm@gnu.org>
4533
4534 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4535
0e2070b5
MR
45362011-10-04 Martin Rudalics <rudalics@gmx.at>
4537
4538 * window.el (window--delete): New function.
4539 (frame-auto-delete): Resuscitate option.
4540 (bury-buffer, replace-buffer-in-windows)
4541 (quit-window): Rewrite using window--delete.
4542 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4543 Pass display-buffer-mark-dedicated to window--display-buffer-2
4544 (Bug#9639).
4545
3dc61a09
SM
45462011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4547
915a9b64
SM
4548 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4549 returns a list (bug#9554). Add remote file name completion.
4550 * comint.el (comint--table-subvert): Curry and get quote&unquote
4551 functions as arguments.
4552 (comint--complete-file-name-data): Adjust call accordingly.
4553 * pcomplete.el (pcomplete--table-subvert): Remove.
4554 (pcomplete-completions-at-point): Use comint--table-subvert instead.
4555
3dc61a09
SM
4556 * minibuffer.el (completion-table-case-fold): Use currying.
4557 (completion--styles-type, completion--cycling-threshold-type):
4558 New constants.
4559 (completion-styles, completion-category-overrides)
4560 (completion-cycle-threshold): Use them.
4561 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4562 completion-table-case-fold.
4563
8ea0a993
SB
45642011-10-03 Stephen Berman <stephen.berman@gmx.net>
4565
4566 * minibuffer.el (completion-category-overrides): Fix type of styles
4567 and add more user friendly tags (bug#9660).
4568
8c24b7f6
SM
45692011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4570
4571 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4572 (mule-input-method-string): New widget.
4573 (default-input-method, language-info-custom-alist): Use it.
4574
428fe61a
SM
45752011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4576
32c1fffd
SM
4577 * pcomplete.el: Require comint.
4578 (pcomplete--common-suffix): Remove.
4579 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4580 (pcomplete--table-subvert): Sync with comint--table-subvert.
4581 (pcomplete--entries): Use comint-completion-file-name-table.
4582 * comint.el (comint-unquote-filename): Simplify.
4583 (comint-completion-file-name-table): New function (bug#9616).
4584 (comint--complete-file-name-data): Use it.
4585
428fe61a
SM
4586 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4587 (pcmpl-gnu-tar-buffer): Remove.
4588 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
4589 around. Make sure pcomplete-suffix-list is only changed temporarily.
4590 Don't look inside the tar's file if it's too large.
428fe61a 4591
04c52e2f
CY
45922011-10-01 Chong Yidong <cyd@stupidchicken.com>
4593
ce3cefcc
CY
4594 * cus-edit.el (custom-mode-map):
4595 * epa.el (epa-key-list-mode-map):
4596 * man.el (Man-mode-map):
4597 * startup.el (splash-screen-keymap):
4598 * simple.el (special-mode-map): Use scroll-up-command and
4599 scroll-down-command.
4600
4601 * progmodes/idlw-help.el (idlwave-help-mode-map):
4602 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4603 * net/newst-plainview.el (newsticker-mode-map):
4604 * emulation/ws-mode.el (wordstar-mode-map):
4605 * emulation/vi.el (vi-com-map):
4606 * calc/calc-graph.el (calc-graph-show-dumb):
4607 * term/sun.el (terminal-init-sun):
4608 * term/ns-win.el (global-map):
4609 * progmodes/grep.el (grep-mode-map):
4610 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4611 * mail/rmail.el (rmail-mode-map):
4612 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4613
04c52e2f
CY
4614 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4615 custom-safe-themes as special.
4616
79adf8c8
JD
46172011-10-01 Julien Danjou <julien@danjou.info>
4618
4619 * notifications.el (notifications-notify): Fix docstring.
4620
63bd50d3
PS
46212011-10-01 Per Starbäck <per@starback.se>
4622
4623 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4624
199e4c7e
MR
46252011-09-30 Martin Rudalics <rudalics@gmx.at>
4626
4627 * startup.el (command-line-1): Fix last fix by inserting
4628 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 4629 (Bug#9605) and (Bug#9636)
199e4c7e 4630
fe5f08dd
EZ
46312011-09-29 Eli Zaretskii <eliz@gnu.org>
4632
4633 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4634 window is hscrolled, move by logical lines. (Bug#9607)
4635 (line-move-visual): Update the doc string to the above effect.
4636
b5516bbd
MR
46372011-09-29 Martin Rudalics <rudalics@gmx.at>
4638
ccee00c0
MR
4639 * window.el (display-buffer-record-window): When WINDOW is the
4640 selected window use `point' instead of `window-point'. (Bug#9626)
4641
b5516bbd
MR
4642 * startup.el (command-line-1): Use insert-before-markers when
4643 inserting initial-scratch-message. (Bug#9605)
ccee00c0 4644
b5516bbd
MR
4645 * help.el (help-window): Remove variable.
4646
52aa0014
GM
46472011-09-29 Glenn Morris <rgm@gnu.org>
4648
4649 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4650
df9a7357
JB
46512011-09-29 Juanma Barranquero <lekktu@gmail.com>
4652
4653 * descr-text.el (describe-char-categories): Accept category
4654 descriptions more than one line long.
4655
a8406c20
SM
46562011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4657
88d9610c
SM
4658 * simple.el (delete-trailing-whitespace): Fix last change.
4659
a5daf810
SM
4660 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4661 Don't confuse "y => 3" as the beginning of a `y' operation.
4662
a8406c20
SM
4663 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4664 object has more than 4 slots (bug#9613).
4665
a239d4e9
JB
46662011-09-28 Juanma Barranquero <lekktu@gmail.com>
4667
4668 * subr.el (with-output-to-temp-buffer):
4669 * net/quickurl.el (quickurl, quickurl-browse-url):
4670 Fix typos in docstrings.
4671
693fbdb6
EZ
46722011-09-27 Eli Zaretskii <eliz@gnu.org>
4673
4674 * minibuffer.el (completion-styles)
4675 (completion-category-overrides): Cross reference each other in doc
4676 strings.
4677
8b457e28
GM
46782011-09-27 Glenn Morris <rgm@gnu.org>
4679
4680 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4681 to split-string. (Bug#9606)
4682
85a16208
LMI
46832011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4684
4685 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4686 (bug#9615).
4687
502f9ebd
CY
46882011-09-27 Chong Yidong <cyd@stupidchicken.com>
4689
4690 * emacs-lisp/package.el (list-packages): Fix echo area message.
4691
7690bdea
LL
46922011-09-27 Leo Liu <sdl.web@gmail.com>
4693
4694 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4695
e2ee6f30
MA
46962011-09-25 Michael Albinus <michael.albinus@gmx.de>
4697
4698 * net/dbus.el (dbus-unregister-object): Don't release services for
4699 registered signals. (Bug#9581)
4700
f3f98342
TZ
47012011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4702
4703 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4704 function that picks between cfengine 2 and 3 support
4705 automatically. Update docs accordingly.
4706
dd7aa8dd
KH
47072011-09-22 Kenichi Handa <handa@m17n.org>
4708
4709 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4710 ZERO.
4711 (indian-itrans-v5-table-for-tamil): New variable.
4712 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4713
3f2b07f8
KM
47142011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4715
4716 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4717 that's true if the current command involved collapsing of text.
4718 It's reset to false at the beginning of the next command.
4719 (allout-post-command-business): Move the cursor to the beginning
4720 of entry if the cursor is hidden and collapsing activity just
4721 happened.
4722
371d6a61
CY
47232011-09-24 Chong Yidong <cyd@stupidchicken.com>
4724
4725 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4726 tracking (Bug#9541).
4727
2ac2721a
UJ
47282011-09-24 Ulf Jasper <ulf.jasper@web.de>
4729
4730 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
4731 (newsticker-show-news): Automatically load html rendering package
4732 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4733 because w3m-fill-column is let-bound" and the error "Symbol's value
4734 as variable is void: w3m-fill-column".
2ac2721a 4735
fac7ae53
MA
47362011-09-24 Michael Albinus <michael.albinus@gmx.de>
4737
4738 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4739 Release services only if they are defined. (Bug#9581)
4740
e08b633b
RS
47412011-09-23 Richard Stallman <rms@gnu.org>
4742
e488d29c
RS
4743 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4744 distinguish start of paragraph from start of its text.
4745
19c38752
RS
4746 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4747
e08b633b
RS
4748 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4749 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4750 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4751
0a39f27e
AS
47522011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4753
4754 * international/mule-diag.el (mule-diag): Insert a newline after
4755 each fontset description.
4756
db4e950d
SM
47572011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4758
4759 * simple.el (delete-trailing-whitespace):
4760 Document last change; simplify.
4761
eca3f3ea
PW
47622011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4763
d68e189a
PW
4764 * simple.el (delete-trailing-whitespace): Also delete
4765 extra newlines at the end of the buffer.
4766
eca3f3ea
PW
4767 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4768 (picture-newline): Use forward-line so as to ignore fields.
4769
01c157cc
SM
47702011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4771
4772 * subr.el (with-wrapper-hook): Fix edebug spec.
4773
022de23e
LMI
47742011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4775
4776 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4777 (bug#4538).
4778
91683089
MA
47792011-09-23 Michael Albinus <michael.albinus@gmx.de>
4780
eca3f3ea
PW
4781 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4782 Fix nasty bug using wrong cached values.
91683089 4783
5bdd6fa4
AM
47842011-09-23 Alan Mackenzie <acm@muc.de>
4785
4786 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4787
97adfb97
CY
47882011-09-23 Chong Yidong <cyd@stupidchicken.com>
4789
4790 * window.el (pop-to-buffer): Ensure right window is selected if we
4791 chose another frame.
4792
d4ef2b50
EZ
47932011-09-22 Eli Zaretskii <eliz@gnu.org>
4794
4795 * simple.el (what-cursor-position): Use get-char-property-change
4796 and next-single-char-property-change, to be able to show display
4797 properties that come from overlays as well as text properties.
4798
72258fe5
CY
47992011-09-22 Chong Yidong <cyd@stupidchicken.com>
4800
4801 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4802
4803 * cmuscheme.el (run-scheme, switch-to-scheme):
4804 * cus-edit.el (customize-group, custom-buffer-create)
4805 (customize-browse):
4806 * info.el (info):
4807 * shell.el (shell):
4808 * mail/sendmail.el (mail):
4809 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4810
8f098516
RS
48112011-09-22 Richard Stallman <rms@gnu.org>
4812
4813 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4814 move back only to line beg, don't move back over blank lines.
4815
e74f1bb6
MA
48162011-09-22 Michael Albinus <michael.albinus@gmx.de>
4817
4818 * files.el (copy-directory): Set directory attributes only in case
4819 they could be retrieved from the source directory. (Bug#9565)
4820
bfeef8b6
DK
48212011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4822
4823 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4824 (hs-find-block-beginning, hs-hide-level-recursive):
4825 Ignore strings as well as comments. (Bug#9502)
4826
7e423bb8
AS
48272011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4828
4829 * progmodes/sql.el (sql-comint-postgres):
4830 Convert port number to a string. (Bug#9566)
4831
b4d72fcf
MR
48322011-09-22 Martin Rudalics <rudalics@gmx.at>
4833
4834 * window.el (quit-window): Undedicate window when switching to
4835 previous buffer. Reported by Thierry Volpiatto
4836 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
4837 (special-display-popup-frame): When popping up a new frame reset
4838 its previous buffers to nil. Simplify code.
b4d72fcf 4839
a7b88dc6
MA
48402011-09-21 Michael Albinus <michael.albinus@gmx.de>
4841
4842 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4843 and process filter, as done also in `shell-command'.
4844
cf4eacfd
MR
48452011-09-21 Martin Rudalics <rudalics@gmx.at>
4846
eca3f3ea 4847 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
4848 Call set-window-start with NOFORCE argument t.
4849 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
4850 (quit-window): Reword doc-string. Handle new format of
4851 quit-restore parameter. Don't delete window if it has a
4852 previous buffer we can show instead of the present one.
4853 (display-buffer-record-window): Rewrite using a new format for
4854 the quit-restore window parameter
4855 (special-display-popup-frame, display-buffer-same-window)
4856 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4857 (display-buffer-pop-up-window, display-buffer-use-some-window):
4858 Adapt symbol passed to display-buffer-record-window.
4859 * help.el (help-window-setup): Handle new format of quit-restore
4860 parameter.
4861
8d28cb95
SM
48622011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4863
94ab793f
SM
4864 * faces.el (face-list): Fix docstring (bug#9564).
4865
8d28cb95
SM
4866 * window.el (display-buffer--action-function-custom-type):
4867 Don't include internal functions in the Custom interface.
4868
3820edeb
JL
48692011-09-20 Juri Linkov <juri@jurta.org>
4870
4871 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4872 (Info-forward-node, Info-backward-node, Info-next-preorder)
4873 (Info-last-preorder): Use it. (Bug#9528)
4874
5147931d
JL
48752011-09-20 Juri Linkov <juri@jurta.org>
4876
4877 * info.el (Info-last-preorder): Visit last menu item only when
4878 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4879
cf499a1a
JD
48802011-09-20 Julien Danjou <julien@danjou.info>
4881
4882 * password-cache.el (password-cache-remove): Remove entries even if the
4883 value is nil, so that password with a nil value (negative caching) is
4884 possible to invalidate.
4885
f84e2fe2
LM
48862011-09-20 Lawrence Mitchell <wence@gmx.li>
4887
4888 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4889 all whitespace around breakpoint. (Bug#9553)
4890 (f90-find-breakpoint): Only break at whitespace inside a comment.
4891
78054a46
SM
48922011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4893
4894 * minibuffer.el (completion-file-name-table): Keep track of errors.
4895 (completion-table-with-predicate): Handle the case where pred1 is nil.
4896 * pcomplete.el (pcomplete-completions-at-point): Simplify.
4897
345083b2
SM
48982011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4899
e24e27be
SM
4900 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4901 (debugger-return-value): Signal an error if the debugging context does
4902 not await any return value.
4903
345083b2
SM
4904 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4905 * image-mode.el (image-toggle-display-text)
4906 (image-toggle-display-image): Stay away from evil `intangible'.
4907
08d355e3
LL
49082011-09-19 Leo Liu <sdl.web@gmail.com>
4909
4910 * replace.el (occur-revert-arguments): Make it permanent-local.
4911 (occur-mode): Don't call font-lock-defontify.
4912
f01da43f
CY
49132011-09-19 Chong Yidong <cyd@stupidchicken.com>
4914
4915 * net/ldap.el (ldap-search-internal): Don't push empty search
4916 result (Bug#9508).
4917
b6072fa6
SM
49182011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4919
4920 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4921
443d6696
MA
49222011-09-19 Michael Albinus <michael.albinus@gmx.de>
4923
4924 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4925 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4926
7cc6e154
JL
49272011-09-18 Juri Linkov <juri@jurta.org>
4928
4929 * buff-menu.el (Buffer-menu-mode-map):
4930 * dired.el (dired-mode-map):
4931 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4932 (lisp-interaction-mode-map):
4933 * emacs-lisp/package.el (package-menu-mode-map):
4934 * epa.el (epa-key-list-mode-map):
4935 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4936 (menu-bar-options-menu):
4937 * outline.el (outline-mode-menu-bar-map):
4938 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4939 * vc/vc-dir.el (vc-dir-menu-map):
4940 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4941 Capitalize non-function content words in menu item strings.
4942
4943 * dired.el (dired-mode-map): Add menu item for
4944 `image-dired-dired-toggle-marked-thumbs'.
4945
80302a81
JL
49462011-09-18 Juri Linkov <juri@jurta.org>
4947
4948 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4949 to `isearch-case-fold-search' and restore its original value
4950 after the `isearch-mode' call.
4951
46c5cf66
JL
49522011-09-18 Juri Linkov <juri@jurta.org>
4953
4954 * progmodes/grep.el (grep-process-setup): Don't check code for 1
4955 because `zgrep' returns 1 for successful matches (bug#9226).
4956
d18b513b
JL
49572011-09-18 Juri Linkov <juri@jurta.org>
4958
4959 * info.el (Info-extract-menu-node-name): Check the second match
4960 for empty string (second test-case of bug#9528).
4961 (Info-last-preorder): Let-bind `Info-history' to nil to not add
4962 intermediate nodes to the history (first test-case of bug#9528).
4963
72753f87
JL
49642011-09-18 Juri Linkov <juri@jurta.org>
4965
4966 * info.el (Info-mode-syntax-table): New variable.
1154d12e 4967 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 4968
c9384295
JL
49692011-09-18 Juri Linkov <juri@jurta.org>
4970
1154d12e
JB
4971 * info.el (Info-file-supports-index-cookies):
4972 Increment line-beginning-position's arg from 3 to 4 because makeinfo
4973 outputs one more line for long file names (bug#4142).
c9384295 4974
d473dce8
CY
49752011-09-18 Chong Yidong <cyd@stupidchicken.com>
4976
4977 * newcomment.el (comment-normalize-vars): If prompting for
4978 comment-start, set comment-start-skip too (Bug#8424).
4979
2176854d
JB
49802011-09-18 Johan Bockgård <bojohan@gnu.org>
4981
4982 * icomplete.el: Fix previous fix of Bug#5849.
4983 (icomplete-mode): Don't set completion-show-inline-help.
4984 (icomplete-minibuffer-setup): Set completion-show-inline-help
4985 locally during icompletion.
4986
3aace4e4
CY
49872011-09-18 Chong Yidong <cyd@stupidchicken.com>
4988
c940224f
CY
4989 * woman.el (woman2-process-escapes): Don't delete unrecognized
4990 escapes (Bug#7843).
4991
3aace4e4
CY
4992 * files.el (inhibit-first-line-modes-regexps): Add image files.
4993 (hack-local-variables-prop-line): Return nil for malformed
4994 prop-lines (Bug#9044).
4995
710dec63
MA
49962011-09-18 Michael Albinus <michael.albinus@gmx.de>
4997
4998 * net/tramp.el (top): Don't require 'shell.
4999 (tramp-methods): Fix docstring.
5000 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
5001 Return complete remote file name. Handle "smb" case.
5002 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
5003 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5004
5005 * net/tramp-compat.el (top): Require 'shell.
5006
5007 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5008 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5009 `tramp-current-host'.
5010 (tramp-get-remote-tmpdir): Remove.
5011
5012 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5013 `tramp-tmpdir' entries.
5014 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5015 (tramp-smb-handle-file-attributes): Ignore errors.
5016 (tramp-smb-wait-for-output): Check also for process end.
5017
5d5ac8ec
LMI
50182011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5019
5020 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5021 when sending QUIT (bug#9312).
5022
8c0f49f0
CY
50232011-09-17 Chong Yidong <cyd@stupidchicken.com>
5024
5025 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5026 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5027 occur-mode-display-occurrence.
5028 (occur-edit-mode): Add usage message.
5029 (occur-cease-edit): New command.
5030 (occur-after-change-function): Use text properties to find the
5031 position of the prefix text.
5032 (occur-engine): Set stickiness of prefix text properties.
5033
8f1383f7
GM
50342011-09-17 Glenn Morris <rgm@gnu.org>
5035
5036 * progmodes/etags.el (complete-tag):
5037 Fix call to completion-in-region. (Bug#9526)
5038
744ba0e3
JL
50392011-09-17 Juri Linkov <juri@jurta.org>
5040
5041 * textmodes/ispell.el (ispell-word): Add to the error message
5042 the word, ispell program name and current dictionary (bug#9121).
5043 (ispell-tex-arg-end): Capitalize "error" in the error message.
5044
d9bbf400
AS
50452011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5046
5047 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5048 check. (Bug#4251)
5049
8da11505
JL
50502011-09-17 Juri Linkov <juri@jurta.org>
5051
5052 * window.el (window-safe-min-height, window-safe-min-width):
5053 Fix typos (followup to bug#9522).
5054
a91adc7e
SJ
50552011-09-17 Sven Joachim <svenjoac@gmx.de>
5056
5057 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5058
064f328a
EZ
50592011-09-16 Eli Zaretskii <eliz@gnu.org>
5060
5061 * simple.el (line-move): If goal-column is set, move by logical
5062 lines, not by display lines. (Bug#971)
5063 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5064 to reflect the above change.
5065
e69df516
SM
50662011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5067
5068 * image.el (imagemagick-register-types): Use regexp-opt.
5069
cbb0f9ab
CY
50702011-09-15 Chong Yidong <cyd@stupidchicken.com>
5071
5072 * window.el (display-buffer-base-action): Rename from
5073 display-buffer-default-action. Make default value empty.
5074 (display-buffer-overriding-action): Convert to defvar.
5075 (display-buffer-fallback-action): New var.
5076
25322144
CY
50772011-09-15 Chong Yidong <cyd@stupidchicken.com>
5078
5079 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5080 declaration.
5081 (package--add-to-archive-contents): If there is a duplicate entry
5082 with an older version, remove it.
5083 (package-menu-mark-delete, package-menu-mark-install)
5084 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
5085 (package-menu-mark-obsolete-for-deletion):
5086 Use package-menu-get-status instead of a regexp search.
25322144
CY
5087 (package-menu-get-status): Use tabulated-list-entry.
5088 (package-menu-mark-upgrades): New command.
d770725a 5089 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
5090 (package-menu-execute): Do installation before deletion.
5091 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5092 instead of checking major-mode.
5093 (package-menu--find-upgrades): New function.
5094
7520339c
LMI
50952011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5096
5097 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5098 passwords in the log buffer.
65a046c4
LMI
5099 (smtpmail-process-filter): Update the process marker so that the
5100 "broken by peer" status message is inserted in the right place.
7520339c 5101
d3c30954
SM
51022011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5103
3fe48822
SM
5104 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5105 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5106 bibtex-completion-at-point-function.
5107 (bibtex-completion-at-point-function): Use them.
5108
1b8b3954
SM
5109 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5110
d3c30954
SM
5111 * mpc.el (mpc-constraints-tag-lookup): New function.
5112 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5113 also to browser "album|playlist".
5114
72779976
JL
51152011-09-14 Juri Linkov <juri@jurta.org>
5116
5117 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
5118 (isearch-edit-string): Use length of `isearch-string' when
5119 `isearch-fail-pos' returns nil.
5120 (isearch-message): Remove duplicate code and call
5121 `isearch-fail-pos' with arg `t'.
5122
a0bf2bcd
CY
51232011-09-14 Chong Yidong <cyd@stupidchicken.com>
5124
17bb0a2d
CY
5125 * replace.el (occur-mode-goto-occurrence): Don't force using other
5126 window (Bug#9499).
5127
a0bf2bcd
CY
5128 * dired-aux.el (dired-do-chmod): Don't provide initial input.
5129
f678e0b6
MR
51302011-09-14 Martin Rudalics <rudalics@gmx.at>
5131
5132 * window.el (display-buffer-window): Remove.
5133 (display-buffer-record-window): Use help-setup window parameter
5134 instead of variable display-buffer-window.
5135 (display-buffer-function, special-display-buffer-names)
5136 (special-display-function): Mention help-setup parameter instead
5137 of display-buffer-window in doc-string.
d3c30954
SM
5138 * help.el (help-window-setup): New argument help-window.
5139 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
5140 Reword some messages.
5141 (with-help-window): Pass window used for displaying the buffer
5142 to help-window-setup. Don't set display-buffer-window.
5143
8e39b2e8
GM
51442011-09-13 Glenn Morris <rgm@gnu.org>
5145
5146 * emacs-lisp/debug.el (debugger-make-xrefs):
5147 Preserve point. (Bug#9462)
5148
85e9c04b
CY
51492011-09-13 Chong Yidong <cyd@stupidchicken.com>
5150
5151 * window.el (window-deletable-p): Use next-frame.
5152
1b36ed6a
MR
51532011-09-13 Martin Rudalics <rudalics@gmx.at>
5154
5155 * window.el (window-auto-delete): Remove.
5156 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 5157 dedication and previous buffers.
1b36ed6a
MR
5158 (switch-to-prev-buffer): Don't delete window.
5159 (delete-windows-on): Delete a window's frame if and only if the
5160 window is dedicated.
5161 (replace-buffer-in-windows): Delete buffer's window or frame if
5162 and only if window is dedicated.
5163 (quit-window): Handle quit-restore as before last change.
4d61f28d 5164 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 5165
ef8ef9fb
CY
51662011-09-13 Chong Yidong <cyd@stupidchicken.com>
5167
5168 * window.el (window-deletable-p): Never delete the last frame on a
5169 given terminal.
5170
b2cba41e
GM
51712011-09-13 Glenn Morris <rgm@gnu.org>
5172
5173 * help.el (describe-key-briefly): Copy previous standard-output change.
5174
51553db6 51752011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
5176
5177 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
5178
b7556719
GM
51792011-09-13 Glenn Morris <rgm@gnu.org>
5180
5181 * emacs-lisp/lisp-mode.el (lisp-indent-function):
5182 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5183
64b51947
CY
51842011-09-12 Chong Yidong <cyd@stupidchicken.com>
5185
5186 * dired-aux.el (dired-mark-read-string): Don't return default
5187 value on empty input (Bug#9361).
5188 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5189 Omit initial minibuffer contents.
5190 (dired-do-chmod): Signal an error on empty input.
5191 (dired-mark-read-string): Don't return default on empty input.
5192
5193 * files.el (file-modes-symbolic-to-number): Doc fix.
5194
393a301e
SM
51952011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5196
5197 * international/mule-cmds.el (ucs-completions): Remove.
5198 (read-char-by-name): Use complete-with-action instead; add metadata.
5199
fa5660f9
CY
52002011-09-11 Chong Yidong <cyd@stupidchicken.com>
5201
5202 * window.el (display-buffer--action-function-custom-type)
5203 (display-buffer--action-custom-type): New vars.
5204 (display-buffer-alist, display-buffer-default-action)
5205 (display-buffer-overriding-action): Add defcustom types.
5206
4a592f66
CY
5207 * frame.el (delete-other-frames): Doc fix (Bug#276).
5208
73d56dbd
LMI
52092011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5210
5211 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5212
37ac18a3
CY
52132011-09-11 Chong Yidong <cyd@stupidchicken.com>
5214
5215 Change modes that used same-window-* vars to use switch-to-buffer.
5216
5217 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5218 Use switch-to-buffer.
5219
5220 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
5221 (customize-browse, custom-buffer-create-other-window):
5222 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
5223
5224 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5225 (Info-prev, Info-up, Info-speedbar-goto-node)
5226 (info-display-manual): Use switch-to-buffer.
5227 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5228
5229 * mail/sendmail.el (mail): Use switch-to-buffer.
5230 (mail-recover): Use switch-to-buffer-other-window.
5231
5232 * cmuscheme.el (run-scheme, switch-to-scheme):
5233 * ielm.el (ielm):
5234 * shell.el (shell):
5235 * net/rlogin.el (rlogin):
5236 * net/telnet.el (telnet, rsh):
5237 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5238
10195bd6
AS
52392011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5240
5241 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5242
b322f63a
LMI
52432011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5244
39d7fed6
LMI
5245 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5246 so don't mention it (bug#9301).
ba5a81f1 5247 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 5248
ee0e9f11
LMI
5249 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5250 match `x', `w32' and `ns', like the manual says (bug#9029).
5251
0b1c89c1 5252 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
5253 (process-kill-buffer-query-function): Mention the buffer name in
5254 the query.
0b1c89c1 5255
77549ea8
LMI
5256 * image-mode.el (image-next-line): The line parameter is mandatory
5257 (bug#9258).
5258
803ef892
LMI
5259 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5260 which can be useful (bug#9301).
5261
12980837
LMI
5262 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5263
91054f8f
LMI
5264 * subr.el (match-string): Mention that the current buffer should
5265 be the same as the search was done in (bug#9282).
5266
b322f63a
LMI
5267 * facemenu.el: Disable the remove-* commands if the mark isn't
5268 active (bug#9162).
5269
3199b96f
CY
52702011-09-10 Chong Yidong <cyd@stupidchicken.com>
5271
5272 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5273 of display-buffer.
5274 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5275
5276 * replace.el (occur-mode-goto-occurrence)
5277 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5278 and display-buffer.
5279
5280 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5281 display-buffer.
5282
5283 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5284 special-display and same-window variables.
5285 (mail-other-window): Use switch-to-buffer-other-window.
5286 (mail-other-frame): USe switch-to-buffer-other-frame.
5287
393a301e
SM
5288 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5289 Use display-buffer-other-frame.
3199b96f
CY
5290 (gdb-display-gdb-buffer): Use pop-to-buffer.
5291
5292 * progmodes/gud.el (gud-goto-info): Use info-other-window.
5293
5294 * progmodes/python.el: Don't set same-window-buffer-names.
5295
5296 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5297
5298 * window.el (display-buffer-alist): Add *Python*.
5299
8319e0bf
CY
53002011-09-10 Chong Yidong <cyd@stupidchicken.com>
5301
5302 * window.el (display-buffer-alist): Add entry for buffers
5303 previously handled same-window-*.
5304 (display-buffer-alist, display-buffer-default-action)
5305 (display-buffer-overriding-action): Mark as risky.
5306 (display-buffer-alist): Document action function changes.
5307 (display-buffer--same-window-action)
5308 (display-buffer--other-frame-action): New variables.
5309 (switch-to-buffer, display-buffer-other-frame): Use them.
5310 (display-buffer): Rename reuse-frame entry to reusable-frames.
5311 (display-buffer-reuse-selected-window): Function deleted.
5312 (display-buffer-reuse-window): Handle reusable-frames alist entry.
5313 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5314 (display-buffer-special): New function.
5315 (display-buffer--maybe-pop-up-frame-or-window): Rename from
5316 display-buffer-reuse-or-pop-window. Split off special-display
5317 part into display-buffer-special.
5318 (display-buffer-use-some-window): Don't perform any special
5319 pop-up-frames handling.
5320 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 5321 (display-buffer--maybe-same-window): Rename from
0d3ff375 5322 display-buffer-maybe-same-window.
8319e0bf 5323
919a69aa
CY
5324 * info.el: Don't set same-window-regexps.
5325 (info-setup): New function.
5326 (info-other-window, info): Call it.
5327
5328 * cus-edit.el: Don't set same-window-regexps.
5329 (customize-group): New argument.
5330 (customize-group-other-window): Use it.
5331 (customize-face, customize-face-other-window): Likewise.
5332 (custom-buffer-create-other-window): Use pop-to-buffer directly.
5333
8319e0bf
CY
5334 * net/rlogin.el:
5335 * net/telnet.el:
5336 * progmodes/gud.el: Don't set same-window-regexps.
5337
5338 * cmuscheme.el:
5339 * ielm.el:
5340 * shell.el:
5341 * mail/sendmail.el:
5342 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5343
25173000
JL
53442011-09-10 Juri Linkov <juri@jurta.org>
5345
5346 * isearch.el (isearch-edit-string): Remove obsolete mention of
5347 `C-w' (`isearch-yank-word-or-char') from docstring.
5348 (isearch-query-replace): Fix typo in docstring (bug#9466).
5349
056e44ef
JL
53502011-09-10 Juri Linkov <juri@jurta.org>
5351
5352 * paren.el (show-paren-function): Don't show escaped parens.
5353 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
5354
c3760c17
EZ
53552011-09-10 Eli Zaretskii <eliz@gnu.org>
5356
5357 * mail/sendmail.el (mml-to-mime, mml-attach-file)
5358 (mm-default-file-encoding): Remove autoload forms, they are
5359 replaced with autoload cookies in mml.el and mm-encode.el.
5360 (mail-add-attachment): New command.
5361 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5362 (mail-mode): Mention mail-insert-file and mail-add-attachment in
5363 the doc string.
5364 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5365
fece895e
RT
53662011-09-10 Reuben Thomas <rrt@sc3d.org>
5367
e69df516
SM
5368 * simple.el (count-words-region): Use buffer if there's no region
5369 (bug#9429).
fece895e 5370
5e68ce4a
JL
53712011-09-09 Juri Linkov <juri@jurta.org>
5372
5373 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5374 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5375 (wdired-isearch-filter-read-only): New function. (Bug#6362)
5376
0a6b9622
AM
53772011-09-09 Alan Mackenzie <acm@muc.de>
5378
5379 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5380 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
5381
14a29deb
EZ
53822011-09-09 Eli Zaretskii <eliz@gnu.org>
5383
5384 Fix for Savannah bug#9392.
5385 * simple.el (mail-encode-mml): New defvar.
5386
5387 * mail/rmail.el (mail-encode-mml): Add a defvar.
5388 (rmail-enable-mime-composing): Default to t.
5389 (rmail-forward): Use MIME method of forwarding only if both
5390 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5391 Set mail-encode-mml non-nil if the MIME method was used.
5392
5393 * mail/sendmail.el (mml-to-mime): Add autoload form.
5394 (mail-encode-mml): Add a defvar.
5395 (mail-mode): Make mail-encode-mml buffer-local and initialize it
5396 to nil.
5397 (mail-send): If mail-encode-mml is non-nil, run the outgoing
5398 message through mml-to-mime, and reset mail-encode-mml to nil.
5399
28c45130
GM
54002011-09-09 Glenn Morris <rgm@gnu.org>
5401
5402 * woman.el (woman-if-body): When processing an .el block,
5403 do not delete the next .el block as well. (Bug#9447)
69f4b618 5404 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 5405
9b1c252e
MR
54062011-09-08 Martin Rudalics <rudalics@gmx.at>
5407
5408 * window.el (window-deletable-p): Make sure window is live before
5409 invoking window-prev-buffers.
5410
567457e3
LL
54112011-09-08 Leo Liu <sdl.web@gmail.com>
5412
5413 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
5414
97f05794
JL
54152011-09-08 Juri Linkov <juri@jurta.org>
5416
5417 * progmodes/compile.el (compilation-environment): Make it
5418 a defcustom (bug#8340).
5419
8b0874b5
MR
54202011-09-08 Martin Rudalics <rudalics@gmx.at>
5421
5422 * window.el (frame-auto-delete): Rename to window-auto-delete.
5423 Make it control auto-deletion of windows and/or frames.
5424 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 5425 for deleting window/frame. (Bug#9419)
8b0874b5
MR
5426 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5427 Rewrite handling of case when window/frame can be deleted.
5428 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 5429 argument t. (Bug#9456)
8b0874b5 5430
4feb6e73
CY
54312011-09-07 Chong Yidong <cyd@stupidchicken.com>
5432
5433 * help-mode.el (help-mode): Restore autoload.
5434
91ab9c13
JL
54352011-09-07 Juri Linkov <juri@jurta.org>
5436
5437 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5438 `compilation-environment'. Set buffer-local
5439 `compilation-environment' to `thisenv' later after (funcall mode).
5440 (Bug#8340)
5441
5442 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
5443 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5444 instead of replacing its value. (Bug#8340)
5445
0527e251
JL
54462011-09-07 Juri Linkov <juri@jurta.org>
5447
5448 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5449 based on text properties put by `grep-filter' instead of matching
5450 escape sequences.
5451 (grep-mode): Set buffer-local `compilation-error-screen-columns'
5452 to the value of `grep-error-screen-columns' (bug#9438).
5453
249f792c
JL
54542011-09-07 Juri Linkov <juri@jurta.org>
5455
5456 * simple.el (next-error-highlight, next-error-highlight-no-select):
5457 Doc fix (bug#9432).
5458
ff7271b9
OT
54592011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5460
5461 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5462 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
5463
183fc730
LL
54642011-09-07 Leo Liu <sdl.web@gmail.com>
5465
5466 * net/rcirc.el (rcirc-mode): Conditionally initialize
5467 rcirc-input-ring.
5468
77694924
SM
54692011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5470
5471 * emacs-lisp/find-func.el (find-function-C-source): Only set
5472 find-function-C-source-directory after checking that we found a source
5473 file there (bug#9440).
5474
d809b8eb
AM
54752011-09-06 Alan Mackenzie <acm@muc.de>
5476
5477 * isearch.el (isearch-other-meta-char): Wherever a key list is
5478 unread, "unread" the prefix arg, too. This fixes bug #8901.
5479
453de99f
OG
54802011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5481
5482 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5483
90439906
JL
54842011-09-05 Juri Linkov <juri@jurta.org>
5485
5486 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5487
f62bd846
JL
54882011-09-05 Juri Linkov <juri@jurta.org>
5489
5490 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5491 keeping point where processing of grep matches begins, and
5492 continue to delete remaining escape sequences from the same point.
5493 (grep-filter): Make leading zero optional in "0?1;31m" because
5494 git-grep emits "\033[1;31m" escape sequences unlike expected
5495 "\033[01;31m" as GNU Grep does (bug#9408).
5496 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5497
045820ec
JL
54982011-09-05 Juri Linkov <juri@jurta.org>
5499
5500 * subr.el (y-or-n-p): Capitalize "yes".
5501
f5e29b9b
MA
55022011-09-04 Michael Albinus <michael.albinus@gmx.de>
5503
5504 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
5505 `tramp-cache-unload-hook' where appropriate.
5506 (tramp-methods): Rename `tramp-remote-sh' to
5507 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
5508 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5509
5510 * net/tramp-sh.el (top): Don't require 'shell.
5511 (tramp-methods): Add `tramp-remote-shell' and
5512 `tramp-remote-shell-args' entries.
5513 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5514 (tramp-sh-handle-shell-command): Remove.
5515 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5516 Use `tramp-remote-shell'.
5517
2784c434
CY
55182011-09-03 Chong Yidong <cyd@stupidchicken.com>
5519
393a301e 5520 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
5521 (sendmail-query-once): Save directly to send-mail-function.
5522 Update message-send-mail-function too.
5523
5524 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5525
464cdf56
CS
55262011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5527
5528 * progmodes/python.el (python-mode-map): Use correct function to
5529 start python interpreter from menu-bar (as reported by Geert
5530 Kloosterman).
5531 (inferior-python-mode-map): Fix typo.
393a301e 5532 (python-shell-map): Remove.
464cdf56 5533
d37e5c87
DD
55342011-09-03 Deniz Dogan <deniz@dogan.se>
5535
5536 * net/rcirc.el (rcirc-print): Simplify code for
5537 rcirc-scroll-show-maximum-output. There is no need to walk
5538 through all windows to find the right one.
5539
f3ada0ee
CS
55402011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5541
5542 * help.el (help-return-method): Doc fix.
5543
1f3c99ca
MR
55442011-09-03 Martin Rudalics <rudalics@gmx.at>
5545
5546 * window.el (window-deletable-p): Don't return a non-nil value
5547 when there's a buffer that was shown in the window before.
5548 (Bug#9419)
393a301e
SM
5549 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5550 Set window's previous buffers to nil.
1f3c99ca 5551
a3cf097f
EZ
55522011-09-03 Eli Zaretskii <eliz@gnu.org>
5553
5554 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5555 newline before and after the tag line, so it doesn't interfere
5556 with determining the paragraph direction of bidirectional text.
5557
3d03de90
LL
55582011-09-03 Leo Liu <sdl.web@gmail.com>
5559
5560 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5561
c3313451
CY
55622011-09-02 Chong Yidong <cyd@stupidchicken.com>
5563
393a301e 5564 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
5565 (pop-to-buffer): Change interactive spec. Pass second argument
5566 directly to display-buffer.
5567 (display-buffer): Fix interactive spec. Use functionp to
5568 distinguish between a function and a list of functions.
5569
5570 * abbrev.el (edit-abbrevs):
5571 * arc-mode.el (archive-extract):
5572 * autoinsert.el (auto-insert):
5573 * bookmark.el (bookmark-bmenu-list):
5574 * files.el (find-file):
5575 * view.el (view-buffer):
5576 * progmodes/compile.el (compilation-goto-locus):
5577 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5578
89894cd8
CY
55792011-09-02 Chong Yidong <cyd@stupidchicken.com>
5580
5581 * window.el (display-buffer-alist): Doc fix.
5582 (display-buffer): Add docstring. Don't treat
5583 display-buffer-default specially.
5584 (display-buffer-reuse-selected-window)
5585 (display-buffer-same-window, display-buffer-maybe-same-window)
5586 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5587 (display-buffer-pop-up-window)
5588 (display-buffer-reuse-or-pop-window)
5589 (display-buffer-use-some-window): New functions.
5590 (display-buffer-default-action): Use them.
393a301e 5591 (display-buffer-default): Delete.
89894cd8
CY
5592 (pop-to-buffer-1): Fix choice of actions.
5593
ae0bc9fb
SM
55942011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5595
5596 * minibuffer.el (completion--insert-strings): Don't get confused by
5597 completion entries that end with an LF char.
5598
e9d90883
EZ
55992011-09-01 Eli Zaretskii <eliz@gnu.org>
5600
5601 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5602
437014c8
CY
56032011-09-01 Chong Yidong <cyd@stupidchicken.com>
5604
5605 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
5606 (display-buffer-same-window, display-buffer-other-window):
5607 New functions.
437014c8
CY
5608 (pop-to-buffer-1): New function. Use the above.
5609 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 5610 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
5611
5612 * view.el (view-buffer-other-window, view-buffer-other-frame):
5613 Just use pop-to-buffer.
5614
a5e063d5
TV
56152011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5616
5617 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5618
793d32bb
WH
56192011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5620
5621 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5622
d65e4c15
RS
56232011-08-31 Richard Stallman <rms@gnu.org>
5624
5625 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5626 of the separation of rmail-view-buffer from rmail-buffer.
5627 If you say no to "replace original", the decrypt is in the
5628 view buffer. If you say yes, the decrypt goes into the
5629 rmail buffer also.
5630
f818cd2a
MR
56312011-08-31 Martin Rudalics <rudalics@gmx.at>
5632
5633 * window.el (display-buffer-window): Rewrite doc-string.
5634 (display-buffer-record-window): New function.
5635 (display-buffer-macro-specifiers)
5636 (display-buffer-even-window-sizes, display-buffer-set-height)
5637 (display-buffer-set-width, display-buffer-in-window)
5638 (display-buffer-reuse-window, display-buffer-split-specifiers)
5639 (display-buffer-side-specifiers, display-buffer-split-window-1)
5640 (display-buffer-split-window, display-buffer-split-atom-window)
5641 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5642 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5643 (display-buffer-other-window-means-other-frame)
5644 (display-buffer-normalize-special)
5645 (display-buffer-normalize-default)
5646 (display-buffer-normalize-argument)
5647 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5648 (display-buffer-normalize-specifiers, display-buffer-frame)
5649 (display-buffer-same-window, display-buffer-same-frame)
5650 (display-buffer-other-window)
5651 (display-buffer-same-frame-other-window)
5652 (display-buffer-other-frame, pop-to-buffer-same-window)
5653 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5654 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5655 (switch-to-buffer-same-frame)
5656 (switch-to-buffer-other-window-same-frame)
5657 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5658 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5659 (display-buffer-alist-set): Remove.
5660 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
5661 (special-display-regexps, special-display-function):
5662 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
5663 parameter.
5664 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5665 (special-display-frame-alist, special-display-popup-frame)
5666 (same-window-buffer-names, same-window-regexps, same-window-p)
5667 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5668 (split-window-preferred-function, split-height-threshold)
5669 (split-width-threshold, window-splittable-p)
5670 (split-window-sensibly, window--try-to-split-window)
5671 (window--frame-usable-p, even-window-heights)
5672 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
5673 (window--display-buffer-2, display-buffer-other-frame):
5674 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
5675 (display-buffer-default, display-buffer-assq-regexp): New functions.
5676 (display-buffer-alist): Rewrite doc-string.
5677 (display-buffer-default-action)
5678 (display-buffer-overriding-action): New variables.
5679 (display-buffer, switch-to-buffer): Rewrite.
5680 (pop-to-buffer): Restore Emacs 23 behavior but use
5681 window-normalize-buffer-to-display.
5682 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5683 Restore Emacs 23 behavior but use
5684 window-normalize-buffer-to-switch-to.
5685 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
5686 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5687 Rewrite using Emacs 23 options.
f818cd2a 5688
5bc3b51d
MA
56892011-08-31 Michael Albinus <michael.albinus@gmx.de>
5690
5691 * net/tramp.el (tramp-root-regexp): Remove.
5692 (tramp-completion-file-name-regexp-unified)
5693 (tramp-completion-file-name-regexp-separate)
5694 (tramp-completion-file-name-regexp-url): Don't use leading volume
5695 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
5696 (tramp-drop-volume-letter): Simplify definition.
5697 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 5698
b1a4f8e1
SM
56992011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5700
5701 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5702 (bug#9356).
5703
5664fa7b
RT
57042011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5705
b1a4f8e1 5706 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 5707
9a45d6c3
JL
57082011-08-29 Juri Linkov <juri@jurta.org>
5709
5710 * isearch.el (isearch-done): Don't display message "Mark saved"
5711 when arg `edit' is non-nil to prevent its flicker in the echo area.
5712
fb87e0fb
CY
57132011-08-28 Chong Yidong <cyd@stupidchicken.com>
5714
5715 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5716 obsolete packages for deletion.
5717
09ac1c2a
CS
57182011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5719
5720 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 5721 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
5722 view-mode from help-mode.
5723 (help-xref-override-view-map): Remove.
5724 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5725 view-mode is not used anymore.
5726
7a1ff57f
CY
57272011-08-28 Chong Yidong <cyd@stupidchicken.com>
5728
5729 * server.el (server-port): Doc fix.
5730
b9696605
CY
5731 * cus-theme.el (custom-theme-choose-mode): Inherit from
5732 special-mode (Bug#9124).
5733 (custom-theme-choose-mode-map): Add special-mode to parent.
5734
ef8cdf8c
AM
57352011-08-28 Alan Mackenzie <acm@muc.de>
5736
5737 * progmodes/cc-fonts.el
5738 (c-make-font-lock-BO-decl-search-function): New function.
5739 (c-basic-matchers-after - "Fontify the clauses after various
5740 keywords"): Extract the three keyword lists for the 3 erroneous
5741 constructs from the list of four, and use the new function above
5742 in place of an old one.
5743
27de4e20
DD
57442011-08-28 Deniz Dogan <deniz@dogan.se>
5745
5746 * net/rcirc.el (rcirc-insert-prev-input)
5747 (rcirc-insert-next-input): Remove unused argument.
5748
356a3681
SM
57492011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5750
5751 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5752
3fc9b218
AM
57532011-08-27 Alan Mackenzie <acm@muc.de>
5754
5755 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5756 handle function pointer parameters properly.
5757
538a061c
MR
57582011-08-27 Martin Rudalics <rudalics@gmx.at>
5759
5760 * window.el (display-buffer-reuse-window): Fix case where
5761 selected window was reused with non-nil OTHER-WINDOW argument.
5762 (Bug#9381)
5763
35b1c40c
DD
57642011-08-27 Deniz Dogan <deniz@dogan.se>
5765
5766 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5767 oftc's NickServ messages.
5768
2f6a3e79
GM
57692011-08-27 Glenn Morris <rgm@gnu.org>
5770
5771 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5772
7254299e
CY
57732011-08-26 Chong Yidong <cyd@stupidchicken.com>
5774
5775 * emacs-lisp/package.el (package-install): Call package-initialize
5776 if called interactively.
5777
f8ccf167
LL
57782011-08-26 Leo Liu <sdl.web@gmail.com>
5779
5780 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5781
3e8cd5ce
JL
57822011-08-25 Juri Linkov <juri@jurta.org>
5783
5784 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5785 `search-whitespace-regexp' (bug#9364).
5786
93eb7113
JL
57872011-08-25 Juri Linkov <juri@jurta.org>
5788
5789 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5790 `regexp-search-ring' to their global values to protect from
5791 updating by `read-from-minibuffer' (bug#9185).
5792
f65d1611
JL
57932011-08-25 Juri Linkov <juri@jurta.org>
5794
5795 * textmodes/ispell.el (ispell-command-loop): Add newline
5796 at the end of the "Use option `i'..." line.
5797
f1cf7a31
JL
57982011-08-25 Juri Linkov <juri@jurta.org>
5799
5800 * battery.el (display-battery-mode): If `battery-status-function'
5801 or `battery-mode-line-format' is nil, display the message and set
5802 `display-battery-mode' to nil (bug#9363).
5803
0c95fcf7
EZ
58042011-08-25 Eli Zaretskii <eliz@gnu.org>
5805
5806 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5807 bidi-string-mark-left-to-right; they are unnecessary now.
5808
a2ebe600
DD
58092011-08-25 Deniz Dogan <deniz@dogan.se>
5810
5811 * net/quickurl.el: Documentation typo fixes.
5812
e4ed06f1
CY
58132011-08-25 Chong Yidong <cyd@stupidchicken.com>
5814
5815 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5816
e5f1c99e
GM
58172011-08-25 Glenn Morris <rgm@gnu.org>
5818
b2948976
GM
5819 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5820
e5f1c99e
GM
5821 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5822 (smtpmail-via-smtp): Handle nil response from smtp.
5823
f22f4808
JL
58242011-08-24 Juri Linkov <juri@jurta.org>
5825
5826 * proced.el (proced-marked): Inherit from `error' instead of
5827 `font-lock-warning-face'.
5828
5829 * ibuffer.el (ibuffer-marked-face): Change default face from
5830 `font-lock-warning-face' to `warning'.
5831 (ibuffer-deletion-face): Change default face from
5832 `font-lock-type-face' to `error'.
5833
5834 * battery.el (battery-update): Use the face `error' instead of
5835 `font-lock-warning-face' (bug#6117).
5836
6a93965e
JL
58372011-08-24 Juri Linkov <juri@jurta.org>
5838
5839 * faces.el (success): Change face color from "Green3" to
5840 "ForestGreen" on light background (bug#9353).
5841
1ed43b09
CY
58422011-08-24 Chong Yidong <cyd@stupidchicken.com>
5843
5664fa7b
RT
5844 * window.el (quit-window): Rename from quit-restore-window.
5845 Use same arglist as old quit-window.
1ed43b09
CY
5846 (frame-auto-delete): Doc fix.
5847
5848 * view.el (view-mode-exit): Use quit-window.
5849
11dcdbb2
JL
58502011-08-24 Juri Linkov <juri@jurta.org>
5851
5852 * isearch.el (isearch-ring-adjust1): Start visiting previous
5853 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5854 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5855 for empty search string (when the last search string is reused
5856 automatically) to adjust the isearch ring to the last element and
5857 prepare the correct index for further M-p commands (bug#9185).
5858
de62b4df
KH
58592011-08-24 Kenichi Handa <handa@m17n.org>
5860
5861 * international/ucs-normalize.el: If decomposition property of
5862 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5863 nil.
5864 (nfd, nfkd): Likewise.
5865
963b492b
SM
58662011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5867
5868 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5869 from process filters aren't reliably transmitted to the surrounding
5870 accept-process-output.
5871 (mpc-proc-check): New function.
5872 (mpc-proc-sync): Use it (bug#8293)
5873
93b6b5e1
SM
58742011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5875
5876 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5877 Add compatibility functions (bug#9313).
5878
bca633fb
EZ
58792011-08-23 Eli Zaretskii <eliz@gnu.org>
5880
b177498a
EZ
5881 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5882
6df6ae42 5883 * international/uni-bidi.el: Regenerate.
bca633fb 5884
0902a04e
KH
58852011-08-23 Kenichi Handa <handa@m17n.org>
5886
5887 * international/charprop.el:
5888 * international/uni-bidi.el:
5889 * international/uni-category.el:
5890 * international/uni-combining.el:
5891 * international/uni-comment.el:
5892 * international/uni-decimal.el:
5893 * international/uni-decomposition.el:
5894 * international/uni-digit.el:
5895 * international/uni-lowercase.el:
5896 * international/uni-mirrored.el:
5897 * international/uni-name.el:
5898 * international/uni-numeric.el:
5899 * international/uni-old-name.el:
5900 * international/uni-titlecase.el:
5901 * international/uni-uppercase.el: Regenerate.
5902
3bbf23bc
MR
59032011-08-23 Martin Rudalics <rudalics@gmx.at>
5904
5905 * help.el (help-window-setup): Fix message displayed when other
5906 window is reused. (Bug#9341)
5907
b3fd59bd
SM
59082011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5909
1802e444
SM
5910 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5911 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5912
b3fd59bd
SM
5913 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5914 Mark obsolete.
5915 * shell.el (shell-parse-pcomplete-arguments): New function.
5916 (shell-completion-vars): Use it instead (bug#9160).
5917
4eb61348
SM
59182011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5919
867cab74
SM
5920 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5921 strings and comments (bug#9333).
5922
4eb61348
SM
5923 * emacs-lisp/debug.el (debug-arglist): New function.
5924 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
5925 (debug-on-entry-1): Handle interpreted closures (bug#9120).
5926
262a1439
JL
59272011-08-22 Juri Linkov <juri@jurta.org>
5928
56ee679c
JL
5929 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5930 Revert regexp that highlights output switches to its old
5931 pre-2010-10-28 value and remove one `?' from it (bug#9319).
5932
262a1439
JL
5933 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5934 to check for empty output (bug#9226).
5935
f13f86fb
CY
59362011-08-22 Chong Yidong <cyd@stupidchicken.com>
5937
5938 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5939 symbol-constituent as the default, as that stops font-lock from
5940 working properly (Bug#8843).
5941
c65c9622
LMI
59422011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5943
5944 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5945 `coding-system-for-*' around the process open call to avoid
5946 auth-source side effects.
e7f2c178 5947 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
5948 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5949 probe hangs.
c65c9622 5950
23a8a5ab
CY
59512011-08-21 Chong Yidong <cyd@stupidchicken.com>
5952
ff98b2dd
CY
5953 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5954
23a8a5ab
CY
5955 * emacs-lisp/find-func.el (find-function-noselect): New arg
5956 lisp-only.
5957
5958 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5959 signal an error for built-in functions (Bug#6664).
5960
f5e3c598
LMI
59612011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5962
5963 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5964 (smtpmail-try-auth-methods): Use it.
5965
a3f2468a
CY
59662011-08-21 Chong Yidong <cyd@stupidchicken.com>
5967
2c34e8da
CY
5968 * font-lock.el (font-lock-fontify-region)
5969 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5970 (font-lock-default-unfontify-buffer)
5971 (font-lock-default-fontify-region)
5972 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5973
b3fd59bd
SM
5974 * progmodes/compile.el (compilation-error-properties):
5975 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
5976 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5977 `ant' regexp.
ee31aabc 5978
a3f2468a
CY
5979 * net/browse-url.el (browse-url-firefox): Don't call
5980 browse-url-firefox-sentinel unless using -remote (Bug#9328).
5981
8e999f70
GM
59822011-08-20 Glenn Morris <rgm@gnu.org>
5983
c21a496a
GM
5984 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5985
59ee0542
GM
5986 * tutorial.el (tutorial--default-keys): Update some default bindings.
5987
8e999f70
GM
5988 * files.el (hack-local-variables): Fully ignore case for "mode:".
5989
e3715033
AM
59902011-08-20 Alan Mackenzie <acm@muc.de>
5991
5992 Resolve invalid use of a regexp in regexp-opt.
5993
4d61f28d
JB
5994 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5995 detection for a java annotation.
e3715033 5996
4d61f28d 5997 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
5998 detection for a java annotation.
5999
4d61f28d
JB
6000 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6001 handling for java.
e3715033
AM
6002 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6003
04ed2e9c
CY
60042011-08-20 Chong Yidong <cyd@stupidchicken.com>
6005
6006 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6007 (Bug#9274).
6008
826cee64
AM
60092011-08-20 Alan Mackenzie <acm@muc.de>
6010
58179cce 6011 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
6012 such a construct. Mainly for when jit-lock etc. starts a chunk
6013 here.
6014
58179cce 6015 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 6016 variable.
58179cce 6017 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
6018 c-make-font-lock-search-function.
6019 (c-make-font-lock-search-function): Use the above function.
6020 (c-make-font-lock-context-search-function): New function.
6021 (c-cpp-matchers): Enhance the preprocessor expression case with
6022 the above function
6023 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6024 which takes an expression.
6025
6026 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6027
13009bd8
MR
60282011-08-20 Martin Rudalics <rudalics@gmx.at>
6029
6030 * window.el (display-buffer-reuse-window)
6031 (display-buffer-pop-up-window): Don't reuse or split a side
6032 window.
6033
9234ff7f
GM
60342011-08-19 Glenn Morris <rgm@gnu.org>
6035
6036 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 6037 Downcase "Mode:". (Bug#9331)
9234ff7f 6038
f635daa1
CY
60392011-08-18 Chong Yidong <cyd@stupidchicken.com>
6040
6041 * international/characters.el: Add L and R categories.
6042
6043 * subr.el (bidi-string-mark-left-to-right): Rename from
6044 string-mark-left-to-right. Use category search.
6045
6046 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6047
bc987f8b
JL
60482011-08-18 Juri Linkov <juri@jurta.org>
6049
6050 * faces.el (error, warning, success): New faces with definitions
6051 copied from old default values of `font-lock-warning-face',
6052 `compilation-warning', `compilation-info' (bug#6117).
6053
6054 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6055
6056 * progmodes/compile.el (compilation-error): Inherit from `error'.
6057 (compilation-warning): Inherit from `warning'.
6058 (compilation-info): Inherit from `success'.
6059
6060 * dired.el (dired-marked): Inherit from `warning'.
6061 (dired-flagged): Inherit from `error'.
6062
57173b96
LMI
60632011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6064
3e79eb87
LMI
6065 * mail/smtpmail.el (auth-source): Require to avoid problems with
6066 binding variables (bug#9298). Also clean up some unused
6067 autoloads.
6068
b3fd59bd
SM
6069 * net/network-stream.el (network-stream-open-starttls):
6070 Support using starttls.el without using gnutls-cli.
57173b96 6071
02b404de
JL
60722011-08-17 Juri Linkov <juri@jurta.org>
6073
6074 * progmodes/grep.el (rgrep): Handle the case when
6075 `grep-find-command' is a cons cell (bug#9278).
6076
8c9177f2
MR
60772011-08-17 Martin Rudalics <rudalics@gmx.at>
6078
6079 * window.el (display-buffer-pop-up-frame): Run frame creation
6080 function with BUFFER current (as special-display-popup-frame
6081 does). Reported by Drew Adams.
6082
3644a0ab
DU
60832011-08-17 Daiki Ueno <ueno@unixuser.org>
6084
6085 * epa-mail.el: Simplify GnuPG group expansion using
6086 epg-expand-group.
6087 (epa-mail-group-alist, epa-mail-group-modtime)
6088 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6089 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6090 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6091 Remove.
6092
5e617bc2 60932011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
6094
6095 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6096
9c4aeabf
AM
60972011-08-16 Alan Mackenzie <acm@muc.de>
6098
6099 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6100 Correct, to avoid the inside of macros.
6101
3a99bf64
RS
61022011-08-16 Richard Stallman <rms@gnu.org>
6103
04963aa8
RS
6104 * epa-mail.el: Handle GnuPG group definitions.
6105 (epa-mail-group-alist, epa-mail-group-modtime)
6106 (epa-mail-gnupg-conf-file): New variables.
6107 (epa-mail-parse-groups, epa-mail-sync-groups)
6108 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6109 (epa-mail-expand-recipients): New functions.
6110 (epa-mail-encrypt): Call epa-mail-expand-recipients.
6111
177549d0
RS
6112 * mail/rmail.el (rmail-epa-decrypt): New command.
6113
fe38beef
RS
6114 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6115 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
6116 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6117 (epa-decrypt-armor-in-region): Make error message clearer.
6118
934eacb9
SM
61192011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6120
6121 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6122 and "a2b" to "ab" for `prefix'.
6123
d024fb4e
CY
61242011-08-14 Chong Yidong <cyd@stupidchicken.com>
6125
6126 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6127 filter groups.
de148fee
CY
6128 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
6129 Fourquet (Bug#8804).
d024fb4e 6130
62f1ca49
JB
61312011-08-12 Juanma Barranquero <lekktu@gmail.com>
6132
6133 * startup.el (argi): Declare as global variable (bug#9275).
6134
9ccaaa4b
CY
61352011-08-12 Chong Yidong <cyd@stupidchicken.com>
6136
6137 * subr.el (string-mark-left-to-right): Search the entire string
6138 for RTL script, not just the terminating character. Doc fix.
6139
a3dae87a
SM
61402011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6141
6cd18349
SM
6142 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6143 New function.
6144 (js--regexp-literal, js-syntax-propertize-function): Remove.
6145 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6146 (js-mode-map): Don't rebind electric keys.
6147 (js-insert-and-indent): Remove.
6148 (js-mode): Setup electric-layout and electric-indent instead.
6149
a3dae87a
SM
6150 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6151
9d5cb631
DU
61522011-08-12 Daiki Ueno <ueno@unixuser.org>
6153
6154 * epa.el (epa-progress-callback-function): Fix the logic of
6155 displaying progress.
6156 * epa-file.el (epa-file-insert-file-contents): Make progress
6157 display more user-friendly.
6158 (epa-file-write-region): Ditto.
6159
3e26a4a2
CY
61602011-08-10 Chong Yidong <cyd@stupidchicken.com>
6161
6162 * subr.el (string-mark-left-to-right): New function.
6163
6164 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6165 Use string-mark-left-to-right.
6166 (list-buffers-noselect): Caller changed.
6167
a3dae87a
SM
6168 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6169 Use string-mark-left-to-right.
3e26a4a2
CY
6170 (tabulated-list-print): Recenter after moving point.
6171
ac8cf6e6
JL
61722011-08-10 Juri Linkov <juri@jurta.org>
6173
6174 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6175 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6176 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6177
8d96c9a4
CY
61782011-08-09 Chong Yidong <cyd@stupidchicken.com>
6179
6180 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6181 (Bug#7554).
6182
7be1c708 61832011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
6184
6185 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6186 character. (Bug#6594)
6187
37e11a63
CY
61882011-08-08 Chong Yidong <cyd@stupidchicken.com>
6189
839dde57
CY
6190 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6191 (image-dired--with-db-file): New macro.
6192 (image-dired-write-tags, image-dired-remove-tag)
6193 (image-dired-create-gallery-lists, image-dired-write-comments)
6194 (image-dired-get-comment, image-dired-mark-tagged-files)
6195 (image-dired-list-tags, image-dired-gallery-generate): Use it.
6196 (image-dired-gallery-generate): Use insert-file-contents.
6197
37e11a63
CY
6198 * time.el (display-time-world-list, display-time-world-display):
6199 * time-stamp.el (time-stamp-string):
6200 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6201 set-time-zone-rule (Bug#7337).
6202
0b4946c4
DU
62032011-08-08 Daiki Ueno <ueno@unixuser.org>
6204
6205 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6206 (epg-error-to-string, epg-errors-to-string): New function.
6207 (epg-wait-for-completion): Reverse errors list.
6208 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6209 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6210 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6211 (epg-sign-keys, epg-generate-key-from-file)
6212 (epg-generate-key-from-string): Format errors by using
6213 epg-errors-to-string (bug#9255).
6214 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6215
75bfc667
JL
62162011-08-07 Juri Linkov <juri@jurta.org>
6217
6218 * faces.el (list-faces-display): Remove extra angle bracket
6219 from `help-mode-map'.
6220
6221 * info.el (Info-history-toc-nodes): Doc fix.
6222
6223 * longlines.el (longlines-mode): Doc fix.
6224
673e08bb
SM
62252011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6226
4640dd88
SM
6227 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6228 of statements and in a few more cases (bug#9183).
6229
673e08bb
SM
6230 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6231 New functions.
6232 (cl-transform-lambda): Use them (bug#9239).
6233
89b3f019
MR
62342011-08-05 Martin Rudalics <rudalics@gmx.at>
6235
6236 * window.el (display-buffer-same-window)
6237 (display-buffer-same-frame, display-buffer-other-window)
6238 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6239 (pop-to-buffer-other-window)
6240 (pop-to-buffer-same-frame-other-window)
6241 (pop-to-buffer-other-frame): Make them defuns.
6242 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6243
640c8776
SM
62442011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6245
6246 * subr.el (make-composed-keymap): Move from C. Change calling
6247 convention, and improve docstring to bring attention to a subtle point.
6248 * minibuffer.el (completing-read-default): Adjust accordingly.
6249
63648a95
MA
62502011-08-03 Michael Albinus <michael.albinus@gmx.de>
6251
6252 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6253 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6254
6255 * net/trampver.el: Update release number.
6256
b796c9b7
SM
62572011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6258
6259 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6260 "in" (bug#9190).
6261
2239d7d5
LMI
62622011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6263
e07dd7c3
LMI
6264 * mail/sendmail.el (sendmail-query-once): Restore the current
6265 buffer after querying (bug#9074).
6266
0e6a2bd7
LMI
6267 * dired.el (dired-flagged): Use different faces for marked and
6268 flagged files (bug#6117).
6269
ce887515
LMI
6270 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6271 (bug#4433).
6272
92f2affc
LMI
6273 * ido.el (ido-mode): Switch off the message if called
6274 non-interactively.
6275
57d5aff0
LMI
6276 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6277 before 587, since it appears that that's more likely to work for
6278 more people.
6279
98cd6c18 6280 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 6281 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
6282 exist.
6283
b96dec83
LMI
6284 * info.el: Remove the `Info-beginning-of-buffer' function
6285 (bug#8325).
6286
b796c9b7
SM
6287 * net/network-stream.el (network-stream-open-starttls):
6288 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 6289
d90e2ea0
MR
62902011-08-01 Martin Rudalics <rudalics@gmx.at>
6291
6292 * window.el (display-buffer-in-window): Don't set dedicated status
6293 of window here (Bug#9215).
6294 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6295 (display-buffer-pop-up-side-window)
b796c9b7 6296 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 6297
cca09170
SM
62982011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6299
6300 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6301 before binding generated-autoload-file.
6302
027b979c
DD
63032011-08-01 Deniz Dogan <deniz@dogan.se>
6304
6305 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6306
3c7ee4f3
MA
63072011-07-30 Michael Albinus <michael.albinus@gmx.de>
6308
6309 Sync with Tramp 2.2.2.
6310
6311 * net/trampver.el: Update release number.
6312
2cc8e51a
JL
63132011-07-30 Juri Linkov <juri@jurta.org>
6314
6315 * dired-aux.el (dired-touch-initial): Remove function.
6316 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6317 current time, and `default' to the last modification time of the
6318 current marked file (bug#6887).
6319
a514d856
JM
63202011-07-28 Jose E. Marchesi <jemarch@gnu.org>
6321
6322 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 6323 numeric argument to read-number (bug#9163).
a514d856 6324
8a7eddd7
MA
63252011-07-27 Michael Albinus <michael.albinus@gmx.de>
6326
6327 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6328 connection process, it could be nil.
6329
1ddd96f5
LL
63302011-07-27 Leo Liu <sdl.web@gmail.com>
6331
6332 Simplify url handling in rcirc-mode.
6333
6334 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6335 (rcirc-browse-url-at-mouse): Remove.
6336 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6337
b248a85d
AM
63382011-07-26 Alan Mackenzie <acm@muc.de>
6339
6340 Fontify bitfield declarations properly.
6341
6342 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6343 (c-symbol-chars): Now exported as a lang variable.
6344 (c-not-primitive-type-keywords): New lang variable.
6345
6346 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6347 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 6348 parsed as a bitfield declaration.
b248a85d 6349
b796c9b7
SM
6350 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6351 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
6352 (c-punctuation-in): New function.
6353 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6354 declarations properly.
6355
68575ab0
UJ
63562011-07-26 Ulf Jasper <ulf.jasper@web.de>
6357
6358 * calendar/icalendar.el (icalendar--all-events): Take care of
6359 multiple vcalendars in a single file.
b796c9b7 6360 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 6361
0f0a88b9
DD
63622011-07-25 Deniz Dogan <deniz@dogan.se>
6363
6364 * image.el (insert-image): Clarifying docstring.
6365
0b3f36df
MA
63662011-07-24 Michael Albinus <michael.albinus@gmx.de>
6367
6368 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6369 `tramp-send-command-and-check' if there is no error.
6370 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6371
a9901f61
AM
63722011-07-22 Alan Mackenzie <acm@muc.de>
6373
6374 Prevent cc-langs.elc being loaded at run time.
6375
6376 * progmodes/cc-mode.el: Remove two autoload forms which loaded
6377 cc-langs.
6378
4d61f28d 6379 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
6380 "(require 'cc-langs)". Quote a form so it will evaluate at
6381 (cc-mode's) compilation time.
6382
11d074b2
MA
63832011-07-22 Michael Albinus <michael.albinus@gmx.de>
6384
6385 * net/tramp.el (tramp-file-name-handler): Avoid recursive
6386 loading. (Bug#9114)
6387
938b94c8
MR
63882011-07-21 Martin Rudalics <rudalics@gmx.at>
6389
6390 * window.el (display-buffer-pop-up-window)
6391 (display-buffer-pop-up-side-window)
6392 (display-buffer-in-side-window): Call display-buffer-set-height
6393 and display-buffer-set-width after setting the new window's
b796c9b7 6394 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 6395
bfa4f190
SS
63962011-07-20 Sam Steingold <sds@gnu.org>
6397
6398 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6399 (etags-tags-included-tables): Call `convert-standard-filename' on
6400 the file names contained in TAGS so that windows Emacs can handle
6401 TAGS files created by cygwin ctags.
6402
8ca42262
LMI
64032011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
6404
6405 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6406 which apparently didn't work.
6407
5db2afd2 64082011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 6409
5db2afd2
RW
6410 * proced.el (proced-send-signal): For *Marked Processes* buffer
6411 put point at beginning of buffer.
6412
92e15d10
SB
64132011-07-19 Stephen Berman <stephen.berman@gmx.net>
6414
6415 * proced.el (proced-format): Make header lines align with the text
6416 (bug#1779).
6417
1bfd59e5
LMI
64182011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6419
6420 * view.el (view-buffer): Allow running in `special' modes if we're
6421 visiting a file (bug#8615).
6422
f5aae37c
MR
64232011-07-19 Martin Rudalics <rudalics@gmx.at>
6424
6425 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
6426 (display-buffer-alist-set-1, display-buffer-alist-set-2):
6427 New functions.
f5aae37c
MR
6428 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6429 more accurately.
6430
bf2c1571
AM
64312011-07-18 Alan Mackenzie <acm@muc.de>
6432
6433 Fontify declarators properly when, e.g., a jit-lock chunk begins
6434 inside a declaration.
6435
6436 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6437
b796c9b7
SM
6438 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6439 New function.
bf2c1571
AM
6440 (c-complex-decl-matchers): Insert reference to
6441 c-font-lock-enclosing-decls.
6442
6443 * progmodes/cc-engine.el (c-backward-single-comment):
6444 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6445 to nil around calls to (forward-comment -1).
6446
4e190b80
LMI
64472011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6448
12dc863d
LMI
6449 * image.el (put-image): Doc typo fix.
6450
a762e966
LMI
6451 * progmodes/etags.el (tags-search): Doc typo fix.
6452
4e190b80
LMI
6453 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6454 password if we get errors 550 to 554.
6455
f019fb21
LMI
64562011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6457
b796c9b7 6458 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 6459
81746738
LMI
6460 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6461 indentation character (bug#6380).
6462
3ee3a1b5
LMI
6463 * files.el (buffer-offer-save): Made permanently local (bug#6241).
6464
c82f64de
LMI
6465 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6466 to clarify what the problem is (bug#4291).
6467
f019fb21
LMI
6468 * simple.el (current-kill): Clarify what
6469 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
6470 (auto-fill-mode): Document `auto-fill-function' in relation to
6471 `auto-fill-mode' (bug#2470).
f019fb21 6472
0794775d
LM
64732011-07-16 Lawrence Mitchell <wence@gmx.li>
6474
6475 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6476 method if slot is read-only (bug#9035).
6477
be39b8cc
MR
64782011-07-16 Martin Rudalics <rudalics@gmx.at>
6479
b796c9b7 6480 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 6481 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
6482 selected before, see discussion of (Bug#8615), (Bug#6954).
6483 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 6484
6ccf7859
GM
64852011-07-15 Glenn Morris <rgm@gnu.org>
6486
6487 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 6488 Respect help-form.
6ccf7859 6489
87e86684
LM
64902011-07-09 Lawrence Mitchell <wence@gmx.li>
6491
6492 * net/gnutls.el (gnutls-min-prime-bits): New variable.
6493 (gnutls-negotiate): Use it.
6494
d6066239
LMI
64952011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6496
b796c9b7
SM
6497 * net/gnutls.el (gnutls-negotiate):
6498 Upcase `gnutls-algorithm-priority'.
d6066239 6499
bd23ebc0
GM
65002011-07-15 Glenn Morris <rgm@gnu.org>
6501
c65bca65
GM
6502 * jka-compr.el (jka-compr-verbose): Move from here...
6503 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
6504 Add missing :version tag.
6505 * info.el: No need to require jka-compr when compiling.
bd23ebc0 6506
478615cc
LMI
65072011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6508
7b41decb
LMI
6509 * net/gnutls.el (gnutls-algorithm-priority): New variable.
6510 (gnutls-negotiate): Use it.
6511
dbc44fcd
LMI
6512 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6513
06789f97
LMI
6514 * info.el (Info-beginning-of-buffer): New command.
6515 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6516 announcing `b' as the key (bug#8325).
ab896c37 6517 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 6518
c39da690
LMI
6519 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6520
3aa5f34b
LMI
6521 * international/mule-cmds.el
6522 (describe-specified-language-support): Make the error message
6523 clearer (bug#8905).
6524
4bf0979f
LMI
6525 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6526
478615cc
LMI
6527 * isearch.el (isearch-barrier): Add a doc string, since it's
6528 mentioned in a function doc string (bug#8678).
6529
75c68aa1
MR
65302011-07-15 Martin Rudalics <rudalics@gmx.at>
6531
6532 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6533 buffer argument (Bug#9083) and self-identifying label argument.
6534
a7c33da2
GM
65352011-07-15 Glenn Morris <rgm@gnu.org>
6536
6537 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6538
2f5c6024
LMI
65392011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6540
6541 * man.el (Man-fontify-manpage): Fix message when formatting the
6542 man page (bug#7929).
6543
0bb23927 65442011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
6545
6546 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6547 argument LRM; if non-nil, append an invisible LRM character to the
6548 buffer name.
6549 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6550 last argument non-nil, when formatting buffer names.
0bb23927
EZ
6551 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6552 paragraph direction.
cce4b0a7 6553
621ef9ab
LMI
65542011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6555
d1583c48
LMI
6556 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6557 the man page name (bug#7929).
6558
6a57fb5f
LMI
6559 * image.el (put-image): Mention the `put-image' overlay property
6560 (bug#7834).
6561
d7956b14
LMI
6562 * scroll-bar.el (set-scroll-bar-mode): Mention that
6563 `scroll-bar-mode' lists the values (bug#7772).
6564
5b2d4a66
LMI
6565 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6566 command (bug#7729).
6567
7509a874
LMI
6568 * rect.el (apply-on-rectangle): Return the point after the last
6569 operation.
6570 (string-rectangle): Go to the point after the last operation
6571 (bug#7522).
6572
4fe74b19
LMI
6573 * printing.el (pr-toggle-region): Clarify the documentation
6574 slightly (bug#7493).
6575
b796c9b7
SM
6576 * time.el (display-time-update):
6577 Allow `display-time-mail-function' to return nil (bug#7158).
6578 Fix suggested by Detlev Zundel.
ab283561 6579
fc233c9d
LMI
6580 * vc/diff.el (diff): Clarify the order the file names are read
6581 (bug#7111).
6582
43f5740b
LMI
6583 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6584 the doc string (bug#7015).
6585
f2182a76
LMI
6586 * font-lock.el (font-lock-maximum-decoration): Mention what
6587 numeric levels mean (bug#6935).
6588
621ef9ab
LMI
6589 * startup.el (initial-buffer-choice): Don't mention the `none'
6590 selection, which is against policy.
6591
adc47434
MR
65922011-07-14 Martin Rudalics <rudalics@gmx.at>
6593
b796c9b7
SM
6594 * window.el (display-buffer-normalize-special):
6595 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 6596
7e5bfb8f
EZ
65972011-07-14 Eli Zaretskii <eliz@gnu.org>
6598
6599 * subr.el (version<, version<=, version=): Mention "-CVS" and
6600 "-12345" alpha version numbers.
6601
27fa387a
CY
66022011-07-14 Chong Yidong <cyd@stupidchicken.com>
6603
6604 * bindings.el: Add advertised binding for set-mark-command
6605 (Bug#5772).
6606
8bdfa064
CY
66072011-07-14 Chong Yidong <cyd@stupidchicken.com>
6608
6609 * bindings.el (mode-line-other-buffer):
6610 * bookmark.el (bookmark-bmenu-2-window):
6611 * bs.el (bs-cycle-next, bs-cycle-previous):
6612 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6613 switch-to-buffer.
6614
6615 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 6616 Delete.
8bdfa064 6617
5eba16a3
JB
66182011-07-14 Juanma Barranquero <lekktu@gmail.com>
6619
6620 * follow.el (follow-debug-message, follow-redisplay):
6621 * jka-cmpr-hook.el (with-auto-compression-mode):
6622 Fix typos in docstrings.
6623
15853710
LMI
66242011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6625
a28e4607
LMI
6626 * subr.el (with-silent-modifications): Clarify somewhat what the
6627 macro inhibits (bug#6525).
6628
15853710
LMI
6629 * simple.el (eval-expression): Note what it does if called
6630 interactively (bug#6495).
6631
bee0fcef
CY
66322011-07-13 Chong Yidong <cyd@stupidchicken.com>
6633
b796c9b7
SM
6634 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6635 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
6636
6637 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6638 Remove switch-to-buffer.
6639
58274504
LMI
66402011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6641
bd2fcc8d
LMI
6642 * files.el (make-directory): Clarify that an error will be raised
6643 if there's an error (bug#6397).
6644
0f04b32c
LMI
6645 * startup.el (initial-buffer-choice): Add `none' as a choice
6646 (bug#6234).
6647
465c5fc8
LMI
6648 * subr.el (add-hook): Clarify section about buffer-local hooks
6649 (bug#6218).
6650
58274504
LMI
6651 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6652
bead9a43
JB
66532011-07-13 Juanma Barranquero <lekktu@gmail.com>
6654
6655 * tabify.el (untabify): Preserve the current column so that point
6656 doesn't move (bug#6032).
6657
3af98a7b
LMI
66582011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6659
b796c9b7
SM
6660 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6661 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 6662
6240145a
GM
66632011-07-13 Glenn Morris <rgm@gnu.org>
6664
6665 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6666 (dired-insert-directory): Give a message the first time
6667 if ls is found not to support --dired.
6668
1d8c2ccc
LMI
66692011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6670
6671 * simple.el (toggle-truncate-lines): Clarify what is toggled
6672 (bug#5580). Text by Drew Adams.
6673
5fc4038e
CY
66742011-07-13 Chong Yidong <cyd@stupidchicken.com>
6675
6676 * simple.el (blink-matching-open): Make the error message from the
6677 last change less verbose.
6678
bf6012e5
DN
66792011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6680
6681 * font-lock.el (font-lock-comment-face): Use the high contrast
6682 "yellow" color for font-lock-comment-face on low color terminals
6683 using a dark background color (bug#4221).
6684
343c3b5a
LMI
66852011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6686
7e9505c5
LMI
6687 * dired.el (dired-insert-set-properties): Make the doc string
6688 reflect what it does now (bug#5325).
6689
c26fdcf5
LMI
6690 * simple.el (blink-matching-open): Say that we were unable to find
6691 the match within the limit, if we're limited (bug#5122).
6692
bb388cc5
LMI
6693 * international/mule-cmds.el (prefer-coding-system): Add an
6694 example (bug#4869).
6695
343c3b5a
LMI
6696 * progmodes/etags.el (tags-search): Document `file-list-form'
6697 (bug#4731).
6698
2a517d45
LM
66992011-07-13 Lawrence Mitchell <wence@gmx.li>
6700
6701 * net/browse-url.el (browse-url-default-browser)
6702 (browse-url-browser-function): Make the default browser choice a
6703 bit more logical (bug#4300). Also clean up the doc string.
6704
b6c78ef2
JB
67052011-07-13 Juanma Barranquero <lekktu@gmail.com>
6706
6707 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6708 binary endings (bug#4440).
6709
1c4dd947
LMI
67102011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6711
a2014063
LMI
6712 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6713 which can be pretty annoying (bug#8971).
6714
9c9c2d88
LMI
6715 * jka-compr.el (jka-compr-verbose): New variable, and use
6716 throughout (bug#8971).
6717
1c4dd947
LMI
6718 * info.el (Info-find-file): Fall back on the installation
6719 directory if we can't find the info node anywhere else.
6720
a1c9f41b
SO
67212011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6722
6723 * vc/vc.el (vc-revert-file):
6724 Don't set file time-stamp in the past. (Bug#5181)
6725
536f3d36
LMI
67262011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6727
7152b011
LMI
6728 * files.el (after-find-file): Give a better error message when
6729 trying to find a symlink that points to a file that doesn't exist
6730 (bug#4398).
6731
536f3d36
LMI
6732 * progmodes/cc-vars.el: Remove (probably) misleading comment
6733 (bug#4396).
6734
460c0fba
JB
67352011-07-12 Johan Bockgård <bojohan@gnu.org>
6736
6737 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6738
7a6bda45
CY
67392011-07-12 Chong Yidong <cyd@stupidchicken.com>
6740
6741 * mouse-sel.el: Hack restoring functionality, while keeping
6742 compatibility with 2010-07-03 changes to mouse selection.
6743 (mouse-sel-primary-overlay): New var.
6744 (mouse-sel-selection-alist): Use it.
6745 (mouse-sel-mode): Doc fix; remove points that are default features
6746 of mouse.el.
6747
c79598ef
JB
67482011-07-12 Johan Bockgård <bojohan@gnu.org>
6749
6750 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6751 Fix previous fix (bug#2490).
6752
ff8be6ef
RW
67532011-07-12 Roland Winkler <winkler@gnu.org>
6754
b796c9b7
SM
6755 * textmodes/bibtex.el (bibtex-initialize):
6756 Use pop-to-buffer-same-window.
ff8be6ef
RW
6757 (bibtex-search-entries): Fix interactive call.
6758
296ba3ee
LMI
67592011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6760
f5242a02 6761 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
6762 Fontise bytecomp Error lines more correctly (bug#2490).
6763 Fix suggested by Johan Bockgård.
f5242a02 6764
296ba3ee
LMI
6765 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6766
6767 * dired-x.el (dired-guess-default): Use `delete-dups'.
6768
f69fd0d2
CY
67692011-07-12 Chong Yidong <cyd@stupidchicken.com>
6770
6771 * dired.el (dired-mark-prompt):
6772 * dired-aux.el (dired-read-shell-command): Doc fix.
6773
eab5dc07
LMI
67742011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6775
b796c9b7
SM
6776 * mail/sendmail.el (sendmail-query-once):
6777 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
6778 emacs -Q.
6779
6780 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6781
eab5dc07
LMI
6782 * cus-edit.el (custom-file): Take an optional no-error variable.
6783 (customize-save-variable): Set the variable, and give a warning if
6784 running under "emacs -q".
6785
a1e65d42
JB
67862011-07-11 Juanma Barranquero <lekktu@gmail.com>
6787
6788 * loadhist.el (unload-feature-special-hooks):
6789 Add `auto-coding-functions', `fill-nobreak-predicate' and
6790 `find-directory-functions' (bug#5327).
6791
1d52da10
LMI
67922011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6793
be958f1d
LMI
6794 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6795
5bedb26c
LMI
6796 * cus-edit.el (custom-guess-name-alist): -alist variables should
6797 use the `alist' type (bug#3120). Suggested by Drew Adams.
6798
1d52da10
LMI
6799 * printing.el: Add documentation to all the `pr-toggle-' commands.
6800
cd394be1 68012011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
6802
6803 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6804 backends where it makes sense (bug#2623).
6805
dcc88d8a
LMI
68062011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6807
c3de9feb
LMI
6808 * dired-x.el (dired-guess-default): Remove duplicate shell command
6809 entries (bug#2028).
8a93078b 6810 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 6811 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 6812
dcc88d8a
LMI
6813 * subr.el (remove-duplicates): New conveniency function.
6814
505e3645
LMI
68152011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6816
6817 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6818 (bug#1526).
6819
68202011-07-10 Martin Rudalics <rudalics@gmx.at>
6821
6822 * window.el (display-buffer-normalize-default): Don't invert
6823 meaning of even-window-heights. Reported by Eli Zaretskii
6824 <eliz@gnu.org>.
6825
455e4fa1
BR
68262011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6827
6828 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6829
8e0bc3e9
CY
68302011-07-10 Chong Yidong <cyd@stupidchicken.com>
6831
6832 * window.el (display-buffer): Fix arguments to
6833 display-buffer-reuse-window in last change.
6834
fa7c3228
CY
6835 * faces.el (link): Use a less saturated blue on light backgrounds.
6836
6837 * startup.el (fancy-startup-text, fancy-about-text)
6838 (fancy-startup-tail): Use font-lock faces, for background safety.
6839
c0a7f300
BN
68402011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6841
b796c9b7
SM
6842 * emulation/viper-cmd.el (viper-change-state-to-vi):
6843 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 6844
4dc2a129
MR
68452011-07-09 Martin Rudalics <rudalics@gmx.at>
6846
6847 * window.el (display-buffer-default-specifiers): Remove.
6848 (display-buffer-macro-specifiers): Remove default specifiers.
6849 (display-buffer-alist): Default to nil.
b796c9b7 6850 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
6851 (display-buffer-pop-up-window): Allow splitting internal
6852 windows. Check whether a live window was created.
6853 (display-buffer-other-window-means-other-frame)
6854 (display-buffer-normalize-arguments): Rename to
6855 display-buffer-normalize-argument and rewrite. Set the
6856 other-window specifier.
6857 (display-buffer-normalize-special): New function.
6858 (display-buffer-normalize-options): Rename to
6859 display-buffer-normalize-default and rewrite.
6860 (display-buffer-normalize-options-inhibit): Remove.
6861 (display-buffer-normalize-specifiers): Rewrite.
6862 (display-buffer): Process other-window specifier and call
6863 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6864 more faithfully.
b796c9b7 6865 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 6866 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
6867 (display-buffer-in-window, display-buffer-alist-set):
6868 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
6869 <tassilo@member.fsf.org>.
6870
2d43b8c9
LL
68712011-07-09 Leo Liu <sdl.web@gmail.com>
6872
6873 * register.el (insert-register): Restore accidental change on
6874 2011-06-26. (Bug#9028)
6875
7f9b7c53
GM
68762011-07-09 Glenn Morris <rgm@gnu.org>
6877
6878 * subr.el (remq): Handle the empty list. (Bug#9024)
6879
f042cfd8
AS
68802011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6881
6882 * mail/sendmail.el (send-mail-function): No longer delay custom
6883 initialization.
6884 * custom.el (custom-initialize-delay): Doc fix.
6885
856b2f11
SM
68862011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6887
6888 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6889
afae1d68
MA
68902011-07-08 Michael Albinus <michael.albinus@gmx.de>
6891
6892 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6893 human-friendly prompt.
6894
0757af94
SM
68952011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6896
6897 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6898 provided by a particular plugin.
6899
d760b731
LMI
69002011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6901
6902 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6903 save customizations (with "emacs -Q"), just set the variable
6904 instead of erroring out.
6905
6906 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6907
cd79ce90
JL
69082011-07-08 Juri Linkov <juri@jurta.org>
6909
6910 * arc-mode.el (archive-zip-expunge, archive-zip-update)
6911 (archive-zip-update-case): Use 7z if found by `executable-find'.
6912 The order of searching the available programs is the same as in
6913 `archive-zip-extract' (bug#8968).
6914
14cc04aa
CY
69152011-07-07 Chong Yidong <cyd@stupidchicken.com>
6916
6917 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6918 (menu-bar-options-menu): Tweak descriptions.
6919
0a1848ec
LMI
69202011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6921
6922 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6923 menu items into verb phrases (bug#1421). Also refill to fit under
6924 80 columns.
6925
f5bd0689
CY
69262011-07-07 Chong Yidong <cyd@stupidchicken.com>
6927
538e85c6
CY
6928 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6929 (Info-read-node-name): Doc fix (Bug#1084).
6930
f5bd0689
CY
6931 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6932 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6933 (end-of-sexp, beginning-of-sexp)
6934 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6935 (forward-symbol, forward-same-syntax, word-at-point)
6936 (sentence-at-point): Doc fix (Bug#1144).
6937
56ec5115
LMI
69382011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6939
f3f8e37f
LMI
6940 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6941 should cover it (bug#1281).
6942
0757af94 6943 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 6944
e9fce1ac 6945 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
6946 negotiation fails, then possibly try again with a non-encrypted
6947 connection (bug#9017).
6948
56ec5115
LMI
6949 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6950 be used.
6951
c2f9aec8
RS
69522011-07-07 Richard Stallman <rms@gnu.org>
6953
6954 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6955 property, and handle its changed format.
6956 Look for the correct line number.
6957 Use file's line contents (but not past first =) to find
6958 correct line in message.
6959
ef7b981d 69602011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
6961
6962 * international/characters.el (build-unicode-category-table):
6963 Delete it.
0757af94 6964 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 6965
0757af94 6966 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
6967 to src/chartab.c.
6968 (get-char-code-property): Call unicode-property-table-internal to
6969 load a file. Call get-unicode-property-internal where necessary.
6970 (put-char-code-property): Call unicode-property-table-internal to
6971 load a file. Call put-unicode-property-internal where necessary.
6972 put-unicode-property-internal where necessary.
0757af94
SM
6973 (char-code-property-description):
6974 Call unicode-property-table-internal to load a file.
c805dec0
KH
6975
6976 * international/charprop.el:
6977 * international/uni-bidi.el:
6978 * international/uni-category.el:
6979 * international/uni-combining.el:
6980 * international/uni-comment.el:
6981 * international/uni-decimal.el:
6982 * international/uni-decomposition.el:
6983 * international/uni-digit.el:
6984 * international/uni-lowercase.el:
6985 * international/uni-mirrored.el:
6986 * international/uni-name.el:
6987 * international/uni-numeric.el:
6988 * international/uni-old-name.el:
6989 * international/uni-titlecase.el:
6990 * international/uni-uppercase.el: Regenerate.
6991
6992 * loadup.el: Load international/charprop.el before
6993 international/characters.
6994
e14b388a
CY
69952011-07-07 Chong Yidong <cyd@stupidchicken.com>
6996
6997 * window.el (next-buffer, previous-buffer): Signal an error if
6998 called from a minibuffer window.
6999
7000 * bindings.el: Revert 2011-07-04 change.
7001
354cf0ba
RS
70022011-07-06 Richard Stallman <rms@gnu.org>
7003
7004 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7005 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7006 Treat markers like ints.
7007 (rmail-mime-entity): Doc fix.
7008
a48868a7
LMI
70092011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7010
4906cd3d
LMI
7011 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7012 defcustom again for backwards compatibility.
7013
e0457abe
LMI
7014 * simple.el (shell-command-on-region): Fill.
7015
d67f7e1f
LMI
7016 * dired-aux.el (dired-kill-line): Add a doc string.
7017
fe204702
LMI
7018 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7019 to "\\sw\\|\\s_" (bug#358).
7020
a48868a7
LMI
7021 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7022 (dired-unmark-backward): Ditto.
7023 (dired-flag-backup-files): Ditto.
7024
7025 * dired-x.el (dired-mark-sexp): Ditto.
7026
aa8a705c
RS
70272011-07-06 Richard Stallman <rms@gnu.org>
7028
7029 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7030 (rmail-mime-entity): New arg TRUNCATED.
7031 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7032 New functions.
7033 (rmail-mime-save): Warn if entity is truncated.
7034 (rmail-mime-toggle-hidden): Likewise, for showing.
7035 (rmail-mime-process-multipart): Record when an entity is truncated.
7036
a9a936b9
RS
7037 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7038 if ENTITY is a string.
7039
1f2b92cb
LMI
70402011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7041
f4f73198 7042 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
7043 of faces when `M-C-x'-ing their definitions (bug#8378).
7044 Also clean up the code slightly.
f4f73198 7045
12b16734 7046 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 7047 because that makes the colors go away.
12b16734 7048
f0691d22
LMI
7049 * mail/sendmail.el (send-mail-function): Change the default to
7050 `sendmail-query-once'.
9e87df06 7051 (sendmail-query-once): Add an autoload cookie.
f0691d22 7052
1f2b92cb
LMI
7053 * net/network-stream.el (network-stream-open-starttls): Try using
7054 a plain connection even if the server offered STARTTLS, and we
7055 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7056 capability. This should make smtpmail.el work in slightly more
7057 configurations.
7058
1cdd2a1b
MA
70592011-07-06 Michael Albinus <michael.albinus@gmx.de>
7060
7061 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7062 New defun.
7063 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7064
fbcc67e2
MM
70652011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7066
7067 * progmodes/sql.el: Version 3.0
0757af94 7068 (sql-product-alist): Add product :completion-object,
fbcc67e2 7069 :completion-column, and :statement attributes.
0757af94 7070 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 7071 (sql-mode-syntax-table): Mark all punctuation.
0757af94 7072 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
7073 ansi keywords.
7074 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 7075 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
7076 (sql-oracle-show-reserved-words): New function for development.
7077 (sql-product-font-lock): Simplify for source code buffers.
7078 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7079 New functions.
7080 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
7081 (sql-mode-map): Add statement movement functions.
7082 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7083 New variable.
fbcc67e2
MM
7084 (sql-statement-regexp, sql-beginning-of-statement)
7085 (sql-end-of-statement, sql-signum): New functions.
0757af94 7086 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
7087 (sql-show-sqli-buffer): Bug fix.
7088 (sql-interactive-mode): Store connection data as buffer local.
0757af94 7089 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
7090 with sql-interactive-mode.
7091 (sql-save-connection): Save buffer local settings.
0757af94 7092 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
7093 (sql-product-interactive): Bug fix.
7094 (sql-preoutput-hold): New variable.
7095 (sql-interactive-remove-continuation-prompt): Bug fixes.
7096 (sql-debug-redirect): New variable.
7097 (sql-str-literal): New function.
7098 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 7099 Redesign.
fbcc67e2
MM
7100 (sql-oracle-save-settings, sql-oracle-restore-settings)
7101 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7102 (sql-completion-object, sql-completion-column)
7103 (sql-completion-sqlbuf): New variables.
7104 (sql-build-completions-1, sql-build-completions)
7105 (sql-try-completion): New functions.
7106 (sql-read-table-name): Use them.
7107 (sql-contains-names): New buffer local variable.
7108 (sql-list-all, sql-list-table): Use it.
7109 (sql-oracle-completion-types): New variable.
7110 (sql-oracle-completion-object, sql-sqlite-completion-object)
7111 (sql-postgres-completion-object): New functions.
7112
d4eaeab1
GM
71132011-07-06 Glenn Morris <rgm@gnu.org>
7114
7115 * window.el (pop-to-buffer): Doc fix.
7116
322b7dab 71172011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
7118
7119 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7120
322b7dab 71212011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 7122
322b7dab 7123 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 7124
322b7dab 7125 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 7126
605dd5bf
CY
71272011-07-05 Chong Yidong <cyd@stupidchicken.com>
7128
7129 * button.el (button): Inherit from link face. Suggested by Dan
7130 Nicolaescu.
7131
7dbfa719
SM
71322011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7133
3db614b0
SM
7134 * progmodes/gdb-mi.el: Fit in 80 columns.
7135 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7136 switch-to-buffer.
7137
7dbfa719
SM
7138 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7139 if imenu is simply not configured (bug#8941).
7140
919d884a
KM
71412011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7142
7143 * allout.el (allout-post-undo-hook): New allout outline-change
7144 event hook to signal undo activity.
7145 (allout-post-command-business): Run allout-post-undo-hook if an
7146 undo just occurred.
7dbfa719
SM
7147 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7148 * allout-widgets.el (allout-widgets-after-undo-function):
7149 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
7150 in the vicinity of an undo.
7151 (allout-widgets-mode): Include allout-widgets-after-undo-function
7152 on the new allout-post-undo-hook.
7153
450a0f09
SM
71542011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7155
7156 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7157 Let define-derived-mode define it.
7158 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7159 cycles of abbrev-table inheritance (bug#8998).
7160
2de69e00
RW
71612011-07-05 Roland Winkler <winkler@gnu.org>
7162
7163 * textmodes/bibtex.el: Add support for biblatex.
7164 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7165 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7166 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7167 (bibtex-entry-alist, bibtex-field-alist): New variables.
7168 (bibtex-entry-field-alist): Obsolete alias for
7169 bibtex-BibTeX-entry-alist.
7170 (bibtex-entry-alist, bibtex-field-alist): New widgets.
7171 (bibtex-set-dialect): New command.
7172 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
7173 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7174 Bind via bibtex-set-dialect.
2de69e00
RW
7175 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7176 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7177 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7178 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7179 Define via bibtex-set-dialect.
450a0f09
SM
7180 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7181 Obey bibtex-no-opt-remove-re.
2de69e00
RW
7182 (bibtex-vec-push, bibtex-vec-incr): New functions.
7183 (bibtex-format-entry, bibtex-field-list)
7184 (bibtex-print-help-message, bibtex-validate)
7185 (bibtex-search-entries): Use new format of bibtex-entry-alist.
7186
2dcdbdd9
SM
71872011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7188
7189 * progmodes/compile.el (compilation-goto-locus):
7190 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7191 * bs.el (bs-cycle-next, bs-cycle-previous):
7192 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7193 * bindings.el (mode-line-other-buffer):
7194 * autoinsert.el (auto-insert):
7195 * arc-mode.el (archive-extract):
7196 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7197
b27640fe
JB
71982011-07-05 Juanma Barranquero <lekktu@gmail.com>
7199
7200 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7201 Fix check of `emacs-lock-unlockable-modes'.
7202 Coerce true values of `emacs-lock--try-unlocking' to t.
7203
53bbe3ad
JB
72042011-07-05 Juanma Barranquero <lekktu@gmail.com>
7205
7206 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7207 * emacs-lock.el: New file.
7208
1d3cdbc7
JD
72092011-07-05 Julien Danjou <julien@danjou.info>
7210
7211 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7212 than `boundp' to check if face is set.
7213
9173deec
JB
72142011-07-05 Juanma Barranquero <lekktu@gmail.com>
7215
7216 * register.el (registerv-make):
7217 * window.el (window-min-height): Fix typos in docstrings.
7218
869795d6
JD
72192011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7220
9173deec 7221 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
7222 Update doc string.
7223
b768cdcd
JB
72242011-07-04 Juanma Barranquero <lekktu@gmail.com>
7225
7226 * server.el (server-execute): Catch quit and call
7227 `server-return-error' to pass the error back to emacsclient and
7228 close the connection (bug#8942).
7229
13aa217b
KM
72302011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
7231
7232 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7233 insecure exception for current topic. Also note that auto-saves
7234 are handled differently.
7235
7236 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7237 State variables for tracking auto-save inhibition situation.
7238
7239 (allout-write-contents-hook-handler): Rename from
7240 'allout-write-file-hook-handler', and describe how it depends on
7241 write-contents-functions sensitivity to non-nil value to prevent
7242 file write.
7243
7244 (allout-auto-save-hook-handler): Remove. auto-save does not check
7245 this in individual buffers, only in the starting buffer, so this
7246 is not the right way for us to inhibit auto-save in a buffer
7247 according to its condition.
7248
7249 (allout-mode): Use new allout-write-contents-hook-handler, and
7250 only with write-contents-functions. Remove auto-save provisions -
7251 they're implemented elsewhere.
7252
7253 (allout-before-change-handler): If undo is in progress, note that
7254 for attention of allout-post-command-business.
7255
7256 (allout-post-command-business): If the command we're following was
7257 an undo, check for change in the status of encrypted items and
7258 adjust auto-save inhibitions accordingly.
7259
7260 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7261 according to whether there are or aren't any plain-text topics
7262 pending encryption.
7263
2dcdbdd9 7264 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
7265 Adjust buffer-saved-size and some allout state to inhibit auto-saves
7266 if there are plain-text topics pending encryption.
13aa217b
KM
7267
7268 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7269 buffer-saved-size and some allout state to not inhibit auto-saves
7270 if there are no longer any plain-text topics pending encryption.
7271
0757af94
SM
7272 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7273 No longer provide for exemption of the current topic.
13aa217b 7274
ac89b32c
JL
72752011-07-04 Juri Linkov <juri@jurta.org>
7276
7277 Add 7z operations to delete and save changed members (bug#8968).
7278 * arc-mode.el (archive-7z-expunge, archive-7z-update):
7279 New defcustoms.
7280 (archive-7z-write-file-member): New function.
7281 (archive-7z-summarize): Fix the number of dashes in the
7282 listing output.
7283
8fa39615
SM
72842011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7285
7286 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7287 (bug#8958).
7288
2f11b3f1
CY
72892011-07-04 Chong Yidong <cyd@stupidchicken.com>
7290
d66fef2b
CY
7291 * bindings.el: Ignore next-buffer and previous-buffer in
7292 minibuffer-local-map.
7293
2f11b3f1
CY
7294 * font-lock.el (font-lock-builtin-face): Change light background
7295 color to dark slate blue (Bug#6693).
7296
f932a347
WD
72972011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
7298
7299 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7300
c8af70e1
SM
73012011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7302
7303 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7304 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7305 Add switch-to-buffer.
7306
f158badc
LMI
73072011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7308
7309 * isearch.el (isearch-search-fun-function): Clarify further the
7310 meaning of the function returned.
7311
6d95bd46
MA
73122011-07-04 Michael Albinus <michael.albinus@gmx.de>
7313
7314 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7315
7316 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7317 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7318 Use it.
7319 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
7320 `tramp-default-remote-path' does not exist.
7321 (tramp-send-command-and-read): New optional argument NOERROR.
7322 (tramp-open-connection-setup-interactive-shell)
7323 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7324 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7325 (tramp-process-sentinel): Flush also process' connection property.
7326 (tramp-sh-handle-start-file-process): Do not set process
7327 sentinel. It is done now ...
7328 (tramp-maybe-open-connection): ... here. (Bug#8929)
7329
909e6b67
MK
73302011-07-04 MON KEY <monkey@sandpframing.com>
7331
7332 * play/animate.el (animate-string): Doc fixes and allow changing
7333 the buffer name (bug#5417).
7334
73352011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7336
c8af70e1 7337 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 7338
f34755dc
PE
73392011-07-04 Paul Eggert <eggert@cs.ucla.edu>
7340
396cec72
PE
7341 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7342 This is simpler and helps future-proof the code.
7343 (timer-until): Use time-subtract and float-time.
08235028 7344 (timer--time-less-p): Use time-less-p.
f34755dc 7345
56e6cc31
JB
73462011-07-04 Juanma Barranquero <lekktu@gmail.com>
7347
3abb79e5
JB
7348 * type-break.el (timep): Use the value of `float-time' to avoid a
7349 byte-compiler warning.
7350
56e6cc31
JB
7351 * server.el (server-eval-and-print): Return any result, even nil.
7352
7b9430b4
PE
73532011-07-03 Paul Eggert <eggert@cs.ucla.edu>
7354
7355 * type-break.el: Accept time formats that the builtins accept.
7356 (timep, type-break-time-difference): Accept any format that
7357 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7358 This is simpler and helps future-proof the code.
7359 (type-break-time-difference): Round rather than ignoring
7360 subseconds components.
7361
3034e9e7
LMI
73622011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7363
7364 * info.el (Info-apropos-matches): Make non-interactive, since it
7365 doesn't seem to do anything useful as a command (bug#8829).
7366
1485f4c0
CY
73672011-07-03 Chong Yidong <cyd@stupidchicken.com>
7368
7369 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 7370 Move from faces.el.
1485f4c0
CY
7371 (frame-default-terminal-background): New function.
7372
7373 * custom.el (custom-push-theme): Don't record faces in `changed'
7374 theme; this doesn't work correctly for per-frame face settings.
7375 (disable-theme): Use face-set-after-frame-default to reset faces.
7376 (custom--frame-color-default): New function.
7377
9fa3dd45
LMI
73782011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7379
c8af70e1 7380 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
7381 (bug#8769).
7382
6cbbc20c
KR
73832011-03-29 Kevin Ryde <user42@zip.com.au>
7384
7385 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7386 `perl-Test2' extend to match possible "fail #N" rep count
7387 (bug#8377).
7388
c7f98048
LMI
73892011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7390
65676592
LMI
7391 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7392 `smtpmail-via-smtp' now returns the error instead of nil.
7393
c7f98048
LMI
7394 * isearch.el (isearch-search-fun-function): Clarify the doc string
7395 (bug#8101).
7396
56e6cc31 73972011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
7398
7399 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7400 unnecessary spaces (bug#8987).
7401
2b216704
LMI
74022011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7403
7404 * net/network-stream.el (open-network-stream): Use the
7405 :end-of-capability command thoughout.
7406
74072011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7408
7409 * net/network-stream.el (open-network-stream): Add the
7410 :end-of-capability command parameter, used by pop3.el.
7411
36adf6ce
LMI
74122011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7413
1ca0da0e
LMI
7414 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7415
fc00f69c
LMI
7416 * fringe.el (fringe-query-style): Remove redundant text " (type ?
7417 for list)" (bug#6475).
7418
28fd8759 7419 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 7420 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
7421 an error (bug#6297).
7422
0dd8b6da
LMI
7423 * man.el (Man-reference-regexp): Allow matching possible
7424 word-wrapped references (bug#6289).
7425
ce1438d6
LMI
7426 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7427 for consistency with the other vc buffers (bug#6197).
7428 (vc-checkin): Ditto.
7429
7430 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7431
36adf6ce
LMI
7432 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7433
e83cc1f7
LMI
74342011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7435
8a20ca4c
LMI
7436 * custom.el (defcustom): Clarify that :set is only used in the
7437 Customize user interface (bug#6089).
7438
83319045
LMI
7439 * progmodes/flymake.el (flymake-mode): If the buffer isn't
7440 associated with a file, refuse to run instead of erroring out
7441 (bug#6084).
7442
a8392169
LMI
7443 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7444 the doc string, since it appears that using `fill-column' always
7445 controls the width (bug#7845).
7446
e83cc1f7
LMI
7447 * simple.el (shell-command-on-region): Say where the error output
7448 went if `shell-command-default-error-buffer' is set (bug#6857).
7449
e47ca23b
KM
74502011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
7451
7452 * allout.el (allout-yank-processing): Adjust cursor position for
7453 backwards-deleted space.
7454
7455 (allout-rebullet-heading): Register changes with
7456 allout-exposure-changed-hook, so the modified topic is properly
7457 decorated.
7458
5cf56143
LMI
74592011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7460
08549772
LMI
7461 * minibuffer.el (completion-in-region): Document PREDICATE
7462 (bug#7136).
7463
48e96771
LMI
7464 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7465 of keyword/argument pairs (bug#6904).
7466
c8af70e1
SM
7467 * replace.el (multi-occur):
7468 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 7469
e17d05e2
LMI
74702011-07-02 Drew Adams <drew.adams@oracle.com>
7471
7472 * dired.el (dired-mark-if): Make the message about whether it's
7473 marking or unmarking clearer (bug#8523).
7474
063b0e45
LMI
74752011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7476
7477 * disp-table.el (display-table-print-array): New function.
7478 (describe-display-table): Use it to print the vectors more pretty
7479 (Bug#8859).
7480
28545e04
MR
74812011-07-02 Martin Rudalics <rudalics@gmx.at>
7482
7483 * window.el (window-state-get-1): Don't assign clone numbers.
7484 Add clone-of item to list of window parameters.
7485 (window-state-put-2): Don't process clone numbers.
7486 (display-buffer-alist): Fix doc-string.
7487
3349e122
SM
74882011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7489
7490 * subr.el (remq): Don't allocate if it's not needed.
7491 (keymap--menu-item-binding, keymap--menu-item-with-binding)
7492 (keymap--merge-bindings): New functions.
7493 (keymap-canonicalize): Use them to refine the canonicalization.
7494 * minibuffer.el (minibuffer-local-completion-map)
7495 (minibuffer-local-must-match-map): Move initialization from C.
7496 (minibuffer-local-filename-completion-map): Move initialization from C;
7497 don't inherit from anything here.
7498 (minibuffer-local-filename-must-match-map): Make obsolete.
7499 (completing-read-default): Use make-composed-keymap to combine
7500 minibuffer-local-filename-completion-map with either
7501 minibuffer-local-must-match-map or
7502 minibuffer-local-filename-completion-map.
7503
d224ac83
GM
75042011-07-01 Glenn Morris <rgm@gnu.org>
7505
3de63bf8
GM
7506 * type-break.el (type-break-time-sum): Use dolist.
7507
d224ac83
GM
7508 * textmodes/flyspell.el (flyspell-word-search-backward):
7509 Replace CL function.
7510
1a1e3f32
SM
75112011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7512
fe3f64d5
SM
7513 * mouse.el (mouse--strip-first-event): New function.
7514 (function-key-map): Use it to map fringe clicks to normal clicks
7515 by default.
7516
eb604e34
SM
7517 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7518 (vc-bzr-revision-completion-table): Add support for annotate and date.
7519
1a1e3f32
SM
7520 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7521 inherit from parent.
7522
5bd35902
LMI
75232011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7524
ace6c69c 7525 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 7526 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 7527
191e2bed
LMI
7528 * dired.el (dired-mode): Fix up the doc string as suggested by
7529 Drew Adams (bug#8817).
7530
5bd35902
LMI
7531 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7532 cookie, since the manual says that it should be possible to add
7533 this function to `find-file-hook' (bug#8709).
7534
eee8207a
TZ
75352011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7536
7537 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7538 here. Noted Ted Zlatanov as the maintainer.
7539 (cfengine-common-settings, cfengine-common-syntax): New functions
7540 to set up common things between `cfengine-mode' and
7541 `cfengine3-mode'.
7542 (cfengine3-mode): New mode.
7543 (cfengine3-defuns cfengine3-defuns-regex
7544 (cfengine3-class-selector-regex cfengine3-category-regex)
7545 (cfengine3-vartypes cfengine3-font-lock-keywords)
7546 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 7547 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 7548
36b148cf
MA
75492011-07-01 Michael Albinus <michael.albinus@gmx.de>
7550
7551 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7552
7553 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7554
0bf4ba9a
MR
75552011-07-01 Martin Rudalics <rudalics@gmx.at>
7556
7557 * window.el (same-window-buffer-names, same-window-regexps)
7558 (same-window-p, special-display-frame-alist)
7559 (special-display-popup-frame, special-display-function)
7560 (special-display-buffer-names, special-display-regexps)
7561 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7562 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7563 (split-window-preferred-function, split-height-threshold)
7564 (split-width-threshold, even-window-heights)
7565 (display-buffer-mark-dedicated, window-splittable-p)
7566 (split-window-sensibly, window-safely-shrinkable-p):
7567 Un-obsolete.
7568 (display-buffer): Don't spread args with function specifier
7569 because special-display-popup-frame won't like it.
7570
35837f51
PE
75712011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7572
d0672f86
PE
7573 Time-stamp simplifications and fixes.
7574 These improve accuracy slightly, and future-proof the code
7575 against some potential changes to current-time format.
7576
b9444d97
PE
7577 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7578 by using time-since and float-time.
7579
0ef923dc
PE
7580 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7581 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7582 + NNN microseconds".
7583
2f81380d
PE
7584 * type-break.el (type-break-time-sum): Rewrite using time-add.
7585
845b5c3e
PE
7586 * play/hanoi.el (hanoi-current-time-float): Remove.
7587 All uses replaced by float-time.
7588
ee6f1be0
PE
7589 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7590 This yields a more-accurate answer.
7591 (rng-time-to-float): Remove; no longer needed.
7592
fe955043
PE
7593 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7594
5777162a
PE
7595 * calendar/timeclock.el (timeclock-seconds-to-time):
7596 Defalias to seconds-to-time, since they're the same thing.
7597
3103f8b6 7598 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 7599 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
7600 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7601
0e61a35f
SM
76022011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7603
7604 * window.el (bury-buffer): Don't iconify the only frame.
7605 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7606 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7607
ddd63a1e
CY
76082011-07-01 Chong Yidong <cyd@stupidchicken.com>
7609
0e61a35f
SM
7610 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7611 Add mouse-yank-primary.
ddd63a1e 7612
055f4923
TZ
76132011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7614
7615 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7616
6a2fb145
SM
76172011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7618
7619 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7620 (find-library-name): Use it to find relative load names when provided
7621 absolute file name (bug#8803).
7622
fd4983f2
LMI
76232011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7624
887d14ad
LMI
7625 * textmodes/flyspell.el (flyspell-word): Consider words that
7626 differ only in case as potential doublons (bug#5687).
7627
c53dc7fc
LMI
7628 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7629 Remove two rather uninteresting debugging-like messages to make
7630 debbugs.el more silent.
7631
fd4983f2
LMI
7632 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7633 a password-like phrase.
7634
7a71b18d 76352011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
7636
7637 * progmodes/cc-guess.el: New file.
7638
6a2fb145 7639 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
7640
7641 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7642 derived from `c-basic-common-init'.
7643
7644 * progmodes/cc-mode.el (top-level): Require cc-guess.
7645 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7646
1fa280a3
LM
76472011-06-30 Lawrence Mitchell <wence@gmx.li>
7648
7649 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7650
e6597158
AM
76512011-06-30 Alan Mackenzie <acm@muc.de>
7652
1fa280a3
LM
7653 * progmodes/cc-engine.el (c-guess-continued-construct):
7654 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
7655 lock is disabled. Name this case as "CASE G".
7656
68ba37fb
KM
76572011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7658
7659 * allout.el (allout-yank-processing): Fix injection of extra space
7660 between bullet and non-whitespace character in first topic when
7661 pasting, ensuring that the actual spacing in the pasted topic
7662 following the bullet char is preserved. This extra space was
7663 causing pasted encrypted topics to get a decrypted status even
7664 when the content was actually still encrypted. Now the decryption
7665 status from before the paste is preserved.
7666
7667 (allout-flag-region): Set all allout overlays so they evaporate
7668 when reduced to zero length (evanescent), to prevent overlay
7669 leakage.
7670
887a0b34
GM
76712011-06-30 Glenn Morris <rgm@gnu.org>
7672
94b9acce
GM
7673 * w32-fns.el (w32-charset-info-alist): Declare.
7674
1d9b46d4
GM
7675 * find-dired.el (find-grep-options): Simplify.
7676
cc232200
GM
7677 * term/ns-win.el (ns-set-resource): Declare.
7678
28e77c46
GM
7679 * ses.el (row, col): Declare dynamic variables honestly.
7680
887a0b34
GM
7681 * textmodes/reftex-parse.el (index-tags): Declare.
7682
658d8eb8
CY
76832011-06-30 Chong Yidong <cyd@stupidchicken.com>
7684
7685 * cus-edit.el (customize-push-and-save): New function.
7686
7687 * files.el (hack-local-variables-confirm): Use it.
7688
1fa280a3
LM
7689 * custom.el (load-theme): New arg NO-CONFIRM.
7690 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
7691 (custom-enabled-themes): Doc fix.
7692
7693 * cus-theme.el (customize-create-theme)
7694 (custom-theme-merge-theme): Callers to load-theme changed.
7695
bb617717
LMI
76962011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7697
d61bdd5d
LMI
7698 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7699 short URLs have at least one dot in them (bug #7614).
7700
bb617717
LMI
7701 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7702 nil, because using a pty is apparently too slow (bug #895).
7703
2f31f37a
LMI
77042011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7705
7706 * mail/sendmail.el (sendmail-query-once): New function.
7707 (sendmail-query-once-function): New variable.
7708
3076b24e
GM
77092011-06-29 Glenn Morris <rgm@gnu.org>
7710
faf2a174
GM
7711 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7712
3076b24e
GM
7713 * ses.el (top-level): Require cl when compiling.
7714 (ses-set-localvars): Fix error statement.
7715 Call it at compile time to silence a storm of warnings.
7716
5386012d
MR
77172011-06-29 Martin Rudalics <rudalics@gmx.at>
7718
7719 * window.el (normalize-live-buffer): Rename to
7720 window-normalize-buffer.
7721 (normalize-live-frame): Rename to window-normalize-frame.
7722 (normalize-any-window): Rename to window-normalize-any-window.
7723 (normalize-live-window): Rename to window-normalize-live-window.
7724 (make-window-atom): Rename to window-make-atom.
7725 (window-resize-reset): Rename to window--resize-reset.
7726 (window-resize-reset-1): Rename to window--resize-reset-1.
7727 (resize-mini-window): Rename to window--resize-mini-window.
7728 (resize-subwindows-skip-p): Rename to
7729 window--resize-subwindows-skip-p.
7730 (resize-subwindows-normal): Rename to
7731 window--resize-subwindows-normal.
7732 (resize-subwindows): Rename to window--resize-subwindows.
7733 (resize-other-windows): Rename to window--resize-siblings.
7734 (resize-this-window): Rename to window--resize-this-window.
7735 (resize-root-window): Rename to window--resize-root-window.
7736 (resize-root-window-vertically): Rename to
7737 window--resize-root-window-vertically.
7738 (normalize-buffer-to-display): Rename to
7739 window-normalize-buffer-to-display.
7740 (normalize-buffer-to-switch-to): Rename to
7741 window-normalize-buffer-to-switch-to.
7742 Correspondingly update all callers of the functions listed
7743 above.
7744 (display-buffer-alist, display-buffer-normalize-arguments)
7745 (display-buffer-normalize-options, display-buffer)
7746 (display-buffer-alist-set): Use "function" instead of
7747 "fun-with-args".
7748
1176868d
CY
77492011-06-28 Chong Yidong <cyd@stupidchicken.com>
7750
7751 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7752 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7753 debbugs.gnu.org. Mention acknowledgment email.
7754
20a7a65f
LMI
77552011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7756
7757 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7758 buffer multibyteness, since it shouldn't matter.
7759
5f45cca5
MR
77602011-06-28 Martin Rudalics <rudalics@gmx.at>
7761
7762 * window.el (display-buffer-in-side-window): Handle dedicated
7763 windows as in display-buffer-reuse-window.
7764 (display-buffer-normalize-alist): Use value of override
7765 specifier.
7766 (display-buffer-normalize-specifiers): Use value of
7767 other-window-means-other-frame specifier.
7768 (display-buffer-alist): Rewrite some texts in widgets.
7769 (display-buffer): Spread arguments when calling function
7770 specified by fun-with-args.
7771
ad85fe1f
DD
77722011-06-28 Deniz Dogan <deniz@dogan.se>
7773
1fa280a3
LM
7774 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7775 Unnest `let'.
da68c4c8 7776
ad85fe1f
DD
7777 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7778 selectors (Bug#5732).
ec49bd31 7779 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 7780
a08cc025
JA
77812011-06-27 Jari Aalto <jari.aalto@cante.net>
7782
7783 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7784 (eshell-ls-date-format): New defcustom.
7785 (eshell-ls-file): Use it.
7786
e2b551c5
SM
77872011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7788
7789 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7790
8982b231
KY
77912011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7792
7793 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7794 (ange-ftp-make-tmp-name): New arg.
7795 (ange-ftp-file-local-copy): Use it.
7796
36c9fa27
J
77972011-06-27 Jambunathan K <kjambunathan@gmail.com>
7798
7799 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7800 no-conversion (Bug#8870).
7801
d68443dc
MR
78022011-06-27 Martin Rudalics <rudalics@gmx.at>
7803
7804 * window.el (window-right, window-left, window-child)
7805 (window-child-count, window-last-child)
7806 (window-iso-combination-p, walk-window-tree-1)
7807 (window-atom-check-1, window-tree-1, delete-window)
7808 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7809 new naming conventions - window-vchild, window-hchild,
7810 window-next and window-prev are now called window-top-child,
7811 window-left-child, window-next-sibling and window-prev-sibling
7812 respectively.
d615d6d2
MR
7813 (resize-window-reset): Rename to window-resize-reset.
7814 (resize-window-reset-1): Rename to window-resize-reset-1.
7815 (resize-window): Rename to window-resize.
7816 (window-min-height, window-min-width)
7817 (resize-mini-window, resize-this-window, resize-root-window)
7818 (resize-root-window-vertically, adjust-window-trailing-edge)
7819 (enlarge-window, shrink-window, maximize-window)
7820 (minimize-window, delete-window, quit-restore-window)
7821 (split-window, balance-windows, balance-windows-area-adjust)
7822 (balance-windows-area, window-state-put-2)
7823 (display-buffer-even-window-sizes, display-buffer-set-height)
7824 (display-buffer-set-width, set-window-text-height)
7825 (fit-window-to-buffer): Rename all "resize-window" prefixed
7826 calls to use the "window-resize" prefix convention.
7827 (display-buffer-alist): Fix symbol for label specifier.
7828 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7829 corresponding specifier.
7830 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 7831
b6458526
VB
78322011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7833
7834 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7835 convention.
7836 (ses-call-printer): Does not pass an empty string to formatter when the
7837 cell is empty to keep from barking printer Calc math-format-value.
7838
d31fd9ac
RS
78392011-06-27 Richard Stallman <rms@gnu.org>
7840
43d5bf84
RS
7841 * battery.el (battery-mode-line-limit): New variable.
7842 (battery-update): Handle it.
7843
d31fd9ac
RS
7844 * mail/rmailmm.el (rmail-mime-process-multipart):
7845 Handle truncated messages.
7846
819a6054
GM
78472011-06-27 Glenn Morris <rgm@gnu.org>
7848
7849 * progmodes/flymake.el (flymake-err-line-patterns):
7850 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7851
cedc73f2
VB
78522011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7853
819a6054 7854 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
7855 (ses--clean-!, ses--clean-_): New functions.
7856 (ses-range): Add configurability of readout order, and conversion
7857 to Calc vector.
7858
5e5d49b6
VB
7859 * ses.el (ses-repair-cell-reference-all): New function.
7860 (ses-cell-symbol): Set macro as safe, so that it can be used in
7861 formulas.
7862
56e6cc31 7863 * ses.el: Update cycle detection algorithm.
90ca8b49 7864 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 7865 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
7866 (ses-set-localvars): New function.
7867 (ses-make-cell): Add property-list as a cell element.
7868 (ses-cell-property-get-fun, ses-cell-property-get)
7869 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
7870 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7871 New functions.
90ca8b49
VB
7872 (ses-cell-property-set, ses-cell-property-pop)
7873 (ses-cell-property-get-handle): New macro.
7874 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7875 New aliases, used for code readability.
7876 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7877 cycle detection.
7878 (ses-self-reference-early-detection): New defcustom.
fac916bf 7879 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
7880 (ses-mode): Use ses-set-localvars.
7881 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7882 before lauching the update processing.
7883 (ses-initialize-Dijkstra-attempt): New function.
7884 (ses-recalculate-cell): Update for cycle detection based on
7885 Dijkstra algorithm.
7886
2bb63e81
VB
7887 * ses.el: Fix commenting and indenting convention.
7888
c9d29fb8
SM
78892011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7890
7891 * bs.el (bs-cycle-next): Complete last change.
7892
d8e4b68b
JB
78932011-06-27 Drew Adams <drew.adams@oracle.com>
7894
7895 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7896
40098786
LMI
78972011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7898
c9d29fb8
SM
7899 * net/network-stream.el (network-stream-open-starttls):
7900 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
7901 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7902
40098786
LMI
7903 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7904 to binary to possibly avoid line encoding issues on Windows (among
7905 other things).
7906
468d09d4
LMI
79072011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7908
7909 * net/network-stream.el (open-network-stream): Return an :error
7910 saying what the problem was, if possible.
7911
7912 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7913 server.
7914
7915 * net/network-stream.el (network-stream-open-starttls): If we
7916 wanted to use STARTTLS, and the server offered it, but we weren't
7917 able to because we had no STARTTLS support, then close the connection.
7918 (open-network-stream): Return an :error element, if present.
7919
16f07dd7
CY
79202011-06-26 Chong Yidong <cyd@stupidchicken.com>
7921
88821ca0
CY
7922 * hl-line.el (hl-line-sticky-flag): Doc fix.
7923 (global-hl-line-sticky-flag): New option (Bug#8323).
7924 (global-hl-line-highlight): Obey it.
7925
16f07dd7
CY
7926 * vc/vc.el (vc-revert-show-diff): Default to t.
7927
6b5ccddf
KM
79282011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
7929
c9d29fb8
SM
7930 * allout-widgets.el (allout-widgets-post-command-business):
7931 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
7932 undecorated when an isearch is continued past, and isearch
7933 automatically collapses them. This leads to "widget leaks", where
7934 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
7935 hidden widgets can slow down cursor travel, substantially.
7936 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
7937 so we're doing without this nicety.
7938
7939 (allout-widgets-tally-string): Don't try to do a hash-table-count
7940 of allout-widgets-tally when it's nil. This eliminates spurious "Error
7941 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7942 *Messages* when allout-widgets-maintain-tally is t.
7943
355f2e07
MR
79442011-06-26 Martin Rudalics <rudalics@gmx.at>
7945
7946 * window.el (display-buffer-normalize-argument): Rename to
7947 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
7948 LABEL argument. Respect special-display-function when popping up
7949 a new frame. Fix code searching for a window showing the buffer
7950 on another frame.
c9d29fb8
SM
7951 (display-buffer-normalize-specifiers):
7952 Call display-buffer-normalize-arguments.
355f2e07
MR
7953 (display-buffer-in-window): Don't undedicate the window if its
7954 buffer remains the same.
7955 Reported by Drew Adams <drew.adams@oracle.com>.
7956 (display-buffer-alist): Add choice for same-window macro
7957 specfier.
7958 (display-buffer): Mention special meaning of LABEL argument in
7959 doc-string. Fix quoting. Don't pop up a new frame even as
7960 fallback.
7961
7ca8fc42
JB
79622011-06-26 Juanma Barranquero <lekktu@gmail.com>
7963
7964 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7965 avoid deleting the current window in some cases (bug#8911).
7966
bc312254
AS
79672011-06-26 Andreas Schwab <schwab@linux-m68k.org>
7968
7969 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7970 (Bug#8934)
7971
2db18f3f
LMI
79722011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7973
c9d29fb8
SM
7974 * net/network-stream.el (network-stream-open-starttls):
7975 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
7976 (network-stream-open-tls): Ditto.
7977
6302e0d3
LL
79782011-06-26 Leo Liu <sdl.web@gmail.com>
7979
7980 * register.el (registerv): New struct.
7981 (registerv-make): New function.
c9d29fb8
SM
7982 (jump-to-register, describe-register-1, insert-register):
7983 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
7984 struct. (Bug#8415)
7985
5fdd4046
CY
79862011-06-26 Chong Yidong <cyd@stupidchicken.com>
7987
2afef60a
CY
7988 * vc/vc.el (vc-revert-show-diff): New defcustom.
7989 (vc-diff-internal): New arg specifying diff buffer.
7990 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
7991 reuse an existing *vc-diff* buffer (Bug#8927).
7992
5fdd4046
CY
7993 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7994
e93db24a
GM
79952011-06-26 Glenn Morris <rgm@gnu.org>
7996
7997 * progmodes/f90.el (f90-critical-indent): New option.
7998 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7999 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8000 (f90-mode): Doc fix.
8001 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8002 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8003 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8004 (f90-match-end): Handle block, critical.
8005
eefff499
GM
80062011-06-25 Glenn Morris <rgm@gnu.org>
8007
f6ba4cc9
GM
8008 * calendar/diary-lib.el (diary-included-files): Doc fix.
8009 (diary-include-files): New function, extracted from
8010 diary-include-other-diary-files and diary-mark-included-diary-files.
8011 (diary-include-other-diary-files, diary-mark-included-diary-files):
8012 Just call diary-include-files.
8013 (diary-mark-entries): Reset diary-included-files on first call.
8014
16712304
GM
8015 * calendar/diary-lib.el (diary-mark-entries)
8016 (diary-mark-included-diary-files):
8017 Visit included diary-files in temp buffers.
8018
5d8e0d43
GM
8019 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8020 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8021 (f90-start-block-re, f90-imenu-generic-expression)
8022 (f90-looking-at-program-block-start, f90-no-block-limit):
8023 Add support for submodules.
8024
ccf7a5d5
GM
8025 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8026 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 8027
11fdef7d 80282011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
8029
8030 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8031 buffer-file-type before setting its value, to avoid disastrous
eefff499 8032 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 8033
74f53697
JB
80342011-06-25 Juanma Barranquero <lekktu@gmail.com>
8035
8036 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8037
8038 * ses.el (ses-unload-function):
8039 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8040
8041 * proced.el (proced-unload-function):
8042 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8043
18a4ce5e
AR
80442011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8045
8046 * server.el (server-create-window-system-frame): Add parameters arg.
8047 (server-process-filter): Doc fix. Handle frame-parameters.
8048
519d22cc
JB
80492011-06-25 Juanma Barranquero <lekktu@gmail.com>
8050
8051 Fix bug#8730, bug#8781.
8052
8053 * loadhist.el (unload--set-major-mode): New function.
8054 (unload-feature): Use it.
8055
8056 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8057 (python-unload-function): New function.
8058
c206f5b0
SM
80592011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8060
8061 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8062
f9ad64f3
GS
80632011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8064
8065 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8066 the candidates list.
8067
7d0da90e
JB
80682011-06-24 Juanma Barranquero <lekktu@gmail.com>
8069
8070 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8071
14b4e83d
RS
80722011-06-23 Richard Stallman <rms@gnu.org>
8073
8074 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8075 (rmail-variables): Set next-error-move-function.
8076 (rmail-what-message): Take argument POS.
8077 (rmail-next-error-move): New function.
8078
273d2baf
SM
80792011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8080
8081 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8082 messages for adjacent non-terminals.
8083
56c2cc9a
RS
80842011-06-23 Richard Stallman <rms@gnu.org>
8085
8086 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 8087 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
8088 (rmail-start-mail): Don't specify use of rmail-mail-return;
8089 that's done by mail-bury now.
8090 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 8091
d59eb518
MA
80922011-06-23 Michael Albinus <michael.albinus@gmx.de>
8093
8094 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8095 SIZE is a number.
8096
02cfc6d6
MR
80972011-06-23 Martin Rudalics <rudalics@gmx.at>
8098
8099 * window.el (get-lru-window, get-mru-window)
8100 (get-largest-window): Never return a minibuffer window.
8101 (display-buffer-pop-up-window): Fix a bug that could lead to
8102 reusing the minibuffer window.
8103 (display-buffer): Pass original specifier argument to
8104 display-buffer-function instead of the normalized one.
8105 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8106
4e323265
LL
81072011-06-22 Leo Liu <sdl.web@gmail.com>
8108
8109 * minibuffer.el (completing-read-function)
8110 (completing-read-default): Move from minibuf.c
8111
7a70468f
RS
81122011-06-22 Richard Stallman <rms@gnu.org>
8113
50718fc2
RS
8114 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8115 to Rmail even if not started by a special Rmail command.
8116
7a70468f
RS
8117 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8118 Copy the buffer currently showing just one message.
8119
297dde5a
RW
81202011-06-22 Roland Winkler <winkler@gnu.org>
8121
8122 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8123 (bibtex-clean-entry): First delete the old key so that a
8124 customized algorithm for generating the new key does not get
8125 confused by the old key.
8126 (bibtex-url): Obey regexp of first step.
8127 (bibtex-search-entries): Do not use add-to-list with local
8128 list-var.
8129
97bb1093
LMI
81302011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8131
8132 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8133 stored a user name, then query for the password first, instead of
8134 waiting for SMTP to give an error message and the trying again.
8135
1c0f1a19
JD
81362011-06-22 Lawrence Mitchell <wence@gmx.li>
8137
8138 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8139 BUFFER in call-process.
8140
396f7c9d
LMI
81412011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8142
8143 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8144 QUIT twice.
ddb7ffee
LMI
8145 (smtpmail-try-auth-methods): Require user name and password from
8146 auth-source.
396f7c9d 8147
8998d1b3
MR
81482011-06-22 Martin Rudalics <rudalics@gmx.at>
8149
8150 * window.el (display-buffer-default-specifiers)
8151 (display-buffer-alist): Remove entries for pop-up-frame-alist.
8152 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 8153 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
8154
8155 * frame.el (pop-up-frame-alist, pop-up-frame-function)
8156 (special-display-frame-alist, special-display-popup-frame):
8157 Remove duplicate declarations. These are now in window.el.
8158
4ea31e07
LMI
81592011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8160
c9d29fb8
SM
8161 * mail/smtpmail.el (smtpmail-via-smtp):
8162 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
8163 server supports it. SMTP servers that support STARTTLS commonly
8164 require it.
8165
8166 * net/network-stream.el (network-stream-open-starttls): Support
8167 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 8168 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 8169
95f41d9a
LMI
8170 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8171 upgrades with `open-network-stream', and rely solely on
8172 auth-source for all credentials. Big changes throughout the file,
8173 but in particular:
c9d29fb8
SM
8174 (smtpmail-auth-credentials): Remove.
8175 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
8176 (smtpmail-via-smtp): Check for servers saying they want AUTH after
8177 MAIL FROM, too.
95f41d9a 8178
c9d29fb8
SM
8179 * net/network-stream.el (network-stream-open-starttls):
8180 Provide support for client certificates both for external and built-in
4ea31e07
LMI
8181 STARTTLS.
8182 (auth-source): Require.
8183 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
8184 (network-stream-certificate): Change cert-cert to cert and
8185 cert-key to key.
4ea31e07 8186
065ec2c7
MA
81872011-06-21 Michael Albinus <michael.albinus@gmx.de>
8188
8189 * net/tramp-cache.el (top): Don't load the persistency file when
8190 "emacs -Q" has been called.
8191
cd93b359
DR
81922011-06-21 Tim Harper <timcharper@gmail.com>
8193
d8e4b68b
JB
8194 * term/ns-win.el (ns-initialize-window-system):
8195 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
8196 resource to NO as it is not yet supported by the NS port.
8197
ae9c0411
JB
81982011-06-21 Juanma Barranquero <lekktu@gmail.com>
8199
8200 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8201 (list-dynamic-libraries): ...not here.
8202
7f3f739f
LL
82032011-06-21 Leo Liu <sdl.web@gmail.com>
8204
8205 * subr.el (sha1): Implement sha1 using secure-hash.
8206
327c8fb1
MR
82072011-06-21 Martin Rudalics <rudalics@gmx.at>
8208
8209 * window.el (display-buffer-alist): In default value do not
8210 enforce searching a window on any but the selected frame.
8211 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8212 (display-buffer-select-window): Remove function.
8213 (display-buffer-in-window): When a window on another frame gets
8214 reused, do not select it any more but just raise its frame if
8215 necessary (Bug#8851) and (Bug#8856).
8216 (display-buffer-normalize-options): Handle pop-up-frames related
8217 options more faithfully.
8218 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8219 window if it is on another frame.
c9d29fb8
SM
8220 (display-buffer-alist, display-buffer-default-specifiers):
8221 Don't make new frame unsplittable by default.
9e9de014
MR
8222 (display-buffer-normalize-argument): Fix doc-string typo and use
8223 'same-frame-other-window instead of 'other-window when associating
8224 with display-buffer-macro-specifiers.
327c8fb1 8225
7cf3f556
VB
82262011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8227
8228 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8229 New functions.
8230 (5x5-mode-map, 5x5-mode-menu): Bind them.
8231 (5x5-draw-grid): Tweak the solver's rendering.
8232
60a406cf
SM
82332011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8234
8235 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8236 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8237
d8e4b68b 82382011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
8239
8240 * menu-bar.el: Use function variable instead of switch-to-buffer.
8241 (menu-bar-select-buffer-function): New variable.
60a406cf 8242 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 8243
478d6f95
SM
82442011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8245
8246 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8247 variable's status.
8248
ca530739
JD
82492011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8250
8251 * x-dnd.el (x-dnd-version-from-flags)
8252 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8253 and long as number (Bug#8899).
8254 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8255
bcd70d97
SM
82562011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8257
60a406cf 8258 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
8259 (completion-try-completion, completion-all-completions): Compute the
8260 metadata argument if it's missing; make it optional (bug#8795).
8261
60a406cf 8262 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
8263 (widget-complete): Use new :completion-function property.
8264 (widget-completions-at-point): New function.
8265 (default): Use :completion-function instead of :complete.
60a406cf
SM
8266 (widget-default-completions): Rename from widget-default-complete;
8267 Rewrite.
bcd70d97
SM
8268 (widget-string-complete, widget-file-complete, widget-color-complete):
8269 Remove functions.
8270 (file, symbol, function, variable, coding-system, color):
8271 * international/mule-cmds.el (default-input-method, charset)
8272 (language-info-custom-alist):
8273 * cus-edit.el (face): Use new property :completions.
8274
8275 * progmodes/pascal.el (pascal-completions-at-point): New function.
8276 (pascal-mode): Use it.
8277 (pascal-mode-map): Use completion-at-point.
8278 (pascal-toggle-completions): Make obsolete.
8279 (pascal-complete-word, pascal-show-completions):
8280 * progmodes/octave-mod.el (octave-complete-symbol):
8281 Redefine as obsolete alias.
8282 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8283 Signal absence of completion info for old Octave,
8284 (inferior-octave-complete): Redefine as obsolete alias.
8285 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8286 (meta-completions-at-point): Rename from meta-complete-symbol and
8287 adapt it for use on completion-at-point-functions.
8288 (meta-common-mode): Use it.
8289 (meta-looking-at-backward, meta-match-buffer): Remove.
8290 (meta-complete-symbol): Redefine as obsolete alias.
8291 (meta-common-mode-map): Use completion-at-point.
8292 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8293 (makefile-mode-map): Use completion-at-point.
8294 (makefile-completions-at-point): Rename from makefile-complete and
8295 adapt it for use on completion-at-point-functions.
8296 (makefile-mode): Use it.
8297 (makefile-complete): Redefine as obsolete alias.
8298
aebf69c8
DD
82992011-06-20 Deniz Dogan <deniz@dogan.se>
8300
8301 * net/rcirc.el: Delete trailing whitespaces once and for all.
8302
bfbbb27d
DC
83032011-06-20 Daniel Colascione <dan.colascione@gmail.com>
8304
8305 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8306
d264a46b
CY
83072011-06-19 Chong Yidong <cyd@stupidchicken.com>
8308
4ca009e5
CY
8309 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8310
d264a46b
CY
8311 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8312
fbf5b3ce
MR
83132011-06-19 Martin Rudalics <rudalics@gmx.at>
8314
8315 * window.el (display-buffer-other-window-means-other-frame):
8316 Call display-buffer-normalize-alist.
8317 (display-buffer-normalize-specifiers-1): Rename to
8318 display-buffer-normalize-argument. New argument other-frame.
8319 Rewrite.
8320 (display-buffer-normalize-specifiers-2): Rename to
8321 display-buffer-normalize-options.
8322 (display-buffer-normalize-alist-1): New function.
8323 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
8324 display-buffer-normalize-alist.
8325 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
8326 (display-buffer-normalize-options-inhibit): New variable.
8327 (display-buffer-normalize-specifiers): Rewrite calling
8328 display-buffer-normalize-alist,
8329 display-buffer-normalize-argument, and
8330 display-buffer-normalize-options. Don't call the latter if
8331 display-buffer-normalize-options-inhibit is non-nil.
8332 (frame-auto-delete): New option.
8333 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
8334 (window-list-no-nils, window-state-ignored-parameters)
8335 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
8336 (window-state-put-1, window-state-put-2, window-state-put):
8337 New functions.
9a028c23
MR
8338 (display-buffer-normalize-options): Move special-display-p group
8339 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 8340
6d10d800
CY
83412011-06-18 Chong Yidong <cyd@stupidchicken.com>
8342
6420d28b
CY
8343 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8344 groups (Bug#8776).
8345 (rx-submatch-n): New function.
8346 (rx): Document it.
8347
ddb8b596
CY
8348 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8349 (Bug#8768).
8350
8351 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8352
77080289
CY
8353 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8354
61dfb316
CY
8355 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8356 anytime existing face settings are present (Bug#8889).
8357
6d10d800
CY
8358 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8359 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8360 Remove unused argument.
8361
be3fb2b8
MR
83622011-06-18 Martin Rudalics <rudalics@gmx.at>
8363
bcd70d97
SM
8364 * window.el (display-buffer-default-specifiers):
8365 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
8366 pop-up-window-min-width, and another reuse-window specifier
8367 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
8368 (display-buffer-normalize-specifiers-2):
8369 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
8370 pop-up-windows is unset. Add a reuse-window specifier for the
8371 case popping up a new window fails.
8372 (special-display-popup-frame): Remove double quoting.
28dec25a 8373 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 8374
1c6d8c76
SM
83752011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8376
8377 * shell.el (shell-completion-vars): Set pcomplete-termination-string
8378 according to comint-completion-addsuffix.
8379
8380 * pcomplete.el: Convert to lexical binding and fix bug#8819.
8381 (pcomplete-suffix-list): Mark as obsolete.
8382 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8383 pcomplete-seen in the closure.
8384 (pcomplete-comint-setup): Setup completion-at-point as well.
8385 (pcomplete--entries): New function.
8386 (pcomplete--env-regexp): New var.
8387 (pcomplete-entries): Rewrite to work with partial-completion and
8388 without relying on pcomplete-suffix-list.
8389 (pcomplete-pare-list): Remove, unused.
8390
25aef8b8
MR
83912011-06-17 Martin Rudalics <rudalics@gmx.at>
8392
8393 * window.el (display-buffer-alist): Set pop-up-window-min-height
8394 and pop-up-window-min-width in default value. Reported by
8395 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
8396 other-window-means-other-frame.
8397 (display-buffer-macro-specifiers): Comment out entry for
8398 other-window specifier.
8399 (display-buffer-other-window-means-other-frame): New function.
8400 (display-buffer-normalize-specifiers-1): New arguments
8401 buffer-name and label. Treat other-window case specially.
8402 (display-buffer-normalize-specifiers-2): Treat other-window case
8403 specially.
8404 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
8405 (display-buffer-normalize-specifiers):
8406 Call display-buffer-normalize-specifiers-3.
25aef8b8 8407
dbad4f69
MR
84082011-06-17 Martin Rudalics <rudalics@gmx.at>
8409
8410 * window.el (same-window-p): Fix two typos introduced when
8411 adding with-no-warnings.
d1067961
MR
8412 (display-buffer-normalize-specifiers-1): Don't check
8413 pop-up-frames for 'unset initialization.
8414 (display-buffer-normalize-specifiers-2): Major rewrite using
8415 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8416 (pop-up-frames, display-buffer-reuse-frames)
8417 (display-buffer-mark-dedicated): Don't initialize to 'unset.
8418 Suggested by David Engster <deng@randomsample.de>.
8419 (even-window-heights): Initialize to 'unset.
8420 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
8421 (display-buffer-macro-specifiers): Don't pop up a new frame in the
8422 other window case.
dbad4f69 8423
9b9c9e3a
MR
84242011-06-16 Martin Rudalics <rudalics@gmx.at>
8425
bcd70d97
SM
8426 * window.el (display-buffer-normalize-specifiers-1):
8427 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 8428 second argument of display-buffer (Bug#8865).
981d5c09
MR
8429 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8430 (switch-to-buffer-other-window-same-frame)
8431 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
8432 Adams (Bug#8875).
9c2755e9
MR
8433 (display-buffer): Don't check noninteractive when calling
8434 display-buffer-pop-up-frame.
8435 (display-buffer-pop-up-frame): Never pop up a frame in
8436 noninteractive mode (Bug#8857).
67222e1d
MR
8437 (enlarge-window, shrink-window): Don't report an error when the
8438 window can't be resized as requested (Bug#8862).
9b9c9e3a 8439
2b75be67
SM
84402011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8441
9ffdd3ba
SM
8442 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8443
cb581a67
SM
8444 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8445
2b75be67
SM
8446 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8447
8c0e3589
AM
84482011-06-15 Alan Mackenzie <acm@muc.de>
8449
cb581a67
SM
8450 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8451 for declarators, disable knr checking to speed up for normal files.
8452 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 8453
b96e6cde
LMI
84542011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8455
4bba86e6
LMI
8456 * net/network-stream.el (open-network-stream): Add the keyword
8457 :always-query-capabilities for the case where you want to force a
8458 `plain' network connection, but the protocol still requires the
8459 capabilitiy command (i.e., SMTP and EHLO).
8460
2b75be67 8461 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
8462 consistency with other `-live-p' functions.
8463
efdcdbf8
SM
84642011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8465
8466 * window.el (same-window-buffer-names, same-window-regexps)
8467 (special-display-frame-alist, special-display-popup-frame)
8468 (special-display-function, special-display-buffer-names)
8469 (special-display-regexps, pop-up-frame-alist)
8470 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8471 (pop-up-windows, split-window-preferred-function)
8472 (split-height-threshold, split-width-threshold, even-window-heights)
8473 (display-buffer-mark-dedicated): Don't encourage the use of
8474 display-buffer-alist from Elisp code.
8475
c5cde042
DN
84762011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
8477
8478 * progmodes/python.el (python-mode): Derive from prog-mode.
8479 * progmodes/ps-mode.el (ps-mode):
8480 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 8481 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
8482 * progmodes/ld-script.el (ld-script-mode): Likewise.
8483
baa1c9ab
MR
84842011-06-15 Martin Rudalics <rudalics@gmx.at>
8485
8486 * window.el (display-buffer-alist): Trim default value to avoid
8487 popping up a new frame (Bug#8857) or reusing an arbitrary window
8488 on another frame.
8489 (display-buffer): Do not fall back on popping up a new frame in
8490 batch mode (Bug#8857).
8491
c5dd5a51
CY
84922011-06-14 Chong Yidong <cyd@stupidchicken.com>
8493
8494 * cus-theme.el (describe-theme-1): Use custom-theme-p.
8495 (custom-theme-summary): New function.
8496 (customize-themes): Use it.
8497
d647b7c4
GM
84982011-06-13 Glenn Morris <rgm@gnu.org>
8499
8500 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8501
9481c002
MR
85022011-06-13 Martin Rudalics <rudalics@gmx.at>
8503
357f93d2
MR
8504 * help.el (help-window): Remove variable.
8505 (help-window-point-marker, temp-buffer-max-height)
8506 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8507 (help-print-return-message): Don't set help-window.
8508 (resize-temp-buffer-window): Rewrite cod eand doc-string.
8509 (help-window-setup-finish): Remove.
8510 (help-window-display-message, help-window-setup)
8511 (with-help-window): Major rewrite based on new
8512 display-buffer-window variable.
8513
8514 * help-mode.el (help-mode-finish): Remove help-window related
8515 code.
8516
8517 * view.el (view-exits-all-viewing-windows): Remove reference to
8518 view-return-to-alist in doc-string.
8519 (view-return-to-alist): Make obsolete.
8520 (view-buffer): Call pop-to-buffer-same-window and remove
8521 undo-window code.
8522 (view-buffer-other-window): Call pop-to-buffer-other-window and
8523 simplify code. Ignore second argument.
8524 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8525 simplify code. Ignore second argument.
8526 (view-return-to-alist-update): Make obsolete.
8527 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8528 Rewrite using quit-restore window parameters.
2b75be67
SM
8529 (view-mode-exit): Rename second argument to EXIT-ONLY.
8530 Rewrite using quit-restore-window.
357f93d2
MR
8531 (View-exit, View-exit-and-edit, View-leave, View-quit)
8532 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8533 appropriate arguments.
8534 (view-end-message): Use quit-restore window parameter.
8535
9481c002
MR
8536 * window.el (display-buffer-function): Rewrite doc-string.
8537 (display-buffer-window, display-buffer-alist): New variables.
8538 (display-buffer-split-specifiers)
8539 (display-buffer-side-specifiers)
8540 (display-buffer-macro-specifiers): New constants.
8541 (display-buffer-even-window-sizes, display-buffer-set-height)
8542 (display-buffer-set-width, display-buffer-select-window)
8543 (display-buffer-in-window, display-buffer-reuse-window)
8544 (display-buffer-split-window-1, display-buffer-split-window)
8545 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8546 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8547 (display-buffer-in-side-window, normalize-buffer-to-display)
8548 (display-buffer-normalize-specifiers-1)
8549 (display-buffer-normalize-specifiers-2)
2b75be67
SM
8550 (display-buffer-normalize-specifiers, display-buffer-frame):
8551 New functions.
9481c002
MR
8552 (display-buffer): Major rewrite.
8553 (display-buffer-other-window, display-buffer-other-frame)
8554 (pop-to-buffer, switch-to-buffer-other-window)
8555 (switch-to-buffer-other-frame): Rewrite.
8556 (display-buffer-same-window, display-buffer-same-frame)
8557 (display-buffer-same-frame-other-window)
8558 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8559 (pop-to-buffer-other-window)
8560 (pop-to-buffer-same-frame-other-window)
8561 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8562 (switch-to-buffer-other-window-same-frame): New functions.
8563 (same-window-p, special-display-p): Rewrite disabling warnings.
8564 Make obsolete.
8565 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8566 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8567 Make obsolete
8568 (same-window-buffer-names, same-window-regexps)
8569 (special-display-frame-alist, special-display-popup-frame)
8570 (special-display-function, special-display-buffer-names)
8571 (special-display-regexps, pop-up-frame-alist)
8572 (pop-up-frame-function, split-window-preferred-function)
8573 (split-height-threshold, split-width-threshold)
8574 (even-window-heights): Make obsolete.
8575
9db51aca
GM
85762011-06-12 Glenn Morris <rgm@gnu.org>
8577
8578 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 8579 Misc simplifications.
9db51aca 8580
39cffb44
MR
85812011-06-12 Martin Rudalics <rudalics@gmx.at>
8582
8583 * window.el (window-safely-shrinkable-p): Restore function which
8584 was inadvertently removed in change from 2011-06-11. Declare as
8585 obsolete.
8586
2b75be67
SM
8587 * calendar/calendar.el (calendar-generate-window):
8588 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
8589 window-safely-shrinkable-p.
8590
a8955be7
GM
85912011-06-12 Glenn Morris <rgm@gnu.org>
8592
8593 * progmodes/fortran.el (fortran-mode-syntax-table):
8594 * progmodes/f90.el (f90-mode-syntax-table):
8595 Set % to punctuation. (Bug#8820)
8596 (f90-find-tag-default): Remove, no longer needed.
8597
f0d4059d
DC
85982011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8599
8600 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8601
1100a63c
CY
86022011-06-11 Chong Yidong <cyd@stupidchicken.com>
8603
8604 * image.el (image-animated-p): Return animation delay in seconds.
8605 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8606 (image-animate-timeout): Remove DELAY argument. Don't assume
8607 every subimage has the same delay; get it from image-animated-p.
8608 (image-animate): Caller changed.
8609
def722bf
MA
86102011-06-11 Michael Albinus <michael.albinus@gmx.de>
8611
8612 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8613 to ignored backtrace functions.
8614
0a2bb1a9
GM
86152011-06-11 Glenn Morris <rgm@gnu.org>
8616
8617 * calendar/appt.el (appt-disp-window-function): Doc fix.
8618 (appt-check): Handle overlapping appointments. (Bug#8337)
8619
6198ccd0
MR
86202011-06-11 Martin Rudalics <rudalics@gmx.at>
8621
8622 * window.el (window-tree-1, window-tree): New functions, moving
8623 the latter to window.el.
8624 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8625 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8626 (bw-refresh-edges): Remove.
8627 (balance-windows-1, balance-windows-2): New functions.
8628 (balance-windows): Rewrite in terms of window tree functions,
8629 balance-windows-1 and balance-windows-2.
8630 (bw-adjust-window): Remove.
8631 (balance-windows-area-adjust): New function with functionality of
8632 bw-adjust-window but using resize-window.
2b75be67
SM
8633 (set-window-text-height): Rewrite doc-string.
8634 Use normalize-live-window and resize-window.
8635 (enlarge-window-horizontally, shrink-window-horizontally):
8636 Rename argument to DELTA.
6198ccd0
MR
8637 (window-buffer-height): New function.
8638 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8639 Rewrite using new window resize routines.
2b75be67
SM
8640 (kill-buffer-and-window, mouse-autoselect-window-select):
8641 Use ignore-errors instead of condition-case.
6198ccd0
MR
8642 (quit-window): Call delete-frame instead of delete-windows-on
8643 for the only buffer on frame.
8644
9397e56f
MR
86452011-06-10 Martin Rudalics <rudalics@gmx.at>
8646
8647 * loadup.el (top-level): Load window before files for the sake
8648 of replace-buffer-in-windows.
8649
8650 * files.el (read-buffer-to-switch)
8651 (switch-to-buffer-other-window)
2b75be67
SM
8652 (switch-to-buffer-other-frame, display-buffer-other-frame):
8653 Move to window.el.
9397e56f
MR
8654
8655 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8656 (previous-buffer): Move to window.el.
8657
8658 * bindings.el (unbury-buffer): Move to window.el.
8659
8660 * window.el (delete-other-windows-vertically): Move after
8661 definition of delete-other-windows.
8662 (other-window, delete-windows-on, replace-buffer-in-windows):
8663 Move here from window.c.
8664 (record-window-buffer, unrecord-window-buffer)
8665 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8666 (switch-to-next-buffer): New functions.
8667 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8668 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
8669 (previous-buffer): Move here from simple.el.
8670 Call switch-to-prev-buffer.
9397e56f
MR
8671 (bury-buffer): Move here from buffer.c. Switch to previous
8672 buffer when window cannot be deleted.
8673 (unbury-buffer): Move here from bindings.el.
8674 (ctl-x-map): Move binding for other-window from window.c to
8675 here.
8676 (read-buffer-to-switch, switch-to-buffer-other-window)
8677 (switch-to-buffer-other-frame): Move here from files.el.
8678 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
8679 (switch-to-buffer): Move here from buffer.c.
8680 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 8681
562dd5e9
MR
86822011-06-10 Martin Rudalics <rudalics@gmx.at>
8683
8684 * window.el (window-min-height, window-min-width): Move here
8685 from window.c. Add defcustoms and rewrite doc-strings.
8686 (resize-mini-window, resize-window): New functions.
8687 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8688 Move here from window.c.
8689 (maximize-window, minimize-window): New functions.
8690 (delete-window, delete-other-windows, split-window): Move here
8691 from window.c.
8692 (window-split-min-size): New function.
8693 (split-window-keep-point): Mention split-window-above-each-other
8694 instead of split-window-vertically.
2b75be67 8695 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
8696 Rename split-window-vertically to split-window-above-each-other
8697 and provide defalias for old definition.
8698 (split-window-side-by-side, split-window-horizontally):
8699 Rename split-window-horizontally to split-window-side-by-side
8700 and provide defalias for the old definition.
562dd5e9
MR
8701 (ctl-x-map): Move bindings for delete-window,
8702 delete-other-windows and enlarge-window here from window.c.
8703 Replace bindings for split-window-vertically and
8704 split-window-horizontally by bindings for
8705 split-window-above-each-other and split-window-side-by-side.
8706
8707 * cus-start.el (all): Remove entries for window-min-height and
8708 window-min-width. Add entries for window-splits and
8709 window-nest.
8710
f0da764a
GM
87112011-06-09 Glenn Morris <rgm@gnu.org>
8712
80675c21
GM
8713 * calendar/appt.el (appt-mode-line): New function.
8714 (appt-check, appt-disp-window): Use it.
8715
f0da764a
GM
8716 * files.el (hack-one-local-variable-eval-safep):
8717 Allow minor-modes with explicit +/-1 arguments.
8718
59f623b7
TZ
87192011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8720
8721 * term/xterm.el (xterm): Add defgroup.
8722 (xterm-extra-capabilities): Add defcustom to supply known xterm
8723 capabilities, skip querying them, or query them (default).
8724 (terminal-init-xterm): Use it.
8725 (terminal-init-xterm-modify-other-keys): New function to set up
8726 modifyOtherKeys support to simplify `terminal-init-xterm'.
8727
9aab8e0d
MR
87282011-06-09 Martin Rudalics <rudalics@gmx.at>
8729
8730 * window.el (resize-window-reset, resize-window-reset-1)
8731 (resize-subwindows-skip-p, resize-subwindows-normal)
8732 (resize-subwindows, resize-other-windows, resize-this-window)
8733 (resize-root-window, resize-root-window-vertically)
8734 (window-deletable-p, window-or-subwindow-p)
8735 (frame-root-window-p): New functions.
8736
e8b08aee
GM
87372011-06-09 Glenn Morris <rgm@gnu.org>
8738
8739 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8740 (ange-ftp-get-files): Use it.
8741
254c37a5
AK
87422011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8743
8744 * mail/sendmail.el (mail-recover-1, mail-recover):
8745 * files.el (recover-file, recover-session):
8746 Handle dired-listing-switches not being just a single short option.
8747
35d7dbd3
GM
87482011-06-09 Glenn Morris <rgm@gnu.org>
8749
8750 * calendar/appt.el (appt-display-message, appt-disp-window):
8751 Handle lists of appointments.
8752
387522b2
MR
87532011-06-08 Martin Rudalics <rudalics@gmx.at>
8754
2b75be67
SM
8755 * window.el (one-window-p): Move down in code.
8756 Rewrite doc-string.
8757 (window-current-scroll-bars): Rewrite doc-string.
8758 Normalize live window argument.
387522b2
MR
8759 (walk-windows, get-window-with-predicate, count-windows):
8760 Rewrite doc-string. Use window-list-1.
8761 (window-in-direction-2, window-in-direction, get-mru-window):
8762 New functions.
8763
d8e4b68b 87642011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
8765
8766 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8767 Doc fix (Bug#8713).
8768
87692011-06-08 Chong Yidong <cyd@stupidchicken.com>
8770
8771 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8772
87732011-06-08 Juanma Barranquero <lekktu@gmail.com>
8774
8775 * loadhist.el (unload-feature-special-hooks):
8776 Add `comint-output-filter-functions'.
8777
0de12c52
IK
87782011-06-08 Ivan Kanis <gnu@kanis.fr>
8779
8780 * calendar/appt.el (appt-check): Move some initializations into the let.
8781
f3d1777e
MR
87822011-06-08 Martin Rudalics <rudalics@gmx.at>
8783
8784 * window.el (window-height): Defalias to window-total-height.
8785 (window-width): Defalias to window-body-width.
8786
18af70d0
CY
87872011-06-07 Chong Yidong <cyd@stupidchicken.com>
8788
8789 * image-mode.el (image-toggle-animation): New command.
8790 (image-mode-map): Bind it to RET.
8791 (image-mode): Update message.
8792 (image-toggle-display-image): Avoid a spurious cache flush.
8793 (image-transform-rotation): Doc fix.
8794 (image-transform-properties): Return quickly in the normal case.
8795 (image-animate-loop): Rename from image-animate-max-time.
8796
2b75be67 8797 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
8798 (create-animated-image): Remove unnecessary function.
8799 (image-animate): Rename from image-animate-start. New arg.
2b75be67 8800 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
8801 (image-animate-timer): Use car-safe.
8802 (image-animate-timeout): Rename argument.
8803
190b47e6
MR
88042011-06-07 Martin Rudalics <rudalics@gmx.at>
8805
8806 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
8807 window.c. Rename first argument to ALL-FRAMES.
8808 Rephrase doc-strings.
8809 (get-buffer-window-list): Rewrite using window-list-1.
8810 Rephrase doc-string.
a1511caf
MR
8811 (window-safe-min-height, window-safe-min-width): New constants.
8812 (window-size-ignore, window-min-size, window-min-size-1)
8813 (window-sizable, window-sizable-p, window-size-fixed-1)
8814 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8815 (window-max-delta-1, window-max-delta, window-resizable)
8816 (window-resizable-p, window-total-height, window-total-width)
8817 (window-body-width): New functions.
8818 (window-full-height-p, window-full-width-p): Rewrite using
8819 window-total-size.
8820 (window-body-height): Rewrite using window-body-size.
190b47e6 8821
85cc1f11
MR
88222011-06-06 Martin Rudalics <rudalics@gmx.at>
8823
8824 * window.el (window-right, window-left, window-child)
8825 (window-child-count, window-last-child, window-any-p)
8826 (normalize-live-buffer, normalize-live-frame)
8827 (normalize-any-window, normalize-live-window)
8828 (window-iso-combination-p, window-iso-combined-p)
8829 (window-iso-combinations)
8830 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8831 (windows-with-parameter, window-with-parameter)
8832 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
8833 (window-atom-check, window-side-check, window-check):
8834 New functions.
85cc1f11
MR
8835 (ignore-window-parameters, window-sides, window-sides-vertical)
8836 (window-sides-slots): New variables.
8837 (window-size-fixed): Move down in code. Minor doc-string fix.
8838
e7156492
AS
88392011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8840
8841 * comint.el (comint-dynamic-complete-as-filename)
8842 (comint-dynamic-complete-filename): Correctly call
8843 completion-in-region.
8844
7e821d0d
DD
88452011-06-05 Deniz Dogan <deniz@dogan.se>
8846
8847 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8848 in last change.
8849
ac09b8a1
DD
88502011-06-05 Deniz Dogan <deniz@dogan.se>
8851
8852 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8853 (rcirc): Use it to prompt for encryption.
8854
34699b85
RW
88552011-06-05 Roland Winkler <winkler@gnu.org>
8856
8857 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8858 (bibtex-search-entries): New command bound to C-c C-a.
8859 (bibtex-display-entries): New function.
8860
004dedd3
RW
88612011-06-05 Roland Winkler <winkler@gnu.org>
8862
8863 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8864 (bibtex-insert-kill): After yanking insert newline if necessary.
8865 (bibtex-initialize): Call bibtex-string-files-init only once.
8866 (bibtex-mode): Do not call easy-menu-add.
8867 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8868 (bibtex-yank): Set arg properly if nil.
8869
022fe7ce
RW
88702011-06-05 Roland Winkler <winkler@gnu.org>
8871
2b75be67
SM
8872 * textmodes/bibtex.el (bibtex-search-entry-globally):
8873 New variable.
022fe7ce
RW
8874 (bibtex-search-entry): Use it.
8875
b7c3692a
RW
88762011-06-05 Roland Winkler <winkler@gnu.org>
8877
8878 * textmodes/bibtex.el (bibtex-entry-format): New option
8879 sort-fields.
8880 (bibtex-format-entry, bibtex-reformat): Honor this option.
8881 (bibtex-parse-entry): Return fields in proper order.
8882
8eda563d
JB
88832011-06-05 Juanma Barranquero <lekktu@gmail.com>
8884
8885 * doc-view.el (doc-view-remove-if): Move computation of result out
8886 of `dolist' to silence misleading lexical-binding warning.
8887
7dbe3dbc
CY
88882011-06-04 Chong Yidong <cyd@stupidchicken.com>
8889
8890 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8891 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8892
0c33dd17
MA
88932011-06-04 Michael Albinus <michael.albinus@gmx.de>
8894
8895 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8896 "SunOS 5.10".
8897
f8f91c2b
MA
88982011-06-04 Michael Albinus <michael.albinus@gmx.de>
8899
8900 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8901 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8902 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8903 (tramp-parse-putty):
8904 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8905 (tramp-completion-function-alist-ssh)
8906 (tramp-completion-function-alist-telnet)
8907 (tramp-completion-function-alist-su)
8908 (tramp-completion-function-alist-putty): Set `tramp-autoload'
8909 cookie.
8910
8911 * net/tramp-ftp.el:
8912 * net/tramp-sh.el:
8913 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8914 load "tramp.el" `tramp-set-completion-function'.
8915
e17d9003
SM
89162011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8917
8918 * shell.el: Require and use pcomplete.
8919 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8920 (shell-completion-vars): Set pcomplete-default-completion-function.
8921
6c4cab03
DD
89222011-06-04 Deniz Dogan <deniz@dogan.se>
8923
8924 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8925 `memq' (Bug#8799).
8926
ea9fafe0
SM
89272011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8928
8929 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8930
b3e945d3
JB
89312011-06-02 Juanma Barranquero <lekktu@gmail.com>
8932
8933 * bs.el (bs--mark-unmark, bs--nth-wrapper):
8934 * mpc.el (mpc-select-extend, mpc-songpointer-context):
8935 * vc/log-view.el (log-view-beginning-of-defun):
8936 * vc/smerge-mode.el (smerge-apply-resolution-patch)
8937 (smerge-refine-forward, smerge-refine-chopup-region):
8938 Silence warning for unused `dotimes' counter variables.
8939
7d520089
SM
89402011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8941
8942 * net/tramp.el (tramp-with-progress-reporter): Rename from
8943 with-progress-reporter. Use `declare'.
8944 * net/tramp-smb.el:
8945 * net/tramp-sh.el:
8946 * net/tramp-gvfs.el: Update all uses.
8947
a1c2400f
JB
89482011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
8949
8950 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8951 buffer isn't killed before making it current.
8952
2403c841
SM
89532011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8954
8955 Silence various byte-compiler warnings.
8956 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8957 `access-type' and new obsolescence format.
8958 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8959 new format.
8960 (byte-compile-check-variable): New `access-type' argument.
8961 Only warn if the access-type is obsolete.
8962 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8963 (byte-compile-variable-set): Adjust callers.
8964 * help-fns.el (describe-variable): Adjust to new obsolescence format.
8965 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8966 setting it as obsolete.
8967 * simple.el (minibuffer-completing-symbol):
8968 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8969 access as obsolete.
8970 * minibuffer.el (minibuffer-completing-file-name): Don't make it
8971 obsolete yet.
8972 * international/quail.el (quail-mouse-choose-completion): Remove unused
8973 code referring to obsolete var.
8974 (quail-choose-completion-string): Remove.
8975 * server.el (server-clients-with, server-kill-buffer-query-function)
8976 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8977 * proced.el (proced-send-signal):
8978 * emacs-lisp/lisp.el (lisp-complete-symbol):
8979 Replace completion-annotate-function with completion-extra-properties.
8980
2462470b
SM
89812011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8982
fb5b2591
SM
8983 * simple.el (goto-line): Use read-number.
8984 (overriding-map-is-bound): Remove.
8985 (saved-overriding-map): Change default.
8986 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8987 Take the map as argument.
8988 (universal-argument, negative-argument, digit-argument): Use it.
8989 (restore-overriding-map): Adjust.
8990 (do-auto-fill): Use fill-forward-paragraph.
8991 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8992
fd6fa53f
SM
8993 * minibuffer.el (minibuffer-inactive-mode-map): New var.
8994 (minibuffer-inactive-mode): New major mode.
8995 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8996 the *Messages* buffer" hack.
8997 (mouse-popup-menubar): Don't burp if the event is a normal key.
8998
2462470b
SM
8999 Miscellaneous tweaks.
9000 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9001 lexical scoping as in subr.el's dolist and dotimes.
9002 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9003 Silence compiler warning.
9004 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9005 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9006 * international/ccl.el (ccl-compile): Trivial simplification.
9007 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9008 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9009 `printflag' argument.
9010 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9011 Purecopy the whole obsolescence data.
9012
108bf785
LL
90132011-06-01 Leo Liu <sdl.web@gmail.com>
9014
9015 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9016 improve doc-string as suggested by Marco Pessotto
9017 <melmothx@gmail.com>.
9018 (rcirc-print): Fix last change.
9019
30a23501
SM
90202011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9021
9022 * minibuffer.el (complete-with-action): Return nil for the metadata and
9023 boundaries of non-functional tables.
9024 (completion-table-dynamic): Return nil for the metadata.
9025 (completion-table-with-terminator): Add default case, using
9026 complete-with-action.
9027 (completion--metadata): New function.
9028 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9029 to try and avoid pathological performance problems.
9030 (completion--embedded-envvar-table): Return `category' metadata.
9031
bcd54f83
LMI
90322011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9033
9034 * subr.el (process-alive-p): New tiny convenience function.
9035
e227544d
SM
90362011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9037
9038 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9039 content but also its previous major mode.
9040
e8296fdc
HE
90412011-05-31 Helmut Eller <eller.helmut@gmail.com>
9042
4d61f28d 9043 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
9044 *Backtrace* buffer when we exit with C-M-c.
9045
620c53a6
SM
90462011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9047
9048 * minibuffer.el: Add metadata method to completion tables.
9049 (completion-category-overrides): New defcustom.
9050 (completion-metadata, completion--field-metadata)
9051 (completion-metadata-get, completion--styles)
9052 (completion--cycle-threshold): New functions.
9053 (completion-try-completion, completion-all-completions):
9054 Add `metadata' argument to choose completion-styles.
9055 (completion--do-completion): Use metadata to choose cycling.
9056 (completion-all-sorted-completions): Use metadata for sorting.
9057 Remove :completion-cycle-penalty which is not needed any more.
9058 (completion--try-word-completion): Add `metadata' argument.
9059 (minibuffer-completion-help): Check metadata for annotation function
9060 and sorting.
9061 (completion-file-name-table): Return `category' metadata.
9062 (minibuffer-completing-file-name): Make obsolete.
9063 * simple.el (minibuffer-completing-symbol): Make obsolete.
9064 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9065 completion-try-completion.
9066
1257e755
SM
90672011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9068
9069 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9070
3767e706
LL
90712011-05-30 Leo Liu <sdl.web@gmail.com>
9072
9073 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
9074 (rcirc-print): Decode all incoming messages (bug#8744).
9075 (rcirc-decode-coding-system): Allow value nil for automatic coding
9076 system detection.
3767e706 9077
d1a5d56a
GM
90782011-06-01 Glenn Morris <rgm@gnu.org>
9079
9080 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9081
e8cbec34
CY
90822011-05-29 Chong Yidong <cyd@stupidchicken.com>
9083
9084 * image.el (image-animate-max-time): Allow nil and t values.
9085 Default to nil.
9086 (create-animated-image): Doc fix.
9087 (image-animate-start): Remove second arg; just use
9088 image-animate-max-time.
9089 (image-animate-timeout): Doc fix. Args changed.
9090
9091 * image-mode.el (image-toggle-display-image): Ensure that the
9092 image spec passed to the animate timer is the same object as in
58179cce 9093 the buffer's display property (Bug#6981).
e8cbec34
CY
9094 (image-transform-properties): Doc fix.
9095
9096 * image.el (image-animate-max-time): Default to nil.
9097
159daf87
MR
90982011-05-29 Martin Rudalics <rudalics@gmx.at>
9099
9100 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9101 entire buffer list (Bug#8184).
9102
d66c4c7c
CY
91032011-05-29 Chong Yidong <cyd@stupidchicken.com>
9104
9105 * image.el (imagemagick-types-inhibit)
9106 (imagemagick-register-types): Doc fix.
9107
80aec780
DD
91082011-05-29 Deniz Dogan <deniz@dogan.se>
9109
9110 * net/rcirc.el (rcirc): Use the user's stored encryption method by
9111 default.
9112
1dd3c2d9
CY
91132011-05-29 Chong Yidong <cyd@stupidchicken.com>
9114
9115 * select.el: Don't perform clipboard-manager saving in hooks;
9116 leave the hooks empty.
9117
60e56523
LL
91182011-05-28 Leo Liu <sdl.web@gmail.com>
9119
9120 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9121 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
9122 (occur-edit-mode): New major mode (Bug#8463).
9123 (occur-after-change-function): New function.
9124 (occur-engine): Give Occur tags a read-only property.
9125
2b1e1a22
KR
91262011-05-28 Kevin Ryde <user42@zip.com.au>
9127
9128 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9129
5d344e88
CY
91302011-05-28 Chong Yidong <cyd@stupidchicken.com>
9131
8e6ca83d
CY
9132 * bindings.el (help-echo): Make the initial non-indicator dash
9133 empty on graphical terminals (Bug#7295).
9134
5d344e88
CY
9135 * files.el (auto-mode-alist): Move config rule after the
9136 in-stripping one (Bug#8547).
9137
bfbbace7
CY
9138 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9139
fbeba6e2
CY
9140 * startup.el (normal-splash-screen): Remove gratuitous mode-line
9141 setting (Bug#8740).
9142
60ed8c72
AA
91432011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
9144
4ac619f0
AA
9145 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9146 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9147 (Bug#8539).
60ed8c72 9148
23db196e
CY
91492011-05-28 Chong Yidong <cyd@stupidchicken.com>
9150
9151 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9152
5012f24c
DK
91532011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
9154
9155 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9156 (hs-hide-block-at-point, hs-find-block-beginning)
9157 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9158 (Bug#8279).
9159
6a639b16
GM
91602011-05-28 Glenn Morris <rgm@gnu.org>
9161
9162 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9163
d43eaf2c
CY
91642011-05-28 Chong Yidong <cyd@stupidchicken.com>
9165
5199bde1
CY
9166 * help-fns.el (describe-function-1): If the function is a derived
9167 major mode, print the parent mode.
9168
d43eaf2c
CY
9169 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9170 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9171
423428a8
SM
91722011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9173
0ff8e1ba 9174 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 9175 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
9176 * progmodes/etags.el (tags-completion-at-point-function):
9177 * info-look.el (info-lookup-completions-at-point): Mark as
9178 non-exclusive.
9179 (info-complete): Adjust accordingly.
9180
423428a8
SM
9181 * info-look.el: Convert to lexical-binding and completion-at-point.
9182 (info-lookup-completions-at-point): New function.
9183 (info-complete): Use it and completion-in-region.
9184
b74aa22b
DA
91852011-05-28 Drew Adams <drew.adams@oracle.com>
9186
9187 * isearch.el: Let M-e start with point at the first mismatched char.
9188 (isearch-fail-pos): New function.
9189 (isearch-edit-string): Use it.
9190
66e2e71d
DK
91912011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9192
9193 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9194
b1890b0f 91952011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
9196
9197 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9198 traversal functions for avl-trees.
9199 (avl-tree--stack): New struct.
9200 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9201 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
9202 (avl-tree--do-enter): Add optional `updatefun' arg.
9203 Change return value.
eb95d01d 9204 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
9205 (avl-tree--do-delete): Add `test' and `nilflag' args.
9206 Change return value.
eb95d01d
TC
9207 (avl-tree-member): Add optional `nilflag'
9208 (avl-tree-member-p): New function.
9209 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9210 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9211 (avl-tree-stack-empty-p): New functions.
9212
3769ddcf
TC
9213 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9214 avl-tree--del-balance1 and make it work both ways.
9215 (avl-tree--del-balance2): Remove.
9216 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9217 make it work both ways.
9218 (avl-tree--enter-balance2): Remove.
9219 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9220 New macros.
9221 (avl-tree--mapc, avl-tree-map): Add direction argument.
9222
eb95d01d 92232011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
9224
9225 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9226
a9f737ee
CY
92272011-05-27 Chong Yidong <cyd@stupidchicken.com>
9228
9229 * select.el: Support clipboard managers with built-in function
9230 x-clipboard-manager-save, via delete-frame-functions and
9231 kill-emacs-hook.
9232 (xselect-convert-to-targets): Add MULTIPLE target to list.
9233 (xselect-convert-to-save-targets): New function.
9234
c92a1e54
KH
92352011-05-27 Kenichi Handa <handa@m17n.org>
9236
9237 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9238 let-binding rfc2047-encode-encoded-words to nil.
9239
e145f188
GM
92402011-05-27 Glenn Morris <rgm@gnu.org>
9241
5ec8a862
GM
9242 * mail/emacsbug.el: Don't require url-util.
9243
4b29d9fb
GM
9244 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9245
e145f188
GM
9246 * files.el (set-auto-mode):
9247 Also respect mode: entries at the end of the file. (Bug#8586)
9248
7d15102b
GM
92492011-05-26 Glenn Morris <rgm@gnu.org>
9250
98f593b8
GM
9251 * files.el (hack-local-variables-prop-line, hack-local-variables):
9252 Downcase mode names, as seems to be traditional.
27b48e63 9253 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 9254
7d15102b
GM
9255 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9256 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
9257
51d5b4ec
JD
92582011-05-25 Julien Danjou <julien@danjou.info>
9259
9260 * textmodes/rst.el (rst-define-level-faces): Do not define face
9261 symbol if it is already defined.
9262
91513f63
VB
92632011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
9264
9265 * play/5x5.el (5x5-new-game, 5x5-randomize):
9266 Reset 5x5-solver-output to nil when a new grid is cast.
9267 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9268 these debugging traces, as defmacro breaks the compiled code.
9269
4d90d6d0
DK
92702011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9271
9272 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9273
e1b90ef6
LL
92742011-05-24 Leo Liu <sdl.web@gmail.com>
9275
9276 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9277 (vc-bzr-sha1): Adapt.
9278
d8e4b68b 9279 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
9280
9281 * bindings.el: Provide sha1 feature.
9282
db0406bb 92832011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
9284
9285 * mail/sendmail.el: Require `rfc2047'.
9286 (mail-insert-from-field): Do not perform RFC2047 encoding.
9287 (mail-encode-header): New function.
9288 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
9289 buffer to the return value of select-message-coding-system.
9290 Call mail-encode-header.
b8d747b9
KH
9291
9292 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9293
db0406bb 92942011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 9295
4d90d6d0
DK
9296 * mail/supercite.el (sc-default-cite-frame):
9297 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 9298
eb8a5e9b
GM
92992011-05-24 Glenn Morris <rgm@gnu.org>
9300
f8630703
GM
9301 * progmodes/python.el (brm-menu): Declare.
9302
8831bbed
GM
9303 * emulation/viper.el (viper-set-hooks): Declare.
9304
eb8a5e9b
GM
9305 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9306 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9307 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9308 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9309 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9310 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9311
a2a25d24
SM
93122011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9313
9314 Add an :exit-function for completion-at-point.
9315
9316 * minibuffer.el (completion--done): New fun.
9317 (completion--do-completion): Use it. New arg `expect-exact'.
9318 (minibuffer-complete, minibuffer-complete-word): Don't output message,
9319 since completion--do-completion does it for us now.
9320 (minibuffer-force-complete): Use completion--done and
9321 completion--replace. Handle sole-completion case with more care.
9322 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9323 (completion-extra-properties): New var.
9324 (completion-annotate-function): Make obsolete.
9325 (minibuffer-completion-help): Adjust accordingly.
9326 Use completion-list-insert-choice-function.
9327 (completion-at-point, completion-help-at-point):
9328 Bind completion-extra-properties.
9329 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9330 * simple.el (completion-list-insert-choice-function): New var.
9331 (completion-setup-function): Preserve it.
9332 (choose-completion): Pay attention to it, shuffle the code a bit.
9333 (choose-completion-string): New arg `insert-function'.
9334
9335 * textmodes/bibtex.el: Convert to lexical binding.
9336 (bibtex-mode-map): Use completion-at-point.
9337 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9338 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9339 (bibtex-complete): Define as obsolete alias.
9340 (bibtex-complete-internal): Remove.
9341 (bibtex-format-entry): Remove unused sub-group in regexp.
9342 * shell.el (shell--command-completion-data)
9343 (shell-environment-variable-completion):
9344 * pcomplete.el (pcomplete-completions-at-point):
9345 * comint.el (comint--complete-file-name-data): Use :exit-function
9346 instead of completion-table-with-terminator so it also works for
9347 choose-completion.
9348
e44e373d
SM
93492011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9350
4f91a816
SM
9351 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9352
782fc819
SM
9353 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9354 (bug#8710).
9355
e44e373d
SM
9356 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9357
381987c3
KM
93582011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
9359
9360 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9361 customization variable and implement: If non-nil, auto-fill will
9362 be inhibited while on topic's header line.
9363
b776bc70
VB
93642011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
9365
9366 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 9367 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
9368 always have a solution in grid size = 5 cases.
9369 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9370 (5x5-solver-output, 5x5-log-buffer): New vars.
9371 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9372 Make these variables buffer local to achieve 5x5 multi-session-ness.
9373 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9374 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9375 (5x5-solve-suggest): New funs.
9376 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9377 randomize a grid so that we ensure that there is always a solution.
9378 (5x5-make-random-grid): Allow other movement than flipping.
9379
7de88b6e
KR
93802011-05-23 Kevin Ryde <user42@zip.com.au>
9381
9382 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 9383 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
9384 advice and passes PREDICATE.
9385
b1ef1257
SM
93862011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9387
bbca48fe
SM
9388 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9389 byte-compile-lambda if it's actually a lambda.
9390
b1ef1257
SM
9391 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9392 Fix function quoting. Use backquote better.
9393
92a9cc65
YS
93942011-05-22 Yuanle Song <sylecn@gmail.com>
9395
9396 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9397 matching (Bug#8516).
9398
f0fb8059
JA
93992011-01-22 Jari Aalto <jari.aalto@cante.net>
9400
9401 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9402 different face (Bug#8178).
9403
d5b44c93
CY
94042011-05-22 Chong Yidong <cyd@stupidchicken.com>
9405
9406 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9407 defface (Bug#8144).
9408
79106a44
SM
94092011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
9410
9c848d8a
SM
9411 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9412 funcall as well (bug#8712). Warn when performing those conversions.
9413 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9414
79106a44
SM
9415 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9416
88dfa756
GM
94172011-05-22 Glenn Morris <rgm@gnu.org>
9418
9419 * files.el (hack-local-variables-prop-line): Small simplifications.
9420 (hack-local-variables, hack-local-variables-prop-line):
9421 If MODE-ONLY, return the mode, rather than just `t'.
9422
b7cf2c79
SM
94232011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9424
9425 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9426
3f1a8558
GM
94272011-05-21 Glenn Morris <rgm@gnu.org>
9428
7e4ccca3
GM
9429 * files.el (hack-local-variables-prop-line, hack-local-variables):
9430 If only interested in the mode, don't bother doing the other stuff.
9431
637d46ca
GM
9432 * image-mode.el (image-after-revert-hook):
9433 Redraw all frames on which the image is visible. (Bug#8567)
9434
973d955b
GM
9435 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
9436
3f1a8558
GM
9437 * wid-edit.el (widget-checklist-match-inline):
9438 Fix 2011-04-19 change. (Bug#8649)
9439
96479927
SM
94402011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
9441
1dcf791f
SM
9442 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9443 Also allow singlespace after single-letter capitals followed by a dot.
9444
96479927
SM
9445 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9446 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9447
35fd0881
N
94482011-05-20 Nix <nix@esperi.org.uk>
9449
9450 * files.el (basic-save-buffer-2):
9451 Fix handling of break-hardlink-on-save with non-existent files.
9452
82745640
DD
94532011-05-19 Deniz Dogan <deniz@dogan.se>
9454
9455 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 9456 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 9457
4a720484
GM
94582011-05-19 Glenn Morris <rgm@gnu.org>
9459
d1f21341
GM
9460 * progmodes/f90.el (f90-type-def-re):
9461 Handle "type, bind(c)". (Bug#8691)
9462
4a720484
GM
9463 * emacs-lisp/autoload.el (batch-update-autoloads):
9464 Set autoload-excludes by parsing loadup.el rather than Makefiles.
9465
2fb0a219
MA
94662011-05-18 Michael Albinus <michael.albinus@gmx.de>
9467
9468 * net/tramp.el (tramp-process-actions): Set "first-password-request"
9469 property for the correct connection in case of multihops.
9470
e565dd37
GM
94712011-05-18 Glenn Morris <rgm@gnu.org>
9472
c2571358 9473 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
9474 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9475
e565dd37
GM
9476 Rationalize calendar handling of day and month abbrev-arrays.
9477 * calendar/calendar.el (calendar-customized-p): New function.
9478 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9479 (calendar-day-name-array, calendar-month-name-array): Doc fix.
9480 Add :set function.
9481 (calendar-abbrev-length, calendar-day-abbrev-array)
9482 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9483 (calendar-day-abbrev-array, calendar-month-abbrev-array):
9484 Elements may no longer be nil.
9485 (calendar-day-name, calendar-month-name):
9486 Update for changed nature of abbrev arrays.
9487 * calendar/diary-lib.el (diary-name-pattern):
9488 Update for changed nature of abbrev arrays.
9489 (diary-mark-entries-1): Update calendar-make-alist calls.
9490 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9491 * calendar/cal-html.el (cal-html-day-abbrev-array):
9492 Simply inherit from calendar-day-abbrev-array.
9493
1d99a745
SM
94942011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9495
9496 * progmodes/grep.el (grep-mode): Disable default
9497 compilation-directory-matcher setting (bug#8684).
9498
7c1d9aa0
MA
94992011-05-17 Michael Albinus <michael.albinus@gmx.de>
9500
9501 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9502 instead of "head" and "tail". There were problems with SunOS 5.9,
9503 and it performs better.
9504
3952e9d8
GM
95052011-05-17 Glenn Morris <rgm@gnu.org>
9506
2dd12e7f
GM
9507 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9508
e4157b9c
GM
9509 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9510 Replace obsolete function.
9511
8e249bbd
GM
9512 * shell.el (pcomplete-parse-arguments-function): Declare.
9513
3952e9d8
GM
9514 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9515 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9516 (appt-check): Doc fixes.
9517 (appt-disp-window-function, appt-delete-window-function):
9518 Remove needless special case in custom :type.
9519 (appt-display-count): Default to 0, not nil.
9520 (appt-check): Reset appt-display-count to 0, not nil.
9521
c71a0d48 95222011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 9523
c71a0d48
GM
9524 * progmodes/python.el (python-font-lock-keywords):
9525 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 9526
31d55be9
SM
95272011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9528
9529 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9530
3bfacb2f
KR
95312011-05-16 Kevin Ryde <user42@zip.com.au>
9532
9533 * info-look.el (makefile-automake-mode): New setups, looking in
9534 automake manual, then makefile-mode.
9535 (makefile-mode): Remove automake manual, have it just in
9536 makefile-automake-mode since there's various things different or
9537 not relevant to plain make.
9538 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9539 believe a hypothetical automake-mode would go to makefile-mode,
9540 not the other way around.
9541
c8e83751
CY
95422011-05-15 Chong Yidong <cyd@stupidchicken.com>
9543
5e9e35cd
CY
9544 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9545 hunk-end tags (Bug#8672).
9546
c8e83751
CY
9547 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9548 vc-annotate-show-diff-revision-at-line (Bug#8671).
9549
50b23e5a
GM
95502011-05-14 Glenn Morris <rgm@gnu.org>
9551
7210a739
GM
9552 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9553 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
9554 (change-log-font-lock-keywords): Also handle multiple author lines
9555 with leading tabs. (Bug#8644)
7210a739 9556
4691905a
GM
9557 * calendar/appt.el (appt-check): Rename some local variables.
9558 Some simplification/reordering.
9559
50b23e5a
GM
9560 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9561 (feedmail-sendmail-f-doesnt-sell-me-out)
9562 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9563 (feedmail-debug-sit-for, feedmail-queue-express-hook)
9564 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
9565 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9566 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
9567 (feedmail-binmail-gnulinuxish-template):
9568 Rename from feedmail-binmail-linuxish-template.
9569 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9570 Use insert-buffer-substring.
9571
215cda7c
BC
95722011-05-14 Bill Carpenter <bill@carpenter.org>
9573
9574 * mail/feedmail.el (feedmail-patch-level): Increase.
9575 (feedmail-debug): New custom group.
9576 (feedmail-confirm-outgoing-timeout)
9577 (feedmail-sendmail-f-doesnt-sell-me-out)
9578 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9579 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9580 (feedmail-sender-line, feedmail-from-line)
9581 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 9582 (feedmail-spray-this-address)
215cda7c
BC
9583 (feedmail-spray-address-fiddle-plex-list)
9584 (feedmail-queue-use-send-time-for-date)
9585 (feedmail-queue-use-send-time-for-message-id)
9586 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9587 (feedmail-buffer-eating-function):
9588 Doc fixes.
9589 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9590 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9591 (feedmail-message-action-scroll-down): New functions.
9592 (feedmail-queue-directory, feedmail-queue-draft-directory):
9593 Use expand-file-name.
9594 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9595 Remove C-v help entry.
9596 (feedmail-queue-buffer-file-name): New variable.
9597 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9598 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9599 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9600 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9601 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9602 (feedmail-message-action-toggle-spray)
9603 (feedmail-run-the-queue-no-prompts)
9604 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9605 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9606 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9607 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9608 (feedmail-envelope-deducer, feedmail-fiddle-from)
9609 (feedmail-fiddle-sender, feedmail-default-date-generator)
9610 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9611 (feedmail-fiddle-spray-address)
9612 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9613 (feedmail-fiddle-list-of-fiddle-plexes)
9614 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9615 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9616 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9617 Change default. Doc fix.
9618 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9619 (feedmail-binmail-linuxish-template): New constant.
9620 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9621 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9622 (feedmail-send-it): Add debug call.
9623 Use feedmail-queue-buffer-file-name, and
9624 feedmail-send-it-immediately-wrapper.
9625 (feedmail-message-action-send): Add debug call.
9626 Use feedmail-send-it-immediately-wrapper.
9627 (feedmail-queue-express-to-queue): Add debug call.
9628 Run feedmail-queue-express-hook.
9629 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9630 (feedmail-message-action-help-blat):
9631 Rename from feedmail-queue-send-edit-prompt-help-first.
9632 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9633 Check line-endings. Handle errors better.
9634 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9635 Doc fix. Add debug call.
9636 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9637 Use feedmail-queue-send-edit-prompt-inner.
9638 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9639 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9640 from feedmail-queue-send-edit-prompt.
9641 (feedmail-queue-send-edit-prompt-help)
9642 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9643 (feedmail-tidy-up-slug): Add debug call.
9644 Respect feedmail-queue-slug-suspect-regexp.
9645 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9646 (feedmail-dump-message-to-queue): Add debug call.
9647 Expand queue-directory.
9648 (feedmail-dump-message-to-queue): Change message slightly.
9649 Use feedmail-say-chatter.
9650 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9651 (feedmail-send-it-immediately-wrapper): New function.
9652 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9653 Insert empty string rather than newline. Handle full-frame case.
9654 Use catch/throw. Use feedmail-say-chatter.
9655 (feedmail-fiddle-from): Try mail-host-address.
9656 (feedmail-default-message-id-generator): Doc fix.
9657 Bind system-time-locale. Handle missing end.
9658 (feedmail-fiddle-x-mailer): Add debug call.
9659 Handle feedmail-x-mailer-line being nil.
9660 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9661 Add debug call. Use buffer-substring-no-properties.
9662 (feedmail-say-debug, feedmail-say-chatter): New functions.
9663 (feedmail-find-eoh): Give an explicit error.
9664
42c7e61e
UJ
96652011-05-13 Ulf Jasper <ulf.jasper@web.de>
9666
c2571358 9667 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 9668 family from helvetica to sans.
c2571358 9669 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9670 etc/images/newsticker.
9671
c2571358 9672 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
9673 family from helvetica to sans.
9674
9675 * net/newst-plainview.el (newsticker-new-item-face)
9676 (newsticker-old-item-face, newsticker-immortal-item-face)
9677 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 9678 (newsticker-statistics-face): Change default family from
42c7e61e 9679 helvetica to sans.
c2571358 9680 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9681 etc/images/newsticker.
9682
9683 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9684 (newsticker--process-auto-mark-filter-match): : Tell user about
9685 auto-marking.
9686
8497a297
DV
96872011-05-13 Didier Verna <didier@xemacs.org>
9688
9689 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
9690 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9691 TODO entries.
8497a297
DV
9692 (lisp-lambda-list-keyword-parameter-indentation)
9693 (lisp-lambda-list-keyword-parameter-alignment)
9694 (lisp-lambda-list-keyword-alignment): New customizable user options.
9695 (lisp-indent-defun-method): Improve docstring.
9696 (extended-loop-p): Fix comment.
9697 (lisp-indent-lambda-list-keywords-regexp): New variable.
9698 (lisp-indent-lambda-list): New function.
9699 (lisp-indent-259): Use it.
9700 (lisp-indent-defmethod): Support for more than one
9701 method qualifier and properly indent methods lambda-lists.
9702 (defgeneric): Provide a missing common-lisp-indent-function property.
9703
f278f87f
SM
97042011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9705
9706 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9707 bounds for the empty string (bug#8667).
9708
5233edd7
GM
97092011-05-13 Glenn Morris <rgm@gnu.org>
9710
5237a44f
GM
9711 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9712
8340026c 9713 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 9714 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 9715
5233edd7 9716 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 9717 (appt-time-msg-list): Doc fix.
a5464014 9718 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 9719
92d10796
AS
97202011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9721
9722 * progmodes/ld-script.el (ld-script-keywords)
9723 (ld-script-builtins): Update keywords list.
9724
914a0ae1
SM
97252011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9726
c89be45f
SM
9727 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9728
914a0ae1
SM
9729 * shell.el (shell-completion-vars): New function.
9730 (shell-mode):
9731 * simple.el (read-shell-command): Use it.
9732 (blink-matching-open): No need for " [...]" in minibuffer-message.
9733
98dc3df3
GM
97342011-05-12 Glenn Morris <rgm@gnu.org>
9735
9736 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9737 (appt-check): Simplify.
9738
d2fc7e3d 97392011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 9740
4d61f28d 9741 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
9742 literal "/dev/null".
9743
d2fc7e3d 97442011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
9745
9746 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9747 Fix typo.
9748
d2fc7e3d 97492011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 9750
3f254caa
SM
9751 * progmodes/which-func.el (which-function):
9752 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
9753 which might not be defined (Bug#8260).
9754
d45885f7
GM
97552011-05-12 Glenn Morris <rgm@gnu.org>
9756
9757 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9758 Let byte-compile-initial-macro-environment always take precedence.
9759
488086f4
SM
97602011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9761
9762 * net/rcirc.el: Add support for SSL/TLS connections.
9763 (rcirc-server-alist): New field `encryption'.
9764 (rcirc): Check `encryption' settings.
9765 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9766 Merge make-local-variable into `set'.
9767 (rcirc--connection-open-p): New function.
9768 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9769 the process is not a network process (e.g. running gnutls-cli).
9770 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9771 Make rcirc-(en|de)code-coding-system local here.
9772 (rcirc-mode): Merge make-local-variable into `set'.
9773 (rcirc-parent-buffer): Make permanent buffer-local.
9774 (rcirc-multiline-minor-mode): Don't do it here.
9775 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9776 there's no server buffer.
9777
7d3b9d44
GM
97782011-05-11 Glenn Morris <rgm@gnu.org>
9779
f64049c6
GM
9780 * newcomment.el (comment-kill): Prefix "unused" local.
9781
93c9df73
GM
9782 * term/w32console.el (get-screen-color): Declare.
9783
7d3b9d44
GM
9784 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9785 Handle symbol elements of byte-compile-initial-macro-environment.
9786
9e2dd53f
LL
97872011-05-10 Leo Liu <sdl.web@gmail.com>
9788
488086f4
SM
9789 * bookmark.el (bookmark-bmenu-mode-map):
9790 Bind bookmark-bmenu-search to `/'.
8b340240 9791
9e2dd53f 9792 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
9793 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9794 (Footnote-unicode): New function.
9795 (footnote-style-alist): Add unicode style to the list.
9796 (footnote-style): Doc fix.
9e2dd53f 9797
79b70037
GM
97982011-05-10 Jim Meyering <meyering@redhat.com>
9799
9800 Fix doubled-word typos.
9801 * international/quail.el (quail-insert-kbd-layout): and and -> and
9802 * kermit.el: and and -> and
9803 * net/ldap.el (ldap-search-internal): to to -> to
9804 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9805 * progmodes/js.el (js-mode): and and -> and
9806 * textmodes/artist.el (artist-move-to-xy): at at -> at
9807 (artist-draw-region-trim-line-endings): if if -> if
9808 And Safetyc -> Safety.
9809 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9810
b8f82dc1 98112011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 9812 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
9813
9814 * files.el (hack-one-local-variable-eval-safep):
9815 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9816
4f99f44b
GM
98172011-05-10 Glenn Morris <rgm@gnu.org>
9818
9819 * calendar/diary-lib.el (diary-list-entries-hook)
9820 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9821 (diary-nongregorian-marking-hook, diary-list-entries)
9822 (diary-include-other-diary-files, diary-mark-entries)
9823 (diary-mark-included-diary-files): Doc fixes.
9824
84f29e6b
JB
98252011-05-09 Juanma Barranquero <lekktu@gmail.com>
9826
9827 * misc.el: Require tabulated-list.el during compilation.
9828
9bedd73a
CY
98292011-05-09 Chong Yidong <cyd@stupidchicken.com>
9830
488086f4
SM
9831 * progmodes/compile.el (compilation-start):
9832 Run compilation-filter-hook for the async case too.
9bedd73a
CY
9833 (compilation-filter-hook): Doc fix.
9834
797c735c
DD
98352011-05-09 Deniz Dogan <deniz@dogan.se>
9836
9837 * wdired.el: Remove outdated installation comment. Fix usage
9838 comment.
9839
5f4b1dfe
JB
98402011-05-09 Juanma Barranquero <lekktu@gmail.com>
9841
9842 * misc.el: Implement new command `list-dynamic-libraries'.
9843 (list-dynamic-libraries--loaded-only-p): New variable.
9844 (list-dynamic-libraries--refresh): New function.
9845 (list-dynamic-libraries): New command.
9846
4c44026c
CY
98472011-05-09 Chong Yidong <cyd@stupidchicken.com>
9848
488086f4
SM
9849 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9850 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
9851 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9852 higher priority to avoid clobbering by gnu.
9853
027f966d
CY
98542011-05-08 Chong Yidong <cyd@stupidchicken.com>
9855
9856 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9857 if the face has existing theme settings (Bug#8454).
9858
085f5d7d
CY
98592011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9860
488086f4
SM
9861 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9862 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 9863
2a86a00c
RS
9864 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9865 special file names `.' and `..' (Bug#8259).
9866
d9c54a06
CY
98672011-05-08 Chong Yidong <cyd@stupidchicken.com>
9868
488086f4
SM
9869 * progmodes/grep.el (grep-mode-font-lock-keywords):
9870 Remove buffer-changing entries.
d9c54a06
CY
9871 (grep-filter): New function.
9872 (grep-mode): Add it to compilation-filter-hook.
9873
9874 * progmodes/compile.el (compilation-filter-hook)
9875 (compilation-filter-start): New defvars.
9876 (compilation-filter): Call compilation-filter-hook prior to
9877 updating the process mark.
9878
c4662635
SM
98792011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9880
9881 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9882
b0512a1d
EZ
98832011-05-07 Eli Zaretskii <eliz@gnu.org>
9884
605c9376
EZ
9885 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9886 mailclient-send-it even if window-system is nil. (Bug#8595)
9887
c4662635
SM
9888 * term/w32console.el (terminal-init-w32console):
9889 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
9890 background-mode. (Bug#8597)
9891
d1dc2cc2
SM
98922011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9893
9894 Make bytecomp.el understand that defmethod defines funs (bug#8631).
9895 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9896 New functions.
9897 (defgeneric, eieio--defmethod): Use them.
9898 (eieio-defgeneric): Remove.
9899 (defmethod): Call defgeneric in a way visible to the byte-compiler.
9900
915d1300
GM
99012011-05-07 Glenn Morris <rgm@gnu.org>
9902
a3961c3e
GM
9903 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9904 Use let rather than let*.
9905 (timeclock-find-discrep): Remove unused local.
9906
314347b9
GM
9907 * calendar/diary-lib.el (diary-comment-start): Doc fix.
9908
915d1300
GM
9909 * calendar/appt.el (appt-time-msg-list): Doc fix.
9910
275b59b0
NF
99112011-05-06 Noah Friedman <friedman@splode.com>
9912
9913 * apropos.el (apropos-print-doc): Only use
9914 emacs-lisp-docstring-fill-column when it is bound to an integer,
9915 per that variable's documentation.
9916
6c19f744
SM
99172011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9918
9919 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 9920 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 9921
60f884b2
GM
99222011-05-06 Glenn Morris <rgm@gnu.org>
9923
5006e634
GM
9924 * calendar/appt.el (appt-message-warning-time): Doc fix.
9925 (appt-warning-time-regexp): New option.
9926 (appt-make-list): Respect appt-message-warning-time.
9927
548d0a63
GM
9928 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9929 New options.
9930 (diary-add-to-list): Strip comments from the displayed string.
9931 (diary-mode): Set comment-start and comment-end.
9932
60f884b2
GM
9933 * vc/diff-mode.el (smerge-refine-subst): Declare.
9934 (diff-refine-hunk): Don't require smerge-mode when compiling.
9935
989681bb
JB
99362011-05-06 Juanma Barranquero <lekktu@gmail.com>
9937
9938 * simple.el (list-processes): Return nil as the docstring says.
9939
a6bc05e1
MA
99402011-05-05 Michael Albinus <michael.albinus@gmx.de>
9941
9942 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9943 to "".
9944 (ange-ftp-write-region, ange-ftp-insert-file-contents)
9945 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9946 determining of binary transfer. (Bug#7383)
9947
23c22e9a
MA
99482011-05-05 Michael Albinus <michael.albinus@gmx.de>
9949
c4662635
SM
9950 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9951 Fix port computation bug. (Bug#8618)
23c22e9a 9952
0bff894f
GM
99532011-05-05 Glenn Morris <rgm@gnu.org>
9954
b8296902
GM
9955 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9956
1f522ce8
GM
9957 * simple.el (shell-dynamic-complete-functions)
9958 (comint-dynamic-complete-functions): Declare.
9959
cf5bee67
GM
9960 * net/network-stream.el (gnutls-negotiate):
9961 * simple.el (tabulated-list-print): Fix declarations.
9962
9963 * progmodes/gud.el (syntax-symbol, syntax-point):
9964 Remove unnecessary and incorrect declarations.
9965
0bff894f
GM
9966 * emacs-lisp/check-declare.el (check-declare-scan):
9967 Handle byte-compile-initial-macro-environment in bytecomp.el
9968
9869b3ae
SM
99692011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9970
9971 Fix earlier half-done eieio-defmethod change (bug#8338).
9972 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9973 Streamline and change calling convention.
9974 (defmethod): Adjust accordingly and simplify.
9975 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9976 new eieio--defmethod.
9977 (slot-boundp): Minor CSE simplification.
9978
9c1d5ac5
MZ
99792011-05-05 Milan Zamazal <pdm@zamazal.org>
9980
9981 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9982 (glasses-make-readable): Use glasses-separate-capital-groups.
9983
455c834e
JB
99842011-05-05 Juanma Barranquero <lekktu@gmail.com>
9985
9986 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9987 (warning-series): Doc fix.
9988 (display-warning): Don't try to create the buffer if we just found it.
9989
9ed7c8cb
CY
99902011-05-04 Chong Yidong <cyd@stupidchicken.com>
9991
9992 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9993 (autoload-find-generated-file): New function.
9994 (generate-file-autoloads): Bind generated-autoload-file to
9995 buffer-file-name.
9869b3ae
SM
9996 (update-file-autoloads, update-directory-autoloads):
9997 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
9998 output file (Bug#7989).
9999 (batch-update-autoloads): Doc fix.
10000
0898ca10
JB
100012011-05-04 Juanma Barranquero <lekktu@gmail.com>
10002
10003 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10004
31dfb76c
GM
100052011-05-04 Glenn Morris <rgm@gnu.org>
10006
f330b642
GM
10007 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10008 function, so it follows changes in calendar-date-style.
10009 (diary-fancy-date-matcher): New function.
10010 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10011 (diary-fancy-font-lock-fontify-region-function):
10012 Use diary-fancy-date-pattern as a function.
10013
31dfb76c
GM
10014 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10015 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10016
48e79d6a
TZ
100172011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10018
10019 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10020 instead of positional arguments. Allow :keylist and :crlfiles
10021 arguments.
10022 (open-gnutls-stream): Call it.
10023
10024 * net/network-stream.el (network-stream-open-starttls): Adjust to
10025 call `gnutls-negotiate' with :process and :hostname arguments.
10026
dd5a5ee0
SM
100272011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10028
ef80fc09
SM
10029 * minibuffer.el (completion--message): New function.
10030 (completion--do-completion, minibuffer-complete)
10031 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10032 (completion--do-completion): Don't ignore completion-auto-help when in
10033 icomplete-mode.
10034
dd5a5ee0
SM
10035 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10036 internal encoding (e.g. tibetan zero is not whitespace).
10037 (global-whitespace-mode): Prefer save-current-buffer.
10038 (whitespace-trailing-regexp): Remove useless save-match-data.
10039 (whitespace-empty-at-bob-regexp): Minor simplification.
10040
b7d22a83
CY
100412011-05-03 Chong Yidong <cyd@stupidchicken.com>
10042
10043 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10044
5192af46
AM
100452011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10046
10047 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 10048 Use `concat' to create string for insertion.
5192af46 10049
5767d190
SM
100502011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10051
10052 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10053 Avoid open-line which runs post-self-insert-hook.
10054 (bibtex-fill-entry): Remove unused `end' var.
10055
bf242939
AM
100562011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10057
5767d190
SM
10058 * textmodes/ispell.el (ispell-add-per-file-word-list):
10059 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 10060
25666126
LL
100612011-05-03 Leo Liu <sdl.web@gmail.com>
10062
10063 * isearch.el (isearch-yank-pop): New command.
5767d190 10064 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
10065 (isearch-forward): Mention it.
10066
52d3c2d0
SM
100672011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10068
1bcace58
SM
10069 * simple.el (minibuffer-complete-shell-command): Remove.
10070 (minibuffer-local-shell-command-map): Use completion-at-point.
10071 (read-shell-command): Setup completion vars here instead.
10072 (read-expression-map): Bind TAB to symbol completion.
10073
52d3c2d0
SM
10074 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10075 error directly rather via storing it into `results'.
10076
35813471
LL
100772011-05-02 Leo Liu <sdl.web@gmail.com>
10078
10079 * vc/diff.el: Fix description.
10080
e793a940
LMI
100812011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10082
10083 * server.el (server-eval-at): New function.
10084
8de66e05
LMI
100852011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10086
10087 * net/network-stream.el (open-network-stream): Take a :nowait
10088 parameter and pass it on to `make-network-process'.
10089 (network-stream-open-plain): Ditto.
10090
dcb79f20
AS
100912011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10092
10093 * faces.el (face-spec-set-match-display): Don't match toolkit
10094 options on terminal frames.
10095
14a7fbd8
SM
100962011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10097
7eabc1be
SM
10098 * progmodes/pascal.el: Use lexical binding.
10099 (pascal-mode-map): Remove author preferences.
10100
14a7fbd8
SM
10101 * pcomplete.el (pcomplete-std-complete): Don't abuse
10102 completion-at-point.
10103
50f84510
JB
101042011-04-28 Juanma Barranquero <lekktu@gmail.com>
10105
6e087a44
JB
10106 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10107 removing code that has been dead since 1991 or so.
10108
50f84510
JB
10109 * startup.el (command-line): When warning about "_emacs", use a
10110 delayed warning to allow the user to filter it out.
10111
0ba690bd
DD
101122011-04-28 Deniz Dogan <deniz@dogan.se>
10113
10114 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10115 user has not joined.
10116
08abfaad
SM
101172011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10118
10119 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10120 aren't any completions at point.
10121
638f053a
JB
101222011-04-28 Juanma Barranquero <lekktu@gmail.com>
10123
10124 * subr.el (display-delayed-warnings): New function.
10125 (delayed-warnings-hook): New variable.
10126
8fff8daa
SM
101272011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10128
08abfaad
SM
10129 * minibuffer.el (completion-at-point, completion-help-at-point):
10130 Don't presume that a given completion-at-point-function will always
10131 use the same calling convention.
10132
8fff8daa
SM
10133 * pcomplete.el (pcomplete-completions-at-point):
10134 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10135 pcomplete-seen is non-nil.
10136 (pcomplete-comint-setup): Also recognize the new comint/shell
10137 completion functions.
10138 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10139 pcomplete-seen is non-nil.
10140
841a1577 101412011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 10142
841a1577 10143 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 10144 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 10145 the first character in the entry. This allows for code to add its
211ec907
UJ
10146 own uid to the entry.
10147 (icalendar--convert-float-to-ical): Add export of
10148 `diary-float'-entries save for those with the optional DAY
10149 argument.
10150
2a782793
DC
101512011-04-27 Daniel Colascione <dan.colascione@gmail.com>
10152
10153 * subr.el (shell-quote-argument): Use alternate escaping strategy
10154 when we spot a variable reference in a string.
10155
0438ce91
DC
101562011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10157
10158 * cus-start.el (all): Define customization for debug-on-event.
10159
841a1577 101602011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
10161
10162 * subr.el (shell-quote-argument): Escape correctly under Windows.
10163
d090ed6c
SM
101642011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10165
10166 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10167
bfd31217
MA
101682011-04-25 Michael Albinus <michael.albinus@gmx.de>
10169
d090ed6c
SM
10170 * net/tramp.el (tramp-process-actions): Add POS argument.
10171 Delete region between POS and (pos).
bfd31217 10172
d090ed6c
SM
10173 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10174 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
10175 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10176
10177 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10178 position in `tramp-process-actions' call.
10179
10180 * net/trampver.el: Update release number.
10181
e92f3bd3
SM
101822011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10183
850256b5
SM
10184 * custom.el (defcustom): Obey lexical-binding.
10185
e92f3bd3
SM
10186 Fix octave-inf completion problems reported by Alexander Klimov.
10187 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10188 Inherit from octave-mode-syntax-table.
10189 (inferior-octave-mode): Set info-lookup-mode.
10190 (inferior-octave-completion-at-point): New function.
10191 (inferior-octave-complete): Use it and completion-in-region.
10192 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10193 comint-filename-completion.
10194 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10195 symbol elements which shouldn't be word elements.
10196 (octave-font-lock-keywords, octave-beginning-of-defun)
10197 (octave-function-header-regexp): Adjust regexps accordingly.
10198 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10199
cd22b309
JB
102002011-04-25 Juanma Barranquero <lekktu@gmail.com>
10201
10202 * net/gnutls.el (gnutls-errorp): Declare before first use.
10203
8b492194
TZ
102042011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10205
10206 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10207 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 10208 default trustfile exists before going to use it. Add missing
5a5fa834 10209 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
10210 Reported by Claudio Bley <claudio.bley@gmail.com>.
10211 (open-gnutls-stream): Add usage example.
10212
10213 * net/network-stream.el (network-stream-open-starttls): Give host
10214 parameter to `gnutls-negotiate'.
10215 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 10216 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 10217
841a1577 102182011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 10219
cd22b309
JB
10220 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10221 Use correct match group (bug#8438).
05842630 10222
3ba7869c
CY
102232011-04-24 Chong Yidong <cyd@stupidchicken.com>
10224
512e3ae1
CY
10225 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10226 (package-menu--generate): New arg specifying packages to show.
10227 (package-menu-refresh, package-menu-execute, list-packages):
10228 Callers changed.
10229 (package-show-package-list): New function, replacing deleted
10230 package--list-packages (renamed because it is non-internal).
10231
10232 * finder.el (finder-list-matches): Use package-show-package-list
10233 instead of deleted package--list-packages.
10234
e92f3bd3
SM
10235 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10236 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
10237 (vc-annotate-mode-map): Bind it to RET.
10238
7031be6d
UR
102392011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10240
10241 * progmodes/etags.el (next-file): Don't use set-buffer to change
10242 buffers (Bug#8478).
10243
4ef177aa
CY
102442011-04-24 Chong Yidong <cyd@stupidchicken.com>
10245
c8d173eb
CY
10246 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10247
4ef177aa
CY
10248 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10249 (apropos-accumulator): Doc fix.
10250 (apropos-function, apropos-macro, apropos-command)
10251 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10252 (apropos-plist): Add face property.
10253 (apropos-symbols-internal): Fix indentation.
10254 (apropos-print): Simplify help, and recognize apropos-multi-type.
10255 (apropos-print-doc): Use button-type-get to extract the button's
10256 face property. Fill docstring (Bug#8352).
10257
4ffd0d6b 102582011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
10259
10260 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10261
c6c32125 10262 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 10263 (mpuz-mode-map): Use mapc.
c6c32125
JB
10264 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10265 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10266 Fix typos in docstrings.
10267
58d468b4
JB
10268 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10269 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10270
6470c3c6
JB
10271 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10272
4ffd0d6b 102732011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
10274
10275 * minibuffer.el (completion--do-completion): Avoid the "Next char
10276 not unique" prompt if icomplete-mode is enabled (Bug#5849).
10277
3ad8bad0
CY
10278 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10279 mouse-2 into unread-command-events, it is interpreted correctly.
10280
71d73c9c 10281 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 10282 (image-toggle-display): Doc fix.
71d73c9c 10283
841a1577 102842011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 10285
4ffd0d6b
GM
10286 * textmodes/page.el (what-page): Use line-number-at-pos to
10287 calculate line number (Bug#6825).
6e1dbaa9 10288
c2fb1b60
JB
102892011-04-22 Juanma Barranquero <lekktu@gmail.com>
10290
10291 * eshell/esh-mode.el (find-tag-interactive): Declare function.
10292 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10293 Pass argument NO-DEFAULT to `find-tag-interactive'.
10294
e02f48d7
JB
102952011-04-22 Juanma Barranquero <lekktu@gmail.com>
10296
10297 Lexical-binding cleanup.
10298
10299 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10300 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10301 * progmodes/ada-prj.el (ada-prj-initialize-values)
10302 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10303 (ada-prj-show-value):
10304 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10305 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10306 (antlr-invalidate-context-cache, antlr-options-menu-filter)
10307 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10308 * progmodes/bug-reference.el (bug-reference-push-button):
10309 * progmodes/fortran.el (fortran-line-length):
10310 * progmodes/glasses.el (glasses-change):
10311 * progmodes/octave-mod.el (octave-fill-paragraph):
10312 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10313 (python-pdbtrack-grub-for-buffer, python-sentinel):
10314 * progmodes/sql.el (sql-save-connection):
10315 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10316 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10317 Mark unused parameters.
10318
10319 * progmodes/compile.el (compilation--flush-directory-cache)
10320 (compilation--flush-parse, compile-internal): Mark unused parameters.
10321 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10322 (compilation-next-error-function): Remove unused variable `timestamp'.
10323
10324 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10325 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10326
10327 * progmodes/dcl-mode.el (dcl-end-of-command):
10328 Remove unused variable `start'.
10329 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10330 (dcl-option-value-basic, dcl-option-value-offset)
10331 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10332 Mark unused parameters.
10333 (dcl-save-local-variable): Remove unused variable `val'.
10334 (mode): Declare.
10335
10336 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10337 Mark unused parameters.
10338 (delphi-ignore-changes): Move before first use.
10339 (delphi-charset-token-at): Remove unused variable `start'.
10340 (delphi-else-start): Remove unused variable `if-count'.
10341 (delphi-comment-block-start, delphi-comment-block-end):
10342 Remove unused variable `kind'.
10343 (delphi-indent-line): Remove unused variable `new-point'.
10344
10345 * progmodes/ebrowse.el (ebrowse-files-list)
10346 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10347 Mark unused parameters. Don't quote `lambda'.
10348 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10349 Don't quote `lambda'.
10350 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10351 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10352 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10353 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10354 Use `ignore-errors'.
10355 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10356 (ebrowse-view/find-file-and-search-pattern)
10357 (ebrowse-view/find-member-declaration/definition):
10358 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10359 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10360 Rename parameter PREFIX-ARG to PREFIX.
10361 (ebrowse-tags-read-name): Remove unused variables `start' and
10362 `member-info'.
10363 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10364 to `tags-file'.
10365
10366 * progmodes/etags.el (local-find-tag-hook): Declare.
10367 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10368 Mark unused parameters.
10369
10370 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10371 (executable-interpret): Mark unused parameter.
10372
10373 * progmodes/flymake.el (flymake-process-sentinel)
10374 (flymake-after-change-function)
10375 (flymake-create-temp-with-folder-structure)
10376 (flymake-get-include-dirs-dot): Mark unused parameters.
10377 (flymake-safe-delete-directory): Remove unused variable `err'.
10378
10379 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10380 (speedbar-timer-fn, speedbar-line-text)
10381 (speedbar-change-expand-button-char, speedbar-delete-subblock)
10382 (speedbar-center-buffer-smartly): Declare functions.
10383 (gdb-find-watch-expression): Remove unused variable `array'.
10384 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10385 (gdb-starting): Mark unused parameters.
10386 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10387 (gdb-table-string): Remove unused variable `res'.
10388 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10389 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10390 (gdb-display-buffer): Remove unused variable `cur-size'.
10391
10392 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10393 allow lexical-binding compilation.
10394 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10395 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10396 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10397 Mark unused parameters.
10398 (gud-gdb-marker-filter): Remove unused variable `match'.
10399 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10400 lambda expressions and funcall them, instead of using `fset'.
10401
10402 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10403 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10404
10405 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10406 variable `header-beg'; use `let'.
10407
10408 * progmodes/icon.el (indent-icon-exp): Remove unused variables
10409 `restart', `last-sexp' and `at-do'.
10410
10411 * progmodes/js.el (js--debug): Mark unused parameter.
10412 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10413 (js--splice-into-items): Remove unused variable `item'.
10414 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10415
10416 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10417 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10418 (makefile-complete): Remove unused variable `try'.
10419 (makefile-fill-paragraph, makefile-match-function-end):
10420 Mark unused parameters.
10421
10422 * progmodes/octave-inf.el (inferior-octave-complete):
10423 Remove unused variable `proc'.
10424 (inferior-octave-output-digest): Mark unused parameter.
10425
10426 * progmodes/perl-mode.el (perl-calculate-indent):
10427 Remove unused variable `err'.
10428
10429 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10430 (prolog-indent-line): Mark unused parameters.
10431 (prolog-indent-line): Remove unused variable `beg'.
10432
10433 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10434 (reporter-dont-compact-list): Declare.
10435
10436 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10437 Remove unused variable `char'.
10438 (sh-debug): Mark unused parameter.
10439 (sh-get-indent-info): Remove unused variable `start'.
10440 (sh-calculate-indent): Remove unused variable `var'.
10441
10442 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10443 (simula-electric-keyword): Remove unused variable `null'.
10444 (simula-search-backward, simula-search-forward): Remove unused
10445 variables `begin' and `end'.
10446
10447 * progmodes/vera-mode.el (vera-guess-basic-syntax):
10448 Remove unused variable `pos'.
10449 (vera-electric-tab, vera-comment-uncomment-region):
10450 Mark unused parameters.
10451 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10452
7ede3b65
CY
104532011-04-22 Chong Yidong <cyd@stupidchicken.com>
10454
10455 * emacs-lisp/package.el (package--builtins, package-alist)
10456 (package-load-descriptor, package-built-in-p, package-activate)
10457 (define-package, package-installed-p)
10458 (package-compute-transaction, package-buffer-info)
10459 (package--push): Doc fix. Distinguish more clearly between
10460 version strings and version lists.
10461
121656e9
JB
104622011-04-21 Juanma Barranquero <lekktu@gmail.com>
10463
10464 Lexical-binding cleanup.
10465
10466 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10467 (5x5-make-mutate-best):
10468 * play/fortune.el (fortune-in-buffer):
10469 * play/gomoku.el (gomoku-init-display):
10470 * play/solitaire.el (solitaire, solitaire-do-check):
10471 * play/tetris.el (tetris-default-update-speed-function):
10472 Mark unused parameters.
10473
10474 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10475 (bubbles--shift): Remove unused variable `char-org'.
10476 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
10477 (bubbles--show-images): Remove unused variable `char'.
10478
10479 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10480 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10481 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10482 (decipher-analyze-buffer): Use ?\s.
10483 (decipher-make-checkpoint): Remove unused variable `mapping'.
10484
10485 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10486
10487 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10488 Remove unused variable `result'; use `let'.
10489
10490 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10491 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10492 (gametree-children-shown-p, gametree-compute-reduced-score):
10493 Use `ignore-errors'.
10494
10495 * play/handwrite.el (ps-lpr-switches): Declare.
10496 (handwrite): Remove unused variables `pmin' and `lastp'.
10497
10498 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10499
10500 * play/landmark.el (landmark-init-display)
10501 (landmark-update-naught-weights): Mark unused parameters.
10502 (landmark-y): Remove unused variable `noise'. Simplify.
10503 (landmark-human-plays): Remove unused variable `score'.
10504
10505 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10506 (mpuz-try-proposal): Remove unused variable `game'.
10507
10508 * play/zone.el (life-patterns): Declare.
10509
80f499c7
JB
105102011-04-20 Juanma Barranquero <lekktu@gmail.com>
10511
10512 * vc/vc.el (ediff-vc-internal): Declare function.
10513
024ff170
SM
105142011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10515
c0a193ea
SM
10516 * shell.el: Use lexical-binding and std completion UI.
10517 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10518 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10519 comint-preoutput-filter-functions rather than on
10520 comint-output-filter-functions.
10521 (shell-command-completion, shell--command-completion-data)
10522 (shell-filename-completion, shell-environment-variable-completion)
10523 (shell-c-a-p-replace-by-expanded-directory): New functions.
10524 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10525 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10526 (shell-dynamic-complete-environment-variable): Use them.
10527 (shell-dynamic-complete-as-environment-variable)
10528 (shell-dynamic-complete-as-command): Remove.
10529 (shell-match-partial-variable): Match past point.
10530 * comint.el: Clean up use of completion-at-point-functions.
10531 (comint-completion-at-point): New function.
10532 (comint-mode): Use it completion-at-point-functions.
10533 (comint-dynamic-complete): Make it obsolete.
10534 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10535 (comint-c-a-p-replace-by-expanded-history): New function.
10536 (comint-dynamic-complete-functions)
10537 (comint-replace-by-expanded-history): Use it.
10538 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10539 termination strings. Try harder to avoid second try-completion.
10540 (completion-in-region-mode-map): Disable bindings that don't work yet.
10541
2dbaa080
SM
10542 * comint.el: Use lexical-binding. Require CL.
10543 (comint-dynamic-complete-functions): Use comint-filename-completion.
10544 (comint-completion-addsuffix): Tweak custom type.
10545 (comint-filename-completion, comint--common-suffix)
10546 (comint--common-quoted-suffix, comint--table-subvert)
10547 (comint--complete-file-name-data): New functions.
10548 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10549 (comint-dynamic-list-filename-completions): Use them.
10550 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 10551
2dbaa080
SM
10552 * minibuffer.el (completion-in-region-mode):
10553 Keep completion-in-region-mode--predicate global.
10554 (completion-in-region--postch):
10555 Assume completion-in-region-mode--predicate is not null.
10556
c79a6f38
SM
10557 * progmodes/flymake.el (flymake-start-syntax-check-process):
10558 Obey `dir'. Simplify.
10559
024ff170
SM
10560 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10561 we're in VC after all.
10562
1c6c854e
CS
105632011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10564
10565 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 10566 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
10567 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10568
bed7f140
SM
105692011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10570
332e62ab
SM
10571 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10572 add sanity check.
10573
bed7f140
SM
10574 * obsolete/erc-hecomplete.el: Make obsolete.
10575 * obsolete/: Standardize obsolescence info in the header.
10576
f195c582
GM
105772011-04-20 Glenn Morris <rgm@gnu.org>
10578
10579 * calendar/solar.el (solar-horizontal-coordinates):
10580 Use the longitude argument rather than `calendar-longitude'.
10581 (solar-date-next-longitude): Remove unused locals.
10582
cb79b8c0
VJL
105832011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10584
10585 * whitespace.el: New version 13.2.1.
10586
105872011-04-20 felix <EmacsWiki> (tiny change)
10588
d8e4b68b 10589 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
10590 switching between major modes on a file.
10591
602ea69d
SM
105922011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10593
10594 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10595 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10596 multi-line comments as well.
10597
06b60517
JB
105982011-04-19 Juanma Barranquero <lekktu@gmail.com>
10599
10600 Lexical-binding cleanup.
10601
10602 * arc-mode.el (archive-mode-revert):
10603 * cmuscheme.el (scheme-interactively-start-process):
10604 * custom.el (custom-initialize-delay):
10605 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10606 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10607 * emacs-lock.el (emacs-lock-clear-sentinel):
10608 * ezimage.el (defezimage):
10609 * follow.el (follow-avoid-tail-recenter):
10610 * fringe.el (set-fringe-mode-1):
10611 * generic-x.el (bat-generic-mode-compile):
10612 * help-mode.el (help-info-variable, help-do-xref)
10613 (help-mode-revert-buffer):
10614 * help.el (view-emacs-todo):
10615 * iswitchb.el (iswitchb-completion-help):
10616 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10617 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10618 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10619 * locate.el (locate-update):
10620 * longlines.el (longlines-encode-region)
10621 (longlines-after-change-function):
10622 * outline.el (outline-isearch-open-invisible):
10623 * ps-def.el (declare-function, charset-dimension, char-width)
10624 (encode-char):
10625 * ps-mule.el (ps-mule-plot-string):
10626 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10627 (recentf-edit-list-select, recentf-edit-list-validate)
10628 (recentf-open-files-action):
10629 * rect.el (delete-whitespace-rectangle-line)
10630 (rectangle-number-line-callback):
10631 * register.el (window-configuration-to-register)
10632 (frame-configuration-to-register):
10633 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10634 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10635 (xselect-convert-to-targets, xselect-convert-to-delete)
10636 (xselect-convert-to-filename, xselect-convert-to-charpos)
10637 (xselect-convert-to-lineno, xselect-convert-to-colno)
10638 (xselect-convert-to-os, xselect-convert-to-host)
10639 (xselect-convert-to-user, xselect-convert-to-class)
10640 (xselect-convert-to-name, xselect-convert-to-integer)
10641 (xselect-convert-to-atom, xselect-convert-to-identity):
10642 * subr.el (declare, ignore, process-kill-without-query)
10643 (text-clone-maintain):
10644 * terminal.el (te-get-char, te-tic-sentinel):
10645 * tool-bar.el (tool-bar-make-keymap):
10646 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10647 * type-break.el (type-break-mode, type-break-noninteractive-query):
10648 * view.el (View-back-to-mark):
10649 * wid-browse.el (widget-browse-action, widget-browse-widget)
10650 (widget-browse-widgets, widget-browse-sexp):
10651 * widget.el (define-widget-keywords):
10652 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10653 Mark unused parameters.
10654
10655 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10656 (align-areas): Remove unused variable `look'.
10657 (align-region): Remove unused variables `real-end' and `pos-list'.
10658
10659 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10660
10661 * bindings.el (mode-line-modified, mode-line-remote):
10662 Mark unused parameters.
10663 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10664
10665 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10666 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10667
10668 * comint.el (comint-history-isearch-pop-state)
10669 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10670 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10671 (comint-substitute-in-file-name): Doc fix.
10672
10673 * completion.el (cmpl-statistics-block): Mark unused parameter.
10674 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10675 (save-completions-to-file, load-completions-from-file):
10676 Remove unused local variable `e'.
10677
10678 * composite.el (compose-chars): Remove unused variable `len'.
10679 (lgstring-insert-glyph): Remove unused variable `g'.
10680 (compose-glyph-string): Remove unused variables `ascent',
10681 `descent', `lbearing' and `rbearing'.
10682 (compose-glyph-string-relative): Remove unused variables
10683 `lbearing', `rbearing' and `wadjust'.
10684 (compose-gstring-for-graphic): Remove unused variables `header',
10685 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10686 (compose-gstring-for-terminal): Remove unused variables `header'
10687 and `nchars'. Use `let', not `let*'.
10688
10689 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10690 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10691 (Custom-buffer-done, custom-buffer-create-internal)
10692 (custom-browse-visibility-action, custom-browse-group-tag-action)
10693 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10694 (widget-magic-mouse-down-action, custom-toggle-parent)
10695 (custom-add-parent-links, custom-toggle-hide-variable)
10696 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10697 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10698 (custom-face-menu-create, custom-variable-menu-create, get)
10699 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10700 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10701 (customize-apropos): Remove unused variable `tests'.
10702 (custom-group-value-create): Remove unused variable `hidden-p'.
10703 (sort-fold-case): Declare.
10704
10705 * cus-theme.el (custom-reset-standard-faces-list)
10706 (custom-reset-standard-variables-list): Declare.
10707 (customize-create-theme, custom-theme-revert, custom-theme-write)
10708 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10709 Mark unused parameters.
10710
10711 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10712
10713 * delim-col.el (delimit-columns-max): Move defvar before first use.
10714
10715 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 10716 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
10717
10718 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10719 (auto-insert): Declare.
10720 (desktop-restore-file-buffer): Rename desktop-* parameters;
10721 mark unused ones.
10722 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10723 (desktop-buffer): Rename desktop-* parameters.
10724
10725 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10726 (dframe-reposition-frame-xemacs, dframe-help-echo)
10727 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10728 Mark unused parameters.
10729
10730 * dired-aux.el (backup-extract-version-start, overwrite-query)
10731 (overwrite-backup-query, rename-regexp-query)
10732 (rename-non-directory-query): Declare.
10733 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10734 (dired-add-entry): Remove unused variable `orig-file-name'.
10735 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10736 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10737 `dired-copy-preserve-time' directly.
10738 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10739 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10740
10741 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10742 (dired-virtual-revert, dired-make-relative-symlink):
10743 Mark unused parameters.
10744 (manual-program): Declare.
10745 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10746 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10747 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10748
10749 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10750
10751 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10752
10753 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10754 Declare.
10755
10756 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10757
10758 * electric.el (Electric-command-loop): Rename parameter
10759 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10760
10761 * expand.el (expand-in-literal): Remove unused variable `here'.
10762
10763 * facemenu.el (facemenu-add-new-color):
10764 Remove unused variable `docstring'.
10765
10766 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10767 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10768 (face-attr-construct): Mark unused parameter. Doc fix.
10769 (read-color): Remove unused variable `hex-string'.
10770
10771 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10772 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10773 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10774 (display-buffer-other-frame): Remove unused variable `old-window'.
10775 (kill-buffer-hook): Declare.
10776 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10777 Mark unused parameters.
10778 (after-find-file): Pass 1 to `auto-save-mode', not t.
10779
10780 * files-x.el (auto-insert): Declare.
10781 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10782
10783 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 10784 variable `buf'. Mark unused parameter.
06b60517
JB
10785 (find-lisp-insert-directory): Mark unused parameter.
10786
10787 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10788 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10789 (format-common-tail): Remove, unused.
10790 (format-deannotate-region): Remove unused variable `loc'.
10791 (format-annotate-region): Remove unused variable `p'.
10792 (format-annotate-single-property-change): Remove unused variables
10793 `default' and `tail'.
10794
10795 * forms.el (read-file-filter): Declare.
10796 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10797
10798 * frame.el (frame-creation-function-alist): Mark unused parameter.
10799 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10800
10801 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10802 Remove unused parameters.
10803 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10804 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10805
10806 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10807 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10808 (hfy-prepare-tag-map): Mark unused parameters.
10809 (htmlfontify-buffer): Use `called-interactively-p'.
10810
10811 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10812 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10813 (ibuffer-do-occur): Mark unused parameters.
10814 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10815 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10816
10817 * ibuffer.el: Don't quote `lambda'.
10818 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10819 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10820 Mark unused parameters.
10821
10822 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10823 (ido-completing-read): Mark unused parameters.
10824 (ido-copy-current-word): Mark unused parameters;
10825 remove unused variable `name'.
10826 (ido-sort-merged-list): Remove unused parameter `dirs'.
10827
10828 * ielm.el (ielm-input-sender): Mark unused parameter.
10829 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10830 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10831 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10832 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10833 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10834
10835 * image-dired.el (image-dired-display-thumbs): Remove unused
10836 variables `curr-file' and `count'.
10837 (image-dired-remove-tag): Remove unused variable `start'.
10838 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10839 variable `curr-file'
10840 (image-dired-rotate-original): Remove unused variable `temp-file'.
10841 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10842 Remove unused variable `file'.
10843 (image-dired-gallery-generate): Remove unused variable `curr'.
10844 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10845
10846 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10847
10848 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10849
10850 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10851
10852 * isearch.el (minibuffer-history-symbol): Declare.
10853 (isearch-edit-string): Remove unused variable `err'.
10854 (isearch-message-prefix, isearch-message-suffix):
10855 Mark unused parameters.
10856
10857 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10858
10859 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10860
10861 * makesum.el (double-column): Remove unused variable `cnt'.
10862
10863 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10864 (ido-ignore-item-temp-list): Declare.
10865
10866 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10867 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10868 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10869 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10870 `mouse-col-delta'.
10871
10872 * mouse-sel.el (mouse-extend-internal):
10873 Remove unused variable `orig-window-frame'.
10874
10875 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10876 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10877 Move declarations before first use.
10878 (pcomplete-opt): Mark unused parameters; doc fix.
10879
10880 * proced.el (proced-revert): Mark unused parameter.
10881 (proced-send-signal): Remove unused variable `err'.
10882
10883 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10884 Rename parameter PREFIX-ARG to ARG.
10885 (ps-basic-plot-string, ps-basic-plot-whitespace):
10886 Mark unused parameters.
10887
10888 * replace.el (replace-count): Define.
10889 (occur-revert-function): Mark unused parameters.
10890 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10891 (isearch-case-fold-search, isearch-string): Declare.
10892 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10893 bind `case-fold-search'. Remove unused variables `beg' and `end',
10894 and simplify.
10895 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10896 COUNT and bind `replace-count'.
10897 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10898 to COUNT.
10899
10900 * savehist.el (print-readably, print-string-length): Declare.
10901
10902 * shadowfile.el (shadow-expand-cluster-in-file-name):
10903 Remove unused variable `cluster'.
10904 (shadow-copy-file): Remove unused variable `i'.
10905 (shadow-noquery, shadow-clusters, shadow-site-cluster)
10906 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10907 (shadow-define-literal-group, shadow-define-regexp-group)
10908 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10909
10910 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10911 (shell): Use `called-interactively-p'.
10912 (shell-directory-tracker): Remove unused variable `chdir-failure'.
10913
10914 * simple.el (compilation-context-lines, comint-file-name-quote-list)
10915 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10916 (delete-backward-char): Remove unused variable `ocol'.
10917 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10918 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10919 (event-apply-hyper-modifier, event-apply-shift-modifier)
10920 (event-apply-control-modifier, event-apply-meta-modifier):
10921 Mark unused parameters.
10922 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10923 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10924
10925 * speedbar.el (speedbar-ignored-directory-expressions)
10926 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10927 (speedbar-find-file, speedbar-dir-follow)
10928 (speedbar-directory-buttons-follow, speedbar-tag-find)
10929 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10930 (speedbar-buffers-line-directory, speedbar-buffer-click):
10931 Mark unused parameters.
10932 (speedbar-tag-file): Remove unused variable `mode'.
10933 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10934
10935 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10936
10937 * talk.el (talk): Remove unused variable `display'.
10938
10939 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10940 (tar-write-region-annotate): Mark unused parameter.
10941
10942 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10943 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10944 Declare them, wrapped in `with-no-warnings' to avoid replacing one
10945 warning by another.
10946
10947 * time-stamp.el (time-stamp-string-preprocess):
10948 Remove unused variable `require-padding'.
10949
10950 * tree-widget.el (widget-glyph-enable): Declare.
10951 (tree-widget-action): Mark unused parameter.
10952
10953 * w32-fns.el (x-get-selection): Mark unused parameter.
10954 (autoload-make-program, generated-autoload-file): Declare.
10955
10956 * wdired.el (wdired-revert): Mark unused parameters.
10957 (wdired-xcase-word): Remove unused variable `err'.
10958
10959 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10960 (whitespace-help-scroll): Remove unused variable `data-help'.
10961
10962 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10963 (widget-image-insert, widget-after-change, default)
10964 (widget-default-format-handler, widget-default-notify)
10965 (widget-default-prompt-value, widget-info-link-action)
10966 (widget-url-link-action, widget-function-link-action)
10967 (widget-variable-link-action, widget-file-link-action)
10968 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10969 (widget-field-prompt-internal, widget-field-action, widget-field-match)
10970 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10971 (widget-insert-button-action, widget-delete-button-action, visibility)
10972 (widget-documentation-link-action, widget-documentation-string-action)
10973 (widget-const-prompt-value, widget-regexp-match, symbol)
10974 (widget-coding-system-prompt-value)
10975 (widget-key-sequence-value-to-external, sexp)
10976 (widget-sexp-value-to-internal, character, vector, cons)
10977 (widget-choice-prompt-value, widget-boolean-prompt-value)
10978 (widget-color--choose-action): Mark unused parameters.
10979 (widget-item-match-inline, widget-choice-match-inline)
10980 (widget-checklist-match, widget-checklist-match-inline)
10981 (widget-group-match): Rename parameter VALUES to VALS.
10982 (widget-field-value-set): Remove unused variable `size'.
10983 (widget-color-action): Remove unused variables `value' and `start'.
10984
10985 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 10986 variable `dir'. Doc fix.
06b60517
JB
10987 (windmove-find-other-window): Don't pass it.
10988
10989 * window.el (count-windows): Mark unused parameter.
10990 (bw-adjust-window): Remove unused variable `err'.
10991
10992 * woman.el (woman-file-name): Remove unused variable `default'.
10993 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10994 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10995 (global-font-lock-mode): Declare.
10996 (woman-decode-region): Mark unused parameter.
10997 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10998
10999 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11000 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11001 (x-dnd-handle-moz-url): Remove unused variable `title'.
11002 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11003
11004 * xml.el (xml-parse-tag, xml-parse-attlist):
11005 Remove unused variable `pos'.
11006
bc4f7f3d
GM
110072011-04-19 Glenn Morris <rgm@gnu.org>
11008
11009 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11010 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11011 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11012 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11013 * calendar/cal-html.el (cal-html-insert-minical):
11014 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11015 (calendar-mark-date-pattern):
11016 Prefix "unused" locals.
11017
11018 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11019 optional argument `style'.
11020
11021 * calendar/appt.el (appt-make-list):
11022 * calendar/cal-china.el (calendar-chinese-date-string):
11023 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11024 (diary-hebrew-yahrzeit):
11025 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11026 * calendar/calendar.el (calendar-generate-window):
11027 * calendar/time-date.el (time-to-days):
11028 Remove unused local variables.
11029
16a43933
CY
110302011-04-18 Chong Yidong <cyd@stupidchicken.com>
11031
11032 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11033 glyphless-char-display table.
11034 (tabulated-list-glyphless-char-display): New var.
11035
7eed1860
SS
110362011-04-18 Sam Steingold <sds@gnu.org>
11037
11038 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11039 to acknowledgments.
11040
4d2d1ccd
GM
110412011-04-17 Glenn Morris <rgm@gnu.org>
11042
11043 * calendar/diary-lib.el (diary-sexp-entry):
11044 * calendar/holidays.el (holiday-sexp):
11045 Set debug-on-error rather than the removed stack-trace-on-error.
11046
239da61d
GM
110472011-04-16 Glenn Morris <rgm@gnu.org>
11048
11049 * progmodes/f90.el: Use lexical-binding.
11050 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11051
8b05752a
SM
110522011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11053
daca8ba5
SM
11054 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11055 (mail-mode): Setup mailalias completion here instead.
11056 * mail/mailalias.el: Use lexical-binding.
11057 (pattern, mailalias-done): Declare dynamic.
11058 (mail-completion-at-point-function): New function, from mail-complete.
11059 (mail-complete): Use it.
11060 (mail-completion-expand): New function.
11061 (mail-get-names): Use it.
11062 (mail-directory, mail-directory-process, mail-directory-stream):
11063 Don't use `pattern' for lexically bound arg.
11064
6f542485
SM
11065 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11066
037e7c3f
SM
11067 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11068 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11069 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11070
8b05752a
SM
11071 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11072 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11073 (byte-interactive-p): Define them again, for use when inlining
11074 old code.
11075
49093f60
JB
110762011-04-15 Juanma Barranquero <lekktu@gmail.com>
11077
11078 * loadup.el: Use `string-to-number', not `string-to-int'.
11079
b5b8e7de
SM
110802011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11081
11082 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11083 gud-gdb-complete-command.
11084 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11085 (gud-gdb-completion-at-point): New function.
11086 (gud-gdb-completions): Remove.
11087
f42efeb5
MA
110882011-04-14 Michael Albinus <michael.albinus@gmx.de>
11089
49093f60
JB
11090 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11091 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11092 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11093 whether `executable-find' is bound.
f42efeb5
MA
11094
11095 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11096
e240cc21
SM
110972011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11098
11099 * minibuffer.el (completion-in-region-mode-predicate)
11100 (completion-in-region-mode--predicate): New vars.
11101 (completion-in-region, completion-in-region--postch)
11102 (completion-in-region-mode): Use them.
11103 (completion--capf-wrapper): Also return the hook function.
11104 (completion-at-point, completion-help-at-point):
11105 Adjust and provide a predicate.
c2bd2ab0
SM
11106
11107 Preserve arg names for advice of subr and lexical functions (bug#8457).
11108 * help-fns.el (help-function-arglist): Consolidate the subr and
11109 new-byte-code cases. Add argument `preserve-names' to extract names
11110 from the docstring when needed.
11111 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11112 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11113 (ad-arglist): Use help-function-arglist's new arg.
11114 (ad-definition-type): Use cond.
11115
c183f693
JB
111162011-04-13 Juanma Barranquero <lekktu@gmail.com>
11117
06641a47
JB
11118 * autorevert.el (auto-revert-handler):
11119 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11120 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11121 Don't quote lambda.
11122
c183f693
JB
11123 * image-mode.el (image-transform-set-scale):
11124 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11125
1e3b6001
G
111262011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11127
11128 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 11129 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
11130 Upgrades via gnutls-cli are too slow to be done opportunistically.
11131
2d6af8dd
JB
111322011-04-12 Juanma Barranquero <lekktu@gmail.com>
11133
11134 * dframe.el (dframe-current-frame): Remove spurious quote.
11135
c0749a51
GM
111362011-04-12 Glenn Morris <rgm@gnu.org>
11137
088d0d61
GM
11138 * calendar/cal-tex.el (cal-tex-end-document):
11139 Try to automatically use latin1 input if needed.
11140
c0749a51
GM
11141 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11142 Don't try to cons a mark onto an empty element.
11143
5c90fde0
LL
111442011-04-11 Leo Liu <sdl.web@gmail.com>
11145
11146 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11147 buffers.
11148 (ido-kill-buffer-at-head): Support killing virtual buffers.
11149
369e974d
CY
111502011-04-10 Chong Yidong <cyd@stupidchicken.com>
11151
11152 * minibuffer.el (completion-show-inline-help): New var.
11153 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
11154 (minibuffer-force-complete, minibuffer-complete-word):
11155 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
11156
11157 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11158 to avoid interference from inline help (Bug#5849).
11159
37f1c930
LL
111602011-04-10 Leo Liu <sdl.web@gmail.com>
11161
099c39a4
JB
11162 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11163 Fix typo.
37f1c930 11164
a32d4040
CY
111652011-04-09 Chong Yidong <cyd@stupidchicken.com>
11166
11167 * image-mode.el (image-toggle-display-image): Signal an error if
11168 not in Image mode.
11169 (image-transform-mode, image-transform-resize)
11170 (image-transform-set-rotation): Doc fix.
daca8ba5 11171 (image-transform-set-resize): Delete.
a32d4040
CY
11172 (image-transform-set-scale, image-transform-fit-to-height)
11173 (image-transform-fit-to-width): Handle image-toggle-display-image
11174 and image-transform-resize directly.
11175
099c39a4 111762011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
11177
11178 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
11179 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11180 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
11181 (doc-view-mode-map): Add bindings for the new functions.
11182
099c39a4 111832011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 11184
4d61f28d 11185 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
11186 Fix typo in docstring.
11187
3726838a
EZ
111882011-04-08 Eli Zaretskii <eliz@gnu.org>
11189
04f33f1e
EZ
11190 * files.el (file-size-human-readable): Produce one digit after
11191 decimal, like "ls -lh" does.
11192
11193 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11194 the file size representation.
11195
3726838a
EZ
11196 * simple.el (list-processes): If async subprocesses are not
11197 available, error out with a clear error message.
11198
cbb59342
CY
111992011-04-08 Chong Yidong <cyd@stupidchicken.com>
11200
11201 * help.el (help-form-show): New function, to be called from C.
11202 Put help-form output in a buffer named differently than *Help*.
11203
e3971c44
EZ
112042011-04-08 Eli Zaretskii <eliz@gnu.org>
11205
11206 * files.el (file-size-human-readable): New function.
11207
11208 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11209 computing the representation inline. Don't require `cl'.
11210
12544bbe
GM
112112011-04-08 Glenn Morris <rgm@gnu.org>
11212
a1de6c6a
GM
11213 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11214
3c4671f4
GM
11215 * net/browse-url.el (browse-url-firefox):
11216 Test system-type, not system-configuration.
11217
b605679c
GM
11218 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11219 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11220 Use log-edit-empty-buffer-p. (Bug#7598)
11221
56442f0c
GM
11222 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11223 (rlogin-mode-map): Initialize in the defvar.
11224 (rlogin): Use ignore-errors.
11225
12544bbe
GM
11226 * replace.el (occur-mode-map): Some fixes for menu items.
11227
eb237b0f
AH
112282011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11229
11230 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
11231
7d668f2c
CY
112322011-04-06 Chong Yidong <cyd@stupidchicken.com>
11233
e67a13ab
CY
11234 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11235 issuing unused warnings.
11236
11237 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11238 macro directly.
11239
7d668f2c
CY
11240 * simple.el: Lisp reimplement of list-processes. Based on an
11241 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11242 (process-menu-mode): New major mode.
11243 (list-processes--refresh, list-processes):
11244 (process-menu-visit-buffer): New functions.
11245
11246 * files.el (save-buffers-kill-emacs): Don't assume any return
11247 value of list-processes, which is undocumented anyway.
11248
a83ec3c9
CY
112492011-04-06 Chong Yidong <cyd@stupidchicken.com>
11250
11251 * emacs-lisp/tabulated-list.el: New file.
11252
e91a96fe
CY
11253 * emacs-lisp/package.el: Use Tabulated List mode.
11254 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11255 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11256 table format using Tabulated List mode variables.
11257 (package--push): New macro, replacing package-list-maybe-add.
11258 (package-menu--generate): Use package--push. Renamed from
11259 package--generate-package-list.
11260 (package-menu-refresh, list-packages): Use it.
daca8ba5 11261 (package-menu--print-info): Rename from package-print-package.
e91a96fe 11262 Return insertion data instead of inserting it directly.
099c39a4
JB
11263 (package-menu-describe-package, package-menu-execute):
11264 Use tabulated-list-get-id.
e91a96fe
CY
11265 (package-menu-mark-delete, package-menu-mark-install)
11266 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
11267 (package-menu-mark-obsolete-for-deletion):
11268 Use tabulated-list-put-tag.
e91a96fe
CY
11269 (package--list-packages, package-menu-revert)
11270 (package-menu-get-package, package-menu-get-version)
11271 (package-menu-sort-by-column): Functions deleted.
11272 (package-menu-package-list, package-menu-sort-key): Vars deleted.
11273 (package-menu--status-predicate, package-menu--version-predicate)
11274 (package-menu--name-predicate)
11275 (package-menu--description-predicate): Handle arguments in the
11276 Tabulated List format.
11277 (package-list-packages-no-fetch): Call list-packages.
11278
3e214b50
JB
112792011-04-06 Juanma Barranquero <lekktu@gmail.com>
11280
11281 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 11282 (after-find-file): Don't bind it.
3e214b50
JB
11283 (revert-buffer-in-progress-p): New variable.
11284 (revert-buffer): Bind it.
11285 Pass nil for `after-find-file-from-revert-buffer'.
11286
11287 * saveplace.el (save-place-find-file-hook): Use new variable
11288 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11289
3f0f1700
GM
112902011-04-06 Glenn Morris <rgm@gnu.org>
11291
c0274801
GM
11292 * Makefile.in (AUTOGEN_VCS): New variable.
11293 (autoloads): Use $AUTOGEN_VCS.
11294
3f0f1700
GM
11295 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11296 * calendar/calendar.el (calendar-mode-map):
11297 Check for toolkit scroll bars. (Bug#8305)
11298
41ea9e48
CY
112992011-04-05 Chong Yidong <cyd@stupidchicken.com>
11300
11301 * minibuffer.el (completion-in-region--postch)
11302 (completion-in-region-mode): Remove unnecessary messages.
11303
6194c800
JB
113042011-04-05 Juanma Barranquero <lekktu@gmail.com>
11305
33256f14
JB
11306 * font-lock.el (font-lock-refresh-defaults):
11307 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11308 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11309
6194c800
JB
11310 * info.el (Info-directory-list, Info-read-node-name-2)
11311 (Info-split-parameter-string): Doc fixes.
11312 (Info-virtual-nodes): Reflow docstring.
11313 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11314 (Info-apropos-toc-nodes, info-finder, Info-get-token)
11315 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11316 Fix typos in docstrings.
11317 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11318 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11319 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11320 (Info-restore-desktop-buffer): Mark unused parameters.
11321 (Info-directory-find-file, Info-directory-find-node)
11322 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11323 (Info-virtual-index-find-node, Info-apropos-find-file)
11324 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 11325 Mark unused parameters; fix typos in docstrings.
6194c800
JB
11326 (Info-virtual-index): Remove unused local variable `nodename'.
11327
b87a8200 113282011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 11329
b87a8200
DD
11330 * net/rcirc.el: Update my e-mail address.
11331 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 11332
3b2ff876
CY
113332011-04-05 Chong Yidong <cyd@stupidchicken.com>
11334
11335 * startup.el (command-line): Save the cursor's theme-face
11336 directly, instead of using face-override-spec.
11337
11338 * custom.el (load-theme): Minor optimization in assigning faces.
11339
8d17e7ca
JB
113402011-04-04 Juanma Barranquero <lekktu@gmail.com>
11341
11342 * help-fns.el (describe-variable): Complete all variables having
11343 documentation, including keywords.
11344 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11345
2fbc1934
JB
113462011-04-04 Juanma Barranquero <lekktu@gmail.com>
11347
11348 Convert to lexical-binding.
11349
11350 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11351 (bs--get-marked-string, bs--get-modified-string)
11352 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11353 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11354 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11355
11356 * ehelp.el (electric-help-execute-extended)
11357 (electric-help-ctrl-x-prefix):
11358 * hexl.el (hexl-revert-buffer-function):
11359 * linum.el (linum-after-change, linum-after-scroll):
11360 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11361
11362 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11363
74f50695
DU
113642011-04-04 Daiki Ueno <ueno@unixuser.org>
11365
11366 * epa-dired.el:
11367 * epa-mail.el:
11368 * epa-hook.el:
11369 * epa-file.el:
11370 * epa.el:
11371 * epg.el: Use lexical binding.
11372
c11325f7
CY
113732011-04-03 Chong Yidong <cyd@stupidchicken.com>
11374
0d9e9a12
CY
11375 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11376
c11325f7 11377 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
11378 dictionary case for flyspell-mark-duplications-exceptions.
11379 Use regexp matching for languages.
c11325f7
CY
11380 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11381 default dictionary (Bug#7926).
11382
da91b5f2
CY
113832011-04-02 Chong Yidong <cyd@stupidchicken.com>
11384
099c39a4
JB
11385 * emacs-lisp/package.el (package--with-work-buffer):
11386 Recognize https URLs.
da91b5f2 11387
099c39a4
JB
11388 * net/network-stream.el: Move from gnus/proto-stream.el.
11389 Change prefix to network-stream throughout.
da91b5f2
CY
11390 (open-protocol-stream): Merge into open-network-stream, leaving
11391 open-protocol-stream as an alias. Handle nil BUFFER args.
11392
11393 * subr.el (open-network-stream): Move to net/network-stream.el.
11394
afa8e9f6
GM
113952011-04-02 Glenn Morris <rgm@gnu.org>
11396
1d2e369d
GM
11397 * find-dired.el (find-exec-terminator): New option.
11398 (find-ls-option): Test for -ls support.
11399 (find-ls-subdir-switches): Test for -b in find-ls-option.
11400 (find-dired, find-grep-dired): Doc fixes.
11401 (find-dired): Use find-exec-terminator.
11402
8abb7da8 11403 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
11404 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11405 (find-name-arg): Remove purecopy.
8abb7da8 11406
f3ca7378
GM
11407 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11408 (grep-compute-defaults): Check for `-exec COMMAND +' support.
11409 Set grep-find-use-xargs, grep-find-command, and grep-find-template
11410 accordingly. Don't add the null-device if not needed.
11411
afa8e9f6
GM
11412 * files.el (save-some-buffers): Doc fix.
11413
35eae264
EZ
114142011-04-02 Eli Zaretskii <eliz@gnu.org>
11415
11416 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11417
26b51db5
JB
114182011-04-01 Juanma Barranquero <lekktu@gmail.com>
11419
11420 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11421 Use `dolist' rather than `mapcar'.
11422
7200d79c
SM
114232011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11424
03408648 11425 Add lexical binding.
7200d79c 11426
03408648
SM
11427 * subr.el (apply-partially): Use new closures rather than CL.
11428 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11429 (dolist, dotimes): Use slightly different expansion for lexical code.
11430 (functionp): Move to C.
11431 (letrec): New macro.
11432 (with-wrapper-hook): Use it and apply-partially instead of CL.
11433 (eval-after-load): Preserve lexical-binding.
11434 (save-window-excursion, with-output-to-temp-buffer): Turn them
11435 into macros.
7200d79c 11436
03408648
SM
11437 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11438
11439 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11440 than the arglist.
11441 (help-add-fundoc-usage): Don't add `Not documented'.
11442 (help-function-arglist): Handle closures, subroutines, and new
11443 byte-code-functions.
11444 (help-make-usage): Remove leading underscores.
11445 (describe-function-1): Handle closures.
11446 (describe-variable): Use special-variable-p for completion.
11447
11448 * files.el (lexical-binding): Declare safe.
f488fb65 11449
03408648
SM
11450 * emacs-lisp/pcase.el: Don't use destructuring-bind.
11451 (pcase--memoize): Rename from pcase-memoize. Change weakness.
11452 (pcase): Add `let' pattern.
11453 Change memoization so it actually works.
11454 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11455 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11456 <let>: New case.
f488fb65 11457
03408648
SM
11458 * emacs-lisp/macroexp.el: Use lexical binding.
11459 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
11460 Don't convert ' to #' without checking that it's indeed quoting
11461 a lambda.
11462
11463 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 11464 Use eval-sexp-add-defvars.
03408648
SM
11465 (eval-sexp-add-defvars): New fun.
11466
11467 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11468
11469 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11470 Don't autoload.
11471 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11472 than the internal `byte-compile-lambda'.
11473 (defmethod): Don't hide code under quotes.
11474 (eieio-defmethod): New `code' argument.
11475
11476 * emacs-lisp/eieio-comp.el: Remove.
11477
11478 * emacs-lisp/edebug.el (edebug-eval-defun)
11479 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11480 (edebug-toggle): Avoid `eval'.
11481
11482 * emacs-lisp/disass.el (disassemble-internal): Handle new
11483 `closure' objects.
11484 (disassemble-1): Handle new byte codes.
11485
11486 * emacs-lisp/cl.el (pushnew): Silence warning.
11487
11488 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11489 (cl-byte-compile-throw): Remove.
11490 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11491
11492 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11493 closures.
11494
11495 * emacs-lisp/cconv.el: New file.
11496
11497 * emacs-lisp/bytecomp.el: Use lexical binding instead of
11498 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
11499 (byte-compile-initial-macro-environment):
11500 Handle declare-function here.
11501 (byte-compile--lexical-environment): New var.
11502 (byte-stack-ref, byte-stack-set, byte-discardN)
11503 (byte-discardN-preserve-tos): New lap codes.
11504 (byte-interactive-p): Don't use any more.
11505 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11506 New macros.
11507 (byte-compile-lapcode): Use them and handle new lap codes.
11508 (byte-compile-obsolete): Remove.
11509 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11510 (byte-compile-arglist-warn): Check late def of inlinable funs.
11511 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11512 since they should have been expanded by now.
11513 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11514 (byte-compile-from-buffer): Remove unused second arg.
11515 (byte-compile-preprocess): New function.
11516 (byte-compile-toplevel-file-form): New function to distinguish
11517 file-form calls from outside from file-form calls from hunk-handlers.
11518 (byte-compile-file-form): Simplify.
11519 (byte-compile-file-form-defsubst): Remove.
11520 (byte-compile-file-form-defmumble): Simplify now that
11521 byte-compile-lambda always returns a byte-code-function.
11522 (byte-compile): Preprocess.
11523 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11524 Remove, not used any more.
11525 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11526 (byte-compile-make-args-desc): New funs.
11527 (byte-compile-lambda): Handle lexical functions. Always return
11528 a byte-code-function.
11529 (byte-compile-reserved-constants): New var, to make up room for
11530 closed-over variables.
11531 (byte-compile-constants-vector): Obey it.
11532 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11533 (byte-compile-macroexpand-declare-function): New function.
11534 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11535 byte-code-functions.
11536 (byte-compile-form): Check obsolescence here.
11537 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11538 (byte-compile-variable-ref): Remove.
11539 (byte-compile-dynamic-variable-op): New fun.
11540 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11541 (byte-compile-variable-set): New funs.
11542 (byte-compile-discard): Add 2 args.
11543 (byte-compile-stack-ref, byte-compile-stack-set)
11544 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11545 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11546 macroexpand-all instead.
11547 (byte-compile-quote-form): Remove.
11548 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11549 (byte-compile-bind, byte-compile-unbind): New funs.
11550 (byte-compile-let): Handle let* and lexical binding.
11551 (byte-compile-let*): Remove.
11552 (byte-compile-catch, byte-compile-unwind-protect)
11553 (byte-compile-track-mouse, byte-compile-condition-case):
11554 Handle a new :fun-body form, used for lexical scoping.
11555 (byte-compile-save-window-excursion)
11556 (byte-compile-with-output-to-temp-buffer): Remove.
11557 (byte-compile-defun): Simplify.
11558 (byte-compile-stack-adjustment): New fun.
11559 (byte-compile-out): Use it.
11560 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11561
11562 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11563 handler any more.
11564
11565 * emacs-lisp/byte-opt.el: Use lexical binding.
11566 (byte-inline-lapcode): Remove (to bytecomp).
11567 (byte-compile-inline-expand): Pay attention to inlining to/from
11568 lexically bound code.
11569 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11570 any more.
11571 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11572 any more and don't call compiler-macros.
11573 (byte-compile-splice-in-already-compiled-code): Remove.
11574 (byte-code): Don't inline any more.
11575 (disassemble-offset): Receive `bytes' as argument rather than via
11576 dynamic scoping.
11577 (byte-compile-tag-number): Declare before first use.
11578 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11579 `return' even if make-spliceable.
11580 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11581 obsolete interactive-p.
11582 (byte-optimize-lapcode): Optimize new lap-codes.
11583 Don't trip up on new form of `byte-constant' lap code.
11584
11585 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11586
11587 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11588
11589 * custom.el (custom-initialize-default, custom-declare-variable):
11590 Use `defvar'.
11591
11592 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11593 New variables.
11594 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11595 (COMPILE_FIRST): Add macroexp and cconv.
11596 * makefile.w32-in: Mirror changes in Makefile.in.
11597
11598 * vc/cvs-status.el:
11599 * vc/diff-mode.el:
11600 * vc/log-edit.el:
11601 * vc/log-view.el:
11602 * vc/smerge-mode.el:
11603 * textmodes/bibtex-style.el:
11604 * textmodes/css.el:
11605 * startup.el:
11606 * uniquify.el:
da91b5f2
CY
11607 * minibuffer.el:
11608 * newcomment.el:
11609 * reveal.el:
11610 * server.el:
11611 * mpc.el:
11612 * emacs-lisp/smie.el:
11613 * doc-view.el:
11614 * dired.el:
03408648
SM
11615 * abbrev.el: Use lexical binding.
11616
0f0c1f27
EZ
116172011-04-01 Eli Zaretskii <eliz@gnu.org>
11618
11619 * info.el (info-display-manual): New function.
11620
c82b2579
SM
116212011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11622
11623 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11624
221ddf68
TH
116252011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11626
11627 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 11628 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 11629
cba6e77e
GM
116302011-03-31 Glenn Morris <rgm@gnu.org>
11631
e040639f
GM
11632 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11633
cba6e77e
GM
11634 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11635
6d0f1c9e
CS
116362011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11637
11638 * progmodes/python.el (python-default-interpreter)
11639 (python-python-command-args, python-jython-command-args)
11640 (python-which-shell, python-which-args, python-which-bufname)
11641 (python-file-queue, python-comint-output-filter-function)
11642 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11643 variables and functions.
11644
3e2d70fd
SM
116452011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11646
11647 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11648 (completion-in-region-mode): New minor mode.
11649 (completion-in-region): Use it.
11650 (completion-in-region--data, completion-in-region-mode-map): New vars.
11651 (completion-in-region--postch): New function.
11652 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11653 New vars.
11654 (completion--capf-wrapper): New function.
11655 (completion-at-point): Use it to track well-behavedness of
11656 hook functions.
11657 (completion-help-at-point): New command.
11658
f3e4086c
JM
116592011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11660
11661 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11662 syntax class to search for whitespace on a single line
11663 (Message-ID: <4D938140.4030905@redhat.com>).
11664
eb7ffc14
LL
116652011-03-30 Leo Liu <sdl.web@gmail.com>
11666
11667 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11668 New commands.
11669 (edit-abbrevs-map): Bind them here.
11670 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11671
d806ab68
KM
116722011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11673
11674 * allout.el (allout-hide-by-annotation, allout-flag-region):
11675 Reduce possibility of overlay leakage by making them volatile.
11676
11677 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11678 hash is not shared between buffers. Mode initialization is
11679 responsible for giving it a useful starting value.
11680 (allout-item-span): Reduce possibility of overlay leakage by
11681 making them volatile.
11682 (allout-widgets-count-buttons-in-region): Add diagnostic function
11683 for tracking down button overlay leaks.
11684
ea622834
LL
116852011-03-29 Leo Liu <sdl.web@gmail.com>
11686
11687 * ido.el (ido-read-internal): Use the default history var
11688 minibuffer-history if no HISTORY is specified.
11689
b62f8267
G
116902011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11691
03408648
SM
11692 * net/imap.el (imap-shell-open, imap-process-connection-type):
11693 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
11694 Kerberos, SSL, other subprocesses.
11695
947b6566
LL
116962011-03-28 Leo Liu <sdl.web@gmail.com>
11697
11698 * abbrev.el (abbrev-table-empty-p): New function.
11699 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11700 nonempty ones. (Bug#5937)
11701
5ffb62aa
JD
117022011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11703
11704 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11705
7a097943
LL
117062011-03-27 Leo Liu <sdl.web@gmail.com>
11707
11708 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11709 for foreground and background colors.
11710 (ansi-color-make-color-map): Adapt.
11711
c5b40130
LL
117122011-03-25 Leo Liu <sdl.web@gmail.com>
11713
1f48f7d2
LL
11714 * midnight.el (midnight-time-float): Remove. Note it calculates
11715 the microsecond component incorrectly and seconds-to-time does the
11716 same job.
625897ec 11717 Remove redundant (require 'timer).
1f48f7d2 11718
c5b40130
LL
11719 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11720 (ido-completions): Remove unused arguments. (Bug#8329)
11721
d86d2721
SM
117222011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11723
11724 * minibuffer.el (completion--flush-all-sorted-completions):
11725 Remove itself from hook.
11726 (completion-at-point): Let the functions perform the completion
11727 immediately and return nil or t.
11728 * comint.el (comint-dynamic-complete-functions): Now identical to
11729 completion-at-point-functions.
11730 (comint-dynamic-list-input-ring): Remove unused var `index'.
11731 (comint--match-partial-filename, comint--unquote&expand-filename):
11732 New funs, split from comint-match-partial-filename.
11733 (comint-dynamic-complete): Use completion-at-point.
11734 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11735
e8974c48
DA
117362011-03-24 Drew Adams <drew.adams@oracle.com>
11737
11738 * thingatpt.el: Support `defun'.
11739
def71b5e
LL
117402011-03-23 Leo Liu <sdl.web@gmail.com>
11741
cb5af48e
LL
11742 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11743
def71b5e
LL
11744 * help-mode.el (help-mode-finish): Tweak regexp.
11745
927c53e7
GM
117462011-03-23 Glenn Morris <rgm@gnu.org>
11747
18d05bed
GM
11748 * eshell/esh-opt.el (eshell-eval-using-options):
11749 Do not bind unused local variable `eshell-option-stub'.
11750
927c53e7
GM
11751 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11752
9d0da923
JB
117532011-03-22 Juanma Barranquero <lekktu@gmail.com>
11754
11755 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11756 keymap variable in `with-no-warnings' to avoid a warning when the
11757 keymap has been already `defconst'ed.
11758
4b978a67
LL
117592011-03-22 Leo Liu <sdl.web@gmail.com>
11760
11761 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11762 encode all chars in abbrevs; otherwise use emacs-mule or
11763 utf-8-emacs. (Bug#8308)
11764
5fd62452
JB
117652011-03-22 Juanma Barranquero <lekktu@gmail.com>
11766
0b1596c6
JB
11767 * simple.el (backward-delete-char-untabify):
11768 Avoid warning about using `delete-backward-char'.
11769
5fd62452
JB
11770 * image.el (image-type-file-name-regexps): Make it variable.
11771 `imagemagick-register-types' modifies it, and the user may want
11772 to add new extensions for known image types.
11773 (imagemagick-register-types): Throw error if not using ImageMagick.
11774
0b4e93f1
LL
117752011-03-22 Leo Liu <sdl.web@gmail.com>
11776
11777 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11778 located before rcirc-prompt-end-marker.
11779 (rcirc-complete): Error if point is not after rcirc prompt.
11780 Handle the case when table is nil.
9882e214 11781 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 11782
fccee4ab
CY
117832011-03-22 Chong Yidong <cyd@stupidchicken.com>
11784
11785 * custom.el (custom--inhibit-theme-enable): Make it affect only
11786 custom-theme-set-variables and custom-theme-set-faces.
11787 (provide-theme): Ignore custom--inhibit-theme-enable.
11788 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11789 (custom-enabling-themes): Delete variable.
d86d2721
SM
11790 (enable-theme): Accept only loaded themes as arguments.
11791 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
11792 (custom-enabled-themes): Forbid themes from setting this.
11793 Eliminate use of custom-enabling-themes.
11794 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 11795
af896da6
LL
117962011-03-21 Leo Liu <sdl.web@gmail.com>
11797
11798 * ido.el (ido-read-internal): Add ido-selected to history instead
11799 of user input.
11800
78f64af0
SM
118012011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11802
11803 * subr.el (deferred-action-list, deferred-action-function):
11804 Mark obsolete.
11805
b16ac1ec
LL
118062011-03-21 Leo Liu <sdl.web@gmail.com>
11807
810f7698
LL
11808 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11809 change on 2011-02-13 (bug#8309).
11810
b16ac1ec
LL
11811 * minibuffer.el (read-file-name-function): Change default value.
11812 (read-file-name--defaults): Rename from read-file-name-defaults.
11813 (read-file-name-default): Rename from read-file-name.
11814 (read-file-name): Call read-file-name-function.
11815
4e05e67e
GM
118162011-03-21 Glenn Morris <rgm@gnu.org>
11817
11818 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11819 Doc fixes.
11820
4359915b
CY
118212011-03-21 Chong Yidong <cyd@stupidchicken.com>
11822
11823 * cus-theme.el: Add missing provide statement.
11824 (customize-create-theme): Extract theme value correctly.
11825 (custom-theme-visit-theme): Autoload.
11826 (customize-create-theme): Prompt before inserting default faces.
11827
1fe275ee
JB
118282011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11829
11830 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11831 units and musical notes.
11832
cd394be1 118332011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
11834
11835 * ido.el (ido-read-internal): Use completing-read-default.
11836 (ido-completing-read): Fix compatibility with completing-read.
11837
7d476bde
CO
118382011-03-20 Christian Ohler <ohler@gnu.org>
11839
11840 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11841 (ert-delete-all-tests): Use `called-interactively-p' rather than
11842 `interactive-p'.
11843 (ert--make-xrefs-region): Respect END.
11844
fe0fb33e
CY
118452011-03-19 Chong Yidong <cyd@stupidchicken.com>
11846
ff854b0b
CY
11847 * dired-aux.el (dired-create-directory): Signal an error if the
11848 directory already exists (Bug#8246).
11849
fe0fb33e
CY
11850 * facemenu.el (list-colors-display): Call list-faces-display
11851 inside with-help-window.
11852 (list-colors-print): Use display property to align the final
11853 column, instead of checking window-width.
11854
576bce32
EZ
118552011-03-19 Eli Zaretskii <eliz@gnu.org>
11856
4d61f28d 11857 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
11858 windows-nt systems.
11859 (emerge-protect-metachars): Quote correctly for ms-dos and
11860 windows-nt systems.
11861
89c41d68 118622011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
11863
11864 * info.el (info-initialize): Replace all uses of `:' with
11865 path-separator for compatibility with non-Unix systems.
11866 Cache quoting of path-separator. (Bug#8258)
11867
b14e3e21 118682011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
11869
11870 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11871 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11872 (mouse-avoidance-mode): Fix typos in docstrings.
11873
4525ce3e
CY
118742011-03-19 Chong Yidong <cyd@stupidchicken.com>
11875
11876 * startup.el (package-subdirectory-regexp): Move from package.el.
11877 Omit \\` and \\', and let callers add them.
11878
11879 * emacs-lisp/package.el (package-strip-version)
11880 (package-load-all-descriptors): Add \\` and \\' to
11881 package-subdirectory-regexp before using it.
11882 (package-untar-buffer): New arg DIR; ensure that file untars only
11883 into this expected directory. Remove superfluous delete-region.
11884 (package-unpack): Caller changed.
11885 (package-tar-file-info): Use package-subdirectory-regexp.
11886
a904a09a 118872011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 11888
a904a09a
SM
11889 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11890 diff-mode-shared-map (bug#8284).
11891 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
11892
118932011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11894
11895 * calendar/time-date.el (format-seconds): Use assoc instead of
11896 assoc-string, since assoc-string doesn't exist in XEmacs.
11897
171fc304
JB
118982011-03-17 Juanma Barranquero <lekktu@gmail.com>
11899
11900 * custom.el (custom-known-themes): Reflow docstring.
11901 (custom-theme-load-path): Fix typo in docstring.
11902 (load-theme): Fix typo in error message.
11903 (custom-available-themes, custom-variable-theme-value):
11904 Use `let', not `let*'.
11905
d71990a1
JB
119062011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11907
11908 * calc/README: Mention inclusion of musical notes.
11909
11910 * calc/calc-units.el (calc-lu-quant): Rename from
11911 `calc-logunits-quantity'.
11912 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11913 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11914 (calc-db): Rename from `calc-dblevel'.
11915 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11916 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11917 (calc-np): Rename from `calc-nplevel'.
11918 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11919 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11920 (calc-lu-plus): Rename from `calc-logunits-add'.
11921 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11922 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11923 (calc-lu-minus): Rename from `calc-logunits-sub'.
11924 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11925 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11926 (calc-lu-times): Rename from `calc-logunits-mul'.
11927 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11928 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11929 (calc-lu-divide): Rename from `calc-logunits-div'.
11930 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11931 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11932
11933 * calc/calc-ext.el (calc-init-extensions): Update the names of the
11934 functions being autoloaded.
11935
11936 * calc/calc.el (calc-lu-power-reference): Rename from
11937 `calc-logunits-power-reference'.
11938 (calc-lu-field-reference): Rename from
11939 `calc-logunits-field-reference'.
11940
7a71b18d
GM
11941 * calc/calc-help.el (calc-l-prefix-help):
11942 Mention musical note functions.
d71990a1 11943
40c2934b
SM
119442011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11945
11946 * minibuffer.el (completion-all-sorted-completions):
11947 Use :completion-cycle-penalty text property if present.
11948
b0911414
KM
119492011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
11950
11951 * allout.el (allout-yank-processing): Adjust for new rebulleting
11952 regime so bullet being yanked is used without prompting the user
11953 for a choice.
11954
8a05b668
JB
119552011-03-16 Juanma Barranquero <lekktu@gmail.com>
11956
11957 * startup.el (command-line): Warn the user that _emacs is deprecated.
11958
5ba5fb81
JB
119592011-03-16 Juanma Barranquero <lekktu@gmail.com>
11960
11961 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11962 (delphi-verbose, delphi-comment-face, delphi-string-face)
11963 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11964 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11965 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11966 (delphi-new-comment-line, delphi-font-lock-defaults)
11967 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11968 Fix typos in docstrings.
11969
2dab465b
KM
119702011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
11971
5ba5fb81 11972 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
11973 Invert the roles of character and string values for INSTEAD, so a
11974 string is used for the more common case of a defaulting prompt.
11975
0adf5618
SM
119762011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11977
11978 * progmodes/ruby-mode.el (ruby-backward-sexp):
11979 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11980 * play/gamegrid.el (gamegrid-make-face):
11981 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11982 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11983 * notifications.el (notifications-notify):
11984 * net/xesam.el (xesam-search-engines):
11985 * net/quickurl.el (quickurl-list-insert):
11986 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11987
d72700e5
CY
119882011-03-15 Chong Yidong <cyd@stupidchicken.com>
11989
11990 * startup.el (command-line): Update package subdirectory regexp.
11991
49c5410a
SM
119922011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11993
c6eee9aa
SM
11994 * allout.el (allout-abbreviate-flattened-numbering)
11995 (allout-mode-deactivate-hook): Fix up obsolescence "date".
11996
49c5410a
SM
11997 * subr.el (read-char-choice): Only show the cursor after the prompt,
11998 not after the answer.
11999
047b2bb9
KR
120002011-03-15 Kevin Ryde <user42@zip.com.au>
12001
12002 * help-fns.el (variable-at-point): Skip leading quotes, if any
12003 (bug#8253).
12004
0a57d256
SM
120052011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12006
12007 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12008 warning message.
12009
77c992bc
MA
120102011-03-14 Michael Albinus <michael.albinus@gmx.de>
12011
12012 * shell.el (shell): When called interactively, offer to change the
12013 shell file name on remote hosts.
12014
eebc475d
TZ
120152011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12016
12017 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12018 integration for LDAP parameters. The host, base, user or binddn,
12019 and secret tokens can be specified in a netrc file, for instance.
12020 This is optional because an `auth-source' parameter must be
12021 specified in the search attributes.
12022
9d05d1ba
JB
120232011-03-13 Juanma Barranquero <lekktu@gmail.com>
12024
12025 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12026
09d9db2c
GM
120272011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12028
12029 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12030 into declaration. Remove redundant and harmful binding.
12031
120322011-03-12 Eli Zaretskii <eliz@gnu.org>
12033
12034 * files.el (file-ownership-preserved-p): Pass `integer' as an
12035 explicit 2nd argument to `file-attributes'. If the file's owner
12036 is the Administrators group on Windows, and the current user is
12037 Administrator, consider that a match.
12038
12039 * server.el (server-ensure-safe-dir): Consider server directory
12040 safe on MS-Windows if its owner is the Administrators group while
12041 the current Emacs user is Administrator. Use `=' to compare
12042 numerical UIDs, since they could be integers or floats.
12043
219bd536
JB
120442011-03-12 Juanma Barranquero <lekktu@gmail.com>
12045
12046 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12047
f3afd36b
MA
120482011-03-12 Michael Albinus <michael.albinus@gmx.de>
12049
12050 Sync with Tramp 2.2.1.
12051
12052 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12053
12054 * net/trampver.el: Update release number.
12055
3aaaa6f1
SM
120562011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12057
94642599
SM
12058 * progmodes/compile.el (compilation--previous-directory): Fix up
12059 various nil/dead-marker mismatches (bug#8014).
12060 (compilation-directory-properties, compilation-error-properties):
12061 Don't call it at a position past the one we're about to change.
12062
3aaaa6f1
SM
12063 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12064 Disable obsolescence warnings in the file that declares it.
12065
14239447
KM
120662011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12067
099c39a4
JB
12068 * allout-widgets.el (allout-widgets-tally):
12069 Initialize allout-widgets-tally as a hash table rather than nil to
12070 prevent mode-line redisplay warnings. Also, clarify the module
12071 description and fix a comment typo.
14239447 12072
135e287c
JB
120732011-03-11 Juanma Barranquero <lekktu@gmail.com>
12074
12075 * help-fns.el (describe-variable): Don't complete keywords.
12076 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12077
ffbf300e
CY
120782011-03-10 Chong Yidong <cyd@stupidchicken.com>
12079
ba08b241
CY
12080 * emacs-lisp/package.el (package-version-join): Impose a standard
12081 string representation for pre/alpha/beta version lists.
12082 (package-unpack-single): Standardize the directory name by passing
12083 it through package-version-join.
12084 (package-strip-rcs-id): Accept any version string that does not
12085 signal an error in version-to-list.
ffbf300e 12086
f346fd6b
MA
120872011-03-10 Michael Albinus <michael.albinus@gmx.de>
12088
12089 * simple.el (delete-trailing-whitespace): Return nil for the
12090 benefit of `write-file-functions'.
12091
ccb55d27
GM
120922011-03-10 Glenn Morris <rgm@gnu.org>
12093
5ceaac0c
GM
12094 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12095
02da65ff
GM
12096 * vc/vc-git.el (vc-git-program): New option.
12097 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12098 (vc-git--call): Use it.
12099
b2f603cc
GM
12100 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12101
5772caab
GM
12102 * cus-edit.el (Custom-newline): If no button at point, look
12103 for a subgroup button at start-of-line. (Bug#2298)
12104
ccb55d27
GM
12105 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12106
ec6ecaed
JD
121072011-03-10 Julien Danjou <julien@danjou.info>
12108
12109 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12110 `cursor-type' is nil.
12111
9d5aa01d
JB
121122011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
12113
12114 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12115
b6a5875b
KM
121162011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
12117
7a71b18d 12118 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
12119 preserves the existing header prefix, rebulleting it if necessary,
12120 rather than replacing it. This is necessary for proper operation
12121 of cooperative addons like allout-widgets.
1154d12e
JB
12122 (allout-make-topic-prefix, allout-rebullet-heading):
12123 Change SOLICIT arg to INSTEAD, and interpret additionally a string
12124 value as alternate bullet to be used, instead of prompting the user
12125 for a bullet character.
b6a5875b 12126
ee545c35
MA
121272011-03-09 Michael Albinus <michael.albinus@gmx.de>
12128
d86d2721
SM
12129 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12130 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
12131 `tramp-default-port'.
12132
c47971d7
DD
121332011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12134
12135 * net/rcirc.el (rcirc-handler-001): Remove useless
12136 with-rcirc-process-buffer.
12137 (rcirc-check-auth-status): Swap arguments to string-match.
12138
13522cb4
GM
121392011-03-09 Glenn Morris <rgm@gnu.org>
12140
0be6f4f1
GM
12141 * shell.el (shell-mode):
12142 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
12143
13522cb4
GM
12144 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12145 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
12146
515de2e3
CY
121472011-03-08 Chong Yidong <cyd@stupidchicken.com>
12148
12149 * emacs-lisp/package.el (package-refresh-contents)
12150 (package-menu-execute): Use condition-case-no-debug.
12151
b511b994
MA
121522011-03-08 Michael Albinus <michael.albinus@gmx.de>
12153
12154 * simple.el (shell-command-to-string): Use `process-file'.
12155
12156 * emacs-lisp/package.el (package-tar-file-info): Handle also
12157 remote files.
12158
d86d2721
SM
12159 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12160 Use `equal' for upload base check.
b511b994 12161
25bbfb31
AM
121622011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12163
12164 * textmodes/texinfo.el (texinfo-environments):
12165 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
12166
be996521
GM
121672011-03-08 Glenn Morris <rgm@gnu.org>
12168
e9c8529f
GM
12169 * cus-start.el (cursor-in-non-selected-windows):
12170 Fix :set quoting oddness. (Bug#8192)
12171
be996521
GM
12172 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12173 in some setf expressions. (Bug#2159)
12174
2bb5649e
CY
121752011-03-08 Chong Yidong <cyd@stupidchicken.com>
12176
12177 * custom.el (custom-available-themes): Return themes in
12178 alphabetical order.
12179
33383987 12180See ChangeLog.15 for earlier changes.
e3d51b27
MR
12181
12182;; Local Variables:
12183;; coding: utf-8
e3d51b27
MR
12184;; End:
12185
acaf905b 12186 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
12187
12188 This file is part of GNU Emacs.
12189
12190 GNU Emacs is free software: you can redistribute it and/or modify
12191 it under the terms of the GNU General Public License as published by
12192 the Free Software Foundation, either version 3 of the License, or
12193 (at your option) any later version.
12194
12195 GNU Emacs is distributed in the hope that it will be useful,
12196 but WITHOUT ANY WARRANTY; without even the implied warranty of
12197 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12198 GNU General Public License for more details.
12199
12200 You should have received a copy of the GNU General Public License
12201 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.