Add user, group name completion to dired
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
30009afd
DA
12012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2
3 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
5
41f03f4d
GM
62012-04-17 Glenn Morris <rgm@gnu.org>
7
8 * mouse.el (mouse-drag-track):
9 * speedbar.el (speedbar-frame-mode):
10 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
11
f45f90f3
LL
122012-04-16 Leo Liu <sdl.web@gmail.com>
13
14 * progmodes/python.el: Trivial cleanup.
15
94ee8db5
GM
162012-04-16 Glenn Morris <rgm@gnu.org>
17
121b8917
GM
18 * vc/vc.el (vc-string-prefix-p):
19 * vc/pcvs-util.el (cvs-string-prefix-p):
20 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
21 * mpc.el (mpc-string-prefix-p):
22 Make all of these into obsolete aliases for string-prefix-p.
23 Update callers.
24 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
25
1197ecfa
GM
26 * textmodes/two-column.el: Move custom options to the start.
27 (frame-width): Remove compat definition.
28 (2C-associate-buffer, 2C-dissociate):
29 Use with-current-buffer rather than save-excursion.
30 (2C-dissociate): Force a mode-line update.
31 (2C-autoscroll): Use ignore-errors.
32
099e7202
GM
33 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
34 Autoload trivia.
35
bf350d6a
GM
36 * emacs-lisp/cl-extra.el (*random-state*):
37 Remove unnecessary declaration.
38
0e829eab
GM
39 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
40
e3ad7552
GM
41 * play/cookie1.el (cookie-snarf):
42 Give an explicit error if input file cannot be read.
43
68892d27
GM
44 * play/yow.el (yow-file): Use expand-file-name rather than concat.
45
20f0c46d
GM
46 * progmodes/perl-mode.el (c-macro-expand):
47 Remove unnecessary autoload (it is in loaddefs.el).
48
5a0978ce
GM
49 * textmodes/picture.el (picture-desired-column)
50 (picture-update-desired-column): Convert comments to doc-strings.
51 (picture-substitute): Remove function.
52 (picture-mode-map): Initialize in the defvar.
53
6b955486
GM
54 * woman.el: Remove eval-after-load for tar-mode.
55 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
56 (woman-tar-extract-file): Autoload it.
57
94ee8db5
GM
58 * frame.el (automatic-hscrolling): Make this alias obsolete.
59
177eca34
AM
602012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
61
62 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 63 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
64 (ispell-dictionary-base-alist): Revert to original XEmacs
65 friendly version for default. [:alpha:] will be added in
66 `ispell-set-spellchecker-params' if needed
177eca34 67
c505aaeb
CY
682012-04-16 Chong Yidong <cyd@gnu.org>
69
70 * image.el (imagemagick--extension-regexp): New variable.
71 (imagemagick-register-types): Use it.
72 (imagemagick-types-inhibit): Add :set function. Allow new value
73 of t to inhibit all types.
74
75 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
76 so we can preload it.
77
78 * loadup.el (fboundp): Preload regexp-opt, needed by
79 imagemagick-register-types.
80
60efac0f
CY
812012-04-15 Chong Yidong <cyd@gnu.org>
82
83 * frame.el (scrolling): Remove nearly unused customization group.
84
85 * scroll-all.el (scroll-all-mode): Move to windows group.
86
5dd1713e
CY
872012-04-15 Chong Yidong <cyd@gnu.org>
88
89 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
90
e6fd457e
CY
912012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
92
93 Avoid the use of ((lambda ...) ...) in lexical-binding code.
94 * emacs-lisp/easy-mmode.el (define-minor-mode):Use funcall (bug#11241).
95
e153c136
GM
962012-04-15 Glenn Morris <rgm@gnu.org>
97
98 * simple.el (process-file-side-effects): Doc fix.
99
e6fd457e 1002012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
101
102 * international/mule-cmds.el (set-language-environment): Doc fix.
103
3603c3b1
JB
1042012-04-14 Juanma Barranquero <lekktu@gmail.com>
105
106 * server.el (server-auth-key, server-generate-key): Doc fixes.
107 (server-get-auth-key): Doc fix. Use `string-match-p'.
108 (server-start): Reflow docstring.
109
e6de100c
LI
1102012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
111
112 * server.el (server-generate-key): `called-interactively-p'
113 requires a parameter.
114
29734c21
MN
1152012-04-14 Michal Nazarewicz <mina86@mina86.com>
116
117 * server.el (server-auth-key): New variable.
75f1671a 118 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
119 (server-start): Use the new variable and functions to allow
120 setting a permanent server key (bug#9423).
121
d65c9521
LL
1222012-04-14 Leo Liu <sdl.web@gmail.com>
123
124 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
125
5ae255c7
PE
1262012-04-14 Paul Eggert <eggert@cs.ucla.edu>
127
128 Spelling fixes.
129 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
130 Emacs uses American spelling.
131
d5e6342e
JB
1322012-04-14 Juanma Barranquero <lekktu@gmail.com>
133
134 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
135 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
136 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
137 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
138
ab036cd7
SM
1392012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
140
141 * progmodes/which-func.el (which-func-modes): Change default.
142
35dc09a1 1432012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
144
145 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
146 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
147
35dc09a1 1482012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
149
150 * custom.el (custom-theme-set-variables): Doc fix.
151
35dc09a1 1522012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
153
154 * international/mule.el (set-auto-coding-for-load): Doc fix.
155
35dc09a1 1562012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 157
35dc09a1
GM
158 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
159 imenu work again for Objective C Mode. Correct the *-index values,
160 these having been disturbed by a previous change in 2011-08.
57f845ee 161
0de3da9f
AM
162 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
163 Correct two search limits.
164
35dc09a1 1652012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
166
167 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
168
35dc09a1 1692012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
170
171 * international/characters.el: Fix sorting.
172
35dc09a1 1732012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
174
175 * international/characters.el: Add more missing Latin case pairs.
176
35dc09a1 1772012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
178
179 * files.el (dir-locals-set-class-variables): Doc fix.
180
35dc09a1 1812012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 182
3f1b5bf8
EZ
183 * international/characters.el: Add set-case-syntax-pair call for
184 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
185 counterpart. (Bug#11209)
186
9f847f41
EZ
187 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
188
35dc09a1 1892012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
190
191 * calendar/holidays.el (calendar-check-holidays): Doc fix.
192
35dc09a1 1932012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 194
35dc09a1
GM
195 * textmodes/ispell.el (ispell-dictionary-base-alist):
196 Add data for Hebrew.
e2627d21 197
35dc09a1 1982012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 199
35dc09a1
GM
200 * net/rcirc.el (rcirc-cmd-quit):
201 Revert 2012-03-18 change (Bug#11192).
5c14e333 202
35dc09a1 2032012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
204
205 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
206
35dc09a1 2072012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 208
4517fe3a
SM
209 * minibuffer.el (completion-in-region-mode-map):
210 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 211
b472a594
VD
2122012-04-13 Vivek Dasmohapatra <vivek@etla.org>
213
214 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
215
09b95ce3
MY
2162012-04-13 Masatake YAMATO <yamato@redhat.com>
217
218 * minibuffer.el (minibuffer-local-filename-syntax): New variable
219 to allow `C-M-f' and `C-M-b' to move to the nearest path
220 separator (bug#9511).
221
4b63a9ca
LI
2222012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
223
224 * avoid.el: Require cl when compiling. And also move the
225 `provide' to the end.
226
7b55b8bf
TV
2272012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
228
229 * avoid.el (mouse-avoidance-banish-position): New variable.
230 (mouse-avoidance-banish-destination): Use it (bug#10165).
231
adedaa1f
LL
2322012-04-13 Leo Liu <sdl.web@gmail.com>
233
234 * progmodes/which-func.el (which-func-modes): Add objc-mode.
235
70e74021
KB
2362012-04-13 Ken Brown <kbrown@cornell.edu>
237
238 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 239 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
240 (browse-url-filename-alist): For the same reason, don't modify
241 file:// URLs on Cygwin.
242
e75e89ba
SM
2432012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
244
245 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
246 the region on shift if the binding is already shifted (bug#11221).
247
82f289a4
GM
2482012-04-12 Glenn Morris <rgm@gnu.org>
249
250 * mail/mailpost.el: Move to obsolete/.
251
d333dc4c
DA
2522012-04-12 Drew Adams <drew.adams@oracle.com>
253
254 * imenu.el (imenu--generic-function): Ignore invisible definitions
255 (bug#10123).
256
0d15b5ba
VD
2572012-04-12 Vivek Dasmohapatra <vivek@etla.org>
258
259 * hexl.el (hexl-bits): New variable.
260 (hexl-options): Mention the variable in the doc string.
75f1671a 261 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 262 (hexl-mode): Mention the new variable.
75f1671a
JB
263 (hexl-mode, hexl-current-address, hexl-current-address):
264 Use the displen.
0d15b5ba
VD
265 (hexl-ascii-start-column): New function.
266 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
267 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
268
64a440db
AM
2692012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
270
271 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
272 '("-i" ENCODING), in 2 separate command-line arguments, to specify
273 the encoding, as expected by hunspell.
274
6decb6c2
SM
2752012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
276
277 * battery.el (battery--linux-sysfs-regexp): New const.
278 (battery-status-function): Use it. Remove yeeloong special case.
279 (battery-yeeloong-sysfs): Remove.
280 (battery-echo-area-format): Remove yeeloong special case.
281
088be6fb
SM
2822012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
283
6622e416
SM
284 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
285 Reported by Noah Friedman.
286
088be6fb
SM
287 * subr.el (read-passwd): Use read-string.
288
b49f886e
LMI
2892012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
290
291 * vcursor.el (vcursor-move): Increase the priority of the overlay
292 (bug#9663).
293
a63067fc
DD
2942012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
295
296 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
297 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
298
ac3cf14a
WS
2992012-04-11 William Stevenson <yhvh2000@gmail.com>
300
301 * textmodes/artist.el (artist-mode): Convert artist-mode to use
302 define-minor-mode (bug#10760).
303
c4fc691b 3042012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c
WJ
305
306 * lisp/progmodes/grep.el (rgrep): Tweak the find command line so
307 that directories matching `grep-find-ignored-files' won't be
308 pruned (bug#10351).
309
af23e2e5
CY
3102012-04-11 Chong Yidong <cyd@gnu.org>
311
312 * startup.el (command-line): Remove support for long-obsolete
313 variable font-lock-face-attributes.
314
ab7ce8c1
GM
3152012-04-11 Glenn Morris <rgm@gnu.org>
316
317 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
318
de8c03dc
SM
3192012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
320
321 * window.el (window--state-get-1): Obey window-point-insertion-type.
322
050cc68b
LB
3232012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
324
325 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
326 to previous function when point is on the first character of a
75f1671a 327 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 328
a38c310c
GM
3292012-04-11 Glenn Morris <rgm@gnu.org>
330
effed0c2
GM
331 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
332 not just file-errors.
333
a38c310c
GM
334 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
335 (vc-bzr-sha1): Use internal sha1.
336
0221e323
SM
3372012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
338
339 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
340
43956923
SG
3412012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
342
343 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
344 that start in the middle of the line (bug#10496).
345
6a8c9eaf
DN
3462012-04-10 Dan Nicolaescu <dann@gnu.org>
347
348 * battery.el (battery-linux-proc-acpi): Only one battery is
349 discharged at a time, but that seems to confuse battery.el when
350 computing `rate-type' for the battery not being discharged
351 (bug#10332).
352
1930bf5d
SM
3532012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
354
2a718f6f
SM
355 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
356
599430d0
SM
357 * international/quail.el: Use dolist and simplify.
358 (quail-define-package, quail-update-keyboard-layout)
359 (quail-define-rules): Use dolist.
360 (quail-insert-kbd-layout, quail-get-translation): CSE.
361
a2754b6c
SM
362 * tmm.el: Use dolist, remove left over hook.
363 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
364 Use dolist.
365 (calendar-load-hook): Don't mess with it.
366
1930bf5d
SM
367 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
368 Use derived-mode-p. Run the diff asynchronously.
369
9f67961c
LMI
3702012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
371
372 * obsolete/mouse-sel.el: Add an Obsolete-since header.
373
2a8ce227
JB
3742012-04-10 Juanma Barranquero <lekktu@gmail.com>
375
376 * misc.el: Display absolute path of loaded DLLs (bug#10424).
377 (list-dynamic-libraries--loaded): New function.
378 (list-dynamic-libraries--refresh): Use it.
379
8f33b5f8
NW
3802012-04-10 Nathan Weizenbaum <nweiz@google.com>
381
1930bf5d
SM
382 * progmodes/python.el (python-fill-paragraph):
383 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
384 disabled (bug#7018).
385
b12f0439
L
3862012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
387
1930bf5d 388 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
389 DOS/MS Windows for the Baltic languages. There are still plenty
390 of texts written in this encoding/codepage (bug#6519).
b12f0439 391
57c3bd01
GM
3922012-04-10 Glenn Morris <rgm@gnu.org>
393
394 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
395 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
396
6c3eab30
FA
3972012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
398
1930bf5d 399 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
400 next-line "n" and previous-line "p" in order to make recentf more
401 consistent with ibuffer, dired or org-mode (bug#9387).
402
24d78a88
LMI
4032012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
404
bc72b5d9
LMI
405 * image.el (put-image): Return the overlay created instead of the
406 optional input string (bug#7834). Note that this may break code
407 that is (for some reason or other) depending on `put-image'
408 returning the string.
409
bd2dba5a
LMI
410 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
411
74beb59f
LMI
412 * simple.el (zap-to-char): Allow zapping using input methods
413 (bug#1580).
414
24d78a88
LMI
415 * textmodes/fill.el (fill-region): Leave point and mark where they
416 were before filling (bug#5399).
417
263f20cd
GM
4182012-04-09 Glenn Morris <rgm@gnu.org>
419
420 * version.el (emacs-bzr-get-version):
421 Handle lightweight checkouts of local branches.
422
58d1f797
AS
4232012-04-09 Andreas Schwab <schwab@linux-m68k.org>
424
263f20cd 425 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 426
b4d3bc10
CY
4272012-04-09 Chong Yidong <cyd@gnu.org>
428
429 * custom.el (custom-variable-p): Return nil for non-symbol
430 arguments instead of signaling an error.
431 (user-variable-p): Obsolete alias for custom-variable-p.
432
433 * apropos.el (apropos-variable):
434 * files-x.el (read-file-local-variable):
435 * simple.el (set-variable):
436 * woman.el (woman-mini-help):
437 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
438
fd06db5d
GM
4392012-04-09 Glenn Morris <rgm@gnu.org>
440
e5fcdb5e
GM
441 * startup.el (normal-top-level): Don't look for leim-list.el
442 in places where it will not be found. (Bug#910)
443
fd06db5d
GM
444 * international/mule-cmds.el (set-default-coding-systems):
445 * files.el (normal-mode):
446 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
447 This function was removed with ucs-tables.el in 2008.
448
b39bb7e1
EZ
4492012-04-08 Eli Zaretskii <eliz@gnu.org>
450
451 * textmodes/ispell.el (ispell-check-version): For hunspell, set
452 ispell-encoding8-command to "-i", without a trailing space.
453 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
454 separate command-line arguments, to specify the encoding, since
455 that's how hunspell expects it.
456
5c5b8e23
GM
4572012-04-08 Glenn Morris <rgm@gnu.org>
458
459 * loadup.el: Load bindings before cus-start.
460 This reduces somewhat the number of "rogue" settings in emacs -Q.
461
a1ed8b05
GM
4622012-04-07 Glenn Morris <rgm@gnu.org>
463
464 * version.el (emacs-bzr-get-version): New function.
dfae128a 465 (emacs-bzr-version): New variable.
a1ed8b05
GM
466 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
467 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
468
b142f158
EZ
4692012-04-07 Eli Zaretskii <eliz@gnu.org>
470
dfae128a
GM
471 * international/uni-bidi.el, international/uni-category.el:
472 * international/uni-combining.el, international/uni-decimal.el:
473 * international/uni-decomposition.el, international/uni-digit.el:
474 * international/uni-lowercase.el, international/uni-mirrored.el:
475 * international/uni-name.el, international/uni-numeric.el:
476 * international/uni-titlecase.el, international/uni-uppercase.el:
477 Update for Unicode 6.1.
b142f158 478
9078ead6
EZ
4792012-04-07 Eli Zaretskii <eliz@gnu.org>
480
481 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
482
f23d2c7d
LMI
4832012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
484
485 * window.el (shrink-window): Mention the `window-min-height'
486 variable in the doc string.
487
0a0a3573
BG
4882012-04-05 Bastien Guerry <bzg@altern.org>
489
490 * color.el (color-lighten-name): Fix typo.
491
e5248ac9
SM
4922012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
493
494 * server.el (server--on-display-p): New function.
495 (server--on-display-p): Use it.
496
b4243e22
GV
4972012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
498
499 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
500 (bug#11145).
501
305d9f44
SM
5022012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
503
504 * comint.el (comint--common-quoted-suffix): Check string boundary
505 before comparing (bug#11158).
506 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
507
3d439cd1
CY
5082012-04-04 Chong Yidong <cyd@gnu.org>
509
321cc491
CY
510 * minibuffer.el (completion-extra-properties): Doc fix.
511
3d439cd1
CY
512 * subr.el (delayed-warnings-hook): Doc fix.
513
2d562c0f
DU
5142012-04-04 Daiki Ueno <ueno@unixuser.org>
515
516 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
517 selection (Bug#11159).
518 (epa-insert-keys): Inform that the default public key will be
519 exported if no key is selected.
520
4443f204
RS
5212012-04-04 Richard Stallman <rms@gnu.org>
522
523 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
524
529c06b6
CY
5252012-04-03 Chong Yidong <cyd@gnu.org>
526
527 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
528 mail-insert-file, not its obsolete alias mail-attach-file.
529
66b907dc
MA
5302012-04-03 Michael Albinus <michael.albinus@gmx.de>
531
532 * notifications.el (notifications-notify): Fix docstring.
533
c0ea195d
GM
5342012-04-02 Glenn Morris <rgm@gnu.org>
535
536 * emacs-lisp/authors.el (authors-aliases): Another addition.
537
5ca64e00
MA
5382012-04-02 Michael Albinus <michael.albinus@gmx.de>
539
540 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
541 `tramp-compat-call-process' instead of `tramp-local-call-process'.
542 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
543
42ee526b
CY
5442012-04-01 Chong Yidong <cyd@gnu.org>
545
546 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
547 Handle root directory properly.
548 (copy-directory): Caller changed.
549
550 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
551 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
552
0b021094
GM
5532012-03-31 Glenn Morris <rgm@gnu.org>
554
40f86458
GM
555 * term/xterm.el (xterm-extra-capabilities): Doc fix.
556
7019c177
GM
557 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
558
a1daddd6
GM
559 * calendar/calendar.el (calendar-window-list)
560 (calendar-hide-window): Restore. (Bug#11140)
561 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
562
0b021094
GM
563 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
564
40311efc
TV
5652012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
566
567 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
568 Check if file is a symlink (Bug#10489).
569
570 * files.el (copy-directory): Likewise.
571
5319014e
CY
5722012-03-30 Chong Yidong <cyd@gnu.org>
573
574 * image.el (imagemagick-types-inhibit)
575 (imagemagick-register-types): Doc fix.
576
935d1290
AM
5772012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
578
579 * ispell.el (ispell-get-extended-character-mode): Disable
75f1671a
JB
580 extended-char-mode for hunspell. hunspell does not support it
581 and treats ~word as ordinary words in pipe mode.
935d1290 582
61c6e8fd
GM
5832012-03-30 Glenn Morris <rgm@gnu.org>
584
585 * tutorial.el (help-with-tutorial): Ensure local variables don't
586 happen to make the buffer read-only. (Bug#11127)
587
81fdff00
SM
5882012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
589
590 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
591 (perl-calculate-indent): Return `noindent' in strings.
592
6e7a6ec0
SS
5932012-03-28 Sam Steingold <sds@gnu.org>
594
595 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
596 instead of the broken adhockery which does not prevent calendar
597 buffers from being displayed at random after exit.
598 (calendar-window-list, calendar-hide-window): Remove the broken
599 adhockery.
600
fee88ca0
GM
6012012-03-28 Glenn Morris <rgm@gnu.org>
602
603 * replace.el (query-replace-map): Doc fix.
604
38de3354
AS
6052012-03-28 Andreas Schwab <schwab@linux-m68k.org>
606
607 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
608 contents. (Bug#11109)
609
b973155e
SM
6102012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
611
612 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
613 (bug#11077).
614 (avl-tree--check, avl-tree--check-node): New funs.
615
dcb6e7b3
MR
6162012-03-27 Martin Rudalics <rudalics@gmx.at>
617
618 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
619 (switch-to-prev-buffer, switch-to-next-buffer):
620 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
621 showing a buffer already is done on the same frame.
622
b4fa35fa
GM
6232012-03-27 Glenn Morris <rgm@gnu.org>
624
625 * startup.el (mail-host-address): Doc fix.
626
f9210e18
SM
6272012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
628
629 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
630 than 197 variables.
631
c0bf7753
AF
6322012-03-26 Ami Fischman <ami@fischman.org>
633
634 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
635
33da7b16
GM
6362012-03-26 Glenn Morris <rgm@gnu.org>
637
02243d9d
GM
638 * files.el (save-buffers-kill-emacs): Doc fix.
639
33da7b16
GM
640 * startup.el (normal-top-level, command-line, command-line-1):
641 Give them doc strings.
642
e5a69fd0
EZ
6432012-03-25 Eli Zaretskii <eliz@gnu.org>
644
645 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 646 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 647
9a69676a
CY
6482012-03-25 Chong Yidong <cyd@gnu.org>
649
4125cb8b
CY
650 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
651 theme if it was previously enabled before (Bug#11031).
652
dd470960
CY
653 * cus-theme.el (custom-theme-write-faces): Retrieve current face
654 spec with custom-face-get-current-spec if its :shown-value is not
655 determined yet (Bug#9337).
4125cb8b 656 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 657
9a69676a
CY
658 * button.el (button-at): Minor addition to docstring.
659
6e7e90fa
SL
6602012-03-24 Simon Leinen <simon.leinen@gmail.com>
661
662 * vc/vc.el (vc-merge): Fix a prompt.
663
f06e2758
CY
6642012-03-24 Chong Yidong <cyd@gnu.org>
665
666 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
667 point (Bug#9623).
668
6e7e90fa
SL
669 * button.el (button-at): Minor addition to docstring.
670
b9d0879b
SM
6712012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
672
673 * newcomment.el (comment-choose-indent): No space after BOL.
674
e71cebb3
SS
6752012-03-22 Sam Steingold <sds@gnu.org>
676
677 * window.el (switch-to-prev-buffer): Revert last patch because the
678 bug turned out to be an advertised feature (Elisp manual 28.14).
679
335aff35
GM
6802012-03-22 Glenn Morris <rgm@gnu.org>
681
682 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
683 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
684
c676576a
LMI
6852012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
686
687 * net/network-stream.el (network-stream-open-starttls): Make error
688 message under Windows be less misleading.
689
126f3d39
LW
6902012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
691
692 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
693 understands (bug#9942).
694
64fee311
CY
6952012-03-22 Chong Yidong <cyd@gnu.org>
696
697 * simple.el (end-of-visible-line): Handle return value of
698 next-single-property-change properly (Bug#9371).
699
a640d29a
KH
7002012-03-22 Kenichi Handa <handa@m17n.org>
701
702 * international/quail.el (quail-insert-kbd-layout): Fix previous
703 change. To avoid unwanted bidi reordering, use
704 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
705
39675016
DG
7062012-03-21 Dmitry Gutov <dgutov@yandex.ru>
707
708 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
709 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
710 (ruby-beginning-of-indent): Be more careful with the difference
711 between word-boundary and symbol boundary.
712 (ruby-mode-syntax-table): Make : a symbol constituent.
713
0a6934fc 7142012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 715
3d008e4f
SM
716 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
717
0a6934fc
SM
7182012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
719
af67c9d7
SM
720 * progmodes/etags.el (tags-completion-at-point-function):
721 Improve last fix.
722
1acad97c
SM
723 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
724
e298b5da
SS
7252012-03-21 Sam Steingold <sds@gnu.org>
726
727 * progmodes/etags.el (tags-completion-at-point-function):
728 Avoid the error when point is inside the pattern.
729
91d82a70
JY
7302012-03-21 John Yates <john@yates-sheets.org> (tiny change)
731
732 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
733 line (Bug#10855).
734
69188b79
CY
7352012-03-21 Drew Adams <drew.adams@oracle.com>
736
737 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
738
99fc91fe
AK
7392012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
740
741 * ido.el (ido-set-current-directory, ido-read-internal)
742 (ido-choose-completion-string, ido-completion-help): Handle nil
743 value of ido-completion-buffer (Bug#11008).
744
087bbb4c
SS
7452012-03-21 Sam Steingold <sds@gnu.org>
746
747 * window.el (switch-to-prev-buffer): Do not switch to a visible
748 window previous buffer, just like with the frame previous buffers.
749
fb5b8aca
CY
7502012-03-21 Chong Yidong <cyd@gnu.org>
751
752 * faces.el (make-face, make-empty-face, copy-face):
753 * face-remap.el (face-remap-add-relative, face-remap-set-base):
754 Doc fixes.
755
dc9924b8
SM
7562012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
757
758 * wid-edit.el (widget-complete-field): Remove (bug#11051).
759 (widget-complete): Remove broken use of it.
760
f0bcceb9
CY
7612012-03-20 Chong Yidong <cyd@gnu.org>
762
dc9924b8
SM
763 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
764 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
765 characters.
766
ee52ebf3
TH
7672012-03-20 Tassilo Horn <tassilo@member.fsf.org>
768
769 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
770 to draw rectangles, not squares. (Regression introduced by revno
771 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
772
4c5779ab
CY
7732012-03-18 Chong Yidong <cyd@gnu.org>
774
775 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
776 it is not yet defined (for temacs).
777
15360934
LL
7782012-03-18 Leo Liu <sdl.web@gmail.com>
779
dc9924b8 780 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 781
d9a8eb66
EZ
7822012-03-17 Eli Zaretskii <eliz@gnu.org>
783
784 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
785 (ispell-choices-win-default-height, ispell-silently-savep)
786 (ispell-dictionary-alist, ispell-encoding8-command)
787 (ispell-check-version, ispell-aspell-find-dictionary)
788 (ispell-valid-dictionary-list, ispell-words-keyword)
789 (ispell-get-word, ispell-internal-change-dictionary)
790 (ispell-region, ispell-skip-region-list)
791 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
792 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
793 (ispell-message-text-end, ispell-message)
794 (ispell-buffer-local-parsing): Doc fix.
795
f02ff80d
J
7962012-03-13 Jambunathan K <kjambunathan@gmail.com>
797
798 * htmlfontify.el: Add support for code block fontification for ODT
799 export (Bug #9914).
800 (hfy-optimisations): Define new option
801 `body-text-only'
802 (hfy-fontify-buffer): Honor above setting.
803 (hfy-begin-span, hfy-end-span): New routines factored out form
804 `hfy-fontify-buffer'.
805 (hfy-begin-span-handler, hfy-end-span-handler): New variables
806 that permit insertion of custom tags.
807 (hfy-fontify-buffer): Use above handlers.
808 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
809 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 810 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 811 over multiple runs. This is made possible by having the caller let
f02ff80d
J
812 bind a special variable `hfy-user-sheet-assoc'.
813 (htmlfontify-string): New defun.
814 (hfy-compile-face-map): Make sure that the last char in the
815 buffer is correctly fontified.
816 (hfy-face-resolve-face): Whitespace only change.
817
9ac7a13f
EZ
8182012-03-17 Eli Zaretskii <eliz@gnu.org>
819
820 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
821 message more clear.
822
e2b5bdd7
LL
8232012-03-16 Leo Liu <sdl.web@gmail.com>
824
825 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
826
2e492df3
AM
8272012-03-16 Alan Mackenzie <acm@muc.de>
828
829 Further optimise the handling of large macros.
830
831 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
832 limit to a call of `c-literal-limits'.
833 (c-determine-+ve-limit): New function.
dc9924b8
SM
834 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
835 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
836 In CASE 5B, restrict a search limit to 500.
837 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
838
839 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
840 Restrict macro bounds to +-500 from after-change's BEG END.
841
50e94f0c
LL
8422012-03-16 Leo Liu <sdl.web@gmail.com>
843
844 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
845
6f09f6ed
AH
8462012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
847
848 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 849 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 850
c7e73d51
GM
8512012-03-16 Glenn Morris <rgm@gnu.org>
852
da986230
GM
853 * view.el (view-buffer, view-buffer-other-window)
854 (view-buffer-other-frame): Doc fixes re special mode-class.
855
0835f01e
GM
856 * subr.el (eval-after-load): If named feature is provided not from
857 a file, run after-load forms. (Bug#10946)
858
c7e73d51
GM
859 * calendar/calendar.el (calendar-insert-at-column):
860 Handle non-unit-width characters a bit better. (Bug#10978)
861
3f2eafd1
CY
8622012-03-15 Chong Yidong <cyd@gnu.org>
863
864 * emacs-lisp/ring.el (ring-extend): New function.
865 (ring-insert+extend): Extend the ring correctly (Bug#11019).
866
867 * comint.el (comint-read-input-ring)
868 (comint-add-to-input-history): Grow comint-input-ring lazily.
869
103af3fe
SM
8702012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
871
663b1677
SM
872 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
873 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
874
103af3fe
SM
875 * imenu.el: Fix multiple inheritance breakage (bug#9199).
876 (imenu-add-to-menubar): Don't add a redundant index.
877 (imenu-update-menubar): Handle a dynamically composed keymap.
878
899cb7cb
KY
8792012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
880
881 * mail/sendmail.el (mail-encode-header):
882 Bind rfc2047-encode-encoded-words to nil.
883
3809f91d
GM
8842012-03-13 Glenn Morris <rgm@gnu.org>
885
886 * calendar/calendar.el (calendar-string-spread):
887 Handle non-unit-width characters a bit better. (Bug#10978)
888
9e345a01
LL
8892012-03-13 Leo Liu <sdl.web@gmail.com>
890
891 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
892 directory and file as argument (Bug#10822).
893
4a07df36
KS
8942012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
895
896 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
897 For dynamically generated code, follow $PC.
898 (gdb-disassembly-handler-custom): Handle no function name case.
899
4aaa9356
TL
9002012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
901
902 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
903 * emulation/ws-mode.el (ws-query-replace):
904 * sort.el (sort-regexp-fields):
905 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
906
225979da
SM
9072012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
908
909 * dabbrev.el: Fix cycle completion order (bug#10963).
910 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
911 (dabbrev-completion): Don't use an obarray; provide
912 a cycle-sort-function.
913
e2f1fdab
LL
9142012-03-12 Leo Liu <sdl.web@gmail.com>
915
dc9924b8 916 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
917 (kill-do-not-save-duplicates): Doc fix.
918
b19490ed
SM
9192012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
920
921 * dabbrev.el: Fix cycle completion (bug#10963).
922 Use lexical binding and wrap to 80 columns.
923 (dabbrev-completion): Delay computing the list of completions.
924
4b05d722
KH
9252012-03-12 Kenichi Handa <handa@m17n.org>
926
927 * international/quail.el (quail-insert-kbd-layout): Surround each
928 row by LRO and PDF instead of inserting many LRMs. Pad the left
929 and right of each non-spacing marks. Insert invisible space
930 between lower and upper characters to prevent composition.
931
dbbc2e69
SM
9322012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
933
934 * minibuffer.el (minibuffer-complete): Don't get confused when the
935 function is run twice via different commands (bug#10958).
936 (complete-with-action): Fix docstring.
937
292112ed
CY
9382012-03-12 Chong Yidong <cyd@gnu.org>
939
5d1ac394
CY
940 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
941 (nxml-completion-at-point-function): New function.
942 (nxml-mode): Use it.
943 (nxml-bind-meta-tab-to-complete-flag): Default to t.
944
292112ed
CY
945 * emacs-lisp/package.el (package-unpack, package-unpack-single):
946 Load generated autoloads file before byte compiling (Bug#10970).
947 (package--make-autoloads-and-compile): New helper fun.
948
4098f8f7
CS
9492012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
950
951 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
952
8f754691
MA
9532012-03-11 Michael Albinus <michael.albinus@gmx.de>
954
955 * autorevert.el (auto-revert-handler): Ensure, that
956 file-readable-p is applied only for local files or in
957 auto-revert-tail-mode.
958
e29ab36b
AS
9592012-03-11 Andreas Schwab <schwab@linux-m68k.org>
960
dbbc2e69
SM
961 * server.el (server-eval-at): Handle non-tcp connections.
962 Decode result string.
ad0bf5b6 963
e29ab36b
AS
964 * server.el (server-msg-size): New constant.
965 (server-reply-print): New function.
966 (server-eval-and-print): Use it.
967 (server-eval-at): Use server-quote-arg and server-unquote-arg.
968 Handle -print-nonl.
969
de5939ba
CS
9702012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
971
972 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
973 (Bug#10987).
974
0c93eabf
CY
9752012-03-11 Chong Yidong <cyd@gnu.org>
976
397a688f
CY
977 * simple.el (goto-line): Doc fix (Bug#9938).
978
2cc775f9
CY
979 * subr.el (save-window-excursion): Doc fix (Bug#9979).
980
0c93eabf
CY
981 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
982 when finished (Bug#10963).
983
c491fa41
MR
9842012-03-11 Martin Rudalics <rudalics@gmx.at>
985
986 * window.el (split-window-below): Fix bug in case where
987 split-window-keep-point is nil (Bug#10971).
988
300e8fa5
JL
9892012-03-11 Juri Linkov <juri@jurta.org>
990
991 * replace.el (replace-highlight): Set isearch-word to nil
992 unconditionally. (Bug#10887)
993
dbf6c5a1
EZ
9942012-03-10 Eli Zaretskii <eliz@gnu.org>
995
996 * net/mairix.el (mairix-replace-invalid-chars): Rename from
997 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 998 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
999 (mairix-widget-create-query): Add usage information about mairix
1000 search forms: negating words, searching for substrings, etc.
1001
b9e501de
JP
10022012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1003
1004 * international/fontset.el (font-encoding-alist): Add an entry for
1005 ksx1001 (Bug#5667).
1006
92795c91
RS
10072012-03-10 Richard Stallman <rms@gnu.org>
1008
1694e6c1
RS
1009 * mail/sendmail.el (mail-encode-header):
1010 Set rfc2047-encode-encoded-words.
1011
607e8555
RS
1012 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1013
de3bc99a
RS
1014 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1015 view buffer means not swapped.
1016 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1017 (rmail-write-region-annotate): Error if real text has disappeared.
1018
92795c91
RS
1019 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1020
699bd04e
CY
10212012-03-10 Chong Yidong <cyd@gnu.org>
1022
1023 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
1024 * emulation/cua-base.el (cua--init-keymaps):
1025 Add delete-forward-char to remappings (Bug#9666).
699bd04e 1026
570a1714
MR
10272012-03-10 Martin Rudalics <rudalics@gmx.at>
1028
dbbc2e69
SM
1029 * speedbar.el (speedbar-unhighlight-one-tag-line):
1030 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 1031
82dcf4e4
CY
10322012-03-10 Chong Yidong <cyd@gnu.org>
1033
7a2c7ca7
CY
1034 * minibuffer.el (completion-in-region, completion-help-at-point):
1035 Give the completion field overlay a high priority (Bug#6830).
1036
82dcf4e4
CY
1037 * dired.el (dired-goto-file): Recognize absolute file name
1038 listings (Bug#7126).
1039 (dired-goto-file-1): New helper function.
1040 (dired-toggle-read-only): Inhibit warnings.
1041
052e28ac
MA
10422012-03-09 Michael Albinus <michael.albinus@gmx.de>
1043
75f1671a 1044 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
1045 there are no properties.
1046
95d5e396
LL
10472012-03-09 Leo Liu <sdl.web@gmail.com>
1048
1049 * savehist.el (savehist-printable): Stricter check for string
1050 value (Bug#10937).
1051
3f018d6d
EZ
10522012-03-09 Eli Zaretskii <eliz@gnu.org>
1053
dbbc2e69
SM
1054 * mail/smtpmail.el (smtpmail-send-it):
1055 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
1056 valid mbox format.
1057
f7fd3d79
GM
10582012-03-09 Glenn Morris <rgm@gnu.org>
1059
1060 * files.el (dir-locals-find-file):
1061 Don't check result is regular, readable.
1062 (dir-locals-read-from-file): Demote errors.
1063
6ff6e72f
EZ
10642012-03-08 Eli Zaretskii <eliz@gnu.org>
1065
dbbc2e69
SM
1066 * international/quail.el (quail-insert-kbd-layout):
1067 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
1068 layout cell, to prevent their reordering by bidi display engine.
1069 For details, see the discussion in
1070 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1071
9cec7834
AM
10722012-03-08 Alan Mackenzie <acm@muc.de>
1073
1074 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1075 the starting position; make it extend the marked region when
1076 invoked repeatedly - all under appropriate circumstances.
1077 Fixes bugs #5525, #10906.
1078
9a40b8d4
GM
10792012-03-08 Glenn Morris <rgm@gnu.org>
1080
1081 * files.el (locate-dominating-file, dir-locals-find-file):
1082 Undo 2012-03-06 change.
1083
7a08ed35
EZ
10842012-03-07 Eli Zaretskii <eliz@gnu.org>
1085
dbbc2e69
SM
1086 * international/quail.el (quail-help):
1087 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
1088 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1089 for the reason.
1090
5aca4f71 10912012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
1092
1093 Avoid superfluous registering of signals. (Bug#10807)
1094
1095 * notifications.el (notifications-on-action-object)
1096 (notifications-on-close-object): New defvars.
1097 (notifications-on-action-signal, notifications-on-closed-signal):
1098 Unregister the signal if not needed any longer.
1099 (notifications-notify): Register `notifications-action-signal' or
1100 `notifications-closed-signal', if :on-action or :on-close has been
1101 passed as argument.
1102
78e8b10a
CY
11032012-03-07 Chong Yidong <cyd@gnu.org>
1104
1105 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1106 non-X platforms.
1107
69481eb8
GM
11082012-03-06 Glenn Morris <rgm@gnu.org>
1109
1110 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1111 (x-disown-selection-internal, x-get-selection-internal):
1112 Doc fix (add arglist signatures). (Bug#10783)
1113
133b8e11
KS
11142012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1115
1116 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1117 Handle breakpoints with no "type".
1118
99a83064
GM
11192012-03-06 Glenn Morris <rgm@gnu.org>
1120
1121 * files.el (locate-dominating-file): Add optional predicate argument.
1122 (dir-locals-find-file): Make use of above change.
1123
17798e78
TTN
11242012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1125
1126 * info.el (Info-insert-dir): Also try "dir.gz".
1127
eb182446
GM
11282012-03-06 Glenn Morris <rgm@gnu.org>
1129
8f2114ee
GM
1130 * files.el (dir-locals-find-file):
1131 Ignore non-readable or non-regular files. (Bug#10928)
1132
eb182446
GM
1133 * files.el (locate-dominating-file): Doc fix.
1134
24679323
AS
11352012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1136
1137 * calendar/calendar.el (calendar-set-mode-line):
1138 `getenv' returns a string. (Bug#10951)
1139
01d972a9
LL
11402012-03-05 Leo Liu <sdl.web@gmail.com>
1141
109aa8a9
LL
1142 * simple.el (backward-delete-char-untabify): Constrain point to
1143 field (Bug#10939).
1144
01d972a9
LL
1145 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1146
10607bea
CY
11472012-03-05 Chong Yidong <cyd@gnu.org>
1148
1149 * simple.el (count-words): If called from Lisp, return the word
1150 count, for symmetry with `count-lines'. Arglist changed.
1151 (count-words--message): Args changed. Consolidate counting code
1152 from count-words and count-words-region.
1153 (count-words-region): Caller changed.
1154 (count-lines-region): Make it an obsolete alias.
1155
5dd11cfe
TH
11562012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1157
1158 * saveplace.el (save-place-to-alist)
1159 (save-place-ignore-files-regexp): Allow value nil to disable this
1160 feature.
1161
c349f4e6
CY
11622012-03-04 Chong Yidong <cyd@gnu.org>
1163
1164 * faces.el (face-spec-reset-face): For the default face, reset the
1165 attributes to default values (Bug#10748).
1166
e627be4c
LMI
11672012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1168
1169 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1170 previous patch: Check `message-send-mail-function', and not the
1171 default function (bug#10897).
1172
ebeabff4
MA
11732012-03-04 Michael Albinus <michael.albinus@gmx.de>
1174
a41a6cf4
MA
1175 * notifications.el (notifications-on-action-signal)
1176 (notifications-on-closed-signal): Check for unique service name of
1177 incoming event. Fix error in removing entry.
ebeabff4 1178 (top): Register for signals with wildcard service name.
a41a6cf4 1179 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 1180
c1ca42b4
CY
11812012-03-04 Chong Yidong <cyd@gnu.org>
1182
dc9924b8 1183 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 1184
ea16568d
GM
11852012-03-04 Glenn Morris <rgm@gnu.org>
1186
1187 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1188 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1189 (expand-abbrev, define-abbrev-table): Doc fixes.
1190
fbae4637
LMI
11912012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1192
1193 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1194 `message-default-send-mail-function' and not `send-mail-function'
1195 when doing the prompting for `sendmail-query-once' before sending
1196 in Message buffers (bug#10897).
1197
a1e7225c
LMI
1198 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1199 This is inconsistent with all the other stream functions, which leave
1200 the setting up to the higher levels (if so wanted) (bug#10931).
1201
56d093a9
AM
12022012-03-02 Alan Mackenzie <acm@muc.de>
1203
1204 Depessimize the handling of very large macros.
1205
1206 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1207 (c-macro-cache-syntactic): New variables to implement a one
1208 element macro cache.
1209 (c-invalidate-macro-cache): New function.
1210 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1211 Adapt to use the new cache.
1212 (c-state-safe-place): Use better the cache of safe positions.
1213 (c-state-semi-nonlit-pos-cache)
1214 (c-state-semi-nonlit-pos-cache-limit):
1215 New variables for...
1216 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1217 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
1218 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1219 Use c-state-semi-safe-place.
56d093a9 1220
dbbc2e69
SM
1221 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1222 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 1223
817e5c3d
MA
12242012-03-02 Michael Albinus <michael.albinus@gmx.de>
1225
dbbc2e69
SM
1226 * jka-compr.el (jka-compr-call-process):
1227 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
1228 not remote.
1229
a032a702
MA
12302012-03-01 Michael Albinus <michael.albinus@gmx.de>
1231
1232 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1233 access of FILE2, if FILE1 does not exist.
1234
99a54f21
MA
1235 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1236 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1237
1238 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1239 Add "PAGER=" to `process-environment'.
1240
f6561e1f
MM
12412012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1242
1243 * progmodes/sql.el: Bug fix
1244 (sql-get-login-ext): Save login values in globals.
1245 (sql-get-login): Use new version of `sql-get-login-ext'.
1246 (sql-interactive-mode): Set global `sql-connection' to nil.
1247 (sql-connect): Set global values for connection.
1248 (sql-product-interactive): Save global values as buffer local.
1249
2d44d9cc
LL
12502012-02-29 Leo Liu <sdl.web@gmail.com>
1251
1252 * abbrev.el (define-abbrevs): Reset sys to nil.
1253
96b49301 12542012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1255
bf7f9bc5
JB
1256 * files.el (file-equal-p): Rename from `files-equal-p'.
1257 Return nil when one or both files don't exist.
96b49301 1258 (file-subdir-of-p): Now only top directory must exists,
1259 return nil if it doesn't.
bf7f9bc5
JB
1260 (copy-directory): No need to test with `file-subdir-of-p' after
1261 creating dir.
1262 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1263 to `file-equal-p'.
96b49301 1264
44e97401
GM
12652012-02-28 Glenn Morris <rgm@gnu.org>
1266
1267 * shell.el (shell-mode):
1268 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1269 * play/landmark.el (landmark-font-lock-face-O):
1270 * play/handwrite.el (handwrite):
1271 * play/gomoku.el (gomoku-O):
1272 * net/browse-url.el (browse-url-browser-display):
1273 * international/mule.el (define-charset):
1274 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1275 * filesets.el (filesets-find-file-delay):
1276 * eshell/em-xtra.el (eshell-xtra):
1277 * eshell/em-unix.el (eshell-grep):
1278 * emulation/viper.el (viper-mode):
1279 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1280 * emacs-lisp/easymenu.el (easy-menu-define):
1281 * calendar/timeclock.el (timeclock-use-display-time):
1282 * bs.el (bs-mode):
1283 * bookmark.el (bookmark-save-flag):
1284 Doc fix (standardize possessive apostrophe usage).
1285
c98c6276
CY
12862012-02-27 Chong Yidong <cyd@gnu.org>
1287
bf7f9bc5
JB
1288 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1289 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 1290
c98c6276
CY
1291 * font-lock.el (font-lock-specified-p): Rename from
1292 font-lock-spec-present. Callers changed.
1293
9c62cd04 12942012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 1295
bf7f9bc5
JB
1296 * emacs-lisp/package.el (package-compute-transaction):
1297 Handle holding a package version to t in package-load-list.
8ac9e529 1298
530739c9
MA
12992012-02-26 Michael Albinus <michael.albinus@gmx.de>
1300
1301 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1302 (tramp-get-inode, tramp-get-device): Use cached values.
1303
487915d7
AM
13042012-02-26 Alan Mackenzie <acm@muc.de>
1305
1306 Check there is a font-lock specification before doing initial
1307 fontification.
1308
1309 * font-core.el (font-lock-mode): Move the conditional from
1310 :after-hook to font-lock-initial-fontify.
1311 (font-lock-default-function): Move the check for a specification
1312 to font-lock-spec-present.
1313
dc9924b8 1314 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
1315 (font-lock-spec-present): New function.
1316
4fd96557
JB
13172012-02-26 Jim Blandy <jimb@red-bean.com>
1318
1319 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1320 (gdb-send): Apply it to the operand of the '-interpreter-exec
1321 console' command, so that we can pass arguments with (say) quotes
1322 in them. Store exact string sent in gdb-debug-log (Bug#10765).
1323
9a4888c0
CY
13242012-02-26 Chong Yidong <cyd@gnu.org>
1325
07498861
CY
1326 * help-fns.el (describe-function-1): Clarify description of
1327 remapping (Bug#10844).
1328
9a4888c0
CY
1329 * files.el (files-equal-p): Doc fix.
1330 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
1331 and quit the loop once a mismatch is found.
1332
ea8fb88d
JB
13332012-02-25 Juanma Barranquero <lekktu@gmail.com>
1334
1335 * bs.el (bs--show-with-configuration): Don't throw an error
1336 if the window cannot be split; otherwise, subsequent calls to
1337 bs-show fail, restoring a stale window config. (Bug#10882)
1338
525795c1
JD
13392012-02-25 Jan Djärv <jan.h.d@swipnet.se>
1340
1341 * term/ns-win.el (global-map): Bind ns-drag-file to
1342 ns-find-file (Bug#5855, Bug#10050).
1343
f008086f
AS
13442012-02-25 Andreas Schwab <schwab@linux-m68k.org>
1345
1346 * calendar/parse-time.el (parse-time-string): Allow extractor to
1347 return nil.
1348
a3fcfa99
MA
13492012-02-25 Michael Albinus <michael.albinus@gmx.de>
1350
91027d08
JB
1351 * net/tramp.el (tramp-file-name-for-operation):
1352 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
1353
1354 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
1355 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1356 Add COPY-CONTENTS argument.
a3fcfa99 1357
67b0de11
CY
13582012-02-25 Chong Yidong <cyd@gnu.org>
1359
1360 Add custom groups for VC backends, for consistency with vc-bzr.
1361
1362 * vc/vc-arch.el (vc-arch):
1363 * vc/vc-cvs.el (vc-cvs):
1364 * vc/vc-git.el (vc-git):
1365 * vc/vc-hg.el (vc-hg):
1366 * vc/vc-mtn.el (vc-mtn):
1367 * vc/vc-rcs.el (vc-rcs):
1368 * vc/vc-sccs.el (vc-sccs):
1369 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1370 All relevant defcustoms reassigned.
1371
3c9dfce6
CY
13722012-02-25 Chong Yidong <cyd@gnu.org>
1373
1339bf43
CY
1374 * newcomment.el (comment-styles): Add autoload (Bug#10868).
1375
3c9dfce6
CY
1376 * term/x-win.el (x-initialize-window-system): Reduce default for
1377 x-selection-timeout to 5 seconds (Bug#8869).
1378
25b2e303 13792012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1380
ec70a47d
GM
1381 * files.el (files-equal-p, file-subdir-of-p): New functions.
1382 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 1383 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
1384 * dired-aux.el (dired-copy-file-recursive): Same.
1385 (dired-create-files): Modify destination when source is equal to
1386 dest when copying files.
53a46cd0 1387 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 1388
914260cd
MA
13892012-02-24 Michael Albinus <michael.albinus@gmx.de>
1390
1391 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1392 (Bug#10874)
1393
2cb228f7
AM
13942012-02-23 Alan Mackenzie <acm@muc.de>
1395
1396 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1397 parameter "after-hook:" to allow the expansion to run code after
1398 the execution of the mode hooks.
1399
1400 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 1401 from font-lock-mode-internal.
2cb228f7 1402
91027d08 1403 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
1404 :after-hook.
1405
8f0fde21
SM
14062012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1407
3e88618b
SM
1408 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1409 (completion--cache-all-sorted-completions): New function.
1410 (completion-all-sorted-completions): Use it.
1411 (completion--do-completion, minibuffer-force-complete):
1412 Use it to re-instate the flush hook.
1413
8f0fde21
SM
1414 * icomplete.el (icomplete-completions): Replace last fix with a better
1415 one (bug#10850).
1416
8e911f6f
DG
14172012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1418
1419 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1420 when it might call us back infinitely (bug#10797).
1421
49fe4321
GM
14222012-02-23 Glenn Morris <rgm@gnu.org>
1423
1424 * minibuffer.el (completion-category-overrides): Doc fix.
1425
b291b572
SM
14262012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1427
1428 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1429 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1430
31a9ef2e
GM
14312012-02-23 Glenn Morris <rgm@gnu.org>
1432
5e6e6794 1433 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
1434 (authors-obsolete-files-regexps, authors-ignored-files)
1435 (authors-ambiguous-files, authors-renamed-files-alist):
1436 Add more entries.
1437
0bd1e074
JL
14382012-02-23 Juri Linkov <juri@jurta.org>
1439
1440 * isearch.el (isearch-occur): Sync interactive spec with occur's
1441 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1442
b617673c
JL
1443 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1444
19e9789e
JL
14452012-02-22 Juri Linkov <juri@jurta.org>
1446
1447 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1448 (ucs-insert): Doc fix. Check for hex digits in the string.
1449 Don't display `nil' in the error message. (Bug#10857)
1450
f41ce09d
AM
14512012-02-22 Alan Mackenzie <acm@muc.de>
1452
7a71b18d 1453 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 1454
ac2eceee
GM
14552012-02-22 Glenn Morris <rgm@gnu.org>
1456
1457 * ffap.el (ffap-c-path):
1458 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1459
abd1f678
CY
14602012-02-22 Chong Yidong <cyd@gnu.org>
1461
1462 * custom.el (load-theme): Doc fix.
1463
f25aef2e
GM
14642012-02-22 Glenn Morris <rgm@gnu.org>
1465
1466 * dired-x.el (dired-guess-shell-alist-default):
1467 Remove escape sequences from nroff output. (Bug#172)
1468
5f8dc2ca
GM
14692012-02-21 Glenn Morris <rgm@gnu.org>
1470
6ff86ec4
GM
1471 * vc/emerge.el (emerge-defvar-local):
1472 Set `permanent-local' property rather than unused `preserved'.
1473
be3223a3 1474 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
1475 (picture-mode-map): Use it. (Bug#10860)
1476 (picture-mode): Doc fix.
1477
3fe58f4f
JB
14782012-02-21 Juanma Barranquero <lekktu@gmail.com>
1479
1480 * newcomment.el (uncomment-region-default): Remove unused binding.
1481
f9a998c3
GM
14822012-02-21 Glenn Morris <rgm@gnu.org>
1483
1484 * textmodes/picture.el (picture-motion, picture-motion-reverse)
1485 (picture-self-insert, picture-tab-chars): Doc fix.
1486 (picture-mode-map): Fix C-a, C-e.
1487
c6029348
GM
14882012-02-20 Glenn Morris <rgm@gnu.org>
1489
1490 * emacs-lisp/authors.el (authors-aliases): Add another entry.
1491
ab1ce9d7
LL
14922012-02-20 Leo Liu <sdl.web@gmail.com>
1493
1494 * icomplete.el (icomplete-completions): Check FROM arg before
1495 passing to substring (Bug#10850).
1496
0fd40f89
CY
14972012-02-19 Chong Yidong <cyd@gnu.org>
1498
1499 * comint.el: Require ansi-color.
1500 (comint-output-filter-functions): Add ansi-color-process-output.
1501
1502 * ansi-color.el: Don't set comint-output-filter-functions; it is
1503 now in the initial value defined in comint.el.
1504 (ansi-color-apply-face-function): New variable.
1505 (ansi-color-apply-on-region): Use it.
1506 (ansi-color-apply-overlay-face): New function.
1507
1508 * shell.el (shell): No need to require ansi-color.
1509 (shell-mode): Use ansi-color-apply-face-function to highlight
1510 color escapes using font-lock-face property (Bug#10835).
1511
20af2394
CY
15122012-02-19 Chong Yidong <cyd@gnu.org>
1513
1514 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1515 mode-line formats (Bug#10839).
1516
e23a3fbe
GM
15172012-02-18 Glenn Morris <rgm@gnu.org>
1518
b474519e
GM
1519 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1520
1521 * mail/undigest.el (unforward-rmail-message): Doc fix.
1522
e23a3fbe
GM
1523 * saveplace.el (save-place-ignore-files-regexp): Add :version.
1524
57939ff4
EZ
15252012-02-18 Eli Zaretskii <eliz@gnu.org>
1526
1527 * international/characters.el (script-list): Sync with the latest
1528 Unicode Character Database.
1529
0c23686e
AS
15302012-02-18 Andreas Schwab <schwab@linux-m68k.org>
1531
1532 * international/titdic-cnv.el: Remove duplicate coding tag.
1533 * language/cham.el: Likewise.
1534 * language/tai-viet.el: Likewise.
1535
6818b449
GM
15362012-02-18 Glenn Morris <rgm@gnu.org>
1537
1538 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1539 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1540 (calendar-bahai-all-holidays-flag, calendar-other-dates):
1541 * calendar/diary-lib.el (diary-abbreviated-year-flag):
1542 * calendar/holidays.el (holiday-bahai-holidays)
1543 (calendar-holidays, list-holidays):
1544 Use utf-8 Bahá'í in doc-strings, menus, etc.
1545
0311a3fc
TH
15462012-02-17 Tassilo Horn <tassilo@member.fsf.org>
1547
1548 * saveplace.el (save-place-ignore-files-regexp): New variable
1549 allowing for excluding files from saving their location of point.
1550 The default value matches the temporary commit message editing
1551 files from Git, SVN, Bazaar, and Mercurial.
1552 (save-place-to-alist): Use it.
1553
eb864a71
LM
15542012-02-17 Lawrence Mitchell <wence@gmx.li>
1555 Stefan Monnier <monnier@iro.umontreal.ca>
1556
1557 * newcomment.el (uncomment-region-default): Don't leave extra space
1558 when an arg is provided (bug#8150).
1559
ee0ce425
TZ
15602012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1561
eb864a71 1562 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 1563
95ddf442
GM
15642012-02-17 Glenn Morris <rgm@gnu.org>
1565
1566 * net/socks.el: Require network-stream. (Bug#10599)
1567
48dd1e39 15682012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
1569
1570 * international/charprop.el:
1571 * international/uni-name.el:
1572 * international/uni-old-name.el:
1573 * international/uni-comment.el: Regenerate.
1574
d68cd087
GM
15752012-02-16 Glenn Morris <rgm@gnu.org>
1576
1577 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1578 Interactively in calendar buffer, give an error if not on a date.
1579
13932042
GM
15802012-02-15 Glenn Morris <rgm@gnu.org>
1581
1582 * shell.el (shell-delimiter-argument-list):
1583 Revert 2011-02-17 change. (Bug#8027)
1584
c3a70e2b
CY
15852012-02-15 Chong Yidong <cyd@gnu.org>
1586
60236b0d
CY
1587 * minibuffer.el (completion-at-point-functions): Doc fix.
1588
c3a70e2b
CY
1589 * custom.el (defcustom): Doc fix; note use of defvar.
1590
9f26dc24
GM
15912012-02-15 Glenn Morris <rgm@gnu.org>
1592
1593 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1594 Doc fixes.
1595
6546b134
GM
15962012-02-14 Glenn Morris <rgm@gnu.org>
1597
1598 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1599
d29b2b4c
LI
16002012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
1601
1602 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1603 way the ports list is computed.
835bdcba
LI
1604 (smtpmail-query-smtp-server): Prompt the user for a port number if
1605 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 1606
08dcdbc9
TZ
16072012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
1608
1609 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1610
2605051a
GM
16112012-02-13 Glenn Morris <rgm@gnu.org>
1612
1613 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
1614
7ee99f32
TZ
16152012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1616
1617 * net/gnutls.el (gnutls-trustfiles): New variable.
1618 (gnutls-negotiate): Use it.
1619
5f0af64f
LI
16202012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1621
1622 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1623 does its stuff if Gnus is running.
1624
c14fcc95
AM
16252012-02-13 Alan Mackenzie <acm@muc.de>
1626
1627 Fix a loop in c-set-fl-decl-start.
1628
7a71b18d 1629 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
1630 c-backward-syntactic-ws actually moves backwards.
1631
142b4d90
LL
16322012-02-13 Leo Liu <sdl.web@gmail.com>
1633
1634 * net/rcirc.el (rcirc-markup-attributes): Move point to the
1635 beginning so that all \C-o chars are removed.
1636
fa9958a6
TZ
16372012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1638
dc9924b8 1639 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 1640
0bc5886a
AM
16412012-02-12 Alan Mackenzie <acm@muc.de>
1642
1643 Fix infinite loop with long macros.
1644 * cc-engine.el (c-state-safe-place): Handle macros properly.
1645
d4bd55e7
CY
16462012-02-12 Chong Yidong <cyd@gnu.org>
1647
1648 * window.el (display-buffer): Doc fix (Bug#10785).
1649
66f3fe22
GM
16502012-02-12 Glenn Morris <rgm@gnu.org>
1651
bd7da63e
GM
1652 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1653 (x-disown-selection-internal, x-get-selection-internal):
1654 Sync docs with the xselect.c versions.
1655
66f3fe22
GM
1656 * allout-widgets.el: Add missing license notice.
1657
3e0d2fa7
GM
16582012-02-11 Glenn Morris <rgm@gnu.org>
1659
cfecdf09
GM
1660 * select.el (x-get-selection-internal, x-own-selection-internal)
1661 (x-disown-selection-internal):
1662 * x-dnd.el (x-get-selection-internal): Update declarations.
1663
6d216d7f
GM
1664 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1665
2bed3f04
GM
1666 * window.el (window-sides-slots):
1667 * tool-bar.el (tool-bar-position):
1668 * term/xterm.el (xterm-extra-capabilities):
1669 * ses.el (ses-self-reference-early-detection):
1670 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1671 (verilog-auto-wire-type)
1672 (verilog-auto-delete-trailing-whitespace)
1673 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1674 (verilog-auto-tieoff-declaration):
1675 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1676 (sql-oracle-statement-starters, sql-oracle-scan-on):
1677 * progmodes/prolog.el (prolog-align-comments-flag)
1678 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1679 (prolog-left-indent-regexp, prolog-paren-indent-p)
1680 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1681 (prolog-types, prolog-mode-specificators)
1682 (prolog-determinism-specificators, prolog-directives)
1683 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1684 (prolog-electric-dot-flag)
1685 (prolog-electric-dot-full-predicate-template)
1686 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1687 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1688 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1689 (prolog-program-switches, prolog-prompt-regexp)
1690 (prolog-debug-on-string, prolog-debug-off-string)
1691 (prolog-trace-on-string, prolog-trace-off-string)
1692 (prolog-zip-on-string, prolog-zip-off-string)
1693 (prolog-use-standard-consult-compile-method-flag)
1694 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1695 (prolog-imenu-max-lines, prolog-info-predicate-index)
1696 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1697 (prolog-char-quote-workaround):
1698 * progmodes/cc-vars.el (c-defun-tactic):
1699 * net/tramp.el (tramp-encoding-command-interactive)
1700 (tramp-local-end-of-line):
1701 * net/soap-client.el (soap-client):
1702 * net/netrc.el (netrc-file):
1703 * net/gnutls.el (gnutls):
1704 * minibuffer.el (completion-category-overrides)
1705 (completion-cycle-threshold)
1706 (completion-pcm-complete-word-inserts-delimiters):
1707 * man.el (Man-name-local-regexp):
1708 * mail/feedmail.el (feedmail-display-full-frame):
1709 * international/characters.el (glyphless-char-display-control):
1710 * eshell/em-ls.el (eshell-ls-date-format):
1711 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1712 (lisp-lambda-list-keyword-parameter-indentation)
1713 (lisp-lambda-list-keyword-parameter-alignment):
1714 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1715 * dired-x.el (dired-omit-verbose):
1716 * cus-theme.el (custom-theme-allow-multiple-selections):
1717 * calc/calc.el (calc-highlight-selections-with-faces)
1718 (calc-lu-field-reference, calc-lu-power-reference)
1719 (calc-note-threshold):
1720 * battery.el (battery-mode-line-limit):
1721 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1722 (archive-7z-update):
1723 * allout.el (allout-prefixed-keybindings)
1724 (allout-unprefixed-keybindings)
1725 (allout-inhibit-auto-fill-on-headline)
1726 (allout-flattened-numbering-abbreviation):
1727 * allout-widgets.el (allout-widgets-auto-activation)
1728 (allout-widgets-icons-dark-subdir)
1729 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1730 (allout-widgets-theme-dark-background)
1731 (allout-widgets-theme-light-background)
1732 (allout-widgets-item-image-properties-emacs)
1733 (allout-widgets-item-image-properties-xemacs)
1734 (allout-widgets-run-unit-tests-on-load)
1735 (allout-widgets-time-decoration-activity)
1736 (allout-widgets-hook-error-post-time)
1737 (allout-widgets-track-decoration):
1738 Add missing :version tags to new defcustoms and defgroups.
1739
5fec1b8e
GM
1740 * progmodes/sql.el (sql-ansi-statement-starters)
1741 (sql-oracle-statement-starters): Add custom type.
1742
3e0d2fa7
GM
1743 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1744 (prolog-system-version): Give it a type.
1745
90b671e2
EZ
17462012-02-11 Eli Zaretskii <eliz@gnu.org>
1747
1748 * term/pc-win.el (x-select-text, x-selection-owner-p)
1749 (x-own-selection-internal, x-disown-selection-internal)
1750 (x-get-selection-internal): Sync doc strings and argument lists
1751 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1752
5eac0c02
LL
17532012-02-11 Leo Liu <sdl.web@gmail.com>
1754
1755 * progmodes/python.el (python-end-of-statement): Fix infinite
1756 loop. (Bug#10788)
1757
f82cb659
GM
17582012-02-10 Glenn Morris <rgm@gnu.org>
1759
1760 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1761 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1762
cc26d239
LI
17632012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1764
1765 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1766 about SMTP before checking the From header.
1767
91027d08 1768 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
1769 into own function for reuse by emacsbug.el.
1770
1be3ca5a
LL
17712012-02-10 Leo Liu <sdl.web@gmail.com>
1772
1773 * subr.el (condition-case-unless-debug): Rename from
1774 condition-case-no-debug. All callers changed.
1775 (with-demoted-errors): Fix caller.
1776
1777 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1778 * nxml/rng-valid.el (rng-do-some-validation):
1779 * emacs-lisp/package.el (package-refresh-contents)
1780 (package-menu-execute):
1781 * desktop.el (desktop-create-buffer):
91027d08 1782 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 1783
b011fbfe
GM
17842012-02-10 Glenn Morris <rgm@gnu.org>
1785
b2096d72
GM
1786 * textmodes/bibtex.el:
1787 Add missing :version tags for new/changed defcustoms.
1788
b011fbfe
GM
1789 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1790
4c7e65bf
LI
17912012-02-09 Lars Ingebrigtsen <larsi@rusty>
1792
1793 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1794 (smtpmail-via-smtp): Use it, or fall back on the From address.
1795 (smtpmail-send-it): Ditto.
1796
f3934f6f
SM
17972012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1798
1799 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1800 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1801 (byte-compile-tmp-var): New const.
1802 (byte-compile-defvar): Use it to minimize .elc size.
1803 Just use `defvar' rather than simulate it (bug#10761).
1804
a075a2c5
GM
18052012-02-09 Glenn Morris <rgm@gnu.org>
1806
cf3aa21b
GM
1807 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1808
354998cd
GM
1809 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1810 Add :version tags.
1811
dc9924b8
SM
1812 * progmodes/compile.el (compilation-error-screen-columns)
1813 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 1814
dab3703d
GM
1815 * vc/log-view.el (log-view-toggle-entry-display):
1816 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1817
3f88cd72
GM
1818 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1819 (report-emacs-bug-can-use-xdg-email):
1820 (report-emacs-bug-insert-to-mailer): Doc fixes.
1821 (report-emacs-bug): Message fix.
1822
d95b247d
GM
1823 * net/browse-url.el (browse-url-can-use-xdg-open)
1824 (browse-url-xdg-open): Doc fixes.
1825
a075a2c5
GM
1826 * electric.el (electric-indent-mode, electric-pair-mode)
1827 (electric-layout-rules, electric-layout-mode): Doc fixes.
1828 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1829
ffb6157e
MR
18302012-02-08 Martin Rudalics <rudalics@gmx.at>
1831
1832 * server.el (server-unselect-display): Don't inadvertently kill
1833 the current buffer. (Bug#10729)
1834
e1ac4066
GM
18352012-02-08 Glenn Morris <rgm@gnu.org>
1836
34e8a2da
GM
1837 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1838 (sql-list-table): Doc fixes.
1839
b4ac6e8c
GM
1840 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1841 Comment out (does nothing).
1842
e1ac4066
GM
1843 * completion.el (dynamic-completion-mode):
1844 * dirtrack.el (dirtrack-debug-mode):
1845 * electric.el (electric-layout-mode):
1846 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1847 * face-remap.el (text-scale-mode, buffer-face-mode):
1848 * iimage.el (iimage-mode):
1849 * image-mode.el (image-transform-mode):
1850 * minibuffer.el (completion-in-region-mode):
1851 * scroll-lock.el (scroll-lock-mode):
1852 * simple.el (next-error-follow-minor-mode):
1853 * tar-mode.el (tar-subfile-mode):
1854 * tooltip.el (tooltip-mode):
1855 * vcursor.el (vcursor-use-vcursor-map):
1856 * wid-browse.el (widget-minor-mode):
1857 * emulation/tpu-edt.el (tpu-edt-mode):
1858 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1859 * international/iso-ascii.el (iso-ascii-mode):
1860 * language/thai-util.el (thai-word-mode):
1861 * mail/supercite.el (sc-minor-mode):
1862 * net/goto-addr.el (goto-address-mode):
1863 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1864 * progmodes/cwarn.el (cwarn-mode):
1865 * progmodes/flymake.el (flymake-mode):
1866 * progmodes/glasses.el (glasses-mode):
1867 * progmodes/hideshow.el (hs-minor-mode):
1868 * progmodes/pascal.el (pascal-outline-mode):
1869 * textmodes/enriched.el (enriched-mode):
1870 * vc/smerge-mode.el (smerge-mode):
1871 Doc fixes (minor mode argument).
1872
5e0d957f
EZ
18732012-02-07 Eli Zaretskii <eliz@gnu.org>
1874
1875 * ls-lisp.el (ls-lisp-sanitize): New function.
1876 (ls-lisp-insert-directory): Use it to fix or remove any elements
1877 in file-alist with missing attributes. (Bug#4673)
1878
98d7371e
AM
18792012-02-07 Alan Mackenzie <acm@muc.de>
1880
1881 Fix spurious recognition of c-in-knr-argdecl.
1882
1883 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1884 putative K&R region.
1885
667ced3a
AM
18862012-02-07 Alan Mackenzie <acm@muc.de>
1887
eb864a71
LM
1888 * progmodes/cc-engine.el (c-forward-objc-directive):
1889 Prevent looping in "#pragma mark @implementation".
667ced3a 1890
5b77774d
MA
18912012-02-07 Michael Albinus <michael.albinus@gmx.de>
1892
1893 * notifications.el (notifications-on-closed-signal): Make `reason'
1894 optional. (Bug#10744)
1895
af008560
GM
18962012-02-07 Glenn Morris <rgm@gnu.org>
1897
60d47423
GM
1898 * emacs-lisp/easy-mmode.el (define-minor-mode):
1899 Doc fixes for the macro and the mode it defines.
1900
dd605cc4
GM
1901 * image.el (imagemagick-types-inhibit): Doc fix.
1902
af008560
GM
1903 * cus-start.el (imagemagick-render-type): Add it.
1904
5cc59a37
LI
19052012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1906
1907 * progmodes/cc-mode.el
1908 (c-standard-font-lock-fontify-region-function): Set the default at
1909 load time, too, so that `font-lock-fontify-buffer' can be called
1910 without setting up the entire mode first. This fixes a bug in
1911 `mm-inline-text' with C MIME parts.
1912
9a6dd747
CY
19132012-02-06 Chong Yidong <cyd@gnu.org>
1914
2d16b285
CY
1915 * simple.el (list-processes--refresh): Delete exited processes
1916 (Bug#8094).
1917
171e9b6e
CY
1918 * comint.el (comint-next-prompt): next-single-char-property-change
1919 and prev-single-char-property-change never return nil (Bug#8657).
1920
9a6dd747
CY
1921 * custom.el (defcustom): Doc fix (Bug#9711).
1922
aa4589a7
CY
19232012-02-05 Chong Yidong <cyd@gnu.org>
1924
5c2a252f
CY
1925 * cus-edit.el (custom-variable-reset-backup): Quote the value
1926 before storing it in the customized-value property (Bug#6712).
4aab9006 1927 (custom-display): Add a customization type tag.
983b9602 1928 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 1929
aa4589a7
CY
1930 * wid-edit.el (widget-field-value-get): New optional arg to
1931 suppress trailing whitespace truncation.
1932 (character): Use it (Bug#2689).
1933
1ff980ae
AS
19342012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1935
1936 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1937 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1938
03988c98
CY
19392012-02-05 Chong Yidong <cyd@gnu.org>
1940
eeb6cc88
CY
1941 * cus-edit.el (custom-variable-value-create): For mismatched
1942 types, show the current value (Bug#7600).
1943
03988c98
CY
1944 * custom.el (defcustom): Doc fix.
1945
f8cdeef0
GM
19462012-02-05 Glenn Morris <rgm@gnu.org>
1947
1948 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1949
0696d255
JB
19502012-02-05 Juanma Barranquero <lekktu@gmail.com>
1951
1952 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1953 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1954 (pp-last-sexp): Use `looking-at-p'.
1955
34c99998
GM
19562012-02-04 Glenn Morris <rgm@gnu.org>
1957
8f05da42
GM
1958 * files.el (revert-buffer):
1959 Doc fix (mention revert-buffer-in-progress-p).
1960
f160676e
GM
1961 * emacs-lisp/ert-x.el (ert-simulate-command):
1962 Check deferred-action-list (which is obsolete) is bound.
1963
c7291ad9
GM
1964 * subr.el (with-wrapper-hook): Doc fixes.
1965
34c99998
GM
1966 * simple.el (filter-buffer-substring-functions)
1967 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1968
6283a7d3
LL
19692012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1970
1971 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1972 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1973
e96e3013
LL
19742012-02-04 Leo Liu <sdl.web@gmail.com>
1975
1976 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1977
8ded50f2
GM
19782012-02-04 Glenn Morris <rgm@gnu.org>
1979
82ff1d13
GM
1980 * image.el (image-extension-data): Add obsolete alias.
1981
987a0a16
GM
1982 * isearch.el (isearch-update): Doc fix.
1983
ea32ef46
GM
1984 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1985
8ded50f2
GM
1986 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1987
eea14f31
GM
19882012-02-03 Glenn Morris <rgm@gnu.org>
1989
1990 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1991 (image-animate-timeout): Doc fix.
1992
1993 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1994
12f381b7
GM
19952012-02-02 Glenn Morris <rgm@gnu.org>
1996
953cebf5
GM
1997 * server.el (server-auth-dir): Doc fix.
1998 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1999
12f381b7
GM
2000 * subr.el (run-mode-hooks): Doc fix.
2001
953a8c3b
JL
20022012-02-02 Juri Linkov <juri@jurta.org>
2003
2004 * image-mode.el (image-toggle-display-image): Remove tautological
2005 `major-mode' from the `derived-mode-p' test.
2006
c5d3843c
KH
20072012-02-02 Kenichi Handa <handa@m17n.org>
2008
9f6e692e 2009 * composite.el (compose-region): Cancel previous change.
c5d3843c 2010
159462d4 20112012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
2012
2013 * composite.el (compose-region, compose-string): Signal error for
2014 a null string component (Bug#6988).
2015
9f562668
CY
20162012-02-01 Chong Yidong <cyd@gnu.org>
2017
e2cef717
CY
2018 * view.el (view-buffer-other-window, view-buffer-other-frame):
2019 Handle special modes like view-buffer (Bug#10650).
2020 (view-buffer): Simplify.
2021
9f562668
CY
2022 * frame.el (set-frame-font): Tweak meaning of third argument.
2023
9f6e692e
JB
2024 * dynamic-setting.el (font-setting-change-default-font):
2025 Use set-frame-font (Bug#9982).
9f562668 2026
781acb9f
GM
20272012-02-01 Glenn Morris <rgm@gnu.org>
2028
6035be52
GM
2029 * progmodes/compile.el (compilation-internal-error-properties):
2030 Respect compilation-first-column in the "*compilation*" buffer.
2031
781acb9f
GM
2032 * emacs-lisp/easy-mmode.el (define-minor-mode):
2033 Relax :variable's test for a named function.
2034
abbceb00
AM
20352012-01-31 Alan Mackenzie <acm@muc.de>
2036
2037 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2038 off by one error.
2039
fce3fdeb
CY
20402012-01-31 Chong Yidong <cyd@gnu.org>
2041
2042 * frame.el (set-frame-font): New arg ALL-FRAMES.
2043
2044 * menu-bar.el (menu-set-font): Use set-frame-font.
2045
2046 * faces.el (face-spec-reset-face): Don't apply unspecified
2047 attribute values to the default face.
2048
47893581
JB
20492012-01-31 Juanma Barranquero <lekktu@gmail.com>
2050
2051 * progmodes/cwarn.el (cwarn): Remove dead link.
2052 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2053 Remove * from defcustom docstrings.
2054 (turn-on-cwarn-mode): Make obsolete.
2055 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2056 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2057
e58e988a
GM
20582012-01-31 Glenn Morris <rgm@gnu.org>
2059
60dc2671 2060 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 2061 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 2062 Allow named functions to be used as the cdr of :variable.
e58e988a 2063
7a3f511d
GM
20642012-01-30 Glenn Morris <rgm@gnu.org>
2065
2066 * emacs-lisp/authors.el (authors-fixed-entries):
2067 Remove reference to deleted file rnewspost.el.
2068
cb882333
JB
20692012-01-29 Juanma Barranquero <lekktu@gmail.com>
2070
2071 * window.el (window-with-parameter): Remove unused variable `windows'.
2072 (window--side-check): Remove unused variable `code'.
2073 (window--resize-siblings): Remove unused variable `first'.
2074 (adjust-window-trailing-edge): Remove unused variable `failed'.
2075 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2076 Use `let', not `let*'.
2077 (balance-windows-2): Remove unused variable `found'.
2078 (window--state-put-2): Remove unused variable `splits'.
2079 (window-state-put): Remove unused variable `selected'.
2080 (same-window-p): Use `string-match-p'.
2081 (display-buffer-assq-regexp): Remove unused variable `value'.
2082 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2083 Mark argument ALIST as ignored.
2084 (pop-to-buffer): Remove unused variable `old-window'.
2085
907201af
EZ
20862012-01-29 Eli Zaretskii <eliz@gnu.org>
2087
2088 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2089 and .lzma compressed files.
2090
ea162670
CY
20912012-01-29 Chong Yidong <cyd@gnu.org>
2092
5b95ee8a
CY
2093 * frame.el (window-system-default-frame-alist): Doc fix.
2094
ea162670
CY
2095 * dynamic-setting.el (font-setting-change-default-font): Don't
2096 change the default face if SET-FONT argument is non-nil (Bug#9982).
2097
d6e6f4b1
SB
20982012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2099
2100 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2101
0f29fa41 21022012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
2103
2104 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2105 breakpoints in files outside current directory (Bug#6098).
2106
db174434
CY
21072012-01-29 Chong Yidong <cyd@gnu.org>
2108
6b25e4e2
SE
2109 * progmodes/python.el: Require ansi-color at top-level.
2110
6df6ae42
JB
2111 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2112 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
2113 (lisp-mode-abbrev-table): Add doc.
2114 (lisp-mode-variables): Don't set local-abbrev-table.
2115 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2116
e70ee681
RW
21172012-01-28 Roland Winkler <winkler@gnu.org>
2118
2119 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2120
ace88aa2
RW
21212012-01-28 Roland Winkler <winkler@gnu.org>
2122
2123 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2124 (bibtex-set-dialect): Use it. Either set global values of
2125 dialect-dependent variables or bind these variables buffer-locally
2126 (Bug#10254).
2127 (bibtex-mode): Call bibtex-set-dialect via
2128 hack-local-variables-hook.
eb864a71
LM
2129 (bibtex-dialect): Update docstring.
2130 Add safe-local-variable predicate.
ace88aa2
RW
2131 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2132 bibtex-set-dialect.
2133 (bibtex-mode-map): Define menu for each dialect.
2134 (bibtex-entry): Fix docstring.
2135
93376c5b
CY
21362012-01-28 Chong Yidong <cyd@gnu.org>
2137
2138 * eshell/esh-arg.el (eshell-quote-argument): New function.
2139
2140 * eshell/esh-ext.el (eshell-invoke-batch-file):
2141 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2142 first arg to eshell-parse-command (Bug#10523).
2143
4372494f
DA
21442012-01-28 Drew Adams <drew.adams@oracle.com>
2145
2146 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2147 `default-directory' is non-nil.
2148
4d4ec1f8
EZ
21492012-01-28 Eli Zaretskii <eliz@gnu.org>
2150
2151 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2152 line that displays system-configuration-options. (Bug#9924)
2153
7c188927
DA
21542012-01-28 Drew Adams <drew.adams@oracle.com>
2155
2156 * descr-text.el (describe-char): Show information about POS, in
2157 addition to information about the character at POS. Improve and
2158 update the doc string. Change "code point" to "code point in
2159 charset", to avoid confusion with the character's Unicode code
2160 point shown above that. (Bug#10129)
2161
e0da685a
EZ
21622012-01-28 Eli Zaretskii <eliz@gnu.org>
2163
2164 * descr-text.el (describe-char): Show the raw character, not only
2165 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2166 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2167 for the reasons.
2168
70550acf
PH
21692012-01-28 Phil Hagelberg <phil@hagelb.org>
2170
eb864a71
LM
2171 * emacs-lisp/package.el (package-install):
2172 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 2173
0ce8e868
CY
21742012-01-28 Chong Yidong <cyd@gnu.org>
2175
cb882333
JB
2176 * emacs-lisp/package.el (package-maybe-load-descriptor):
2177 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
2178 (package-maybe-load-descriptor): Use it.
2179 (package-download-transaction): Fully load required packages
2180 inside the loop, so that `require' calls work (Bug#10593).
2181 (package-install): No need to call package-initialize now.
2182
2e7f3bea
CY
21832012-01-28 Chong Yidong <cyd@gnu.org>
2184
6e9bad14
CY
2185 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2186
f823b8ca
CY
2187 * tooltip.el (tooltip-mode): Doc fix.
2188 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2189
2680c309
CY
2190 * frame.el (set-cursor-color): Doc fix (Bug#352).
2191
d7a9e63b
CY
2192 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2193 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2194
2e7f3bea
CY
2195 * cus-edit.el (custom-buffer-create-internal): Fix search button
2196 action (Bug#10542).
2ae01800 2197 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 2198
fc4f7a23
EW
21992012-01-27 Eduard Wiebe <usenet@pusto.de>
2200
2201 * dired.el (dired-mark-files-regexp):
2202 Include any subdirectory components. (Bug#10445)
2203
7dd37071
ML
22042012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2205
2206 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2207 Handle [host]:port syntax. (Bug#10533)
2208
a268160b
AH
22092012-01-27 Alex Harsanyi <harsanyi@mac.com>
2210
2211 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2212
e43273ef
GM
22132012-01-26 Glenn Morris <rgm@gnu.org>
2214
2215 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2216 * term.el (term-raw-escape-map): Use Control-X-prefix.
2217 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2218
1edf595d
MR
22192012-01-25 Martin Rudalics <rudalics@gmx.at>
2220
2221 * window.el (window-state-get, window--state-get-1): Don't deal
2222 with fixed-sizeness of windows. Simplify code.
2223
fa8eafef
JC
22242012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2225
6df6ae42
JB
2226 * window.el (window--state-get-1, window--state-put-2):
2227 Don't save and restore the mark.
fa8eafef 2228
0b21c100
CY
22292012-01-25 Chong Yidong <cyd@gnu.org>
2230
2231 * custom.el (custom-variable-p): Doc fix.
2232
5ae1a6c8
GM
22332012-01-25 Glenn Morris <rgm@gnu.org>
2234
40047858
GM
2235 * dired.el (dired-goto-file): Handle some of the more common
2236 characters that `ls -b' escapes. (Bug#10596)
2237
5ddce96c
GM
2238 * progmodes/compile.el (compilation-next-error-function):
2239 Respect compilation-first-column in the "*compilation*" buffer.
2240 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2241
5ae1a6c8
GM
2242 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2243
b559f1a9
GM
22442012-01-24 Glenn Morris <rgm@gnu.org>
2245
2246 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2247
6725d21a
JD
22482012-01-24 Julien Danjou <julien@danjou.info>
2249
2250 * color.el (color-rgb-to-hsl): Fix value computing.
2251 (color-hue-to-rgb): New function.
2252 (color-hsl-to-rgb): New function.
2253 (color-clamp, color-saturate-hsl, color-saturate-name)
2254 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2255 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2256
70df4bbe
GM
22572012-01-24 Glenn Morris <rgm@gnu.org>
2258
2259 * vc/vc-rcs.el (vc-rcs-create-tag):
2260 * vc/vc-sccs.el (vc-sccs-create-tag):
2261 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2262
802a2ae2
ML
22632012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2264
2265 * eshell/esh-util.el (eshell-read-hosts-file):
2266 Skip comment lines. (Bug#10549)
2267
d7128bb1
ML
2268 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2269
d1a5c3b4
JB
22702012-01-23 Juanma Barranquero <lekktu@gmail.com>
2271
2724d9c7
JB
2272 * subr.el (display-delayed-warnings): Doc fix.
2273 (collapse-delayed-warnings): New function to collapse identical
2274 adjacent warnings.
2275 (delayed-warnings-hook): Add it.
d1a5c3b4 2276
a5509865
MA
22772012-01-22 Michael Albinus <michael.albinus@gmx.de>
2278
2279 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2280
2281 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2282 properties, when "login-as" is set.
2283
2284 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2285 (tramp-default-user-alist): Don't add "pscp".
2286 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2287 property "login-as", if set. (Bug#10530)
2288
cc6d5805
MA
22892012-01-21 Michael Albinus <michael.albinus@gmx.de>
2290
2291 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2292 "plink1" and "psftp". (Bug#10530)
2293
22942012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
2295
2296 * international/mule-cmds.el (prefer-coding-system): Show a
2297 warning message if the default value of file-name-coding-system
2298 was not changed.
2299
f0960428
JC
23002012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2301
cb882333
JB
2302 * windmove.el (windmove-reference-loc):
2303 Fix windmove-reference-loc miscalculation.
f0960428 2304
dd6f2a63
JB
23052012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2306
2307 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2308 default unit.
2309
7b447e9b
GM
23102012-01-21 Glenn Morris <rgm@gnu.org>
2311
117a9ea1
GM
2312 * international/mule.el (auto-coding-alist): Add .tbz.
2313
7b447e9b
GM
2314 * files.el (local-enable-local-variables): Doc fix.
2315 (inhibit-local-variables-regexps): Rename from
2316 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
2317 Doc fix. Add some extensions from auto-coding-alist.
2318 (inhibit-local-variables-suffixes):
2319 Rename from inhibit-first-line-modes-suffixes. Doc fix.
2320 (inhibit-local-variables-p):
2321 New function, extracted from set-auto-mode-1.
2322 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
2323 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
2324 (hack-local-variables): Doc fix. Make the mode-only case
2325 respect enable-local-variables and friends.
2326 Respect inhibit-local-variables-regexps for file-locals, but
2327 not for directory-locals.
2328 (set-visited-file-name):
2329 Take account of inhibit-local-variables-regexps.
2330 Whether it applies may change as the file name is changed.
2331 * jka-cmpr-hook.el (jka-compr-install):
2332 * jka-compr.el (jka-compr-uninstall):
2333 Update for inhibit-first-line-modes-suffixes name change.
2334
dd6e3cdd
MR
23352012-01-20 Martin Rudalics <rudalics@gmx.at>
2336
2337 * help-macro.el (make-help-screen): Temporarily restore original
2338 binding for minor-mode-map-alist (Bug#10454).
2339
0d0deb38
JD
23402012-01-19 Julien Danjou <julien@danjou.info>
2341
2342 * color.el (color-name-to-rgb): Use the white color to find the max
2343 color component value and return correctly computed values.
2344 (color-name-to-rgb): Add missing float conversion for max value.
2345
34a02f46
MR
23462012-01-19 Martin Rudalics <rudalics@gmx.at>
2347
2348 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
2349 special state value for window-persistent-parameters.
2350 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
2351 (window--state-put-2): Reset all window parameters to nil before
2352 assigning values of persistent parameters.
2353
606c44c4
AM
23542012-01-18 Alan Mackenzie <acm@muc.de>
2355
2356 Eliminate sluggishness and hangs in fontification of "semicolon
2357 deserts".
2358
cb882333
JB
2359 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2360 Change value 10000 -> 3000.
606c44c4
AM
2361 (c-state-safe-place): Reformulate so it doesn't stack up an
2362 infinite number of wrong entries in c-state-nonlit-pos-cache.
2363 (c-determine-limit-get-base, c-determine-limit): New functions to
2364 determine backward search limits disregarding literals.
2365 (c-find-decl-spots): Amend commenting.
2366 (c-cheap-inside-bracelist-p): New function which detects "={".
2367
2368 * progmodes/cc-fonts.el
2369 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2370 backward search.
2371 (c-font-lock-declarations): Fix an occurrence of point being
2372 undefined. Check additionally for point being in a bracelist or
2373 near a macro invocation without a semicolon so as to avoid a
2374 fruitless time consuming search for a declarator. Give a more
2375 precise search limit for declarators using the new
2376 c-determine-limit.
2377
f3860cea
GM
23782012-01-18 Glenn Morris <rgm@gnu.org>
2379
2380 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2381 (set-auto-mode): Doc fixes.
2382
1db03b16
GM
23832012-01-17 Glenn Morris <rgm@gnu.org>
2384
0e6038be
GM
2385 * isearch.el (search-nonincremental-instead): Fix doc typo.
2386
1db03b16
GM
2387 * dired.el (dired-insert-directory): Handle newlines in directory name.
2388 (dired-build-subdir-alist): Unescape newlines in directory name.
2389
4cb0aa75
MA
23902012-01-17 Michael Albinus <michael.albinus@gmx.de>
2391
2392 * net/tramp.el (tramp-local-end-of-line): New defcustom.
2393 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2394 (tramp-action-terminal): Use it. (Bug#10530)
2395
1d00653d
SM
23962012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2397
2398 * minibuffer.el (completion--replace): Strip properties (bug#10062).
2399
6a6ee00d
MR
24002012-01-16 Martin Rudalics <rudalics@gmx.at>
2401
2402 * window.el (window-state-ignored-parameters): Remove variable.
2403 (window--state-get-1): Rename argument MARKERS to IGNORE.
2404 Handle persistent window parameters. Make copy of clone-of
2405 parameter only if requested. (Bug#10348)
2406 (window--state-put-2): Install a window parameter only if it has
2407 a non-nil value or an existing parameter shall be overwritten.
2408
97912def
MA
24092012-01-15 Michael Albinus <michael.albinus@gmx.de>
2410
2411 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2412
688070a5
EZ
24132012-01-14 Eli Zaretskii <eliz@gnu.org>
2414
2415 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2416 don't pass the (nil) value of `upnode' to string-match.
2417
301afadc
CY
24182012-01-14 Chong Yidong <cyd@gnu.org>
2419
2420 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 2421 Fix values recognized by the cursorBlink resource.
301afadc 2422
9e5788aa
PE
24232012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2424
2425 * epg.el (epg--make-temp-file): Avoid permission race condition
2426 when running on old Emacs versions (bug#10403).
2427
3cdb7f5a
GM
24282012-01-14 Glenn Morris <rgm@gnu.org>
2429
2430 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2431
8c82b1b4
AM
24322012-01-13 Alan Mackenzie <acm@muc.de>
2433
2434 Fix filling for when filladapt mode is enabled.
2435
2436 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2437 c-mask-paragraph, pass in `fill-paragraph' rather than
2438 `fill-region-as-paragraph'. (This is a reversion of a previous
2439 change.)
eb864a71
LM
2440 * progmodes/cc-mode.el (c-basic-common-init):
2441 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 2442
e517eda4
GM
24432012-01-13 Glenn Morris <rgm@gnu.org>
2444
1498536e
GM
2445 * dired.el (dired-switches-escape-p): New function.
2446 (dired-insert-directory): Use dired-switches-escape-p.
2447 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2448
e517eda4
GM
2449 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2450
328f984d
GM
24512012-01-12 Glenn Morris <rgm@gnu.org>
2452
2453 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2454 changes in adaptive-fill-regexp. (Bug#10276)
2455
2cc769a8
AM
24562012-01-11 Alan Mackenzie <acm@muc.de>
2457
2458 Fix Emacs bug #10463 - put `widen's around the critical spots.
2459
1d00653d 2460 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
2461 widen around each invocation of c-state-pp-to-literal. Remove an
2462 unused let variable.
2463
e52c37fa
GM
24642012-01-11 Glenn Morris <rgm@gnu.org>
2465
2466 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 2467 Doc fix.
e52c37fa 2468
96f8741e
CY
24692012-01-10 Chong Yidong <cyd@gnu.org>
2470
1d00653d
SM
2471 * net/network-stream.el (network-stream-open-starttls):
2472 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
2473 response to the capability command.
2474
b09a806e
GM
24752012-01-10 Glenn Morris <rgm@gnu.org>
2476
2477 * mail/unrmail.el (unrmail): Tweak previous change.
2478
7655cb66
CY
24792012-01-09 Chong Yidong <cyd@gnu.org>
2480
2481 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2482
9d5a8f0b
AM
24832012-01-08 Alan Mackenzie <acm@muc.de>
2484
2485 Optimise font locking in long enum definitions.
2486
2487 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2488 arm to a cond form to handle enums.
2489 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2490 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2491
9a0115ab 24922012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
2493
2494 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 2495 (Bug#10401)
6bb72cbd 2496
f186bb95
LMI
24972012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2498
29232a68
LMI
2499 * faces.el (set-face-attribute): Clarify the meaning of the nil
2500 frame (bug#10294).
2501
4e5d086d
LMI
2502 * subr.el (with-selected-frame): Mention that the selected frame
2503 is restored (bug#9980).
2504
8e66aebe
LMI
2505 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2506 (bug#9759).
2507
cd394be1 2508 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
2509 (password-read): Don't autoload unused function.
2510
adf4e762
JB
25112012-01-07 Juanma Barranquero <lekktu@gmail.com>
2512
2513 * progmodes/which-func.el (which-func-mode): Turn into a
2514 non-interactive function and mark as obsolete (bug#10428).
2515
89bd9ccd
CY
25162012-01-06 Chong Yidong <cyd@gnu.org>
2517
2518 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2519 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2520 functions, along with 1 and -1.
2521
4afee9d5
EZ
25222012-01-06 Eli Zaretskii <eliz@gnu.org>
2523
2524 * time.el (display-time-load-average)
2525 (display-time-default-load-average): Doc fixes. See the thread
2526 starting at
2527 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2528 for the details.
2529
536aea70
GM
25302012-01-06 Glenn Morris <rgm@gnu.org>
2531
665ae865
GM
2532 * mail/unrmail.el (unrmail): Give an explicit error if the input file
2533 has no messages. (Bug#10377)
2534
c869783d
GM
2535 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2536 than Info-edit. (Bug#10385)
2537
2bb4227e
GM
2538 * time.el (display-time-load-average, display-time-next-load-average):
2539 Doc fixes.
2540
7d5944b9
GM
2541 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2542 local setting of buffer-read-only to the input buffer. (Bug#10419)
2543
536aea70
GM
2544 * calendar/calendar.el (calendar-mode):
2545 Locally set scroll-margin to 0. (Bug#10379)
2546
7dccca16
UM
25472012-01-06 Ulrich Mueller <ulm@gentoo.org>
2548
2549 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
2550
afbb7930
GM
25512012-01-05 Glenn Morris <rgm@gnu.org>
2552
2553 * eshell/em-unix.el (diff-no-select): Autoload it.
2554 (eshell/diff): Use diff-no-select. (Bug#10420)
2555
04482335
CY
25562012-01-05 Chong Yidong <cyd@gnu.org>
2557
7baca3bc
CY
2558 * shell.el (shell-dynamic-complete-functions): Revert last change.
2559 (shell-command-completion-function): New function.
2560 (shell-completion-vars): Use it to implement
2561 shell-completion-execonly (Bug#10417).
2562
04482335
CY
2563 * custom.el (enable-theme): Don't set custom-safe-themes.
2564
1d00653d
SM
2565 * cus-theme.el (custom-theme-merge-theme):
2566 Ignore custom-enabled-themes and custom-safe-themes.
04482335 2567
bb5aa5d6
MM
25682012-01-05 Michael R. Mauger <mmaug@yahoo.com>
2569
2570 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2571 first prompt in `sql-interacive-mode'.
2572 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 2573 keywords.
6df6ae42 2574 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
2575 (sql-product-interactive): Bug fix: Set `sql-buffer' in
2576 context of original buffer. Invoke `sql-login-hook'.
2577
a7183d7c
EZ
25782012-01-04 Eli Zaretskii <eliz@gnu.org>
2579
2580 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2581 letters in cite-prefix.
2582
a1eacd1e
LMI
25832012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2584
2585 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2586
787cdb34
CY
25872012-01-03 Chong Yidong <cyd@gnu.org>
2588
1d00653d
SM
2589 * shell.el (shell-dynamic-complete-functions):
2590 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
2591 comint-filename-completion first (Bug#10417).
2592
30710442
RS
25932012-01-02 Richard Stallman <rms@gnu.org>
2594
2595 * battery.el (battery-status-function):
2596 Detect when to use battery-yeeloong-sysfs.
2597 (battery-echo-area-format): Add string for Yeeloong.
2598 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2599 (battery-yeeloong-sysfs): New function.
2600
f75bfc33
CY
26012012-01-02 Chong Yidong <cyd@gnu.org>
2602
2603 * dirtrack.el (dirtrack-list): Eliminate unused third element.
2604 (dirtrack): Merge code for handling relative filenames in prompt
2605 from shell-dir-cookie-watcher.
2606 (dirtrack-debug-message): New arg to avoid excess format calls.
2607
2608 * shell.el (shell-dir-cookie-re): Variable deleted.
2609 (shell-dir-cookie-watcher): Function deleted.
2610 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2611 with dirtrack-mode.
2612
651e947e
EZ
26132012-01-01 Eli Zaretskii <eliz@gnu.org>
2614
1d00653d
SM
2615 * term/w32-win.el (dynamic-library-alist) <gnutls>:
2616 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
2617 libgnutls-26.dll.
2618
94d4c7dc
AS
26192011-12-31 Andreas Schwab <schwab@linux-m68k.org>
2620
2621 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2622
8d43f3cd
EZ
26232011-12-31 Eli Zaretskii <eliz@gnu.org>
2624
2625 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2626 headers of non-MIME messages, when rmail-enable-mime is non-nil.
2627
98c8795a
MA
26282011-12-29 Michael Albinus <michael.albinus@gmx.de>
2629
2630 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2631 also for alternative shells.
2632 (tramp-open-connection-setup-interactive-shell): Check, whether
2633 the shell is a busybox.
2634 (tramp-send-command): Don't suppress multiple prompts for
2635 busyboxes, it hurts.
2636
51281b32
CY
26372011-12-28 Chong Yidong <cyd@gnu.org>
2638
2639 * progmodes/gdb-mi.el (gdb-get-source-file-list)
2640 (gdb-get-source-file): Move mode line update to
2641 gdb-get-source-file (Bug#10087).
2642
2170cb53
CY
26432011-12-25 Chong Yidong <cyd@gnu.org>
2644
2645 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2646 gud-gdb-marker-filter without taking it as an argument.
2647 (gud-gdb-run-command-fetch-lines): Caller changed.
2648 (gud-gdb-completion-function): New variable.
2649 (gud-gdb-completion-at-point): Use it.
2650 (gud-gdb-completions-1): Split from gud-gdb-completions.
2651
2652 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2653 function as separate arguments.
2654 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2655 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2656 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2657 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2658 (gdb-stopped, def-gdb-auto-update-trigger)
2659 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
2660 (gdb-get-changed-registers, gdb-get-main-selected-frame):
2661 Callers changed.
2170cb53
CY
2662 (gud-gdbmi-completions): New function.
2663 (gdb): Use it for generating the completion table.
2664
be8b11bb
AM
26652011-12-24 Alan Mackenzie <acm@muc.de>
2666
2667 Introduce a mechanism to widen the region used in context font
1d00653d 2668 locking. Use this to protect declarations from losing their contexts.
be8b11bb 2669
1d00653d
SM
2670 * progmodes/cc-langs.el (c-before-font-lock-functions):
2671 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 2672 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
2673 functions to be run just before context (etc.) font locking.
2674
2675 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 2676 New, functionality extracted from
be8b11bb 2677 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 2678 (c-in-after-change-fontification): New variable.
be8b11bb
AM
2679 (c-after-change): Set c-in-after-change-fontification.
2680 (c-set-fl-decl-start): Rejig its interface, so it can be called
2681 from both after-change and context fontifying.
b81d40f0
JB
2682 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2683 New functions.
2684 (c-standard-font-lock-fontify-region-function): New variable.
2685 (c-font-lock-fontify-region): New function.
be8b11bb 2686
341cf6ac
JL
26872011-12-24 Juri Linkov <juri@jurta.org>
2688
2689 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2690 (Bug#10348)
2691
bffcee0a
MA
26922011-12-23 Michael Albinus <michael.albinus@gmx.de>
2693
2694 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2695 existence of source file. (Bug#10325)
2696
cb5e207c
AM
26972011-12-23 Alan Mackenzie <acm@muc.de>
2698
2699 Fix unstable fontification inside templates.
2700
b81d40f0
JB
2701 * progmodes/cc-langs.el (c-before-font-lock-functions):
2702 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
2703 additionally has c-set-fl-decl-start. The other languages (apart
2704 from AWK) have that as a single entry.
2705
b81d40f0
JB
2706 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2707 The functionality for "local" declarations has been extracted to
cb5e207c
AM
2708 c-set-fl-decl-start.
2709
b81d40f0
JB
2710 * progmodes/cc-mode.el (c-common-init, c-after-change):
2711 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
2712 (c-set-fl-decl-start): New function, extracted from
2713 c-font-lock-enclosing-decls and enhanced.
2714
60ff536c
JB
27152011-12-23 Juanma Barranquero <lekktu@gmail.com>
2716
2717 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2718
1c4757d6
JL
27192011-12-22 Juri Linkov <juri@jurta.org>
2720
2721 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
2722
d031f2c7
CY
27232011-12-22 Chong Yidong <cyd@gnu.org>
2724
2725 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2726
bace743a
DA
27272011-12-21 Drew Adams <drew.adams@oracle.com>
2728
2729 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2730
728a1f2b
JC
27312011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2732
2733 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2734
0d373f73
TZ
27352011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2736
fec0aaa4
TZ
2737 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2738 highlighting and support. Fix up comments for capitalization.
2739 (cfengine-mode-debug): New var.
2740 (cfengine3-mode): Change the modeline indicator to "CFE3".
2741 (cfengine3-font-lock-keywords): Improve defun highlighting.
2742 (cfengine2-actions): Rename from `cfengine-actions'.
2743 (cfengine2-font-lock-keywords): Rename from
2744 `cfengine-font-lock-keywords'.
2745 (cfengine2-imenu-expression): Rename from
2746 `cfengine-imenu-expression'.
2747 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2748 (cfengine2-beginning-of-defun): Rename from
2749 `cfengine-beginning-of-defun'.
2750 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2751 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2752 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2753 modeline indicator to "CFE2".
2754 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2755 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 2756
bc86f573
CY
27572011-12-21 Chong Yidong <cyd@gnu.org>
2758
2759 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2760 filename argument.
2761
d45ba96b
MR
27622011-12-20 Martin Rudalics <rudalics@gmx.at>
2763
2764 * window.el (window-normalize-buffer-to-display): Remove.
2765 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2766
a6198c90
CY
27672011-12-19 Chong Yidong <cyd@gnu.org>
2768
2769 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2770 Don't signal an error in a predicate function; return non-nil.
2771 (vc-dir-mark-file): Move the error here.
2772 (vc-dir-mark-unmark): If acting on the region, keep going if one
2773 of the entries cannot be marked/unmarked.
2774 (vc-dir-mark-all-files): If current entry is a directory, mark
2775 only child files, as documented.
2776
34c5fb55
VB
27772011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2778
2779 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2780 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2781 addition.
2782
c803b2b7
JD
27832011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2784
2785 * term/ns-win.el (ns-get-selection-internal)
2786 (ns-store-selection-internal): Declare.
1154d12e
JB
2787 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2788 Declare as obsolete.
2789 (ns-get-pasteboard, ns-paste-secondary):
2790 Use ns-get-selection-internal.
2791 (ns-set-pasteboard, ns-copy-including-secondary):
2792 Use ns-store-selection-internal.
c803b2b7 2793
9cff91f8 27942011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
2795
2796 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 2797 (vc-deduce-fileset): Doc fix.
99a289d9 2798
f16c898a
AS
27992011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2800
2801 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2802
763237c4
SS
28032011-12-13 Sam Steingold <sds@gnu.org>
2804
2805 * man.el (Man-getpage-in-background): When running under a
2806 window-system, ignore $MANWIDTH and $COLUMNS.
2807
5fc1c122
KH
28082011-12-15 Kenichi Handa <handa@m17n.org>
2809
2810 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2811 (setup-ethiopic-environment-internal): Comment out key-binding for
2812 ethio-toggle-punctuation.
2813
13d49cbb
AM
28142011-12-13 Alan Mackenzie <acm@muc.de>
2815
898169a2
AM
2816 Add the switch statement to AWK Mode.
2817
7a71b18d 2818 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
2819 "default" to the keywords regexp.
2820
7a71b18d 2821 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 2822 expression as the rest.
1d00653d
SM
2823 (c-nonlabel-token-key): Allow string literals for AWK.
2824 Refactor for the other modes.
898169a2 2825
13d49cbb 2826 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 2827 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
2828 routines. Limit backward searching in c-font-lock-enclosing.decl.
2829
2830 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2831 pp-state and literal type in addition to the limits.
1d00653d 2832 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 2833 (c-state-literal-at): Use the above new defun.
1d00653d
SM
2834 (c-slow-in-literal, c-fast-in-literal): Remove.
2835 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
2836
2837 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2838 being in a literal. Add a limit for backward searching.
2839
2840 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2841 c-slow-in-literal.
2842
15e0efc7
SM
28432011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2844
2845 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2846
454592a6
MR
28472011-12-13 Martin Rudalics <rudalics@gmx.at>
2848
2849 * window.el (delete-other-windows): Use correct frame in call to
2850 window-with-parameter.
2851
87393f26
DP
28522011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2853
2854 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2855 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2856 (makefile-gmake-statements, makefile-makepp-statements):
2857 Use it and add new makepp keywords.
2858 (makefile-makepp-font-lock-keywords): Add new patterns.
2859 (makefile-match-function-end): Match new [...] and [[...]].
2860
11636b22
JB
28612011-12-11 Juanma Barranquero <lekktu@gmail.com>
2862
2863 * ses.el (ses-call-printer-return, ses-cell-property-get)
2864 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2865 (ses-create-cell-variable, ses-reset-header-string)
2866 (ses-cell-set-formula, ses-repair-cell-reference-all)
2867 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2868 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2869 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2870 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2871 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2872 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2873 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2874 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2875 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2876 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2877 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2878 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2879
cf018193
VB
28802011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2881
2882 * ses.el: The overall change is to add cell renaming, that is
2883 setting fancy names for cell symbols other than name matching
2884 "\\`[A-Z]+[0-9]+\\'" regexp .
2885 (ses-create-cell-variable): New defun.
2886 (ses-relocate-formula): Relocate formulas only for cells the
2887 symbols of which are not renamed, i.e. symbols whose names do not
2888 match regexp "\\`[A-Z]+[0-9]+\\'".
2889 (ses-relocate-all): Relocate values only for cells the symbols of
2890 which are not renamed.
2891 (ses-load): Create cells variables as the (ses-cell ...) are read,
2892 in order to check row col consistency with cell symbol name only
2893 for cells that are not renamed.
2894 (ses-replace-name-in-formula): New defun.
2895 (ses-rename-cell): New defun.
2896
ee957461
CY
28972011-12-11 Chong Yidong <cyd@gnu.org>
2898
2899 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2900 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2901
9a9e9ef0
MR
29022011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2903
2904 * window.el (other-window): Fix docstring.
2905
92a8eba5
EZ
29062011-12-10 Eli Zaretskii <eliz@gnu.org>
2907
2908 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
2909 `from' or `to' address before taking its substring.
2910 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
2911 encoded name is chopped in the middle of the encoded string, and
2912 thus displayed encoded.
2913
e152e577
JB
29142011-12-10 Juanma Barranquero <lekktu@gmail.com>
2915
2916 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2917
e5d84bfe
EZ
29182011-12-10 Eli Zaretskii <eliz@gnu.org>
2919
2920 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2921 to use texinfo-update-node and commands that call it if the
2922 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 2923 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
2924 (texinfo-all-menus-update, texinfo-master-menu)
2925 (texinfo-update-node, texinfo-every-node-update)
2926 (texinfo-multiple-files-update): Doc fix. Warn against updating
2927 all the @node lines.
2928 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
2929 argument is numeric. Explain better in the doc string what the
2930 function really does.
2931 (texinfo-insert-master-menu-list): Improve the error message
2932 displayed if there's no menu in the Top node.
2933 (Bug#2975) See also this thread:
e5d84bfe
EZ
2934 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2935
1d84e9bb
MG
29362011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2937
2938 * speedbar.el (speedbar-supported-extension-expressions):
2939 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2940
382c953b
JB
29412011-12-09 Juanma Barranquero <lekktu@gmail.com>
2942
2943 * printing.el (pr-mode-alist):
2944 * simple.el (filter-buffer-substring-functions)
2945 (completion-list-insert-choice-function):
2946 * window.el (window-with-parameter, window-atom-root)
2947 (window-sides-slots, window-size-fixed, window-min-delta)
2948 (window-max-delta, window--resize-mini-window)
2949 (window--resize-child-windows-normal, window-tree)
2950 (delete-other-windows, quit-window, split-window)
2951 (display-buffer-record-window, special-display-buffer-names)
2952 (special-display-regexps, special-display-popup-frame)
2953 (same-window-p, split-window-sensibly)
2954 (display-buffer-overriding-action, display-buffer-alist)
2955 (display-buffer-base-action, display-buffer, switch-to-buffer)
2956 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2957 (fit-window-to-buffer, recenter-positions)
2958 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2959 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2960 and remove unneeded backslashes in docstrings.
2961
39c9faef
SM
29622011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2963
98449af8
SM
2964 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2965
39c9faef
SM
2966 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2967 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2968 end in ".mk".
2969 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2970 when reading the makefile (bug#10116).
2971
86ed9fdc
SM
29722011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2973
2974 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2975 (bug#10116).
2976
5580f89d
GM
29772011-12-06 Glenn Morris <rgm@gnu.org>
2978
2979 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2980
28d3917c
CY
29812011-12-06 Chong Yidong <cyd@gnu.org>
2982
2983 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2984
a98edce9
JB
29852011-12-06 Juanma Barranquero <lekktu@gmail.com>
2986
2987 * textmodes/table.el (table-shorten-cell): Fix typo.
2988
e65adfac
CG
29892011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2990
2991 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2992
71cc0b74
EZ
29932011-12-05 Eli Zaretskii <eliz@gnu.org>
2994
2995 * descr-text.el (describe-char): Fix display of strong
2996 right-to-left characters and directional embeddings and overrides.
2997
2998 * simple.el (what-cursor-position): Fix display of codepoints of
2999 strong right-to-left characters.
3000
315bc30d
CY
30012011-12-05 Chong Yidong <cyd@gnu.org>
3002
3003 * faces.el (read-color): Doc fix.
3004
58a70b94
GM
30052011-12-05 Glenn Morris <rgm@gnu.org>
3006
3007 * align.el (align--set-marker): Add doc-string.
3008 Don't try to move something that is not a marker. (Bug#10216)
3009
5158face
GM
30102011-12-04 Glenn Morris <rgm@gnu.org>
3011
3012 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3013 overly zealous deletion of trailing whitespace.
3014
520fca41
JB
30152011-12-04 Juanma Barranquero <lekktu@gmail.com>
3016
3017 * server.el (server-delete-client): On Windows, do not try to delete
3018 the only terminal.
3019 (server-process-filter): On Windows, treat requests for a tty frame as
3020 if they were for a GUI frame if the running server is in GUI mode.
3021
5e605a2e
GM
30222011-12-03 Glenn Morris <rgm@gnu.org>
3023
3024 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3025
5c3fe83f
SM
30262011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3027
6f5e57e7
SM
3028 * electric.el: Streamline electric-indent's hook.
3029 (electric-indent-chars): Revert to simple list.
3030 (electric-indent-functions): New var.
3031 (electric-indent-post-self-insert-function): Use it.
3032
5c3fe83f
SM
3033 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3034 there's no inferior buffer (bug#10196).
3035 (prolog-consult-compile): Don't use toggle-read-only.
3036
6bdac736
MA
30372011-12-02 Michael Albinus <michael.albinus@gmx.de>
3038
3039 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3040 interrupt. (Bug#10187)
3041
6131ba7f
SM
30422011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3043
99c79fee
SM
3044 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3045 (bug#9160).
3046
6131ba7f
SM
3047 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3048 (bug#10191).
3049
cb0a02ea
JL
30502011-12-02 Juri Linkov <juri@jurta.org>
3051
3052 * info.el (Info-search): Display "end of manual" when Isearch
3053 reaches the end of single-file Info manual. (Bug#9918)
3054
66e0570c
EZ
30552011-12-02 Eli Zaretskii <eliz@gnu.org>
3056
3057 * isearch.el (isearch-message-prefix): Run the input method part
3058 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3059
02b16839
JL
30602011-12-02 Juri Linkov <juri@jurta.org>
3061
3062 * isearch.el (isearch-occur): Use `word-search-regexp' for
3063 `isearch-word'.
3064 (isearch-search-and-update): Add condition for `isearch-word' and
3065 call `word-search-regexp'. (Bug#10145)
3066
0b950688
GM
30672011-12-01 Glenn Morris <rgm@gnu.org>
3068
3069 * eshell/em-hist.el (eshell-hist-initialize):
3070 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 3071 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 3072
9505c3c7
SM
30732011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3074
3075 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3076
1bbe96b2 30772011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 3078
a1beca85
SM
3079 * progmodes/verilog-mode.el (verilog-pretty-expr):
3080 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
3081 verilog, such as += *= and the like.
3082 (verilog-assignment-operator-re): Regular expression to find the
3083 assigment operator in a verilog assignment.
3084 (verilog-assignment-operation-re): Regular expression to find an
3085 assignment statement for pretty-expr.
3086 (verilog-in-attribute-p): Query returns true if point is in an
3087 attribute context; used to skip these for expression line up from
3088 pretty-expr.
3089 (verilog-in-parameter-p): Query returns true if point is in an
3090 parameter definition context; used to skip these for expression
3091 line up from pretty-expr.
3092 (verilog-in-parenthesis-p): Query returns true if point is in a
3093 parenthetical expression, specifically ( ) but not [ ] or { };
3094 used by pretty-expr.
3095 (verilog-just-one-space): If there is no space, don't add one.
3096 (verilog-get-lineup-indent-2): Specifically skip just attribute
3097 contexts for expression lineup, rather than skipping all
3098 parenthetical expressions.
3099 (verilog-calculate-indent): Fix comment, and fix indent.
3100 (verilog-do-indent): Indent declarations in lists (suggested by
3101 Joachim Lechner).
3102 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3103 skeleton items.
3104 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3105 by Alain Mellan).
3106
1bbe96b2 31072011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
3108
3109 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3110 parameters with embedded comments. Reported by Ray Stevens.
3111 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3112 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3113 Reported by Tim Holt.
3114 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3115 instantiated by upper module causing wrong expansion until AUTOed a
3116 second time. Reported by K C Buckenmaier.
3117 (verilog-diff-auto): Fix showing .* as a difference when
3118 `verilog-auto-star-save' off. Reported by Dan Dever.
3119 (verilog-auto-reset, verilog-read-always-signals)
3120 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3121 temporary signals in reset list if
3122 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
3123 style to each signal's assignment type, bug381.
3124 Reported by Thomas Esposito.
6288f0ca
WS
3125 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3126 (verilog-uvm-statement-re): Support UVM indentation and
3127 highlighting, with old OVM keywords only.
a1beca85 3128 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
3129 Support AUTOTIEOFF creating non-wire data types.
3130 Suggested by Jonathan Greenlaw.
6288f0ca
WS
3131 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3132 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3133 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
3134 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3135 Fix mismatching parenthesis inside commented out code when deleting
382c953b 3136 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
3137 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3138 non-numeric vector width. Reported by Alex Reed.
3139 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 3140 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
3141 (verilog-auto-delete-trailing-whitespace):
3142 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
3143 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3144 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3145 Fix verilog-scan-cache corruption when running user AUTO expansion
3146 hooks that call indentation routines.
3147 (verilog-simplify-range-expression): Fix typo ignoring lower case
3148 identifiers.
3149 (verilog-delete-auto): Fix delete-autos to also remove user created
3150 automatics, as long as they start with AUTO.
3151 (verilog-batch-diff-auto, verilog-diff-auto)
3152 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3153 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3154 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3155 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
3156 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3157 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
3158 is disabled and its cache will get corrupt, causing AUTOS not to
3159 expand. Instead use only -quick functions.
3160 (verilog-scan-region): Fix scanning over escaped quotes.
3161 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3162 (verilog-re-search-backward-quick)
3163 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3164 related functions now ignore strings, to fix misparsing of strings
3165 with magic comments embedded in them.
a1beca85
SM
3166 (verilog-read-auto-template):
3167 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3168 Reported by Brad Dobbie.
3169 (verilog-read-auto-template):
3170 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 3171 Reported by Brad Dobbie.
6288f0ca
WS
3172 (verilog-auto-inst, verilog-auto-inst-param)
3173 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3174 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3175 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
3176 debugging templates without merge conflicts, bug357.
3177 Reported by Brad Dobbie.
3178 (verilog-read-auto-template):
3179 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
3180 Reported by Brad Dobbie.
3181 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3182 abbrevs so user won't be asked to save.
3183 (verilog-read-auto-lisp-present): Fix to start at beginning of
3184 buffer in case called outside of verilog-auto.
3185 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3186 to "X-2". Reported by Matthew Myers.
3187 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3188 all inputs from module templates. Reported by Leith Johnson.
3189 (verilog-module-inside-filename-p): Fix locating programs as with
3190 modules.
3191 (verilog-auto-inst-port): Fix vl-width expressions when using
3192 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3193 (verilog-decls-get-regs, verilog-decls-get-signals,
3194 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3195 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3196 verilog-read-decls): Combine reg and wire structures into one var
3197 structure to represent SystemVerilog concepts.
3198 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3199 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
3200 (verilog-auto-wire-type, verilog-insert-definition):
3201 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
3202 SystemVerilog "logic" keyword instead of "wire"/"reg".
3203 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3204 to declares outputs that also have assignments (presumably in an
a1beca85
SM
3205 ifdef or generate if so there's not a driver conflict).
3206 Reported by Matthew Myers.
3207 (verilog-auto-declare-nettype, verilog-insert-definition):
3208 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
3209 `default_nettype none. Reported by Julian Gorfajn.
3210 (verilog-read-always-signals-recurse, verilog-read-decls)
3211 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3212 malformed end statement, bug325. Reported by Joshua Wise and
3213 Andrew Drake.
3214 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3215 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
3216 when expanding .* in interfaces, bug320.
3217 Reported by Pierre-David Pfister.
6288f0ca 3218 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
3219 name and open parenthesis, bug317.
3220 Reported by Pierre-David Pfister.
6288f0ca
WS
3221 (verilog-simplify-range-expression): Fix simplification of
3222 multiplications inside AUTOWIRE connections, bug303.
3223 (verilog-auto-inst-port): Support parameter expansion in
3224 multidimensional arrays.
3225 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3226 after "assert property". Reported by Julian Gorfajn.
3227 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3228 with multiplication, bug303.
3229 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3230 Reported by Jan Frode Lonnum.
3231
1bbe96b2
GM
32322011-11-30 Juanma Barranquero <lekktu@gmail.com>
3233
3234 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3235 (hfy-shell-file-name, hfy-shell):
3236 * international/fontset.el (x-decompose-font-name): Fix typos.
3237
32382011-11-29 Ken Brown <kbrown@cornell.edu>
3239
3240 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3241 (gdb-version): Remove defvar.
3242 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3243 (gdb-gud-context-command, gdb-non-stop-handler)
3244 (gdb-current-context-command, gdb-stopped): Use it.
3245 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
3246 (gdb-non-stop-handler): Don't enable pretty-printing here.
3247 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
3248 non-stop mode. Use the following.
3249 (gdb-check-target-async): New defun.
3250 (gud-watch, gdb-stopped): Fix whitespace.
3251 (gdb-get-source-file): Don't try to display the source file if
3252 `gdb-main-file' is nil.
3253
32542011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3255
3256 * align.el: Try to generate fewer markers (bug#10047).
3257 (align--set-marker): New macro.
3258 (align-region): Use it.
3259
c935221f
SM
32602011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3261
3262 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3263
e70b5064
CY
32642011-11-29 Chong Yidong <cyd@gnu.org>
3265
3266 * indent.el (indent-for-tab-command, indent-according-to-mode):
3267 Doc fix.
3268 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3269
f3af92b7
MA
32702011-11-29 Michael Albinus <michael.albinus@gmx.de>
3271
3272 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3273 aware of remote file names. (Bug#10124)
3274
ed472be9
CY
32752011-11-29 Chong Yidong <cyd@gnu.org>
3276
3277 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3278
24510c22
SM
32792011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3280
3281 * files.el (find-file): Don't use force-same-window (bug#10144).
3282 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3283 use pop-to-buffer if the selected window can't be used.
3284 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3285
c60c3703
EZ
32862011-11-28 Eli Zaretskii <eliz@gnu.org>
3287
3288 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3289 special-mode-map.
3290
e95def75
CY
32912011-11-28 Chong Yidong <cyd@gnu.org>
3292
3293 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3294
c3f1c606
NR
32952011-11-27 Nick Roberts <nickrob@snap.net.nz>
3296
3297 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3298 gdb-get-source-file-list on gdb-create-source-file-list.
3299
00db469c
EZ
33002011-11-26 Eli Zaretskii <eliz@gnu.org>
3301
3302 * whitespace.el (whitespace-newline): Use a different foreground
3303 color for 16-color light-background displays.
3304
4ad3bc2a
CY
33052011-11-24 Chong Yidong <cyd@gnu.org>
3306
3307 * window.el (display-buffer--special-action): Doc fix.
3308
e9fce1ac
JB
33092011-11-25 Juanma Barranquero <lekktu@gmail.com>
3310
3311 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3312 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3313 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3314 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3315 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3316 (avl-tree-stack-first):
3317 * emacs-lisp/cconv.el (cconv--analyse-use):
3318 * net/gnutls.el (gnutls-negotiate): Fix typos.
3319
cb825e5d
GM
33202011-11-24 Glenn Morris <rgm@gnu.org>
3321
3adbe224
GM
3322 * lpr.el (lpr-windows-system, lpr-lp-system):
3323 * mail/binhex.el (binhex-begin-line):
3324 * progmodes/grep.el (grep-history, grep-find-history):
3325 * textmodes/flyspell.el:
3326 * vc/pcvs-defs.el (cvs-global-menu):
3327 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3328 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3329 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3330
321decc8
GM
3331 * net/tls.el: Fix case of "GnuTLS".
3332
420b63ad
GM
3333 * paths.el (rmail-file-name): Format doc-string for make-docfile.
3334
cb825e5d
GM
3335 * version.el (emacs-build-system): Give it a doc-string.
3336
a0649f08
JL
33372011-11-24 Juri Linkov <juri@jurta.org>
3338
3339 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3340
c0bc0fd4
GM
33412011-11-24 Glenn Morris <rgm@gnu.org>
3342
3343 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3344 if called on a non-mime message just toggle the headers. (Bug#8006)
3345
20db1522
JB
33462011-11-24 Juanma Barranquero <lekktu@gmail.com>
3347
3348 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3349 (allout-lead-with-comment-string, allout-structure-deleted-hook)
3350 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3351 (allout-rebullet-heading, allout-open-sibtopic)
3352 (allout-toggle-current-subtree-encryption)
3353 (allout-toggle-subtree-encryption, allout-encrypt-string)
3354 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3355 (allout-distinctive-bullets-string, allout-auto-activation):
3356 * window.el (window-normalize-buffer-to-display):
3357 * progmodes/verilog-mode.el (verilog-batch-indent):
3358 * textmodes/bibtex.el (bibtex-field-braces-opt)
3359 (bibtex-field-strings-opt):
3360 * vc/cvs-status.el (cvs-tree-merge):
3361 Fix typos.
3362
7262a87c
MA
33632011-11-23 Michael Albinus <michael.albinus@gmx.de>
3364
3365 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3366 `non-essential' to t, in order to avoid remote connections.
3367
283430a1
EZ
33682011-11-23 Eli Zaretskii <eliz@gnu.org>
3369
a1beca85
SM
3370 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3371 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
3372 case-insensitively.
3373
d2992a38
ML
33742011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3375
3376 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
3377
50419064
GM
33782011-11-23 Glenn Morris <rgm@gnu.org>
3379
da94eca1
GM
3380 * paths.el (rmail-file-name): Reformat the doc-string so that it
3381 is picked up.
3382
9aac4de2
GM
3383 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3384 (rmail-auto-file): Ignore case in the "special" field names,
3385 as mail-fetch-field does for all others.
3386
8038d2d2
GM
3387 * mail/rmail.el (rmail-forward):
3388 * mail/rmailkwd.el (rmail-set-label):
3389 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3390 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
3391
f3fe222a
GM
3392 * mail/rmail.el (rmail-current-message): Doc fix.
3393
50419064
GM
3394 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
3395
28109f49
SM
33962011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3397
3398 * server.el (server-eval-and-print): Allow C-g (bug#6585).
3399
394c65f1
GM
34002011-11-22 Glenn Morris <rgm@gnu.org>
3401
3402 * mail/rmailmm.el (test-rmail-mime-handler)
3403 (test-rmail-mime-bulk-handler)
3404 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3405
f2a0aa3a
JL
34062011-11-21 Juri Linkov <juri@jurta.org>
3407
1154d12e
JB
3408 * calc/calc.el (calc-read-key-sequence):
3409 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 3410
9c34a344
LMI
34112011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3412
3413 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3414 Tell the caller that the next line needs recomputation, even
3415 though it doesn't start a sexp (bug#10094).
3416
f04a3be9
SM
34172011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3418
3419 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3420
7978747f
SM
34212011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3422
f04a3be9
SM
3423 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3424 Use force-same-window.
7978747f 3425
fe7a3057
JB
34262011-11-20 Juanma Barranquero <lekktu@gmail.com>
3427
3428 * descr-text.el (describe-char-unicode-data):
3429 * json.el (json-string-escape):
3430 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3431 (Footnote-unicode, Footnote-style-p):
3432 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3433
24901d61
CY
34342011-11-20 Chong Yidong <cyd@gnu.org>
3435
3436 * window.el (replace-buffer-in-windows): Restore interactive spec.
3437
bac7ff22
SM
34382011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3439
24f3d7b9
SM
3440 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3441
bac7ff22
SM
3442 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3443 (byte-compile-global-not-obsolete-vars): New var.
3444 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3445 Use it.
3446 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3447
cd1181db
JB
34482011-11-20 Juanma Barranquero <lekktu@gmail.com>
3449
3450 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3451 * progmodes/pascal.el (electric-pascal-equal):
3452 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3453 * xml.el (xml-substitute-special): Fix typos.
3454
7fb18e9e
GM
34552011-11-20 Glenn Morris <rgm@gnu.org>
3456
3457 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3458 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3459 Doc fixes.
3460 (rmail-decode-mime-charset): Mark as obsolete.
3461
3462 * mail/rmailsum.el (rmail-message-regexp-p-1):
3463 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3464 Before using mime functions, check they are set. (Bug#10077)
3465
d5a6b3ba
JL
34662011-11-19 Juri Linkov <juri@jurta.org>
3467
3468 * info.el (Info-finder-find-node): Use `package--builtins' instead
3469 of `package-alist'. Use node names formed by the pattern "Keyword "
3470 and the keyword name.
3471
e981b61f
AS
34722011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3473
1d00653d 3474 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 3475
3ffbc301
JL
34762011-11-19 Juri Linkov <juri@jurta.org>
3477
3478 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3479 that calls `revert-buffer' on all Info buffers. (Bug#9915)
3480 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3481 `old-history', `old-history-forward'. Add let-binding
3482 `window-selected'. Remove calls to `kill-buffer',
3483 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
3484 before calling `Info-find-node', so `Info-find-node-2' will reread
3485 the Info file. Restore window positions only when `window-selected'
3486 is non-nil.
3487
30c62133
JL
34882011-11-19 Juri Linkov <juri@jurta.org>
3489
3490 * isearch.el (isearch-lazy-highlight-new-loop):
3491 Remove condition `(not isearch-error)'. (Bug#9918)
3492
3493 * misearch.el (multi-isearch-search-fun): Add condition
3494 `(not bound)' to ignore lazy-highlighting search.
3495 Add the search-failed message "end of multi" when the end of
3496 multi-sequence is reached. Uncapitalize the search-failed
3497 message "Repeat for next buffer".
3498
3499 * info.el (Info-search): Add the search-failed message
3500 "end of the manual" when the end of the manual is reached
3501 in Isearch mode.
3502
645ca9cf
JL
35032011-11-19 Juri Linkov <juri@jurta.org>
3504
3505 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3506 Use non-destructive `remove' instead of `delete' because
3507 `Info-history-list' stored to `Info-isearch-initial-history-list' in
3508 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3509
df754f66
JL
35102011-11-19 Juri Linkov <juri@jurta.org>
3511
3512 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3513 to nil instead of binding `search-ring' and `regexp-search-ring'.
3514 (Bug#9185)
3515
0e23d96a
EZ
35162011-11-19 Eli Zaretskii <eliz@gnu.org>
3517
3518 * simple.el (line-move): Force movement by logical lines for any
3519 hscrolled window, not only when auto-hscroll-mode is on.
3520 (line-move-visual): Update doc string to that effect. (Bug#10076)
3521
8a6ccb66
AS
35222011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3523
3524 * language/european.el (macintosh): Define as alias for mac-roman.
3525
49ae5b39
EZ
35262011-11-19 Eli Zaretskii <eliz@gnu.org>
3527
3528 * mail/rmailmm.el (rmail-mime-display-header)
3529 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3530 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3531 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3532 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3533 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3534 of a raw aref.
3535 (rmail-mime-entity-segment): To get past the tagline, move forward
3536 2 more lines, to account for the 2 empty lines that precede and
3537 follow the line with the buttons.
3538 (rmail-mime-update-tagline): Move one more line, to get past the
3539 empty line that follows the buttons in the tagline. (Bug#9520)
3540
c56cad4a
MR
35412011-11-19 Martin Rudalics <rudalics@gmx.at>
3542
3543 * window.el (window-max-delta-1, window-min-delta-1)
3544 (window-min-size-1, window-state-get-1, window-state-put-1)
3545 (window-state-put-2): Use "window--" prefix.
3546
cbe71af3
SM
35472011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3548
2ad52c60
SM
3549 * emacs-lisp/smie.el: Improve warnings and conflict detection.
3550 (smie-warning-count): New var.
3551 (smie-set-prec2tab): Use it.
3552 (smie-bnf->prec2): Improve warnings. Add docstring.
3553 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3554 (smie-bnf--set-class): New function.
3555 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
3556 corner case.
3557
6944dbc1
SM
3558 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3559 (compilation-error-properties, compilation-move-to-column):
3560 Handle compilation-first-column while in the target buffer.
3561
c400c4d7
SM
3562 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3563 Don't hardcode point-min==1.
3564
6dbe3e96
SM
3565 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3566 (eshell-rewrite-for-command): Remove workaround.
3567 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3568 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3569 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3570
cbe71af3
SM
3571 * files-x.el (modify-file-local-variable): Obey commenting conventions.
3572
a8e1496d
GM
35732011-11-17 Glenn Morris <rgm@gnu.org>
3574
3575 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3576 Ignore buffer-local generated-autoload-file if it is the same
3577 as the global value. (Bug#10049)
3578
df85d315
JB
35792011-11-17 Juanma Barranquero <lekktu@gmail.com>
3580
3581 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3582 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3583 (reftex-toc-previous-heading, reftex-toc-max-level)
3584 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3585 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3586 (reftex-toc-do-promote, reftex-toc-promote-prepare)
3587 (reftex-toc-promote-action, reftex-toc-extract-section-number)
3588 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3589 (reftex-toc-rename-label, reftex-toc-visit-location)
3590 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3591 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3592 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3593 leaving "*toc*" only for references to the buffer.
3594
a0c2d0ae
MR
35952011-11-17 Martin Rudalics <rudalics@gmx.at>
3596
3597 * window.el (window-resize, delete-window, split-window):
3598 Replace window-splits by window-combination-resize.
1d00653d 3599 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 3600
35c0bac8
GM
36012011-11-17 Glenn Morris <rgm@gnu.org>
3602
3603 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3604 Make bash entry derive from sh entry, not shell entry.
3605
d0c8fc8a
MA
36062011-11-16 Michael Albinus <michael.albinus@gmx.de>
3607
d0c8fc8a
MA
3608 * net/tramp-cache.el (tramp-flush-file-property): Flush also
3609 properties of linked files. (Bug#9879)
3610
7262a87c
MA
3611 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3612 local file name.
3613
7877f373
JB
36142011-11-16 Juanma Barranquero <lekktu@gmail.com>
3615
3616 * menu-bar.el (menu-bar-file-menu):
3617 * printing.el (pr-ps-utility):
3618 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3619 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3620 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3621 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3622 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3623 (icalendar--convert-cyclic-to-ical)
3624 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3625 (icalendar--convert-ical-to-diary)
3626 (icalendar--convert-recurring-to-diary)
3627 (icalendar--convert-non-recurring-all-day-to-diary)
3628 (icalendar-import-format-sample):
3629 * progmodes/idlw-shell.el (idlwave-shell-mode):
3630 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3631 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3632 (vhdl-ps-print-init): Fix typos.
3633
10649b82
KM
36342011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
3635
9d0cfcd6
GM
3636 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3637 FSF and collapse date sequence, obscure author/maintainer email address
3638 better, remove extra version line, track relocation of author's webpage.
10649b82 3639
9d0cfcd6
GM
3640 * progmodes/python.el (python-pdbtrack-input-prompt)
3641 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3642 regular python pdb prompts. Adjustments shamelessly taken exactly as
3643 suggested in EmacsWiki page (tiny change):
3644 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 3645
58179cce
JB
36462011-11-16 Juanma Barranquero <lekktu@gmail.com>
3647
3648 * expand.el (expand-pos, expand-index, expand-point):
3649 Remove redundant info from docstring.
3650 (expand-add-abbrevs): Doc fix.
3651 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3652 (expand-sample-perl-mode-expand-list): Fix typos.
3653
3654 * net/dbus.el (dbus-event-member-name):
3655 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3656 * term/pc-win.el (msdos-create-frame-with-faces):
3657 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3658
b6f67890
MR
36592011-11-16 Martin Rudalics <rudalics@gmx.at>
3660
3661 * window.el (split-window, window-state-get-1)
3662 (window-state-put-1, window-state-put-2): Rename occurrences of
3663 window-nest to window-combination-limit.
1d00653d 3664 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 3665
ce7ddba0
CY
36662011-11-16 Chong Yidong <cyd@gnu.org>
3667
3668 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3669 regexp (Bug#10033).
3670
3ae704f4
SM
36712011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3672
3673 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3674 `completing-read' will remove *Completions* and will preserve
3675 current-buffer for us.
3676 (tmm-add-prompt): Users of *Completions* will always (re)set its
3677 major mode.
3678 (tmm-old-comp-map): Remove.
3679
6ad1cdde
GM
36802011-11-16 Glenn Morris <rgm@gnu.org>
3681
3682 * mail/rmailedit.el: Require rmailmm when compiling.
3683 (rmail-old-mime-state): New declaration.
3684 (rmail-edit-current-message): If editing a mime message,
3685 edit the "raw" message from the mbox buffer.
3686 (rmail-cease-edit): Handle mime messages. (Bug#9840)
3687
d20faa20
GM
36882011-11-15 Glenn Morris <rgm@gnu.org>
3689
3690 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3691 which wasn't being used. Add optional arg to force given state.
3692 (rmail-mime): Add optional arg to force given state.
3693
c7015153
JB
36942011-11-15 Juanma Barranquero <lekktu@gmail.com>
3695
3696 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3697 * frame.el (display-mm-dimensions-alist):
3698 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3699 (outline-move-subtree-down):
3700 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3701 (newsticker--treeview-do-get-node):
3702 * net/quickurl.el (quickurl-list-buffer-name):
3703 * progmodes/dcl-mode.el (dcl-mode):
3704 * progmodes/gdb-mi.el (gdb-mapcar*):
3705 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3706
45261b50
GM
37072011-11-15 Glenn Morris <rgm@gnu.org>
3708
3709 * mail/rmail.el (rmail-file-coding-system): It's only ever used
3710 in a boolean sense, so just make it a boolean, and fix the doc.
3711 (rmail-show-mime-function, rmail-mime-feature)
3712 (rmail-require-mime-maybe): Doc fixes.
3713 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3714
3715 * mail/rmailmm.el (rmail-show-mime): Doc fix.
3716
0d26e0b6
JB
37172011-11-15 Juanma Barranquero <lekktu@gmail.com>
3718
3719 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3720 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3721 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3722 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3723
447f30f6
GM
37242011-11-15 Glenn Morris <rgm@gnu.org>
3725
672b871d
GM
3726 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3727 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3728 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3729 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3730 (rmail-mime, rmail-show-mime): Doc fixes.
3731
f6aa5bb1
GM
3732 * term/ns-win.el (mode-line-frame-identification):
3733 Leave it alone. (Bug#10051)
3734
947cd66b
GM
3735 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3736
447f30f6
GM
3737 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3738 Handle empty buffers. (Bug#9978)
3739
0b381c7e
JB
37402011-11-14 Juanma Barranquero <lekktu@gmail.com>
3741
3742 * international/mule.el (define-charset):
3743 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3744 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3745 * progmodes/verilog-mode.el (verilog-backward-token):
3746 * textmodes/ispell.el (lookup-words):
3747 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3748
71e027ac
GM
37492011-11-14 Glenn Morris <rgm@gnu.org>
3750
56632ce4
GM
3751 * progmodes/executable.el
3752 (executable-make-buffer-file-executable-if-script-p):
3753 Handle file-modes returning nil.
3754
40500957
GM
3755 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3756 message - not necessary, and causes problems. (Bug#9831)
3757
071c2340
GM
3758 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3759
d3cfca60
GM
3760 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3761
71e027ac
GM
3762 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3763 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
3764 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3765
89d61221
MR
37662011-11-12 Martin Rudalics <rudalics@gmx.at>
3767
3768 * window.el (window-resize, delete-window): Use window-splits
3769 variable instead of function.
3770 (window-state-get-1, window-state-put-2, window-state-put):
3771 Don't deal with windows' splits status.
3772
98282f6f
GM
37732011-11-12 Glenn Morris <rgm@gnu.org>
3774
3775 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3776 (apropos-documentation): Doc fixes.
3777
40a8bdf6
JB
37782011-11-11 Juanma Barranquero <lekktu@gmail.com>
3779
3780 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3781 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3782
65bd19ff
SM
37832011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3784
3785 * electric.el (electric-indent-post-self-insert-function): Make it
3786 possible for a char to only indent in some circumstances.
3787 (electric-indent-mode): Simplify.
3788
54f9154c
MR
37892011-11-11 Martin Rudalics <rudalics@gmx.at>
3790
3791 * window.el (windows-with-parameter): Remove unused function.
3792 (windows-at-side): Rename to window-at-side-list.
3793 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
3794 (window-side-check, window-size-ignore, window-size-fixed-1)
3795 (window-in-direction-2): Prefix with "window--".
3796 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 3797
68cbc58b
GM
37982011-11-11 Glenn Morris <rgm@gnu.org>
3799
3800 * subr.el (eval-after-load): If FILE is already loaded,
3801 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3802
b2621720
GM
38032011-11-10 Glenn Morris <rgm@gnu.org>
3804
9a4de110
GM
3805 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3806 Call svn via vc-svn-command rather than vc-do-command.
3807 (vc-svn-command): Add --non-interactive. (Bug#9993)
3808 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3809
b2621720
GM
3810 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3811 Add toggle-read-only. (Bug#7292)
3812 * files.el (toggle-read-only): Mention that it should only
3813 be used interactively. (Bug#10006)
3814
1dce7193
SM
38152011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3816
d9ac1a1e
SM
3817 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3818 Adjust regexp for OCaml warnings.
3819
0c325082
SM
3820 * electric.el (electric-pair-post-self-insert-function): Let user
3821 turn it off buffer-locally (bug#9932).
3822
90132c14
SM
3823 * progmodes/python.el (python-beginning-of-statement):
3824 Rewrite (bug#2703).
3825
1dce7193
SM
3826 * progmodes/compile.el: Better handle TABs (bug#9749).
3827 (compilation-internal-error-properties)
3828 (compilation-next-error-function): Obey the target buffer's
3829 compilation-error-screen-columns.
3830
c4e7c63a
JB
38312011-11-09 Juanma Barranquero <lekktu@gmail.com>
3832
3833 * progmodes/meta-mode.el: Remove obsolete comments.
3834 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3835 Fix typos in docstrings.
3836
2cffd681
MR
38372011-11-09 Martin Rudalics <rudalics@gmx.at>
3838
3839 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 3840 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
3841 (window--resizable): New function. Make all callers of
3842 window-resizable call window--resizable instead.
3843 (window-resizable): Rewrite in terms of window--resizable.
3844
0edcba87
GM
38452011-11-08 Glenn Morris <rgm@gnu.org>
3846
3847 * progmodes/delphi.el (delphi-mode-syntax-table):
3848 Let define-derived-mode define a proper syntax table. (Bug#9994)
3849
4b0d61e3
SM
38502011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3851
3852 * window.el: Stay away from defsubst.
3853 (window-list-no-nils): Remove.
3854 (window-state-get-1, window-state-get): Use backquote instead.
3855
cd394be1 38562011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 3857
4b0d61e3 3858 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 3859 Fix incorrect use of default argument in `completing-read'.
3860
e1c2c6f2
MR
38612011-11-08 Martin Rudalics <rudalics@gmx.at>
3862
3863 * window.el (display-buffer-function, special-display-function):
3864 Mention display-buffer-record-window but do not mention
3865 help-setup parameter in doc-strings.
b3f4a882 3866 (window-min-delta): Fix doc-string typo.
e1c2c6f2 3867
105216ed
CY
38682011-11-08 Chong Yidong <cyd@gnu.org>
3869
3870 * window.el (window-total-height, window-total-width): Doc fix.
3871 (window-body-size): Move from C.
3872 (window-body-height, window-body-width): Move to C.
3873
0a9f9ab5
SM
38742011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3875
3876 * window.el: Make special-display like display-buffer-alist (bug#9532).
3877 (display-buffer--special-action): New function, morphed
3878 from display-buffer--special.
3879 (display-buffer): Use it to handle special-display-buffers at higher
3880 priority (just after display-buffer-alist).
3881 (display-buffer-fallback-action, display-buffer--other-frame-action)
3882 (pop-to-buffer-same-window): Remove display-buffer--special.
3883
a769dd15
GM
38842011-11-07 Glenn Morris <rgm@gnu.org>
3885
3886 * calendar/cal-menu.el (cal-menu-set-date-title):
3887 Do nothing if not in a calendar. (Bug#9976)
3888
05a61ee3
SM
38892011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3890
3891 * files.el (find-file): Always use selected-window.
3892
be7f5545
MR
38932011-11-07 Martin Rudalics <rudalics@gmx.at>
3894
3895 * window.el (window-combinations): Make WINDOW argument
3896 mandatory. Rewrite doc-string.
3897 (walk-window-subtree, window-atom-check, window-min-delta)
3898 (window-max-delta, window--resize-this-window)
3899 (window--resize-root-window-vertically, window-tree)
3900 (balance-windows, window-state-put): Rewrite doc-strings as to
3901 not mention the term "subwindow".
3902 (window--resize-subwindows-skip-p): Rename to
3903 window--resize-child-windows-skip-p.
3904 (window--resize-subwindows-normal): Rename to
3905 window--resize-child-windows-normal.
3906 (window--resize-subwindows): Rename to
3907 window--resize-child-windows.
3908 (window-or-subwindow-p): Rename to window--in-subtree-p.
3909
3c6702ef
ML
39102011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3911
3912 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3913 Ensure that mbox format messages end in two newlines (Bug#9974).
3914
49745b39
CY
39152011-11-06 Chong Yidong <cyd@gnu.org>
3916
3917 * window.el (window-combination-p): Function deleted; its
3918 side-effect is not used in any existing code.
3919 (window-combinations, window-combined-p): Call window-*-child
3920 directly.
3921
24300f5f
CY
39222011-11-05 Chong Yidong <cyd@gnu.org>
3923
3924 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
3925 (window-size-ignore, window-state-get): Callers changed.
3926 (window-normalize-window): Rename from window-normalize-any-window.
3927 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 3928 (window-normalize-live-window): Delete.
447f16b8
CY
3929 (window-combination-p, window-combined-p, window-combinations)
3930 (walk-window-subtree, window-atom-root, window-min-size)
3931 (window-sizable, window-sizable-p, window-size-fixed-p)
3932 (window-min-delta, window-max-delta, window-resizable)
3933 (window-resizable-p, window-full-height-p, window-full-width-p)
3934 (window-current-scroll-bars, window-point-1, set-window-point-1)
3935 (window-at-side-p, window-in-direction, window-resize)
3936 (adjust-window-trailing-edge, maximize-window, minimize-window)
3937 (window-deletable-p, delete-window, delete-other-windows)
3938 (record-window-buffer, unrecord-window-buffer)
3939 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3940 (quit-window, split-window, window-state-put)
3941 (set-window-text-height, fit-window-to-buffer)
3942 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 3943
89bd5ee1
EZ
39442011-11-04 Eli Zaretskii <eliz@gnu.org>
3945
53479029
EZ
3946 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3947 rfc2047-decode-string.
3948 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3949 warnings.
3950
89bd5ee1
EZ
3951 * window.el (window-body-height, window-body-width): Mention in
3952 the doc string that the return values are in frame's canonical
3953 units. (Bug#9949)
3954
bd17fdee
AM
39552011-11-03 Alan Mackenzie <acm@muc.de>
3956
3957 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3958 change in cc-engine.el.
3959
acc825c5
SM
39602011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3961
3962 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3963
1885e5b8
MR
39642011-11-02 Martin Rudalics <rudalics@gmx.at>
3965
3966 * window.el (quit-window): Call unrecord-window-buffer after
3967 showing another buffer in the window. (Bug#9937)
acc825c5 3968 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 3969
ebe06da9
JB
39702011-11-02 Juanma Barranquero <lekktu@gmail.com>
3971
3972 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3973 Accept status with more than 9 shelves. (Bug#9935)
3974 Reported by Colin D Bennett <colin@gibibit.com>.
3975
4ee88440
MR
39762011-11-01 Martin Rudalics <rudalics@gmx.at>
3977
3978 * help.el (with-help-window): Don't reference
3979 temp-buffer-show-specifiers in doc-string.
3980
08e1d82c
AS
39812011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3982
3983 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3984 menu-item.
3985
84bd6e9e
VJL
39862011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3987
3988 * whitespace.el: New version 13.2.2.
3989 (whitespace-newline-mode): Disable properly. Reported by Sarah
3990 <EmacsWiki>.
3991
dba0634a
UJ
39922011-10-30 Ulf Jasper <ulf.jasper@web.de>
3993
3994 * net/newst-treeview.el: Remove "Time-stamp".
3995 (newsticker--group-manage-orphan-feeds): Do not call
3996 newsticker--treeview-tree-update.
db22a3c2
JB
3997 (newsticker-treeview-update, newsticker-treeview):
3998 Call newsticker--treeview-tree-update if necessary.
dba0634a 3999
3d8daefe
MR
40002011-10-30 Martin Rudalics <rudalics@gmx.at>
4001
4002 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
4003 (window-iso-combinations): Remove "iso-" infix.
4004 Suggested by Chong Yidong.
3d8daefe
MR
4005 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4006 (window-max-delta-1, window-resize, window--resize-siblings)
4007 (window--resize-this-window, adjust-window-trailing-edge)
4008 (split-window, balance-windows-1)
4009 (shrink-window-if-larger-than-buffer):
4010 * calendar/calendar.el (calendar-generate-window):
db22a3c2 4011 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 4012
1bc4c3ae
SM
40132011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4014
4015 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4016 in place (bug#9907).
4017 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4018 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4019 (eshell-structure-basic-command, eshell-rewrite-while-command)
4020 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4021 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4022 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4023 (eshell-do-pipelines-synchronously, eshell-eval-command):
4024 Use backquotes and prefer setq to set.
4025 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4026 (eshell-macrop): Use functionp.
c1e2f5fa 4027 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 4028
30b65d9c
CY
40292011-10-30 Chong Yidong <cyd@gnu.org>
4030
4031 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4032 instead of set-mark (Bug#9810).
4033
2d197ffb
CY
40342011-10-30 Chong Yidong <cyd@gnu.org>
4035
4036 * window.el (split-window-below, split-window-right): Rename from
4037 split-window-above-each-other and split-window-side-by-side
4038 respectively. All callers changed.
4039 (split-window-sensibly, split-window-sensibly): Use them.
4040 (split-window-keep-point): Doc fix.
4041
4042 * isearch.el: Add isearch-scroll property to split-window-below
4043 and split-window-right.
4044
4045 * follow.el (follow-mode):
4046 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4047 * progmodes/ada-xref.el (ada-gdb-application):
4048 * emulation/vip.el (vip-buffer-in-two-windows):
4049 * image-dired.el (image-dired-dired-with-window-configuration):
4050 * dired-x.el (dired-do-find-marked-files):
4051 * dired.el (dired-pop-to-buffer):
4052 * bs.el (bs--show-with-configuration):
4053 * vc/emerge.el (emerge-setup-windows):
4054 * textmodes/two-column.el (2C-two-columns):
4055 * textmodes/reftex-toc.el (reftex-toc):
4056 * progmodes/gdb-mi.el (gdb-setup-windows):
4057 * progmodes/fortran.el (fortran-window-create):
4058 * net/newst-treeview.el (newsticker--treeview-window-init):
4059 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4060 * emulation/tpu-edt.el (tpu-gold-map):
4061 * emulation/crisp.el (crisp-mode-map):
4062 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4063
38bb2ca8
CY
40642011-10-29 Chong Yidong <cyd@gnu.org>
4065
aa4de341
CY
4066 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4067
e1eb5385
CY
4068 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4069
5d2ece3c
CY
4070 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4071 forged Ispell output (Bug#7904).
4072
38bb2ca8
CY
4073 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4074
d0af9f77
SM
40752011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4076
4077 * doc-view.el: Avoid ugly errors about not finding nil.
4078 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4079 (doc-view-dvipdf-program, doc-view-unoconv-program)
4080 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4081 Avoid nil or absolute file name as default value.
4082 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4083
52bedd34
AM
40842011-10-28 Alan Mackenzie <acm@muc.de>
4085
db22a3c2 4086 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 4087
7e43cfa5
AM
40882011-10-28 Alan Mackenzie <acm@muc.de>
4089
4090 Amend the handling of c-beginning/end-of-defun in nested declaration
4091 scopes.
4092
52bedd34
AM
4093 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4094 cc-langs.el. Change it to a defcustom.
7e43cfa5 4095
52bedd34
AM
4096 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4097 cc-vars.el.
7e43cfa5 4098
d0af9f77
SM
4099 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4100 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 4101
52bedd34 4102 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 4103 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
4104 (c-widen-to-enclosing-decl-scope): New function.
4105 (c-while-widening-to-decl-block): New macro.
4106 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4107 outward for defun boundaries, and correspondingly change symbol
4108 `respect-enclosure' to `go-outward'.
4109 (c-declaration-limits): Change algorithm to report only the "innermost"
4110 defun's boundaries.
4111
1a2ce9ee
DD
41122011-10-28 Deniz Dogan <deniz@dogan.se>
4113
4114 * net/rcirc.el (rcirc-mode): Use hard newlines.
4115
bc97a826
AM
41162011-10-28 Alan Mackenzie <acm@muc.de>
4117
4118 Amend to indent and fontify macros "which include their own semicolon"
4119 correctly, using the "virtual semicolon" mechanism.
4120
52bedd34 4121 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 4122
d0af9f77 4123 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 4124 Recode to scan one line at a time rather than having \n and \r
58179cce 4125 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 4126 (c-forward-label): Amend for virtual semicolons.
58179cce 4127 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 4128
52bedd34
AM
4129 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4130 of the new C macros.
bc97a826 4131
52bedd34 4132 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
4133 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4134 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
4135 (c-opt-cpp-macro-define): Make into a full language variable.
4136 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4137 AWK Mode (including \n, \r) removed, no longer needed.
4138
d0af9f77
SM
4139 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4140 Invoke c-make-macro-with-semi-re.
bc97a826 4141
52bedd34
AM
4142 * progmodes/cc-vars.el (c-macro-with-semi-re):
4143 (c-macro-names-with-semicolon): New variables.
58179cce 4144 (c-make-macro-with-semi-re): New function.
bc97a826 4145
7a6c0941
SM
41462011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4147
4148 * vc/log-edit.el: Fill empty field rather than adding new one.
4149 (log-edit-add-field): New function.
4150 (log-edit-insert-changelog): Use it.
4151
b0c4cdcf
ML
41522011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4153
4154 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4155
ee1f1da9
SM
41562011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4157
4158 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4159 (gdb--check-interpreter): New function.
4160 (gdb): Use it.
4161
51bc5f8b
GM
41622011-10-27 Glenn Morris <rgm@gnu.org>
4163
416a2c45
GM
4164 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4165 (least-positive-float, least-negative-float)
4166 (least-positive-normalized-float, least-negative-normalized-float)
4167 (float-epsilon, float-negative-epsilon):
4168 Remove unnecessary declarations.
4169
4170 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4171 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4172 (least-positive-float, least-negative-float)
4173 (least-positive-normalized-float, least-negative-normalized-float)
4174 (float-epsilon, float-negative-epsilon): Add doc-strings,
4175 based on those in cl.texi.
4176
51bc5f8b
GM
4177 * files.el (set-visited-file-name): If the major-mode changed,
4178 reload the local variables. (Bug#9796)
4179
15de15c6
CY
41802011-10-27 Chong Yidong <cyd@gnu.org>
4181
4182 * subr.el (change-major-mode-after-body-hook): New hook.
4183 (run-mode-hooks): Run it.
4184
ee1f1da9
SM
4185 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4186 Use change-major-mode-before-body-hook.
15de15c6
CY
4187
4188 * simple.el (fundamental-mode):
4189 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4190 change introducing fundamental-mode-hook.
4191
5430d399
JB
41922011-10-26 Juanma Barranquero <lekktu@gmail.com>
4193
acc825c5 4194 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 4195
ad74a69e
MA
41962011-10-26 Michael Albinus <michael.albinus@gmx.de>
4197
4198 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 4199 tramp.el explicitly. (Bug#7583)
ad74a69e 4200
71d4c2a5
SM
42012011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4202
4203 * progmodes/octave-mod.el:
4204 * progmodes/octave-inf.el: Update maintainer.
4205
b1f6fa26
CY
42062011-10-26 Chong Yidong <cyd@gnu.org>
4207
4208 * subr.el (with-wrapper-hook): Rewrite doc.
4209
3f04efd6
MA
42102011-10-25 Michael Albinus <michael.albinus@gmx.de>
4211
4212 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 4213 filenames "/method:foo:". (Bug#9793)
3f04efd6 4214
410488d3
SM
42152011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4216
4217 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4218 (bug#9865).
4219
c1ebb47e
GM
42202011-10-24 Glenn Morris <rgm@gnu.org>
4221
4222 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4223
7f5c46c7
MA
42242011-10-24 Michael Albinus <michael.albinus@gmx.de>
4225
4226 * notifications.el: Add the requirement of a running D-Bus session
4227 bus to the Commentary.
4228
db2440b6
JL
42292011-10-24 Juri Linkov <juri@jurta.org>
4230
4231 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4232 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4233 (Bug#9364)
4234
feecf435
JL
42352011-10-24 Juri Linkov <juri@jurta.org>
4236
4237 * info.el (Info-following-node-name-re): Add newline to the list
4238 of allowed characters for leading space. (Bug#9824)
4239
a3839de2
SM
42402011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4241
acc825c5
SM
4242 * progmodes/octave-inf.el (inferior-octave-mode-map):
4243 Fix C-c C-h binding.
a3839de2
SM
4244 * progmodes/octave-mod.el (octave-help): Remove.
4245
09388e76
MA
42462011-10-23 Michael Albinus <michael.albinus@gmx.de>
4247
4248 Sync with Tramp 2.2.3.
4249
4250 * net/tramp-cache.el (top): Pacify byte-compiler using
4251 `init-file-user' and `site-run-file'.
4252
4253 * net/trampver.el: Update release number.
4254
86c60681
CY
42552011-10-23 Chong Yidong <cyd@gnu.org>
4256
4257 * files.el (toggle-read-only): Remove obsolete comment about
4258 version control.
4259
4260 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4261 for toggle-read-only. Note that this hasn't called vc-next-action
4262 since 2008-05-02, though it wasn't documented at the time.
4263
a3839de2
SM
4264 * vc/ediff-init.el (ediff-toggle-read-only-function):
4265 Use toggle-read-only.
86c60681 4266
cd5495ff
AM
42672011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4268
4269 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4270 of c-parse-state.
4271
00b77525 4272 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 4273 correct faulty logical expression.
cd5495ff
AM
4274 (c-parse-state-state, c-record-parse-state-state):
4275 (c-replay-parse-state-state): New defvar/defuns.
4276 (c-debug-parse-state): Use new functions.
4277
42ee24ed
MR
42782011-10-22 Martin Rudalics <rudalics@gmx.at>
4279
4280 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 4281 last fix. Use window-in-direction correctly.
42ee24ed 4282
a7dee7e7
CY
42832011-10-21 Chong Yidong <cyd@gnu.org>
4284
4285 * progmodes/idlwave.el (idlwave-mode):
4286 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
4287 require-final-newline; that's done in prog-mode.
4288 Suggested by Stefan Monnier.
a7dee7e7 4289
e07b9a6d
MR
42902011-10-21 Martin Rudalics <rudalics@gmx.at>
4291
4292 * mouse.el (mouse-drag-window-above)
4293 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4294 (mouse-drag-mode-line-1, mouse-drag-header-line)
4295 (mouse-drag-vertical-line-rightward-window): Remove.
4296 (mouse-drag-line): New function.
4297 (mouse-drag-mode-line, mouse-drag-header-line)
4298 (mouse-drag-vertical-line): Call mouse-drag-line.
4299 * window.el (window-at-side-p, windows-at-side): New functions.
4300
7e1361d9
UM
43012011-10-21 Ulrich Mueller <ulm@gentoo.org>
4302
4303 * tar-mode.el (tar-grind-file-mode):
4304 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4305
30fcaf3a
CY
43062011-10-21 Chong Yidong <cyd@gnu.org>
4307
4308 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
4309 * progmodes/vera-mode.el (vera-mode):
4310 Use mode-require-final-newline.
30fcaf3a 4311
516eddb0
GM
43122011-10-20 Glenn Morris <rgm@gnu.org>
4313
db22a3c2 4314 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 4315
10d5f513
CS
43162011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
4317
4318 * emulation/cua-base.el (cua-set-mark): Fix case of string.
4319
ac6c8639
CY
43202011-10-20 Chong Yidong <cyd@gnu.org>
4321
4322 * emulation/cua-base.el (cua-mode):
4323 * mail/footnote.el (footnote-mode):
4324 * mail/mailabbrev.el (mail-abbrevs-mode):
4325 * net/xesam.el (xesam-minor-mode):
4326 * progmodes/bug-reference.el (bug-reference-mode):
4327 * progmodes/cap-words.el (capitalized-words-mode):
4328 * progmodes/compile.el (compilation-minor-mode)
4329 (compilation-shell-minor-mode):
4330 * progmodes/gud.el (gud-tooltip-mode):
4331 * progmodes/hideif.el (hide-ifdef-mode):
4332 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4333 * progmodes/subword.el (subword-mode):
4334 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4335 * progmodes/which-func.el (which-function-mode):
4336 * term/tvi970.el (tvi970-set-keypad-mode):
4337 * term/vt100.el (vt100-wide-mode):
4338 * textmodes/flyspell.el (flyspell-mode):
4339 * textmodes/ispell.el (ispell-minor-mode):
4340 * textmodes/nroff-mode.el (nroff-electric-mode):
4341 * textmodes/paragraphs.el (use-hard-newlines):
4342 * textmodes/refill.el (refill-mode):
4343 * textmodes/reftex.el (reftex-mode):
4344 * textmodes/rst.el (rst-minor-mode):
4345 * textmodes/sgml-mode.el (html-autoview-mode)
4346 (sgml-electric-tag-pair-mode):
4347 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4348 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4349 * emulation/crisp.el (crisp-mode):
4350 * emacs-lisp/eldoc.el (eldoc-mode):
4351 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4352 minor mode behavior.
4353
aa42ab43
JL
43542011-10-19 Juri Linkov <juri@jurta.org>
4355
4356 * descr-text.el (describe-char): Add #x2010 and #x2011 to
4357 the list of hard-coded chars with escape-glyph face.
4358
89400f1d
SM
43592011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4360
4361 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4362
305c07f6
MA
43632011-10-19 Michael Albinus <michael.albinus@gmx.de>
4364
4365 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4366 running process.
4367
13754b54
GM
43682011-10-19 Glenn Morris <rgm@gnu.org>
4369
4370 * vc/vc-bzr.el (vc-bzr-after-dir-status):
4371 Ignore ignored files. (Bug#9726)
4372
06e21633
CY
43732011-10-19 Chong Yidong <cyd@gnu.org>
4374
4375 Doc fix for minor modes, stating that an omitted argument enables
4376 the mode unconditionally when called from Lisp.
4377
4378 * abbrev.el (abbrev-mode):
4379 * allout.el (allout-mode):
4380 * autoinsert.el (auto-insert-mode):
4381 * autoarg.el (autoarg-mode, autoarg-kp-mode):
4382 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4383 (global-auto-revert-mode):
4384 * battery.el (display-battery-mode):
4385 * composite.el (global-auto-composition-mode)
4386 (auto-composition-mode):
4387 * delsel.el (delete-selection-mode):
4388 * desktop.el (desktop-save-mode):
4389 * dired-x.el (dired-omit-mode):
4390 * dirtrack.el (dirtrack-mode):
4391 * doc-view.el (doc-view-minor-mode):
4392 * double.el (double-mode):
4393 * electric.el (electric-indent-mode, electric-pair-mode):
4394 * emacs-lock.el (emacs-lock-mode):
4395 * epa-hook.el (auto-encryption-mode):
4396 * follow.el (follow-mode):
4397 * font-core.el (font-lock-mode):
4398 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4399 * help.el (temp-buffer-resize-mode):
4400 * hilit-chg.el (highlight-changes-mode)
4401 (highlight-changes-visible-mode):
4402 * hi-lock.el (hi-lock-mode):
4403 * hl-line.el (hl-line-mode, global-hl-line-mode):
4404 * icomplete.el (icomplete-mode):
4405 * ido.el (ido-everywhere):
4406 * image-file.el (auto-image-file-mode):
4407 * image-mode.el (image-minor-mode):
4408 * iswitchb.el (iswitchb-mode):
4409 * jka-cmpr-hook.el (auto-compression-mode):
4410 * linum.el (linum-mode):
4411 * longlines.el (longlines-mode):
4412 * master.el (master-mode):
4413 * mb-depth.el (minibuffer-depth-indicate-mode):
4414 * menu-bar.el (menu-bar-mode):
4415 * minibuf-eldef.el (minibuffer-electric-default-mode):
4416 * mouse-sel.el (mouse-sel-mode):
4417 * msb.el (msb-mode):
4418 * mwheel.el (mouse-wheel-mode):
4419 * outline.el (outline-minor-mode):
4420 * paren.el (show-paren-mode):
4421 * recentf.el (recentf-mode):
4422 * reveal.el (reveal-mode, global-reveal-mode):
4423 * rfn-eshadow.el (file-name-shadow-mode):
4424 * ruler-mode.el (ruler-mode):
4425 * savehist.el (savehist-mode):
4426 * scroll-all.el (scroll-all-mode):
4427 * scroll-bar.el (scroll-bar-mode):
4428 * server.el (server-mode):
4429 * shell.el (shell-dirtrack-mode):
4430 * simple.el (auto-fill-mode, transient-mark-mode)
4431 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4432 (line-number-mode, column-number-mode, size-indication-mode)
4433 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4434 * strokes.el (strokes-mode):
4435 * time.el (display-time-mode):
4436 * t-mouse.el (gpm-mouse-mode):
4437 * tool-bar.el (tool-bar-mode):
4438 * tooltip.el (tooltip-mode):
4439 * type-break.el (type-break-mode-line-message-mode)
4440 (type-break-query-mode):
4441 * view.el (view-mode):
4442 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4443 (global-whitespace-mode, global-whitespace-newline-mode):
4444 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4445
a3839de2
SM
4446 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4447 Fix autogenerated docstring.
06e21633 4448
5214e501
JL
44492011-10-19 Juri Linkov <juri@jurta.org>
4450
4451 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4452 by checking environment variables "DESKTOP_SESSION" and
4453 "XDG_CURRENT_DESKTOP". (Bug#9779)
4454
195f8db9
JL
44552011-10-19 Juri Linkov <juri@jurta.org>
4456
4457 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4458 (browse-url-chromium-program, browse-url-chromium-arguments):
4459 New defcustoms.
4460 (browse-url-default-browser): Check for `browse-url-chromium' and
4461 call `browse-url-chromium-program'.
4462 (browse-url-chromium): New command. (Bug#9779)
4463
343a34ff
JB
44642011-10-18 Juanma Barranquero <lekktu@gmail.com>
4465
4466 * facemenu.el (list-colors-duplicates): On Windows, detect more
4467 duplicates by assuming that only colors matching "^System" are
4468 special "system colors". (Bug#9722)
4469
6978a151
SM
44702011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4471
4472 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4473 to distinguish the author from the committer.
4474
6a80b297
MA
44752011-10-18 Michael Albinus <michael.albinus@gmx.de>
4476
4477 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4478
b31a5677
JK
44792011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
4480
4481 * international/mule.el (sgml-html-meta-auto-coding-function):
4482 Add support for detecting encoding in HTML5 specified only as
4483 <meta charset="UTF-8">. Implementation just makes http-equiv and
4484 content-type parts from HTML4 encoding string optional. (Bug#9716)
4485
80c6d77f
GM
44862011-10-18 Glenn Morris <rgm@gnu.org>
4487
4488 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
4489
08b0fee8
CY
44902011-10-18 Chong Yidong <cyd@gnu.org>
4491
4492 * faces.el (cursor): Doc fix.
4493
67e729a5
CY
44942011-10-17 Chong Yidong <cyd@gnu.org>
4495
4496 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4497
343a34ff 44982011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
4499
4500 * dirtrack.el (dirtrack): Support shell buffers with path
4501 prefixes, e.g. tramp-based remote shells. (Bug#9647)
4502
0bc06380
TZ
45032011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
4504
4505 * json.el: Bump version to 1.3 and note change in History.
4506 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4507
8b79f3e0
SM
45082011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4509
5a7c536b
SM
4510 * comint.el (comint-insert-input, comint-send-input)
4511 (comint-get-old-input-default, comint-backward-matching-input)
4512 (comint-next-prompt): Use nil instead of `input' for field property of
4513 past user input (bug#114).
4514
96a8a0df
SM
4515 * minibuffer.el (completion--replace): Inherit surrounding properties
4516 (bug#114).
4517 (minibuffer-complete-and-exit): Use it.
4518
8b79f3e0
SM
4519 * comint.el (comint--table-subvert): Quote the all-completions output
4520 (bug#9160).
4521
b8f7ff0d
MR
45222011-10-17 Martin Rudalics <rudalics@gmx.at>
4523
8b79f3e0 4524 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 4525
b8f7ff0d 4526 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 4527 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
4528 entries and separate them from frame entries.
4529
c235b555
GM
45302011-10-15 Glenn Morris <rgm@gnu.org>
4531
4532 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4533 Doc fixes.
4534
6bbfa6e1
CY
45352011-10-15 Chong Yidong <cyd@stupidchicken.com>
4536
8b79f3e0
SM
4537 * net/network-stream.el (network-stream-open-starttls):
4538 Improve detection of failure due to lack of TLS support.
ec5c990d 4539
6bbfa6e1
CY
4540 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4541 putting the input text in front and in bold.
4542
98488977
SM
45432011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4544
3d1337be
SM
4545 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4546
ee0b45e4
SM
4547 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4548 empty buffer.
4549
98488977
SM
4550 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4551 unread-command-events rather than pushing yet-another event.
4552
186f4720
EZ
45532011-10-14 Eli Zaretskii <eliz@gnu.org>
4554
4555 * mail/sendmail.el (sendmail-query-once): Improve the wording of
4556 the explanation of the possible choices. Make the options passed
4557 to completing-read shorter.
4558
8b7a997c
AM
45592011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4560
4561 * textmodes/flyspell.el (flyspell-large-region): Make sure
4562 extended character mode is used if defined (Bug#1339).
4563
12587bbb
EZ
45642011-10-13 Eli Zaretskii <eliz@gnu.org>
4565
4566 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
4567 character info for LRE, LRO, RLE, and RLO characters by appending
4568 an invisible PDF.
12587bbb 4569
bad41229
SM
45702011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
4571
4572 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4573 even in case of error; add debug spec; simplify data flow.
4574 (with-timeout-handler): Remove.
4575
28dbc92f
MA
45762011-10-12 Michael Albinus <michael.albinus@gmx.de>
4577
4578 Fix Bug#6019, Bug#9315.
4579
4580 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4581 complete `buffer-file-name', the local file name part could look
4582 remotely (for example on VMS).
4583
4584 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4585 `tramp-run-real-handler'.
4586 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4587 already quoted by '"'.
4588
4589 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4590 Let `file-name-handler-alist' be nil, the local file name part
4591 could look remotely (for example on VMS).
4592
e1b0b23a
SM
45932011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4594
4595 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4596 from here...
4597 (flyspell-post-command-hook): ...to here.
4598
a120bde9
SM
45992011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4600
4601 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4602 if not needed.
4603 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
4604 using completion. Protect against "slow" callers.
4605 Remove the "message hack".
4606
7ce7717b
JL
46072011-10-11 Juri Linkov <juri@jurta.org>
4608
4609 * isearch.el (isearch-lazy-highlight-word): New variable.
4610 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4611 Use it. (Bug#9727)
4612
c02ee9d6
GM
46132011-10-11 Glenn Morris <rgm@gnu.org>
4614
4615 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4616 like f90-previous-statement does.
4617
93e616fd 46182011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4619
1f190e73 4620 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
4621 only in interactive use, to avoid error.
4622
af7b6078
SM
46232011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4624
4625 * minibuffer.el (completion-file-name-table): Fix last change,
4626 i.e. ignore normal errors but not the other ones.
4627
0563dae9
MR
46282011-10-10 Martin Rudalics <rudalics@gmx.at>
4629
4630 * window.el (special-display-buffer-names)
4631 (special-display-regexps): Remove some remnants of earlier
4632 changes from doc-strings.
366ca7f3
MR
4633 (quit-windows-on): New function.
4634
4635 * vc/vc.el (vc-revert, vc-rollback):
4636 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4637 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 4638 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 4639
49677495
MR
46402011-10-09 Martin Rudalics <rudalics@gmx.at>
4641
4642 * window.el (frame-auto-hide-function): Add version tag.
4643 (Bug#9699)
4644
56f2d1e1
MA
46452011-10-09 Michael Albinus <michael.albinus@gmx.de>
4646
4647 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4648 condition.
4649
112a6592
LL
46502011-10-09 Leo Liu <sdl.web@gmail.com>
4651
4652 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4653 (Bug#9701)
4654
0812589b
GM
46552011-10-08 Glenn Morris <rgm@gnu.org>
4656
4657 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4658 before the first code statement zero indent. (Bug#9690)
4659
b2b0776e
CY
46602011-10-08 Chong Yidong <cyd@stupidchicken.com>
4661
4662 * simple.el (count-words-region): Always count in the region.
4663 Report the number of lines and characters too.
4664 (count-words): New command, which counts in the buffer if the
4665 region is inactive, as count-words-region used to.
4666 (count-words--message): New function. Handle plurals.
4667 (count-lines-region): Make it an alias for count-words-region.
4668
4669 * bindings.el (esc-map): Replace count-lines-region with
4670 count-words-region.
4671
c557cd6b
MR
46722011-10-08 Martin Rudalics <rudalics@gmx.at>
4673
4674 * window.el (window--delete): Delete dedicated frame
4675 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 4676 (switch-to-buffer): Fix doc-string typo.
c557cd6b 4677
61a57ef4 46782011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4679
3a7d293b 4680 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 4681
c3833279
CY
46822011-10-07 Chong Yidong <cyd@stupidchicken.com>
4683
4684 * bindings.el ([M-left],[M-right]): Bind to left-word and
4685 right-word respectively.
4686
21ce8245
GM
46872011-10-07 Glenn Morris <rgm@gnu.org>
4688
4689 * cus-start.el (debug-on-quit): Fix custom type.
4690
6d823bb2
LMI
46912011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4692
0181e193
LMI
4693 * subr.el (define-key-after): Clarify that the function is not
4694 useful for non-menu keymaps.
4695
6d823bb2
LMI
4696 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4697
8e3459ce 46982011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4699
21ce8245 4700 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 4701 in current minibuffer (Fix bug with recursive minibuffers).
4702
a1c2d21e
CY
47032011-10-06 Chong Yidong <cyd@stupidchicken.com>
4704
4705 * progmodes/gdb-mi.el (gdb): Doc fix.
4706
5a4cf282
MR
47072011-10-05 Martin Rudalics <rudalics@gmx.at>
4708
4709 * window.el (frame-auto-hide-function): New option replacing
4710 frame-auto-delete. Suggested by Stefan Monnier.
4711 (window--delete): Call frame-auto-hide-function instead of
4712 investigating frame-auto-delete.
c96111ea
MR
4713 (window-point-1, set-window-point-1): New functions.
4714 (window-in-direction, record-window-buffer, window-state-get-1)
4715 (display-buffer-record-window): Use window-point-1 instead of
4716 window-point.
4717 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 4718
9854542e
SM
47192011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4720
4721 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4722
8943cfb0
GM
47232011-10-05 Glenn Morris <rgm@gnu.org>
4724
4725 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4726 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
4727
647ab967
LL
47282011-10-05 Leo Liu <sdl.web@gmail.com>
4729
4730 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4731 works with buffer object.
4732
3ddfbced
SM
47332011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4734
4735 * mpc.el (mpc-tool-bar-map): Add labels.
4736
bdfa5dd2
GM
47372011-10-04 Glenn Morris <rgm@gnu.org>
4738
4739 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4740
0e2070b5
MR
47412011-10-04 Martin Rudalics <rudalics@gmx.at>
4742
4743 * window.el (window--delete): New function.
4744 (frame-auto-delete): Resuscitate option.
4745 (bury-buffer, replace-buffer-in-windows)
4746 (quit-window): Rewrite using window--delete.
4747 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4748 Pass display-buffer-mark-dedicated to window--display-buffer-2
4749 (Bug#9639).
4750
3dc61a09
SM
47512011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4752
915a9b64
SM
4753 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4754 returns a list (bug#9554). Add remote file name completion.
4755 * comint.el (comint--table-subvert): Curry and get quote&unquote
4756 functions as arguments.
4757 (comint--complete-file-name-data): Adjust call accordingly.
4758 * pcomplete.el (pcomplete--table-subvert): Remove.
4759 (pcomplete-completions-at-point): Use comint--table-subvert instead.
4760
3dc61a09
SM
4761 * minibuffer.el (completion-table-case-fold): Use currying.
4762 (completion--styles-type, completion--cycling-threshold-type):
4763 New constants.
4764 (completion-styles, completion-category-overrides)
4765 (completion-cycle-threshold): Use them.
4766 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4767 completion-table-case-fold.
4768
8ea0a993
SB
47692011-10-03 Stephen Berman <stephen.berman@gmx.net>
4770
4771 * minibuffer.el (completion-category-overrides): Fix type of styles
4772 and add more user friendly tags (bug#9660).
4773
8c24b7f6
SM
47742011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4775
4776 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4777 (mule-input-method-string): New widget.
4778 (default-input-method, language-info-custom-alist): Use it.
4779
428fe61a
SM
47802011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4781
32c1fffd
SM
4782 * pcomplete.el: Require comint.
4783 (pcomplete--common-suffix): Remove.
4784 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4785 (pcomplete--table-subvert): Sync with comint--table-subvert.
4786 (pcomplete--entries): Use comint-completion-file-name-table.
4787 * comint.el (comint-unquote-filename): Simplify.
4788 (comint-completion-file-name-table): New function (bug#9616).
4789 (comint--complete-file-name-data): Use it.
4790
428fe61a
SM
4791 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4792 (pcmpl-gnu-tar-buffer): Remove.
4793 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
4794 around. Make sure pcomplete-suffix-list is only changed temporarily.
4795 Don't look inside the tar's file if it's too large.
428fe61a 4796
04c52e2f
CY
47972011-10-01 Chong Yidong <cyd@stupidchicken.com>
4798
ce3cefcc
CY
4799 * cus-edit.el (custom-mode-map):
4800 * epa.el (epa-key-list-mode-map):
4801 * man.el (Man-mode-map):
4802 * startup.el (splash-screen-keymap):
4803 * simple.el (special-mode-map): Use scroll-up-command and
4804 scroll-down-command.
4805
4806 * progmodes/idlw-help.el (idlwave-help-mode-map):
4807 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4808 * net/newst-plainview.el (newsticker-mode-map):
4809 * emulation/ws-mode.el (wordstar-mode-map):
4810 * emulation/vi.el (vi-com-map):
4811 * calc/calc-graph.el (calc-graph-show-dumb):
4812 * term/sun.el (terminal-init-sun):
4813 * term/ns-win.el (global-map):
4814 * progmodes/grep.el (grep-mode-map):
4815 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4816 * mail/rmail.el (rmail-mode-map):
4817 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4818
04c52e2f
CY
4819 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4820 custom-safe-themes as special.
4821
79adf8c8
JD
48222011-10-01 Julien Danjou <julien@danjou.info>
4823
4824 * notifications.el (notifications-notify): Fix docstring.
4825
63bd50d3
PS
48262011-10-01 Per Starbäck <per@starback.se>
4827
4828 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4829
199e4c7e
MR
48302011-09-30 Martin Rudalics <rudalics@gmx.at>
4831
4832 * startup.el (command-line-1): Fix last fix by inserting
4833 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 4834 (Bug#9605) and (Bug#9636)
199e4c7e 4835
fe5f08dd
EZ
48362011-09-29 Eli Zaretskii <eliz@gnu.org>
4837
4838 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4839 window is hscrolled, move by logical lines. (Bug#9607)
4840 (line-move-visual): Update the doc string to the above effect.
4841
b5516bbd
MR
48422011-09-29 Martin Rudalics <rudalics@gmx.at>
4843
ccee00c0
MR
4844 * window.el (display-buffer-record-window): When WINDOW is the
4845 selected window use `point' instead of `window-point'. (Bug#9626)
4846
b5516bbd
MR
4847 * startup.el (command-line-1): Use insert-before-markers when
4848 inserting initial-scratch-message. (Bug#9605)
ccee00c0 4849
b5516bbd
MR
4850 * help.el (help-window): Remove variable.
4851
52aa0014
GM
48522011-09-29 Glenn Morris <rgm@gnu.org>
4853
4854 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4855
df9a7357
JB
48562011-09-29 Juanma Barranquero <lekktu@gmail.com>
4857
4858 * descr-text.el (describe-char-categories): Accept category
4859 descriptions more than one line long.
4860
a8406c20
SM
48612011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4862
88d9610c
SM
4863 * simple.el (delete-trailing-whitespace): Fix last change.
4864
a5daf810
SM
4865 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4866 Don't confuse "y => 3" as the beginning of a `y' operation.
4867
a8406c20
SM
4868 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4869 object has more than 4 slots (bug#9613).
4870
a239d4e9
JB
48712011-09-28 Juanma Barranquero <lekktu@gmail.com>
4872
4873 * subr.el (with-output-to-temp-buffer):
4874 * net/quickurl.el (quickurl, quickurl-browse-url):
4875 Fix typos in docstrings.
4876
693fbdb6
EZ
48772011-09-27 Eli Zaretskii <eliz@gnu.org>
4878
4879 * minibuffer.el (completion-styles)
4880 (completion-category-overrides): Cross reference each other in doc
4881 strings.
4882
8b457e28
GM
48832011-09-27 Glenn Morris <rgm@gnu.org>
4884
4885 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4886 to split-string. (Bug#9606)
4887
85a16208
LMI
48882011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4889
4890 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4891 (bug#9615).
4892
502f9ebd
CY
48932011-09-27 Chong Yidong <cyd@stupidchicken.com>
4894
4895 * emacs-lisp/package.el (list-packages): Fix echo area message.
4896
7690bdea
LL
48972011-09-27 Leo Liu <sdl.web@gmail.com>
4898
4899 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4900
e2ee6f30
MA
49012011-09-25 Michael Albinus <michael.albinus@gmx.de>
4902
4903 * net/dbus.el (dbus-unregister-object): Don't release services for
4904 registered signals. (Bug#9581)
4905
f3f98342
TZ
49062011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4907
4908 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4909 function that picks between cfengine 2 and 3 support
4910 automatically. Update docs accordingly.
4911
dd7aa8dd
KH
49122011-09-22 Kenichi Handa <handa@m17n.org>
4913
4914 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4915 ZERO.
4916 (indian-itrans-v5-table-for-tamil): New variable.
4917 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4918
3f2b07f8
KM
49192011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4920
4921 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4922 that's true if the current command involved collapsing of text.
4923 It's reset to false at the beginning of the next command.
4924 (allout-post-command-business): Move the cursor to the beginning
4925 of entry if the cursor is hidden and collapsing activity just
4926 happened.
4927
371d6a61
CY
49282011-09-24 Chong Yidong <cyd@stupidchicken.com>
4929
4930 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4931 tracking (Bug#9541).
4932
2ac2721a
UJ
49332011-09-24 Ulf Jasper <ulf.jasper@web.de>
4934
4935 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
4936 (newsticker-show-news): Automatically load html rendering package
4937 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4938 because w3m-fill-column is let-bound" and the error "Symbol's value
4939 as variable is void: w3m-fill-column".
2ac2721a 4940
fac7ae53
MA
49412011-09-24 Michael Albinus <michael.albinus@gmx.de>
4942
4943 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4944 Release services only if they are defined. (Bug#9581)
4945
e08b633b
RS
49462011-09-23 Richard Stallman <rms@gnu.org>
4947
e488d29c
RS
4948 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4949 distinguish start of paragraph from start of its text.
4950
19c38752
RS
4951 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4952
e08b633b
RS
4953 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4954 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4955 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4956
0a39f27e
AS
49572011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4958
4959 * international/mule-diag.el (mule-diag): Insert a newline after
4960 each fontset description.
4961
db4e950d
SM
49622011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4963
4964 * simple.el (delete-trailing-whitespace):
4965 Document last change; simplify.
4966
eca3f3ea
PW
49672011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4968
d68e189a
PW
4969 * simple.el (delete-trailing-whitespace): Also delete
4970 extra newlines at the end of the buffer.
4971
eca3f3ea
PW
4972 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4973 (picture-newline): Use forward-line so as to ignore fields.
4974
01c157cc
SM
49752011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4976
4977 * subr.el (with-wrapper-hook): Fix edebug spec.
4978
022de23e
LMI
49792011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4980
4981 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4982 (bug#4538).
4983
91683089
MA
49842011-09-23 Michael Albinus <michael.albinus@gmx.de>
4985
eca3f3ea
PW
4986 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4987 Fix nasty bug using wrong cached values.
91683089 4988
5bdd6fa4
AM
49892011-09-23 Alan Mackenzie <acm@muc.de>
4990
4991 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4992
97adfb97
CY
49932011-09-23 Chong Yidong <cyd@stupidchicken.com>
4994
4995 * window.el (pop-to-buffer): Ensure right window is selected if we
4996 chose another frame.
4997
d4ef2b50
EZ
49982011-09-22 Eli Zaretskii <eliz@gnu.org>
4999
5000 * simple.el (what-cursor-position): Use get-char-property-change
5001 and next-single-char-property-change, to be able to show display
5002 properties that come from overlays as well as text properties.
5003
72258fe5
CY
50042011-09-22 Chong Yidong <cyd@stupidchicken.com>
5005
5006 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5007
5008 * cmuscheme.el (run-scheme, switch-to-scheme):
5009 * cus-edit.el (customize-group, custom-buffer-create)
5010 (customize-browse):
5011 * info.el (info):
5012 * shell.el (shell):
5013 * mail/sendmail.el (mail):
5014 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5015
8f098516
RS
50162011-09-22 Richard Stallman <rms@gnu.org>
5017
5018 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5019 move back only to line beg, don't move back over blank lines.
5020
e74f1bb6
MA
50212011-09-22 Michael Albinus <michael.albinus@gmx.de>
5022
5023 * files.el (copy-directory): Set directory attributes only in case
5024 they could be retrieved from the source directory. (Bug#9565)
5025
bfeef8b6
DK
50262011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5027
5028 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5029 (hs-find-block-beginning, hs-hide-level-recursive):
5030 Ignore strings as well as comments. (Bug#9502)
5031
7e423bb8
AS
50322011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5033
5034 * progmodes/sql.el (sql-comint-postgres):
5035 Convert port number to a string. (Bug#9566)
5036
b4d72fcf
MR
50372011-09-22 Martin Rudalics <rudalics@gmx.at>
5038
5039 * window.el (quit-window): Undedicate window when switching to
5040 previous buffer. Reported by Thierry Volpiatto
5041 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
5042 (special-display-popup-frame): When popping up a new frame reset
5043 its previous buffers to nil. Simplify code.
b4d72fcf 5044
a7b88dc6
MA
50452011-09-21 Michael Albinus <michael.albinus@gmx.de>
5046
5047 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5048 and process filter, as done also in `shell-command'.
5049
cf4eacfd
MR
50502011-09-21 Martin Rudalics <rudalics@gmx.at>
5051
eca3f3ea 5052 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
5053 Call set-window-start with NOFORCE argument t.
5054 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
5055 (quit-window): Reword doc-string. Handle new format of
5056 quit-restore parameter. Don't delete window if it has a
5057 previous buffer we can show instead of the present one.
5058 (display-buffer-record-window): Rewrite using a new format for
5059 the quit-restore window parameter
5060 (special-display-popup-frame, display-buffer-same-window)
5061 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5062 (display-buffer-pop-up-window, display-buffer-use-some-window):
5063 Adapt symbol passed to display-buffer-record-window.
5064 * help.el (help-window-setup): Handle new format of quit-restore
5065 parameter.
5066
8d28cb95
SM
50672011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5068
94ab793f
SM
5069 * faces.el (face-list): Fix docstring (bug#9564).
5070
8d28cb95
SM
5071 * window.el (display-buffer--action-function-custom-type):
5072 Don't include internal functions in the Custom interface.
5073
3820edeb
JL
50742011-09-20 Juri Linkov <juri@jurta.org>
5075
5076 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5077 (Info-forward-node, Info-backward-node, Info-next-preorder)
5078 (Info-last-preorder): Use it. (Bug#9528)
5079
5147931d
JL
50802011-09-20 Juri Linkov <juri@jurta.org>
5081
5082 * info.el (Info-last-preorder): Visit last menu item only when
5083 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5084
cf499a1a
JD
50852011-09-20 Julien Danjou <julien@danjou.info>
5086
5087 * password-cache.el (password-cache-remove): Remove entries even if the
5088 value is nil, so that password with a nil value (negative caching) is
5089 possible to invalidate.
5090
f84e2fe2
LM
50912011-09-20 Lawrence Mitchell <wence@gmx.li>
5092
5093 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5094 all whitespace around breakpoint. (Bug#9553)
5095 (f90-find-breakpoint): Only break at whitespace inside a comment.
5096
78054a46
SM
50972011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5098
5099 * minibuffer.el (completion-file-name-table): Keep track of errors.
5100 (completion-table-with-predicate): Handle the case where pred1 is nil.
5101 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5102
345083b2
SM
51032011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5104
e24e27be
SM
5105 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5106 (debugger-return-value): Signal an error if the debugging context does
5107 not await any return value.
5108
345083b2
SM
5109 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5110 * image-mode.el (image-toggle-display-text)
5111 (image-toggle-display-image): Stay away from evil `intangible'.
5112
08d355e3
LL
51132011-09-19 Leo Liu <sdl.web@gmail.com>
5114
5115 * replace.el (occur-revert-arguments): Make it permanent-local.
5116 (occur-mode): Don't call font-lock-defontify.
5117
f01da43f
CY
51182011-09-19 Chong Yidong <cyd@stupidchicken.com>
5119
5120 * net/ldap.el (ldap-search-internal): Don't push empty search
5121 result (Bug#9508).
5122
b6072fa6
SM
51232011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5124
5125 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5126
443d6696
MA
51272011-09-19 Michael Albinus <michael.albinus@gmx.de>
5128
5129 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5130 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5131
7cc6e154
JL
51322011-09-18 Juri Linkov <juri@jurta.org>
5133
5134 * buff-menu.el (Buffer-menu-mode-map):
5135 * dired.el (dired-mode-map):
5136 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5137 (lisp-interaction-mode-map):
5138 * emacs-lisp/package.el (package-menu-mode-map):
5139 * epa.el (epa-key-list-mode-map):
5140 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5141 (menu-bar-options-menu):
5142 * outline.el (outline-mode-menu-bar-map):
5143 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5144 * vc/vc-dir.el (vc-dir-menu-map):
5145 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5146 Capitalize non-function content words in menu item strings.
5147
5148 * dired.el (dired-mode-map): Add menu item for
5149 `image-dired-dired-toggle-marked-thumbs'.
5150
80302a81
JL
51512011-09-18 Juri Linkov <juri@jurta.org>
5152
5153 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5154 to `isearch-case-fold-search' and restore its original value
5155 after the `isearch-mode' call.
5156
46c5cf66
JL
51572011-09-18 Juri Linkov <juri@jurta.org>
5158
5159 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5160 because `zgrep' returns 1 for successful matches (bug#9226).
5161
d18b513b
JL
51622011-09-18 Juri Linkov <juri@jurta.org>
5163
5164 * info.el (Info-extract-menu-node-name): Check the second match
5165 for empty string (second test-case of bug#9528).
5166 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5167 intermediate nodes to the history (first test-case of bug#9528).
5168
72753f87
JL
51692011-09-18 Juri Linkov <juri@jurta.org>
5170
5171 * info.el (Info-mode-syntax-table): New variable.
1154d12e 5172 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 5173
c9384295
JL
51742011-09-18 Juri Linkov <juri@jurta.org>
5175
1154d12e
JB
5176 * info.el (Info-file-supports-index-cookies):
5177 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5178 outputs one more line for long file names (bug#4142).
c9384295 5179
d473dce8
CY
51802011-09-18 Chong Yidong <cyd@stupidchicken.com>
5181
5182 * newcomment.el (comment-normalize-vars): If prompting for
5183 comment-start, set comment-start-skip too (Bug#8424).
5184
2176854d
JB
51852011-09-18 Johan Bockgård <bojohan@gnu.org>
5186
5187 * icomplete.el: Fix previous fix of Bug#5849.
5188 (icomplete-mode): Don't set completion-show-inline-help.
5189 (icomplete-minibuffer-setup): Set completion-show-inline-help
5190 locally during icompletion.
5191
3aace4e4
CY
51922011-09-18 Chong Yidong <cyd@stupidchicken.com>
5193
c940224f
CY
5194 * woman.el (woman2-process-escapes): Don't delete unrecognized
5195 escapes (Bug#7843).
5196
3aace4e4
CY
5197 * files.el (inhibit-first-line-modes-regexps): Add image files.
5198 (hack-local-variables-prop-line): Return nil for malformed
5199 prop-lines (Bug#9044).
5200
710dec63
MA
52012011-09-18 Michael Albinus <michael.albinus@gmx.de>
5202
5203 * net/tramp.el (top): Don't require 'shell.
5204 (tramp-methods): Fix docstring.
5205 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
5206 Return complete remote file name. Handle "smb" case.
5207 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
5208 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5209
5210 * net/tramp-compat.el (top): Require 'shell.
5211
5212 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5213 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5214 `tramp-current-host'.
5215 (tramp-get-remote-tmpdir): Remove.
5216
5217 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5218 `tramp-tmpdir' entries.
5219 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5220 (tramp-smb-handle-file-attributes): Ignore errors.
5221 (tramp-smb-wait-for-output): Check also for process end.
5222
5d5ac8ec
LMI
52232011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5224
5225 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5226 when sending QUIT (bug#9312).
5227
8c0f49f0
CY
52282011-09-17 Chong Yidong <cyd@stupidchicken.com>
5229
5230 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5231 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5232 occur-mode-display-occurrence.
5233 (occur-edit-mode): Add usage message.
5234 (occur-cease-edit): New command.
5235 (occur-after-change-function): Use text properties to find the
5236 position of the prefix text.
5237 (occur-engine): Set stickiness of prefix text properties.
5238
8f1383f7
GM
52392011-09-17 Glenn Morris <rgm@gnu.org>
5240
5241 * progmodes/etags.el (complete-tag):
5242 Fix call to completion-in-region. (Bug#9526)
5243
744ba0e3
JL
52442011-09-17 Juri Linkov <juri@jurta.org>
5245
5246 * textmodes/ispell.el (ispell-word): Add to the error message
5247 the word, ispell program name and current dictionary (bug#9121).
5248 (ispell-tex-arg-end): Capitalize "error" in the error message.
5249
d9bbf400
AS
52502011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5251
5252 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5253 check. (Bug#4251)
5254
8da11505
JL
52552011-09-17 Juri Linkov <juri@jurta.org>
5256
5257 * window.el (window-safe-min-height, window-safe-min-width):
5258 Fix typos (followup to bug#9522).
5259
a91adc7e
SJ
52602011-09-17 Sven Joachim <svenjoac@gmx.de>
5261
5262 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5263
064f328a
EZ
52642011-09-16 Eli Zaretskii <eliz@gnu.org>
5265
5266 * simple.el (line-move): If goal-column is set, move by logical
5267 lines, not by display lines. (Bug#971)
5268 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5269 to reflect the above change.
5270
e69df516
SM
52712011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5272
5273 * image.el (imagemagick-register-types): Use regexp-opt.
5274
cbb0f9ab
CY
52752011-09-15 Chong Yidong <cyd@stupidchicken.com>
5276
5277 * window.el (display-buffer-base-action): Rename from
5278 display-buffer-default-action. Make default value empty.
5279 (display-buffer-overriding-action): Convert to defvar.
5280 (display-buffer-fallback-action): New var.
5281
25322144
CY
52822011-09-15 Chong Yidong <cyd@stupidchicken.com>
5283
5284 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5285 declaration.
5286 (package--add-to-archive-contents): If there is a duplicate entry
5287 with an older version, remove it.
5288 (package-menu-mark-delete, package-menu-mark-install)
5289 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
5290 (package-menu-mark-obsolete-for-deletion):
5291 Use package-menu-get-status instead of a regexp search.
25322144
CY
5292 (package-menu-get-status): Use tabulated-list-entry.
5293 (package-menu-mark-upgrades): New command.
d770725a 5294 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
5295 (package-menu-execute): Do installation before deletion.
5296 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5297 instead of checking major-mode.
5298 (package-menu--find-upgrades): New function.
5299
7520339c
LMI
53002011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5301
5302 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5303 passwords in the log buffer.
65a046c4
LMI
5304 (smtpmail-process-filter): Update the process marker so that the
5305 "broken by peer" status message is inserted in the right place.
7520339c 5306
d3c30954
SM
53072011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5308
3fe48822
SM
5309 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5310 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5311 bibtex-completion-at-point-function.
5312 (bibtex-completion-at-point-function): Use them.
5313
1b8b3954
SM
5314 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5315
d3c30954
SM
5316 * mpc.el (mpc-constraints-tag-lookup): New function.
5317 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5318 also to browser "album|playlist".
5319
72779976
JL
53202011-09-14 Juri Linkov <juri@jurta.org>
5321
5322 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
5323 (isearch-edit-string): Use length of `isearch-string' when
5324 `isearch-fail-pos' returns nil.
5325 (isearch-message): Remove duplicate code and call
5326 `isearch-fail-pos' with arg `t'.
5327
a0bf2bcd
CY
53282011-09-14 Chong Yidong <cyd@stupidchicken.com>
5329
17bb0a2d
CY
5330 * replace.el (occur-mode-goto-occurrence): Don't force using other
5331 window (Bug#9499).
5332
a0bf2bcd
CY
5333 * dired-aux.el (dired-do-chmod): Don't provide initial input.
5334
f678e0b6
MR
53352011-09-14 Martin Rudalics <rudalics@gmx.at>
5336
5337 * window.el (display-buffer-window): Remove.
5338 (display-buffer-record-window): Use help-setup window parameter
5339 instead of variable display-buffer-window.
5340 (display-buffer-function, special-display-buffer-names)
5341 (special-display-function): Mention help-setup parameter instead
5342 of display-buffer-window in doc-string.
d3c30954
SM
5343 * help.el (help-window-setup): New argument help-window.
5344 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
5345 Reword some messages.
5346 (with-help-window): Pass window used for displaying the buffer
5347 to help-window-setup. Don't set display-buffer-window.
5348
8e39b2e8
GM
53492011-09-13 Glenn Morris <rgm@gnu.org>
5350
5351 * emacs-lisp/debug.el (debugger-make-xrefs):
5352 Preserve point. (Bug#9462)
5353
85e9c04b
CY
53542011-09-13 Chong Yidong <cyd@stupidchicken.com>
5355
5356 * window.el (window-deletable-p): Use next-frame.
5357
1b36ed6a
MR
53582011-09-13 Martin Rudalics <rudalics@gmx.at>
5359
5360 * window.el (window-auto-delete): Remove.
5361 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 5362 dedication and previous buffers.
1b36ed6a
MR
5363 (switch-to-prev-buffer): Don't delete window.
5364 (delete-windows-on): Delete a window's frame if and only if the
5365 window is dedicated.
5366 (replace-buffer-in-windows): Delete buffer's window or frame if
5367 and only if window is dedicated.
5368 (quit-window): Handle quit-restore as before last change.
4d61f28d 5369 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 5370
ef8ef9fb
CY
53712011-09-13 Chong Yidong <cyd@stupidchicken.com>
5372
5373 * window.el (window-deletable-p): Never delete the last frame on a
5374 given terminal.
5375
b2cba41e
GM
53762011-09-13 Glenn Morris <rgm@gnu.org>
5377
5378 * help.el (describe-key-briefly): Copy previous standard-output change.
5379
51553db6 53802011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
5381
5382 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
5383
b7556719
GM
53842011-09-13 Glenn Morris <rgm@gnu.org>
5385
5386 * emacs-lisp/lisp-mode.el (lisp-indent-function):
5387 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5388
64b51947
CY
53892011-09-12 Chong Yidong <cyd@stupidchicken.com>
5390
5391 * dired-aux.el (dired-mark-read-string): Don't return default
5392 value on empty input (Bug#9361).
5393 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5394 Omit initial minibuffer contents.
5395 (dired-do-chmod): Signal an error on empty input.
5396 (dired-mark-read-string): Don't return default on empty input.
5397
5398 * files.el (file-modes-symbolic-to-number): Doc fix.
5399
393a301e
SM
54002011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5401
5402 * international/mule-cmds.el (ucs-completions): Remove.
5403 (read-char-by-name): Use complete-with-action instead; add metadata.
5404
fa5660f9
CY
54052011-09-11 Chong Yidong <cyd@stupidchicken.com>
5406
5407 * window.el (display-buffer--action-function-custom-type)
5408 (display-buffer--action-custom-type): New vars.
5409 (display-buffer-alist, display-buffer-default-action)
5410 (display-buffer-overriding-action): Add defcustom types.
5411
4a592f66
CY
5412 * frame.el (delete-other-frames): Doc fix (Bug#276).
5413
73d56dbd
LMI
54142011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5415
5416 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5417
37ac18a3
CY
54182011-09-11 Chong Yidong <cyd@stupidchicken.com>
5419
5420 Change modes that used same-window-* vars to use switch-to-buffer.
5421
5422 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5423 Use switch-to-buffer.
5424
5425 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
5426 (customize-browse, custom-buffer-create-other-window):
5427 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
5428
5429 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5430 (Info-prev, Info-up, Info-speedbar-goto-node)
5431 (info-display-manual): Use switch-to-buffer.
5432 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5433
5434 * mail/sendmail.el (mail): Use switch-to-buffer.
5435 (mail-recover): Use switch-to-buffer-other-window.
5436
5437 * cmuscheme.el (run-scheme, switch-to-scheme):
5438 * ielm.el (ielm):
5439 * shell.el (shell):
5440 * net/rlogin.el (rlogin):
5441 * net/telnet.el (telnet, rsh):
5442 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5443
10195bd6
AS
54442011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5445
5446 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5447
b322f63a
LMI
54482011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5449
39d7fed6
LMI
5450 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5451 so don't mention it (bug#9301).
ba5a81f1 5452 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 5453
ee0e9f11
LMI
5454 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5455 match `x', `w32' and `ns', like the manual says (bug#9029).
5456
0b1c89c1 5457 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
5458 (process-kill-buffer-query-function): Mention the buffer name in
5459 the query.
0b1c89c1 5460
77549ea8
LMI
5461 * image-mode.el (image-next-line): The line parameter is mandatory
5462 (bug#9258).
5463
803ef892
LMI
5464 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5465 which can be useful (bug#9301).
5466
12980837
LMI
5467 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5468
91054f8f
LMI
5469 * subr.el (match-string): Mention that the current buffer should
5470 be the same as the search was done in (bug#9282).
5471
b322f63a
LMI
5472 * facemenu.el: Disable the remove-* commands if the mark isn't
5473 active (bug#9162).
5474
3199b96f
CY
54752011-09-10 Chong Yidong <cyd@stupidchicken.com>
5476
5477 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5478 of display-buffer.
5479 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5480
5481 * replace.el (occur-mode-goto-occurrence)
5482 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5483 and display-buffer.
5484
5485 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5486 display-buffer.
5487
5488 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5489 special-display and same-window variables.
5490 (mail-other-window): Use switch-to-buffer-other-window.
5491 (mail-other-frame): USe switch-to-buffer-other-frame.
5492
393a301e
SM
5493 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5494 Use display-buffer-other-frame.
3199b96f
CY
5495 (gdb-display-gdb-buffer): Use pop-to-buffer.
5496
5497 * progmodes/gud.el (gud-goto-info): Use info-other-window.
5498
5499 * progmodes/python.el: Don't set same-window-buffer-names.
5500
5501 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5502
5503 * window.el (display-buffer-alist): Add *Python*.
5504
8319e0bf
CY
55052011-09-10 Chong Yidong <cyd@stupidchicken.com>
5506
5507 * window.el (display-buffer-alist): Add entry for buffers
5508 previously handled same-window-*.
5509 (display-buffer-alist, display-buffer-default-action)
5510 (display-buffer-overriding-action): Mark as risky.
5511 (display-buffer-alist): Document action function changes.
5512 (display-buffer--same-window-action)
5513 (display-buffer--other-frame-action): New variables.
5514 (switch-to-buffer, display-buffer-other-frame): Use them.
5515 (display-buffer): Rename reuse-frame entry to reusable-frames.
5516 (display-buffer-reuse-selected-window): Function deleted.
5517 (display-buffer-reuse-window): Handle reusable-frames alist entry.
5518 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5519 (display-buffer-special): New function.
5520 (display-buffer--maybe-pop-up-frame-or-window): Rename from
5521 display-buffer-reuse-or-pop-window. Split off special-display
5522 part into display-buffer-special.
5523 (display-buffer-use-some-window): Don't perform any special
5524 pop-up-frames handling.
5525 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 5526 (display-buffer--maybe-same-window): Rename from
0d3ff375 5527 display-buffer-maybe-same-window.
8319e0bf 5528
919a69aa
CY
5529 * info.el: Don't set same-window-regexps.
5530 (info-setup): New function.
5531 (info-other-window, info): Call it.
5532
5533 * cus-edit.el: Don't set same-window-regexps.
5534 (customize-group): New argument.
5535 (customize-group-other-window): Use it.
5536 (customize-face, customize-face-other-window): Likewise.
5537 (custom-buffer-create-other-window): Use pop-to-buffer directly.
5538
8319e0bf
CY
5539 * net/rlogin.el:
5540 * net/telnet.el:
5541 * progmodes/gud.el: Don't set same-window-regexps.
5542
5543 * cmuscheme.el:
5544 * ielm.el:
5545 * shell.el:
5546 * mail/sendmail.el:
5547 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5548
25173000
JL
55492011-09-10 Juri Linkov <juri@jurta.org>
5550
5551 * isearch.el (isearch-edit-string): Remove obsolete mention of
5552 `C-w' (`isearch-yank-word-or-char') from docstring.
5553 (isearch-query-replace): Fix typo in docstring (bug#9466).
5554
056e44ef
JL
55552011-09-10 Juri Linkov <juri@jurta.org>
5556
5557 * paren.el (show-paren-function): Don't show escaped parens.
5558 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
5559
c3760c17
EZ
55602011-09-10 Eli Zaretskii <eliz@gnu.org>
5561
5562 * mail/sendmail.el (mml-to-mime, mml-attach-file)
5563 (mm-default-file-encoding): Remove autoload forms, they are
5564 replaced with autoload cookies in mml.el and mm-encode.el.
5565 (mail-add-attachment): New command.
5566 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5567 (mail-mode): Mention mail-insert-file and mail-add-attachment in
5568 the doc string.
5569 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5570
fece895e
RT
55712011-09-10 Reuben Thomas <rrt@sc3d.org>
5572
e69df516
SM
5573 * simple.el (count-words-region): Use buffer if there's no region
5574 (bug#9429).
fece895e 5575
5e68ce4a
JL
55762011-09-09 Juri Linkov <juri@jurta.org>
5577
5578 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5579 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5580 (wdired-isearch-filter-read-only): New function. (Bug#6362)
5581
0a6b9622
AM
55822011-09-09 Alan Mackenzie <acm@muc.de>
5583
5584 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5585 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
5586
14a29deb
EZ
55872011-09-09 Eli Zaretskii <eliz@gnu.org>
5588
5589 Fix for Savannah bug#9392.
5590 * simple.el (mail-encode-mml): New defvar.
5591
5592 * mail/rmail.el (mail-encode-mml): Add a defvar.
5593 (rmail-enable-mime-composing): Default to t.
5594 (rmail-forward): Use MIME method of forwarding only if both
5595 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5596 Set mail-encode-mml non-nil if the MIME method was used.
5597
5598 * mail/sendmail.el (mml-to-mime): Add autoload form.
5599 (mail-encode-mml): Add a defvar.
5600 (mail-mode): Make mail-encode-mml buffer-local and initialize it
5601 to nil.
5602 (mail-send): If mail-encode-mml is non-nil, run the outgoing
5603 message through mml-to-mime, and reset mail-encode-mml to nil.
5604
28c45130
GM
56052011-09-09 Glenn Morris <rgm@gnu.org>
5606
5607 * woman.el (woman-if-body): When processing an .el block,
5608 do not delete the next .el block as well. (Bug#9447)
69f4b618 5609 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 5610
9b1c252e
MR
56112011-09-08 Martin Rudalics <rudalics@gmx.at>
5612
5613 * window.el (window-deletable-p): Make sure window is live before
5614 invoking window-prev-buffers.
5615
567457e3
LL
56162011-09-08 Leo Liu <sdl.web@gmail.com>
5617
5618 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
5619
97f05794
JL
56202011-09-08 Juri Linkov <juri@jurta.org>
5621
5622 * progmodes/compile.el (compilation-environment): Make it
5623 a defcustom (bug#8340).
5624
8b0874b5
MR
56252011-09-08 Martin Rudalics <rudalics@gmx.at>
5626
5627 * window.el (frame-auto-delete): Rename to window-auto-delete.
5628 Make it control auto-deletion of windows and/or frames.
5629 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 5630 for deleting window/frame. (Bug#9419)
8b0874b5
MR
5631 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5632 Rewrite handling of case when window/frame can be deleted.
5633 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 5634 argument t. (Bug#9456)
8b0874b5 5635
4feb6e73
CY
56362011-09-07 Chong Yidong <cyd@stupidchicken.com>
5637
5638 * help-mode.el (help-mode): Restore autoload.
5639
91ab9c13
JL
56402011-09-07 Juri Linkov <juri@jurta.org>
5641
5642 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5643 `compilation-environment'. Set buffer-local
5644 `compilation-environment' to `thisenv' later after (funcall mode).
5645 (Bug#8340)
5646
5647 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
5648 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5649 instead of replacing its value. (Bug#8340)
5650
0527e251
JL
56512011-09-07 Juri Linkov <juri@jurta.org>
5652
5653 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5654 based on text properties put by `grep-filter' instead of matching
5655 escape sequences.
5656 (grep-mode): Set buffer-local `compilation-error-screen-columns'
5657 to the value of `grep-error-screen-columns' (bug#9438).
5658
249f792c
JL
56592011-09-07 Juri Linkov <juri@jurta.org>
5660
5661 * simple.el (next-error-highlight, next-error-highlight-no-select):
5662 Doc fix (bug#9432).
5663
ff7271b9
OT
56642011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5665
5666 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5667 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
5668
183fc730
LL
56692011-09-07 Leo Liu <sdl.web@gmail.com>
5670
5671 * net/rcirc.el (rcirc-mode): Conditionally initialize
5672 rcirc-input-ring.
5673
77694924
SM
56742011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5675
5676 * emacs-lisp/find-func.el (find-function-C-source): Only set
5677 find-function-C-source-directory after checking that we found a source
5678 file there (bug#9440).
5679
d809b8eb
AM
56802011-09-06 Alan Mackenzie <acm@muc.de>
5681
5682 * isearch.el (isearch-other-meta-char): Wherever a key list is
5683 unread, "unread" the prefix arg, too. This fixes bug #8901.
5684
453de99f
OG
56852011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5686
5687 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5688
90439906
JL
56892011-09-05 Juri Linkov <juri@jurta.org>
5690
5691 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5692
f62bd846
JL
56932011-09-05 Juri Linkov <juri@jurta.org>
5694
5695 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5696 keeping point where processing of grep matches begins, and
5697 continue to delete remaining escape sequences from the same point.
5698 (grep-filter): Make leading zero optional in "0?1;31m" because
5699 git-grep emits "\033[1;31m" escape sequences unlike expected
5700 "\033[01;31m" as GNU Grep does (bug#9408).
5701 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5702
045820ec
JL
57032011-09-05 Juri Linkov <juri@jurta.org>
5704
5705 * subr.el (y-or-n-p): Capitalize "yes".
5706
f5e29b9b
MA
57072011-09-04 Michael Albinus <michael.albinus@gmx.de>
5708
5709 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
5710 `tramp-cache-unload-hook' where appropriate.
5711 (tramp-methods): Rename `tramp-remote-sh' to
5712 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
5713 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5714
5715 * net/tramp-sh.el (top): Don't require 'shell.
5716 (tramp-methods): Add `tramp-remote-shell' and
5717 `tramp-remote-shell-args' entries.
5718 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5719 (tramp-sh-handle-shell-command): Remove.
5720 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5721 Use `tramp-remote-shell'.
5722
2784c434
CY
57232011-09-03 Chong Yidong <cyd@stupidchicken.com>
5724
393a301e 5725 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
5726 (sendmail-query-once): Save directly to send-mail-function.
5727 Update message-send-mail-function too.
5728
5729 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5730
464cdf56
CS
57312011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5732
5733 * progmodes/python.el (python-mode-map): Use correct function to
5734 start python interpreter from menu-bar (as reported by Geert
5735 Kloosterman).
5736 (inferior-python-mode-map): Fix typo.
393a301e 5737 (python-shell-map): Remove.
464cdf56 5738
d37e5c87
DD
57392011-09-03 Deniz Dogan <deniz@dogan.se>
5740
5741 * net/rcirc.el (rcirc-print): Simplify code for
5742 rcirc-scroll-show-maximum-output. There is no need to walk
5743 through all windows to find the right one.
5744
f3ada0ee
CS
57452011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5746
5747 * help.el (help-return-method): Doc fix.
5748
1f3c99ca
MR
57492011-09-03 Martin Rudalics <rudalics@gmx.at>
5750
5751 * window.el (window-deletable-p): Don't return a non-nil value
5752 when there's a buffer that was shown in the window before.
5753 (Bug#9419)
393a301e
SM
5754 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5755 Set window's previous buffers to nil.
1f3c99ca 5756
a3cf097f
EZ
57572011-09-03 Eli Zaretskii <eliz@gnu.org>
5758
5759 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5760 newline before and after the tag line, so it doesn't interfere
5761 with determining the paragraph direction of bidirectional text.
5762
3d03de90
LL
57632011-09-03 Leo Liu <sdl.web@gmail.com>
5764
5765 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5766
c3313451
CY
57672011-09-02 Chong Yidong <cyd@stupidchicken.com>
5768
393a301e 5769 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
5770 (pop-to-buffer): Change interactive spec. Pass second argument
5771 directly to display-buffer.
5772 (display-buffer): Fix interactive spec. Use functionp to
5773 distinguish between a function and a list of functions.
5774
5775 * abbrev.el (edit-abbrevs):
5776 * arc-mode.el (archive-extract):
5777 * autoinsert.el (auto-insert):
5778 * bookmark.el (bookmark-bmenu-list):
5779 * files.el (find-file):
5780 * view.el (view-buffer):
5781 * progmodes/compile.el (compilation-goto-locus):
5782 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5783
89894cd8
CY
57842011-09-02 Chong Yidong <cyd@stupidchicken.com>
5785
5786 * window.el (display-buffer-alist): Doc fix.
5787 (display-buffer): Add docstring. Don't treat
5788 display-buffer-default specially.
5789 (display-buffer-reuse-selected-window)
5790 (display-buffer-same-window, display-buffer-maybe-same-window)
5791 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5792 (display-buffer-pop-up-window)
5793 (display-buffer-reuse-or-pop-window)
5794 (display-buffer-use-some-window): New functions.
5795 (display-buffer-default-action): Use them.
393a301e 5796 (display-buffer-default): Delete.
89894cd8
CY
5797 (pop-to-buffer-1): Fix choice of actions.
5798
ae0bc9fb
SM
57992011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5800
5801 * minibuffer.el (completion--insert-strings): Don't get confused by
5802 completion entries that end with an LF char.
5803
e9d90883
EZ
58042011-09-01 Eli Zaretskii <eliz@gnu.org>
5805
5806 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5807
437014c8
CY
58082011-09-01 Chong Yidong <cyd@stupidchicken.com>
5809
5810 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
5811 (display-buffer-same-window, display-buffer-other-window):
5812 New functions.
437014c8
CY
5813 (pop-to-buffer-1): New function. Use the above.
5814 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 5815 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
5816
5817 * view.el (view-buffer-other-window, view-buffer-other-frame):
5818 Just use pop-to-buffer.
5819
a5e063d5
TV
58202011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5821
5822 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5823
793d32bb
WH
58242011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5825
5826 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5827
d65e4c15
RS
58282011-08-31 Richard Stallman <rms@gnu.org>
5829
5830 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5831 of the separation of rmail-view-buffer from rmail-buffer.
5832 If you say no to "replace original", the decrypt is in the
5833 view buffer. If you say yes, the decrypt goes into the
5834 rmail buffer also.
5835
f818cd2a
MR
58362011-08-31 Martin Rudalics <rudalics@gmx.at>
5837
5838 * window.el (display-buffer-window): Rewrite doc-string.
5839 (display-buffer-record-window): New function.
5840 (display-buffer-macro-specifiers)
5841 (display-buffer-even-window-sizes, display-buffer-set-height)
5842 (display-buffer-set-width, display-buffer-in-window)
5843 (display-buffer-reuse-window, display-buffer-split-specifiers)
5844 (display-buffer-side-specifiers, display-buffer-split-window-1)
5845 (display-buffer-split-window, display-buffer-split-atom-window)
5846 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5847 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5848 (display-buffer-other-window-means-other-frame)
5849 (display-buffer-normalize-special)
5850 (display-buffer-normalize-default)
5851 (display-buffer-normalize-argument)
5852 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5853 (display-buffer-normalize-specifiers, display-buffer-frame)
5854 (display-buffer-same-window, display-buffer-same-frame)
5855 (display-buffer-other-window)
5856 (display-buffer-same-frame-other-window)
5857 (display-buffer-other-frame, pop-to-buffer-same-window)
5858 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5859 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5860 (switch-to-buffer-same-frame)
5861 (switch-to-buffer-other-window-same-frame)
5862 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5863 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5864 (display-buffer-alist-set): Remove.
5865 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
5866 (special-display-regexps, special-display-function):
5867 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
5868 parameter.
5869 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5870 (special-display-frame-alist, special-display-popup-frame)
5871 (same-window-buffer-names, same-window-regexps, same-window-p)
5872 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5873 (split-window-preferred-function, split-height-threshold)
5874 (split-width-threshold, window-splittable-p)
5875 (split-window-sensibly, window--try-to-split-window)
5876 (window--frame-usable-p, even-window-heights)
5877 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
5878 (window--display-buffer-2, display-buffer-other-frame):
5879 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
5880 (display-buffer-default, display-buffer-assq-regexp): New functions.
5881 (display-buffer-alist): Rewrite doc-string.
5882 (display-buffer-default-action)
5883 (display-buffer-overriding-action): New variables.
5884 (display-buffer, switch-to-buffer): Rewrite.
5885 (pop-to-buffer): Restore Emacs 23 behavior but use
5886 window-normalize-buffer-to-display.
5887 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5888 Restore Emacs 23 behavior but use
5889 window-normalize-buffer-to-switch-to.
5890 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
5891 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5892 Rewrite using Emacs 23 options.
f818cd2a 5893
5bc3b51d
MA
58942011-08-31 Michael Albinus <michael.albinus@gmx.de>
5895
5896 * net/tramp.el (tramp-root-regexp): Remove.
5897 (tramp-completion-file-name-regexp-unified)
5898 (tramp-completion-file-name-regexp-separate)
5899 (tramp-completion-file-name-regexp-url): Don't use leading volume
5900 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
5901 (tramp-drop-volume-letter): Simplify definition.
5902 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 5903
b1a4f8e1
SM
59042011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5905
5906 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5907 (bug#9356).
5908
5664fa7b
RT
59092011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5910
b1a4f8e1 5911 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 5912
9a45d6c3
JL
59132011-08-29 Juri Linkov <juri@jurta.org>
5914
5915 * isearch.el (isearch-done): Don't display message "Mark saved"
5916 when arg `edit' is non-nil to prevent its flicker in the echo area.
5917
fb87e0fb
CY
59182011-08-28 Chong Yidong <cyd@stupidchicken.com>
5919
5920 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5921 obsolete packages for deletion.
5922
09ac1c2a
CS
59232011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5924
5925 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 5926 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
5927 view-mode from help-mode.
5928 (help-xref-override-view-map): Remove.
5929 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5930 view-mode is not used anymore.
5931
7a1ff57f
CY
59322011-08-28 Chong Yidong <cyd@stupidchicken.com>
5933
5934 * server.el (server-port): Doc fix.
5935
b9696605
CY
5936 * cus-theme.el (custom-theme-choose-mode): Inherit from
5937 special-mode (Bug#9124).
5938 (custom-theme-choose-mode-map): Add special-mode to parent.
5939
ef8cdf8c
AM
59402011-08-28 Alan Mackenzie <acm@muc.de>
5941
5942 * progmodes/cc-fonts.el
5943 (c-make-font-lock-BO-decl-search-function): New function.
5944 (c-basic-matchers-after - "Fontify the clauses after various
5945 keywords"): Extract the three keyword lists for the 3 erroneous
5946 constructs from the list of four, and use the new function above
5947 in place of an old one.
5948
27de4e20
DD
59492011-08-28 Deniz Dogan <deniz@dogan.se>
5950
5951 * net/rcirc.el (rcirc-insert-prev-input)
5952 (rcirc-insert-next-input): Remove unused argument.
5953
356a3681
SM
59542011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5955
5956 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5957
3fc9b218
AM
59582011-08-27 Alan Mackenzie <acm@muc.de>
5959
5960 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5961 handle function pointer parameters properly.
5962
538a061c
MR
59632011-08-27 Martin Rudalics <rudalics@gmx.at>
5964
5965 * window.el (display-buffer-reuse-window): Fix case where
5966 selected window was reused with non-nil OTHER-WINDOW argument.
5967 (Bug#9381)
5968
35b1c40c
DD
59692011-08-27 Deniz Dogan <deniz@dogan.se>
5970
5971 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5972 oftc's NickServ messages.
5973
2f6a3e79
GM
59742011-08-27 Glenn Morris <rgm@gnu.org>
5975
5976 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5977
7254299e
CY
59782011-08-26 Chong Yidong <cyd@stupidchicken.com>
5979
5980 * emacs-lisp/package.el (package-install): Call package-initialize
5981 if called interactively.
5982
f8ccf167
LL
59832011-08-26 Leo Liu <sdl.web@gmail.com>
5984
5985 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5986
3e8cd5ce
JL
59872011-08-25 Juri Linkov <juri@jurta.org>
5988
5989 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5990 `search-whitespace-regexp' (bug#9364).
5991
93eb7113
JL
59922011-08-25 Juri Linkov <juri@jurta.org>
5993
5994 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5995 `regexp-search-ring' to their global values to protect from
5996 updating by `read-from-minibuffer' (bug#9185).
5997
f65d1611
JL
59982011-08-25 Juri Linkov <juri@jurta.org>
5999
6000 * textmodes/ispell.el (ispell-command-loop): Add newline
6001 at the end of the "Use option `i'..." line.
6002
f1cf7a31
JL
60032011-08-25 Juri Linkov <juri@jurta.org>
6004
6005 * battery.el (display-battery-mode): If `battery-status-function'
6006 or `battery-mode-line-format' is nil, display the message and set
6007 `display-battery-mode' to nil (bug#9363).
6008
0c95fcf7
EZ
60092011-08-25 Eli Zaretskii <eliz@gnu.org>
6010
6011 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6012 bidi-string-mark-left-to-right; they are unnecessary now.
6013
a2ebe600
DD
60142011-08-25 Deniz Dogan <deniz@dogan.se>
6015
6016 * net/quickurl.el: Documentation typo fixes.
6017
e4ed06f1
CY
60182011-08-25 Chong Yidong <cyd@stupidchicken.com>
6019
6020 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6021
e5f1c99e
GM
60222011-08-25 Glenn Morris <rgm@gnu.org>
6023
b2948976
GM
6024 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6025
e5f1c99e
GM
6026 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6027 (smtpmail-via-smtp): Handle nil response from smtp.
6028
f22f4808
JL
60292011-08-24 Juri Linkov <juri@jurta.org>
6030
6031 * proced.el (proced-marked): Inherit from `error' instead of
6032 `font-lock-warning-face'.
6033
6034 * ibuffer.el (ibuffer-marked-face): Change default face from
6035 `font-lock-warning-face' to `warning'.
6036 (ibuffer-deletion-face): Change default face from
6037 `font-lock-type-face' to `error'.
6038
6039 * battery.el (battery-update): Use the face `error' instead of
6040 `font-lock-warning-face' (bug#6117).
6041
6a93965e
JL
60422011-08-24 Juri Linkov <juri@jurta.org>
6043
6044 * faces.el (success): Change face color from "Green3" to
6045 "ForestGreen" on light background (bug#9353).
6046
1ed43b09
CY
60472011-08-24 Chong Yidong <cyd@stupidchicken.com>
6048
5664fa7b
RT
6049 * window.el (quit-window): Rename from quit-restore-window.
6050 Use same arglist as old quit-window.
1ed43b09
CY
6051 (frame-auto-delete): Doc fix.
6052
6053 * view.el (view-mode-exit): Use quit-window.
6054
11dcdbb2
JL
60552011-08-24 Juri Linkov <juri@jurta.org>
6056
6057 * isearch.el (isearch-ring-adjust1): Start visiting previous
6058 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6059 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6060 for empty search string (when the last search string is reused
6061 automatically) to adjust the isearch ring to the last element and
6062 prepare the correct index for further M-p commands (bug#9185).
6063
de62b4df
KH
60642011-08-24 Kenichi Handa <handa@m17n.org>
6065
6066 * international/ucs-normalize.el: If decomposition property of
6067 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6068 nil.
6069 (nfd, nfkd): Likewise.
6070
963b492b
SM
60712011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6072
6073 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6074 from process filters aren't reliably transmitted to the surrounding
6075 accept-process-output.
6076 (mpc-proc-check): New function.
6077 (mpc-proc-sync): Use it (bug#8293)
6078
93b6b5e1
SM
60792011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6080
6081 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6082 Add compatibility functions (bug#9313).
6083
bca633fb
EZ
60842011-08-23 Eli Zaretskii <eliz@gnu.org>
6085
b177498a
EZ
6086 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6087
6df6ae42 6088 * international/uni-bidi.el: Regenerate.
bca633fb 6089
0902a04e
KH
60902011-08-23 Kenichi Handa <handa@m17n.org>
6091
6092 * international/charprop.el:
6093 * international/uni-bidi.el:
6094 * international/uni-category.el:
6095 * international/uni-combining.el:
6096 * international/uni-comment.el:
6097 * international/uni-decimal.el:
6098 * international/uni-decomposition.el:
6099 * international/uni-digit.el:
6100 * international/uni-lowercase.el:
6101 * international/uni-mirrored.el:
6102 * international/uni-name.el:
6103 * international/uni-numeric.el:
6104 * international/uni-old-name.el:
6105 * international/uni-titlecase.el:
6106 * international/uni-uppercase.el: Regenerate.
6107
3bbf23bc
MR
61082011-08-23 Martin Rudalics <rudalics@gmx.at>
6109
6110 * help.el (help-window-setup): Fix message displayed when other
6111 window is reused. (Bug#9341)
6112
b3fd59bd
SM
61132011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6114
1802e444
SM
6115 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6116 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6117
b3fd59bd
SM
6118 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6119 Mark obsolete.
6120 * shell.el (shell-parse-pcomplete-arguments): New function.
6121 (shell-completion-vars): Use it instead (bug#9160).
6122
4eb61348
SM
61232011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6124
867cab74
SM
6125 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6126 strings and comments (bug#9333).
6127
4eb61348
SM
6128 * emacs-lisp/debug.el (debug-arglist): New function.
6129 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6130 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6131
262a1439
JL
61322011-08-22 Juri Linkov <juri@jurta.org>
6133
56ee679c
JL
6134 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6135 Revert regexp that highlights output switches to its old
6136 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6137
262a1439
JL
6138 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6139 to check for empty output (bug#9226).
6140
f13f86fb
CY
61412011-08-22 Chong Yidong <cyd@stupidchicken.com>
6142
6143 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6144 symbol-constituent as the default, as that stops font-lock from
6145 working properly (Bug#8843).
6146
c65c9622
LMI
61472011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6148
6149 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6150 `coding-system-for-*' around the process open call to avoid
6151 auth-source side effects.
e7f2c178 6152 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
6153 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6154 probe hangs.
c65c9622 6155
23a8a5ab
CY
61562011-08-21 Chong Yidong <cyd@stupidchicken.com>
6157
ff98b2dd
CY
6158 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6159
23a8a5ab
CY
6160 * emacs-lisp/find-func.el (find-function-noselect): New arg
6161 lisp-only.
6162
6163 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6164 signal an error for built-in functions (Bug#6664).
6165
f5e3c598
LMI
61662011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6167
6168 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6169 (smtpmail-try-auth-methods): Use it.
6170
a3f2468a
CY
61712011-08-21 Chong Yidong <cyd@stupidchicken.com>
6172
2c34e8da
CY
6173 * font-lock.el (font-lock-fontify-region)
6174 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6175 (font-lock-default-unfontify-buffer)
6176 (font-lock-default-fontify-region)
6177 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6178
b3fd59bd
SM
6179 * progmodes/compile.el (compilation-error-properties):
6180 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
6181 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6182 `ant' regexp.
ee31aabc 6183
a3f2468a
CY
6184 * net/browse-url.el (browse-url-firefox): Don't call
6185 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6186
8e999f70
GM
61872011-08-20 Glenn Morris <rgm@gnu.org>
6188
c21a496a
GM
6189 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6190
59ee0542
GM
6191 * tutorial.el (tutorial--default-keys): Update some default bindings.
6192
8e999f70
GM
6193 * files.el (hack-local-variables): Fully ignore case for "mode:".
6194
e3715033
AM
61952011-08-20 Alan Mackenzie <acm@muc.de>
6196
6197 Resolve invalid use of a regexp in regexp-opt.
6198
4d61f28d
JB
6199 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6200 detection for a java annotation.
e3715033 6201
4d61f28d 6202 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
6203 detection for a java annotation.
6204
4d61f28d
JB
6205 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6206 handling for java.
e3715033
AM
6207 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6208
04ed2e9c
CY
62092011-08-20 Chong Yidong <cyd@stupidchicken.com>
6210
6211 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6212 (Bug#9274).
6213
826cee64
AM
62142011-08-20 Alan Mackenzie <acm@muc.de>
6215
58179cce 6216 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
6217 such a construct. Mainly for when jit-lock etc. starts a chunk
6218 here.
6219
58179cce 6220 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 6221 variable.
58179cce 6222 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
6223 c-make-font-lock-search-function.
6224 (c-make-font-lock-search-function): Use the above function.
6225 (c-make-font-lock-context-search-function): New function.
6226 (c-cpp-matchers): Enhance the preprocessor expression case with
6227 the above function
6228 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6229 which takes an expression.
6230
6231 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6232
13009bd8
MR
62332011-08-20 Martin Rudalics <rudalics@gmx.at>
6234
6235 * window.el (display-buffer-reuse-window)
6236 (display-buffer-pop-up-window): Don't reuse or split a side
6237 window.
6238
9234ff7f
GM
62392011-08-19 Glenn Morris <rgm@gnu.org>
6240
6241 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 6242 Downcase "Mode:". (Bug#9331)
9234ff7f 6243
f635daa1
CY
62442011-08-18 Chong Yidong <cyd@stupidchicken.com>
6245
6246 * international/characters.el: Add L and R categories.
6247
6248 * subr.el (bidi-string-mark-left-to-right): Rename from
6249 string-mark-left-to-right. Use category search.
6250
6251 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6252
bc987f8b
JL
62532011-08-18 Juri Linkov <juri@jurta.org>
6254
6255 * faces.el (error, warning, success): New faces with definitions
6256 copied from old default values of `font-lock-warning-face',
6257 `compilation-warning', `compilation-info' (bug#6117).
6258
6259 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6260
6261 * progmodes/compile.el (compilation-error): Inherit from `error'.
6262 (compilation-warning): Inherit from `warning'.
6263 (compilation-info): Inherit from `success'.
6264
6265 * dired.el (dired-marked): Inherit from `warning'.
6266 (dired-flagged): Inherit from `error'.
6267
57173b96
LMI
62682011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6269
3e79eb87
LMI
6270 * mail/smtpmail.el (auth-source): Require to avoid problems with
6271 binding variables (bug#9298). Also clean up some unused
6272 autoloads.
6273
b3fd59bd
SM
6274 * net/network-stream.el (network-stream-open-starttls):
6275 Support using starttls.el without using gnutls-cli.
57173b96 6276
02b404de
JL
62772011-08-17 Juri Linkov <juri@jurta.org>
6278
6279 * progmodes/grep.el (rgrep): Handle the case when
6280 `grep-find-command' is a cons cell (bug#9278).
6281
8c9177f2
MR
62822011-08-17 Martin Rudalics <rudalics@gmx.at>
6283
6284 * window.el (display-buffer-pop-up-frame): Run frame creation
6285 function with BUFFER current (as special-display-popup-frame
6286 does). Reported by Drew Adams.
6287
3644a0ab
DU
62882011-08-17 Daiki Ueno <ueno@unixuser.org>
6289
6290 * epa-mail.el: Simplify GnuPG group expansion using
6291 epg-expand-group.
6292 (epa-mail-group-alist, epa-mail-group-modtime)
6293 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6294 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6295 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6296 Remove.
6297
5e617bc2 62982011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
6299
6300 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6301
9c4aeabf
AM
63022011-08-16 Alan Mackenzie <acm@muc.de>
6303
6304 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6305 Correct, to avoid the inside of macros.
6306
3a99bf64
RS
63072011-08-16 Richard Stallman <rms@gnu.org>
6308
04963aa8
RS
6309 * epa-mail.el: Handle GnuPG group definitions.
6310 (epa-mail-group-alist, epa-mail-group-modtime)
6311 (epa-mail-gnupg-conf-file): New variables.
6312 (epa-mail-parse-groups, epa-mail-sync-groups)
6313 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6314 (epa-mail-expand-recipients): New functions.
6315 (epa-mail-encrypt): Call epa-mail-expand-recipients.
6316
177549d0
RS
6317 * mail/rmail.el (rmail-epa-decrypt): New command.
6318
fe38beef
RS
6319 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6320 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
6321 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6322 (epa-decrypt-armor-in-region): Make error message clearer.
6323
934eacb9
SM
63242011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6325
6326 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6327 and "a2b" to "ab" for `prefix'.
6328
d024fb4e
CY
63292011-08-14 Chong Yidong <cyd@stupidchicken.com>
6330
6331 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6332 filter groups.
de148fee
CY
6333 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
6334 Fourquet (Bug#8804).
d024fb4e 6335
62f1ca49
JB
63362011-08-12 Juanma Barranquero <lekktu@gmail.com>
6337
6338 * startup.el (argi): Declare as global variable (bug#9275).
6339
9ccaaa4b
CY
63402011-08-12 Chong Yidong <cyd@stupidchicken.com>
6341
6342 * subr.el (string-mark-left-to-right): Search the entire string
6343 for RTL script, not just the terminating character. Doc fix.
6344
a3dae87a
SM
63452011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6346
6cd18349
SM
6347 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6348 New function.
6349 (js--regexp-literal, js-syntax-propertize-function): Remove.
6350 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6351 (js-mode-map): Don't rebind electric keys.
6352 (js-insert-and-indent): Remove.
6353 (js-mode): Setup electric-layout and electric-indent instead.
6354
a3dae87a
SM
6355 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6356
9d5cb631
DU
63572011-08-12 Daiki Ueno <ueno@unixuser.org>
6358
6359 * epa.el (epa-progress-callback-function): Fix the logic of
6360 displaying progress.
6361 * epa-file.el (epa-file-insert-file-contents): Make progress
6362 display more user-friendly.
6363 (epa-file-write-region): Ditto.
6364
3e26a4a2
CY
63652011-08-10 Chong Yidong <cyd@stupidchicken.com>
6366
6367 * subr.el (string-mark-left-to-right): New function.
6368
6369 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6370 Use string-mark-left-to-right.
6371 (list-buffers-noselect): Caller changed.
6372
a3dae87a
SM
6373 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6374 Use string-mark-left-to-right.
3e26a4a2
CY
6375 (tabulated-list-print): Recenter after moving point.
6376
ac8cf6e6
JL
63772011-08-10 Juri Linkov <juri@jurta.org>
6378
6379 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6380 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6381 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6382
8d96c9a4
CY
63832011-08-09 Chong Yidong <cyd@stupidchicken.com>
6384
6385 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6386 (Bug#7554).
6387
7be1c708 63882011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
6389
6390 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6391 character. (Bug#6594)
6392
37e11a63
CY
63932011-08-08 Chong Yidong <cyd@stupidchicken.com>
6394
839dde57
CY
6395 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6396 (image-dired--with-db-file): New macro.
6397 (image-dired-write-tags, image-dired-remove-tag)
6398 (image-dired-create-gallery-lists, image-dired-write-comments)
6399 (image-dired-get-comment, image-dired-mark-tagged-files)
6400 (image-dired-list-tags, image-dired-gallery-generate): Use it.
6401 (image-dired-gallery-generate): Use insert-file-contents.
6402
37e11a63
CY
6403 * time.el (display-time-world-list, display-time-world-display):
6404 * time-stamp.el (time-stamp-string):
6405 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6406 set-time-zone-rule (Bug#7337).
6407
0b4946c4
DU
64082011-08-08 Daiki Ueno <ueno@unixuser.org>
6409
6410 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6411 (epg-error-to-string, epg-errors-to-string): New function.
6412 (epg-wait-for-completion): Reverse errors list.
6413 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6414 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6415 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6416 (epg-sign-keys, epg-generate-key-from-file)
6417 (epg-generate-key-from-string): Format errors by using
6418 epg-errors-to-string (bug#9255).
6419 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6420
75bfc667
JL
64212011-08-07 Juri Linkov <juri@jurta.org>
6422
6423 * faces.el (list-faces-display): Remove extra angle bracket
6424 from `help-mode-map'.
6425
6426 * info.el (Info-history-toc-nodes): Doc fix.
6427
6428 * longlines.el (longlines-mode): Doc fix.
6429
673e08bb
SM
64302011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6431
4640dd88
SM
6432 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6433 of statements and in a few more cases (bug#9183).
6434
673e08bb
SM
6435 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6436 New functions.
6437 (cl-transform-lambda): Use them (bug#9239).
6438
89b3f019
MR
64392011-08-05 Martin Rudalics <rudalics@gmx.at>
6440
6441 * window.el (display-buffer-same-window)
6442 (display-buffer-same-frame, display-buffer-other-window)
6443 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6444 (pop-to-buffer-other-window)
6445 (pop-to-buffer-same-frame-other-window)
6446 (pop-to-buffer-other-frame): Make them defuns.
6447 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6448
640c8776
SM
64492011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6450
6451 * subr.el (make-composed-keymap): Move from C. Change calling
6452 convention, and improve docstring to bring attention to a subtle point.
6453 * minibuffer.el (completing-read-default): Adjust accordingly.
6454
63648a95
MA
64552011-08-03 Michael Albinus <michael.albinus@gmx.de>
6456
6457 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6458 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6459
6460 * net/trampver.el: Update release number.
6461
b796c9b7
SM
64622011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6463
6464 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6465 "in" (bug#9190).
6466
2239d7d5
LMI
64672011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6468
e07dd7c3
LMI
6469 * mail/sendmail.el (sendmail-query-once): Restore the current
6470 buffer after querying (bug#9074).
6471
0e6a2bd7
LMI
6472 * dired.el (dired-flagged): Use different faces for marked and
6473 flagged files (bug#6117).
6474
ce887515
LMI
6475 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6476 (bug#4433).
6477
92f2affc
LMI
6478 * ido.el (ido-mode): Switch off the message if called
6479 non-interactively.
6480
57d5aff0
LMI
6481 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6482 before 587, since it appears that that's more likely to work for
6483 more people.
6484
98cd6c18 6485 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 6486 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
6487 exist.
6488
b96dec83
LMI
6489 * info.el: Remove the `Info-beginning-of-buffer' function
6490 (bug#8325).
6491
b796c9b7
SM
6492 * net/network-stream.el (network-stream-open-starttls):
6493 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 6494
d90e2ea0
MR
64952011-08-01 Martin Rudalics <rudalics@gmx.at>
6496
6497 * window.el (display-buffer-in-window): Don't set dedicated status
6498 of window here (Bug#9215).
6499 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6500 (display-buffer-pop-up-side-window)
b796c9b7 6501 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 6502
cca09170
SM
65032011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6504
6505 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6506 before binding generated-autoload-file.
6507
027b979c
DD
65082011-08-01 Deniz Dogan <deniz@dogan.se>
6509
6510 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6511
3c7ee4f3
MA
65122011-07-30 Michael Albinus <michael.albinus@gmx.de>
6513
6514 Sync with Tramp 2.2.2.
6515
6516 * net/trampver.el: Update release number.
6517
2cc8e51a
JL
65182011-07-30 Juri Linkov <juri@jurta.org>
6519
6520 * dired-aux.el (dired-touch-initial): Remove function.
6521 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6522 current time, and `default' to the last modification time of the
6523 current marked file (bug#6887).
6524
a514d856
JM
65252011-07-28 Jose E. Marchesi <jemarch@gnu.org>
6526
6527 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 6528 numeric argument to read-number (bug#9163).
a514d856 6529
8a7eddd7
MA
65302011-07-27 Michael Albinus <michael.albinus@gmx.de>
6531
6532 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6533 connection process, it could be nil.
6534
1ddd96f5
LL
65352011-07-27 Leo Liu <sdl.web@gmail.com>
6536
6537 Simplify url handling in rcirc-mode.
6538
6539 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6540 (rcirc-browse-url-at-mouse): Remove.
6541 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6542
b248a85d
AM
65432011-07-26 Alan Mackenzie <acm@muc.de>
6544
6545 Fontify bitfield declarations properly.
6546
6547 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6548 (c-symbol-chars): Now exported as a lang variable.
6549 (c-not-primitive-type-keywords): New lang variable.
6550
6551 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6552 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 6553 parsed as a bitfield declaration.
b248a85d 6554
b796c9b7
SM
6555 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6556 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
6557 (c-punctuation-in): New function.
6558 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6559 declarations properly.
6560
68575ab0
UJ
65612011-07-26 Ulf Jasper <ulf.jasper@web.de>
6562
6563 * calendar/icalendar.el (icalendar--all-events): Take care of
6564 multiple vcalendars in a single file.
b796c9b7 6565 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 6566
0f0a88b9
DD
65672011-07-25 Deniz Dogan <deniz@dogan.se>
6568
6569 * image.el (insert-image): Clarifying docstring.
6570
0b3f36df
MA
65712011-07-24 Michael Albinus <michael.albinus@gmx.de>
6572
6573 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6574 `tramp-send-command-and-check' if there is no error.
6575 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6576
a9901f61
AM
65772011-07-22 Alan Mackenzie <acm@muc.de>
6578
6579 Prevent cc-langs.elc being loaded at run time.
6580
6581 * progmodes/cc-mode.el: Remove two autoload forms which loaded
6582 cc-langs.
6583
4d61f28d 6584 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
6585 "(require 'cc-langs)". Quote a form so it will evaluate at
6586 (cc-mode's) compilation time.
6587
11d074b2
MA
65882011-07-22 Michael Albinus <michael.albinus@gmx.de>
6589
6590 * net/tramp.el (tramp-file-name-handler): Avoid recursive
6591 loading. (Bug#9114)
6592
938b94c8
MR
65932011-07-21 Martin Rudalics <rudalics@gmx.at>
6594
6595 * window.el (display-buffer-pop-up-window)
6596 (display-buffer-pop-up-side-window)
6597 (display-buffer-in-side-window): Call display-buffer-set-height
6598 and display-buffer-set-width after setting the new window's
b796c9b7 6599 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 6600
bfa4f190
SS
66012011-07-20 Sam Steingold <sds@gnu.org>
6602
6603 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6604 (etags-tags-included-tables): Call `convert-standard-filename' on
6605 the file names contained in TAGS so that windows Emacs can handle
6606 TAGS files created by cygwin ctags.
6607
8ca42262
LMI
66082011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
6609
6610 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6611 which apparently didn't work.
6612
5db2afd2 66132011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 6614
5db2afd2
RW
6615 * proced.el (proced-send-signal): For *Marked Processes* buffer
6616 put point at beginning of buffer.
6617
92e15d10
SB
66182011-07-19 Stephen Berman <stephen.berman@gmx.net>
6619
6620 * proced.el (proced-format): Make header lines align with the text
6621 (bug#1779).
6622
1bfd59e5
LMI
66232011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6624
6625 * view.el (view-buffer): Allow running in `special' modes if we're
6626 visiting a file (bug#8615).
6627
f5aae37c
MR
66282011-07-19 Martin Rudalics <rudalics@gmx.at>
6629
6630 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
6631 (display-buffer-alist-set-1, display-buffer-alist-set-2):
6632 New functions.
f5aae37c
MR
6633 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6634 more accurately.
6635
bf2c1571
AM
66362011-07-18 Alan Mackenzie <acm@muc.de>
6637
6638 Fontify declarators properly when, e.g., a jit-lock chunk begins
6639 inside a declaration.
6640
6641 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6642
b796c9b7
SM
6643 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6644 New function.
bf2c1571
AM
6645 (c-complex-decl-matchers): Insert reference to
6646 c-font-lock-enclosing-decls.
6647
6648 * progmodes/cc-engine.el (c-backward-single-comment):
6649 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6650 to nil around calls to (forward-comment -1).
6651
4e190b80
LMI
66522011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6653
12dc863d
LMI
6654 * image.el (put-image): Doc typo fix.
6655
a762e966
LMI
6656 * progmodes/etags.el (tags-search): Doc typo fix.
6657
4e190b80
LMI
6658 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6659 password if we get errors 550 to 554.
6660
f019fb21
LMI
66612011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6662
b796c9b7 6663 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 6664
81746738
LMI
6665 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6666 indentation character (bug#6380).
6667
3ee3a1b5
LMI
6668 * files.el (buffer-offer-save): Made permanently local (bug#6241).
6669
c82f64de
LMI
6670 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6671 to clarify what the problem is (bug#4291).
6672
f019fb21
LMI
6673 * simple.el (current-kill): Clarify what
6674 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
6675 (auto-fill-mode): Document `auto-fill-function' in relation to
6676 `auto-fill-mode' (bug#2470).
f019fb21 6677
0794775d
LM
66782011-07-16 Lawrence Mitchell <wence@gmx.li>
6679
6680 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6681 method if slot is read-only (bug#9035).
6682
be39b8cc
MR
66832011-07-16 Martin Rudalics <rudalics@gmx.at>
6684
b796c9b7 6685 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 6686 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
6687 selected before, see discussion of (Bug#8615), (Bug#6954).
6688 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 6689
6ccf7859
GM
66902011-07-15 Glenn Morris <rgm@gnu.org>
6691
6692 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 6693 Respect help-form.
6ccf7859 6694
87e86684
LM
66952011-07-09 Lawrence Mitchell <wence@gmx.li>
6696
6697 * net/gnutls.el (gnutls-min-prime-bits): New variable.
6698 (gnutls-negotiate): Use it.
6699
d6066239
LMI
67002011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6701
b796c9b7
SM
6702 * net/gnutls.el (gnutls-negotiate):
6703 Upcase `gnutls-algorithm-priority'.
d6066239 6704
bd23ebc0
GM
67052011-07-15 Glenn Morris <rgm@gnu.org>
6706
c65bca65
GM
6707 * jka-compr.el (jka-compr-verbose): Move from here...
6708 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
6709 Add missing :version tag.
6710 * info.el: No need to require jka-compr when compiling.
bd23ebc0 6711
478615cc
LMI
67122011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6713
7b41decb
LMI
6714 * net/gnutls.el (gnutls-algorithm-priority): New variable.
6715 (gnutls-negotiate): Use it.
6716
dbc44fcd
LMI
6717 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6718
06789f97
LMI
6719 * info.el (Info-beginning-of-buffer): New command.
6720 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6721 announcing `b' as the key (bug#8325).
ab896c37 6722 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 6723
c39da690
LMI
6724 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6725
3aa5f34b
LMI
6726 * international/mule-cmds.el
6727 (describe-specified-language-support): Make the error message
6728 clearer (bug#8905).
6729
4bf0979f
LMI
6730 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6731
478615cc
LMI
6732 * isearch.el (isearch-barrier): Add a doc string, since it's
6733 mentioned in a function doc string (bug#8678).
6734
75c68aa1
MR
67352011-07-15 Martin Rudalics <rudalics@gmx.at>
6736
6737 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6738 buffer argument (Bug#9083) and self-identifying label argument.
6739
a7c33da2
GM
67402011-07-15 Glenn Morris <rgm@gnu.org>
6741
6742 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6743
2f5c6024
LMI
67442011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6745
6746 * man.el (Man-fontify-manpage): Fix message when formatting the
6747 man page (bug#7929).
6748
0bb23927 67492011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
6750
6751 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6752 argument LRM; if non-nil, append an invisible LRM character to the
6753 buffer name.
6754 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6755 last argument non-nil, when formatting buffer names.
0bb23927
EZ
6756 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6757 paragraph direction.
cce4b0a7 6758
621ef9ab
LMI
67592011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6760
d1583c48
LMI
6761 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6762 the man page name (bug#7929).
6763
6a57fb5f
LMI
6764 * image.el (put-image): Mention the `put-image' overlay property
6765 (bug#7834).
6766
d7956b14
LMI
6767 * scroll-bar.el (set-scroll-bar-mode): Mention that
6768 `scroll-bar-mode' lists the values (bug#7772).
6769
5b2d4a66
LMI
6770 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6771 command (bug#7729).
6772
7509a874
LMI
6773 * rect.el (apply-on-rectangle): Return the point after the last
6774 operation.
6775 (string-rectangle): Go to the point after the last operation
6776 (bug#7522).
6777
4fe74b19
LMI
6778 * printing.el (pr-toggle-region): Clarify the documentation
6779 slightly (bug#7493).
6780
b796c9b7
SM
6781 * time.el (display-time-update):
6782 Allow `display-time-mail-function' to return nil (bug#7158).
6783 Fix suggested by Detlev Zundel.
ab283561 6784
fc233c9d
LMI
6785 * vc/diff.el (diff): Clarify the order the file names are read
6786 (bug#7111).
6787
43f5740b
LMI
6788 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6789 the doc string (bug#7015).
6790
f2182a76
LMI
6791 * font-lock.el (font-lock-maximum-decoration): Mention what
6792 numeric levels mean (bug#6935).
6793
621ef9ab
LMI
6794 * startup.el (initial-buffer-choice): Don't mention the `none'
6795 selection, which is against policy.
6796
adc47434
MR
67972011-07-14 Martin Rudalics <rudalics@gmx.at>
6798
b796c9b7
SM
6799 * window.el (display-buffer-normalize-special):
6800 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 6801
7e5bfb8f
EZ
68022011-07-14 Eli Zaretskii <eliz@gnu.org>
6803
6804 * subr.el (version<, version<=, version=): Mention "-CVS" and
6805 "-12345" alpha version numbers.
6806
27fa387a
CY
68072011-07-14 Chong Yidong <cyd@stupidchicken.com>
6808
6809 * bindings.el: Add advertised binding for set-mark-command
6810 (Bug#5772).
6811
8bdfa064
CY
68122011-07-14 Chong Yidong <cyd@stupidchicken.com>
6813
6814 * bindings.el (mode-line-other-buffer):
6815 * bookmark.el (bookmark-bmenu-2-window):
6816 * bs.el (bs-cycle-next, bs-cycle-previous):
6817 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6818 switch-to-buffer.
6819
6820 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 6821 Delete.
8bdfa064 6822
5eba16a3
JB
68232011-07-14 Juanma Barranquero <lekktu@gmail.com>
6824
6825 * follow.el (follow-debug-message, follow-redisplay):
6826 * jka-cmpr-hook.el (with-auto-compression-mode):
6827 Fix typos in docstrings.
6828
15853710
LMI
68292011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6830
a28e4607
LMI
6831 * subr.el (with-silent-modifications): Clarify somewhat what the
6832 macro inhibits (bug#6525).
6833
15853710
LMI
6834 * simple.el (eval-expression): Note what it does if called
6835 interactively (bug#6495).
6836
bee0fcef
CY
68372011-07-13 Chong Yidong <cyd@stupidchicken.com>
6838
b796c9b7
SM
6839 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6840 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
6841
6842 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6843 Remove switch-to-buffer.
6844
58274504
LMI
68452011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6846
bd2fcc8d
LMI
6847 * files.el (make-directory): Clarify that an error will be raised
6848 if there's an error (bug#6397).
6849
0f04b32c
LMI
6850 * startup.el (initial-buffer-choice): Add `none' as a choice
6851 (bug#6234).
6852
465c5fc8
LMI
6853 * subr.el (add-hook): Clarify section about buffer-local hooks
6854 (bug#6218).
6855
58274504
LMI
6856 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6857
bead9a43
JB
68582011-07-13 Juanma Barranquero <lekktu@gmail.com>
6859
6860 * tabify.el (untabify): Preserve the current column so that point
6861 doesn't move (bug#6032).
6862
3af98a7b
LMI
68632011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6864
b796c9b7
SM
6865 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6866 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 6867
6240145a
GM
68682011-07-13 Glenn Morris <rgm@gnu.org>
6869
6870 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6871 (dired-insert-directory): Give a message the first time
6872 if ls is found not to support --dired.
6873
1d8c2ccc
LMI
68742011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6875
6876 * simple.el (toggle-truncate-lines): Clarify what is toggled
6877 (bug#5580). Text by Drew Adams.
6878
5fc4038e
CY
68792011-07-13 Chong Yidong <cyd@stupidchicken.com>
6880
6881 * simple.el (blink-matching-open): Make the error message from the
6882 last change less verbose.
6883
bf6012e5
DN
68842011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6885
6886 * font-lock.el (font-lock-comment-face): Use the high contrast
6887 "yellow" color for font-lock-comment-face on low color terminals
6888 using a dark background color (bug#4221).
6889
343c3b5a
LMI
68902011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6891
7e9505c5
LMI
6892 * dired.el (dired-insert-set-properties): Make the doc string
6893 reflect what it does now (bug#5325).
6894
c26fdcf5
LMI
6895 * simple.el (blink-matching-open): Say that we were unable to find
6896 the match within the limit, if we're limited (bug#5122).
6897
bb388cc5
LMI
6898 * international/mule-cmds.el (prefer-coding-system): Add an
6899 example (bug#4869).
6900
343c3b5a
LMI
6901 * progmodes/etags.el (tags-search): Document `file-list-form'
6902 (bug#4731).
6903
2a517d45
LM
69042011-07-13 Lawrence Mitchell <wence@gmx.li>
6905
6906 * net/browse-url.el (browse-url-default-browser)
6907 (browse-url-browser-function): Make the default browser choice a
6908 bit more logical (bug#4300). Also clean up the doc string.
6909
b6c78ef2
JB
69102011-07-13 Juanma Barranquero <lekktu@gmail.com>
6911
6912 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6913 binary endings (bug#4440).
6914
1c4dd947
LMI
69152011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6916
a2014063
LMI
6917 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6918 which can be pretty annoying (bug#8971).
6919
9c9c2d88
LMI
6920 * jka-compr.el (jka-compr-verbose): New variable, and use
6921 throughout (bug#8971).
6922
1c4dd947
LMI
6923 * info.el (Info-find-file): Fall back on the installation
6924 directory if we can't find the info node anywhere else.
6925
a1c9f41b
SO
69262011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6927
6928 * vc/vc.el (vc-revert-file):
6929 Don't set file time-stamp in the past. (Bug#5181)
6930
536f3d36
LMI
69312011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6932
7152b011
LMI
6933 * files.el (after-find-file): Give a better error message when
6934 trying to find a symlink that points to a file that doesn't exist
6935 (bug#4398).
6936
536f3d36
LMI
6937 * progmodes/cc-vars.el: Remove (probably) misleading comment
6938 (bug#4396).
6939
460c0fba
JB
69402011-07-12 Johan Bockgård <bojohan@gnu.org>
6941
6942 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6943
7a6bda45
CY
69442011-07-12 Chong Yidong <cyd@stupidchicken.com>
6945
6946 * mouse-sel.el: Hack restoring functionality, while keeping
6947 compatibility with 2010-07-03 changes to mouse selection.
6948 (mouse-sel-primary-overlay): New var.
6949 (mouse-sel-selection-alist): Use it.
6950 (mouse-sel-mode): Doc fix; remove points that are default features
6951 of mouse.el.
6952
c79598ef
JB
69532011-07-12 Johan Bockgård <bojohan@gnu.org>
6954
6955 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6956 Fix previous fix (bug#2490).
6957
ff8be6ef
RW
69582011-07-12 Roland Winkler <winkler@gnu.org>
6959
b796c9b7
SM
6960 * textmodes/bibtex.el (bibtex-initialize):
6961 Use pop-to-buffer-same-window.
ff8be6ef
RW
6962 (bibtex-search-entries): Fix interactive call.
6963
296ba3ee
LMI
69642011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6965
f5242a02 6966 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
6967 Fontise bytecomp Error lines more correctly (bug#2490).
6968 Fix suggested by Johan Bockgård.
f5242a02 6969
296ba3ee
LMI
6970 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6971
6972 * dired-x.el (dired-guess-default): Use `delete-dups'.
6973
f69fd0d2
CY
69742011-07-12 Chong Yidong <cyd@stupidchicken.com>
6975
6976 * dired.el (dired-mark-prompt):
6977 * dired-aux.el (dired-read-shell-command): Doc fix.
6978
eab5dc07
LMI
69792011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6980
b796c9b7
SM
6981 * mail/sendmail.el (sendmail-query-once):
6982 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
6983 emacs -Q.
6984
6985 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6986
eab5dc07
LMI
6987 * cus-edit.el (custom-file): Take an optional no-error variable.
6988 (customize-save-variable): Set the variable, and give a warning if
6989 running under "emacs -q".
6990
a1e65d42
JB
69912011-07-11 Juanma Barranquero <lekktu@gmail.com>
6992
6993 * loadhist.el (unload-feature-special-hooks):
6994 Add `auto-coding-functions', `fill-nobreak-predicate' and
6995 `find-directory-functions' (bug#5327).
6996
1d52da10
LMI
69972011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6998
be958f1d
LMI
6999 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7000
5bedb26c
LMI
7001 * cus-edit.el (custom-guess-name-alist): -alist variables should
7002 use the `alist' type (bug#3120). Suggested by Drew Adams.
7003
1d52da10
LMI
7004 * printing.el: Add documentation to all the `pr-toggle-' commands.
7005
cd394be1 70062011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
7007
7008 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7009 backends where it makes sense (bug#2623).
7010
dcc88d8a
LMI
70112011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7012
c3de9feb
LMI
7013 * dired-x.el (dired-guess-default): Remove duplicate shell command
7014 entries (bug#2028).
8a93078b 7015 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 7016 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 7017
dcc88d8a
LMI
7018 * subr.el (remove-duplicates): New conveniency function.
7019
505e3645
LMI
70202011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7021
7022 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7023 (bug#1526).
7024
70252011-07-10 Martin Rudalics <rudalics@gmx.at>
7026
7027 * window.el (display-buffer-normalize-default): Don't invert
7028 meaning of even-window-heights. Reported by Eli Zaretskii
7029 <eliz@gnu.org>.
7030
455e4fa1
BR
70312011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7032
7033 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7034
8e0bc3e9
CY
70352011-07-10 Chong Yidong <cyd@stupidchicken.com>
7036
7037 * window.el (display-buffer): Fix arguments to
7038 display-buffer-reuse-window in last change.
7039
fa7c3228
CY
7040 * faces.el (link): Use a less saturated blue on light backgrounds.
7041
7042 * startup.el (fancy-startup-text, fancy-about-text)
7043 (fancy-startup-tail): Use font-lock faces, for background safety.
7044
c0a7f300
BN
70452011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7046
b796c9b7
SM
7047 * emulation/viper-cmd.el (viper-change-state-to-vi):
7048 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 7049
4dc2a129
MR
70502011-07-09 Martin Rudalics <rudalics@gmx.at>
7051
7052 * window.el (display-buffer-default-specifiers): Remove.
7053 (display-buffer-macro-specifiers): Remove default specifiers.
7054 (display-buffer-alist): Default to nil.
b796c9b7 7055 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
7056 (display-buffer-pop-up-window): Allow splitting internal
7057 windows. Check whether a live window was created.
7058 (display-buffer-other-window-means-other-frame)
7059 (display-buffer-normalize-arguments): Rename to
7060 display-buffer-normalize-argument and rewrite. Set the
7061 other-window specifier.
7062 (display-buffer-normalize-special): New function.
7063 (display-buffer-normalize-options): Rename to
7064 display-buffer-normalize-default and rewrite.
7065 (display-buffer-normalize-options-inhibit): Remove.
7066 (display-buffer-normalize-specifiers): Rewrite.
7067 (display-buffer): Process other-window specifier and call
7068 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7069 more faithfully.
b796c9b7 7070 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 7071 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
7072 (display-buffer-in-window, display-buffer-alist-set):
7073 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
7074 <tassilo@member.fsf.org>.
7075
2d43b8c9
LL
70762011-07-09 Leo Liu <sdl.web@gmail.com>
7077
7078 * register.el (insert-register): Restore accidental change on
7079 2011-06-26. (Bug#9028)
7080
7f9b7c53
GM
70812011-07-09 Glenn Morris <rgm@gnu.org>
7082
7083 * subr.el (remq): Handle the empty list. (Bug#9024)
7084
f042cfd8
AS
70852011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7086
7087 * mail/sendmail.el (send-mail-function): No longer delay custom
7088 initialization.
7089 * custom.el (custom-initialize-delay): Doc fix.
7090
856b2f11
SM
70912011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7092
7093 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7094
afae1d68
MA
70952011-07-08 Michael Albinus <michael.albinus@gmx.de>
7096
7097 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7098 human-friendly prompt.
7099
0757af94
SM
71002011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7101
7102 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7103 provided by a particular plugin.
7104
d760b731
LMI
71052011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7106
7107 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7108 save customizations (with "emacs -Q"), just set the variable
7109 instead of erroring out.
7110
7111 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7112
cd79ce90
JL
71132011-07-08 Juri Linkov <juri@jurta.org>
7114
7115 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7116 (archive-zip-update-case): Use 7z if found by `executable-find'.
7117 The order of searching the available programs is the same as in
7118 `archive-zip-extract' (bug#8968).
7119
14cc04aa
CY
71202011-07-07 Chong Yidong <cyd@stupidchicken.com>
7121
7122 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7123 (menu-bar-options-menu): Tweak descriptions.
7124
0a1848ec
LMI
71252011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7126
7127 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7128 menu items into verb phrases (bug#1421). Also refill to fit under
7129 80 columns.
7130
f5bd0689
CY
71312011-07-07 Chong Yidong <cyd@stupidchicken.com>
7132
538e85c6
CY
7133 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7134 (Info-read-node-name): Doc fix (Bug#1084).
7135
f5bd0689
CY
7136 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7137 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7138 (end-of-sexp, beginning-of-sexp)
7139 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7140 (forward-symbol, forward-same-syntax, word-at-point)
7141 (sentence-at-point): Doc fix (Bug#1144).
7142
56ec5115
LMI
71432011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7144
f3f8e37f
LMI
7145 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7146 should cover it (bug#1281).
7147
0757af94 7148 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 7149
e9fce1ac 7150 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
7151 negotiation fails, then possibly try again with a non-encrypted
7152 connection (bug#9017).
7153
56ec5115
LMI
7154 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7155 be used.
7156
c2f9aec8
RS
71572011-07-07 Richard Stallman <rms@gnu.org>
7158
7159 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7160 property, and handle its changed format.
7161 Look for the correct line number.
7162 Use file's line contents (but not past first =) to find
7163 correct line in message.
7164
ef7b981d 71652011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
7166
7167 * international/characters.el (build-unicode-category-table):
7168 Delete it.
0757af94 7169 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 7170
0757af94 7171 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
7172 to src/chartab.c.
7173 (get-char-code-property): Call unicode-property-table-internal to
7174 load a file. Call get-unicode-property-internal where necessary.
7175 (put-char-code-property): Call unicode-property-table-internal to
7176 load a file. Call put-unicode-property-internal where necessary.
7177 put-unicode-property-internal where necessary.
0757af94
SM
7178 (char-code-property-description):
7179 Call unicode-property-table-internal to load a file.
c805dec0
KH
7180
7181 * international/charprop.el:
7182 * international/uni-bidi.el:
7183 * international/uni-category.el:
7184 * international/uni-combining.el:
7185 * international/uni-comment.el:
7186 * international/uni-decimal.el:
7187 * international/uni-decomposition.el:
7188 * international/uni-digit.el:
7189 * international/uni-lowercase.el:
7190 * international/uni-mirrored.el:
7191 * international/uni-name.el:
7192 * international/uni-numeric.el:
7193 * international/uni-old-name.el:
7194 * international/uni-titlecase.el:
7195 * international/uni-uppercase.el: Regenerate.
7196
7197 * loadup.el: Load international/charprop.el before
7198 international/characters.
7199
e14b388a
CY
72002011-07-07 Chong Yidong <cyd@stupidchicken.com>
7201
7202 * window.el (next-buffer, previous-buffer): Signal an error if
7203 called from a minibuffer window.
7204
7205 * bindings.el: Revert 2011-07-04 change.
7206
354cf0ba
RS
72072011-07-06 Richard Stallman <rms@gnu.org>
7208
7209 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7210 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7211 Treat markers like ints.
7212 (rmail-mime-entity): Doc fix.
7213
a48868a7
LMI
72142011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7215
4906cd3d
LMI
7216 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7217 defcustom again for backwards compatibility.
7218
e0457abe
LMI
7219 * simple.el (shell-command-on-region): Fill.
7220
d67f7e1f
LMI
7221 * dired-aux.el (dired-kill-line): Add a doc string.
7222
fe204702
LMI
7223 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7224 to "\\sw\\|\\s_" (bug#358).
7225
a48868a7
LMI
7226 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7227 (dired-unmark-backward): Ditto.
7228 (dired-flag-backup-files): Ditto.
7229
7230 * dired-x.el (dired-mark-sexp): Ditto.
7231
aa8a705c
RS
72322011-07-06 Richard Stallman <rms@gnu.org>
7233
7234 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7235 (rmail-mime-entity): New arg TRUNCATED.
7236 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7237 New functions.
7238 (rmail-mime-save): Warn if entity is truncated.
7239 (rmail-mime-toggle-hidden): Likewise, for showing.
7240 (rmail-mime-process-multipart): Record when an entity is truncated.
7241
a9a936b9
RS
7242 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7243 if ENTITY is a string.
7244
1f2b92cb
LMI
72452011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7246
f4f73198 7247 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
7248 of faces when `M-C-x'-ing their definitions (bug#8378).
7249 Also clean up the code slightly.
f4f73198 7250
12b16734 7251 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 7252 because that makes the colors go away.
12b16734 7253
f0691d22
LMI
7254 * mail/sendmail.el (send-mail-function): Change the default to
7255 `sendmail-query-once'.
9e87df06 7256 (sendmail-query-once): Add an autoload cookie.
f0691d22 7257
1f2b92cb
LMI
7258 * net/network-stream.el (network-stream-open-starttls): Try using
7259 a plain connection even if the server offered STARTTLS, and we
7260 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7261 capability. This should make smtpmail.el work in slightly more
7262 configurations.
7263
1cdd2a1b
MA
72642011-07-06 Michael Albinus <michael.albinus@gmx.de>
7265
7266 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7267 New defun.
7268 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7269
fbcc67e2
MM
72702011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7271
7272 * progmodes/sql.el: Version 3.0
0757af94 7273 (sql-product-alist): Add product :completion-object,
fbcc67e2 7274 :completion-column, and :statement attributes.
0757af94 7275 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 7276 (sql-mode-syntax-table): Mark all punctuation.
0757af94 7277 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
7278 ansi keywords.
7279 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 7280 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
7281 (sql-oracle-show-reserved-words): New function for development.
7282 (sql-product-font-lock): Simplify for source code buffers.
7283 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7284 New functions.
7285 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
7286 (sql-mode-map): Add statement movement functions.
7287 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7288 New variable.
fbcc67e2
MM
7289 (sql-statement-regexp, sql-beginning-of-statement)
7290 (sql-end-of-statement, sql-signum): New functions.
0757af94 7291 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
7292 (sql-show-sqli-buffer): Bug fix.
7293 (sql-interactive-mode): Store connection data as buffer local.
0757af94 7294 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
7295 with sql-interactive-mode.
7296 (sql-save-connection): Save buffer local settings.
0757af94 7297 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
7298 (sql-product-interactive): Bug fix.
7299 (sql-preoutput-hold): New variable.
7300 (sql-interactive-remove-continuation-prompt): Bug fixes.
7301 (sql-debug-redirect): New variable.
7302 (sql-str-literal): New function.
7303 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 7304 Redesign.
fbcc67e2
MM
7305 (sql-oracle-save-settings, sql-oracle-restore-settings)
7306 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7307 (sql-completion-object, sql-completion-column)
7308 (sql-completion-sqlbuf): New variables.
7309 (sql-build-completions-1, sql-build-completions)
7310 (sql-try-completion): New functions.
7311 (sql-read-table-name): Use them.
7312 (sql-contains-names): New buffer local variable.
7313 (sql-list-all, sql-list-table): Use it.
7314 (sql-oracle-completion-types): New variable.
7315 (sql-oracle-completion-object, sql-sqlite-completion-object)
7316 (sql-postgres-completion-object): New functions.
7317
d4eaeab1
GM
73182011-07-06 Glenn Morris <rgm@gnu.org>
7319
7320 * window.el (pop-to-buffer): Doc fix.
7321
322b7dab 73222011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
7323
7324 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7325
322b7dab 73262011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 7327
322b7dab 7328 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 7329
322b7dab 7330 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 7331
605dd5bf
CY
73322011-07-05 Chong Yidong <cyd@stupidchicken.com>
7333
7334 * button.el (button): Inherit from link face. Suggested by Dan
7335 Nicolaescu.
7336
7dbfa719
SM
73372011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7338
3db614b0
SM
7339 * progmodes/gdb-mi.el: Fit in 80 columns.
7340 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7341 switch-to-buffer.
7342
7dbfa719
SM
7343 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7344 if imenu is simply not configured (bug#8941).
7345
919d884a
KM
73462011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7347
7348 * allout.el (allout-post-undo-hook): New allout outline-change
7349 event hook to signal undo activity.
7350 (allout-post-command-business): Run allout-post-undo-hook if an
7351 undo just occurred.
7dbfa719
SM
7352 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7353 * allout-widgets.el (allout-widgets-after-undo-function):
7354 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
7355 in the vicinity of an undo.
7356 (allout-widgets-mode): Include allout-widgets-after-undo-function
7357 on the new allout-post-undo-hook.
7358
450a0f09
SM
73592011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7360
7361 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7362 Let define-derived-mode define it.
7363 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7364 cycles of abbrev-table inheritance (bug#8998).
7365
2de69e00
RW
73662011-07-05 Roland Winkler <winkler@gnu.org>
7367
7368 * textmodes/bibtex.el: Add support for biblatex.
7369 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7370 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7371 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7372 (bibtex-entry-alist, bibtex-field-alist): New variables.
7373 (bibtex-entry-field-alist): Obsolete alias for
7374 bibtex-BibTeX-entry-alist.
7375 (bibtex-entry-alist, bibtex-field-alist): New widgets.
7376 (bibtex-set-dialect): New command.
7377 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
7378 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7379 Bind via bibtex-set-dialect.
2de69e00
RW
7380 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7381 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7382 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7383 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7384 Define via bibtex-set-dialect.
450a0f09
SM
7385 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7386 Obey bibtex-no-opt-remove-re.
2de69e00
RW
7387 (bibtex-vec-push, bibtex-vec-incr): New functions.
7388 (bibtex-format-entry, bibtex-field-list)
7389 (bibtex-print-help-message, bibtex-validate)
7390 (bibtex-search-entries): Use new format of bibtex-entry-alist.
7391
2dcdbdd9
SM
73922011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7393
7394 * progmodes/compile.el (compilation-goto-locus):
7395 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7396 * bs.el (bs-cycle-next, bs-cycle-previous):
7397 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7398 * bindings.el (mode-line-other-buffer):
7399 * autoinsert.el (auto-insert):
7400 * arc-mode.el (archive-extract):
7401 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7402
b27640fe
JB
74032011-07-05 Juanma Barranquero <lekktu@gmail.com>
7404
7405 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7406 Fix check of `emacs-lock-unlockable-modes'.
7407 Coerce true values of `emacs-lock--try-unlocking' to t.
7408
53bbe3ad
JB
74092011-07-05 Juanma Barranquero <lekktu@gmail.com>
7410
7411 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7412 * emacs-lock.el: New file.
7413
1d3cdbc7
JD
74142011-07-05 Julien Danjou <julien@danjou.info>
7415
7416 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7417 than `boundp' to check if face is set.
7418
9173deec
JB
74192011-07-05 Juanma Barranquero <lekktu@gmail.com>
7420
7421 * register.el (registerv-make):
7422 * window.el (window-min-height): Fix typos in docstrings.
7423
869795d6
JD
74242011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7425
9173deec 7426 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
7427 Update doc string.
7428
b768cdcd
JB
74292011-07-04 Juanma Barranquero <lekktu@gmail.com>
7430
7431 * server.el (server-execute): Catch quit and call
7432 `server-return-error' to pass the error back to emacsclient and
7433 close the connection (bug#8942).
7434
13aa217b
KM
74352011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
7436
7437 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7438 insecure exception for current topic. Also note that auto-saves
7439 are handled differently.
7440
7441 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7442 State variables for tracking auto-save inhibition situation.
7443
7444 (allout-write-contents-hook-handler): Rename from
7445 'allout-write-file-hook-handler', and describe how it depends on
7446 write-contents-functions sensitivity to non-nil value to prevent
7447 file write.
7448
7449 (allout-auto-save-hook-handler): Remove. auto-save does not check
7450 this in individual buffers, only in the starting buffer, so this
7451 is not the right way for us to inhibit auto-save in a buffer
7452 according to its condition.
7453
7454 (allout-mode): Use new allout-write-contents-hook-handler, and
7455 only with write-contents-functions. Remove auto-save provisions -
7456 they're implemented elsewhere.
7457
7458 (allout-before-change-handler): If undo is in progress, note that
7459 for attention of allout-post-command-business.
7460
7461 (allout-post-command-business): If the command we're following was
7462 an undo, check for change in the status of encrypted items and
7463 adjust auto-save inhibitions accordingly.
7464
7465 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7466 according to whether there are or aren't any plain-text topics
7467 pending encryption.
7468
2dcdbdd9 7469 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
7470 Adjust buffer-saved-size and some allout state to inhibit auto-saves
7471 if there are plain-text topics pending encryption.
13aa217b
KM
7472
7473 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7474 buffer-saved-size and some allout state to not inhibit auto-saves
7475 if there are no longer any plain-text topics pending encryption.
7476
0757af94
SM
7477 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7478 No longer provide for exemption of the current topic.
13aa217b 7479
ac89b32c
JL
74802011-07-04 Juri Linkov <juri@jurta.org>
7481
7482 Add 7z operations to delete and save changed members (bug#8968).
7483 * arc-mode.el (archive-7z-expunge, archive-7z-update):
7484 New defcustoms.
7485 (archive-7z-write-file-member): New function.
7486 (archive-7z-summarize): Fix the number of dashes in the
7487 listing output.
7488
8fa39615
SM
74892011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7490
7491 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7492 (bug#8958).
7493
2f11b3f1
CY
74942011-07-04 Chong Yidong <cyd@stupidchicken.com>
7495
d66fef2b
CY
7496 * bindings.el: Ignore next-buffer and previous-buffer in
7497 minibuffer-local-map.
7498
2f11b3f1
CY
7499 * font-lock.el (font-lock-builtin-face): Change light background
7500 color to dark slate blue (Bug#6693).
7501
f932a347
WD
75022011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
7503
7504 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7505
c8af70e1
SM
75062011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7507
7508 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7509 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7510 Add switch-to-buffer.
7511
f158badc
LMI
75122011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7513
7514 * isearch.el (isearch-search-fun-function): Clarify further the
7515 meaning of the function returned.
7516
6d95bd46
MA
75172011-07-04 Michael Albinus <michael.albinus@gmx.de>
7518
7519 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7520
7521 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7522 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7523 Use it.
7524 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
7525 `tramp-default-remote-path' does not exist.
7526 (tramp-send-command-and-read): New optional argument NOERROR.
7527 (tramp-open-connection-setup-interactive-shell)
7528 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7529 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7530 (tramp-process-sentinel): Flush also process' connection property.
7531 (tramp-sh-handle-start-file-process): Do not set process
7532 sentinel. It is done now ...
7533 (tramp-maybe-open-connection): ... here. (Bug#8929)
7534
909e6b67
MK
75352011-07-04 MON KEY <monkey@sandpframing.com>
7536
7537 * play/animate.el (animate-string): Doc fixes and allow changing
7538 the buffer name (bug#5417).
7539
75402011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7541
c8af70e1 7542 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 7543
f34755dc
PE
75442011-07-04 Paul Eggert <eggert@cs.ucla.edu>
7545
396cec72
PE
7546 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7547 This is simpler and helps future-proof the code.
7548 (timer-until): Use time-subtract and float-time.
08235028 7549 (timer--time-less-p): Use time-less-p.
f34755dc 7550
56e6cc31
JB
75512011-07-04 Juanma Barranquero <lekktu@gmail.com>
7552
3abb79e5
JB
7553 * type-break.el (timep): Use the value of `float-time' to avoid a
7554 byte-compiler warning.
7555
56e6cc31
JB
7556 * server.el (server-eval-and-print): Return any result, even nil.
7557
7b9430b4
PE
75582011-07-03 Paul Eggert <eggert@cs.ucla.edu>
7559
7560 * type-break.el: Accept time formats that the builtins accept.
7561 (timep, type-break-time-difference): Accept any format that
7562 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7563 This is simpler and helps future-proof the code.
7564 (type-break-time-difference): Round rather than ignoring
7565 subseconds components.
7566
3034e9e7
LMI
75672011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7568
7569 * info.el (Info-apropos-matches): Make non-interactive, since it
7570 doesn't seem to do anything useful as a command (bug#8829).
7571
1485f4c0
CY
75722011-07-03 Chong Yidong <cyd@stupidchicken.com>
7573
7574 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 7575 Move from faces.el.
1485f4c0
CY
7576 (frame-default-terminal-background): New function.
7577
7578 * custom.el (custom-push-theme): Don't record faces in `changed'
7579 theme; this doesn't work correctly for per-frame face settings.
7580 (disable-theme): Use face-set-after-frame-default to reset faces.
7581 (custom--frame-color-default): New function.
7582
9fa3dd45
LMI
75832011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7584
c8af70e1 7585 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
7586 (bug#8769).
7587
6cbbc20c
KR
75882011-03-29 Kevin Ryde <user42@zip.com.au>
7589
7590 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7591 `perl-Test2' extend to match possible "fail #N" rep count
7592 (bug#8377).
7593
c7f98048
LMI
75942011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7595
65676592
LMI
7596 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7597 `smtpmail-via-smtp' now returns the error instead of nil.
7598
c7f98048
LMI
7599 * isearch.el (isearch-search-fun-function): Clarify the doc string
7600 (bug#8101).
7601
56e6cc31 76022011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
7603
7604 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7605 unnecessary spaces (bug#8987).
7606
2b216704
LMI
76072011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7608
7609 * net/network-stream.el (open-network-stream): Use the
7610 :end-of-capability command thoughout.
7611
76122011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7613
7614 * net/network-stream.el (open-network-stream): Add the
7615 :end-of-capability command parameter, used by pop3.el.
7616
36adf6ce
LMI
76172011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7618
1ca0da0e
LMI
7619 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7620
fc00f69c
LMI
7621 * fringe.el (fringe-query-style): Remove redundant text " (type ?
7622 for list)" (bug#6475).
7623
28fd8759 7624 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 7625 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
7626 an error (bug#6297).
7627
0dd8b6da
LMI
7628 * man.el (Man-reference-regexp): Allow matching possible
7629 word-wrapped references (bug#6289).
7630
ce1438d6
LMI
7631 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7632 for consistency with the other vc buffers (bug#6197).
7633 (vc-checkin): Ditto.
7634
7635 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7636
36adf6ce
LMI
7637 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7638
e83cc1f7
LMI
76392011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7640
8a20ca4c
LMI
7641 * custom.el (defcustom): Clarify that :set is only used in the
7642 Customize user interface (bug#6089).
7643
83319045
LMI
7644 * progmodes/flymake.el (flymake-mode): If the buffer isn't
7645 associated with a file, refuse to run instead of erroring out
7646 (bug#6084).
7647
a8392169
LMI
7648 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7649 the doc string, since it appears that using `fill-column' always
7650 controls the width (bug#7845).
7651
e83cc1f7
LMI
7652 * simple.el (shell-command-on-region): Say where the error output
7653 went if `shell-command-default-error-buffer' is set (bug#6857).
7654
e47ca23b
KM
76552011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
7656
7657 * allout.el (allout-yank-processing): Adjust cursor position for
7658 backwards-deleted space.
7659
7660 (allout-rebullet-heading): Register changes with
7661 allout-exposure-changed-hook, so the modified topic is properly
7662 decorated.
7663
5cf56143
LMI
76642011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7665
08549772
LMI
7666 * minibuffer.el (completion-in-region): Document PREDICATE
7667 (bug#7136).
7668
48e96771
LMI
7669 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7670 of keyword/argument pairs (bug#6904).
7671
c8af70e1
SM
7672 * replace.el (multi-occur):
7673 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 7674
e17d05e2
LMI
76752011-07-02 Drew Adams <drew.adams@oracle.com>
7676
7677 * dired.el (dired-mark-if): Make the message about whether it's
7678 marking or unmarking clearer (bug#8523).
7679
063b0e45
LMI
76802011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7681
7682 * disp-table.el (display-table-print-array): New function.
7683 (describe-display-table): Use it to print the vectors more pretty
7684 (Bug#8859).
7685
28545e04
MR
76862011-07-02 Martin Rudalics <rudalics@gmx.at>
7687
7688 * window.el (window-state-get-1): Don't assign clone numbers.
7689 Add clone-of item to list of window parameters.
7690 (window-state-put-2): Don't process clone numbers.
7691 (display-buffer-alist): Fix doc-string.
7692
3349e122
SM
76932011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7694
7695 * subr.el (remq): Don't allocate if it's not needed.
7696 (keymap--menu-item-binding, keymap--menu-item-with-binding)
7697 (keymap--merge-bindings): New functions.
7698 (keymap-canonicalize): Use them to refine the canonicalization.
7699 * minibuffer.el (minibuffer-local-completion-map)
7700 (minibuffer-local-must-match-map): Move initialization from C.
7701 (minibuffer-local-filename-completion-map): Move initialization from C;
7702 don't inherit from anything here.
7703 (minibuffer-local-filename-must-match-map): Make obsolete.
7704 (completing-read-default): Use make-composed-keymap to combine
7705 minibuffer-local-filename-completion-map with either
7706 minibuffer-local-must-match-map or
7707 minibuffer-local-filename-completion-map.
7708
d224ac83
GM
77092011-07-01 Glenn Morris <rgm@gnu.org>
7710
3de63bf8
GM
7711 * type-break.el (type-break-time-sum): Use dolist.
7712
d224ac83
GM
7713 * textmodes/flyspell.el (flyspell-word-search-backward):
7714 Replace CL function.
7715
1a1e3f32
SM
77162011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7717
fe3f64d5
SM
7718 * mouse.el (mouse--strip-first-event): New function.
7719 (function-key-map): Use it to map fringe clicks to normal clicks
7720 by default.
7721
eb604e34
SM
7722 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7723 (vc-bzr-revision-completion-table): Add support for annotate and date.
7724
1a1e3f32
SM
7725 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7726 inherit from parent.
7727
5bd35902
LMI
77282011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7729
ace6c69c 7730 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 7731 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 7732
191e2bed
LMI
7733 * dired.el (dired-mode): Fix up the doc string as suggested by
7734 Drew Adams (bug#8817).
7735
5bd35902
LMI
7736 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7737 cookie, since the manual says that it should be possible to add
7738 this function to `find-file-hook' (bug#8709).
7739
eee8207a
TZ
77402011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7741
7742 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7743 here. Noted Ted Zlatanov as the maintainer.
7744 (cfengine-common-settings, cfengine-common-syntax): New functions
7745 to set up common things between `cfengine-mode' and
7746 `cfengine3-mode'.
7747 (cfengine3-mode): New mode.
7748 (cfengine3-defuns cfengine3-defuns-regex
7749 (cfengine3-class-selector-regex cfengine3-category-regex)
7750 (cfengine3-vartypes cfengine3-font-lock-keywords)
7751 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 7752 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 7753
36b148cf
MA
77542011-07-01 Michael Albinus <michael.albinus@gmx.de>
7755
7756 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7757
7758 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7759
0bf4ba9a
MR
77602011-07-01 Martin Rudalics <rudalics@gmx.at>
7761
7762 * window.el (same-window-buffer-names, same-window-regexps)
7763 (same-window-p, special-display-frame-alist)
7764 (special-display-popup-frame, special-display-function)
7765 (special-display-buffer-names, special-display-regexps)
7766 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7767 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7768 (split-window-preferred-function, split-height-threshold)
7769 (split-width-threshold, even-window-heights)
7770 (display-buffer-mark-dedicated, window-splittable-p)
7771 (split-window-sensibly, window-safely-shrinkable-p):
7772 Un-obsolete.
7773 (display-buffer): Don't spread args with function specifier
7774 because special-display-popup-frame won't like it.
7775
35837f51
PE
77762011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7777
d0672f86
PE
7778 Time-stamp simplifications and fixes.
7779 These improve accuracy slightly, and future-proof the code
7780 against some potential changes to current-time format.
7781
b9444d97
PE
7782 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7783 by using time-since and float-time.
7784
0ef923dc
PE
7785 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7786 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7787 + NNN microseconds".
7788
2f81380d
PE
7789 * type-break.el (type-break-time-sum): Rewrite using time-add.
7790
845b5c3e
PE
7791 * play/hanoi.el (hanoi-current-time-float): Remove.
7792 All uses replaced by float-time.
7793
ee6f1be0
PE
7794 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7795 This yields a more-accurate answer.
7796 (rng-time-to-float): Remove; no longer needed.
7797
fe955043
PE
7798 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7799
5777162a
PE
7800 * calendar/timeclock.el (timeclock-seconds-to-time):
7801 Defalias to seconds-to-time, since they're the same thing.
7802
3103f8b6 7803 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 7804 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
7805 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7806
0e61a35f
SM
78072011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7808
7809 * window.el (bury-buffer): Don't iconify the only frame.
7810 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7811 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7812
ddd63a1e
CY
78132011-07-01 Chong Yidong <cyd@stupidchicken.com>
7814
0e61a35f
SM
7815 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7816 Add mouse-yank-primary.
ddd63a1e 7817
055f4923
TZ
78182011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7819
7820 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7821
6a2fb145
SM
78222011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7823
7824 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7825 (find-library-name): Use it to find relative load names when provided
7826 absolute file name (bug#8803).
7827
fd4983f2
LMI
78282011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7829
887d14ad
LMI
7830 * textmodes/flyspell.el (flyspell-word): Consider words that
7831 differ only in case as potential doublons (bug#5687).
7832
c53dc7fc
LMI
7833 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7834 Remove two rather uninteresting debugging-like messages to make
7835 debbugs.el more silent.
7836
fd4983f2
LMI
7837 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7838 a password-like phrase.
7839
7a71b18d 78402011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
7841
7842 * progmodes/cc-guess.el: New file.
7843
6a2fb145 7844 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
7845
7846 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7847 derived from `c-basic-common-init'.
7848
7849 * progmodes/cc-mode.el (top-level): Require cc-guess.
7850 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7851
1fa280a3
LM
78522011-06-30 Lawrence Mitchell <wence@gmx.li>
7853
7854 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7855
e6597158
AM
78562011-06-30 Alan Mackenzie <acm@muc.de>
7857
1fa280a3
LM
7858 * progmodes/cc-engine.el (c-guess-continued-construct):
7859 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
7860 lock is disabled. Name this case as "CASE G".
7861
68ba37fb
KM
78622011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7863
7864 * allout.el (allout-yank-processing): Fix injection of extra space
7865 between bullet and non-whitespace character in first topic when
7866 pasting, ensuring that the actual spacing in the pasted topic
7867 following the bullet char is preserved. This extra space was
7868 causing pasted encrypted topics to get a decrypted status even
7869 when the content was actually still encrypted. Now the decryption
7870 status from before the paste is preserved.
7871
7872 (allout-flag-region): Set all allout overlays so they evaporate
7873 when reduced to zero length (evanescent), to prevent overlay
7874 leakage.
7875
887a0b34
GM
78762011-06-30 Glenn Morris <rgm@gnu.org>
7877
94b9acce
GM
7878 * w32-fns.el (w32-charset-info-alist): Declare.
7879
1d9b46d4
GM
7880 * find-dired.el (find-grep-options): Simplify.
7881
cc232200
GM
7882 * term/ns-win.el (ns-set-resource): Declare.
7883
28e77c46
GM
7884 * ses.el (row, col): Declare dynamic variables honestly.
7885
887a0b34
GM
7886 * textmodes/reftex-parse.el (index-tags): Declare.
7887
658d8eb8
CY
78882011-06-30 Chong Yidong <cyd@stupidchicken.com>
7889
7890 * cus-edit.el (customize-push-and-save): New function.
7891
7892 * files.el (hack-local-variables-confirm): Use it.
7893
1fa280a3
LM
7894 * custom.el (load-theme): New arg NO-CONFIRM.
7895 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
7896 (custom-enabled-themes): Doc fix.
7897
7898 * cus-theme.el (customize-create-theme)
7899 (custom-theme-merge-theme): Callers to load-theme changed.
7900
bb617717
LMI
79012011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7902
d61bdd5d
LMI
7903 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7904 short URLs have at least one dot in them (bug #7614).
7905
bb617717
LMI
7906 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7907 nil, because using a pty is apparently too slow (bug #895).
7908
2f31f37a
LMI
79092011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7910
7911 * mail/sendmail.el (sendmail-query-once): New function.
7912 (sendmail-query-once-function): New variable.
7913
3076b24e
GM
79142011-06-29 Glenn Morris <rgm@gnu.org>
7915
faf2a174
GM
7916 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7917
3076b24e
GM
7918 * ses.el (top-level): Require cl when compiling.
7919 (ses-set-localvars): Fix error statement.
7920 Call it at compile time to silence a storm of warnings.
7921
5386012d
MR
79222011-06-29 Martin Rudalics <rudalics@gmx.at>
7923
7924 * window.el (normalize-live-buffer): Rename to
7925 window-normalize-buffer.
7926 (normalize-live-frame): Rename to window-normalize-frame.
7927 (normalize-any-window): Rename to window-normalize-any-window.
7928 (normalize-live-window): Rename to window-normalize-live-window.
7929 (make-window-atom): Rename to window-make-atom.
7930 (window-resize-reset): Rename to window--resize-reset.
7931 (window-resize-reset-1): Rename to window--resize-reset-1.
7932 (resize-mini-window): Rename to window--resize-mini-window.
7933 (resize-subwindows-skip-p): Rename to
7934 window--resize-subwindows-skip-p.
7935 (resize-subwindows-normal): Rename to
7936 window--resize-subwindows-normal.
7937 (resize-subwindows): Rename to window--resize-subwindows.
7938 (resize-other-windows): Rename to window--resize-siblings.
7939 (resize-this-window): Rename to window--resize-this-window.
7940 (resize-root-window): Rename to window--resize-root-window.
7941 (resize-root-window-vertically): Rename to
7942 window--resize-root-window-vertically.
7943 (normalize-buffer-to-display): Rename to
7944 window-normalize-buffer-to-display.
7945 (normalize-buffer-to-switch-to): Rename to
7946 window-normalize-buffer-to-switch-to.
7947 Correspondingly update all callers of the functions listed
7948 above.
7949 (display-buffer-alist, display-buffer-normalize-arguments)
7950 (display-buffer-normalize-options, display-buffer)
7951 (display-buffer-alist-set): Use "function" instead of
7952 "fun-with-args".
7953
1176868d
CY
79542011-06-28 Chong Yidong <cyd@stupidchicken.com>
7955
7956 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7957 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7958 debbugs.gnu.org. Mention acknowledgment email.
7959
20a7a65f
LMI
79602011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7961
7962 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7963 buffer multibyteness, since it shouldn't matter.
7964
5f45cca5
MR
79652011-06-28 Martin Rudalics <rudalics@gmx.at>
7966
7967 * window.el (display-buffer-in-side-window): Handle dedicated
7968 windows as in display-buffer-reuse-window.
7969 (display-buffer-normalize-alist): Use value of override
7970 specifier.
7971 (display-buffer-normalize-specifiers): Use value of
7972 other-window-means-other-frame specifier.
7973 (display-buffer-alist): Rewrite some texts in widgets.
7974 (display-buffer): Spread arguments when calling function
7975 specified by fun-with-args.
7976
ad85fe1f
DD
79772011-06-28 Deniz Dogan <deniz@dogan.se>
7978
1fa280a3
LM
7979 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7980 Unnest `let'.
da68c4c8 7981
ad85fe1f
DD
7982 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7983 selectors (Bug#5732).
ec49bd31 7984 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 7985
a08cc025
JA
79862011-06-27 Jari Aalto <jari.aalto@cante.net>
7987
7988 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7989 (eshell-ls-date-format): New defcustom.
7990 (eshell-ls-file): Use it.
7991
e2b551c5
SM
79922011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7993
7994 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7995
8982b231
KY
79962011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7997
7998 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7999 (ange-ftp-make-tmp-name): New arg.
8000 (ange-ftp-file-local-copy): Use it.
8001
36c9fa27
J
80022011-06-27 Jambunathan K <kjambunathan@gmail.com>
8003
8004 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8005 no-conversion (Bug#8870).
8006
d68443dc
MR
80072011-06-27 Martin Rudalics <rudalics@gmx.at>
8008
8009 * window.el (window-right, window-left, window-child)
8010 (window-child-count, window-last-child)
8011 (window-iso-combination-p, walk-window-tree-1)
8012 (window-atom-check-1, window-tree-1, delete-window)
8013 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8014 new naming conventions - window-vchild, window-hchild,
8015 window-next and window-prev are now called window-top-child,
8016 window-left-child, window-next-sibling and window-prev-sibling
8017 respectively.
d615d6d2
MR
8018 (resize-window-reset): Rename to window-resize-reset.
8019 (resize-window-reset-1): Rename to window-resize-reset-1.
8020 (resize-window): Rename to window-resize.
8021 (window-min-height, window-min-width)
8022 (resize-mini-window, resize-this-window, resize-root-window)
8023 (resize-root-window-vertically, adjust-window-trailing-edge)
8024 (enlarge-window, shrink-window, maximize-window)
8025 (minimize-window, delete-window, quit-restore-window)
8026 (split-window, balance-windows, balance-windows-area-adjust)
8027 (balance-windows-area, window-state-put-2)
8028 (display-buffer-even-window-sizes, display-buffer-set-height)
8029 (display-buffer-set-width, set-window-text-height)
8030 (fit-window-to-buffer): Rename all "resize-window" prefixed
8031 calls to use the "window-resize" prefix convention.
8032 (display-buffer-alist): Fix symbol for label specifier.
8033 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8034 corresponding specifier.
8035 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 8036
b6458526
VB
80372011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8038
8039 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8040 convention.
8041 (ses-call-printer): Does not pass an empty string to formatter when the
8042 cell is empty to keep from barking printer Calc math-format-value.
8043
d31fd9ac
RS
80442011-06-27 Richard Stallman <rms@gnu.org>
8045
43d5bf84
RS
8046 * battery.el (battery-mode-line-limit): New variable.
8047 (battery-update): Handle it.
8048
d31fd9ac
RS
8049 * mail/rmailmm.el (rmail-mime-process-multipart):
8050 Handle truncated messages.
8051
819a6054
GM
80522011-06-27 Glenn Morris <rgm@gnu.org>
8053
8054 * progmodes/flymake.el (flymake-err-line-patterns):
8055 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8056
cedc73f2
VB
80572011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8058
819a6054 8059 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
8060 (ses--clean-!, ses--clean-_): New functions.
8061 (ses-range): Add configurability of readout order, and conversion
8062 to Calc vector.
8063
5e5d49b6
VB
8064 * ses.el (ses-repair-cell-reference-all): New function.
8065 (ses-cell-symbol): Set macro as safe, so that it can be used in
8066 formulas.
8067
56e6cc31 8068 * ses.el: Update cycle detection algorithm.
90ca8b49 8069 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 8070 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
8071 (ses-set-localvars): New function.
8072 (ses-make-cell): Add property-list as a cell element.
8073 (ses-cell-property-get-fun, ses-cell-property-get)
8074 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
8075 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8076 New functions.
90ca8b49
VB
8077 (ses-cell-property-set, ses-cell-property-pop)
8078 (ses-cell-property-get-handle): New macro.
8079 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8080 New aliases, used for code readability.
8081 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8082 cycle detection.
8083 (ses-self-reference-early-detection): New defcustom.
fac916bf 8084 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
8085 (ses-mode): Use ses-set-localvars.
8086 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8087 before lauching the update processing.
8088 (ses-initialize-Dijkstra-attempt): New function.
8089 (ses-recalculate-cell): Update for cycle detection based on
8090 Dijkstra algorithm.
8091
2bb63e81
VB
8092 * ses.el: Fix commenting and indenting convention.
8093
c9d29fb8
SM
80942011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8095
8096 * bs.el (bs-cycle-next): Complete last change.
8097
d8e4b68b
JB
80982011-06-27 Drew Adams <drew.adams@oracle.com>
8099
8100 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8101
40098786
LMI
81022011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8103
c9d29fb8
SM
8104 * net/network-stream.el (network-stream-open-starttls):
8105 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
8106 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8107
40098786
LMI
8108 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8109 to binary to possibly avoid line encoding issues on Windows (among
8110 other things).
8111
468d09d4
LMI
81122011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8113
8114 * net/network-stream.el (open-network-stream): Return an :error
8115 saying what the problem was, if possible.
8116
8117 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8118 server.
8119
8120 * net/network-stream.el (network-stream-open-starttls): If we
8121 wanted to use STARTTLS, and the server offered it, but we weren't
8122 able to because we had no STARTTLS support, then close the connection.
8123 (open-network-stream): Return an :error element, if present.
8124
16f07dd7
CY
81252011-06-26 Chong Yidong <cyd@stupidchicken.com>
8126
88821ca0
CY
8127 * hl-line.el (hl-line-sticky-flag): Doc fix.
8128 (global-hl-line-sticky-flag): New option (Bug#8323).
8129 (global-hl-line-highlight): Obey it.
8130
16f07dd7
CY
8131 * vc/vc.el (vc-revert-show-diff): Default to t.
8132
6b5ccddf
KM
81332011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8134
c9d29fb8
SM
8135 * allout-widgets.el (allout-widgets-post-command-business):
8136 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
8137 undecorated when an isearch is continued past, and isearch
8138 automatically collapses them. This leads to "widget leaks", where
8139 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
8140 hidden widgets can slow down cursor travel, substantially.
8141 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
8142 so we're doing without this nicety.
8143
8144 (allout-widgets-tally-string): Don't try to do a hash-table-count
8145 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8146 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8147 *Messages* when allout-widgets-maintain-tally is t.
8148
355f2e07
MR
81492011-06-26 Martin Rudalics <rudalics@gmx.at>
8150
8151 * window.el (display-buffer-normalize-argument): Rename to
8152 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
8153 LABEL argument. Respect special-display-function when popping up
8154 a new frame. Fix code searching for a window showing the buffer
8155 on another frame.
c9d29fb8
SM
8156 (display-buffer-normalize-specifiers):
8157 Call display-buffer-normalize-arguments.
355f2e07
MR
8158 (display-buffer-in-window): Don't undedicate the window if its
8159 buffer remains the same.
8160 Reported by Drew Adams <drew.adams@oracle.com>.
8161 (display-buffer-alist): Add choice for same-window macro
8162 specfier.
8163 (display-buffer): Mention special meaning of LABEL argument in
8164 doc-string. Fix quoting. Don't pop up a new frame even as
8165 fallback.
8166
7ca8fc42
JB
81672011-06-26 Juanma Barranquero <lekktu@gmail.com>
8168
8169 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8170 avoid deleting the current window in some cases (bug#8911).
8171
bc312254
AS
81722011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8173
8174 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8175 (Bug#8934)
8176
2db18f3f
LMI
81772011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8178
c9d29fb8
SM
8179 * net/network-stream.el (network-stream-open-starttls):
8180 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
8181 (network-stream-open-tls): Ditto.
8182
6302e0d3
LL
81832011-06-26 Leo Liu <sdl.web@gmail.com>
8184
8185 * register.el (registerv): New struct.
8186 (registerv-make): New function.
c9d29fb8
SM
8187 (jump-to-register, describe-register-1, insert-register):
8188 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
8189 struct. (Bug#8415)
8190
5fdd4046
CY
81912011-06-26 Chong Yidong <cyd@stupidchicken.com>
8192
2afef60a
CY
8193 * vc/vc.el (vc-revert-show-diff): New defcustom.
8194 (vc-diff-internal): New arg specifying diff buffer.
8195 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8196 reuse an existing *vc-diff* buffer (Bug#8927).
8197
5fdd4046
CY
8198 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8199
e93db24a
GM
82002011-06-26 Glenn Morris <rgm@gnu.org>
8201
8202 * progmodes/f90.el (f90-critical-indent): New option.
8203 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8204 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8205 (f90-mode): Doc fix.
8206 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8207 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8208 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8209 (f90-match-end): Handle block, critical.
8210
eefff499
GM
82112011-06-25 Glenn Morris <rgm@gnu.org>
8212
f6ba4cc9
GM
8213 * calendar/diary-lib.el (diary-included-files): Doc fix.
8214 (diary-include-files): New function, extracted from
8215 diary-include-other-diary-files and diary-mark-included-diary-files.
8216 (diary-include-other-diary-files, diary-mark-included-diary-files):
8217 Just call diary-include-files.
8218 (diary-mark-entries): Reset diary-included-files on first call.
8219
16712304
GM
8220 * calendar/diary-lib.el (diary-mark-entries)
8221 (diary-mark-included-diary-files):
8222 Visit included diary-files in temp buffers.
8223
5d8e0d43
GM
8224 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8225 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8226 (f90-start-block-re, f90-imenu-generic-expression)
8227 (f90-looking-at-program-block-start, f90-no-block-limit):
8228 Add support for submodules.
8229
ccf7a5d5
GM
8230 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8231 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 8232
11fdef7d 82332011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
8234
8235 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8236 buffer-file-type before setting its value, to avoid disastrous
eefff499 8237 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 8238
74f53697
JB
82392011-06-25 Juanma Barranquero <lekktu@gmail.com>
8240
8241 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8242
8243 * ses.el (ses-unload-function):
8244 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8245
8246 * proced.el (proced-unload-function):
8247 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8248
18a4ce5e
AR
82492011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8250
8251 * server.el (server-create-window-system-frame): Add parameters arg.
8252 (server-process-filter): Doc fix. Handle frame-parameters.
8253
519d22cc
JB
82542011-06-25 Juanma Barranquero <lekktu@gmail.com>
8255
8256 Fix bug#8730, bug#8781.
8257
8258 * loadhist.el (unload--set-major-mode): New function.
8259 (unload-feature): Use it.
8260
8261 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8262 (python-unload-function): New function.
8263
c206f5b0
SM
82642011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8265
8266 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8267
f9ad64f3
GS
82682011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8269
8270 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8271 the candidates list.
8272
7d0da90e
JB
82732011-06-24 Juanma Barranquero <lekktu@gmail.com>
8274
8275 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8276
14b4e83d
RS
82772011-06-23 Richard Stallman <rms@gnu.org>
8278
8279 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8280 (rmail-variables): Set next-error-move-function.
8281 (rmail-what-message): Take argument POS.
8282 (rmail-next-error-move): New function.
8283
273d2baf
SM
82842011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8285
8286 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8287 messages for adjacent non-terminals.
8288
56c2cc9a
RS
82892011-06-23 Richard Stallman <rms@gnu.org>
8290
8291 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 8292 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
8293 (rmail-start-mail): Don't specify use of rmail-mail-return;
8294 that's done by mail-bury now.
8295 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 8296
d59eb518
MA
82972011-06-23 Michael Albinus <michael.albinus@gmx.de>
8298
8299 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8300 SIZE is a number.
8301
02cfc6d6
MR
83022011-06-23 Martin Rudalics <rudalics@gmx.at>
8303
8304 * window.el (get-lru-window, get-mru-window)
8305 (get-largest-window): Never return a minibuffer window.
8306 (display-buffer-pop-up-window): Fix a bug that could lead to
8307 reusing the minibuffer window.
8308 (display-buffer): Pass original specifier argument to
8309 display-buffer-function instead of the normalized one.
8310 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8311
4e323265
LL
83122011-06-22 Leo Liu <sdl.web@gmail.com>
8313
8314 * minibuffer.el (completing-read-function)
8315 (completing-read-default): Move from minibuf.c
8316
7a70468f
RS
83172011-06-22 Richard Stallman <rms@gnu.org>
8318
50718fc2
RS
8319 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8320 to Rmail even if not started by a special Rmail command.
8321
7a70468f
RS
8322 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8323 Copy the buffer currently showing just one message.
8324
297dde5a
RW
83252011-06-22 Roland Winkler <winkler@gnu.org>
8326
8327 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8328 (bibtex-clean-entry): First delete the old key so that a
8329 customized algorithm for generating the new key does not get
8330 confused by the old key.
8331 (bibtex-url): Obey regexp of first step.
8332 (bibtex-search-entries): Do not use add-to-list with local
8333 list-var.
8334
97bb1093
LMI
83352011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8336
8337 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8338 stored a user name, then query for the password first, instead of
8339 waiting for SMTP to give an error message and the trying again.
8340
1c0f1a19
JD
83412011-06-22 Lawrence Mitchell <wence@gmx.li>
8342
8343 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8344 BUFFER in call-process.
8345
396f7c9d
LMI
83462011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8347
8348 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8349 QUIT twice.
ddb7ffee
LMI
8350 (smtpmail-try-auth-methods): Require user name and password from
8351 auth-source.
396f7c9d 8352
8998d1b3
MR
83532011-06-22 Martin Rudalics <rudalics@gmx.at>
8354
8355 * window.el (display-buffer-default-specifiers)
8356 (display-buffer-alist): Remove entries for pop-up-frame-alist.
8357 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 8358 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
8359
8360 * frame.el (pop-up-frame-alist, pop-up-frame-function)
8361 (special-display-frame-alist, special-display-popup-frame):
8362 Remove duplicate declarations. These are now in window.el.
8363
4ea31e07
LMI
83642011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8365
c9d29fb8
SM
8366 * mail/smtpmail.el (smtpmail-via-smtp):
8367 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
8368 server supports it. SMTP servers that support STARTTLS commonly
8369 require it.
8370
8371 * net/network-stream.el (network-stream-open-starttls): Support
8372 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 8373 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 8374
95f41d9a
LMI
8375 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8376 upgrades with `open-network-stream', and rely solely on
8377 auth-source for all credentials. Big changes throughout the file,
8378 but in particular:
c9d29fb8
SM
8379 (smtpmail-auth-credentials): Remove.
8380 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
8381 (smtpmail-via-smtp): Check for servers saying they want AUTH after
8382 MAIL FROM, too.
95f41d9a 8383
c9d29fb8
SM
8384 * net/network-stream.el (network-stream-open-starttls):
8385 Provide support for client certificates both for external and built-in
4ea31e07
LMI
8386 STARTTLS.
8387 (auth-source): Require.
8388 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
8389 (network-stream-certificate): Change cert-cert to cert and
8390 cert-key to key.
4ea31e07 8391
065ec2c7
MA
83922011-06-21 Michael Albinus <michael.albinus@gmx.de>
8393
8394 * net/tramp-cache.el (top): Don't load the persistency file when
8395 "emacs -Q" has been called.
8396
cd93b359
DR
83972011-06-21 Tim Harper <timcharper@gmail.com>
8398
d8e4b68b
JB
8399 * term/ns-win.el (ns-initialize-window-system):
8400 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
8401 resource to NO as it is not yet supported by the NS port.
8402
ae9c0411
JB
84032011-06-21 Juanma Barranquero <lekktu@gmail.com>
8404
8405 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8406 (list-dynamic-libraries): ...not here.
8407
7f3f739f
LL
84082011-06-21 Leo Liu <sdl.web@gmail.com>
8409
8410 * subr.el (sha1): Implement sha1 using secure-hash.
8411
327c8fb1
MR
84122011-06-21 Martin Rudalics <rudalics@gmx.at>
8413
8414 * window.el (display-buffer-alist): In default value do not
8415 enforce searching a window on any but the selected frame.
8416 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8417 (display-buffer-select-window): Remove function.
8418 (display-buffer-in-window): When a window on another frame gets
8419 reused, do not select it any more but just raise its frame if
8420 necessary (Bug#8851) and (Bug#8856).
8421 (display-buffer-normalize-options): Handle pop-up-frames related
8422 options more faithfully.
8423 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8424 window if it is on another frame.
c9d29fb8
SM
8425 (display-buffer-alist, display-buffer-default-specifiers):
8426 Don't make new frame unsplittable by default.
9e9de014
MR
8427 (display-buffer-normalize-argument): Fix doc-string typo and use
8428 'same-frame-other-window instead of 'other-window when associating
8429 with display-buffer-macro-specifiers.
327c8fb1 8430
7cf3f556
VB
84312011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8432
8433 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8434 New functions.
8435 (5x5-mode-map, 5x5-mode-menu): Bind them.
8436 (5x5-draw-grid): Tweak the solver's rendering.
8437
60a406cf
SM
84382011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8439
8440 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8441 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8442
d8e4b68b 84432011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
8444
8445 * menu-bar.el: Use function variable instead of switch-to-buffer.
8446 (menu-bar-select-buffer-function): New variable.
60a406cf 8447 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 8448
478d6f95
SM
84492011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8450
8451 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8452 variable's status.
8453
ca530739
JD
84542011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8455
8456 * x-dnd.el (x-dnd-version-from-flags)
8457 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8458 and long as number (Bug#8899).
8459 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8460
bcd70d97
SM
84612011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8462
60a406cf 8463 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
8464 (completion-try-completion, completion-all-completions): Compute the
8465 metadata argument if it's missing; make it optional (bug#8795).
8466
60a406cf 8467 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
8468 (widget-complete): Use new :completion-function property.
8469 (widget-completions-at-point): New function.
8470 (default): Use :completion-function instead of :complete.
60a406cf
SM
8471 (widget-default-completions): Rename from widget-default-complete;
8472 Rewrite.
bcd70d97
SM
8473 (widget-string-complete, widget-file-complete, widget-color-complete):
8474 Remove functions.
8475 (file, symbol, function, variable, coding-system, color):
8476 * international/mule-cmds.el (default-input-method, charset)
8477 (language-info-custom-alist):
8478 * cus-edit.el (face): Use new property :completions.
8479
8480 * progmodes/pascal.el (pascal-completions-at-point): New function.
8481 (pascal-mode): Use it.
8482 (pascal-mode-map): Use completion-at-point.
8483 (pascal-toggle-completions): Make obsolete.
8484 (pascal-complete-word, pascal-show-completions):
8485 * progmodes/octave-mod.el (octave-complete-symbol):
8486 Redefine as obsolete alias.
8487 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8488 Signal absence of completion info for old Octave,
8489 (inferior-octave-complete): Redefine as obsolete alias.
8490 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8491 (meta-completions-at-point): Rename from meta-complete-symbol and
8492 adapt it for use on completion-at-point-functions.
8493 (meta-common-mode): Use it.
8494 (meta-looking-at-backward, meta-match-buffer): Remove.
8495 (meta-complete-symbol): Redefine as obsolete alias.
8496 (meta-common-mode-map): Use completion-at-point.
8497 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8498 (makefile-mode-map): Use completion-at-point.
8499 (makefile-completions-at-point): Rename from makefile-complete and
8500 adapt it for use on completion-at-point-functions.
8501 (makefile-mode): Use it.
8502 (makefile-complete): Redefine as obsolete alias.
8503
aebf69c8
DD
85042011-06-20 Deniz Dogan <deniz@dogan.se>
8505
8506 * net/rcirc.el: Delete trailing whitespaces once and for all.
8507
bfbbb27d
DC
85082011-06-20 Daniel Colascione <dan.colascione@gmail.com>
8509
8510 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8511
d264a46b
CY
85122011-06-19 Chong Yidong <cyd@stupidchicken.com>
8513
4ca009e5
CY
8514 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8515
d264a46b
CY
8516 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8517
fbf5b3ce
MR
85182011-06-19 Martin Rudalics <rudalics@gmx.at>
8519
8520 * window.el (display-buffer-other-window-means-other-frame):
8521 Call display-buffer-normalize-alist.
8522 (display-buffer-normalize-specifiers-1): Rename to
8523 display-buffer-normalize-argument. New argument other-frame.
8524 Rewrite.
8525 (display-buffer-normalize-specifiers-2): Rename to
8526 display-buffer-normalize-options.
8527 (display-buffer-normalize-alist-1): New function.
8528 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
8529 display-buffer-normalize-alist.
8530 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
8531 (display-buffer-normalize-options-inhibit): New variable.
8532 (display-buffer-normalize-specifiers): Rewrite calling
8533 display-buffer-normalize-alist,
8534 display-buffer-normalize-argument, and
8535 display-buffer-normalize-options. Don't call the latter if
8536 display-buffer-normalize-options-inhibit is non-nil.
8537 (frame-auto-delete): New option.
8538 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
8539 (window-list-no-nils, window-state-ignored-parameters)
8540 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
8541 (window-state-put-1, window-state-put-2, window-state-put):
8542 New functions.
9a028c23
MR
8543 (display-buffer-normalize-options): Move special-display-p group
8544 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 8545
6d10d800
CY
85462011-06-18 Chong Yidong <cyd@stupidchicken.com>
8547
6420d28b
CY
8548 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8549 groups (Bug#8776).
8550 (rx-submatch-n): New function.
8551 (rx): Document it.
8552
ddb8b596
CY
8553 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8554 (Bug#8768).
8555
8556 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8557
77080289
CY
8558 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8559
61dfb316
CY
8560 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8561 anytime existing face settings are present (Bug#8889).
8562
6d10d800
CY
8563 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8564 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8565 Remove unused argument.
8566
be3fb2b8
MR
85672011-06-18 Martin Rudalics <rudalics@gmx.at>
8568
bcd70d97
SM
8569 * window.el (display-buffer-default-specifiers):
8570 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
8571 pop-up-window-min-width, and another reuse-window specifier
8572 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
8573 (display-buffer-normalize-specifiers-2):
8574 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
8575 pop-up-windows is unset. Add a reuse-window specifier for the
8576 case popping up a new window fails.
8577 (special-display-popup-frame): Remove double quoting.
28dec25a 8578 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 8579
1c6d8c76
SM
85802011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8581
8582 * shell.el (shell-completion-vars): Set pcomplete-termination-string
8583 according to comint-completion-addsuffix.
8584
8585 * pcomplete.el: Convert to lexical binding and fix bug#8819.
8586 (pcomplete-suffix-list): Mark as obsolete.
8587 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8588 pcomplete-seen in the closure.
8589 (pcomplete-comint-setup): Setup completion-at-point as well.
8590 (pcomplete--entries): New function.
8591 (pcomplete--env-regexp): New var.
8592 (pcomplete-entries): Rewrite to work with partial-completion and
8593 without relying on pcomplete-suffix-list.
8594 (pcomplete-pare-list): Remove, unused.
8595
25aef8b8
MR
85962011-06-17 Martin Rudalics <rudalics@gmx.at>
8597
8598 * window.el (display-buffer-alist): Set pop-up-window-min-height
8599 and pop-up-window-min-width in default value. Reported by
8600 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
8601 other-window-means-other-frame.
8602 (display-buffer-macro-specifiers): Comment out entry for
8603 other-window specifier.
8604 (display-buffer-other-window-means-other-frame): New function.
8605 (display-buffer-normalize-specifiers-1): New arguments
8606 buffer-name and label. Treat other-window case specially.
8607 (display-buffer-normalize-specifiers-2): Treat other-window case
8608 specially.
8609 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
8610 (display-buffer-normalize-specifiers):
8611 Call display-buffer-normalize-specifiers-3.
25aef8b8 8612
dbad4f69
MR
86132011-06-17 Martin Rudalics <rudalics@gmx.at>
8614
8615 * window.el (same-window-p): Fix two typos introduced when
8616 adding with-no-warnings.
d1067961
MR
8617 (display-buffer-normalize-specifiers-1): Don't check
8618 pop-up-frames for 'unset initialization.
8619 (display-buffer-normalize-specifiers-2): Major rewrite using
8620 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8621 (pop-up-frames, display-buffer-reuse-frames)
8622 (display-buffer-mark-dedicated): Don't initialize to 'unset.
8623 Suggested by David Engster <deng@randomsample.de>.
8624 (even-window-heights): Initialize to 'unset.
8625 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
8626 (display-buffer-macro-specifiers): Don't pop up a new frame in the
8627 other window case.
dbad4f69 8628
9b9c9e3a
MR
86292011-06-16 Martin Rudalics <rudalics@gmx.at>
8630
bcd70d97
SM
8631 * window.el (display-buffer-normalize-specifiers-1):
8632 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 8633 second argument of display-buffer (Bug#8865).
981d5c09
MR
8634 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8635 (switch-to-buffer-other-window-same-frame)
8636 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
8637 Adams (Bug#8875).
9c2755e9
MR
8638 (display-buffer): Don't check noninteractive when calling
8639 display-buffer-pop-up-frame.
8640 (display-buffer-pop-up-frame): Never pop up a frame in
8641 noninteractive mode (Bug#8857).
67222e1d
MR
8642 (enlarge-window, shrink-window): Don't report an error when the
8643 window can't be resized as requested (Bug#8862).
9b9c9e3a 8644
2b75be67
SM
86452011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8646
9ffdd3ba
SM
8647 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8648
cb581a67
SM
8649 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8650
2b75be67
SM
8651 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8652
8c0e3589
AM
86532011-06-15 Alan Mackenzie <acm@muc.de>
8654
cb581a67
SM
8655 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8656 for declarators, disable knr checking to speed up for normal files.
8657 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 8658
b96e6cde
LMI
86592011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8660
4bba86e6
LMI
8661 * net/network-stream.el (open-network-stream): Add the keyword
8662 :always-query-capabilities for the case where you want to force a
8663 `plain' network connection, but the protocol still requires the
8664 capabilitiy command (i.e., SMTP and EHLO).
8665
2b75be67 8666 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
8667 consistency with other `-live-p' functions.
8668
efdcdbf8
SM
86692011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8670
8671 * window.el (same-window-buffer-names, same-window-regexps)
8672 (special-display-frame-alist, special-display-popup-frame)
8673 (special-display-function, special-display-buffer-names)
8674 (special-display-regexps, pop-up-frame-alist)
8675 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8676 (pop-up-windows, split-window-preferred-function)
8677 (split-height-threshold, split-width-threshold, even-window-heights)
8678 (display-buffer-mark-dedicated): Don't encourage the use of
8679 display-buffer-alist from Elisp code.
8680
c5cde042
DN
86812011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
8682
8683 * progmodes/python.el (python-mode): Derive from prog-mode.
8684 * progmodes/ps-mode.el (ps-mode):
8685 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 8686 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
8687 * progmodes/ld-script.el (ld-script-mode): Likewise.
8688
baa1c9ab
MR
86892011-06-15 Martin Rudalics <rudalics@gmx.at>
8690
8691 * window.el (display-buffer-alist): Trim default value to avoid
8692 popping up a new frame (Bug#8857) or reusing an arbitrary window
8693 on another frame.
8694 (display-buffer): Do not fall back on popping up a new frame in
8695 batch mode (Bug#8857).
8696
c5dd5a51
CY
86972011-06-14 Chong Yidong <cyd@stupidchicken.com>
8698
8699 * cus-theme.el (describe-theme-1): Use custom-theme-p.
8700 (custom-theme-summary): New function.
8701 (customize-themes): Use it.
8702
d647b7c4
GM
87032011-06-13 Glenn Morris <rgm@gnu.org>
8704
8705 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8706
9481c002
MR
87072011-06-13 Martin Rudalics <rudalics@gmx.at>
8708
357f93d2
MR
8709 * help.el (help-window): Remove variable.
8710 (help-window-point-marker, temp-buffer-max-height)
8711 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8712 (help-print-return-message): Don't set help-window.
8713 (resize-temp-buffer-window): Rewrite cod eand doc-string.
8714 (help-window-setup-finish): Remove.
8715 (help-window-display-message, help-window-setup)
8716 (with-help-window): Major rewrite based on new
8717 display-buffer-window variable.
8718
8719 * help-mode.el (help-mode-finish): Remove help-window related
8720 code.
8721
8722 * view.el (view-exits-all-viewing-windows): Remove reference to
8723 view-return-to-alist in doc-string.
8724 (view-return-to-alist): Make obsolete.
8725 (view-buffer): Call pop-to-buffer-same-window and remove
8726 undo-window code.
8727 (view-buffer-other-window): Call pop-to-buffer-other-window and
8728 simplify code. Ignore second argument.
8729 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8730 simplify code. Ignore second argument.
8731 (view-return-to-alist-update): Make obsolete.
8732 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8733 Rewrite using quit-restore window parameters.
2b75be67
SM
8734 (view-mode-exit): Rename second argument to EXIT-ONLY.
8735 Rewrite using quit-restore-window.
357f93d2
MR
8736 (View-exit, View-exit-and-edit, View-leave, View-quit)
8737 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8738 appropriate arguments.
8739 (view-end-message): Use quit-restore window parameter.
8740
9481c002
MR
8741 * window.el (display-buffer-function): Rewrite doc-string.
8742 (display-buffer-window, display-buffer-alist): New variables.
8743 (display-buffer-split-specifiers)
8744 (display-buffer-side-specifiers)
8745 (display-buffer-macro-specifiers): New constants.
8746 (display-buffer-even-window-sizes, display-buffer-set-height)
8747 (display-buffer-set-width, display-buffer-select-window)
8748 (display-buffer-in-window, display-buffer-reuse-window)
8749 (display-buffer-split-window-1, display-buffer-split-window)
8750 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8751 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8752 (display-buffer-in-side-window, normalize-buffer-to-display)
8753 (display-buffer-normalize-specifiers-1)
8754 (display-buffer-normalize-specifiers-2)
2b75be67
SM
8755 (display-buffer-normalize-specifiers, display-buffer-frame):
8756 New functions.
9481c002
MR
8757 (display-buffer): Major rewrite.
8758 (display-buffer-other-window, display-buffer-other-frame)
8759 (pop-to-buffer, switch-to-buffer-other-window)
8760 (switch-to-buffer-other-frame): Rewrite.
8761 (display-buffer-same-window, display-buffer-same-frame)
8762 (display-buffer-same-frame-other-window)
8763 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8764 (pop-to-buffer-other-window)
8765 (pop-to-buffer-same-frame-other-window)
8766 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8767 (switch-to-buffer-other-window-same-frame): New functions.
8768 (same-window-p, special-display-p): Rewrite disabling warnings.
8769 Make obsolete.
8770 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8771 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8772 Make obsolete
8773 (same-window-buffer-names, same-window-regexps)
8774 (special-display-frame-alist, special-display-popup-frame)
8775 (special-display-function, special-display-buffer-names)
8776 (special-display-regexps, pop-up-frame-alist)
8777 (pop-up-frame-function, split-window-preferred-function)
8778 (split-height-threshold, split-width-threshold)
8779 (even-window-heights): Make obsolete.
8780
9db51aca
GM
87812011-06-12 Glenn Morris <rgm@gnu.org>
8782
8783 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 8784 Misc simplifications.
9db51aca 8785
39cffb44
MR
87862011-06-12 Martin Rudalics <rudalics@gmx.at>
8787
8788 * window.el (window-safely-shrinkable-p): Restore function which
8789 was inadvertently removed in change from 2011-06-11. Declare as
8790 obsolete.
8791
2b75be67
SM
8792 * calendar/calendar.el (calendar-generate-window):
8793 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
8794 window-safely-shrinkable-p.
8795
a8955be7
GM
87962011-06-12 Glenn Morris <rgm@gnu.org>
8797
8798 * progmodes/fortran.el (fortran-mode-syntax-table):
8799 * progmodes/f90.el (f90-mode-syntax-table):
8800 Set % to punctuation. (Bug#8820)
8801 (f90-find-tag-default): Remove, no longer needed.
8802
f0d4059d
DC
88032011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8804
8805 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8806
1100a63c
CY
88072011-06-11 Chong Yidong <cyd@stupidchicken.com>
8808
8809 * image.el (image-animated-p): Return animation delay in seconds.
8810 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8811 (image-animate-timeout): Remove DELAY argument. Don't assume
8812 every subimage has the same delay; get it from image-animated-p.
8813 (image-animate): Caller changed.
8814
def722bf
MA
88152011-06-11 Michael Albinus <michael.albinus@gmx.de>
8816
8817 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8818 to ignored backtrace functions.
8819
0a2bb1a9
GM
88202011-06-11 Glenn Morris <rgm@gnu.org>
8821
8822 * calendar/appt.el (appt-disp-window-function): Doc fix.
8823 (appt-check): Handle overlapping appointments. (Bug#8337)
8824
6198ccd0
MR
88252011-06-11 Martin Rudalics <rudalics@gmx.at>
8826
8827 * window.el (window-tree-1, window-tree): New functions, moving
8828 the latter to window.el.
8829 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8830 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8831 (bw-refresh-edges): Remove.
8832 (balance-windows-1, balance-windows-2): New functions.
8833 (balance-windows): Rewrite in terms of window tree functions,
8834 balance-windows-1 and balance-windows-2.
8835 (bw-adjust-window): Remove.
8836 (balance-windows-area-adjust): New function with functionality of
8837 bw-adjust-window but using resize-window.
2b75be67
SM
8838 (set-window-text-height): Rewrite doc-string.
8839 Use normalize-live-window and resize-window.
8840 (enlarge-window-horizontally, shrink-window-horizontally):
8841 Rename argument to DELTA.
6198ccd0
MR
8842 (window-buffer-height): New function.
8843 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8844 Rewrite using new window resize routines.
2b75be67
SM
8845 (kill-buffer-and-window, mouse-autoselect-window-select):
8846 Use ignore-errors instead of condition-case.
6198ccd0
MR
8847 (quit-window): Call delete-frame instead of delete-windows-on
8848 for the only buffer on frame.
8849
9397e56f
MR
88502011-06-10 Martin Rudalics <rudalics@gmx.at>
8851
8852 * loadup.el (top-level): Load window before files for the sake
8853 of replace-buffer-in-windows.
8854
8855 * files.el (read-buffer-to-switch)
8856 (switch-to-buffer-other-window)
2b75be67
SM
8857 (switch-to-buffer-other-frame, display-buffer-other-frame):
8858 Move to window.el.
9397e56f
MR
8859
8860 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8861 (previous-buffer): Move to window.el.
8862
8863 * bindings.el (unbury-buffer): Move to window.el.
8864
8865 * window.el (delete-other-windows-vertically): Move after
8866 definition of delete-other-windows.
8867 (other-window, delete-windows-on, replace-buffer-in-windows):
8868 Move here from window.c.
8869 (record-window-buffer, unrecord-window-buffer)
8870 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8871 (switch-to-next-buffer): New functions.
8872 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8873 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
8874 (previous-buffer): Move here from simple.el.
8875 Call switch-to-prev-buffer.
9397e56f
MR
8876 (bury-buffer): Move here from buffer.c. Switch to previous
8877 buffer when window cannot be deleted.
8878 (unbury-buffer): Move here from bindings.el.
8879 (ctl-x-map): Move binding for other-window from window.c to
8880 here.
8881 (read-buffer-to-switch, switch-to-buffer-other-window)
8882 (switch-to-buffer-other-frame): Move here from files.el.
8883 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
8884 (switch-to-buffer): Move here from buffer.c.
8885 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 8886
562dd5e9
MR
88872011-06-10 Martin Rudalics <rudalics@gmx.at>
8888
8889 * window.el (window-min-height, window-min-width): Move here
8890 from window.c. Add defcustoms and rewrite doc-strings.
8891 (resize-mini-window, resize-window): New functions.
8892 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8893 Move here from window.c.
8894 (maximize-window, minimize-window): New functions.
8895 (delete-window, delete-other-windows, split-window): Move here
8896 from window.c.
8897 (window-split-min-size): New function.
8898 (split-window-keep-point): Mention split-window-above-each-other
8899 instead of split-window-vertically.
2b75be67 8900 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
8901 Rename split-window-vertically to split-window-above-each-other
8902 and provide defalias for old definition.
8903 (split-window-side-by-side, split-window-horizontally):
8904 Rename split-window-horizontally to split-window-side-by-side
8905 and provide defalias for the old definition.
562dd5e9
MR
8906 (ctl-x-map): Move bindings for delete-window,
8907 delete-other-windows and enlarge-window here from window.c.
8908 Replace bindings for split-window-vertically and
8909 split-window-horizontally by bindings for
8910 split-window-above-each-other and split-window-side-by-side.
8911
8912 * cus-start.el (all): Remove entries for window-min-height and
8913 window-min-width. Add entries for window-splits and
8914 window-nest.
8915
f0da764a
GM
89162011-06-09 Glenn Morris <rgm@gnu.org>
8917
80675c21
GM
8918 * calendar/appt.el (appt-mode-line): New function.
8919 (appt-check, appt-disp-window): Use it.
8920
f0da764a
GM
8921 * files.el (hack-one-local-variable-eval-safep):
8922 Allow minor-modes with explicit +/-1 arguments.
8923
59f623b7
TZ
89242011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8925
8926 * term/xterm.el (xterm): Add defgroup.
8927 (xterm-extra-capabilities): Add defcustom to supply known xterm
8928 capabilities, skip querying them, or query them (default).
8929 (terminal-init-xterm): Use it.
8930 (terminal-init-xterm-modify-other-keys): New function to set up
8931 modifyOtherKeys support to simplify `terminal-init-xterm'.
8932
9aab8e0d
MR
89332011-06-09 Martin Rudalics <rudalics@gmx.at>
8934
8935 * window.el (resize-window-reset, resize-window-reset-1)
8936 (resize-subwindows-skip-p, resize-subwindows-normal)
8937 (resize-subwindows, resize-other-windows, resize-this-window)
8938 (resize-root-window, resize-root-window-vertically)
8939 (window-deletable-p, window-or-subwindow-p)
8940 (frame-root-window-p): New functions.
8941
e8b08aee
GM
89422011-06-09 Glenn Morris <rgm@gnu.org>
8943
8944 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8945 (ange-ftp-get-files): Use it.
8946
254c37a5
AK
89472011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8948
8949 * mail/sendmail.el (mail-recover-1, mail-recover):
8950 * files.el (recover-file, recover-session):
8951 Handle dired-listing-switches not being just a single short option.
8952
35d7dbd3
GM
89532011-06-09 Glenn Morris <rgm@gnu.org>
8954
8955 * calendar/appt.el (appt-display-message, appt-disp-window):
8956 Handle lists of appointments.
8957
387522b2
MR
89582011-06-08 Martin Rudalics <rudalics@gmx.at>
8959
2b75be67
SM
8960 * window.el (one-window-p): Move down in code.
8961 Rewrite doc-string.
8962 (window-current-scroll-bars): Rewrite doc-string.
8963 Normalize live window argument.
387522b2
MR
8964 (walk-windows, get-window-with-predicate, count-windows):
8965 Rewrite doc-string. Use window-list-1.
8966 (window-in-direction-2, window-in-direction, get-mru-window):
8967 New functions.
8968
d8e4b68b 89692011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
8970
8971 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8972 Doc fix (Bug#8713).
8973
89742011-06-08 Chong Yidong <cyd@stupidchicken.com>
8975
8976 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8977
89782011-06-08 Juanma Barranquero <lekktu@gmail.com>
8979
8980 * loadhist.el (unload-feature-special-hooks):
8981 Add `comint-output-filter-functions'.
8982
0de12c52
IK
89832011-06-08 Ivan Kanis <gnu@kanis.fr>
8984
8985 * calendar/appt.el (appt-check): Move some initializations into the let.
8986
f3d1777e
MR
89872011-06-08 Martin Rudalics <rudalics@gmx.at>
8988
8989 * window.el (window-height): Defalias to window-total-height.
8990 (window-width): Defalias to window-body-width.
8991
18af70d0
CY
89922011-06-07 Chong Yidong <cyd@stupidchicken.com>
8993
8994 * image-mode.el (image-toggle-animation): New command.
8995 (image-mode-map): Bind it to RET.
8996 (image-mode): Update message.
8997 (image-toggle-display-image): Avoid a spurious cache flush.
8998 (image-transform-rotation): Doc fix.
8999 (image-transform-properties): Return quickly in the normal case.
9000 (image-animate-loop): Rename from image-animate-max-time.
9001
2b75be67 9002 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
9003 (create-animated-image): Remove unnecessary function.
9004 (image-animate): Rename from image-animate-start. New arg.
2b75be67 9005 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
9006 (image-animate-timer): Use car-safe.
9007 (image-animate-timeout): Rename argument.
9008
190b47e6
MR
90092011-06-07 Martin Rudalics <rudalics@gmx.at>
9010
9011 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
9012 window.c. Rename first argument to ALL-FRAMES.
9013 Rephrase doc-strings.
9014 (get-buffer-window-list): Rewrite using window-list-1.
9015 Rephrase doc-string.
a1511caf
MR
9016 (window-safe-min-height, window-safe-min-width): New constants.
9017 (window-size-ignore, window-min-size, window-min-size-1)
9018 (window-sizable, window-sizable-p, window-size-fixed-1)
9019 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9020 (window-max-delta-1, window-max-delta, window-resizable)
9021 (window-resizable-p, window-total-height, window-total-width)
9022 (window-body-width): New functions.
9023 (window-full-height-p, window-full-width-p): Rewrite using
9024 window-total-size.
9025 (window-body-height): Rewrite using window-body-size.
190b47e6 9026
85cc1f11
MR
90272011-06-06 Martin Rudalics <rudalics@gmx.at>
9028
9029 * window.el (window-right, window-left, window-child)
9030 (window-child-count, window-last-child, window-any-p)
9031 (normalize-live-buffer, normalize-live-frame)
9032 (normalize-any-window, normalize-live-window)
9033 (window-iso-combination-p, window-iso-combined-p)
9034 (window-iso-combinations)
9035 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9036 (windows-with-parameter, window-with-parameter)
9037 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
9038 (window-atom-check, window-side-check, window-check):
9039 New functions.
85cc1f11
MR
9040 (ignore-window-parameters, window-sides, window-sides-vertical)
9041 (window-sides-slots): New variables.
9042 (window-size-fixed): Move down in code. Minor doc-string fix.
9043
e7156492
AS
90442011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9045
9046 * comint.el (comint-dynamic-complete-as-filename)
9047 (comint-dynamic-complete-filename): Correctly call
9048 completion-in-region.
9049
7e821d0d
DD
90502011-06-05 Deniz Dogan <deniz@dogan.se>
9051
9052 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9053 in last change.
9054
ac09b8a1
DD
90552011-06-05 Deniz Dogan <deniz@dogan.se>
9056
9057 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9058 (rcirc): Use it to prompt for encryption.
9059
34699b85
RW
90602011-06-05 Roland Winkler <winkler@gnu.org>
9061
9062 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9063 (bibtex-search-entries): New command bound to C-c C-a.
9064 (bibtex-display-entries): New function.
9065
004dedd3
RW
90662011-06-05 Roland Winkler <winkler@gnu.org>
9067
9068 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9069 (bibtex-insert-kill): After yanking insert newline if necessary.
9070 (bibtex-initialize): Call bibtex-string-files-init only once.
9071 (bibtex-mode): Do not call easy-menu-add.
9072 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9073 (bibtex-yank): Set arg properly if nil.
9074
022fe7ce
RW
90752011-06-05 Roland Winkler <winkler@gnu.org>
9076
2b75be67
SM
9077 * textmodes/bibtex.el (bibtex-search-entry-globally):
9078 New variable.
022fe7ce
RW
9079 (bibtex-search-entry): Use it.
9080
b7c3692a
RW
90812011-06-05 Roland Winkler <winkler@gnu.org>
9082
9083 * textmodes/bibtex.el (bibtex-entry-format): New option
9084 sort-fields.
9085 (bibtex-format-entry, bibtex-reformat): Honor this option.
9086 (bibtex-parse-entry): Return fields in proper order.
9087
8eda563d
JB
90882011-06-05 Juanma Barranquero <lekktu@gmail.com>
9089
9090 * doc-view.el (doc-view-remove-if): Move computation of result out
9091 of `dolist' to silence misleading lexical-binding warning.
9092
7dbe3dbc
CY
90932011-06-04 Chong Yidong <cyd@stupidchicken.com>
9094
9095 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9096 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9097
0c33dd17
MA
90982011-06-04 Michael Albinus <michael.albinus@gmx.de>
9099
9100 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9101 "SunOS 5.10".
9102
f8f91c2b
MA
91032011-06-04 Michael Albinus <michael.albinus@gmx.de>
9104
9105 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9106 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9107 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9108 (tramp-parse-putty):
9109 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9110 (tramp-completion-function-alist-ssh)
9111 (tramp-completion-function-alist-telnet)
9112 (tramp-completion-function-alist-su)
9113 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9114 cookie.
9115
9116 * net/tramp-ftp.el:
9117 * net/tramp-sh.el:
9118 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9119 load "tramp.el" `tramp-set-completion-function'.
9120
e17d9003
SM
91212011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9122
9123 * shell.el: Require and use pcomplete.
9124 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9125 (shell-completion-vars): Set pcomplete-default-completion-function.
9126
6c4cab03
DD
91272011-06-04 Deniz Dogan <deniz@dogan.se>
9128
9129 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9130 `memq' (Bug#8799).
9131
ea9fafe0
SM
91322011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9133
9134 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9135
b3e945d3
JB
91362011-06-02 Juanma Barranquero <lekktu@gmail.com>
9137
9138 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9139 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9140 * vc/log-view.el (log-view-beginning-of-defun):
9141 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9142 (smerge-refine-forward, smerge-refine-chopup-region):
9143 Silence warning for unused `dotimes' counter variables.
9144
7d520089
SM
91452011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9146
9147 * net/tramp.el (tramp-with-progress-reporter): Rename from
9148 with-progress-reporter. Use `declare'.
9149 * net/tramp-smb.el:
9150 * net/tramp-sh.el:
9151 * net/tramp-gvfs.el: Update all uses.
9152
a1c2400f
JB
91532011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9154
9155 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9156 buffer isn't killed before making it current.
9157
2403c841
SM
91582011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9159
9160 Silence various byte-compiler warnings.
9161 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9162 `access-type' and new obsolescence format.
9163 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9164 new format.
9165 (byte-compile-check-variable): New `access-type' argument.
9166 Only warn if the access-type is obsolete.
9167 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9168 (byte-compile-variable-set): Adjust callers.
9169 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9170 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9171 setting it as obsolete.
9172 * simple.el (minibuffer-completing-symbol):
9173 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9174 access as obsolete.
9175 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9176 obsolete yet.
9177 * international/quail.el (quail-mouse-choose-completion): Remove unused
9178 code referring to obsolete var.
9179 (quail-choose-completion-string): Remove.
9180 * server.el (server-clients-with, server-kill-buffer-query-function)
9181 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9182 * proced.el (proced-send-signal):
9183 * emacs-lisp/lisp.el (lisp-complete-symbol):
9184 Replace completion-annotate-function with completion-extra-properties.
9185
2462470b
SM
91862011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9187
fb5b2591
SM
9188 * simple.el (goto-line): Use read-number.
9189 (overriding-map-is-bound): Remove.
9190 (saved-overriding-map): Change default.
9191 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9192 Take the map as argument.
9193 (universal-argument, negative-argument, digit-argument): Use it.
9194 (restore-overriding-map): Adjust.
9195 (do-auto-fill): Use fill-forward-paragraph.
9196 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9197
fd6fa53f
SM
9198 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9199 (minibuffer-inactive-mode): New major mode.
9200 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9201 the *Messages* buffer" hack.
9202 (mouse-popup-menubar): Don't burp if the event is a normal key.
9203
2462470b
SM
9204 Miscellaneous tweaks.
9205 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9206 lexical scoping as in subr.el's dolist and dotimes.
9207 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9208 Silence compiler warning.
9209 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9210 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9211 * international/ccl.el (ccl-compile): Trivial simplification.
9212 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9213 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9214 `printflag' argument.
9215 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9216 Purecopy the whole obsolescence data.
9217
108bf785
LL
92182011-06-01 Leo Liu <sdl.web@gmail.com>
9219
9220 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9221 improve doc-string as suggested by Marco Pessotto
9222 <melmothx@gmail.com>.
9223 (rcirc-print): Fix last change.
9224
30a23501
SM
92252011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9226
9227 * minibuffer.el (complete-with-action): Return nil for the metadata and
9228 boundaries of non-functional tables.
9229 (completion-table-dynamic): Return nil for the metadata.
9230 (completion-table-with-terminator): Add default case, using
9231 complete-with-action.
9232 (completion--metadata): New function.
9233 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9234 to try and avoid pathological performance problems.
9235 (completion--embedded-envvar-table): Return `category' metadata.
9236
bcd54f83
LMI
92372011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9238
9239 * subr.el (process-alive-p): New tiny convenience function.
9240
e227544d
SM
92412011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9242
9243 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9244 content but also its previous major mode.
9245
e8296fdc
HE
92462011-05-31 Helmut Eller <eller.helmut@gmail.com>
9247
4d61f28d 9248 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
9249 *Backtrace* buffer when we exit with C-M-c.
9250
620c53a6
SM
92512011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9252
9253 * minibuffer.el: Add metadata method to completion tables.
9254 (completion-category-overrides): New defcustom.
9255 (completion-metadata, completion--field-metadata)
9256 (completion-metadata-get, completion--styles)
9257 (completion--cycle-threshold): New functions.
9258 (completion-try-completion, completion-all-completions):
9259 Add `metadata' argument to choose completion-styles.
9260 (completion--do-completion): Use metadata to choose cycling.
9261 (completion-all-sorted-completions): Use metadata for sorting.
9262 Remove :completion-cycle-penalty which is not needed any more.
9263 (completion--try-word-completion): Add `metadata' argument.
9264 (minibuffer-completion-help): Check metadata for annotation function
9265 and sorting.
9266 (completion-file-name-table): Return `category' metadata.
9267 (minibuffer-completing-file-name): Make obsolete.
9268 * simple.el (minibuffer-completing-symbol): Make obsolete.
9269 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9270 completion-try-completion.
9271
1257e755
SM
92722011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9273
9274 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9275
3767e706
LL
92762011-05-30 Leo Liu <sdl.web@gmail.com>
9277
9278 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
9279 (rcirc-print): Decode all incoming messages (bug#8744).
9280 (rcirc-decode-coding-system): Allow value nil for automatic coding
9281 system detection.
3767e706 9282
d1a5d56a
GM
92832011-06-01 Glenn Morris <rgm@gnu.org>
9284
9285 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9286
e8cbec34
CY
92872011-05-29 Chong Yidong <cyd@stupidchicken.com>
9288
9289 * image.el (image-animate-max-time): Allow nil and t values.
9290 Default to nil.
9291 (create-animated-image): Doc fix.
9292 (image-animate-start): Remove second arg; just use
9293 image-animate-max-time.
9294 (image-animate-timeout): Doc fix. Args changed.
9295
9296 * image-mode.el (image-toggle-display-image): Ensure that the
9297 image spec passed to the animate timer is the same object as in
58179cce 9298 the buffer's display property (Bug#6981).
e8cbec34
CY
9299 (image-transform-properties): Doc fix.
9300
9301 * image.el (image-animate-max-time): Default to nil.
9302
159daf87
MR
93032011-05-29 Martin Rudalics <rudalics@gmx.at>
9304
9305 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9306 entire buffer list (Bug#8184).
9307
d66c4c7c
CY
93082011-05-29 Chong Yidong <cyd@stupidchicken.com>
9309
9310 * image.el (imagemagick-types-inhibit)
9311 (imagemagick-register-types): Doc fix.
9312
80aec780
DD
93132011-05-29 Deniz Dogan <deniz@dogan.se>
9314
9315 * net/rcirc.el (rcirc): Use the user's stored encryption method by
9316 default.
9317
1dd3c2d9
CY
93182011-05-29 Chong Yidong <cyd@stupidchicken.com>
9319
9320 * select.el: Don't perform clipboard-manager saving in hooks;
9321 leave the hooks empty.
9322
60e56523
LL
93232011-05-28 Leo Liu <sdl.web@gmail.com>
9324
9325 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9326 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
9327 (occur-edit-mode): New major mode (Bug#8463).
9328 (occur-after-change-function): New function.
9329 (occur-engine): Give Occur tags a read-only property.
9330
2b1e1a22
KR
93312011-05-28 Kevin Ryde <user42@zip.com.au>
9332
9333 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9334
5d344e88
CY
93352011-05-28 Chong Yidong <cyd@stupidchicken.com>
9336
8e6ca83d
CY
9337 * bindings.el (help-echo): Make the initial non-indicator dash
9338 empty on graphical terminals (Bug#7295).
9339
5d344e88
CY
9340 * files.el (auto-mode-alist): Move config rule after the
9341 in-stripping one (Bug#8547).
9342
bfbbace7
CY
9343 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9344
fbeba6e2
CY
9345 * startup.el (normal-splash-screen): Remove gratuitous mode-line
9346 setting (Bug#8740).
9347
60ed8c72
AA
93482011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
9349
4ac619f0
AA
9350 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9351 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9352 (Bug#8539).
60ed8c72 9353
23db196e
CY
93542011-05-28 Chong Yidong <cyd@stupidchicken.com>
9355
9356 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9357
5012f24c
DK
93582011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
9359
9360 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9361 (hs-hide-block-at-point, hs-find-block-beginning)
9362 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9363 (Bug#8279).
9364
6a639b16
GM
93652011-05-28 Glenn Morris <rgm@gnu.org>
9366
9367 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9368
d43eaf2c
CY
93692011-05-28 Chong Yidong <cyd@stupidchicken.com>
9370
5199bde1
CY
9371 * help-fns.el (describe-function-1): If the function is a derived
9372 major mode, print the parent mode.
9373
d43eaf2c
CY
9374 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9375 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9376
423428a8
SM
93772011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9378
0ff8e1ba 9379 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 9380 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
9381 * progmodes/etags.el (tags-completion-at-point-function):
9382 * info-look.el (info-lookup-completions-at-point): Mark as
9383 non-exclusive.
9384 (info-complete): Adjust accordingly.
9385
423428a8
SM
9386 * info-look.el: Convert to lexical-binding and completion-at-point.
9387 (info-lookup-completions-at-point): New function.
9388 (info-complete): Use it and completion-in-region.
9389
b74aa22b
DA
93902011-05-28 Drew Adams <drew.adams@oracle.com>
9391
9392 * isearch.el: Let M-e start with point at the first mismatched char.
9393 (isearch-fail-pos): New function.
9394 (isearch-edit-string): Use it.
9395
66e2e71d
DK
93962011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9397
9398 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9399
b1890b0f 94002011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
9401
9402 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9403 traversal functions for avl-trees.
9404 (avl-tree--stack): New struct.
9405 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9406 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
9407 (avl-tree--do-enter): Add optional `updatefun' arg.
9408 Change return value.
eb95d01d 9409 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
9410 (avl-tree--do-delete): Add `test' and `nilflag' args.
9411 Change return value.
eb95d01d
TC
9412 (avl-tree-member): Add optional `nilflag'
9413 (avl-tree-member-p): New function.
9414 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9415 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9416 (avl-tree-stack-empty-p): New functions.
9417
3769ddcf
TC
9418 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9419 avl-tree--del-balance1 and make it work both ways.
9420 (avl-tree--del-balance2): Remove.
9421 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9422 make it work both ways.
9423 (avl-tree--enter-balance2): Remove.
9424 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9425 New macros.
9426 (avl-tree--mapc, avl-tree-map): Add direction argument.
9427
eb95d01d 94282011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
9429
9430 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9431
a9f737ee
CY
94322011-05-27 Chong Yidong <cyd@stupidchicken.com>
9433
9434 * select.el: Support clipboard managers with built-in function
9435 x-clipboard-manager-save, via delete-frame-functions and
9436 kill-emacs-hook.
9437 (xselect-convert-to-targets): Add MULTIPLE target to list.
9438 (xselect-convert-to-save-targets): New function.
9439
c92a1e54
KH
94402011-05-27 Kenichi Handa <handa@m17n.org>
9441
9442 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9443 let-binding rfc2047-encode-encoded-words to nil.
9444
e145f188
GM
94452011-05-27 Glenn Morris <rgm@gnu.org>
9446
5ec8a862
GM
9447 * mail/emacsbug.el: Don't require url-util.
9448
4b29d9fb
GM
9449 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9450
e145f188
GM
9451 * files.el (set-auto-mode):
9452 Also respect mode: entries at the end of the file. (Bug#8586)
9453
7d15102b
GM
94542011-05-26 Glenn Morris <rgm@gnu.org>
9455
98f593b8
GM
9456 * files.el (hack-local-variables-prop-line, hack-local-variables):
9457 Downcase mode names, as seems to be traditional.
27b48e63 9458 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 9459
7d15102b
GM
9460 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9461 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
9462
51d5b4ec
JD
94632011-05-25 Julien Danjou <julien@danjou.info>
9464
9465 * textmodes/rst.el (rst-define-level-faces): Do not define face
9466 symbol if it is already defined.
9467
91513f63
VB
94682011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
9469
9470 * play/5x5.el (5x5-new-game, 5x5-randomize):
9471 Reset 5x5-solver-output to nil when a new grid is cast.
9472 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9473 these debugging traces, as defmacro breaks the compiled code.
9474
4d90d6d0
DK
94752011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9476
9477 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9478
e1b90ef6
LL
94792011-05-24 Leo Liu <sdl.web@gmail.com>
9480
9481 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9482 (vc-bzr-sha1): Adapt.
9483
d8e4b68b 9484 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
9485
9486 * bindings.el: Provide sha1 feature.
9487
db0406bb 94882011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
9489
9490 * mail/sendmail.el: Require `rfc2047'.
9491 (mail-insert-from-field): Do not perform RFC2047 encoding.
9492 (mail-encode-header): New function.
9493 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
9494 buffer to the return value of select-message-coding-system.
9495 Call mail-encode-header.
b8d747b9
KH
9496
9497 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9498
db0406bb 94992011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 9500
4d90d6d0
DK
9501 * mail/supercite.el (sc-default-cite-frame):
9502 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 9503
eb8a5e9b
GM
95042011-05-24 Glenn Morris <rgm@gnu.org>
9505
f8630703
GM
9506 * progmodes/python.el (brm-menu): Declare.
9507
8831bbed
GM
9508 * emulation/viper.el (viper-set-hooks): Declare.
9509
eb8a5e9b
GM
9510 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9511 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9512 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9513 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9514 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9515 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9516
a2a25d24
SM
95172011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9518
9519 Add an :exit-function for completion-at-point.
9520
9521 * minibuffer.el (completion--done): New fun.
9522 (completion--do-completion): Use it. New arg `expect-exact'.
9523 (minibuffer-complete, minibuffer-complete-word): Don't output message,
9524 since completion--do-completion does it for us now.
9525 (minibuffer-force-complete): Use completion--done and
9526 completion--replace. Handle sole-completion case with more care.
9527 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9528 (completion-extra-properties): New var.
9529 (completion-annotate-function): Make obsolete.
9530 (minibuffer-completion-help): Adjust accordingly.
9531 Use completion-list-insert-choice-function.
9532 (completion-at-point, completion-help-at-point):
9533 Bind completion-extra-properties.
9534 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9535 * simple.el (completion-list-insert-choice-function): New var.
9536 (completion-setup-function): Preserve it.
9537 (choose-completion): Pay attention to it, shuffle the code a bit.
9538 (choose-completion-string): New arg `insert-function'.
9539
9540 * textmodes/bibtex.el: Convert to lexical binding.
9541 (bibtex-mode-map): Use completion-at-point.
9542 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9543 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9544 (bibtex-complete): Define as obsolete alias.
9545 (bibtex-complete-internal): Remove.
9546 (bibtex-format-entry): Remove unused sub-group in regexp.
9547 * shell.el (shell--command-completion-data)
9548 (shell-environment-variable-completion):
9549 * pcomplete.el (pcomplete-completions-at-point):
9550 * comint.el (comint--complete-file-name-data): Use :exit-function
9551 instead of completion-table-with-terminator so it also works for
9552 choose-completion.
9553
e44e373d
SM
95542011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9555
4f91a816
SM
9556 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9557
782fc819
SM
9558 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9559 (bug#8710).
9560
e44e373d
SM
9561 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9562
381987c3
KM
95632011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
9564
9565 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9566 customization variable and implement: If non-nil, auto-fill will
9567 be inhibited while on topic's header line.
9568
b776bc70
VB
95692011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
9570
9571 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 9572 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
9573 always have a solution in grid size = 5 cases.
9574 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9575 (5x5-solver-output, 5x5-log-buffer): New vars.
9576 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9577 Make these variables buffer local to achieve 5x5 multi-session-ness.
9578 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9579 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9580 (5x5-solve-suggest): New funs.
9581 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9582 randomize a grid so that we ensure that there is always a solution.
9583 (5x5-make-random-grid): Allow other movement than flipping.
9584
7de88b6e
KR
95852011-05-23 Kevin Ryde <user42@zip.com.au>
9586
9587 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 9588 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
9589 advice and passes PREDICATE.
9590
b1ef1257
SM
95912011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9592
bbca48fe
SM
9593 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9594 byte-compile-lambda if it's actually a lambda.
9595
b1ef1257
SM
9596 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9597 Fix function quoting. Use backquote better.
9598
92a9cc65
YS
95992011-05-22 Yuanle Song <sylecn@gmail.com>
9600
9601 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9602 matching (Bug#8516).
9603
f0fb8059
JA
96042011-01-22 Jari Aalto <jari.aalto@cante.net>
9605
9606 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9607 different face (Bug#8178).
9608
d5b44c93
CY
96092011-05-22 Chong Yidong <cyd@stupidchicken.com>
9610
9611 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9612 defface (Bug#8144).
9613
79106a44
SM
96142011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
9615
9c848d8a
SM
9616 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9617 funcall as well (bug#8712). Warn when performing those conversions.
9618 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9619
79106a44
SM
9620 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9621
88dfa756
GM
96222011-05-22 Glenn Morris <rgm@gnu.org>
9623
9624 * files.el (hack-local-variables-prop-line): Small simplifications.
9625 (hack-local-variables, hack-local-variables-prop-line):
9626 If MODE-ONLY, return the mode, rather than just `t'.
9627
b7cf2c79
SM
96282011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9629
9630 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9631
3f1a8558
GM
96322011-05-21 Glenn Morris <rgm@gnu.org>
9633
7e4ccca3
GM
9634 * files.el (hack-local-variables-prop-line, hack-local-variables):
9635 If only interested in the mode, don't bother doing the other stuff.
9636
637d46ca
GM
9637 * image-mode.el (image-after-revert-hook):
9638 Redraw all frames on which the image is visible. (Bug#8567)
9639
973d955b
GM
9640 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
9641
3f1a8558
GM
9642 * wid-edit.el (widget-checklist-match-inline):
9643 Fix 2011-04-19 change. (Bug#8649)
9644
96479927
SM
96452011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
9646
1dcf791f
SM
9647 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9648 Also allow singlespace after single-letter capitals followed by a dot.
9649
96479927
SM
9650 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9651 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9652
35fd0881
N
96532011-05-20 Nix <nix@esperi.org.uk>
9654
9655 * files.el (basic-save-buffer-2):
9656 Fix handling of break-hardlink-on-save with non-existent files.
9657
82745640
DD
96582011-05-19 Deniz Dogan <deniz@dogan.se>
9659
9660 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 9661 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 9662
4a720484
GM
96632011-05-19 Glenn Morris <rgm@gnu.org>
9664
d1f21341
GM
9665 * progmodes/f90.el (f90-type-def-re):
9666 Handle "type, bind(c)". (Bug#8691)
9667
4a720484
GM
9668 * emacs-lisp/autoload.el (batch-update-autoloads):
9669 Set autoload-excludes by parsing loadup.el rather than Makefiles.
9670
2fb0a219
MA
96712011-05-18 Michael Albinus <michael.albinus@gmx.de>
9672
9673 * net/tramp.el (tramp-process-actions): Set "first-password-request"
9674 property for the correct connection in case of multihops.
9675
e565dd37
GM
96762011-05-18 Glenn Morris <rgm@gnu.org>
9677
c2571358 9678 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
9679 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9680
e565dd37
GM
9681 Rationalize calendar handling of day and month abbrev-arrays.
9682 * calendar/calendar.el (calendar-customized-p): New function.
9683 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9684 (calendar-day-name-array, calendar-month-name-array): Doc fix.
9685 Add :set function.
9686 (calendar-abbrev-length, calendar-day-abbrev-array)
9687 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9688 (calendar-day-abbrev-array, calendar-month-abbrev-array):
9689 Elements may no longer be nil.
9690 (calendar-day-name, calendar-month-name):
9691 Update for changed nature of abbrev arrays.
9692 * calendar/diary-lib.el (diary-name-pattern):
9693 Update for changed nature of abbrev arrays.
9694 (diary-mark-entries-1): Update calendar-make-alist calls.
9695 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9696 * calendar/cal-html.el (cal-html-day-abbrev-array):
9697 Simply inherit from calendar-day-abbrev-array.
9698
1d99a745
SM
96992011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9700
9701 * progmodes/grep.el (grep-mode): Disable default
9702 compilation-directory-matcher setting (bug#8684).
9703
7c1d9aa0
MA
97042011-05-17 Michael Albinus <michael.albinus@gmx.de>
9705
9706 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9707 instead of "head" and "tail". There were problems with SunOS 5.9,
9708 and it performs better.
9709
3952e9d8
GM
97102011-05-17 Glenn Morris <rgm@gnu.org>
9711
2dd12e7f
GM
9712 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9713
e4157b9c
GM
9714 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9715 Replace obsolete function.
9716
8e249bbd
GM
9717 * shell.el (pcomplete-parse-arguments-function): Declare.
9718
3952e9d8
GM
9719 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9720 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9721 (appt-check): Doc fixes.
9722 (appt-disp-window-function, appt-delete-window-function):
9723 Remove needless special case in custom :type.
9724 (appt-display-count): Default to 0, not nil.
9725 (appt-check): Reset appt-display-count to 0, not nil.
9726
c71a0d48 97272011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 9728
c71a0d48
GM
9729 * progmodes/python.el (python-font-lock-keywords):
9730 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 9731
31d55be9
SM
97322011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9733
9734 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9735
3bfacb2f
KR
97362011-05-16 Kevin Ryde <user42@zip.com.au>
9737
9738 * info-look.el (makefile-automake-mode): New setups, looking in
9739 automake manual, then makefile-mode.
9740 (makefile-mode): Remove automake manual, have it just in
9741 makefile-automake-mode since there's various things different or
9742 not relevant to plain make.
9743 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9744 believe a hypothetical automake-mode would go to makefile-mode,
9745 not the other way around.
9746
c8e83751
CY
97472011-05-15 Chong Yidong <cyd@stupidchicken.com>
9748
5e9e35cd
CY
9749 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9750 hunk-end tags (Bug#8672).
9751
c8e83751
CY
9752 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9753 vc-annotate-show-diff-revision-at-line (Bug#8671).
9754
50b23e5a
GM
97552011-05-14 Glenn Morris <rgm@gnu.org>
9756
7210a739
GM
9757 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9758 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
9759 (change-log-font-lock-keywords): Also handle multiple author lines
9760 with leading tabs. (Bug#8644)
7210a739 9761
4691905a
GM
9762 * calendar/appt.el (appt-check): Rename some local variables.
9763 Some simplification/reordering.
9764
50b23e5a
GM
9765 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9766 (feedmail-sendmail-f-doesnt-sell-me-out)
9767 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9768 (feedmail-debug-sit-for, feedmail-queue-express-hook)
9769 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
9770 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9771 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
9772 (feedmail-binmail-gnulinuxish-template):
9773 Rename from feedmail-binmail-linuxish-template.
9774 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9775 Use insert-buffer-substring.
9776
215cda7c
BC
97772011-05-14 Bill Carpenter <bill@carpenter.org>
9778
9779 * mail/feedmail.el (feedmail-patch-level): Increase.
9780 (feedmail-debug): New custom group.
9781 (feedmail-confirm-outgoing-timeout)
9782 (feedmail-sendmail-f-doesnt-sell-me-out)
9783 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9784 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9785 (feedmail-sender-line, feedmail-from-line)
9786 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 9787 (feedmail-spray-this-address)
215cda7c
BC
9788 (feedmail-spray-address-fiddle-plex-list)
9789 (feedmail-queue-use-send-time-for-date)
9790 (feedmail-queue-use-send-time-for-message-id)
9791 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9792 (feedmail-buffer-eating-function):
9793 Doc fixes.
9794 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9795 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9796 (feedmail-message-action-scroll-down): New functions.
9797 (feedmail-queue-directory, feedmail-queue-draft-directory):
9798 Use expand-file-name.
9799 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9800 Remove C-v help entry.
9801 (feedmail-queue-buffer-file-name): New variable.
9802 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9803 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9804 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9805 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9806 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9807 (feedmail-message-action-toggle-spray)
9808 (feedmail-run-the-queue-no-prompts)
9809 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9810 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9811 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9812 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9813 (feedmail-envelope-deducer, feedmail-fiddle-from)
9814 (feedmail-fiddle-sender, feedmail-default-date-generator)
9815 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9816 (feedmail-fiddle-spray-address)
9817 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9818 (feedmail-fiddle-list-of-fiddle-plexes)
9819 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9820 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9821 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9822 Change default. Doc fix.
9823 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9824 (feedmail-binmail-linuxish-template): New constant.
9825 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9826 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9827 (feedmail-send-it): Add debug call.
9828 Use feedmail-queue-buffer-file-name, and
9829 feedmail-send-it-immediately-wrapper.
9830 (feedmail-message-action-send): Add debug call.
9831 Use feedmail-send-it-immediately-wrapper.
9832 (feedmail-queue-express-to-queue): Add debug call.
9833 Run feedmail-queue-express-hook.
9834 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9835 (feedmail-message-action-help-blat):
9836 Rename from feedmail-queue-send-edit-prompt-help-first.
9837 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9838 Check line-endings. Handle errors better.
9839 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9840 Doc fix. Add debug call.
9841 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9842 Use feedmail-queue-send-edit-prompt-inner.
9843 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9844 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9845 from feedmail-queue-send-edit-prompt.
9846 (feedmail-queue-send-edit-prompt-help)
9847 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9848 (feedmail-tidy-up-slug): Add debug call.
9849 Respect feedmail-queue-slug-suspect-regexp.
9850 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9851 (feedmail-dump-message-to-queue): Add debug call.
9852 Expand queue-directory.
9853 (feedmail-dump-message-to-queue): Change message slightly.
9854 Use feedmail-say-chatter.
9855 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9856 (feedmail-send-it-immediately-wrapper): New function.
9857 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9858 Insert empty string rather than newline. Handle full-frame case.
9859 Use catch/throw. Use feedmail-say-chatter.
9860 (feedmail-fiddle-from): Try mail-host-address.
9861 (feedmail-default-message-id-generator): Doc fix.
9862 Bind system-time-locale. Handle missing end.
9863 (feedmail-fiddle-x-mailer): Add debug call.
9864 Handle feedmail-x-mailer-line being nil.
9865 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9866 Add debug call. Use buffer-substring-no-properties.
9867 (feedmail-say-debug, feedmail-say-chatter): New functions.
9868 (feedmail-find-eoh): Give an explicit error.
9869
42c7e61e
UJ
98702011-05-13 Ulf Jasper <ulf.jasper@web.de>
9871
c2571358 9872 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 9873 family from helvetica to sans.
c2571358 9874 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9875 etc/images/newsticker.
9876
c2571358 9877 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
9878 family from helvetica to sans.
9879
9880 * net/newst-plainview.el (newsticker-new-item-face)
9881 (newsticker-old-item-face, newsticker-immortal-item-face)
9882 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 9883 (newsticker-statistics-face): Change default family from
42c7e61e 9884 helvetica to sans.
c2571358 9885 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
9886 etc/images/newsticker.
9887
9888 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9889 (newsticker--process-auto-mark-filter-match): : Tell user about
9890 auto-marking.
9891
8497a297
DV
98922011-05-13 Didier Verna <didier@xemacs.org>
9893
9894 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
9895 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9896 TODO entries.
8497a297
DV
9897 (lisp-lambda-list-keyword-parameter-indentation)
9898 (lisp-lambda-list-keyword-parameter-alignment)
9899 (lisp-lambda-list-keyword-alignment): New customizable user options.
9900 (lisp-indent-defun-method): Improve docstring.
9901 (extended-loop-p): Fix comment.
9902 (lisp-indent-lambda-list-keywords-regexp): New variable.
9903 (lisp-indent-lambda-list): New function.
9904 (lisp-indent-259): Use it.
9905 (lisp-indent-defmethod): Support for more than one
9906 method qualifier and properly indent methods lambda-lists.
9907 (defgeneric): Provide a missing common-lisp-indent-function property.
9908
f278f87f
SM
99092011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9910
9911 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9912 bounds for the empty string (bug#8667).
9913
5233edd7
GM
99142011-05-13 Glenn Morris <rgm@gnu.org>
9915
5237a44f
GM
9916 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9917
8340026c 9918 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 9919 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 9920
5233edd7 9921 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 9922 (appt-time-msg-list): Doc fix.
a5464014 9923 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 9924
92d10796
AS
99252011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9926
9927 * progmodes/ld-script.el (ld-script-keywords)
9928 (ld-script-builtins): Update keywords list.
9929
914a0ae1
SM
99302011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9931
c89be45f
SM
9932 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9933
914a0ae1
SM
9934 * shell.el (shell-completion-vars): New function.
9935 (shell-mode):
9936 * simple.el (read-shell-command): Use it.
9937 (blink-matching-open): No need for " [...]" in minibuffer-message.
9938
98dc3df3
GM
99392011-05-12 Glenn Morris <rgm@gnu.org>
9940
9941 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9942 (appt-check): Simplify.
9943
d2fc7e3d 99442011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 9945
4d61f28d 9946 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
9947 literal "/dev/null".
9948
d2fc7e3d 99492011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
9950
9951 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9952 Fix typo.
9953
d2fc7e3d 99542011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 9955
3f254caa
SM
9956 * progmodes/which-func.el (which-function):
9957 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
9958 which might not be defined (Bug#8260).
9959
d45885f7
GM
99602011-05-12 Glenn Morris <rgm@gnu.org>
9961
9962 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9963 Let byte-compile-initial-macro-environment always take precedence.
9964
488086f4
SM
99652011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9966
9967 * net/rcirc.el: Add support for SSL/TLS connections.
9968 (rcirc-server-alist): New field `encryption'.
9969 (rcirc): Check `encryption' settings.
9970 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9971 Merge make-local-variable into `set'.
9972 (rcirc--connection-open-p): New function.
9973 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9974 the process is not a network process (e.g. running gnutls-cli).
9975 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9976 Make rcirc-(en|de)code-coding-system local here.
9977 (rcirc-mode): Merge make-local-variable into `set'.
9978 (rcirc-parent-buffer): Make permanent buffer-local.
9979 (rcirc-multiline-minor-mode): Don't do it here.
9980 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9981 there's no server buffer.
9982
7d3b9d44
GM
99832011-05-11 Glenn Morris <rgm@gnu.org>
9984
f64049c6
GM
9985 * newcomment.el (comment-kill): Prefix "unused" local.
9986
93c9df73
GM
9987 * term/w32console.el (get-screen-color): Declare.
9988
7d3b9d44
GM
9989 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9990 Handle symbol elements of byte-compile-initial-macro-environment.
9991
9e2dd53f
LL
99922011-05-10 Leo Liu <sdl.web@gmail.com>
9993
488086f4
SM
9994 * bookmark.el (bookmark-bmenu-mode-map):
9995 Bind bookmark-bmenu-search to `/'.
8b340240 9996
9e2dd53f 9997 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
9998 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9999 (Footnote-unicode): New function.
10000 (footnote-style-alist): Add unicode style to the list.
10001 (footnote-style): Doc fix.
9e2dd53f 10002
79b70037
GM
100032011-05-10 Jim Meyering <meyering@redhat.com>
10004
10005 Fix doubled-word typos.
10006 * international/quail.el (quail-insert-kbd-layout): and and -> and
10007 * kermit.el: and and -> and
10008 * net/ldap.el (ldap-search-internal): to to -> to
10009 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10010 * progmodes/js.el (js-mode): and and -> and
10011 * textmodes/artist.el (artist-move-to-xy): at at -> at
10012 (artist-draw-region-trim-line-endings): if if -> if
10013 And Safetyc -> Safety.
10014 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10015
b8f82dc1 100162011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 10017 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
10018
10019 * files.el (hack-one-local-variable-eval-safep):
10020 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10021
4f99f44b
GM
100222011-05-10 Glenn Morris <rgm@gnu.org>
10023
10024 * calendar/diary-lib.el (diary-list-entries-hook)
10025 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10026 (diary-nongregorian-marking-hook, diary-list-entries)
10027 (diary-include-other-diary-files, diary-mark-entries)
10028 (diary-mark-included-diary-files): Doc fixes.
10029
84f29e6b
JB
100302011-05-09 Juanma Barranquero <lekktu@gmail.com>
10031
10032 * misc.el: Require tabulated-list.el during compilation.
10033
9bedd73a
CY
100342011-05-09 Chong Yidong <cyd@stupidchicken.com>
10035
488086f4
SM
10036 * progmodes/compile.el (compilation-start):
10037 Run compilation-filter-hook for the async case too.
9bedd73a
CY
10038 (compilation-filter-hook): Doc fix.
10039
797c735c
DD
100402011-05-09 Deniz Dogan <deniz@dogan.se>
10041
10042 * wdired.el: Remove outdated installation comment. Fix usage
10043 comment.
10044
5f4b1dfe
JB
100452011-05-09 Juanma Barranquero <lekktu@gmail.com>
10046
10047 * misc.el: Implement new command `list-dynamic-libraries'.
10048 (list-dynamic-libraries--loaded-only-p): New variable.
10049 (list-dynamic-libraries--refresh): New function.
10050 (list-dynamic-libraries): New command.
10051
4c44026c
CY
100522011-05-09 Chong Yidong <cyd@stupidchicken.com>
10053
488086f4
SM
10054 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10055 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
10056 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10057 higher priority to avoid clobbering by gnu.
10058
027f966d
CY
100592011-05-08 Chong Yidong <cyd@stupidchicken.com>
10060
10061 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10062 if the face has existing theme settings (Bug#8454).
10063
085f5d7d
CY
100642011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10065
488086f4
SM
10066 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10067 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 10068
2a86a00c
RS
10069 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10070 special file names `.' and `..' (Bug#8259).
10071
d9c54a06
CY
100722011-05-08 Chong Yidong <cyd@stupidchicken.com>
10073
488086f4
SM
10074 * progmodes/grep.el (grep-mode-font-lock-keywords):
10075 Remove buffer-changing entries.
d9c54a06
CY
10076 (grep-filter): New function.
10077 (grep-mode): Add it to compilation-filter-hook.
10078
10079 * progmodes/compile.el (compilation-filter-hook)
10080 (compilation-filter-start): New defvars.
10081 (compilation-filter): Call compilation-filter-hook prior to
10082 updating the process mark.
10083
c4662635
SM
100842011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10085
10086 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10087
b0512a1d
EZ
100882011-05-07 Eli Zaretskii <eliz@gnu.org>
10089
605c9376
EZ
10090 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10091 mailclient-send-it even if window-system is nil. (Bug#8595)
10092
c4662635
SM
10093 * term/w32console.el (terminal-init-w32console):
10094 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
10095 background-mode. (Bug#8597)
10096
d1dc2cc2
SM
100972011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10098
10099 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10100 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10101 New functions.
10102 (defgeneric, eieio--defmethod): Use them.
10103 (eieio-defgeneric): Remove.
10104 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10105
915d1300
GM
101062011-05-07 Glenn Morris <rgm@gnu.org>
10107
a3961c3e
GM
10108 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10109 Use let rather than let*.
10110 (timeclock-find-discrep): Remove unused local.
10111
314347b9
GM
10112 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10113
915d1300
GM
10114 * calendar/appt.el (appt-time-msg-list): Doc fix.
10115
275b59b0
NF
101162011-05-06 Noah Friedman <friedman@splode.com>
10117
10118 * apropos.el (apropos-print-doc): Only use
10119 emacs-lisp-docstring-fill-column when it is bound to an integer,
10120 per that variable's documentation.
10121
6c19f744
SM
101222011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10123
10124 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 10125 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 10126
60f884b2
GM
101272011-05-06 Glenn Morris <rgm@gnu.org>
10128
5006e634
GM
10129 * calendar/appt.el (appt-message-warning-time): Doc fix.
10130 (appt-warning-time-regexp): New option.
10131 (appt-make-list): Respect appt-message-warning-time.
10132
548d0a63
GM
10133 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10134 New options.
10135 (diary-add-to-list): Strip comments from the displayed string.
10136 (diary-mode): Set comment-start and comment-end.
10137
60f884b2
GM
10138 * vc/diff-mode.el (smerge-refine-subst): Declare.
10139 (diff-refine-hunk): Don't require smerge-mode when compiling.
10140
989681bb
JB
101412011-05-06 Juanma Barranquero <lekktu@gmail.com>
10142
10143 * simple.el (list-processes): Return nil as the docstring says.
10144
a6bc05e1
MA
101452011-05-05 Michael Albinus <michael.albinus@gmx.de>
10146
10147 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10148 to "".
10149 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10150 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10151 determining of binary transfer. (Bug#7383)
10152
23c22e9a
MA
101532011-05-05 Michael Albinus <michael.albinus@gmx.de>
10154
c4662635
SM
10155 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10156 Fix port computation bug. (Bug#8618)
23c22e9a 10157
0bff894f
GM
101582011-05-05 Glenn Morris <rgm@gnu.org>
10159
b8296902
GM
10160 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10161
1f522ce8
GM
10162 * simple.el (shell-dynamic-complete-functions)
10163 (comint-dynamic-complete-functions): Declare.
10164
cf5bee67
GM
10165 * net/network-stream.el (gnutls-negotiate):
10166 * simple.el (tabulated-list-print): Fix declarations.
10167
10168 * progmodes/gud.el (syntax-symbol, syntax-point):
10169 Remove unnecessary and incorrect declarations.
10170
0bff894f
GM
10171 * emacs-lisp/check-declare.el (check-declare-scan):
10172 Handle byte-compile-initial-macro-environment in bytecomp.el
10173
9869b3ae
SM
101742011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10175
10176 Fix earlier half-done eieio-defmethod change (bug#8338).
10177 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10178 Streamline and change calling convention.
10179 (defmethod): Adjust accordingly and simplify.
10180 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10181 new eieio--defmethod.
10182 (slot-boundp): Minor CSE simplification.
10183
9c1d5ac5
MZ
101842011-05-05 Milan Zamazal <pdm@zamazal.org>
10185
10186 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10187 (glasses-make-readable): Use glasses-separate-capital-groups.
10188
455c834e
JB
101892011-05-05 Juanma Barranquero <lekktu@gmail.com>
10190
10191 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10192 (warning-series): Doc fix.
10193 (display-warning): Don't try to create the buffer if we just found it.
10194
9ed7c8cb
CY
101952011-05-04 Chong Yidong <cyd@stupidchicken.com>
10196
10197 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10198 (autoload-find-generated-file): New function.
10199 (generate-file-autoloads): Bind generated-autoload-file to
10200 buffer-file-name.
9869b3ae
SM
10201 (update-file-autoloads, update-directory-autoloads):
10202 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
10203 output file (Bug#7989).
10204 (batch-update-autoloads): Doc fix.
10205
0898ca10
JB
102062011-05-04 Juanma Barranquero <lekktu@gmail.com>
10207
10208 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10209
31dfb76c
GM
102102011-05-04 Glenn Morris <rgm@gnu.org>
10211
f330b642
GM
10212 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10213 function, so it follows changes in calendar-date-style.
10214 (diary-fancy-date-matcher): New function.
10215 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10216 (diary-fancy-font-lock-fontify-region-function):
10217 Use diary-fancy-date-pattern as a function.
10218
31dfb76c
GM
10219 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10220 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10221
48e79d6a
TZ
102222011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10223
10224 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10225 instead of positional arguments. Allow :keylist and :crlfiles
10226 arguments.
10227 (open-gnutls-stream): Call it.
10228
10229 * net/network-stream.el (network-stream-open-starttls): Adjust to
10230 call `gnutls-negotiate' with :process and :hostname arguments.
10231
dd5a5ee0
SM
102322011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10233
ef80fc09
SM
10234 * minibuffer.el (completion--message): New function.
10235 (completion--do-completion, minibuffer-complete)
10236 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10237 (completion--do-completion): Don't ignore completion-auto-help when in
10238 icomplete-mode.
10239
dd5a5ee0
SM
10240 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10241 internal encoding (e.g. tibetan zero is not whitespace).
10242 (global-whitespace-mode): Prefer save-current-buffer.
10243 (whitespace-trailing-regexp): Remove useless save-match-data.
10244 (whitespace-empty-at-bob-regexp): Minor simplification.
10245
b7d22a83
CY
102462011-05-03 Chong Yidong <cyd@stupidchicken.com>
10247
10248 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10249
5192af46
AM
102502011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10251
10252 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 10253 Use `concat' to create string for insertion.
5192af46 10254
5767d190
SM
102552011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10256
10257 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10258 Avoid open-line which runs post-self-insert-hook.
10259 (bibtex-fill-entry): Remove unused `end' var.
10260
bf242939
AM
102612011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10262
5767d190
SM
10263 * textmodes/ispell.el (ispell-add-per-file-word-list):
10264 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 10265
25666126
LL
102662011-05-03 Leo Liu <sdl.web@gmail.com>
10267
10268 * isearch.el (isearch-yank-pop): New command.
5767d190 10269 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
10270 (isearch-forward): Mention it.
10271
52d3c2d0
SM
102722011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10273
1bcace58
SM
10274 * simple.el (minibuffer-complete-shell-command): Remove.
10275 (minibuffer-local-shell-command-map): Use completion-at-point.
10276 (read-shell-command): Setup completion vars here instead.
10277 (read-expression-map): Bind TAB to symbol completion.
10278
52d3c2d0
SM
10279 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10280 error directly rather via storing it into `results'.
10281
35813471
LL
102822011-05-02 Leo Liu <sdl.web@gmail.com>
10283
10284 * vc/diff.el: Fix description.
10285
e793a940
LMI
102862011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10287
10288 * server.el (server-eval-at): New function.
10289
8de66e05
LMI
102902011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10291
10292 * net/network-stream.el (open-network-stream): Take a :nowait
10293 parameter and pass it on to `make-network-process'.
10294 (network-stream-open-plain): Ditto.
10295
dcb79f20
AS
102962011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10297
10298 * faces.el (face-spec-set-match-display): Don't match toolkit
10299 options on terminal frames.
10300
14a7fbd8
SM
103012011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10302
7eabc1be
SM
10303 * progmodes/pascal.el: Use lexical binding.
10304 (pascal-mode-map): Remove author preferences.
10305
14a7fbd8
SM
10306 * pcomplete.el (pcomplete-std-complete): Don't abuse
10307 completion-at-point.
10308
50f84510
JB
103092011-04-28 Juanma Barranquero <lekktu@gmail.com>
10310
6e087a44
JB
10311 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10312 removing code that has been dead since 1991 or so.
10313
50f84510
JB
10314 * startup.el (command-line): When warning about "_emacs", use a
10315 delayed warning to allow the user to filter it out.
10316
0ba690bd
DD
103172011-04-28 Deniz Dogan <deniz@dogan.se>
10318
10319 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10320 user has not joined.
10321
08abfaad
SM
103222011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10323
10324 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10325 aren't any completions at point.
10326
638f053a
JB
103272011-04-28 Juanma Barranquero <lekktu@gmail.com>
10328
10329 * subr.el (display-delayed-warnings): New function.
10330 (delayed-warnings-hook): New variable.
10331
8fff8daa
SM
103322011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10333
08abfaad
SM
10334 * minibuffer.el (completion-at-point, completion-help-at-point):
10335 Don't presume that a given completion-at-point-function will always
10336 use the same calling convention.
10337
8fff8daa
SM
10338 * pcomplete.el (pcomplete-completions-at-point):
10339 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10340 pcomplete-seen is non-nil.
10341 (pcomplete-comint-setup): Also recognize the new comint/shell
10342 completion functions.
10343 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10344 pcomplete-seen is non-nil.
10345
841a1577 103462011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 10347
841a1577 10348 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 10349 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 10350 the first character in the entry. This allows for code to add its
211ec907
UJ
10351 own uid to the entry.
10352 (icalendar--convert-float-to-ical): Add export of
10353 `diary-float'-entries save for those with the optional DAY
10354 argument.
10355
2a782793
DC
103562011-04-27 Daniel Colascione <dan.colascione@gmail.com>
10357
10358 * subr.el (shell-quote-argument): Use alternate escaping strategy
10359 when we spot a variable reference in a string.
10360
0438ce91
DC
103612011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10362
10363 * cus-start.el (all): Define customization for debug-on-event.
10364
841a1577 103652011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
10366
10367 * subr.el (shell-quote-argument): Escape correctly under Windows.
10368
d090ed6c
SM
103692011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10370
10371 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10372
bfd31217
MA
103732011-04-25 Michael Albinus <michael.albinus@gmx.de>
10374
d090ed6c
SM
10375 * net/tramp.el (tramp-process-actions): Add POS argument.
10376 Delete region between POS and (pos).
bfd31217 10377
d090ed6c
SM
10378 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10379 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
10380 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10381
10382 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10383 position in `tramp-process-actions' call.
10384
10385 * net/trampver.el: Update release number.
10386
e92f3bd3
SM
103872011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10388
850256b5
SM
10389 * custom.el (defcustom): Obey lexical-binding.
10390
e92f3bd3
SM
10391 Fix octave-inf completion problems reported by Alexander Klimov.
10392 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10393 Inherit from octave-mode-syntax-table.
10394 (inferior-octave-mode): Set info-lookup-mode.
10395 (inferior-octave-completion-at-point): New function.
10396 (inferior-octave-complete): Use it and completion-in-region.
10397 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10398 comint-filename-completion.
10399 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10400 symbol elements which shouldn't be word elements.
10401 (octave-font-lock-keywords, octave-beginning-of-defun)
10402 (octave-function-header-regexp): Adjust regexps accordingly.
10403 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10404
cd22b309
JB
104052011-04-25 Juanma Barranquero <lekktu@gmail.com>
10406
10407 * net/gnutls.el (gnutls-errorp): Declare before first use.
10408
8b492194
TZ
104092011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10410
10411 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10412 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 10413 default trustfile exists before going to use it. Add missing
5a5fa834 10414 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
10415 Reported by Claudio Bley <claudio.bley@gmail.com>.
10416 (open-gnutls-stream): Add usage example.
10417
10418 * net/network-stream.el (network-stream-open-starttls): Give host
10419 parameter to `gnutls-negotiate'.
10420 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 10421 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 10422
841a1577 104232011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 10424
cd22b309
JB
10425 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10426 Use correct match group (bug#8438).
05842630 10427
3ba7869c
CY
104282011-04-24 Chong Yidong <cyd@stupidchicken.com>
10429
512e3ae1
CY
10430 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10431 (package-menu--generate): New arg specifying packages to show.
10432 (package-menu-refresh, package-menu-execute, list-packages):
10433 Callers changed.
10434 (package-show-package-list): New function, replacing deleted
10435 package--list-packages (renamed because it is non-internal).
10436
10437 * finder.el (finder-list-matches): Use package-show-package-list
10438 instead of deleted package--list-packages.
10439
e92f3bd3
SM
10440 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10441 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
10442 (vc-annotate-mode-map): Bind it to RET.
10443
7031be6d
UR
104442011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10445
10446 * progmodes/etags.el (next-file): Don't use set-buffer to change
10447 buffers (Bug#8478).
10448
4ef177aa
CY
104492011-04-24 Chong Yidong <cyd@stupidchicken.com>
10450
c8d173eb
CY
10451 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10452
4ef177aa
CY
10453 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10454 (apropos-accumulator): Doc fix.
10455 (apropos-function, apropos-macro, apropos-command)
10456 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10457 (apropos-plist): Add face property.
10458 (apropos-symbols-internal): Fix indentation.
10459 (apropos-print): Simplify help, and recognize apropos-multi-type.
10460 (apropos-print-doc): Use button-type-get to extract the button's
10461 face property. Fill docstring (Bug#8352).
10462
4ffd0d6b 104632011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
10464
10465 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10466
c6c32125 10467 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 10468 (mpuz-mode-map): Use mapc.
c6c32125
JB
10469 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10470 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10471 Fix typos in docstrings.
10472
58d468b4
JB
10473 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10474 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10475
6470c3c6
JB
10476 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10477
4ffd0d6b 104782011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
10479
10480 * minibuffer.el (completion--do-completion): Avoid the "Next char
10481 not unique" prompt if icomplete-mode is enabled (Bug#5849).
10482
3ad8bad0
CY
10483 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10484 mouse-2 into unread-command-events, it is interpreted correctly.
10485
71d73c9c 10486 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 10487 (image-toggle-display): Doc fix.
71d73c9c 10488
841a1577 104892011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 10490
4ffd0d6b
GM
10491 * textmodes/page.el (what-page): Use line-number-at-pos to
10492 calculate line number (Bug#6825).
6e1dbaa9 10493
c2fb1b60
JB
104942011-04-22 Juanma Barranquero <lekktu@gmail.com>
10495
10496 * eshell/esh-mode.el (find-tag-interactive): Declare function.
10497 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10498 Pass argument NO-DEFAULT to `find-tag-interactive'.
10499
e02f48d7
JB
105002011-04-22 Juanma Barranquero <lekktu@gmail.com>
10501
10502 Lexical-binding cleanup.
10503
10504 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10505 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10506 * progmodes/ada-prj.el (ada-prj-initialize-values)
10507 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10508 (ada-prj-show-value):
10509 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10510 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10511 (antlr-invalidate-context-cache, antlr-options-menu-filter)
10512 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10513 * progmodes/bug-reference.el (bug-reference-push-button):
10514 * progmodes/fortran.el (fortran-line-length):
10515 * progmodes/glasses.el (glasses-change):
10516 * progmodes/octave-mod.el (octave-fill-paragraph):
10517 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10518 (python-pdbtrack-grub-for-buffer, python-sentinel):
10519 * progmodes/sql.el (sql-save-connection):
10520 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10521 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10522 Mark unused parameters.
10523
10524 * progmodes/compile.el (compilation--flush-directory-cache)
10525 (compilation--flush-parse, compile-internal): Mark unused parameters.
10526 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10527 (compilation-next-error-function): Remove unused variable `timestamp'.
10528
10529 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10530 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10531
10532 * progmodes/dcl-mode.el (dcl-end-of-command):
10533 Remove unused variable `start'.
10534 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10535 (dcl-option-value-basic, dcl-option-value-offset)
10536 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10537 Mark unused parameters.
10538 (dcl-save-local-variable): Remove unused variable `val'.
10539 (mode): Declare.
10540
10541 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10542 Mark unused parameters.
10543 (delphi-ignore-changes): Move before first use.
10544 (delphi-charset-token-at): Remove unused variable `start'.
10545 (delphi-else-start): Remove unused variable `if-count'.
10546 (delphi-comment-block-start, delphi-comment-block-end):
10547 Remove unused variable `kind'.
10548 (delphi-indent-line): Remove unused variable `new-point'.
10549
10550 * progmodes/ebrowse.el (ebrowse-files-list)
10551 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10552 Mark unused parameters. Don't quote `lambda'.
10553 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10554 Don't quote `lambda'.
10555 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10556 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10557 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10558 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10559 Use `ignore-errors'.
10560 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10561 (ebrowse-view/find-file-and-search-pattern)
10562 (ebrowse-view/find-member-declaration/definition):
10563 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10564 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10565 Rename parameter PREFIX-ARG to PREFIX.
10566 (ebrowse-tags-read-name): Remove unused variables `start' and
10567 `member-info'.
10568 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10569 to `tags-file'.
10570
10571 * progmodes/etags.el (local-find-tag-hook): Declare.
10572 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10573 Mark unused parameters.
10574
10575 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10576 (executable-interpret): Mark unused parameter.
10577
10578 * progmodes/flymake.el (flymake-process-sentinel)
10579 (flymake-after-change-function)
10580 (flymake-create-temp-with-folder-structure)
10581 (flymake-get-include-dirs-dot): Mark unused parameters.
10582 (flymake-safe-delete-directory): Remove unused variable `err'.
10583
10584 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10585 (speedbar-timer-fn, speedbar-line-text)
10586 (speedbar-change-expand-button-char, speedbar-delete-subblock)
10587 (speedbar-center-buffer-smartly): Declare functions.
10588 (gdb-find-watch-expression): Remove unused variable `array'.
10589 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10590 (gdb-starting): Mark unused parameters.
10591 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10592 (gdb-table-string): Remove unused variable `res'.
10593 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10594 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10595 (gdb-display-buffer): Remove unused variable `cur-size'.
10596
10597 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10598 allow lexical-binding compilation.
10599 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10600 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10601 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10602 Mark unused parameters.
10603 (gud-gdb-marker-filter): Remove unused variable `match'.
10604 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10605 lambda expressions and funcall them, instead of using `fset'.
10606
10607 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10608 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10609
10610 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10611 variable `header-beg'; use `let'.
10612
10613 * progmodes/icon.el (indent-icon-exp): Remove unused variables
10614 `restart', `last-sexp' and `at-do'.
10615
10616 * progmodes/js.el (js--debug): Mark unused parameter.
10617 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10618 (js--splice-into-items): Remove unused variable `item'.
10619 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10620
10621 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10622 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10623 (makefile-complete): Remove unused variable `try'.
10624 (makefile-fill-paragraph, makefile-match-function-end):
10625 Mark unused parameters.
10626
10627 * progmodes/octave-inf.el (inferior-octave-complete):
10628 Remove unused variable `proc'.
10629 (inferior-octave-output-digest): Mark unused parameter.
10630
10631 * progmodes/perl-mode.el (perl-calculate-indent):
10632 Remove unused variable `err'.
10633
10634 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10635 (prolog-indent-line): Mark unused parameters.
10636 (prolog-indent-line): Remove unused variable `beg'.
10637
10638 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10639 (reporter-dont-compact-list): Declare.
10640
10641 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10642 Remove unused variable `char'.
10643 (sh-debug): Mark unused parameter.
10644 (sh-get-indent-info): Remove unused variable `start'.
10645 (sh-calculate-indent): Remove unused variable `var'.
10646
10647 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10648 (simula-electric-keyword): Remove unused variable `null'.
10649 (simula-search-backward, simula-search-forward): Remove unused
10650 variables `begin' and `end'.
10651
10652 * progmodes/vera-mode.el (vera-guess-basic-syntax):
10653 Remove unused variable `pos'.
10654 (vera-electric-tab, vera-comment-uncomment-region):
10655 Mark unused parameters.
10656 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10657
7ede3b65
CY
106582011-04-22 Chong Yidong <cyd@stupidchicken.com>
10659
10660 * emacs-lisp/package.el (package--builtins, package-alist)
10661 (package-load-descriptor, package-built-in-p, package-activate)
10662 (define-package, package-installed-p)
10663 (package-compute-transaction, package-buffer-info)
10664 (package--push): Doc fix. Distinguish more clearly between
10665 version strings and version lists.
10666
121656e9
JB
106672011-04-21 Juanma Barranquero <lekktu@gmail.com>
10668
10669 Lexical-binding cleanup.
10670
10671 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10672 (5x5-make-mutate-best):
10673 * play/fortune.el (fortune-in-buffer):
10674 * play/gomoku.el (gomoku-init-display):
10675 * play/solitaire.el (solitaire, solitaire-do-check):
10676 * play/tetris.el (tetris-default-update-speed-function):
10677 Mark unused parameters.
10678
10679 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10680 (bubbles--shift): Remove unused variable `char-org'.
10681 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
10682 (bubbles--show-images): Remove unused variable `char'.
10683
10684 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10685 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10686 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10687 (decipher-analyze-buffer): Use ?\s.
10688 (decipher-make-checkpoint): Remove unused variable `mapping'.
10689
10690 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10691
10692 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10693 Remove unused variable `result'; use `let'.
10694
10695 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10696 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10697 (gametree-children-shown-p, gametree-compute-reduced-score):
10698 Use `ignore-errors'.
10699
10700 * play/handwrite.el (ps-lpr-switches): Declare.
10701 (handwrite): Remove unused variables `pmin' and `lastp'.
10702
10703 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10704
10705 * play/landmark.el (landmark-init-display)
10706 (landmark-update-naught-weights): Mark unused parameters.
10707 (landmark-y): Remove unused variable `noise'. Simplify.
10708 (landmark-human-plays): Remove unused variable `score'.
10709
10710 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10711 (mpuz-try-proposal): Remove unused variable `game'.
10712
10713 * play/zone.el (life-patterns): Declare.
10714
80f499c7
JB
107152011-04-20 Juanma Barranquero <lekktu@gmail.com>
10716
10717 * vc/vc.el (ediff-vc-internal): Declare function.
10718
024ff170
SM
107192011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10720
c0a193ea
SM
10721 * shell.el: Use lexical-binding and std completion UI.
10722 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10723 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10724 comint-preoutput-filter-functions rather than on
10725 comint-output-filter-functions.
10726 (shell-command-completion, shell--command-completion-data)
10727 (shell-filename-completion, shell-environment-variable-completion)
10728 (shell-c-a-p-replace-by-expanded-directory): New functions.
10729 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10730 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10731 (shell-dynamic-complete-environment-variable): Use them.
10732 (shell-dynamic-complete-as-environment-variable)
10733 (shell-dynamic-complete-as-command): Remove.
10734 (shell-match-partial-variable): Match past point.
10735 * comint.el: Clean up use of completion-at-point-functions.
10736 (comint-completion-at-point): New function.
10737 (comint-mode): Use it completion-at-point-functions.
10738 (comint-dynamic-complete): Make it obsolete.
10739 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10740 (comint-c-a-p-replace-by-expanded-history): New function.
10741 (comint-dynamic-complete-functions)
10742 (comint-replace-by-expanded-history): Use it.
10743 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10744 termination strings. Try harder to avoid second try-completion.
10745 (completion-in-region-mode-map): Disable bindings that don't work yet.
10746
2dbaa080
SM
10747 * comint.el: Use lexical-binding. Require CL.
10748 (comint-dynamic-complete-functions): Use comint-filename-completion.
10749 (comint-completion-addsuffix): Tweak custom type.
10750 (comint-filename-completion, comint--common-suffix)
10751 (comint--common-quoted-suffix, comint--table-subvert)
10752 (comint--complete-file-name-data): New functions.
10753 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10754 (comint-dynamic-list-filename-completions): Use them.
10755 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 10756
2dbaa080
SM
10757 * minibuffer.el (completion-in-region-mode):
10758 Keep completion-in-region-mode--predicate global.
10759 (completion-in-region--postch):
10760 Assume completion-in-region-mode--predicate is not null.
10761
c79a6f38
SM
10762 * progmodes/flymake.el (flymake-start-syntax-check-process):
10763 Obey `dir'. Simplify.
10764
024ff170
SM
10765 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10766 we're in VC after all.
10767
1c6c854e
CS
107682011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10769
10770 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 10771 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
10772 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10773
bed7f140
SM
107742011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10775
332e62ab
SM
10776 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10777 add sanity check.
10778
bed7f140
SM
10779 * obsolete/erc-hecomplete.el: Make obsolete.
10780 * obsolete/: Standardize obsolescence info in the header.
10781
f195c582
GM
107822011-04-20 Glenn Morris <rgm@gnu.org>
10783
10784 * calendar/solar.el (solar-horizontal-coordinates):
10785 Use the longitude argument rather than `calendar-longitude'.
10786 (solar-date-next-longitude): Remove unused locals.
10787
cb79b8c0
VJL
107882011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10789
10790 * whitespace.el: New version 13.2.1.
10791
107922011-04-20 felix <EmacsWiki> (tiny change)
10793
d8e4b68b 10794 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
10795 switching between major modes on a file.
10796
602ea69d
SM
107972011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10798
10799 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10800 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10801 multi-line comments as well.
10802
06b60517
JB
108032011-04-19 Juanma Barranquero <lekktu@gmail.com>
10804
10805 Lexical-binding cleanup.
10806
10807 * arc-mode.el (archive-mode-revert):
10808 * cmuscheme.el (scheme-interactively-start-process):
10809 * custom.el (custom-initialize-delay):
10810 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10811 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10812 * emacs-lock.el (emacs-lock-clear-sentinel):
10813 * ezimage.el (defezimage):
10814 * follow.el (follow-avoid-tail-recenter):
10815 * fringe.el (set-fringe-mode-1):
10816 * generic-x.el (bat-generic-mode-compile):
10817 * help-mode.el (help-info-variable, help-do-xref)
10818 (help-mode-revert-buffer):
10819 * help.el (view-emacs-todo):
10820 * iswitchb.el (iswitchb-completion-help):
10821 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10822 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10823 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10824 * locate.el (locate-update):
10825 * longlines.el (longlines-encode-region)
10826 (longlines-after-change-function):
10827 * outline.el (outline-isearch-open-invisible):
10828 * ps-def.el (declare-function, charset-dimension, char-width)
10829 (encode-char):
10830 * ps-mule.el (ps-mule-plot-string):
10831 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10832 (recentf-edit-list-select, recentf-edit-list-validate)
10833 (recentf-open-files-action):
10834 * rect.el (delete-whitespace-rectangle-line)
10835 (rectangle-number-line-callback):
10836 * register.el (window-configuration-to-register)
10837 (frame-configuration-to-register):
10838 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10839 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10840 (xselect-convert-to-targets, xselect-convert-to-delete)
10841 (xselect-convert-to-filename, xselect-convert-to-charpos)
10842 (xselect-convert-to-lineno, xselect-convert-to-colno)
10843 (xselect-convert-to-os, xselect-convert-to-host)
10844 (xselect-convert-to-user, xselect-convert-to-class)
10845 (xselect-convert-to-name, xselect-convert-to-integer)
10846 (xselect-convert-to-atom, xselect-convert-to-identity):
10847 * subr.el (declare, ignore, process-kill-without-query)
10848 (text-clone-maintain):
10849 * terminal.el (te-get-char, te-tic-sentinel):
10850 * tool-bar.el (tool-bar-make-keymap):
10851 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10852 * type-break.el (type-break-mode, type-break-noninteractive-query):
10853 * view.el (View-back-to-mark):
10854 * wid-browse.el (widget-browse-action, widget-browse-widget)
10855 (widget-browse-widgets, widget-browse-sexp):
10856 * widget.el (define-widget-keywords):
10857 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10858 Mark unused parameters.
10859
10860 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10861 (align-areas): Remove unused variable `look'.
10862 (align-region): Remove unused variables `real-end' and `pos-list'.
10863
10864 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10865
10866 * bindings.el (mode-line-modified, mode-line-remote):
10867 Mark unused parameters.
10868 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10869
10870 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10871 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10872
10873 * comint.el (comint-history-isearch-pop-state)
10874 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10875 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10876 (comint-substitute-in-file-name): Doc fix.
10877
10878 * completion.el (cmpl-statistics-block): Mark unused parameter.
10879 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10880 (save-completions-to-file, load-completions-from-file):
10881 Remove unused local variable `e'.
10882
10883 * composite.el (compose-chars): Remove unused variable `len'.
10884 (lgstring-insert-glyph): Remove unused variable `g'.
10885 (compose-glyph-string): Remove unused variables `ascent',
10886 `descent', `lbearing' and `rbearing'.
10887 (compose-glyph-string-relative): Remove unused variables
10888 `lbearing', `rbearing' and `wadjust'.
10889 (compose-gstring-for-graphic): Remove unused variables `header',
10890 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10891 (compose-gstring-for-terminal): Remove unused variables `header'
10892 and `nchars'. Use `let', not `let*'.
10893
10894 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10895 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10896 (Custom-buffer-done, custom-buffer-create-internal)
10897 (custom-browse-visibility-action, custom-browse-group-tag-action)
10898 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10899 (widget-magic-mouse-down-action, custom-toggle-parent)
10900 (custom-add-parent-links, custom-toggle-hide-variable)
10901 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10902 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10903 (custom-face-menu-create, custom-variable-menu-create, get)
10904 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10905 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10906 (customize-apropos): Remove unused variable `tests'.
10907 (custom-group-value-create): Remove unused variable `hidden-p'.
10908 (sort-fold-case): Declare.
10909
10910 * cus-theme.el (custom-reset-standard-faces-list)
10911 (custom-reset-standard-variables-list): Declare.
10912 (customize-create-theme, custom-theme-revert, custom-theme-write)
10913 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10914 Mark unused parameters.
10915
10916 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10917
10918 * delim-col.el (delimit-columns-max): Move defvar before first use.
10919
10920 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 10921 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
10922
10923 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10924 (auto-insert): Declare.
10925 (desktop-restore-file-buffer): Rename desktop-* parameters;
10926 mark unused ones.
10927 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10928 (desktop-buffer): Rename desktop-* parameters.
10929
10930 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10931 (dframe-reposition-frame-xemacs, dframe-help-echo)
10932 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10933 Mark unused parameters.
10934
10935 * dired-aux.el (backup-extract-version-start, overwrite-query)
10936 (overwrite-backup-query, rename-regexp-query)
10937 (rename-non-directory-query): Declare.
10938 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10939 (dired-add-entry): Remove unused variable `orig-file-name'.
10940 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10941 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10942 `dired-copy-preserve-time' directly.
10943 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10944 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10945
10946 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10947 (dired-virtual-revert, dired-make-relative-symlink):
10948 Mark unused parameters.
10949 (manual-program): Declare.
10950 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10951 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10952 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10953
10954 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10955
10956 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10957
10958 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10959 Declare.
10960
10961 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10962
10963 * electric.el (Electric-command-loop): Rename parameter
10964 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10965
10966 * expand.el (expand-in-literal): Remove unused variable `here'.
10967
10968 * facemenu.el (facemenu-add-new-color):
10969 Remove unused variable `docstring'.
10970
10971 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10972 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10973 (face-attr-construct): Mark unused parameter. Doc fix.
10974 (read-color): Remove unused variable `hex-string'.
10975
10976 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10977 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10978 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10979 (display-buffer-other-frame): Remove unused variable `old-window'.
10980 (kill-buffer-hook): Declare.
10981 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10982 Mark unused parameters.
10983 (after-find-file): Pass 1 to `auto-save-mode', not t.
10984
10985 * files-x.el (auto-insert): Declare.
10986 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10987
10988 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 10989 variable `buf'. Mark unused parameter.
06b60517
JB
10990 (find-lisp-insert-directory): Mark unused parameter.
10991
10992 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10993 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10994 (format-common-tail): Remove, unused.
10995 (format-deannotate-region): Remove unused variable `loc'.
10996 (format-annotate-region): Remove unused variable `p'.
10997 (format-annotate-single-property-change): Remove unused variables
10998 `default' and `tail'.
10999
11000 * forms.el (read-file-filter): Declare.
11001 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11002
11003 * frame.el (frame-creation-function-alist): Mark unused parameter.
11004 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11005
11006 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11007 Remove unused parameters.
11008 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11009 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11010
11011 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11012 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11013 (hfy-prepare-tag-map): Mark unused parameters.
11014 (htmlfontify-buffer): Use `called-interactively-p'.
11015
11016 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11017 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11018 (ibuffer-do-occur): Mark unused parameters.
11019 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11020 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11021
11022 * ibuffer.el: Don't quote `lambda'.
11023 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11024 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11025 Mark unused parameters.
11026
11027 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11028 (ido-completing-read): Mark unused parameters.
11029 (ido-copy-current-word): Mark unused parameters;
11030 remove unused variable `name'.
11031 (ido-sort-merged-list): Remove unused parameter `dirs'.
11032
11033 * ielm.el (ielm-input-sender): Mark unused parameter.
11034 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11035 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11036 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11037 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11038 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11039
11040 * image-dired.el (image-dired-display-thumbs): Remove unused
11041 variables `curr-file' and `count'.
11042 (image-dired-remove-tag): Remove unused variable `start'.
11043 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11044 variable `curr-file'
11045 (image-dired-rotate-original): Remove unused variable `temp-file'.
11046 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11047 Remove unused variable `file'.
11048 (image-dired-gallery-generate): Remove unused variable `curr'.
11049 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11050
11051 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11052
11053 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11054
11055 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11056
11057 * isearch.el (minibuffer-history-symbol): Declare.
11058 (isearch-edit-string): Remove unused variable `err'.
11059 (isearch-message-prefix, isearch-message-suffix):
11060 Mark unused parameters.
11061
11062 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11063
11064 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11065
11066 * makesum.el (double-column): Remove unused variable `cnt'.
11067
11068 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11069 (ido-ignore-item-temp-list): Declare.
11070
11071 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11072 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11073 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11074 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11075 `mouse-col-delta'.
11076
11077 * mouse-sel.el (mouse-extend-internal):
11078 Remove unused variable `orig-window-frame'.
11079
11080 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11081 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11082 Move declarations before first use.
11083 (pcomplete-opt): Mark unused parameters; doc fix.
11084
11085 * proced.el (proced-revert): Mark unused parameter.
11086 (proced-send-signal): Remove unused variable `err'.
11087
11088 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11089 Rename parameter PREFIX-ARG to ARG.
11090 (ps-basic-plot-string, ps-basic-plot-whitespace):
11091 Mark unused parameters.
11092
11093 * replace.el (replace-count): Define.
11094 (occur-revert-function): Mark unused parameters.
11095 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11096 (isearch-case-fold-search, isearch-string): Declare.
11097 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11098 bind `case-fold-search'. Remove unused variables `beg' and `end',
11099 and simplify.
11100 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11101 COUNT and bind `replace-count'.
11102 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11103 to COUNT.
11104
11105 * savehist.el (print-readably, print-string-length): Declare.
11106
11107 * shadowfile.el (shadow-expand-cluster-in-file-name):
11108 Remove unused variable `cluster'.
11109 (shadow-copy-file): Remove unused variable `i'.
11110 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11111 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11112 (shadow-define-literal-group, shadow-define-regexp-group)
11113 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11114
11115 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11116 (shell): Use `called-interactively-p'.
11117 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11118
11119 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11120 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11121 (delete-backward-char): Remove unused variable `ocol'.
11122 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11123 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11124 (event-apply-hyper-modifier, event-apply-shift-modifier)
11125 (event-apply-control-modifier, event-apply-meta-modifier):
11126 Mark unused parameters.
11127 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11128 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11129
11130 * speedbar.el (speedbar-ignored-directory-expressions)
11131 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11132 (speedbar-find-file, speedbar-dir-follow)
11133 (speedbar-directory-buttons-follow, speedbar-tag-find)
11134 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11135 (speedbar-buffers-line-directory, speedbar-buffer-click):
11136 Mark unused parameters.
11137 (speedbar-tag-file): Remove unused variable `mode'.
11138 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11139
11140 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11141
11142 * talk.el (talk): Remove unused variable `display'.
11143
11144 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11145 (tar-write-region-annotate): Mark unused parameter.
11146
11147 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11148 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11149 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11150 warning by another.
11151
11152 * time-stamp.el (time-stamp-string-preprocess):
11153 Remove unused variable `require-padding'.
11154
11155 * tree-widget.el (widget-glyph-enable): Declare.
11156 (tree-widget-action): Mark unused parameter.
11157
11158 * w32-fns.el (x-get-selection): Mark unused parameter.
11159 (autoload-make-program, generated-autoload-file): Declare.
11160
11161 * wdired.el (wdired-revert): Mark unused parameters.
11162 (wdired-xcase-word): Remove unused variable `err'.
11163
11164 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11165 (whitespace-help-scroll): Remove unused variable `data-help'.
11166
11167 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11168 (widget-image-insert, widget-after-change, default)
11169 (widget-default-format-handler, widget-default-notify)
11170 (widget-default-prompt-value, widget-info-link-action)
11171 (widget-url-link-action, widget-function-link-action)
11172 (widget-variable-link-action, widget-file-link-action)
11173 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11174 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11175 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11176 (widget-insert-button-action, widget-delete-button-action, visibility)
11177 (widget-documentation-link-action, widget-documentation-string-action)
11178 (widget-const-prompt-value, widget-regexp-match, symbol)
11179 (widget-coding-system-prompt-value)
11180 (widget-key-sequence-value-to-external, sexp)
11181 (widget-sexp-value-to-internal, character, vector, cons)
11182 (widget-choice-prompt-value, widget-boolean-prompt-value)
11183 (widget-color--choose-action): Mark unused parameters.
11184 (widget-item-match-inline, widget-choice-match-inline)
11185 (widget-checklist-match, widget-checklist-match-inline)
11186 (widget-group-match): Rename parameter VALUES to VALS.
11187 (widget-field-value-set): Remove unused variable `size'.
11188 (widget-color-action): Remove unused variables `value' and `start'.
11189
11190 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 11191 variable `dir'. Doc fix.
06b60517
JB
11192 (windmove-find-other-window): Don't pass it.
11193
11194 * window.el (count-windows): Mark unused parameter.
11195 (bw-adjust-window): Remove unused variable `err'.
11196
11197 * woman.el (woman-file-name): Remove unused variable `default'.
11198 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11199 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11200 (global-font-lock-mode): Declare.
11201 (woman-decode-region): Mark unused parameter.
11202 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11203
11204 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11205 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11206 (x-dnd-handle-moz-url): Remove unused variable `title'.
11207 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11208
11209 * xml.el (xml-parse-tag, xml-parse-attlist):
11210 Remove unused variable `pos'.
11211
bc4f7f3d
GM
112122011-04-19 Glenn Morris <rgm@gnu.org>
11213
11214 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11215 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11216 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11217 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11218 * calendar/cal-html.el (cal-html-insert-minical):
11219 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11220 (calendar-mark-date-pattern):
11221 Prefix "unused" locals.
11222
11223 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11224 optional argument `style'.
11225
11226 * calendar/appt.el (appt-make-list):
11227 * calendar/cal-china.el (calendar-chinese-date-string):
11228 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11229 (diary-hebrew-yahrzeit):
11230 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11231 * calendar/calendar.el (calendar-generate-window):
11232 * calendar/time-date.el (time-to-days):
11233 Remove unused local variables.
11234
16a43933
CY
112352011-04-18 Chong Yidong <cyd@stupidchicken.com>
11236
11237 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11238 glyphless-char-display table.
11239 (tabulated-list-glyphless-char-display): New var.
11240
7eed1860
SS
112412011-04-18 Sam Steingold <sds@gnu.org>
11242
11243 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11244 to acknowledgments.
11245
4d2d1ccd
GM
112462011-04-17 Glenn Morris <rgm@gnu.org>
11247
11248 * calendar/diary-lib.el (diary-sexp-entry):
11249 * calendar/holidays.el (holiday-sexp):
11250 Set debug-on-error rather than the removed stack-trace-on-error.
11251
239da61d
GM
112522011-04-16 Glenn Morris <rgm@gnu.org>
11253
11254 * progmodes/f90.el: Use lexical-binding.
11255 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11256
8b05752a
SM
112572011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11258
daca8ba5
SM
11259 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11260 (mail-mode): Setup mailalias completion here instead.
11261 * mail/mailalias.el: Use lexical-binding.
11262 (pattern, mailalias-done): Declare dynamic.
11263 (mail-completion-at-point-function): New function, from mail-complete.
11264 (mail-complete): Use it.
11265 (mail-completion-expand): New function.
11266 (mail-get-names): Use it.
11267 (mail-directory, mail-directory-process, mail-directory-stream):
11268 Don't use `pattern' for lexically bound arg.
11269
6f542485
SM
11270 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11271
037e7c3f
SM
11272 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11273 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11274 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11275
8b05752a
SM
11276 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11277 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11278 (byte-interactive-p): Define them again, for use when inlining
11279 old code.
11280
49093f60
JB
112812011-04-15 Juanma Barranquero <lekktu@gmail.com>
11282
11283 * loadup.el: Use `string-to-number', not `string-to-int'.
11284
b5b8e7de
SM
112852011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11286
11287 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11288 gud-gdb-complete-command.
11289 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11290 (gud-gdb-completion-at-point): New function.
11291 (gud-gdb-completions): Remove.
11292
f42efeb5
MA
112932011-04-14 Michael Albinus <michael.albinus@gmx.de>
11294
49093f60
JB
11295 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11296 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11297 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11298 whether `executable-find' is bound.
f42efeb5
MA
11299
11300 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11301
e240cc21
SM
113022011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11303
11304 * minibuffer.el (completion-in-region-mode-predicate)
11305 (completion-in-region-mode--predicate): New vars.
11306 (completion-in-region, completion-in-region--postch)
11307 (completion-in-region-mode): Use them.
11308 (completion--capf-wrapper): Also return the hook function.
11309 (completion-at-point, completion-help-at-point):
11310 Adjust and provide a predicate.
c2bd2ab0
SM
11311
11312 Preserve arg names for advice of subr and lexical functions (bug#8457).
11313 * help-fns.el (help-function-arglist): Consolidate the subr and
11314 new-byte-code cases. Add argument `preserve-names' to extract names
11315 from the docstring when needed.
11316 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11317 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11318 (ad-arglist): Use help-function-arglist's new arg.
11319 (ad-definition-type): Use cond.
11320
c183f693
JB
113212011-04-13 Juanma Barranquero <lekktu@gmail.com>
11322
06641a47
JB
11323 * autorevert.el (auto-revert-handler):
11324 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11325 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11326 Don't quote lambda.
11327
c183f693
JB
11328 * image-mode.el (image-transform-set-scale):
11329 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11330
1e3b6001
G
113312011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11332
11333 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 11334 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
11335 Upgrades via gnutls-cli are too slow to be done opportunistically.
11336
2d6af8dd
JB
113372011-04-12 Juanma Barranquero <lekktu@gmail.com>
11338
11339 * dframe.el (dframe-current-frame): Remove spurious quote.
11340
c0749a51
GM
113412011-04-12 Glenn Morris <rgm@gnu.org>
11342
088d0d61
GM
11343 * calendar/cal-tex.el (cal-tex-end-document):
11344 Try to automatically use latin1 input if needed.
11345
c0749a51
GM
11346 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11347 Don't try to cons a mark onto an empty element.
11348
5c90fde0
LL
113492011-04-11 Leo Liu <sdl.web@gmail.com>
11350
11351 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11352 buffers.
11353 (ido-kill-buffer-at-head): Support killing virtual buffers.
11354
369e974d
CY
113552011-04-10 Chong Yidong <cyd@stupidchicken.com>
11356
11357 * minibuffer.el (completion-show-inline-help): New var.
11358 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
11359 (minibuffer-force-complete, minibuffer-complete-word):
11360 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
11361
11362 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11363 to avoid interference from inline help (Bug#5849).
11364
37f1c930
LL
113652011-04-10 Leo Liu <sdl.web@gmail.com>
11366
099c39a4
JB
11367 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11368 Fix typo.
37f1c930 11369
a32d4040
CY
113702011-04-09 Chong Yidong <cyd@stupidchicken.com>
11371
11372 * image-mode.el (image-toggle-display-image): Signal an error if
11373 not in Image mode.
11374 (image-transform-mode, image-transform-resize)
11375 (image-transform-set-rotation): Doc fix.
daca8ba5 11376 (image-transform-set-resize): Delete.
a32d4040
CY
11377 (image-transform-set-scale, image-transform-fit-to-height)
11378 (image-transform-fit-to-width): Handle image-toggle-display-image
11379 and image-transform-resize directly.
11380
099c39a4 113812011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
11382
11383 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
11384 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11385 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
11386 (doc-view-mode-map): Add bindings for the new functions.
11387
099c39a4 113882011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 11389
4d61f28d 11390 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
11391 Fix typo in docstring.
11392
3726838a
EZ
113932011-04-08 Eli Zaretskii <eliz@gnu.org>
11394
04f33f1e
EZ
11395 * files.el (file-size-human-readable): Produce one digit after
11396 decimal, like "ls -lh" does.
11397
11398 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11399 the file size representation.
11400
3726838a
EZ
11401 * simple.el (list-processes): If async subprocesses are not
11402 available, error out with a clear error message.
11403
cbb59342
CY
114042011-04-08 Chong Yidong <cyd@stupidchicken.com>
11405
11406 * help.el (help-form-show): New function, to be called from C.
11407 Put help-form output in a buffer named differently than *Help*.
11408
e3971c44
EZ
114092011-04-08 Eli Zaretskii <eliz@gnu.org>
11410
11411 * files.el (file-size-human-readable): New function.
11412
11413 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11414 computing the representation inline. Don't require `cl'.
11415
12544bbe
GM
114162011-04-08 Glenn Morris <rgm@gnu.org>
11417
a1de6c6a
GM
11418 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11419
3c4671f4
GM
11420 * net/browse-url.el (browse-url-firefox):
11421 Test system-type, not system-configuration.
11422
b605679c
GM
11423 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11424 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11425 Use log-edit-empty-buffer-p. (Bug#7598)
11426
56442f0c
GM
11427 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11428 (rlogin-mode-map): Initialize in the defvar.
11429 (rlogin): Use ignore-errors.
11430
12544bbe
GM
11431 * replace.el (occur-mode-map): Some fixes for menu items.
11432
eb237b0f
AH
114332011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11434
11435 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
11436
7d668f2c
CY
114372011-04-06 Chong Yidong <cyd@stupidchicken.com>
11438
e67a13ab
CY
11439 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11440 issuing unused warnings.
11441
11442 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11443 macro directly.
11444
7d668f2c
CY
11445 * simple.el: Lisp reimplement of list-processes. Based on an
11446 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11447 (process-menu-mode): New major mode.
11448 (list-processes--refresh, list-processes):
11449 (process-menu-visit-buffer): New functions.
11450
11451 * files.el (save-buffers-kill-emacs): Don't assume any return
11452 value of list-processes, which is undocumented anyway.
11453
a83ec3c9
CY
114542011-04-06 Chong Yidong <cyd@stupidchicken.com>
11455
11456 * emacs-lisp/tabulated-list.el: New file.
11457
e91a96fe
CY
11458 * emacs-lisp/package.el: Use Tabulated List mode.
11459 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11460 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11461 table format using Tabulated List mode variables.
11462 (package--push): New macro, replacing package-list-maybe-add.
11463 (package-menu--generate): Use package--push. Renamed from
11464 package--generate-package-list.
11465 (package-menu-refresh, list-packages): Use it.
daca8ba5 11466 (package-menu--print-info): Rename from package-print-package.
e91a96fe 11467 Return insertion data instead of inserting it directly.
099c39a4
JB
11468 (package-menu-describe-package, package-menu-execute):
11469 Use tabulated-list-get-id.
e91a96fe
CY
11470 (package-menu-mark-delete, package-menu-mark-install)
11471 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
11472 (package-menu-mark-obsolete-for-deletion):
11473 Use tabulated-list-put-tag.
e91a96fe
CY
11474 (package--list-packages, package-menu-revert)
11475 (package-menu-get-package, package-menu-get-version)
11476 (package-menu-sort-by-column): Functions deleted.
11477 (package-menu-package-list, package-menu-sort-key): Vars deleted.
11478 (package-menu--status-predicate, package-menu--version-predicate)
11479 (package-menu--name-predicate)
11480 (package-menu--description-predicate): Handle arguments in the
11481 Tabulated List format.
11482 (package-list-packages-no-fetch): Call list-packages.
11483
3e214b50
JB
114842011-04-06 Juanma Barranquero <lekktu@gmail.com>
11485
11486 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 11487 (after-find-file): Don't bind it.
3e214b50
JB
11488 (revert-buffer-in-progress-p): New variable.
11489 (revert-buffer): Bind it.
11490 Pass nil for `after-find-file-from-revert-buffer'.
11491
11492 * saveplace.el (save-place-find-file-hook): Use new variable
11493 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11494
3f0f1700
GM
114952011-04-06 Glenn Morris <rgm@gnu.org>
11496
c0274801
GM
11497 * Makefile.in (AUTOGEN_VCS): New variable.
11498 (autoloads): Use $AUTOGEN_VCS.
11499
3f0f1700
GM
11500 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11501 * calendar/calendar.el (calendar-mode-map):
11502 Check for toolkit scroll bars. (Bug#8305)
11503
41ea9e48
CY
115042011-04-05 Chong Yidong <cyd@stupidchicken.com>
11505
11506 * minibuffer.el (completion-in-region--postch)
11507 (completion-in-region-mode): Remove unnecessary messages.
11508
6194c800
JB
115092011-04-05 Juanma Barranquero <lekktu@gmail.com>
11510
33256f14
JB
11511 * font-lock.el (font-lock-refresh-defaults):
11512 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11513 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11514
6194c800
JB
11515 * info.el (Info-directory-list, Info-read-node-name-2)
11516 (Info-split-parameter-string): Doc fixes.
11517 (Info-virtual-nodes): Reflow docstring.
11518 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11519 (Info-apropos-toc-nodes, info-finder, Info-get-token)
11520 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11521 Fix typos in docstrings.
11522 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11523 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11524 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11525 (Info-restore-desktop-buffer): Mark unused parameters.
11526 (Info-directory-find-file, Info-directory-find-node)
11527 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11528 (Info-virtual-index-find-node, Info-apropos-find-file)
11529 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 11530 Mark unused parameters; fix typos in docstrings.
6194c800
JB
11531 (Info-virtual-index): Remove unused local variable `nodename'.
11532
b87a8200 115332011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 11534
b87a8200
DD
11535 * net/rcirc.el: Update my e-mail address.
11536 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 11537
3b2ff876
CY
115382011-04-05 Chong Yidong <cyd@stupidchicken.com>
11539
11540 * startup.el (command-line): Save the cursor's theme-face
11541 directly, instead of using face-override-spec.
11542
11543 * custom.el (load-theme): Minor optimization in assigning faces.
11544
8d17e7ca
JB
115452011-04-04 Juanma Barranquero <lekktu@gmail.com>
11546
11547 * help-fns.el (describe-variable): Complete all variables having
11548 documentation, including keywords.
11549 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11550
2fbc1934
JB
115512011-04-04 Juanma Barranquero <lekktu@gmail.com>
11552
11553 Convert to lexical-binding.
11554
11555 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11556 (bs--get-marked-string, bs--get-modified-string)
11557 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11558 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11559 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11560
11561 * ehelp.el (electric-help-execute-extended)
11562 (electric-help-ctrl-x-prefix):
11563 * hexl.el (hexl-revert-buffer-function):
11564 * linum.el (linum-after-change, linum-after-scroll):
11565 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11566
11567 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11568
74f50695
DU
115692011-04-04 Daiki Ueno <ueno@unixuser.org>
11570
11571 * epa-dired.el:
11572 * epa-mail.el:
11573 * epa-hook.el:
11574 * epa-file.el:
11575 * epa.el:
11576 * epg.el: Use lexical binding.
11577
c11325f7
CY
115782011-04-03 Chong Yidong <cyd@stupidchicken.com>
11579
0d9e9a12
CY
11580 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11581
c11325f7 11582 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
11583 dictionary case for flyspell-mark-duplications-exceptions.
11584 Use regexp matching for languages.
c11325f7
CY
11585 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11586 default dictionary (Bug#7926).
11587
da91b5f2
CY
115882011-04-02 Chong Yidong <cyd@stupidchicken.com>
11589
099c39a4
JB
11590 * emacs-lisp/package.el (package--with-work-buffer):
11591 Recognize https URLs.
da91b5f2 11592
099c39a4
JB
11593 * net/network-stream.el: Move from gnus/proto-stream.el.
11594 Change prefix to network-stream throughout.
da91b5f2
CY
11595 (open-protocol-stream): Merge into open-network-stream, leaving
11596 open-protocol-stream as an alias. Handle nil BUFFER args.
11597
11598 * subr.el (open-network-stream): Move to net/network-stream.el.
11599
afa8e9f6
GM
116002011-04-02 Glenn Morris <rgm@gnu.org>
11601
1d2e369d
GM
11602 * find-dired.el (find-exec-terminator): New option.
11603 (find-ls-option): Test for -ls support.
11604 (find-ls-subdir-switches): Test for -b in find-ls-option.
11605 (find-dired, find-grep-dired): Doc fixes.
11606 (find-dired): Use find-exec-terminator.
11607
8abb7da8 11608 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
11609 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11610 (find-name-arg): Remove purecopy.
8abb7da8 11611
f3ca7378
GM
11612 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11613 (grep-compute-defaults): Check for `-exec COMMAND +' support.
11614 Set grep-find-use-xargs, grep-find-command, and grep-find-template
11615 accordingly. Don't add the null-device if not needed.
11616
afa8e9f6
GM
11617 * files.el (save-some-buffers): Doc fix.
11618
35eae264
EZ
116192011-04-02 Eli Zaretskii <eliz@gnu.org>
11620
11621 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11622
26b51db5
JB
116232011-04-01 Juanma Barranquero <lekktu@gmail.com>
11624
11625 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11626 Use `dolist' rather than `mapcar'.
11627
7200d79c
SM
116282011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11629
03408648 11630 Add lexical binding.
7200d79c 11631
03408648
SM
11632 * subr.el (apply-partially): Use new closures rather than CL.
11633 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11634 (dolist, dotimes): Use slightly different expansion for lexical code.
11635 (functionp): Move to C.
11636 (letrec): New macro.
11637 (with-wrapper-hook): Use it and apply-partially instead of CL.
11638 (eval-after-load): Preserve lexical-binding.
11639 (save-window-excursion, with-output-to-temp-buffer): Turn them
11640 into macros.
7200d79c 11641
03408648
SM
11642 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11643
11644 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11645 than the arglist.
11646 (help-add-fundoc-usage): Don't add `Not documented'.
11647 (help-function-arglist): Handle closures, subroutines, and new
11648 byte-code-functions.
11649 (help-make-usage): Remove leading underscores.
11650 (describe-function-1): Handle closures.
11651 (describe-variable): Use special-variable-p for completion.
11652
11653 * files.el (lexical-binding): Declare safe.
f488fb65 11654
03408648
SM
11655 * emacs-lisp/pcase.el: Don't use destructuring-bind.
11656 (pcase--memoize): Rename from pcase-memoize. Change weakness.
11657 (pcase): Add `let' pattern.
11658 Change memoization so it actually works.
11659 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11660 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11661 <let>: New case.
f488fb65 11662
03408648
SM
11663 * emacs-lisp/macroexp.el: Use lexical binding.
11664 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
11665 Don't convert ' to #' without checking that it's indeed quoting
11666 a lambda.
11667
11668 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 11669 Use eval-sexp-add-defvars.
03408648
SM
11670 (eval-sexp-add-defvars): New fun.
11671
11672 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11673
11674 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11675 Don't autoload.
11676 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11677 than the internal `byte-compile-lambda'.
11678 (defmethod): Don't hide code under quotes.
11679 (eieio-defmethod): New `code' argument.
11680
11681 * emacs-lisp/eieio-comp.el: Remove.
11682
11683 * emacs-lisp/edebug.el (edebug-eval-defun)
11684 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11685 (edebug-toggle): Avoid `eval'.
11686
11687 * emacs-lisp/disass.el (disassemble-internal): Handle new
11688 `closure' objects.
11689 (disassemble-1): Handle new byte codes.
11690
11691 * emacs-lisp/cl.el (pushnew): Silence warning.
11692
11693 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11694 (cl-byte-compile-throw): Remove.
11695 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11696
11697 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11698 closures.
11699
11700 * emacs-lisp/cconv.el: New file.
11701
11702 * emacs-lisp/bytecomp.el: Use lexical binding instead of
11703 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
11704 (byte-compile-initial-macro-environment):
11705 Handle declare-function here.
11706 (byte-compile--lexical-environment): New var.
11707 (byte-stack-ref, byte-stack-set, byte-discardN)
11708 (byte-discardN-preserve-tos): New lap codes.
11709 (byte-interactive-p): Don't use any more.
11710 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11711 New macros.
11712 (byte-compile-lapcode): Use them and handle new lap codes.
11713 (byte-compile-obsolete): Remove.
11714 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11715 (byte-compile-arglist-warn): Check late def of inlinable funs.
11716 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11717 since they should have been expanded by now.
11718 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11719 (byte-compile-from-buffer): Remove unused second arg.
11720 (byte-compile-preprocess): New function.
11721 (byte-compile-toplevel-file-form): New function to distinguish
11722 file-form calls from outside from file-form calls from hunk-handlers.
11723 (byte-compile-file-form): Simplify.
11724 (byte-compile-file-form-defsubst): Remove.
11725 (byte-compile-file-form-defmumble): Simplify now that
11726 byte-compile-lambda always returns a byte-code-function.
11727 (byte-compile): Preprocess.
11728 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11729 Remove, not used any more.
11730 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11731 (byte-compile-make-args-desc): New funs.
11732 (byte-compile-lambda): Handle lexical functions. Always return
11733 a byte-code-function.
11734 (byte-compile-reserved-constants): New var, to make up room for
11735 closed-over variables.
11736 (byte-compile-constants-vector): Obey it.
11737 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11738 (byte-compile-macroexpand-declare-function): New function.
11739 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11740 byte-code-functions.
11741 (byte-compile-form): Check obsolescence here.
11742 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11743 (byte-compile-variable-ref): Remove.
11744 (byte-compile-dynamic-variable-op): New fun.
11745 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11746 (byte-compile-variable-set): New funs.
11747 (byte-compile-discard): Add 2 args.
11748 (byte-compile-stack-ref, byte-compile-stack-set)
11749 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11750 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11751 macroexpand-all instead.
11752 (byte-compile-quote-form): Remove.
11753 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11754 (byte-compile-bind, byte-compile-unbind): New funs.
11755 (byte-compile-let): Handle let* and lexical binding.
11756 (byte-compile-let*): Remove.
11757 (byte-compile-catch, byte-compile-unwind-protect)
11758 (byte-compile-track-mouse, byte-compile-condition-case):
11759 Handle a new :fun-body form, used for lexical scoping.
11760 (byte-compile-save-window-excursion)
11761 (byte-compile-with-output-to-temp-buffer): Remove.
11762 (byte-compile-defun): Simplify.
11763 (byte-compile-stack-adjustment): New fun.
11764 (byte-compile-out): Use it.
11765 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11766
11767 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11768 handler any more.
11769
11770 * emacs-lisp/byte-opt.el: Use lexical binding.
11771 (byte-inline-lapcode): Remove (to bytecomp).
11772 (byte-compile-inline-expand): Pay attention to inlining to/from
11773 lexically bound code.
11774 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11775 any more.
11776 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11777 any more and don't call compiler-macros.
11778 (byte-compile-splice-in-already-compiled-code): Remove.
11779 (byte-code): Don't inline any more.
11780 (disassemble-offset): Receive `bytes' as argument rather than via
11781 dynamic scoping.
11782 (byte-compile-tag-number): Declare before first use.
11783 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11784 `return' even if make-spliceable.
11785 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11786 obsolete interactive-p.
11787 (byte-optimize-lapcode): Optimize new lap-codes.
11788 Don't trip up on new form of `byte-constant' lap code.
11789
11790 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11791
11792 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11793
11794 * custom.el (custom-initialize-default, custom-declare-variable):
11795 Use `defvar'.
11796
11797 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11798 New variables.
11799 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11800 (COMPILE_FIRST): Add macroexp and cconv.
11801 * makefile.w32-in: Mirror changes in Makefile.in.
11802
11803 * vc/cvs-status.el:
11804 * vc/diff-mode.el:
11805 * vc/log-edit.el:
11806 * vc/log-view.el:
11807 * vc/smerge-mode.el:
11808 * textmodes/bibtex-style.el:
11809 * textmodes/css.el:
11810 * startup.el:
11811 * uniquify.el:
da91b5f2
CY
11812 * minibuffer.el:
11813 * newcomment.el:
11814 * reveal.el:
11815 * server.el:
11816 * mpc.el:
11817 * emacs-lisp/smie.el:
11818 * doc-view.el:
11819 * dired.el:
03408648
SM
11820 * abbrev.el: Use lexical binding.
11821
0f0c1f27
EZ
118222011-04-01 Eli Zaretskii <eliz@gnu.org>
11823
11824 * info.el (info-display-manual): New function.
11825
c82b2579
SM
118262011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11827
11828 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11829
221ddf68
TH
118302011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11831
11832 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 11833 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 11834
cba6e77e
GM
118352011-03-31 Glenn Morris <rgm@gnu.org>
11836
e040639f
GM
11837 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11838
cba6e77e
GM
11839 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11840
6d0f1c9e
CS
118412011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11842
11843 * progmodes/python.el (python-default-interpreter)
11844 (python-python-command-args, python-jython-command-args)
11845 (python-which-shell, python-which-args, python-which-bufname)
11846 (python-file-queue, python-comint-output-filter-function)
11847 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11848 variables and functions.
11849
3e2d70fd
SM
118502011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11851
11852 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11853 (completion-in-region-mode): New minor mode.
11854 (completion-in-region): Use it.
11855 (completion-in-region--data, completion-in-region-mode-map): New vars.
11856 (completion-in-region--postch): New function.
11857 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11858 New vars.
11859 (completion--capf-wrapper): New function.
11860 (completion-at-point): Use it to track well-behavedness of
11861 hook functions.
11862 (completion-help-at-point): New command.
11863
f3e4086c
JM
118642011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11865
11866 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11867 syntax class to search for whitespace on a single line
11868 (Message-ID: <4D938140.4030905@redhat.com>).
11869
eb7ffc14
LL
118702011-03-30 Leo Liu <sdl.web@gmail.com>
11871
11872 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11873 New commands.
11874 (edit-abbrevs-map): Bind them here.
11875 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11876
d806ab68
KM
118772011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11878
11879 * allout.el (allout-hide-by-annotation, allout-flag-region):
11880 Reduce possibility of overlay leakage by making them volatile.
11881
11882 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11883 hash is not shared between buffers. Mode initialization is
11884 responsible for giving it a useful starting value.
11885 (allout-item-span): Reduce possibility of overlay leakage by
11886 making them volatile.
11887 (allout-widgets-count-buttons-in-region): Add diagnostic function
11888 for tracking down button overlay leaks.
11889
ea622834
LL
118902011-03-29 Leo Liu <sdl.web@gmail.com>
11891
11892 * ido.el (ido-read-internal): Use the default history var
11893 minibuffer-history if no HISTORY is specified.
11894
b62f8267
G
118952011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11896
03408648
SM
11897 * net/imap.el (imap-shell-open, imap-process-connection-type):
11898 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
11899 Kerberos, SSL, other subprocesses.
11900
947b6566
LL
119012011-03-28 Leo Liu <sdl.web@gmail.com>
11902
11903 * abbrev.el (abbrev-table-empty-p): New function.
11904 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11905 nonempty ones. (Bug#5937)
11906
5ffb62aa
JD
119072011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11908
11909 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11910
7a097943
LL
119112011-03-27 Leo Liu <sdl.web@gmail.com>
11912
11913 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11914 for foreground and background colors.
11915 (ansi-color-make-color-map): Adapt.
11916
c5b40130
LL
119172011-03-25 Leo Liu <sdl.web@gmail.com>
11918
1f48f7d2
LL
11919 * midnight.el (midnight-time-float): Remove. Note it calculates
11920 the microsecond component incorrectly and seconds-to-time does the
11921 same job.
625897ec 11922 Remove redundant (require 'timer).
1f48f7d2 11923
c5b40130
LL
11924 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11925 (ido-completions): Remove unused arguments. (Bug#8329)
11926
d86d2721
SM
119272011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11928
11929 * minibuffer.el (completion--flush-all-sorted-completions):
11930 Remove itself from hook.
11931 (completion-at-point): Let the functions perform the completion
11932 immediately and return nil or t.
11933 * comint.el (comint-dynamic-complete-functions): Now identical to
11934 completion-at-point-functions.
11935 (comint-dynamic-list-input-ring): Remove unused var `index'.
11936 (comint--match-partial-filename, comint--unquote&expand-filename):
11937 New funs, split from comint-match-partial-filename.
11938 (comint-dynamic-complete): Use completion-at-point.
11939 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11940
e8974c48
DA
119412011-03-24 Drew Adams <drew.adams@oracle.com>
11942
11943 * thingatpt.el: Support `defun'.
11944
def71b5e
LL
119452011-03-23 Leo Liu <sdl.web@gmail.com>
11946
cb5af48e
LL
11947 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11948
def71b5e
LL
11949 * help-mode.el (help-mode-finish): Tweak regexp.
11950
927c53e7
GM
119512011-03-23 Glenn Morris <rgm@gnu.org>
11952
18d05bed
GM
11953 * eshell/esh-opt.el (eshell-eval-using-options):
11954 Do not bind unused local variable `eshell-option-stub'.
11955
927c53e7
GM
11956 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11957
9d0da923
JB
119582011-03-22 Juanma Barranquero <lekktu@gmail.com>
11959
11960 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11961 keymap variable in `with-no-warnings' to avoid a warning when the
11962 keymap has been already `defconst'ed.
11963
4b978a67
LL
119642011-03-22 Leo Liu <sdl.web@gmail.com>
11965
11966 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11967 encode all chars in abbrevs; otherwise use emacs-mule or
11968 utf-8-emacs. (Bug#8308)
11969
5fd62452
JB
119702011-03-22 Juanma Barranquero <lekktu@gmail.com>
11971
0b1596c6
JB
11972 * simple.el (backward-delete-char-untabify):
11973 Avoid warning about using `delete-backward-char'.
11974
5fd62452
JB
11975 * image.el (image-type-file-name-regexps): Make it variable.
11976 `imagemagick-register-types' modifies it, and the user may want
11977 to add new extensions for known image types.
11978 (imagemagick-register-types): Throw error if not using ImageMagick.
11979
0b4e93f1
LL
119802011-03-22 Leo Liu <sdl.web@gmail.com>
11981
11982 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11983 located before rcirc-prompt-end-marker.
11984 (rcirc-complete): Error if point is not after rcirc prompt.
11985 Handle the case when table is nil.
9882e214 11986 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 11987
fccee4ab
CY
119882011-03-22 Chong Yidong <cyd@stupidchicken.com>
11989
11990 * custom.el (custom--inhibit-theme-enable): Make it affect only
11991 custom-theme-set-variables and custom-theme-set-faces.
11992 (provide-theme): Ignore custom--inhibit-theme-enable.
11993 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11994 (custom-enabling-themes): Delete variable.
d86d2721
SM
11995 (enable-theme): Accept only loaded themes as arguments.
11996 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
11997 (custom-enabled-themes): Forbid themes from setting this.
11998 Eliminate use of custom-enabling-themes.
11999 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 12000
af896da6
LL
120012011-03-21 Leo Liu <sdl.web@gmail.com>
12002
12003 * ido.el (ido-read-internal): Add ido-selected to history instead
12004 of user input.
12005
78f64af0
SM
120062011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12007
12008 * subr.el (deferred-action-list, deferred-action-function):
12009 Mark obsolete.
12010
b16ac1ec
LL
120112011-03-21 Leo Liu <sdl.web@gmail.com>
12012
810f7698
LL
12013 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12014 change on 2011-02-13 (bug#8309).
12015
b16ac1ec
LL
12016 * minibuffer.el (read-file-name-function): Change default value.
12017 (read-file-name--defaults): Rename from read-file-name-defaults.
12018 (read-file-name-default): Rename from read-file-name.
12019 (read-file-name): Call read-file-name-function.
12020
4e05e67e
GM
120212011-03-21 Glenn Morris <rgm@gnu.org>
12022
12023 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12024 Doc fixes.
12025
4359915b
CY
120262011-03-21 Chong Yidong <cyd@stupidchicken.com>
12027
12028 * cus-theme.el: Add missing provide statement.
12029 (customize-create-theme): Extract theme value correctly.
12030 (custom-theme-visit-theme): Autoload.
12031 (customize-create-theme): Prompt before inserting default faces.
12032
1fe275ee
JB
120332011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12034
12035 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12036 units and musical notes.
12037
cd394be1 120382011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
12039
12040 * ido.el (ido-read-internal): Use completing-read-default.
12041 (ido-completing-read): Fix compatibility with completing-read.
12042
7d476bde
CO
120432011-03-20 Christian Ohler <ohler@gnu.org>
12044
12045 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12046 (ert-delete-all-tests): Use `called-interactively-p' rather than
12047 `interactive-p'.
12048 (ert--make-xrefs-region): Respect END.
12049
fe0fb33e
CY
120502011-03-19 Chong Yidong <cyd@stupidchicken.com>
12051
ff854b0b
CY
12052 * dired-aux.el (dired-create-directory): Signal an error if the
12053 directory already exists (Bug#8246).
12054
fe0fb33e
CY
12055 * facemenu.el (list-colors-display): Call list-faces-display
12056 inside with-help-window.
12057 (list-colors-print): Use display property to align the final
12058 column, instead of checking window-width.
12059
576bce32
EZ
120602011-03-19 Eli Zaretskii <eliz@gnu.org>
12061
4d61f28d 12062 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
12063 windows-nt systems.
12064 (emerge-protect-metachars): Quote correctly for ms-dos and
12065 windows-nt systems.
12066
89c41d68 120672011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
12068
12069 * info.el (info-initialize): Replace all uses of `:' with
12070 path-separator for compatibility with non-Unix systems.
12071 Cache quoting of path-separator. (Bug#8258)
12072
b14e3e21 120732011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
12074
12075 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12076 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12077 (mouse-avoidance-mode): Fix typos in docstrings.
12078
4525ce3e
CY
120792011-03-19 Chong Yidong <cyd@stupidchicken.com>
12080
12081 * startup.el (package-subdirectory-regexp): Move from package.el.
12082 Omit \\` and \\', and let callers add them.
12083
12084 * emacs-lisp/package.el (package-strip-version)
12085 (package-load-all-descriptors): Add \\` and \\' to
12086 package-subdirectory-regexp before using it.
12087 (package-untar-buffer): New arg DIR; ensure that file untars only
12088 into this expected directory. Remove superfluous delete-region.
12089 (package-unpack): Caller changed.
12090 (package-tar-file-info): Use package-subdirectory-regexp.
12091
a904a09a 120922011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 12093
a904a09a
SM
12094 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12095 diff-mode-shared-map (bug#8284).
12096 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
12097
120982011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12099
12100 * calendar/time-date.el (format-seconds): Use assoc instead of
12101 assoc-string, since assoc-string doesn't exist in XEmacs.
12102
171fc304
JB
121032011-03-17 Juanma Barranquero <lekktu@gmail.com>
12104
12105 * custom.el (custom-known-themes): Reflow docstring.
12106 (custom-theme-load-path): Fix typo in docstring.
12107 (load-theme): Fix typo in error message.
12108 (custom-available-themes, custom-variable-theme-value):
12109 Use `let', not `let*'.
12110
d71990a1
JB
121112011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12112
12113 * calc/README: Mention inclusion of musical notes.
12114
12115 * calc/calc-units.el (calc-lu-quant): Rename from
12116 `calc-logunits-quantity'.
12117 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12118 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12119 (calc-db): Rename from `calc-dblevel'.
12120 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12121 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12122 (calc-np): Rename from `calc-nplevel'.
12123 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12124 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12125 (calc-lu-plus): Rename from `calc-logunits-add'.
12126 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12127 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12128 (calc-lu-minus): Rename from `calc-logunits-sub'.
12129 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12130 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12131 (calc-lu-times): Rename from `calc-logunits-mul'.
12132 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12133 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12134 (calc-lu-divide): Rename from `calc-logunits-div'.
12135 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12136 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12137
12138 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12139 functions being autoloaded.
12140
12141 * calc/calc.el (calc-lu-power-reference): Rename from
12142 `calc-logunits-power-reference'.
12143 (calc-lu-field-reference): Rename from
12144 `calc-logunits-field-reference'.
12145
7a71b18d
GM
12146 * calc/calc-help.el (calc-l-prefix-help):
12147 Mention musical note functions.
d71990a1 12148
40c2934b
SM
121492011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12150
12151 * minibuffer.el (completion-all-sorted-completions):
12152 Use :completion-cycle-penalty text property if present.
12153
b0911414
KM
121542011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12155
12156 * allout.el (allout-yank-processing): Adjust for new rebulleting
12157 regime so bullet being yanked is used without prompting the user
12158 for a choice.
12159
8a05b668
JB
121602011-03-16 Juanma Barranquero <lekktu@gmail.com>
12161
12162 * startup.el (command-line): Warn the user that _emacs is deprecated.
12163
5ba5fb81
JB
121642011-03-16 Juanma Barranquero <lekktu@gmail.com>
12165
12166 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12167 (delphi-verbose, delphi-comment-face, delphi-string-face)
12168 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12169 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12170 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12171 (delphi-new-comment-line, delphi-font-lock-defaults)
12172 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12173 Fix typos in docstrings.
12174
2dab465b
KM
121752011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12176
5ba5fb81 12177 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
12178 Invert the roles of character and string values for INSTEAD, so a
12179 string is used for the more common case of a defaulting prompt.
12180
0adf5618
SM
121812011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12182
12183 * progmodes/ruby-mode.el (ruby-backward-sexp):
12184 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12185 * play/gamegrid.el (gamegrid-make-face):
12186 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12187 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12188 * notifications.el (notifications-notify):
12189 * net/xesam.el (xesam-search-engines):
12190 * net/quickurl.el (quickurl-list-insert):
12191 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12192
d72700e5
CY
121932011-03-15 Chong Yidong <cyd@stupidchicken.com>
12194
12195 * startup.el (command-line): Update package subdirectory regexp.
12196
49c5410a
SM
121972011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12198
c6eee9aa
SM
12199 * allout.el (allout-abbreviate-flattened-numbering)
12200 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12201
49c5410a
SM
12202 * subr.el (read-char-choice): Only show the cursor after the prompt,
12203 not after the answer.
12204
047b2bb9
KR
122052011-03-15 Kevin Ryde <user42@zip.com.au>
12206
12207 * help-fns.el (variable-at-point): Skip leading quotes, if any
12208 (bug#8253).
12209
0a57d256
SM
122102011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12211
12212 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12213 warning message.
12214
77c992bc
MA
122152011-03-14 Michael Albinus <michael.albinus@gmx.de>
12216
12217 * shell.el (shell): When called interactively, offer to change the
12218 shell file name on remote hosts.
12219
eebc475d
TZ
122202011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12221
12222 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12223 integration for LDAP parameters. The host, base, user or binddn,
12224 and secret tokens can be specified in a netrc file, for instance.
12225 This is optional because an `auth-source' parameter must be
12226 specified in the search attributes.
12227
9d05d1ba
JB
122282011-03-13 Juanma Barranquero <lekktu@gmail.com>
12229
12230 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12231
09d9db2c
GM
122322011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12233
12234 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12235 into declaration. Remove redundant and harmful binding.
12236
122372011-03-12 Eli Zaretskii <eliz@gnu.org>
12238
12239 * files.el (file-ownership-preserved-p): Pass `integer' as an
12240 explicit 2nd argument to `file-attributes'. If the file's owner
12241 is the Administrators group on Windows, and the current user is
12242 Administrator, consider that a match.
12243
12244 * server.el (server-ensure-safe-dir): Consider server directory
12245 safe on MS-Windows if its owner is the Administrators group while
12246 the current Emacs user is Administrator. Use `=' to compare
12247 numerical UIDs, since they could be integers or floats.
12248
219bd536
JB
122492011-03-12 Juanma Barranquero <lekktu@gmail.com>
12250
12251 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12252
f3afd36b
MA
122532011-03-12 Michael Albinus <michael.albinus@gmx.de>
12254
12255 Sync with Tramp 2.2.1.
12256
12257 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12258
12259 * net/trampver.el: Update release number.
12260
3aaaa6f1
SM
122612011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12262
94642599
SM
12263 * progmodes/compile.el (compilation--previous-directory): Fix up
12264 various nil/dead-marker mismatches (bug#8014).
12265 (compilation-directory-properties, compilation-error-properties):
12266 Don't call it at a position past the one we're about to change.
12267
3aaaa6f1
SM
12268 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12269 Disable obsolescence warnings in the file that declares it.
12270
14239447
KM
122712011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12272
099c39a4
JB
12273 * allout-widgets.el (allout-widgets-tally):
12274 Initialize allout-widgets-tally as a hash table rather than nil to
12275 prevent mode-line redisplay warnings. Also, clarify the module
12276 description and fix a comment typo.
14239447 12277
135e287c
JB
122782011-03-11 Juanma Barranquero <lekktu@gmail.com>
12279
12280 * help-fns.el (describe-variable): Don't complete keywords.
12281 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12282
ffbf300e
CY
122832011-03-10 Chong Yidong <cyd@stupidchicken.com>
12284
ba08b241
CY
12285 * emacs-lisp/package.el (package-version-join): Impose a standard
12286 string representation for pre/alpha/beta version lists.
12287 (package-unpack-single): Standardize the directory name by passing
12288 it through package-version-join.
12289 (package-strip-rcs-id): Accept any version string that does not
12290 signal an error in version-to-list.
ffbf300e 12291
f346fd6b
MA
122922011-03-10 Michael Albinus <michael.albinus@gmx.de>
12293
12294 * simple.el (delete-trailing-whitespace): Return nil for the
12295 benefit of `write-file-functions'.
12296
ccb55d27
GM
122972011-03-10 Glenn Morris <rgm@gnu.org>
12298
5ceaac0c
GM
12299 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12300
02da65ff
GM
12301 * vc/vc-git.el (vc-git-program): New option.
12302 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12303 (vc-git--call): Use it.
12304
b2f603cc
GM
12305 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12306
5772caab
GM
12307 * cus-edit.el (Custom-newline): If no button at point, look
12308 for a subgroup button at start-of-line. (Bug#2298)
12309
ccb55d27
GM
12310 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12311
ec6ecaed
JD
123122011-03-10 Julien Danjou <julien@danjou.info>
12313
12314 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12315 `cursor-type' is nil.
12316
9d5aa01d
JB
123172011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
12318
12319 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12320
b6a5875b
KM
123212011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
12322
7a71b18d 12323 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
12324 preserves the existing header prefix, rebulleting it if necessary,
12325 rather than replacing it. This is necessary for proper operation
12326 of cooperative addons like allout-widgets.
1154d12e
JB
12327 (allout-make-topic-prefix, allout-rebullet-heading):
12328 Change SOLICIT arg to INSTEAD, and interpret additionally a string
12329 value as alternate bullet to be used, instead of prompting the user
12330 for a bullet character.
b6a5875b 12331
ee545c35
MA
123322011-03-09 Michael Albinus <michael.albinus@gmx.de>
12333
d86d2721
SM
12334 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12335 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
12336 `tramp-default-port'.
12337
c47971d7
DD
123382011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12339
12340 * net/rcirc.el (rcirc-handler-001): Remove useless
12341 with-rcirc-process-buffer.
12342 (rcirc-check-auth-status): Swap arguments to string-match.
12343
13522cb4
GM
123442011-03-09 Glenn Morris <rgm@gnu.org>
12345
0be6f4f1
GM
12346 * shell.el (shell-mode):
12347 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
12348
13522cb4
GM
12349 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12350 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
12351
515de2e3
CY
123522011-03-08 Chong Yidong <cyd@stupidchicken.com>
12353
12354 * emacs-lisp/package.el (package-refresh-contents)
12355 (package-menu-execute): Use condition-case-no-debug.
12356
b511b994
MA
123572011-03-08 Michael Albinus <michael.albinus@gmx.de>
12358
12359 * simple.el (shell-command-to-string): Use `process-file'.
12360
12361 * emacs-lisp/package.el (package-tar-file-info): Handle also
12362 remote files.
12363
d86d2721
SM
12364 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12365 Use `equal' for upload base check.
b511b994 12366
25bbfb31
AM
123672011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12368
12369 * textmodes/texinfo.el (texinfo-environments):
12370 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
12371
be996521
GM
123722011-03-08 Glenn Morris <rgm@gnu.org>
12373
e9c8529f
GM
12374 * cus-start.el (cursor-in-non-selected-windows):
12375 Fix :set quoting oddness. (Bug#8192)
12376
be996521
GM
12377 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12378 in some setf expressions. (Bug#2159)
12379
2bb5649e
CY
123802011-03-08 Chong Yidong <cyd@stupidchicken.com>
12381
12382 * custom.el (custom-available-themes): Return themes in
12383 alphabetical order.
12384
33383987 12385See ChangeLog.15 for earlier changes.
e3d51b27
MR
12386
12387;; Local Variables:
12388;; coding: utf-8
e3d51b27
MR
12389;; End:
12390
acaf905b 12391 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
12392
12393 This file is part of GNU Emacs.
12394
12395 GNU Emacs is free software: you can redistribute it and/or modify
12396 it under the terms of the GNU General Public License as published by
12397 the Free Software Foundation, either version 3 of the License, or
12398 (at your option) any later version.
12399
12400 GNU Emacs is distributed in the hope that it will be useful,
12401 but WITHOUT ANY WARRANTY; without even the implied warranty of
12402 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12403 GNU General Public License for more details.
12404
12405 You should have received a copy of the GNU General Public License
12406 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.