Remove some `toggle-read-only' warnings.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
8c8fc5df
MA
12012-04-19 Michael Albinus <michael.albinus@gmx.de>
2
3 * net/tramp.el (tramp-action-password): Let-bind
4 `enable-recursive-minibuffers' to t.
5
a77b0ac9
SS
62012-04-18 Sam Steingold <sds@gnu.org>
7
8 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
9 instead of 'string to accommodate values like [f11].
10 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
11 * progmodes/gdb-mi.el: Likewise.
12
12a106a9
LL
132012-04-18 Leo Liu <sdl.web@gmail.com>
14
15 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
16 current buffer.
17 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
18 LOCAL is nil.
19
bc6494ef
CY
202012-04-18 Chong Yidong <cyd@gnu.org>
21
22 * simple.el (line-move): Use forward-line if in batch mode
23 (Bug#11053).
24
c09c46b2
CS
252012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
26
27 * files.el (after-find-file): Do not try to add a final newline if
28 the buffer is read-only (Bug#11156).
29
5f6530ea
RS
302012-04-17 Richard Stallman <rms@gnu.org>
31
32 * mail/rmail.el (rmail-start-mail):
33 Pass (rmail-mail-return...) for the return-action.
34 Pass (rmail-yank-current-message...) for the yank-action.
35 (rmail-yank-current-message): New function.
36 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
37 (rmail-reply): Likewise.
38 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
39
40 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 41 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
42 buffer, not newbuf.
43
197b6f3c
JB
442012-04-17 Juanma Barranquero <lekktu@gmail.com>
45
46 * server.el (server-ensure-safe-dir): Simplify.
47
2311d8e5 482012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 49
2311d8e5
GM
50 * emacs-lisp/smie.el: Provide smarter auto-filling.
51 (smie-auto-fill): New function.
52 (smie-setup): Use it.
98fb480e 53
2311d8e5
GM
54 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
55
562012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
57
58 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
59 (comment-indent): Use it.
60
2311d8e5 612012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
62
63 * ses.el: The overall change is to add cell renaming, that is
64 setting fancy names for cell symbols other than name matching
65 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 66 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 67 (ses-create-cell-variable): New defun.
2311d8e5 68 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
69 (ses-relocate-formula): Relocate formulas only for cells the
70 symbols of which are not renamed, i.e. symbols whose names do not
71 match regexp "\\`[A-Z]+[0-9]+\\'".
72 (ses-relocate-all): Relocate values only for cells the symbols of
73 which are not renamed.
74 (ses-load): Create cells variables as the (ses-cell ...) are read,
75 in order to check row col consistency with cell symbol name only
76 for cells that are not renamed.
77 (ses-replace-name-in-formula): New defun.
78 (ses-rename-cell): New defun.
4bdf2ad2 79
fc72b15c
PO
802012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
81
82 * progmodes/perl-mode.el (perl-indent-parens-as-block):
83 New option (bug#11118).
84 (perl-calculate-indent): Respect it.
85
12e10e61
GM
862012-04-17 Glenn Morris <rgm@gnu.org>
87
88 * dired-aux.el (dired-mark-read-string): Doc fix.
89
30009afd
DA
902012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
91
92 * dired-aux.el (dired-mark-read-string): Offer optional completion.
93 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
94
41f03f4d
GM
952012-04-17 Glenn Morris <rgm@gnu.org>
96
97 * mouse.el (mouse-drag-track):
98 * speedbar.el (speedbar-frame-mode):
99 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
100
f45f90f3
LL
1012012-04-16 Leo Liu <sdl.web@gmail.com>
102
103 * progmodes/python.el: Trivial cleanup.
104
94ee8db5
GM
1052012-04-16 Glenn Morris <rgm@gnu.org>
106
121b8917
GM
107 * vc/vc.el (vc-string-prefix-p):
108 * vc/pcvs-util.el (cvs-string-prefix-p):
109 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
110 * mpc.el (mpc-string-prefix-p):
111 Make all of these into obsolete aliases for string-prefix-p.
112 Update callers.
113 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
114
1197ecfa
GM
115 * textmodes/two-column.el: Move custom options to the start.
116 (frame-width): Remove compat definition.
117 (2C-associate-buffer, 2C-dissociate):
118 Use with-current-buffer rather than save-excursion.
119 (2C-dissociate): Force a mode-line update.
120 (2C-autoscroll): Use ignore-errors.
121
099e7202
GM
122 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
123 Autoload trivia.
124
bf350d6a
GM
125 * emacs-lisp/cl-extra.el (*random-state*):
126 Remove unnecessary declaration.
127
0e829eab
GM
128 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
129
e3ad7552
GM
130 * play/cookie1.el (cookie-snarf):
131 Give an explicit error if input file cannot be read.
132
68892d27
GM
133 * play/yow.el (yow-file): Use expand-file-name rather than concat.
134
20f0c46d
GM
135 * progmodes/perl-mode.el (c-macro-expand):
136 Remove unnecessary autoload (it is in loaddefs.el).
137
5a0978ce
GM
138 * textmodes/picture.el (picture-desired-column)
139 (picture-update-desired-column): Convert comments to doc-strings.
140 (picture-substitute): Remove function.
141 (picture-mode-map): Initialize in the defvar.
142
6b955486
GM
143 * woman.el: Remove eval-after-load for tar-mode.
144 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
145 (woman-tar-extract-file): Autoload it.
146
94ee8db5
GM
147 * frame.el (automatic-hscrolling): Make this alias obsolete.
148
177eca34
AM
1492012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
150
151 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 152 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
153 (ispell-dictionary-base-alist): Revert to original XEmacs
154 friendly version for default. [:alpha:] will be added in
155 `ispell-set-spellchecker-params' if needed
177eca34 156
c505aaeb
CY
1572012-04-16 Chong Yidong <cyd@gnu.org>
158
159 * image.el (imagemagick--extension-regexp): New variable.
160 (imagemagick-register-types): Use it.
161 (imagemagick-types-inhibit): Add :set function. Allow new value
162 of t to inhibit all types.
163
164 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
165 so we can preload it.
166
167 * loadup.el (fboundp): Preload regexp-opt, needed by
168 imagemagick-register-types.
169
60efac0f
CY
1702012-04-15 Chong Yidong <cyd@gnu.org>
171
172 * frame.el (scrolling): Remove nearly unused customization group.
173
174 * scroll-all.el (scroll-all-mode): Move to windows group.
175
5dd1713e
CY
1762012-04-15 Chong Yidong <cyd@gnu.org>
177
178 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
179
e6fd457e
CY
1802012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
181
182 Avoid the use of ((lambda ...) ...) in lexical-binding code.
183 * emacs-lisp/easy-mmode.el (define-minor-mode):Use funcall (bug#11241).
184
e153c136
GM
1852012-04-15 Glenn Morris <rgm@gnu.org>
186
187 * simple.el (process-file-side-effects): Doc fix.
188
e6fd457e 1892012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
190
191 * international/mule-cmds.el (set-language-environment): Doc fix.
192
3603c3b1
JB
1932012-04-14 Juanma Barranquero <lekktu@gmail.com>
194
195 * server.el (server-auth-key, server-generate-key): Doc fixes.
196 (server-get-auth-key): Doc fix. Use `string-match-p'.
197 (server-start): Reflow docstring.
198
e6de100c
LI
1992012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
200
201 * server.el (server-generate-key): `called-interactively-p'
202 requires a parameter.
203
29734c21
MN
2042012-04-14 Michal Nazarewicz <mina86@mina86.com>
205
206 * server.el (server-auth-key): New variable.
75f1671a 207 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
208 (server-start): Use the new variable and functions to allow
209 setting a permanent server key (bug#9423).
210
d65c9521
LL
2112012-04-14 Leo Liu <sdl.web@gmail.com>
212
213 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
214
5ae255c7
PE
2152012-04-14 Paul Eggert <eggert@cs.ucla.edu>
216
217 Spelling fixes.
218 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
219 Emacs uses American spelling.
220
d5e6342e
JB
2212012-04-14 Juanma Barranquero <lekktu@gmail.com>
222
223 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
224 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
225 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
226 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
227
ab036cd7
SM
2282012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
229
230 * progmodes/which-func.el (which-func-modes): Change default.
231
35dc09a1 2322012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
233
234 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
235 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
236
35dc09a1 2372012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
238
239 * custom.el (custom-theme-set-variables): Doc fix.
240
35dc09a1 2412012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
242
243 * international/mule.el (set-auto-coding-for-load): Doc fix.
244
35dc09a1 2452012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 246
35dc09a1
GM
247 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
248 imenu work again for Objective C Mode. Correct the *-index values,
249 these having been disturbed by a previous change in 2011-08.
57f845ee 250
0de3da9f
AM
251 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
252 Correct two search limits.
253
35dc09a1 2542012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
255
256 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
257
35dc09a1 2582012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
259
260 * international/characters.el: Fix sorting.
261
35dc09a1 2622012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
263
264 * international/characters.el: Add more missing Latin case pairs.
265
35dc09a1 2662012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
267
268 * files.el (dir-locals-set-class-variables): Doc fix.
269
35dc09a1 2702012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 271
3f1b5bf8
EZ
272 * international/characters.el: Add set-case-syntax-pair call for
273 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
274 counterpart. (Bug#11209)
275
9f847f41
EZ
276 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
277
35dc09a1 2782012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
279
280 * calendar/holidays.el (calendar-check-holidays): Doc fix.
281
35dc09a1 2822012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 283
35dc09a1
GM
284 * textmodes/ispell.el (ispell-dictionary-base-alist):
285 Add data for Hebrew.
e2627d21 286
35dc09a1 2872012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 288
35dc09a1
GM
289 * net/rcirc.el (rcirc-cmd-quit):
290 Revert 2012-03-18 change (Bug#11192).
5c14e333 291
35dc09a1 2922012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
293
294 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
295
35dc09a1 2962012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 297
4517fe3a
SM
298 * minibuffer.el (completion-in-region-mode-map):
299 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 300
b472a594
VD
3012012-04-13 Vivek Dasmohapatra <vivek@etla.org>
302
303 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
304
09b95ce3
MY
3052012-04-13 Masatake YAMATO <yamato@redhat.com>
306
307 * minibuffer.el (minibuffer-local-filename-syntax): New variable
308 to allow `C-M-f' and `C-M-b' to move to the nearest path
309 separator (bug#9511).
310
4b63a9ca
LI
3112012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
312
313 * avoid.el: Require cl when compiling. And also move the
314 `provide' to the end.
315
7b55b8bf
TV
3162012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
317
318 * avoid.el (mouse-avoidance-banish-position): New variable.
319 (mouse-avoidance-banish-destination): Use it (bug#10165).
320
adedaa1f
LL
3212012-04-13 Leo Liu <sdl.web@gmail.com>
322
323 * progmodes/which-func.el (which-func-modes): Add objc-mode.
324
70e74021
KB
3252012-04-13 Ken Brown <kbrown@cornell.edu>
326
327 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 328 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
329 (browse-url-filename-alist): For the same reason, don't modify
330 file:// URLs on Cygwin.
331
e75e89ba
SM
3322012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
333
334 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
335 the region on shift if the binding is already shifted (bug#11221).
336
82f289a4
GM
3372012-04-12 Glenn Morris <rgm@gnu.org>
338
339 * mail/mailpost.el: Move to obsolete/.
340
d333dc4c
DA
3412012-04-12 Drew Adams <drew.adams@oracle.com>
342
343 * imenu.el (imenu--generic-function): Ignore invisible definitions
344 (bug#10123).
345
0d15b5ba
VD
3462012-04-12 Vivek Dasmohapatra <vivek@etla.org>
347
348 * hexl.el (hexl-bits): New variable.
349 (hexl-options): Mention the variable in the doc string.
75f1671a 350 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 351 (hexl-mode): Mention the new variable.
75f1671a
JB
352 (hexl-mode, hexl-current-address, hexl-current-address):
353 Use the displen.
0d15b5ba
VD
354 (hexl-ascii-start-column): New function.
355 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
356 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
357
64a440db
AM
3582012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
359
360 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
361 '("-i" ENCODING), in 2 separate command-line arguments, to specify
362 the encoding, as expected by hunspell.
363
6decb6c2
SM
3642012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
365
366 * battery.el (battery--linux-sysfs-regexp): New const.
367 (battery-status-function): Use it. Remove yeeloong special case.
368 (battery-yeeloong-sysfs): Remove.
369 (battery-echo-area-format): Remove yeeloong special case.
370
088be6fb
SM
3712012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
372
6622e416
SM
373 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
374 Reported by Noah Friedman.
375
088be6fb
SM
376 * subr.el (read-passwd): Use read-string.
377
b49f886e
LMI
3782012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
379
380 * vcursor.el (vcursor-move): Increase the priority of the overlay
381 (bug#9663).
382
a63067fc
DD
3832012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
384
385 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
386 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
387
ac3cf14a
WS
3882012-04-11 William Stevenson <yhvh2000@gmail.com>
389
390 * textmodes/artist.el (artist-mode): Convert artist-mode to use
391 define-minor-mode (bug#10760).
392
c4fc691b 3932012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c
WJ
394
395 * lisp/progmodes/grep.el (rgrep): Tweak the find command line so
396 that directories matching `grep-find-ignored-files' won't be
397 pruned (bug#10351).
398
af23e2e5
CY
3992012-04-11 Chong Yidong <cyd@gnu.org>
400
401 * startup.el (command-line): Remove support for long-obsolete
402 variable font-lock-face-attributes.
403
ab7ce8c1
GM
4042012-04-11 Glenn Morris <rgm@gnu.org>
405
406 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
407
de8c03dc
SM
4082012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
409
410 * window.el (window--state-get-1): Obey window-point-insertion-type.
411
050cc68b
LB
4122012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
413
414 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
415 to previous function when point is on the first character of a
75f1671a 416 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 417
a38c310c
GM
4182012-04-11 Glenn Morris <rgm@gnu.org>
419
effed0c2
GM
420 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
421 not just file-errors.
422
a38c310c
GM
423 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
424 (vc-bzr-sha1): Use internal sha1.
425
0221e323
SM
4262012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
427
428 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
429
43956923
SG
4302012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
431
432 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
433 that start in the middle of the line (bug#10496).
434
6a8c9eaf
DN
4352012-04-10 Dan Nicolaescu <dann@gnu.org>
436
437 * battery.el (battery-linux-proc-acpi): Only one battery is
438 discharged at a time, but that seems to confuse battery.el when
439 computing `rate-type' for the battery not being discharged
440 (bug#10332).
441
1930bf5d
SM
4422012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
443
2a718f6f
SM
444 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
445
599430d0
SM
446 * international/quail.el: Use dolist and simplify.
447 (quail-define-package, quail-update-keyboard-layout)
448 (quail-define-rules): Use dolist.
449 (quail-insert-kbd-layout, quail-get-translation): CSE.
450
a2754b6c
SM
451 * tmm.el: Use dolist, remove left over hook.
452 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
453 Use dolist.
454 (calendar-load-hook): Don't mess with it.
455
1930bf5d
SM
456 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
457 Use derived-mode-p. Run the diff asynchronously.
458
9f67961c
LMI
4592012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
460
461 * obsolete/mouse-sel.el: Add an Obsolete-since header.
462
2a8ce227
JB
4632012-04-10 Juanma Barranquero <lekktu@gmail.com>
464
465 * misc.el: Display absolute path of loaded DLLs (bug#10424).
466 (list-dynamic-libraries--loaded): New function.
467 (list-dynamic-libraries--refresh): Use it.
468
8f33b5f8
NW
4692012-04-10 Nathan Weizenbaum <nweiz@google.com>
470
1930bf5d
SM
471 * progmodes/python.el (python-fill-paragraph):
472 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
473 disabled (bug#7018).
474
b12f0439
L
4752012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
476
1930bf5d 477 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
478 DOS/MS Windows for the Baltic languages. There are still plenty
479 of texts written in this encoding/codepage (bug#6519).
b12f0439 480
57c3bd01
GM
4812012-04-10 Glenn Morris <rgm@gnu.org>
482
483 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
484 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
485
6c3eab30
FA
4862012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
487
1930bf5d 488 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
489 next-line "n" and previous-line "p" in order to make recentf more
490 consistent with ibuffer, dired or org-mode (bug#9387).
491
24d78a88
LMI
4922012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
493
bc72b5d9
LMI
494 * image.el (put-image): Return the overlay created instead of the
495 optional input string (bug#7834). Note that this may break code
496 that is (for some reason or other) depending on `put-image'
497 returning the string.
498
bd2dba5a
LMI
499 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
500
74beb59f
LMI
501 * simple.el (zap-to-char): Allow zapping using input methods
502 (bug#1580).
503
24d78a88
LMI
504 * textmodes/fill.el (fill-region): Leave point and mark where they
505 were before filling (bug#5399).
506
263f20cd
GM
5072012-04-09 Glenn Morris <rgm@gnu.org>
508
509 * version.el (emacs-bzr-get-version):
510 Handle lightweight checkouts of local branches.
511
58d1f797
AS
5122012-04-09 Andreas Schwab <schwab@linux-m68k.org>
513
263f20cd 514 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 515
b4d3bc10
CY
5162012-04-09 Chong Yidong <cyd@gnu.org>
517
518 * custom.el (custom-variable-p): Return nil for non-symbol
519 arguments instead of signaling an error.
520 (user-variable-p): Obsolete alias for custom-variable-p.
521
522 * apropos.el (apropos-variable):
523 * files-x.el (read-file-local-variable):
524 * simple.el (set-variable):
525 * woman.el (woman-mini-help):
526 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
527
fd06db5d
GM
5282012-04-09 Glenn Morris <rgm@gnu.org>
529
e5fcdb5e
GM
530 * startup.el (normal-top-level): Don't look for leim-list.el
531 in places where it will not be found. (Bug#910)
532
fd06db5d
GM
533 * international/mule-cmds.el (set-default-coding-systems):
534 * files.el (normal-mode):
535 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
536 This function was removed with ucs-tables.el in 2008.
537
b39bb7e1
EZ
5382012-04-08 Eli Zaretskii <eliz@gnu.org>
539
540 * textmodes/ispell.el (ispell-check-version): For hunspell, set
541 ispell-encoding8-command to "-i", without a trailing space.
542 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
543 separate command-line arguments, to specify the encoding, since
544 that's how hunspell expects it.
545
5c5b8e23
GM
5462012-04-08 Glenn Morris <rgm@gnu.org>
547
548 * loadup.el: Load bindings before cus-start.
549 This reduces somewhat the number of "rogue" settings in emacs -Q.
550
a1ed8b05
GM
5512012-04-07 Glenn Morris <rgm@gnu.org>
552
553 * version.el (emacs-bzr-get-version): New function.
dfae128a 554 (emacs-bzr-version): New variable.
a1ed8b05
GM
555 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
556 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
557
b142f158
EZ
5582012-04-07 Eli Zaretskii <eliz@gnu.org>
559
dfae128a
GM
560 * international/uni-bidi.el, international/uni-category.el:
561 * international/uni-combining.el, international/uni-decimal.el:
562 * international/uni-decomposition.el, international/uni-digit.el:
563 * international/uni-lowercase.el, international/uni-mirrored.el:
564 * international/uni-name.el, international/uni-numeric.el:
565 * international/uni-titlecase.el, international/uni-uppercase.el:
566 Update for Unicode 6.1.
b142f158 567
9078ead6
EZ
5682012-04-07 Eli Zaretskii <eliz@gnu.org>
569
570 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
571
f23d2c7d
LMI
5722012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
573
574 * window.el (shrink-window): Mention the `window-min-height'
575 variable in the doc string.
576
0a0a3573
BG
5772012-04-05 Bastien Guerry <bzg@altern.org>
578
579 * color.el (color-lighten-name): Fix typo.
580
e5248ac9
SM
5812012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
582
583 * server.el (server--on-display-p): New function.
584 (server--on-display-p): Use it.
585
b4243e22
GV
5862012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
587
588 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
589 (bug#11145).
590
305d9f44
SM
5912012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
592
593 * comint.el (comint--common-quoted-suffix): Check string boundary
594 before comparing (bug#11158).
595 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
596
3d439cd1
CY
5972012-04-04 Chong Yidong <cyd@gnu.org>
598
321cc491
CY
599 * minibuffer.el (completion-extra-properties): Doc fix.
600
3d439cd1
CY
601 * subr.el (delayed-warnings-hook): Doc fix.
602
2d562c0f
DU
6032012-04-04 Daiki Ueno <ueno@unixuser.org>
604
605 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
606 selection (Bug#11159).
607 (epa-insert-keys): Inform that the default public key will be
608 exported if no key is selected.
609
4443f204
RS
6102012-04-04 Richard Stallman <rms@gnu.org>
611
612 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
613
529c06b6
CY
6142012-04-03 Chong Yidong <cyd@gnu.org>
615
616 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
617 mail-insert-file, not its obsolete alias mail-attach-file.
618
66b907dc
MA
6192012-04-03 Michael Albinus <michael.albinus@gmx.de>
620
621 * notifications.el (notifications-notify): Fix docstring.
622
c0ea195d
GM
6232012-04-02 Glenn Morris <rgm@gnu.org>
624
625 * emacs-lisp/authors.el (authors-aliases): Another addition.
626
5ca64e00
MA
6272012-04-02 Michael Albinus <michael.albinus@gmx.de>
628
629 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
630 `tramp-compat-call-process' instead of `tramp-local-call-process'.
631 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
632
42ee526b
CY
6332012-04-01 Chong Yidong <cyd@gnu.org>
634
635 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
636 Handle root directory properly.
637 (copy-directory): Caller changed.
638
639 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
640 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
641
0b021094
GM
6422012-03-31 Glenn Morris <rgm@gnu.org>
643
40f86458
GM
644 * term/xterm.el (xterm-extra-capabilities): Doc fix.
645
7019c177
GM
646 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
647
a1daddd6
GM
648 * calendar/calendar.el (calendar-window-list)
649 (calendar-hide-window): Restore. (Bug#11140)
650 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
651
0b021094
GM
652 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
653
40311efc
TV
6542012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
655
656 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
657 Check if file is a symlink (Bug#10489).
658
659 * files.el (copy-directory): Likewise.
660
5319014e
CY
6612012-03-30 Chong Yidong <cyd@gnu.org>
662
663 * image.el (imagemagick-types-inhibit)
664 (imagemagick-register-types): Doc fix.
665
935d1290
AM
6662012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
667
668 * ispell.el (ispell-get-extended-character-mode): Disable
75f1671a
JB
669 extended-char-mode for hunspell. hunspell does not support it
670 and treats ~word as ordinary words in pipe mode.
935d1290 671
61c6e8fd
GM
6722012-03-30 Glenn Morris <rgm@gnu.org>
673
674 * tutorial.el (help-with-tutorial): Ensure local variables don't
675 happen to make the buffer read-only. (Bug#11127)
676
81fdff00
SM
6772012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
678
679 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
680 (perl-calculate-indent): Return `noindent' in strings.
681
6e7a6ec0
SS
6822012-03-28 Sam Steingold <sds@gnu.org>
683
684 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
685 instead of the broken adhockery which does not prevent calendar
686 buffers from being displayed at random after exit.
687 (calendar-window-list, calendar-hide-window): Remove the broken
688 adhockery.
689
fee88ca0
GM
6902012-03-28 Glenn Morris <rgm@gnu.org>
691
692 * replace.el (query-replace-map): Doc fix.
693
38de3354
AS
6942012-03-28 Andreas Schwab <schwab@linux-m68k.org>
695
696 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
697 contents. (Bug#11109)
698
b973155e
SM
6992012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
700
701 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
702 (bug#11077).
703 (avl-tree--check, avl-tree--check-node): New funs.
704
dcb6e7b3
MR
7052012-03-27 Martin Rudalics <rudalics@gmx.at>
706
707 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
708 (switch-to-prev-buffer, switch-to-next-buffer):
709 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
710 showing a buffer already is done on the same frame.
711
b4fa35fa
GM
7122012-03-27 Glenn Morris <rgm@gnu.org>
713
714 * startup.el (mail-host-address): Doc fix.
715
f9210e18
SM
7162012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
717
718 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
719 than 197 variables.
720
c0bf7753
AF
7212012-03-26 Ami Fischman <ami@fischman.org>
722
723 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
724
33da7b16
GM
7252012-03-26 Glenn Morris <rgm@gnu.org>
726
02243d9d
GM
727 * files.el (save-buffers-kill-emacs): Doc fix.
728
33da7b16
GM
729 * startup.el (normal-top-level, command-line, command-line-1):
730 Give them doc strings.
731
e5a69fd0
EZ
7322012-03-25 Eli Zaretskii <eliz@gnu.org>
733
734 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 735 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 736
9a69676a
CY
7372012-03-25 Chong Yidong <cyd@gnu.org>
738
4125cb8b
CY
739 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
740 theme if it was previously enabled before (Bug#11031).
741
dd470960
CY
742 * cus-theme.el (custom-theme-write-faces): Retrieve current face
743 spec with custom-face-get-current-spec if its :shown-value is not
744 determined yet (Bug#9337).
4125cb8b 745 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 746
9a69676a
CY
747 * button.el (button-at): Minor addition to docstring.
748
6e7e90fa
SL
7492012-03-24 Simon Leinen <simon.leinen@gmail.com>
750
751 * vc/vc.el (vc-merge): Fix a prompt.
752
f06e2758
CY
7532012-03-24 Chong Yidong <cyd@gnu.org>
754
755 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
756 point (Bug#9623).
757
6e7e90fa
SL
758 * button.el (button-at): Minor addition to docstring.
759
b9d0879b
SM
7602012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
761
762 * newcomment.el (comment-choose-indent): No space after BOL.
763
e71cebb3
SS
7642012-03-22 Sam Steingold <sds@gnu.org>
765
766 * window.el (switch-to-prev-buffer): Revert last patch because the
767 bug turned out to be an advertised feature (Elisp manual 28.14).
768
335aff35
GM
7692012-03-22 Glenn Morris <rgm@gnu.org>
770
771 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
772 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
773
c676576a
LMI
7742012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
775
776 * net/network-stream.el (network-stream-open-starttls): Make error
777 message under Windows be less misleading.
778
126f3d39
LW
7792012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
780
781 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
782 understands (bug#9942).
783
64fee311
CY
7842012-03-22 Chong Yidong <cyd@gnu.org>
785
786 * simple.el (end-of-visible-line): Handle return value of
787 next-single-property-change properly (Bug#9371).
788
a640d29a
KH
7892012-03-22 Kenichi Handa <handa@m17n.org>
790
791 * international/quail.el (quail-insert-kbd-layout): Fix previous
792 change. To avoid unwanted bidi reordering, use
793 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
794
39675016
DG
7952012-03-21 Dmitry Gutov <dgutov@yandex.ru>
796
797 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
798 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
799 (ruby-beginning-of-indent): Be more careful with the difference
800 between word-boundary and symbol boundary.
801 (ruby-mode-syntax-table): Make : a symbol constituent.
802
0a6934fc 8032012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 804
3d008e4f
SM
805 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
806
0a6934fc
SM
8072012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
808
af67c9d7
SM
809 * progmodes/etags.el (tags-completion-at-point-function):
810 Improve last fix.
811
1acad97c
SM
812 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
813
e298b5da
SS
8142012-03-21 Sam Steingold <sds@gnu.org>
815
816 * progmodes/etags.el (tags-completion-at-point-function):
817 Avoid the error when point is inside the pattern.
818
91d82a70
JY
8192012-03-21 John Yates <john@yates-sheets.org> (tiny change)
820
821 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
822 line (Bug#10855).
823
69188b79
CY
8242012-03-21 Drew Adams <drew.adams@oracle.com>
825
826 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
827
99fc91fe
AK
8282012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
829
830 * ido.el (ido-set-current-directory, ido-read-internal)
831 (ido-choose-completion-string, ido-completion-help): Handle nil
832 value of ido-completion-buffer (Bug#11008).
833
087bbb4c
SS
8342012-03-21 Sam Steingold <sds@gnu.org>
835
836 * window.el (switch-to-prev-buffer): Do not switch to a visible
837 window previous buffer, just like with the frame previous buffers.
838
fb5b8aca
CY
8392012-03-21 Chong Yidong <cyd@gnu.org>
840
841 * faces.el (make-face, make-empty-face, copy-face):
842 * face-remap.el (face-remap-add-relative, face-remap-set-base):
843 Doc fixes.
844
dc9924b8
SM
8452012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
846
847 * wid-edit.el (widget-complete-field): Remove (bug#11051).
848 (widget-complete): Remove broken use of it.
849
f0bcceb9
CY
8502012-03-20 Chong Yidong <cyd@gnu.org>
851
dc9924b8
SM
852 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
853 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
854 characters.
855
ee52ebf3
TH
8562012-03-20 Tassilo Horn <tassilo@member.fsf.org>
857
858 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
859 to draw rectangles, not squares. (Regression introduced by revno
860 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
861
4c5779ab
CY
8622012-03-18 Chong Yidong <cyd@gnu.org>
863
864 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
865 it is not yet defined (for temacs).
866
15360934
LL
8672012-03-18 Leo Liu <sdl.web@gmail.com>
868
dc9924b8 869 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 870
d9a8eb66
EZ
8712012-03-17 Eli Zaretskii <eliz@gnu.org>
872
873 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
874 (ispell-choices-win-default-height, ispell-silently-savep)
875 (ispell-dictionary-alist, ispell-encoding8-command)
876 (ispell-check-version, ispell-aspell-find-dictionary)
877 (ispell-valid-dictionary-list, ispell-words-keyword)
878 (ispell-get-word, ispell-internal-change-dictionary)
879 (ispell-region, ispell-skip-region-list)
880 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
881 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
882 (ispell-message-text-end, ispell-message)
883 (ispell-buffer-local-parsing): Doc fix.
884
f02ff80d
J
8852012-03-13 Jambunathan K <kjambunathan@gmail.com>
886
887 * htmlfontify.el: Add support for code block fontification for ODT
888 export (Bug #9914).
889 (hfy-optimisations): Define new option
890 `body-text-only'
891 (hfy-fontify-buffer): Honor above setting.
892 (hfy-begin-span, hfy-end-span): New routines factored out form
893 `hfy-fontify-buffer'.
894 (hfy-begin-span-handler, hfy-end-span-handler): New variables
895 that permit insertion of custom tags.
896 (hfy-fontify-buffer): Use above handlers.
897 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
898 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 899 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 900 over multiple runs. This is made possible by having the caller let
f02ff80d
J
901 bind a special variable `hfy-user-sheet-assoc'.
902 (htmlfontify-string): New defun.
903 (hfy-compile-face-map): Make sure that the last char in the
904 buffer is correctly fontified.
905 (hfy-face-resolve-face): Whitespace only change.
906
9ac7a13f
EZ
9072012-03-17 Eli Zaretskii <eliz@gnu.org>
908
909 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
910 message more clear.
911
e2b5bdd7
LL
9122012-03-16 Leo Liu <sdl.web@gmail.com>
913
914 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
915
2e492df3
AM
9162012-03-16 Alan Mackenzie <acm@muc.de>
917
918 Further optimise the handling of large macros.
919
920 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
921 limit to a call of `c-literal-limits'.
922 (c-determine-+ve-limit): New function.
dc9924b8
SM
923 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
924 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
925 In CASE 5B, restrict a search limit to 500.
926 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
927
928 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
929 Restrict macro bounds to +-500 from after-change's BEG END.
930
50e94f0c
LL
9312012-03-16 Leo Liu <sdl.web@gmail.com>
932
933 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
934
6f09f6ed
AH
9352012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
936
937 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 938 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 939
c7e73d51
GM
9402012-03-16 Glenn Morris <rgm@gnu.org>
941
da986230
GM
942 * view.el (view-buffer, view-buffer-other-window)
943 (view-buffer-other-frame): Doc fixes re special mode-class.
944
0835f01e
GM
945 * subr.el (eval-after-load): If named feature is provided not from
946 a file, run after-load forms. (Bug#10946)
947
c7e73d51
GM
948 * calendar/calendar.el (calendar-insert-at-column):
949 Handle non-unit-width characters a bit better. (Bug#10978)
950
3f2eafd1
CY
9512012-03-15 Chong Yidong <cyd@gnu.org>
952
953 * emacs-lisp/ring.el (ring-extend): New function.
954 (ring-insert+extend): Extend the ring correctly (Bug#11019).
955
956 * comint.el (comint-read-input-ring)
957 (comint-add-to-input-history): Grow comint-input-ring lazily.
958
103af3fe
SM
9592012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
960
663b1677
SM
961 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
962 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
963
103af3fe
SM
964 * imenu.el: Fix multiple inheritance breakage (bug#9199).
965 (imenu-add-to-menubar): Don't add a redundant index.
966 (imenu-update-menubar): Handle a dynamically composed keymap.
967
899cb7cb
KY
9682012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
969
970 * mail/sendmail.el (mail-encode-header):
971 Bind rfc2047-encode-encoded-words to nil.
972
3809f91d
GM
9732012-03-13 Glenn Morris <rgm@gnu.org>
974
975 * calendar/calendar.el (calendar-string-spread):
976 Handle non-unit-width characters a bit better. (Bug#10978)
977
9e345a01
LL
9782012-03-13 Leo Liu <sdl.web@gmail.com>
979
980 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
981 directory and file as argument (Bug#10822).
982
4a07df36
KS
9832012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
984
985 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
986 For dynamically generated code, follow $PC.
987 (gdb-disassembly-handler-custom): Handle no function name case.
988
4aaa9356
TL
9892012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
990
991 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
992 * emulation/ws-mode.el (ws-query-replace):
993 * sort.el (sort-regexp-fields):
994 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
995
225979da
SM
9962012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
997
998 * dabbrev.el: Fix cycle completion order (bug#10963).
999 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1000 (dabbrev-completion): Don't use an obarray; provide
1001 a cycle-sort-function.
1002
e2f1fdab
LL
10032012-03-12 Leo Liu <sdl.web@gmail.com>
1004
dc9924b8 1005 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
1006 (kill-do-not-save-duplicates): Doc fix.
1007
b19490ed
SM
10082012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1009
1010 * dabbrev.el: Fix cycle completion (bug#10963).
1011 Use lexical binding and wrap to 80 columns.
1012 (dabbrev-completion): Delay computing the list of completions.
1013
4b05d722
KH
10142012-03-12 Kenichi Handa <handa@m17n.org>
1015
1016 * international/quail.el (quail-insert-kbd-layout): Surround each
1017 row by LRO and PDF instead of inserting many LRMs. Pad the left
1018 and right of each non-spacing marks. Insert invisible space
1019 between lower and upper characters to prevent composition.
1020
dbbc2e69
SM
10212012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1022
1023 * minibuffer.el (minibuffer-complete): Don't get confused when the
1024 function is run twice via different commands (bug#10958).
1025 (complete-with-action): Fix docstring.
1026
292112ed
CY
10272012-03-12 Chong Yidong <cyd@gnu.org>
1028
5d1ac394
CY
1029 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1030 (nxml-completion-at-point-function): New function.
1031 (nxml-mode): Use it.
1032 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1033
292112ed
CY
1034 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1035 Load generated autoloads file before byte compiling (Bug#10970).
1036 (package--make-autoloads-and-compile): New helper fun.
1037
4098f8f7
CS
10382012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1039
1040 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1041
8f754691
MA
10422012-03-11 Michael Albinus <michael.albinus@gmx.de>
1043
1044 * autorevert.el (auto-revert-handler): Ensure, that
1045 file-readable-p is applied only for local files or in
1046 auto-revert-tail-mode.
1047
e29ab36b
AS
10482012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1049
dbbc2e69
SM
1050 * server.el (server-eval-at): Handle non-tcp connections.
1051 Decode result string.
ad0bf5b6 1052
e29ab36b
AS
1053 * server.el (server-msg-size): New constant.
1054 (server-reply-print): New function.
1055 (server-eval-and-print): Use it.
1056 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1057 Handle -print-nonl.
1058
de5939ba
CS
10592012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1060
1061 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1062 (Bug#10987).
1063
0c93eabf
CY
10642012-03-11 Chong Yidong <cyd@gnu.org>
1065
397a688f
CY
1066 * simple.el (goto-line): Doc fix (Bug#9938).
1067
2cc775f9
CY
1068 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1069
0c93eabf
CY
1070 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1071 when finished (Bug#10963).
1072
c491fa41
MR
10732012-03-11 Martin Rudalics <rudalics@gmx.at>
1074
1075 * window.el (split-window-below): Fix bug in case where
1076 split-window-keep-point is nil (Bug#10971).
1077
300e8fa5
JL
10782012-03-11 Juri Linkov <juri@jurta.org>
1079
1080 * replace.el (replace-highlight): Set isearch-word to nil
1081 unconditionally. (Bug#10887)
1082
dbf6c5a1
EZ
10832012-03-10 Eli Zaretskii <eliz@gnu.org>
1084
1085 * net/mairix.el (mairix-replace-invalid-chars): Rename from
1086 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 1087 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
1088 (mairix-widget-create-query): Add usage information about mairix
1089 search forms: negating words, searching for substrings, etc.
1090
b9e501de
JP
10912012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1092
1093 * international/fontset.el (font-encoding-alist): Add an entry for
1094 ksx1001 (Bug#5667).
1095
92795c91
RS
10962012-03-10 Richard Stallman <rms@gnu.org>
1097
1694e6c1
RS
1098 * mail/sendmail.el (mail-encode-header):
1099 Set rfc2047-encode-encoded-words.
1100
607e8555
RS
1101 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1102
de3bc99a
RS
1103 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1104 view buffer means not swapped.
1105 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1106 (rmail-write-region-annotate): Error if real text has disappeared.
1107
92795c91
RS
1108 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1109
699bd04e
CY
11102012-03-10 Chong Yidong <cyd@gnu.org>
1111
1112 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
1113 * emulation/cua-base.el (cua--init-keymaps):
1114 Add delete-forward-char to remappings (Bug#9666).
699bd04e 1115
570a1714
MR
11162012-03-10 Martin Rudalics <rudalics@gmx.at>
1117
dbbc2e69
SM
1118 * speedbar.el (speedbar-unhighlight-one-tag-line):
1119 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 1120
82dcf4e4
CY
11212012-03-10 Chong Yidong <cyd@gnu.org>
1122
7a2c7ca7
CY
1123 * minibuffer.el (completion-in-region, completion-help-at-point):
1124 Give the completion field overlay a high priority (Bug#6830).
1125
82dcf4e4
CY
1126 * dired.el (dired-goto-file): Recognize absolute file name
1127 listings (Bug#7126).
1128 (dired-goto-file-1): New helper function.
1129 (dired-toggle-read-only): Inhibit warnings.
1130
052e28ac
MA
11312012-03-09 Michael Albinus <michael.albinus@gmx.de>
1132
75f1671a 1133 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
1134 there are no properties.
1135
95d5e396
LL
11362012-03-09 Leo Liu <sdl.web@gmail.com>
1137
1138 * savehist.el (savehist-printable): Stricter check for string
1139 value (Bug#10937).
1140
3f018d6d
EZ
11412012-03-09 Eli Zaretskii <eliz@gnu.org>
1142
dbbc2e69
SM
1143 * mail/smtpmail.el (smtpmail-send-it):
1144 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
1145 valid mbox format.
1146
f7fd3d79
GM
11472012-03-09 Glenn Morris <rgm@gnu.org>
1148
1149 * files.el (dir-locals-find-file):
1150 Don't check result is regular, readable.
1151 (dir-locals-read-from-file): Demote errors.
1152
6ff6e72f
EZ
11532012-03-08 Eli Zaretskii <eliz@gnu.org>
1154
dbbc2e69
SM
1155 * international/quail.el (quail-insert-kbd-layout):
1156 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
1157 layout cell, to prevent their reordering by bidi display engine.
1158 For details, see the discussion in
1159 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1160
9cec7834
AM
11612012-03-08 Alan Mackenzie <acm@muc.de>
1162
1163 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1164 the starting position; make it extend the marked region when
1165 invoked repeatedly - all under appropriate circumstances.
1166 Fixes bugs #5525, #10906.
1167
9a40b8d4
GM
11682012-03-08 Glenn Morris <rgm@gnu.org>
1169
1170 * files.el (locate-dominating-file, dir-locals-find-file):
1171 Undo 2012-03-06 change.
1172
7a08ed35
EZ
11732012-03-07 Eli Zaretskii <eliz@gnu.org>
1174
dbbc2e69
SM
1175 * international/quail.el (quail-help):
1176 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
1177 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1178 for the reason.
1179
5aca4f71 11802012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
1181
1182 Avoid superfluous registering of signals. (Bug#10807)
1183
1184 * notifications.el (notifications-on-action-object)
1185 (notifications-on-close-object): New defvars.
1186 (notifications-on-action-signal, notifications-on-closed-signal):
1187 Unregister the signal if not needed any longer.
1188 (notifications-notify): Register `notifications-action-signal' or
1189 `notifications-closed-signal', if :on-action or :on-close has been
1190 passed as argument.
1191
78e8b10a
CY
11922012-03-07 Chong Yidong <cyd@gnu.org>
1193
1194 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1195 non-X platforms.
1196
69481eb8
GM
11972012-03-06 Glenn Morris <rgm@gnu.org>
1198
1199 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1200 (x-disown-selection-internal, x-get-selection-internal):
1201 Doc fix (add arglist signatures). (Bug#10783)
1202
133b8e11
KS
12032012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1204
1205 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1206 Handle breakpoints with no "type".
1207
99a83064
GM
12082012-03-06 Glenn Morris <rgm@gnu.org>
1209
1210 * files.el (locate-dominating-file): Add optional predicate argument.
1211 (dir-locals-find-file): Make use of above change.
1212
17798e78
TTN
12132012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1214
1215 * info.el (Info-insert-dir): Also try "dir.gz".
1216
eb182446
GM
12172012-03-06 Glenn Morris <rgm@gnu.org>
1218
8f2114ee
GM
1219 * files.el (dir-locals-find-file):
1220 Ignore non-readable or non-regular files. (Bug#10928)
1221
eb182446
GM
1222 * files.el (locate-dominating-file): Doc fix.
1223
24679323
AS
12242012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1225
1226 * calendar/calendar.el (calendar-set-mode-line):
1227 `getenv' returns a string. (Bug#10951)
1228
01d972a9
LL
12292012-03-05 Leo Liu <sdl.web@gmail.com>
1230
109aa8a9
LL
1231 * simple.el (backward-delete-char-untabify): Constrain point to
1232 field (Bug#10939).
1233
01d972a9
LL
1234 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1235
10607bea
CY
12362012-03-05 Chong Yidong <cyd@gnu.org>
1237
1238 * simple.el (count-words): If called from Lisp, return the word
1239 count, for symmetry with `count-lines'. Arglist changed.
1240 (count-words--message): Args changed. Consolidate counting code
1241 from count-words and count-words-region.
1242 (count-words-region): Caller changed.
1243 (count-lines-region): Make it an obsolete alias.
1244
5dd11cfe
TH
12452012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1246
1247 * saveplace.el (save-place-to-alist)
1248 (save-place-ignore-files-regexp): Allow value nil to disable this
1249 feature.
1250
c349f4e6
CY
12512012-03-04 Chong Yidong <cyd@gnu.org>
1252
1253 * faces.el (face-spec-reset-face): For the default face, reset the
1254 attributes to default values (Bug#10748).
1255
e627be4c
LMI
12562012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1257
1258 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1259 previous patch: Check `message-send-mail-function', and not the
1260 default function (bug#10897).
1261
ebeabff4
MA
12622012-03-04 Michael Albinus <michael.albinus@gmx.de>
1263
a41a6cf4
MA
1264 * notifications.el (notifications-on-action-signal)
1265 (notifications-on-closed-signal): Check for unique service name of
1266 incoming event. Fix error in removing entry.
ebeabff4 1267 (top): Register for signals with wildcard service name.
a41a6cf4 1268 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 1269
c1ca42b4
CY
12702012-03-04 Chong Yidong <cyd@gnu.org>
1271
dc9924b8 1272 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 1273
ea16568d
GM
12742012-03-04 Glenn Morris <rgm@gnu.org>
1275
1276 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1277 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1278 (expand-abbrev, define-abbrev-table): Doc fixes.
1279
fbae4637
LMI
12802012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1281
1282 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1283 `message-default-send-mail-function' and not `send-mail-function'
1284 when doing the prompting for `sendmail-query-once' before sending
1285 in Message buffers (bug#10897).
1286
a1e7225c
LMI
1287 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1288 This is inconsistent with all the other stream functions, which leave
1289 the setting up to the higher levels (if so wanted) (bug#10931).
1290
56d093a9
AM
12912012-03-02 Alan Mackenzie <acm@muc.de>
1292
1293 Depessimize the handling of very large macros.
1294
1295 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1296 (c-macro-cache-syntactic): New variables to implement a one
1297 element macro cache.
1298 (c-invalidate-macro-cache): New function.
1299 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1300 Adapt to use the new cache.
1301 (c-state-safe-place): Use better the cache of safe positions.
1302 (c-state-semi-nonlit-pos-cache)
1303 (c-state-semi-nonlit-pos-cache-limit):
1304 New variables for...
1305 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1306 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
1307 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1308 Use c-state-semi-safe-place.
56d093a9 1309
dbbc2e69
SM
1310 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1311 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 1312
817e5c3d
MA
13132012-03-02 Michael Albinus <michael.albinus@gmx.de>
1314
dbbc2e69
SM
1315 * jka-compr.el (jka-compr-call-process):
1316 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
1317 not remote.
1318
a032a702
MA
13192012-03-01 Michael Albinus <michael.albinus@gmx.de>
1320
1321 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1322 access of FILE2, if FILE1 does not exist.
1323
99a54f21
MA
1324 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1325 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1326
1327 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1328 Add "PAGER=" to `process-environment'.
1329
f6561e1f
MM
13302012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1331
1332 * progmodes/sql.el: Bug fix
1333 (sql-get-login-ext): Save login values in globals.
1334 (sql-get-login): Use new version of `sql-get-login-ext'.
1335 (sql-interactive-mode): Set global `sql-connection' to nil.
1336 (sql-connect): Set global values for connection.
1337 (sql-product-interactive): Save global values as buffer local.
1338
2d44d9cc
LL
13392012-02-29 Leo Liu <sdl.web@gmail.com>
1340
1341 * abbrev.el (define-abbrevs): Reset sys to nil.
1342
96b49301 13432012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1344
bf7f9bc5
JB
1345 * files.el (file-equal-p): Rename from `files-equal-p'.
1346 Return nil when one or both files don't exist.
96b49301 1347 (file-subdir-of-p): Now only top directory must exists,
1348 return nil if it doesn't.
bf7f9bc5
JB
1349 (copy-directory): No need to test with `file-subdir-of-p' after
1350 creating dir.
1351 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1352 to `file-equal-p'.
96b49301 1353
44e97401
GM
13542012-02-28 Glenn Morris <rgm@gnu.org>
1355
1356 * shell.el (shell-mode):
1357 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1358 * play/landmark.el (landmark-font-lock-face-O):
1359 * play/handwrite.el (handwrite):
1360 * play/gomoku.el (gomoku-O):
1361 * net/browse-url.el (browse-url-browser-display):
1362 * international/mule.el (define-charset):
1363 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1364 * filesets.el (filesets-find-file-delay):
1365 * eshell/em-xtra.el (eshell-xtra):
1366 * eshell/em-unix.el (eshell-grep):
1367 * emulation/viper.el (viper-mode):
1368 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1369 * emacs-lisp/easymenu.el (easy-menu-define):
1370 * calendar/timeclock.el (timeclock-use-display-time):
1371 * bs.el (bs-mode):
1372 * bookmark.el (bookmark-save-flag):
1373 Doc fix (standardize possessive apostrophe usage).
1374
c98c6276
CY
13752012-02-27 Chong Yidong <cyd@gnu.org>
1376
bf7f9bc5
JB
1377 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1378 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 1379
c98c6276
CY
1380 * font-lock.el (font-lock-specified-p): Rename from
1381 font-lock-spec-present. Callers changed.
1382
9c62cd04 13832012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 1384
bf7f9bc5
JB
1385 * emacs-lisp/package.el (package-compute-transaction):
1386 Handle holding a package version to t in package-load-list.
8ac9e529 1387
530739c9
MA
13882012-02-26 Michael Albinus <michael.albinus@gmx.de>
1389
1390 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1391 (tramp-get-inode, tramp-get-device): Use cached values.
1392
487915d7
AM
13932012-02-26 Alan Mackenzie <acm@muc.de>
1394
1395 Check there is a font-lock specification before doing initial
1396 fontification.
1397
1398 * font-core.el (font-lock-mode): Move the conditional from
1399 :after-hook to font-lock-initial-fontify.
1400 (font-lock-default-function): Move the check for a specification
1401 to font-lock-spec-present.
1402
dc9924b8 1403 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
1404 (font-lock-spec-present): New function.
1405
4fd96557
JB
14062012-02-26 Jim Blandy <jimb@red-bean.com>
1407
1408 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1409 (gdb-send): Apply it to the operand of the '-interpreter-exec
1410 console' command, so that we can pass arguments with (say) quotes
1411 in them. Store exact string sent in gdb-debug-log (Bug#10765).
1412
9a4888c0
CY
14132012-02-26 Chong Yidong <cyd@gnu.org>
1414
07498861
CY
1415 * help-fns.el (describe-function-1): Clarify description of
1416 remapping (Bug#10844).
1417
9a4888c0
CY
1418 * files.el (files-equal-p): Doc fix.
1419 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
1420 and quit the loop once a mismatch is found.
1421
ea8fb88d
JB
14222012-02-25 Juanma Barranquero <lekktu@gmail.com>
1423
1424 * bs.el (bs--show-with-configuration): Don't throw an error
1425 if the window cannot be split; otherwise, subsequent calls to
1426 bs-show fail, restoring a stale window config. (Bug#10882)
1427
525795c1
JD
14282012-02-25 Jan Djärv <jan.h.d@swipnet.se>
1429
1430 * term/ns-win.el (global-map): Bind ns-drag-file to
1431 ns-find-file (Bug#5855, Bug#10050).
1432
f008086f
AS
14332012-02-25 Andreas Schwab <schwab@linux-m68k.org>
1434
1435 * calendar/parse-time.el (parse-time-string): Allow extractor to
1436 return nil.
1437
a3fcfa99
MA
14382012-02-25 Michael Albinus <michael.albinus@gmx.de>
1439
91027d08
JB
1440 * net/tramp.el (tramp-file-name-for-operation):
1441 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
1442
1443 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
1444 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1445 Add COPY-CONTENTS argument.
a3fcfa99 1446
67b0de11
CY
14472012-02-25 Chong Yidong <cyd@gnu.org>
1448
1449 Add custom groups for VC backends, for consistency with vc-bzr.
1450
1451 * vc/vc-arch.el (vc-arch):
1452 * vc/vc-cvs.el (vc-cvs):
1453 * vc/vc-git.el (vc-git):
1454 * vc/vc-hg.el (vc-hg):
1455 * vc/vc-mtn.el (vc-mtn):
1456 * vc/vc-rcs.el (vc-rcs):
1457 * vc/vc-sccs.el (vc-sccs):
1458 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1459 All relevant defcustoms reassigned.
1460
3c9dfce6
CY
14612012-02-25 Chong Yidong <cyd@gnu.org>
1462
1339bf43
CY
1463 * newcomment.el (comment-styles): Add autoload (Bug#10868).
1464
3c9dfce6
CY
1465 * term/x-win.el (x-initialize-window-system): Reduce default for
1466 x-selection-timeout to 5 seconds (Bug#8869).
1467
25b2e303 14682012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1469
ec70a47d
GM
1470 * files.el (files-equal-p, file-subdir-of-p): New functions.
1471 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 1472 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
1473 * dired-aux.el (dired-copy-file-recursive): Same.
1474 (dired-create-files): Modify destination when source is equal to
1475 dest when copying files.
53a46cd0 1476 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 1477
914260cd
MA
14782012-02-24 Michael Albinus <michael.albinus@gmx.de>
1479
1480 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1481 (Bug#10874)
1482
2cb228f7
AM
14832012-02-23 Alan Mackenzie <acm@muc.de>
1484
1485 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1486 parameter "after-hook:" to allow the expansion to run code after
1487 the execution of the mode hooks.
1488
1489 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 1490 from font-lock-mode-internal.
2cb228f7 1491
91027d08 1492 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
1493 :after-hook.
1494
8f0fde21
SM
14952012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1496
3e88618b
SM
1497 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1498 (completion--cache-all-sorted-completions): New function.
1499 (completion-all-sorted-completions): Use it.
1500 (completion--do-completion, minibuffer-force-complete):
1501 Use it to re-instate the flush hook.
1502
8f0fde21
SM
1503 * icomplete.el (icomplete-completions): Replace last fix with a better
1504 one (bug#10850).
1505
8e911f6f
DG
15062012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1507
1508 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1509 when it might call us back infinitely (bug#10797).
1510
49fe4321
GM
15112012-02-23 Glenn Morris <rgm@gnu.org>
1512
1513 * minibuffer.el (completion-category-overrides): Doc fix.
1514
b291b572
SM
15152012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1516
1517 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1518 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1519
31a9ef2e
GM
15202012-02-23 Glenn Morris <rgm@gnu.org>
1521
5e6e6794 1522 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
1523 (authors-obsolete-files-regexps, authors-ignored-files)
1524 (authors-ambiguous-files, authors-renamed-files-alist):
1525 Add more entries.
1526
0bd1e074
JL
15272012-02-23 Juri Linkov <juri@jurta.org>
1528
1529 * isearch.el (isearch-occur): Sync interactive spec with occur's
1530 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1531
b617673c
JL
1532 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1533
19e9789e
JL
15342012-02-22 Juri Linkov <juri@jurta.org>
1535
1536 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1537 (ucs-insert): Doc fix. Check for hex digits in the string.
1538 Don't display `nil' in the error message. (Bug#10857)
1539
f41ce09d
AM
15402012-02-22 Alan Mackenzie <acm@muc.de>
1541
7a71b18d 1542 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 1543
ac2eceee
GM
15442012-02-22 Glenn Morris <rgm@gnu.org>
1545
1546 * ffap.el (ffap-c-path):
1547 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1548
abd1f678
CY
15492012-02-22 Chong Yidong <cyd@gnu.org>
1550
1551 * custom.el (load-theme): Doc fix.
1552
f25aef2e
GM
15532012-02-22 Glenn Morris <rgm@gnu.org>
1554
1555 * dired-x.el (dired-guess-shell-alist-default):
1556 Remove escape sequences from nroff output. (Bug#172)
1557
5f8dc2ca
GM
15582012-02-21 Glenn Morris <rgm@gnu.org>
1559
6ff86ec4
GM
1560 * vc/emerge.el (emerge-defvar-local):
1561 Set `permanent-local' property rather than unused `preserved'.
1562
be3223a3 1563 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
1564 (picture-mode-map): Use it. (Bug#10860)
1565 (picture-mode): Doc fix.
1566
3fe58f4f
JB
15672012-02-21 Juanma Barranquero <lekktu@gmail.com>
1568
1569 * newcomment.el (uncomment-region-default): Remove unused binding.
1570
f9a998c3
GM
15712012-02-21 Glenn Morris <rgm@gnu.org>
1572
1573 * textmodes/picture.el (picture-motion, picture-motion-reverse)
1574 (picture-self-insert, picture-tab-chars): Doc fix.
1575 (picture-mode-map): Fix C-a, C-e.
1576
c6029348
GM
15772012-02-20 Glenn Morris <rgm@gnu.org>
1578
1579 * emacs-lisp/authors.el (authors-aliases): Add another entry.
1580
ab1ce9d7
LL
15812012-02-20 Leo Liu <sdl.web@gmail.com>
1582
1583 * icomplete.el (icomplete-completions): Check FROM arg before
1584 passing to substring (Bug#10850).
1585
0fd40f89
CY
15862012-02-19 Chong Yidong <cyd@gnu.org>
1587
1588 * comint.el: Require ansi-color.
1589 (comint-output-filter-functions): Add ansi-color-process-output.
1590
1591 * ansi-color.el: Don't set comint-output-filter-functions; it is
1592 now in the initial value defined in comint.el.
1593 (ansi-color-apply-face-function): New variable.
1594 (ansi-color-apply-on-region): Use it.
1595 (ansi-color-apply-overlay-face): New function.
1596
1597 * shell.el (shell): No need to require ansi-color.
1598 (shell-mode): Use ansi-color-apply-face-function to highlight
1599 color escapes using font-lock-face property (Bug#10835).
1600
20af2394
CY
16012012-02-19 Chong Yidong <cyd@gnu.org>
1602
1603 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1604 mode-line formats (Bug#10839).
1605
e23a3fbe
GM
16062012-02-18 Glenn Morris <rgm@gnu.org>
1607
b474519e
GM
1608 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1609
1610 * mail/undigest.el (unforward-rmail-message): Doc fix.
1611
e23a3fbe
GM
1612 * saveplace.el (save-place-ignore-files-regexp): Add :version.
1613
57939ff4
EZ
16142012-02-18 Eli Zaretskii <eliz@gnu.org>
1615
1616 * international/characters.el (script-list): Sync with the latest
1617 Unicode Character Database.
1618
0c23686e
AS
16192012-02-18 Andreas Schwab <schwab@linux-m68k.org>
1620
1621 * international/titdic-cnv.el: Remove duplicate coding tag.
1622 * language/cham.el: Likewise.
1623 * language/tai-viet.el: Likewise.
1624
6818b449
GM
16252012-02-18 Glenn Morris <rgm@gnu.org>
1626
1627 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1628 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1629 (calendar-bahai-all-holidays-flag, calendar-other-dates):
1630 * calendar/diary-lib.el (diary-abbreviated-year-flag):
1631 * calendar/holidays.el (holiday-bahai-holidays)
1632 (calendar-holidays, list-holidays):
1633 Use utf-8 Bahá'í in doc-strings, menus, etc.
1634
0311a3fc
TH
16352012-02-17 Tassilo Horn <tassilo@member.fsf.org>
1636
1637 * saveplace.el (save-place-ignore-files-regexp): New variable
1638 allowing for excluding files from saving their location of point.
1639 The default value matches the temporary commit message editing
1640 files from Git, SVN, Bazaar, and Mercurial.
1641 (save-place-to-alist): Use it.
1642
eb864a71
LM
16432012-02-17 Lawrence Mitchell <wence@gmx.li>
1644 Stefan Monnier <monnier@iro.umontreal.ca>
1645
1646 * newcomment.el (uncomment-region-default): Don't leave extra space
1647 when an arg is provided (bug#8150).
1648
ee0ce425
TZ
16492012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1650
eb864a71 1651 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 1652
95ddf442
GM
16532012-02-17 Glenn Morris <rgm@gnu.org>
1654
1655 * net/socks.el: Require network-stream. (Bug#10599)
1656
48dd1e39 16572012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
1658
1659 * international/charprop.el:
1660 * international/uni-name.el:
1661 * international/uni-old-name.el:
1662 * international/uni-comment.el: Regenerate.
1663
d68cd087
GM
16642012-02-16 Glenn Morris <rgm@gnu.org>
1665
1666 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1667 Interactively in calendar buffer, give an error if not on a date.
1668
13932042
GM
16692012-02-15 Glenn Morris <rgm@gnu.org>
1670
1671 * shell.el (shell-delimiter-argument-list):
1672 Revert 2011-02-17 change. (Bug#8027)
1673
c3a70e2b
CY
16742012-02-15 Chong Yidong <cyd@gnu.org>
1675
60236b0d
CY
1676 * minibuffer.el (completion-at-point-functions): Doc fix.
1677
c3a70e2b
CY
1678 * custom.el (defcustom): Doc fix; note use of defvar.
1679
9f26dc24
GM
16802012-02-15 Glenn Morris <rgm@gnu.org>
1681
1682 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1683 Doc fixes.
1684
6546b134
GM
16852012-02-14 Glenn Morris <rgm@gnu.org>
1686
1687 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1688
d29b2b4c
LI
16892012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
1690
1691 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1692 way the ports list is computed.
835bdcba
LI
1693 (smtpmail-query-smtp-server): Prompt the user for a port number if
1694 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 1695
08dcdbc9
TZ
16962012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
1697
1698 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1699
2605051a
GM
17002012-02-13 Glenn Morris <rgm@gnu.org>
1701
1702 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
1703
7ee99f32
TZ
17042012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1705
1706 * net/gnutls.el (gnutls-trustfiles): New variable.
1707 (gnutls-negotiate): Use it.
1708
5f0af64f
LI
17092012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1710
1711 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1712 does its stuff if Gnus is running.
1713
c14fcc95
AM
17142012-02-13 Alan Mackenzie <acm@muc.de>
1715
1716 Fix a loop in c-set-fl-decl-start.
1717
7a71b18d 1718 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
1719 c-backward-syntactic-ws actually moves backwards.
1720
142b4d90
LL
17212012-02-13 Leo Liu <sdl.web@gmail.com>
1722
1723 * net/rcirc.el (rcirc-markup-attributes): Move point to the
1724 beginning so that all \C-o chars are removed.
1725
fa9958a6
TZ
17262012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1727
dc9924b8 1728 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 1729
0bc5886a
AM
17302012-02-12 Alan Mackenzie <acm@muc.de>
1731
1732 Fix infinite loop with long macros.
1733 * cc-engine.el (c-state-safe-place): Handle macros properly.
1734
d4bd55e7
CY
17352012-02-12 Chong Yidong <cyd@gnu.org>
1736
1737 * window.el (display-buffer): Doc fix (Bug#10785).
1738
66f3fe22
GM
17392012-02-12 Glenn Morris <rgm@gnu.org>
1740
bd7da63e
GM
1741 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1742 (x-disown-selection-internal, x-get-selection-internal):
1743 Sync docs with the xselect.c versions.
1744
66f3fe22
GM
1745 * allout-widgets.el: Add missing license notice.
1746
3e0d2fa7
GM
17472012-02-11 Glenn Morris <rgm@gnu.org>
1748
cfecdf09
GM
1749 * select.el (x-get-selection-internal, x-own-selection-internal)
1750 (x-disown-selection-internal):
1751 * x-dnd.el (x-get-selection-internal): Update declarations.
1752
6d216d7f
GM
1753 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1754
2bed3f04
GM
1755 * window.el (window-sides-slots):
1756 * tool-bar.el (tool-bar-position):
1757 * term/xterm.el (xterm-extra-capabilities):
1758 * ses.el (ses-self-reference-early-detection):
1759 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1760 (verilog-auto-wire-type)
1761 (verilog-auto-delete-trailing-whitespace)
1762 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1763 (verilog-auto-tieoff-declaration):
1764 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1765 (sql-oracle-statement-starters, sql-oracle-scan-on):
1766 * progmodes/prolog.el (prolog-align-comments-flag)
1767 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1768 (prolog-left-indent-regexp, prolog-paren-indent-p)
1769 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1770 (prolog-types, prolog-mode-specificators)
1771 (prolog-determinism-specificators, prolog-directives)
1772 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1773 (prolog-electric-dot-flag)
1774 (prolog-electric-dot-full-predicate-template)
1775 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1776 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1777 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1778 (prolog-program-switches, prolog-prompt-regexp)
1779 (prolog-debug-on-string, prolog-debug-off-string)
1780 (prolog-trace-on-string, prolog-trace-off-string)
1781 (prolog-zip-on-string, prolog-zip-off-string)
1782 (prolog-use-standard-consult-compile-method-flag)
1783 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1784 (prolog-imenu-max-lines, prolog-info-predicate-index)
1785 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1786 (prolog-char-quote-workaround):
1787 * progmodes/cc-vars.el (c-defun-tactic):
1788 * net/tramp.el (tramp-encoding-command-interactive)
1789 (tramp-local-end-of-line):
1790 * net/soap-client.el (soap-client):
1791 * net/netrc.el (netrc-file):
1792 * net/gnutls.el (gnutls):
1793 * minibuffer.el (completion-category-overrides)
1794 (completion-cycle-threshold)
1795 (completion-pcm-complete-word-inserts-delimiters):
1796 * man.el (Man-name-local-regexp):
1797 * mail/feedmail.el (feedmail-display-full-frame):
1798 * international/characters.el (glyphless-char-display-control):
1799 * eshell/em-ls.el (eshell-ls-date-format):
1800 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1801 (lisp-lambda-list-keyword-parameter-indentation)
1802 (lisp-lambda-list-keyword-parameter-alignment):
1803 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1804 * dired-x.el (dired-omit-verbose):
1805 * cus-theme.el (custom-theme-allow-multiple-selections):
1806 * calc/calc.el (calc-highlight-selections-with-faces)
1807 (calc-lu-field-reference, calc-lu-power-reference)
1808 (calc-note-threshold):
1809 * battery.el (battery-mode-line-limit):
1810 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1811 (archive-7z-update):
1812 * allout.el (allout-prefixed-keybindings)
1813 (allout-unprefixed-keybindings)
1814 (allout-inhibit-auto-fill-on-headline)
1815 (allout-flattened-numbering-abbreviation):
1816 * allout-widgets.el (allout-widgets-auto-activation)
1817 (allout-widgets-icons-dark-subdir)
1818 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1819 (allout-widgets-theme-dark-background)
1820 (allout-widgets-theme-light-background)
1821 (allout-widgets-item-image-properties-emacs)
1822 (allout-widgets-item-image-properties-xemacs)
1823 (allout-widgets-run-unit-tests-on-load)
1824 (allout-widgets-time-decoration-activity)
1825 (allout-widgets-hook-error-post-time)
1826 (allout-widgets-track-decoration):
1827 Add missing :version tags to new defcustoms and defgroups.
1828
5fec1b8e
GM
1829 * progmodes/sql.el (sql-ansi-statement-starters)
1830 (sql-oracle-statement-starters): Add custom type.
1831
3e0d2fa7
GM
1832 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1833 (prolog-system-version): Give it a type.
1834
90b671e2
EZ
18352012-02-11 Eli Zaretskii <eliz@gnu.org>
1836
1837 * term/pc-win.el (x-select-text, x-selection-owner-p)
1838 (x-own-selection-internal, x-disown-selection-internal)
1839 (x-get-selection-internal): Sync doc strings and argument lists
1840 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1841
5eac0c02
LL
18422012-02-11 Leo Liu <sdl.web@gmail.com>
1843
1844 * progmodes/python.el (python-end-of-statement): Fix infinite
1845 loop. (Bug#10788)
1846
f82cb659
GM
18472012-02-10 Glenn Morris <rgm@gnu.org>
1848
1849 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1850 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1851
cc26d239
LI
18522012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1853
1854 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1855 about SMTP before checking the From header.
1856
91027d08 1857 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
1858 into own function for reuse by emacsbug.el.
1859
1be3ca5a
LL
18602012-02-10 Leo Liu <sdl.web@gmail.com>
1861
1862 * subr.el (condition-case-unless-debug): Rename from
1863 condition-case-no-debug. All callers changed.
1864 (with-demoted-errors): Fix caller.
1865
1866 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1867 * nxml/rng-valid.el (rng-do-some-validation):
1868 * emacs-lisp/package.el (package-refresh-contents)
1869 (package-menu-execute):
1870 * desktop.el (desktop-create-buffer):
91027d08 1871 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 1872
b011fbfe
GM
18732012-02-10 Glenn Morris <rgm@gnu.org>
1874
b2096d72
GM
1875 * textmodes/bibtex.el:
1876 Add missing :version tags for new/changed defcustoms.
1877
b011fbfe
GM
1878 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1879
4c7e65bf
LI
18802012-02-09 Lars Ingebrigtsen <larsi@rusty>
1881
1882 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1883 (smtpmail-via-smtp): Use it, or fall back on the From address.
1884 (smtpmail-send-it): Ditto.
1885
f3934f6f
SM
18862012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1887
1888 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1889 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1890 (byte-compile-tmp-var): New const.
1891 (byte-compile-defvar): Use it to minimize .elc size.
1892 Just use `defvar' rather than simulate it (bug#10761).
1893
a075a2c5
GM
18942012-02-09 Glenn Morris <rgm@gnu.org>
1895
cf3aa21b
GM
1896 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1897
354998cd
GM
1898 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1899 Add :version tags.
1900
dc9924b8
SM
1901 * progmodes/compile.el (compilation-error-screen-columns)
1902 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 1903
dab3703d
GM
1904 * vc/log-view.el (log-view-toggle-entry-display):
1905 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1906
3f88cd72
GM
1907 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1908 (report-emacs-bug-can-use-xdg-email):
1909 (report-emacs-bug-insert-to-mailer): Doc fixes.
1910 (report-emacs-bug): Message fix.
1911
d95b247d
GM
1912 * net/browse-url.el (browse-url-can-use-xdg-open)
1913 (browse-url-xdg-open): Doc fixes.
1914
a075a2c5
GM
1915 * electric.el (electric-indent-mode, electric-pair-mode)
1916 (electric-layout-rules, electric-layout-mode): Doc fixes.
1917 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1918
ffb6157e
MR
19192012-02-08 Martin Rudalics <rudalics@gmx.at>
1920
1921 * server.el (server-unselect-display): Don't inadvertently kill
1922 the current buffer. (Bug#10729)
1923
e1ac4066
GM
19242012-02-08 Glenn Morris <rgm@gnu.org>
1925
34e8a2da
GM
1926 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1927 (sql-list-table): Doc fixes.
1928
b4ac6e8c
GM
1929 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1930 Comment out (does nothing).
1931
e1ac4066
GM
1932 * completion.el (dynamic-completion-mode):
1933 * dirtrack.el (dirtrack-debug-mode):
1934 * electric.el (electric-layout-mode):
1935 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1936 * face-remap.el (text-scale-mode, buffer-face-mode):
1937 * iimage.el (iimage-mode):
1938 * image-mode.el (image-transform-mode):
1939 * minibuffer.el (completion-in-region-mode):
1940 * scroll-lock.el (scroll-lock-mode):
1941 * simple.el (next-error-follow-minor-mode):
1942 * tar-mode.el (tar-subfile-mode):
1943 * tooltip.el (tooltip-mode):
1944 * vcursor.el (vcursor-use-vcursor-map):
1945 * wid-browse.el (widget-minor-mode):
1946 * emulation/tpu-edt.el (tpu-edt-mode):
1947 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1948 * international/iso-ascii.el (iso-ascii-mode):
1949 * language/thai-util.el (thai-word-mode):
1950 * mail/supercite.el (sc-minor-mode):
1951 * net/goto-addr.el (goto-address-mode):
1952 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1953 * progmodes/cwarn.el (cwarn-mode):
1954 * progmodes/flymake.el (flymake-mode):
1955 * progmodes/glasses.el (glasses-mode):
1956 * progmodes/hideshow.el (hs-minor-mode):
1957 * progmodes/pascal.el (pascal-outline-mode):
1958 * textmodes/enriched.el (enriched-mode):
1959 * vc/smerge-mode.el (smerge-mode):
1960 Doc fixes (minor mode argument).
1961
5e0d957f
EZ
19622012-02-07 Eli Zaretskii <eliz@gnu.org>
1963
1964 * ls-lisp.el (ls-lisp-sanitize): New function.
1965 (ls-lisp-insert-directory): Use it to fix or remove any elements
1966 in file-alist with missing attributes. (Bug#4673)
1967
98d7371e
AM
19682012-02-07 Alan Mackenzie <acm@muc.de>
1969
1970 Fix spurious recognition of c-in-knr-argdecl.
1971
1972 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1973 putative K&R region.
1974
667ced3a
AM
19752012-02-07 Alan Mackenzie <acm@muc.de>
1976
eb864a71
LM
1977 * progmodes/cc-engine.el (c-forward-objc-directive):
1978 Prevent looping in "#pragma mark @implementation".
667ced3a 1979
5b77774d
MA
19802012-02-07 Michael Albinus <michael.albinus@gmx.de>
1981
1982 * notifications.el (notifications-on-closed-signal): Make `reason'
1983 optional. (Bug#10744)
1984
af008560
GM
19852012-02-07 Glenn Morris <rgm@gnu.org>
1986
60d47423
GM
1987 * emacs-lisp/easy-mmode.el (define-minor-mode):
1988 Doc fixes for the macro and the mode it defines.
1989
dd605cc4
GM
1990 * image.el (imagemagick-types-inhibit): Doc fix.
1991
af008560
GM
1992 * cus-start.el (imagemagick-render-type): Add it.
1993
5cc59a37
LI
19942012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1995
1996 * progmodes/cc-mode.el
1997 (c-standard-font-lock-fontify-region-function): Set the default at
1998 load time, too, so that `font-lock-fontify-buffer' can be called
1999 without setting up the entire mode first. This fixes a bug in
2000 `mm-inline-text' with C MIME parts.
2001
9a6dd747
CY
20022012-02-06 Chong Yidong <cyd@gnu.org>
2003
2d16b285
CY
2004 * simple.el (list-processes--refresh): Delete exited processes
2005 (Bug#8094).
2006
171e9b6e
CY
2007 * comint.el (comint-next-prompt): next-single-char-property-change
2008 and prev-single-char-property-change never return nil (Bug#8657).
2009
9a6dd747
CY
2010 * custom.el (defcustom): Doc fix (Bug#9711).
2011
aa4589a7
CY
20122012-02-05 Chong Yidong <cyd@gnu.org>
2013
5c2a252f
CY
2014 * cus-edit.el (custom-variable-reset-backup): Quote the value
2015 before storing it in the customized-value property (Bug#6712).
4aab9006 2016 (custom-display): Add a customization type tag.
983b9602 2017 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 2018
aa4589a7
CY
2019 * wid-edit.el (widget-field-value-get): New optional arg to
2020 suppress trailing whitespace truncation.
2021 (character): Use it (Bug#2689).
2022
1ff980ae
AS
20232012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2024
2025 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2026 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2027
03988c98
CY
20282012-02-05 Chong Yidong <cyd@gnu.org>
2029
eeb6cc88
CY
2030 * cus-edit.el (custom-variable-value-create): For mismatched
2031 types, show the current value (Bug#7600).
2032
03988c98
CY
2033 * custom.el (defcustom): Doc fix.
2034
f8cdeef0
GM
20352012-02-05 Glenn Morris <rgm@gnu.org>
2036
2037 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2038
0696d255
JB
20392012-02-05 Juanma Barranquero <lekktu@gmail.com>
2040
2041 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2042 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2043 (pp-last-sexp): Use `looking-at-p'.
2044
34c99998
GM
20452012-02-04 Glenn Morris <rgm@gnu.org>
2046
8f05da42
GM
2047 * files.el (revert-buffer):
2048 Doc fix (mention revert-buffer-in-progress-p).
2049
f160676e
GM
2050 * emacs-lisp/ert-x.el (ert-simulate-command):
2051 Check deferred-action-list (which is obsolete) is bound.
2052
c7291ad9
GM
2053 * subr.el (with-wrapper-hook): Doc fixes.
2054
34c99998
GM
2055 * simple.el (filter-buffer-substring-functions)
2056 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2057
6283a7d3
LL
20582012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2059
2060 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2061 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2062
e96e3013
LL
20632012-02-04 Leo Liu <sdl.web@gmail.com>
2064
2065 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2066
8ded50f2
GM
20672012-02-04 Glenn Morris <rgm@gnu.org>
2068
82ff1d13
GM
2069 * image.el (image-extension-data): Add obsolete alias.
2070
987a0a16
GM
2071 * isearch.el (isearch-update): Doc fix.
2072
ea32ef46
GM
2073 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2074
8ded50f2
GM
2075 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2076
eea14f31
GM
20772012-02-03 Glenn Morris <rgm@gnu.org>
2078
2079 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2080 (image-animate-timeout): Doc fix.
2081
2082 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2083
12f381b7
GM
20842012-02-02 Glenn Morris <rgm@gnu.org>
2085
953cebf5
GM
2086 * server.el (server-auth-dir): Doc fix.
2087 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
2088
12f381b7
GM
2089 * subr.el (run-mode-hooks): Doc fix.
2090
953a8c3b
JL
20912012-02-02 Juri Linkov <juri@jurta.org>
2092
2093 * image-mode.el (image-toggle-display-image): Remove tautological
2094 `major-mode' from the `derived-mode-p' test.
2095
c5d3843c
KH
20962012-02-02 Kenichi Handa <handa@m17n.org>
2097
9f6e692e 2098 * composite.el (compose-region): Cancel previous change.
c5d3843c 2099
159462d4 21002012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
2101
2102 * composite.el (compose-region, compose-string): Signal error for
2103 a null string component (Bug#6988).
2104
9f562668
CY
21052012-02-01 Chong Yidong <cyd@gnu.org>
2106
e2cef717
CY
2107 * view.el (view-buffer-other-window, view-buffer-other-frame):
2108 Handle special modes like view-buffer (Bug#10650).
2109 (view-buffer): Simplify.
2110
9f562668
CY
2111 * frame.el (set-frame-font): Tweak meaning of third argument.
2112
9f6e692e
JB
2113 * dynamic-setting.el (font-setting-change-default-font):
2114 Use set-frame-font (Bug#9982).
9f562668 2115
781acb9f
GM
21162012-02-01 Glenn Morris <rgm@gnu.org>
2117
6035be52
GM
2118 * progmodes/compile.el (compilation-internal-error-properties):
2119 Respect compilation-first-column in the "*compilation*" buffer.
2120
781acb9f
GM
2121 * emacs-lisp/easy-mmode.el (define-minor-mode):
2122 Relax :variable's test for a named function.
2123
abbceb00
AM
21242012-01-31 Alan Mackenzie <acm@muc.de>
2125
2126 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2127 off by one error.
2128
fce3fdeb
CY
21292012-01-31 Chong Yidong <cyd@gnu.org>
2130
2131 * frame.el (set-frame-font): New arg ALL-FRAMES.
2132
2133 * menu-bar.el (menu-set-font): Use set-frame-font.
2134
2135 * faces.el (face-spec-reset-face): Don't apply unspecified
2136 attribute values to the default face.
2137
47893581
JB
21382012-01-31 Juanma Barranquero <lekktu@gmail.com>
2139
2140 * progmodes/cwarn.el (cwarn): Remove dead link.
2141 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2142 Remove * from defcustom docstrings.
2143 (turn-on-cwarn-mode): Make obsolete.
2144 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2145 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2146
e58e988a
GM
21472012-01-31 Glenn Morris <rgm@gnu.org>
2148
60dc2671 2149 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 2150 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 2151 Allow named functions to be used as the cdr of :variable.
e58e988a 2152
7a3f511d
GM
21532012-01-30 Glenn Morris <rgm@gnu.org>
2154
2155 * emacs-lisp/authors.el (authors-fixed-entries):
2156 Remove reference to deleted file rnewspost.el.
2157
cb882333
JB
21582012-01-29 Juanma Barranquero <lekktu@gmail.com>
2159
2160 * window.el (window-with-parameter): Remove unused variable `windows'.
2161 (window--side-check): Remove unused variable `code'.
2162 (window--resize-siblings): Remove unused variable `first'.
2163 (adjust-window-trailing-edge): Remove unused variable `failed'.
2164 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2165 Use `let', not `let*'.
2166 (balance-windows-2): Remove unused variable `found'.
2167 (window--state-put-2): Remove unused variable `splits'.
2168 (window-state-put): Remove unused variable `selected'.
2169 (same-window-p): Use `string-match-p'.
2170 (display-buffer-assq-regexp): Remove unused variable `value'.
2171 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2172 Mark argument ALIST as ignored.
2173 (pop-to-buffer): Remove unused variable `old-window'.
2174
907201af
EZ
21752012-01-29 Eli Zaretskii <eliz@gnu.org>
2176
2177 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2178 and .lzma compressed files.
2179
ea162670
CY
21802012-01-29 Chong Yidong <cyd@gnu.org>
2181
5b95ee8a
CY
2182 * frame.el (window-system-default-frame-alist): Doc fix.
2183
ea162670
CY
2184 * dynamic-setting.el (font-setting-change-default-font): Don't
2185 change the default face if SET-FONT argument is non-nil (Bug#9982).
2186
d6e6f4b1
SB
21872012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2188
2189 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2190
0f29fa41 21912012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
2192
2193 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2194 breakpoints in files outside current directory (Bug#6098).
2195
db174434
CY
21962012-01-29 Chong Yidong <cyd@gnu.org>
2197
6b25e4e2
SE
2198 * progmodes/python.el: Require ansi-color at top-level.
2199
6df6ae42
JB
2200 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2201 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
2202 (lisp-mode-abbrev-table): Add doc.
2203 (lisp-mode-variables): Don't set local-abbrev-table.
2204 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2205
e70ee681
RW
22062012-01-28 Roland Winkler <winkler@gnu.org>
2207
2208 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2209
ace88aa2
RW
22102012-01-28 Roland Winkler <winkler@gnu.org>
2211
2212 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2213 (bibtex-set-dialect): Use it. Either set global values of
2214 dialect-dependent variables or bind these variables buffer-locally
2215 (Bug#10254).
2216 (bibtex-mode): Call bibtex-set-dialect via
2217 hack-local-variables-hook.
eb864a71
LM
2218 (bibtex-dialect): Update docstring.
2219 Add safe-local-variable predicate.
ace88aa2
RW
2220 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2221 bibtex-set-dialect.
2222 (bibtex-mode-map): Define menu for each dialect.
2223 (bibtex-entry): Fix docstring.
2224
93376c5b
CY
22252012-01-28 Chong Yidong <cyd@gnu.org>
2226
2227 * eshell/esh-arg.el (eshell-quote-argument): New function.
2228
2229 * eshell/esh-ext.el (eshell-invoke-batch-file):
2230 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2231 first arg to eshell-parse-command (Bug#10523).
2232
4372494f
DA
22332012-01-28 Drew Adams <drew.adams@oracle.com>
2234
2235 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2236 `default-directory' is non-nil.
2237
4d4ec1f8
EZ
22382012-01-28 Eli Zaretskii <eliz@gnu.org>
2239
2240 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2241 line that displays system-configuration-options. (Bug#9924)
2242
7c188927
DA
22432012-01-28 Drew Adams <drew.adams@oracle.com>
2244
2245 * descr-text.el (describe-char): Show information about POS, in
2246 addition to information about the character at POS. Improve and
2247 update the doc string. Change "code point" to "code point in
2248 charset", to avoid confusion with the character's Unicode code
2249 point shown above that. (Bug#10129)
2250
e0da685a
EZ
22512012-01-28 Eli Zaretskii <eliz@gnu.org>
2252
2253 * descr-text.el (describe-char): Show the raw character, not only
2254 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2255 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2256 for the reasons.
2257
70550acf
PH
22582012-01-28 Phil Hagelberg <phil@hagelb.org>
2259
eb864a71
LM
2260 * emacs-lisp/package.el (package-install):
2261 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 2262
0ce8e868
CY
22632012-01-28 Chong Yidong <cyd@gnu.org>
2264
cb882333
JB
2265 * emacs-lisp/package.el (package-maybe-load-descriptor):
2266 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
2267 (package-maybe-load-descriptor): Use it.
2268 (package-download-transaction): Fully load required packages
2269 inside the loop, so that `require' calls work (Bug#10593).
2270 (package-install): No need to call package-initialize now.
2271
2e7f3bea
CY
22722012-01-28 Chong Yidong <cyd@gnu.org>
2273
6e9bad14
CY
2274 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2275
f823b8ca
CY
2276 * tooltip.el (tooltip-mode): Doc fix.
2277 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2278
2680c309
CY
2279 * frame.el (set-cursor-color): Doc fix (Bug#352).
2280
d7a9e63b
CY
2281 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2282 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2283
2e7f3bea
CY
2284 * cus-edit.el (custom-buffer-create-internal): Fix search button
2285 action (Bug#10542).
2ae01800 2286 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 2287
fc4f7a23
EW
22882012-01-27 Eduard Wiebe <usenet@pusto.de>
2289
2290 * dired.el (dired-mark-files-regexp):
2291 Include any subdirectory components. (Bug#10445)
2292
7dd37071
ML
22932012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2294
2295 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2296 Handle [host]:port syntax. (Bug#10533)
2297
a268160b
AH
22982012-01-27 Alex Harsanyi <harsanyi@mac.com>
2299
2300 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2301
e43273ef
GM
23022012-01-26 Glenn Morris <rgm@gnu.org>
2303
2304 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2305 * term.el (term-raw-escape-map): Use Control-X-prefix.
2306 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2307
1edf595d
MR
23082012-01-25 Martin Rudalics <rudalics@gmx.at>
2309
2310 * window.el (window-state-get, window--state-get-1): Don't deal
2311 with fixed-sizeness of windows. Simplify code.
2312
fa8eafef
JC
23132012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2314
6df6ae42
JB
2315 * window.el (window--state-get-1, window--state-put-2):
2316 Don't save and restore the mark.
fa8eafef 2317
0b21c100
CY
23182012-01-25 Chong Yidong <cyd@gnu.org>
2319
2320 * custom.el (custom-variable-p): Doc fix.
2321
5ae1a6c8
GM
23222012-01-25 Glenn Morris <rgm@gnu.org>
2323
40047858
GM
2324 * dired.el (dired-goto-file): Handle some of the more common
2325 characters that `ls -b' escapes. (Bug#10596)
2326
5ddce96c
GM
2327 * progmodes/compile.el (compilation-next-error-function):
2328 Respect compilation-first-column in the "*compilation*" buffer.
2329 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2330
5ae1a6c8
GM
2331 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2332
b559f1a9
GM
23332012-01-24 Glenn Morris <rgm@gnu.org>
2334
2335 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2336
6725d21a
JD
23372012-01-24 Julien Danjou <julien@danjou.info>
2338
2339 * color.el (color-rgb-to-hsl): Fix value computing.
2340 (color-hue-to-rgb): New function.
2341 (color-hsl-to-rgb): New function.
2342 (color-clamp, color-saturate-hsl, color-saturate-name)
2343 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2344 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2345
70df4bbe
GM
23462012-01-24 Glenn Morris <rgm@gnu.org>
2347
2348 * vc/vc-rcs.el (vc-rcs-create-tag):
2349 * vc/vc-sccs.el (vc-sccs-create-tag):
2350 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2351
802a2ae2
ML
23522012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2353
2354 * eshell/esh-util.el (eshell-read-hosts-file):
2355 Skip comment lines. (Bug#10549)
2356
d7128bb1
ML
2357 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2358
d1a5c3b4
JB
23592012-01-23 Juanma Barranquero <lekktu@gmail.com>
2360
2724d9c7
JB
2361 * subr.el (display-delayed-warnings): Doc fix.
2362 (collapse-delayed-warnings): New function to collapse identical
2363 adjacent warnings.
2364 (delayed-warnings-hook): Add it.
d1a5c3b4 2365
a5509865
MA
23662012-01-22 Michael Albinus <michael.albinus@gmx.de>
2367
2368 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2369
2370 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2371 properties, when "login-as" is set.
2372
2373 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2374 (tramp-default-user-alist): Don't add "pscp".
2375 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2376 property "login-as", if set. (Bug#10530)
2377
cc6d5805
MA
23782012-01-21 Michael Albinus <michael.albinus@gmx.de>
2379
2380 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2381 "plink1" and "psftp". (Bug#10530)
2382
23832012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
2384
2385 * international/mule-cmds.el (prefer-coding-system): Show a
2386 warning message if the default value of file-name-coding-system
2387 was not changed.
2388
f0960428
JC
23892012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2390
cb882333
JB
2391 * windmove.el (windmove-reference-loc):
2392 Fix windmove-reference-loc miscalculation.
f0960428 2393
dd6f2a63
JB
23942012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2395
2396 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2397 default unit.
2398
7b447e9b
GM
23992012-01-21 Glenn Morris <rgm@gnu.org>
2400
117a9ea1
GM
2401 * international/mule.el (auto-coding-alist): Add .tbz.
2402
7b447e9b
GM
2403 * files.el (local-enable-local-variables): Doc fix.
2404 (inhibit-local-variables-regexps): Rename from
2405 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
2406 Doc fix. Add some extensions from auto-coding-alist.
2407 (inhibit-local-variables-suffixes):
2408 Rename from inhibit-first-line-modes-suffixes. Doc fix.
2409 (inhibit-local-variables-p):
2410 New function, extracted from set-auto-mode-1.
2411 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
2412 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
2413 (hack-local-variables): Doc fix. Make the mode-only case
2414 respect enable-local-variables and friends.
2415 Respect inhibit-local-variables-regexps for file-locals, but
2416 not for directory-locals.
2417 (set-visited-file-name):
2418 Take account of inhibit-local-variables-regexps.
2419 Whether it applies may change as the file name is changed.
2420 * jka-cmpr-hook.el (jka-compr-install):
2421 * jka-compr.el (jka-compr-uninstall):
2422 Update for inhibit-first-line-modes-suffixes name change.
2423
dd6e3cdd
MR
24242012-01-20 Martin Rudalics <rudalics@gmx.at>
2425
2426 * help-macro.el (make-help-screen): Temporarily restore original
2427 binding for minor-mode-map-alist (Bug#10454).
2428
0d0deb38
JD
24292012-01-19 Julien Danjou <julien@danjou.info>
2430
2431 * color.el (color-name-to-rgb): Use the white color to find the max
2432 color component value and return correctly computed values.
2433 (color-name-to-rgb): Add missing float conversion for max value.
2434
34a02f46
MR
24352012-01-19 Martin Rudalics <rudalics@gmx.at>
2436
2437 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
2438 special state value for window-persistent-parameters.
2439 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
2440 (window--state-put-2): Reset all window parameters to nil before
2441 assigning values of persistent parameters.
2442
606c44c4
AM
24432012-01-18 Alan Mackenzie <acm@muc.de>
2444
2445 Eliminate sluggishness and hangs in fontification of "semicolon
2446 deserts".
2447
cb882333
JB
2448 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2449 Change value 10000 -> 3000.
606c44c4
AM
2450 (c-state-safe-place): Reformulate so it doesn't stack up an
2451 infinite number of wrong entries in c-state-nonlit-pos-cache.
2452 (c-determine-limit-get-base, c-determine-limit): New functions to
2453 determine backward search limits disregarding literals.
2454 (c-find-decl-spots): Amend commenting.
2455 (c-cheap-inside-bracelist-p): New function which detects "={".
2456
2457 * progmodes/cc-fonts.el
2458 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2459 backward search.
2460 (c-font-lock-declarations): Fix an occurrence of point being
2461 undefined. Check additionally for point being in a bracelist or
2462 near a macro invocation without a semicolon so as to avoid a
2463 fruitless time consuming search for a declarator. Give a more
2464 precise search limit for declarators using the new
2465 c-determine-limit.
2466
f3860cea
GM
24672012-01-18 Glenn Morris <rgm@gnu.org>
2468
2469 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2470 (set-auto-mode): Doc fixes.
2471
1db03b16
GM
24722012-01-17 Glenn Morris <rgm@gnu.org>
2473
0e6038be
GM
2474 * isearch.el (search-nonincremental-instead): Fix doc typo.
2475
1db03b16
GM
2476 * dired.el (dired-insert-directory): Handle newlines in directory name.
2477 (dired-build-subdir-alist): Unescape newlines in directory name.
2478
4cb0aa75
MA
24792012-01-17 Michael Albinus <michael.albinus@gmx.de>
2480
2481 * net/tramp.el (tramp-local-end-of-line): New defcustom.
2482 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2483 (tramp-action-terminal): Use it. (Bug#10530)
2484
1d00653d
SM
24852012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2486
2487 * minibuffer.el (completion--replace): Strip properties (bug#10062).
2488
6a6ee00d
MR
24892012-01-16 Martin Rudalics <rudalics@gmx.at>
2490
2491 * window.el (window-state-ignored-parameters): Remove variable.
2492 (window--state-get-1): Rename argument MARKERS to IGNORE.
2493 Handle persistent window parameters. Make copy of clone-of
2494 parameter only if requested. (Bug#10348)
2495 (window--state-put-2): Install a window parameter only if it has
2496 a non-nil value or an existing parameter shall be overwritten.
2497
97912def
MA
24982012-01-15 Michael Albinus <michael.albinus@gmx.de>
2499
2500 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2501
688070a5
EZ
25022012-01-14 Eli Zaretskii <eliz@gnu.org>
2503
2504 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2505 don't pass the (nil) value of `upnode' to string-match.
2506
301afadc
CY
25072012-01-14 Chong Yidong <cyd@gnu.org>
2508
2509 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 2510 Fix values recognized by the cursorBlink resource.
301afadc 2511
9e5788aa
PE
25122012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2513
2514 * epg.el (epg--make-temp-file): Avoid permission race condition
2515 when running on old Emacs versions (bug#10403).
2516
3cdb7f5a
GM
25172012-01-14 Glenn Morris <rgm@gnu.org>
2518
2519 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2520
8c82b1b4
AM
25212012-01-13 Alan Mackenzie <acm@muc.de>
2522
2523 Fix filling for when filladapt mode is enabled.
2524
2525 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2526 c-mask-paragraph, pass in `fill-paragraph' rather than
2527 `fill-region-as-paragraph'. (This is a reversion of a previous
2528 change.)
eb864a71
LM
2529 * progmodes/cc-mode.el (c-basic-common-init):
2530 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 2531
e517eda4
GM
25322012-01-13 Glenn Morris <rgm@gnu.org>
2533
1498536e
GM
2534 * dired.el (dired-switches-escape-p): New function.
2535 (dired-insert-directory): Use dired-switches-escape-p.
2536 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2537
e517eda4
GM
2538 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2539
328f984d
GM
25402012-01-12 Glenn Morris <rgm@gnu.org>
2541
2542 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2543 changes in adaptive-fill-regexp. (Bug#10276)
2544
2cc769a8
AM
25452012-01-11 Alan Mackenzie <acm@muc.de>
2546
2547 Fix Emacs bug #10463 - put `widen's around the critical spots.
2548
1d00653d 2549 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
2550 widen around each invocation of c-state-pp-to-literal. Remove an
2551 unused let variable.
2552
e52c37fa
GM
25532012-01-11 Glenn Morris <rgm@gnu.org>
2554
2555 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 2556 Doc fix.
e52c37fa 2557
96f8741e
CY
25582012-01-10 Chong Yidong <cyd@gnu.org>
2559
1d00653d
SM
2560 * net/network-stream.el (network-stream-open-starttls):
2561 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
2562 response to the capability command.
2563
b09a806e
GM
25642012-01-10 Glenn Morris <rgm@gnu.org>
2565
2566 * mail/unrmail.el (unrmail): Tweak previous change.
2567
7655cb66
CY
25682012-01-09 Chong Yidong <cyd@gnu.org>
2569
2570 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2571
9d5a8f0b
AM
25722012-01-08 Alan Mackenzie <acm@muc.de>
2573
2574 Optimise font locking in long enum definitions.
2575
2576 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2577 arm to a cond form to handle enums.
2578 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2579 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2580
9a0115ab 25812012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
2582
2583 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 2584 (Bug#10401)
6bb72cbd 2585
f186bb95
LMI
25862012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2587
29232a68
LMI
2588 * faces.el (set-face-attribute): Clarify the meaning of the nil
2589 frame (bug#10294).
2590
4e5d086d
LMI
2591 * subr.el (with-selected-frame): Mention that the selected frame
2592 is restored (bug#9980).
2593
8e66aebe
LMI
2594 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2595 (bug#9759).
2596
cd394be1 2597 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
2598 (password-read): Don't autoload unused function.
2599
adf4e762
JB
26002012-01-07 Juanma Barranquero <lekktu@gmail.com>
2601
2602 * progmodes/which-func.el (which-func-mode): Turn into a
2603 non-interactive function and mark as obsolete (bug#10428).
2604
89bd9ccd
CY
26052012-01-06 Chong Yidong <cyd@gnu.org>
2606
2607 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2608 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2609 functions, along with 1 and -1.
2610
4afee9d5
EZ
26112012-01-06 Eli Zaretskii <eliz@gnu.org>
2612
2613 * time.el (display-time-load-average)
2614 (display-time-default-load-average): Doc fixes. See the thread
2615 starting at
2616 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2617 for the details.
2618
536aea70
GM
26192012-01-06 Glenn Morris <rgm@gnu.org>
2620
665ae865
GM
2621 * mail/unrmail.el (unrmail): Give an explicit error if the input file
2622 has no messages. (Bug#10377)
2623
c869783d
GM
2624 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2625 than Info-edit. (Bug#10385)
2626
2bb4227e
GM
2627 * time.el (display-time-load-average, display-time-next-load-average):
2628 Doc fixes.
2629
7d5944b9
GM
2630 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2631 local setting of buffer-read-only to the input buffer. (Bug#10419)
2632
536aea70
GM
2633 * calendar/calendar.el (calendar-mode):
2634 Locally set scroll-margin to 0. (Bug#10379)
2635
7dccca16
UM
26362012-01-06 Ulrich Mueller <ulm@gentoo.org>
2637
2638 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
2639
afbb7930
GM
26402012-01-05 Glenn Morris <rgm@gnu.org>
2641
2642 * eshell/em-unix.el (diff-no-select): Autoload it.
2643 (eshell/diff): Use diff-no-select. (Bug#10420)
2644
04482335
CY
26452012-01-05 Chong Yidong <cyd@gnu.org>
2646
7baca3bc
CY
2647 * shell.el (shell-dynamic-complete-functions): Revert last change.
2648 (shell-command-completion-function): New function.
2649 (shell-completion-vars): Use it to implement
2650 shell-completion-execonly (Bug#10417).
2651
04482335
CY
2652 * custom.el (enable-theme): Don't set custom-safe-themes.
2653
1d00653d
SM
2654 * cus-theme.el (custom-theme-merge-theme):
2655 Ignore custom-enabled-themes and custom-safe-themes.
04482335 2656
bb5aa5d6
MM
26572012-01-05 Michael R. Mauger <mmaug@yahoo.com>
2658
2659 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2660 first prompt in `sql-interacive-mode'.
2661 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 2662 keywords.
6df6ae42 2663 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
2664 (sql-product-interactive): Bug fix: Set `sql-buffer' in
2665 context of original buffer. Invoke `sql-login-hook'.
2666
a7183d7c
EZ
26672012-01-04 Eli Zaretskii <eliz@gnu.org>
2668
2669 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2670 letters in cite-prefix.
2671
a1eacd1e
LMI
26722012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2673
2674 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2675
787cdb34
CY
26762012-01-03 Chong Yidong <cyd@gnu.org>
2677
1d00653d
SM
2678 * shell.el (shell-dynamic-complete-functions):
2679 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
2680 comint-filename-completion first (Bug#10417).
2681
30710442
RS
26822012-01-02 Richard Stallman <rms@gnu.org>
2683
2684 * battery.el (battery-status-function):
2685 Detect when to use battery-yeeloong-sysfs.
2686 (battery-echo-area-format): Add string for Yeeloong.
2687 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2688 (battery-yeeloong-sysfs): New function.
2689
f75bfc33
CY
26902012-01-02 Chong Yidong <cyd@gnu.org>
2691
2692 * dirtrack.el (dirtrack-list): Eliminate unused third element.
2693 (dirtrack): Merge code for handling relative filenames in prompt
2694 from shell-dir-cookie-watcher.
2695 (dirtrack-debug-message): New arg to avoid excess format calls.
2696
2697 * shell.el (shell-dir-cookie-re): Variable deleted.
2698 (shell-dir-cookie-watcher): Function deleted.
2699 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2700 with dirtrack-mode.
2701
651e947e
EZ
27022012-01-01 Eli Zaretskii <eliz@gnu.org>
2703
1d00653d
SM
2704 * term/w32-win.el (dynamic-library-alist) <gnutls>:
2705 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
2706 libgnutls-26.dll.
2707
94d4c7dc
AS
27082011-12-31 Andreas Schwab <schwab@linux-m68k.org>
2709
2710 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2711
8d43f3cd
EZ
27122011-12-31 Eli Zaretskii <eliz@gnu.org>
2713
2714 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2715 headers of non-MIME messages, when rmail-enable-mime is non-nil.
2716
98c8795a
MA
27172011-12-29 Michael Albinus <michael.albinus@gmx.de>
2718
2719 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2720 also for alternative shells.
2721 (tramp-open-connection-setup-interactive-shell): Check, whether
2722 the shell is a busybox.
2723 (tramp-send-command): Don't suppress multiple prompts for
2724 busyboxes, it hurts.
2725
51281b32
CY
27262011-12-28 Chong Yidong <cyd@gnu.org>
2727
2728 * progmodes/gdb-mi.el (gdb-get-source-file-list)
2729 (gdb-get-source-file): Move mode line update to
2730 gdb-get-source-file (Bug#10087).
2731
2170cb53
CY
27322011-12-25 Chong Yidong <cyd@gnu.org>
2733
2734 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2735 gud-gdb-marker-filter without taking it as an argument.
2736 (gud-gdb-run-command-fetch-lines): Caller changed.
2737 (gud-gdb-completion-function): New variable.
2738 (gud-gdb-completion-at-point): Use it.
2739 (gud-gdb-completions-1): Split from gud-gdb-completions.
2740
2741 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2742 function as separate arguments.
2743 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2744 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2745 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2746 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2747 (gdb-stopped, def-gdb-auto-update-trigger)
2748 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
2749 (gdb-get-changed-registers, gdb-get-main-selected-frame):
2750 Callers changed.
2170cb53
CY
2751 (gud-gdbmi-completions): New function.
2752 (gdb): Use it for generating the completion table.
2753
be8b11bb
AM
27542011-12-24 Alan Mackenzie <acm@muc.de>
2755
2756 Introduce a mechanism to widen the region used in context font
1d00653d 2757 locking. Use this to protect declarations from losing their contexts.
be8b11bb 2758
1d00653d
SM
2759 * progmodes/cc-langs.el (c-before-font-lock-functions):
2760 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 2761 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
2762 functions to be run just before context (etc.) font locking.
2763
2764 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 2765 New, functionality extracted from
be8b11bb 2766 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 2767 (c-in-after-change-fontification): New variable.
be8b11bb
AM
2768 (c-after-change): Set c-in-after-change-fontification.
2769 (c-set-fl-decl-start): Rejig its interface, so it can be called
2770 from both after-change and context fontifying.
b81d40f0
JB
2771 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2772 New functions.
2773 (c-standard-font-lock-fontify-region-function): New variable.
2774 (c-font-lock-fontify-region): New function.
be8b11bb 2775
341cf6ac
JL
27762011-12-24 Juri Linkov <juri@jurta.org>
2777
2778 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2779 (Bug#10348)
2780
bffcee0a
MA
27812011-12-23 Michael Albinus <michael.albinus@gmx.de>
2782
2783 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2784 existence of source file. (Bug#10325)
2785
cb5e207c
AM
27862011-12-23 Alan Mackenzie <acm@muc.de>
2787
2788 Fix unstable fontification inside templates.
2789
b81d40f0
JB
2790 * progmodes/cc-langs.el (c-before-font-lock-functions):
2791 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
2792 additionally has c-set-fl-decl-start. The other languages (apart
2793 from AWK) have that as a single entry.
2794
b81d40f0
JB
2795 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2796 The functionality for "local" declarations has been extracted to
cb5e207c
AM
2797 c-set-fl-decl-start.
2798
b81d40f0
JB
2799 * progmodes/cc-mode.el (c-common-init, c-after-change):
2800 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
2801 (c-set-fl-decl-start): New function, extracted from
2802 c-font-lock-enclosing-decls and enhanced.
2803
60ff536c
JB
28042011-12-23 Juanma Barranquero <lekktu@gmail.com>
2805
2806 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2807
1c4757d6
JL
28082011-12-22 Juri Linkov <juri@jurta.org>
2809
2810 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
2811
d031f2c7
CY
28122011-12-22 Chong Yidong <cyd@gnu.org>
2813
2814 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2815
bace743a
DA
28162011-12-21 Drew Adams <drew.adams@oracle.com>
2817
2818 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2819
728a1f2b
JC
28202011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2821
2822 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2823
0d373f73
TZ
28242011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2825
fec0aaa4
TZ
2826 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2827 highlighting and support. Fix up comments for capitalization.
2828 (cfengine-mode-debug): New var.
2829 (cfengine3-mode): Change the modeline indicator to "CFE3".
2830 (cfengine3-font-lock-keywords): Improve defun highlighting.
2831 (cfengine2-actions): Rename from `cfengine-actions'.
2832 (cfengine2-font-lock-keywords): Rename from
2833 `cfengine-font-lock-keywords'.
2834 (cfengine2-imenu-expression): Rename from
2835 `cfengine-imenu-expression'.
2836 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2837 (cfengine2-beginning-of-defun): Rename from
2838 `cfengine-beginning-of-defun'.
2839 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2840 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2841 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2842 modeline indicator to "CFE2".
2843 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2844 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 2845
bc86f573
CY
28462011-12-21 Chong Yidong <cyd@gnu.org>
2847
2848 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2849 filename argument.
2850
d45ba96b
MR
28512011-12-20 Martin Rudalics <rudalics@gmx.at>
2852
2853 * window.el (window-normalize-buffer-to-display): Remove.
2854 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2855
a6198c90
CY
28562011-12-19 Chong Yidong <cyd@gnu.org>
2857
2858 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2859 Don't signal an error in a predicate function; return non-nil.
2860 (vc-dir-mark-file): Move the error here.
2861 (vc-dir-mark-unmark): If acting on the region, keep going if one
2862 of the entries cannot be marked/unmarked.
2863 (vc-dir-mark-all-files): If current entry is a directory, mark
2864 only child files, as documented.
2865
34c5fb55
VB
28662011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2867
2868 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2869 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2870 addition.
2871
c803b2b7
JD
28722011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2873
2874 * term/ns-win.el (ns-get-selection-internal)
2875 (ns-store-selection-internal): Declare.
1154d12e
JB
2876 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2877 Declare as obsolete.
2878 (ns-get-pasteboard, ns-paste-secondary):
2879 Use ns-get-selection-internal.
2880 (ns-set-pasteboard, ns-copy-including-secondary):
2881 Use ns-store-selection-internal.
c803b2b7 2882
9cff91f8 28832011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
2884
2885 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 2886 (vc-deduce-fileset): Doc fix.
99a289d9 2887
f16c898a
AS
28882011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2889
2890 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2891
763237c4
SS
28922011-12-13 Sam Steingold <sds@gnu.org>
2893
2894 * man.el (Man-getpage-in-background): When running under a
2895 window-system, ignore $MANWIDTH and $COLUMNS.
2896
5fc1c122
KH
28972011-12-15 Kenichi Handa <handa@m17n.org>
2898
2899 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2900 (setup-ethiopic-environment-internal): Comment out key-binding for
2901 ethio-toggle-punctuation.
2902
13d49cbb
AM
29032011-12-13 Alan Mackenzie <acm@muc.de>
2904
898169a2
AM
2905 Add the switch statement to AWK Mode.
2906
7a71b18d 2907 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
2908 "default" to the keywords regexp.
2909
7a71b18d 2910 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 2911 expression as the rest.
1d00653d
SM
2912 (c-nonlabel-token-key): Allow string literals for AWK.
2913 Refactor for the other modes.
898169a2 2914
13d49cbb 2915 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 2916 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
2917 routines. Limit backward searching in c-font-lock-enclosing.decl.
2918
2919 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2920 pp-state and literal type in addition to the limits.
1d00653d 2921 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 2922 (c-state-literal-at): Use the above new defun.
1d00653d
SM
2923 (c-slow-in-literal, c-fast-in-literal): Remove.
2924 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
2925
2926 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2927 being in a literal. Add a limit for backward searching.
2928
2929 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2930 c-slow-in-literal.
2931
15e0efc7
SM
29322011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2933
2934 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2935
454592a6
MR
29362011-12-13 Martin Rudalics <rudalics@gmx.at>
2937
2938 * window.el (delete-other-windows): Use correct frame in call to
2939 window-with-parameter.
2940
87393f26
DP
29412011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2942
2943 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2944 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2945 (makefile-gmake-statements, makefile-makepp-statements):
2946 Use it and add new makepp keywords.
2947 (makefile-makepp-font-lock-keywords): Add new patterns.
2948 (makefile-match-function-end): Match new [...] and [[...]].
2949
11636b22
JB
29502011-12-11 Juanma Barranquero <lekktu@gmail.com>
2951
2952 * ses.el (ses-call-printer-return, ses-cell-property-get)
2953 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2954 (ses-create-cell-variable, ses-reset-header-string)
2955 (ses-cell-set-formula, ses-repair-cell-reference-all)
2956 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2957 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2958 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2959 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2960 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2961 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2962 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2963 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2964 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2965 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2966 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2967 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2968
cf018193
VB
29692011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2970
2971 * ses.el: The overall change is to add cell renaming, that is
2972 setting fancy names for cell symbols other than name matching
2973 "\\`[A-Z]+[0-9]+\\'" regexp .
2974 (ses-create-cell-variable): New defun.
2975 (ses-relocate-formula): Relocate formulas only for cells the
2976 symbols of which are not renamed, i.e. symbols whose names do not
2977 match regexp "\\`[A-Z]+[0-9]+\\'".
2978 (ses-relocate-all): Relocate values only for cells the symbols of
2979 which are not renamed.
2980 (ses-load): Create cells variables as the (ses-cell ...) are read,
2981 in order to check row col consistency with cell symbol name only
2982 for cells that are not renamed.
2983 (ses-replace-name-in-formula): New defun.
2984 (ses-rename-cell): New defun.
2985
ee957461
CY
29862011-12-11 Chong Yidong <cyd@gnu.org>
2987
2988 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2989 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2990
9a9e9ef0
MR
29912011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2992
2993 * window.el (other-window): Fix docstring.
2994
92a8eba5
EZ
29952011-12-10 Eli Zaretskii <eliz@gnu.org>
2996
2997 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
2998 `from' or `to' address before taking its substring.
2999 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
3000 encoded name is chopped in the middle of the encoded string, and
3001 thus displayed encoded.
3002
e152e577
JB
30032011-12-10 Juanma Barranquero <lekktu@gmail.com>
3004
3005 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3006
e5d84bfe
EZ
30072011-12-10 Eli Zaretskii <eliz@gnu.org>
3008
3009 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3010 to use texinfo-update-node and commands that call it if the
3011 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 3012 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
3013 (texinfo-all-menus-update, texinfo-master-menu)
3014 (texinfo-update-node, texinfo-every-node-update)
3015 (texinfo-multiple-files-update): Doc fix. Warn against updating
3016 all the @node lines.
3017 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
3018 argument is numeric. Explain better in the doc string what the
3019 function really does.
3020 (texinfo-insert-master-menu-list): Improve the error message
3021 displayed if there's no menu in the Top node.
3022 (Bug#2975) See also this thread:
e5d84bfe
EZ
3023 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3024
1d84e9bb
MG
30252011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3026
3027 * speedbar.el (speedbar-supported-extension-expressions):
3028 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3029
382c953b
JB
30302011-12-09 Juanma Barranquero <lekktu@gmail.com>
3031
3032 * printing.el (pr-mode-alist):
3033 * simple.el (filter-buffer-substring-functions)
3034 (completion-list-insert-choice-function):
3035 * window.el (window-with-parameter, window-atom-root)
3036 (window-sides-slots, window-size-fixed, window-min-delta)
3037 (window-max-delta, window--resize-mini-window)
3038 (window--resize-child-windows-normal, window-tree)
3039 (delete-other-windows, quit-window, split-window)
3040 (display-buffer-record-window, special-display-buffer-names)
3041 (special-display-regexps, special-display-popup-frame)
3042 (same-window-p, split-window-sensibly)
3043 (display-buffer-overriding-action, display-buffer-alist)
3044 (display-buffer-base-action, display-buffer, switch-to-buffer)
3045 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3046 (fit-window-to-buffer, recenter-positions)
3047 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3048 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3049 and remove unneeded backslashes in docstrings.
3050
39c9faef
SM
30512011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3052
98449af8
SM
3053 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3054
39c9faef
SM
3055 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3056 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3057 end in ".mk".
3058 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3059 when reading the makefile (bug#10116).
3060
86ed9fdc
SM
30612011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3062
3063 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3064 (bug#10116).
3065
5580f89d
GM
30662011-12-06 Glenn Morris <rgm@gnu.org>
3067
3068 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3069
28d3917c
CY
30702011-12-06 Chong Yidong <cyd@gnu.org>
3071
3072 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3073
a98edce9
JB
30742011-12-06 Juanma Barranquero <lekktu@gmail.com>
3075
3076 * textmodes/table.el (table-shorten-cell): Fix typo.
3077
e65adfac
CG
30782011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3079
3080 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3081
71cc0b74
EZ
30822011-12-05 Eli Zaretskii <eliz@gnu.org>
3083
3084 * descr-text.el (describe-char): Fix display of strong
3085 right-to-left characters and directional embeddings and overrides.
3086
3087 * simple.el (what-cursor-position): Fix display of codepoints of
3088 strong right-to-left characters.
3089
315bc30d
CY
30902011-12-05 Chong Yidong <cyd@gnu.org>
3091
3092 * faces.el (read-color): Doc fix.
3093
58a70b94
GM
30942011-12-05 Glenn Morris <rgm@gnu.org>
3095
3096 * align.el (align--set-marker): Add doc-string.
3097 Don't try to move something that is not a marker. (Bug#10216)
3098
5158face
GM
30992011-12-04 Glenn Morris <rgm@gnu.org>
3100
3101 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3102 overly zealous deletion of trailing whitespace.
3103
520fca41
JB
31042011-12-04 Juanma Barranquero <lekktu@gmail.com>
3105
3106 * server.el (server-delete-client): On Windows, do not try to delete
3107 the only terminal.
3108 (server-process-filter): On Windows, treat requests for a tty frame as
3109 if they were for a GUI frame if the running server is in GUI mode.
3110
5e605a2e
GM
31112011-12-03 Glenn Morris <rgm@gnu.org>
3112
3113 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3114
5c3fe83f
SM
31152011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3116
6f5e57e7
SM
3117 * electric.el: Streamline electric-indent's hook.
3118 (electric-indent-chars): Revert to simple list.
3119 (electric-indent-functions): New var.
3120 (electric-indent-post-self-insert-function): Use it.
3121
5c3fe83f
SM
3122 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3123 there's no inferior buffer (bug#10196).
3124 (prolog-consult-compile): Don't use toggle-read-only.
3125
6bdac736
MA
31262011-12-02 Michael Albinus <michael.albinus@gmx.de>
3127
3128 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3129 interrupt. (Bug#10187)
3130
6131ba7f
SM
31312011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3132
99c79fee
SM
3133 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3134 (bug#9160).
3135
6131ba7f
SM
3136 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3137 (bug#10191).
3138
cb0a02ea
JL
31392011-12-02 Juri Linkov <juri@jurta.org>
3140
3141 * info.el (Info-search): Display "end of manual" when Isearch
3142 reaches the end of single-file Info manual. (Bug#9918)
3143
66e0570c
EZ
31442011-12-02 Eli Zaretskii <eliz@gnu.org>
3145
3146 * isearch.el (isearch-message-prefix): Run the input method part
3147 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3148
02b16839
JL
31492011-12-02 Juri Linkov <juri@jurta.org>
3150
3151 * isearch.el (isearch-occur): Use `word-search-regexp' for
3152 `isearch-word'.
3153 (isearch-search-and-update): Add condition for `isearch-word' and
3154 call `word-search-regexp'. (Bug#10145)
3155
0b950688
GM
31562011-12-01 Glenn Morris <rgm@gnu.org>
3157
3158 * eshell/em-hist.el (eshell-hist-initialize):
3159 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 3160 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 3161
9505c3c7
SM
31622011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3163
3164 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3165
1bbe96b2 31662011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 3167
a1beca85
SM
3168 * progmodes/verilog-mode.el (verilog-pretty-expr):
3169 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
3170 verilog, such as += *= and the like.
3171 (verilog-assignment-operator-re): Regular expression to find the
3172 assigment operator in a verilog assignment.
3173 (verilog-assignment-operation-re): Regular expression to find an
3174 assignment statement for pretty-expr.
3175 (verilog-in-attribute-p): Query returns true if point is in an
3176 attribute context; used to skip these for expression line up from
3177 pretty-expr.
3178 (verilog-in-parameter-p): Query returns true if point is in an
3179 parameter definition context; used to skip these for expression
3180 line up from pretty-expr.
3181 (verilog-in-parenthesis-p): Query returns true if point is in a
3182 parenthetical expression, specifically ( ) but not [ ] or { };
3183 used by pretty-expr.
3184 (verilog-just-one-space): If there is no space, don't add one.
3185 (verilog-get-lineup-indent-2): Specifically skip just attribute
3186 contexts for expression lineup, rather than skipping all
3187 parenthetical expressions.
3188 (verilog-calculate-indent): Fix comment, and fix indent.
3189 (verilog-do-indent): Indent declarations in lists (suggested by
3190 Joachim Lechner).
3191 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3192 skeleton items.
3193 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3194 by Alain Mellan).
3195
1bbe96b2 31962011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
3197
3198 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3199 parameters with embedded comments. Reported by Ray Stevens.
3200 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3201 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3202 Reported by Tim Holt.
3203 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3204 instantiated by upper module causing wrong expansion until AUTOed a
3205 second time. Reported by K C Buckenmaier.
3206 (verilog-diff-auto): Fix showing .* as a difference when
3207 `verilog-auto-star-save' off. Reported by Dan Dever.
3208 (verilog-auto-reset, verilog-read-always-signals)
3209 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3210 temporary signals in reset list if
3211 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
3212 style to each signal's assignment type, bug381.
3213 Reported by Thomas Esposito.
6288f0ca
WS
3214 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3215 (verilog-uvm-statement-re): Support UVM indentation and
3216 highlighting, with old OVM keywords only.
a1beca85 3217 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
3218 Support AUTOTIEOFF creating non-wire data types.
3219 Suggested by Jonathan Greenlaw.
6288f0ca
WS
3220 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3221 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3222 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
3223 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3224 Fix mismatching parenthesis inside commented out code when deleting
382c953b 3225 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
3226 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3227 non-numeric vector width. Reported by Alex Reed.
3228 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 3229 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
3230 (verilog-auto-delete-trailing-whitespace):
3231 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
3232 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3233 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3234 Fix verilog-scan-cache corruption when running user AUTO expansion
3235 hooks that call indentation routines.
3236 (verilog-simplify-range-expression): Fix typo ignoring lower case
3237 identifiers.
3238 (verilog-delete-auto): Fix delete-autos to also remove user created
3239 automatics, as long as they start with AUTO.
3240 (verilog-batch-diff-auto, verilog-diff-auto)
3241 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3242 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3243 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3244 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
3245 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3246 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
3247 is disabled and its cache will get corrupt, causing AUTOS not to
3248 expand. Instead use only -quick functions.
3249 (verilog-scan-region): Fix scanning over escaped quotes.
3250 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3251 (verilog-re-search-backward-quick)
3252 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3253 related functions now ignore strings, to fix misparsing of strings
3254 with magic comments embedded in them.
a1beca85
SM
3255 (verilog-read-auto-template):
3256 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3257 Reported by Brad Dobbie.
3258 (verilog-read-auto-template):
3259 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 3260 Reported by Brad Dobbie.
6288f0ca
WS
3261 (verilog-auto-inst, verilog-auto-inst-param)
3262 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3263 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3264 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
3265 debugging templates without merge conflicts, bug357.
3266 Reported by Brad Dobbie.
3267 (verilog-read-auto-template):
3268 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
3269 Reported by Brad Dobbie.
3270 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3271 abbrevs so user won't be asked to save.
3272 (verilog-read-auto-lisp-present): Fix to start at beginning of
3273 buffer in case called outside of verilog-auto.
3274 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3275 to "X-2". Reported by Matthew Myers.
3276 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3277 all inputs from module templates. Reported by Leith Johnson.
3278 (verilog-module-inside-filename-p): Fix locating programs as with
3279 modules.
3280 (verilog-auto-inst-port): Fix vl-width expressions when using
3281 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3282 (verilog-decls-get-regs, verilog-decls-get-signals,
3283 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3284 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3285 verilog-read-decls): Combine reg and wire structures into one var
3286 structure to represent SystemVerilog concepts.
3287 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3288 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
3289 (verilog-auto-wire-type, verilog-insert-definition):
3290 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
3291 SystemVerilog "logic" keyword instead of "wire"/"reg".
3292 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3293 to declares outputs that also have assignments (presumably in an
a1beca85
SM
3294 ifdef or generate if so there's not a driver conflict).
3295 Reported by Matthew Myers.
3296 (verilog-auto-declare-nettype, verilog-insert-definition):
3297 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
3298 `default_nettype none. Reported by Julian Gorfajn.
3299 (verilog-read-always-signals-recurse, verilog-read-decls)
3300 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3301 malformed end statement, bug325. Reported by Joshua Wise and
3302 Andrew Drake.
3303 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3304 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
3305 when expanding .* in interfaces, bug320.
3306 Reported by Pierre-David Pfister.
6288f0ca 3307 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
3308 name and open parenthesis, bug317.
3309 Reported by Pierre-David Pfister.
6288f0ca
WS
3310 (verilog-simplify-range-expression): Fix simplification of
3311 multiplications inside AUTOWIRE connections, bug303.
3312 (verilog-auto-inst-port): Support parameter expansion in
3313 multidimensional arrays.
3314 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3315 after "assert property". Reported by Julian Gorfajn.
3316 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3317 with multiplication, bug303.
3318 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3319 Reported by Jan Frode Lonnum.
3320
1bbe96b2
GM
33212011-11-30 Juanma Barranquero <lekktu@gmail.com>
3322
3323 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3324 (hfy-shell-file-name, hfy-shell):
3325 * international/fontset.el (x-decompose-font-name): Fix typos.
3326
33272011-11-29 Ken Brown <kbrown@cornell.edu>
3328
3329 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3330 (gdb-version): Remove defvar.
3331 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3332 (gdb-gud-context-command, gdb-non-stop-handler)
3333 (gdb-current-context-command, gdb-stopped): Use it.
3334 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
3335 (gdb-non-stop-handler): Don't enable pretty-printing here.
3336 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
3337 non-stop mode. Use the following.
3338 (gdb-check-target-async): New defun.
3339 (gud-watch, gdb-stopped): Fix whitespace.
3340 (gdb-get-source-file): Don't try to display the source file if
3341 `gdb-main-file' is nil.
3342
33432011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3344
3345 * align.el: Try to generate fewer markers (bug#10047).
3346 (align--set-marker): New macro.
3347 (align-region): Use it.
3348
c935221f
SM
33492011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3350
3351 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3352
e70b5064
CY
33532011-11-29 Chong Yidong <cyd@gnu.org>
3354
3355 * indent.el (indent-for-tab-command, indent-according-to-mode):
3356 Doc fix.
3357 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3358
f3af92b7
MA
33592011-11-29 Michael Albinus <michael.albinus@gmx.de>
3360
3361 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3362 aware of remote file names. (Bug#10124)
3363
ed472be9
CY
33642011-11-29 Chong Yidong <cyd@gnu.org>
3365
3366 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3367
24510c22
SM
33682011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3369
3370 * files.el (find-file): Don't use force-same-window (bug#10144).
3371 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3372 use pop-to-buffer if the selected window can't be used.
3373 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3374
c60c3703
EZ
33752011-11-28 Eli Zaretskii <eliz@gnu.org>
3376
3377 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3378 special-mode-map.
3379
e95def75
CY
33802011-11-28 Chong Yidong <cyd@gnu.org>
3381
3382 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3383
c3f1c606
NR
33842011-11-27 Nick Roberts <nickrob@snap.net.nz>
3385
3386 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3387 gdb-get-source-file-list on gdb-create-source-file-list.
3388
00db469c
EZ
33892011-11-26 Eli Zaretskii <eliz@gnu.org>
3390
3391 * whitespace.el (whitespace-newline): Use a different foreground
3392 color for 16-color light-background displays.
3393
4ad3bc2a
CY
33942011-11-24 Chong Yidong <cyd@gnu.org>
3395
3396 * window.el (display-buffer--special-action): Doc fix.
3397
e9fce1ac
JB
33982011-11-25 Juanma Barranquero <lekktu@gmail.com>
3399
3400 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3401 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3402 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3403 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3404 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3405 (avl-tree-stack-first):
3406 * emacs-lisp/cconv.el (cconv--analyse-use):
3407 * net/gnutls.el (gnutls-negotiate): Fix typos.
3408
cb825e5d
GM
34092011-11-24 Glenn Morris <rgm@gnu.org>
3410
3adbe224
GM
3411 * lpr.el (lpr-windows-system, lpr-lp-system):
3412 * mail/binhex.el (binhex-begin-line):
3413 * progmodes/grep.el (grep-history, grep-find-history):
3414 * textmodes/flyspell.el:
3415 * vc/pcvs-defs.el (cvs-global-menu):
3416 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3417 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3418 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3419
321decc8
GM
3420 * net/tls.el: Fix case of "GnuTLS".
3421
420b63ad
GM
3422 * paths.el (rmail-file-name): Format doc-string for make-docfile.
3423
cb825e5d
GM
3424 * version.el (emacs-build-system): Give it a doc-string.
3425
a0649f08
JL
34262011-11-24 Juri Linkov <juri@jurta.org>
3427
3428 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3429
c0bc0fd4
GM
34302011-11-24 Glenn Morris <rgm@gnu.org>
3431
3432 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3433 if called on a non-mime message just toggle the headers. (Bug#8006)
3434
20db1522
JB
34352011-11-24 Juanma Barranquero <lekktu@gmail.com>
3436
3437 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3438 (allout-lead-with-comment-string, allout-structure-deleted-hook)
3439 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3440 (allout-rebullet-heading, allout-open-sibtopic)
3441 (allout-toggle-current-subtree-encryption)
3442 (allout-toggle-subtree-encryption, allout-encrypt-string)
3443 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3444 (allout-distinctive-bullets-string, allout-auto-activation):
3445 * window.el (window-normalize-buffer-to-display):
3446 * progmodes/verilog-mode.el (verilog-batch-indent):
3447 * textmodes/bibtex.el (bibtex-field-braces-opt)
3448 (bibtex-field-strings-opt):
3449 * vc/cvs-status.el (cvs-tree-merge):
3450 Fix typos.
3451
7262a87c
MA
34522011-11-23 Michael Albinus <michael.albinus@gmx.de>
3453
3454 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3455 `non-essential' to t, in order to avoid remote connections.
3456
283430a1
EZ
34572011-11-23 Eli Zaretskii <eliz@gnu.org>
3458
a1beca85
SM
3459 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3460 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
3461 case-insensitively.
3462
d2992a38
ML
34632011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3464
3465 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
3466
50419064
GM
34672011-11-23 Glenn Morris <rgm@gnu.org>
3468
da94eca1
GM
3469 * paths.el (rmail-file-name): Reformat the doc-string so that it
3470 is picked up.
3471
9aac4de2
GM
3472 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3473 (rmail-auto-file): Ignore case in the "special" field names,
3474 as mail-fetch-field does for all others.
3475
8038d2d2
GM
3476 * mail/rmail.el (rmail-forward):
3477 * mail/rmailkwd.el (rmail-set-label):
3478 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3479 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
3480
f3fe222a
GM
3481 * mail/rmail.el (rmail-current-message): Doc fix.
3482
50419064
GM
3483 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
3484
28109f49
SM
34852011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3486
3487 * server.el (server-eval-and-print): Allow C-g (bug#6585).
3488
394c65f1
GM
34892011-11-22 Glenn Morris <rgm@gnu.org>
3490
3491 * mail/rmailmm.el (test-rmail-mime-handler)
3492 (test-rmail-mime-bulk-handler)
3493 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3494
f2a0aa3a
JL
34952011-11-21 Juri Linkov <juri@jurta.org>
3496
1154d12e
JB
3497 * calc/calc.el (calc-read-key-sequence):
3498 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 3499
9c34a344
LMI
35002011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3501
3502 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3503 Tell the caller that the next line needs recomputation, even
3504 though it doesn't start a sexp (bug#10094).
3505
f04a3be9
SM
35062011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3507
3508 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3509
7978747f
SM
35102011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3511
f04a3be9
SM
3512 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3513 Use force-same-window.
7978747f 3514
fe7a3057
JB
35152011-11-20 Juanma Barranquero <lekktu@gmail.com>
3516
3517 * descr-text.el (describe-char-unicode-data):
3518 * json.el (json-string-escape):
3519 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3520 (Footnote-unicode, Footnote-style-p):
3521 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3522
24901d61
CY
35232011-11-20 Chong Yidong <cyd@gnu.org>
3524
3525 * window.el (replace-buffer-in-windows): Restore interactive spec.
3526
bac7ff22
SM
35272011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3528
24f3d7b9
SM
3529 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3530
bac7ff22
SM
3531 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3532 (byte-compile-global-not-obsolete-vars): New var.
3533 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3534 Use it.
3535 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3536
cd1181db
JB
35372011-11-20 Juanma Barranquero <lekktu@gmail.com>
3538
3539 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3540 * progmodes/pascal.el (electric-pascal-equal):
3541 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3542 * xml.el (xml-substitute-special): Fix typos.
3543
7fb18e9e
GM
35442011-11-20 Glenn Morris <rgm@gnu.org>
3545
3546 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3547 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3548 Doc fixes.
3549 (rmail-decode-mime-charset): Mark as obsolete.
3550
3551 * mail/rmailsum.el (rmail-message-regexp-p-1):
3552 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3553 Before using mime functions, check they are set. (Bug#10077)
3554
d5a6b3ba
JL
35552011-11-19 Juri Linkov <juri@jurta.org>
3556
3557 * info.el (Info-finder-find-node): Use `package--builtins' instead
3558 of `package-alist'. Use node names formed by the pattern "Keyword "
3559 and the keyword name.
3560
e981b61f
AS
35612011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3562
1d00653d 3563 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 3564
3ffbc301
JL
35652011-11-19 Juri Linkov <juri@jurta.org>
3566
3567 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3568 that calls `revert-buffer' on all Info buffers. (Bug#9915)
3569 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3570 `old-history', `old-history-forward'. Add let-binding
3571 `window-selected'. Remove calls to `kill-buffer',
3572 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
3573 before calling `Info-find-node', so `Info-find-node-2' will reread
3574 the Info file. Restore window positions only when `window-selected'
3575 is non-nil.
3576
30c62133
JL
35772011-11-19 Juri Linkov <juri@jurta.org>
3578
3579 * isearch.el (isearch-lazy-highlight-new-loop):
3580 Remove condition `(not isearch-error)'. (Bug#9918)
3581
3582 * misearch.el (multi-isearch-search-fun): Add condition
3583 `(not bound)' to ignore lazy-highlighting search.
3584 Add the search-failed message "end of multi" when the end of
3585 multi-sequence is reached. Uncapitalize the search-failed
3586 message "Repeat for next buffer".
3587
3588 * info.el (Info-search): Add the search-failed message
3589 "end of the manual" when the end of the manual is reached
3590 in Isearch mode.
3591
645ca9cf
JL
35922011-11-19 Juri Linkov <juri@jurta.org>
3593
3594 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3595 Use non-destructive `remove' instead of `delete' because
3596 `Info-history-list' stored to `Info-isearch-initial-history-list' in
3597 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3598
df754f66
JL
35992011-11-19 Juri Linkov <juri@jurta.org>
3600
3601 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3602 to nil instead of binding `search-ring' and `regexp-search-ring'.
3603 (Bug#9185)
3604
0e23d96a
EZ
36052011-11-19 Eli Zaretskii <eliz@gnu.org>
3606
3607 * simple.el (line-move): Force movement by logical lines for any
3608 hscrolled window, not only when auto-hscroll-mode is on.
3609 (line-move-visual): Update doc string to that effect. (Bug#10076)
3610
8a6ccb66
AS
36112011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3612
3613 * language/european.el (macintosh): Define as alias for mac-roman.
3614
49ae5b39
EZ
36152011-11-19 Eli Zaretskii <eliz@gnu.org>
3616
3617 * mail/rmailmm.el (rmail-mime-display-header)
3618 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3619 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3620 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3621 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3622 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3623 of a raw aref.
3624 (rmail-mime-entity-segment): To get past the tagline, move forward
3625 2 more lines, to account for the 2 empty lines that precede and
3626 follow the line with the buttons.
3627 (rmail-mime-update-tagline): Move one more line, to get past the
3628 empty line that follows the buttons in the tagline. (Bug#9520)
3629
c56cad4a
MR
36302011-11-19 Martin Rudalics <rudalics@gmx.at>
3631
3632 * window.el (window-max-delta-1, window-min-delta-1)
3633 (window-min-size-1, window-state-get-1, window-state-put-1)
3634 (window-state-put-2): Use "window--" prefix.
3635
cbe71af3
SM
36362011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3637
2ad52c60
SM
3638 * emacs-lisp/smie.el: Improve warnings and conflict detection.
3639 (smie-warning-count): New var.
3640 (smie-set-prec2tab): Use it.
3641 (smie-bnf->prec2): Improve warnings. Add docstring.
3642 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3643 (smie-bnf--set-class): New function.
3644 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
3645 corner case.
3646
6944dbc1
SM
3647 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3648 (compilation-error-properties, compilation-move-to-column):
3649 Handle compilation-first-column while in the target buffer.
3650
c400c4d7
SM
3651 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3652 Don't hardcode point-min==1.
3653
6dbe3e96
SM
3654 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3655 (eshell-rewrite-for-command): Remove workaround.
3656 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3657 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3658 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3659
cbe71af3
SM
3660 * files-x.el (modify-file-local-variable): Obey commenting conventions.
3661
a8e1496d
GM
36622011-11-17 Glenn Morris <rgm@gnu.org>
3663
3664 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3665 Ignore buffer-local generated-autoload-file if it is the same
3666 as the global value. (Bug#10049)
3667
df85d315
JB
36682011-11-17 Juanma Barranquero <lekktu@gmail.com>
3669
3670 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3671 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3672 (reftex-toc-previous-heading, reftex-toc-max-level)
3673 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3674 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3675 (reftex-toc-do-promote, reftex-toc-promote-prepare)
3676 (reftex-toc-promote-action, reftex-toc-extract-section-number)
3677 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3678 (reftex-toc-rename-label, reftex-toc-visit-location)
3679 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3680 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3681 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3682 leaving "*toc*" only for references to the buffer.
3683
a0c2d0ae
MR
36842011-11-17 Martin Rudalics <rudalics@gmx.at>
3685
3686 * window.el (window-resize, delete-window, split-window):
3687 Replace window-splits by window-combination-resize.
1d00653d 3688 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 3689
35c0bac8
GM
36902011-11-17 Glenn Morris <rgm@gnu.org>
3691
3692 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3693 Make bash entry derive from sh entry, not shell entry.
3694
d0c8fc8a
MA
36952011-11-16 Michael Albinus <michael.albinus@gmx.de>
3696
d0c8fc8a
MA
3697 * net/tramp-cache.el (tramp-flush-file-property): Flush also
3698 properties of linked files. (Bug#9879)
3699
7262a87c
MA
3700 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3701 local file name.
3702
7877f373
JB
37032011-11-16 Juanma Barranquero <lekktu@gmail.com>
3704
3705 * menu-bar.el (menu-bar-file-menu):
3706 * printing.el (pr-ps-utility):
3707 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3708 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3709 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3710 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3711 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3712 (icalendar--convert-cyclic-to-ical)
3713 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3714 (icalendar--convert-ical-to-diary)
3715 (icalendar--convert-recurring-to-diary)
3716 (icalendar--convert-non-recurring-all-day-to-diary)
3717 (icalendar-import-format-sample):
3718 * progmodes/idlw-shell.el (idlwave-shell-mode):
3719 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3720 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3721 (vhdl-ps-print-init): Fix typos.
3722
10649b82
KM
37232011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
3724
9d0cfcd6
GM
3725 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3726 FSF and collapse date sequence, obscure author/maintainer email address
3727 better, remove extra version line, track relocation of author's webpage.
10649b82 3728
9d0cfcd6
GM
3729 * progmodes/python.el (python-pdbtrack-input-prompt)
3730 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3731 regular python pdb prompts. Adjustments shamelessly taken exactly as
3732 suggested in EmacsWiki page (tiny change):
3733 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 3734
58179cce
JB
37352011-11-16 Juanma Barranquero <lekktu@gmail.com>
3736
3737 * expand.el (expand-pos, expand-index, expand-point):
3738 Remove redundant info from docstring.
3739 (expand-add-abbrevs): Doc fix.
3740 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3741 (expand-sample-perl-mode-expand-list): Fix typos.
3742
3743 * net/dbus.el (dbus-event-member-name):
3744 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3745 * term/pc-win.el (msdos-create-frame-with-faces):
3746 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3747
b6f67890
MR
37482011-11-16 Martin Rudalics <rudalics@gmx.at>
3749
3750 * window.el (split-window, window-state-get-1)
3751 (window-state-put-1, window-state-put-2): Rename occurrences of
3752 window-nest to window-combination-limit.
1d00653d 3753 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 3754
ce7ddba0
CY
37552011-11-16 Chong Yidong <cyd@gnu.org>
3756
3757 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3758 regexp (Bug#10033).
3759
3ae704f4
SM
37602011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3761
3762 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3763 `completing-read' will remove *Completions* and will preserve
3764 current-buffer for us.
3765 (tmm-add-prompt): Users of *Completions* will always (re)set its
3766 major mode.
3767 (tmm-old-comp-map): Remove.
3768
6ad1cdde
GM
37692011-11-16 Glenn Morris <rgm@gnu.org>
3770
3771 * mail/rmailedit.el: Require rmailmm when compiling.
3772 (rmail-old-mime-state): New declaration.
3773 (rmail-edit-current-message): If editing a mime message,
3774 edit the "raw" message from the mbox buffer.
3775 (rmail-cease-edit): Handle mime messages. (Bug#9840)
3776
d20faa20
GM
37772011-11-15 Glenn Morris <rgm@gnu.org>
3778
3779 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3780 which wasn't being used. Add optional arg to force given state.
3781 (rmail-mime): Add optional arg to force given state.
3782
c7015153
JB
37832011-11-15 Juanma Barranquero <lekktu@gmail.com>
3784
3785 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3786 * frame.el (display-mm-dimensions-alist):
3787 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3788 (outline-move-subtree-down):
3789 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3790 (newsticker--treeview-do-get-node):
3791 * net/quickurl.el (quickurl-list-buffer-name):
3792 * progmodes/dcl-mode.el (dcl-mode):
3793 * progmodes/gdb-mi.el (gdb-mapcar*):
3794 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3795
45261b50
GM
37962011-11-15 Glenn Morris <rgm@gnu.org>
3797
3798 * mail/rmail.el (rmail-file-coding-system): It's only ever used
3799 in a boolean sense, so just make it a boolean, and fix the doc.
3800 (rmail-show-mime-function, rmail-mime-feature)
3801 (rmail-require-mime-maybe): Doc fixes.
3802 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3803
3804 * mail/rmailmm.el (rmail-show-mime): Doc fix.
3805
0d26e0b6
JB
38062011-11-15 Juanma Barranquero <lekktu@gmail.com>
3807
3808 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3809 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3810 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3811 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3812
447f30f6
GM
38132011-11-15 Glenn Morris <rgm@gnu.org>
3814
672b871d
GM
3815 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3816 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3817 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3818 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3819 (rmail-mime, rmail-show-mime): Doc fixes.
3820
f6aa5bb1
GM
3821 * term/ns-win.el (mode-line-frame-identification):
3822 Leave it alone. (Bug#10051)
3823
947cd66b
GM
3824 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3825
447f30f6
GM
3826 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3827 Handle empty buffers. (Bug#9978)
3828
0b381c7e
JB
38292011-11-14 Juanma Barranquero <lekktu@gmail.com>
3830
3831 * international/mule.el (define-charset):
3832 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3833 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3834 * progmodes/verilog-mode.el (verilog-backward-token):
3835 * textmodes/ispell.el (lookup-words):
3836 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3837
71e027ac
GM
38382011-11-14 Glenn Morris <rgm@gnu.org>
3839
56632ce4
GM
3840 * progmodes/executable.el
3841 (executable-make-buffer-file-executable-if-script-p):
3842 Handle file-modes returning nil.
3843
40500957
GM
3844 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3845 message - not necessary, and causes problems. (Bug#9831)
3846
071c2340
GM
3847 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3848
d3cfca60
GM
3849 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3850
71e027ac
GM
3851 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3852 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
3853 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3854
89d61221
MR
38552011-11-12 Martin Rudalics <rudalics@gmx.at>
3856
3857 * window.el (window-resize, delete-window): Use window-splits
3858 variable instead of function.
3859 (window-state-get-1, window-state-put-2, window-state-put):
3860 Don't deal with windows' splits status.
3861
98282f6f
GM
38622011-11-12 Glenn Morris <rgm@gnu.org>
3863
3864 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3865 (apropos-documentation): Doc fixes.
3866
40a8bdf6
JB
38672011-11-11 Juanma Barranquero <lekktu@gmail.com>
3868
3869 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3870 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3871
65bd19ff
SM
38722011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3873
3874 * electric.el (electric-indent-post-self-insert-function): Make it
3875 possible for a char to only indent in some circumstances.
3876 (electric-indent-mode): Simplify.
3877
54f9154c
MR
38782011-11-11 Martin Rudalics <rudalics@gmx.at>
3879
3880 * window.el (windows-with-parameter): Remove unused function.
3881 (windows-at-side): Rename to window-at-side-list.
3882 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
3883 (window-side-check, window-size-ignore, window-size-fixed-1)
3884 (window-in-direction-2): Prefix with "window--".
3885 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 3886
68cbc58b
GM
38872011-11-11 Glenn Morris <rgm@gnu.org>
3888
3889 * subr.el (eval-after-load): If FILE is already loaded,
3890 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3891
b2621720
GM
38922011-11-10 Glenn Morris <rgm@gnu.org>
3893
9a4de110
GM
3894 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3895 Call svn via vc-svn-command rather than vc-do-command.
3896 (vc-svn-command): Add --non-interactive. (Bug#9993)
3897 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3898
b2621720
GM
3899 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3900 Add toggle-read-only. (Bug#7292)
3901 * files.el (toggle-read-only): Mention that it should only
3902 be used interactively. (Bug#10006)
3903
1dce7193
SM
39042011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3905
d9ac1a1e
SM
3906 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3907 Adjust regexp for OCaml warnings.
3908
0c325082
SM
3909 * electric.el (electric-pair-post-self-insert-function): Let user
3910 turn it off buffer-locally (bug#9932).
3911
90132c14
SM
3912 * progmodes/python.el (python-beginning-of-statement):
3913 Rewrite (bug#2703).
3914
1dce7193
SM
3915 * progmodes/compile.el: Better handle TABs (bug#9749).
3916 (compilation-internal-error-properties)
3917 (compilation-next-error-function): Obey the target buffer's
3918 compilation-error-screen-columns.
3919
c4e7c63a
JB
39202011-11-09 Juanma Barranquero <lekktu@gmail.com>
3921
3922 * progmodes/meta-mode.el: Remove obsolete comments.
3923 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3924 Fix typos in docstrings.
3925
2cffd681
MR
39262011-11-09 Martin Rudalics <rudalics@gmx.at>
3927
3928 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 3929 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
3930 (window--resizable): New function. Make all callers of
3931 window-resizable call window--resizable instead.
3932 (window-resizable): Rewrite in terms of window--resizable.
3933
0edcba87
GM
39342011-11-08 Glenn Morris <rgm@gnu.org>
3935
3936 * progmodes/delphi.el (delphi-mode-syntax-table):
3937 Let define-derived-mode define a proper syntax table. (Bug#9994)
3938
4b0d61e3
SM
39392011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3940
3941 * window.el: Stay away from defsubst.
3942 (window-list-no-nils): Remove.
3943 (window-state-get-1, window-state-get): Use backquote instead.
3944
cd394be1 39452011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 3946
4b0d61e3 3947 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 3948 Fix incorrect use of default argument in `completing-read'.
3949
e1c2c6f2
MR
39502011-11-08 Martin Rudalics <rudalics@gmx.at>
3951
3952 * window.el (display-buffer-function, special-display-function):
3953 Mention display-buffer-record-window but do not mention
3954 help-setup parameter in doc-strings.
b3f4a882 3955 (window-min-delta): Fix doc-string typo.
e1c2c6f2 3956
105216ed
CY
39572011-11-08 Chong Yidong <cyd@gnu.org>
3958
3959 * window.el (window-total-height, window-total-width): Doc fix.
3960 (window-body-size): Move from C.
3961 (window-body-height, window-body-width): Move to C.
3962
0a9f9ab5
SM
39632011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3964
3965 * window.el: Make special-display like display-buffer-alist (bug#9532).
3966 (display-buffer--special-action): New function, morphed
3967 from display-buffer--special.
3968 (display-buffer): Use it to handle special-display-buffers at higher
3969 priority (just after display-buffer-alist).
3970 (display-buffer-fallback-action, display-buffer--other-frame-action)
3971 (pop-to-buffer-same-window): Remove display-buffer--special.
3972
a769dd15
GM
39732011-11-07 Glenn Morris <rgm@gnu.org>
3974
3975 * calendar/cal-menu.el (cal-menu-set-date-title):
3976 Do nothing if not in a calendar. (Bug#9976)
3977
05a61ee3
SM
39782011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3979
3980 * files.el (find-file): Always use selected-window.
3981
be7f5545
MR
39822011-11-07 Martin Rudalics <rudalics@gmx.at>
3983
3984 * window.el (window-combinations): Make WINDOW argument
3985 mandatory. Rewrite doc-string.
3986 (walk-window-subtree, window-atom-check, window-min-delta)
3987 (window-max-delta, window--resize-this-window)
3988 (window--resize-root-window-vertically, window-tree)
3989 (balance-windows, window-state-put): Rewrite doc-strings as to
3990 not mention the term "subwindow".
3991 (window--resize-subwindows-skip-p): Rename to
3992 window--resize-child-windows-skip-p.
3993 (window--resize-subwindows-normal): Rename to
3994 window--resize-child-windows-normal.
3995 (window--resize-subwindows): Rename to
3996 window--resize-child-windows.
3997 (window-or-subwindow-p): Rename to window--in-subtree-p.
3998
3c6702ef
ML
39992011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4000
4001 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4002 Ensure that mbox format messages end in two newlines (Bug#9974).
4003
49745b39
CY
40042011-11-06 Chong Yidong <cyd@gnu.org>
4005
4006 * window.el (window-combination-p): Function deleted; its
4007 side-effect is not used in any existing code.
4008 (window-combinations, window-combined-p): Call window-*-child
4009 directly.
4010
24300f5f
CY
40112011-11-05 Chong Yidong <cyd@gnu.org>
4012
4013 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
4014 (window-size-ignore, window-state-get): Callers changed.
4015 (window-normalize-window): Rename from window-normalize-any-window.
4016 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 4017 (window-normalize-live-window): Delete.
447f16b8
CY
4018 (window-combination-p, window-combined-p, window-combinations)
4019 (walk-window-subtree, window-atom-root, window-min-size)
4020 (window-sizable, window-sizable-p, window-size-fixed-p)
4021 (window-min-delta, window-max-delta, window-resizable)
4022 (window-resizable-p, window-full-height-p, window-full-width-p)
4023 (window-current-scroll-bars, window-point-1, set-window-point-1)
4024 (window-at-side-p, window-in-direction, window-resize)
4025 (adjust-window-trailing-edge, maximize-window, minimize-window)
4026 (window-deletable-p, delete-window, delete-other-windows)
4027 (record-window-buffer, unrecord-window-buffer)
4028 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4029 (quit-window, split-window, window-state-put)
4030 (set-window-text-height, fit-window-to-buffer)
4031 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 4032
89bd5ee1
EZ
40332011-11-04 Eli Zaretskii <eliz@gnu.org>
4034
53479029
EZ
4035 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4036 rfc2047-decode-string.
4037 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4038 warnings.
4039
89bd5ee1
EZ
4040 * window.el (window-body-height, window-body-width): Mention in
4041 the doc string that the return values are in frame's canonical
4042 units. (Bug#9949)
4043
bd17fdee
AM
40442011-11-03 Alan Mackenzie <acm@muc.de>
4045
4046 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4047 change in cc-engine.el.
4048
acc825c5
SM
40492011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4050
4051 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4052
1885e5b8
MR
40532011-11-02 Martin Rudalics <rudalics@gmx.at>
4054
4055 * window.el (quit-window): Call unrecord-window-buffer after
4056 showing another buffer in the window. (Bug#9937)
acc825c5 4057 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 4058
ebe06da9
JB
40592011-11-02 Juanma Barranquero <lekktu@gmail.com>
4060
4061 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4062 Accept status with more than 9 shelves. (Bug#9935)
4063 Reported by Colin D Bennett <colin@gibibit.com>.
4064
4ee88440
MR
40652011-11-01 Martin Rudalics <rudalics@gmx.at>
4066
4067 * help.el (with-help-window): Don't reference
4068 temp-buffer-show-specifiers in doc-string.
4069
08e1d82c
AS
40702011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4071
4072 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4073 menu-item.
4074
84bd6e9e
VJL
40752011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4076
4077 * whitespace.el: New version 13.2.2.
4078 (whitespace-newline-mode): Disable properly. Reported by Sarah
4079 <EmacsWiki>.
4080
dba0634a
UJ
40812011-10-30 Ulf Jasper <ulf.jasper@web.de>
4082
4083 * net/newst-treeview.el: Remove "Time-stamp".
4084 (newsticker--group-manage-orphan-feeds): Do not call
4085 newsticker--treeview-tree-update.
db22a3c2
JB
4086 (newsticker-treeview-update, newsticker-treeview):
4087 Call newsticker--treeview-tree-update if necessary.
dba0634a 4088
3d8daefe
MR
40892011-10-30 Martin Rudalics <rudalics@gmx.at>
4090
4091 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
4092 (window-iso-combinations): Remove "iso-" infix.
4093 Suggested by Chong Yidong.
3d8daefe
MR
4094 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4095 (window-max-delta-1, window-resize, window--resize-siblings)
4096 (window--resize-this-window, adjust-window-trailing-edge)
4097 (split-window, balance-windows-1)
4098 (shrink-window-if-larger-than-buffer):
4099 * calendar/calendar.el (calendar-generate-window):
db22a3c2 4100 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 4101
1bc4c3ae
SM
41022011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4103
4104 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4105 in place (bug#9907).
4106 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4107 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4108 (eshell-structure-basic-command, eshell-rewrite-while-command)
4109 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4110 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4111 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4112 (eshell-do-pipelines-synchronously, eshell-eval-command):
4113 Use backquotes and prefer setq to set.
4114 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4115 (eshell-macrop): Use functionp.
c1e2f5fa 4116 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 4117
30b65d9c
CY
41182011-10-30 Chong Yidong <cyd@gnu.org>
4119
4120 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4121 instead of set-mark (Bug#9810).
4122
2d197ffb
CY
41232011-10-30 Chong Yidong <cyd@gnu.org>
4124
4125 * window.el (split-window-below, split-window-right): Rename from
4126 split-window-above-each-other and split-window-side-by-side
4127 respectively. All callers changed.
4128 (split-window-sensibly, split-window-sensibly): Use them.
4129 (split-window-keep-point): Doc fix.
4130
4131 * isearch.el: Add isearch-scroll property to split-window-below
4132 and split-window-right.
4133
4134 * follow.el (follow-mode):
4135 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4136 * progmodes/ada-xref.el (ada-gdb-application):
4137 * emulation/vip.el (vip-buffer-in-two-windows):
4138 * image-dired.el (image-dired-dired-with-window-configuration):
4139 * dired-x.el (dired-do-find-marked-files):
4140 * dired.el (dired-pop-to-buffer):
4141 * bs.el (bs--show-with-configuration):
4142 * vc/emerge.el (emerge-setup-windows):
4143 * textmodes/two-column.el (2C-two-columns):
4144 * textmodes/reftex-toc.el (reftex-toc):
4145 * progmodes/gdb-mi.el (gdb-setup-windows):
4146 * progmodes/fortran.el (fortran-window-create):
4147 * net/newst-treeview.el (newsticker--treeview-window-init):
4148 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4149 * emulation/tpu-edt.el (tpu-gold-map):
4150 * emulation/crisp.el (crisp-mode-map):
4151 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4152
38bb2ca8
CY
41532011-10-29 Chong Yidong <cyd@gnu.org>
4154
aa4de341
CY
4155 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4156
e1eb5385
CY
4157 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4158
5d2ece3c
CY
4159 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4160 forged Ispell output (Bug#7904).
4161
38bb2ca8
CY
4162 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4163
d0af9f77
SM
41642011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4165
4166 * doc-view.el: Avoid ugly errors about not finding nil.
4167 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4168 (doc-view-dvipdf-program, doc-view-unoconv-program)
4169 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4170 Avoid nil or absolute file name as default value.
4171 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4172
52bedd34
AM
41732011-10-28 Alan Mackenzie <acm@muc.de>
4174
db22a3c2 4175 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 4176
7e43cfa5
AM
41772011-10-28 Alan Mackenzie <acm@muc.de>
4178
4179 Amend the handling of c-beginning/end-of-defun in nested declaration
4180 scopes.
4181
52bedd34
AM
4182 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4183 cc-langs.el. Change it to a defcustom.
7e43cfa5 4184
52bedd34
AM
4185 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4186 cc-vars.el.
7e43cfa5 4187
d0af9f77
SM
4188 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4189 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 4190
52bedd34 4191 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 4192 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
4193 (c-widen-to-enclosing-decl-scope): New function.
4194 (c-while-widening-to-decl-block): New macro.
4195 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4196 outward for defun boundaries, and correspondingly change symbol
4197 `respect-enclosure' to `go-outward'.
4198 (c-declaration-limits): Change algorithm to report only the "innermost"
4199 defun's boundaries.
4200
1a2ce9ee
DD
42012011-10-28 Deniz Dogan <deniz@dogan.se>
4202
4203 * net/rcirc.el (rcirc-mode): Use hard newlines.
4204
bc97a826
AM
42052011-10-28 Alan Mackenzie <acm@muc.de>
4206
4207 Amend to indent and fontify macros "which include their own semicolon"
4208 correctly, using the "virtual semicolon" mechanism.
4209
52bedd34 4210 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 4211
d0af9f77 4212 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 4213 Recode to scan one line at a time rather than having \n and \r
58179cce 4214 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 4215 (c-forward-label): Amend for virtual semicolons.
58179cce 4216 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 4217
52bedd34
AM
4218 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4219 of the new C macros.
bc97a826 4220
52bedd34 4221 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
4222 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4223 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
4224 (c-opt-cpp-macro-define): Make into a full language variable.
4225 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4226 AWK Mode (including \n, \r) removed, no longer needed.
4227
d0af9f77
SM
4228 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4229 Invoke c-make-macro-with-semi-re.
bc97a826 4230
52bedd34
AM
4231 * progmodes/cc-vars.el (c-macro-with-semi-re):
4232 (c-macro-names-with-semicolon): New variables.
58179cce 4233 (c-make-macro-with-semi-re): New function.
bc97a826 4234
7a6c0941
SM
42352011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4236
4237 * vc/log-edit.el: Fill empty field rather than adding new one.
4238 (log-edit-add-field): New function.
4239 (log-edit-insert-changelog): Use it.
4240
b0c4cdcf
ML
42412011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4242
4243 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4244
ee1f1da9
SM
42452011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4246
4247 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4248 (gdb--check-interpreter): New function.
4249 (gdb): Use it.
4250
51bc5f8b
GM
42512011-10-27 Glenn Morris <rgm@gnu.org>
4252
416a2c45
GM
4253 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4254 (least-positive-float, least-negative-float)
4255 (least-positive-normalized-float, least-negative-normalized-float)
4256 (float-epsilon, float-negative-epsilon):
4257 Remove unnecessary declarations.
4258
4259 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4260 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4261 (least-positive-float, least-negative-float)
4262 (least-positive-normalized-float, least-negative-normalized-float)
4263 (float-epsilon, float-negative-epsilon): Add doc-strings,
4264 based on those in cl.texi.
4265
51bc5f8b
GM
4266 * files.el (set-visited-file-name): If the major-mode changed,
4267 reload the local variables. (Bug#9796)
4268
15de15c6
CY
42692011-10-27 Chong Yidong <cyd@gnu.org>
4270
4271 * subr.el (change-major-mode-after-body-hook): New hook.
4272 (run-mode-hooks): Run it.
4273
ee1f1da9
SM
4274 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4275 Use change-major-mode-before-body-hook.
15de15c6
CY
4276
4277 * simple.el (fundamental-mode):
4278 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4279 change introducing fundamental-mode-hook.
4280
5430d399
JB
42812011-10-26 Juanma Barranquero <lekktu@gmail.com>
4282
acc825c5 4283 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 4284
ad74a69e
MA
42852011-10-26 Michael Albinus <michael.albinus@gmx.de>
4286
4287 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 4288 tramp.el explicitly. (Bug#7583)
ad74a69e 4289
71d4c2a5
SM
42902011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4291
4292 * progmodes/octave-mod.el:
4293 * progmodes/octave-inf.el: Update maintainer.
4294
b1f6fa26
CY
42952011-10-26 Chong Yidong <cyd@gnu.org>
4296
4297 * subr.el (with-wrapper-hook): Rewrite doc.
4298
3f04efd6
MA
42992011-10-25 Michael Albinus <michael.albinus@gmx.de>
4300
4301 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 4302 filenames "/method:foo:". (Bug#9793)
3f04efd6 4303
410488d3
SM
43042011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4305
4306 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4307 (bug#9865).
4308
c1ebb47e
GM
43092011-10-24 Glenn Morris <rgm@gnu.org>
4310
4311 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4312
7f5c46c7
MA
43132011-10-24 Michael Albinus <michael.albinus@gmx.de>
4314
4315 * notifications.el: Add the requirement of a running D-Bus session
4316 bus to the Commentary.
4317
db2440b6
JL
43182011-10-24 Juri Linkov <juri@jurta.org>
4319
4320 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4321 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4322 (Bug#9364)
4323
feecf435
JL
43242011-10-24 Juri Linkov <juri@jurta.org>
4325
4326 * info.el (Info-following-node-name-re): Add newline to the list
4327 of allowed characters for leading space. (Bug#9824)
4328
a3839de2
SM
43292011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4330
acc825c5
SM
4331 * progmodes/octave-inf.el (inferior-octave-mode-map):
4332 Fix C-c C-h binding.
a3839de2
SM
4333 * progmodes/octave-mod.el (octave-help): Remove.
4334
09388e76
MA
43352011-10-23 Michael Albinus <michael.albinus@gmx.de>
4336
4337 Sync with Tramp 2.2.3.
4338
4339 * net/tramp-cache.el (top): Pacify byte-compiler using
4340 `init-file-user' and `site-run-file'.
4341
4342 * net/trampver.el: Update release number.
4343
86c60681
CY
43442011-10-23 Chong Yidong <cyd@gnu.org>
4345
4346 * files.el (toggle-read-only): Remove obsolete comment about
4347 version control.
4348
4349 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4350 for toggle-read-only. Note that this hasn't called vc-next-action
4351 since 2008-05-02, though it wasn't documented at the time.
4352
a3839de2
SM
4353 * vc/ediff-init.el (ediff-toggle-read-only-function):
4354 Use toggle-read-only.
86c60681 4355
cd5495ff
AM
43562011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4357
4358 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4359 of c-parse-state.
4360
00b77525 4361 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 4362 correct faulty logical expression.
cd5495ff
AM
4363 (c-parse-state-state, c-record-parse-state-state):
4364 (c-replay-parse-state-state): New defvar/defuns.
4365 (c-debug-parse-state): Use new functions.
4366
42ee24ed
MR
43672011-10-22 Martin Rudalics <rudalics@gmx.at>
4368
4369 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 4370 last fix. Use window-in-direction correctly.
42ee24ed 4371
a7dee7e7
CY
43722011-10-21 Chong Yidong <cyd@gnu.org>
4373
4374 * progmodes/idlwave.el (idlwave-mode):
4375 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
4376 require-final-newline; that's done in prog-mode.
4377 Suggested by Stefan Monnier.
a7dee7e7 4378
e07b9a6d
MR
43792011-10-21 Martin Rudalics <rudalics@gmx.at>
4380
4381 * mouse.el (mouse-drag-window-above)
4382 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4383 (mouse-drag-mode-line-1, mouse-drag-header-line)
4384 (mouse-drag-vertical-line-rightward-window): Remove.
4385 (mouse-drag-line): New function.
4386 (mouse-drag-mode-line, mouse-drag-header-line)
4387 (mouse-drag-vertical-line): Call mouse-drag-line.
4388 * window.el (window-at-side-p, windows-at-side): New functions.
4389
7e1361d9
UM
43902011-10-21 Ulrich Mueller <ulm@gentoo.org>
4391
4392 * tar-mode.el (tar-grind-file-mode):
4393 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4394
30fcaf3a
CY
43952011-10-21 Chong Yidong <cyd@gnu.org>
4396
4397 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
4398 * progmodes/vera-mode.el (vera-mode):
4399 Use mode-require-final-newline.
30fcaf3a 4400
516eddb0
GM
44012011-10-20 Glenn Morris <rgm@gnu.org>
4402
db22a3c2 4403 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 4404
10d5f513
CS
44052011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
4406
4407 * emulation/cua-base.el (cua-set-mark): Fix case of string.
4408
ac6c8639
CY
44092011-10-20 Chong Yidong <cyd@gnu.org>
4410
4411 * emulation/cua-base.el (cua-mode):
4412 * mail/footnote.el (footnote-mode):
4413 * mail/mailabbrev.el (mail-abbrevs-mode):
4414 * net/xesam.el (xesam-minor-mode):
4415 * progmodes/bug-reference.el (bug-reference-mode):
4416 * progmodes/cap-words.el (capitalized-words-mode):
4417 * progmodes/compile.el (compilation-minor-mode)
4418 (compilation-shell-minor-mode):
4419 * progmodes/gud.el (gud-tooltip-mode):
4420 * progmodes/hideif.el (hide-ifdef-mode):
4421 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4422 * progmodes/subword.el (subword-mode):
4423 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4424 * progmodes/which-func.el (which-function-mode):
4425 * term/tvi970.el (tvi970-set-keypad-mode):
4426 * term/vt100.el (vt100-wide-mode):
4427 * textmodes/flyspell.el (flyspell-mode):
4428 * textmodes/ispell.el (ispell-minor-mode):
4429 * textmodes/nroff-mode.el (nroff-electric-mode):
4430 * textmodes/paragraphs.el (use-hard-newlines):
4431 * textmodes/refill.el (refill-mode):
4432 * textmodes/reftex.el (reftex-mode):
4433 * textmodes/rst.el (rst-minor-mode):
4434 * textmodes/sgml-mode.el (html-autoview-mode)
4435 (sgml-electric-tag-pair-mode):
4436 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4437 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4438 * emulation/crisp.el (crisp-mode):
4439 * emacs-lisp/eldoc.el (eldoc-mode):
4440 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4441 minor mode behavior.
4442
aa42ab43
JL
44432011-10-19 Juri Linkov <juri@jurta.org>
4444
4445 * descr-text.el (describe-char): Add #x2010 and #x2011 to
4446 the list of hard-coded chars with escape-glyph face.
4447
89400f1d
SM
44482011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4449
4450 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4451
305c07f6
MA
44522011-10-19 Michael Albinus <michael.albinus@gmx.de>
4453
4454 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4455 running process.
4456
13754b54
GM
44572011-10-19 Glenn Morris <rgm@gnu.org>
4458
4459 * vc/vc-bzr.el (vc-bzr-after-dir-status):
4460 Ignore ignored files. (Bug#9726)
4461
06e21633
CY
44622011-10-19 Chong Yidong <cyd@gnu.org>
4463
4464 Doc fix for minor modes, stating that an omitted argument enables
4465 the mode unconditionally when called from Lisp.
4466
4467 * abbrev.el (abbrev-mode):
4468 * allout.el (allout-mode):
4469 * autoinsert.el (auto-insert-mode):
4470 * autoarg.el (autoarg-mode, autoarg-kp-mode):
4471 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4472 (global-auto-revert-mode):
4473 * battery.el (display-battery-mode):
4474 * composite.el (global-auto-composition-mode)
4475 (auto-composition-mode):
4476 * delsel.el (delete-selection-mode):
4477 * desktop.el (desktop-save-mode):
4478 * dired-x.el (dired-omit-mode):
4479 * dirtrack.el (dirtrack-mode):
4480 * doc-view.el (doc-view-minor-mode):
4481 * double.el (double-mode):
4482 * electric.el (electric-indent-mode, electric-pair-mode):
4483 * emacs-lock.el (emacs-lock-mode):
4484 * epa-hook.el (auto-encryption-mode):
4485 * follow.el (follow-mode):
4486 * font-core.el (font-lock-mode):
4487 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4488 * help.el (temp-buffer-resize-mode):
4489 * hilit-chg.el (highlight-changes-mode)
4490 (highlight-changes-visible-mode):
4491 * hi-lock.el (hi-lock-mode):
4492 * hl-line.el (hl-line-mode, global-hl-line-mode):
4493 * icomplete.el (icomplete-mode):
4494 * ido.el (ido-everywhere):
4495 * image-file.el (auto-image-file-mode):
4496 * image-mode.el (image-minor-mode):
4497 * iswitchb.el (iswitchb-mode):
4498 * jka-cmpr-hook.el (auto-compression-mode):
4499 * linum.el (linum-mode):
4500 * longlines.el (longlines-mode):
4501 * master.el (master-mode):
4502 * mb-depth.el (minibuffer-depth-indicate-mode):
4503 * menu-bar.el (menu-bar-mode):
4504 * minibuf-eldef.el (minibuffer-electric-default-mode):
4505 * mouse-sel.el (mouse-sel-mode):
4506 * msb.el (msb-mode):
4507 * mwheel.el (mouse-wheel-mode):
4508 * outline.el (outline-minor-mode):
4509 * paren.el (show-paren-mode):
4510 * recentf.el (recentf-mode):
4511 * reveal.el (reveal-mode, global-reveal-mode):
4512 * rfn-eshadow.el (file-name-shadow-mode):
4513 * ruler-mode.el (ruler-mode):
4514 * savehist.el (savehist-mode):
4515 * scroll-all.el (scroll-all-mode):
4516 * scroll-bar.el (scroll-bar-mode):
4517 * server.el (server-mode):
4518 * shell.el (shell-dirtrack-mode):
4519 * simple.el (auto-fill-mode, transient-mark-mode)
4520 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4521 (line-number-mode, column-number-mode, size-indication-mode)
4522 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4523 * strokes.el (strokes-mode):
4524 * time.el (display-time-mode):
4525 * t-mouse.el (gpm-mouse-mode):
4526 * tool-bar.el (tool-bar-mode):
4527 * tooltip.el (tooltip-mode):
4528 * type-break.el (type-break-mode-line-message-mode)
4529 (type-break-query-mode):
4530 * view.el (view-mode):
4531 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4532 (global-whitespace-mode, global-whitespace-newline-mode):
4533 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4534
a3839de2
SM
4535 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4536 Fix autogenerated docstring.
06e21633 4537
5214e501
JL
45382011-10-19 Juri Linkov <juri@jurta.org>
4539
4540 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4541 by checking environment variables "DESKTOP_SESSION" and
4542 "XDG_CURRENT_DESKTOP". (Bug#9779)
4543
195f8db9
JL
45442011-10-19 Juri Linkov <juri@jurta.org>
4545
4546 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4547 (browse-url-chromium-program, browse-url-chromium-arguments):
4548 New defcustoms.
4549 (browse-url-default-browser): Check for `browse-url-chromium' and
4550 call `browse-url-chromium-program'.
4551 (browse-url-chromium): New command. (Bug#9779)
4552
343a34ff
JB
45532011-10-18 Juanma Barranquero <lekktu@gmail.com>
4554
4555 * facemenu.el (list-colors-duplicates): On Windows, detect more
4556 duplicates by assuming that only colors matching "^System" are
4557 special "system colors". (Bug#9722)
4558
6978a151
SM
45592011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4560
4561 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4562 to distinguish the author from the committer.
4563
6a80b297
MA
45642011-10-18 Michael Albinus <michael.albinus@gmx.de>
4565
4566 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4567
b31a5677
JK
45682011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
4569
4570 * international/mule.el (sgml-html-meta-auto-coding-function):
4571 Add support for detecting encoding in HTML5 specified only as
4572 <meta charset="UTF-8">. Implementation just makes http-equiv and
4573 content-type parts from HTML4 encoding string optional. (Bug#9716)
4574
80c6d77f
GM
45752011-10-18 Glenn Morris <rgm@gnu.org>
4576
4577 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
4578
08b0fee8
CY
45792011-10-18 Chong Yidong <cyd@gnu.org>
4580
4581 * faces.el (cursor): Doc fix.
4582
67e729a5
CY
45832011-10-17 Chong Yidong <cyd@gnu.org>
4584
4585 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4586
343a34ff 45872011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
4588
4589 * dirtrack.el (dirtrack): Support shell buffers with path
4590 prefixes, e.g. tramp-based remote shells. (Bug#9647)
4591
0bc06380
TZ
45922011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
4593
4594 * json.el: Bump version to 1.3 and note change in History.
4595 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4596
8b79f3e0
SM
45972011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4598
5a7c536b
SM
4599 * comint.el (comint-insert-input, comint-send-input)
4600 (comint-get-old-input-default, comint-backward-matching-input)
4601 (comint-next-prompt): Use nil instead of `input' for field property of
4602 past user input (bug#114).
4603
96a8a0df
SM
4604 * minibuffer.el (completion--replace): Inherit surrounding properties
4605 (bug#114).
4606 (minibuffer-complete-and-exit): Use it.
4607
8b79f3e0
SM
4608 * comint.el (comint--table-subvert): Quote the all-completions output
4609 (bug#9160).
4610
b8f7ff0d
MR
46112011-10-17 Martin Rudalics <rudalics@gmx.at>
4612
8b79f3e0 4613 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 4614
b8f7ff0d 4615 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 4616 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
4617 entries and separate them from frame entries.
4618
c235b555
GM
46192011-10-15 Glenn Morris <rgm@gnu.org>
4620
4621 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4622 Doc fixes.
4623
6bbfa6e1
CY
46242011-10-15 Chong Yidong <cyd@stupidchicken.com>
4625
8b79f3e0
SM
4626 * net/network-stream.el (network-stream-open-starttls):
4627 Improve detection of failure due to lack of TLS support.
ec5c990d 4628
6bbfa6e1
CY
4629 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4630 putting the input text in front and in bold.
4631
98488977
SM
46322011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4633
3d1337be
SM
4634 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4635
ee0b45e4
SM
4636 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4637 empty buffer.
4638
98488977
SM
4639 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4640 unread-command-events rather than pushing yet-another event.
4641
186f4720
EZ
46422011-10-14 Eli Zaretskii <eliz@gnu.org>
4643
4644 * mail/sendmail.el (sendmail-query-once): Improve the wording of
4645 the explanation of the possible choices. Make the options passed
4646 to completing-read shorter.
4647
8b7a997c
AM
46482011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4649
4650 * textmodes/flyspell.el (flyspell-large-region): Make sure
4651 extended character mode is used if defined (Bug#1339).
4652
12587bbb
EZ
46532011-10-13 Eli Zaretskii <eliz@gnu.org>
4654
4655 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
4656 character info for LRE, LRO, RLE, and RLO characters by appending
4657 an invisible PDF.
12587bbb 4658
bad41229
SM
46592011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
4660
4661 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4662 even in case of error; add debug spec; simplify data flow.
4663 (with-timeout-handler): Remove.
4664
28dbc92f
MA
46652011-10-12 Michael Albinus <michael.albinus@gmx.de>
4666
4667 Fix Bug#6019, Bug#9315.
4668
4669 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4670 complete `buffer-file-name', the local file name part could look
4671 remotely (for example on VMS).
4672
4673 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4674 `tramp-run-real-handler'.
4675 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4676 already quoted by '"'.
4677
4678 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4679 Let `file-name-handler-alist' be nil, the local file name part
4680 could look remotely (for example on VMS).
4681
e1b0b23a
SM
46822011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4683
4684 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4685 from here...
4686 (flyspell-post-command-hook): ...to here.
4687
a120bde9
SM
46882011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4689
4690 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4691 if not needed.
4692 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
4693 using completion. Protect against "slow" callers.
4694 Remove the "message hack".
4695
7ce7717b
JL
46962011-10-11 Juri Linkov <juri@jurta.org>
4697
4698 * isearch.el (isearch-lazy-highlight-word): New variable.
4699 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4700 Use it. (Bug#9727)
4701
c02ee9d6
GM
47022011-10-11 Glenn Morris <rgm@gnu.org>
4703
4704 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4705 like f90-previous-statement does.
4706
93e616fd 47072011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4708
1f190e73 4709 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
4710 only in interactive use, to avoid error.
4711
af7b6078
SM
47122011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4713
4714 * minibuffer.el (completion-file-name-table): Fix last change,
4715 i.e. ignore normal errors but not the other ones.
4716
0563dae9
MR
47172011-10-10 Martin Rudalics <rudalics@gmx.at>
4718
4719 * window.el (special-display-buffer-names)
4720 (special-display-regexps): Remove some remnants of earlier
4721 changes from doc-strings.
366ca7f3
MR
4722 (quit-windows-on): New function.
4723
4724 * vc/vc.el (vc-revert, vc-rollback):
4725 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4726 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 4727 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 4728
49677495
MR
47292011-10-09 Martin Rudalics <rudalics@gmx.at>
4730
4731 * window.el (frame-auto-hide-function): Add version tag.
4732 (Bug#9699)
4733
56f2d1e1
MA
47342011-10-09 Michael Albinus <michael.albinus@gmx.de>
4735
4736 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4737 condition.
4738
112a6592
LL
47392011-10-09 Leo Liu <sdl.web@gmail.com>
4740
4741 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4742 (Bug#9701)
4743
0812589b
GM
47442011-10-08 Glenn Morris <rgm@gnu.org>
4745
4746 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4747 before the first code statement zero indent. (Bug#9690)
4748
b2b0776e
CY
47492011-10-08 Chong Yidong <cyd@stupidchicken.com>
4750
4751 * simple.el (count-words-region): Always count in the region.
4752 Report the number of lines and characters too.
4753 (count-words): New command, which counts in the buffer if the
4754 region is inactive, as count-words-region used to.
4755 (count-words--message): New function. Handle plurals.
4756 (count-lines-region): Make it an alias for count-words-region.
4757
4758 * bindings.el (esc-map): Replace count-lines-region with
4759 count-words-region.
4760
c557cd6b
MR
47612011-10-08 Martin Rudalics <rudalics@gmx.at>
4762
4763 * window.el (window--delete): Delete dedicated frame
4764 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 4765 (switch-to-buffer): Fix doc-string typo.
c557cd6b 4766
61a57ef4 47672011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4768
3a7d293b 4769 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 4770
c3833279
CY
47712011-10-07 Chong Yidong <cyd@stupidchicken.com>
4772
4773 * bindings.el ([M-left],[M-right]): Bind to left-word and
4774 right-word respectively.
4775
21ce8245
GM
47762011-10-07 Glenn Morris <rgm@gnu.org>
4777
4778 * cus-start.el (debug-on-quit): Fix custom type.
4779
6d823bb2
LMI
47802011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4781
0181e193
LMI
4782 * subr.el (define-key-after): Clarify that the function is not
4783 useful for non-menu keymaps.
4784
6d823bb2
LMI
4785 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4786
8e3459ce 47872011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4788
21ce8245 4789 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 4790 in current minibuffer (Fix bug with recursive minibuffers).
4791
a1c2d21e
CY
47922011-10-06 Chong Yidong <cyd@stupidchicken.com>
4793
4794 * progmodes/gdb-mi.el (gdb): Doc fix.
4795
5a4cf282
MR
47962011-10-05 Martin Rudalics <rudalics@gmx.at>
4797
4798 * window.el (frame-auto-hide-function): New option replacing
4799 frame-auto-delete. Suggested by Stefan Monnier.
4800 (window--delete): Call frame-auto-hide-function instead of
4801 investigating frame-auto-delete.
c96111ea
MR
4802 (window-point-1, set-window-point-1): New functions.
4803 (window-in-direction, record-window-buffer, window-state-get-1)
4804 (display-buffer-record-window): Use window-point-1 instead of
4805 window-point.
4806 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 4807
9854542e
SM
48082011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4809
4810 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4811
8943cfb0
GM
48122011-10-05 Glenn Morris <rgm@gnu.org>
4813
4814 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4815 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
4816
647ab967
LL
48172011-10-05 Leo Liu <sdl.web@gmail.com>
4818
4819 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4820 works with buffer object.
4821
3ddfbced
SM
48222011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4823
4824 * mpc.el (mpc-tool-bar-map): Add labels.
4825
bdfa5dd2
GM
48262011-10-04 Glenn Morris <rgm@gnu.org>
4827
4828 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4829
0e2070b5
MR
48302011-10-04 Martin Rudalics <rudalics@gmx.at>
4831
4832 * window.el (window--delete): New function.
4833 (frame-auto-delete): Resuscitate option.
4834 (bury-buffer, replace-buffer-in-windows)
4835 (quit-window): Rewrite using window--delete.
4836 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4837 Pass display-buffer-mark-dedicated to window--display-buffer-2
4838 (Bug#9639).
4839
3dc61a09
SM
48402011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4841
915a9b64
SM
4842 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4843 returns a list (bug#9554). Add remote file name completion.
4844 * comint.el (comint--table-subvert): Curry and get quote&unquote
4845 functions as arguments.
4846 (comint--complete-file-name-data): Adjust call accordingly.
4847 * pcomplete.el (pcomplete--table-subvert): Remove.
4848 (pcomplete-completions-at-point): Use comint--table-subvert instead.
4849
3dc61a09
SM
4850 * minibuffer.el (completion-table-case-fold): Use currying.
4851 (completion--styles-type, completion--cycling-threshold-type):
4852 New constants.
4853 (completion-styles, completion-category-overrides)
4854 (completion-cycle-threshold): Use them.
4855 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4856 completion-table-case-fold.
4857
8ea0a993
SB
48582011-10-03 Stephen Berman <stephen.berman@gmx.net>
4859
4860 * minibuffer.el (completion-category-overrides): Fix type of styles
4861 and add more user friendly tags (bug#9660).
4862
8c24b7f6
SM
48632011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4864
4865 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4866 (mule-input-method-string): New widget.
4867 (default-input-method, language-info-custom-alist): Use it.
4868
428fe61a
SM
48692011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4870
32c1fffd
SM
4871 * pcomplete.el: Require comint.
4872 (pcomplete--common-suffix): Remove.
4873 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4874 (pcomplete--table-subvert): Sync with comint--table-subvert.
4875 (pcomplete--entries): Use comint-completion-file-name-table.
4876 * comint.el (comint-unquote-filename): Simplify.
4877 (comint-completion-file-name-table): New function (bug#9616).
4878 (comint--complete-file-name-data): Use it.
4879
428fe61a
SM
4880 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4881 (pcmpl-gnu-tar-buffer): Remove.
4882 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
4883 around. Make sure pcomplete-suffix-list is only changed temporarily.
4884 Don't look inside the tar's file if it's too large.
428fe61a 4885
04c52e2f
CY
48862011-10-01 Chong Yidong <cyd@stupidchicken.com>
4887
ce3cefcc
CY
4888 * cus-edit.el (custom-mode-map):
4889 * epa.el (epa-key-list-mode-map):
4890 * man.el (Man-mode-map):
4891 * startup.el (splash-screen-keymap):
4892 * simple.el (special-mode-map): Use scroll-up-command and
4893 scroll-down-command.
4894
4895 * progmodes/idlw-help.el (idlwave-help-mode-map):
4896 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4897 * net/newst-plainview.el (newsticker-mode-map):
4898 * emulation/ws-mode.el (wordstar-mode-map):
4899 * emulation/vi.el (vi-com-map):
4900 * calc/calc-graph.el (calc-graph-show-dumb):
4901 * term/sun.el (terminal-init-sun):
4902 * term/ns-win.el (global-map):
4903 * progmodes/grep.el (grep-mode-map):
4904 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4905 * mail/rmail.el (rmail-mode-map):
4906 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4907
04c52e2f
CY
4908 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4909 custom-safe-themes as special.
4910
79adf8c8
JD
49112011-10-01 Julien Danjou <julien@danjou.info>
4912
4913 * notifications.el (notifications-notify): Fix docstring.
4914
63bd50d3
PS
49152011-10-01 Per Starbäck <per@starback.se>
4916
4917 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4918
199e4c7e
MR
49192011-09-30 Martin Rudalics <rudalics@gmx.at>
4920
4921 * startup.el (command-line-1): Fix last fix by inserting
4922 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 4923 (Bug#9605) and (Bug#9636)
199e4c7e 4924
fe5f08dd
EZ
49252011-09-29 Eli Zaretskii <eliz@gnu.org>
4926
4927 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4928 window is hscrolled, move by logical lines. (Bug#9607)
4929 (line-move-visual): Update the doc string to the above effect.
4930
b5516bbd
MR
49312011-09-29 Martin Rudalics <rudalics@gmx.at>
4932
ccee00c0
MR
4933 * window.el (display-buffer-record-window): When WINDOW is the
4934 selected window use `point' instead of `window-point'. (Bug#9626)
4935
b5516bbd
MR
4936 * startup.el (command-line-1): Use insert-before-markers when
4937 inserting initial-scratch-message. (Bug#9605)
ccee00c0 4938
b5516bbd
MR
4939 * help.el (help-window): Remove variable.
4940
52aa0014
GM
49412011-09-29 Glenn Morris <rgm@gnu.org>
4942
4943 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4944
df9a7357
JB
49452011-09-29 Juanma Barranquero <lekktu@gmail.com>
4946
4947 * descr-text.el (describe-char-categories): Accept category
4948 descriptions more than one line long.
4949
a8406c20
SM
49502011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4951
88d9610c
SM
4952 * simple.el (delete-trailing-whitespace): Fix last change.
4953
a5daf810
SM
4954 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4955 Don't confuse "y => 3" as the beginning of a `y' operation.
4956
a8406c20
SM
4957 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4958 object has more than 4 slots (bug#9613).
4959
a239d4e9
JB
49602011-09-28 Juanma Barranquero <lekktu@gmail.com>
4961
4962 * subr.el (with-output-to-temp-buffer):
4963 * net/quickurl.el (quickurl, quickurl-browse-url):
4964 Fix typos in docstrings.
4965
693fbdb6
EZ
49662011-09-27 Eli Zaretskii <eliz@gnu.org>
4967
4968 * minibuffer.el (completion-styles)
4969 (completion-category-overrides): Cross reference each other in doc
4970 strings.
4971
8b457e28
GM
49722011-09-27 Glenn Morris <rgm@gnu.org>
4973
4974 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4975 to split-string. (Bug#9606)
4976
85a16208
LMI
49772011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4978
4979 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4980 (bug#9615).
4981
502f9ebd
CY
49822011-09-27 Chong Yidong <cyd@stupidchicken.com>
4983
4984 * emacs-lisp/package.el (list-packages): Fix echo area message.
4985
7690bdea
LL
49862011-09-27 Leo Liu <sdl.web@gmail.com>
4987
4988 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4989
e2ee6f30
MA
49902011-09-25 Michael Albinus <michael.albinus@gmx.de>
4991
4992 * net/dbus.el (dbus-unregister-object): Don't release services for
4993 registered signals. (Bug#9581)
4994
f3f98342
TZ
49952011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4996
4997 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4998 function that picks between cfengine 2 and 3 support
4999 automatically. Update docs accordingly.
5000
dd7aa8dd
KH
50012011-09-22 Kenichi Handa <handa@m17n.org>
5002
5003 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5004 ZERO.
5005 (indian-itrans-v5-table-for-tamil): New variable.
5006 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5007
3f2b07f8
KM
50082011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5009
5010 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5011 that's true if the current command involved collapsing of text.
5012 It's reset to false at the beginning of the next command.
5013 (allout-post-command-business): Move the cursor to the beginning
5014 of entry if the cursor is hidden and collapsing activity just
5015 happened.
5016
371d6a61
CY
50172011-09-24 Chong Yidong <cyd@stupidchicken.com>
5018
5019 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5020 tracking (Bug#9541).
5021
2ac2721a
UJ
50222011-09-24 Ulf Jasper <ulf.jasper@web.de>
5023
5024 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
5025 (newsticker-show-news): Automatically load html rendering package
5026 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5027 because w3m-fill-column is let-bound" and the error "Symbol's value
5028 as variable is void: w3m-fill-column".
2ac2721a 5029
fac7ae53
MA
50302011-09-24 Michael Albinus <michael.albinus@gmx.de>
5031
5032 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5033 Release services only if they are defined. (Bug#9581)
5034
e08b633b
RS
50352011-09-23 Richard Stallman <rms@gnu.org>
5036
e488d29c
RS
5037 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5038 distinguish start of paragraph from start of its text.
5039
19c38752
RS
5040 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5041
e08b633b
RS
5042 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5043 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5044 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5045
0a39f27e
AS
50462011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5047
5048 * international/mule-diag.el (mule-diag): Insert a newline after
5049 each fontset description.
5050
db4e950d
SM
50512011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5052
5053 * simple.el (delete-trailing-whitespace):
5054 Document last change; simplify.
5055
eca3f3ea
PW
50562011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5057
d68e189a
PW
5058 * simple.el (delete-trailing-whitespace): Also delete
5059 extra newlines at the end of the buffer.
5060
eca3f3ea
PW
5061 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5062 (picture-newline): Use forward-line so as to ignore fields.
5063
01c157cc
SM
50642011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5065
5066 * subr.el (with-wrapper-hook): Fix edebug spec.
5067
022de23e
LMI
50682011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5069
5070 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5071 (bug#4538).
5072
91683089
MA
50732011-09-23 Michael Albinus <michael.albinus@gmx.de>
5074
eca3f3ea
PW
5075 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5076 Fix nasty bug using wrong cached values.
91683089 5077
5bdd6fa4
AM
50782011-09-23 Alan Mackenzie <acm@muc.de>
5079
5080 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5081
97adfb97
CY
50822011-09-23 Chong Yidong <cyd@stupidchicken.com>
5083
5084 * window.el (pop-to-buffer): Ensure right window is selected if we
5085 chose another frame.
5086
d4ef2b50
EZ
50872011-09-22 Eli Zaretskii <eliz@gnu.org>
5088
5089 * simple.el (what-cursor-position): Use get-char-property-change
5090 and next-single-char-property-change, to be able to show display
5091 properties that come from overlays as well as text properties.
5092
72258fe5
CY
50932011-09-22 Chong Yidong <cyd@stupidchicken.com>
5094
5095 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5096
5097 * cmuscheme.el (run-scheme, switch-to-scheme):
5098 * cus-edit.el (customize-group, custom-buffer-create)
5099 (customize-browse):
5100 * info.el (info):
5101 * shell.el (shell):
5102 * mail/sendmail.el (mail):
5103 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5104
8f098516
RS
51052011-09-22 Richard Stallman <rms@gnu.org>
5106
5107 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5108 move back only to line beg, don't move back over blank lines.
5109
e74f1bb6
MA
51102011-09-22 Michael Albinus <michael.albinus@gmx.de>
5111
5112 * files.el (copy-directory): Set directory attributes only in case
5113 they could be retrieved from the source directory. (Bug#9565)
5114
bfeef8b6
DK
51152011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5116
5117 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5118 (hs-find-block-beginning, hs-hide-level-recursive):
5119 Ignore strings as well as comments. (Bug#9502)
5120
7e423bb8
AS
51212011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5122
5123 * progmodes/sql.el (sql-comint-postgres):
5124 Convert port number to a string. (Bug#9566)
5125
b4d72fcf
MR
51262011-09-22 Martin Rudalics <rudalics@gmx.at>
5127
5128 * window.el (quit-window): Undedicate window when switching to
5129 previous buffer. Reported by Thierry Volpiatto
5130 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
5131 (special-display-popup-frame): When popping up a new frame reset
5132 its previous buffers to nil. Simplify code.
b4d72fcf 5133
a7b88dc6
MA
51342011-09-21 Michael Albinus <michael.albinus@gmx.de>
5135
5136 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5137 and process filter, as done also in `shell-command'.
5138
cf4eacfd
MR
51392011-09-21 Martin Rudalics <rudalics@gmx.at>
5140
eca3f3ea 5141 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
5142 Call set-window-start with NOFORCE argument t.
5143 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
5144 (quit-window): Reword doc-string. Handle new format of
5145 quit-restore parameter. Don't delete window if it has a
5146 previous buffer we can show instead of the present one.
5147 (display-buffer-record-window): Rewrite using a new format for
5148 the quit-restore window parameter
5149 (special-display-popup-frame, display-buffer-same-window)
5150 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5151 (display-buffer-pop-up-window, display-buffer-use-some-window):
5152 Adapt symbol passed to display-buffer-record-window.
5153 * help.el (help-window-setup): Handle new format of quit-restore
5154 parameter.
5155
8d28cb95
SM
51562011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5157
94ab793f
SM
5158 * faces.el (face-list): Fix docstring (bug#9564).
5159
8d28cb95
SM
5160 * window.el (display-buffer--action-function-custom-type):
5161 Don't include internal functions in the Custom interface.
5162
3820edeb
JL
51632011-09-20 Juri Linkov <juri@jurta.org>
5164
5165 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5166 (Info-forward-node, Info-backward-node, Info-next-preorder)
5167 (Info-last-preorder): Use it. (Bug#9528)
5168
5147931d
JL
51692011-09-20 Juri Linkov <juri@jurta.org>
5170
5171 * info.el (Info-last-preorder): Visit last menu item only when
5172 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5173
cf499a1a
JD
51742011-09-20 Julien Danjou <julien@danjou.info>
5175
5176 * password-cache.el (password-cache-remove): Remove entries even if the
5177 value is nil, so that password with a nil value (negative caching) is
5178 possible to invalidate.
5179
f84e2fe2
LM
51802011-09-20 Lawrence Mitchell <wence@gmx.li>
5181
5182 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5183 all whitespace around breakpoint. (Bug#9553)
5184 (f90-find-breakpoint): Only break at whitespace inside a comment.
5185
78054a46
SM
51862011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5187
5188 * minibuffer.el (completion-file-name-table): Keep track of errors.
5189 (completion-table-with-predicate): Handle the case where pred1 is nil.
5190 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5191
345083b2
SM
51922011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5193
e24e27be
SM
5194 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5195 (debugger-return-value): Signal an error if the debugging context does
5196 not await any return value.
5197
345083b2
SM
5198 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5199 * image-mode.el (image-toggle-display-text)
5200 (image-toggle-display-image): Stay away from evil `intangible'.
5201
08d355e3
LL
52022011-09-19 Leo Liu <sdl.web@gmail.com>
5203
5204 * replace.el (occur-revert-arguments): Make it permanent-local.
5205 (occur-mode): Don't call font-lock-defontify.
5206
f01da43f
CY
52072011-09-19 Chong Yidong <cyd@stupidchicken.com>
5208
5209 * net/ldap.el (ldap-search-internal): Don't push empty search
5210 result (Bug#9508).
5211
b6072fa6
SM
52122011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5213
5214 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5215
443d6696
MA
52162011-09-19 Michael Albinus <michael.albinus@gmx.de>
5217
5218 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5219 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5220
7cc6e154
JL
52212011-09-18 Juri Linkov <juri@jurta.org>
5222
5223 * buff-menu.el (Buffer-menu-mode-map):
5224 * dired.el (dired-mode-map):
5225 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5226 (lisp-interaction-mode-map):
5227 * emacs-lisp/package.el (package-menu-mode-map):
5228 * epa.el (epa-key-list-mode-map):
5229 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5230 (menu-bar-options-menu):
5231 * outline.el (outline-mode-menu-bar-map):
5232 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5233 * vc/vc-dir.el (vc-dir-menu-map):
5234 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5235 Capitalize non-function content words in menu item strings.
5236
5237 * dired.el (dired-mode-map): Add menu item for
5238 `image-dired-dired-toggle-marked-thumbs'.
5239
80302a81
JL
52402011-09-18 Juri Linkov <juri@jurta.org>
5241
5242 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5243 to `isearch-case-fold-search' and restore its original value
5244 after the `isearch-mode' call.
5245
46c5cf66
JL
52462011-09-18 Juri Linkov <juri@jurta.org>
5247
5248 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5249 because `zgrep' returns 1 for successful matches (bug#9226).
5250
d18b513b
JL
52512011-09-18 Juri Linkov <juri@jurta.org>
5252
5253 * info.el (Info-extract-menu-node-name): Check the second match
5254 for empty string (second test-case of bug#9528).
5255 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5256 intermediate nodes to the history (first test-case of bug#9528).
5257
72753f87
JL
52582011-09-18 Juri Linkov <juri@jurta.org>
5259
5260 * info.el (Info-mode-syntax-table): New variable.
1154d12e 5261 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 5262
c9384295
JL
52632011-09-18 Juri Linkov <juri@jurta.org>
5264
1154d12e
JB
5265 * info.el (Info-file-supports-index-cookies):
5266 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5267 outputs one more line for long file names (bug#4142).
c9384295 5268
d473dce8
CY
52692011-09-18 Chong Yidong <cyd@stupidchicken.com>
5270
5271 * newcomment.el (comment-normalize-vars): If prompting for
5272 comment-start, set comment-start-skip too (Bug#8424).
5273
2176854d
JB
52742011-09-18 Johan Bockgård <bojohan@gnu.org>
5275
5276 * icomplete.el: Fix previous fix of Bug#5849.
5277 (icomplete-mode): Don't set completion-show-inline-help.
5278 (icomplete-minibuffer-setup): Set completion-show-inline-help
5279 locally during icompletion.
5280
3aace4e4
CY
52812011-09-18 Chong Yidong <cyd@stupidchicken.com>
5282
c940224f
CY
5283 * woman.el (woman2-process-escapes): Don't delete unrecognized
5284 escapes (Bug#7843).
5285
3aace4e4
CY
5286 * files.el (inhibit-first-line-modes-regexps): Add image files.
5287 (hack-local-variables-prop-line): Return nil for malformed
5288 prop-lines (Bug#9044).
5289
710dec63
MA
52902011-09-18 Michael Albinus <michael.albinus@gmx.de>
5291
5292 * net/tramp.el (top): Don't require 'shell.
5293 (tramp-methods): Fix docstring.
5294 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
5295 Return complete remote file name. Handle "smb" case.
5296 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
5297 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5298
5299 * net/tramp-compat.el (top): Require 'shell.
5300
5301 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5302 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5303 `tramp-current-host'.
5304 (tramp-get-remote-tmpdir): Remove.
5305
5306 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5307 `tramp-tmpdir' entries.
5308 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5309 (tramp-smb-handle-file-attributes): Ignore errors.
5310 (tramp-smb-wait-for-output): Check also for process end.
5311
5d5ac8ec
LMI
53122011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5313
5314 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5315 when sending QUIT (bug#9312).
5316
8c0f49f0
CY
53172011-09-17 Chong Yidong <cyd@stupidchicken.com>
5318
5319 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5320 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5321 occur-mode-display-occurrence.
5322 (occur-edit-mode): Add usage message.
5323 (occur-cease-edit): New command.
5324 (occur-after-change-function): Use text properties to find the
5325 position of the prefix text.
5326 (occur-engine): Set stickiness of prefix text properties.
5327
8f1383f7
GM
53282011-09-17 Glenn Morris <rgm@gnu.org>
5329
5330 * progmodes/etags.el (complete-tag):
5331 Fix call to completion-in-region. (Bug#9526)
5332
744ba0e3
JL
53332011-09-17 Juri Linkov <juri@jurta.org>
5334
5335 * textmodes/ispell.el (ispell-word): Add to the error message
5336 the word, ispell program name and current dictionary (bug#9121).
5337 (ispell-tex-arg-end): Capitalize "error" in the error message.
5338
d9bbf400
AS
53392011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5340
5341 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5342 check. (Bug#4251)
5343
8da11505
JL
53442011-09-17 Juri Linkov <juri@jurta.org>
5345
5346 * window.el (window-safe-min-height, window-safe-min-width):
5347 Fix typos (followup to bug#9522).
5348
a91adc7e
SJ
53492011-09-17 Sven Joachim <svenjoac@gmx.de>
5350
5351 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5352
064f328a
EZ
53532011-09-16 Eli Zaretskii <eliz@gnu.org>
5354
5355 * simple.el (line-move): If goal-column is set, move by logical
5356 lines, not by display lines. (Bug#971)
5357 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5358 to reflect the above change.
5359
e69df516
SM
53602011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5361
5362 * image.el (imagemagick-register-types): Use regexp-opt.
5363
cbb0f9ab
CY
53642011-09-15 Chong Yidong <cyd@stupidchicken.com>
5365
5366 * window.el (display-buffer-base-action): Rename from
5367 display-buffer-default-action. Make default value empty.
5368 (display-buffer-overriding-action): Convert to defvar.
5369 (display-buffer-fallback-action): New var.
5370
25322144
CY
53712011-09-15 Chong Yidong <cyd@stupidchicken.com>
5372
5373 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5374 declaration.
5375 (package--add-to-archive-contents): If there is a duplicate entry
5376 with an older version, remove it.
5377 (package-menu-mark-delete, package-menu-mark-install)
5378 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
5379 (package-menu-mark-obsolete-for-deletion):
5380 Use package-menu-get-status instead of a regexp search.
25322144
CY
5381 (package-menu-get-status): Use tabulated-list-entry.
5382 (package-menu-mark-upgrades): New command.
d770725a 5383 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
5384 (package-menu-execute): Do installation before deletion.
5385 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5386 instead of checking major-mode.
5387 (package-menu--find-upgrades): New function.
5388
7520339c
LMI
53892011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5390
5391 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5392 passwords in the log buffer.
65a046c4
LMI
5393 (smtpmail-process-filter): Update the process marker so that the
5394 "broken by peer" status message is inserted in the right place.
7520339c 5395
d3c30954
SM
53962011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5397
3fe48822
SM
5398 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5399 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5400 bibtex-completion-at-point-function.
5401 (bibtex-completion-at-point-function): Use them.
5402
1b8b3954
SM
5403 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5404
d3c30954
SM
5405 * mpc.el (mpc-constraints-tag-lookup): New function.
5406 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5407 also to browser "album|playlist".
5408
72779976
JL
54092011-09-14 Juri Linkov <juri@jurta.org>
5410
5411 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
5412 (isearch-edit-string): Use length of `isearch-string' when
5413 `isearch-fail-pos' returns nil.
5414 (isearch-message): Remove duplicate code and call
5415 `isearch-fail-pos' with arg `t'.
5416
a0bf2bcd
CY
54172011-09-14 Chong Yidong <cyd@stupidchicken.com>
5418
17bb0a2d
CY
5419 * replace.el (occur-mode-goto-occurrence): Don't force using other
5420 window (Bug#9499).
5421
a0bf2bcd
CY
5422 * dired-aux.el (dired-do-chmod): Don't provide initial input.
5423
f678e0b6
MR
54242011-09-14 Martin Rudalics <rudalics@gmx.at>
5425
5426 * window.el (display-buffer-window): Remove.
5427 (display-buffer-record-window): Use help-setup window parameter
5428 instead of variable display-buffer-window.
5429 (display-buffer-function, special-display-buffer-names)
5430 (special-display-function): Mention help-setup parameter instead
5431 of display-buffer-window in doc-string.
d3c30954
SM
5432 * help.el (help-window-setup): New argument help-window.
5433 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
5434 Reword some messages.
5435 (with-help-window): Pass window used for displaying the buffer
5436 to help-window-setup. Don't set display-buffer-window.
5437
8e39b2e8
GM
54382011-09-13 Glenn Morris <rgm@gnu.org>
5439
5440 * emacs-lisp/debug.el (debugger-make-xrefs):
5441 Preserve point. (Bug#9462)
5442
85e9c04b
CY
54432011-09-13 Chong Yidong <cyd@stupidchicken.com>
5444
5445 * window.el (window-deletable-p): Use next-frame.
5446
1b36ed6a
MR
54472011-09-13 Martin Rudalics <rudalics@gmx.at>
5448
5449 * window.el (window-auto-delete): Remove.
5450 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 5451 dedication and previous buffers.
1b36ed6a
MR
5452 (switch-to-prev-buffer): Don't delete window.
5453 (delete-windows-on): Delete a window's frame if and only if the
5454 window is dedicated.
5455 (replace-buffer-in-windows): Delete buffer's window or frame if
5456 and only if window is dedicated.
5457 (quit-window): Handle quit-restore as before last change.
4d61f28d 5458 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 5459
ef8ef9fb
CY
54602011-09-13 Chong Yidong <cyd@stupidchicken.com>
5461
5462 * window.el (window-deletable-p): Never delete the last frame on a
5463 given terminal.
5464
b2cba41e
GM
54652011-09-13 Glenn Morris <rgm@gnu.org>
5466
5467 * help.el (describe-key-briefly): Copy previous standard-output change.
5468
51553db6 54692011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
5470
5471 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
5472
b7556719
GM
54732011-09-13 Glenn Morris <rgm@gnu.org>
5474
5475 * emacs-lisp/lisp-mode.el (lisp-indent-function):
5476 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5477
64b51947
CY
54782011-09-12 Chong Yidong <cyd@stupidchicken.com>
5479
5480 * dired-aux.el (dired-mark-read-string): Don't return default
5481 value on empty input (Bug#9361).
5482 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5483 Omit initial minibuffer contents.
5484 (dired-do-chmod): Signal an error on empty input.
5485 (dired-mark-read-string): Don't return default on empty input.
5486
5487 * files.el (file-modes-symbolic-to-number): Doc fix.
5488
393a301e
SM
54892011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5490
5491 * international/mule-cmds.el (ucs-completions): Remove.
5492 (read-char-by-name): Use complete-with-action instead; add metadata.
5493
fa5660f9
CY
54942011-09-11 Chong Yidong <cyd@stupidchicken.com>
5495
5496 * window.el (display-buffer--action-function-custom-type)
5497 (display-buffer--action-custom-type): New vars.
5498 (display-buffer-alist, display-buffer-default-action)
5499 (display-buffer-overriding-action): Add defcustom types.
5500
4a592f66
CY
5501 * frame.el (delete-other-frames): Doc fix (Bug#276).
5502
73d56dbd
LMI
55032011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5504
5505 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5506
37ac18a3
CY
55072011-09-11 Chong Yidong <cyd@stupidchicken.com>
5508
5509 Change modes that used same-window-* vars to use switch-to-buffer.
5510
5511 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5512 Use switch-to-buffer.
5513
5514 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
5515 (customize-browse, custom-buffer-create-other-window):
5516 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
5517
5518 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5519 (Info-prev, Info-up, Info-speedbar-goto-node)
5520 (info-display-manual): Use switch-to-buffer.
5521 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5522
5523 * mail/sendmail.el (mail): Use switch-to-buffer.
5524 (mail-recover): Use switch-to-buffer-other-window.
5525
5526 * cmuscheme.el (run-scheme, switch-to-scheme):
5527 * ielm.el (ielm):
5528 * shell.el (shell):
5529 * net/rlogin.el (rlogin):
5530 * net/telnet.el (telnet, rsh):
5531 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5532
10195bd6
AS
55332011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5534
5535 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5536
b322f63a
LMI
55372011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5538
39d7fed6
LMI
5539 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5540 so don't mention it (bug#9301).
ba5a81f1 5541 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 5542
ee0e9f11
LMI
5543 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5544 match `x', `w32' and `ns', like the manual says (bug#9029).
5545
0b1c89c1 5546 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
5547 (process-kill-buffer-query-function): Mention the buffer name in
5548 the query.
0b1c89c1 5549
77549ea8
LMI
5550 * image-mode.el (image-next-line): The line parameter is mandatory
5551 (bug#9258).
5552
803ef892
LMI
5553 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5554 which can be useful (bug#9301).
5555
12980837
LMI
5556 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5557
91054f8f
LMI
5558 * subr.el (match-string): Mention that the current buffer should
5559 be the same as the search was done in (bug#9282).
5560
b322f63a
LMI
5561 * facemenu.el: Disable the remove-* commands if the mark isn't
5562 active (bug#9162).
5563
3199b96f
CY
55642011-09-10 Chong Yidong <cyd@stupidchicken.com>
5565
5566 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5567 of display-buffer.
5568 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5569
5570 * replace.el (occur-mode-goto-occurrence)
5571 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5572 and display-buffer.
5573
5574 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5575 display-buffer.
5576
5577 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5578 special-display and same-window variables.
5579 (mail-other-window): Use switch-to-buffer-other-window.
5580 (mail-other-frame): USe switch-to-buffer-other-frame.
5581
393a301e
SM
5582 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5583 Use display-buffer-other-frame.
3199b96f
CY
5584 (gdb-display-gdb-buffer): Use pop-to-buffer.
5585
5586 * progmodes/gud.el (gud-goto-info): Use info-other-window.
5587
5588 * progmodes/python.el: Don't set same-window-buffer-names.
5589
5590 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5591
5592 * window.el (display-buffer-alist): Add *Python*.
5593
8319e0bf
CY
55942011-09-10 Chong Yidong <cyd@stupidchicken.com>
5595
5596 * window.el (display-buffer-alist): Add entry for buffers
5597 previously handled same-window-*.
5598 (display-buffer-alist, display-buffer-default-action)
5599 (display-buffer-overriding-action): Mark as risky.
5600 (display-buffer-alist): Document action function changes.
5601 (display-buffer--same-window-action)
5602 (display-buffer--other-frame-action): New variables.
5603 (switch-to-buffer, display-buffer-other-frame): Use them.
5604 (display-buffer): Rename reuse-frame entry to reusable-frames.
5605 (display-buffer-reuse-selected-window): Function deleted.
5606 (display-buffer-reuse-window): Handle reusable-frames alist entry.
5607 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5608 (display-buffer-special): New function.
5609 (display-buffer--maybe-pop-up-frame-or-window): Rename from
5610 display-buffer-reuse-or-pop-window. Split off special-display
5611 part into display-buffer-special.
5612 (display-buffer-use-some-window): Don't perform any special
5613 pop-up-frames handling.
5614 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 5615 (display-buffer--maybe-same-window): Rename from
0d3ff375 5616 display-buffer-maybe-same-window.
8319e0bf 5617
919a69aa
CY
5618 * info.el: Don't set same-window-regexps.
5619 (info-setup): New function.
5620 (info-other-window, info): Call it.
5621
5622 * cus-edit.el: Don't set same-window-regexps.
5623 (customize-group): New argument.
5624 (customize-group-other-window): Use it.
5625 (customize-face, customize-face-other-window): Likewise.
5626 (custom-buffer-create-other-window): Use pop-to-buffer directly.
5627
8319e0bf
CY
5628 * net/rlogin.el:
5629 * net/telnet.el:
5630 * progmodes/gud.el: Don't set same-window-regexps.
5631
5632 * cmuscheme.el:
5633 * ielm.el:
5634 * shell.el:
5635 * mail/sendmail.el:
5636 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5637
25173000
JL
56382011-09-10 Juri Linkov <juri@jurta.org>
5639
5640 * isearch.el (isearch-edit-string): Remove obsolete mention of
5641 `C-w' (`isearch-yank-word-or-char') from docstring.
5642 (isearch-query-replace): Fix typo in docstring (bug#9466).
5643
056e44ef
JL
56442011-09-10 Juri Linkov <juri@jurta.org>
5645
5646 * paren.el (show-paren-function): Don't show escaped parens.
5647 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
5648
c3760c17
EZ
56492011-09-10 Eli Zaretskii <eliz@gnu.org>
5650
5651 * mail/sendmail.el (mml-to-mime, mml-attach-file)
5652 (mm-default-file-encoding): Remove autoload forms, they are
5653 replaced with autoload cookies in mml.el and mm-encode.el.
5654 (mail-add-attachment): New command.
5655 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5656 (mail-mode): Mention mail-insert-file and mail-add-attachment in
5657 the doc string.
5658 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5659
fece895e
RT
56602011-09-10 Reuben Thomas <rrt@sc3d.org>
5661
e69df516
SM
5662 * simple.el (count-words-region): Use buffer if there's no region
5663 (bug#9429).
fece895e 5664
5e68ce4a
JL
56652011-09-09 Juri Linkov <juri@jurta.org>
5666
5667 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5668 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5669 (wdired-isearch-filter-read-only): New function. (Bug#6362)
5670
0a6b9622
AM
56712011-09-09 Alan Mackenzie <acm@muc.de>
5672
5673 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5674 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
5675
14a29deb
EZ
56762011-09-09 Eli Zaretskii <eliz@gnu.org>
5677
5678 Fix for Savannah bug#9392.
5679 * simple.el (mail-encode-mml): New defvar.
5680
5681 * mail/rmail.el (mail-encode-mml): Add a defvar.
5682 (rmail-enable-mime-composing): Default to t.
5683 (rmail-forward): Use MIME method of forwarding only if both
5684 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5685 Set mail-encode-mml non-nil if the MIME method was used.
5686
5687 * mail/sendmail.el (mml-to-mime): Add autoload form.
5688 (mail-encode-mml): Add a defvar.
5689 (mail-mode): Make mail-encode-mml buffer-local and initialize it
5690 to nil.
5691 (mail-send): If mail-encode-mml is non-nil, run the outgoing
5692 message through mml-to-mime, and reset mail-encode-mml to nil.
5693
28c45130
GM
56942011-09-09 Glenn Morris <rgm@gnu.org>
5695
5696 * woman.el (woman-if-body): When processing an .el block,
5697 do not delete the next .el block as well. (Bug#9447)
69f4b618 5698 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 5699
9b1c252e
MR
57002011-09-08 Martin Rudalics <rudalics@gmx.at>
5701
5702 * window.el (window-deletable-p): Make sure window is live before
5703 invoking window-prev-buffers.
5704
567457e3
LL
57052011-09-08 Leo Liu <sdl.web@gmail.com>
5706
5707 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
5708
97f05794
JL
57092011-09-08 Juri Linkov <juri@jurta.org>
5710
5711 * progmodes/compile.el (compilation-environment): Make it
5712 a defcustom (bug#8340).
5713
8b0874b5
MR
57142011-09-08 Martin Rudalics <rudalics@gmx.at>
5715
5716 * window.el (frame-auto-delete): Rename to window-auto-delete.
5717 Make it control auto-deletion of windows and/or frames.
5718 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 5719 for deleting window/frame. (Bug#9419)
8b0874b5
MR
5720 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5721 Rewrite handling of case when window/frame can be deleted.
5722 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 5723 argument t. (Bug#9456)
8b0874b5 5724
4feb6e73
CY
57252011-09-07 Chong Yidong <cyd@stupidchicken.com>
5726
5727 * help-mode.el (help-mode): Restore autoload.
5728
91ab9c13
JL
57292011-09-07 Juri Linkov <juri@jurta.org>
5730
5731 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5732 `compilation-environment'. Set buffer-local
5733 `compilation-environment' to `thisenv' later after (funcall mode).
5734 (Bug#8340)
5735
5736 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
5737 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5738 instead of replacing its value. (Bug#8340)
5739
0527e251
JL
57402011-09-07 Juri Linkov <juri@jurta.org>
5741
5742 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5743 based on text properties put by `grep-filter' instead of matching
5744 escape sequences.
5745 (grep-mode): Set buffer-local `compilation-error-screen-columns'
5746 to the value of `grep-error-screen-columns' (bug#9438).
5747
249f792c
JL
57482011-09-07 Juri Linkov <juri@jurta.org>
5749
5750 * simple.el (next-error-highlight, next-error-highlight-no-select):
5751 Doc fix (bug#9432).
5752
ff7271b9
OT
57532011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5754
5755 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5756 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
5757
183fc730
LL
57582011-09-07 Leo Liu <sdl.web@gmail.com>
5759
5760 * net/rcirc.el (rcirc-mode): Conditionally initialize
5761 rcirc-input-ring.
5762
77694924
SM
57632011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5764
5765 * emacs-lisp/find-func.el (find-function-C-source): Only set
5766 find-function-C-source-directory after checking that we found a source
5767 file there (bug#9440).
5768
d809b8eb
AM
57692011-09-06 Alan Mackenzie <acm@muc.de>
5770
5771 * isearch.el (isearch-other-meta-char): Wherever a key list is
5772 unread, "unread" the prefix arg, too. This fixes bug #8901.
5773
453de99f
OG
57742011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5775
5776 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5777
90439906
JL
57782011-09-05 Juri Linkov <juri@jurta.org>
5779
5780 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5781
f62bd846
JL
57822011-09-05 Juri Linkov <juri@jurta.org>
5783
5784 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5785 keeping point where processing of grep matches begins, and
5786 continue to delete remaining escape sequences from the same point.
5787 (grep-filter): Make leading zero optional in "0?1;31m" because
5788 git-grep emits "\033[1;31m" escape sequences unlike expected
5789 "\033[01;31m" as GNU Grep does (bug#9408).
5790 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5791
045820ec
JL
57922011-09-05 Juri Linkov <juri@jurta.org>
5793
5794 * subr.el (y-or-n-p): Capitalize "yes".
5795
f5e29b9b
MA
57962011-09-04 Michael Albinus <michael.albinus@gmx.de>
5797
5798 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
5799 `tramp-cache-unload-hook' where appropriate.
5800 (tramp-methods): Rename `tramp-remote-sh' to
5801 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
5802 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5803
5804 * net/tramp-sh.el (top): Don't require 'shell.
5805 (tramp-methods): Add `tramp-remote-shell' and
5806 `tramp-remote-shell-args' entries.
5807 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5808 (tramp-sh-handle-shell-command): Remove.
5809 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5810 Use `tramp-remote-shell'.
5811
2784c434
CY
58122011-09-03 Chong Yidong <cyd@stupidchicken.com>
5813
393a301e 5814 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
5815 (sendmail-query-once): Save directly to send-mail-function.
5816 Update message-send-mail-function too.
5817
5818 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5819
464cdf56
CS
58202011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5821
5822 * progmodes/python.el (python-mode-map): Use correct function to
5823 start python interpreter from menu-bar (as reported by Geert
5824 Kloosterman).
5825 (inferior-python-mode-map): Fix typo.
393a301e 5826 (python-shell-map): Remove.
464cdf56 5827
d37e5c87
DD
58282011-09-03 Deniz Dogan <deniz@dogan.se>
5829
5830 * net/rcirc.el (rcirc-print): Simplify code for
5831 rcirc-scroll-show-maximum-output. There is no need to walk
5832 through all windows to find the right one.
5833
f3ada0ee
CS
58342011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5835
5836 * help.el (help-return-method): Doc fix.
5837
1f3c99ca
MR
58382011-09-03 Martin Rudalics <rudalics@gmx.at>
5839
5840 * window.el (window-deletable-p): Don't return a non-nil value
5841 when there's a buffer that was shown in the window before.
5842 (Bug#9419)
393a301e
SM
5843 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5844 Set window's previous buffers to nil.
1f3c99ca 5845
a3cf097f
EZ
58462011-09-03 Eli Zaretskii <eliz@gnu.org>
5847
5848 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5849 newline before and after the tag line, so it doesn't interfere
5850 with determining the paragraph direction of bidirectional text.
5851
3d03de90
LL
58522011-09-03 Leo Liu <sdl.web@gmail.com>
5853
5854 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5855
c3313451
CY
58562011-09-02 Chong Yidong <cyd@stupidchicken.com>
5857
393a301e 5858 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
5859 (pop-to-buffer): Change interactive spec. Pass second argument
5860 directly to display-buffer.
5861 (display-buffer): Fix interactive spec. Use functionp to
5862 distinguish between a function and a list of functions.
5863
5864 * abbrev.el (edit-abbrevs):
5865 * arc-mode.el (archive-extract):
5866 * autoinsert.el (auto-insert):
5867 * bookmark.el (bookmark-bmenu-list):
5868 * files.el (find-file):
5869 * view.el (view-buffer):
5870 * progmodes/compile.el (compilation-goto-locus):
5871 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5872
89894cd8
CY
58732011-09-02 Chong Yidong <cyd@stupidchicken.com>
5874
5875 * window.el (display-buffer-alist): Doc fix.
5876 (display-buffer): Add docstring. Don't treat
5877 display-buffer-default specially.
5878 (display-buffer-reuse-selected-window)
5879 (display-buffer-same-window, display-buffer-maybe-same-window)
5880 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5881 (display-buffer-pop-up-window)
5882 (display-buffer-reuse-or-pop-window)
5883 (display-buffer-use-some-window): New functions.
5884 (display-buffer-default-action): Use them.
393a301e 5885 (display-buffer-default): Delete.
89894cd8
CY
5886 (pop-to-buffer-1): Fix choice of actions.
5887
ae0bc9fb
SM
58882011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5889
5890 * minibuffer.el (completion--insert-strings): Don't get confused by
5891 completion entries that end with an LF char.
5892
e9d90883
EZ
58932011-09-01 Eli Zaretskii <eliz@gnu.org>
5894
5895 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5896
437014c8
CY
58972011-09-01 Chong Yidong <cyd@stupidchicken.com>
5898
5899 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
5900 (display-buffer-same-window, display-buffer-other-window):
5901 New functions.
437014c8
CY
5902 (pop-to-buffer-1): New function. Use the above.
5903 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 5904 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
5905
5906 * view.el (view-buffer-other-window, view-buffer-other-frame):
5907 Just use pop-to-buffer.
5908
a5e063d5
TV
59092011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5910
5911 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5912
793d32bb
WH
59132011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5914
5915 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5916
d65e4c15
RS
59172011-08-31 Richard Stallman <rms@gnu.org>
5918
5919 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5920 of the separation of rmail-view-buffer from rmail-buffer.
5921 If you say no to "replace original", the decrypt is in the
5922 view buffer. If you say yes, the decrypt goes into the
5923 rmail buffer also.
5924
f818cd2a
MR
59252011-08-31 Martin Rudalics <rudalics@gmx.at>
5926
5927 * window.el (display-buffer-window): Rewrite doc-string.
5928 (display-buffer-record-window): New function.
5929 (display-buffer-macro-specifiers)
5930 (display-buffer-even-window-sizes, display-buffer-set-height)
5931 (display-buffer-set-width, display-buffer-in-window)
5932 (display-buffer-reuse-window, display-buffer-split-specifiers)
5933 (display-buffer-side-specifiers, display-buffer-split-window-1)
5934 (display-buffer-split-window, display-buffer-split-atom-window)
5935 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5936 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5937 (display-buffer-other-window-means-other-frame)
5938 (display-buffer-normalize-special)
5939 (display-buffer-normalize-default)
5940 (display-buffer-normalize-argument)
5941 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5942 (display-buffer-normalize-specifiers, display-buffer-frame)
5943 (display-buffer-same-window, display-buffer-same-frame)
5944 (display-buffer-other-window)
5945 (display-buffer-same-frame-other-window)
5946 (display-buffer-other-frame, pop-to-buffer-same-window)
5947 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5948 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5949 (switch-to-buffer-same-frame)
5950 (switch-to-buffer-other-window-same-frame)
5951 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5952 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5953 (display-buffer-alist-set): Remove.
5954 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
5955 (special-display-regexps, special-display-function):
5956 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
5957 parameter.
5958 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5959 (special-display-frame-alist, special-display-popup-frame)
5960 (same-window-buffer-names, same-window-regexps, same-window-p)
5961 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5962 (split-window-preferred-function, split-height-threshold)
5963 (split-width-threshold, window-splittable-p)
5964 (split-window-sensibly, window--try-to-split-window)
5965 (window--frame-usable-p, even-window-heights)
5966 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
5967 (window--display-buffer-2, display-buffer-other-frame):
5968 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
5969 (display-buffer-default, display-buffer-assq-regexp): New functions.
5970 (display-buffer-alist): Rewrite doc-string.
5971 (display-buffer-default-action)
5972 (display-buffer-overriding-action): New variables.
5973 (display-buffer, switch-to-buffer): Rewrite.
5974 (pop-to-buffer): Restore Emacs 23 behavior but use
5975 window-normalize-buffer-to-display.
5976 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5977 Restore Emacs 23 behavior but use
5978 window-normalize-buffer-to-switch-to.
5979 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
5980 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5981 Rewrite using Emacs 23 options.
f818cd2a 5982
5bc3b51d
MA
59832011-08-31 Michael Albinus <michael.albinus@gmx.de>
5984
5985 * net/tramp.el (tramp-root-regexp): Remove.
5986 (tramp-completion-file-name-regexp-unified)
5987 (tramp-completion-file-name-regexp-separate)
5988 (tramp-completion-file-name-regexp-url): Don't use leading volume
5989 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
5990 (tramp-drop-volume-letter): Simplify definition.
5991 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 5992
b1a4f8e1
SM
59932011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5994
5995 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5996 (bug#9356).
5997
5664fa7b
RT
59982011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5999
b1a4f8e1 6000 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 6001
9a45d6c3
JL
60022011-08-29 Juri Linkov <juri@jurta.org>
6003
6004 * isearch.el (isearch-done): Don't display message "Mark saved"
6005 when arg `edit' is non-nil to prevent its flicker in the echo area.
6006
fb87e0fb
CY
60072011-08-28 Chong Yidong <cyd@stupidchicken.com>
6008
6009 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6010 obsolete packages for deletion.
6011
09ac1c2a
CS
60122011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6013
6014 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 6015 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
6016 view-mode from help-mode.
6017 (help-xref-override-view-map): Remove.
6018 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6019 view-mode is not used anymore.
6020
7a1ff57f
CY
60212011-08-28 Chong Yidong <cyd@stupidchicken.com>
6022
6023 * server.el (server-port): Doc fix.
6024
b9696605
CY
6025 * cus-theme.el (custom-theme-choose-mode): Inherit from
6026 special-mode (Bug#9124).
6027 (custom-theme-choose-mode-map): Add special-mode to parent.
6028
ef8cdf8c
AM
60292011-08-28 Alan Mackenzie <acm@muc.de>
6030
6031 * progmodes/cc-fonts.el
6032 (c-make-font-lock-BO-decl-search-function): New function.
6033 (c-basic-matchers-after - "Fontify the clauses after various
6034 keywords"): Extract the three keyword lists for the 3 erroneous
6035 constructs from the list of four, and use the new function above
6036 in place of an old one.
6037
27de4e20
DD
60382011-08-28 Deniz Dogan <deniz@dogan.se>
6039
6040 * net/rcirc.el (rcirc-insert-prev-input)
6041 (rcirc-insert-next-input): Remove unused argument.
6042
356a3681
SM
60432011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6044
6045 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6046
3fc9b218
AM
60472011-08-27 Alan Mackenzie <acm@muc.de>
6048
6049 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6050 handle function pointer parameters properly.
6051
538a061c
MR
60522011-08-27 Martin Rudalics <rudalics@gmx.at>
6053
6054 * window.el (display-buffer-reuse-window): Fix case where
6055 selected window was reused with non-nil OTHER-WINDOW argument.
6056 (Bug#9381)
6057
35b1c40c
DD
60582011-08-27 Deniz Dogan <deniz@dogan.se>
6059
6060 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6061 oftc's NickServ messages.
6062
2f6a3e79
GM
60632011-08-27 Glenn Morris <rgm@gnu.org>
6064
6065 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6066
7254299e
CY
60672011-08-26 Chong Yidong <cyd@stupidchicken.com>
6068
6069 * emacs-lisp/package.el (package-install): Call package-initialize
6070 if called interactively.
6071
f8ccf167
LL
60722011-08-26 Leo Liu <sdl.web@gmail.com>
6073
6074 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6075
3e8cd5ce
JL
60762011-08-25 Juri Linkov <juri@jurta.org>
6077
6078 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6079 `search-whitespace-regexp' (bug#9364).
6080
93eb7113
JL
60812011-08-25 Juri Linkov <juri@jurta.org>
6082
6083 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6084 `regexp-search-ring' to their global values to protect from
6085 updating by `read-from-minibuffer' (bug#9185).
6086
f65d1611
JL
60872011-08-25 Juri Linkov <juri@jurta.org>
6088
6089 * textmodes/ispell.el (ispell-command-loop): Add newline
6090 at the end of the "Use option `i'..." line.
6091
f1cf7a31
JL
60922011-08-25 Juri Linkov <juri@jurta.org>
6093
6094 * battery.el (display-battery-mode): If `battery-status-function'
6095 or `battery-mode-line-format' is nil, display the message and set
6096 `display-battery-mode' to nil (bug#9363).
6097
0c95fcf7
EZ
60982011-08-25 Eli Zaretskii <eliz@gnu.org>
6099
6100 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6101 bidi-string-mark-left-to-right; they are unnecessary now.
6102
a2ebe600
DD
61032011-08-25 Deniz Dogan <deniz@dogan.se>
6104
6105 * net/quickurl.el: Documentation typo fixes.
6106
e4ed06f1
CY
61072011-08-25 Chong Yidong <cyd@stupidchicken.com>
6108
6109 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6110
e5f1c99e
GM
61112011-08-25 Glenn Morris <rgm@gnu.org>
6112
b2948976
GM
6113 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6114
e5f1c99e
GM
6115 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6116 (smtpmail-via-smtp): Handle nil response from smtp.
6117
f22f4808
JL
61182011-08-24 Juri Linkov <juri@jurta.org>
6119
6120 * proced.el (proced-marked): Inherit from `error' instead of
6121 `font-lock-warning-face'.
6122
6123 * ibuffer.el (ibuffer-marked-face): Change default face from
6124 `font-lock-warning-face' to `warning'.
6125 (ibuffer-deletion-face): Change default face from
6126 `font-lock-type-face' to `error'.
6127
6128 * battery.el (battery-update): Use the face `error' instead of
6129 `font-lock-warning-face' (bug#6117).
6130
6a93965e
JL
61312011-08-24 Juri Linkov <juri@jurta.org>
6132
6133 * faces.el (success): Change face color from "Green3" to
6134 "ForestGreen" on light background (bug#9353).
6135
1ed43b09
CY
61362011-08-24 Chong Yidong <cyd@stupidchicken.com>
6137
5664fa7b
RT
6138 * window.el (quit-window): Rename from quit-restore-window.
6139 Use same arglist as old quit-window.
1ed43b09
CY
6140 (frame-auto-delete): Doc fix.
6141
6142 * view.el (view-mode-exit): Use quit-window.
6143
11dcdbb2
JL
61442011-08-24 Juri Linkov <juri@jurta.org>
6145
6146 * isearch.el (isearch-ring-adjust1): Start visiting previous
6147 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6148 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6149 for empty search string (when the last search string is reused
6150 automatically) to adjust the isearch ring to the last element and
6151 prepare the correct index for further M-p commands (bug#9185).
6152
de62b4df
KH
61532011-08-24 Kenichi Handa <handa@m17n.org>
6154
6155 * international/ucs-normalize.el: If decomposition property of
6156 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6157 nil.
6158 (nfd, nfkd): Likewise.
6159
963b492b
SM
61602011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6161
6162 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6163 from process filters aren't reliably transmitted to the surrounding
6164 accept-process-output.
6165 (mpc-proc-check): New function.
6166 (mpc-proc-sync): Use it (bug#8293)
6167
93b6b5e1
SM
61682011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6169
6170 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6171 Add compatibility functions (bug#9313).
6172
bca633fb
EZ
61732011-08-23 Eli Zaretskii <eliz@gnu.org>
6174
b177498a
EZ
6175 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6176
6df6ae42 6177 * international/uni-bidi.el: Regenerate.
bca633fb 6178
0902a04e
KH
61792011-08-23 Kenichi Handa <handa@m17n.org>
6180
6181 * international/charprop.el:
6182 * international/uni-bidi.el:
6183 * international/uni-category.el:
6184 * international/uni-combining.el:
6185 * international/uni-comment.el:
6186 * international/uni-decimal.el:
6187 * international/uni-decomposition.el:
6188 * international/uni-digit.el:
6189 * international/uni-lowercase.el:
6190 * international/uni-mirrored.el:
6191 * international/uni-name.el:
6192 * international/uni-numeric.el:
6193 * international/uni-old-name.el:
6194 * international/uni-titlecase.el:
6195 * international/uni-uppercase.el: Regenerate.
6196
3bbf23bc
MR
61972011-08-23 Martin Rudalics <rudalics@gmx.at>
6198
6199 * help.el (help-window-setup): Fix message displayed when other
6200 window is reused. (Bug#9341)
6201
b3fd59bd
SM
62022011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6203
1802e444
SM
6204 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6205 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6206
b3fd59bd
SM
6207 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6208 Mark obsolete.
6209 * shell.el (shell-parse-pcomplete-arguments): New function.
6210 (shell-completion-vars): Use it instead (bug#9160).
6211
4eb61348
SM
62122011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6213
867cab74
SM
6214 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6215 strings and comments (bug#9333).
6216
4eb61348
SM
6217 * emacs-lisp/debug.el (debug-arglist): New function.
6218 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6219 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6220
262a1439
JL
62212011-08-22 Juri Linkov <juri@jurta.org>
6222
56ee679c
JL
6223 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6224 Revert regexp that highlights output switches to its old
6225 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6226
262a1439
JL
6227 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6228 to check for empty output (bug#9226).
6229
f13f86fb
CY
62302011-08-22 Chong Yidong <cyd@stupidchicken.com>
6231
6232 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6233 symbol-constituent as the default, as that stops font-lock from
6234 working properly (Bug#8843).
6235
c65c9622
LMI
62362011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6237
6238 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6239 `coding-system-for-*' around the process open call to avoid
6240 auth-source side effects.
e7f2c178 6241 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
6242 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6243 probe hangs.
c65c9622 6244
23a8a5ab
CY
62452011-08-21 Chong Yidong <cyd@stupidchicken.com>
6246
ff98b2dd
CY
6247 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6248
23a8a5ab
CY
6249 * emacs-lisp/find-func.el (find-function-noselect): New arg
6250 lisp-only.
6251
6252 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6253 signal an error for built-in functions (Bug#6664).
6254
f5e3c598
LMI
62552011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6256
6257 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6258 (smtpmail-try-auth-methods): Use it.
6259
a3f2468a
CY
62602011-08-21 Chong Yidong <cyd@stupidchicken.com>
6261
2c34e8da
CY
6262 * font-lock.el (font-lock-fontify-region)
6263 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6264 (font-lock-default-unfontify-buffer)
6265 (font-lock-default-fontify-region)
6266 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6267
b3fd59bd
SM
6268 * progmodes/compile.el (compilation-error-properties):
6269 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
6270 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6271 `ant' regexp.
ee31aabc 6272
a3f2468a
CY
6273 * net/browse-url.el (browse-url-firefox): Don't call
6274 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6275
8e999f70
GM
62762011-08-20 Glenn Morris <rgm@gnu.org>
6277
c21a496a
GM
6278 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6279
59ee0542
GM
6280 * tutorial.el (tutorial--default-keys): Update some default bindings.
6281
8e999f70
GM
6282 * files.el (hack-local-variables): Fully ignore case for "mode:".
6283
e3715033
AM
62842011-08-20 Alan Mackenzie <acm@muc.de>
6285
6286 Resolve invalid use of a regexp in regexp-opt.
6287
4d61f28d
JB
6288 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6289 detection for a java annotation.
e3715033 6290
4d61f28d 6291 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
6292 detection for a java annotation.
6293
4d61f28d
JB
6294 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6295 handling for java.
e3715033
AM
6296 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6297
04ed2e9c
CY
62982011-08-20 Chong Yidong <cyd@stupidchicken.com>
6299
6300 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6301 (Bug#9274).
6302
826cee64
AM
63032011-08-20 Alan Mackenzie <acm@muc.de>
6304
58179cce 6305 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
6306 such a construct. Mainly for when jit-lock etc. starts a chunk
6307 here.
6308
58179cce 6309 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 6310 variable.
58179cce 6311 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
6312 c-make-font-lock-search-function.
6313 (c-make-font-lock-search-function): Use the above function.
6314 (c-make-font-lock-context-search-function): New function.
6315 (c-cpp-matchers): Enhance the preprocessor expression case with
6316 the above function
6317 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6318 which takes an expression.
6319
6320 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6321
13009bd8
MR
63222011-08-20 Martin Rudalics <rudalics@gmx.at>
6323
6324 * window.el (display-buffer-reuse-window)
6325 (display-buffer-pop-up-window): Don't reuse or split a side
6326 window.
6327
9234ff7f
GM
63282011-08-19 Glenn Morris <rgm@gnu.org>
6329
6330 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 6331 Downcase "Mode:". (Bug#9331)
9234ff7f 6332
f635daa1
CY
63332011-08-18 Chong Yidong <cyd@stupidchicken.com>
6334
6335 * international/characters.el: Add L and R categories.
6336
6337 * subr.el (bidi-string-mark-left-to-right): Rename from
6338 string-mark-left-to-right. Use category search.
6339
6340 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6341
bc987f8b
JL
63422011-08-18 Juri Linkov <juri@jurta.org>
6343
6344 * faces.el (error, warning, success): New faces with definitions
6345 copied from old default values of `font-lock-warning-face',
6346 `compilation-warning', `compilation-info' (bug#6117).
6347
6348 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6349
6350 * progmodes/compile.el (compilation-error): Inherit from `error'.
6351 (compilation-warning): Inherit from `warning'.
6352 (compilation-info): Inherit from `success'.
6353
6354 * dired.el (dired-marked): Inherit from `warning'.
6355 (dired-flagged): Inherit from `error'.
6356
57173b96
LMI
63572011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6358
3e79eb87
LMI
6359 * mail/smtpmail.el (auth-source): Require to avoid problems with
6360 binding variables (bug#9298). Also clean up some unused
6361 autoloads.
6362
b3fd59bd
SM
6363 * net/network-stream.el (network-stream-open-starttls):
6364 Support using starttls.el without using gnutls-cli.
57173b96 6365
02b404de
JL
63662011-08-17 Juri Linkov <juri@jurta.org>
6367
6368 * progmodes/grep.el (rgrep): Handle the case when
6369 `grep-find-command' is a cons cell (bug#9278).
6370
8c9177f2
MR
63712011-08-17 Martin Rudalics <rudalics@gmx.at>
6372
6373 * window.el (display-buffer-pop-up-frame): Run frame creation
6374 function with BUFFER current (as special-display-popup-frame
6375 does). Reported by Drew Adams.
6376
3644a0ab
DU
63772011-08-17 Daiki Ueno <ueno@unixuser.org>
6378
6379 * epa-mail.el: Simplify GnuPG group expansion using
6380 epg-expand-group.
6381 (epa-mail-group-alist, epa-mail-group-modtime)
6382 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6383 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6384 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6385 Remove.
6386
5e617bc2 63872011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
6388
6389 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6390
9c4aeabf
AM
63912011-08-16 Alan Mackenzie <acm@muc.de>
6392
6393 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6394 Correct, to avoid the inside of macros.
6395
3a99bf64
RS
63962011-08-16 Richard Stallman <rms@gnu.org>
6397
04963aa8
RS
6398 * epa-mail.el: Handle GnuPG group definitions.
6399 (epa-mail-group-alist, epa-mail-group-modtime)
6400 (epa-mail-gnupg-conf-file): New variables.
6401 (epa-mail-parse-groups, epa-mail-sync-groups)
6402 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6403 (epa-mail-expand-recipients): New functions.
6404 (epa-mail-encrypt): Call epa-mail-expand-recipients.
6405
177549d0
RS
6406 * mail/rmail.el (rmail-epa-decrypt): New command.
6407
fe38beef
RS
6408 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6409 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
6410 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6411 (epa-decrypt-armor-in-region): Make error message clearer.
6412
934eacb9
SM
64132011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6414
6415 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6416 and "a2b" to "ab" for `prefix'.
6417
d024fb4e
CY
64182011-08-14 Chong Yidong <cyd@stupidchicken.com>
6419
6420 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6421 filter groups.
de148fee
CY
6422 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
6423 Fourquet (Bug#8804).
d024fb4e 6424
62f1ca49
JB
64252011-08-12 Juanma Barranquero <lekktu@gmail.com>
6426
6427 * startup.el (argi): Declare as global variable (bug#9275).
6428
9ccaaa4b
CY
64292011-08-12 Chong Yidong <cyd@stupidchicken.com>
6430
6431 * subr.el (string-mark-left-to-right): Search the entire string
6432 for RTL script, not just the terminating character. Doc fix.
6433
a3dae87a
SM
64342011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6435
6cd18349
SM
6436 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6437 New function.
6438 (js--regexp-literal, js-syntax-propertize-function): Remove.
6439 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6440 (js-mode-map): Don't rebind electric keys.
6441 (js-insert-and-indent): Remove.
6442 (js-mode): Setup electric-layout and electric-indent instead.
6443
a3dae87a
SM
6444 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6445
9d5cb631
DU
64462011-08-12 Daiki Ueno <ueno@unixuser.org>
6447
6448 * epa.el (epa-progress-callback-function): Fix the logic of
6449 displaying progress.
6450 * epa-file.el (epa-file-insert-file-contents): Make progress
6451 display more user-friendly.
6452 (epa-file-write-region): Ditto.
6453
3e26a4a2
CY
64542011-08-10 Chong Yidong <cyd@stupidchicken.com>
6455
6456 * subr.el (string-mark-left-to-right): New function.
6457
6458 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6459 Use string-mark-left-to-right.
6460 (list-buffers-noselect): Caller changed.
6461
a3dae87a
SM
6462 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6463 Use string-mark-left-to-right.
3e26a4a2
CY
6464 (tabulated-list-print): Recenter after moving point.
6465
ac8cf6e6
JL
64662011-08-10 Juri Linkov <juri@jurta.org>
6467
6468 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6469 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6470 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6471
8d96c9a4
CY
64722011-08-09 Chong Yidong <cyd@stupidchicken.com>
6473
6474 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6475 (Bug#7554).
6476
7be1c708 64772011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
6478
6479 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6480 character. (Bug#6594)
6481
37e11a63
CY
64822011-08-08 Chong Yidong <cyd@stupidchicken.com>
6483
839dde57
CY
6484 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6485 (image-dired--with-db-file): New macro.
6486 (image-dired-write-tags, image-dired-remove-tag)
6487 (image-dired-create-gallery-lists, image-dired-write-comments)
6488 (image-dired-get-comment, image-dired-mark-tagged-files)
6489 (image-dired-list-tags, image-dired-gallery-generate): Use it.
6490 (image-dired-gallery-generate): Use insert-file-contents.
6491
37e11a63
CY
6492 * time.el (display-time-world-list, display-time-world-display):
6493 * time-stamp.el (time-stamp-string):
6494 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6495 set-time-zone-rule (Bug#7337).
6496
0b4946c4
DU
64972011-08-08 Daiki Ueno <ueno@unixuser.org>
6498
6499 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6500 (epg-error-to-string, epg-errors-to-string): New function.
6501 (epg-wait-for-completion): Reverse errors list.
6502 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6503 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6504 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6505 (epg-sign-keys, epg-generate-key-from-file)
6506 (epg-generate-key-from-string): Format errors by using
6507 epg-errors-to-string (bug#9255).
6508 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6509
75bfc667
JL
65102011-08-07 Juri Linkov <juri@jurta.org>
6511
6512 * faces.el (list-faces-display): Remove extra angle bracket
6513 from `help-mode-map'.
6514
6515 * info.el (Info-history-toc-nodes): Doc fix.
6516
6517 * longlines.el (longlines-mode): Doc fix.
6518
673e08bb
SM
65192011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6520
4640dd88
SM
6521 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6522 of statements and in a few more cases (bug#9183).
6523
673e08bb
SM
6524 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6525 New functions.
6526 (cl-transform-lambda): Use them (bug#9239).
6527
89b3f019
MR
65282011-08-05 Martin Rudalics <rudalics@gmx.at>
6529
6530 * window.el (display-buffer-same-window)
6531 (display-buffer-same-frame, display-buffer-other-window)
6532 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6533 (pop-to-buffer-other-window)
6534 (pop-to-buffer-same-frame-other-window)
6535 (pop-to-buffer-other-frame): Make them defuns.
6536 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6537
640c8776
SM
65382011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6539
6540 * subr.el (make-composed-keymap): Move from C. Change calling
6541 convention, and improve docstring to bring attention to a subtle point.
6542 * minibuffer.el (completing-read-default): Adjust accordingly.
6543
63648a95
MA
65442011-08-03 Michael Albinus <michael.albinus@gmx.de>
6545
6546 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6547 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6548
6549 * net/trampver.el: Update release number.
6550
b796c9b7
SM
65512011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6552
6553 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6554 "in" (bug#9190).
6555
2239d7d5
LMI
65562011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6557
e07dd7c3
LMI
6558 * mail/sendmail.el (sendmail-query-once): Restore the current
6559 buffer after querying (bug#9074).
6560
0e6a2bd7
LMI
6561 * dired.el (dired-flagged): Use different faces for marked and
6562 flagged files (bug#6117).
6563
ce887515
LMI
6564 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6565 (bug#4433).
6566
92f2affc
LMI
6567 * ido.el (ido-mode): Switch off the message if called
6568 non-interactively.
6569
57d5aff0
LMI
6570 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6571 before 587, since it appears that that's more likely to work for
6572 more people.
6573
98cd6c18 6574 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 6575 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
6576 exist.
6577
b96dec83
LMI
6578 * info.el: Remove the `Info-beginning-of-buffer' function
6579 (bug#8325).
6580
b796c9b7
SM
6581 * net/network-stream.el (network-stream-open-starttls):
6582 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 6583
d90e2ea0
MR
65842011-08-01 Martin Rudalics <rudalics@gmx.at>
6585
6586 * window.el (display-buffer-in-window): Don't set dedicated status
6587 of window here (Bug#9215).
6588 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6589 (display-buffer-pop-up-side-window)
b796c9b7 6590 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 6591
cca09170
SM
65922011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6593
6594 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6595 before binding generated-autoload-file.
6596
027b979c
DD
65972011-08-01 Deniz Dogan <deniz@dogan.se>
6598
6599 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6600
3c7ee4f3
MA
66012011-07-30 Michael Albinus <michael.albinus@gmx.de>
6602
6603 Sync with Tramp 2.2.2.
6604
6605 * net/trampver.el: Update release number.
6606
2cc8e51a
JL
66072011-07-30 Juri Linkov <juri@jurta.org>
6608
6609 * dired-aux.el (dired-touch-initial): Remove function.
6610 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6611 current time, and `default' to the last modification time of the
6612 current marked file (bug#6887).
6613
a514d856
JM
66142011-07-28 Jose E. Marchesi <jemarch@gnu.org>
6615
6616 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 6617 numeric argument to read-number (bug#9163).
a514d856 6618
8a7eddd7
MA
66192011-07-27 Michael Albinus <michael.albinus@gmx.de>
6620
6621 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6622 connection process, it could be nil.
6623
1ddd96f5
LL
66242011-07-27 Leo Liu <sdl.web@gmail.com>
6625
6626 Simplify url handling in rcirc-mode.
6627
6628 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6629 (rcirc-browse-url-at-mouse): Remove.
6630 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6631
b248a85d
AM
66322011-07-26 Alan Mackenzie <acm@muc.de>
6633
6634 Fontify bitfield declarations properly.
6635
6636 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6637 (c-symbol-chars): Now exported as a lang variable.
6638 (c-not-primitive-type-keywords): New lang variable.
6639
6640 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6641 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 6642 parsed as a bitfield declaration.
b248a85d 6643
b796c9b7
SM
6644 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6645 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
6646 (c-punctuation-in): New function.
6647 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6648 declarations properly.
6649
68575ab0
UJ
66502011-07-26 Ulf Jasper <ulf.jasper@web.de>
6651
6652 * calendar/icalendar.el (icalendar--all-events): Take care of
6653 multiple vcalendars in a single file.
b796c9b7 6654 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 6655
0f0a88b9
DD
66562011-07-25 Deniz Dogan <deniz@dogan.se>
6657
6658 * image.el (insert-image): Clarifying docstring.
6659
0b3f36df
MA
66602011-07-24 Michael Albinus <michael.albinus@gmx.de>
6661
6662 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6663 `tramp-send-command-and-check' if there is no error.
6664 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6665
a9901f61
AM
66662011-07-22 Alan Mackenzie <acm@muc.de>
6667
6668 Prevent cc-langs.elc being loaded at run time.
6669
6670 * progmodes/cc-mode.el: Remove two autoload forms which loaded
6671 cc-langs.
6672
4d61f28d 6673 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
6674 "(require 'cc-langs)". Quote a form so it will evaluate at
6675 (cc-mode's) compilation time.
6676
11d074b2
MA
66772011-07-22 Michael Albinus <michael.albinus@gmx.de>
6678
6679 * net/tramp.el (tramp-file-name-handler): Avoid recursive
6680 loading. (Bug#9114)
6681
938b94c8
MR
66822011-07-21 Martin Rudalics <rudalics@gmx.at>
6683
6684 * window.el (display-buffer-pop-up-window)
6685 (display-buffer-pop-up-side-window)
6686 (display-buffer-in-side-window): Call display-buffer-set-height
6687 and display-buffer-set-width after setting the new window's
b796c9b7 6688 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 6689
bfa4f190
SS
66902011-07-20 Sam Steingold <sds@gnu.org>
6691
6692 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6693 (etags-tags-included-tables): Call `convert-standard-filename' on
6694 the file names contained in TAGS so that windows Emacs can handle
6695 TAGS files created by cygwin ctags.
6696
8ca42262
LMI
66972011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
6698
6699 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6700 which apparently didn't work.
6701
5db2afd2 67022011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 6703
5db2afd2
RW
6704 * proced.el (proced-send-signal): For *Marked Processes* buffer
6705 put point at beginning of buffer.
6706
92e15d10
SB
67072011-07-19 Stephen Berman <stephen.berman@gmx.net>
6708
6709 * proced.el (proced-format): Make header lines align with the text
6710 (bug#1779).
6711
1bfd59e5
LMI
67122011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6713
6714 * view.el (view-buffer): Allow running in `special' modes if we're
6715 visiting a file (bug#8615).
6716
f5aae37c
MR
67172011-07-19 Martin Rudalics <rudalics@gmx.at>
6718
6719 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
6720 (display-buffer-alist-set-1, display-buffer-alist-set-2):
6721 New functions.
f5aae37c
MR
6722 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6723 more accurately.
6724
bf2c1571
AM
67252011-07-18 Alan Mackenzie <acm@muc.de>
6726
6727 Fontify declarators properly when, e.g., a jit-lock chunk begins
6728 inside a declaration.
6729
6730 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6731
b796c9b7
SM
6732 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6733 New function.
bf2c1571
AM
6734 (c-complex-decl-matchers): Insert reference to
6735 c-font-lock-enclosing-decls.
6736
6737 * progmodes/cc-engine.el (c-backward-single-comment):
6738 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6739 to nil around calls to (forward-comment -1).
6740
4e190b80
LMI
67412011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6742
12dc863d
LMI
6743 * image.el (put-image): Doc typo fix.
6744
a762e966
LMI
6745 * progmodes/etags.el (tags-search): Doc typo fix.
6746
4e190b80
LMI
6747 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6748 password if we get errors 550 to 554.
6749
f019fb21
LMI
67502011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6751
b796c9b7 6752 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 6753
81746738
LMI
6754 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6755 indentation character (bug#6380).
6756
3ee3a1b5
LMI
6757 * files.el (buffer-offer-save): Made permanently local (bug#6241).
6758
c82f64de
LMI
6759 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6760 to clarify what the problem is (bug#4291).
6761
f019fb21
LMI
6762 * simple.el (current-kill): Clarify what
6763 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
6764 (auto-fill-mode): Document `auto-fill-function' in relation to
6765 `auto-fill-mode' (bug#2470).
f019fb21 6766
0794775d
LM
67672011-07-16 Lawrence Mitchell <wence@gmx.li>
6768
6769 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6770 method if slot is read-only (bug#9035).
6771
be39b8cc
MR
67722011-07-16 Martin Rudalics <rudalics@gmx.at>
6773
b796c9b7 6774 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 6775 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
6776 selected before, see discussion of (Bug#8615), (Bug#6954).
6777 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 6778
6ccf7859
GM
67792011-07-15 Glenn Morris <rgm@gnu.org>
6780
6781 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 6782 Respect help-form.
6ccf7859 6783
87e86684
LM
67842011-07-09 Lawrence Mitchell <wence@gmx.li>
6785
6786 * net/gnutls.el (gnutls-min-prime-bits): New variable.
6787 (gnutls-negotiate): Use it.
6788
d6066239
LMI
67892011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6790
b796c9b7
SM
6791 * net/gnutls.el (gnutls-negotiate):
6792 Upcase `gnutls-algorithm-priority'.
d6066239 6793
bd23ebc0
GM
67942011-07-15 Glenn Morris <rgm@gnu.org>
6795
c65bca65
GM
6796 * jka-compr.el (jka-compr-verbose): Move from here...
6797 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
6798 Add missing :version tag.
6799 * info.el: No need to require jka-compr when compiling.
bd23ebc0 6800
478615cc
LMI
68012011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6802
7b41decb
LMI
6803 * net/gnutls.el (gnutls-algorithm-priority): New variable.
6804 (gnutls-negotiate): Use it.
6805
dbc44fcd
LMI
6806 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6807
06789f97
LMI
6808 * info.el (Info-beginning-of-buffer): New command.
6809 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6810 announcing `b' as the key (bug#8325).
ab896c37 6811 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 6812
c39da690
LMI
6813 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6814
3aa5f34b
LMI
6815 * international/mule-cmds.el
6816 (describe-specified-language-support): Make the error message
6817 clearer (bug#8905).
6818
4bf0979f
LMI
6819 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6820
478615cc
LMI
6821 * isearch.el (isearch-barrier): Add a doc string, since it's
6822 mentioned in a function doc string (bug#8678).
6823
75c68aa1
MR
68242011-07-15 Martin Rudalics <rudalics@gmx.at>
6825
6826 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6827 buffer argument (Bug#9083) and self-identifying label argument.
6828
a7c33da2
GM
68292011-07-15 Glenn Morris <rgm@gnu.org>
6830
6831 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6832
2f5c6024
LMI
68332011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6834
6835 * man.el (Man-fontify-manpage): Fix message when formatting the
6836 man page (bug#7929).
6837
0bb23927 68382011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
6839
6840 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6841 argument LRM; if non-nil, append an invisible LRM character to the
6842 buffer name.
6843 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6844 last argument non-nil, when formatting buffer names.
0bb23927
EZ
6845 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6846 paragraph direction.
cce4b0a7 6847
621ef9ab
LMI
68482011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6849
d1583c48
LMI
6850 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6851 the man page name (bug#7929).
6852
6a57fb5f
LMI
6853 * image.el (put-image): Mention the `put-image' overlay property
6854 (bug#7834).
6855
d7956b14
LMI
6856 * scroll-bar.el (set-scroll-bar-mode): Mention that
6857 `scroll-bar-mode' lists the values (bug#7772).
6858
5b2d4a66
LMI
6859 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6860 command (bug#7729).
6861
7509a874
LMI
6862 * rect.el (apply-on-rectangle): Return the point after the last
6863 operation.
6864 (string-rectangle): Go to the point after the last operation
6865 (bug#7522).
6866
4fe74b19
LMI
6867 * printing.el (pr-toggle-region): Clarify the documentation
6868 slightly (bug#7493).
6869
b796c9b7
SM
6870 * time.el (display-time-update):
6871 Allow `display-time-mail-function' to return nil (bug#7158).
6872 Fix suggested by Detlev Zundel.
ab283561 6873
fc233c9d
LMI
6874 * vc/diff.el (diff): Clarify the order the file names are read
6875 (bug#7111).
6876
43f5740b
LMI
6877 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6878 the doc string (bug#7015).
6879
f2182a76
LMI
6880 * font-lock.el (font-lock-maximum-decoration): Mention what
6881 numeric levels mean (bug#6935).
6882
621ef9ab
LMI
6883 * startup.el (initial-buffer-choice): Don't mention the `none'
6884 selection, which is against policy.
6885
adc47434
MR
68862011-07-14 Martin Rudalics <rudalics@gmx.at>
6887
b796c9b7
SM
6888 * window.el (display-buffer-normalize-special):
6889 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 6890
7e5bfb8f
EZ
68912011-07-14 Eli Zaretskii <eliz@gnu.org>
6892
6893 * subr.el (version<, version<=, version=): Mention "-CVS" and
6894 "-12345" alpha version numbers.
6895
27fa387a
CY
68962011-07-14 Chong Yidong <cyd@stupidchicken.com>
6897
6898 * bindings.el: Add advertised binding for set-mark-command
6899 (Bug#5772).
6900
8bdfa064
CY
69012011-07-14 Chong Yidong <cyd@stupidchicken.com>
6902
6903 * bindings.el (mode-line-other-buffer):
6904 * bookmark.el (bookmark-bmenu-2-window):
6905 * bs.el (bs-cycle-next, bs-cycle-previous):
6906 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6907 switch-to-buffer.
6908
6909 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 6910 Delete.
8bdfa064 6911
5eba16a3
JB
69122011-07-14 Juanma Barranquero <lekktu@gmail.com>
6913
6914 * follow.el (follow-debug-message, follow-redisplay):
6915 * jka-cmpr-hook.el (with-auto-compression-mode):
6916 Fix typos in docstrings.
6917
15853710
LMI
69182011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6919
a28e4607
LMI
6920 * subr.el (with-silent-modifications): Clarify somewhat what the
6921 macro inhibits (bug#6525).
6922
15853710
LMI
6923 * simple.el (eval-expression): Note what it does if called
6924 interactively (bug#6495).
6925
bee0fcef
CY
69262011-07-13 Chong Yidong <cyd@stupidchicken.com>
6927
b796c9b7
SM
6928 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6929 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
6930
6931 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6932 Remove switch-to-buffer.
6933
58274504
LMI
69342011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6935
bd2fcc8d
LMI
6936 * files.el (make-directory): Clarify that an error will be raised
6937 if there's an error (bug#6397).
6938
0f04b32c
LMI
6939 * startup.el (initial-buffer-choice): Add `none' as a choice
6940 (bug#6234).
6941
465c5fc8
LMI
6942 * subr.el (add-hook): Clarify section about buffer-local hooks
6943 (bug#6218).
6944
58274504
LMI
6945 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6946
bead9a43
JB
69472011-07-13 Juanma Barranquero <lekktu@gmail.com>
6948
6949 * tabify.el (untabify): Preserve the current column so that point
6950 doesn't move (bug#6032).
6951
3af98a7b
LMI
69522011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6953
b796c9b7
SM
6954 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6955 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 6956
6240145a
GM
69572011-07-13 Glenn Morris <rgm@gnu.org>
6958
6959 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6960 (dired-insert-directory): Give a message the first time
6961 if ls is found not to support --dired.
6962
1d8c2ccc
LMI
69632011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6964
6965 * simple.el (toggle-truncate-lines): Clarify what is toggled
6966 (bug#5580). Text by Drew Adams.
6967
5fc4038e
CY
69682011-07-13 Chong Yidong <cyd@stupidchicken.com>
6969
6970 * simple.el (blink-matching-open): Make the error message from the
6971 last change less verbose.
6972
bf6012e5
DN
69732011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6974
6975 * font-lock.el (font-lock-comment-face): Use the high contrast
6976 "yellow" color for font-lock-comment-face on low color terminals
6977 using a dark background color (bug#4221).
6978
343c3b5a
LMI
69792011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6980
7e9505c5
LMI
6981 * dired.el (dired-insert-set-properties): Make the doc string
6982 reflect what it does now (bug#5325).
6983
c26fdcf5
LMI
6984 * simple.el (blink-matching-open): Say that we were unable to find
6985 the match within the limit, if we're limited (bug#5122).
6986
bb388cc5
LMI
6987 * international/mule-cmds.el (prefer-coding-system): Add an
6988 example (bug#4869).
6989
343c3b5a
LMI
6990 * progmodes/etags.el (tags-search): Document `file-list-form'
6991 (bug#4731).
6992
2a517d45
LM
69932011-07-13 Lawrence Mitchell <wence@gmx.li>
6994
6995 * net/browse-url.el (browse-url-default-browser)
6996 (browse-url-browser-function): Make the default browser choice a
6997 bit more logical (bug#4300). Also clean up the doc string.
6998
b6c78ef2
JB
69992011-07-13 Juanma Barranquero <lekktu@gmail.com>
7000
7001 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7002 binary endings (bug#4440).
7003
1c4dd947
LMI
70042011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7005
a2014063
LMI
7006 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7007 which can be pretty annoying (bug#8971).
7008
9c9c2d88
LMI
7009 * jka-compr.el (jka-compr-verbose): New variable, and use
7010 throughout (bug#8971).
7011
1c4dd947
LMI
7012 * info.el (Info-find-file): Fall back on the installation
7013 directory if we can't find the info node anywhere else.
7014
a1c9f41b
SO
70152011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7016
7017 * vc/vc.el (vc-revert-file):
7018 Don't set file time-stamp in the past. (Bug#5181)
7019
536f3d36
LMI
70202011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7021
7152b011
LMI
7022 * files.el (after-find-file): Give a better error message when
7023 trying to find a symlink that points to a file that doesn't exist
7024 (bug#4398).
7025
536f3d36
LMI
7026 * progmodes/cc-vars.el: Remove (probably) misleading comment
7027 (bug#4396).
7028
460c0fba
JB
70292011-07-12 Johan Bockgård <bojohan@gnu.org>
7030
7031 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7032
7a6bda45
CY
70332011-07-12 Chong Yidong <cyd@stupidchicken.com>
7034
7035 * mouse-sel.el: Hack restoring functionality, while keeping
7036 compatibility with 2010-07-03 changes to mouse selection.
7037 (mouse-sel-primary-overlay): New var.
7038 (mouse-sel-selection-alist): Use it.
7039 (mouse-sel-mode): Doc fix; remove points that are default features
7040 of mouse.el.
7041
c79598ef
JB
70422011-07-12 Johan Bockgård <bojohan@gnu.org>
7043
7044 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7045 Fix previous fix (bug#2490).
7046
ff8be6ef
RW
70472011-07-12 Roland Winkler <winkler@gnu.org>
7048
b796c9b7
SM
7049 * textmodes/bibtex.el (bibtex-initialize):
7050 Use pop-to-buffer-same-window.
ff8be6ef
RW
7051 (bibtex-search-entries): Fix interactive call.
7052
296ba3ee
LMI
70532011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7054
f5242a02 7055 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
7056 Fontise bytecomp Error lines more correctly (bug#2490).
7057 Fix suggested by Johan Bockgård.
f5242a02 7058
296ba3ee
LMI
7059 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7060
7061 * dired-x.el (dired-guess-default): Use `delete-dups'.
7062
f69fd0d2
CY
70632011-07-12 Chong Yidong <cyd@stupidchicken.com>
7064
7065 * dired.el (dired-mark-prompt):
7066 * dired-aux.el (dired-read-shell-command): Doc fix.
7067
eab5dc07
LMI
70682011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7069
b796c9b7
SM
7070 * mail/sendmail.el (sendmail-query-once):
7071 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
7072 emacs -Q.
7073
7074 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7075
eab5dc07
LMI
7076 * cus-edit.el (custom-file): Take an optional no-error variable.
7077 (customize-save-variable): Set the variable, and give a warning if
7078 running under "emacs -q".
7079
a1e65d42
JB
70802011-07-11 Juanma Barranquero <lekktu@gmail.com>
7081
7082 * loadhist.el (unload-feature-special-hooks):
7083 Add `auto-coding-functions', `fill-nobreak-predicate' and
7084 `find-directory-functions' (bug#5327).
7085
1d52da10
LMI
70862011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7087
be958f1d
LMI
7088 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7089
5bedb26c
LMI
7090 * cus-edit.el (custom-guess-name-alist): -alist variables should
7091 use the `alist' type (bug#3120). Suggested by Drew Adams.
7092
1d52da10
LMI
7093 * printing.el: Add documentation to all the `pr-toggle-' commands.
7094
cd394be1 70952011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
7096
7097 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7098 backends where it makes sense (bug#2623).
7099
dcc88d8a
LMI
71002011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7101
c3de9feb
LMI
7102 * dired-x.el (dired-guess-default): Remove duplicate shell command
7103 entries (bug#2028).
8a93078b 7104 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 7105 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 7106
dcc88d8a
LMI
7107 * subr.el (remove-duplicates): New conveniency function.
7108
505e3645
LMI
71092011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7110
7111 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7112 (bug#1526).
7113
71142011-07-10 Martin Rudalics <rudalics@gmx.at>
7115
7116 * window.el (display-buffer-normalize-default): Don't invert
7117 meaning of even-window-heights. Reported by Eli Zaretskii
7118 <eliz@gnu.org>.
7119
455e4fa1
BR
71202011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7121
7122 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7123
8e0bc3e9
CY
71242011-07-10 Chong Yidong <cyd@stupidchicken.com>
7125
7126 * window.el (display-buffer): Fix arguments to
7127 display-buffer-reuse-window in last change.
7128
fa7c3228
CY
7129 * faces.el (link): Use a less saturated blue on light backgrounds.
7130
7131 * startup.el (fancy-startup-text, fancy-about-text)
7132 (fancy-startup-tail): Use font-lock faces, for background safety.
7133
c0a7f300
BN
71342011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7135
b796c9b7
SM
7136 * emulation/viper-cmd.el (viper-change-state-to-vi):
7137 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 7138
4dc2a129
MR
71392011-07-09 Martin Rudalics <rudalics@gmx.at>
7140
7141 * window.el (display-buffer-default-specifiers): Remove.
7142 (display-buffer-macro-specifiers): Remove default specifiers.
7143 (display-buffer-alist): Default to nil.
b796c9b7 7144 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
7145 (display-buffer-pop-up-window): Allow splitting internal
7146 windows. Check whether a live window was created.
7147 (display-buffer-other-window-means-other-frame)
7148 (display-buffer-normalize-arguments): Rename to
7149 display-buffer-normalize-argument and rewrite. Set the
7150 other-window specifier.
7151 (display-buffer-normalize-special): New function.
7152 (display-buffer-normalize-options): Rename to
7153 display-buffer-normalize-default and rewrite.
7154 (display-buffer-normalize-options-inhibit): Remove.
7155 (display-buffer-normalize-specifiers): Rewrite.
7156 (display-buffer): Process other-window specifier and call
7157 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7158 more faithfully.
b796c9b7 7159 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 7160 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
7161 (display-buffer-in-window, display-buffer-alist-set):
7162 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
7163 <tassilo@member.fsf.org>.
7164
2d43b8c9
LL
71652011-07-09 Leo Liu <sdl.web@gmail.com>
7166
7167 * register.el (insert-register): Restore accidental change on
7168 2011-06-26. (Bug#9028)
7169
7f9b7c53
GM
71702011-07-09 Glenn Morris <rgm@gnu.org>
7171
7172 * subr.el (remq): Handle the empty list. (Bug#9024)
7173
f042cfd8
AS
71742011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7175
7176 * mail/sendmail.el (send-mail-function): No longer delay custom
7177 initialization.
7178 * custom.el (custom-initialize-delay): Doc fix.
7179
856b2f11
SM
71802011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7181
7182 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7183
afae1d68
MA
71842011-07-08 Michael Albinus <michael.albinus@gmx.de>
7185
7186 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7187 human-friendly prompt.
7188
0757af94
SM
71892011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7190
7191 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7192 provided by a particular plugin.
7193
d760b731
LMI
71942011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7195
7196 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7197 save customizations (with "emacs -Q"), just set the variable
7198 instead of erroring out.
7199
7200 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7201
cd79ce90
JL
72022011-07-08 Juri Linkov <juri@jurta.org>
7203
7204 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7205 (archive-zip-update-case): Use 7z if found by `executable-find'.
7206 The order of searching the available programs is the same as in
7207 `archive-zip-extract' (bug#8968).
7208
14cc04aa
CY
72092011-07-07 Chong Yidong <cyd@stupidchicken.com>
7210
7211 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7212 (menu-bar-options-menu): Tweak descriptions.
7213
0a1848ec
LMI
72142011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7215
7216 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7217 menu items into verb phrases (bug#1421). Also refill to fit under
7218 80 columns.
7219
f5bd0689
CY
72202011-07-07 Chong Yidong <cyd@stupidchicken.com>
7221
538e85c6
CY
7222 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7223 (Info-read-node-name): Doc fix (Bug#1084).
7224
f5bd0689
CY
7225 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7226 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7227 (end-of-sexp, beginning-of-sexp)
7228 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7229 (forward-symbol, forward-same-syntax, word-at-point)
7230 (sentence-at-point): Doc fix (Bug#1144).
7231
56ec5115
LMI
72322011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7233
f3f8e37f
LMI
7234 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7235 should cover it (bug#1281).
7236
0757af94 7237 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 7238
e9fce1ac 7239 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
7240 negotiation fails, then possibly try again with a non-encrypted
7241 connection (bug#9017).
7242
56ec5115
LMI
7243 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7244 be used.
7245
c2f9aec8
RS
72462011-07-07 Richard Stallman <rms@gnu.org>
7247
7248 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7249 property, and handle its changed format.
7250 Look for the correct line number.
7251 Use file's line contents (but not past first =) to find
7252 correct line in message.
7253
ef7b981d 72542011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
7255
7256 * international/characters.el (build-unicode-category-table):
7257 Delete it.
0757af94 7258 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 7259
0757af94 7260 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
7261 to src/chartab.c.
7262 (get-char-code-property): Call unicode-property-table-internal to
7263 load a file. Call get-unicode-property-internal where necessary.
7264 (put-char-code-property): Call unicode-property-table-internal to
7265 load a file. Call put-unicode-property-internal where necessary.
7266 put-unicode-property-internal where necessary.
0757af94
SM
7267 (char-code-property-description):
7268 Call unicode-property-table-internal to load a file.
c805dec0
KH
7269
7270 * international/charprop.el:
7271 * international/uni-bidi.el:
7272 * international/uni-category.el:
7273 * international/uni-combining.el:
7274 * international/uni-comment.el:
7275 * international/uni-decimal.el:
7276 * international/uni-decomposition.el:
7277 * international/uni-digit.el:
7278 * international/uni-lowercase.el:
7279 * international/uni-mirrored.el:
7280 * international/uni-name.el:
7281 * international/uni-numeric.el:
7282 * international/uni-old-name.el:
7283 * international/uni-titlecase.el:
7284 * international/uni-uppercase.el: Regenerate.
7285
7286 * loadup.el: Load international/charprop.el before
7287 international/characters.
7288
e14b388a
CY
72892011-07-07 Chong Yidong <cyd@stupidchicken.com>
7290
7291 * window.el (next-buffer, previous-buffer): Signal an error if
7292 called from a minibuffer window.
7293
7294 * bindings.el: Revert 2011-07-04 change.
7295
354cf0ba
RS
72962011-07-06 Richard Stallman <rms@gnu.org>
7297
7298 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7299 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7300 Treat markers like ints.
7301 (rmail-mime-entity): Doc fix.
7302
a48868a7
LMI
73032011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7304
4906cd3d
LMI
7305 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7306 defcustom again for backwards compatibility.
7307
e0457abe
LMI
7308 * simple.el (shell-command-on-region): Fill.
7309
d67f7e1f
LMI
7310 * dired-aux.el (dired-kill-line): Add a doc string.
7311
fe204702
LMI
7312 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7313 to "\\sw\\|\\s_" (bug#358).
7314
a48868a7
LMI
7315 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7316 (dired-unmark-backward): Ditto.
7317 (dired-flag-backup-files): Ditto.
7318
7319 * dired-x.el (dired-mark-sexp): Ditto.
7320
aa8a705c
RS
73212011-07-06 Richard Stallman <rms@gnu.org>
7322
7323 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7324 (rmail-mime-entity): New arg TRUNCATED.
7325 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7326 New functions.
7327 (rmail-mime-save): Warn if entity is truncated.
7328 (rmail-mime-toggle-hidden): Likewise, for showing.
7329 (rmail-mime-process-multipart): Record when an entity is truncated.
7330
a9a936b9
RS
7331 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7332 if ENTITY is a string.
7333
1f2b92cb
LMI
73342011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7335
f4f73198 7336 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
7337 of faces when `M-C-x'-ing their definitions (bug#8378).
7338 Also clean up the code slightly.
f4f73198 7339
12b16734 7340 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 7341 because that makes the colors go away.
12b16734 7342
f0691d22
LMI
7343 * mail/sendmail.el (send-mail-function): Change the default to
7344 `sendmail-query-once'.
9e87df06 7345 (sendmail-query-once): Add an autoload cookie.
f0691d22 7346
1f2b92cb
LMI
7347 * net/network-stream.el (network-stream-open-starttls): Try using
7348 a plain connection even if the server offered STARTTLS, and we
7349 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7350 capability. This should make smtpmail.el work in slightly more
7351 configurations.
7352
1cdd2a1b
MA
73532011-07-06 Michael Albinus <michael.albinus@gmx.de>
7354
7355 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7356 New defun.
7357 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7358
fbcc67e2
MM
73592011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7360
7361 * progmodes/sql.el: Version 3.0
0757af94 7362 (sql-product-alist): Add product :completion-object,
fbcc67e2 7363 :completion-column, and :statement attributes.
0757af94 7364 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 7365 (sql-mode-syntax-table): Mark all punctuation.
0757af94 7366 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
7367 ansi keywords.
7368 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 7369 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
7370 (sql-oracle-show-reserved-words): New function for development.
7371 (sql-product-font-lock): Simplify for source code buffers.
7372 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7373 New functions.
7374 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
7375 (sql-mode-map): Add statement movement functions.
7376 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7377 New variable.
fbcc67e2
MM
7378 (sql-statement-regexp, sql-beginning-of-statement)
7379 (sql-end-of-statement, sql-signum): New functions.
0757af94 7380 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
7381 (sql-show-sqli-buffer): Bug fix.
7382 (sql-interactive-mode): Store connection data as buffer local.
0757af94 7383 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
7384 with sql-interactive-mode.
7385 (sql-save-connection): Save buffer local settings.
0757af94 7386 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
7387 (sql-product-interactive): Bug fix.
7388 (sql-preoutput-hold): New variable.
7389 (sql-interactive-remove-continuation-prompt): Bug fixes.
7390 (sql-debug-redirect): New variable.
7391 (sql-str-literal): New function.
7392 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 7393 Redesign.
fbcc67e2
MM
7394 (sql-oracle-save-settings, sql-oracle-restore-settings)
7395 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7396 (sql-completion-object, sql-completion-column)
7397 (sql-completion-sqlbuf): New variables.
7398 (sql-build-completions-1, sql-build-completions)
7399 (sql-try-completion): New functions.
7400 (sql-read-table-name): Use them.
7401 (sql-contains-names): New buffer local variable.
7402 (sql-list-all, sql-list-table): Use it.
7403 (sql-oracle-completion-types): New variable.
7404 (sql-oracle-completion-object, sql-sqlite-completion-object)
7405 (sql-postgres-completion-object): New functions.
7406
d4eaeab1
GM
74072011-07-06 Glenn Morris <rgm@gnu.org>
7408
7409 * window.el (pop-to-buffer): Doc fix.
7410
322b7dab 74112011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
7412
7413 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7414
322b7dab 74152011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 7416
322b7dab 7417 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 7418
322b7dab 7419 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 7420
605dd5bf
CY
74212011-07-05 Chong Yidong <cyd@stupidchicken.com>
7422
7423 * button.el (button): Inherit from link face. Suggested by Dan
7424 Nicolaescu.
7425
7dbfa719
SM
74262011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7427
3db614b0
SM
7428 * progmodes/gdb-mi.el: Fit in 80 columns.
7429 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7430 switch-to-buffer.
7431
7dbfa719
SM
7432 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7433 if imenu is simply not configured (bug#8941).
7434
919d884a
KM
74352011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7436
7437 * allout.el (allout-post-undo-hook): New allout outline-change
7438 event hook to signal undo activity.
7439 (allout-post-command-business): Run allout-post-undo-hook if an
7440 undo just occurred.
7dbfa719
SM
7441 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7442 * allout-widgets.el (allout-widgets-after-undo-function):
7443 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
7444 in the vicinity of an undo.
7445 (allout-widgets-mode): Include allout-widgets-after-undo-function
7446 on the new allout-post-undo-hook.
7447
450a0f09
SM
74482011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7449
7450 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7451 Let define-derived-mode define it.
7452 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7453 cycles of abbrev-table inheritance (bug#8998).
7454
2de69e00
RW
74552011-07-05 Roland Winkler <winkler@gnu.org>
7456
7457 * textmodes/bibtex.el: Add support for biblatex.
7458 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7459 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7460 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7461 (bibtex-entry-alist, bibtex-field-alist): New variables.
7462 (bibtex-entry-field-alist): Obsolete alias for
7463 bibtex-BibTeX-entry-alist.
7464 (bibtex-entry-alist, bibtex-field-alist): New widgets.
7465 (bibtex-set-dialect): New command.
7466 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
7467 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7468 Bind via bibtex-set-dialect.
2de69e00
RW
7469 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7470 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7471 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7472 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7473 Define via bibtex-set-dialect.
450a0f09
SM
7474 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7475 Obey bibtex-no-opt-remove-re.
2de69e00
RW
7476 (bibtex-vec-push, bibtex-vec-incr): New functions.
7477 (bibtex-format-entry, bibtex-field-list)
7478 (bibtex-print-help-message, bibtex-validate)
7479 (bibtex-search-entries): Use new format of bibtex-entry-alist.
7480
2dcdbdd9
SM
74812011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7482
7483 * progmodes/compile.el (compilation-goto-locus):
7484 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7485 * bs.el (bs-cycle-next, bs-cycle-previous):
7486 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7487 * bindings.el (mode-line-other-buffer):
7488 * autoinsert.el (auto-insert):
7489 * arc-mode.el (archive-extract):
7490 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7491
b27640fe
JB
74922011-07-05 Juanma Barranquero <lekktu@gmail.com>
7493
7494 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7495 Fix check of `emacs-lock-unlockable-modes'.
7496 Coerce true values of `emacs-lock--try-unlocking' to t.
7497
53bbe3ad
JB
74982011-07-05 Juanma Barranquero <lekktu@gmail.com>
7499
7500 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7501 * emacs-lock.el: New file.
7502
1d3cdbc7
JD
75032011-07-05 Julien Danjou <julien@danjou.info>
7504
7505 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7506 than `boundp' to check if face is set.
7507
9173deec
JB
75082011-07-05 Juanma Barranquero <lekktu@gmail.com>
7509
7510 * register.el (registerv-make):
7511 * window.el (window-min-height): Fix typos in docstrings.
7512
869795d6
JD
75132011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7514
9173deec 7515 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
7516 Update doc string.
7517
b768cdcd
JB
75182011-07-04 Juanma Barranquero <lekktu@gmail.com>
7519
7520 * server.el (server-execute): Catch quit and call
7521 `server-return-error' to pass the error back to emacsclient and
7522 close the connection (bug#8942).
7523
13aa217b
KM
75242011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
7525
7526 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7527 insecure exception for current topic. Also note that auto-saves
7528 are handled differently.
7529
7530 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7531 State variables for tracking auto-save inhibition situation.
7532
7533 (allout-write-contents-hook-handler): Rename from
7534 'allout-write-file-hook-handler', and describe how it depends on
7535 write-contents-functions sensitivity to non-nil value to prevent
7536 file write.
7537
7538 (allout-auto-save-hook-handler): Remove. auto-save does not check
7539 this in individual buffers, only in the starting buffer, so this
7540 is not the right way for us to inhibit auto-save in a buffer
7541 according to its condition.
7542
7543 (allout-mode): Use new allout-write-contents-hook-handler, and
7544 only with write-contents-functions. Remove auto-save provisions -
7545 they're implemented elsewhere.
7546
7547 (allout-before-change-handler): If undo is in progress, note that
7548 for attention of allout-post-command-business.
7549
7550 (allout-post-command-business): If the command we're following was
7551 an undo, check for change in the status of encrypted items and
7552 adjust auto-save inhibitions accordingly.
7553
7554 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7555 according to whether there are or aren't any plain-text topics
7556 pending encryption.
7557
2dcdbdd9 7558 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
7559 Adjust buffer-saved-size and some allout state to inhibit auto-saves
7560 if there are plain-text topics pending encryption.
13aa217b
KM
7561
7562 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7563 buffer-saved-size and some allout state to not inhibit auto-saves
7564 if there are no longer any plain-text topics pending encryption.
7565
0757af94
SM
7566 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7567 No longer provide for exemption of the current topic.
13aa217b 7568
ac89b32c
JL
75692011-07-04 Juri Linkov <juri@jurta.org>
7570
7571 Add 7z operations to delete and save changed members (bug#8968).
7572 * arc-mode.el (archive-7z-expunge, archive-7z-update):
7573 New defcustoms.
7574 (archive-7z-write-file-member): New function.
7575 (archive-7z-summarize): Fix the number of dashes in the
7576 listing output.
7577
8fa39615
SM
75782011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7579
7580 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7581 (bug#8958).
7582
2f11b3f1
CY
75832011-07-04 Chong Yidong <cyd@stupidchicken.com>
7584
d66fef2b
CY
7585 * bindings.el: Ignore next-buffer and previous-buffer in
7586 minibuffer-local-map.
7587
2f11b3f1
CY
7588 * font-lock.el (font-lock-builtin-face): Change light background
7589 color to dark slate blue (Bug#6693).
7590
f932a347
WD
75912011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
7592
7593 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7594
c8af70e1
SM
75952011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7596
7597 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7598 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7599 Add switch-to-buffer.
7600
f158badc
LMI
76012011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7602
7603 * isearch.el (isearch-search-fun-function): Clarify further the
7604 meaning of the function returned.
7605
6d95bd46
MA
76062011-07-04 Michael Albinus <michael.albinus@gmx.de>
7607
7608 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7609
7610 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7611 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7612 Use it.
7613 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
7614 `tramp-default-remote-path' does not exist.
7615 (tramp-send-command-and-read): New optional argument NOERROR.
7616 (tramp-open-connection-setup-interactive-shell)
7617 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7618 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7619 (tramp-process-sentinel): Flush also process' connection property.
7620 (tramp-sh-handle-start-file-process): Do not set process
7621 sentinel. It is done now ...
7622 (tramp-maybe-open-connection): ... here. (Bug#8929)
7623
909e6b67
MK
76242011-07-04 MON KEY <monkey@sandpframing.com>
7625
7626 * play/animate.el (animate-string): Doc fixes and allow changing
7627 the buffer name (bug#5417).
7628
76292011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7630
c8af70e1 7631 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 7632
f34755dc
PE
76332011-07-04 Paul Eggert <eggert@cs.ucla.edu>
7634
396cec72
PE
7635 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7636 This is simpler and helps future-proof the code.
7637 (timer-until): Use time-subtract and float-time.
08235028 7638 (timer--time-less-p): Use time-less-p.
f34755dc 7639
56e6cc31
JB
76402011-07-04 Juanma Barranquero <lekktu@gmail.com>
7641
3abb79e5
JB
7642 * type-break.el (timep): Use the value of `float-time' to avoid a
7643 byte-compiler warning.
7644
56e6cc31
JB
7645 * server.el (server-eval-and-print): Return any result, even nil.
7646
7b9430b4
PE
76472011-07-03 Paul Eggert <eggert@cs.ucla.edu>
7648
7649 * type-break.el: Accept time formats that the builtins accept.
7650 (timep, type-break-time-difference): Accept any format that
7651 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7652 This is simpler and helps future-proof the code.
7653 (type-break-time-difference): Round rather than ignoring
7654 subseconds components.
7655
3034e9e7
LMI
76562011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7657
7658 * info.el (Info-apropos-matches): Make non-interactive, since it
7659 doesn't seem to do anything useful as a command (bug#8829).
7660
1485f4c0
CY
76612011-07-03 Chong Yidong <cyd@stupidchicken.com>
7662
7663 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 7664 Move from faces.el.
1485f4c0
CY
7665 (frame-default-terminal-background): New function.
7666
7667 * custom.el (custom-push-theme): Don't record faces in `changed'
7668 theme; this doesn't work correctly for per-frame face settings.
7669 (disable-theme): Use face-set-after-frame-default to reset faces.
7670 (custom--frame-color-default): New function.
7671
9fa3dd45
LMI
76722011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7673
c8af70e1 7674 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
7675 (bug#8769).
7676
6cbbc20c
KR
76772011-03-29 Kevin Ryde <user42@zip.com.au>
7678
7679 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7680 `perl-Test2' extend to match possible "fail #N" rep count
7681 (bug#8377).
7682
c7f98048
LMI
76832011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7684
65676592
LMI
7685 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7686 `smtpmail-via-smtp' now returns the error instead of nil.
7687
c7f98048
LMI
7688 * isearch.el (isearch-search-fun-function): Clarify the doc string
7689 (bug#8101).
7690
56e6cc31 76912011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
7692
7693 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7694 unnecessary spaces (bug#8987).
7695
2b216704
LMI
76962011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7697
7698 * net/network-stream.el (open-network-stream): Use the
7699 :end-of-capability command thoughout.
7700
77012011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7702
7703 * net/network-stream.el (open-network-stream): Add the
7704 :end-of-capability command parameter, used by pop3.el.
7705
36adf6ce
LMI
77062011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7707
1ca0da0e
LMI
7708 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7709
fc00f69c
LMI
7710 * fringe.el (fringe-query-style): Remove redundant text " (type ?
7711 for list)" (bug#6475).
7712
28fd8759 7713 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 7714 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
7715 an error (bug#6297).
7716
0dd8b6da
LMI
7717 * man.el (Man-reference-regexp): Allow matching possible
7718 word-wrapped references (bug#6289).
7719
ce1438d6
LMI
7720 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7721 for consistency with the other vc buffers (bug#6197).
7722 (vc-checkin): Ditto.
7723
7724 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7725
36adf6ce
LMI
7726 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7727
e83cc1f7
LMI
77282011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7729
8a20ca4c
LMI
7730 * custom.el (defcustom): Clarify that :set is only used in the
7731 Customize user interface (bug#6089).
7732
83319045
LMI
7733 * progmodes/flymake.el (flymake-mode): If the buffer isn't
7734 associated with a file, refuse to run instead of erroring out
7735 (bug#6084).
7736
a8392169
LMI
7737 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7738 the doc string, since it appears that using `fill-column' always
7739 controls the width (bug#7845).
7740
e83cc1f7
LMI
7741 * simple.el (shell-command-on-region): Say where the error output
7742 went if `shell-command-default-error-buffer' is set (bug#6857).
7743
e47ca23b
KM
77442011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
7745
7746 * allout.el (allout-yank-processing): Adjust cursor position for
7747 backwards-deleted space.
7748
7749 (allout-rebullet-heading): Register changes with
7750 allout-exposure-changed-hook, so the modified topic is properly
7751 decorated.
7752
5cf56143
LMI
77532011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7754
08549772
LMI
7755 * minibuffer.el (completion-in-region): Document PREDICATE
7756 (bug#7136).
7757
48e96771
LMI
7758 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7759 of keyword/argument pairs (bug#6904).
7760
c8af70e1
SM
7761 * replace.el (multi-occur):
7762 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 7763
e17d05e2
LMI
77642011-07-02 Drew Adams <drew.adams@oracle.com>
7765
7766 * dired.el (dired-mark-if): Make the message about whether it's
7767 marking or unmarking clearer (bug#8523).
7768
063b0e45
LMI
77692011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7770
7771 * disp-table.el (display-table-print-array): New function.
7772 (describe-display-table): Use it to print the vectors more pretty
7773 (Bug#8859).
7774
28545e04
MR
77752011-07-02 Martin Rudalics <rudalics@gmx.at>
7776
7777 * window.el (window-state-get-1): Don't assign clone numbers.
7778 Add clone-of item to list of window parameters.
7779 (window-state-put-2): Don't process clone numbers.
7780 (display-buffer-alist): Fix doc-string.
7781
3349e122
SM
77822011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7783
7784 * subr.el (remq): Don't allocate if it's not needed.
7785 (keymap--menu-item-binding, keymap--menu-item-with-binding)
7786 (keymap--merge-bindings): New functions.
7787 (keymap-canonicalize): Use them to refine the canonicalization.
7788 * minibuffer.el (minibuffer-local-completion-map)
7789 (minibuffer-local-must-match-map): Move initialization from C.
7790 (minibuffer-local-filename-completion-map): Move initialization from C;
7791 don't inherit from anything here.
7792 (minibuffer-local-filename-must-match-map): Make obsolete.
7793 (completing-read-default): Use make-composed-keymap to combine
7794 minibuffer-local-filename-completion-map with either
7795 minibuffer-local-must-match-map or
7796 minibuffer-local-filename-completion-map.
7797
d224ac83
GM
77982011-07-01 Glenn Morris <rgm@gnu.org>
7799
3de63bf8
GM
7800 * type-break.el (type-break-time-sum): Use dolist.
7801
d224ac83
GM
7802 * textmodes/flyspell.el (flyspell-word-search-backward):
7803 Replace CL function.
7804
1a1e3f32
SM
78052011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7806
fe3f64d5
SM
7807 * mouse.el (mouse--strip-first-event): New function.
7808 (function-key-map): Use it to map fringe clicks to normal clicks
7809 by default.
7810
eb604e34
SM
7811 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7812 (vc-bzr-revision-completion-table): Add support for annotate and date.
7813
1a1e3f32
SM
7814 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7815 inherit from parent.
7816
5bd35902
LMI
78172011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7818
ace6c69c 7819 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 7820 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 7821
191e2bed
LMI
7822 * dired.el (dired-mode): Fix up the doc string as suggested by
7823 Drew Adams (bug#8817).
7824
5bd35902
LMI
7825 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7826 cookie, since the manual says that it should be possible to add
7827 this function to `find-file-hook' (bug#8709).
7828
eee8207a
TZ
78292011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7830
7831 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7832 here. Noted Ted Zlatanov as the maintainer.
7833 (cfengine-common-settings, cfengine-common-syntax): New functions
7834 to set up common things between `cfengine-mode' and
7835 `cfengine3-mode'.
7836 (cfengine3-mode): New mode.
7837 (cfengine3-defuns cfengine3-defuns-regex
7838 (cfengine3-class-selector-regex cfengine3-category-regex)
7839 (cfengine3-vartypes cfengine3-font-lock-keywords)
7840 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 7841 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 7842
36b148cf
MA
78432011-07-01 Michael Albinus <michael.albinus@gmx.de>
7844
7845 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7846
7847 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7848
0bf4ba9a
MR
78492011-07-01 Martin Rudalics <rudalics@gmx.at>
7850
7851 * window.el (same-window-buffer-names, same-window-regexps)
7852 (same-window-p, special-display-frame-alist)
7853 (special-display-popup-frame, special-display-function)
7854 (special-display-buffer-names, special-display-regexps)
7855 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7856 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7857 (split-window-preferred-function, split-height-threshold)
7858 (split-width-threshold, even-window-heights)
7859 (display-buffer-mark-dedicated, window-splittable-p)
7860 (split-window-sensibly, window-safely-shrinkable-p):
7861 Un-obsolete.
7862 (display-buffer): Don't spread args with function specifier
7863 because special-display-popup-frame won't like it.
7864
35837f51
PE
78652011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7866
d0672f86
PE
7867 Time-stamp simplifications and fixes.
7868 These improve accuracy slightly, and future-proof the code
7869 against some potential changes to current-time format.
7870
b9444d97
PE
7871 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7872 by using time-since and float-time.
7873
0ef923dc
PE
7874 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7875 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7876 + NNN microseconds".
7877
2f81380d
PE
7878 * type-break.el (type-break-time-sum): Rewrite using time-add.
7879
845b5c3e
PE
7880 * play/hanoi.el (hanoi-current-time-float): Remove.
7881 All uses replaced by float-time.
7882
ee6f1be0
PE
7883 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7884 This yields a more-accurate answer.
7885 (rng-time-to-float): Remove; no longer needed.
7886
fe955043
PE
7887 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7888
5777162a
PE
7889 * calendar/timeclock.el (timeclock-seconds-to-time):
7890 Defalias to seconds-to-time, since they're the same thing.
7891
3103f8b6 7892 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 7893 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
7894 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7895
0e61a35f
SM
78962011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7897
7898 * window.el (bury-buffer): Don't iconify the only frame.
7899 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7900 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7901
ddd63a1e
CY
79022011-07-01 Chong Yidong <cyd@stupidchicken.com>
7903
0e61a35f
SM
7904 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7905 Add mouse-yank-primary.
ddd63a1e 7906
055f4923
TZ
79072011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7908
7909 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7910
6a2fb145
SM
79112011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7912
7913 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7914 (find-library-name): Use it to find relative load names when provided
7915 absolute file name (bug#8803).
7916
fd4983f2
LMI
79172011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7918
887d14ad
LMI
7919 * textmodes/flyspell.el (flyspell-word): Consider words that
7920 differ only in case as potential doublons (bug#5687).
7921
c53dc7fc
LMI
7922 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7923 Remove two rather uninteresting debugging-like messages to make
7924 debbugs.el more silent.
7925
fd4983f2
LMI
7926 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7927 a password-like phrase.
7928
7a71b18d 79292011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
7930
7931 * progmodes/cc-guess.el: New file.
7932
6a2fb145 7933 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
7934
7935 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7936 derived from `c-basic-common-init'.
7937
7938 * progmodes/cc-mode.el (top-level): Require cc-guess.
7939 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7940
1fa280a3
LM
79412011-06-30 Lawrence Mitchell <wence@gmx.li>
7942
7943 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7944
e6597158
AM
79452011-06-30 Alan Mackenzie <acm@muc.de>
7946
1fa280a3
LM
7947 * progmodes/cc-engine.el (c-guess-continued-construct):
7948 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
7949 lock is disabled. Name this case as "CASE G".
7950
68ba37fb
KM
79512011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7952
7953 * allout.el (allout-yank-processing): Fix injection of extra space
7954 between bullet and non-whitespace character in first topic when
7955 pasting, ensuring that the actual spacing in the pasted topic
7956 following the bullet char is preserved. This extra space was
7957 causing pasted encrypted topics to get a decrypted status even
7958 when the content was actually still encrypted. Now the decryption
7959 status from before the paste is preserved.
7960
7961 (allout-flag-region): Set all allout overlays so they evaporate
7962 when reduced to zero length (evanescent), to prevent overlay
7963 leakage.
7964
887a0b34
GM
79652011-06-30 Glenn Morris <rgm@gnu.org>
7966
94b9acce
GM
7967 * w32-fns.el (w32-charset-info-alist): Declare.
7968
1d9b46d4
GM
7969 * find-dired.el (find-grep-options): Simplify.
7970
cc232200
GM
7971 * term/ns-win.el (ns-set-resource): Declare.
7972
28e77c46
GM
7973 * ses.el (row, col): Declare dynamic variables honestly.
7974
887a0b34
GM
7975 * textmodes/reftex-parse.el (index-tags): Declare.
7976
658d8eb8
CY
79772011-06-30 Chong Yidong <cyd@stupidchicken.com>
7978
7979 * cus-edit.el (customize-push-and-save): New function.
7980
7981 * files.el (hack-local-variables-confirm): Use it.
7982
1fa280a3
LM
7983 * custom.el (load-theme): New arg NO-CONFIRM.
7984 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
7985 (custom-enabled-themes): Doc fix.
7986
7987 * cus-theme.el (customize-create-theme)
7988 (custom-theme-merge-theme): Callers to load-theme changed.
7989
bb617717
LMI
79902011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7991
d61bdd5d
LMI
7992 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7993 short URLs have at least one dot in them (bug #7614).
7994
bb617717
LMI
7995 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7996 nil, because using a pty is apparently too slow (bug #895).
7997
2f31f37a
LMI
79982011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7999
8000 * mail/sendmail.el (sendmail-query-once): New function.
8001 (sendmail-query-once-function): New variable.
8002
3076b24e
GM
80032011-06-29 Glenn Morris <rgm@gnu.org>
8004
faf2a174
GM
8005 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8006
3076b24e
GM
8007 * ses.el (top-level): Require cl when compiling.
8008 (ses-set-localvars): Fix error statement.
8009 Call it at compile time to silence a storm of warnings.
8010
5386012d
MR
80112011-06-29 Martin Rudalics <rudalics@gmx.at>
8012
8013 * window.el (normalize-live-buffer): Rename to
8014 window-normalize-buffer.
8015 (normalize-live-frame): Rename to window-normalize-frame.
8016 (normalize-any-window): Rename to window-normalize-any-window.
8017 (normalize-live-window): Rename to window-normalize-live-window.
8018 (make-window-atom): Rename to window-make-atom.
8019 (window-resize-reset): Rename to window--resize-reset.
8020 (window-resize-reset-1): Rename to window--resize-reset-1.
8021 (resize-mini-window): Rename to window--resize-mini-window.
8022 (resize-subwindows-skip-p): Rename to
8023 window--resize-subwindows-skip-p.
8024 (resize-subwindows-normal): Rename to
8025 window--resize-subwindows-normal.
8026 (resize-subwindows): Rename to window--resize-subwindows.
8027 (resize-other-windows): Rename to window--resize-siblings.
8028 (resize-this-window): Rename to window--resize-this-window.
8029 (resize-root-window): Rename to window--resize-root-window.
8030 (resize-root-window-vertically): Rename to
8031 window--resize-root-window-vertically.
8032 (normalize-buffer-to-display): Rename to
8033 window-normalize-buffer-to-display.
8034 (normalize-buffer-to-switch-to): Rename to
8035 window-normalize-buffer-to-switch-to.
8036 Correspondingly update all callers of the functions listed
8037 above.
8038 (display-buffer-alist, display-buffer-normalize-arguments)
8039 (display-buffer-normalize-options, display-buffer)
8040 (display-buffer-alist-set): Use "function" instead of
8041 "fun-with-args".
8042
1176868d
CY
80432011-06-28 Chong Yidong <cyd@stupidchicken.com>
8044
8045 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8046 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8047 debbugs.gnu.org. Mention acknowledgment email.
8048
20a7a65f
LMI
80492011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8050
8051 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8052 buffer multibyteness, since it shouldn't matter.
8053
5f45cca5
MR
80542011-06-28 Martin Rudalics <rudalics@gmx.at>
8055
8056 * window.el (display-buffer-in-side-window): Handle dedicated
8057 windows as in display-buffer-reuse-window.
8058 (display-buffer-normalize-alist): Use value of override
8059 specifier.
8060 (display-buffer-normalize-specifiers): Use value of
8061 other-window-means-other-frame specifier.
8062 (display-buffer-alist): Rewrite some texts in widgets.
8063 (display-buffer): Spread arguments when calling function
8064 specified by fun-with-args.
8065
ad85fe1f
DD
80662011-06-28 Deniz Dogan <deniz@dogan.se>
8067
1fa280a3
LM
8068 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8069 Unnest `let'.
da68c4c8 8070
ad85fe1f
DD
8071 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8072 selectors (Bug#5732).
ec49bd31 8073 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 8074
a08cc025
JA
80752011-06-27 Jari Aalto <jari.aalto@cante.net>
8076
8077 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8078 (eshell-ls-date-format): New defcustom.
8079 (eshell-ls-file): Use it.
8080
e2b551c5
SM
80812011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8082
8083 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8084
8982b231
KY
80852011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
8086
8087 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8088 (ange-ftp-make-tmp-name): New arg.
8089 (ange-ftp-file-local-copy): Use it.
8090
36c9fa27
J
80912011-06-27 Jambunathan K <kjambunathan@gmail.com>
8092
8093 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8094 no-conversion (Bug#8870).
8095
d68443dc
MR
80962011-06-27 Martin Rudalics <rudalics@gmx.at>
8097
8098 * window.el (window-right, window-left, window-child)
8099 (window-child-count, window-last-child)
8100 (window-iso-combination-p, walk-window-tree-1)
8101 (window-atom-check-1, window-tree-1, delete-window)
8102 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8103 new naming conventions - window-vchild, window-hchild,
8104 window-next and window-prev are now called window-top-child,
8105 window-left-child, window-next-sibling and window-prev-sibling
8106 respectively.
d615d6d2
MR
8107 (resize-window-reset): Rename to window-resize-reset.
8108 (resize-window-reset-1): Rename to window-resize-reset-1.
8109 (resize-window): Rename to window-resize.
8110 (window-min-height, window-min-width)
8111 (resize-mini-window, resize-this-window, resize-root-window)
8112 (resize-root-window-vertically, adjust-window-trailing-edge)
8113 (enlarge-window, shrink-window, maximize-window)
8114 (minimize-window, delete-window, quit-restore-window)
8115 (split-window, balance-windows, balance-windows-area-adjust)
8116 (balance-windows-area, window-state-put-2)
8117 (display-buffer-even-window-sizes, display-buffer-set-height)
8118 (display-buffer-set-width, set-window-text-height)
8119 (fit-window-to-buffer): Rename all "resize-window" prefixed
8120 calls to use the "window-resize" prefix convention.
8121 (display-buffer-alist): Fix symbol for label specifier.
8122 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8123 corresponding specifier.
8124 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 8125
b6458526
VB
81262011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8127
8128 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8129 convention.
8130 (ses-call-printer): Does not pass an empty string to formatter when the
8131 cell is empty to keep from barking printer Calc math-format-value.
8132
d31fd9ac
RS
81332011-06-27 Richard Stallman <rms@gnu.org>
8134
43d5bf84
RS
8135 * battery.el (battery-mode-line-limit): New variable.
8136 (battery-update): Handle it.
8137
d31fd9ac
RS
8138 * mail/rmailmm.el (rmail-mime-process-multipart):
8139 Handle truncated messages.
8140
819a6054
GM
81412011-06-27 Glenn Morris <rgm@gnu.org>
8142
8143 * progmodes/flymake.el (flymake-err-line-patterns):
8144 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8145
cedc73f2
VB
81462011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8147
819a6054 8148 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
8149 (ses--clean-!, ses--clean-_): New functions.
8150 (ses-range): Add configurability of readout order, and conversion
8151 to Calc vector.
8152
5e5d49b6
VB
8153 * ses.el (ses-repair-cell-reference-all): New function.
8154 (ses-cell-symbol): Set macro as safe, so that it can be used in
8155 formulas.
8156
56e6cc31 8157 * ses.el: Update cycle detection algorithm.
90ca8b49 8158 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 8159 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
8160 (ses-set-localvars): New function.
8161 (ses-make-cell): Add property-list as a cell element.
8162 (ses-cell-property-get-fun, ses-cell-property-get)
8163 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
8164 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8165 New functions.
90ca8b49
VB
8166 (ses-cell-property-set, ses-cell-property-pop)
8167 (ses-cell-property-get-handle): New macro.
8168 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8169 New aliases, used for code readability.
8170 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8171 cycle detection.
8172 (ses-self-reference-early-detection): New defcustom.
fac916bf 8173 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
8174 (ses-mode): Use ses-set-localvars.
8175 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8176 before lauching the update processing.
8177 (ses-initialize-Dijkstra-attempt): New function.
8178 (ses-recalculate-cell): Update for cycle detection based on
8179 Dijkstra algorithm.
8180
2bb63e81
VB
8181 * ses.el: Fix commenting and indenting convention.
8182
c9d29fb8
SM
81832011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8184
8185 * bs.el (bs-cycle-next): Complete last change.
8186
d8e4b68b
JB
81872011-06-27 Drew Adams <drew.adams@oracle.com>
8188
8189 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8190
40098786
LMI
81912011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8192
c9d29fb8
SM
8193 * net/network-stream.el (network-stream-open-starttls):
8194 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
8195 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8196
40098786
LMI
8197 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8198 to binary to possibly avoid line encoding issues on Windows (among
8199 other things).
8200
468d09d4
LMI
82012011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8202
8203 * net/network-stream.el (open-network-stream): Return an :error
8204 saying what the problem was, if possible.
8205
8206 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8207 server.
8208
8209 * net/network-stream.el (network-stream-open-starttls): If we
8210 wanted to use STARTTLS, and the server offered it, but we weren't
8211 able to because we had no STARTTLS support, then close the connection.
8212 (open-network-stream): Return an :error element, if present.
8213
16f07dd7
CY
82142011-06-26 Chong Yidong <cyd@stupidchicken.com>
8215
88821ca0
CY
8216 * hl-line.el (hl-line-sticky-flag): Doc fix.
8217 (global-hl-line-sticky-flag): New option (Bug#8323).
8218 (global-hl-line-highlight): Obey it.
8219
16f07dd7
CY
8220 * vc/vc.el (vc-revert-show-diff): Default to t.
8221
6b5ccddf
KM
82222011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8223
c9d29fb8
SM
8224 * allout-widgets.el (allout-widgets-post-command-business):
8225 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
8226 undecorated when an isearch is continued past, and isearch
8227 automatically collapses them. This leads to "widget leaks", where
8228 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
8229 hidden widgets can slow down cursor travel, substantially.
8230 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
8231 so we're doing without this nicety.
8232
8233 (allout-widgets-tally-string): Don't try to do a hash-table-count
8234 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8235 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8236 *Messages* when allout-widgets-maintain-tally is t.
8237
355f2e07
MR
82382011-06-26 Martin Rudalics <rudalics@gmx.at>
8239
8240 * window.el (display-buffer-normalize-argument): Rename to
8241 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
8242 LABEL argument. Respect special-display-function when popping up
8243 a new frame. Fix code searching for a window showing the buffer
8244 on another frame.
c9d29fb8
SM
8245 (display-buffer-normalize-specifiers):
8246 Call display-buffer-normalize-arguments.
355f2e07
MR
8247 (display-buffer-in-window): Don't undedicate the window if its
8248 buffer remains the same.
8249 Reported by Drew Adams <drew.adams@oracle.com>.
8250 (display-buffer-alist): Add choice for same-window macro
8251 specfier.
8252 (display-buffer): Mention special meaning of LABEL argument in
8253 doc-string. Fix quoting. Don't pop up a new frame even as
8254 fallback.
8255
7ca8fc42
JB
82562011-06-26 Juanma Barranquero <lekktu@gmail.com>
8257
8258 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8259 avoid deleting the current window in some cases (bug#8911).
8260
bc312254
AS
82612011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8262
8263 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8264 (Bug#8934)
8265
2db18f3f
LMI
82662011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8267
c9d29fb8
SM
8268 * net/network-stream.el (network-stream-open-starttls):
8269 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
8270 (network-stream-open-tls): Ditto.
8271
6302e0d3
LL
82722011-06-26 Leo Liu <sdl.web@gmail.com>
8273
8274 * register.el (registerv): New struct.
8275 (registerv-make): New function.
c9d29fb8
SM
8276 (jump-to-register, describe-register-1, insert-register):
8277 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
8278 struct. (Bug#8415)
8279
5fdd4046
CY
82802011-06-26 Chong Yidong <cyd@stupidchicken.com>
8281
2afef60a
CY
8282 * vc/vc.el (vc-revert-show-diff): New defcustom.
8283 (vc-diff-internal): New arg specifying diff buffer.
8284 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8285 reuse an existing *vc-diff* buffer (Bug#8927).
8286
5fdd4046
CY
8287 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8288
e93db24a
GM
82892011-06-26 Glenn Morris <rgm@gnu.org>
8290
8291 * progmodes/f90.el (f90-critical-indent): New option.
8292 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8293 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8294 (f90-mode): Doc fix.
8295 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8296 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8297 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8298 (f90-match-end): Handle block, critical.
8299
eefff499
GM
83002011-06-25 Glenn Morris <rgm@gnu.org>
8301
f6ba4cc9
GM
8302 * calendar/diary-lib.el (diary-included-files): Doc fix.
8303 (diary-include-files): New function, extracted from
8304 diary-include-other-diary-files and diary-mark-included-diary-files.
8305 (diary-include-other-diary-files, diary-mark-included-diary-files):
8306 Just call diary-include-files.
8307 (diary-mark-entries): Reset diary-included-files on first call.
8308
16712304
GM
8309 * calendar/diary-lib.el (diary-mark-entries)
8310 (diary-mark-included-diary-files):
8311 Visit included diary-files in temp buffers.
8312
5d8e0d43
GM
8313 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8314 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8315 (f90-start-block-re, f90-imenu-generic-expression)
8316 (f90-looking-at-program-block-start, f90-no-block-limit):
8317 Add support for submodules.
8318
ccf7a5d5
GM
8319 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8320 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 8321
11fdef7d 83222011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
8323
8324 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8325 buffer-file-type before setting its value, to avoid disastrous
eefff499 8326 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 8327
74f53697
JB
83282011-06-25 Juanma Barranquero <lekktu@gmail.com>
8329
8330 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8331
8332 * ses.el (ses-unload-function):
8333 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8334
8335 * proced.el (proced-unload-function):
8336 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8337
18a4ce5e
AR
83382011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8339
8340 * server.el (server-create-window-system-frame): Add parameters arg.
8341 (server-process-filter): Doc fix. Handle frame-parameters.
8342
519d22cc
JB
83432011-06-25 Juanma Barranquero <lekktu@gmail.com>
8344
8345 Fix bug#8730, bug#8781.
8346
8347 * loadhist.el (unload--set-major-mode): New function.
8348 (unload-feature): Use it.
8349
8350 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8351 (python-unload-function): New function.
8352
c206f5b0
SM
83532011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8354
8355 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8356
f9ad64f3
GS
83572011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8358
8359 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8360 the candidates list.
8361
7d0da90e
JB
83622011-06-24 Juanma Barranquero <lekktu@gmail.com>
8363
8364 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8365
14b4e83d
RS
83662011-06-23 Richard Stallman <rms@gnu.org>
8367
8368 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8369 (rmail-variables): Set next-error-move-function.
8370 (rmail-what-message): Take argument POS.
8371 (rmail-next-error-move): New function.
8372
273d2baf
SM
83732011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8374
8375 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8376 messages for adjacent non-terminals.
8377
56c2cc9a
RS
83782011-06-23 Richard Stallman <rms@gnu.org>
8379
8380 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 8381 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
8382 (rmail-start-mail): Don't specify use of rmail-mail-return;
8383 that's done by mail-bury now.
8384 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 8385
d59eb518
MA
83862011-06-23 Michael Albinus <michael.albinus@gmx.de>
8387
8388 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8389 SIZE is a number.
8390
02cfc6d6
MR
83912011-06-23 Martin Rudalics <rudalics@gmx.at>
8392
8393 * window.el (get-lru-window, get-mru-window)
8394 (get-largest-window): Never return a minibuffer window.
8395 (display-buffer-pop-up-window): Fix a bug that could lead to
8396 reusing the minibuffer window.
8397 (display-buffer): Pass original specifier argument to
8398 display-buffer-function instead of the normalized one.
8399 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8400
4e323265
LL
84012011-06-22 Leo Liu <sdl.web@gmail.com>
8402
8403 * minibuffer.el (completing-read-function)
8404 (completing-read-default): Move from minibuf.c
8405
7a70468f
RS
84062011-06-22 Richard Stallman <rms@gnu.org>
8407
50718fc2
RS
8408 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8409 to Rmail even if not started by a special Rmail command.
8410
7a70468f
RS
8411 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8412 Copy the buffer currently showing just one message.
8413
297dde5a
RW
84142011-06-22 Roland Winkler <winkler@gnu.org>
8415
8416 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8417 (bibtex-clean-entry): First delete the old key so that a
8418 customized algorithm for generating the new key does not get
8419 confused by the old key.
8420 (bibtex-url): Obey regexp of first step.
8421 (bibtex-search-entries): Do not use add-to-list with local
8422 list-var.
8423
97bb1093
LMI
84242011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8425
8426 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8427 stored a user name, then query for the password first, instead of
8428 waiting for SMTP to give an error message and the trying again.
8429
1c0f1a19
JD
84302011-06-22 Lawrence Mitchell <wence@gmx.li>
8431
8432 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8433 BUFFER in call-process.
8434
396f7c9d
LMI
84352011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8436
8437 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8438 QUIT twice.
ddb7ffee
LMI
8439 (smtpmail-try-auth-methods): Require user name and password from
8440 auth-source.
396f7c9d 8441
8998d1b3
MR
84422011-06-22 Martin Rudalics <rudalics@gmx.at>
8443
8444 * window.el (display-buffer-default-specifiers)
8445 (display-buffer-alist): Remove entries for pop-up-frame-alist.
8446 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 8447 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
8448
8449 * frame.el (pop-up-frame-alist, pop-up-frame-function)
8450 (special-display-frame-alist, special-display-popup-frame):
8451 Remove duplicate declarations. These are now in window.el.
8452
4ea31e07
LMI
84532011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8454
c9d29fb8
SM
8455 * mail/smtpmail.el (smtpmail-via-smtp):
8456 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
8457 server supports it. SMTP servers that support STARTTLS commonly
8458 require it.
8459
8460 * net/network-stream.el (network-stream-open-starttls): Support
8461 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 8462 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 8463
95f41d9a
LMI
8464 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8465 upgrades with `open-network-stream', and rely solely on
8466 auth-source for all credentials. Big changes throughout the file,
8467 but in particular:
c9d29fb8
SM
8468 (smtpmail-auth-credentials): Remove.
8469 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
8470 (smtpmail-via-smtp): Check for servers saying they want AUTH after
8471 MAIL FROM, too.
95f41d9a 8472
c9d29fb8
SM
8473 * net/network-stream.el (network-stream-open-starttls):
8474 Provide support for client certificates both for external and built-in
4ea31e07
LMI
8475 STARTTLS.
8476 (auth-source): Require.
8477 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
8478 (network-stream-certificate): Change cert-cert to cert and
8479 cert-key to key.
4ea31e07 8480
065ec2c7
MA
84812011-06-21 Michael Albinus <michael.albinus@gmx.de>
8482
8483 * net/tramp-cache.el (top): Don't load the persistency file when
8484 "emacs -Q" has been called.
8485
cd93b359
DR
84862011-06-21 Tim Harper <timcharper@gmail.com>
8487
d8e4b68b
JB
8488 * term/ns-win.el (ns-initialize-window-system):
8489 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
8490 resource to NO as it is not yet supported by the NS port.
8491
ae9c0411
JB
84922011-06-21 Juanma Barranquero <lekktu@gmail.com>
8493
8494 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8495 (list-dynamic-libraries): ...not here.
8496
7f3f739f
LL
84972011-06-21 Leo Liu <sdl.web@gmail.com>
8498
8499 * subr.el (sha1): Implement sha1 using secure-hash.
8500
327c8fb1
MR
85012011-06-21 Martin Rudalics <rudalics@gmx.at>
8502
8503 * window.el (display-buffer-alist): In default value do not
8504 enforce searching a window on any but the selected frame.
8505 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8506 (display-buffer-select-window): Remove function.
8507 (display-buffer-in-window): When a window on another frame gets
8508 reused, do not select it any more but just raise its frame if
8509 necessary (Bug#8851) and (Bug#8856).
8510 (display-buffer-normalize-options): Handle pop-up-frames related
8511 options more faithfully.
8512 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8513 window if it is on another frame.
c9d29fb8
SM
8514 (display-buffer-alist, display-buffer-default-specifiers):
8515 Don't make new frame unsplittable by default.
9e9de014
MR
8516 (display-buffer-normalize-argument): Fix doc-string typo and use
8517 'same-frame-other-window instead of 'other-window when associating
8518 with display-buffer-macro-specifiers.
327c8fb1 8519
7cf3f556
VB
85202011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8521
8522 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8523 New functions.
8524 (5x5-mode-map, 5x5-mode-menu): Bind them.
8525 (5x5-draw-grid): Tweak the solver's rendering.
8526
60a406cf
SM
85272011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8528
8529 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8530 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8531
d8e4b68b 85322011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
8533
8534 * menu-bar.el: Use function variable instead of switch-to-buffer.
8535 (menu-bar-select-buffer-function): New variable.
60a406cf 8536 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 8537
478d6f95
SM
85382011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8539
8540 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8541 variable's status.
8542
ca530739
JD
85432011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8544
8545 * x-dnd.el (x-dnd-version-from-flags)
8546 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8547 and long as number (Bug#8899).
8548 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8549
bcd70d97
SM
85502011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8551
60a406cf 8552 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
8553 (completion-try-completion, completion-all-completions): Compute the
8554 metadata argument if it's missing; make it optional (bug#8795).
8555
60a406cf 8556 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
8557 (widget-complete): Use new :completion-function property.
8558 (widget-completions-at-point): New function.
8559 (default): Use :completion-function instead of :complete.
60a406cf
SM
8560 (widget-default-completions): Rename from widget-default-complete;
8561 Rewrite.
bcd70d97
SM
8562 (widget-string-complete, widget-file-complete, widget-color-complete):
8563 Remove functions.
8564 (file, symbol, function, variable, coding-system, color):
8565 * international/mule-cmds.el (default-input-method, charset)
8566 (language-info-custom-alist):
8567 * cus-edit.el (face): Use new property :completions.
8568
8569 * progmodes/pascal.el (pascal-completions-at-point): New function.
8570 (pascal-mode): Use it.
8571 (pascal-mode-map): Use completion-at-point.
8572 (pascal-toggle-completions): Make obsolete.
8573 (pascal-complete-word, pascal-show-completions):
8574 * progmodes/octave-mod.el (octave-complete-symbol):
8575 Redefine as obsolete alias.
8576 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8577 Signal absence of completion info for old Octave,
8578 (inferior-octave-complete): Redefine as obsolete alias.
8579 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8580 (meta-completions-at-point): Rename from meta-complete-symbol and
8581 adapt it for use on completion-at-point-functions.
8582 (meta-common-mode): Use it.
8583 (meta-looking-at-backward, meta-match-buffer): Remove.
8584 (meta-complete-symbol): Redefine as obsolete alias.
8585 (meta-common-mode-map): Use completion-at-point.
8586 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8587 (makefile-mode-map): Use completion-at-point.
8588 (makefile-completions-at-point): Rename from makefile-complete and
8589 adapt it for use on completion-at-point-functions.
8590 (makefile-mode): Use it.
8591 (makefile-complete): Redefine as obsolete alias.
8592
aebf69c8
DD
85932011-06-20 Deniz Dogan <deniz@dogan.se>
8594
8595 * net/rcirc.el: Delete trailing whitespaces once and for all.
8596
bfbbb27d
DC
85972011-06-20 Daniel Colascione <dan.colascione@gmail.com>
8598
8599 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8600
d264a46b
CY
86012011-06-19 Chong Yidong <cyd@stupidchicken.com>
8602
4ca009e5
CY
8603 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8604
d264a46b
CY
8605 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8606
fbf5b3ce
MR
86072011-06-19 Martin Rudalics <rudalics@gmx.at>
8608
8609 * window.el (display-buffer-other-window-means-other-frame):
8610 Call display-buffer-normalize-alist.
8611 (display-buffer-normalize-specifiers-1): Rename to
8612 display-buffer-normalize-argument. New argument other-frame.
8613 Rewrite.
8614 (display-buffer-normalize-specifiers-2): Rename to
8615 display-buffer-normalize-options.
8616 (display-buffer-normalize-alist-1): New function.
8617 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
8618 display-buffer-normalize-alist.
8619 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
8620 (display-buffer-normalize-options-inhibit): New variable.
8621 (display-buffer-normalize-specifiers): Rewrite calling
8622 display-buffer-normalize-alist,
8623 display-buffer-normalize-argument, and
8624 display-buffer-normalize-options. Don't call the latter if
8625 display-buffer-normalize-options-inhibit is non-nil.
8626 (frame-auto-delete): New option.
8627 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
8628 (window-list-no-nils, window-state-ignored-parameters)
8629 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
8630 (window-state-put-1, window-state-put-2, window-state-put):
8631 New functions.
9a028c23
MR
8632 (display-buffer-normalize-options): Move special-display-p group
8633 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 8634
6d10d800
CY
86352011-06-18 Chong Yidong <cyd@stupidchicken.com>
8636
6420d28b
CY
8637 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8638 groups (Bug#8776).
8639 (rx-submatch-n): New function.
8640 (rx): Document it.
8641
ddb8b596
CY
8642 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8643 (Bug#8768).
8644
8645 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8646
77080289
CY
8647 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8648
61dfb316
CY
8649 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8650 anytime existing face settings are present (Bug#8889).
8651
6d10d800
CY
8652 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8653 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8654 Remove unused argument.
8655
be3fb2b8
MR
86562011-06-18 Martin Rudalics <rudalics@gmx.at>
8657
bcd70d97
SM
8658 * window.el (display-buffer-default-specifiers):
8659 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
8660 pop-up-window-min-width, and another reuse-window specifier
8661 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
8662 (display-buffer-normalize-specifiers-2):
8663 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
8664 pop-up-windows is unset. Add a reuse-window specifier for the
8665 case popping up a new window fails.
8666 (special-display-popup-frame): Remove double quoting.
28dec25a 8667 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 8668
1c6d8c76
SM
86692011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8670
8671 * shell.el (shell-completion-vars): Set pcomplete-termination-string
8672 according to comint-completion-addsuffix.
8673
8674 * pcomplete.el: Convert to lexical binding and fix bug#8819.
8675 (pcomplete-suffix-list): Mark as obsolete.
8676 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8677 pcomplete-seen in the closure.
8678 (pcomplete-comint-setup): Setup completion-at-point as well.
8679 (pcomplete--entries): New function.
8680 (pcomplete--env-regexp): New var.
8681 (pcomplete-entries): Rewrite to work with partial-completion and
8682 without relying on pcomplete-suffix-list.
8683 (pcomplete-pare-list): Remove, unused.
8684
25aef8b8
MR
86852011-06-17 Martin Rudalics <rudalics@gmx.at>
8686
8687 * window.el (display-buffer-alist): Set pop-up-window-min-height
8688 and pop-up-window-min-width in default value. Reported by
8689 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
8690 other-window-means-other-frame.
8691 (display-buffer-macro-specifiers): Comment out entry for
8692 other-window specifier.
8693 (display-buffer-other-window-means-other-frame): New function.
8694 (display-buffer-normalize-specifiers-1): New arguments
8695 buffer-name and label. Treat other-window case specially.
8696 (display-buffer-normalize-specifiers-2): Treat other-window case
8697 specially.
8698 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
8699 (display-buffer-normalize-specifiers):
8700 Call display-buffer-normalize-specifiers-3.
25aef8b8 8701
dbad4f69
MR
87022011-06-17 Martin Rudalics <rudalics@gmx.at>
8703
8704 * window.el (same-window-p): Fix two typos introduced when
8705 adding with-no-warnings.
d1067961
MR
8706 (display-buffer-normalize-specifiers-1): Don't check
8707 pop-up-frames for 'unset initialization.
8708 (display-buffer-normalize-specifiers-2): Major rewrite using
8709 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8710 (pop-up-frames, display-buffer-reuse-frames)
8711 (display-buffer-mark-dedicated): Don't initialize to 'unset.
8712 Suggested by David Engster <deng@randomsample.de>.
8713 (even-window-heights): Initialize to 'unset.
8714 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
8715 (display-buffer-macro-specifiers): Don't pop up a new frame in the
8716 other window case.
dbad4f69 8717
9b9c9e3a
MR
87182011-06-16 Martin Rudalics <rudalics@gmx.at>
8719
bcd70d97
SM
8720 * window.el (display-buffer-normalize-specifiers-1):
8721 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 8722 second argument of display-buffer (Bug#8865).
981d5c09
MR
8723 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8724 (switch-to-buffer-other-window-same-frame)
8725 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
8726 Adams (Bug#8875).
9c2755e9
MR
8727 (display-buffer): Don't check noninteractive when calling
8728 display-buffer-pop-up-frame.
8729 (display-buffer-pop-up-frame): Never pop up a frame in
8730 noninteractive mode (Bug#8857).
67222e1d
MR
8731 (enlarge-window, shrink-window): Don't report an error when the
8732 window can't be resized as requested (Bug#8862).
9b9c9e3a 8733
2b75be67
SM
87342011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8735
9ffdd3ba
SM
8736 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8737
cb581a67
SM
8738 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8739
2b75be67
SM
8740 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8741
8c0e3589
AM
87422011-06-15 Alan Mackenzie <acm@muc.de>
8743
cb581a67
SM
8744 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8745 for declarators, disable knr checking to speed up for normal files.
8746 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 8747
b96e6cde
LMI
87482011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8749
4bba86e6
LMI
8750 * net/network-stream.el (open-network-stream): Add the keyword
8751 :always-query-capabilities for the case where you want to force a
8752 `plain' network connection, but the protocol still requires the
8753 capabilitiy command (i.e., SMTP and EHLO).
8754
2b75be67 8755 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
8756 consistency with other `-live-p' functions.
8757
efdcdbf8
SM
87582011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8759
8760 * window.el (same-window-buffer-names, same-window-regexps)
8761 (special-display-frame-alist, special-display-popup-frame)
8762 (special-display-function, special-display-buffer-names)
8763 (special-display-regexps, pop-up-frame-alist)
8764 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8765 (pop-up-windows, split-window-preferred-function)
8766 (split-height-threshold, split-width-threshold, even-window-heights)
8767 (display-buffer-mark-dedicated): Don't encourage the use of
8768 display-buffer-alist from Elisp code.
8769
c5cde042
DN
87702011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
8771
8772 * progmodes/python.el (python-mode): Derive from prog-mode.
8773 * progmodes/ps-mode.el (ps-mode):
8774 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 8775 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
8776 * progmodes/ld-script.el (ld-script-mode): Likewise.
8777
baa1c9ab
MR
87782011-06-15 Martin Rudalics <rudalics@gmx.at>
8779
8780 * window.el (display-buffer-alist): Trim default value to avoid
8781 popping up a new frame (Bug#8857) or reusing an arbitrary window
8782 on another frame.
8783 (display-buffer): Do not fall back on popping up a new frame in
8784 batch mode (Bug#8857).
8785
c5dd5a51
CY
87862011-06-14 Chong Yidong <cyd@stupidchicken.com>
8787
8788 * cus-theme.el (describe-theme-1): Use custom-theme-p.
8789 (custom-theme-summary): New function.
8790 (customize-themes): Use it.
8791
d647b7c4
GM
87922011-06-13 Glenn Morris <rgm@gnu.org>
8793
8794 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8795
9481c002
MR
87962011-06-13 Martin Rudalics <rudalics@gmx.at>
8797
357f93d2
MR
8798 * help.el (help-window): Remove variable.
8799 (help-window-point-marker, temp-buffer-max-height)
8800 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8801 (help-print-return-message): Don't set help-window.
8802 (resize-temp-buffer-window): Rewrite cod eand doc-string.
8803 (help-window-setup-finish): Remove.
8804 (help-window-display-message, help-window-setup)
8805 (with-help-window): Major rewrite based on new
8806 display-buffer-window variable.
8807
8808 * help-mode.el (help-mode-finish): Remove help-window related
8809 code.
8810
8811 * view.el (view-exits-all-viewing-windows): Remove reference to
8812 view-return-to-alist in doc-string.
8813 (view-return-to-alist): Make obsolete.
8814 (view-buffer): Call pop-to-buffer-same-window and remove
8815 undo-window code.
8816 (view-buffer-other-window): Call pop-to-buffer-other-window and
8817 simplify code. Ignore second argument.
8818 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8819 simplify code. Ignore second argument.
8820 (view-return-to-alist-update): Make obsolete.
8821 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8822 Rewrite using quit-restore window parameters.
2b75be67
SM
8823 (view-mode-exit): Rename second argument to EXIT-ONLY.
8824 Rewrite using quit-restore-window.
357f93d2
MR
8825 (View-exit, View-exit-and-edit, View-leave, View-quit)
8826 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8827 appropriate arguments.
8828 (view-end-message): Use quit-restore window parameter.
8829
9481c002
MR
8830 * window.el (display-buffer-function): Rewrite doc-string.
8831 (display-buffer-window, display-buffer-alist): New variables.
8832 (display-buffer-split-specifiers)
8833 (display-buffer-side-specifiers)
8834 (display-buffer-macro-specifiers): New constants.
8835 (display-buffer-even-window-sizes, display-buffer-set-height)
8836 (display-buffer-set-width, display-buffer-select-window)
8837 (display-buffer-in-window, display-buffer-reuse-window)
8838 (display-buffer-split-window-1, display-buffer-split-window)
8839 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8840 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8841 (display-buffer-in-side-window, normalize-buffer-to-display)
8842 (display-buffer-normalize-specifiers-1)
8843 (display-buffer-normalize-specifiers-2)
2b75be67
SM
8844 (display-buffer-normalize-specifiers, display-buffer-frame):
8845 New functions.
9481c002
MR
8846 (display-buffer): Major rewrite.
8847 (display-buffer-other-window, display-buffer-other-frame)
8848 (pop-to-buffer, switch-to-buffer-other-window)
8849 (switch-to-buffer-other-frame): Rewrite.
8850 (display-buffer-same-window, display-buffer-same-frame)
8851 (display-buffer-same-frame-other-window)
8852 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8853 (pop-to-buffer-other-window)
8854 (pop-to-buffer-same-frame-other-window)
8855 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8856 (switch-to-buffer-other-window-same-frame): New functions.
8857 (same-window-p, special-display-p): Rewrite disabling warnings.
8858 Make obsolete.
8859 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8860 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8861 Make obsolete
8862 (same-window-buffer-names, same-window-regexps)
8863 (special-display-frame-alist, special-display-popup-frame)
8864 (special-display-function, special-display-buffer-names)
8865 (special-display-regexps, pop-up-frame-alist)
8866 (pop-up-frame-function, split-window-preferred-function)
8867 (split-height-threshold, split-width-threshold)
8868 (even-window-heights): Make obsolete.
8869
9db51aca
GM
88702011-06-12 Glenn Morris <rgm@gnu.org>
8871
8872 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 8873 Misc simplifications.
9db51aca 8874
39cffb44
MR
88752011-06-12 Martin Rudalics <rudalics@gmx.at>
8876
8877 * window.el (window-safely-shrinkable-p): Restore function which
8878 was inadvertently removed in change from 2011-06-11. Declare as
8879 obsolete.
8880
2b75be67
SM
8881 * calendar/calendar.el (calendar-generate-window):
8882 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
8883 window-safely-shrinkable-p.
8884
a8955be7
GM
88852011-06-12 Glenn Morris <rgm@gnu.org>
8886
8887 * progmodes/fortran.el (fortran-mode-syntax-table):
8888 * progmodes/f90.el (f90-mode-syntax-table):
8889 Set % to punctuation. (Bug#8820)
8890 (f90-find-tag-default): Remove, no longer needed.
8891
f0d4059d
DC
88922011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8893
8894 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8895
1100a63c
CY
88962011-06-11 Chong Yidong <cyd@stupidchicken.com>
8897
8898 * image.el (image-animated-p): Return animation delay in seconds.
8899 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8900 (image-animate-timeout): Remove DELAY argument. Don't assume
8901 every subimage has the same delay; get it from image-animated-p.
8902 (image-animate): Caller changed.
8903
def722bf
MA
89042011-06-11 Michael Albinus <michael.albinus@gmx.de>
8905
8906 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8907 to ignored backtrace functions.
8908
0a2bb1a9
GM
89092011-06-11 Glenn Morris <rgm@gnu.org>
8910
8911 * calendar/appt.el (appt-disp-window-function): Doc fix.
8912 (appt-check): Handle overlapping appointments. (Bug#8337)
8913
6198ccd0
MR
89142011-06-11 Martin Rudalics <rudalics@gmx.at>
8915
8916 * window.el (window-tree-1, window-tree): New functions, moving
8917 the latter to window.el.
8918 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8919 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8920 (bw-refresh-edges): Remove.
8921 (balance-windows-1, balance-windows-2): New functions.
8922 (balance-windows): Rewrite in terms of window tree functions,
8923 balance-windows-1 and balance-windows-2.
8924 (bw-adjust-window): Remove.
8925 (balance-windows-area-adjust): New function with functionality of
8926 bw-adjust-window but using resize-window.
2b75be67
SM
8927 (set-window-text-height): Rewrite doc-string.
8928 Use normalize-live-window and resize-window.
8929 (enlarge-window-horizontally, shrink-window-horizontally):
8930 Rename argument to DELTA.
6198ccd0
MR
8931 (window-buffer-height): New function.
8932 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8933 Rewrite using new window resize routines.
2b75be67
SM
8934 (kill-buffer-and-window, mouse-autoselect-window-select):
8935 Use ignore-errors instead of condition-case.
6198ccd0
MR
8936 (quit-window): Call delete-frame instead of delete-windows-on
8937 for the only buffer on frame.
8938
9397e56f
MR
89392011-06-10 Martin Rudalics <rudalics@gmx.at>
8940
8941 * loadup.el (top-level): Load window before files for the sake
8942 of replace-buffer-in-windows.
8943
8944 * files.el (read-buffer-to-switch)
8945 (switch-to-buffer-other-window)
2b75be67
SM
8946 (switch-to-buffer-other-frame, display-buffer-other-frame):
8947 Move to window.el.
9397e56f
MR
8948
8949 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8950 (previous-buffer): Move to window.el.
8951
8952 * bindings.el (unbury-buffer): Move to window.el.
8953
8954 * window.el (delete-other-windows-vertically): Move after
8955 definition of delete-other-windows.
8956 (other-window, delete-windows-on, replace-buffer-in-windows):
8957 Move here from window.c.
8958 (record-window-buffer, unrecord-window-buffer)
8959 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8960 (switch-to-next-buffer): New functions.
8961 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8962 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
8963 (previous-buffer): Move here from simple.el.
8964 Call switch-to-prev-buffer.
9397e56f
MR
8965 (bury-buffer): Move here from buffer.c. Switch to previous
8966 buffer when window cannot be deleted.
8967 (unbury-buffer): Move here from bindings.el.
8968 (ctl-x-map): Move binding for other-window from window.c to
8969 here.
8970 (read-buffer-to-switch, switch-to-buffer-other-window)
8971 (switch-to-buffer-other-frame): Move here from files.el.
8972 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
8973 (switch-to-buffer): Move here from buffer.c.
8974 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 8975
562dd5e9
MR
89762011-06-10 Martin Rudalics <rudalics@gmx.at>
8977
8978 * window.el (window-min-height, window-min-width): Move here
8979 from window.c. Add defcustoms and rewrite doc-strings.
8980 (resize-mini-window, resize-window): New functions.
8981 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8982 Move here from window.c.
8983 (maximize-window, minimize-window): New functions.
8984 (delete-window, delete-other-windows, split-window): Move here
8985 from window.c.
8986 (window-split-min-size): New function.
8987 (split-window-keep-point): Mention split-window-above-each-other
8988 instead of split-window-vertically.
2b75be67 8989 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
8990 Rename split-window-vertically to split-window-above-each-other
8991 and provide defalias for old definition.
8992 (split-window-side-by-side, split-window-horizontally):
8993 Rename split-window-horizontally to split-window-side-by-side
8994 and provide defalias for the old definition.
562dd5e9
MR
8995 (ctl-x-map): Move bindings for delete-window,
8996 delete-other-windows and enlarge-window here from window.c.
8997 Replace bindings for split-window-vertically and
8998 split-window-horizontally by bindings for
8999 split-window-above-each-other and split-window-side-by-side.
9000
9001 * cus-start.el (all): Remove entries for window-min-height and
9002 window-min-width. Add entries for window-splits and
9003 window-nest.
9004
f0da764a
GM
90052011-06-09 Glenn Morris <rgm@gnu.org>
9006
80675c21
GM
9007 * calendar/appt.el (appt-mode-line): New function.
9008 (appt-check, appt-disp-window): Use it.
9009
f0da764a
GM
9010 * files.el (hack-one-local-variable-eval-safep):
9011 Allow minor-modes with explicit +/-1 arguments.
9012
59f623b7
TZ
90132011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9014
9015 * term/xterm.el (xterm): Add defgroup.
9016 (xterm-extra-capabilities): Add defcustom to supply known xterm
9017 capabilities, skip querying them, or query them (default).
9018 (terminal-init-xterm): Use it.
9019 (terminal-init-xterm-modify-other-keys): New function to set up
9020 modifyOtherKeys support to simplify `terminal-init-xterm'.
9021
9aab8e0d
MR
90222011-06-09 Martin Rudalics <rudalics@gmx.at>
9023
9024 * window.el (resize-window-reset, resize-window-reset-1)
9025 (resize-subwindows-skip-p, resize-subwindows-normal)
9026 (resize-subwindows, resize-other-windows, resize-this-window)
9027 (resize-root-window, resize-root-window-vertically)
9028 (window-deletable-p, window-or-subwindow-p)
9029 (frame-root-window-p): New functions.
9030
e8b08aee
GM
90312011-06-09 Glenn Morris <rgm@gnu.org>
9032
9033 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9034 (ange-ftp-get-files): Use it.
9035
254c37a5
AK
90362011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9037
9038 * mail/sendmail.el (mail-recover-1, mail-recover):
9039 * files.el (recover-file, recover-session):
9040 Handle dired-listing-switches not being just a single short option.
9041
35d7dbd3
GM
90422011-06-09 Glenn Morris <rgm@gnu.org>
9043
9044 * calendar/appt.el (appt-display-message, appt-disp-window):
9045 Handle lists of appointments.
9046
387522b2
MR
90472011-06-08 Martin Rudalics <rudalics@gmx.at>
9048
2b75be67
SM
9049 * window.el (one-window-p): Move down in code.
9050 Rewrite doc-string.
9051 (window-current-scroll-bars): Rewrite doc-string.
9052 Normalize live window argument.
387522b2
MR
9053 (walk-windows, get-window-with-predicate, count-windows):
9054 Rewrite doc-string. Use window-list-1.
9055 (window-in-direction-2, window-in-direction, get-mru-window):
9056 New functions.
9057
d8e4b68b 90582011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
9059
9060 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9061 Doc fix (Bug#8713).
9062
90632011-06-08 Chong Yidong <cyd@stupidchicken.com>
9064
9065 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9066
90672011-06-08 Juanma Barranquero <lekktu@gmail.com>
9068
9069 * loadhist.el (unload-feature-special-hooks):
9070 Add `comint-output-filter-functions'.
9071
0de12c52
IK
90722011-06-08 Ivan Kanis <gnu@kanis.fr>
9073
9074 * calendar/appt.el (appt-check): Move some initializations into the let.
9075
f3d1777e
MR
90762011-06-08 Martin Rudalics <rudalics@gmx.at>
9077
9078 * window.el (window-height): Defalias to window-total-height.
9079 (window-width): Defalias to window-body-width.
9080
18af70d0
CY
90812011-06-07 Chong Yidong <cyd@stupidchicken.com>
9082
9083 * image-mode.el (image-toggle-animation): New command.
9084 (image-mode-map): Bind it to RET.
9085 (image-mode): Update message.
9086 (image-toggle-display-image): Avoid a spurious cache flush.
9087 (image-transform-rotation): Doc fix.
9088 (image-transform-properties): Return quickly in the normal case.
9089 (image-animate-loop): Rename from image-animate-max-time.
9090
2b75be67 9091 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
9092 (create-animated-image): Remove unnecessary function.
9093 (image-animate): Rename from image-animate-start. New arg.
2b75be67 9094 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
9095 (image-animate-timer): Use car-safe.
9096 (image-animate-timeout): Rename argument.
9097
190b47e6
MR
90982011-06-07 Martin Rudalics <rudalics@gmx.at>
9099
9100 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
9101 window.c. Rename first argument to ALL-FRAMES.
9102 Rephrase doc-strings.
9103 (get-buffer-window-list): Rewrite using window-list-1.
9104 Rephrase doc-string.
a1511caf
MR
9105 (window-safe-min-height, window-safe-min-width): New constants.
9106 (window-size-ignore, window-min-size, window-min-size-1)
9107 (window-sizable, window-sizable-p, window-size-fixed-1)
9108 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9109 (window-max-delta-1, window-max-delta, window-resizable)
9110 (window-resizable-p, window-total-height, window-total-width)
9111 (window-body-width): New functions.
9112 (window-full-height-p, window-full-width-p): Rewrite using
9113 window-total-size.
9114 (window-body-height): Rewrite using window-body-size.
190b47e6 9115
85cc1f11
MR
91162011-06-06 Martin Rudalics <rudalics@gmx.at>
9117
9118 * window.el (window-right, window-left, window-child)
9119 (window-child-count, window-last-child, window-any-p)
9120 (normalize-live-buffer, normalize-live-frame)
9121 (normalize-any-window, normalize-live-window)
9122 (window-iso-combination-p, window-iso-combined-p)
9123 (window-iso-combinations)
9124 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9125 (windows-with-parameter, window-with-parameter)
9126 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
9127 (window-atom-check, window-side-check, window-check):
9128 New functions.
85cc1f11
MR
9129 (ignore-window-parameters, window-sides, window-sides-vertical)
9130 (window-sides-slots): New variables.
9131 (window-size-fixed): Move down in code. Minor doc-string fix.
9132
e7156492
AS
91332011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9134
9135 * comint.el (comint-dynamic-complete-as-filename)
9136 (comint-dynamic-complete-filename): Correctly call
9137 completion-in-region.
9138
7e821d0d
DD
91392011-06-05 Deniz Dogan <deniz@dogan.se>
9140
9141 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9142 in last change.
9143
ac09b8a1
DD
91442011-06-05 Deniz Dogan <deniz@dogan.se>
9145
9146 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9147 (rcirc): Use it to prompt for encryption.
9148
34699b85
RW
91492011-06-05 Roland Winkler <winkler@gnu.org>
9150
9151 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9152 (bibtex-search-entries): New command bound to C-c C-a.
9153 (bibtex-display-entries): New function.
9154
004dedd3
RW
91552011-06-05 Roland Winkler <winkler@gnu.org>
9156
9157 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9158 (bibtex-insert-kill): After yanking insert newline if necessary.
9159 (bibtex-initialize): Call bibtex-string-files-init only once.
9160 (bibtex-mode): Do not call easy-menu-add.
9161 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9162 (bibtex-yank): Set arg properly if nil.
9163
022fe7ce
RW
91642011-06-05 Roland Winkler <winkler@gnu.org>
9165
2b75be67
SM
9166 * textmodes/bibtex.el (bibtex-search-entry-globally):
9167 New variable.
022fe7ce
RW
9168 (bibtex-search-entry): Use it.
9169
b7c3692a
RW
91702011-06-05 Roland Winkler <winkler@gnu.org>
9171
9172 * textmodes/bibtex.el (bibtex-entry-format): New option
9173 sort-fields.
9174 (bibtex-format-entry, bibtex-reformat): Honor this option.
9175 (bibtex-parse-entry): Return fields in proper order.
9176
8eda563d
JB
91772011-06-05 Juanma Barranquero <lekktu@gmail.com>
9178
9179 * doc-view.el (doc-view-remove-if): Move computation of result out
9180 of `dolist' to silence misleading lexical-binding warning.
9181
7dbe3dbc
CY
91822011-06-04 Chong Yidong <cyd@stupidchicken.com>
9183
9184 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9185 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9186
0c33dd17
MA
91872011-06-04 Michael Albinus <michael.albinus@gmx.de>
9188
9189 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9190 "SunOS 5.10".
9191
f8f91c2b
MA
91922011-06-04 Michael Albinus <michael.albinus@gmx.de>
9193
9194 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9195 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9196 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9197 (tramp-parse-putty):
9198 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9199 (tramp-completion-function-alist-ssh)
9200 (tramp-completion-function-alist-telnet)
9201 (tramp-completion-function-alist-su)
9202 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9203 cookie.
9204
9205 * net/tramp-ftp.el:
9206 * net/tramp-sh.el:
9207 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9208 load "tramp.el" `tramp-set-completion-function'.
9209
e17d9003
SM
92102011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9211
9212 * shell.el: Require and use pcomplete.
9213 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9214 (shell-completion-vars): Set pcomplete-default-completion-function.
9215
6c4cab03
DD
92162011-06-04 Deniz Dogan <deniz@dogan.se>
9217
9218 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9219 `memq' (Bug#8799).
9220
ea9fafe0
SM
92212011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9222
9223 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9224
b3e945d3
JB
92252011-06-02 Juanma Barranquero <lekktu@gmail.com>
9226
9227 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9228 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9229 * vc/log-view.el (log-view-beginning-of-defun):
9230 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9231 (smerge-refine-forward, smerge-refine-chopup-region):
9232 Silence warning for unused `dotimes' counter variables.
9233
7d520089
SM
92342011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9235
9236 * net/tramp.el (tramp-with-progress-reporter): Rename from
9237 with-progress-reporter. Use `declare'.
9238 * net/tramp-smb.el:
9239 * net/tramp-sh.el:
9240 * net/tramp-gvfs.el: Update all uses.
9241
a1c2400f
JB
92422011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9243
9244 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9245 buffer isn't killed before making it current.
9246
2403c841
SM
92472011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9248
9249 Silence various byte-compiler warnings.
9250 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9251 `access-type' and new obsolescence format.
9252 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9253 new format.
9254 (byte-compile-check-variable): New `access-type' argument.
9255 Only warn if the access-type is obsolete.
9256 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9257 (byte-compile-variable-set): Adjust callers.
9258 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9259 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9260 setting it as obsolete.
9261 * simple.el (minibuffer-completing-symbol):
9262 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9263 access as obsolete.
9264 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9265 obsolete yet.
9266 * international/quail.el (quail-mouse-choose-completion): Remove unused
9267 code referring to obsolete var.
9268 (quail-choose-completion-string): Remove.
9269 * server.el (server-clients-with, server-kill-buffer-query-function)
9270 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9271 * proced.el (proced-send-signal):
9272 * emacs-lisp/lisp.el (lisp-complete-symbol):
9273 Replace completion-annotate-function with completion-extra-properties.
9274
2462470b
SM
92752011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9276
fb5b2591
SM
9277 * simple.el (goto-line): Use read-number.
9278 (overriding-map-is-bound): Remove.
9279 (saved-overriding-map): Change default.
9280 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9281 Take the map as argument.
9282 (universal-argument, negative-argument, digit-argument): Use it.
9283 (restore-overriding-map): Adjust.
9284 (do-auto-fill): Use fill-forward-paragraph.
9285 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9286
fd6fa53f
SM
9287 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9288 (minibuffer-inactive-mode): New major mode.
9289 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9290 the *Messages* buffer" hack.
9291 (mouse-popup-menubar): Don't burp if the event is a normal key.
9292
2462470b
SM
9293 Miscellaneous tweaks.
9294 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9295 lexical scoping as in subr.el's dolist and dotimes.
9296 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9297 Silence compiler warning.
9298 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9299 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9300 * international/ccl.el (ccl-compile): Trivial simplification.
9301 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9302 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9303 `printflag' argument.
9304 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9305 Purecopy the whole obsolescence data.
9306
108bf785
LL
93072011-06-01 Leo Liu <sdl.web@gmail.com>
9308
9309 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9310 improve doc-string as suggested by Marco Pessotto
9311 <melmothx@gmail.com>.
9312 (rcirc-print): Fix last change.
9313
30a23501
SM
93142011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9315
9316 * minibuffer.el (complete-with-action): Return nil for the metadata and
9317 boundaries of non-functional tables.
9318 (completion-table-dynamic): Return nil for the metadata.
9319 (completion-table-with-terminator): Add default case, using
9320 complete-with-action.
9321 (completion--metadata): New function.
9322 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9323 to try and avoid pathological performance problems.
9324 (completion--embedded-envvar-table): Return `category' metadata.
9325
bcd54f83
LMI
93262011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9327
9328 * subr.el (process-alive-p): New tiny convenience function.
9329
e227544d
SM
93302011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9331
9332 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9333 content but also its previous major mode.
9334
e8296fdc
HE
93352011-05-31 Helmut Eller <eller.helmut@gmail.com>
9336
4d61f28d 9337 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
9338 *Backtrace* buffer when we exit with C-M-c.
9339
620c53a6
SM
93402011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9341
9342 * minibuffer.el: Add metadata method to completion tables.
9343 (completion-category-overrides): New defcustom.
9344 (completion-metadata, completion--field-metadata)
9345 (completion-metadata-get, completion--styles)
9346 (completion--cycle-threshold): New functions.
9347 (completion-try-completion, completion-all-completions):
9348 Add `metadata' argument to choose completion-styles.
9349 (completion--do-completion): Use metadata to choose cycling.
9350 (completion-all-sorted-completions): Use metadata for sorting.
9351 Remove :completion-cycle-penalty which is not needed any more.
9352 (completion--try-word-completion): Add `metadata' argument.
9353 (minibuffer-completion-help): Check metadata for annotation function
9354 and sorting.
9355 (completion-file-name-table): Return `category' metadata.
9356 (minibuffer-completing-file-name): Make obsolete.
9357 * simple.el (minibuffer-completing-symbol): Make obsolete.
9358 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9359 completion-try-completion.
9360
1257e755
SM
93612011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9362
9363 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9364
3767e706
LL
93652011-05-30 Leo Liu <sdl.web@gmail.com>
9366
9367 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
9368 (rcirc-print): Decode all incoming messages (bug#8744).
9369 (rcirc-decode-coding-system): Allow value nil for automatic coding
9370 system detection.
3767e706 9371
d1a5d56a
GM
93722011-06-01 Glenn Morris <rgm@gnu.org>
9373
9374 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9375
e8cbec34
CY
93762011-05-29 Chong Yidong <cyd@stupidchicken.com>
9377
9378 * image.el (image-animate-max-time): Allow nil and t values.
9379 Default to nil.
9380 (create-animated-image): Doc fix.
9381 (image-animate-start): Remove second arg; just use
9382 image-animate-max-time.
9383 (image-animate-timeout): Doc fix. Args changed.
9384
9385 * image-mode.el (image-toggle-display-image): Ensure that the
9386 image spec passed to the animate timer is the same object as in
58179cce 9387 the buffer's display property (Bug#6981).
e8cbec34
CY
9388 (image-transform-properties): Doc fix.
9389
9390 * image.el (image-animate-max-time): Default to nil.
9391
159daf87
MR
93922011-05-29 Martin Rudalics <rudalics@gmx.at>
9393
9394 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9395 entire buffer list (Bug#8184).
9396
d66c4c7c
CY
93972011-05-29 Chong Yidong <cyd@stupidchicken.com>
9398
9399 * image.el (imagemagick-types-inhibit)
9400 (imagemagick-register-types): Doc fix.
9401
80aec780
DD
94022011-05-29 Deniz Dogan <deniz@dogan.se>
9403
9404 * net/rcirc.el (rcirc): Use the user's stored encryption method by
9405 default.
9406
1dd3c2d9
CY
94072011-05-29 Chong Yidong <cyd@stupidchicken.com>
9408
9409 * select.el: Don't perform clipboard-manager saving in hooks;
9410 leave the hooks empty.
9411
60e56523
LL
94122011-05-28 Leo Liu <sdl.web@gmail.com>
9413
9414 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9415 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
9416 (occur-edit-mode): New major mode (Bug#8463).
9417 (occur-after-change-function): New function.
9418 (occur-engine): Give Occur tags a read-only property.
9419
2b1e1a22
KR
94202011-05-28 Kevin Ryde <user42@zip.com.au>
9421
9422 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9423
5d344e88
CY
94242011-05-28 Chong Yidong <cyd@stupidchicken.com>
9425
8e6ca83d
CY
9426 * bindings.el (help-echo): Make the initial non-indicator dash
9427 empty on graphical terminals (Bug#7295).
9428
5d344e88
CY
9429 * files.el (auto-mode-alist): Move config rule after the
9430 in-stripping one (Bug#8547).
9431
bfbbace7
CY
9432 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9433
fbeba6e2
CY
9434 * startup.el (normal-splash-screen): Remove gratuitous mode-line
9435 setting (Bug#8740).
9436
60ed8c72
AA
94372011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
9438
4ac619f0
AA
9439 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9440 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9441 (Bug#8539).
60ed8c72 9442
23db196e
CY
94432011-05-28 Chong Yidong <cyd@stupidchicken.com>
9444
9445 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9446
5012f24c
DK
94472011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
9448
9449 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9450 (hs-hide-block-at-point, hs-find-block-beginning)
9451 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9452 (Bug#8279).
9453
6a639b16
GM
94542011-05-28 Glenn Morris <rgm@gnu.org>
9455
9456 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9457
d43eaf2c
CY
94582011-05-28 Chong Yidong <cyd@stupidchicken.com>
9459
5199bde1
CY
9460 * help-fns.el (describe-function-1): If the function is a derived
9461 major mode, print the parent mode.
9462
d43eaf2c
CY
9463 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9464 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9465
423428a8
SM
94662011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9467
0ff8e1ba 9468 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 9469 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
9470 * progmodes/etags.el (tags-completion-at-point-function):
9471 * info-look.el (info-lookup-completions-at-point): Mark as
9472 non-exclusive.
9473 (info-complete): Adjust accordingly.
9474
423428a8
SM
9475 * info-look.el: Convert to lexical-binding and completion-at-point.
9476 (info-lookup-completions-at-point): New function.
9477 (info-complete): Use it and completion-in-region.
9478
b74aa22b
DA
94792011-05-28 Drew Adams <drew.adams@oracle.com>
9480
9481 * isearch.el: Let M-e start with point at the first mismatched char.
9482 (isearch-fail-pos): New function.
9483 (isearch-edit-string): Use it.
9484
66e2e71d
DK
94852011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9486
9487 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9488
b1890b0f 94892011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
9490
9491 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9492 traversal functions for avl-trees.
9493 (avl-tree--stack): New struct.
9494 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9495 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
9496 (avl-tree--do-enter): Add optional `updatefun' arg.
9497 Change return value.
eb95d01d 9498 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
9499 (avl-tree--do-delete): Add `test' and `nilflag' args.
9500 Change return value.
eb95d01d
TC
9501 (avl-tree-member): Add optional `nilflag'
9502 (avl-tree-member-p): New function.
9503 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9504 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9505 (avl-tree-stack-empty-p): New functions.
9506
3769ddcf
TC
9507 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9508 avl-tree--del-balance1 and make it work both ways.
9509 (avl-tree--del-balance2): Remove.
9510 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9511 make it work both ways.
9512 (avl-tree--enter-balance2): Remove.
9513 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9514 New macros.
9515 (avl-tree--mapc, avl-tree-map): Add direction argument.
9516
eb95d01d 95172011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
9518
9519 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9520
a9f737ee
CY
95212011-05-27 Chong Yidong <cyd@stupidchicken.com>
9522
9523 * select.el: Support clipboard managers with built-in function
9524 x-clipboard-manager-save, via delete-frame-functions and
9525 kill-emacs-hook.
9526 (xselect-convert-to-targets): Add MULTIPLE target to list.
9527 (xselect-convert-to-save-targets): New function.
9528
c92a1e54
KH
95292011-05-27 Kenichi Handa <handa@m17n.org>
9530
9531 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9532 let-binding rfc2047-encode-encoded-words to nil.
9533
e145f188
GM
95342011-05-27 Glenn Morris <rgm@gnu.org>
9535
5ec8a862
GM
9536 * mail/emacsbug.el: Don't require url-util.
9537
4b29d9fb
GM
9538 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9539
e145f188
GM
9540 * files.el (set-auto-mode):
9541 Also respect mode: entries at the end of the file. (Bug#8586)
9542
7d15102b
GM
95432011-05-26 Glenn Morris <rgm@gnu.org>
9544
98f593b8
GM
9545 * files.el (hack-local-variables-prop-line, hack-local-variables):
9546 Downcase mode names, as seems to be traditional.
27b48e63 9547 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 9548
7d15102b
GM
9549 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9550 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
9551
51d5b4ec
JD
95522011-05-25 Julien Danjou <julien@danjou.info>
9553
9554 * textmodes/rst.el (rst-define-level-faces): Do not define face
9555 symbol if it is already defined.
9556
91513f63
VB
95572011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
9558
9559 * play/5x5.el (5x5-new-game, 5x5-randomize):
9560 Reset 5x5-solver-output to nil when a new grid is cast.
9561 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9562 these debugging traces, as defmacro breaks the compiled code.
9563
4d90d6d0
DK
95642011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9565
9566 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9567
e1b90ef6
LL
95682011-05-24 Leo Liu <sdl.web@gmail.com>
9569
9570 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9571 (vc-bzr-sha1): Adapt.
9572
d8e4b68b 9573 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
9574
9575 * bindings.el: Provide sha1 feature.
9576
db0406bb 95772011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
9578
9579 * mail/sendmail.el: Require `rfc2047'.
9580 (mail-insert-from-field): Do not perform RFC2047 encoding.
9581 (mail-encode-header): New function.
9582 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
9583 buffer to the return value of select-message-coding-system.
9584 Call mail-encode-header.
b8d747b9
KH
9585
9586 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9587
db0406bb 95882011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 9589
4d90d6d0
DK
9590 * mail/supercite.el (sc-default-cite-frame):
9591 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 9592
eb8a5e9b
GM
95932011-05-24 Glenn Morris <rgm@gnu.org>
9594
f8630703
GM
9595 * progmodes/python.el (brm-menu): Declare.
9596
8831bbed
GM
9597 * emulation/viper.el (viper-set-hooks): Declare.
9598
eb8a5e9b
GM
9599 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9600 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9601 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9602 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9603 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9604 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9605
a2a25d24
SM
96062011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9607
9608 Add an :exit-function for completion-at-point.
9609
9610 * minibuffer.el (completion--done): New fun.
9611 (completion--do-completion): Use it. New arg `expect-exact'.
9612 (minibuffer-complete, minibuffer-complete-word): Don't output message,
9613 since completion--do-completion does it for us now.
9614 (minibuffer-force-complete): Use completion--done and
9615 completion--replace. Handle sole-completion case with more care.
9616 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9617 (completion-extra-properties): New var.
9618 (completion-annotate-function): Make obsolete.
9619 (minibuffer-completion-help): Adjust accordingly.
9620 Use completion-list-insert-choice-function.
9621 (completion-at-point, completion-help-at-point):
9622 Bind completion-extra-properties.
9623 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9624 * simple.el (completion-list-insert-choice-function): New var.
9625 (completion-setup-function): Preserve it.
9626 (choose-completion): Pay attention to it, shuffle the code a bit.
9627 (choose-completion-string): New arg `insert-function'.
9628
9629 * textmodes/bibtex.el: Convert to lexical binding.
9630 (bibtex-mode-map): Use completion-at-point.
9631 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9632 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9633 (bibtex-complete): Define as obsolete alias.
9634 (bibtex-complete-internal): Remove.
9635 (bibtex-format-entry): Remove unused sub-group in regexp.
9636 * shell.el (shell--command-completion-data)
9637 (shell-environment-variable-completion):
9638 * pcomplete.el (pcomplete-completions-at-point):
9639 * comint.el (comint--complete-file-name-data): Use :exit-function
9640 instead of completion-table-with-terminator so it also works for
9641 choose-completion.
9642
e44e373d
SM
96432011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9644
4f91a816
SM
9645 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9646
782fc819
SM
9647 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9648 (bug#8710).
9649
e44e373d
SM
9650 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9651
381987c3
KM
96522011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
9653
9654 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9655 customization variable and implement: If non-nil, auto-fill will
9656 be inhibited while on topic's header line.
9657
b776bc70
VB
96582011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
9659
9660 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 9661 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
9662 always have a solution in grid size = 5 cases.
9663 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9664 (5x5-solver-output, 5x5-log-buffer): New vars.
9665 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9666 Make these variables buffer local to achieve 5x5 multi-session-ness.
9667 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9668 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9669 (5x5-solve-suggest): New funs.
9670 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9671 randomize a grid so that we ensure that there is always a solution.
9672 (5x5-make-random-grid): Allow other movement than flipping.
9673
7de88b6e
KR
96742011-05-23 Kevin Ryde <user42@zip.com.au>
9675
9676 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 9677 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
9678 advice and passes PREDICATE.
9679
b1ef1257
SM
96802011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9681
bbca48fe
SM
9682 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9683 byte-compile-lambda if it's actually a lambda.
9684
b1ef1257
SM
9685 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9686 Fix function quoting. Use backquote better.
9687
92a9cc65
YS
96882011-05-22 Yuanle Song <sylecn@gmail.com>
9689
9690 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9691 matching (Bug#8516).
9692
f0fb8059
JA
96932011-01-22 Jari Aalto <jari.aalto@cante.net>
9694
9695 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9696 different face (Bug#8178).
9697
d5b44c93
CY
96982011-05-22 Chong Yidong <cyd@stupidchicken.com>
9699
9700 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9701 defface (Bug#8144).
9702
79106a44
SM
97032011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
9704
9c848d8a
SM
9705 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9706 funcall as well (bug#8712). Warn when performing those conversions.
9707 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9708
79106a44
SM
9709 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9710
88dfa756
GM
97112011-05-22 Glenn Morris <rgm@gnu.org>
9712
9713 * files.el (hack-local-variables-prop-line): Small simplifications.
9714 (hack-local-variables, hack-local-variables-prop-line):
9715 If MODE-ONLY, return the mode, rather than just `t'.
9716
b7cf2c79
SM
97172011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9718
9719 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9720
3f1a8558
GM
97212011-05-21 Glenn Morris <rgm@gnu.org>
9722
7e4ccca3
GM
9723 * files.el (hack-local-variables-prop-line, hack-local-variables):
9724 If only interested in the mode, don't bother doing the other stuff.
9725
637d46ca
GM
9726 * image-mode.el (image-after-revert-hook):
9727 Redraw all frames on which the image is visible. (Bug#8567)
9728
973d955b
GM
9729 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
9730
3f1a8558
GM
9731 * wid-edit.el (widget-checklist-match-inline):
9732 Fix 2011-04-19 change. (Bug#8649)
9733
96479927
SM
97342011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
9735
1dcf791f
SM
9736 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9737 Also allow singlespace after single-letter capitals followed by a dot.
9738
96479927
SM
9739 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9740 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9741
35fd0881
N
97422011-05-20 Nix <nix@esperi.org.uk>
9743
9744 * files.el (basic-save-buffer-2):
9745 Fix handling of break-hardlink-on-save with non-existent files.
9746
82745640
DD
97472011-05-19 Deniz Dogan <deniz@dogan.se>
9748
9749 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 9750 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 9751
4a720484
GM
97522011-05-19 Glenn Morris <rgm@gnu.org>
9753
d1f21341
GM
9754 * progmodes/f90.el (f90-type-def-re):
9755 Handle "type, bind(c)". (Bug#8691)
9756
4a720484
GM
9757 * emacs-lisp/autoload.el (batch-update-autoloads):
9758 Set autoload-excludes by parsing loadup.el rather than Makefiles.
9759
2fb0a219
MA
97602011-05-18 Michael Albinus <michael.albinus@gmx.de>
9761
9762 * net/tramp.el (tramp-process-actions): Set "first-password-request"
9763 property for the correct connection in case of multihops.
9764
e565dd37
GM
97652011-05-18 Glenn Morris <rgm@gnu.org>
9766
c2571358 9767 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
9768 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9769
e565dd37
GM
9770 Rationalize calendar handling of day and month abbrev-arrays.
9771 * calendar/calendar.el (calendar-customized-p): New function.
9772 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9773 (calendar-day-name-array, calendar-month-name-array): Doc fix.
9774 Add :set function.
9775 (calendar-abbrev-length, calendar-day-abbrev-array)
9776 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9777 (calendar-day-abbrev-array, calendar-month-abbrev-array):
9778 Elements may no longer be nil.
9779 (calendar-day-name, calendar-month-name):
9780 Update for changed nature of abbrev arrays.
9781 * calendar/diary-lib.el (diary-name-pattern):
9782 Update for changed nature of abbrev arrays.
9783 (diary-mark-entries-1): Update calendar-make-alist calls.
9784 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9785 * calendar/cal-html.el (cal-html-day-abbrev-array):
9786 Simply inherit from calendar-day-abbrev-array.
9787
1d99a745
SM
97882011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9789
9790 * progmodes/grep.el (grep-mode): Disable default
9791 compilation-directory-matcher setting (bug#8684).
9792
7c1d9aa0
MA
97932011-05-17 Michael Albinus <michael.albinus@gmx.de>
9794
9795 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9796 instead of "head" and "tail". There were problems with SunOS 5.9,
9797 and it performs better.
9798
3952e9d8
GM
97992011-05-17 Glenn Morris <rgm@gnu.org>
9800
2dd12e7f
GM
9801 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9802
e4157b9c
GM
9803 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9804 Replace obsolete function.
9805
8e249bbd
GM
9806 * shell.el (pcomplete-parse-arguments-function): Declare.
9807
3952e9d8
GM
9808 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9809 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9810 (appt-check): Doc fixes.
9811 (appt-disp-window-function, appt-delete-window-function):
9812 Remove needless special case in custom :type.
9813 (appt-display-count): Default to 0, not nil.
9814 (appt-check): Reset appt-display-count to 0, not nil.
9815
c71a0d48 98162011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 9817
c71a0d48
GM
9818 * progmodes/python.el (python-font-lock-keywords):
9819 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 9820
31d55be9
SM
98212011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9822
9823 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9824
3bfacb2f
KR
98252011-05-16 Kevin Ryde <user42@zip.com.au>
9826
9827 * info-look.el (makefile-automake-mode): New setups, looking in
9828 automake manual, then makefile-mode.
9829 (makefile-mode): Remove automake manual, have it just in
9830 makefile-automake-mode since there's various things different or
9831 not relevant to plain make.
9832 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9833 believe a hypothetical automake-mode would go to makefile-mode,
9834 not the other way around.
9835
c8e83751
CY
98362011-05-15 Chong Yidong <cyd@stupidchicken.com>
9837
5e9e35cd
CY
9838 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9839 hunk-end tags (Bug#8672).
9840
c8e83751
CY
9841 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9842 vc-annotate-show-diff-revision-at-line (Bug#8671).
9843
50b23e5a
GM
98442011-05-14 Glenn Morris <rgm@gnu.org>
9845
7210a739
GM
9846 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9847 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
9848 (change-log-font-lock-keywords): Also handle multiple author lines
9849 with leading tabs. (Bug#8644)
7210a739 9850
4691905a
GM
9851 * calendar/appt.el (appt-check): Rename some local variables.
9852 Some simplification/reordering.
9853
50b23e5a
GM
9854 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9855 (feedmail-sendmail-f-doesnt-sell-me-out)
9856 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9857 (feedmail-debug-sit-for, feedmail-queue-express-hook)
9858 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
9859 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9860 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
9861 (feedmail-binmail-gnulinuxish-template):
9862 Rename from feedmail-binmail-linuxish-template.
9863 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9864 Use insert-buffer-substring.
9865
215cda7c
BC
98662011-05-14 Bill Carpenter <bill@carpenter.org>
9867
9868 * mail/feedmail.el (feedmail-patch-level): Increase.
9869 (feedmail-debug): New custom group.
9870 (feedmail-confirm-outgoing-timeout)
9871 (feedmail-sendmail-f-doesnt-sell-me-out)
9872 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9873 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9874 (feedmail-sender-line, feedmail-from-line)
9875 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 9876 (feedmail-spray-this-address)
215cda7c
BC
9877 (feedmail-spray-address-fiddle-plex-list)
9878 (feedmail-queue-use-send-time-for-date)
9879 (feedmail-queue-use-send-time-for-message-id)
9880 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9881 (feedmail-buffer-eating-function):
9882 Doc fixes.
9883 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9884 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9885 (feedmail-message-action-scroll-down): New functions.
9886 (feedmail-queue-directory, feedmail-queue-draft-directory):
9887 Use expand-file-name.
9888 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9889 Remove C-v help entry.
9890 (feedmail-queue-buffer-file-name): New variable.
9891 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9892 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9893 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9894 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9895 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9896 (feedmail-message-action-toggle-spray)
9897 (feedmail-run-the-queue-no-prompts)
9898 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9899 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9900 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9901 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9902 (feedmail-envelope-deducer, feedmail-fiddle-from)
9903 (feedmail-fiddle-sender, feedmail-default-date-generator)
9904 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9905 (feedmail-fiddle-spray-address)
9906 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9907 (feedmail-fiddle-list-of-fiddle-plexes)
9908 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9909 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9910 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9911 Change default. Doc fix.
9912 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9913 (feedmail-binmail-linuxish-template): New constant.
9914 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9915 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9916 (feedmail-send-it): Add debug call.
9917 Use feedmail-queue-buffer-file-name, and
9918 feedmail-send-it-immediately-wrapper.
9919 (feedmail-message-action-send): Add debug call.
9920 Use feedmail-send-it-immediately-wrapper.
9921 (feedmail-queue-express-to-queue): Add debug call.
9922 Run feedmail-queue-express-hook.
9923 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9924 (feedmail-message-action-help-blat):
9925 Rename from feedmail-queue-send-edit-prompt-help-first.
9926 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9927 Check line-endings. Handle errors better.
9928 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9929 Doc fix. Add debug call.
9930 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9931 Use feedmail-queue-send-edit-prompt-inner.
9932 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9933 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9934 from feedmail-queue-send-edit-prompt.
9935 (feedmail-queue-send-edit-prompt-help)
9936 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9937 (feedmail-tidy-up-slug): Add debug call.
9938 Respect feedmail-queue-slug-suspect-regexp.
9939 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9940 (feedmail-dump-message-to-queue): Add debug call.
9941 Expand queue-directory.
9942 (feedmail-dump-message-to-queue): Change message slightly.
9943 Use feedmail-say-chatter.
9944 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9945 (feedmail-send-it-immediately-wrapper): New function.
9946 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9947 Insert empty string rather than newline. Handle full-frame case.
9948 Use catch/throw. Use feedmail-say-chatter.
9949 (feedmail-fiddle-from): Try mail-host-address.
9950 (feedmail-default-message-id-generator): Doc fix.
9951 Bind system-time-locale. Handle missing end.
9952 (feedmail-fiddle-x-mailer): Add debug call.
9953 Handle feedmail-x-mailer-line being nil.
9954 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9955 Add debug call. Use buffer-substring-no-properties.
9956 (feedmail-say-debug, feedmail-say-chatter): New functions.
9957 (feedmail-find-eoh): Give an explicit error.
9958
42c7e61e
UJ
99592011-05-13 Ulf Jasper <ulf.jasper@web.de>
9960
c2571358 9961 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 9962 family from helvetica to sans.
c2571358 9963 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9964 etc/images/newsticker.
9965
c2571358 9966 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
9967 family from helvetica to sans.
9968
9969 * net/newst-plainview.el (newsticker-new-item-face)
9970 (newsticker-old-item-face, newsticker-immortal-item-face)
9971 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 9972 (newsticker-statistics-face): Change default family from
42c7e61e 9973 helvetica to sans.
c2571358 9974 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9975 etc/images/newsticker.
9976
9977 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9978 (newsticker--process-auto-mark-filter-match): : Tell user about
9979 auto-marking.
9980
8497a297
DV
99812011-05-13 Didier Verna <didier@xemacs.org>
9982
9983 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
9984 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9985 TODO entries.
8497a297
DV
9986 (lisp-lambda-list-keyword-parameter-indentation)
9987 (lisp-lambda-list-keyword-parameter-alignment)
9988 (lisp-lambda-list-keyword-alignment): New customizable user options.
9989 (lisp-indent-defun-method): Improve docstring.
9990 (extended-loop-p): Fix comment.
9991 (lisp-indent-lambda-list-keywords-regexp): New variable.
9992 (lisp-indent-lambda-list): New function.
9993 (lisp-indent-259): Use it.
9994 (lisp-indent-defmethod): Support for more than one
9995 method qualifier and properly indent methods lambda-lists.
9996 (defgeneric): Provide a missing common-lisp-indent-function property.
9997
f278f87f
SM
99982011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9999
10000 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10001 bounds for the empty string (bug#8667).
10002
5233edd7
GM
100032011-05-13 Glenn Morris <rgm@gnu.org>
10004
5237a44f
GM
10005 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10006
8340026c 10007 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 10008 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 10009
5233edd7 10010 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 10011 (appt-time-msg-list): Doc fix.
a5464014 10012 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 10013
92d10796
AS
100142011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10015
10016 * progmodes/ld-script.el (ld-script-keywords)
10017 (ld-script-builtins): Update keywords list.
10018
914a0ae1
SM
100192011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10020
c89be45f
SM
10021 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10022
914a0ae1
SM
10023 * shell.el (shell-completion-vars): New function.
10024 (shell-mode):
10025 * simple.el (read-shell-command): Use it.
10026 (blink-matching-open): No need for " [...]" in minibuffer-message.
10027
98dc3df3
GM
100282011-05-12 Glenn Morris <rgm@gnu.org>
10029
10030 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10031 (appt-check): Simplify.
10032
d2fc7e3d 100332011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 10034
4d61f28d 10035 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
10036 literal "/dev/null".
10037
d2fc7e3d 100382011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
10039
10040 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10041 Fix typo.
10042
d2fc7e3d 100432011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 10044
3f254caa
SM
10045 * progmodes/which-func.el (which-function):
10046 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
10047 which might not be defined (Bug#8260).
10048
d45885f7
GM
100492011-05-12 Glenn Morris <rgm@gnu.org>
10050
10051 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10052 Let byte-compile-initial-macro-environment always take precedence.
10053
488086f4
SM
100542011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10055
10056 * net/rcirc.el: Add support for SSL/TLS connections.
10057 (rcirc-server-alist): New field `encryption'.
10058 (rcirc): Check `encryption' settings.
10059 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10060 Merge make-local-variable into `set'.
10061 (rcirc--connection-open-p): New function.
10062 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10063 the process is not a network process (e.g. running gnutls-cli).
10064 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10065 Make rcirc-(en|de)code-coding-system local here.
10066 (rcirc-mode): Merge make-local-variable into `set'.
10067 (rcirc-parent-buffer): Make permanent buffer-local.
10068 (rcirc-multiline-minor-mode): Don't do it here.
10069 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10070 there's no server buffer.
10071
7d3b9d44
GM
100722011-05-11 Glenn Morris <rgm@gnu.org>
10073
f64049c6
GM
10074 * newcomment.el (comment-kill): Prefix "unused" local.
10075
93c9df73
GM
10076 * term/w32console.el (get-screen-color): Declare.
10077
7d3b9d44
GM
10078 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10079 Handle symbol elements of byte-compile-initial-macro-environment.
10080
9e2dd53f
LL
100812011-05-10 Leo Liu <sdl.web@gmail.com>
10082
488086f4
SM
10083 * bookmark.el (bookmark-bmenu-mode-map):
10084 Bind bookmark-bmenu-search to `/'.
8b340240 10085
9e2dd53f 10086 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
10087 (footnote-unicode-string, footnote-unicode-regexp): New variable.
10088 (Footnote-unicode): New function.
10089 (footnote-style-alist): Add unicode style to the list.
10090 (footnote-style): Doc fix.
9e2dd53f 10091
79b70037
GM
100922011-05-10 Jim Meyering <meyering@redhat.com>
10093
10094 Fix doubled-word typos.
10095 * international/quail.el (quail-insert-kbd-layout): and and -> and
10096 * kermit.el: and and -> and
10097 * net/ldap.el (ldap-search-internal): to to -> to
10098 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10099 * progmodes/js.el (js-mode): and and -> and
10100 * textmodes/artist.el (artist-move-to-xy): at at -> at
10101 (artist-draw-region-trim-line-endings): if if -> if
10102 And Safetyc -> Safety.
10103 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10104
b8f82dc1 101052011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 10106 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
10107
10108 * files.el (hack-one-local-variable-eval-safep):
10109 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10110
4f99f44b
GM
101112011-05-10 Glenn Morris <rgm@gnu.org>
10112
10113 * calendar/diary-lib.el (diary-list-entries-hook)
10114 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10115 (diary-nongregorian-marking-hook, diary-list-entries)
10116 (diary-include-other-diary-files, diary-mark-entries)
10117 (diary-mark-included-diary-files): Doc fixes.
10118
84f29e6b
JB
101192011-05-09 Juanma Barranquero <lekktu@gmail.com>
10120
10121 * misc.el: Require tabulated-list.el during compilation.
10122
9bedd73a
CY
101232011-05-09 Chong Yidong <cyd@stupidchicken.com>
10124
488086f4
SM
10125 * progmodes/compile.el (compilation-start):
10126 Run compilation-filter-hook for the async case too.
9bedd73a
CY
10127 (compilation-filter-hook): Doc fix.
10128
797c735c
DD
101292011-05-09 Deniz Dogan <deniz@dogan.se>
10130
10131 * wdired.el: Remove outdated installation comment. Fix usage
10132 comment.
10133
5f4b1dfe
JB
101342011-05-09 Juanma Barranquero <lekktu@gmail.com>
10135
10136 * misc.el: Implement new command `list-dynamic-libraries'.
10137 (list-dynamic-libraries--loaded-only-p): New variable.
10138 (list-dynamic-libraries--refresh): New function.
10139 (list-dynamic-libraries): New command.
10140
4c44026c
CY
101412011-05-09 Chong Yidong <cyd@stupidchicken.com>
10142
488086f4
SM
10143 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10144 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
10145 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10146 higher priority to avoid clobbering by gnu.
10147
027f966d
CY
101482011-05-08 Chong Yidong <cyd@stupidchicken.com>
10149
10150 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10151 if the face has existing theme settings (Bug#8454).
10152
085f5d7d
CY
101532011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10154
488086f4
SM
10155 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10156 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 10157
2a86a00c
RS
10158 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10159 special file names `.' and `..' (Bug#8259).
10160
d9c54a06
CY
101612011-05-08 Chong Yidong <cyd@stupidchicken.com>
10162
488086f4
SM
10163 * progmodes/grep.el (grep-mode-font-lock-keywords):
10164 Remove buffer-changing entries.
d9c54a06
CY
10165 (grep-filter): New function.
10166 (grep-mode): Add it to compilation-filter-hook.
10167
10168 * progmodes/compile.el (compilation-filter-hook)
10169 (compilation-filter-start): New defvars.
10170 (compilation-filter): Call compilation-filter-hook prior to
10171 updating the process mark.
10172
c4662635
SM
101732011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10174
10175 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10176
b0512a1d
EZ
101772011-05-07 Eli Zaretskii <eliz@gnu.org>
10178
605c9376
EZ
10179 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10180 mailclient-send-it even if window-system is nil. (Bug#8595)
10181
c4662635
SM
10182 * term/w32console.el (terminal-init-w32console):
10183 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
10184 background-mode. (Bug#8597)
10185
d1dc2cc2
SM
101862011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10187
10188 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10189 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10190 New functions.
10191 (defgeneric, eieio--defmethod): Use them.
10192 (eieio-defgeneric): Remove.
10193 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10194
915d1300
GM
101952011-05-07 Glenn Morris <rgm@gnu.org>
10196
a3961c3e
GM
10197 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10198 Use let rather than let*.
10199 (timeclock-find-discrep): Remove unused local.
10200
314347b9
GM
10201 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10202
915d1300
GM
10203 * calendar/appt.el (appt-time-msg-list): Doc fix.
10204
275b59b0
NF
102052011-05-06 Noah Friedman <friedman@splode.com>
10206
10207 * apropos.el (apropos-print-doc): Only use
10208 emacs-lisp-docstring-fill-column when it is bound to an integer,
10209 per that variable's documentation.
10210
6c19f744
SM
102112011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10212
10213 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 10214 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 10215
60f884b2
GM
102162011-05-06 Glenn Morris <rgm@gnu.org>
10217
5006e634
GM
10218 * calendar/appt.el (appt-message-warning-time): Doc fix.
10219 (appt-warning-time-regexp): New option.
10220 (appt-make-list): Respect appt-message-warning-time.
10221
548d0a63
GM
10222 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10223 New options.
10224 (diary-add-to-list): Strip comments from the displayed string.
10225 (diary-mode): Set comment-start and comment-end.
10226
60f884b2
GM
10227 * vc/diff-mode.el (smerge-refine-subst): Declare.
10228 (diff-refine-hunk): Don't require smerge-mode when compiling.
10229
989681bb
JB
102302011-05-06 Juanma Barranquero <lekktu@gmail.com>
10231
10232 * simple.el (list-processes): Return nil as the docstring says.
10233
a6bc05e1
MA
102342011-05-05 Michael Albinus <michael.albinus@gmx.de>
10235
10236 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10237 to "".
10238 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10239 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10240 determining of binary transfer. (Bug#7383)
10241
23c22e9a
MA
102422011-05-05 Michael Albinus <michael.albinus@gmx.de>
10243
c4662635
SM
10244 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10245 Fix port computation bug. (Bug#8618)
23c22e9a 10246
0bff894f
GM
102472011-05-05 Glenn Morris <rgm@gnu.org>
10248
b8296902
GM
10249 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10250
1f522ce8
GM
10251 * simple.el (shell-dynamic-complete-functions)
10252 (comint-dynamic-complete-functions): Declare.
10253
cf5bee67
GM
10254 * net/network-stream.el (gnutls-negotiate):
10255 * simple.el (tabulated-list-print): Fix declarations.
10256
10257 * progmodes/gud.el (syntax-symbol, syntax-point):
10258 Remove unnecessary and incorrect declarations.
10259
0bff894f
GM
10260 * emacs-lisp/check-declare.el (check-declare-scan):
10261 Handle byte-compile-initial-macro-environment in bytecomp.el
10262
9869b3ae
SM
102632011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10264
10265 Fix earlier half-done eieio-defmethod change (bug#8338).
10266 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10267 Streamline and change calling convention.
10268 (defmethod): Adjust accordingly and simplify.
10269 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10270 new eieio--defmethod.
10271 (slot-boundp): Minor CSE simplification.
10272
9c1d5ac5
MZ
102732011-05-05 Milan Zamazal <pdm@zamazal.org>
10274
10275 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10276 (glasses-make-readable): Use glasses-separate-capital-groups.
10277
455c834e
JB
102782011-05-05 Juanma Barranquero <lekktu@gmail.com>
10279
10280 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10281 (warning-series): Doc fix.
10282 (display-warning): Don't try to create the buffer if we just found it.
10283
9ed7c8cb
CY
102842011-05-04 Chong Yidong <cyd@stupidchicken.com>
10285
10286 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10287 (autoload-find-generated-file): New function.
10288 (generate-file-autoloads): Bind generated-autoload-file to
10289 buffer-file-name.
9869b3ae
SM
10290 (update-file-autoloads, update-directory-autoloads):
10291 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
10292 output file (Bug#7989).
10293 (batch-update-autoloads): Doc fix.
10294
0898ca10
JB
102952011-05-04 Juanma Barranquero <lekktu@gmail.com>
10296
10297 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10298
31dfb76c
GM
102992011-05-04 Glenn Morris <rgm@gnu.org>
10300
f330b642
GM
10301 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10302 function, so it follows changes in calendar-date-style.
10303 (diary-fancy-date-matcher): New function.
10304 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10305 (diary-fancy-font-lock-fontify-region-function):
10306 Use diary-fancy-date-pattern as a function.
10307
31dfb76c
GM
10308 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10309 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10310
48e79d6a
TZ
103112011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10312
10313 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10314 instead of positional arguments. Allow :keylist and :crlfiles
10315 arguments.
10316 (open-gnutls-stream): Call it.
10317
10318 * net/network-stream.el (network-stream-open-starttls): Adjust to
10319 call `gnutls-negotiate' with :process and :hostname arguments.
10320
dd5a5ee0
SM
103212011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10322
ef80fc09
SM
10323 * minibuffer.el (completion--message): New function.
10324 (completion--do-completion, minibuffer-complete)
10325 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10326 (completion--do-completion): Don't ignore completion-auto-help when in
10327 icomplete-mode.
10328
dd5a5ee0
SM
10329 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10330 internal encoding (e.g. tibetan zero is not whitespace).
10331 (global-whitespace-mode): Prefer save-current-buffer.
10332 (whitespace-trailing-regexp): Remove useless save-match-data.
10333 (whitespace-empty-at-bob-regexp): Minor simplification.
10334
b7d22a83
CY
103352011-05-03 Chong Yidong <cyd@stupidchicken.com>
10336
10337 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10338
5192af46
AM
103392011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10340
10341 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 10342 Use `concat' to create string for insertion.
5192af46 10343
5767d190
SM
103442011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10345
10346 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10347 Avoid open-line which runs post-self-insert-hook.
10348 (bibtex-fill-entry): Remove unused `end' var.
10349
bf242939
AM
103502011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10351
5767d190
SM
10352 * textmodes/ispell.el (ispell-add-per-file-word-list):
10353 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 10354
25666126
LL
103552011-05-03 Leo Liu <sdl.web@gmail.com>
10356
10357 * isearch.el (isearch-yank-pop): New command.
5767d190 10358 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
10359 (isearch-forward): Mention it.
10360
52d3c2d0
SM
103612011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10362
1bcace58
SM
10363 * simple.el (minibuffer-complete-shell-command): Remove.
10364 (minibuffer-local-shell-command-map): Use completion-at-point.
10365 (read-shell-command): Setup completion vars here instead.
10366 (read-expression-map): Bind TAB to symbol completion.
10367
52d3c2d0
SM
10368 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10369 error directly rather via storing it into `results'.
10370
35813471
LL
103712011-05-02 Leo Liu <sdl.web@gmail.com>
10372
10373 * vc/diff.el: Fix description.
10374
e793a940
LMI
103752011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10376
10377 * server.el (server-eval-at): New function.
10378
8de66e05
LMI
103792011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10380
10381 * net/network-stream.el (open-network-stream): Take a :nowait
10382 parameter and pass it on to `make-network-process'.
10383 (network-stream-open-plain): Ditto.
10384
dcb79f20
AS
103852011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10386
10387 * faces.el (face-spec-set-match-display): Don't match toolkit
10388 options on terminal frames.
10389
14a7fbd8
SM
103902011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10391
7eabc1be
SM
10392 * progmodes/pascal.el: Use lexical binding.
10393 (pascal-mode-map): Remove author preferences.
10394
14a7fbd8
SM
10395 * pcomplete.el (pcomplete-std-complete): Don't abuse
10396 completion-at-point.
10397
50f84510
JB
103982011-04-28 Juanma Barranquero <lekktu@gmail.com>
10399
6e087a44
JB
10400 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10401 removing code that has been dead since 1991 or so.
10402
50f84510
JB
10403 * startup.el (command-line): When warning about "_emacs", use a
10404 delayed warning to allow the user to filter it out.
10405
0ba690bd
DD
104062011-04-28 Deniz Dogan <deniz@dogan.se>
10407
10408 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10409 user has not joined.
10410
08abfaad
SM
104112011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10412
10413 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10414 aren't any completions at point.
10415
638f053a
JB
104162011-04-28 Juanma Barranquero <lekktu@gmail.com>
10417
10418 * subr.el (display-delayed-warnings): New function.
10419 (delayed-warnings-hook): New variable.
10420
8fff8daa
SM
104212011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10422
08abfaad
SM
10423 * minibuffer.el (completion-at-point, completion-help-at-point):
10424 Don't presume that a given completion-at-point-function will always
10425 use the same calling convention.
10426
8fff8daa
SM
10427 * pcomplete.el (pcomplete-completions-at-point):
10428 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10429 pcomplete-seen is non-nil.
10430 (pcomplete-comint-setup): Also recognize the new comint/shell
10431 completion functions.
10432 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10433 pcomplete-seen is non-nil.
10434
841a1577 104352011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 10436
841a1577 10437 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 10438 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 10439 the first character in the entry. This allows for code to add its
211ec907
UJ
10440 own uid to the entry.
10441 (icalendar--convert-float-to-ical): Add export of
10442 `diary-float'-entries save for those with the optional DAY
10443 argument.
10444
2a782793
DC
104452011-04-27 Daniel Colascione <dan.colascione@gmail.com>
10446
10447 * subr.el (shell-quote-argument): Use alternate escaping strategy
10448 when we spot a variable reference in a string.
10449
0438ce91
DC
104502011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10451
10452 * cus-start.el (all): Define customization for debug-on-event.
10453
841a1577 104542011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
10455
10456 * subr.el (shell-quote-argument): Escape correctly under Windows.
10457
d090ed6c
SM
104582011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10459
10460 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10461
bfd31217
MA
104622011-04-25 Michael Albinus <michael.albinus@gmx.de>
10463
d090ed6c
SM
10464 * net/tramp.el (tramp-process-actions): Add POS argument.
10465 Delete region between POS and (pos).
bfd31217 10466
d090ed6c
SM
10467 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10468 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
10469 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10470
10471 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10472 position in `tramp-process-actions' call.
10473
10474 * net/trampver.el: Update release number.
10475
e92f3bd3
SM
104762011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10477
850256b5
SM
10478 * custom.el (defcustom): Obey lexical-binding.
10479
e92f3bd3
SM
10480 Fix octave-inf completion problems reported by Alexander Klimov.
10481 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10482 Inherit from octave-mode-syntax-table.
10483 (inferior-octave-mode): Set info-lookup-mode.
10484 (inferior-octave-completion-at-point): New function.
10485 (inferior-octave-complete): Use it and completion-in-region.
10486 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10487 comint-filename-completion.
10488 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10489 symbol elements which shouldn't be word elements.
10490 (octave-font-lock-keywords, octave-beginning-of-defun)
10491 (octave-function-header-regexp): Adjust regexps accordingly.
10492 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10493
cd22b309
JB
104942011-04-25 Juanma Barranquero <lekktu@gmail.com>
10495
10496 * net/gnutls.el (gnutls-errorp): Declare before first use.
10497
8b492194
TZ
104982011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10499
10500 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10501 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 10502 default trustfile exists before going to use it. Add missing
5a5fa834 10503 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
10504 Reported by Claudio Bley <claudio.bley@gmail.com>.
10505 (open-gnutls-stream): Add usage example.
10506
10507 * net/network-stream.el (network-stream-open-starttls): Give host
10508 parameter to `gnutls-negotiate'.
10509 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 10510 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 10511
841a1577 105122011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 10513
cd22b309
JB
10514 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10515 Use correct match group (bug#8438).
05842630 10516
3ba7869c
CY
105172011-04-24 Chong Yidong <cyd@stupidchicken.com>
10518
512e3ae1
CY
10519 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10520 (package-menu--generate): New arg specifying packages to show.
10521 (package-menu-refresh, package-menu-execute, list-packages):
10522 Callers changed.
10523 (package-show-package-list): New function, replacing deleted
10524 package--list-packages (renamed because it is non-internal).
10525
10526 * finder.el (finder-list-matches): Use package-show-package-list
10527 instead of deleted package--list-packages.
10528
e92f3bd3
SM
10529 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10530 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
10531 (vc-annotate-mode-map): Bind it to RET.
10532
7031be6d
UR
105332011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10534
10535 * progmodes/etags.el (next-file): Don't use set-buffer to change
10536 buffers (Bug#8478).
10537
4ef177aa
CY
105382011-04-24 Chong Yidong <cyd@stupidchicken.com>
10539
c8d173eb
CY
10540 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10541
4ef177aa
CY
10542 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10543 (apropos-accumulator): Doc fix.
10544 (apropos-function, apropos-macro, apropos-command)
10545 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10546 (apropos-plist): Add face property.
10547 (apropos-symbols-internal): Fix indentation.
10548 (apropos-print): Simplify help, and recognize apropos-multi-type.
10549 (apropos-print-doc): Use button-type-get to extract the button's
10550 face property. Fill docstring (Bug#8352).
10551
4ffd0d6b 105522011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
10553
10554 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10555
c6c32125 10556 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 10557 (mpuz-mode-map): Use mapc.
c6c32125
JB
10558 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10559 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10560 Fix typos in docstrings.
10561
58d468b4
JB
10562 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10563 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10564
6470c3c6
JB
10565 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10566
4ffd0d6b 105672011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
10568
10569 * minibuffer.el (completion--do-completion): Avoid the "Next char
10570 not unique" prompt if icomplete-mode is enabled (Bug#5849).
10571
3ad8bad0
CY
10572 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10573 mouse-2 into unread-command-events, it is interpreted correctly.
10574
71d73c9c 10575 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 10576 (image-toggle-display): Doc fix.
71d73c9c 10577
841a1577 105782011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 10579
4ffd0d6b
GM
10580 * textmodes/page.el (what-page): Use line-number-at-pos to
10581 calculate line number (Bug#6825).
6e1dbaa9 10582
c2fb1b60
JB
105832011-04-22 Juanma Barranquero <lekktu@gmail.com>
10584
10585 * eshell/esh-mode.el (find-tag-interactive): Declare function.
10586 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10587 Pass argument NO-DEFAULT to `find-tag-interactive'.
10588
e02f48d7
JB
105892011-04-22 Juanma Barranquero <lekktu@gmail.com>
10590
10591 Lexical-binding cleanup.
10592
10593 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10594 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10595 * progmodes/ada-prj.el (ada-prj-initialize-values)
10596 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10597 (ada-prj-show-value):
10598 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10599 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10600 (antlr-invalidate-context-cache, antlr-options-menu-filter)
10601 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10602 * progmodes/bug-reference.el (bug-reference-push-button):
10603 * progmodes/fortran.el (fortran-line-length):
10604 * progmodes/glasses.el (glasses-change):
10605 * progmodes/octave-mod.el (octave-fill-paragraph):
10606 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10607 (python-pdbtrack-grub-for-buffer, python-sentinel):
10608 * progmodes/sql.el (sql-save-connection):
10609 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10610 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10611 Mark unused parameters.
10612
10613 * progmodes/compile.el (compilation--flush-directory-cache)
10614 (compilation--flush-parse, compile-internal): Mark unused parameters.
10615 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10616 (compilation-next-error-function): Remove unused variable `timestamp'.
10617
10618 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10619 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10620
10621 * progmodes/dcl-mode.el (dcl-end-of-command):
10622 Remove unused variable `start'.
10623 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10624 (dcl-option-value-basic, dcl-option-value-offset)
10625 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10626 Mark unused parameters.
10627 (dcl-save-local-variable): Remove unused variable `val'.
10628 (mode): Declare.
10629
10630 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10631 Mark unused parameters.
10632 (delphi-ignore-changes): Move before first use.
10633 (delphi-charset-token-at): Remove unused variable `start'.
10634 (delphi-else-start): Remove unused variable `if-count'.
10635 (delphi-comment-block-start, delphi-comment-block-end):
10636 Remove unused variable `kind'.
10637 (delphi-indent-line): Remove unused variable `new-point'.
10638
10639 * progmodes/ebrowse.el (ebrowse-files-list)
10640 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10641 Mark unused parameters. Don't quote `lambda'.
10642 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10643 Don't quote `lambda'.
10644 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10645 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10646 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10647 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10648 Use `ignore-errors'.
10649 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10650 (ebrowse-view/find-file-and-search-pattern)
10651 (ebrowse-view/find-member-declaration/definition):
10652 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10653 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10654 Rename parameter PREFIX-ARG to PREFIX.
10655 (ebrowse-tags-read-name): Remove unused variables `start' and
10656 `member-info'.
10657 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10658 to `tags-file'.
10659
10660 * progmodes/etags.el (local-find-tag-hook): Declare.
10661 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10662 Mark unused parameters.
10663
10664 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10665 (executable-interpret): Mark unused parameter.
10666
10667 * progmodes/flymake.el (flymake-process-sentinel)
10668 (flymake-after-change-function)
10669 (flymake-create-temp-with-folder-structure)
10670 (flymake-get-include-dirs-dot): Mark unused parameters.
10671 (flymake-safe-delete-directory): Remove unused variable `err'.
10672
10673 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10674 (speedbar-timer-fn, speedbar-line-text)
10675 (speedbar-change-expand-button-char, speedbar-delete-subblock)
10676 (speedbar-center-buffer-smartly): Declare functions.
10677 (gdb-find-watch-expression): Remove unused variable `array'.
10678 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10679 (gdb-starting): Mark unused parameters.
10680 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10681 (gdb-table-string): Remove unused variable `res'.
10682 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10683 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10684 (gdb-display-buffer): Remove unused variable `cur-size'.
10685
10686 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10687 allow lexical-binding compilation.
10688 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10689 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10690 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10691 Mark unused parameters.
10692 (gud-gdb-marker-filter): Remove unused variable `match'.
10693 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10694 lambda expressions and funcall them, instead of using `fset'.
10695
10696 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10697 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10698
10699 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10700 variable `header-beg'; use `let'.
10701
10702 * progmodes/icon.el (indent-icon-exp): Remove unused variables
10703 `restart', `last-sexp' and `at-do'.
10704
10705 * progmodes/js.el (js--debug): Mark unused parameter.
10706 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10707 (js--splice-into-items): Remove unused variable `item'.
10708 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10709
10710 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10711 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10712 (makefile-complete): Remove unused variable `try'.
10713 (makefile-fill-paragraph, makefile-match-function-end):
10714 Mark unused parameters.
10715
10716 * progmodes/octave-inf.el (inferior-octave-complete):
10717 Remove unused variable `proc'.
10718 (inferior-octave-output-digest): Mark unused parameter.
10719
10720 * progmodes/perl-mode.el (perl-calculate-indent):
10721 Remove unused variable `err'.
10722
10723 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10724 (prolog-indent-line): Mark unused parameters.
10725 (prolog-indent-line): Remove unused variable `beg'.
10726
10727 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10728 (reporter-dont-compact-list): Declare.
10729
10730 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10731 Remove unused variable `char'.
10732 (sh-debug): Mark unused parameter.
10733 (sh-get-indent-info): Remove unused variable `start'.
10734 (sh-calculate-indent): Remove unused variable `var'.
10735
10736 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10737 (simula-electric-keyword): Remove unused variable `null'.
10738 (simula-search-backward, simula-search-forward): Remove unused
10739 variables `begin' and `end'.
10740
10741 * progmodes/vera-mode.el (vera-guess-basic-syntax):
10742 Remove unused variable `pos'.
10743 (vera-electric-tab, vera-comment-uncomment-region):
10744 Mark unused parameters.
10745 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10746
7ede3b65
CY
107472011-04-22 Chong Yidong <cyd@stupidchicken.com>
10748
10749 * emacs-lisp/package.el (package--builtins, package-alist)
10750 (package-load-descriptor, package-built-in-p, package-activate)
10751 (define-package, package-installed-p)
10752 (package-compute-transaction, package-buffer-info)
10753 (package--push): Doc fix. Distinguish more clearly between
10754 version strings and version lists.
10755
121656e9
JB
107562011-04-21 Juanma Barranquero <lekktu@gmail.com>
10757
10758 Lexical-binding cleanup.
10759
10760 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10761 (5x5-make-mutate-best):
10762 * play/fortune.el (fortune-in-buffer):
10763 * play/gomoku.el (gomoku-init-display):
10764 * play/solitaire.el (solitaire, solitaire-do-check):
10765 * play/tetris.el (tetris-default-update-speed-function):
10766 Mark unused parameters.
10767
10768 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10769 (bubbles--shift): Remove unused variable `char-org'.
10770 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
10771 (bubbles--show-images): Remove unused variable `char'.
10772
10773 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10774 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10775 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10776 (decipher-analyze-buffer): Use ?\s.
10777 (decipher-make-checkpoint): Remove unused variable `mapping'.
10778
10779 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10780
10781 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10782 Remove unused variable `result'; use `let'.
10783
10784 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10785 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10786 (gametree-children-shown-p, gametree-compute-reduced-score):
10787 Use `ignore-errors'.
10788
10789 * play/handwrite.el (ps-lpr-switches): Declare.
10790 (handwrite): Remove unused variables `pmin' and `lastp'.
10791
10792 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10793
10794 * play/landmark.el (landmark-init-display)
10795 (landmark-update-naught-weights): Mark unused parameters.
10796 (landmark-y): Remove unused variable `noise'. Simplify.
10797 (landmark-human-plays): Remove unused variable `score'.
10798
10799 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10800 (mpuz-try-proposal): Remove unused variable `game'.
10801
10802 * play/zone.el (life-patterns): Declare.
10803
80f499c7
JB
108042011-04-20 Juanma Barranquero <lekktu@gmail.com>
10805
10806 * vc/vc.el (ediff-vc-internal): Declare function.
10807
024ff170
SM
108082011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10809
c0a193ea
SM
10810 * shell.el: Use lexical-binding and std completion UI.
10811 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10812 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10813 comint-preoutput-filter-functions rather than on
10814 comint-output-filter-functions.
10815 (shell-command-completion, shell--command-completion-data)
10816 (shell-filename-completion, shell-environment-variable-completion)
10817 (shell-c-a-p-replace-by-expanded-directory): New functions.
10818 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10819 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10820 (shell-dynamic-complete-environment-variable): Use them.
10821 (shell-dynamic-complete-as-environment-variable)
10822 (shell-dynamic-complete-as-command): Remove.
10823 (shell-match-partial-variable): Match past point.
10824 * comint.el: Clean up use of completion-at-point-functions.
10825 (comint-completion-at-point): New function.
10826 (comint-mode): Use it completion-at-point-functions.
10827 (comint-dynamic-complete): Make it obsolete.
10828 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10829 (comint-c-a-p-replace-by-expanded-history): New function.
10830 (comint-dynamic-complete-functions)
10831 (comint-replace-by-expanded-history): Use it.
10832 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10833 termination strings. Try harder to avoid second try-completion.
10834 (completion-in-region-mode-map): Disable bindings that don't work yet.
10835
2dbaa080
SM
10836 * comint.el: Use lexical-binding. Require CL.
10837 (comint-dynamic-complete-functions): Use comint-filename-completion.
10838 (comint-completion-addsuffix): Tweak custom type.
10839 (comint-filename-completion, comint--common-suffix)
10840 (comint--common-quoted-suffix, comint--table-subvert)
10841 (comint--complete-file-name-data): New functions.
10842 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10843 (comint-dynamic-list-filename-completions): Use them.
10844 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 10845
2dbaa080
SM
10846 * minibuffer.el (completion-in-region-mode):
10847 Keep completion-in-region-mode--predicate global.
10848 (completion-in-region--postch):
10849 Assume completion-in-region-mode--predicate is not null.
10850
c79a6f38
SM
10851 * progmodes/flymake.el (flymake-start-syntax-check-process):
10852 Obey `dir'. Simplify.
10853
024ff170
SM
10854 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10855 we're in VC after all.
10856
1c6c854e
CS
108572011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10858
10859 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 10860 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
10861 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10862
bed7f140
SM
108632011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10864
332e62ab
SM
10865 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10866 add sanity check.
10867
bed7f140
SM
10868 * obsolete/erc-hecomplete.el: Make obsolete.
10869 * obsolete/: Standardize obsolescence info in the header.
10870
f195c582
GM
108712011-04-20 Glenn Morris <rgm@gnu.org>
10872
10873 * calendar/solar.el (solar-horizontal-coordinates):
10874 Use the longitude argument rather than `calendar-longitude'.
10875 (solar-date-next-longitude): Remove unused locals.
10876
cb79b8c0
VJL
108772011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10878
10879 * whitespace.el: New version 13.2.1.
10880
108812011-04-20 felix <EmacsWiki> (tiny change)
10882
d8e4b68b 10883 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
10884 switching between major modes on a file.
10885
602ea69d
SM
108862011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10887
10888 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10889 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10890 multi-line comments as well.
10891
06b60517
JB
108922011-04-19 Juanma Barranquero <lekktu@gmail.com>
10893
10894 Lexical-binding cleanup.
10895
10896 * arc-mode.el (archive-mode-revert):
10897 * cmuscheme.el (scheme-interactively-start-process):
10898 * custom.el (custom-initialize-delay):
10899 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10900 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10901 * emacs-lock.el (emacs-lock-clear-sentinel):
10902 * ezimage.el (defezimage):
10903 * follow.el (follow-avoid-tail-recenter):
10904 * fringe.el (set-fringe-mode-1):
10905 * generic-x.el (bat-generic-mode-compile):
10906 * help-mode.el (help-info-variable, help-do-xref)
10907 (help-mode-revert-buffer):
10908 * help.el (view-emacs-todo):
10909 * iswitchb.el (iswitchb-completion-help):
10910 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10911 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10912 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10913 * locate.el (locate-update):
10914 * longlines.el (longlines-encode-region)
10915 (longlines-after-change-function):
10916 * outline.el (outline-isearch-open-invisible):
10917 * ps-def.el (declare-function, charset-dimension, char-width)
10918 (encode-char):
10919 * ps-mule.el (ps-mule-plot-string):
10920 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10921 (recentf-edit-list-select, recentf-edit-list-validate)
10922 (recentf-open-files-action):
10923 * rect.el (delete-whitespace-rectangle-line)
10924 (rectangle-number-line-callback):
10925 * register.el (window-configuration-to-register)
10926 (frame-configuration-to-register):
10927 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10928 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10929 (xselect-convert-to-targets, xselect-convert-to-delete)
10930 (xselect-convert-to-filename, xselect-convert-to-charpos)
10931 (xselect-convert-to-lineno, xselect-convert-to-colno)
10932 (xselect-convert-to-os, xselect-convert-to-host)
10933 (xselect-convert-to-user, xselect-convert-to-class)
10934 (xselect-convert-to-name, xselect-convert-to-integer)
10935 (xselect-convert-to-atom, xselect-convert-to-identity):
10936 * subr.el (declare, ignore, process-kill-without-query)
10937 (text-clone-maintain):
10938 * terminal.el (te-get-char, te-tic-sentinel):
10939 * tool-bar.el (tool-bar-make-keymap):
10940 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10941 * type-break.el (type-break-mode, type-break-noninteractive-query):
10942 * view.el (View-back-to-mark):
10943 * wid-browse.el (widget-browse-action, widget-browse-widget)
10944 (widget-browse-widgets, widget-browse-sexp):
10945 * widget.el (define-widget-keywords):
10946 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10947 Mark unused parameters.
10948
10949 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10950 (align-areas): Remove unused variable `look'.
10951 (align-region): Remove unused variables `real-end' and `pos-list'.
10952
10953 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10954
10955 * bindings.el (mode-line-modified, mode-line-remote):
10956 Mark unused parameters.
10957 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10958
10959 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10960 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10961
10962 * comint.el (comint-history-isearch-pop-state)
10963 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10964 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10965 (comint-substitute-in-file-name): Doc fix.
10966
10967 * completion.el (cmpl-statistics-block): Mark unused parameter.
10968 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10969 (save-completions-to-file, load-completions-from-file):
10970 Remove unused local variable `e'.
10971
10972 * composite.el (compose-chars): Remove unused variable `len'.
10973 (lgstring-insert-glyph): Remove unused variable `g'.
10974 (compose-glyph-string): Remove unused variables `ascent',
10975 `descent', `lbearing' and `rbearing'.
10976 (compose-glyph-string-relative): Remove unused variables
10977 `lbearing', `rbearing' and `wadjust'.
10978 (compose-gstring-for-graphic): Remove unused variables `header',
10979 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10980 (compose-gstring-for-terminal): Remove unused variables `header'
10981 and `nchars'. Use `let', not `let*'.
10982
10983 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10984 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10985 (Custom-buffer-done, custom-buffer-create-internal)
10986 (custom-browse-visibility-action, custom-browse-group-tag-action)
10987 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10988 (widget-magic-mouse-down-action, custom-toggle-parent)
10989 (custom-add-parent-links, custom-toggle-hide-variable)
10990 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10991 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10992 (custom-face-menu-create, custom-variable-menu-create, get)
10993 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10994 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10995 (customize-apropos): Remove unused variable `tests'.
10996 (custom-group-value-create): Remove unused variable `hidden-p'.
10997 (sort-fold-case): Declare.
10998
10999 * cus-theme.el (custom-reset-standard-faces-list)
11000 (custom-reset-standard-variables-list): Declare.
11001 (customize-create-theme, custom-theme-revert, custom-theme-write)
11002 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11003 Mark unused parameters.
11004
11005 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11006
11007 * delim-col.el (delimit-columns-max): Move defvar before first use.
11008
11009 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 11010 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
11011
11012 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11013 (auto-insert): Declare.
11014 (desktop-restore-file-buffer): Rename desktop-* parameters;
11015 mark unused ones.
11016 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11017 (desktop-buffer): Rename desktop-* parameters.
11018
11019 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11020 (dframe-reposition-frame-xemacs, dframe-help-echo)
11021 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11022 Mark unused parameters.
11023
11024 * dired-aux.el (backup-extract-version-start, overwrite-query)
11025 (overwrite-backup-query, rename-regexp-query)
11026 (rename-non-directory-query): Declare.
11027 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11028 (dired-add-entry): Remove unused variable `orig-file-name'.
11029 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11030 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11031 `dired-copy-preserve-time' directly.
11032 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11033 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11034
11035 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11036 (dired-virtual-revert, dired-make-relative-symlink):
11037 Mark unused parameters.
11038 (manual-program): Declare.
11039 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11040 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11041 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11042
11043 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11044
11045 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11046
11047 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11048 Declare.
11049
11050 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11051
11052 * electric.el (Electric-command-loop): Rename parameter
11053 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11054
11055 * expand.el (expand-in-literal): Remove unused variable `here'.
11056
11057 * facemenu.el (facemenu-add-new-color):
11058 Remove unused variable `docstring'.
11059
11060 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11061 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11062 (face-attr-construct): Mark unused parameter. Doc fix.
11063 (read-color): Remove unused variable `hex-string'.
11064
11065 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11066 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11067 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11068 (display-buffer-other-frame): Remove unused variable `old-window'.
11069 (kill-buffer-hook): Declare.
11070 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11071 Mark unused parameters.
11072 (after-find-file): Pass 1 to `auto-save-mode', not t.
11073
11074 * files-x.el (auto-insert): Declare.
11075 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11076
11077 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 11078 variable `buf'. Mark unused parameter.
06b60517
JB
11079 (find-lisp-insert-directory): Mark unused parameter.
11080
11081 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11082 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11083 (format-common-tail): Remove, unused.
11084 (format-deannotate-region): Remove unused variable `loc'.
11085 (format-annotate-region): Remove unused variable `p'.
11086 (format-annotate-single-property-change): Remove unused variables
11087 `default' and `tail'.
11088
11089 * forms.el (read-file-filter): Declare.
11090 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11091
11092 * frame.el (frame-creation-function-alist): Mark unused parameter.
11093 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11094
11095 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11096 Remove unused parameters.
11097 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11098 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11099
11100 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11101 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11102 (hfy-prepare-tag-map): Mark unused parameters.
11103 (htmlfontify-buffer): Use `called-interactively-p'.
11104
11105 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11106 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11107 (ibuffer-do-occur): Mark unused parameters.
11108 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11109 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11110
11111 * ibuffer.el: Don't quote `lambda'.
11112 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11113 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11114 Mark unused parameters.
11115
11116 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11117 (ido-completing-read): Mark unused parameters.
11118 (ido-copy-current-word): Mark unused parameters;
11119 remove unused variable `name'.
11120 (ido-sort-merged-list): Remove unused parameter `dirs'.
11121
11122 * ielm.el (ielm-input-sender): Mark unused parameter.
11123 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11124 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11125 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11126 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11127 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11128
11129 * image-dired.el (image-dired-display-thumbs): Remove unused
11130 variables `curr-file' and `count'.
11131 (image-dired-remove-tag): Remove unused variable `start'.
11132 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11133 variable `curr-file'
11134 (image-dired-rotate-original): Remove unused variable `temp-file'.
11135 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11136 Remove unused variable `file'.
11137 (image-dired-gallery-generate): Remove unused variable `curr'.
11138 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11139
11140 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11141
11142 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11143
11144 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11145
11146 * isearch.el (minibuffer-history-symbol): Declare.
11147 (isearch-edit-string): Remove unused variable `err'.
11148 (isearch-message-prefix, isearch-message-suffix):
11149 Mark unused parameters.
11150
11151 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11152
11153 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11154
11155 * makesum.el (double-column): Remove unused variable `cnt'.
11156
11157 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11158 (ido-ignore-item-temp-list): Declare.
11159
11160 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11161 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11162 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11163 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11164 `mouse-col-delta'.
11165
11166 * mouse-sel.el (mouse-extend-internal):
11167 Remove unused variable `orig-window-frame'.
11168
11169 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11170 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11171 Move declarations before first use.
11172 (pcomplete-opt): Mark unused parameters; doc fix.
11173
11174 * proced.el (proced-revert): Mark unused parameter.
11175 (proced-send-signal): Remove unused variable `err'.
11176
11177 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11178 Rename parameter PREFIX-ARG to ARG.
11179 (ps-basic-plot-string, ps-basic-plot-whitespace):
11180 Mark unused parameters.
11181
11182 * replace.el (replace-count): Define.
11183 (occur-revert-function): Mark unused parameters.
11184 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11185 (isearch-case-fold-search, isearch-string): Declare.
11186 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11187 bind `case-fold-search'. Remove unused variables `beg' and `end',
11188 and simplify.
11189 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11190 COUNT and bind `replace-count'.
11191 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11192 to COUNT.
11193
11194 * savehist.el (print-readably, print-string-length): Declare.
11195
11196 * shadowfile.el (shadow-expand-cluster-in-file-name):
11197 Remove unused variable `cluster'.
11198 (shadow-copy-file): Remove unused variable `i'.
11199 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11200 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11201 (shadow-define-literal-group, shadow-define-regexp-group)
11202 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11203
11204 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11205 (shell): Use `called-interactively-p'.
11206 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11207
11208 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11209 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11210 (delete-backward-char): Remove unused variable `ocol'.
11211 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11212 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11213 (event-apply-hyper-modifier, event-apply-shift-modifier)
11214 (event-apply-control-modifier, event-apply-meta-modifier):
11215 Mark unused parameters.
11216 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11217 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11218
11219 * speedbar.el (speedbar-ignored-directory-expressions)
11220 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11221 (speedbar-find-file, speedbar-dir-follow)
11222 (speedbar-directory-buttons-follow, speedbar-tag-find)
11223 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11224 (speedbar-buffers-line-directory, speedbar-buffer-click):
11225 Mark unused parameters.
11226 (speedbar-tag-file): Remove unused variable `mode'.
11227 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11228
11229 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11230
11231 * talk.el (talk): Remove unused variable `display'.
11232
11233 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11234 (tar-write-region-annotate): Mark unused parameter.
11235
11236 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11237 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11238 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11239 warning by another.
11240
11241 * time-stamp.el (time-stamp-string-preprocess):
11242 Remove unused variable `require-padding'.
11243
11244 * tree-widget.el (widget-glyph-enable): Declare.
11245 (tree-widget-action): Mark unused parameter.
11246
11247 * w32-fns.el (x-get-selection): Mark unused parameter.
11248 (autoload-make-program, generated-autoload-file): Declare.
11249
11250 * wdired.el (wdired-revert): Mark unused parameters.
11251 (wdired-xcase-word): Remove unused variable `err'.
11252
11253 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11254 (whitespace-help-scroll): Remove unused variable `data-help'.
11255
11256 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11257 (widget-image-insert, widget-after-change, default)
11258 (widget-default-format-handler, widget-default-notify)
11259 (widget-default-prompt-value, widget-info-link-action)
11260 (widget-url-link-action, widget-function-link-action)
11261 (widget-variable-link-action, widget-file-link-action)
11262 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11263 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11264 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11265 (widget-insert-button-action, widget-delete-button-action, visibility)
11266 (widget-documentation-link-action, widget-documentation-string-action)
11267 (widget-const-prompt-value, widget-regexp-match, symbol)
11268 (widget-coding-system-prompt-value)
11269 (widget-key-sequence-value-to-external, sexp)
11270 (widget-sexp-value-to-internal, character, vector, cons)
11271 (widget-choice-prompt-value, widget-boolean-prompt-value)
11272 (widget-color--choose-action): Mark unused parameters.
11273 (widget-item-match-inline, widget-choice-match-inline)
11274 (widget-checklist-match, widget-checklist-match-inline)
11275 (widget-group-match): Rename parameter VALUES to VALS.
11276 (widget-field-value-set): Remove unused variable `size'.
11277 (widget-color-action): Remove unused variables `value' and `start'.
11278
11279 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 11280 variable `dir'. Doc fix.
06b60517
JB
11281 (windmove-find-other-window): Don't pass it.
11282
11283 * window.el (count-windows): Mark unused parameter.
11284 (bw-adjust-window): Remove unused variable `err'.
11285
11286 * woman.el (woman-file-name): Remove unused variable `default'.
11287 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11288 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11289 (global-font-lock-mode): Declare.
11290 (woman-decode-region): Mark unused parameter.
11291 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11292
11293 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11294 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11295 (x-dnd-handle-moz-url): Remove unused variable `title'.
11296 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11297
11298 * xml.el (xml-parse-tag, xml-parse-attlist):
11299 Remove unused variable `pos'.
11300
bc4f7f3d
GM
113012011-04-19 Glenn Morris <rgm@gnu.org>
11302
11303 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11304 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11305 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11306 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11307 * calendar/cal-html.el (cal-html-insert-minical):
11308 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11309 (calendar-mark-date-pattern):
11310 Prefix "unused" locals.
11311
11312 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11313 optional argument `style'.
11314
11315 * calendar/appt.el (appt-make-list):
11316 * calendar/cal-china.el (calendar-chinese-date-string):
11317 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11318 (diary-hebrew-yahrzeit):
11319 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11320 * calendar/calendar.el (calendar-generate-window):
11321 * calendar/time-date.el (time-to-days):
11322 Remove unused local variables.
11323
16a43933
CY
113242011-04-18 Chong Yidong <cyd@stupidchicken.com>
11325
11326 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11327 glyphless-char-display table.
11328 (tabulated-list-glyphless-char-display): New var.
11329
7eed1860
SS
113302011-04-18 Sam Steingold <sds@gnu.org>
11331
11332 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11333 to acknowledgments.
11334
4d2d1ccd
GM
113352011-04-17 Glenn Morris <rgm@gnu.org>
11336
11337 * calendar/diary-lib.el (diary-sexp-entry):
11338 * calendar/holidays.el (holiday-sexp):
11339 Set debug-on-error rather than the removed stack-trace-on-error.
11340
239da61d
GM
113412011-04-16 Glenn Morris <rgm@gnu.org>
11342
11343 * progmodes/f90.el: Use lexical-binding.
11344 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11345
8b05752a
SM
113462011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11347
daca8ba5
SM
11348 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11349 (mail-mode): Setup mailalias completion here instead.
11350 * mail/mailalias.el: Use lexical-binding.
11351 (pattern, mailalias-done): Declare dynamic.
11352 (mail-completion-at-point-function): New function, from mail-complete.
11353 (mail-complete): Use it.
11354 (mail-completion-expand): New function.
11355 (mail-get-names): Use it.
11356 (mail-directory, mail-directory-process, mail-directory-stream):
11357 Don't use `pattern' for lexically bound arg.
11358
6f542485
SM
11359 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11360
037e7c3f
SM
11361 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11362 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11363 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11364
8b05752a
SM
11365 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11366 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11367 (byte-interactive-p): Define them again, for use when inlining
11368 old code.
11369
49093f60
JB
113702011-04-15 Juanma Barranquero <lekktu@gmail.com>
11371
11372 * loadup.el: Use `string-to-number', not `string-to-int'.
11373
b5b8e7de
SM
113742011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11375
11376 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11377 gud-gdb-complete-command.
11378 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11379 (gud-gdb-completion-at-point): New function.
11380 (gud-gdb-completions): Remove.
11381
f42efeb5
MA
113822011-04-14 Michael Albinus <michael.albinus@gmx.de>
11383
49093f60
JB
11384 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11385 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11386 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11387 whether `executable-find' is bound.
f42efeb5
MA
11388
11389 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11390
e240cc21
SM
113912011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11392
11393 * minibuffer.el (completion-in-region-mode-predicate)
11394 (completion-in-region-mode--predicate): New vars.
11395 (completion-in-region, completion-in-region--postch)
11396 (completion-in-region-mode): Use them.
11397 (completion--capf-wrapper): Also return the hook function.
11398 (completion-at-point, completion-help-at-point):
11399 Adjust and provide a predicate.
c2bd2ab0
SM
11400
11401 Preserve arg names for advice of subr and lexical functions (bug#8457).
11402 * help-fns.el (help-function-arglist): Consolidate the subr and
11403 new-byte-code cases. Add argument `preserve-names' to extract names
11404 from the docstring when needed.
11405 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11406 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11407 (ad-arglist): Use help-function-arglist's new arg.
11408 (ad-definition-type): Use cond.
11409
c183f693
JB
114102011-04-13 Juanma Barranquero <lekktu@gmail.com>
11411
06641a47
JB
11412 * autorevert.el (auto-revert-handler):
11413 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11414 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11415 Don't quote lambda.
11416
c183f693
JB
11417 * image-mode.el (image-transform-set-scale):
11418 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11419
1e3b6001
G
114202011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11421
11422 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 11423 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
11424 Upgrades via gnutls-cli are too slow to be done opportunistically.
11425
2d6af8dd
JB
114262011-04-12 Juanma Barranquero <lekktu@gmail.com>
11427
11428 * dframe.el (dframe-current-frame): Remove spurious quote.
11429
c0749a51
GM
114302011-04-12 Glenn Morris <rgm@gnu.org>
11431
088d0d61
GM
11432 * calendar/cal-tex.el (cal-tex-end-document):
11433 Try to automatically use latin1 input if needed.
11434
c0749a51
GM
11435 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11436 Don't try to cons a mark onto an empty element.
11437
5c90fde0
LL
114382011-04-11 Leo Liu <sdl.web@gmail.com>
11439
11440 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11441 buffers.
11442 (ido-kill-buffer-at-head): Support killing virtual buffers.
11443
369e974d
CY
114442011-04-10 Chong Yidong <cyd@stupidchicken.com>
11445
11446 * minibuffer.el (completion-show-inline-help): New var.
11447 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
11448 (minibuffer-force-complete, minibuffer-complete-word):
11449 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
11450
11451 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11452 to avoid interference from inline help (Bug#5849).
11453
37f1c930
LL
114542011-04-10 Leo Liu <sdl.web@gmail.com>
11455
099c39a4
JB
11456 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11457 Fix typo.
37f1c930 11458
a32d4040
CY
114592011-04-09 Chong Yidong <cyd@stupidchicken.com>
11460
11461 * image-mode.el (image-toggle-display-image): Signal an error if
11462 not in Image mode.
11463 (image-transform-mode, image-transform-resize)
11464 (image-transform-set-rotation): Doc fix.
daca8ba5 11465 (image-transform-set-resize): Delete.
a32d4040
CY
11466 (image-transform-set-scale, image-transform-fit-to-height)
11467 (image-transform-fit-to-width): Handle image-toggle-display-image
11468 and image-transform-resize directly.
11469
099c39a4 114702011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
11471
11472 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
11473 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11474 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
11475 (doc-view-mode-map): Add bindings for the new functions.
11476
099c39a4 114772011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 11478
4d61f28d 11479 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
11480 Fix typo in docstring.
11481
3726838a
EZ
114822011-04-08 Eli Zaretskii <eliz@gnu.org>
11483
04f33f1e
EZ
11484 * files.el (file-size-human-readable): Produce one digit after
11485 decimal, like "ls -lh" does.
11486
11487 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11488 the file size representation.
11489
3726838a
EZ
11490 * simple.el (list-processes): If async subprocesses are not
11491 available, error out with a clear error message.
11492
cbb59342
CY
114932011-04-08 Chong Yidong <cyd@stupidchicken.com>
11494
11495 * help.el (help-form-show): New function, to be called from C.
11496 Put help-form output in a buffer named differently than *Help*.
11497
e3971c44
EZ
114982011-04-08 Eli Zaretskii <eliz@gnu.org>
11499
11500 * files.el (file-size-human-readable): New function.
11501
11502 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11503 computing the representation inline. Don't require `cl'.
11504
12544bbe
GM
115052011-04-08 Glenn Morris <rgm@gnu.org>
11506
a1de6c6a
GM
11507 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11508
3c4671f4
GM
11509 * net/browse-url.el (browse-url-firefox):
11510 Test system-type, not system-configuration.
11511
b605679c
GM
11512 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11513 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11514 Use log-edit-empty-buffer-p. (Bug#7598)
11515
56442f0c
GM
11516 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11517 (rlogin-mode-map): Initialize in the defvar.
11518 (rlogin): Use ignore-errors.
11519
12544bbe
GM
11520 * replace.el (occur-mode-map): Some fixes for menu items.
11521
eb237b0f
AH
115222011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11523
11524 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
11525
7d668f2c
CY
115262011-04-06 Chong Yidong <cyd@stupidchicken.com>
11527
e67a13ab
CY
11528 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11529 issuing unused warnings.
11530
11531 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11532 macro directly.
11533
7d668f2c
CY
11534 * simple.el: Lisp reimplement of list-processes. Based on an
11535 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11536 (process-menu-mode): New major mode.
11537 (list-processes--refresh, list-processes):
11538 (process-menu-visit-buffer): New functions.
11539
11540 * files.el (save-buffers-kill-emacs): Don't assume any return
11541 value of list-processes, which is undocumented anyway.
11542
a83ec3c9
CY
115432011-04-06 Chong Yidong <cyd@stupidchicken.com>
11544
11545 * emacs-lisp/tabulated-list.el: New file.
11546
e91a96fe
CY
11547 * emacs-lisp/package.el: Use Tabulated List mode.
11548 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11549 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11550 table format using Tabulated List mode variables.
11551 (package--push): New macro, replacing package-list-maybe-add.
11552 (package-menu--generate): Use package--push. Renamed from
11553 package--generate-package-list.
11554 (package-menu-refresh, list-packages): Use it.
daca8ba5 11555 (package-menu--print-info): Rename from package-print-package.
e91a96fe 11556 Return insertion data instead of inserting it directly.
099c39a4
JB
11557 (package-menu-describe-package, package-menu-execute):
11558 Use tabulated-list-get-id.
e91a96fe
CY
11559 (package-menu-mark-delete, package-menu-mark-install)
11560 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
11561 (package-menu-mark-obsolete-for-deletion):
11562 Use tabulated-list-put-tag.
e91a96fe
CY
11563 (package--list-packages, package-menu-revert)
11564 (package-menu-get-package, package-menu-get-version)
11565 (package-menu-sort-by-column): Functions deleted.
11566 (package-menu-package-list, package-menu-sort-key): Vars deleted.
11567 (package-menu--status-predicate, package-menu--version-predicate)
11568 (package-menu--name-predicate)
11569 (package-menu--description-predicate): Handle arguments in the
11570 Tabulated List format.
11571 (package-list-packages-no-fetch): Call list-packages.
11572
3e214b50
JB
115732011-04-06 Juanma Barranquero <lekktu@gmail.com>
11574
11575 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 11576 (after-find-file): Don't bind it.
3e214b50
JB
11577 (revert-buffer-in-progress-p): New variable.
11578 (revert-buffer): Bind it.
11579 Pass nil for `after-find-file-from-revert-buffer'.
11580
11581 * saveplace.el (save-place-find-file-hook): Use new variable
11582 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11583
3f0f1700
GM
115842011-04-06 Glenn Morris <rgm@gnu.org>
11585
c0274801
GM
11586 * Makefile.in (AUTOGEN_VCS): New variable.
11587 (autoloads): Use $AUTOGEN_VCS.
11588
3f0f1700
GM
11589 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11590 * calendar/calendar.el (calendar-mode-map):
11591 Check for toolkit scroll bars. (Bug#8305)
11592
41ea9e48
CY
115932011-04-05 Chong Yidong <cyd@stupidchicken.com>
11594
11595 * minibuffer.el (completion-in-region--postch)
11596 (completion-in-region-mode): Remove unnecessary messages.
11597
6194c800
JB
115982011-04-05 Juanma Barranquero <lekktu@gmail.com>
11599
33256f14
JB
11600 * font-lock.el (font-lock-refresh-defaults):
11601 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11602 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11603
6194c800
JB
11604 * info.el (Info-directory-list, Info-read-node-name-2)
11605 (Info-split-parameter-string): Doc fixes.
11606 (Info-virtual-nodes): Reflow docstring.
11607 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11608 (Info-apropos-toc-nodes, info-finder, Info-get-token)
11609 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11610 Fix typos in docstrings.
11611 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11612 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11613 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11614 (Info-restore-desktop-buffer): Mark unused parameters.
11615 (Info-directory-find-file, Info-directory-find-node)
11616 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11617 (Info-virtual-index-find-node, Info-apropos-find-file)
11618 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 11619 Mark unused parameters; fix typos in docstrings.
6194c800
JB
11620 (Info-virtual-index): Remove unused local variable `nodename'.
11621
b87a8200 116222011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 11623
b87a8200
DD
11624 * net/rcirc.el: Update my e-mail address.
11625 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 11626
3b2ff876
CY
116272011-04-05 Chong Yidong <cyd@stupidchicken.com>
11628
11629 * startup.el (command-line): Save the cursor's theme-face
11630 directly, instead of using face-override-spec.
11631
11632 * custom.el (load-theme): Minor optimization in assigning faces.
11633
8d17e7ca
JB
116342011-04-04 Juanma Barranquero <lekktu@gmail.com>
11635
11636 * help-fns.el (describe-variable): Complete all variables having
11637 documentation, including keywords.
11638 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11639
2fbc1934
JB
116402011-04-04 Juanma Barranquero <lekktu@gmail.com>
11641
11642 Convert to lexical-binding.
11643
11644 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11645 (bs--get-marked-string, bs--get-modified-string)
11646 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11647 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11648 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11649
11650 * ehelp.el (electric-help-execute-extended)
11651 (electric-help-ctrl-x-prefix):
11652 * hexl.el (hexl-revert-buffer-function):
11653 * linum.el (linum-after-change, linum-after-scroll):
11654 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11655
11656 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11657
74f50695
DU
116582011-04-04 Daiki Ueno <ueno@unixuser.org>
11659
11660 * epa-dired.el:
11661 * epa-mail.el:
11662 * epa-hook.el:
11663 * epa-file.el:
11664 * epa.el:
11665 * epg.el: Use lexical binding.
11666
c11325f7
CY
116672011-04-03 Chong Yidong <cyd@stupidchicken.com>
11668
0d9e9a12
CY
11669 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11670
c11325f7 11671 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
11672 dictionary case for flyspell-mark-duplications-exceptions.
11673 Use regexp matching for languages.
c11325f7
CY
11674 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11675 default dictionary (Bug#7926).
11676
da91b5f2
CY
116772011-04-02 Chong Yidong <cyd@stupidchicken.com>
11678
099c39a4
JB
11679 * emacs-lisp/package.el (package--with-work-buffer):
11680 Recognize https URLs.
da91b5f2 11681
099c39a4
JB
11682 * net/network-stream.el: Move from gnus/proto-stream.el.
11683 Change prefix to network-stream throughout.
da91b5f2
CY
11684 (open-protocol-stream): Merge into open-network-stream, leaving
11685 open-protocol-stream as an alias. Handle nil BUFFER args.
11686
11687 * subr.el (open-network-stream): Move to net/network-stream.el.
11688
afa8e9f6
GM
116892011-04-02 Glenn Morris <rgm@gnu.org>
11690
1d2e369d
GM
11691 * find-dired.el (find-exec-terminator): New option.
11692 (find-ls-option): Test for -ls support.
11693 (find-ls-subdir-switches): Test for -b in find-ls-option.
11694 (find-dired, find-grep-dired): Doc fixes.
11695 (find-dired): Use find-exec-terminator.
11696
8abb7da8 11697 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
11698 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11699 (find-name-arg): Remove purecopy.
8abb7da8 11700
f3ca7378
GM
11701 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11702 (grep-compute-defaults): Check for `-exec COMMAND +' support.
11703 Set grep-find-use-xargs, grep-find-command, and grep-find-template
11704 accordingly. Don't add the null-device if not needed.
11705
afa8e9f6
GM
11706 * files.el (save-some-buffers): Doc fix.
11707
35eae264
EZ
117082011-04-02 Eli Zaretskii <eliz@gnu.org>
11709
11710 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11711
26b51db5
JB
117122011-04-01 Juanma Barranquero <lekktu@gmail.com>
11713
11714 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11715 Use `dolist' rather than `mapcar'.
11716
7200d79c
SM
117172011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11718
03408648 11719 Add lexical binding.
7200d79c 11720
03408648
SM
11721 * subr.el (apply-partially): Use new closures rather than CL.
11722 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11723 (dolist, dotimes): Use slightly different expansion for lexical code.
11724 (functionp): Move to C.
11725 (letrec): New macro.
11726 (with-wrapper-hook): Use it and apply-partially instead of CL.
11727 (eval-after-load): Preserve lexical-binding.
11728 (save-window-excursion, with-output-to-temp-buffer): Turn them
11729 into macros.
7200d79c 11730
03408648
SM
11731 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11732
11733 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11734 than the arglist.
11735 (help-add-fundoc-usage): Don't add `Not documented'.
11736 (help-function-arglist): Handle closures, subroutines, and new
11737 byte-code-functions.
11738 (help-make-usage): Remove leading underscores.
11739 (describe-function-1): Handle closures.
11740 (describe-variable): Use special-variable-p for completion.
11741
11742 * files.el (lexical-binding): Declare safe.
f488fb65 11743
03408648
SM
11744 * emacs-lisp/pcase.el: Don't use destructuring-bind.
11745 (pcase--memoize): Rename from pcase-memoize. Change weakness.
11746 (pcase): Add `let' pattern.
11747 Change memoization so it actually works.
11748 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11749 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11750 <let>: New case.
f488fb65 11751
03408648
SM
11752 * emacs-lisp/macroexp.el: Use lexical binding.
11753 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
11754 Don't convert ' to #' without checking that it's indeed quoting
11755 a lambda.
11756
11757 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 11758 Use eval-sexp-add-defvars.
03408648
SM
11759 (eval-sexp-add-defvars): New fun.
11760
11761 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11762
11763 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11764 Don't autoload.
11765 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11766 than the internal `byte-compile-lambda'.
11767 (defmethod): Don't hide code under quotes.
11768 (eieio-defmethod): New `code' argument.
11769
11770 * emacs-lisp/eieio-comp.el: Remove.
11771
11772 * emacs-lisp/edebug.el (edebug-eval-defun)
11773 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11774 (edebug-toggle): Avoid `eval'.
11775
11776 * emacs-lisp/disass.el (disassemble-internal): Handle new
11777 `closure' objects.
11778 (disassemble-1): Handle new byte codes.
11779
11780 * emacs-lisp/cl.el (pushnew): Silence warning.
11781
11782 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11783 (cl-byte-compile-throw): Remove.
11784 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11785
11786 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11787 closures.
11788
11789 * emacs-lisp/cconv.el: New file.
11790
11791 * emacs-lisp/bytecomp.el: Use lexical binding instead of
11792 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
11793 (byte-compile-initial-macro-environment):
11794 Handle declare-function here.
11795 (byte-compile--lexical-environment): New var.
11796 (byte-stack-ref, byte-stack-set, byte-discardN)
11797 (byte-discardN-preserve-tos): New lap codes.
11798 (byte-interactive-p): Don't use any more.
11799 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11800 New macros.
11801 (byte-compile-lapcode): Use them and handle new lap codes.
11802 (byte-compile-obsolete): Remove.
11803 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11804 (byte-compile-arglist-warn): Check late def of inlinable funs.
11805 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11806 since they should have been expanded by now.
11807 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11808 (byte-compile-from-buffer): Remove unused second arg.
11809 (byte-compile-preprocess): New function.
11810 (byte-compile-toplevel-file-form): New function to distinguish
11811 file-form calls from outside from file-form calls from hunk-handlers.
11812 (byte-compile-file-form): Simplify.
11813 (byte-compile-file-form-defsubst): Remove.
11814 (byte-compile-file-form-defmumble): Simplify now that
11815 byte-compile-lambda always returns a byte-code-function.
11816 (byte-compile): Preprocess.
11817 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11818 Remove, not used any more.
11819 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11820 (byte-compile-make-args-desc): New funs.
11821 (byte-compile-lambda): Handle lexical functions. Always return
11822 a byte-code-function.
11823 (byte-compile-reserved-constants): New var, to make up room for
11824 closed-over variables.
11825 (byte-compile-constants-vector): Obey it.
11826 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11827 (byte-compile-macroexpand-declare-function): New function.
11828 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11829 byte-code-functions.
11830 (byte-compile-form): Check obsolescence here.
11831 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11832 (byte-compile-variable-ref): Remove.
11833 (byte-compile-dynamic-variable-op): New fun.
11834 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11835 (byte-compile-variable-set): New funs.
11836 (byte-compile-discard): Add 2 args.
11837 (byte-compile-stack-ref, byte-compile-stack-set)
11838 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11839 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11840 macroexpand-all instead.
11841 (byte-compile-quote-form): Remove.
11842 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11843 (byte-compile-bind, byte-compile-unbind): New funs.
11844 (byte-compile-let): Handle let* and lexical binding.
11845 (byte-compile-let*): Remove.
11846 (byte-compile-catch, byte-compile-unwind-protect)
11847 (byte-compile-track-mouse, byte-compile-condition-case):
11848 Handle a new :fun-body form, used for lexical scoping.
11849 (byte-compile-save-window-excursion)
11850 (byte-compile-with-output-to-temp-buffer): Remove.
11851 (byte-compile-defun): Simplify.
11852 (byte-compile-stack-adjustment): New fun.
11853 (byte-compile-out): Use it.
11854 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11855
11856 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11857 handler any more.
11858
11859 * emacs-lisp/byte-opt.el: Use lexical binding.
11860 (byte-inline-lapcode): Remove (to bytecomp).
11861 (byte-compile-inline-expand): Pay attention to inlining to/from
11862 lexically bound code.
11863 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11864 any more.
11865 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11866 any more and don't call compiler-macros.
11867 (byte-compile-splice-in-already-compiled-code): Remove.
11868 (byte-code): Don't inline any more.
11869 (disassemble-offset): Receive `bytes' as argument rather than via
11870 dynamic scoping.
11871 (byte-compile-tag-number): Declare before first use.
11872 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11873 `return' even if make-spliceable.
11874 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11875 obsolete interactive-p.
11876 (byte-optimize-lapcode): Optimize new lap-codes.
11877 Don't trip up on new form of `byte-constant' lap code.
11878
11879 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11880
11881 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11882
11883 * custom.el (custom-initialize-default, custom-declare-variable):
11884 Use `defvar'.
11885
11886 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11887 New variables.
11888 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11889 (COMPILE_FIRST): Add macroexp and cconv.
11890 * makefile.w32-in: Mirror changes in Makefile.in.
11891
11892 * vc/cvs-status.el:
11893 * vc/diff-mode.el:
11894 * vc/log-edit.el:
11895 * vc/log-view.el:
11896 * vc/smerge-mode.el:
11897 * textmodes/bibtex-style.el:
11898 * textmodes/css.el:
11899 * startup.el:
11900 * uniquify.el:
da91b5f2
CY
11901 * minibuffer.el:
11902 * newcomment.el:
11903 * reveal.el:
11904 * server.el:
11905 * mpc.el:
11906 * emacs-lisp/smie.el:
11907 * doc-view.el:
11908 * dired.el:
03408648
SM
11909 * abbrev.el: Use lexical binding.
11910
0f0c1f27
EZ
119112011-04-01 Eli Zaretskii <eliz@gnu.org>
11912
11913 * info.el (info-display-manual): New function.
11914
c82b2579
SM
119152011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11916
11917 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11918
221ddf68
TH
119192011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11920
11921 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 11922 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 11923
cba6e77e
GM
119242011-03-31 Glenn Morris <rgm@gnu.org>
11925
e040639f
GM
11926 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11927
cba6e77e
GM
11928 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11929
6d0f1c9e
CS
119302011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11931
11932 * progmodes/python.el (python-default-interpreter)
11933 (python-python-command-args, python-jython-command-args)
11934 (python-which-shell, python-which-args, python-which-bufname)
11935 (python-file-queue, python-comint-output-filter-function)
11936 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11937 variables and functions.
11938
3e2d70fd
SM
119392011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11940
11941 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11942 (completion-in-region-mode): New minor mode.
11943 (completion-in-region): Use it.
11944 (completion-in-region--data, completion-in-region-mode-map): New vars.
11945 (completion-in-region--postch): New function.
11946 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11947 New vars.
11948 (completion--capf-wrapper): New function.
11949 (completion-at-point): Use it to track well-behavedness of
11950 hook functions.
11951 (completion-help-at-point): New command.
11952
f3e4086c
JM
119532011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11954
11955 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11956 syntax class to search for whitespace on a single line
11957 (Message-ID: <4D938140.4030905@redhat.com>).
11958
eb7ffc14
LL
119592011-03-30 Leo Liu <sdl.web@gmail.com>
11960
11961 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11962 New commands.
11963 (edit-abbrevs-map): Bind them here.
11964 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11965
d806ab68
KM
119662011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11967
11968 * allout.el (allout-hide-by-annotation, allout-flag-region):
11969 Reduce possibility of overlay leakage by making them volatile.
11970
11971 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11972 hash is not shared between buffers. Mode initialization is
11973 responsible for giving it a useful starting value.
11974 (allout-item-span): Reduce possibility of overlay leakage by
11975 making them volatile.
11976 (allout-widgets-count-buttons-in-region): Add diagnostic function
11977 for tracking down button overlay leaks.
11978
ea622834
LL
119792011-03-29 Leo Liu <sdl.web@gmail.com>
11980
11981 * ido.el (ido-read-internal): Use the default history var
11982 minibuffer-history if no HISTORY is specified.
11983
b62f8267
G
119842011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11985
03408648
SM
11986 * net/imap.el (imap-shell-open, imap-process-connection-type):
11987 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
11988 Kerberos, SSL, other subprocesses.
11989
947b6566
LL
119902011-03-28 Leo Liu <sdl.web@gmail.com>
11991
11992 * abbrev.el (abbrev-table-empty-p): New function.
11993 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11994 nonempty ones. (Bug#5937)
11995
5ffb62aa
JD
119962011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11997
11998 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11999
7a097943
LL
120002011-03-27 Leo Liu <sdl.web@gmail.com>
12001
12002 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12003 for foreground and background colors.
12004 (ansi-color-make-color-map): Adapt.
12005
c5b40130
LL
120062011-03-25 Leo Liu <sdl.web@gmail.com>
12007
1f48f7d2
LL
12008 * midnight.el (midnight-time-float): Remove. Note it calculates
12009 the microsecond component incorrectly and seconds-to-time does the
12010 same job.
625897ec 12011 Remove redundant (require 'timer).
1f48f7d2 12012
c5b40130
LL
12013 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12014 (ido-completions): Remove unused arguments. (Bug#8329)
12015
d86d2721
SM
120162011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12017
12018 * minibuffer.el (completion--flush-all-sorted-completions):
12019 Remove itself from hook.
12020 (completion-at-point): Let the functions perform the completion
12021 immediately and return nil or t.
12022 * comint.el (comint-dynamic-complete-functions): Now identical to
12023 completion-at-point-functions.
12024 (comint-dynamic-list-input-ring): Remove unused var `index'.
12025 (comint--match-partial-filename, comint--unquote&expand-filename):
12026 New funs, split from comint-match-partial-filename.
12027 (comint-dynamic-complete): Use completion-at-point.
12028 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12029
e8974c48
DA
120302011-03-24 Drew Adams <drew.adams@oracle.com>
12031
12032 * thingatpt.el: Support `defun'.
12033
def71b5e
LL
120342011-03-23 Leo Liu <sdl.web@gmail.com>
12035
cb5af48e
LL
12036 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12037
def71b5e
LL
12038 * help-mode.el (help-mode-finish): Tweak regexp.
12039
927c53e7
GM
120402011-03-23 Glenn Morris <rgm@gnu.org>
12041
18d05bed
GM
12042 * eshell/esh-opt.el (eshell-eval-using-options):
12043 Do not bind unused local variable `eshell-option-stub'.
12044
927c53e7
GM
12045 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12046
9d0da923
JB
120472011-03-22 Juanma Barranquero <lekktu@gmail.com>
12048
12049 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12050 keymap variable in `with-no-warnings' to avoid a warning when the
12051 keymap has been already `defconst'ed.
12052
4b978a67
LL
120532011-03-22 Leo Liu <sdl.web@gmail.com>
12054
12055 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12056 encode all chars in abbrevs; otherwise use emacs-mule or
12057 utf-8-emacs. (Bug#8308)
12058
5fd62452
JB
120592011-03-22 Juanma Barranquero <lekktu@gmail.com>
12060
0b1596c6
JB
12061 * simple.el (backward-delete-char-untabify):
12062 Avoid warning about using `delete-backward-char'.
12063
5fd62452
JB
12064 * image.el (image-type-file-name-regexps): Make it variable.
12065 `imagemagick-register-types' modifies it, and the user may want
12066 to add new extensions for known image types.
12067 (imagemagick-register-types): Throw error if not using ImageMagick.
12068
0b4e93f1
LL
120692011-03-22 Leo Liu <sdl.web@gmail.com>
12070
12071 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12072 located before rcirc-prompt-end-marker.
12073 (rcirc-complete): Error if point is not after rcirc prompt.
12074 Handle the case when table is nil.
9882e214 12075 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 12076
fccee4ab
CY
120772011-03-22 Chong Yidong <cyd@stupidchicken.com>
12078
12079 * custom.el (custom--inhibit-theme-enable): Make it affect only
12080 custom-theme-set-variables and custom-theme-set-faces.
12081 (provide-theme): Ignore custom--inhibit-theme-enable.
12082 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12083 (custom-enabling-themes): Delete variable.
d86d2721
SM
12084 (enable-theme): Accept only loaded themes as arguments.
12085 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
12086 (custom-enabled-themes): Forbid themes from setting this.
12087 Eliminate use of custom-enabling-themes.
12088 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 12089
af896da6
LL
120902011-03-21 Leo Liu <sdl.web@gmail.com>
12091
12092 * ido.el (ido-read-internal): Add ido-selected to history instead
12093 of user input.
12094
78f64af0
SM
120952011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12096
12097 * subr.el (deferred-action-list, deferred-action-function):
12098 Mark obsolete.
12099
b16ac1ec
LL
121002011-03-21 Leo Liu <sdl.web@gmail.com>
12101
810f7698
LL
12102 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12103 change on 2011-02-13 (bug#8309).
12104
b16ac1ec
LL
12105 * minibuffer.el (read-file-name-function): Change default value.
12106 (read-file-name--defaults): Rename from read-file-name-defaults.
12107 (read-file-name-default): Rename from read-file-name.
12108 (read-file-name): Call read-file-name-function.
12109
4e05e67e
GM
121102011-03-21 Glenn Morris <rgm@gnu.org>
12111
12112 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12113 Doc fixes.
12114
4359915b
CY
121152011-03-21 Chong Yidong <cyd@stupidchicken.com>
12116
12117 * cus-theme.el: Add missing provide statement.
12118 (customize-create-theme): Extract theme value correctly.
12119 (custom-theme-visit-theme): Autoload.
12120 (customize-create-theme): Prompt before inserting default faces.
12121
1fe275ee
JB
121222011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12123
12124 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12125 units and musical notes.
12126
cd394be1 121272011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
12128
12129 * ido.el (ido-read-internal): Use completing-read-default.
12130 (ido-completing-read): Fix compatibility with completing-read.
12131
7d476bde
CO
121322011-03-20 Christian Ohler <ohler@gnu.org>
12133
12134 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12135 (ert-delete-all-tests): Use `called-interactively-p' rather than
12136 `interactive-p'.
12137 (ert--make-xrefs-region): Respect END.
12138
fe0fb33e
CY
121392011-03-19 Chong Yidong <cyd@stupidchicken.com>
12140
ff854b0b
CY
12141 * dired-aux.el (dired-create-directory): Signal an error if the
12142 directory already exists (Bug#8246).
12143
fe0fb33e
CY
12144 * facemenu.el (list-colors-display): Call list-faces-display
12145 inside with-help-window.
12146 (list-colors-print): Use display property to align the final
12147 column, instead of checking window-width.
12148
576bce32
EZ
121492011-03-19 Eli Zaretskii <eliz@gnu.org>
12150
4d61f28d 12151 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
12152 windows-nt systems.
12153 (emerge-protect-metachars): Quote correctly for ms-dos and
12154 windows-nt systems.
12155
89c41d68 121562011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
12157
12158 * info.el (info-initialize): Replace all uses of `:' with
12159 path-separator for compatibility with non-Unix systems.
12160 Cache quoting of path-separator. (Bug#8258)
12161
b14e3e21 121622011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
12163
12164 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12165 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12166 (mouse-avoidance-mode): Fix typos in docstrings.
12167
4525ce3e
CY
121682011-03-19 Chong Yidong <cyd@stupidchicken.com>
12169
12170 * startup.el (package-subdirectory-regexp): Move from package.el.
12171 Omit \\` and \\', and let callers add them.
12172
12173 * emacs-lisp/package.el (package-strip-version)
12174 (package-load-all-descriptors): Add \\` and \\' to
12175 package-subdirectory-regexp before using it.
12176 (package-untar-buffer): New arg DIR; ensure that file untars only
12177 into this expected directory. Remove superfluous delete-region.
12178 (package-unpack): Caller changed.
12179 (package-tar-file-info): Use package-subdirectory-regexp.
12180
a904a09a 121812011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 12182
a904a09a
SM
12183 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12184 diff-mode-shared-map (bug#8284).
12185 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
12186
121872011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12188
12189 * calendar/time-date.el (format-seconds): Use assoc instead of
12190 assoc-string, since assoc-string doesn't exist in XEmacs.
12191
171fc304
JB
121922011-03-17 Juanma Barranquero <lekktu@gmail.com>
12193
12194 * custom.el (custom-known-themes): Reflow docstring.
12195 (custom-theme-load-path): Fix typo in docstring.
12196 (load-theme): Fix typo in error message.
12197 (custom-available-themes, custom-variable-theme-value):
12198 Use `let', not `let*'.
12199
d71990a1
JB
122002011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12201
12202 * calc/README: Mention inclusion of musical notes.
12203
12204 * calc/calc-units.el (calc-lu-quant): Rename from
12205 `calc-logunits-quantity'.
12206 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12207 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12208 (calc-db): Rename from `calc-dblevel'.
12209 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12210 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12211 (calc-np): Rename from `calc-nplevel'.
12212 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12213 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12214 (calc-lu-plus): Rename from `calc-logunits-add'.
12215 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12216 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12217 (calc-lu-minus): Rename from `calc-logunits-sub'.
12218 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12219 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12220 (calc-lu-times): Rename from `calc-logunits-mul'.
12221 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12222 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12223 (calc-lu-divide): Rename from `calc-logunits-div'.
12224 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12225 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12226
12227 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12228 functions being autoloaded.
12229
12230 * calc/calc.el (calc-lu-power-reference): Rename from
12231 `calc-logunits-power-reference'.
12232 (calc-lu-field-reference): Rename from
12233 `calc-logunits-field-reference'.
12234
7a71b18d
GM
12235 * calc/calc-help.el (calc-l-prefix-help):
12236 Mention musical note functions.
d71990a1 12237
40c2934b
SM
122382011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12239
12240 * minibuffer.el (completion-all-sorted-completions):
12241 Use :completion-cycle-penalty text property if present.
12242
b0911414
KM
122432011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12244
12245 * allout.el (allout-yank-processing): Adjust for new rebulleting
12246 regime so bullet being yanked is used without prompting the user
12247 for a choice.
12248
8a05b668
JB
122492011-03-16 Juanma Barranquero <lekktu@gmail.com>
12250
12251 * startup.el (command-line): Warn the user that _emacs is deprecated.
12252
5ba5fb81
JB
122532011-03-16 Juanma Barranquero <lekktu@gmail.com>
12254
12255 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12256 (delphi-verbose, delphi-comment-face, delphi-string-face)
12257 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12258 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12259 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12260 (delphi-new-comment-line, delphi-font-lock-defaults)
12261 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12262 Fix typos in docstrings.
12263
2dab465b
KM
122642011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12265
5ba5fb81 12266 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
12267 Invert the roles of character and string values for INSTEAD, so a
12268 string is used for the more common case of a defaulting prompt.
12269
0adf5618
SM
122702011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12271
12272 * progmodes/ruby-mode.el (ruby-backward-sexp):
12273 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12274 * play/gamegrid.el (gamegrid-make-face):
12275 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12276 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12277 * notifications.el (notifications-notify):
12278 * net/xesam.el (xesam-search-engines):
12279 * net/quickurl.el (quickurl-list-insert):
12280 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12281
d72700e5
CY
122822011-03-15 Chong Yidong <cyd@stupidchicken.com>
12283
12284 * startup.el (command-line): Update package subdirectory regexp.
12285
49c5410a
SM
122862011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12287
c6eee9aa
SM
12288 * allout.el (allout-abbreviate-flattened-numbering)
12289 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12290
49c5410a
SM
12291 * subr.el (read-char-choice): Only show the cursor after the prompt,
12292 not after the answer.
12293
047b2bb9
KR
122942011-03-15 Kevin Ryde <user42@zip.com.au>
12295
12296 * help-fns.el (variable-at-point): Skip leading quotes, if any
12297 (bug#8253).
12298
0a57d256
SM
122992011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12300
12301 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12302 warning message.
12303
77c992bc
MA
123042011-03-14 Michael Albinus <michael.albinus@gmx.de>
12305
12306 * shell.el (shell): When called interactively, offer to change the
12307 shell file name on remote hosts.
12308
eebc475d
TZ
123092011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12310
12311 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12312 integration for LDAP parameters. The host, base, user or binddn,
12313 and secret tokens can be specified in a netrc file, for instance.
12314 This is optional because an `auth-source' parameter must be
12315 specified in the search attributes.
12316
9d05d1ba
JB
123172011-03-13 Juanma Barranquero <lekktu@gmail.com>
12318
12319 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12320
09d9db2c
GM
123212011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12322
12323 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12324 into declaration. Remove redundant and harmful binding.
12325
123262011-03-12 Eli Zaretskii <eliz@gnu.org>
12327
12328 * files.el (file-ownership-preserved-p): Pass `integer' as an
12329 explicit 2nd argument to `file-attributes'. If the file's owner
12330 is the Administrators group on Windows, and the current user is
12331 Administrator, consider that a match.
12332
12333 * server.el (server-ensure-safe-dir): Consider server directory
12334 safe on MS-Windows if its owner is the Administrators group while
12335 the current Emacs user is Administrator. Use `=' to compare
12336 numerical UIDs, since they could be integers or floats.
12337
219bd536
JB
123382011-03-12 Juanma Barranquero <lekktu@gmail.com>
12339
12340 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12341
f3afd36b
MA
123422011-03-12 Michael Albinus <michael.albinus@gmx.de>
12343
12344 Sync with Tramp 2.2.1.
12345
12346 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12347
12348 * net/trampver.el: Update release number.
12349
3aaaa6f1
SM
123502011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12351
94642599
SM
12352 * progmodes/compile.el (compilation--previous-directory): Fix up
12353 various nil/dead-marker mismatches (bug#8014).
12354 (compilation-directory-properties, compilation-error-properties):
12355 Don't call it at a position past the one we're about to change.
12356
3aaaa6f1
SM
12357 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12358 Disable obsolescence warnings in the file that declares it.
12359
14239447
KM
123602011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12361
099c39a4
JB
12362 * allout-widgets.el (allout-widgets-tally):
12363 Initialize allout-widgets-tally as a hash table rather than nil to
12364 prevent mode-line redisplay warnings. Also, clarify the module
12365 description and fix a comment typo.
14239447 12366
135e287c
JB
123672011-03-11 Juanma Barranquero <lekktu@gmail.com>
12368
12369 * help-fns.el (describe-variable): Don't complete keywords.
12370 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12371
ffbf300e
CY
123722011-03-10 Chong Yidong <cyd@stupidchicken.com>
12373
ba08b241
CY
12374 * emacs-lisp/package.el (package-version-join): Impose a standard
12375 string representation for pre/alpha/beta version lists.
12376 (package-unpack-single): Standardize the directory name by passing
12377 it through package-version-join.
12378 (package-strip-rcs-id): Accept any version string that does not
12379 signal an error in version-to-list.
ffbf300e 12380
f346fd6b
MA
123812011-03-10 Michael Albinus <michael.albinus@gmx.de>
12382
12383 * simple.el (delete-trailing-whitespace): Return nil for the
12384 benefit of `write-file-functions'.
12385
ccb55d27
GM
123862011-03-10 Glenn Morris <rgm@gnu.org>
12387
5ceaac0c
GM
12388 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12389
02da65ff
GM
12390 * vc/vc-git.el (vc-git-program): New option.
12391 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12392 (vc-git--call): Use it.
12393
b2f603cc
GM
12394 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12395
5772caab
GM
12396 * cus-edit.el (Custom-newline): If no button at point, look
12397 for a subgroup button at start-of-line. (Bug#2298)
12398
ccb55d27
GM
12399 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12400
ec6ecaed
JD
124012011-03-10 Julien Danjou <julien@danjou.info>
12402
12403 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12404 `cursor-type' is nil.
12405
9d5aa01d
JB
124062011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
12407
12408 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12409
b6a5875b
KM
124102011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
12411
7a71b18d 12412 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
12413 preserves the existing header prefix, rebulleting it if necessary,
12414 rather than replacing it. This is necessary for proper operation
12415 of cooperative addons like allout-widgets.
1154d12e
JB
12416 (allout-make-topic-prefix, allout-rebullet-heading):
12417 Change SOLICIT arg to INSTEAD, and interpret additionally a string
12418 value as alternate bullet to be used, instead of prompting the user
12419 for a bullet character.
b6a5875b 12420
ee545c35
MA
124212011-03-09 Michael Albinus <michael.albinus@gmx.de>
12422
d86d2721
SM
12423 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12424 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
12425 `tramp-default-port'.
12426
c47971d7
DD
124272011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12428
12429 * net/rcirc.el (rcirc-handler-001): Remove useless
12430 with-rcirc-process-buffer.
12431 (rcirc-check-auth-status): Swap arguments to string-match.
12432
13522cb4
GM
124332011-03-09 Glenn Morris <rgm@gnu.org>
12434
0be6f4f1
GM
12435 * shell.el (shell-mode):
12436 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
12437
13522cb4
GM
12438 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12439 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
12440
515de2e3
CY
124412011-03-08 Chong Yidong <cyd@stupidchicken.com>
12442
12443 * emacs-lisp/package.el (package-refresh-contents)
12444 (package-menu-execute): Use condition-case-no-debug.
12445
b511b994
MA
124462011-03-08 Michael Albinus <michael.albinus@gmx.de>
12447
12448 * simple.el (shell-command-to-string): Use `process-file'.
12449
12450 * emacs-lisp/package.el (package-tar-file-info): Handle also
12451 remote files.
12452
d86d2721
SM
12453 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12454 Use `equal' for upload base check.
b511b994 12455
25bbfb31
AM
124562011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12457
12458 * textmodes/texinfo.el (texinfo-environments):
12459 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
12460
be996521
GM
124612011-03-08 Glenn Morris <rgm@gnu.org>
12462
e9c8529f
GM
12463 * cus-start.el (cursor-in-non-selected-windows):
12464 Fix :set quoting oddness. (Bug#8192)
12465
be996521
GM
12466 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12467 in some setf expressions. (Bug#2159)
12468
2bb5649e
CY
124692011-03-08 Chong Yidong <cyd@stupidchicken.com>
12470
12471 * custom.el (custom-available-themes): Return themes in
12472 alphabetical order.
12473
33383987 12474See ChangeLog.15 for earlier changes.
e3d51b27
MR
12475
12476;; Local Variables:
12477;; coding: utf-8
e3d51b27
MR
12478;; End:
12479
acaf905b 12480 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
12481
12482 This file is part of GNU Emacs.
12483
12484 GNU Emacs is free software: you can redistribute it and/or modify
12485 it under the terms of the GNU General Public License as published by
12486 the Free Software Foundation, either version 3 of the License, or
12487 (at your option) any later version.
12488
12489 GNU Emacs is distributed in the hope that it will be useful,
12490 but WITHOUT ANY WARRANTY; without even the implied warranty of
12491 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12492 GNU General Public License for more details.
12493
12494 You should have received a copy of the GNU General Public License
12495 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.