Doc fixes for emacs-bzr-* facilities.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
539aa513
EZ
12012-04-20 Eli Zaretskii <eliz@gnu.org>
2
3 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
4
cfc7d5da
SM
52012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6
7 * electric.el (electric-indent-post-self-insert-function): Check that
8 electric-indent-mode is enabled in current buffer.
9
5b01685c
JB
102012-04-19 Juanma Barranquero <lekktu@gmail.com>
11
12 * imenu.el (imenu-progress-message): Restore; it is "used" in
13 erc/erc-imenu.el and net/snmp-mode.el.
14
4d6769e1
JB
152012-04-19 Juanma Barranquero <lekktu@gmail.com>
16
17 * avoid.el (mouse-avoidance-mode): Mark unused arg.
18 (mouse-avoidance-nudge-mouse): Remove unused binding.
19
20 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
21
22 * descr-text.el (describe-char):
23 * progmodes/python.el (python-describe-symbol):
24 Don't call `toggle-read-only', set `buffer-read-only'.
25
26 * imenu.el (imenu-default-goto-function): Mark unused args.
27 (imenu-progress-message): Remove obsolete macro; all callers changed.
28
29 * subr.el (keymap-canonicalize): Remove unused binding.
30 (read-passwd): Mark unused arg.
31
32 * tutorial.el (tutorial--display-changes): Remove unused binding.
33 (tutorial--save-tutorial-to): Remove unused variable.
34
35 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
36 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
37 (package-generate-autoloads, package-menu--generate)
38 (package-menu--find-upgrades): Remove unused bindings.
39
40 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
41 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
42 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
43 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
44 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
45 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
46 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
47 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
48 (cua-delete-char-rectangle): Mark unused args.
49 (cua-align-rectangle): Remove unused binding.
50
51 * mail/rmail.el (compilation--message->loc)
52 (epa--find-coding-system-for-mime-charset): Declare.
53
54 * net/dbus.el (dbus-register-service): Declare.
55 (dbus-name-owner-changed-handler): Remove unused binding.
56
57 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
58 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
59 (nxml-scan-backward-within): Mark unused arg.
60 (nxml-dynamic-markup-word): Remove unused binding.
61
62 * mouse.el (mouse-menu-major-mode-map):
63 * emacs-lisp/authors.el (authors-scan-change-log)
64 (authors-add-to-author-list):
65 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
66 * emacs-lisp/smie.el (smie-auto-fill):
67 * mail/sendmail.el (mail-bury):
68 * mail/unrmail.el (unrmail):
69 * net/tls.el (open-tls-stream):
70 * textmodes/picture.el (picture-mouse-set-point):
71 Remove unused bindings.
72
8c8fc5df
MA
732012-04-19 Michael Albinus <michael.albinus@gmx.de>
74
75 * net/tramp.el (tramp-action-password): Let-bind
76 `enable-recursive-minibuffers' to t.
77
a77b0ac9
SS
782012-04-18 Sam Steingold <sds@gnu.org>
79
80 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
81 instead of 'string to accommodate values like [f11].
82 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
83 * progmodes/gdb-mi.el: Likewise.
84
12a106a9
LL
852012-04-18 Leo Liu <sdl.web@gmail.com>
86
87 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
88 current buffer.
89 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
90 LOCAL is nil.
91
bc6494ef
CY
922012-04-18 Chong Yidong <cyd@gnu.org>
93
94 * simple.el (line-move): Use forward-line if in batch mode
95 (Bug#11053).
96
c09c46b2
CS
972012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
98
99 * files.el (after-find-file): Do not try to add a final newline if
100 the buffer is read-only (Bug#11156).
101
5f6530ea
RS
1022012-04-17 Richard Stallman <rms@gnu.org>
103
104 * mail/rmail.el (rmail-start-mail):
105 Pass (rmail-mail-return...) for the return-action.
106 Pass (rmail-yank-current-message...) for the yank-action.
107 (rmail-yank-current-message): New function.
108 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
109 (rmail-reply): Likewise.
110 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
111
112 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 113 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
114 buffer, not newbuf.
115
197b6f3c
JB
1162012-04-17 Juanma Barranquero <lekktu@gmail.com>
117
118 * server.el (server-ensure-safe-dir): Simplify.
119
2311d8e5 1202012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 121
2311d8e5
GM
122 * emacs-lisp/smie.el: Provide smarter auto-filling.
123 (smie-auto-fill): New function.
124 (smie-setup): Use it.
98fb480e 125
2311d8e5
GM
126 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
127
1282012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
129
130 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
131 (comment-indent): Use it.
132
2311d8e5 1332012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
134
135 * ses.el: The overall change is to add cell renaming, that is
136 setting fancy names for cell symbols other than name matching
137 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 138 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 139 (ses-create-cell-variable): New defun.
2311d8e5 140 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
141 (ses-relocate-formula): Relocate formulas only for cells the
142 symbols of which are not renamed, i.e. symbols whose names do not
143 match regexp "\\`[A-Z]+[0-9]+\\'".
144 (ses-relocate-all): Relocate values only for cells the symbols of
145 which are not renamed.
146 (ses-load): Create cells variables as the (ses-cell ...) are read,
147 in order to check row col consistency with cell symbol name only
148 for cells that are not renamed.
149 (ses-replace-name-in-formula): New defun.
150 (ses-rename-cell): New defun.
4bdf2ad2 151
fc72b15c
PO
1522012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
153
154 * progmodes/perl-mode.el (perl-indent-parens-as-block):
155 New option (bug#11118).
156 (perl-calculate-indent): Respect it.
157
12e10e61
GM
1582012-04-17 Glenn Morris <rgm@gnu.org>
159
160 * dired-aux.el (dired-mark-read-string): Doc fix.
161
30009afd
DA
1622012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
163
164 * dired-aux.el (dired-mark-read-string): Offer optional completion.
165 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
166
41f03f4d
GM
1672012-04-17 Glenn Morris <rgm@gnu.org>
168
169 * mouse.el (mouse-drag-track):
170 * speedbar.el (speedbar-frame-mode):
171 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
172
f45f90f3
LL
1732012-04-16 Leo Liu <sdl.web@gmail.com>
174
175 * progmodes/python.el: Trivial cleanup.
176
94ee8db5
GM
1772012-04-16 Glenn Morris <rgm@gnu.org>
178
121b8917
GM
179 * vc/vc.el (vc-string-prefix-p):
180 * vc/pcvs-util.el (cvs-string-prefix-p):
181 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
182 * mpc.el (mpc-string-prefix-p):
183 Make all of these into obsolete aliases for string-prefix-p.
184 Update callers.
185 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
186
1197ecfa
GM
187 * textmodes/two-column.el: Move custom options to the start.
188 (frame-width): Remove compat definition.
189 (2C-associate-buffer, 2C-dissociate):
190 Use with-current-buffer rather than save-excursion.
191 (2C-dissociate): Force a mode-line update.
192 (2C-autoscroll): Use ignore-errors.
193
099e7202
GM
194 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
195 Autoload trivia.
196
bf350d6a
GM
197 * emacs-lisp/cl-extra.el (*random-state*):
198 Remove unnecessary declaration.
199
0e829eab
GM
200 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
201
e3ad7552
GM
202 * play/cookie1.el (cookie-snarf):
203 Give an explicit error if input file cannot be read.
204
68892d27
GM
205 * play/yow.el (yow-file): Use expand-file-name rather than concat.
206
20f0c46d
GM
207 * progmodes/perl-mode.el (c-macro-expand):
208 Remove unnecessary autoload (it is in loaddefs.el).
209
5a0978ce
GM
210 * textmodes/picture.el (picture-desired-column)
211 (picture-update-desired-column): Convert comments to doc-strings.
212 (picture-substitute): Remove function.
213 (picture-mode-map): Initialize in the defvar.
214
6b955486
GM
215 * woman.el: Remove eval-after-load for tar-mode.
216 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
217 (woman-tar-extract-file): Autoload it.
218
94ee8db5
GM
219 * frame.el (automatic-hscrolling): Make this alias obsolete.
220
177eca34
AM
2212012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
222
223 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 224 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
225 (ispell-dictionary-base-alist): Revert to original XEmacs
226 friendly version for default. [:alpha:] will be added in
227 `ispell-set-spellchecker-params' if needed
177eca34 228
c505aaeb
CY
2292012-04-16 Chong Yidong <cyd@gnu.org>
230
231 * image.el (imagemagick--extension-regexp): New variable.
232 (imagemagick-register-types): Use it.
233 (imagemagick-types-inhibit): Add :set function. Allow new value
234 of t to inhibit all types.
235
236 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
237 so we can preload it.
238
239 * loadup.el (fboundp): Preload regexp-opt, needed by
240 imagemagick-register-types.
241
60efac0f
CY
2422012-04-15 Chong Yidong <cyd@gnu.org>
243
244 * frame.el (scrolling): Remove nearly unused customization group.
245
246 * scroll-all.el (scroll-all-mode): Move to windows group.
247
5dd1713e
CY
2482012-04-15 Chong Yidong <cyd@gnu.org>
249
250 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
251
e6fd457e
CY
2522012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
253
254 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 255 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 256
e153c136
GM
2572012-04-15 Glenn Morris <rgm@gnu.org>
258
259 * simple.el (process-file-side-effects): Doc fix.
260
e6fd457e 2612012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
262
263 * international/mule-cmds.el (set-language-environment): Doc fix.
264
3603c3b1
JB
2652012-04-14 Juanma Barranquero <lekktu@gmail.com>
266
267 * server.el (server-auth-key, server-generate-key): Doc fixes.
268 (server-get-auth-key): Doc fix. Use `string-match-p'.
269 (server-start): Reflow docstring.
270
e6de100c
LI
2712012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
272
273 * server.el (server-generate-key): `called-interactively-p'
274 requires a parameter.
275
29734c21
MN
2762012-04-14 Michal Nazarewicz <mina86@mina86.com>
277
278 * server.el (server-auth-key): New variable.
75f1671a 279 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
280 (server-start): Use the new variable and functions to allow
281 setting a permanent server key (bug#9423).
282
d65c9521
LL
2832012-04-14 Leo Liu <sdl.web@gmail.com>
284
285 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
286
5ae255c7
PE
2872012-04-14 Paul Eggert <eggert@cs.ucla.edu>
288
289 Spelling fixes.
290 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
291 Emacs uses American spelling.
292
d5e6342e
JB
2932012-04-14 Juanma Barranquero <lekktu@gmail.com>
294
295 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
296 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
297 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
298 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
299
ab036cd7
SM
3002012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
301
302 * progmodes/which-func.el (which-func-modes): Change default.
303
35dc09a1 3042012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
305
306 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
307 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
308
35dc09a1 3092012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
310
311 * custom.el (custom-theme-set-variables): Doc fix.
312
35dc09a1 3132012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
314
315 * international/mule.el (set-auto-coding-for-load): Doc fix.
316
35dc09a1 3172012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 318
35dc09a1
GM
319 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
320 imenu work again for Objective C Mode. Correct the *-index values,
321 these having been disturbed by a previous change in 2011-08.
57f845ee 322
0de3da9f
AM
323 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
324 Correct two search limits.
325
35dc09a1 3262012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
327
328 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
329
35dc09a1 3302012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
331
332 * international/characters.el: Fix sorting.
333
35dc09a1 3342012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
335
336 * international/characters.el: Add more missing Latin case pairs.
337
35dc09a1 3382012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
339
340 * files.el (dir-locals-set-class-variables): Doc fix.
341
35dc09a1 3422012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 343
3f1b5bf8
EZ
344 * international/characters.el: Add set-case-syntax-pair call for
345 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
346 counterpart. (Bug#11209)
347
9f847f41
EZ
348 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
349
35dc09a1 3502012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
351
352 * calendar/holidays.el (calendar-check-holidays): Doc fix.
353
35dc09a1 3542012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 355
35dc09a1
GM
356 * textmodes/ispell.el (ispell-dictionary-base-alist):
357 Add data for Hebrew.
e2627d21 358
35dc09a1 3592012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 360
35dc09a1
GM
361 * net/rcirc.el (rcirc-cmd-quit):
362 Revert 2012-03-18 change (Bug#11192).
5c14e333 363
35dc09a1 3642012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
365
366 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
367
35dc09a1 3682012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 369
4517fe3a
SM
370 * minibuffer.el (completion-in-region-mode-map):
371 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 372
b472a594
VD
3732012-04-13 Vivek Dasmohapatra <vivek@etla.org>
374
375 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
376
09b95ce3
MY
3772012-04-13 Masatake YAMATO <yamato@redhat.com>
378
379 * minibuffer.el (minibuffer-local-filename-syntax): New variable
380 to allow `C-M-f' and `C-M-b' to move to the nearest path
381 separator (bug#9511).
382
4b63a9ca
LI
3832012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
384
385 * avoid.el: Require cl when compiling. And also move the
386 `provide' to the end.
387
7b55b8bf
TV
3882012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
389
390 * avoid.el (mouse-avoidance-banish-position): New variable.
391 (mouse-avoidance-banish-destination): Use it (bug#10165).
392
adedaa1f
LL
3932012-04-13 Leo Liu <sdl.web@gmail.com>
394
395 * progmodes/which-func.el (which-func-modes): Add objc-mode.
396
70e74021
KB
3972012-04-13 Ken Brown <kbrown@cornell.edu>
398
399 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 400 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
401 (browse-url-filename-alist): For the same reason, don't modify
402 file:// URLs on Cygwin.
403
e75e89ba
SM
4042012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
405
406 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
407 the region on shift if the binding is already shifted (bug#11221).
408
82f289a4
GM
4092012-04-12 Glenn Morris <rgm@gnu.org>
410
411 * mail/mailpost.el: Move to obsolete/.
412
d333dc4c
DA
4132012-04-12 Drew Adams <drew.adams@oracle.com>
414
415 * imenu.el (imenu--generic-function): Ignore invisible definitions
416 (bug#10123).
417
0d15b5ba
VD
4182012-04-12 Vivek Dasmohapatra <vivek@etla.org>
419
420 * hexl.el (hexl-bits): New variable.
421 (hexl-options): Mention the variable in the doc string.
75f1671a 422 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 423 (hexl-mode): Mention the new variable.
75f1671a
JB
424 (hexl-mode, hexl-current-address, hexl-current-address):
425 Use the displen.
0d15b5ba
VD
426 (hexl-ascii-start-column): New function.
427 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
428 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
429
64a440db
AM
4302012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
431
432 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
433 '("-i" ENCODING), in 2 separate command-line arguments, to specify
434 the encoding, as expected by hunspell.
435
6decb6c2
SM
4362012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
437
438 * battery.el (battery--linux-sysfs-regexp): New const.
439 (battery-status-function): Use it. Remove yeeloong special case.
440 (battery-yeeloong-sysfs): Remove.
441 (battery-echo-area-format): Remove yeeloong special case.
442
088be6fb
SM
4432012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
444
6622e416
SM
445 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
446 Reported by Noah Friedman.
447
088be6fb
SM
448 * subr.el (read-passwd): Use read-string.
449
b49f886e
LMI
4502012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
451
452 * vcursor.el (vcursor-move): Increase the priority of the overlay
453 (bug#9663).
454
a63067fc
DD
4552012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
456
457 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
458 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
459
ac3cf14a
WS
4602012-04-11 William Stevenson <yhvh2000@gmail.com>
461
462 * textmodes/artist.el (artist-mode): Convert artist-mode to use
463 define-minor-mode (bug#10760).
464
c4fc691b 4652012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 466
4d6769e1 467 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
468 that directories matching `grep-find-ignored-files' won't be
469 pruned (bug#10351).
470
af23e2e5
CY
4712012-04-11 Chong Yidong <cyd@gnu.org>
472
473 * startup.el (command-line): Remove support for long-obsolete
474 variable font-lock-face-attributes.
475
ab7ce8c1
GM
4762012-04-11 Glenn Morris <rgm@gnu.org>
477
478 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
479
de8c03dc
SM
4802012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
481
482 * window.el (window--state-get-1): Obey window-point-insertion-type.
483
050cc68b
LB
4842012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
485
486 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
487 to previous function when point is on the first character of a
75f1671a 488 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 489
a38c310c
GM
4902012-04-11 Glenn Morris <rgm@gnu.org>
491
effed0c2
GM
492 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
493 not just file-errors.
494
a38c310c
GM
495 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
496 (vc-bzr-sha1): Use internal sha1.
497
0221e323
SM
4982012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
499
500 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
501
43956923
SG
5022012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
503
504 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
505 that start in the middle of the line (bug#10496).
506
6a8c9eaf
DN
5072012-04-10 Dan Nicolaescu <dann@gnu.org>
508
509 * battery.el (battery-linux-proc-acpi): Only one battery is
510 discharged at a time, but that seems to confuse battery.el when
511 computing `rate-type' for the battery not being discharged
512 (bug#10332).
513
1930bf5d
SM
5142012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
515
2a718f6f
SM
516 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
517
599430d0
SM
518 * international/quail.el: Use dolist and simplify.
519 (quail-define-package, quail-update-keyboard-layout)
520 (quail-define-rules): Use dolist.
521 (quail-insert-kbd-layout, quail-get-translation): CSE.
522
a2754b6c
SM
523 * tmm.el: Use dolist, remove left over hook.
524 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
525 Use dolist.
526 (calendar-load-hook): Don't mess with it.
527
1930bf5d
SM
528 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
529 Use derived-mode-p. Run the diff asynchronously.
530
9f67961c
LMI
5312012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
532
533 * obsolete/mouse-sel.el: Add an Obsolete-since header.
534
2a8ce227
JB
5352012-04-10 Juanma Barranquero <lekktu@gmail.com>
536
537 * misc.el: Display absolute path of loaded DLLs (bug#10424).
538 (list-dynamic-libraries--loaded): New function.
539 (list-dynamic-libraries--refresh): Use it.
540
8f33b5f8
NW
5412012-04-10 Nathan Weizenbaum <nweiz@google.com>
542
1930bf5d
SM
543 * progmodes/python.el (python-fill-paragraph):
544 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
545 disabled (bug#7018).
546
b12f0439
L
5472012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
548
1930bf5d 549 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
550 DOS/MS Windows for the Baltic languages. There are still plenty
551 of texts written in this encoding/codepage (bug#6519).
b12f0439 552
57c3bd01
GM
5532012-04-10 Glenn Morris <rgm@gnu.org>
554
555 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
556 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
557
6c3eab30
FA
5582012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
559
1930bf5d 560 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
561 next-line "n" and previous-line "p" in order to make recentf more
562 consistent with ibuffer, dired or org-mode (bug#9387).
563
24d78a88
LMI
5642012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
565
bc72b5d9
LMI
566 * image.el (put-image): Return the overlay created instead of the
567 optional input string (bug#7834). Note that this may break code
568 that is (for some reason or other) depending on `put-image'
569 returning the string.
570
bd2dba5a
LMI
571 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
572
74beb59f
LMI
573 * simple.el (zap-to-char): Allow zapping using input methods
574 (bug#1580).
575
24d78a88
LMI
576 * textmodes/fill.el (fill-region): Leave point and mark where they
577 were before filling (bug#5399).
578
263f20cd
GM
5792012-04-09 Glenn Morris <rgm@gnu.org>
580
581 * version.el (emacs-bzr-get-version):
582 Handle lightweight checkouts of local branches.
583
58d1f797
AS
5842012-04-09 Andreas Schwab <schwab@linux-m68k.org>
585
263f20cd 586 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 587
b4d3bc10
CY
5882012-04-09 Chong Yidong <cyd@gnu.org>
589
590 * custom.el (custom-variable-p): Return nil for non-symbol
591 arguments instead of signaling an error.
592 (user-variable-p): Obsolete alias for custom-variable-p.
593
594 * apropos.el (apropos-variable):
595 * files-x.el (read-file-local-variable):
596 * simple.el (set-variable):
597 * woman.el (woman-mini-help):
598 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
599
fd06db5d
GM
6002012-04-09 Glenn Morris <rgm@gnu.org>
601
e5fcdb5e
GM
602 * startup.el (normal-top-level): Don't look for leim-list.el
603 in places where it will not be found. (Bug#910)
604
fd06db5d
GM
605 * international/mule-cmds.el (set-default-coding-systems):
606 * files.el (normal-mode):
607 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
608 This function was removed with ucs-tables.el in 2008.
609
b39bb7e1
EZ
6102012-04-08 Eli Zaretskii <eliz@gnu.org>
611
612 * textmodes/ispell.el (ispell-check-version): For hunspell, set
613 ispell-encoding8-command to "-i", without a trailing space.
614 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
615 separate command-line arguments, to specify the encoding, since
616 that's how hunspell expects it.
617
5c5b8e23
GM
6182012-04-08 Glenn Morris <rgm@gnu.org>
619
620 * loadup.el: Load bindings before cus-start.
621 This reduces somewhat the number of "rogue" settings in emacs -Q.
622
a1ed8b05
GM
6232012-04-07 Glenn Morris <rgm@gnu.org>
624
625 * version.el (emacs-bzr-get-version): New function.
dfae128a 626 (emacs-bzr-version): New variable.
a1ed8b05
GM
627 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
628 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
629
b142f158
EZ
6302012-04-07 Eli Zaretskii <eliz@gnu.org>
631
dfae128a
GM
632 * international/uni-bidi.el, international/uni-category.el:
633 * international/uni-combining.el, international/uni-decimal.el:
634 * international/uni-decomposition.el, international/uni-digit.el:
635 * international/uni-lowercase.el, international/uni-mirrored.el:
636 * international/uni-name.el, international/uni-numeric.el:
637 * international/uni-titlecase.el, international/uni-uppercase.el:
638 Update for Unicode 6.1.
b142f158 639
9078ead6
EZ
6402012-04-07 Eli Zaretskii <eliz@gnu.org>
641
642 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
643
f23d2c7d
LMI
6442012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
645
646 * window.el (shrink-window): Mention the `window-min-height'
647 variable in the doc string.
648
0a0a3573
BG
6492012-04-05 Bastien Guerry <bzg@altern.org>
650
651 * color.el (color-lighten-name): Fix typo.
652
e5248ac9
SM
6532012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
654
655 * server.el (server--on-display-p): New function.
656 (server--on-display-p): Use it.
657
b4243e22
GV
6582012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
659
660 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
661 (bug#11145).
662
305d9f44
SM
6632012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
664
665 * comint.el (comint--common-quoted-suffix): Check string boundary
666 before comparing (bug#11158).
667 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
668
3d439cd1
CY
6692012-04-04 Chong Yidong <cyd@gnu.org>
670
321cc491
CY
671 * minibuffer.el (completion-extra-properties): Doc fix.
672
3d439cd1
CY
673 * subr.el (delayed-warnings-hook): Doc fix.
674
2d562c0f
DU
6752012-04-04 Daiki Ueno <ueno@unixuser.org>
676
677 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
678 selection (Bug#11159).
679 (epa-insert-keys): Inform that the default public key will be
680 exported if no key is selected.
681
4443f204
RS
6822012-04-04 Richard Stallman <rms@gnu.org>
683
684 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
685
529c06b6
CY
6862012-04-03 Chong Yidong <cyd@gnu.org>
687
688 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
689 mail-insert-file, not its obsolete alias mail-attach-file.
690
66b907dc
MA
6912012-04-03 Michael Albinus <michael.albinus@gmx.de>
692
693 * notifications.el (notifications-notify): Fix docstring.
694
c0ea195d
GM
6952012-04-02 Glenn Morris <rgm@gnu.org>
696
697 * emacs-lisp/authors.el (authors-aliases): Another addition.
698
5ca64e00
MA
6992012-04-02 Michael Albinus <michael.albinus@gmx.de>
700
701 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
702 `tramp-compat-call-process' instead of `tramp-local-call-process'.
703 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
704
42ee526b
CY
7052012-04-01 Chong Yidong <cyd@gnu.org>
706
707 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
708 Handle root directory properly.
709 (copy-directory): Caller changed.
710
711 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
712 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
713
0b021094
GM
7142012-03-31 Glenn Morris <rgm@gnu.org>
715
40f86458
GM
716 * term/xterm.el (xterm-extra-capabilities): Doc fix.
717
7019c177
GM
718 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
719
a1daddd6
GM
720 * calendar/calendar.el (calendar-window-list)
721 (calendar-hide-window): Restore. (Bug#11140)
722 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
723
0b021094
GM
724 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
725
40311efc
TV
7262012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
727
728 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
729 Check if file is a symlink (Bug#10489).
730
731 * files.el (copy-directory): Likewise.
732
5319014e
CY
7332012-03-30 Chong Yidong <cyd@gnu.org>
734
735 * image.el (imagemagick-types-inhibit)
736 (imagemagick-register-types): Doc fix.
737
935d1290
AM
7382012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
739
740 * ispell.el (ispell-get-extended-character-mode): Disable
75f1671a
JB
741 extended-char-mode for hunspell. hunspell does not support it
742 and treats ~word as ordinary words in pipe mode.
935d1290 743
61c6e8fd
GM
7442012-03-30 Glenn Morris <rgm@gnu.org>
745
746 * tutorial.el (help-with-tutorial): Ensure local variables don't
747 happen to make the buffer read-only. (Bug#11127)
748
81fdff00
SM
7492012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
750
751 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
752 (perl-calculate-indent): Return `noindent' in strings.
753
6e7a6ec0
SS
7542012-03-28 Sam Steingold <sds@gnu.org>
755
756 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
757 instead of the broken adhockery which does not prevent calendar
758 buffers from being displayed at random after exit.
759 (calendar-window-list, calendar-hide-window): Remove the broken
760 adhockery.
761
fee88ca0
GM
7622012-03-28 Glenn Morris <rgm@gnu.org>
763
764 * replace.el (query-replace-map): Doc fix.
765
38de3354
AS
7662012-03-28 Andreas Schwab <schwab@linux-m68k.org>
767
768 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
769 contents. (Bug#11109)
770
b973155e
SM
7712012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
772
773 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
774 (bug#11077).
775 (avl-tree--check, avl-tree--check-node): New funs.
776
dcb6e7b3
MR
7772012-03-27 Martin Rudalics <rudalics@gmx.at>
778
779 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
780 (switch-to-prev-buffer, switch-to-next-buffer):
781 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
782 showing a buffer already is done on the same frame.
783
b4fa35fa
GM
7842012-03-27 Glenn Morris <rgm@gnu.org>
785
786 * startup.el (mail-host-address): Doc fix.
787
f9210e18
SM
7882012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
789
790 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
791 than 197 variables.
792
c0bf7753
AF
7932012-03-26 Ami Fischman <ami@fischman.org>
794
795 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
796
33da7b16
GM
7972012-03-26 Glenn Morris <rgm@gnu.org>
798
02243d9d
GM
799 * files.el (save-buffers-kill-emacs): Doc fix.
800
33da7b16
GM
801 * startup.el (normal-top-level, command-line, command-line-1):
802 Give them doc strings.
803
e5a69fd0
EZ
8042012-03-25 Eli Zaretskii <eliz@gnu.org>
805
806 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 807 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 808
9a69676a
CY
8092012-03-25 Chong Yidong <cyd@gnu.org>
810
4125cb8b
CY
811 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
812 theme if it was previously enabled before (Bug#11031).
813
dd470960
CY
814 * cus-theme.el (custom-theme-write-faces): Retrieve current face
815 spec with custom-face-get-current-spec if its :shown-value is not
816 determined yet (Bug#9337).
4125cb8b 817 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 818
9a69676a
CY
819 * button.el (button-at): Minor addition to docstring.
820
6e7e90fa
SL
8212012-03-24 Simon Leinen <simon.leinen@gmail.com>
822
823 * vc/vc.el (vc-merge): Fix a prompt.
824
f06e2758
CY
8252012-03-24 Chong Yidong <cyd@gnu.org>
826
827 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
828 point (Bug#9623).
829
6e7e90fa
SL
830 * button.el (button-at): Minor addition to docstring.
831
b9d0879b
SM
8322012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
833
834 * newcomment.el (comment-choose-indent): No space after BOL.
835
e71cebb3
SS
8362012-03-22 Sam Steingold <sds@gnu.org>
837
838 * window.el (switch-to-prev-buffer): Revert last patch because the
839 bug turned out to be an advertised feature (Elisp manual 28.14).
840
335aff35
GM
8412012-03-22 Glenn Morris <rgm@gnu.org>
842
843 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
844 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
845
c676576a
LMI
8462012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
847
848 * net/network-stream.el (network-stream-open-starttls): Make error
849 message under Windows be less misleading.
850
126f3d39
LW
8512012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
852
853 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
854 understands (bug#9942).
855
64fee311
CY
8562012-03-22 Chong Yidong <cyd@gnu.org>
857
858 * simple.el (end-of-visible-line): Handle return value of
859 next-single-property-change properly (Bug#9371).
860
a640d29a
KH
8612012-03-22 Kenichi Handa <handa@m17n.org>
862
863 * international/quail.el (quail-insert-kbd-layout): Fix previous
864 change. To avoid unwanted bidi reordering, use
865 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
866
39675016
DG
8672012-03-21 Dmitry Gutov <dgutov@yandex.ru>
868
869 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
870 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
871 (ruby-beginning-of-indent): Be more careful with the difference
872 between word-boundary and symbol boundary.
873 (ruby-mode-syntax-table): Make : a symbol constituent.
874
0a6934fc 8752012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 876
3d008e4f
SM
877 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
878
0a6934fc
SM
8792012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
880
af67c9d7
SM
881 * progmodes/etags.el (tags-completion-at-point-function):
882 Improve last fix.
883
1acad97c
SM
884 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
885
e298b5da
SS
8862012-03-21 Sam Steingold <sds@gnu.org>
887
888 * progmodes/etags.el (tags-completion-at-point-function):
889 Avoid the error when point is inside the pattern.
890
91d82a70
JY
8912012-03-21 John Yates <john@yates-sheets.org> (tiny change)
892
893 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
894 line (Bug#10855).
895
69188b79
CY
8962012-03-21 Drew Adams <drew.adams@oracle.com>
897
898 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
899
99fc91fe
AK
9002012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
901
902 * ido.el (ido-set-current-directory, ido-read-internal)
903 (ido-choose-completion-string, ido-completion-help): Handle nil
904 value of ido-completion-buffer (Bug#11008).
905
087bbb4c
SS
9062012-03-21 Sam Steingold <sds@gnu.org>
907
908 * window.el (switch-to-prev-buffer): Do not switch to a visible
909 window previous buffer, just like with the frame previous buffers.
910
fb5b8aca
CY
9112012-03-21 Chong Yidong <cyd@gnu.org>
912
913 * faces.el (make-face, make-empty-face, copy-face):
914 * face-remap.el (face-remap-add-relative, face-remap-set-base):
915 Doc fixes.
916
dc9924b8
SM
9172012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
918
919 * wid-edit.el (widget-complete-field): Remove (bug#11051).
920 (widget-complete): Remove broken use of it.
921
f0bcceb9
CY
9222012-03-20 Chong Yidong <cyd@gnu.org>
923
dc9924b8
SM
924 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
925 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
926 characters.
927
ee52ebf3
TH
9282012-03-20 Tassilo Horn <tassilo@member.fsf.org>
929
930 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
931 to draw rectangles, not squares. (Regression introduced by revno
932 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
933
4c5779ab
CY
9342012-03-18 Chong Yidong <cyd@gnu.org>
935
936 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
937 it is not yet defined (for temacs).
938
15360934
LL
9392012-03-18 Leo Liu <sdl.web@gmail.com>
940
dc9924b8 941 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 942
d9a8eb66
EZ
9432012-03-17 Eli Zaretskii <eliz@gnu.org>
944
945 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
946 (ispell-choices-win-default-height, ispell-silently-savep)
947 (ispell-dictionary-alist, ispell-encoding8-command)
948 (ispell-check-version, ispell-aspell-find-dictionary)
949 (ispell-valid-dictionary-list, ispell-words-keyword)
950 (ispell-get-word, ispell-internal-change-dictionary)
951 (ispell-region, ispell-skip-region-list)
952 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
953 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
954 (ispell-message-text-end, ispell-message)
955 (ispell-buffer-local-parsing): Doc fix.
956
f02ff80d
J
9572012-03-13 Jambunathan K <kjambunathan@gmail.com>
958
959 * htmlfontify.el: Add support for code block fontification for ODT
960 export (Bug #9914).
961 (hfy-optimisations): Define new option
962 `body-text-only'
963 (hfy-fontify-buffer): Honor above setting.
964 (hfy-begin-span, hfy-end-span): New routines factored out form
965 `hfy-fontify-buffer'.
966 (hfy-begin-span-handler, hfy-end-span-handler): New variables
967 that permit insertion of custom tags.
968 (hfy-fontify-buffer): Use above handlers.
969 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
970 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 971 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 972 over multiple runs. This is made possible by having the caller let
f02ff80d
J
973 bind a special variable `hfy-user-sheet-assoc'.
974 (htmlfontify-string): New defun.
975 (hfy-compile-face-map): Make sure that the last char in the
976 buffer is correctly fontified.
977 (hfy-face-resolve-face): Whitespace only change.
978
9ac7a13f
EZ
9792012-03-17 Eli Zaretskii <eliz@gnu.org>
980
981 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
982 message more clear.
983
e2b5bdd7
LL
9842012-03-16 Leo Liu <sdl.web@gmail.com>
985
986 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
987
2e492df3
AM
9882012-03-16 Alan Mackenzie <acm@muc.de>
989
990 Further optimise the handling of large macros.
991
992 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
993 limit to a call of `c-literal-limits'.
994 (c-determine-+ve-limit): New function.
dc9924b8
SM
995 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
996 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
997 In CASE 5B, restrict a search limit to 500.
998 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
999
1000 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1001 Restrict macro bounds to +-500 from after-change's BEG END.
1002
50e94f0c
LL
10032012-03-16 Leo Liu <sdl.web@gmail.com>
1004
1005 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1006
6f09f6ed
AH
10072012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1008
1009 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 1010 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 1011
c7e73d51
GM
10122012-03-16 Glenn Morris <rgm@gnu.org>
1013
da986230
GM
1014 * view.el (view-buffer, view-buffer-other-window)
1015 (view-buffer-other-frame): Doc fixes re special mode-class.
1016
0835f01e
GM
1017 * subr.el (eval-after-load): If named feature is provided not from
1018 a file, run after-load forms. (Bug#10946)
1019
c7e73d51
GM
1020 * calendar/calendar.el (calendar-insert-at-column):
1021 Handle non-unit-width characters a bit better. (Bug#10978)
1022
3f2eafd1
CY
10232012-03-15 Chong Yidong <cyd@gnu.org>
1024
1025 * emacs-lisp/ring.el (ring-extend): New function.
1026 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1027
1028 * comint.el (comint-read-input-ring)
1029 (comint-add-to-input-history): Grow comint-input-ring lazily.
1030
103af3fe
SM
10312012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1032
663b1677
SM
1033 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1034 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1035
103af3fe
SM
1036 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1037 (imenu-add-to-menubar): Don't add a redundant index.
1038 (imenu-update-menubar): Handle a dynamically composed keymap.
1039
899cb7cb
KY
10402012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1041
1042 * mail/sendmail.el (mail-encode-header):
1043 Bind rfc2047-encode-encoded-words to nil.
1044
3809f91d
GM
10452012-03-13 Glenn Morris <rgm@gnu.org>
1046
1047 * calendar/calendar.el (calendar-string-spread):
1048 Handle non-unit-width characters a bit better. (Bug#10978)
1049
9e345a01
LL
10502012-03-13 Leo Liu <sdl.web@gmail.com>
1051
1052 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1053 directory and file as argument (Bug#10822).
1054
4a07df36
KS
10552012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1056
1057 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1058 For dynamically generated code, follow $PC.
1059 (gdb-disassembly-handler-custom): Handle no function name case.
1060
4aaa9356
TL
10612012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1062
1063 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1064 * emulation/ws-mode.el (ws-query-replace):
1065 * sort.el (sort-regexp-fields):
1066 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1067
225979da
SM
10682012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1069
1070 * dabbrev.el: Fix cycle completion order (bug#10963).
1071 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1072 (dabbrev-completion): Don't use an obarray; provide
1073 a cycle-sort-function.
1074
e2f1fdab
LL
10752012-03-12 Leo Liu <sdl.web@gmail.com>
1076
dc9924b8 1077 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
1078 (kill-do-not-save-duplicates): Doc fix.
1079
b19490ed
SM
10802012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1081
1082 * dabbrev.el: Fix cycle completion (bug#10963).
1083 Use lexical binding and wrap to 80 columns.
1084 (dabbrev-completion): Delay computing the list of completions.
1085
4b05d722
KH
10862012-03-12 Kenichi Handa <handa@m17n.org>
1087
1088 * international/quail.el (quail-insert-kbd-layout): Surround each
1089 row by LRO and PDF instead of inserting many LRMs. Pad the left
1090 and right of each non-spacing marks. Insert invisible space
1091 between lower and upper characters to prevent composition.
1092
dbbc2e69
SM
10932012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1094
1095 * minibuffer.el (minibuffer-complete): Don't get confused when the
1096 function is run twice via different commands (bug#10958).
1097 (complete-with-action): Fix docstring.
1098
292112ed
CY
10992012-03-12 Chong Yidong <cyd@gnu.org>
1100
5d1ac394
CY
1101 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1102 (nxml-completion-at-point-function): New function.
1103 (nxml-mode): Use it.
1104 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1105
292112ed
CY
1106 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1107 Load generated autoloads file before byte compiling (Bug#10970).
1108 (package--make-autoloads-and-compile): New helper fun.
1109
4098f8f7
CS
11102012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1111
1112 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1113
8f754691
MA
11142012-03-11 Michael Albinus <michael.albinus@gmx.de>
1115
1116 * autorevert.el (auto-revert-handler): Ensure, that
1117 file-readable-p is applied only for local files or in
1118 auto-revert-tail-mode.
1119
e29ab36b
AS
11202012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1121
dbbc2e69
SM
1122 * server.el (server-eval-at): Handle non-tcp connections.
1123 Decode result string.
ad0bf5b6 1124
e29ab36b
AS
1125 * server.el (server-msg-size): New constant.
1126 (server-reply-print): New function.
1127 (server-eval-and-print): Use it.
1128 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1129 Handle -print-nonl.
1130
de5939ba
CS
11312012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1132
1133 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1134 (Bug#10987).
1135
0c93eabf
CY
11362012-03-11 Chong Yidong <cyd@gnu.org>
1137
397a688f
CY
1138 * simple.el (goto-line): Doc fix (Bug#9938).
1139
2cc775f9
CY
1140 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1141
0c93eabf
CY
1142 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1143 when finished (Bug#10963).
1144
c491fa41
MR
11452012-03-11 Martin Rudalics <rudalics@gmx.at>
1146
1147 * window.el (split-window-below): Fix bug in case where
1148 split-window-keep-point is nil (Bug#10971).
1149
300e8fa5
JL
11502012-03-11 Juri Linkov <juri@jurta.org>
1151
1152 * replace.el (replace-highlight): Set isearch-word to nil
1153 unconditionally. (Bug#10887)
1154
dbf6c5a1
EZ
11552012-03-10 Eli Zaretskii <eliz@gnu.org>
1156
1157 * net/mairix.el (mairix-replace-invalid-chars): Rename from
1158 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 1159 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
1160 (mairix-widget-create-query): Add usage information about mairix
1161 search forms: negating words, searching for substrings, etc.
1162
b9e501de
JP
11632012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1164
1165 * international/fontset.el (font-encoding-alist): Add an entry for
1166 ksx1001 (Bug#5667).
1167
92795c91
RS
11682012-03-10 Richard Stallman <rms@gnu.org>
1169
1694e6c1
RS
1170 * mail/sendmail.el (mail-encode-header):
1171 Set rfc2047-encode-encoded-words.
1172
607e8555
RS
1173 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1174
de3bc99a
RS
1175 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1176 view buffer means not swapped.
1177 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1178 (rmail-write-region-annotate): Error if real text has disappeared.
1179
92795c91
RS
1180 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1181
699bd04e
CY
11822012-03-10 Chong Yidong <cyd@gnu.org>
1183
1184 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
1185 * emulation/cua-base.el (cua--init-keymaps):
1186 Add delete-forward-char to remappings (Bug#9666).
699bd04e 1187
570a1714
MR
11882012-03-10 Martin Rudalics <rudalics@gmx.at>
1189
dbbc2e69
SM
1190 * speedbar.el (speedbar-unhighlight-one-tag-line):
1191 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 1192
82dcf4e4
CY
11932012-03-10 Chong Yidong <cyd@gnu.org>
1194
7a2c7ca7
CY
1195 * minibuffer.el (completion-in-region, completion-help-at-point):
1196 Give the completion field overlay a high priority (Bug#6830).
1197
82dcf4e4
CY
1198 * dired.el (dired-goto-file): Recognize absolute file name
1199 listings (Bug#7126).
1200 (dired-goto-file-1): New helper function.
1201 (dired-toggle-read-only): Inhibit warnings.
1202
052e28ac
MA
12032012-03-09 Michael Albinus <michael.albinus@gmx.de>
1204
75f1671a 1205 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
1206 there are no properties.
1207
95d5e396
LL
12082012-03-09 Leo Liu <sdl.web@gmail.com>
1209
1210 * savehist.el (savehist-printable): Stricter check for string
1211 value (Bug#10937).
1212
3f018d6d
EZ
12132012-03-09 Eli Zaretskii <eliz@gnu.org>
1214
dbbc2e69
SM
1215 * mail/smtpmail.el (smtpmail-send-it):
1216 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
1217 valid mbox format.
1218
f7fd3d79
GM
12192012-03-09 Glenn Morris <rgm@gnu.org>
1220
1221 * files.el (dir-locals-find-file):
1222 Don't check result is regular, readable.
1223 (dir-locals-read-from-file): Demote errors.
1224
6ff6e72f
EZ
12252012-03-08 Eli Zaretskii <eliz@gnu.org>
1226
dbbc2e69
SM
1227 * international/quail.el (quail-insert-kbd-layout):
1228 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
1229 layout cell, to prevent their reordering by bidi display engine.
1230 For details, see the discussion in
1231 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1232
9cec7834
AM
12332012-03-08 Alan Mackenzie <acm@muc.de>
1234
1235 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1236 the starting position; make it extend the marked region when
1237 invoked repeatedly - all under appropriate circumstances.
1238 Fixes bugs #5525, #10906.
1239
9a40b8d4
GM
12402012-03-08 Glenn Morris <rgm@gnu.org>
1241
1242 * files.el (locate-dominating-file, dir-locals-find-file):
1243 Undo 2012-03-06 change.
1244
7a08ed35
EZ
12452012-03-07 Eli Zaretskii <eliz@gnu.org>
1246
dbbc2e69
SM
1247 * international/quail.el (quail-help):
1248 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
1249 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1250 for the reason.
1251
5aca4f71 12522012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
1253
1254 Avoid superfluous registering of signals. (Bug#10807)
1255
1256 * notifications.el (notifications-on-action-object)
1257 (notifications-on-close-object): New defvars.
1258 (notifications-on-action-signal, notifications-on-closed-signal):
1259 Unregister the signal if not needed any longer.
1260 (notifications-notify): Register `notifications-action-signal' or
1261 `notifications-closed-signal', if :on-action or :on-close has been
1262 passed as argument.
1263
78e8b10a
CY
12642012-03-07 Chong Yidong <cyd@gnu.org>
1265
1266 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1267 non-X platforms.
1268
69481eb8
GM
12692012-03-06 Glenn Morris <rgm@gnu.org>
1270
1271 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1272 (x-disown-selection-internal, x-get-selection-internal):
1273 Doc fix (add arglist signatures). (Bug#10783)
1274
133b8e11
KS
12752012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1276
1277 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1278 Handle breakpoints with no "type".
1279
99a83064
GM
12802012-03-06 Glenn Morris <rgm@gnu.org>
1281
1282 * files.el (locate-dominating-file): Add optional predicate argument.
1283 (dir-locals-find-file): Make use of above change.
1284
17798e78
TTN
12852012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1286
1287 * info.el (Info-insert-dir): Also try "dir.gz".
1288
eb182446
GM
12892012-03-06 Glenn Morris <rgm@gnu.org>
1290
8f2114ee
GM
1291 * files.el (dir-locals-find-file):
1292 Ignore non-readable or non-regular files. (Bug#10928)
1293
eb182446
GM
1294 * files.el (locate-dominating-file): Doc fix.
1295
24679323
AS
12962012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1297
1298 * calendar/calendar.el (calendar-set-mode-line):
1299 `getenv' returns a string. (Bug#10951)
1300
01d972a9
LL
13012012-03-05 Leo Liu <sdl.web@gmail.com>
1302
109aa8a9
LL
1303 * simple.el (backward-delete-char-untabify): Constrain point to
1304 field (Bug#10939).
1305
01d972a9
LL
1306 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1307
10607bea
CY
13082012-03-05 Chong Yidong <cyd@gnu.org>
1309
1310 * simple.el (count-words): If called from Lisp, return the word
1311 count, for symmetry with `count-lines'. Arglist changed.
1312 (count-words--message): Args changed. Consolidate counting code
1313 from count-words and count-words-region.
1314 (count-words-region): Caller changed.
1315 (count-lines-region): Make it an obsolete alias.
1316
5dd11cfe
TH
13172012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1318
1319 * saveplace.el (save-place-to-alist)
1320 (save-place-ignore-files-regexp): Allow value nil to disable this
1321 feature.
1322
c349f4e6
CY
13232012-03-04 Chong Yidong <cyd@gnu.org>
1324
1325 * faces.el (face-spec-reset-face): For the default face, reset the
1326 attributes to default values (Bug#10748).
1327
e627be4c
LMI
13282012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1329
1330 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1331 previous patch: Check `message-send-mail-function', and not the
1332 default function (bug#10897).
1333
ebeabff4
MA
13342012-03-04 Michael Albinus <michael.albinus@gmx.de>
1335
a41a6cf4
MA
1336 * notifications.el (notifications-on-action-signal)
1337 (notifications-on-closed-signal): Check for unique service name of
1338 incoming event. Fix error in removing entry.
ebeabff4 1339 (top): Register for signals with wildcard service name.
a41a6cf4 1340 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 1341
c1ca42b4
CY
13422012-03-04 Chong Yidong <cyd@gnu.org>
1343
dc9924b8 1344 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 1345
ea16568d
GM
13462012-03-04 Glenn Morris <rgm@gnu.org>
1347
1348 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1349 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1350 (expand-abbrev, define-abbrev-table): Doc fixes.
1351
fbae4637
LMI
13522012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1353
1354 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1355 `message-default-send-mail-function' and not `send-mail-function'
1356 when doing the prompting for `sendmail-query-once' before sending
1357 in Message buffers (bug#10897).
1358
a1e7225c
LMI
1359 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1360 This is inconsistent with all the other stream functions, which leave
1361 the setting up to the higher levels (if so wanted) (bug#10931).
1362
56d093a9
AM
13632012-03-02 Alan Mackenzie <acm@muc.de>
1364
1365 Depessimize the handling of very large macros.
1366
1367 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1368 (c-macro-cache-syntactic): New variables to implement a one
1369 element macro cache.
1370 (c-invalidate-macro-cache): New function.
1371 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1372 Adapt to use the new cache.
1373 (c-state-safe-place): Use better the cache of safe positions.
1374 (c-state-semi-nonlit-pos-cache)
1375 (c-state-semi-nonlit-pos-cache-limit):
1376 New variables for...
1377 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1378 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
1379 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1380 Use c-state-semi-safe-place.
56d093a9 1381
dbbc2e69
SM
1382 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1383 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 1384
817e5c3d
MA
13852012-03-02 Michael Albinus <michael.albinus@gmx.de>
1386
dbbc2e69
SM
1387 * jka-compr.el (jka-compr-call-process):
1388 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
1389 not remote.
1390
a032a702
MA
13912012-03-01 Michael Albinus <michael.albinus@gmx.de>
1392
1393 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1394 access of FILE2, if FILE1 does not exist.
1395
99a54f21
MA
1396 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1397 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1398
1399 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1400 Add "PAGER=" to `process-environment'.
1401
f6561e1f
MM
14022012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1403
1404 * progmodes/sql.el: Bug fix
1405 (sql-get-login-ext): Save login values in globals.
1406 (sql-get-login): Use new version of `sql-get-login-ext'.
1407 (sql-interactive-mode): Set global `sql-connection' to nil.
1408 (sql-connect): Set global values for connection.
1409 (sql-product-interactive): Save global values as buffer local.
1410
2d44d9cc
LL
14112012-02-29 Leo Liu <sdl.web@gmail.com>
1412
1413 * abbrev.el (define-abbrevs): Reset sys to nil.
1414
96b49301 14152012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1416
bf7f9bc5
JB
1417 * files.el (file-equal-p): Rename from `files-equal-p'.
1418 Return nil when one or both files don't exist.
96b49301 1419 (file-subdir-of-p): Now only top directory must exists,
1420 return nil if it doesn't.
bf7f9bc5
JB
1421 (copy-directory): No need to test with `file-subdir-of-p' after
1422 creating dir.
1423 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1424 to `file-equal-p'.
96b49301 1425
44e97401
GM
14262012-02-28 Glenn Morris <rgm@gnu.org>
1427
1428 * shell.el (shell-mode):
1429 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1430 * play/landmark.el (landmark-font-lock-face-O):
1431 * play/handwrite.el (handwrite):
1432 * play/gomoku.el (gomoku-O):
1433 * net/browse-url.el (browse-url-browser-display):
1434 * international/mule.el (define-charset):
1435 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1436 * filesets.el (filesets-find-file-delay):
1437 * eshell/em-xtra.el (eshell-xtra):
1438 * eshell/em-unix.el (eshell-grep):
1439 * emulation/viper.el (viper-mode):
1440 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1441 * emacs-lisp/easymenu.el (easy-menu-define):
1442 * calendar/timeclock.el (timeclock-use-display-time):
1443 * bs.el (bs-mode):
1444 * bookmark.el (bookmark-save-flag):
1445 Doc fix (standardize possessive apostrophe usage).
1446
c98c6276
CY
14472012-02-27 Chong Yidong <cyd@gnu.org>
1448
bf7f9bc5
JB
1449 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1450 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 1451
c98c6276
CY
1452 * font-lock.el (font-lock-specified-p): Rename from
1453 font-lock-spec-present. Callers changed.
1454
9c62cd04 14552012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 1456
bf7f9bc5
JB
1457 * emacs-lisp/package.el (package-compute-transaction):
1458 Handle holding a package version to t in package-load-list.
8ac9e529 1459
530739c9
MA
14602012-02-26 Michael Albinus <michael.albinus@gmx.de>
1461
1462 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1463 (tramp-get-inode, tramp-get-device): Use cached values.
1464
487915d7
AM
14652012-02-26 Alan Mackenzie <acm@muc.de>
1466
1467 Check there is a font-lock specification before doing initial
1468 fontification.
1469
1470 * font-core.el (font-lock-mode): Move the conditional from
1471 :after-hook to font-lock-initial-fontify.
1472 (font-lock-default-function): Move the check for a specification
1473 to font-lock-spec-present.
1474
dc9924b8 1475 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
1476 (font-lock-spec-present): New function.
1477
4fd96557
JB
14782012-02-26 Jim Blandy <jimb@red-bean.com>
1479
1480 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1481 (gdb-send): Apply it to the operand of the '-interpreter-exec
1482 console' command, so that we can pass arguments with (say) quotes
1483 in them. Store exact string sent in gdb-debug-log (Bug#10765).
1484
9a4888c0
CY
14852012-02-26 Chong Yidong <cyd@gnu.org>
1486
07498861
CY
1487 * help-fns.el (describe-function-1): Clarify description of
1488 remapping (Bug#10844).
1489
9a4888c0
CY
1490 * files.el (files-equal-p): Doc fix.
1491 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
1492 and quit the loop once a mismatch is found.
1493
ea8fb88d
JB
14942012-02-25 Juanma Barranquero <lekktu@gmail.com>
1495
1496 * bs.el (bs--show-with-configuration): Don't throw an error
1497 if the window cannot be split; otherwise, subsequent calls to
1498 bs-show fail, restoring a stale window config. (Bug#10882)
1499
525795c1
JD
15002012-02-25 Jan Djärv <jan.h.d@swipnet.se>
1501
1502 * term/ns-win.el (global-map): Bind ns-drag-file to
1503 ns-find-file (Bug#5855, Bug#10050).
1504
f008086f
AS
15052012-02-25 Andreas Schwab <schwab@linux-m68k.org>
1506
1507 * calendar/parse-time.el (parse-time-string): Allow extractor to
1508 return nil.
1509
a3fcfa99
MA
15102012-02-25 Michael Albinus <michael.albinus@gmx.de>
1511
91027d08
JB
1512 * net/tramp.el (tramp-file-name-for-operation):
1513 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
1514
1515 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
1516 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1517 Add COPY-CONTENTS argument.
a3fcfa99 1518
67b0de11
CY
15192012-02-25 Chong Yidong <cyd@gnu.org>
1520
1521 Add custom groups for VC backends, for consistency with vc-bzr.
1522
1523 * vc/vc-arch.el (vc-arch):
1524 * vc/vc-cvs.el (vc-cvs):
1525 * vc/vc-git.el (vc-git):
1526 * vc/vc-hg.el (vc-hg):
1527 * vc/vc-mtn.el (vc-mtn):
1528 * vc/vc-rcs.el (vc-rcs):
1529 * vc/vc-sccs.el (vc-sccs):
1530 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1531 All relevant defcustoms reassigned.
1532
3c9dfce6
CY
15332012-02-25 Chong Yidong <cyd@gnu.org>
1534
1339bf43
CY
1535 * newcomment.el (comment-styles): Add autoload (Bug#10868).
1536
3c9dfce6
CY
1537 * term/x-win.el (x-initialize-window-system): Reduce default for
1538 x-selection-timeout to 5 seconds (Bug#8869).
1539
25b2e303 15402012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1541
ec70a47d
GM
1542 * files.el (files-equal-p, file-subdir-of-p): New functions.
1543 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 1544 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
1545 * dired-aux.el (dired-copy-file-recursive): Same.
1546 (dired-create-files): Modify destination when source is equal to
1547 dest when copying files.
53a46cd0 1548 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 1549
914260cd
MA
15502012-02-24 Michael Albinus <michael.albinus@gmx.de>
1551
1552 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1553 (Bug#10874)
1554
2cb228f7
AM
15552012-02-23 Alan Mackenzie <acm@muc.de>
1556
1557 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1558 parameter "after-hook:" to allow the expansion to run code after
1559 the execution of the mode hooks.
1560
1561 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 1562 from font-lock-mode-internal.
2cb228f7 1563
91027d08 1564 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
1565 :after-hook.
1566
8f0fde21
SM
15672012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1568
3e88618b
SM
1569 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1570 (completion--cache-all-sorted-completions): New function.
1571 (completion-all-sorted-completions): Use it.
1572 (completion--do-completion, minibuffer-force-complete):
1573 Use it to re-instate the flush hook.
1574
8f0fde21
SM
1575 * icomplete.el (icomplete-completions): Replace last fix with a better
1576 one (bug#10850).
1577
8e911f6f
DG
15782012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1579
1580 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1581 when it might call us back infinitely (bug#10797).
1582
49fe4321
GM
15832012-02-23 Glenn Morris <rgm@gnu.org>
1584
1585 * minibuffer.el (completion-category-overrides): Doc fix.
1586
b291b572
SM
15872012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1588
1589 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1590 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1591
31a9ef2e
GM
15922012-02-23 Glenn Morris <rgm@gnu.org>
1593
5e6e6794 1594 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
1595 (authors-obsolete-files-regexps, authors-ignored-files)
1596 (authors-ambiguous-files, authors-renamed-files-alist):
1597 Add more entries.
1598
0bd1e074
JL
15992012-02-23 Juri Linkov <juri@jurta.org>
1600
1601 * isearch.el (isearch-occur): Sync interactive spec with occur's
1602 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1603
b617673c
JL
1604 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1605
19e9789e
JL
16062012-02-22 Juri Linkov <juri@jurta.org>
1607
1608 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1609 (ucs-insert): Doc fix. Check for hex digits in the string.
1610 Don't display `nil' in the error message. (Bug#10857)
1611
f41ce09d
AM
16122012-02-22 Alan Mackenzie <acm@muc.de>
1613
7a71b18d 1614 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 1615
ac2eceee
GM
16162012-02-22 Glenn Morris <rgm@gnu.org>
1617
1618 * ffap.el (ffap-c-path):
1619 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1620
abd1f678
CY
16212012-02-22 Chong Yidong <cyd@gnu.org>
1622
1623 * custom.el (load-theme): Doc fix.
1624
f25aef2e
GM
16252012-02-22 Glenn Morris <rgm@gnu.org>
1626
1627 * dired-x.el (dired-guess-shell-alist-default):
1628 Remove escape sequences from nroff output. (Bug#172)
1629
5f8dc2ca
GM
16302012-02-21 Glenn Morris <rgm@gnu.org>
1631
6ff86ec4
GM
1632 * vc/emerge.el (emerge-defvar-local):
1633 Set `permanent-local' property rather than unused `preserved'.
1634
be3223a3 1635 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
1636 (picture-mode-map): Use it. (Bug#10860)
1637 (picture-mode): Doc fix.
1638
3fe58f4f
JB
16392012-02-21 Juanma Barranquero <lekktu@gmail.com>
1640
1641 * newcomment.el (uncomment-region-default): Remove unused binding.
1642
f9a998c3
GM
16432012-02-21 Glenn Morris <rgm@gnu.org>
1644
1645 * textmodes/picture.el (picture-motion, picture-motion-reverse)
1646 (picture-self-insert, picture-tab-chars): Doc fix.
1647 (picture-mode-map): Fix C-a, C-e.
1648
c6029348
GM
16492012-02-20 Glenn Morris <rgm@gnu.org>
1650
1651 * emacs-lisp/authors.el (authors-aliases): Add another entry.
1652
ab1ce9d7
LL
16532012-02-20 Leo Liu <sdl.web@gmail.com>
1654
1655 * icomplete.el (icomplete-completions): Check FROM arg before
1656 passing to substring (Bug#10850).
1657
0fd40f89
CY
16582012-02-19 Chong Yidong <cyd@gnu.org>
1659
1660 * comint.el: Require ansi-color.
1661 (comint-output-filter-functions): Add ansi-color-process-output.
1662
1663 * ansi-color.el: Don't set comint-output-filter-functions; it is
1664 now in the initial value defined in comint.el.
1665 (ansi-color-apply-face-function): New variable.
1666 (ansi-color-apply-on-region): Use it.
1667 (ansi-color-apply-overlay-face): New function.
1668
1669 * shell.el (shell): No need to require ansi-color.
1670 (shell-mode): Use ansi-color-apply-face-function to highlight
1671 color escapes using font-lock-face property (Bug#10835).
1672
20af2394
CY
16732012-02-19 Chong Yidong <cyd@gnu.org>
1674
1675 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1676 mode-line formats (Bug#10839).
1677
e23a3fbe
GM
16782012-02-18 Glenn Morris <rgm@gnu.org>
1679
b474519e
GM
1680 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1681
1682 * mail/undigest.el (unforward-rmail-message): Doc fix.
1683
e23a3fbe
GM
1684 * saveplace.el (save-place-ignore-files-regexp): Add :version.
1685
57939ff4
EZ
16862012-02-18 Eli Zaretskii <eliz@gnu.org>
1687
1688 * international/characters.el (script-list): Sync with the latest
1689 Unicode Character Database.
1690
0c23686e
AS
16912012-02-18 Andreas Schwab <schwab@linux-m68k.org>
1692
1693 * international/titdic-cnv.el: Remove duplicate coding tag.
1694 * language/cham.el: Likewise.
1695 * language/tai-viet.el: Likewise.
1696
6818b449
GM
16972012-02-18 Glenn Morris <rgm@gnu.org>
1698
1699 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1700 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1701 (calendar-bahai-all-holidays-flag, calendar-other-dates):
1702 * calendar/diary-lib.el (diary-abbreviated-year-flag):
1703 * calendar/holidays.el (holiday-bahai-holidays)
1704 (calendar-holidays, list-holidays):
1705 Use utf-8 Bahá'í in doc-strings, menus, etc.
1706
0311a3fc
TH
17072012-02-17 Tassilo Horn <tassilo@member.fsf.org>
1708
1709 * saveplace.el (save-place-ignore-files-regexp): New variable
1710 allowing for excluding files from saving their location of point.
1711 The default value matches the temporary commit message editing
1712 files from Git, SVN, Bazaar, and Mercurial.
1713 (save-place-to-alist): Use it.
1714
eb864a71
LM
17152012-02-17 Lawrence Mitchell <wence@gmx.li>
1716 Stefan Monnier <monnier@iro.umontreal.ca>
1717
1718 * newcomment.el (uncomment-region-default): Don't leave extra space
1719 when an arg is provided (bug#8150).
1720
ee0ce425
TZ
17212012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1722
eb864a71 1723 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 1724
95ddf442
GM
17252012-02-17 Glenn Morris <rgm@gnu.org>
1726
1727 * net/socks.el: Require network-stream. (Bug#10599)
1728
48dd1e39 17292012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
1730
1731 * international/charprop.el:
1732 * international/uni-name.el:
1733 * international/uni-old-name.el:
1734 * international/uni-comment.el: Regenerate.
1735
d68cd087
GM
17362012-02-16 Glenn Morris <rgm@gnu.org>
1737
1738 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1739 Interactively in calendar buffer, give an error if not on a date.
1740
13932042
GM
17412012-02-15 Glenn Morris <rgm@gnu.org>
1742
1743 * shell.el (shell-delimiter-argument-list):
1744 Revert 2011-02-17 change. (Bug#8027)
1745
c3a70e2b
CY
17462012-02-15 Chong Yidong <cyd@gnu.org>
1747
60236b0d
CY
1748 * minibuffer.el (completion-at-point-functions): Doc fix.
1749
c3a70e2b
CY
1750 * custom.el (defcustom): Doc fix; note use of defvar.
1751
9f26dc24
GM
17522012-02-15 Glenn Morris <rgm@gnu.org>
1753
1754 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1755 Doc fixes.
1756
6546b134
GM
17572012-02-14 Glenn Morris <rgm@gnu.org>
1758
1759 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1760
d29b2b4c
LI
17612012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
1762
1763 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1764 way the ports list is computed.
835bdcba
LI
1765 (smtpmail-query-smtp-server): Prompt the user for a port number if
1766 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 1767
08dcdbc9
TZ
17682012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
1769
1770 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1771
2605051a
GM
17722012-02-13 Glenn Morris <rgm@gnu.org>
1773
1774 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
1775
7ee99f32
TZ
17762012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1777
1778 * net/gnutls.el (gnutls-trustfiles): New variable.
1779 (gnutls-negotiate): Use it.
1780
5f0af64f
LI
17812012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1782
1783 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1784 does its stuff if Gnus is running.
1785
c14fcc95
AM
17862012-02-13 Alan Mackenzie <acm@muc.de>
1787
1788 Fix a loop in c-set-fl-decl-start.
1789
7a71b18d 1790 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
1791 c-backward-syntactic-ws actually moves backwards.
1792
142b4d90
LL
17932012-02-13 Leo Liu <sdl.web@gmail.com>
1794
1795 * net/rcirc.el (rcirc-markup-attributes): Move point to the
1796 beginning so that all \C-o chars are removed.
1797
fa9958a6
TZ
17982012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1799
dc9924b8 1800 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 1801
0bc5886a
AM
18022012-02-12 Alan Mackenzie <acm@muc.de>
1803
1804 Fix infinite loop with long macros.
4d6769e1 1805 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 1806
d4bd55e7
CY
18072012-02-12 Chong Yidong <cyd@gnu.org>
1808
1809 * window.el (display-buffer): Doc fix (Bug#10785).
1810
66f3fe22
GM
18112012-02-12 Glenn Morris <rgm@gnu.org>
1812
bd7da63e
GM
1813 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1814 (x-disown-selection-internal, x-get-selection-internal):
1815 Sync docs with the xselect.c versions.
1816
66f3fe22
GM
1817 * allout-widgets.el: Add missing license notice.
1818
3e0d2fa7
GM
18192012-02-11 Glenn Morris <rgm@gnu.org>
1820
cfecdf09
GM
1821 * select.el (x-get-selection-internal, x-own-selection-internal)
1822 (x-disown-selection-internal):
1823 * x-dnd.el (x-get-selection-internal): Update declarations.
1824
6d216d7f
GM
1825 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1826
2bed3f04
GM
1827 * window.el (window-sides-slots):
1828 * tool-bar.el (tool-bar-position):
1829 * term/xterm.el (xterm-extra-capabilities):
1830 * ses.el (ses-self-reference-early-detection):
1831 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1832 (verilog-auto-wire-type)
1833 (verilog-auto-delete-trailing-whitespace)
1834 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1835 (verilog-auto-tieoff-declaration):
1836 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1837 (sql-oracle-statement-starters, sql-oracle-scan-on):
1838 * progmodes/prolog.el (prolog-align-comments-flag)
1839 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1840 (prolog-left-indent-regexp, prolog-paren-indent-p)
1841 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1842 (prolog-types, prolog-mode-specificators)
1843 (prolog-determinism-specificators, prolog-directives)
1844 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1845 (prolog-electric-dot-flag)
1846 (prolog-electric-dot-full-predicate-template)
1847 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1848 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1849 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1850 (prolog-program-switches, prolog-prompt-regexp)
1851 (prolog-debug-on-string, prolog-debug-off-string)
1852 (prolog-trace-on-string, prolog-trace-off-string)
1853 (prolog-zip-on-string, prolog-zip-off-string)
1854 (prolog-use-standard-consult-compile-method-flag)
1855 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1856 (prolog-imenu-max-lines, prolog-info-predicate-index)
1857 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1858 (prolog-char-quote-workaround):
1859 * progmodes/cc-vars.el (c-defun-tactic):
1860 * net/tramp.el (tramp-encoding-command-interactive)
1861 (tramp-local-end-of-line):
1862 * net/soap-client.el (soap-client):
1863 * net/netrc.el (netrc-file):
1864 * net/gnutls.el (gnutls):
1865 * minibuffer.el (completion-category-overrides)
1866 (completion-cycle-threshold)
1867 (completion-pcm-complete-word-inserts-delimiters):
1868 * man.el (Man-name-local-regexp):
1869 * mail/feedmail.el (feedmail-display-full-frame):
1870 * international/characters.el (glyphless-char-display-control):
1871 * eshell/em-ls.el (eshell-ls-date-format):
1872 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1873 (lisp-lambda-list-keyword-parameter-indentation)
1874 (lisp-lambda-list-keyword-parameter-alignment):
1875 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1876 * dired-x.el (dired-omit-verbose):
1877 * cus-theme.el (custom-theme-allow-multiple-selections):
1878 * calc/calc.el (calc-highlight-selections-with-faces)
1879 (calc-lu-field-reference, calc-lu-power-reference)
1880 (calc-note-threshold):
1881 * battery.el (battery-mode-line-limit):
1882 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1883 (archive-7z-update):
1884 * allout.el (allout-prefixed-keybindings)
1885 (allout-unprefixed-keybindings)
1886 (allout-inhibit-auto-fill-on-headline)
1887 (allout-flattened-numbering-abbreviation):
1888 * allout-widgets.el (allout-widgets-auto-activation)
1889 (allout-widgets-icons-dark-subdir)
1890 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1891 (allout-widgets-theme-dark-background)
1892 (allout-widgets-theme-light-background)
1893 (allout-widgets-item-image-properties-emacs)
1894 (allout-widgets-item-image-properties-xemacs)
1895 (allout-widgets-run-unit-tests-on-load)
1896 (allout-widgets-time-decoration-activity)
1897 (allout-widgets-hook-error-post-time)
1898 (allout-widgets-track-decoration):
1899 Add missing :version tags to new defcustoms and defgroups.
1900
5fec1b8e
GM
1901 * progmodes/sql.el (sql-ansi-statement-starters)
1902 (sql-oracle-statement-starters): Add custom type.
1903
3e0d2fa7
GM
1904 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1905 (prolog-system-version): Give it a type.
1906
90b671e2
EZ
19072012-02-11 Eli Zaretskii <eliz@gnu.org>
1908
1909 * term/pc-win.el (x-select-text, x-selection-owner-p)
1910 (x-own-selection-internal, x-disown-selection-internal)
1911 (x-get-selection-internal): Sync doc strings and argument lists
1912 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1913
5eac0c02
LL
19142012-02-11 Leo Liu <sdl.web@gmail.com>
1915
1916 * progmodes/python.el (python-end-of-statement): Fix infinite
1917 loop. (Bug#10788)
1918
f82cb659
GM
19192012-02-10 Glenn Morris <rgm@gnu.org>
1920
1921 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1922 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1923
cc26d239
LI
19242012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1925
1926 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1927 about SMTP before checking the From header.
1928
91027d08 1929 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
1930 into own function for reuse by emacsbug.el.
1931
1be3ca5a
LL
19322012-02-10 Leo Liu <sdl.web@gmail.com>
1933
1934 * subr.el (condition-case-unless-debug): Rename from
1935 condition-case-no-debug. All callers changed.
1936 (with-demoted-errors): Fix caller.
1937
1938 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1939 * nxml/rng-valid.el (rng-do-some-validation):
1940 * emacs-lisp/package.el (package-refresh-contents)
1941 (package-menu-execute):
1942 * desktop.el (desktop-create-buffer):
91027d08 1943 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 1944
b011fbfe
GM
19452012-02-10 Glenn Morris <rgm@gnu.org>
1946
b2096d72
GM
1947 * textmodes/bibtex.el:
1948 Add missing :version tags for new/changed defcustoms.
1949
b011fbfe
GM
1950 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1951
4c7e65bf
LI
19522012-02-09 Lars Ingebrigtsen <larsi@rusty>
1953
1954 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1955 (smtpmail-via-smtp): Use it, or fall back on the From address.
1956 (smtpmail-send-it): Ditto.
1957
f3934f6f
SM
19582012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1959
1960 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1961 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1962 (byte-compile-tmp-var): New const.
1963 (byte-compile-defvar): Use it to minimize .elc size.
1964 Just use `defvar' rather than simulate it (bug#10761).
1965
a075a2c5
GM
19662012-02-09 Glenn Morris <rgm@gnu.org>
1967
cf3aa21b
GM
1968 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1969
354998cd
GM
1970 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1971 Add :version tags.
1972
dc9924b8
SM
1973 * progmodes/compile.el (compilation-error-screen-columns)
1974 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 1975
dab3703d
GM
1976 * vc/log-view.el (log-view-toggle-entry-display):
1977 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1978
3f88cd72
GM
1979 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1980 (report-emacs-bug-can-use-xdg-email):
1981 (report-emacs-bug-insert-to-mailer): Doc fixes.
1982 (report-emacs-bug): Message fix.
1983
d95b247d
GM
1984 * net/browse-url.el (browse-url-can-use-xdg-open)
1985 (browse-url-xdg-open): Doc fixes.
1986
a075a2c5
GM
1987 * electric.el (electric-indent-mode, electric-pair-mode)
1988 (electric-layout-rules, electric-layout-mode): Doc fixes.
1989 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1990
ffb6157e
MR
19912012-02-08 Martin Rudalics <rudalics@gmx.at>
1992
1993 * server.el (server-unselect-display): Don't inadvertently kill
1994 the current buffer. (Bug#10729)
1995
e1ac4066
GM
19962012-02-08 Glenn Morris <rgm@gnu.org>
1997
34e8a2da
GM
1998 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1999 (sql-list-table): Doc fixes.
2000
b4ac6e8c
GM
2001 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2002 Comment out (does nothing).
2003
e1ac4066
GM
2004 * completion.el (dynamic-completion-mode):
2005 * dirtrack.el (dirtrack-debug-mode):
2006 * electric.el (electric-layout-mode):
2007 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2008 * face-remap.el (text-scale-mode, buffer-face-mode):
2009 * iimage.el (iimage-mode):
2010 * image-mode.el (image-transform-mode):
2011 * minibuffer.el (completion-in-region-mode):
2012 * scroll-lock.el (scroll-lock-mode):
2013 * simple.el (next-error-follow-minor-mode):
2014 * tar-mode.el (tar-subfile-mode):
2015 * tooltip.el (tooltip-mode):
2016 * vcursor.el (vcursor-use-vcursor-map):
2017 * wid-browse.el (widget-minor-mode):
2018 * emulation/tpu-edt.el (tpu-edt-mode):
2019 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2020 * international/iso-ascii.el (iso-ascii-mode):
2021 * language/thai-util.el (thai-word-mode):
2022 * mail/supercite.el (sc-minor-mode):
2023 * net/goto-addr.el (goto-address-mode):
2024 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2025 * progmodes/cwarn.el (cwarn-mode):
2026 * progmodes/flymake.el (flymake-mode):
2027 * progmodes/glasses.el (glasses-mode):
2028 * progmodes/hideshow.el (hs-minor-mode):
2029 * progmodes/pascal.el (pascal-outline-mode):
2030 * textmodes/enriched.el (enriched-mode):
2031 * vc/smerge-mode.el (smerge-mode):
2032 Doc fixes (minor mode argument).
2033
5e0d957f
EZ
20342012-02-07 Eli Zaretskii <eliz@gnu.org>
2035
2036 * ls-lisp.el (ls-lisp-sanitize): New function.
2037 (ls-lisp-insert-directory): Use it to fix or remove any elements
2038 in file-alist with missing attributes. (Bug#4673)
2039
98d7371e
AM
20402012-02-07 Alan Mackenzie <acm@muc.de>
2041
2042 Fix spurious recognition of c-in-knr-argdecl.
2043
2044 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2045 putative K&R region.
2046
667ced3a
AM
20472012-02-07 Alan Mackenzie <acm@muc.de>
2048
eb864a71
LM
2049 * progmodes/cc-engine.el (c-forward-objc-directive):
2050 Prevent looping in "#pragma mark @implementation".
667ced3a 2051
5b77774d
MA
20522012-02-07 Michael Albinus <michael.albinus@gmx.de>
2053
2054 * notifications.el (notifications-on-closed-signal): Make `reason'
2055 optional. (Bug#10744)
2056
af008560
GM
20572012-02-07 Glenn Morris <rgm@gnu.org>
2058
60d47423
GM
2059 * emacs-lisp/easy-mmode.el (define-minor-mode):
2060 Doc fixes for the macro and the mode it defines.
2061
dd605cc4
GM
2062 * image.el (imagemagick-types-inhibit): Doc fix.
2063
af008560
GM
2064 * cus-start.el (imagemagick-render-type): Add it.
2065
5cc59a37
LI
20662012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2067
4d6769e1
JB
2068 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2069 Set the default at load time, too, so that `font-lock-fontify-buffer'
2070 can be called without setting up the entire mode first. This fixes
2071 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 2072
9a6dd747
CY
20732012-02-06 Chong Yidong <cyd@gnu.org>
2074
2d16b285
CY
2075 * simple.el (list-processes--refresh): Delete exited processes
2076 (Bug#8094).
2077
171e9b6e
CY
2078 * comint.el (comint-next-prompt): next-single-char-property-change
2079 and prev-single-char-property-change never return nil (Bug#8657).
2080
9a6dd747
CY
2081 * custom.el (defcustom): Doc fix (Bug#9711).
2082
aa4589a7
CY
20832012-02-05 Chong Yidong <cyd@gnu.org>
2084
5c2a252f
CY
2085 * cus-edit.el (custom-variable-reset-backup): Quote the value
2086 before storing it in the customized-value property (Bug#6712).
4aab9006 2087 (custom-display): Add a customization type tag.
983b9602 2088 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 2089
aa4589a7
CY
2090 * wid-edit.el (widget-field-value-get): New optional arg to
2091 suppress trailing whitespace truncation.
2092 (character): Use it (Bug#2689).
2093
1ff980ae
AS
20942012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2095
2096 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2097 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2098
03988c98
CY
20992012-02-05 Chong Yidong <cyd@gnu.org>
2100
eeb6cc88
CY
2101 * cus-edit.el (custom-variable-value-create): For mismatched
2102 types, show the current value (Bug#7600).
2103
03988c98
CY
2104 * custom.el (defcustom): Doc fix.
2105
f8cdeef0
GM
21062012-02-05 Glenn Morris <rgm@gnu.org>
2107
2108 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2109
0696d255
JB
21102012-02-05 Juanma Barranquero <lekktu@gmail.com>
2111
2112 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2113 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2114 (pp-last-sexp): Use `looking-at-p'.
2115
34c99998
GM
21162012-02-04 Glenn Morris <rgm@gnu.org>
2117
8f05da42
GM
2118 * files.el (revert-buffer):
2119 Doc fix (mention revert-buffer-in-progress-p).
2120
f160676e
GM
2121 * emacs-lisp/ert-x.el (ert-simulate-command):
2122 Check deferred-action-list (which is obsolete) is bound.
2123
c7291ad9
GM
2124 * subr.el (with-wrapper-hook): Doc fixes.
2125
34c99998
GM
2126 * simple.el (filter-buffer-substring-functions)
2127 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2128
6283a7d3
LL
21292012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2130
2131 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2132 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2133
e96e3013
LL
21342012-02-04 Leo Liu <sdl.web@gmail.com>
2135
2136 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2137
8ded50f2
GM
21382012-02-04 Glenn Morris <rgm@gnu.org>
2139
82ff1d13
GM
2140 * image.el (image-extension-data): Add obsolete alias.
2141
987a0a16
GM
2142 * isearch.el (isearch-update): Doc fix.
2143
ea32ef46
GM
2144 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2145
8ded50f2
GM
2146 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2147
eea14f31
GM
21482012-02-03 Glenn Morris <rgm@gnu.org>
2149
2150 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2151 (image-animate-timeout): Doc fix.
2152
2153 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2154
12f381b7
GM
21552012-02-02 Glenn Morris <rgm@gnu.org>
2156
953cebf5
GM
2157 * server.el (server-auth-dir): Doc fix.
2158 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
2159
12f381b7
GM
2160 * subr.el (run-mode-hooks): Doc fix.
2161
953a8c3b
JL
21622012-02-02 Juri Linkov <juri@jurta.org>
2163
2164 * image-mode.el (image-toggle-display-image): Remove tautological
2165 `major-mode' from the `derived-mode-p' test.
2166
c5d3843c
KH
21672012-02-02 Kenichi Handa <handa@m17n.org>
2168
9f6e692e 2169 * composite.el (compose-region): Cancel previous change.
c5d3843c 2170
159462d4 21712012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
2172
2173 * composite.el (compose-region, compose-string): Signal error for
2174 a null string component (Bug#6988).
2175
9f562668
CY
21762012-02-01 Chong Yidong <cyd@gnu.org>
2177
e2cef717
CY
2178 * view.el (view-buffer-other-window, view-buffer-other-frame):
2179 Handle special modes like view-buffer (Bug#10650).
2180 (view-buffer): Simplify.
2181
9f562668
CY
2182 * frame.el (set-frame-font): Tweak meaning of third argument.
2183
9f6e692e
JB
2184 * dynamic-setting.el (font-setting-change-default-font):
2185 Use set-frame-font (Bug#9982).
9f562668 2186
781acb9f
GM
21872012-02-01 Glenn Morris <rgm@gnu.org>
2188
6035be52
GM
2189 * progmodes/compile.el (compilation-internal-error-properties):
2190 Respect compilation-first-column in the "*compilation*" buffer.
2191
781acb9f
GM
2192 * emacs-lisp/easy-mmode.el (define-minor-mode):
2193 Relax :variable's test for a named function.
2194
abbceb00
AM
21952012-01-31 Alan Mackenzie <acm@muc.de>
2196
2197 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2198 off by one error.
2199
fce3fdeb
CY
22002012-01-31 Chong Yidong <cyd@gnu.org>
2201
2202 * frame.el (set-frame-font): New arg ALL-FRAMES.
2203
2204 * menu-bar.el (menu-set-font): Use set-frame-font.
2205
2206 * faces.el (face-spec-reset-face): Don't apply unspecified
2207 attribute values to the default face.
2208
47893581
JB
22092012-01-31 Juanma Barranquero <lekktu@gmail.com>
2210
2211 * progmodes/cwarn.el (cwarn): Remove dead link.
2212 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2213 Remove * from defcustom docstrings.
2214 (turn-on-cwarn-mode): Make obsolete.
2215 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2216 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2217
e58e988a
GM
22182012-01-31 Glenn Morris <rgm@gnu.org>
2219
60dc2671 2220 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 2221 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 2222 Allow named functions to be used as the cdr of :variable.
e58e988a 2223
7a3f511d
GM
22242012-01-30 Glenn Morris <rgm@gnu.org>
2225
2226 * emacs-lisp/authors.el (authors-fixed-entries):
2227 Remove reference to deleted file rnewspost.el.
2228
cb882333
JB
22292012-01-29 Juanma Barranquero <lekktu@gmail.com>
2230
2231 * window.el (window-with-parameter): Remove unused variable `windows'.
2232 (window--side-check): Remove unused variable `code'.
2233 (window--resize-siblings): Remove unused variable `first'.
2234 (adjust-window-trailing-edge): Remove unused variable `failed'.
2235 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2236 Use `let', not `let*'.
2237 (balance-windows-2): Remove unused variable `found'.
2238 (window--state-put-2): Remove unused variable `splits'.
2239 (window-state-put): Remove unused variable `selected'.
2240 (same-window-p): Use `string-match-p'.
2241 (display-buffer-assq-regexp): Remove unused variable `value'.
2242 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2243 Mark argument ALIST as ignored.
2244 (pop-to-buffer): Remove unused variable `old-window'.
2245
907201af
EZ
22462012-01-29 Eli Zaretskii <eliz@gnu.org>
2247
2248 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2249 and .lzma compressed files.
2250
ea162670
CY
22512012-01-29 Chong Yidong <cyd@gnu.org>
2252
5b95ee8a
CY
2253 * frame.el (window-system-default-frame-alist): Doc fix.
2254
ea162670
CY
2255 * dynamic-setting.el (font-setting-change-default-font): Don't
2256 change the default face if SET-FONT argument is non-nil (Bug#9982).
2257
d6e6f4b1
SB
22582012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2259
2260 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2261
0f29fa41 22622012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
2263
2264 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2265 breakpoints in files outside current directory (Bug#6098).
2266
db174434
CY
22672012-01-29 Chong Yidong <cyd@gnu.org>
2268
6b25e4e2
SE
2269 * progmodes/python.el: Require ansi-color at top-level.
2270
6df6ae42
JB
2271 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2272 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
2273 (lisp-mode-abbrev-table): Add doc.
2274 (lisp-mode-variables): Don't set local-abbrev-table.
2275 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2276
e70ee681
RW
22772012-01-28 Roland Winkler <winkler@gnu.org>
2278
2279 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2280
ace88aa2
RW
22812012-01-28 Roland Winkler <winkler@gnu.org>
2282
2283 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2284 (bibtex-set-dialect): Use it. Either set global values of
2285 dialect-dependent variables or bind these variables buffer-locally
2286 (Bug#10254).
2287 (bibtex-mode): Call bibtex-set-dialect via
2288 hack-local-variables-hook.
eb864a71
LM
2289 (bibtex-dialect): Update docstring.
2290 Add safe-local-variable predicate.
ace88aa2
RW
2291 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2292 bibtex-set-dialect.
2293 (bibtex-mode-map): Define menu for each dialect.
2294 (bibtex-entry): Fix docstring.
2295
93376c5b
CY
22962012-01-28 Chong Yidong <cyd@gnu.org>
2297
2298 * eshell/esh-arg.el (eshell-quote-argument): New function.
2299
2300 * eshell/esh-ext.el (eshell-invoke-batch-file):
2301 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2302 first arg to eshell-parse-command (Bug#10523).
2303
4372494f
DA
23042012-01-28 Drew Adams <drew.adams@oracle.com>
2305
2306 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2307 `default-directory' is non-nil.
2308
4d4ec1f8
EZ
23092012-01-28 Eli Zaretskii <eliz@gnu.org>
2310
2311 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2312 line that displays system-configuration-options. (Bug#9924)
2313
7c188927
DA
23142012-01-28 Drew Adams <drew.adams@oracle.com>
2315
2316 * descr-text.el (describe-char): Show information about POS, in
2317 addition to information about the character at POS. Improve and
2318 update the doc string. Change "code point" to "code point in
2319 charset", to avoid confusion with the character's Unicode code
2320 point shown above that. (Bug#10129)
2321
e0da685a
EZ
23222012-01-28 Eli Zaretskii <eliz@gnu.org>
2323
2324 * descr-text.el (describe-char): Show the raw character, not only
2325 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2326 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2327 for the reasons.
2328
70550acf
PH
23292012-01-28 Phil Hagelberg <phil@hagelb.org>
2330
eb864a71
LM
2331 * emacs-lisp/package.el (package-install):
2332 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 2333
0ce8e868
CY
23342012-01-28 Chong Yidong <cyd@gnu.org>
2335
cb882333
JB
2336 * emacs-lisp/package.el (package-maybe-load-descriptor):
2337 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
2338 (package-maybe-load-descriptor): Use it.
2339 (package-download-transaction): Fully load required packages
2340 inside the loop, so that `require' calls work (Bug#10593).
2341 (package-install): No need to call package-initialize now.
2342
2e7f3bea
CY
23432012-01-28 Chong Yidong <cyd@gnu.org>
2344
6e9bad14
CY
2345 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2346
f823b8ca
CY
2347 * tooltip.el (tooltip-mode): Doc fix.
2348 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2349
2680c309
CY
2350 * frame.el (set-cursor-color): Doc fix (Bug#352).
2351
d7a9e63b
CY
2352 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2353 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2354
2e7f3bea
CY
2355 * cus-edit.el (custom-buffer-create-internal): Fix search button
2356 action (Bug#10542).
2ae01800 2357 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 2358
fc4f7a23
EW
23592012-01-27 Eduard Wiebe <usenet@pusto.de>
2360
2361 * dired.el (dired-mark-files-regexp):
2362 Include any subdirectory components. (Bug#10445)
2363
7dd37071
ML
23642012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2365
2366 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2367 Handle [host]:port syntax. (Bug#10533)
2368
a268160b
AH
23692012-01-27 Alex Harsanyi <harsanyi@mac.com>
2370
2371 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2372
e43273ef
GM
23732012-01-26 Glenn Morris <rgm@gnu.org>
2374
2375 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2376 * term.el (term-raw-escape-map): Use Control-X-prefix.
2377 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2378
1edf595d
MR
23792012-01-25 Martin Rudalics <rudalics@gmx.at>
2380
2381 * window.el (window-state-get, window--state-get-1): Don't deal
2382 with fixed-sizeness of windows. Simplify code.
2383
fa8eafef
JC
23842012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2385
6df6ae42
JB
2386 * window.el (window--state-get-1, window--state-put-2):
2387 Don't save and restore the mark.
fa8eafef 2388
0b21c100
CY
23892012-01-25 Chong Yidong <cyd@gnu.org>
2390
2391 * custom.el (custom-variable-p): Doc fix.
2392
5ae1a6c8
GM
23932012-01-25 Glenn Morris <rgm@gnu.org>
2394
40047858
GM
2395 * dired.el (dired-goto-file): Handle some of the more common
2396 characters that `ls -b' escapes. (Bug#10596)
2397
5ddce96c
GM
2398 * progmodes/compile.el (compilation-next-error-function):
2399 Respect compilation-first-column in the "*compilation*" buffer.
2400 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2401
5ae1a6c8
GM
2402 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2403
b559f1a9
GM
24042012-01-24 Glenn Morris <rgm@gnu.org>
2405
2406 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2407
6725d21a
JD
24082012-01-24 Julien Danjou <julien@danjou.info>
2409
2410 * color.el (color-rgb-to-hsl): Fix value computing.
2411 (color-hue-to-rgb): New function.
2412 (color-hsl-to-rgb): New function.
2413 (color-clamp, color-saturate-hsl, color-saturate-name)
2414 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2415 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2416
70df4bbe
GM
24172012-01-24 Glenn Morris <rgm@gnu.org>
2418
2419 * vc/vc-rcs.el (vc-rcs-create-tag):
2420 * vc/vc-sccs.el (vc-sccs-create-tag):
2421 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2422
802a2ae2
ML
24232012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2424
2425 * eshell/esh-util.el (eshell-read-hosts-file):
2426 Skip comment lines. (Bug#10549)
2427
d7128bb1
ML
2428 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2429
d1a5c3b4
JB
24302012-01-23 Juanma Barranquero <lekktu@gmail.com>
2431
2724d9c7
JB
2432 * subr.el (display-delayed-warnings): Doc fix.
2433 (collapse-delayed-warnings): New function to collapse identical
2434 adjacent warnings.
2435 (delayed-warnings-hook): Add it.
d1a5c3b4 2436
a5509865
MA
24372012-01-22 Michael Albinus <michael.albinus@gmx.de>
2438
2439 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2440
2441 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2442 properties, when "login-as" is set.
2443
2444 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2445 (tramp-default-user-alist): Don't add "pscp".
2446 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2447 property "login-as", if set. (Bug#10530)
2448
cc6d5805
MA
24492012-01-21 Michael Albinus <michael.albinus@gmx.de>
2450
2451 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2452 "plink1" and "psftp". (Bug#10530)
2453
24542012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
2455
2456 * international/mule-cmds.el (prefer-coding-system): Show a
2457 warning message if the default value of file-name-coding-system
2458 was not changed.
2459
f0960428
JC
24602012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2461
cb882333
JB
2462 * windmove.el (windmove-reference-loc):
2463 Fix windmove-reference-loc miscalculation.
f0960428 2464
dd6f2a63
JB
24652012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2466
2467 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2468 default unit.
2469
7b447e9b
GM
24702012-01-21 Glenn Morris <rgm@gnu.org>
2471
117a9ea1
GM
2472 * international/mule.el (auto-coding-alist): Add .tbz.
2473
7b447e9b
GM
2474 * files.el (local-enable-local-variables): Doc fix.
2475 (inhibit-local-variables-regexps): Rename from
2476 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
2477 Doc fix. Add some extensions from auto-coding-alist.
2478 (inhibit-local-variables-suffixes):
2479 Rename from inhibit-first-line-modes-suffixes. Doc fix.
2480 (inhibit-local-variables-p):
2481 New function, extracted from set-auto-mode-1.
2482 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
2483 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
2484 (hack-local-variables): Doc fix. Make the mode-only case
2485 respect enable-local-variables and friends.
2486 Respect inhibit-local-variables-regexps for file-locals, but
2487 not for directory-locals.
2488 (set-visited-file-name):
2489 Take account of inhibit-local-variables-regexps.
2490 Whether it applies may change as the file name is changed.
2491 * jka-cmpr-hook.el (jka-compr-install):
2492 * jka-compr.el (jka-compr-uninstall):
2493 Update for inhibit-first-line-modes-suffixes name change.
2494
dd6e3cdd
MR
24952012-01-20 Martin Rudalics <rudalics@gmx.at>
2496
2497 * help-macro.el (make-help-screen): Temporarily restore original
2498 binding for minor-mode-map-alist (Bug#10454).
2499
0d0deb38
JD
25002012-01-19 Julien Danjou <julien@danjou.info>
2501
2502 * color.el (color-name-to-rgb): Use the white color to find the max
2503 color component value and return correctly computed values.
2504 (color-name-to-rgb): Add missing float conversion for max value.
2505
34a02f46
MR
25062012-01-19 Martin Rudalics <rudalics@gmx.at>
2507
2508 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
2509 special state value for window-persistent-parameters.
2510 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
2511 (window--state-put-2): Reset all window parameters to nil before
2512 assigning values of persistent parameters.
2513
606c44c4
AM
25142012-01-18 Alan Mackenzie <acm@muc.de>
2515
2516 Eliminate sluggishness and hangs in fontification of "semicolon
2517 deserts".
2518
cb882333
JB
2519 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2520 Change value 10000 -> 3000.
606c44c4
AM
2521 (c-state-safe-place): Reformulate so it doesn't stack up an
2522 infinite number of wrong entries in c-state-nonlit-pos-cache.
2523 (c-determine-limit-get-base, c-determine-limit): New functions to
2524 determine backward search limits disregarding literals.
2525 (c-find-decl-spots): Amend commenting.
2526 (c-cheap-inside-bracelist-p): New function which detects "={".
2527
2528 * progmodes/cc-fonts.el
2529 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2530 backward search.
2531 (c-font-lock-declarations): Fix an occurrence of point being
2532 undefined. Check additionally for point being in a bracelist or
2533 near a macro invocation without a semicolon so as to avoid a
2534 fruitless time consuming search for a declarator. Give a more
2535 precise search limit for declarators using the new
2536 c-determine-limit.
2537
f3860cea
GM
25382012-01-18 Glenn Morris <rgm@gnu.org>
2539
2540 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2541 (set-auto-mode): Doc fixes.
2542
1db03b16
GM
25432012-01-17 Glenn Morris <rgm@gnu.org>
2544
0e6038be
GM
2545 * isearch.el (search-nonincremental-instead): Fix doc typo.
2546
1db03b16
GM
2547 * dired.el (dired-insert-directory): Handle newlines in directory name.
2548 (dired-build-subdir-alist): Unescape newlines in directory name.
2549
4cb0aa75
MA
25502012-01-17 Michael Albinus <michael.albinus@gmx.de>
2551
2552 * net/tramp.el (tramp-local-end-of-line): New defcustom.
2553 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2554 (tramp-action-terminal): Use it. (Bug#10530)
2555
1d00653d
SM
25562012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2557
2558 * minibuffer.el (completion--replace): Strip properties (bug#10062).
2559
6a6ee00d
MR
25602012-01-16 Martin Rudalics <rudalics@gmx.at>
2561
2562 * window.el (window-state-ignored-parameters): Remove variable.
2563 (window--state-get-1): Rename argument MARKERS to IGNORE.
2564 Handle persistent window parameters. Make copy of clone-of
2565 parameter only if requested. (Bug#10348)
2566 (window--state-put-2): Install a window parameter only if it has
2567 a non-nil value or an existing parameter shall be overwritten.
2568
97912def
MA
25692012-01-15 Michael Albinus <michael.albinus@gmx.de>
2570
2571 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2572
688070a5
EZ
25732012-01-14 Eli Zaretskii <eliz@gnu.org>
2574
2575 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2576 don't pass the (nil) value of `upnode' to string-match.
2577
301afadc
CY
25782012-01-14 Chong Yidong <cyd@gnu.org>
2579
2580 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 2581 Fix values recognized by the cursorBlink resource.
301afadc 2582
9e5788aa
PE
25832012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2584
2585 * epg.el (epg--make-temp-file): Avoid permission race condition
2586 when running on old Emacs versions (bug#10403).
2587
3cdb7f5a
GM
25882012-01-14 Glenn Morris <rgm@gnu.org>
2589
2590 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2591
8c82b1b4
AM
25922012-01-13 Alan Mackenzie <acm@muc.de>
2593
2594 Fix filling for when filladapt mode is enabled.
2595
2596 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2597 c-mask-paragraph, pass in `fill-paragraph' rather than
2598 `fill-region-as-paragraph'. (This is a reversion of a previous
2599 change.)
eb864a71
LM
2600 * progmodes/cc-mode.el (c-basic-common-init):
2601 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 2602
e517eda4
GM
26032012-01-13 Glenn Morris <rgm@gnu.org>
2604
1498536e
GM
2605 * dired.el (dired-switches-escape-p): New function.
2606 (dired-insert-directory): Use dired-switches-escape-p.
2607 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2608
e517eda4
GM
2609 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2610
328f984d
GM
26112012-01-12 Glenn Morris <rgm@gnu.org>
2612
2613 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2614 changes in adaptive-fill-regexp. (Bug#10276)
2615
2cc769a8
AM
26162012-01-11 Alan Mackenzie <acm@muc.de>
2617
2618 Fix Emacs bug #10463 - put `widen's around the critical spots.
2619
1d00653d 2620 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
2621 widen around each invocation of c-state-pp-to-literal. Remove an
2622 unused let variable.
2623
e52c37fa
GM
26242012-01-11 Glenn Morris <rgm@gnu.org>
2625
2626 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 2627 Doc fix.
e52c37fa 2628
96f8741e
CY
26292012-01-10 Chong Yidong <cyd@gnu.org>
2630
1d00653d
SM
2631 * net/network-stream.el (network-stream-open-starttls):
2632 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
2633 response to the capability command.
2634
b09a806e
GM
26352012-01-10 Glenn Morris <rgm@gnu.org>
2636
2637 * mail/unrmail.el (unrmail): Tweak previous change.
2638
7655cb66
CY
26392012-01-09 Chong Yidong <cyd@gnu.org>
2640
2641 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2642
9d5a8f0b
AM
26432012-01-08 Alan Mackenzie <acm@muc.de>
2644
2645 Optimise font locking in long enum definitions.
2646
2647 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2648 arm to a cond form to handle enums.
2649 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2650 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2651
9a0115ab 26522012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
2653
2654 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 2655 (Bug#10401)
6bb72cbd 2656
f186bb95
LMI
26572012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2658
29232a68
LMI
2659 * faces.el (set-face-attribute): Clarify the meaning of the nil
2660 frame (bug#10294).
2661
4e5d086d
LMI
2662 * subr.el (with-selected-frame): Mention that the selected frame
2663 is restored (bug#9980).
2664
8e66aebe
LMI
2665 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2666 (bug#9759).
2667
cd394be1 2668 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
2669 (password-read): Don't autoload unused function.
2670
adf4e762
JB
26712012-01-07 Juanma Barranquero <lekktu@gmail.com>
2672
2673 * progmodes/which-func.el (which-func-mode): Turn into a
2674 non-interactive function and mark as obsolete (bug#10428).
2675
89bd9ccd
CY
26762012-01-06 Chong Yidong <cyd@gnu.org>
2677
2678 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2679 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2680 functions, along with 1 and -1.
2681
4afee9d5
EZ
26822012-01-06 Eli Zaretskii <eliz@gnu.org>
2683
2684 * time.el (display-time-load-average)
2685 (display-time-default-load-average): Doc fixes. See the thread
2686 starting at
2687 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2688 for the details.
2689
536aea70
GM
26902012-01-06 Glenn Morris <rgm@gnu.org>
2691
665ae865
GM
2692 * mail/unrmail.el (unrmail): Give an explicit error if the input file
2693 has no messages. (Bug#10377)
2694
c869783d
GM
2695 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2696 than Info-edit. (Bug#10385)
2697
2bb4227e
GM
2698 * time.el (display-time-load-average, display-time-next-load-average):
2699 Doc fixes.
2700
7d5944b9
GM
2701 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2702 local setting of buffer-read-only to the input buffer. (Bug#10419)
2703
536aea70
GM
2704 * calendar/calendar.el (calendar-mode):
2705 Locally set scroll-margin to 0. (Bug#10379)
2706
7dccca16
UM
27072012-01-06 Ulrich Mueller <ulm@gentoo.org>
2708
2709 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
2710
afbb7930
GM
27112012-01-05 Glenn Morris <rgm@gnu.org>
2712
2713 * eshell/em-unix.el (diff-no-select): Autoload it.
2714 (eshell/diff): Use diff-no-select. (Bug#10420)
2715
04482335
CY
27162012-01-05 Chong Yidong <cyd@gnu.org>
2717
7baca3bc
CY
2718 * shell.el (shell-dynamic-complete-functions): Revert last change.
2719 (shell-command-completion-function): New function.
2720 (shell-completion-vars): Use it to implement
2721 shell-completion-execonly (Bug#10417).
2722
04482335
CY
2723 * custom.el (enable-theme): Don't set custom-safe-themes.
2724
1d00653d
SM
2725 * cus-theme.el (custom-theme-merge-theme):
2726 Ignore custom-enabled-themes and custom-safe-themes.
04482335 2727
bb5aa5d6
MM
27282012-01-05 Michael R. Mauger <mmaug@yahoo.com>
2729
2730 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2731 first prompt in `sql-interacive-mode'.
2732 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 2733 keywords.
6df6ae42 2734 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
2735 (sql-product-interactive): Bug fix: Set `sql-buffer' in
2736 context of original buffer. Invoke `sql-login-hook'.
2737
a7183d7c
EZ
27382012-01-04 Eli Zaretskii <eliz@gnu.org>
2739
2740 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2741 letters in cite-prefix.
2742
a1eacd1e
LMI
27432012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2744
2745 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2746
787cdb34
CY
27472012-01-03 Chong Yidong <cyd@gnu.org>
2748
1d00653d
SM
2749 * shell.el (shell-dynamic-complete-functions):
2750 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
2751 comint-filename-completion first (Bug#10417).
2752
30710442
RS
27532012-01-02 Richard Stallman <rms@gnu.org>
2754
2755 * battery.el (battery-status-function):
2756 Detect when to use battery-yeeloong-sysfs.
2757 (battery-echo-area-format): Add string for Yeeloong.
2758 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2759 (battery-yeeloong-sysfs): New function.
2760
f75bfc33
CY
27612012-01-02 Chong Yidong <cyd@gnu.org>
2762
2763 * dirtrack.el (dirtrack-list): Eliminate unused third element.
2764 (dirtrack): Merge code for handling relative filenames in prompt
2765 from shell-dir-cookie-watcher.
2766 (dirtrack-debug-message): New arg to avoid excess format calls.
2767
2768 * shell.el (shell-dir-cookie-re): Variable deleted.
2769 (shell-dir-cookie-watcher): Function deleted.
2770 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2771 with dirtrack-mode.
2772
651e947e
EZ
27732012-01-01 Eli Zaretskii <eliz@gnu.org>
2774
1d00653d
SM
2775 * term/w32-win.el (dynamic-library-alist) <gnutls>:
2776 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
2777 libgnutls-26.dll.
2778
94d4c7dc
AS
27792011-12-31 Andreas Schwab <schwab@linux-m68k.org>
2780
2781 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2782
8d43f3cd
EZ
27832011-12-31 Eli Zaretskii <eliz@gnu.org>
2784
2785 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2786 headers of non-MIME messages, when rmail-enable-mime is non-nil.
2787
98c8795a
MA
27882011-12-29 Michael Albinus <michael.albinus@gmx.de>
2789
2790 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2791 also for alternative shells.
2792 (tramp-open-connection-setup-interactive-shell): Check, whether
2793 the shell is a busybox.
2794 (tramp-send-command): Don't suppress multiple prompts for
2795 busyboxes, it hurts.
2796
51281b32
CY
27972011-12-28 Chong Yidong <cyd@gnu.org>
2798
2799 * progmodes/gdb-mi.el (gdb-get-source-file-list)
2800 (gdb-get-source-file): Move mode line update to
2801 gdb-get-source-file (Bug#10087).
2802
2170cb53
CY
28032011-12-25 Chong Yidong <cyd@gnu.org>
2804
2805 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2806 gud-gdb-marker-filter without taking it as an argument.
2807 (gud-gdb-run-command-fetch-lines): Caller changed.
2808 (gud-gdb-completion-function): New variable.
2809 (gud-gdb-completion-at-point): Use it.
2810 (gud-gdb-completions-1): Split from gud-gdb-completions.
2811
2812 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2813 function as separate arguments.
2814 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2815 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2816 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2817 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2818 (gdb-stopped, def-gdb-auto-update-trigger)
2819 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
2820 (gdb-get-changed-registers, gdb-get-main-selected-frame):
2821 Callers changed.
2170cb53
CY
2822 (gud-gdbmi-completions): New function.
2823 (gdb): Use it for generating the completion table.
2824
be8b11bb
AM
28252011-12-24 Alan Mackenzie <acm@muc.de>
2826
2827 Introduce a mechanism to widen the region used in context font
1d00653d 2828 locking. Use this to protect declarations from losing their contexts.
be8b11bb 2829
1d00653d
SM
2830 * progmodes/cc-langs.el (c-before-font-lock-functions):
2831 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 2832 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
2833 functions to be run just before context (etc.) font locking.
2834
2835 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 2836 New, functionality extracted from
be8b11bb 2837 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 2838 (c-in-after-change-fontification): New variable.
be8b11bb
AM
2839 (c-after-change): Set c-in-after-change-fontification.
2840 (c-set-fl-decl-start): Rejig its interface, so it can be called
2841 from both after-change and context fontifying.
b81d40f0
JB
2842 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2843 New functions.
2844 (c-standard-font-lock-fontify-region-function): New variable.
2845 (c-font-lock-fontify-region): New function.
be8b11bb 2846
341cf6ac
JL
28472011-12-24 Juri Linkov <juri@jurta.org>
2848
2849 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2850 (Bug#10348)
2851
bffcee0a
MA
28522011-12-23 Michael Albinus <michael.albinus@gmx.de>
2853
2854 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2855 existence of source file. (Bug#10325)
2856
cb5e207c
AM
28572011-12-23 Alan Mackenzie <acm@muc.de>
2858
2859 Fix unstable fontification inside templates.
2860
b81d40f0
JB
2861 * progmodes/cc-langs.el (c-before-font-lock-functions):
2862 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
2863 additionally has c-set-fl-decl-start. The other languages (apart
2864 from AWK) have that as a single entry.
2865
b81d40f0
JB
2866 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2867 The functionality for "local" declarations has been extracted to
cb5e207c
AM
2868 c-set-fl-decl-start.
2869
b81d40f0
JB
2870 * progmodes/cc-mode.el (c-common-init, c-after-change):
2871 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
2872 (c-set-fl-decl-start): New function, extracted from
2873 c-font-lock-enclosing-decls and enhanced.
2874
60ff536c
JB
28752011-12-23 Juanma Barranquero <lekktu@gmail.com>
2876
2877 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2878
1c4757d6
JL
28792011-12-22 Juri Linkov <juri@jurta.org>
2880
2881 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
2882
d031f2c7
CY
28832011-12-22 Chong Yidong <cyd@gnu.org>
2884
2885 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2886
bace743a
DA
28872011-12-21 Drew Adams <drew.adams@oracle.com>
2888
2889 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2890
728a1f2b
JC
28912011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2892
2893 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2894
0d373f73
TZ
28952011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2896
fec0aaa4
TZ
2897 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2898 highlighting and support. Fix up comments for capitalization.
2899 (cfengine-mode-debug): New var.
2900 (cfengine3-mode): Change the modeline indicator to "CFE3".
2901 (cfengine3-font-lock-keywords): Improve defun highlighting.
2902 (cfengine2-actions): Rename from `cfengine-actions'.
2903 (cfengine2-font-lock-keywords): Rename from
2904 `cfengine-font-lock-keywords'.
2905 (cfengine2-imenu-expression): Rename from
2906 `cfengine-imenu-expression'.
2907 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2908 (cfengine2-beginning-of-defun): Rename from
2909 `cfengine-beginning-of-defun'.
2910 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2911 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2912 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2913 modeline indicator to "CFE2".
2914 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2915 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 2916
bc86f573
CY
29172011-12-21 Chong Yidong <cyd@gnu.org>
2918
2919 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2920 filename argument.
2921
d45ba96b
MR
29222011-12-20 Martin Rudalics <rudalics@gmx.at>
2923
2924 * window.el (window-normalize-buffer-to-display): Remove.
2925 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2926
a6198c90
CY
29272011-12-19 Chong Yidong <cyd@gnu.org>
2928
2929 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2930 Don't signal an error in a predicate function; return non-nil.
2931 (vc-dir-mark-file): Move the error here.
2932 (vc-dir-mark-unmark): If acting on the region, keep going if one
2933 of the entries cannot be marked/unmarked.
2934 (vc-dir-mark-all-files): If current entry is a directory, mark
2935 only child files, as documented.
2936
34c5fb55
VB
29372011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2938
2939 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2940 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2941 addition.
2942
c803b2b7
JD
29432011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2944
2945 * term/ns-win.el (ns-get-selection-internal)
2946 (ns-store-selection-internal): Declare.
1154d12e
JB
2947 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2948 Declare as obsolete.
2949 (ns-get-pasteboard, ns-paste-secondary):
2950 Use ns-get-selection-internal.
2951 (ns-set-pasteboard, ns-copy-including-secondary):
2952 Use ns-store-selection-internal.
c803b2b7 2953
9cff91f8 29542011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
2955
2956 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 2957 (vc-deduce-fileset): Doc fix.
99a289d9 2958
f16c898a
AS
29592011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2960
2961 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2962
763237c4
SS
29632011-12-13 Sam Steingold <sds@gnu.org>
2964
2965 * man.el (Man-getpage-in-background): When running under a
2966 window-system, ignore $MANWIDTH and $COLUMNS.
2967
5fc1c122
KH
29682011-12-15 Kenichi Handa <handa@m17n.org>
2969
2970 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2971 (setup-ethiopic-environment-internal): Comment out key-binding for
2972 ethio-toggle-punctuation.
2973
13d49cbb
AM
29742011-12-13 Alan Mackenzie <acm@muc.de>
2975
898169a2
AM
2976 Add the switch statement to AWK Mode.
2977
7a71b18d 2978 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
2979 "default" to the keywords regexp.
2980
7a71b18d 2981 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 2982 expression as the rest.
1d00653d
SM
2983 (c-nonlabel-token-key): Allow string literals for AWK.
2984 Refactor for the other modes.
898169a2 2985
13d49cbb 2986 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 2987 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
2988 routines. Limit backward searching in c-font-lock-enclosing.decl.
2989
2990 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2991 pp-state and literal type in addition to the limits.
1d00653d 2992 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 2993 (c-state-literal-at): Use the above new defun.
1d00653d
SM
2994 (c-slow-in-literal, c-fast-in-literal): Remove.
2995 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
2996
2997 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2998 being in a literal. Add a limit for backward searching.
2999
3000 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3001 c-slow-in-literal.
3002
15e0efc7
SM
30032011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3004
3005 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3006
454592a6
MR
30072011-12-13 Martin Rudalics <rudalics@gmx.at>
3008
3009 * window.el (delete-other-windows): Use correct frame in call to
3010 window-with-parameter.
3011
87393f26
DP
30122011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3013
3014 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3015 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3016 (makefile-gmake-statements, makefile-makepp-statements):
3017 Use it and add new makepp keywords.
3018 (makefile-makepp-font-lock-keywords): Add new patterns.
3019 (makefile-match-function-end): Match new [...] and [[...]].
3020
11636b22
JB
30212011-12-11 Juanma Barranquero <lekktu@gmail.com>
3022
3023 * ses.el (ses-call-printer-return, ses-cell-property-get)
3024 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3025 (ses-create-cell-variable, ses-reset-header-string)
3026 (ses-cell-set-formula, ses-repair-cell-reference-all)
3027 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3028 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3029 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3030 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3031 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3032 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3033 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3034 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3035 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3036 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3037 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3038 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3039
cf018193
VB
30402011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3041
3042 * ses.el: The overall change is to add cell renaming, that is
3043 setting fancy names for cell symbols other than name matching
3044 "\\`[A-Z]+[0-9]+\\'" regexp .
3045 (ses-create-cell-variable): New defun.
3046 (ses-relocate-formula): Relocate formulas only for cells the
3047 symbols of which are not renamed, i.e. symbols whose names do not
3048 match regexp "\\`[A-Z]+[0-9]+\\'".
3049 (ses-relocate-all): Relocate values only for cells the symbols of
3050 which are not renamed.
3051 (ses-load): Create cells variables as the (ses-cell ...) are read,
3052 in order to check row col consistency with cell symbol name only
3053 for cells that are not renamed.
3054 (ses-replace-name-in-formula): New defun.
3055 (ses-rename-cell): New defun.
3056
ee957461
CY
30572011-12-11 Chong Yidong <cyd@gnu.org>
3058
3059 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3060 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3061
9a9e9ef0
MR
30622011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3063
3064 * window.el (other-window): Fix docstring.
3065
92a8eba5
EZ
30662011-12-10 Eli Zaretskii <eliz@gnu.org>
3067
3068 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
3069 `from' or `to' address before taking its substring.
3070 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
3071 encoded name is chopped in the middle of the encoded string, and
3072 thus displayed encoded.
3073
e152e577
JB
30742011-12-10 Juanma Barranquero <lekktu@gmail.com>
3075
3076 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3077
e5d84bfe
EZ
30782011-12-10 Eli Zaretskii <eliz@gnu.org>
3079
3080 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3081 to use texinfo-update-node and commands that call it if the
3082 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 3083 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
3084 (texinfo-all-menus-update, texinfo-master-menu)
3085 (texinfo-update-node, texinfo-every-node-update)
3086 (texinfo-multiple-files-update): Doc fix. Warn against updating
3087 all the @node lines.
3088 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
3089 argument is numeric. Explain better in the doc string what the
3090 function really does.
3091 (texinfo-insert-master-menu-list): Improve the error message
3092 displayed if there's no menu in the Top node.
3093 (Bug#2975) See also this thread:
e5d84bfe
EZ
3094 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3095
1d84e9bb
MG
30962011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3097
3098 * speedbar.el (speedbar-supported-extension-expressions):
3099 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3100
382c953b
JB
31012011-12-09 Juanma Barranquero <lekktu@gmail.com>
3102
3103 * printing.el (pr-mode-alist):
3104 * simple.el (filter-buffer-substring-functions)
3105 (completion-list-insert-choice-function):
3106 * window.el (window-with-parameter, window-atom-root)
3107 (window-sides-slots, window-size-fixed, window-min-delta)
3108 (window-max-delta, window--resize-mini-window)
3109 (window--resize-child-windows-normal, window-tree)
3110 (delete-other-windows, quit-window, split-window)
3111 (display-buffer-record-window, special-display-buffer-names)
3112 (special-display-regexps, special-display-popup-frame)
3113 (same-window-p, split-window-sensibly)
3114 (display-buffer-overriding-action, display-buffer-alist)
3115 (display-buffer-base-action, display-buffer, switch-to-buffer)
3116 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3117 (fit-window-to-buffer, recenter-positions)
3118 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3119 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3120 and remove unneeded backslashes in docstrings.
3121
39c9faef
SM
31222011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3123
98449af8
SM
3124 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3125
39c9faef
SM
3126 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3127 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3128 end in ".mk".
3129 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3130 when reading the makefile (bug#10116).
3131
86ed9fdc
SM
31322011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3133
3134 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3135 (bug#10116).
3136
5580f89d
GM
31372011-12-06 Glenn Morris <rgm@gnu.org>
3138
3139 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3140
28d3917c
CY
31412011-12-06 Chong Yidong <cyd@gnu.org>
3142
3143 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3144
a98edce9
JB
31452011-12-06 Juanma Barranquero <lekktu@gmail.com>
3146
3147 * textmodes/table.el (table-shorten-cell): Fix typo.
3148
e65adfac
CG
31492011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3150
3151 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3152
71cc0b74
EZ
31532011-12-05 Eli Zaretskii <eliz@gnu.org>
3154
3155 * descr-text.el (describe-char): Fix display of strong
3156 right-to-left characters and directional embeddings and overrides.
3157
3158 * simple.el (what-cursor-position): Fix display of codepoints of
3159 strong right-to-left characters.
3160
315bc30d
CY
31612011-12-05 Chong Yidong <cyd@gnu.org>
3162
3163 * faces.el (read-color): Doc fix.
3164
58a70b94
GM
31652011-12-05 Glenn Morris <rgm@gnu.org>
3166
3167 * align.el (align--set-marker): Add doc-string.
3168 Don't try to move something that is not a marker. (Bug#10216)
3169
5158face
GM
31702011-12-04 Glenn Morris <rgm@gnu.org>
3171
3172 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3173 overly zealous deletion of trailing whitespace.
3174
520fca41
JB
31752011-12-04 Juanma Barranquero <lekktu@gmail.com>
3176
3177 * server.el (server-delete-client): On Windows, do not try to delete
3178 the only terminal.
3179 (server-process-filter): On Windows, treat requests for a tty frame as
3180 if they were for a GUI frame if the running server is in GUI mode.
3181
5e605a2e
GM
31822011-12-03 Glenn Morris <rgm@gnu.org>
3183
3184 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3185
5c3fe83f
SM
31862011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3187
6f5e57e7
SM
3188 * electric.el: Streamline electric-indent's hook.
3189 (electric-indent-chars): Revert to simple list.
3190 (electric-indent-functions): New var.
3191 (electric-indent-post-self-insert-function): Use it.
3192
5c3fe83f
SM
3193 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3194 there's no inferior buffer (bug#10196).
3195 (prolog-consult-compile): Don't use toggle-read-only.
3196
6bdac736
MA
31972011-12-02 Michael Albinus <michael.albinus@gmx.de>
3198
3199 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3200 interrupt. (Bug#10187)
3201
6131ba7f
SM
32022011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3203
99c79fee
SM
3204 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3205 (bug#9160).
3206
6131ba7f
SM
3207 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3208 (bug#10191).
3209
cb0a02ea
JL
32102011-12-02 Juri Linkov <juri@jurta.org>
3211
3212 * info.el (Info-search): Display "end of manual" when Isearch
3213 reaches the end of single-file Info manual. (Bug#9918)
3214
66e0570c
EZ
32152011-12-02 Eli Zaretskii <eliz@gnu.org>
3216
3217 * isearch.el (isearch-message-prefix): Run the input method part
3218 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3219
02b16839
JL
32202011-12-02 Juri Linkov <juri@jurta.org>
3221
3222 * isearch.el (isearch-occur): Use `word-search-regexp' for
3223 `isearch-word'.
3224 (isearch-search-and-update): Add condition for `isearch-word' and
3225 call `word-search-regexp'. (Bug#10145)
3226
0b950688
GM
32272011-12-01 Glenn Morris <rgm@gnu.org>
3228
3229 * eshell/em-hist.el (eshell-hist-initialize):
3230 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 3231 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 3232
9505c3c7
SM
32332011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3234
3235 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3236
1bbe96b2 32372011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 3238
a1beca85
SM
3239 * progmodes/verilog-mode.el (verilog-pretty-expr):
3240 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
3241 verilog, such as += *= and the like.
3242 (verilog-assignment-operator-re): Regular expression to find the
3243 assigment operator in a verilog assignment.
3244 (verilog-assignment-operation-re): Regular expression to find an
3245 assignment statement for pretty-expr.
3246 (verilog-in-attribute-p): Query returns true if point is in an
3247 attribute context; used to skip these for expression line up from
3248 pretty-expr.
3249 (verilog-in-parameter-p): Query returns true if point is in an
3250 parameter definition context; used to skip these for expression
3251 line up from pretty-expr.
3252 (verilog-in-parenthesis-p): Query returns true if point is in a
3253 parenthetical expression, specifically ( ) but not [ ] or { };
3254 used by pretty-expr.
3255 (verilog-just-one-space): If there is no space, don't add one.
3256 (verilog-get-lineup-indent-2): Specifically skip just attribute
3257 contexts for expression lineup, rather than skipping all
3258 parenthetical expressions.
3259 (verilog-calculate-indent): Fix comment, and fix indent.
3260 (verilog-do-indent): Indent declarations in lists (suggested by
3261 Joachim Lechner).
3262 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3263 skeleton items.
3264 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3265 by Alain Mellan).
3266
1bbe96b2 32672011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
3268
3269 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3270 parameters with embedded comments. Reported by Ray Stevens.
3271 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3272 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3273 Reported by Tim Holt.
3274 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3275 instantiated by upper module causing wrong expansion until AUTOed a
3276 second time. Reported by K C Buckenmaier.
3277 (verilog-diff-auto): Fix showing .* as a difference when
3278 `verilog-auto-star-save' off. Reported by Dan Dever.
3279 (verilog-auto-reset, verilog-read-always-signals)
3280 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3281 temporary signals in reset list if
3282 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
3283 style to each signal's assignment type, bug381.
3284 Reported by Thomas Esposito.
6288f0ca
WS
3285 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3286 (verilog-uvm-statement-re): Support UVM indentation and
3287 highlighting, with old OVM keywords only.
a1beca85 3288 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
3289 Support AUTOTIEOFF creating non-wire data types.
3290 Suggested by Jonathan Greenlaw.
6288f0ca
WS
3291 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3292 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3293 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
3294 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3295 Fix mismatching parenthesis inside commented out code when deleting
382c953b 3296 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
3297 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3298 non-numeric vector width. Reported by Alex Reed.
3299 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 3300 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
3301 (verilog-auto-delete-trailing-whitespace):
3302 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
3303 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3304 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3305 Fix verilog-scan-cache corruption when running user AUTO expansion
3306 hooks that call indentation routines.
3307 (verilog-simplify-range-expression): Fix typo ignoring lower case
3308 identifiers.
3309 (verilog-delete-auto): Fix delete-autos to also remove user created
3310 automatics, as long as they start with AUTO.
3311 (verilog-batch-diff-auto, verilog-diff-auto)
3312 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3313 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3314 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3315 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
3316 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3317 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
3318 is disabled and its cache will get corrupt, causing AUTOS not to
3319 expand. Instead use only -quick functions.
3320 (verilog-scan-region): Fix scanning over escaped quotes.
3321 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3322 (verilog-re-search-backward-quick)
3323 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3324 related functions now ignore strings, to fix misparsing of strings
3325 with magic comments embedded in them.
a1beca85
SM
3326 (verilog-read-auto-template):
3327 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3328 Reported by Brad Dobbie.
3329 (verilog-read-auto-template):
3330 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 3331 Reported by Brad Dobbie.
6288f0ca
WS
3332 (verilog-auto-inst, verilog-auto-inst-param)
3333 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3334 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3335 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
3336 debugging templates without merge conflicts, bug357.
3337 Reported by Brad Dobbie.
3338 (verilog-read-auto-template):
3339 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
3340 Reported by Brad Dobbie.
3341 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3342 abbrevs so user won't be asked to save.
3343 (verilog-read-auto-lisp-present): Fix to start at beginning of
3344 buffer in case called outside of verilog-auto.
3345 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3346 to "X-2". Reported by Matthew Myers.
3347 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3348 all inputs from module templates. Reported by Leith Johnson.
3349 (verilog-module-inside-filename-p): Fix locating programs as with
3350 modules.
3351 (verilog-auto-inst-port): Fix vl-width expressions when using
3352 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3353 (verilog-decls-get-regs, verilog-decls-get-signals,
3354 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3355 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3356 verilog-read-decls): Combine reg and wire structures into one var
3357 structure to represent SystemVerilog concepts.
3358 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3359 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
3360 (verilog-auto-wire-type, verilog-insert-definition):
3361 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
3362 SystemVerilog "logic" keyword instead of "wire"/"reg".
3363 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3364 to declares outputs that also have assignments (presumably in an
a1beca85
SM
3365 ifdef or generate if so there's not a driver conflict).
3366 Reported by Matthew Myers.
3367 (verilog-auto-declare-nettype, verilog-insert-definition):
3368 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
3369 `default_nettype none. Reported by Julian Gorfajn.
3370 (verilog-read-always-signals-recurse, verilog-read-decls)
3371 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3372 malformed end statement, bug325. Reported by Joshua Wise and
3373 Andrew Drake.
3374 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3375 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
3376 when expanding .* in interfaces, bug320.
3377 Reported by Pierre-David Pfister.
6288f0ca 3378 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
3379 name and open parenthesis, bug317.
3380 Reported by Pierre-David Pfister.
6288f0ca
WS
3381 (verilog-simplify-range-expression): Fix simplification of
3382 multiplications inside AUTOWIRE connections, bug303.
3383 (verilog-auto-inst-port): Support parameter expansion in
3384 multidimensional arrays.
3385 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3386 after "assert property". Reported by Julian Gorfajn.
3387 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3388 with multiplication, bug303.
3389 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3390 Reported by Jan Frode Lonnum.
3391
1bbe96b2
GM
33922011-11-30 Juanma Barranquero <lekktu@gmail.com>
3393
3394 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3395 (hfy-shell-file-name, hfy-shell):
3396 * international/fontset.el (x-decompose-font-name): Fix typos.
3397
33982011-11-29 Ken Brown <kbrown@cornell.edu>
3399
3400 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3401 (gdb-version): Remove defvar.
3402 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3403 (gdb-gud-context-command, gdb-non-stop-handler)
3404 (gdb-current-context-command, gdb-stopped): Use it.
3405 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
3406 (gdb-non-stop-handler): Don't enable pretty-printing here.
3407 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
3408 non-stop mode. Use the following.
3409 (gdb-check-target-async): New defun.
3410 (gud-watch, gdb-stopped): Fix whitespace.
3411 (gdb-get-source-file): Don't try to display the source file if
3412 `gdb-main-file' is nil.
3413
34142011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3415
3416 * align.el: Try to generate fewer markers (bug#10047).
3417 (align--set-marker): New macro.
3418 (align-region): Use it.
3419
c935221f
SM
34202011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3421
3422 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3423
e70b5064
CY
34242011-11-29 Chong Yidong <cyd@gnu.org>
3425
3426 * indent.el (indent-for-tab-command, indent-according-to-mode):
3427 Doc fix.
3428 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3429
f3af92b7
MA
34302011-11-29 Michael Albinus <michael.albinus@gmx.de>
3431
3432 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3433 aware of remote file names. (Bug#10124)
3434
ed472be9
CY
34352011-11-29 Chong Yidong <cyd@gnu.org>
3436
3437 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3438
24510c22
SM
34392011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3440
3441 * files.el (find-file): Don't use force-same-window (bug#10144).
3442 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3443 use pop-to-buffer if the selected window can't be used.
3444 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3445
c60c3703
EZ
34462011-11-28 Eli Zaretskii <eliz@gnu.org>
3447
3448 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3449 special-mode-map.
3450
e95def75
CY
34512011-11-28 Chong Yidong <cyd@gnu.org>
3452
3453 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3454
c3f1c606
NR
34552011-11-27 Nick Roberts <nickrob@snap.net.nz>
3456
3457 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3458 gdb-get-source-file-list on gdb-create-source-file-list.
3459
00db469c
EZ
34602011-11-26 Eli Zaretskii <eliz@gnu.org>
3461
3462 * whitespace.el (whitespace-newline): Use a different foreground
3463 color for 16-color light-background displays.
3464
4ad3bc2a
CY
34652011-11-24 Chong Yidong <cyd@gnu.org>
3466
3467 * window.el (display-buffer--special-action): Doc fix.
3468
e9fce1ac
JB
34692011-11-25 Juanma Barranquero <lekktu@gmail.com>
3470
3471 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3472 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3473 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3474 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3475 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3476 (avl-tree-stack-first):
3477 * emacs-lisp/cconv.el (cconv--analyse-use):
3478 * net/gnutls.el (gnutls-negotiate): Fix typos.
3479
cb825e5d
GM
34802011-11-24 Glenn Morris <rgm@gnu.org>
3481
3adbe224
GM
3482 * lpr.el (lpr-windows-system, lpr-lp-system):
3483 * mail/binhex.el (binhex-begin-line):
3484 * progmodes/grep.el (grep-history, grep-find-history):
3485 * textmodes/flyspell.el:
3486 * vc/pcvs-defs.el (cvs-global-menu):
3487 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3488 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3489 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3490
321decc8
GM
3491 * net/tls.el: Fix case of "GnuTLS".
3492
420b63ad
GM
3493 * paths.el (rmail-file-name): Format doc-string for make-docfile.
3494
cb825e5d
GM
3495 * version.el (emacs-build-system): Give it a doc-string.
3496
a0649f08
JL
34972011-11-24 Juri Linkov <juri@jurta.org>
3498
3499 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3500
c0bc0fd4
GM
35012011-11-24 Glenn Morris <rgm@gnu.org>
3502
3503 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3504 if called on a non-mime message just toggle the headers. (Bug#8006)
3505
20db1522
JB
35062011-11-24 Juanma Barranquero <lekktu@gmail.com>
3507
3508 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3509 (allout-lead-with-comment-string, allout-structure-deleted-hook)
3510 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3511 (allout-rebullet-heading, allout-open-sibtopic)
3512 (allout-toggle-current-subtree-encryption)
3513 (allout-toggle-subtree-encryption, allout-encrypt-string)
3514 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3515 (allout-distinctive-bullets-string, allout-auto-activation):
3516 * window.el (window-normalize-buffer-to-display):
3517 * progmodes/verilog-mode.el (verilog-batch-indent):
3518 * textmodes/bibtex.el (bibtex-field-braces-opt)
3519 (bibtex-field-strings-opt):
3520 * vc/cvs-status.el (cvs-tree-merge):
3521 Fix typos.
3522
7262a87c
MA
35232011-11-23 Michael Albinus <michael.albinus@gmx.de>
3524
3525 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3526 `non-essential' to t, in order to avoid remote connections.
3527
283430a1
EZ
35282011-11-23 Eli Zaretskii <eliz@gnu.org>
3529
a1beca85
SM
3530 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3531 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
3532 case-insensitively.
3533
d2992a38
ML
35342011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3535
3536 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
3537
50419064
GM
35382011-11-23 Glenn Morris <rgm@gnu.org>
3539
da94eca1
GM
3540 * paths.el (rmail-file-name): Reformat the doc-string so that it
3541 is picked up.
3542
9aac4de2
GM
3543 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3544 (rmail-auto-file): Ignore case in the "special" field names,
3545 as mail-fetch-field does for all others.
3546
8038d2d2
GM
3547 * mail/rmail.el (rmail-forward):
3548 * mail/rmailkwd.el (rmail-set-label):
3549 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3550 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
3551
f3fe222a
GM
3552 * mail/rmail.el (rmail-current-message): Doc fix.
3553
50419064
GM
3554 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
3555
28109f49
SM
35562011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3557
3558 * server.el (server-eval-and-print): Allow C-g (bug#6585).
3559
394c65f1
GM
35602011-11-22 Glenn Morris <rgm@gnu.org>
3561
3562 * mail/rmailmm.el (test-rmail-mime-handler)
3563 (test-rmail-mime-bulk-handler)
3564 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3565
f2a0aa3a
JL
35662011-11-21 Juri Linkov <juri@jurta.org>
3567
1154d12e
JB
3568 * calc/calc.el (calc-read-key-sequence):
3569 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 3570
9c34a344
LMI
35712011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3572
3573 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3574 Tell the caller that the next line needs recomputation, even
3575 though it doesn't start a sexp (bug#10094).
3576
f04a3be9
SM
35772011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3578
3579 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3580
7978747f
SM
35812011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3582
f04a3be9
SM
3583 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3584 Use force-same-window.
7978747f 3585
fe7a3057
JB
35862011-11-20 Juanma Barranquero <lekktu@gmail.com>
3587
3588 * descr-text.el (describe-char-unicode-data):
3589 * json.el (json-string-escape):
3590 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3591 (Footnote-unicode, Footnote-style-p):
3592 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3593
24901d61
CY
35942011-11-20 Chong Yidong <cyd@gnu.org>
3595
3596 * window.el (replace-buffer-in-windows): Restore interactive spec.
3597
bac7ff22
SM
35982011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3599
24f3d7b9
SM
3600 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3601
bac7ff22
SM
3602 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3603 (byte-compile-global-not-obsolete-vars): New var.
3604 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3605 Use it.
3606 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3607
cd1181db
JB
36082011-11-20 Juanma Barranquero <lekktu@gmail.com>
3609
3610 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3611 * progmodes/pascal.el (electric-pascal-equal):
3612 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3613 * xml.el (xml-substitute-special): Fix typos.
3614
7fb18e9e
GM
36152011-11-20 Glenn Morris <rgm@gnu.org>
3616
3617 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3618 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3619 Doc fixes.
3620 (rmail-decode-mime-charset): Mark as obsolete.
3621
3622 * mail/rmailsum.el (rmail-message-regexp-p-1):
3623 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3624 Before using mime functions, check they are set. (Bug#10077)
3625
d5a6b3ba
JL
36262011-11-19 Juri Linkov <juri@jurta.org>
3627
3628 * info.el (Info-finder-find-node): Use `package--builtins' instead
3629 of `package-alist'. Use node names formed by the pattern "Keyword "
3630 and the keyword name.
3631
e981b61f
AS
36322011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3633
1d00653d 3634 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 3635
3ffbc301
JL
36362011-11-19 Juri Linkov <juri@jurta.org>
3637
3638 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3639 that calls `revert-buffer' on all Info buffers. (Bug#9915)
3640 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3641 `old-history', `old-history-forward'. Add let-binding
3642 `window-selected'. Remove calls to `kill-buffer',
3643 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
3644 before calling `Info-find-node', so `Info-find-node-2' will reread
3645 the Info file. Restore window positions only when `window-selected'
3646 is non-nil.
3647
30c62133
JL
36482011-11-19 Juri Linkov <juri@jurta.org>
3649
3650 * isearch.el (isearch-lazy-highlight-new-loop):
3651 Remove condition `(not isearch-error)'. (Bug#9918)
3652
3653 * misearch.el (multi-isearch-search-fun): Add condition
3654 `(not bound)' to ignore lazy-highlighting search.
3655 Add the search-failed message "end of multi" when the end of
3656 multi-sequence is reached. Uncapitalize the search-failed
3657 message "Repeat for next buffer".
3658
3659 * info.el (Info-search): Add the search-failed message
3660 "end of the manual" when the end of the manual is reached
3661 in Isearch mode.
3662
645ca9cf
JL
36632011-11-19 Juri Linkov <juri@jurta.org>
3664
3665 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3666 Use non-destructive `remove' instead of `delete' because
3667 `Info-history-list' stored to `Info-isearch-initial-history-list' in
3668 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3669
df754f66
JL
36702011-11-19 Juri Linkov <juri@jurta.org>
3671
3672 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3673 to nil instead of binding `search-ring' and `regexp-search-ring'.
3674 (Bug#9185)
3675
0e23d96a
EZ
36762011-11-19 Eli Zaretskii <eliz@gnu.org>
3677
3678 * simple.el (line-move): Force movement by logical lines for any
3679 hscrolled window, not only when auto-hscroll-mode is on.
3680 (line-move-visual): Update doc string to that effect. (Bug#10076)
3681
8a6ccb66
AS
36822011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3683
3684 * language/european.el (macintosh): Define as alias for mac-roman.
3685
49ae5b39
EZ
36862011-11-19 Eli Zaretskii <eliz@gnu.org>
3687
3688 * mail/rmailmm.el (rmail-mime-display-header)
3689 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3690 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3691 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3692 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3693 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3694 of a raw aref.
3695 (rmail-mime-entity-segment): To get past the tagline, move forward
3696 2 more lines, to account for the 2 empty lines that precede and
3697 follow the line with the buttons.
3698 (rmail-mime-update-tagline): Move one more line, to get past the
3699 empty line that follows the buttons in the tagline. (Bug#9520)
3700
c56cad4a
MR
37012011-11-19 Martin Rudalics <rudalics@gmx.at>
3702
3703 * window.el (window-max-delta-1, window-min-delta-1)
3704 (window-min-size-1, window-state-get-1, window-state-put-1)
3705 (window-state-put-2): Use "window--" prefix.
3706
cbe71af3
SM
37072011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3708
2ad52c60
SM
3709 * emacs-lisp/smie.el: Improve warnings and conflict detection.
3710 (smie-warning-count): New var.
3711 (smie-set-prec2tab): Use it.
3712 (smie-bnf->prec2): Improve warnings. Add docstring.
3713 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3714 (smie-bnf--set-class): New function.
3715 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
3716 corner case.
3717
6944dbc1
SM
3718 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3719 (compilation-error-properties, compilation-move-to-column):
3720 Handle compilation-first-column while in the target buffer.
3721
c400c4d7
SM
3722 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3723 Don't hardcode point-min==1.
3724
6dbe3e96
SM
3725 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3726 (eshell-rewrite-for-command): Remove workaround.
3727 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3728 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3729 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3730
cbe71af3
SM
3731 * files-x.el (modify-file-local-variable): Obey commenting conventions.
3732
a8e1496d
GM
37332011-11-17 Glenn Morris <rgm@gnu.org>
3734
3735 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3736 Ignore buffer-local generated-autoload-file if it is the same
3737 as the global value. (Bug#10049)
3738
df85d315
JB
37392011-11-17 Juanma Barranquero <lekktu@gmail.com>
3740
3741 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3742 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3743 (reftex-toc-previous-heading, reftex-toc-max-level)
3744 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3745 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3746 (reftex-toc-do-promote, reftex-toc-promote-prepare)
3747 (reftex-toc-promote-action, reftex-toc-extract-section-number)
3748 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3749 (reftex-toc-rename-label, reftex-toc-visit-location)
3750 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3751 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3752 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3753 leaving "*toc*" only for references to the buffer.
3754
a0c2d0ae
MR
37552011-11-17 Martin Rudalics <rudalics@gmx.at>
3756
3757 * window.el (window-resize, delete-window, split-window):
3758 Replace window-splits by window-combination-resize.
1d00653d 3759 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 3760
35c0bac8
GM
37612011-11-17 Glenn Morris <rgm@gnu.org>
3762
3763 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3764 Make bash entry derive from sh entry, not shell entry.
3765
d0c8fc8a
MA
37662011-11-16 Michael Albinus <michael.albinus@gmx.de>
3767
d0c8fc8a
MA
3768 * net/tramp-cache.el (tramp-flush-file-property): Flush also
3769 properties of linked files. (Bug#9879)
3770
7262a87c
MA
3771 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3772 local file name.
3773
7877f373
JB
37742011-11-16 Juanma Barranquero <lekktu@gmail.com>
3775
3776 * menu-bar.el (menu-bar-file-menu):
3777 * printing.el (pr-ps-utility):
3778 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3779 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3780 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3781 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3782 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3783 (icalendar--convert-cyclic-to-ical)
3784 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3785 (icalendar--convert-ical-to-diary)
3786 (icalendar--convert-recurring-to-diary)
3787 (icalendar--convert-non-recurring-all-day-to-diary)
3788 (icalendar-import-format-sample):
3789 * progmodes/idlw-shell.el (idlwave-shell-mode):
3790 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3791 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3792 (vhdl-ps-print-init): Fix typos.
3793
10649b82
KM
37942011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
3795
9d0cfcd6
GM
3796 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3797 FSF and collapse date sequence, obscure author/maintainer email address
3798 better, remove extra version line, track relocation of author's webpage.
10649b82 3799
9d0cfcd6
GM
3800 * progmodes/python.el (python-pdbtrack-input-prompt)
3801 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3802 regular python pdb prompts. Adjustments shamelessly taken exactly as
3803 suggested in EmacsWiki page (tiny change):
3804 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 3805
58179cce
JB
38062011-11-16 Juanma Barranquero <lekktu@gmail.com>
3807
3808 * expand.el (expand-pos, expand-index, expand-point):
3809 Remove redundant info from docstring.
3810 (expand-add-abbrevs): Doc fix.
3811 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3812 (expand-sample-perl-mode-expand-list): Fix typos.
3813
3814 * net/dbus.el (dbus-event-member-name):
3815 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3816 * term/pc-win.el (msdos-create-frame-with-faces):
3817 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3818
b6f67890
MR
38192011-11-16 Martin Rudalics <rudalics@gmx.at>
3820
3821 * window.el (split-window, window-state-get-1)
3822 (window-state-put-1, window-state-put-2): Rename occurrences of
3823 window-nest to window-combination-limit.
1d00653d 3824 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 3825
ce7ddba0
CY
38262011-11-16 Chong Yidong <cyd@gnu.org>
3827
3828 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3829 regexp (Bug#10033).
3830
3ae704f4
SM
38312011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3832
3833 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3834 `completing-read' will remove *Completions* and will preserve
3835 current-buffer for us.
3836 (tmm-add-prompt): Users of *Completions* will always (re)set its
3837 major mode.
3838 (tmm-old-comp-map): Remove.
3839
6ad1cdde
GM
38402011-11-16 Glenn Morris <rgm@gnu.org>
3841
3842 * mail/rmailedit.el: Require rmailmm when compiling.
3843 (rmail-old-mime-state): New declaration.
3844 (rmail-edit-current-message): If editing a mime message,
3845 edit the "raw" message from the mbox buffer.
3846 (rmail-cease-edit): Handle mime messages. (Bug#9840)
3847
d20faa20
GM
38482011-11-15 Glenn Morris <rgm@gnu.org>
3849
3850 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3851 which wasn't being used. Add optional arg to force given state.
3852 (rmail-mime): Add optional arg to force given state.
3853
c7015153
JB
38542011-11-15 Juanma Barranquero <lekktu@gmail.com>
3855
3856 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3857 * frame.el (display-mm-dimensions-alist):
3858 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3859 (outline-move-subtree-down):
3860 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3861 (newsticker--treeview-do-get-node):
3862 * net/quickurl.el (quickurl-list-buffer-name):
3863 * progmodes/dcl-mode.el (dcl-mode):
3864 * progmodes/gdb-mi.el (gdb-mapcar*):
3865 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3866
45261b50
GM
38672011-11-15 Glenn Morris <rgm@gnu.org>
3868
3869 * mail/rmail.el (rmail-file-coding-system): It's only ever used
3870 in a boolean sense, so just make it a boolean, and fix the doc.
3871 (rmail-show-mime-function, rmail-mime-feature)
3872 (rmail-require-mime-maybe): Doc fixes.
3873 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3874
3875 * mail/rmailmm.el (rmail-show-mime): Doc fix.
3876
0d26e0b6
JB
38772011-11-15 Juanma Barranquero <lekktu@gmail.com>
3878
3879 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3880 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3881 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3882 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3883
447f30f6
GM
38842011-11-15 Glenn Morris <rgm@gnu.org>
3885
672b871d
GM
3886 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3887 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3888 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3889 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3890 (rmail-mime, rmail-show-mime): Doc fixes.
3891
f6aa5bb1
GM
3892 * term/ns-win.el (mode-line-frame-identification):
3893 Leave it alone. (Bug#10051)
3894
947cd66b
GM
3895 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3896
447f30f6
GM
3897 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3898 Handle empty buffers. (Bug#9978)
3899
0b381c7e
JB
39002011-11-14 Juanma Barranquero <lekktu@gmail.com>
3901
3902 * international/mule.el (define-charset):
3903 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3904 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3905 * progmodes/verilog-mode.el (verilog-backward-token):
3906 * textmodes/ispell.el (lookup-words):
3907 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3908
71e027ac
GM
39092011-11-14 Glenn Morris <rgm@gnu.org>
3910
56632ce4
GM
3911 * progmodes/executable.el
3912 (executable-make-buffer-file-executable-if-script-p):
3913 Handle file-modes returning nil.
3914
40500957
GM
3915 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3916 message - not necessary, and causes problems. (Bug#9831)
3917
071c2340
GM
3918 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3919
d3cfca60
GM
3920 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3921
71e027ac
GM
3922 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3923 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
3924 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3925
89d61221
MR
39262011-11-12 Martin Rudalics <rudalics@gmx.at>
3927
3928 * window.el (window-resize, delete-window): Use window-splits
3929 variable instead of function.
3930 (window-state-get-1, window-state-put-2, window-state-put):
3931 Don't deal with windows' splits status.
3932
98282f6f
GM
39332011-11-12 Glenn Morris <rgm@gnu.org>
3934
3935 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3936 (apropos-documentation): Doc fixes.
3937
40a8bdf6
JB
39382011-11-11 Juanma Barranquero <lekktu@gmail.com>
3939
3940 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3941 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3942
65bd19ff
SM
39432011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3944
3945 * electric.el (electric-indent-post-self-insert-function): Make it
3946 possible for a char to only indent in some circumstances.
3947 (electric-indent-mode): Simplify.
3948
54f9154c
MR
39492011-11-11 Martin Rudalics <rudalics@gmx.at>
3950
3951 * window.el (windows-with-parameter): Remove unused function.
3952 (windows-at-side): Rename to window-at-side-list.
3953 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
3954 (window-side-check, window-size-ignore, window-size-fixed-1)
3955 (window-in-direction-2): Prefix with "window--".
3956 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 3957
68cbc58b
GM
39582011-11-11 Glenn Morris <rgm@gnu.org>
3959
3960 * subr.el (eval-after-load): If FILE is already loaded,
3961 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3962
b2621720
GM
39632011-11-10 Glenn Morris <rgm@gnu.org>
3964
9a4de110
GM
3965 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3966 Call svn via vc-svn-command rather than vc-do-command.
3967 (vc-svn-command): Add --non-interactive. (Bug#9993)
3968 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3969
b2621720
GM
3970 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3971 Add toggle-read-only. (Bug#7292)
3972 * files.el (toggle-read-only): Mention that it should only
3973 be used interactively. (Bug#10006)
3974
1dce7193
SM
39752011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3976
d9ac1a1e
SM
3977 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3978 Adjust regexp for OCaml warnings.
3979
0c325082
SM
3980 * electric.el (electric-pair-post-self-insert-function): Let user
3981 turn it off buffer-locally (bug#9932).
3982
90132c14
SM
3983 * progmodes/python.el (python-beginning-of-statement):
3984 Rewrite (bug#2703).
3985
1dce7193
SM
3986 * progmodes/compile.el: Better handle TABs (bug#9749).
3987 (compilation-internal-error-properties)
3988 (compilation-next-error-function): Obey the target buffer's
3989 compilation-error-screen-columns.
3990
c4e7c63a
JB
39912011-11-09 Juanma Barranquero <lekktu@gmail.com>
3992
3993 * progmodes/meta-mode.el: Remove obsolete comments.
3994 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3995 Fix typos in docstrings.
3996
2cffd681
MR
39972011-11-09 Martin Rudalics <rudalics@gmx.at>
3998
3999 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 4000 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
4001 (window--resizable): New function. Make all callers of
4002 window-resizable call window--resizable instead.
4003 (window-resizable): Rewrite in terms of window--resizable.
4004
0edcba87
GM
40052011-11-08 Glenn Morris <rgm@gnu.org>
4006
4007 * progmodes/delphi.el (delphi-mode-syntax-table):
4008 Let define-derived-mode define a proper syntax table. (Bug#9994)
4009
4b0d61e3
SM
40102011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4011
4012 * window.el: Stay away from defsubst.
4013 (window-list-no-nils): Remove.
4014 (window-state-get-1, window-state-get): Use backquote instead.
4015
cd394be1 40162011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 4017
4b0d61e3 4018 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 4019 Fix incorrect use of default argument in `completing-read'.
4020
e1c2c6f2
MR
40212011-11-08 Martin Rudalics <rudalics@gmx.at>
4022
4023 * window.el (display-buffer-function, special-display-function):
4024 Mention display-buffer-record-window but do not mention
4025 help-setup parameter in doc-strings.
b3f4a882 4026 (window-min-delta): Fix doc-string typo.
e1c2c6f2 4027
105216ed
CY
40282011-11-08 Chong Yidong <cyd@gnu.org>
4029
4030 * window.el (window-total-height, window-total-width): Doc fix.
4031 (window-body-size): Move from C.
4032 (window-body-height, window-body-width): Move to C.
4033
0a9f9ab5
SM
40342011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4035
4036 * window.el: Make special-display like display-buffer-alist (bug#9532).
4037 (display-buffer--special-action): New function, morphed
4038 from display-buffer--special.
4039 (display-buffer): Use it to handle special-display-buffers at higher
4040 priority (just after display-buffer-alist).
4041 (display-buffer-fallback-action, display-buffer--other-frame-action)
4042 (pop-to-buffer-same-window): Remove display-buffer--special.
4043
a769dd15
GM
40442011-11-07 Glenn Morris <rgm@gnu.org>
4045
4046 * calendar/cal-menu.el (cal-menu-set-date-title):
4047 Do nothing if not in a calendar. (Bug#9976)
4048
05a61ee3
SM
40492011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4050
4051 * files.el (find-file): Always use selected-window.
4052
be7f5545
MR
40532011-11-07 Martin Rudalics <rudalics@gmx.at>
4054
4055 * window.el (window-combinations): Make WINDOW argument
4056 mandatory. Rewrite doc-string.
4057 (walk-window-subtree, window-atom-check, window-min-delta)
4058 (window-max-delta, window--resize-this-window)
4059 (window--resize-root-window-vertically, window-tree)
4060 (balance-windows, window-state-put): Rewrite doc-strings as to
4061 not mention the term "subwindow".
4062 (window--resize-subwindows-skip-p): Rename to
4063 window--resize-child-windows-skip-p.
4064 (window--resize-subwindows-normal): Rename to
4065 window--resize-child-windows-normal.
4066 (window--resize-subwindows): Rename to
4067 window--resize-child-windows.
4068 (window-or-subwindow-p): Rename to window--in-subtree-p.
4069
3c6702ef
ML
40702011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4071
4072 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4073 Ensure that mbox format messages end in two newlines (Bug#9974).
4074
49745b39
CY
40752011-11-06 Chong Yidong <cyd@gnu.org>
4076
4077 * window.el (window-combination-p): Function deleted; its
4078 side-effect is not used in any existing code.
4079 (window-combinations, window-combined-p): Call window-*-child
4080 directly.
4081
24300f5f
CY
40822011-11-05 Chong Yidong <cyd@gnu.org>
4083
4084 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
4085 (window-size-ignore, window-state-get): Callers changed.
4086 (window-normalize-window): Rename from window-normalize-any-window.
4087 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 4088 (window-normalize-live-window): Delete.
447f16b8
CY
4089 (window-combination-p, window-combined-p, window-combinations)
4090 (walk-window-subtree, window-atom-root, window-min-size)
4091 (window-sizable, window-sizable-p, window-size-fixed-p)
4092 (window-min-delta, window-max-delta, window-resizable)
4093 (window-resizable-p, window-full-height-p, window-full-width-p)
4094 (window-current-scroll-bars, window-point-1, set-window-point-1)
4095 (window-at-side-p, window-in-direction, window-resize)
4096 (adjust-window-trailing-edge, maximize-window, minimize-window)
4097 (window-deletable-p, delete-window, delete-other-windows)
4098 (record-window-buffer, unrecord-window-buffer)
4099 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4100 (quit-window, split-window, window-state-put)
4101 (set-window-text-height, fit-window-to-buffer)
4102 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 4103
89bd5ee1
EZ
41042011-11-04 Eli Zaretskii <eliz@gnu.org>
4105
53479029
EZ
4106 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4107 rfc2047-decode-string.
4108 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4109 warnings.
4110
89bd5ee1
EZ
4111 * window.el (window-body-height, window-body-width): Mention in
4112 the doc string that the return values are in frame's canonical
4113 units. (Bug#9949)
4114
bd17fdee
AM
41152011-11-03 Alan Mackenzie <acm@muc.de>
4116
4117 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4118 change in cc-engine.el.
4119
acc825c5
SM
41202011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4121
4122 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4123
1885e5b8
MR
41242011-11-02 Martin Rudalics <rudalics@gmx.at>
4125
4126 * window.el (quit-window): Call unrecord-window-buffer after
4127 showing another buffer in the window. (Bug#9937)
acc825c5 4128 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 4129
ebe06da9
JB
41302011-11-02 Juanma Barranquero <lekktu@gmail.com>
4131
4132 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4133 Accept status with more than 9 shelves. (Bug#9935)
4134 Reported by Colin D Bennett <colin@gibibit.com>.
4135
4ee88440
MR
41362011-11-01 Martin Rudalics <rudalics@gmx.at>
4137
4138 * help.el (with-help-window): Don't reference
4139 temp-buffer-show-specifiers in doc-string.
4140
08e1d82c
AS
41412011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4142
4143 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4144 menu-item.
4145
84bd6e9e
VJL
41462011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4147
4148 * whitespace.el: New version 13.2.2.
4149 (whitespace-newline-mode): Disable properly. Reported by Sarah
4150 <EmacsWiki>.
4151
dba0634a
UJ
41522011-10-30 Ulf Jasper <ulf.jasper@web.de>
4153
4154 * net/newst-treeview.el: Remove "Time-stamp".
4155 (newsticker--group-manage-orphan-feeds): Do not call
4156 newsticker--treeview-tree-update.
db22a3c2
JB
4157 (newsticker-treeview-update, newsticker-treeview):
4158 Call newsticker--treeview-tree-update if necessary.
dba0634a 4159
3d8daefe
MR
41602011-10-30 Martin Rudalics <rudalics@gmx.at>
4161
4162 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
4163 (window-iso-combinations): Remove "iso-" infix.
4164 Suggested by Chong Yidong.
3d8daefe
MR
4165 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4166 (window-max-delta-1, window-resize, window--resize-siblings)
4167 (window--resize-this-window, adjust-window-trailing-edge)
4168 (split-window, balance-windows-1)
4169 (shrink-window-if-larger-than-buffer):
4170 * calendar/calendar.el (calendar-generate-window):
db22a3c2 4171 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 4172
1bc4c3ae
SM
41732011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4174
4175 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4176 in place (bug#9907).
4177 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4178 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4179 (eshell-structure-basic-command, eshell-rewrite-while-command)
4180 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4181 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4182 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4183 (eshell-do-pipelines-synchronously, eshell-eval-command):
4184 Use backquotes and prefer setq to set.
4185 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4186 (eshell-macrop): Use functionp.
c1e2f5fa 4187 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 4188
30b65d9c
CY
41892011-10-30 Chong Yidong <cyd@gnu.org>
4190
4191 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4192 instead of set-mark (Bug#9810).
4193
2d197ffb
CY
41942011-10-30 Chong Yidong <cyd@gnu.org>
4195
4196 * window.el (split-window-below, split-window-right): Rename from
4197 split-window-above-each-other and split-window-side-by-side
4198 respectively. All callers changed.
4199 (split-window-sensibly, split-window-sensibly): Use them.
4200 (split-window-keep-point): Doc fix.
4201
4202 * isearch.el: Add isearch-scroll property to split-window-below
4203 and split-window-right.
4204
4205 * follow.el (follow-mode):
4206 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4207 * progmodes/ada-xref.el (ada-gdb-application):
4208 * emulation/vip.el (vip-buffer-in-two-windows):
4209 * image-dired.el (image-dired-dired-with-window-configuration):
4210 * dired-x.el (dired-do-find-marked-files):
4211 * dired.el (dired-pop-to-buffer):
4212 * bs.el (bs--show-with-configuration):
4213 * vc/emerge.el (emerge-setup-windows):
4214 * textmodes/two-column.el (2C-two-columns):
4215 * textmodes/reftex-toc.el (reftex-toc):
4216 * progmodes/gdb-mi.el (gdb-setup-windows):
4217 * progmodes/fortran.el (fortran-window-create):
4218 * net/newst-treeview.el (newsticker--treeview-window-init):
4219 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4220 * emulation/tpu-edt.el (tpu-gold-map):
4221 * emulation/crisp.el (crisp-mode-map):
4222 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4223
38bb2ca8
CY
42242011-10-29 Chong Yidong <cyd@gnu.org>
4225
aa4de341
CY
4226 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4227
e1eb5385
CY
4228 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4229
5d2ece3c
CY
4230 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4231 forged Ispell output (Bug#7904).
4232
38bb2ca8
CY
4233 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4234
d0af9f77
SM
42352011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4236
4237 * doc-view.el: Avoid ugly errors about not finding nil.
4238 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4239 (doc-view-dvipdf-program, doc-view-unoconv-program)
4240 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4241 Avoid nil or absolute file name as default value.
4242 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4243
52bedd34
AM
42442011-10-28 Alan Mackenzie <acm@muc.de>
4245
db22a3c2 4246 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 4247
7e43cfa5
AM
42482011-10-28 Alan Mackenzie <acm@muc.de>
4249
4250 Amend the handling of c-beginning/end-of-defun in nested declaration
4251 scopes.
4252
52bedd34
AM
4253 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4254 cc-langs.el. Change it to a defcustom.
7e43cfa5 4255
52bedd34
AM
4256 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4257 cc-vars.el.
7e43cfa5 4258
d0af9f77
SM
4259 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4260 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 4261
52bedd34 4262 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 4263 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
4264 (c-widen-to-enclosing-decl-scope): New function.
4265 (c-while-widening-to-decl-block): New macro.
4266 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4267 outward for defun boundaries, and correspondingly change symbol
4268 `respect-enclosure' to `go-outward'.
4269 (c-declaration-limits): Change algorithm to report only the "innermost"
4270 defun's boundaries.
4271
1a2ce9ee
DD
42722011-10-28 Deniz Dogan <deniz@dogan.se>
4273
4274 * net/rcirc.el (rcirc-mode): Use hard newlines.
4275
bc97a826
AM
42762011-10-28 Alan Mackenzie <acm@muc.de>
4277
4278 Amend to indent and fontify macros "which include their own semicolon"
4279 correctly, using the "virtual semicolon" mechanism.
4280
52bedd34 4281 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 4282
d0af9f77 4283 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 4284 Recode to scan one line at a time rather than having \n and \r
58179cce 4285 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 4286 (c-forward-label): Amend for virtual semicolons.
58179cce 4287 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 4288
52bedd34
AM
4289 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4290 of the new C macros.
bc97a826 4291
52bedd34 4292 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
4293 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4294 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
4295 (c-opt-cpp-macro-define): Make into a full language variable.
4296 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4297 AWK Mode (including \n, \r) removed, no longer needed.
4298
d0af9f77
SM
4299 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4300 Invoke c-make-macro-with-semi-re.
bc97a826 4301
52bedd34
AM
4302 * progmodes/cc-vars.el (c-macro-with-semi-re):
4303 (c-macro-names-with-semicolon): New variables.
58179cce 4304 (c-make-macro-with-semi-re): New function.
bc97a826 4305
7a6c0941
SM
43062011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4307
4308 * vc/log-edit.el: Fill empty field rather than adding new one.
4309 (log-edit-add-field): New function.
4310 (log-edit-insert-changelog): Use it.
4311
b0c4cdcf
ML
43122011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4313
4314 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4315
ee1f1da9
SM
43162011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4317
4318 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4319 (gdb--check-interpreter): New function.
4320 (gdb): Use it.
4321
51bc5f8b
GM
43222011-10-27 Glenn Morris <rgm@gnu.org>
4323
416a2c45
GM
4324 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4325 (least-positive-float, least-negative-float)
4326 (least-positive-normalized-float, least-negative-normalized-float)
4327 (float-epsilon, float-negative-epsilon):
4328 Remove unnecessary declarations.
4329
4330 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4331 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4332 (least-positive-float, least-negative-float)
4333 (least-positive-normalized-float, least-negative-normalized-float)
4334 (float-epsilon, float-negative-epsilon): Add doc-strings,
4335 based on those in cl.texi.
4336
51bc5f8b
GM
4337 * files.el (set-visited-file-name): If the major-mode changed,
4338 reload the local variables. (Bug#9796)
4339
15de15c6
CY
43402011-10-27 Chong Yidong <cyd@gnu.org>
4341
4342 * subr.el (change-major-mode-after-body-hook): New hook.
4343 (run-mode-hooks): Run it.
4344
ee1f1da9
SM
4345 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4346 Use change-major-mode-before-body-hook.
15de15c6
CY
4347
4348 * simple.el (fundamental-mode):
4349 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4350 change introducing fundamental-mode-hook.
4351
5430d399
JB
43522011-10-26 Juanma Barranquero <lekktu@gmail.com>
4353
acc825c5 4354 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 4355
ad74a69e
MA
43562011-10-26 Michael Albinus <michael.albinus@gmx.de>
4357
4358 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 4359 tramp.el explicitly. (Bug#7583)
ad74a69e 4360
71d4c2a5
SM
43612011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4362
4363 * progmodes/octave-mod.el:
4364 * progmodes/octave-inf.el: Update maintainer.
4365
b1f6fa26
CY
43662011-10-26 Chong Yidong <cyd@gnu.org>
4367
4368 * subr.el (with-wrapper-hook): Rewrite doc.
4369
3f04efd6
MA
43702011-10-25 Michael Albinus <michael.albinus@gmx.de>
4371
4372 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 4373 filenames "/method:foo:". (Bug#9793)
3f04efd6 4374
410488d3
SM
43752011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4376
4377 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4378 (bug#9865).
4379
c1ebb47e
GM
43802011-10-24 Glenn Morris <rgm@gnu.org>
4381
4382 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4383
7f5c46c7
MA
43842011-10-24 Michael Albinus <michael.albinus@gmx.de>
4385
4386 * notifications.el: Add the requirement of a running D-Bus session
4387 bus to the Commentary.
4388
db2440b6
JL
43892011-10-24 Juri Linkov <juri@jurta.org>
4390
4391 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4392 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4393 (Bug#9364)
4394
feecf435
JL
43952011-10-24 Juri Linkov <juri@jurta.org>
4396
4397 * info.el (Info-following-node-name-re): Add newline to the list
4398 of allowed characters for leading space. (Bug#9824)
4399
a3839de2
SM
44002011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4401
acc825c5
SM
4402 * progmodes/octave-inf.el (inferior-octave-mode-map):
4403 Fix C-c C-h binding.
a3839de2
SM
4404 * progmodes/octave-mod.el (octave-help): Remove.
4405
09388e76
MA
44062011-10-23 Michael Albinus <michael.albinus@gmx.de>
4407
4408 Sync with Tramp 2.2.3.
4409
4410 * net/tramp-cache.el (top): Pacify byte-compiler using
4411 `init-file-user' and `site-run-file'.
4412
4413 * net/trampver.el: Update release number.
4414
86c60681
CY
44152011-10-23 Chong Yidong <cyd@gnu.org>
4416
4417 * files.el (toggle-read-only): Remove obsolete comment about
4418 version control.
4419
4420 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4421 for toggle-read-only. Note that this hasn't called vc-next-action
4422 since 2008-05-02, though it wasn't documented at the time.
4423
a3839de2
SM
4424 * vc/ediff-init.el (ediff-toggle-read-only-function):
4425 Use toggle-read-only.
86c60681 4426
cd5495ff
AM
44272011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4428
4429 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4430 of c-parse-state.
4431
00b77525 4432 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 4433 correct faulty logical expression.
cd5495ff
AM
4434 (c-parse-state-state, c-record-parse-state-state):
4435 (c-replay-parse-state-state): New defvar/defuns.
4436 (c-debug-parse-state): Use new functions.
4437
42ee24ed
MR
44382011-10-22 Martin Rudalics <rudalics@gmx.at>
4439
4440 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 4441 last fix. Use window-in-direction correctly.
42ee24ed 4442
a7dee7e7
CY
44432011-10-21 Chong Yidong <cyd@gnu.org>
4444
4445 * progmodes/idlwave.el (idlwave-mode):
4446 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
4447 require-final-newline; that's done in prog-mode.
4448 Suggested by Stefan Monnier.
a7dee7e7 4449
e07b9a6d
MR
44502011-10-21 Martin Rudalics <rudalics@gmx.at>
4451
4452 * mouse.el (mouse-drag-window-above)
4453 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4454 (mouse-drag-mode-line-1, mouse-drag-header-line)
4455 (mouse-drag-vertical-line-rightward-window): Remove.
4456 (mouse-drag-line): New function.
4457 (mouse-drag-mode-line, mouse-drag-header-line)
4458 (mouse-drag-vertical-line): Call mouse-drag-line.
4459 * window.el (window-at-side-p, windows-at-side): New functions.
4460
7e1361d9
UM
44612011-10-21 Ulrich Mueller <ulm@gentoo.org>
4462
4463 * tar-mode.el (tar-grind-file-mode):
4464 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4465
30fcaf3a
CY
44662011-10-21 Chong Yidong <cyd@gnu.org>
4467
4468 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
4469 * progmodes/vera-mode.el (vera-mode):
4470 Use mode-require-final-newline.
30fcaf3a 4471
516eddb0
GM
44722011-10-20 Glenn Morris <rgm@gnu.org>
4473
db22a3c2 4474 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 4475
10d5f513
CS
44762011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
4477
4478 * emulation/cua-base.el (cua-set-mark): Fix case of string.
4479
ac6c8639
CY
44802011-10-20 Chong Yidong <cyd@gnu.org>
4481
4482 * emulation/cua-base.el (cua-mode):
4483 * mail/footnote.el (footnote-mode):
4484 * mail/mailabbrev.el (mail-abbrevs-mode):
4485 * net/xesam.el (xesam-minor-mode):
4486 * progmodes/bug-reference.el (bug-reference-mode):
4487 * progmodes/cap-words.el (capitalized-words-mode):
4488 * progmodes/compile.el (compilation-minor-mode)
4489 (compilation-shell-minor-mode):
4490 * progmodes/gud.el (gud-tooltip-mode):
4491 * progmodes/hideif.el (hide-ifdef-mode):
4492 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4493 * progmodes/subword.el (subword-mode):
4494 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4495 * progmodes/which-func.el (which-function-mode):
4496 * term/tvi970.el (tvi970-set-keypad-mode):
4497 * term/vt100.el (vt100-wide-mode):
4498 * textmodes/flyspell.el (flyspell-mode):
4499 * textmodes/ispell.el (ispell-minor-mode):
4500 * textmodes/nroff-mode.el (nroff-electric-mode):
4501 * textmodes/paragraphs.el (use-hard-newlines):
4502 * textmodes/refill.el (refill-mode):
4503 * textmodes/reftex.el (reftex-mode):
4504 * textmodes/rst.el (rst-minor-mode):
4505 * textmodes/sgml-mode.el (html-autoview-mode)
4506 (sgml-electric-tag-pair-mode):
4507 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4508 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4509 * emulation/crisp.el (crisp-mode):
4510 * emacs-lisp/eldoc.el (eldoc-mode):
4511 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4512 minor mode behavior.
4513
aa42ab43
JL
45142011-10-19 Juri Linkov <juri@jurta.org>
4515
4516 * descr-text.el (describe-char): Add #x2010 and #x2011 to
4517 the list of hard-coded chars with escape-glyph face.
4518
89400f1d
SM
45192011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4520
4521 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4522
305c07f6
MA
45232011-10-19 Michael Albinus <michael.albinus@gmx.de>
4524
4525 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4526 running process.
4527
13754b54
GM
45282011-10-19 Glenn Morris <rgm@gnu.org>
4529
4530 * vc/vc-bzr.el (vc-bzr-after-dir-status):
4531 Ignore ignored files. (Bug#9726)
4532
06e21633
CY
45332011-10-19 Chong Yidong <cyd@gnu.org>
4534
4535 Doc fix for minor modes, stating that an omitted argument enables
4536 the mode unconditionally when called from Lisp.
4537
4538 * abbrev.el (abbrev-mode):
4539 * allout.el (allout-mode):
4540 * autoinsert.el (auto-insert-mode):
4541 * autoarg.el (autoarg-mode, autoarg-kp-mode):
4542 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4543 (global-auto-revert-mode):
4544 * battery.el (display-battery-mode):
4545 * composite.el (global-auto-composition-mode)
4546 (auto-composition-mode):
4547 * delsel.el (delete-selection-mode):
4548 * desktop.el (desktop-save-mode):
4549 * dired-x.el (dired-omit-mode):
4550 * dirtrack.el (dirtrack-mode):
4551 * doc-view.el (doc-view-minor-mode):
4552 * double.el (double-mode):
4553 * electric.el (electric-indent-mode, electric-pair-mode):
4554 * emacs-lock.el (emacs-lock-mode):
4555 * epa-hook.el (auto-encryption-mode):
4556 * follow.el (follow-mode):
4557 * font-core.el (font-lock-mode):
4558 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4559 * help.el (temp-buffer-resize-mode):
4560 * hilit-chg.el (highlight-changes-mode)
4561 (highlight-changes-visible-mode):
4562 * hi-lock.el (hi-lock-mode):
4563 * hl-line.el (hl-line-mode, global-hl-line-mode):
4564 * icomplete.el (icomplete-mode):
4565 * ido.el (ido-everywhere):
4566 * image-file.el (auto-image-file-mode):
4567 * image-mode.el (image-minor-mode):
4568 * iswitchb.el (iswitchb-mode):
4569 * jka-cmpr-hook.el (auto-compression-mode):
4570 * linum.el (linum-mode):
4571 * longlines.el (longlines-mode):
4572 * master.el (master-mode):
4573 * mb-depth.el (minibuffer-depth-indicate-mode):
4574 * menu-bar.el (menu-bar-mode):
4575 * minibuf-eldef.el (minibuffer-electric-default-mode):
4576 * mouse-sel.el (mouse-sel-mode):
4577 * msb.el (msb-mode):
4578 * mwheel.el (mouse-wheel-mode):
4579 * outline.el (outline-minor-mode):
4580 * paren.el (show-paren-mode):
4581 * recentf.el (recentf-mode):
4582 * reveal.el (reveal-mode, global-reveal-mode):
4583 * rfn-eshadow.el (file-name-shadow-mode):
4584 * ruler-mode.el (ruler-mode):
4585 * savehist.el (savehist-mode):
4586 * scroll-all.el (scroll-all-mode):
4587 * scroll-bar.el (scroll-bar-mode):
4588 * server.el (server-mode):
4589 * shell.el (shell-dirtrack-mode):
4590 * simple.el (auto-fill-mode, transient-mark-mode)
4591 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4592 (line-number-mode, column-number-mode, size-indication-mode)
4593 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4594 * strokes.el (strokes-mode):
4595 * time.el (display-time-mode):
4596 * t-mouse.el (gpm-mouse-mode):
4597 * tool-bar.el (tool-bar-mode):
4598 * tooltip.el (tooltip-mode):
4599 * type-break.el (type-break-mode-line-message-mode)
4600 (type-break-query-mode):
4601 * view.el (view-mode):
4602 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4603 (global-whitespace-mode, global-whitespace-newline-mode):
4604 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4605
a3839de2
SM
4606 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4607 Fix autogenerated docstring.
06e21633 4608
5214e501
JL
46092011-10-19 Juri Linkov <juri@jurta.org>
4610
4611 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4612 by checking environment variables "DESKTOP_SESSION" and
4613 "XDG_CURRENT_DESKTOP". (Bug#9779)
4614
195f8db9
JL
46152011-10-19 Juri Linkov <juri@jurta.org>
4616
4617 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4618 (browse-url-chromium-program, browse-url-chromium-arguments):
4619 New defcustoms.
4620 (browse-url-default-browser): Check for `browse-url-chromium' and
4621 call `browse-url-chromium-program'.
4622 (browse-url-chromium): New command. (Bug#9779)
4623
343a34ff
JB
46242011-10-18 Juanma Barranquero <lekktu@gmail.com>
4625
4626 * facemenu.el (list-colors-duplicates): On Windows, detect more
4627 duplicates by assuming that only colors matching "^System" are
4628 special "system colors". (Bug#9722)
4629
6978a151
SM
46302011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4631
4632 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4633 to distinguish the author from the committer.
4634
6a80b297
MA
46352011-10-18 Michael Albinus <michael.albinus@gmx.de>
4636
4637 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4638
b31a5677
JK
46392011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
4640
4641 * international/mule.el (sgml-html-meta-auto-coding-function):
4642 Add support for detecting encoding in HTML5 specified only as
4643 <meta charset="UTF-8">. Implementation just makes http-equiv and
4644 content-type parts from HTML4 encoding string optional. (Bug#9716)
4645
80c6d77f
GM
46462011-10-18 Glenn Morris <rgm@gnu.org>
4647
4648 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
4649
08b0fee8
CY
46502011-10-18 Chong Yidong <cyd@gnu.org>
4651
4652 * faces.el (cursor): Doc fix.
4653
67e729a5
CY
46542011-10-17 Chong Yidong <cyd@gnu.org>
4655
4656 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4657
343a34ff 46582011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
4659
4660 * dirtrack.el (dirtrack): Support shell buffers with path
4661 prefixes, e.g. tramp-based remote shells. (Bug#9647)
4662
0bc06380
TZ
46632011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
4664
4665 * json.el: Bump version to 1.3 and note change in History.
4666 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4667
8b79f3e0
SM
46682011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4669
5a7c536b
SM
4670 * comint.el (comint-insert-input, comint-send-input)
4671 (comint-get-old-input-default, comint-backward-matching-input)
4672 (comint-next-prompt): Use nil instead of `input' for field property of
4673 past user input (bug#114).
4674
96a8a0df
SM
4675 * minibuffer.el (completion--replace): Inherit surrounding properties
4676 (bug#114).
4677 (minibuffer-complete-and-exit): Use it.
4678
8b79f3e0
SM
4679 * comint.el (comint--table-subvert): Quote the all-completions output
4680 (bug#9160).
4681
b8f7ff0d
MR
46822011-10-17 Martin Rudalics <rudalics@gmx.at>
4683
8b79f3e0 4684 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 4685
b8f7ff0d 4686 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 4687 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
4688 entries and separate them from frame entries.
4689
c235b555
GM
46902011-10-15 Glenn Morris <rgm@gnu.org>
4691
4692 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4693 Doc fixes.
4694
6bbfa6e1
CY
46952011-10-15 Chong Yidong <cyd@stupidchicken.com>
4696
8b79f3e0
SM
4697 * net/network-stream.el (network-stream-open-starttls):
4698 Improve detection of failure due to lack of TLS support.
ec5c990d 4699
6bbfa6e1
CY
4700 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4701 putting the input text in front and in bold.
4702
98488977
SM
47032011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4704
3d1337be
SM
4705 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4706
ee0b45e4
SM
4707 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4708 empty buffer.
4709
98488977
SM
4710 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4711 unread-command-events rather than pushing yet-another event.
4712
186f4720
EZ
47132011-10-14 Eli Zaretskii <eliz@gnu.org>
4714
4715 * mail/sendmail.el (sendmail-query-once): Improve the wording of
4716 the explanation of the possible choices. Make the options passed
4717 to completing-read shorter.
4718
8b7a997c
AM
47192011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4720
4721 * textmodes/flyspell.el (flyspell-large-region): Make sure
4722 extended character mode is used if defined (Bug#1339).
4723
12587bbb
EZ
47242011-10-13 Eli Zaretskii <eliz@gnu.org>
4725
4726 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
4727 character info for LRE, LRO, RLE, and RLO characters by appending
4728 an invisible PDF.
12587bbb 4729
bad41229
SM
47302011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
4731
4732 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4733 even in case of error; add debug spec; simplify data flow.
4734 (with-timeout-handler): Remove.
4735
28dbc92f
MA
47362011-10-12 Michael Albinus <michael.albinus@gmx.de>
4737
4738 Fix Bug#6019, Bug#9315.
4739
4740 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4741 complete `buffer-file-name', the local file name part could look
4742 remotely (for example on VMS).
4743
4744 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4745 `tramp-run-real-handler'.
4746 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4747 already quoted by '"'.
4748
4749 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4750 Let `file-name-handler-alist' be nil, the local file name part
4751 could look remotely (for example on VMS).
4752
e1b0b23a
SM
47532011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4754
4755 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4756 from here...
4757 (flyspell-post-command-hook): ...to here.
4758
a120bde9
SM
47592011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4760
4761 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4762 if not needed.
4763 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
4764 using completion. Protect against "slow" callers.
4765 Remove the "message hack".
4766
7ce7717b
JL
47672011-10-11 Juri Linkov <juri@jurta.org>
4768
4769 * isearch.el (isearch-lazy-highlight-word): New variable.
4770 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4771 Use it. (Bug#9727)
4772
c02ee9d6
GM
47732011-10-11 Glenn Morris <rgm@gnu.org>
4774
4775 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4776 like f90-previous-statement does.
4777
93e616fd 47782011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4779
1f190e73 4780 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
4781 only in interactive use, to avoid error.
4782
af7b6078
SM
47832011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4784
4785 * minibuffer.el (completion-file-name-table): Fix last change,
4786 i.e. ignore normal errors but not the other ones.
4787
0563dae9
MR
47882011-10-10 Martin Rudalics <rudalics@gmx.at>
4789
4790 * window.el (special-display-buffer-names)
4791 (special-display-regexps): Remove some remnants of earlier
4792 changes from doc-strings.
366ca7f3
MR
4793 (quit-windows-on): New function.
4794
4795 * vc/vc.el (vc-revert, vc-rollback):
4796 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4797 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 4798 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 4799
49677495
MR
48002011-10-09 Martin Rudalics <rudalics@gmx.at>
4801
4802 * window.el (frame-auto-hide-function): Add version tag.
4803 (Bug#9699)
4804
56f2d1e1
MA
48052011-10-09 Michael Albinus <michael.albinus@gmx.de>
4806
4807 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4808 condition.
4809
112a6592
LL
48102011-10-09 Leo Liu <sdl.web@gmail.com>
4811
4812 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4813 (Bug#9701)
4814
0812589b
GM
48152011-10-08 Glenn Morris <rgm@gnu.org>
4816
4817 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4818 before the first code statement zero indent. (Bug#9690)
4819
b2b0776e
CY
48202011-10-08 Chong Yidong <cyd@stupidchicken.com>
4821
4822 * simple.el (count-words-region): Always count in the region.
4823 Report the number of lines and characters too.
4824 (count-words): New command, which counts in the buffer if the
4825 region is inactive, as count-words-region used to.
4826 (count-words--message): New function. Handle plurals.
4827 (count-lines-region): Make it an alias for count-words-region.
4828
4829 * bindings.el (esc-map): Replace count-lines-region with
4830 count-words-region.
4831
c557cd6b
MR
48322011-10-08 Martin Rudalics <rudalics@gmx.at>
4833
4834 * window.el (window--delete): Delete dedicated frame
4835 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 4836 (switch-to-buffer): Fix doc-string typo.
c557cd6b 4837
61a57ef4 48382011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4839
3a7d293b 4840 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 4841
c3833279
CY
48422011-10-07 Chong Yidong <cyd@stupidchicken.com>
4843
4844 * bindings.el ([M-left],[M-right]): Bind to left-word and
4845 right-word respectively.
4846
21ce8245
GM
48472011-10-07 Glenn Morris <rgm@gnu.org>
4848
4849 * cus-start.el (debug-on-quit): Fix custom type.
4850
6d823bb2
LMI
48512011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4852
0181e193
LMI
4853 * subr.el (define-key-after): Clarify that the function is not
4854 useful for non-menu keymaps.
4855
6d823bb2
LMI
4856 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4857
8e3459ce 48582011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4859
21ce8245 4860 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 4861 in current minibuffer (Fix bug with recursive minibuffers).
4862
a1c2d21e
CY
48632011-10-06 Chong Yidong <cyd@stupidchicken.com>
4864
4865 * progmodes/gdb-mi.el (gdb): Doc fix.
4866
5a4cf282
MR
48672011-10-05 Martin Rudalics <rudalics@gmx.at>
4868
4869 * window.el (frame-auto-hide-function): New option replacing
4870 frame-auto-delete. Suggested by Stefan Monnier.
4871 (window--delete): Call frame-auto-hide-function instead of
4872 investigating frame-auto-delete.
c96111ea
MR
4873 (window-point-1, set-window-point-1): New functions.
4874 (window-in-direction, record-window-buffer, window-state-get-1)
4875 (display-buffer-record-window): Use window-point-1 instead of
4876 window-point.
4877 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 4878
9854542e
SM
48792011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4880
4881 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4882
8943cfb0
GM
48832011-10-05 Glenn Morris <rgm@gnu.org>
4884
4885 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4886 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
4887
647ab967
LL
48882011-10-05 Leo Liu <sdl.web@gmail.com>
4889
4890 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4891 works with buffer object.
4892
3ddfbced
SM
48932011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4894
4895 * mpc.el (mpc-tool-bar-map): Add labels.
4896
bdfa5dd2
GM
48972011-10-04 Glenn Morris <rgm@gnu.org>
4898
4899 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4900
0e2070b5
MR
49012011-10-04 Martin Rudalics <rudalics@gmx.at>
4902
4903 * window.el (window--delete): New function.
4904 (frame-auto-delete): Resuscitate option.
4905 (bury-buffer, replace-buffer-in-windows)
4906 (quit-window): Rewrite using window--delete.
4907 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4908 Pass display-buffer-mark-dedicated to window--display-buffer-2
4909 (Bug#9639).
4910
3dc61a09
SM
49112011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4912
915a9b64
SM
4913 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4914 returns a list (bug#9554). Add remote file name completion.
4915 * comint.el (comint--table-subvert): Curry and get quote&unquote
4916 functions as arguments.
4917 (comint--complete-file-name-data): Adjust call accordingly.
4918 * pcomplete.el (pcomplete--table-subvert): Remove.
4919 (pcomplete-completions-at-point): Use comint--table-subvert instead.
4920
3dc61a09
SM
4921 * minibuffer.el (completion-table-case-fold): Use currying.
4922 (completion--styles-type, completion--cycling-threshold-type):
4923 New constants.
4924 (completion-styles, completion-category-overrides)
4925 (completion-cycle-threshold): Use them.
4926 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4927 completion-table-case-fold.
4928
8ea0a993
SB
49292011-10-03 Stephen Berman <stephen.berman@gmx.net>
4930
4931 * minibuffer.el (completion-category-overrides): Fix type of styles
4932 and add more user friendly tags (bug#9660).
4933
8c24b7f6
SM
49342011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4935
4936 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4937 (mule-input-method-string): New widget.
4938 (default-input-method, language-info-custom-alist): Use it.
4939
428fe61a
SM
49402011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4941
32c1fffd
SM
4942 * pcomplete.el: Require comint.
4943 (pcomplete--common-suffix): Remove.
4944 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4945 (pcomplete--table-subvert): Sync with comint--table-subvert.
4946 (pcomplete--entries): Use comint-completion-file-name-table.
4947 * comint.el (comint-unquote-filename): Simplify.
4948 (comint-completion-file-name-table): New function (bug#9616).
4949 (comint--complete-file-name-data): Use it.
4950
428fe61a
SM
4951 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4952 (pcmpl-gnu-tar-buffer): Remove.
4953 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
4954 around. Make sure pcomplete-suffix-list is only changed temporarily.
4955 Don't look inside the tar's file if it's too large.
428fe61a 4956
04c52e2f
CY
49572011-10-01 Chong Yidong <cyd@stupidchicken.com>
4958
ce3cefcc
CY
4959 * cus-edit.el (custom-mode-map):
4960 * epa.el (epa-key-list-mode-map):
4961 * man.el (Man-mode-map):
4962 * startup.el (splash-screen-keymap):
4963 * simple.el (special-mode-map): Use scroll-up-command and
4964 scroll-down-command.
4965
4966 * progmodes/idlw-help.el (idlwave-help-mode-map):
4967 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4968 * net/newst-plainview.el (newsticker-mode-map):
4969 * emulation/ws-mode.el (wordstar-mode-map):
4970 * emulation/vi.el (vi-com-map):
4971 * calc/calc-graph.el (calc-graph-show-dumb):
4972 * term/sun.el (terminal-init-sun):
4973 * term/ns-win.el (global-map):
4974 * progmodes/grep.el (grep-mode-map):
4975 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4976 * mail/rmail.el (rmail-mode-map):
4977 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4978
04c52e2f
CY
4979 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4980 custom-safe-themes as special.
4981
79adf8c8
JD
49822011-10-01 Julien Danjou <julien@danjou.info>
4983
4984 * notifications.el (notifications-notify): Fix docstring.
4985
63bd50d3
PS
49862011-10-01 Per Starbäck <per@starback.se>
4987
4988 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4989
199e4c7e
MR
49902011-09-30 Martin Rudalics <rudalics@gmx.at>
4991
4992 * startup.el (command-line-1): Fix last fix by inserting
4993 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 4994 (Bug#9605) and (Bug#9636)
199e4c7e 4995
fe5f08dd
EZ
49962011-09-29 Eli Zaretskii <eliz@gnu.org>
4997
4998 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4999 window is hscrolled, move by logical lines. (Bug#9607)
5000 (line-move-visual): Update the doc string to the above effect.
5001
b5516bbd
MR
50022011-09-29 Martin Rudalics <rudalics@gmx.at>
5003
ccee00c0
MR
5004 * window.el (display-buffer-record-window): When WINDOW is the
5005 selected window use `point' instead of `window-point'. (Bug#9626)
5006
b5516bbd
MR
5007 * startup.el (command-line-1): Use insert-before-markers when
5008 inserting initial-scratch-message. (Bug#9605)
ccee00c0 5009
b5516bbd
MR
5010 * help.el (help-window): Remove variable.
5011
52aa0014
GM
50122011-09-29 Glenn Morris <rgm@gnu.org>
5013
5014 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5015
df9a7357
JB
50162011-09-29 Juanma Barranquero <lekktu@gmail.com>
5017
5018 * descr-text.el (describe-char-categories): Accept category
5019 descriptions more than one line long.
5020
a8406c20
SM
50212011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5022
88d9610c
SM
5023 * simple.el (delete-trailing-whitespace): Fix last change.
5024
a5daf810
SM
5025 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5026 Don't confuse "y => 3" as the beginning of a `y' operation.
5027
a8406c20
SM
5028 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5029 object has more than 4 slots (bug#9613).
5030
a239d4e9
JB
50312011-09-28 Juanma Barranquero <lekktu@gmail.com>
5032
5033 * subr.el (with-output-to-temp-buffer):
5034 * net/quickurl.el (quickurl, quickurl-browse-url):
5035 Fix typos in docstrings.
5036
693fbdb6
EZ
50372011-09-27 Eli Zaretskii <eliz@gnu.org>
5038
5039 * minibuffer.el (completion-styles)
5040 (completion-category-overrides): Cross reference each other in doc
5041 strings.
5042
8b457e28
GM
50432011-09-27 Glenn Morris <rgm@gnu.org>
5044
5045 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5046 to split-string. (Bug#9606)
5047
85a16208
LMI
50482011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5049
5050 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5051 (bug#9615).
5052
502f9ebd
CY
50532011-09-27 Chong Yidong <cyd@stupidchicken.com>
5054
5055 * emacs-lisp/package.el (list-packages): Fix echo area message.
5056
7690bdea
LL
50572011-09-27 Leo Liu <sdl.web@gmail.com>
5058
5059 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5060
e2ee6f30
MA
50612011-09-25 Michael Albinus <michael.albinus@gmx.de>
5062
5063 * net/dbus.el (dbus-unregister-object): Don't release services for
5064 registered signals. (Bug#9581)
5065
f3f98342
TZ
50662011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5067
5068 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5069 function that picks between cfengine 2 and 3 support
5070 automatically. Update docs accordingly.
5071
dd7aa8dd
KH
50722011-09-22 Kenichi Handa <handa@m17n.org>
5073
5074 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5075 ZERO.
5076 (indian-itrans-v5-table-for-tamil): New variable.
5077 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5078
3f2b07f8
KM
50792011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5080
5081 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5082 that's true if the current command involved collapsing of text.
5083 It's reset to false at the beginning of the next command.
5084 (allout-post-command-business): Move the cursor to the beginning
5085 of entry if the cursor is hidden and collapsing activity just
5086 happened.
5087
371d6a61
CY
50882011-09-24 Chong Yidong <cyd@stupidchicken.com>
5089
5090 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5091 tracking (Bug#9541).
5092
2ac2721a
UJ
50932011-09-24 Ulf Jasper <ulf.jasper@web.de>
5094
5095 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
5096 (newsticker-show-news): Automatically load html rendering package
5097 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5098 because w3m-fill-column is let-bound" and the error "Symbol's value
5099 as variable is void: w3m-fill-column".
2ac2721a 5100
fac7ae53
MA
51012011-09-24 Michael Albinus <michael.albinus@gmx.de>
5102
5103 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5104 Release services only if they are defined. (Bug#9581)
5105
e08b633b
RS
51062011-09-23 Richard Stallman <rms@gnu.org>
5107
e488d29c
RS
5108 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5109 distinguish start of paragraph from start of its text.
5110
19c38752
RS
5111 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5112
e08b633b
RS
5113 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5114 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5115 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5116
0a39f27e
AS
51172011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5118
5119 * international/mule-diag.el (mule-diag): Insert a newline after
5120 each fontset description.
5121
db4e950d
SM
51222011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5123
5124 * simple.el (delete-trailing-whitespace):
5125 Document last change; simplify.
5126
eca3f3ea
PW
51272011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5128
d68e189a
PW
5129 * simple.el (delete-trailing-whitespace): Also delete
5130 extra newlines at the end of the buffer.
5131
eca3f3ea
PW
5132 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5133 (picture-newline): Use forward-line so as to ignore fields.
5134
01c157cc
SM
51352011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5136
5137 * subr.el (with-wrapper-hook): Fix edebug spec.
5138
022de23e
LMI
51392011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5140
5141 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5142 (bug#4538).
5143
91683089
MA
51442011-09-23 Michael Albinus <michael.albinus@gmx.de>
5145
eca3f3ea
PW
5146 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5147 Fix nasty bug using wrong cached values.
91683089 5148
5bdd6fa4
AM
51492011-09-23 Alan Mackenzie <acm@muc.de>
5150
5151 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5152
97adfb97
CY
51532011-09-23 Chong Yidong <cyd@stupidchicken.com>
5154
5155 * window.el (pop-to-buffer): Ensure right window is selected if we
5156 chose another frame.
5157
d4ef2b50
EZ
51582011-09-22 Eli Zaretskii <eliz@gnu.org>
5159
5160 * simple.el (what-cursor-position): Use get-char-property-change
5161 and next-single-char-property-change, to be able to show display
5162 properties that come from overlays as well as text properties.
5163
72258fe5
CY
51642011-09-22 Chong Yidong <cyd@stupidchicken.com>
5165
5166 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5167
5168 * cmuscheme.el (run-scheme, switch-to-scheme):
5169 * cus-edit.el (customize-group, custom-buffer-create)
5170 (customize-browse):
5171 * info.el (info):
5172 * shell.el (shell):
5173 * mail/sendmail.el (mail):
5174 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5175
8f098516
RS
51762011-09-22 Richard Stallman <rms@gnu.org>
5177
5178 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5179 move back only to line beg, don't move back over blank lines.
5180
e74f1bb6
MA
51812011-09-22 Michael Albinus <michael.albinus@gmx.de>
5182
5183 * files.el (copy-directory): Set directory attributes only in case
5184 they could be retrieved from the source directory. (Bug#9565)
5185
bfeef8b6
DK
51862011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5187
5188 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5189 (hs-find-block-beginning, hs-hide-level-recursive):
5190 Ignore strings as well as comments. (Bug#9502)
5191
7e423bb8
AS
51922011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5193
5194 * progmodes/sql.el (sql-comint-postgres):
5195 Convert port number to a string. (Bug#9566)
5196
b4d72fcf
MR
51972011-09-22 Martin Rudalics <rudalics@gmx.at>
5198
5199 * window.el (quit-window): Undedicate window when switching to
5200 previous buffer. Reported by Thierry Volpiatto
5201 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
5202 (special-display-popup-frame): When popping up a new frame reset
5203 its previous buffers to nil. Simplify code.
b4d72fcf 5204
a7b88dc6
MA
52052011-09-21 Michael Albinus <michael.albinus@gmx.de>
5206
5207 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5208 and process filter, as done also in `shell-command'.
5209
cf4eacfd
MR
52102011-09-21 Martin Rudalics <rudalics@gmx.at>
5211
eca3f3ea 5212 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
5213 Call set-window-start with NOFORCE argument t.
5214 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
5215 (quit-window): Reword doc-string. Handle new format of
5216 quit-restore parameter. Don't delete window if it has a
5217 previous buffer we can show instead of the present one.
5218 (display-buffer-record-window): Rewrite using a new format for
5219 the quit-restore window parameter
5220 (special-display-popup-frame, display-buffer-same-window)
5221 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5222 (display-buffer-pop-up-window, display-buffer-use-some-window):
5223 Adapt symbol passed to display-buffer-record-window.
5224 * help.el (help-window-setup): Handle new format of quit-restore
5225 parameter.
5226
8d28cb95
SM
52272011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5228
94ab793f
SM
5229 * faces.el (face-list): Fix docstring (bug#9564).
5230
8d28cb95
SM
5231 * window.el (display-buffer--action-function-custom-type):
5232 Don't include internal functions in the Custom interface.
5233
3820edeb
JL
52342011-09-20 Juri Linkov <juri@jurta.org>
5235
5236 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5237 (Info-forward-node, Info-backward-node, Info-next-preorder)
5238 (Info-last-preorder): Use it. (Bug#9528)
5239
5147931d
JL
52402011-09-20 Juri Linkov <juri@jurta.org>
5241
5242 * info.el (Info-last-preorder): Visit last menu item only when
5243 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5244
cf499a1a
JD
52452011-09-20 Julien Danjou <julien@danjou.info>
5246
5247 * password-cache.el (password-cache-remove): Remove entries even if the
5248 value is nil, so that password with a nil value (negative caching) is
5249 possible to invalidate.
5250
f84e2fe2
LM
52512011-09-20 Lawrence Mitchell <wence@gmx.li>
5252
5253 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5254 all whitespace around breakpoint. (Bug#9553)
5255 (f90-find-breakpoint): Only break at whitespace inside a comment.
5256
78054a46
SM
52572011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5258
5259 * minibuffer.el (completion-file-name-table): Keep track of errors.
5260 (completion-table-with-predicate): Handle the case where pred1 is nil.
5261 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5262
345083b2
SM
52632011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5264
e24e27be
SM
5265 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5266 (debugger-return-value): Signal an error if the debugging context does
5267 not await any return value.
5268
345083b2
SM
5269 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5270 * image-mode.el (image-toggle-display-text)
5271 (image-toggle-display-image): Stay away from evil `intangible'.
5272
08d355e3
LL
52732011-09-19 Leo Liu <sdl.web@gmail.com>
5274
5275 * replace.el (occur-revert-arguments): Make it permanent-local.
5276 (occur-mode): Don't call font-lock-defontify.
5277
f01da43f
CY
52782011-09-19 Chong Yidong <cyd@stupidchicken.com>
5279
5280 * net/ldap.el (ldap-search-internal): Don't push empty search
5281 result (Bug#9508).
5282
b6072fa6
SM
52832011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5284
5285 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5286
443d6696
MA
52872011-09-19 Michael Albinus <michael.albinus@gmx.de>
5288
5289 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5290 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5291
7cc6e154
JL
52922011-09-18 Juri Linkov <juri@jurta.org>
5293
5294 * buff-menu.el (Buffer-menu-mode-map):
5295 * dired.el (dired-mode-map):
5296 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5297 (lisp-interaction-mode-map):
5298 * emacs-lisp/package.el (package-menu-mode-map):
5299 * epa.el (epa-key-list-mode-map):
5300 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5301 (menu-bar-options-menu):
5302 * outline.el (outline-mode-menu-bar-map):
5303 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5304 * vc/vc-dir.el (vc-dir-menu-map):
5305 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5306 Capitalize non-function content words in menu item strings.
5307
5308 * dired.el (dired-mode-map): Add menu item for
5309 `image-dired-dired-toggle-marked-thumbs'.
5310
80302a81
JL
53112011-09-18 Juri Linkov <juri@jurta.org>
5312
5313 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5314 to `isearch-case-fold-search' and restore its original value
5315 after the `isearch-mode' call.
5316
46c5cf66
JL
53172011-09-18 Juri Linkov <juri@jurta.org>
5318
5319 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5320 because `zgrep' returns 1 for successful matches (bug#9226).
5321
d18b513b
JL
53222011-09-18 Juri Linkov <juri@jurta.org>
5323
5324 * info.el (Info-extract-menu-node-name): Check the second match
5325 for empty string (second test-case of bug#9528).
5326 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5327 intermediate nodes to the history (first test-case of bug#9528).
5328
72753f87
JL
53292011-09-18 Juri Linkov <juri@jurta.org>
5330
5331 * info.el (Info-mode-syntax-table): New variable.
1154d12e 5332 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 5333
c9384295
JL
53342011-09-18 Juri Linkov <juri@jurta.org>
5335
1154d12e
JB
5336 * info.el (Info-file-supports-index-cookies):
5337 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5338 outputs one more line for long file names (bug#4142).
c9384295 5339
d473dce8
CY
53402011-09-18 Chong Yidong <cyd@stupidchicken.com>
5341
5342 * newcomment.el (comment-normalize-vars): If prompting for
5343 comment-start, set comment-start-skip too (Bug#8424).
5344
2176854d
JB
53452011-09-18 Johan Bockgård <bojohan@gnu.org>
5346
5347 * icomplete.el: Fix previous fix of Bug#5849.
5348 (icomplete-mode): Don't set completion-show-inline-help.
5349 (icomplete-minibuffer-setup): Set completion-show-inline-help
5350 locally during icompletion.
5351
3aace4e4
CY
53522011-09-18 Chong Yidong <cyd@stupidchicken.com>
5353
c940224f
CY
5354 * woman.el (woman2-process-escapes): Don't delete unrecognized
5355 escapes (Bug#7843).
5356
3aace4e4
CY
5357 * files.el (inhibit-first-line-modes-regexps): Add image files.
5358 (hack-local-variables-prop-line): Return nil for malformed
5359 prop-lines (Bug#9044).
5360
710dec63
MA
53612011-09-18 Michael Albinus <michael.albinus@gmx.de>
5362
5363 * net/tramp.el (top): Don't require 'shell.
5364 (tramp-methods): Fix docstring.
5365 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
5366 Return complete remote file name. Handle "smb" case.
5367 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
5368 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5369
5370 * net/tramp-compat.el (top): Require 'shell.
5371
5372 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5373 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5374 `tramp-current-host'.
5375 (tramp-get-remote-tmpdir): Remove.
5376
5377 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5378 `tramp-tmpdir' entries.
5379 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5380 (tramp-smb-handle-file-attributes): Ignore errors.
5381 (tramp-smb-wait-for-output): Check also for process end.
5382
5d5ac8ec
LMI
53832011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5384
5385 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5386 when sending QUIT (bug#9312).
5387
8c0f49f0
CY
53882011-09-17 Chong Yidong <cyd@stupidchicken.com>
5389
5390 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5391 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5392 occur-mode-display-occurrence.
5393 (occur-edit-mode): Add usage message.
5394 (occur-cease-edit): New command.
5395 (occur-after-change-function): Use text properties to find the
5396 position of the prefix text.
5397 (occur-engine): Set stickiness of prefix text properties.
5398
8f1383f7
GM
53992011-09-17 Glenn Morris <rgm@gnu.org>
5400
5401 * progmodes/etags.el (complete-tag):
5402 Fix call to completion-in-region. (Bug#9526)
5403
744ba0e3
JL
54042011-09-17 Juri Linkov <juri@jurta.org>
5405
5406 * textmodes/ispell.el (ispell-word): Add to the error message
5407 the word, ispell program name and current dictionary (bug#9121).
5408 (ispell-tex-arg-end): Capitalize "error" in the error message.
5409
d9bbf400
AS
54102011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5411
5412 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5413 check. (Bug#4251)
5414
8da11505
JL
54152011-09-17 Juri Linkov <juri@jurta.org>
5416
5417 * window.el (window-safe-min-height, window-safe-min-width):
5418 Fix typos (followup to bug#9522).
5419
a91adc7e
SJ
54202011-09-17 Sven Joachim <svenjoac@gmx.de>
5421
5422 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5423
064f328a
EZ
54242011-09-16 Eli Zaretskii <eliz@gnu.org>
5425
5426 * simple.el (line-move): If goal-column is set, move by logical
5427 lines, not by display lines. (Bug#971)
5428 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5429 to reflect the above change.
5430
e69df516
SM
54312011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5432
5433 * image.el (imagemagick-register-types): Use regexp-opt.
5434
cbb0f9ab
CY
54352011-09-15 Chong Yidong <cyd@stupidchicken.com>
5436
5437 * window.el (display-buffer-base-action): Rename from
5438 display-buffer-default-action. Make default value empty.
5439 (display-buffer-overriding-action): Convert to defvar.
5440 (display-buffer-fallback-action): New var.
5441
25322144
CY
54422011-09-15 Chong Yidong <cyd@stupidchicken.com>
5443
5444 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5445 declaration.
5446 (package--add-to-archive-contents): If there is a duplicate entry
5447 with an older version, remove it.
5448 (package-menu-mark-delete, package-menu-mark-install)
5449 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
5450 (package-menu-mark-obsolete-for-deletion):
5451 Use package-menu-get-status instead of a regexp search.
25322144
CY
5452 (package-menu-get-status): Use tabulated-list-entry.
5453 (package-menu-mark-upgrades): New command.
d770725a 5454 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
5455 (package-menu-execute): Do installation before deletion.
5456 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5457 instead of checking major-mode.
5458 (package-menu--find-upgrades): New function.
5459
7520339c
LMI
54602011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5461
5462 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5463 passwords in the log buffer.
65a046c4
LMI
5464 (smtpmail-process-filter): Update the process marker so that the
5465 "broken by peer" status message is inserted in the right place.
7520339c 5466
d3c30954
SM
54672011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5468
3fe48822
SM
5469 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5470 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5471 bibtex-completion-at-point-function.
5472 (bibtex-completion-at-point-function): Use them.
5473
1b8b3954
SM
5474 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5475
d3c30954
SM
5476 * mpc.el (mpc-constraints-tag-lookup): New function.
5477 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5478 also to browser "album|playlist".
5479
72779976
JL
54802011-09-14 Juri Linkov <juri@jurta.org>
5481
5482 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
5483 (isearch-edit-string): Use length of `isearch-string' when
5484 `isearch-fail-pos' returns nil.
5485 (isearch-message): Remove duplicate code and call
5486 `isearch-fail-pos' with arg `t'.
5487
a0bf2bcd
CY
54882011-09-14 Chong Yidong <cyd@stupidchicken.com>
5489
17bb0a2d
CY
5490 * replace.el (occur-mode-goto-occurrence): Don't force using other
5491 window (Bug#9499).
5492
a0bf2bcd
CY
5493 * dired-aux.el (dired-do-chmod): Don't provide initial input.
5494
f678e0b6
MR
54952011-09-14 Martin Rudalics <rudalics@gmx.at>
5496
5497 * window.el (display-buffer-window): Remove.
5498 (display-buffer-record-window): Use help-setup window parameter
5499 instead of variable display-buffer-window.
5500 (display-buffer-function, special-display-buffer-names)
5501 (special-display-function): Mention help-setup parameter instead
5502 of display-buffer-window in doc-string.
d3c30954
SM
5503 * help.el (help-window-setup): New argument help-window.
5504 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
5505 Reword some messages.
5506 (with-help-window): Pass window used for displaying the buffer
5507 to help-window-setup. Don't set display-buffer-window.
5508
8e39b2e8
GM
55092011-09-13 Glenn Morris <rgm@gnu.org>
5510
5511 * emacs-lisp/debug.el (debugger-make-xrefs):
5512 Preserve point. (Bug#9462)
5513
85e9c04b
CY
55142011-09-13 Chong Yidong <cyd@stupidchicken.com>
5515
5516 * window.el (window-deletable-p): Use next-frame.
5517
1b36ed6a
MR
55182011-09-13 Martin Rudalics <rudalics@gmx.at>
5519
5520 * window.el (window-auto-delete): Remove.
5521 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 5522 dedication and previous buffers.
1b36ed6a
MR
5523 (switch-to-prev-buffer): Don't delete window.
5524 (delete-windows-on): Delete a window's frame if and only if the
5525 window is dedicated.
5526 (replace-buffer-in-windows): Delete buffer's window or frame if
5527 and only if window is dedicated.
5528 (quit-window): Handle quit-restore as before last change.
4d61f28d 5529 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 5530
ef8ef9fb
CY
55312011-09-13 Chong Yidong <cyd@stupidchicken.com>
5532
5533 * window.el (window-deletable-p): Never delete the last frame on a
5534 given terminal.
5535
b2cba41e
GM
55362011-09-13 Glenn Morris <rgm@gnu.org>
5537
5538 * help.el (describe-key-briefly): Copy previous standard-output change.
5539
51553db6 55402011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
5541
5542 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
5543
b7556719
GM
55442011-09-13 Glenn Morris <rgm@gnu.org>
5545
5546 * emacs-lisp/lisp-mode.el (lisp-indent-function):
5547 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5548
64b51947
CY
55492011-09-12 Chong Yidong <cyd@stupidchicken.com>
5550
5551 * dired-aux.el (dired-mark-read-string): Don't return default
5552 value on empty input (Bug#9361).
5553 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5554 Omit initial minibuffer contents.
5555 (dired-do-chmod): Signal an error on empty input.
5556 (dired-mark-read-string): Don't return default on empty input.
5557
5558 * files.el (file-modes-symbolic-to-number): Doc fix.
5559
393a301e
SM
55602011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5561
5562 * international/mule-cmds.el (ucs-completions): Remove.
5563 (read-char-by-name): Use complete-with-action instead; add metadata.
5564
fa5660f9
CY
55652011-09-11 Chong Yidong <cyd@stupidchicken.com>
5566
5567 * window.el (display-buffer--action-function-custom-type)
5568 (display-buffer--action-custom-type): New vars.
5569 (display-buffer-alist, display-buffer-default-action)
5570 (display-buffer-overriding-action): Add defcustom types.
5571
4a592f66
CY
5572 * frame.el (delete-other-frames): Doc fix (Bug#276).
5573
73d56dbd
LMI
55742011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5575
5576 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5577
37ac18a3
CY
55782011-09-11 Chong Yidong <cyd@stupidchicken.com>
5579
5580 Change modes that used same-window-* vars to use switch-to-buffer.
5581
5582 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5583 Use switch-to-buffer.
5584
5585 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
5586 (customize-browse, custom-buffer-create-other-window):
5587 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
5588
5589 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5590 (Info-prev, Info-up, Info-speedbar-goto-node)
5591 (info-display-manual): Use switch-to-buffer.
5592 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5593
5594 * mail/sendmail.el (mail): Use switch-to-buffer.
5595 (mail-recover): Use switch-to-buffer-other-window.
5596
5597 * cmuscheme.el (run-scheme, switch-to-scheme):
5598 * ielm.el (ielm):
5599 * shell.el (shell):
5600 * net/rlogin.el (rlogin):
5601 * net/telnet.el (telnet, rsh):
5602 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5603
10195bd6
AS
56042011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5605
5606 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5607
b322f63a
LMI
56082011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5609
39d7fed6
LMI
5610 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5611 so don't mention it (bug#9301).
ba5a81f1 5612 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 5613
ee0e9f11
LMI
5614 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5615 match `x', `w32' and `ns', like the manual says (bug#9029).
5616
0b1c89c1 5617 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
5618 (process-kill-buffer-query-function): Mention the buffer name in
5619 the query.
0b1c89c1 5620
77549ea8
LMI
5621 * image-mode.el (image-next-line): The line parameter is mandatory
5622 (bug#9258).
5623
803ef892
LMI
5624 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5625 which can be useful (bug#9301).
5626
12980837
LMI
5627 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5628
91054f8f
LMI
5629 * subr.el (match-string): Mention that the current buffer should
5630 be the same as the search was done in (bug#9282).
5631
b322f63a
LMI
5632 * facemenu.el: Disable the remove-* commands if the mark isn't
5633 active (bug#9162).
5634
3199b96f
CY
56352011-09-10 Chong Yidong <cyd@stupidchicken.com>
5636
5637 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5638 of display-buffer.
5639 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5640
5641 * replace.el (occur-mode-goto-occurrence)
5642 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5643 and display-buffer.
5644
5645 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5646 display-buffer.
5647
5648 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5649 special-display and same-window variables.
5650 (mail-other-window): Use switch-to-buffer-other-window.
5651 (mail-other-frame): USe switch-to-buffer-other-frame.
5652
393a301e
SM
5653 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5654 Use display-buffer-other-frame.
3199b96f
CY
5655 (gdb-display-gdb-buffer): Use pop-to-buffer.
5656
5657 * progmodes/gud.el (gud-goto-info): Use info-other-window.
5658
5659 * progmodes/python.el: Don't set same-window-buffer-names.
5660
5661 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5662
5663 * window.el (display-buffer-alist): Add *Python*.
5664
8319e0bf
CY
56652011-09-10 Chong Yidong <cyd@stupidchicken.com>
5666
5667 * window.el (display-buffer-alist): Add entry for buffers
5668 previously handled same-window-*.
5669 (display-buffer-alist, display-buffer-default-action)
5670 (display-buffer-overriding-action): Mark as risky.
5671 (display-buffer-alist): Document action function changes.
5672 (display-buffer--same-window-action)
5673 (display-buffer--other-frame-action): New variables.
5674 (switch-to-buffer, display-buffer-other-frame): Use them.
5675 (display-buffer): Rename reuse-frame entry to reusable-frames.
5676 (display-buffer-reuse-selected-window): Function deleted.
5677 (display-buffer-reuse-window): Handle reusable-frames alist entry.
5678 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5679 (display-buffer-special): New function.
5680 (display-buffer--maybe-pop-up-frame-or-window): Rename from
5681 display-buffer-reuse-or-pop-window. Split off special-display
5682 part into display-buffer-special.
5683 (display-buffer-use-some-window): Don't perform any special
5684 pop-up-frames handling.
5685 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 5686 (display-buffer--maybe-same-window): Rename from
0d3ff375 5687 display-buffer-maybe-same-window.
8319e0bf 5688
919a69aa
CY
5689 * info.el: Don't set same-window-regexps.
5690 (info-setup): New function.
5691 (info-other-window, info): Call it.
5692
5693 * cus-edit.el: Don't set same-window-regexps.
5694 (customize-group): New argument.
5695 (customize-group-other-window): Use it.
5696 (customize-face, customize-face-other-window): Likewise.
5697 (custom-buffer-create-other-window): Use pop-to-buffer directly.
5698
8319e0bf
CY
5699 * net/rlogin.el:
5700 * net/telnet.el:
5701 * progmodes/gud.el: Don't set same-window-regexps.
5702
5703 * cmuscheme.el:
5704 * ielm.el:
5705 * shell.el:
5706 * mail/sendmail.el:
5707 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5708
25173000
JL
57092011-09-10 Juri Linkov <juri@jurta.org>
5710
5711 * isearch.el (isearch-edit-string): Remove obsolete mention of
5712 `C-w' (`isearch-yank-word-or-char') from docstring.
5713 (isearch-query-replace): Fix typo in docstring (bug#9466).
5714
056e44ef
JL
57152011-09-10 Juri Linkov <juri@jurta.org>
5716
5717 * paren.el (show-paren-function): Don't show escaped parens.
5718 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
5719
c3760c17
EZ
57202011-09-10 Eli Zaretskii <eliz@gnu.org>
5721
5722 * mail/sendmail.el (mml-to-mime, mml-attach-file)
5723 (mm-default-file-encoding): Remove autoload forms, they are
5724 replaced with autoload cookies in mml.el and mm-encode.el.
5725 (mail-add-attachment): New command.
5726 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5727 (mail-mode): Mention mail-insert-file and mail-add-attachment in
5728 the doc string.
5729 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5730
fece895e
RT
57312011-09-10 Reuben Thomas <rrt@sc3d.org>
5732
e69df516
SM
5733 * simple.el (count-words-region): Use buffer if there's no region
5734 (bug#9429).
fece895e 5735
5e68ce4a
JL
57362011-09-09 Juri Linkov <juri@jurta.org>
5737
5738 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5739 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5740 (wdired-isearch-filter-read-only): New function. (Bug#6362)
5741
0a6b9622
AM
57422011-09-09 Alan Mackenzie <acm@muc.de>
5743
5744 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5745 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
5746
14a29deb
EZ
57472011-09-09 Eli Zaretskii <eliz@gnu.org>
5748
5749 Fix for Savannah bug#9392.
5750 * simple.el (mail-encode-mml): New defvar.
5751
5752 * mail/rmail.el (mail-encode-mml): Add a defvar.
5753 (rmail-enable-mime-composing): Default to t.
5754 (rmail-forward): Use MIME method of forwarding only if both
5755 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5756 Set mail-encode-mml non-nil if the MIME method was used.
5757
5758 * mail/sendmail.el (mml-to-mime): Add autoload form.
5759 (mail-encode-mml): Add a defvar.
5760 (mail-mode): Make mail-encode-mml buffer-local and initialize it
5761 to nil.
5762 (mail-send): If mail-encode-mml is non-nil, run the outgoing
5763 message through mml-to-mime, and reset mail-encode-mml to nil.
5764
28c45130
GM
57652011-09-09 Glenn Morris <rgm@gnu.org>
5766
5767 * woman.el (woman-if-body): When processing an .el block,
5768 do not delete the next .el block as well. (Bug#9447)
69f4b618 5769 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 5770
9b1c252e
MR
57712011-09-08 Martin Rudalics <rudalics@gmx.at>
5772
5773 * window.el (window-deletable-p): Make sure window is live before
5774 invoking window-prev-buffers.
5775
567457e3
LL
57762011-09-08 Leo Liu <sdl.web@gmail.com>
5777
5778 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
5779
97f05794
JL
57802011-09-08 Juri Linkov <juri@jurta.org>
5781
5782 * progmodes/compile.el (compilation-environment): Make it
5783 a defcustom (bug#8340).
5784
8b0874b5
MR
57852011-09-08 Martin Rudalics <rudalics@gmx.at>
5786
5787 * window.el (frame-auto-delete): Rename to window-auto-delete.
5788 Make it control auto-deletion of windows and/or frames.
5789 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 5790 for deleting window/frame. (Bug#9419)
8b0874b5
MR
5791 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5792 Rewrite handling of case when window/frame can be deleted.
5793 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 5794 argument t. (Bug#9456)
8b0874b5 5795
4feb6e73
CY
57962011-09-07 Chong Yidong <cyd@stupidchicken.com>
5797
5798 * help-mode.el (help-mode): Restore autoload.
5799
91ab9c13
JL
58002011-09-07 Juri Linkov <juri@jurta.org>
5801
5802 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5803 `compilation-environment'. Set buffer-local
5804 `compilation-environment' to `thisenv' later after (funcall mode).
5805 (Bug#8340)
5806
5807 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
5808 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5809 instead of replacing its value. (Bug#8340)
5810
0527e251
JL
58112011-09-07 Juri Linkov <juri@jurta.org>
5812
5813 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5814 based on text properties put by `grep-filter' instead of matching
5815 escape sequences.
5816 (grep-mode): Set buffer-local `compilation-error-screen-columns'
5817 to the value of `grep-error-screen-columns' (bug#9438).
5818
249f792c
JL
58192011-09-07 Juri Linkov <juri@jurta.org>
5820
5821 * simple.el (next-error-highlight, next-error-highlight-no-select):
5822 Doc fix (bug#9432).
5823
ff7271b9
OT
58242011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5825
5826 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5827 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
5828
183fc730
LL
58292011-09-07 Leo Liu <sdl.web@gmail.com>
5830
5831 * net/rcirc.el (rcirc-mode): Conditionally initialize
5832 rcirc-input-ring.
5833
77694924
SM
58342011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5835
5836 * emacs-lisp/find-func.el (find-function-C-source): Only set
5837 find-function-C-source-directory after checking that we found a source
5838 file there (bug#9440).
5839
d809b8eb
AM
58402011-09-06 Alan Mackenzie <acm@muc.de>
5841
5842 * isearch.el (isearch-other-meta-char): Wherever a key list is
5843 unread, "unread" the prefix arg, too. This fixes bug #8901.
5844
453de99f
OG
58452011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5846
5847 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5848
90439906
JL
58492011-09-05 Juri Linkov <juri@jurta.org>
5850
5851 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5852
f62bd846
JL
58532011-09-05 Juri Linkov <juri@jurta.org>
5854
5855 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5856 keeping point where processing of grep matches begins, and
5857 continue to delete remaining escape sequences from the same point.
5858 (grep-filter): Make leading zero optional in "0?1;31m" because
5859 git-grep emits "\033[1;31m" escape sequences unlike expected
5860 "\033[01;31m" as GNU Grep does (bug#9408).
5861 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5862
045820ec
JL
58632011-09-05 Juri Linkov <juri@jurta.org>
5864
5865 * subr.el (y-or-n-p): Capitalize "yes".
5866
f5e29b9b
MA
58672011-09-04 Michael Albinus <michael.albinus@gmx.de>
5868
5869 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
5870 `tramp-cache-unload-hook' where appropriate.
5871 (tramp-methods): Rename `tramp-remote-sh' to
5872 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
5873 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5874
5875 * net/tramp-sh.el (top): Don't require 'shell.
5876 (tramp-methods): Add `tramp-remote-shell' and
5877 `tramp-remote-shell-args' entries.
5878 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5879 (tramp-sh-handle-shell-command): Remove.
5880 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5881 Use `tramp-remote-shell'.
5882
2784c434
CY
58832011-09-03 Chong Yidong <cyd@stupidchicken.com>
5884
393a301e 5885 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
5886 (sendmail-query-once): Save directly to send-mail-function.
5887 Update message-send-mail-function too.
5888
5889 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5890
464cdf56
CS
58912011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5892
5893 * progmodes/python.el (python-mode-map): Use correct function to
5894 start python interpreter from menu-bar (as reported by Geert
5895 Kloosterman).
5896 (inferior-python-mode-map): Fix typo.
393a301e 5897 (python-shell-map): Remove.
464cdf56 5898
d37e5c87
DD
58992011-09-03 Deniz Dogan <deniz@dogan.se>
5900
5901 * net/rcirc.el (rcirc-print): Simplify code for
5902 rcirc-scroll-show-maximum-output. There is no need to walk
5903 through all windows to find the right one.
5904
f3ada0ee
CS
59052011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5906
5907 * help.el (help-return-method): Doc fix.
5908
1f3c99ca
MR
59092011-09-03 Martin Rudalics <rudalics@gmx.at>
5910
5911 * window.el (window-deletable-p): Don't return a non-nil value
5912 when there's a buffer that was shown in the window before.
5913 (Bug#9419)
393a301e
SM
5914 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5915 Set window's previous buffers to nil.
1f3c99ca 5916
a3cf097f
EZ
59172011-09-03 Eli Zaretskii <eliz@gnu.org>
5918
5919 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5920 newline before and after the tag line, so it doesn't interfere
5921 with determining the paragraph direction of bidirectional text.
5922
3d03de90
LL
59232011-09-03 Leo Liu <sdl.web@gmail.com>
5924
5925 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5926
c3313451
CY
59272011-09-02 Chong Yidong <cyd@stupidchicken.com>
5928
393a301e 5929 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
5930 (pop-to-buffer): Change interactive spec. Pass second argument
5931 directly to display-buffer.
5932 (display-buffer): Fix interactive spec. Use functionp to
5933 distinguish between a function and a list of functions.
5934
5935 * abbrev.el (edit-abbrevs):
5936 * arc-mode.el (archive-extract):
5937 * autoinsert.el (auto-insert):
5938 * bookmark.el (bookmark-bmenu-list):
5939 * files.el (find-file):
5940 * view.el (view-buffer):
5941 * progmodes/compile.el (compilation-goto-locus):
5942 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5943
89894cd8
CY
59442011-09-02 Chong Yidong <cyd@stupidchicken.com>
5945
5946 * window.el (display-buffer-alist): Doc fix.
5947 (display-buffer): Add docstring. Don't treat
5948 display-buffer-default specially.
5949 (display-buffer-reuse-selected-window)
5950 (display-buffer-same-window, display-buffer-maybe-same-window)
5951 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5952 (display-buffer-pop-up-window)
5953 (display-buffer-reuse-or-pop-window)
5954 (display-buffer-use-some-window): New functions.
5955 (display-buffer-default-action): Use them.
393a301e 5956 (display-buffer-default): Delete.
89894cd8
CY
5957 (pop-to-buffer-1): Fix choice of actions.
5958
ae0bc9fb
SM
59592011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5960
5961 * minibuffer.el (completion--insert-strings): Don't get confused by
5962 completion entries that end with an LF char.
5963
e9d90883
EZ
59642011-09-01 Eli Zaretskii <eliz@gnu.org>
5965
5966 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5967
437014c8
CY
59682011-09-01 Chong Yidong <cyd@stupidchicken.com>
5969
5970 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
5971 (display-buffer-same-window, display-buffer-other-window):
5972 New functions.
437014c8
CY
5973 (pop-to-buffer-1): New function. Use the above.
5974 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 5975 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
5976
5977 * view.el (view-buffer-other-window, view-buffer-other-frame):
5978 Just use pop-to-buffer.
5979
a5e063d5
TV
59802011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5981
5982 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5983
793d32bb
WH
59842011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5985
5986 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5987
d65e4c15
RS
59882011-08-31 Richard Stallman <rms@gnu.org>
5989
5990 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5991 of the separation of rmail-view-buffer from rmail-buffer.
5992 If you say no to "replace original", the decrypt is in the
5993 view buffer. If you say yes, the decrypt goes into the
5994 rmail buffer also.
5995
f818cd2a
MR
59962011-08-31 Martin Rudalics <rudalics@gmx.at>
5997
5998 * window.el (display-buffer-window): Rewrite doc-string.
5999 (display-buffer-record-window): New function.
6000 (display-buffer-macro-specifiers)
6001 (display-buffer-even-window-sizes, display-buffer-set-height)
6002 (display-buffer-set-width, display-buffer-in-window)
6003 (display-buffer-reuse-window, display-buffer-split-specifiers)
6004 (display-buffer-side-specifiers, display-buffer-split-window-1)
6005 (display-buffer-split-window, display-buffer-split-atom-window)
6006 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6007 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6008 (display-buffer-other-window-means-other-frame)
6009 (display-buffer-normalize-special)
6010 (display-buffer-normalize-default)
6011 (display-buffer-normalize-argument)
6012 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6013 (display-buffer-normalize-specifiers, display-buffer-frame)
6014 (display-buffer-same-window, display-buffer-same-frame)
6015 (display-buffer-other-window)
6016 (display-buffer-same-frame-other-window)
6017 (display-buffer-other-frame, pop-to-buffer-same-window)
6018 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6019 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6020 (switch-to-buffer-same-frame)
6021 (switch-to-buffer-other-window-same-frame)
6022 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6023 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6024 (display-buffer-alist-set): Remove.
6025 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
6026 (special-display-regexps, special-display-function):
6027 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
6028 parameter.
6029 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6030 (special-display-frame-alist, special-display-popup-frame)
6031 (same-window-buffer-names, same-window-regexps, same-window-p)
6032 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6033 (split-window-preferred-function, split-height-threshold)
6034 (split-width-threshold, window-splittable-p)
6035 (split-window-sensibly, window--try-to-split-window)
6036 (window--frame-usable-p, even-window-heights)
6037 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
6038 (window--display-buffer-2, display-buffer-other-frame):
6039 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
6040 (display-buffer-default, display-buffer-assq-regexp): New functions.
6041 (display-buffer-alist): Rewrite doc-string.
6042 (display-buffer-default-action)
6043 (display-buffer-overriding-action): New variables.
6044 (display-buffer, switch-to-buffer): Rewrite.
6045 (pop-to-buffer): Restore Emacs 23 behavior but use
6046 window-normalize-buffer-to-display.
6047 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6048 Restore Emacs 23 behavior but use
6049 window-normalize-buffer-to-switch-to.
6050 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
6051 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6052 Rewrite using Emacs 23 options.
f818cd2a 6053
5bc3b51d
MA
60542011-08-31 Michael Albinus <michael.albinus@gmx.de>
6055
6056 * net/tramp.el (tramp-root-regexp): Remove.
6057 (tramp-completion-file-name-regexp-unified)
6058 (tramp-completion-file-name-regexp-separate)
6059 (tramp-completion-file-name-regexp-url): Don't use leading volume
6060 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
6061 (tramp-drop-volume-letter): Simplify definition.
6062 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 6063
b1a4f8e1
SM
60642011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6065
6066 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6067 (bug#9356).
6068
5664fa7b
RT
60692011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6070
b1a4f8e1 6071 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 6072
9a45d6c3
JL
60732011-08-29 Juri Linkov <juri@jurta.org>
6074
6075 * isearch.el (isearch-done): Don't display message "Mark saved"
6076 when arg `edit' is non-nil to prevent its flicker in the echo area.
6077
fb87e0fb
CY
60782011-08-28 Chong Yidong <cyd@stupidchicken.com>
6079
6080 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6081 obsolete packages for deletion.
6082
09ac1c2a
CS
60832011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6084
6085 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 6086 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
6087 view-mode from help-mode.
6088 (help-xref-override-view-map): Remove.
6089 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6090 view-mode is not used anymore.
6091
7a1ff57f
CY
60922011-08-28 Chong Yidong <cyd@stupidchicken.com>
6093
6094 * server.el (server-port): Doc fix.
6095
b9696605
CY
6096 * cus-theme.el (custom-theme-choose-mode): Inherit from
6097 special-mode (Bug#9124).
6098 (custom-theme-choose-mode-map): Add special-mode to parent.
6099
ef8cdf8c
AM
61002011-08-28 Alan Mackenzie <acm@muc.de>
6101
6102 * progmodes/cc-fonts.el
6103 (c-make-font-lock-BO-decl-search-function): New function.
6104 (c-basic-matchers-after - "Fontify the clauses after various
6105 keywords"): Extract the three keyword lists for the 3 erroneous
6106 constructs from the list of four, and use the new function above
6107 in place of an old one.
6108
27de4e20
DD
61092011-08-28 Deniz Dogan <deniz@dogan.se>
6110
6111 * net/rcirc.el (rcirc-insert-prev-input)
6112 (rcirc-insert-next-input): Remove unused argument.
6113
356a3681
SM
61142011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6115
6116 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6117
3fc9b218
AM
61182011-08-27 Alan Mackenzie <acm@muc.de>
6119
6120 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6121 handle function pointer parameters properly.
6122
538a061c
MR
61232011-08-27 Martin Rudalics <rudalics@gmx.at>
6124
6125 * window.el (display-buffer-reuse-window): Fix case where
6126 selected window was reused with non-nil OTHER-WINDOW argument.
6127 (Bug#9381)
6128
35b1c40c
DD
61292011-08-27 Deniz Dogan <deniz@dogan.se>
6130
6131 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6132 oftc's NickServ messages.
6133
2f6a3e79
GM
61342011-08-27 Glenn Morris <rgm@gnu.org>
6135
6136 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6137
7254299e
CY
61382011-08-26 Chong Yidong <cyd@stupidchicken.com>
6139
6140 * emacs-lisp/package.el (package-install): Call package-initialize
6141 if called interactively.
6142
f8ccf167
LL
61432011-08-26 Leo Liu <sdl.web@gmail.com>
6144
6145 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6146
3e8cd5ce
JL
61472011-08-25 Juri Linkov <juri@jurta.org>
6148
6149 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6150 `search-whitespace-regexp' (bug#9364).
6151
93eb7113
JL
61522011-08-25 Juri Linkov <juri@jurta.org>
6153
6154 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6155 `regexp-search-ring' to their global values to protect from
6156 updating by `read-from-minibuffer' (bug#9185).
6157
f65d1611
JL
61582011-08-25 Juri Linkov <juri@jurta.org>
6159
6160 * textmodes/ispell.el (ispell-command-loop): Add newline
6161 at the end of the "Use option `i'..." line.
6162
f1cf7a31
JL
61632011-08-25 Juri Linkov <juri@jurta.org>
6164
6165 * battery.el (display-battery-mode): If `battery-status-function'
6166 or `battery-mode-line-format' is nil, display the message and set
6167 `display-battery-mode' to nil (bug#9363).
6168
0c95fcf7
EZ
61692011-08-25 Eli Zaretskii <eliz@gnu.org>
6170
6171 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6172 bidi-string-mark-left-to-right; they are unnecessary now.
6173
a2ebe600
DD
61742011-08-25 Deniz Dogan <deniz@dogan.se>
6175
6176 * net/quickurl.el: Documentation typo fixes.
6177
e4ed06f1
CY
61782011-08-25 Chong Yidong <cyd@stupidchicken.com>
6179
6180 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6181
e5f1c99e
GM
61822011-08-25 Glenn Morris <rgm@gnu.org>
6183
b2948976
GM
6184 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6185
e5f1c99e
GM
6186 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6187 (smtpmail-via-smtp): Handle nil response from smtp.
6188
f22f4808
JL
61892011-08-24 Juri Linkov <juri@jurta.org>
6190
6191 * proced.el (proced-marked): Inherit from `error' instead of
6192 `font-lock-warning-face'.
6193
6194 * ibuffer.el (ibuffer-marked-face): Change default face from
6195 `font-lock-warning-face' to `warning'.
6196 (ibuffer-deletion-face): Change default face from
6197 `font-lock-type-face' to `error'.
6198
6199 * battery.el (battery-update): Use the face `error' instead of
6200 `font-lock-warning-face' (bug#6117).
6201
6a93965e
JL
62022011-08-24 Juri Linkov <juri@jurta.org>
6203
6204 * faces.el (success): Change face color from "Green3" to
6205 "ForestGreen" on light background (bug#9353).
6206
1ed43b09
CY
62072011-08-24 Chong Yidong <cyd@stupidchicken.com>
6208
5664fa7b
RT
6209 * window.el (quit-window): Rename from quit-restore-window.
6210 Use same arglist as old quit-window.
1ed43b09
CY
6211 (frame-auto-delete): Doc fix.
6212
6213 * view.el (view-mode-exit): Use quit-window.
6214
11dcdbb2
JL
62152011-08-24 Juri Linkov <juri@jurta.org>
6216
6217 * isearch.el (isearch-ring-adjust1): Start visiting previous
6218 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6219 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6220 for empty search string (when the last search string is reused
6221 automatically) to adjust the isearch ring to the last element and
6222 prepare the correct index for further M-p commands (bug#9185).
6223
de62b4df
KH
62242011-08-24 Kenichi Handa <handa@m17n.org>
6225
6226 * international/ucs-normalize.el: If decomposition property of
6227 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6228 nil.
6229 (nfd, nfkd): Likewise.
6230
963b492b
SM
62312011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6232
6233 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6234 from process filters aren't reliably transmitted to the surrounding
6235 accept-process-output.
6236 (mpc-proc-check): New function.
6237 (mpc-proc-sync): Use it (bug#8293)
6238
93b6b5e1
SM
62392011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6240
6241 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6242 Add compatibility functions (bug#9313).
6243
bca633fb
EZ
62442011-08-23 Eli Zaretskii <eliz@gnu.org>
6245
b177498a
EZ
6246 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6247
6df6ae42 6248 * international/uni-bidi.el: Regenerate.
bca633fb 6249
0902a04e
KH
62502011-08-23 Kenichi Handa <handa@m17n.org>
6251
6252 * international/charprop.el:
6253 * international/uni-bidi.el:
6254 * international/uni-category.el:
6255 * international/uni-combining.el:
6256 * international/uni-comment.el:
6257 * international/uni-decimal.el:
6258 * international/uni-decomposition.el:
6259 * international/uni-digit.el:
6260 * international/uni-lowercase.el:
6261 * international/uni-mirrored.el:
6262 * international/uni-name.el:
6263 * international/uni-numeric.el:
6264 * international/uni-old-name.el:
6265 * international/uni-titlecase.el:
6266 * international/uni-uppercase.el: Regenerate.
6267
3bbf23bc
MR
62682011-08-23 Martin Rudalics <rudalics@gmx.at>
6269
6270 * help.el (help-window-setup): Fix message displayed when other
6271 window is reused. (Bug#9341)
6272
b3fd59bd
SM
62732011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6274
1802e444
SM
6275 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6276 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6277
b3fd59bd
SM
6278 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6279 Mark obsolete.
6280 * shell.el (shell-parse-pcomplete-arguments): New function.
6281 (shell-completion-vars): Use it instead (bug#9160).
6282
4eb61348
SM
62832011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6284
867cab74
SM
6285 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6286 strings and comments (bug#9333).
6287
4eb61348
SM
6288 * emacs-lisp/debug.el (debug-arglist): New function.
6289 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6290 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6291
262a1439
JL
62922011-08-22 Juri Linkov <juri@jurta.org>
6293
56ee679c
JL
6294 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6295 Revert regexp that highlights output switches to its old
6296 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6297
262a1439
JL
6298 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6299 to check for empty output (bug#9226).
6300
f13f86fb
CY
63012011-08-22 Chong Yidong <cyd@stupidchicken.com>
6302
6303 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6304 symbol-constituent as the default, as that stops font-lock from
6305 working properly (Bug#8843).
6306
c65c9622
LMI
63072011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6308
6309 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6310 `coding-system-for-*' around the process open call to avoid
6311 auth-source side effects.
e7f2c178 6312 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
6313 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6314 probe hangs.
c65c9622 6315
23a8a5ab
CY
63162011-08-21 Chong Yidong <cyd@stupidchicken.com>
6317
ff98b2dd
CY
6318 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6319
23a8a5ab
CY
6320 * emacs-lisp/find-func.el (find-function-noselect): New arg
6321 lisp-only.
6322
6323 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6324 signal an error for built-in functions (Bug#6664).
6325
f5e3c598
LMI
63262011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6327
6328 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6329 (smtpmail-try-auth-methods): Use it.
6330
a3f2468a
CY
63312011-08-21 Chong Yidong <cyd@stupidchicken.com>
6332
2c34e8da
CY
6333 * font-lock.el (font-lock-fontify-region)
6334 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6335 (font-lock-default-unfontify-buffer)
6336 (font-lock-default-fontify-region)
6337 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6338
b3fd59bd
SM
6339 * progmodes/compile.el (compilation-error-properties):
6340 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
6341 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6342 `ant' regexp.
ee31aabc 6343
a3f2468a
CY
6344 * net/browse-url.el (browse-url-firefox): Don't call
6345 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6346
8e999f70
GM
63472011-08-20 Glenn Morris <rgm@gnu.org>
6348
c21a496a
GM
6349 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6350
59ee0542
GM
6351 * tutorial.el (tutorial--default-keys): Update some default bindings.
6352
8e999f70
GM
6353 * files.el (hack-local-variables): Fully ignore case for "mode:".
6354
e3715033
AM
63552011-08-20 Alan Mackenzie <acm@muc.de>
6356
6357 Resolve invalid use of a regexp in regexp-opt.
6358
4d61f28d
JB
6359 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6360 detection for a java annotation.
e3715033 6361
4d61f28d 6362 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
6363 detection for a java annotation.
6364
4d61f28d
JB
6365 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6366 handling for java.
e3715033
AM
6367 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6368
04ed2e9c
CY
63692011-08-20 Chong Yidong <cyd@stupidchicken.com>
6370
6371 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6372 (Bug#9274).
6373
826cee64
AM
63742011-08-20 Alan Mackenzie <acm@muc.de>
6375
58179cce 6376 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
6377 such a construct. Mainly for when jit-lock etc. starts a chunk
6378 here.
6379
58179cce 6380 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 6381 variable.
58179cce 6382 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
6383 c-make-font-lock-search-function.
6384 (c-make-font-lock-search-function): Use the above function.
6385 (c-make-font-lock-context-search-function): New function.
6386 (c-cpp-matchers): Enhance the preprocessor expression case with
6387 the above function
6388 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6389 which takes an expression.
6390
6391 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6392
13009bd8
MR
63932011-08-20 Martin Rudalics <rudalics@gmx.at>
6394
6395 * window.el (display-buffer-reuse-window)
6396 (display-buffer-pop-up-window): Don't reuse or split a side
6397 window.
6398
9234ff7f
GM
63992011-08-19 Glenn Morris <rgm@gnu.org>
6400
6401 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 6402 Downcase "Mode:". (Bug#9331)
9234ff7f 6403
f635daa1
CY
64042011-08-18 Chong Yidong <cyd@stupidchicken.com>
6405
6406 * international/characters.el: Add L and R categories.
6407
6408 * subr.el (bidi-string-mark-left-to-right): Rename from
6409 string-mark-left-to-right. Use category search.
6410
6411 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6412
bc987f8b
JL
64132011-08-18 Juri Linkov <juri@jurta.org>
6414
6415 * faces.el (error, warning, success): New faces with definitions
6416 copied from old default values of `font-lock-warning-face',
6417 `compilation-warning', `compilation-info' (bug#6117).
6418
6419 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6420
6421 * progmodes/compile.el (compilation-error): Inherit from `error'.
6422 (compilation-warning): Inherit from `warning'.
6423 (compilation-info): Inherit from `success'.
6424
6425 * dired.el (dired-marked): Inherit from `warning'.
6426 (dired-flagged): Inherit from `error'.
6427
57173b96
LMI
64282011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6429
3e79eb87
LMI
6430 * mail/smtpmail.el (auth-source): Require to avoid problems with
6431 binding variables (bug#9298). Also clean up some unused
6432 autoloads.
6433
b3fd59bd
SM
6434 * net/network-stream.el (network-stream-open-starttls):
6435 Support using starttls.el without using gnutls-cli.
57173b96 6436
02b404de
JL
64372011-08-17 Juri Linkov <juri@jurta.org>
6438
6439 * progmodes/grep.el (rgrep): Handle the case when
6440 `grep-find-command' is a cons cell (bug#9278).
6441
8c9177f2
MR
64422011-08-17 Martin Rudalics <rudalics@gmx.at>
6443
6444 * window.el (display-buffer-pop-up-frame): Run frame creation
6445 function with BUFFER current (as special-display-popup-frame
6446 does). Reported by Drew Adams.
6447
3644a0ab
DU
64482011-08-17 Daiki Ueno <ueno@unixuser.org>
6449
6450 * epa-mail.el: Simplify GnuPG group expansion using
6451 epg-expand-group.
6452 (epa-mail-group-alist, epa-mail-group-modtime)
6453 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6454 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6455 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6456 Remove.
6457
5e617bc2 64582011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
6459
6460 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6461
9c4aeabf
AM
64622011-08-16 Alan Mackenzie <acm@muc.de>
6463
6464 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6465 Correct, to avoid the inside of macros.
6466
3a99bf64
RS
64672011-08-16 Richard Stallman <rms@gnu.org>
6468
04963aa8
RS
6469 * epa-mail.el: Handle GnuPG group definitions.
6470 (epa-mail-group-alist, epa-mail-group-modtime)
6471 (epa-mail-gnupg-conf-file): New variables.
6472 (epa-mail-parse-groups, epa-mail-sync-groups)
6473 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6474 (epa-mail-expand-recipients): New functions.
6475 (epa-mail-encrypt): Call epa-mail-expand-recipients.
6476
177549d0
RS
6477 * mail/rmail.el (rmail-epa-decrypt): New command.
6478
fe38beef
RS
6479 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6480 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
6481 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6482 (epa-decrypt-armor-in-region): Make error message clearer.
6483
934eacb9
SM
64842011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6485
6486 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6487 and "a2b" to "ab" for `prefix'.
6488
d024fb4e
CY
64892011-08-14 Chong Yidong <cyd@stupidchicken.com>
6490
6491 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6492 filter groups.
de148fee
CY
6493 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
6494 Fourquet (Bug#8804).
d024fb4e 6495
62f1ca49
JB
64962011-08-12 Juanma Barranquero <lekktu@gmail.com>
6497
6498 * startup.el (argi): Declare as global variable (bug#9275).
6499
9ccaaa4b
CY
65002011-08-12 Chong Yidong <cyd@stupidchicken.com>
6501
6502 * subr.el (string-mark-left-to-right): Search the entire string
6503 for RTL script, not just the terminating character. Doc fix.
6504
a3dae87a
SM
65052011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6506
6cd18349
SM
6507 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6508 New function.
6509 (js--regexp-literal, js-syntax-propertize-function): Remove.
6510 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6511 (js-mode-map): Don't rebind electric keys.
6512 (js-insert-and-indent): Remove.
6513 (js-mode): Setup electric-layout and electric-indent instead.
6514
a3dae87a
SM
6515 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6516
9d5cb631
DU
65172011-08-12 Daiki Ueno <ueno@unixuser.org>
6518
6519 * epa.el (epa-progress-callback-function): Fix the logic of
6520 displaying progress.
6521 * epa-file.el (epa-file-insert-file-contents): Make progress
6522 display more user-friendly.
6523 (epa-file-write-region): Ditto.
6524
3e26a4a2
CY
65252011-08-10 Chong Yidong <cyd@stupidchicken.com>
6526
6527 * subr.el (string-mark-left-to-right): New function.
6528
6529 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6530 Use string-mark-left-to-right.
6531 (list-buffers-noselect): Caller changed.
6532
a3dae87a
SM
6533 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6534 Use string-mark-left-to-right.
3e26a4a2
CY
6535 (tabulated-list-print): Recenter after moving point.
6536
ac8cf6e6
JL
65372011-08-10 Juri Linkov <juri@jurta.org>
6538
6539 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6540 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6541 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6542
8d96c9a4
CY
65432011-08-09 Chong Yidong <cyd@stupidchicken.com>
6544
6545 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6546 (Bug#7554).
6547
7be1c708 65482011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
6549
6550 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6551 character. (Bug#6594)
6552
37e11a63
CY
65532011-08-08 Chong Yidong <cyd@stupidchicken.com>
6554
839dde57
CY
6555 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6556 (image-dired--with-db-file): New macro.
6557 (image-dired-write-tags, image-dired-remove-tag)
6558 (image-dired-create-gallery-lists, image-dired-write-comments)
6559 (image-dired-get-comment, image-dired-mark-tagged-files)
6560 (image-dired-list-tags, image-dired-gallery-generate): Use it.
6561 (image-dired-gallery-generate): Use insert-file-contents.
6562
37e11a63
CY
6563 * time.el (display-time-world-list, display-time-world-display):
6564 * time-stamp.el (time-stamp-string):
6565 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6566 set-time-zone-rule (Bug#7337).
6567
0b4946c4
DU
65682011-08-08 Daiki Ueno <ueno@unixuser.org>
6569
6570 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6571 (epg-error-to-string, epg-errors-to-string): New function.
6572 (epg-wait-for-completion): Reverse errors list.
6573 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6574 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6575 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6576 (epg-sign-keys, epg-generate-key-from-file)
6577 (epg-generate-key-from-string): Format errors by using
6578 epg-errors-to-string (bug#9255).
6579 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6580
75bfc667
JL
65812011-08-07 Juri Linkov <juri@jurta.org>
6582
6583 * faces.el (list-faces-display): Remove extra angle bracket
6584 from `help-mode-map'.
6585
6586 * info.el (Info-history-toc-nodes): Doc fix.
6587
6588 * longlines.el (longlines-mode): Doc fix.
6589
673e08bb
SM
65902011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6591
4640dd88
SM
6592 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6593 of statements and in a few more cases (bug#9183).
6594
673e08bb
SM
6595 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6596 New functions.
6597 (cl-transform-lambda): Use them (bug#9239).
6598
89b3f019
MR
65992011-08-05 Martin Rudalics <rudalics@gmx.at>
6600
6601 * window.el (display-buffer-same-window)
6602 (display-buffer-same-frame, display-buffer-other-window)
6603 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6604 (pop-to-buffer-other-window)
6605 (pop-to-buffer-same-frame-other-window)
6606 (pop-to-buffer-other-frame): Make them defuns.
6607 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6608
640c8776
SM
66092011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6610
6611 * subr.el (make-composed-keymap): Move from C. Change calling
6612 convention, and improve docstring to bring attention to a subtle point.
6613 * minibuffer.el (completing-read-default): Adjust accordingly.
6614
63648a95
MA
66152011-08-03 Michael Albinus <michael.albinus@gmx.de>
6616
6617 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6618 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6619
6620 * net/trampver.el: Update release number.
6621
b796c9b7
SM
66222011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6623
6624 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6625 "in" (bug#9190).
6626
2239d7d5
LMI
66272011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6628
e07dd7c3
LMI
6629 * mail/sendmail.el (sendmail-query-once): Restore the current
6630 buffer after querying (bug#9074).
6631
0e6a2bd7
LMI
6632 * dired.el (dired-flagged): Use different faces for marked and
6633 flagged files (bug#6117).
6634
ce887515
LMI
6635 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6636 (bug#4433).
6637
92f2affc
LMI
6638 * ido.el (ido-mode): Switch off the message if called
6639 non-interactively.
6640
57d5aff0
LMI
6641 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6642 before 587, since it appears that that's more likely to work for
6643 more people.
6644
98cd6c18 6645 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 6646 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
6647 exist.
6648
b96dec83
LMI
6649 * info.el: Remove the `Info-beginning-of-buffer' function
6650 (bug#8325).
6651
b796c9b7
SM
6652 * net/network-stream.el (network-stream-open-starttls):
6653 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 6654
d90e2ea0
MR
66552011-08-01 Martin Rudalics <rudalics@gmx.at>
6656
6657 * window.el (display-buffer-in-window): Don't set dedicated status
6658 of window here (Bug#9215).
6659 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6660 (display-buffer-pop-up-side-window)
b796c9b7 6661 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 6662
cca09170
SM
66632011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6664
6665 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6666 before binding generated-autoload-file.
6667
027b979c
DD
66682011-08-01 Deniz Dogan <deniz@dogan.se>
6669
6670 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6671
3c7ee4f3
MA
66722011-07-30 Michael Albinus <michael.albinus@gmx.de>
6673
6674 Sync with Tramp 2.2.2.
6675
6676 * net/trampver.el: Update release number.
6677
2cc8e51a
JL
66782011-07-30 Juri Linkov <juri@jurta.org>
6679
6680 * dired-aux.el (dired-touch-initial): Remove function.
6681 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6682 current time, and `default' to the last modification time of the
6683 current marked file (bug#6887).
6684
a514d856
JM
66852011-07-28 Jose E. Marchesi <jemarch@gnu.org>
6686
6687 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 6688 numeric argument to read-number (bug#9163).
a514d856 6689
8a7eddd7
MA
66902011-07-27 Michael Albinus <michael.albinus@gmx.de>
6691
6692 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6693 connection process, it could be nil.
6694
1ddd96f5
LL
66952011-07-27 Leo Liu <sdl.web@gmail.com>
6696
6697 Simplify url handling in rcirc-mode.
6698
6699 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6700 (rcirc-browse-url-at-mouse): Remove.
6701 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6702
b248a85d
AM
67032011-07-26 Alan Mackenzie <acm@muc.de>
6704
6705 Fontify bitfield declarations properly.
6706
6707 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6708 (c-symbol-chars): Now exported as a lang variable.
6709 (c-not-primitive-type-keywords): New lang variable.
6710
6711 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6712 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 6713 parsed as a bitfield declaration.
b248a85d 6714
b796c9b7
SM
6715 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6716 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
6717 (c-punctuation-in): New function.
6718 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6719 declarations properly.
6720
68575ab0
UJ
67212011-07-26 Ulf Jasper <ulf.jasper@web.de>
6722
6723 * calendar/icalendar.el (icalendar--all-events): Take care of
6724 multiple vcalendars in a single file.
b796c9b7 6725 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 6726
0f0a88b9
DD
67272011-07-25 Deniz Dogan <deniz@dogan.se>
6728
6729 * image.el (insert-image): Clarifying docstring.
6730
0b3f36df
MA
67312011-07-24 Michael Albinus <michael.albinus@gmx.de>
6732
6733 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6734 `tramp-send-command-and-check' if there is no error.
6735 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6736
a9901f61
AM
67372011-07-22 Alan Mackenzie <acm@muc.de>
6738
6739 Prevent cc-langs.elc being loaded at run time.
6740
6741 * progmodes/cc-mode.el: Remove two autoload forms which loaded
6742 cc-langs.
6743
4d61f28d 6744 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
6745 "(require 'cc-langs)". Quote a form so it will evaluate at
6746 (cc-mode's) compilation time.
6747
11d074b2
MA
67482011-07-22 Michael Albinus <michael.albinus@gmx.de>
6749
6750 * net/tramp.el (tramp-file-name-handler): Avoid recursive
6751 loading. (Bug#9114)
6752
938b94c8
MR
67532011-07-21 Martin Rudalics <rudalics@gmx.at>
6754
6755 * window.el (display-buffer-pop-up-window)
6756 (display-buffer-pop-up-side-window)
6757 (display-buffer-in-side-window): Call display-buffer-set-height
6758 and display-buffer-set-width after setting the new window's
b796c9b7 6759 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 6760
bfa4f190
SS
67612011-07-20 Sam Steingold <sds@gnu.org>
6762
6763 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6764 (etags-tags-included-tables): Call `convert-standard-filename' on
6765 the file names contained in TAGS so that windows Emacs can handle
6766 TAGS files created by cygwin ctags.
6767
8ca42262
LMI
67682011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
6769
6770 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6771 which apparently didn't work.
6772
5db2afd2 67732011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 6774
5db2afd2
RW
6775 * proced.el (proced-send-signal): For *Marked Processes* buffer
6776 put point at beginning of buffer.
6777
92e15d10
SB
67782011-07-19 Stephen Berman <stephen.berman@gmx.net>
6779
6780 * proced.el (proced-format): Make header lines align with the text
6781 (bug#1779).
6782
1bfd59e5
LMI
67832011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6784
6785 * view.el (view-buffer): Allow running in `special' modes if we're
6786 visiting a file (bug#8615).
6787
f5aae37c
MR
67882011-07-19 Martin Rudalics <rudalics@gmx.at>
6789
6790 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
6791 (display-buffer-alist-set-1, display-buffer-alist-set-2):
6792 New functions.
f5aae37c
MR
6793 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6794 more accurately.
6795
bf2c1571
AM
67962011-07-18 Alan Mackenzie <acm@muc.de>
6797
6798 Fontify declarators properly when, e.g., a jit-lock chunk begins
6799 inside a declaration.
6800
6801 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6802
b796c9b7
SM
6803 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6804 New function.
bf2c1571
AM
6805 (c-complex-decl-matchers): Insert reference to
6806 c-font-lock-enclosing-decls.
6807
6808 * progmodes/cc-engine.el (c-backward-single-comment):
6809 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6810 to nil around calls to (forward-comment -1).
6811
4e190b80
LMI
68122011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6813
12dc863d
LMI
6814 * image.el (put-image): Doc typo fix.
6815
a762e966
LMI
6816 * progmodes/etags.el (tags-search): Doc typo fix.
6817
4e190b80
LMI
6818 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6819 password if we get errors 550 to 554.
6820
f019fb21
LMI
68212011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6822
b796c9b7 6823 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 6824
81746738
LMI
6825 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6826 indentation character (bug#6380).
6827
3ee3a1b5
LMI
6828 * files.el (buffer-offer-save): Made permanently local (bug#6241).
6829
c82f64de
LMI
6830 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6831 to clarify what the problem is (bug#4291).
6832
f019fb21
LMI
6833 * simple.el (current-kill): Clarify what
6834 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
6835 (auto-fill-mode): Document `auto-fill-function' in relation to
6836 `auto-fill-mode' (bug#2470).
f019fb21 6837
0794775d
LM
68382011-07-16 Lawrence Mitchell <wence@gmx.li>
6839
6840 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6841 method if slot is read-only (bug#9035).
6842
be39b8cc
MR
68432011-07-16 Martin Rudalics <rudalics@gmx.at>
6844
b796c9b7 6845 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 6846 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
6847 selected before, see discussion of (Bug#8615), (Bug#6954).
6848 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 6849
6ccf7859
GM
68502011-07-15 Glenn Morris <rgm@gnu.org>
6851
6852 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 6853 Respect help-form.
6ccf7859 6854
87e86684
LM
68552011-07-09 Lawrence Mitchell <wence@gmx.li>
6856
6857 * net/gnutls.el (gnutls-min-prime-bits): New variable.
6858 (gnutls-negotiate): Use it.
6859
d6066239
LMI
68602011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6861
b796c9b7
SM
6862 * net/gnutls.el (gnutls-negotiate):
6863 Upcase `gnutls-algorithm-priority'.
d6066239 6864
bd23ebc0
GM
68652011-07-15 Glenn Morris <rgm@gnu.org>
6866
c65bca65
GM
6867 * jka-compr.el (jka-compr-verbose): Move from here...
6868 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
6869 Add missing :version tag.
6870 * info.el: No need to require jka-compr when compiling.
bd23ebc0 6871
478615cc
LMI
68722011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6873
7b41decb
LMI
6874 * net/gnutls.el (gnutls-algorithm-priority): New variable.
6875 (gnutls-negotiate): Use it.
6876
dbc44fcd
LMI
6877 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6878
06789f97
LMI
6879 * info.el (Info-beginning-of-buffer): New command.
6880 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6881 announcing `b' as the key (bug#8325).
ab896c37 6882 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 6883
c39da690
LMI
6884 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6885
3aa5f34b
LMI
6886 * international/mule-cmds.el
6887 (describe-specified-language-support): Make the error message
6888 clearer (bug#8905).
6889
4bf0979f
LMI
6890 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6891
478615cc
LMI
6892 * isearch.el (isearch-barrier): Add a doc string, since it's
6893 mentioned in a function doc string (bug#8678).
6894
75c68aa1
MR
68952011-07-15 Martin Rudalics <rudalics@gmx.at>
6896
6897 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6898 buffer argument (Bug#9083) and self-identifying label argument.
6899
a7c33da2
GM
69002011-07-15 Glenn Morris <rgm@gnu.org>
6901
6902 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6903
2f5c6024
LMI
69042011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6905
6906 * man.el (Man-fontify-manpage): Fix message when formatting the
6907 man page (bug#7929).
6908
0bb23927 69092011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
6910
6911 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6912 argument LRM; if non-nil, append an invisible LRM character to the
6913 buffer name.
6914 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6915 last argument non-nil, when formatting buffer names.
0bb23927
EZ
6916 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6917 paragraph direction.
cce4b0a7 6918
621ef9ab
LMI
69192011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6920
d1583c48
LMI
6921 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6922 the man page name (bug#7929).
6923
6a57fb5f
LMI
6924 * image.el (put-image): Mention the `put-image' overlay property
6925 (bug#7834).
6926
d7956b14
LMI
6927 * scroll-bar.el (set-scroll-bar-mode): Mention that
6928 `scroll-bar-mode' lists the values (bug#7772).
6929
5b2d4a66
LMI
6930 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6931 command (bug#7729).
6932
7509a874
LMI
6933 * rect.el (apply-on-rectangle): Return the point after the last
6934 operation.
6935 (string-rectangle): Go to the point after the last operation
6936 (bug#7522).
6937
4fe74b19
LMI
6938 * printing.el (pr-toggle-region): Clarify the documentation
6939 slightly (bug#7493).
6940
b796c9b7
SM
6941 * time.el (display-time-update):
6942 Allow `display-time-mail-function' to return nil (bug#7158).
6943 Fix suggested by Detlev Zundel.
ab283561 6944
fc233c9d
LMI
6945 * vc/diff.el (diff): Clarify the order the file names are read
6946 (bug#7111).
6947
43f5740b
LMI
6948 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6949 the doc string (bug#7015).
6950
f2182a76
LMI
6951 * font-lock.el (font-lock-maximum-decoration): Mention what
6952 numeric levels mean (bug#6935).
6953
621ef9ab
LMI
6954 * startup.el (initial-buffer-choice): Don't mention the `none'
6955 selection, which is against policy.
6956
adc47434
MR
69572011-07-14 Martin Rudalics <rudalics@gmx.at>
6958
b796c9b7
SM
6959 * window.el (display-buffer-normalize-special):
6960 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 6961
7e5bfb8f
EZ
69622011-07-14 Eli Zaretskii <eliz@gnu.org>
6963
6964 * subr.el (version<, version<=, version=): Mention "-CVS" and
6965 "-12345" alpha version numbers.
6966
27fa387a
CY
69672011-07-14 Chong Yidong <cyd@stupidchicken.com>
6968
6969 * bindings.el: Add advertised binding for set-mark-command
6970 (Bug#5772).
6971
8bdfa064
CY
69722011-07-14 Chong Yidong <cyd@stupidchicken.com>
6973
6974 * bindings.el (mode-line-other-buffer):
6975 * bookmark.el (bookmark-bmenu-2-window):
6976 * bs.el (bs-cycle-next, bs-cycle-previous):
6977 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6978 switch-to-buffer.
6979
6980 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 6981 Delete.
8bdfa064 6982
5eba16a3
JB
69832011-07-14 Juanma Barranquero <lekktu@gmail.com>
6984
6985 * follow.el (follow-debug-message, follow-redisplay):
6986 * jka-cmpr-hook.el (with-auto-compression-mode):
6987 Fix typos in docstrings.
6988
15853710
LMI
69892011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6990
a28e4607
LMI
6991 * subr.el (with-silent-modifications): Clarify somewhat what the
6992 macro inhibits (bug#6525).
6993
15853710
LMI
6994 * simple.el (eval-expression): Note what it does if called
6995 interactively (bug#6495).
6996
bee0fcef
CY
69972011-07-13 Chong Yidong <cyd@stupidchicken.com>
6998
b796c9b7
SM
6999 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7000 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
7001
7002 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7003 Remove switch-to-buffer.
7004
58274504
LMI
70052011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7006
bd2fcc8d
LMI
7007 * files.el (make-directory): Clarify that an error will be raised
7008 if there's an error (bug#6397).
7009
0f04b32c
LMI
7010 * startup.el (initial-buffer-choice): Add `none' as a choice
7011 (bug#6234).
7012
465c5fc8
LMI
7013 * subr.el (add-hook): Clarify section about buffer-local hooks
7014 (bug#6218).
7015
58274504
LMI
7016 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7017
bead9a43
JB
70182011-07-13 Juanma Barranquero <lekktu@gmail.com>
7019
7020 * tabify.el (untabify): Preserve the current column so that point
7021 doesn't move (bug#6032).
7022
3af98a7b
LMI
70232011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7024
b796c9b7
SM
7025 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7026 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 7027
6240145a
GM
70282011-07-13 Glenn Morris <rgm@gnu.org>
7029
7030 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7031 (dired-insert-directory): Give a message the first time
7032 if ls is found not to support --dired.
7033
1d8c2ccc
LMI
70342011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7035
7036 * simple.el (toggle-truncate-lines): Clarify what is toggled
7037 (bug#5580). Text by Drew Adams.
7038
5fc4038e
CY
70392011-07-13 Chong Yidong <cyd@stupidchicken.com>
7040
7041 * simple.el (blink-matching-open): Make the error message from the
7042 last change less verbose.
7043
bf6012e5
DN
70442011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7045
7046 * font-lock.el (font-lock-comment-face): Use the high contrast
7047 "yellow" color for font-lock-comment-face on low color terminals
7048 using a dark background color (bug#4221).
7049
343c3b5a
LMI
70502011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7051
7e9505c5
LMI
7052 * dired.el (dired-insert-set-properties): Make the doc string
7053 reflect what it does now (bug#5325).
7054
c26fdcf5
LMI
7055 * simple.el (blink-matching-open): Say that we were unable to find
7056 the match within the limit, if we're limited (bug#5122).
7057
bb388cc5
LMI
7058 * international/mule-cmds.el (prefer-coding-system): Add an
7059 example (bug#4869).
7060
343c3b5a
LMI
7061 * progmodes/etags.el (tags-search): Document `file-list-form'
7062 (bug#4731).
7063
2a517d45
LM
70642011-07-13 Lawrence Mitchell <wence@gmx.li>
7065
7066 * net/browse-url.el (browse-url-default-browser)
7067 (browse-url-browser-function): Make the default browser choice a
7068 bit more logical (bug#4300). Also clean up the doc string.
7069
b6c78ef2
JB
70702011-07-13 Juanma Barranquero <lekktu@gmail.com>
7071
7072 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7073 binary endings (bug#4440).
7074
1c4dd947
LMI
70752011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7076
a2014063
LMI
7077 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7078 which can be pretty annoying (bug#8971).
7079
9c9c2d88
LMI
7080 * jka-compr.el (jka-compr-verbose): New variable, and use
7081 throughout (bug#8971).
7082
1c4dd947
LMI
7083 * info.el (Info-find-file): Fall back on the installation
7084 directory if we can't find the info node anywhere else.
7085
a1c9f41b
SO
70862011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7087
7088 * vc/vc.el (vc-revert-file):
7089 Don't set file time-stamp in the past. (Bug#5181)
7090
536f3d36
LMI
70912011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7092
7152b011
LMI
7093 * files.el (after-find-file): Give a better error message when
7094 trying to find a symlink that points to a file that doesn't exist
7095 (bug#4398).
7096
536f3d36
LMI
7097 * progmodes/cc-vars.el: Remove (probably) misleading comment
7098 (bug#4396).
7099
460c0fba
JB
71002011-07-12 Johan Bockgård <bojohan@gnu.org>
7101
7102 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7103
7a6bda45
CY
71042011-07-12 Chong Yidong <cyd@stupidchicken.com>
7105
7106 * mouse-sel.el: Hack restoring functionality, while keeping
7107 compatibility with 2010-07-03 changes to mouse selection.
7108 (mouse-sel-primary-overlay): New var.
7109 (mouse-sel-selection-alist): Use it.
7110 (mouse-sel-mode): Doc fix; remove points that are default features
7111 of mouse.el.
7112
c79598ef
JB
71132011-07-12 Johan Bockgård <bojohan@gnu.org>
7114
7115 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7116 Fix previous fix (bug#2490).
7117
ff8be6ef
RW
71182011-07-12 Roland Winkler <winkler@gnu.org>
7119
b796c9b7
SM
7120 * textmodes/bibtex.el (bibtex-initialize):
7121 Use pop-to-buffer-same-window.
ff8be6ef
RW
7122 (bibtex-search-entries): Fix interactive call.
7123
296ba3ee
LMI
71242011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7125
f5242a02 7126 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
7127 Fontise bytecomp Error lines more correctly (bug#2490).
7128 Fix suggested by Johan Bockgård.
f5242a02 7129
296ba3ee
LMI
7130 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7131
7132 * dired-x.el (dired-guess-default): Use `delete-dups'.
7133
f69fd0d2
CY
71342011-07-12 Chong Yidong <cyd@stupidchicken.com>
7135
7136 * dired.el (dired-mark-prompt):
7137 * dired-aux.el (dired-read-shell-command): Doc fix.
7138
eab5dc07
LMI
71392011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7140
b796c9b7
SM
7141 * mail/sendmail.el (sendmail-query-once):
7142 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
7143 emacs -Q.
7144
7145 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7146
eab5dc07
LMI
7147 * cus-edit.el (custom-file): Take an optional no-error variable.
7148 (customize-save-variable): Set the variable, and give a warning if
7149 running under "emacs -q".
7150
a1e65d42
JB
71512011-07-11 Juanma Barranquero <lekktu@gmail.com>
7152
7153 * loadhist.el (unload-feature-special-hooks):
7154 Add `auto-coding-functions', `fill-nobreak-predicate' and
7155 `find-directory-functions' (bug#5327).
7156
1d52da10
LMI
71572011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7158
be958f1d
LMI
7159 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7160
5bedb26c
LMI
7161 * cus-edit.el (custom-guess-name-alist): -alist variables should
7162 use the `alist' type (bug#3120). Suggested by Drew Adams.
7163
1d52da10
LMI
7164 * printing.el: Add documentation to all the `pr-toggle-' commands.
7165
cd394be1 71662011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
7167
7168 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7169 backends where it makes sense (bug#2623).
7170
dcc88d8a
LMI
71712011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7172
c3de9feb
LMI
7173 * dired-x.el (dired-guess-default): Remove duplicate shell command
7174 entries (bug#2028).
8a93078b 7175 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 7176 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 7177
dcc88d8a
LMI
7178 * subr.el (remove-duplicates): New conveniency function.
7179
505e3645
LMI
71802011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7181
7182 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7183 (bug#1526).
7184
71852011-07-10 Martin Rudalics <rudalics@gmx.at>
7186
7187 * window.el (display-buffer-normalize-default): Don't invert
7188 meaning of even-window-heights. Reported by Eli Zaretskii
7189 <eliz@gnu.org>.
7190
455e4fa1
BR
71912011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7192
7193 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7194
8e0bc3e9
CY
71952011-07-10 Chong Yidong <cyd@stupidchicken.com>
7196
7197 * window.el (display-buffer): Fix arguments to
7198 display-buffer-reuse-window in last change.
7199
fa7c3228
CY
7200 * faces.el (link): Use a less saturated blue on light backgrounds.
7201
7202 * startup.el (fancy-startup-text, fancy-about-text)
7203 (fancy-startup-tail): Use font-lock faces, for background safety.
7204
c0a7f300
BN
72052011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7206
b796c9b7
SM
7207 * emulation/viper-cmd.el (viper-change-state-to-vi):
7208 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 7209
4dc2a129
MR
72102011-07-09 Martin Rudalics <rudalics@gmx.at>
7211
7212 * window.el (display-buffer-default-specifiers): Remove.
7213 (display-buffer-macro-specifiers): Remove default specifiers.
7214 (display-buffer-alist): Default to nil.
b796c9b7 7215 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
7216 (display-buffer-pop-up-window): Allow splitting internal
7217 windows. Check whether a live window was created.
7218 (display-buffer-other-window-means-other-frame)
7219 (display-buffer-normalize-arguments): Rename to
7220 display-buffer-normalize-argument and rewrite. Set the
7221 other-window specifier.
7222 (display-buffer-normalize-special): New function.
7223 (display-buffer-normalize-options): Rename to
7224 display-buffer-normalize-default and rewrite.
7225 (display-buffer-normalize-options-inhibit): Remove.
7226 (display-buffer-normalize-specifiers): Rewrite.
7227 (display-buffer): Process other-window specifier and call
7228 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7229 more faithfully.
b796c9b7 7230 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 7231 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
7232 (display-buffer-in-window, display-buffer-alist-set):
7233 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
7234 <tassilo@member.fsf.org>.
7235
2d43b8c9
LL
72362011-07-09 Leo Liu <sdl.web@gmail.com>
7237
7238 * register.el (insert-register): Restore accidental change on
7239 2011-06-26. (Bug#9028)
7240
7f9b7c53
GM
72412011-07-09 Glenn Morris <rgm@gnu.org>
7242
7243 * subr.el (remq): Handle the empty list. (Bug#9024)
7244
f042cfd8
AS
72452011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7246
7247 * mail/sendmail.el (send-mail-function): No longer delay custom
7248 initialization.
7249 * custom.el (custom-initialize-delay): Doc fix.
7250
856b2f11
SM
72512011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7252
7253 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7254
afae1d68
MA
72552011-07-08 Michael Albinus <michael.albinus@gmx.de>
7256
7257 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7258 human-friendly prompt.
7259
0757af94
SM
72602011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7261
7262 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7263 provided by a particular plugin.
7264
d760b731
LMI
72652011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7266
7267 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7268 save customizations (with "emacs -Q"), just set the variable
7269 instead of erroring out.
7270
7271 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7272
cd79ce90
JL
72732011-07-08 Juri Linkov <juri@jurta.org>
7274
7275 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7276 (archive-zip-update-case): Use 7z if found by `executable-find'.
7277 The order of searching the available programs is the same as in
7278 `archive-zip-extract' (bug#8968).
7279
14cc04aa
CY
72802011-07-07 Chong Yidong <cyd@stupidchicken.com>
7281
7282 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7283 (menu-bar-options-menu): Tweak descriptions.
7284
0a1848ec
LMI
72852011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7286
7287 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7288 menu items into verb phrases (bug#1421). Also refill to fit under
7289 80 columns.
7290
f5bd0689
CY
72912011-07-07 Chong Yidong <cyd@stupidchicken.com>
7292
538e85c6
CY
7293 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7294 (Info-read-node-name): Doc fix (Bug#1084).
7295
f5bd0689
CY
7296 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7297 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7298 (end-of-sexp, beginning-of-sexp)
7299 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7300 (forward-symbol, forward-same-syntax, word-at-point)
7301 (sentence-at-point): Doc fix (Bug#1144).
7302
56ec5115
LMI
73032011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7304
f3f8e37f
LMI
7305 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7306 should cover it (bug#1281).
7307
0757af94 7308 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 7309
e9fce1ac 7310 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
7311 negotiation fails, then possibly try again with a non-encrypted
7312 connection (bug#9017).
7313
56ec5115
LMI
7314 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7315 be used.
7316
c2f9aec8
RS
73172011-07-07 Richard Stallman <rms@gnu.org>
7318
7319 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7320 property, and handle its changed format.
7321 Look for the correct line number.
7322 Use file's line contents (but not past first =) to find
7323 correct line in message.
7324
ef7b981d 73252011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
7326
7327 * international/characters.el (build-unicode-category-table):
7328 Delete it.
0757af94 7329 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 7330
0757af94 7331 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
7332 to src/chartab.c.
7333 (get-char-code-property): Call unicode-property-table-internal to
7334 load a file. Call get-unicode-property-internal where necessary.
7335 (put-char-code-property): Call unicode-property-table-internal to
7336 load a file. Call put-unicode-property-internal where necessary.
7337 put-unicode-property-internal where necessary.
0757af94
SM
7338 (char-code-property-description):
7339 Call unicode-property-table-internal to load a file.
c805dec0
KH
7340
7341 * international/charprop.el:
7342 * international/uni-bidi.el:
7343 * international/uni-category.el:
7344 * international/uni-combining.el:
7345 * international/uni-comment.el:
7346 * international/uni-decimal.el:
7347 * international/uni-decomposition.el:
7348 * international/uni-digit.el:
7349 * international/uni-lowercase.el:
7350 * international/uni-mirrored.el:
7351 * international/uni-name.el:
7352 * international/uni-numeric.el:
7353 * international/uni-old-name.el:
7354 * international/uni-titlecase.el:
7355 * international/uni-uppercase.el: Regenerate.
7356
7357 * loadup.el: Load international/charprop.el before
7358 international/characters.
7359
e14b388a
CY
73602011-07-07 Chong Yidong <cyd@stupidchicken.com>
7361
7362 * window.el (next-buffer, previous-buffer): Signal an error if
7363 called from a minibuffer window.
7364
7365 * bindings.el: Revert 2011-07-04 change.
7366
354cf0ba
RS
73672011-07-06 Richard Stallman <rms@gnu.org>
7368
7369 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7370 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7371 Treat markers like ints.
7372 (rmail-mime-entity): Doc fix.
7373
a48868a7
LMI
73742011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7375
4906cd3d
LMI
7376 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7377 defcustom again for backwards compatibility.
7378
e0457abe
LMI
7379 * simple.el (shell-command-on-region): Fill.
7380
d67f7e1f
LMI
7381 * dired-aux.el (dired-kill-line): Add a doc string.
7382
fe204702
LMI
7383 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7384 to "\\sw\\|\\s_" (bug#358).
7385
a48868a7
LMI
7386 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7387 (dired-unmark-backward): Ditto.
7388 (dired-flag-backup-files): Ditto.
7389
7390 * dired-x.el (dired-mark-sexp): Ditto.
7391
aa8a705c
RS
73922011-07-06 Richard Stallman <rms@gnu.org>
7393
7394 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7395 (rmail-mime-entity): New arg TRUNCATED.
7396 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7397 New functions.
7398 (rmail-mime-save): Warn if entity is truncated.
7399 (rmail-mime-toggle-hidden): Likewise, for showing.
7400 (rmail-mime-process-multipart): Record when an entity is truncated.
7401
a9a936b9
RS
7402 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7403 if ENTITY is a string.
7404
1f2b92cb
LMI
74052011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7406
f4f73198 7407 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
7408 of faces when `M-C-x'-ing their definitions (bug#8378).
7409 Also clean up the code slightly.
f4f73198 7410
12b16734 7411 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 7412 because that makes the colors go away.
12b16734 7413
f0691d22
LMI
7414 * mail/sendmail.el (send-mail-function): Change the default to
7415 `sendmail-query-once'.
9e87df06 7416 (sendmail-query-once): Add an autoload cookie.
f0691d22 7417
1f2b92cb
LMI
7418 * net/network-stream.el (network-stream-open-starttls): Try using
7419 a plain connection even if the server offered STARTTLS, and we
7420 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7421 capability. This should make smtpmail.el work in slightly more
7422 configurations.
7423
1cdd2a1b
MA
74242011-07-06 Michael Albinus <michael.albinus@gmx.de>
7425
7426 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7427 New defun.
7428 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7429
fbcc67e2
MM
74302011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7431
7432 * progmodes/sql.el: Version 3.0
0757af94 7433 (sql-product-alist): Add product :completion-object,
fbcc67e2 7434 :completion-column, and :statement attributes.
0757af94 7435 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 7436 (sql-mode-syntax-table): Mark all punctuation.
0757af94 7437 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
7438 ansi keywords.
7439 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 7440 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
7441 (sql-oracle-show-reserved-words): New function for development.
7442 (sql-product-font-lock): Simplify for source code buffers.
7443 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7444 New functions.
7445 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
7446 (sql-mode-map): Add statement movement functions.
7447 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7448 New variable.
fbcc67e2
MM
7449 (sql-statement-regexp, sql-beginning-of-statement)
7450 (sql-end-of-statement, sql-signum): New functions.
0757af94 7451 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
7452 (sql-show-sqli-buffer): Bug fix.
7453 (sql-interactive-mode): Store connection data as buffer local.
0757af94 7454 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
7455 with sql-interactive-mode.
7456 (sql-save-connection): Save buffer local settings.
0757af94 7457 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
7458 (sql-product-interactive): Bug fix.
7459 (sql-preoutput-hold): New variable.
7460 (sql-interactive-remove-continuation-prompt): Bug fixes.
7461 (sql-debug-redirect): New variable.
7462 (sql-str-literal): New function.
7463 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 7464 Redesign.
fbcc67e2
MM
7465 (sql-oracle-save-settings, sql-oracle-restore-settings)
7466 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7467 (sql-completion-object, sql-completion-column)
7468 (sql-completion-sqlbuf): New variables.
7469 (sql-build-completions-1, sql-build-completions)
7470 (sql-try-completion): New functions.
7471 (sql-read-table-name): Use them.
7472 (sql-contains-names): New buffer local variable.
7473 (sql-list-all, sql-list-table): Use it.
7474 (sql-oracle-completion-types): New variable.
7475 (sql-oracle-completion-object, sql-sqlite-completion-object)
7476 (sql-postgres-completion-object): New functions.
7477
d4eaeab1
GM
74782011-07-06 Glenn Morris <rgm@gnu.org>
7479
7480 * window.el (pop-to-buffer): Doc fix.
7481
322b7dab 74822011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
7483
7484 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7485
322b7dab 74862011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 7487
322b7dab 7488 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 7489
322b7dab 7490 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 7491
605dd5bf
CY
74922011-07-05 Chong Yidong <cyd@stupidchicken.com>
7493
7494 * button.el (button): Inherit from link face. Suggested by Dan
7495 Nicolaescu.
7496
7dbfa719
SM
74972011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7498
3db614b0
SM
7499 * progmodes/gdb-mi.el: Fit in 80 columns.
7500 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7501 switch-to-buffer.
7502
7dbfa719
SM
7503 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7504 if imenu is simply not configured (bug#8941).
7505
919d884a
KM
75062011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7507
7508 * allout.el (allout-post-undo-hook): New allout outline-change
7509 event hook to signal undo activity.
7510 (allout-post-command-business): Run allout-post-undo-hook if an
7511 undo just occurred.
7dbfa719
SM
7512 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7513 * allout-widgets.el (allout-widgets-after-undo-function):
7514 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
7515 in the vicinity of an undo.
7516 (allout-widgets-mode): Include allout-widgets-after-undo-function
7517 on the new allout-post-undo-hook.
7518
450a0f09
SM
75192011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7520
7521 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7522 Let define-derived-mode define it.
7523 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7524 cycles of abbrev-table inheritance (bug#8998).
7525
2de69e00
RW
75262011-07-05 Roland Winkler <winkler@gnu.org>
7527
7528 * textmodes/bibtex.el: Add support for biblatex.
7529 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7530 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7531 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7532 (bibtex-entry-alist, bibtex-field-alist): New variables.
7533 (bibtex-entry-field-alist): Obsolete alias for
7534 bibtex-BibTeX-entry-alist.
7535 (bibtex-entry-alist, bibtex-field-alist): New widgets.
7536 (bibtex-set-dialect): New command.
7537 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
7538 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7539 Bind via bibtex-set-dialect.
2de69e00
RW
7540 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7541 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7542 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7543 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7544 Define via bibtex-set-dialect.
450a0f09
SM
7545 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7546 Obey bibtex-no-opt-remove-re.
2de69e00
RW
7547 (bibtex-vec-push, bibtex-vec-incr): New functions.
7548 (bibtex-format-entry, bibtex-field-list)
7549 (bibtex-print-help-message, bibtex-validate)
7550 (bibtex-search-entries): Use new format of bibtex-entry-alist.
7551
2dcdbdd9
SM
75522011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7553
7554 * progmodes/compile.el (compilation-goto-locus):
7555 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7556 * bs.el (bs-cycle-next, bs-cycle-previous):
7557 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7558 * bindings.el (mode-line-other-buffer):
7559 * autoinsert.el (auto-insert):
7560 * arc-mode.el (archive-extract):
7561 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7562
b27640fe
JB
75632011-07-05 Juanma Barranquero <lekktu@gmail.com>
7564
7565 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7566 Fix check of `emacs-lock-unlockable-modes'.
7567 Coerce true values of `emacs-lock--try-unlocking' to t.
7568
53bbe3ad
JB
75692011-07-05 Juanma Barranquero <lekktu@gmail.com>
7570
7571 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7572 * emacs-lock.el: New file.
7573
1d3cdbc7
JD
75742011-07-05 Julien Danjou <julien@danjou.info>
7575
7576 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7577 than `boundp' to check if face is set.
7578
9173deec
JB
75792011-07-05 Juanma Barranquero <lekktu@gmail.com>
7580
7581 * register.el (registerv-make):
7582 * window.el (window-min-height): Fix typos in docstrings.
7583
869795d6
JD
75842011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7585
9173deec 7586 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
7587 Update doc string.
7588
b768cdcd
JB
75892011-07-04 Juanma Barranquero <lekktu@gmail.com>
7590
7591 * server.el (server-execute): Catch quit and call
7592 `server-return-error' to pass the error back to emacsclient and
7593 close the connection (bug#8942).
7594
13aa217b
KM
75952011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
7596
7597 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7598 insecure exception for current topic. Also note that auto-saves
7599 are handled differently.
7600
7601 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7602 State variables for tracking auto-save inhibition situation.
7603
7604 (allout-write-contents-hook-handler): Rename from
7605 'allout-write-file-hook-handler', and describe how it depends on
7606 write-contents-functions sensitivity to non-nil value to prevent
7607 file write.
7608
7609 (allout-auto-save-hook-handler): Remove. auto-save does not check
7610 this in individual buffers, only in the starting buffer, so this
7611 is not the right way for us to inhibit auto-save in a buffer
7612 according to its condition.
7613
7614 (allout-mode): Use new allout-write-contents-hook-handler, and
7615 only with write-contents-functions. Remove auto-save provisions -
7616 they're implemented elsewhere.
7617
7618 (allout-before-change-handler): If undo is in progress, note that
7619 for attention of allout-post-command-business.
7620
7621 (allout-post-command-business): If the command we're following was
7622 an undo, check for change in the status of encrypted items and
7623 adjust auto-save inhibitions accordingly.
7624
7625 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7626 according to whether there are or aren't any plain-text topics
7627 pending encryption.
7628
2dcdbdd9 7629 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
7630 Adjust buffer-saved-size and some allout state to inhibit auto-saves
7631 if there are plain-text topics pending encryption.
13aa217b
KM
7632
7633 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7634 buffer-saved-size and some allout state to not inhibit auto-saves
7635 if there are no longer any plain-text topics pending encryption.
7636
0757af94
SM
7637 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7638 No longer provide for exemption of the current topic.
13aa217b 7639
ac89b32c
JL
76402011-07-04 Juri Linkov <juri@jurta.org>
7641
7642 Add 7z operations to delete and save changed members (bug#8968).
7643 * arc-mode.el (archive-7z-expunge, archive-7z-update):
7644 New defcustoms.
7645 (archive-7z-write-file-member): New function.
7646 (archive-7z-summarize): Fix the number of dashes in the
7647 listing output.
7648
8fa39615
SM
76492011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7650
7651 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7652 (bug#8958).
7653
2f11b3f1
CY
76542011-07-04 Chong Yidong <cyd@stupidchicken.com>
7655
d66fef2b
CY
7656 * bindings.el: Ignore next-buffer and previous-buffer in
7657 minibuffer-local-map.
7658
2f11b3f1
CY
7659 * font-lock.el (font-lock-builtin-face): Change light background
7660 color to dark slate blue (Bug#6693).
7661
f932a347
WD
76622011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
7663
7664 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7665
c8af70e1
SM
76662011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7667
7668 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7669 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7670 Add switch-to-buffer.
7671
f158badc
LMI
76722011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7673
7674 * isearch.el (isearch-search-fun-function): Clarify further the
7675 meaning of the function returned.
7676
6d95bd46
MA
76772011-07-04 Michael Albinus <michael.albinus@gmx.de>
7678
7679 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7680
7681 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7682 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7683 Use it.
7684 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
7685 `tramp-default-remote-path' does not exist.
7686 (tramp-send-command-and-read): New optional argument NOERROR.
7687 (tramp-open-connection-setup-interactive-shell)
7688 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7689 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7690 (tramp-process-sentinel): Flush also process' connection property.
7691 (tramp-sh-handle-start-file-process): Do not set process
7692 sentinel. It is done now ...
7693 (tramp-maybe-open-connection): ... here. (Bug#8929)
7694
909e6b67
MK
76952011-07-04 MON KEY <monkey@sandpframing.com>
7696
7697 * play/animate.el (animate-string): Doc fixes and allow changing
7698 the buffer name (bug#5417).
7699
77002011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7701
c8af70e1 7702 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 7703
f34755dc
PE
77042011-07-04 Paul Eggert <eggert@cs.ucla.edu>
7705
396cec72
PE
7706 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7707 This is simpler and helps future-proof the code.
7708 (timer-until): Use time-subtract and float-time.
08235028 7709 (timer--time-less-p): Use time-less-p.
f34755dc 7710
56e6cc31
JB
77112011-07-04 Juanma Barranquero <lekktu@gmail.com>
7712
3abb79e5
JB
7713 * type-break.el (timep): Use the value of `float-time' to avoid a
7714 byte-compiler warning.
7715
56e6cc31
JB
7716 * server.el (server-eval-and-print): Return any result, even nil.
7717
7b9430b4
PE
77182011-07-03 Paul Eggert <eggert@cs.ucla.edu>
7719
7720 * type-break.el: Accept time formats that the builtins accept.
7721 (timep, type-break-time-difference): Accept any format that
7722 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7723 This is simpler and helps future-proof the code.
7724 (type-break-time-difference): Round rather than ignoring
7725 subseconds components.
7726
3034e9e7
LMI
77272011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7728
7729 * info.el (Info-apropos-matches): Make non-interactive, since it
7730 doesn't seem to do anything useful as a command (bug#8829).
7731
1485f4c0
CY
77322011-07-03 Chong Yidong <cyd@stupidchicken.com>
7733
7734 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 7735 Move from faces.el.
1485f4c0
CY
7736 (frame-default-terminal-background): New function.
7737
7738 * custom.el (custom-push-theme): Don't record faces in `changed'
7739 theme; this doesn't work correctly for per-frame face settings.
7740 (disable-theme): Use face-set-after-frame-default to reset faces.
7741 (custom--frame-color-default): New function.
7742
9fa3dd45
LMI
77432011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7744
c8af70e1 7745 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
7746 (bug#8769).
7747
6cbbc20c
KR
77482011-03-29 Kevin Ryde <user42@zip.com.au>
7749
7750 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7751 `perl-Test2' extend to match possible "fail #N" rep count
7752 (bug#8377).
7753
c7f98048
LMI
77542011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7755
65676592
LMI
7756 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7757 `smtpmail-via-smtp' now returns the error instead of nil.
7758
c7f98048
LMI
7759 * isearch.el (isearch-search-fun-function): Clarify the doc string
7760 (bug#8101).
7761
56e6cc31 77622011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
7763
7764 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7765 unnecessary spaces (bug#8987).
7766
2b216704
LMI
77672011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7768
7769 * net/network-stream.el (open-network-stream): Use the
7770 :end-of-capability command thoughout.
7771
77722011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7773
7774 * net/network-stream.el (open-network-stream): Add the
7775 :end-of-capability command parameter, used by pop3.el.
7776
36adf6ce
LMI
77772011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7778
1ca0da0e
LMI
7779 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7780
fc00f69c
LMI
7781 * fringe.el (fringe-query-style): Remove redundant text " (type ?
7782 for list)" (bug#6475).
7783
28fd8759 7784 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 7785 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
7786 an error (bug#6297).
7787
0dd8b6da
LMI
7788 * man.el (Man-reference-regexp): Allow matching possible
7789 word-wrapped references (bug#6289).
7790
ce1438d6
LMI
7791 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7792 for consistency with the other vc buffers (bug#6197).
7793 (vc-checkin): Ditto.
7794
7795 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7796
36adf6ce
LMI
7797 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7798
e83cc1f7
LMI
77992011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7800
8a20ca4c
LMI
7801 * custom.el (defcustom): Clarify that :set is only used in the
7802 Customize user interface (bug#6089).
7803
83319045
LMI
7804 * progmodes/flymake.el (flymake-mode): If the buffer isn't
7805 associated with a file, refuse to run instead of erroring out
7806 (bug#6084).
7807
a8392169
LMI
7808 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7809 the doc string, since it appears that using `fill-column' always
7810 controls the width (bug#7845).
7811
e83cc1f7
LMI
7812 * simple.el (shell-command-on-region): Say where the error output
7813 went if `shell-command-default-error-buffer' is set (bug#6857).
7814
e47ca23b
KM
78152011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
7816
7817 * allout.el (allout-yank-processing): Adjust cursor position for
7818 backwards-deleted space.
7819
7820 (allout-rebullet-heading): Register changes with
7821 allout-exposure-changed-hook, so the modified topic is properly
7822 decorated.
7823
5cf56143
LMI
78242011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7825
08549772
LMI
7826 * minibuffer.el (completion-in-region): Document PREDICATE
7827 (bug#7136).
7828
48e96771
LMI
7829 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7830 of keyword/argument pairs (bug#6904).
7831
c8af70e1
SM
7832 * replace.el (multi-occur):
7833 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 7834
e17d05e2
LMI
78352011-07-02 Drew Adams <drew.adams@oracle.com>
7836
7837 * dired.el (dired-mark-if): Make the message about whether it's
7838 marking or unmarking clearer (bug#8523).
7839
063b0e45
LMI
78402011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7841
7842 * disp-table.el (display-table-print-array): New function.
7843 (describe-display-table): Use it to print the vectors more pretty
7844 (Bug#8859).
7845
28545e04
MR
78462011-07-02 Martin Rudalics <rudalics@gmx.at>
7847
7848 * window.el (window-state-get-1): Don't assign clone numbers.
7849 Add clone-of item to list of window parameters.
7850 (window-state-put-2): Don't process clone numbers.
7851 (display-buffer-alist): Fix doc-string.
7852
3349e122
SM
78532011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7854
7855 * subr.el (remq): Don't allocate if it's not needed.
7856 (keymap--menu-item-binding, keymap--menu-item-with-binding)
7857 (keymap--merge-bindings): New functions.
7858 (keymap-canonicalize): Use them to refine the canonicalization.
7859 * minibuffer.el (minibuffer-local-completion-map)
7860 (minibuffer-local-must-match-map): Move initialization from C.
7861 (minibuffer-local-filename-completion-map): Move initialization from C;
7862 don't inherit from anything here.
7863 (minibuffer-local-filename-must-match-map): Make obsolete.
7864 (completing-read-default): Use make-composed-keymap to combine
7865 minibuffer-local-filename-completion-map with either
7866 minibuffer-local-must-match-map or
7867 minibuffer-local-filename-completion-map.
7868
d224ac83
GM
78692011-07-01 Glenn Morris <rgm@gnu.org>
7870
3de63bf8
GM
7871 * type-break.el (type-break-time-sum): Use dolist.
7872
d224ac83
GM
7873 * textmodes/flyspell.el (flyspell-word-search-backward):
7874 Replace CL function.
7875
1a1e3f32
SM
78762011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7877
fe3f64d5
SM
7878 * mouse.el (mouse--strip-first-event): New function.
7879 (function-key-map): Use it to map fringe clicks to normal clicks
7880 by default.
7881
eb604e34
SM
7882 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7883 (vc-bzr-revision-completion-table): Add support for annotate and date.
7884
1a1e3f32
SM
7885 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7886 inherit from parent.
7887
5bd35902
LMI
78882011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7889
ace6c69c 7890 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 7891 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 7892
191e2bed
LMI
7893 * dired.el (dired-mode): Fix up the doc string as suggested by
7894 Drew Adams (bug#8817).
7895
5bd35902
LMI
7896 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7897 cookie, since the manual says that it should be possible to add
7898 this function to `find-file-hook' (bug#8709).
7899
eee8207a
TZ
79002011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7901
7902 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7903 here. Noted Ted Zlatanov as the maintainer.
7904 (cfengine-common-settings, cfengine-common-syntax): New functions
7905 to set up common things between `cfengine-mode' and
7906 `cfengine3-mode'.
7907 (cfengine3-mode): New mode.
7908 (cfengine3-defuns cfengine3-defuns-regex
7909 (cfengine3-class-selector-regex cfengine3-category-regex)
7910 (cfengine3-vartypes cfengine3-font-lock-keywords)
7911 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 7912 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 7913
36b148cf
MA
79142011-07-01 Michael Albinus <michael.albinus@gmx.de>
7915
7916 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7917
7918 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7919
0bf4ba9a
MR
79202011-07-01 Martin Rudalics <rudalics@gmx.at>
7921
7922 * window.el (same-window-buffer-names, same-window-regexps)
7923 (same-window-p, special-display-frame-alist)
7924 (special-display-popup-frame, special-display-function)
7925 (special-display-buffer-names, special-display-regexps)
7926 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7927 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7928 (split-window-preferred-function, split-height-threshold)
7929 (split-width-threshold, even-window-heights)
7930 (display-buffer-mark-dedicated, window-splittable-p)
7931 (split-window-sensibly, window-safely-shrinkable-p):
7932 Un-obsolete.
7933 (display-buffer): Don't spread args with function specifier
7934 because special-display-popup-frame won't like it.
7935
35837f51
PE
79362011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7937
d0672f86
PE
7938 Time-stamp simplifications and fixes.
7939 These improve accuracy slightly, and future-proof the code
7940 against some potential changes to current-time format.
7941
b9444d97
PE
7942 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7943 by using time-since and float-time.
7944
0ef923dc
PE
7945 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7946 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7947 + NNN microseconds".
7948
2f81380d
PE
7949 * type-break.el (type-break-time-sum): Rewrite using time-add.
7950
845b5c3e
PE
7951 * play/hanoi.el (hanoi-current-time-float): Remove.
7952 All uses replaced by float-time.
7953
ee6f1be0
PE
7954 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7955 This yields a more-accurate answer.
7956 (rng-time-to-float): Remove; no longer needed.
7957
fe955043
PE
7958 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7959
5777162a
PE
7960 * calendar/timeclock.el (timeclock-seconds-to-time):
7961 Defalias to seconds-to-time, since they're the same thing.
7962
3103f8b6 7963 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 7964 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
7965 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7966
0e61a35f
SM
79672011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7968
7969 * window.el (bury-buffer): Don't iconify the only frame.
7970 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7971 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7972
ddd63a1e
CY
79732011-07-01 Chong Yidong <cyd@stupidchicken.com>
7974
0e61a35f
SM
7975 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7976 Add mouse-yank-primary.
ddd63a1e 7977
055f4923
TZ
79782011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7979
7980 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7981
6a2fb145
SM
79822011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7983
7984 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7985 (find-library-name): Use it to find relative load names when provided
7986 absolute file name (bug#8803).
7987
fd4983f2
LMI
79882011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7989
887d14ad
LMI
7990 * textmodes/flyspell.el (flyspell-word): Consider words that
7991 differ only in case as potential doublons (bug#5687).
7992
c53dc7fc
LMI
7993 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7994 Remove two rather uninteresting debugging-like messages to make
7995 debbugs.el more silent.
7996
fd4983f2
LMI
7997 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7998 a password-like phrase.
7999
7a71b18d 80002011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
8001
8002 * progmodes/cc-guess.el: New file.
8003
6a2fb145 8004 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
8005
8006 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8007 derived from `c-basic-common-init'.
8008
8009 * progmodes/cc-mode.el (top-level): Require cc-guess.
8010 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8011
1fa280a3
LM
80122011-06-30 Lawrence Mitchell <wence@gmx.li>
8013
8014 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8015
e6597158
AM
80162011-06-30 Alan Mackenzie <acm@muc.de>
8017
1fa280a3
LM
8018 * progmodes/cc-engine.el (c-guess-continued-construct):
8019 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
8020 lock is disabled. Name this case as "CASE G".
8021
68ba37fb
KM
80222011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8023
8024 * allout.el (allout-yank-processing): Fix injection of extra space
8025 between bullet and non-whitespace character in first topic when
8026 pasting, ensuring that the actual spacing in the pasted topic
8027 following the bullet char is preserved. This extra space was
8028 causing pasted encrypted topics to get a decrypted status even
8029 when the content was actually still encrypted. Now the decryption
8030 status from before the paste is preserved.
8031
8032 (allout-flag-region): Set all allout overlays so they evaporate
8033 when reduced to zero length (evanescent), to prevent overlay
8034 leakage.
8035
887a0b34
GM
80362011-06-30 Glenn Morris <rgm@gnu.org>
8037
94b9acce
GM
8038 * w32-fns.el (w32-charset-info-alist): Declare.
8039
1d9b46d4
GM
8040 * find-dired.el (find-grep-options): Simplify.
8041
cc232200
GM
8042 * term/ns-win.el (ns-set-resource): Declare.
8043
28e77c46
GM
8044 * ses.el (row, col): Declare dynamic variables honestly.
8045
887a0b34
GM
8046 * textmodes/reftex-parse.el (index-tags): Declare.
8047
658d8eb8
CY
80482011-06-30 Chong Yidong <cyd@stupidchicken.com>
8049
8050 * cus-edit.el (customize-push-and-save): New function.
8051
8052 * files.el (hack-local-variables-confirm): Use it.
8053
1fa280a3
LM
8054 * custom.el (load-theme): New arg NO-CONFIRM.
8055 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
8056 (custom-enabled-themes): Doc fix.
8057
8058 * cus-theme.el (customize-create-theme)
8059 (custom-theme-merge-theme): Callers to load-theme changed.
8060
bb617717
LMI
80612011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8062
d61bdd5d
LMI
8063 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8064 short URLs have at least one dot in them (bug #7614).
8065
bb617717
LMI
8066 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8067 nil, because using a pty is apparently too slow (bug #895).
8068
2f31f37a
LMI
80692011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8070
8071 * mail/sendmail.el (sendmail-query-once): New function.
8072 (sendmail-query-once-function): New variable.
8073
3076b24e
GM
80742011-06-29 Glenn Morris <rgm@gnu.org>
8075
faf2a174
GM
8076 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8077
3076b24e
GM
8078 * ses.el (top-level): Require cl when compiling.
8079 (ses-set-localvars): Fix error statement.
8080 Call it at compile time to silence a storm of warnings.
8081
5386012d
MR
80822011-06-29 Martin Rudalics <rudalics@gmx.at>
8083
8084 * window.el (normalize-live-buffer): Rename to
8085 window-normalize-buffer.
8086 (normalize-live-frame): Rename to window-normalize-frame.
8087 (normalize-any-window): Rename to window-normalize-any-window.
8088 (normalize-live-window): Rename to window-normalize-live-window.
8089 (make-window-atom): Rename to window-make-atom.
8090 (window-resize-reset): Rename to window--resize-reset.
8091 (window-resize-reset-1): Rename to window--resize-reset-1.
8092 (resize-mini-window): Rename to window--resize-mini-window.
8093 (resize-subwindows-skip-p): Rename to
8094 window--resize-subwindows-skip-p.
8095 (resize-subwindows-normal): Rename to
8096 window--resize-subwindows-normal.
8097 (resize-subwindows): Rename to window--resize-subwindows.
8098 (resize-other-windows): Rename to window--resize-siblings.
8099 (resize-this-window): Rename to window--resize-this-window.
8100 (resize-root-window): Rename to window--resize-root-window.
8101 (resize-root-window-vertically): Rename to
8102 window--resize-root-window-vertically.
8103 (normalize-buffer-to-display): Rename to
8104 window-normalize-buffer-to-display.
8105 (normalize-buffer-to-switch-to): Rename to
8106 window-normalize-buffer-to-switch-to.
8107 Correspondingly update all callers of the functions listed
8108 above.
8109 (display-buffer-alist, display-buffer-normalize-arguments)
8110 (display-buffer-normalize-options, display-buffer)
8111 (display-buffer-alist-set): Use "function" instead of
8112 "fun-with-args".
8113
1176868d
CY
81142011-06-28 Chong Yidong <cyd@stupidchicken.com>
8115
8116 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8117 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8118 debbugs.gnu.org. Mention acknowledgment email.
8119
20a7a65f
LMI
81202011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8121
8122 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8123 buffer multibyteness, since it shouldn't matter.
8124
5f45cca5
MR
81252011-06-28 Martin Rudalics <rudalics@gmx.at>
8126
8127 * window.el (display-buffer-in-side-window): Handle dedicated
8128 windows as in display-buffer-reuse-window.
8129 (display-buffer-normalize-alist): Use value of override
8130 specifier.
8131 (display-buffer-normalize-specifiers): Use value of
8132 other-window-means-other-frame specifier.
8133 (display-buffer-alist): Rewrite some texts in widgets.
8134 (display-buffer): Spread arguments when calling function
8135 specified by fun-with-args.
8136
ad85fe1f
DD
81372011-06-28 Deniz Dogan <deniz@dogan.se>
8138
1fa280a3
LM
8139 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8140 Unnest `let'.
da68c4c8 8141
ad85fe1f
DD
8142 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8143 selectors (Bug#5732).
ec49bd31 8144 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 8145
a08cc025
JA
81462011-06-27 Jari Aalto <jari.aalto@cante.net>
8147
8148 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8149 (eshell-ls-date-format): New defcustom.
8150 (eshell-ls-file): Use it.
8151
e2b551c5
SM
81522011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8153
8154 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8155
8982b231
KY
81562011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
8157
8158 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8159 (ange-ftp-make-tmp-name): New arg.
8160 (ange-ftp-file-local-copy): Use it.
8161
36c9fa27
J
81622011-06-27 Jambunathan K <kjambunathan@gmail.com>
8163
8164 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8165 no-conversion (Bug#8870).
8166
d68443dc
MR
81672011-06-27 Martin Rudalics <rudalics@gmx.at>
8168
8169 * window.el (window-right, window-left, window-child)
8170 (window-child-count, window-last-child)
8171 (window-iso-combination-p, walk-window-tree-1)
8172 (window-atom-check-1, window-tree-1, delete-window)
8173 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8174 new naming conventions - window-vchild, window-hchild,
8175 window-next and window-prev are now called window-top-child,
8176 window-left-child, window-next-sibling and window-prev-sibling
8177 respectively.
d615d6d2
MR
8178 (resize-window-reset): Rename to window-resize-reset.
8179 (resize-window-reset-1): Rename to window-resize-reset-1.
8180 (resize-window): Rename to window-resize.
8181 (window-min-height, window-min-width)
8182 (resize-mini-window, resize-this-window, resize-root-window)
8183 (resize-root-window-vertically, adjust-window-trailing-edge)
8184 (enlarge-window, shrink-window, maximize-window)
8185 (minimize-window, delete-window, quit-restore-window)
8186 (split-window, balance-windows, balance-windows-area-adjust)
8187 (balance-windows-area, window-state-put-2)
8188 (display-buffer-even-window-sizes, display-buffer-set-height)
8189 (display-buffer-set-width, set-window-text-height)
8190 (fit-window-to-buffer): Rename all "resize-window" prefixed
8191 calls to use the "window-resize" prefix convention.
8192 (display-buffer-alist): Fix symbol for label specifier.
8193 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8194 corresponding specifier.
8195 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 8196
b6458526
VB
81972011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8198
8199 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8200 convention.
8201 (ses-call-printer): Does not pass an empty string to formatter when the
8202 cell is empty to keep from barking printer Calc math-format-value.
8203
d31fd9ac
RS
82042011-06-27 Richard Stallman <rms@gnu.org>
8205
43d5bf84
RS
8206 * battery.el (battery-mode-line-limit): New variable.
8207 (battery-update): Handle it.
8208
d31fd9ac
RS
8209 * mail/rmailmm.el (rmail-mime-process-multipart):
8210 Handle truncated messages.
8211
819a6054
GM
82122011-06-27 Glenn Morris <rgm@gnu.org>
8213
8214 * progmodes/flymake.el (flymake-err-line-patterns):
8215 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8216
cedc73f2
VB
82172011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8218
819a6054 8219 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
8220 (ses--clean-!, ses--clean-_): New functions.
8221 (ses-range): Add configurability of readout order, and conversion
8222 to Calc vector.
8223
5e5d49b6
VB
8224 * ses.el (ses-repair-cell-reference-all): New function.
8225 (ses-cell-symbol): Set macro as safe, so that it can be used in
8226 formulas.
8227
56e6cc31 8228 * ses.el: Update cycle detection algorithm.
90ca8b49 8229 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 8230 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
8231 (ses-set-localvars): New function.
8232 (ses-make-cell): Add property-list as a cell element.
8233 (ses-cell-property-get-fun, ses-cell-property-get)
8234 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
8235 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8236 New functions.
90ca8b49
VB
8237 (ses-cell-property-set, ses-cell-property-pop)
8238 (ses-cell-property-get-handle): New macro.
8239 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8240 New aliases, used for code readability.
8241 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8242 cycle detection.
8243 (ses-self-reference-early-detection): New defcustom.
fac916bf 8244 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
8245 (ses-mode): Use ses-set-localvars.
8246 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8247 before lauching the update processing.
8248 (ses-initialize-Dijkstra-attempt): New function.
8249 (ses-recalculate-cell): Update for cycle detection based on
8250 Dijkstra algorithm.
8251
2bb63e81
VB
8252 * ses.el: Fix commenting and indenting convention.
8253
c9d29fb8
SM
82542011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8255
8256 * bs.el (bs-cycle-next): Complete last change.
8257
d8e4b68b
JB
82582011-06-27 Drew Adams <drew.adams@oracle.com>
8259
8260 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8261
40098786
LMI
82622011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8263
c9d29fb8
SM
8264 * net/network-stream.el (network-stream-open-starttls):
8265 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
8266 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8267
40098786
LMI
8268 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8269 to binary to possibly avoid line encoding issues on Windows (among
8270 other things).
8271
468d09d4
LMI
82722011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8273
8274 * net/network-stream.el (open-network-stream): Return an :error
8275 saying what the problem was, if possible.
8276
8277 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8278 server.
8279
8280 * net/network-stream.el (network-stream-open-starttls): If we
8281 wanted to use STARTTLS, and the server offered it, but we weren't
8282 able to because we had no STARTTLS support, then close the connection.
8283 (open-network-stream): Return an :error element, if present.
8284
16f07dd7
CY
82852011-06-26 Chong Yidong <cyd@stupidchicken.com>
8286
88821ca0
CY
8287 * hl-line.el (hl-line-sticky-flag): Doc fix.
8288 (global-hl-line-sticky-flag): New option (Bug#8323).
8289 (global-hl-line-highlight): Obey it.
8290
16f07dd7
CY
8291 * vc/vc.el (vc-revert-show-diff): Default to t.
8292
6b5ccddf
KM
82932011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8294
c9d29fb8
SM
8295 * allout-widgets.el (allout-widgets-post-command-business):
8296 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
8297 undecorated when an isearch is continued past, and isearch
8298 automatically collapses them. This leads to "widget leaks", where
8299 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
8300 hidden widgets can slow down cursor travel, substantially.
8301 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
8302 so we're doing without this nicety.
8303
8304 (allout-widgets-tally-string): Don't try to do a hash-table-count
8305 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8306 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8307 *Messages* when allout-widgets-maintain-tally is t.
8308
355f2e07
MR
83092011-06-26 Martin Rudalics <rudalics@gmx.at>
8310
8311 * window.el (display-buffer-normalize-argument): Rename to
8312 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
8313 LABEL argument. Respect special-display-function when popping up
8314 a new frame. Fix code searching for a window showing the buffer
8315 on another frame.
c9d29fb8
SM
8316 (display-buffer-normalize-specifiers):
8317 Call display-buffer-normalize-arguments.
355f2e07
MR
8318 (display-buffer-in-window): Don't undedicate the window if its
8319 buffer remains the same.
8320 Reported by Drew Adams <drew.adams@oracle.com>.
8321 (display-buffer-alist): Add choice for same-window macro
8322 specfier.
8323 (display-buffer): Mention special meaning of LABEL argument in
8324 doc-string. Fix quoting. Don't pop up a new frame even as
8325 fallback.
8326
7ca8fc42
JB
83272011-06-26 Juanma Barranquero <lekktu@gmail.com>
8328
8329 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8330 avoid deleting the current window in some cases (bug#8911).
8331
bc312254
AS
83322011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8333
8334 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8335 (Bug#8934)
8336
2db18f3f
LMI
83372011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8338
c9d29fb8
SM
8339 * net/network-stream.el (network-stream-open-starttls):
8340 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
8341 (network-stream-open-tls): Ditto.
8342
6302e0d3
LL
83432011-06-26 Leo Liu <sdl.web@gmail.com>
8344
8345 * register.el (registerv): New struct.
8346 (registerv-make): New function.
c9d29fb8
SM
8347 (jump-to-register, describe-register-1, insert-register):
8348 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
8349 struct. (Bug#8415)
8350
5fdd4046
CY
83512011-06-26 Chong Yidong <cyd@stupidchicken.com>
8352
2afef60a
CY
8353 * vc/vc.el (vc-revert-show-diff): New defcustom.
8354 (vc-diff-internal): New arg specifying diff buffer.
8355 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8356 reuse an existing *vc-diff* buffer (Bug#8927).
8357
5fdd4046
CY
8358 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8359
e93db24a
GM
83602011-06-26 Glenn Morris <rgm@gnu.org>
8361
8362 * progmodes/f90.el (f90-critical-indent): New option.
8363 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8364 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8365 (f90-mode): Doc fix.
8366 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8367 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8368 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8369 (f90-match-end): Handle block, critical.
8370
eefff499
GM
83712011-06-25 Glenn Morris <rgm@gnu.org>
8372
f6ba4cc9
GM
8373 * calendar/diary-lib.el (diary-included-files): Doc fix.
8374 (diary-include-files): New function, extracted from
8375 diary-include-other-diary-files and diary-mark-included-diary-files.
8376 (diary-include-other-diary-files, diary-mark-included-diary-files):
8377 Just call diary-include-files.
8378 (diary-mark-entries): Reset diary-included-files on first call.
8379
16712304
GM
8380 * calendar/diary-lib.el (diary-mark-entries)
8381 (diary-mark-included-diary-files):
8382 Visit included diary-files in temp buffers.
8383
5d8e0d43
GM
8384 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8385 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8386 (f90-start-block-re, f90-imenu-generic-expression)
8387 (f90-looking-at-program-block-start, f90-no-block-limit):
8388 Add support for submodules.
8389
ccf7a5d5
GM
8390 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8391 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 8392
11fdef7d 83932011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
8394
8395 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8396 buffer-file-type before setting its value, to avoid disastrous
eefff499 8397 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 8398
74f53697
JB
83992011-06-25 Juanma Barranquero <lekktu@gmail.com>
8400
8401 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8402
8403 * ses.el (ses-unload-function):
8404 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8405
8406 * proced.el (proced-unload-function):
8407 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8408
18a4ce5e
AR
84092011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8410
8411 * server.el (server-create-window-system-frame): Add parameters arg.
8412 (server-process-filter): Doc fix. Handle frame-parameters.
8413
519d22cc
JB
84142011-06-25 Juanma Barranquero <lekktu@gmail.com>
8415
8416 Fix bug#8730, bug#8781.
8417
8418 * loadhist.el (unload--set-major-mode): New function.
8419 (unload-feature): Use it.
8420
8421 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8422 (python-unload-function): New function.
8423
c206f5b0
SM
84242011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8425
8426 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8427
f9ad64f3
GS
84282011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8429
8430 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8431 the candidates list.
8432
7d0da90e
JB
84332011-06-24 Juanma Barranquero <lekktu@gmail.com>
8434
8435 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8436
14b4e83d
RS
84372011-06-23 Richard Stallman <rms@gnu.org>
8438
8439 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8440 (rmail-variables): Set next-error-move-function.
8441 (rmail-what-message): Take argument POS.
8442 (rmail-next-error-move): New function.
8443
273d2baf
SM
84442011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8445
8446 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8447 messages for adjacent non-terminals.
8448
56c2cc9a
RS
84492011-06-23 Richard Stallman <rms@gnu.org>
8450
8451 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 8452 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
8453 (rmail-start-mail): Don't specify use of rmail-mail-return;
8454 that's done by mail-bury now.
8455 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 8456
d59eb518
MA
84572011-06-23 Michael Albinus <michael.albinus@gmx.de>
8458
8459 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8460 SIZE is a number.
8461
02cfc6d6
MR
84622011-06-23 Martin Rudalics <rudalics@gmx.at>
8463
8464 * window.el (get-lru-window, get-mru-window)
8465 (get-largest-window): Never return a minibuffer window.
8466 (display-buffer-pop-up-window): Fix a bug that could lead to
8467 reusing the minibuffer window.
8468 (display-buffer): Pass original specifier argument to
8469 display-buffer-function instead of the normalized one.
8470 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8471
4e323265
LL
84722011-06-22 Leo Liu <sdl.web@gmail.com>
8473
8474 * minibuffer.el (completing-read-function)
8475 (completing-read-default): Move from minibuf.c
8476
7a70468f
RS
84772011-06-22 Richard Stallman <rms@gnu.org>
8478
50718fc2
RS
8479 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8480 to Rmail even if not started by a special Rmail command.
8481
7a70468f
RS
8482 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8483 Copy the buffer currently showing just one message.
8484
297dde5a
RW
84852011-06-22 Roland Winkler <winkler@gnu.org>
8486
8487 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8488 (bibtex-clean-entry): First delete the old key so that a
8489 customized algorithm for generating the new key does not get
8490 confused by the old key.
8491 (bibtex-url): Obey regexp of first step.
8492 (bibtex-search-entries): Do not use add-to-list with local
8493 list-var.
8494
97bb1093
LMI
84952011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8496
8497 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8498 stored a user name, then query for the password first, instead of
8499 waiting for SMTP to give an error message and the trying again.
8500
1c0f1a19
JD
85012011-06-22 Lawrence Mitchell <wence@gmx.li>
8502
8503 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8504 BUFFER in call-process.
8505
396f7c9d
LMI
85062011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8507
8508 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8509 QUIT twice.
ddb7ffee
LMI
8510 (smtpmail-try-auth-methods): Require user name and password from
8511 auth-source.
396f7c9d 8512
8998d1b3
MR
85132011-06-22 Martin Rudalics <rudalics@gmx.at>
8514
8515 * window.el (display-buffer-default-specifiers)
8516 (display-buffer-alist): Remove entries for pop-up-frame-alist.
8517 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 8518 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
8519
8520 * frame.el (pop-up-frame-alist, pop-up-frame-function)
8521 (special-display-frame-alist, special-display-popup-frame):
8522 Remove duplicate declarations. These are now in window.el.
8523
4ea31e07
LMI
85242011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8525
c9d29fb8
SM
8526 * mail/smtpmail.el (smtpmail-via-smtp):
8527 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
8528 server supports it. SMTP servers that support STARTTLS commonly
8529 require it.
8530
8531 * net/network-stream.el (network-stream-open-starttls): Support
8532 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 8533 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 8534
95f41d9a
LMI
8535 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8536 upgrades with `open-network-stream', and rely solely on
8537 auth-source for all credentials. Big changes throughout the file,
8538 but in particular:
c9d29fb8
SM
8539 (smtpmail-auth-credentials): Remove.
8540 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
8541 (smtpmail-via-smtp): Check for servers saying they want AUTH after
8542 MAIL FROM, too.
95f41d9a 8543
c9d29fb8
SM
8544 * net/network-stream.el (network-stream-open-starttls):
8545 Provide support for client certificates both for external and built-in
4ea31e07
LMI
8546 STARTTLS.
8547 (auth-source): Require.
8548 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
8549 (network-stream-certificate): Change cert-cert to cert and
8550 cert-key to key.
4ea31e07 8551
065ec2c7
MA
85522011-06-21 Michael Albinus <michael.albinus@gmx.de>
8553
8554 * net/tramp-cache.el (top): Don't load the persistency file when
8555 "emacs -Q" has been called.
8556
cd93b359
DR
85572011-06-21 Tim Harper <timcharper@gmail.com>
8558
d8e4b68b
JB
8559 * term/ns-win.el (ns-initialize-window-system):
8560 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
8561 resource to NO as it is not yet supported by the NS port.
8562
ae9c0411
JB
85632011-06-21 Juanma Barranquero <lekktu@gmail.com>
8564
8565 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8566 (list-dynamic-libraries): ...not here.
8567
7f3f739f
LL
85682011-06-21 Leo Liu <sdl.web@gmail.com>
8569
8570 * subr.el (sha1): Implement sha1 using secure-hash.
8571
327c8fb1
MR
85722011-06-21 Martin Rudalics <rudalics@gmx.at>
8573
8574 * window.el (display-buffer-alist): In default value do not
8575 enforce searching a window on any but the selected frame.
8576 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8577 (display-buffer-select-window): Remove function.
8578 (display-buffer-in-window): When a window on another frame gets
8579 reused, do not select it any more but just raise its frame if
8580 necessary (Bug#8851) and (Bug#8856).
8581 (display-buffer-normalize-options): Handle pop-up-frames related
8582 options more faithfully.
8583 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8584 window if it is on another frame.
c9d29fb8
SM
8585 (display-buffer-alist, display-buffer-default-specifiers):
8586 Don't make new frame unsplittable by default.
9e9de014
MR
8587 (display-buffer-normalize-argument): Fix doc-string typo and use
8588 'same-frame-other-window instead of 'other-window when associating
8589 with display-buffer-macro-specifiers.
327c8fb1 8590
7cf3f556
VB
85912011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8592
8593 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8594 New functions.
8595 (5x5-mode-map, 5x5-mode-menu): Bind them.
8596 (5x5-draw-grid): Tweak the solver's rendering.
8597
60a406cf
SM
85982011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8599
8600 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8601 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8602
d8e4b68b 86032011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
8604
8605 * menu-bar.el: Use function variable instead of switch-to-buffer.
8606 (menu-bar-select-buffer-function): New variable.
60a406cf 8607 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 8608
478d6f95
SM
86092011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8610
8611 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8612 variable's status.
8613
ca530739
JD
86142011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8615
8616 * x-dnd.el (x-dnd-version-from-flags)
8617 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8618 and long as number (Bug#8899).
8619 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8620
bcd70d97
SM
86212011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8622
60a406cf 8623 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
8624 (completion-try-completion, completion-all-completions): Compute the
8625 metadata argument if it's missing; make it optional (bug#8795).
8626
60a406cf 8627 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
8628 (widget-complete): Use new :completion-function property.
8629 (widget-completions-at-point): New function.
8630 (default): Use :completion-function instead of :complete.
60a406cf
SM
8631 (widget-default-completions): Rename from widget-default-complete;
8632 Rewrite.
bcd70d97
SM
8633 (widget-string-complete, widget-file-complete, widget-color-complete):
8634 Remove functions.
8635 (file, symbol, function, variable, coding-system, color):
8636 * international/mule-cmds.el (default-input-method, charset)
8637 (language-info-custom-alist):
8638 * cus-edit.el (face): Use new property :completions.
8639
8640 * progmodes/pascal.el (pascal-completions-at-point): New function.
8641 (pascal-mode): Use it.
8642 (pascal-mode-map): Use completion-at-point.
8643 (pascal-toggle-completions): Make obsolete.
8644 (pascal-complete-word, pascal-show-completions):
8645 * progmodes/octave-mod.el (octave-complete-symbol):
8646 Redefine as obsolete alias.
8647 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8648 Signal absence of completion info for old Octave,
8649 (inferior-octave-complete): Redefine as obsolete alias.
8650 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8651 (meta-completions-at-point): Rename from meta-complete-symbol and
8652 adapt it for use on completion-at-point-functions.
8653 (meta-common-mode): Use it.
8654 (meta-looking-at-backward, meta-match-buffer): Remove.
8655 (meta-complete-symbol): Redefine as obsolete alias.
8656 (meta-common-mode-map): Use completion-at-point.
8657 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8658 (makefile-mode-map): Use completion-at-point.
8659 (makefile-completions-at-point): Rename from makefile-complete and
8660 adapt it for use on completion-at-point-functions.
8661 (makefile-mode): Use it.
8662 (makefile-complete): Redefine as obsolete alias.
8663
aebf69c8
DD
86642011-06-20 Deniz Dogan <deniz@dogan.se>
8665
8666 * net/rcirc.el: Delete trailing whitespaces once and for all.
8667
bfbbb27d
DC
86682011-06-20 Daniel Colascione <dan.colascione@gmail.com>
8669
8670 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8671
d264a46b
CY
86722011-06-19 Chong Yidong <cyd@stupidchicken.com>
8673
4ca009e5
CY
8674 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8675
d264a46b
CY
8676 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8677
fbf5b3ce
MR
86782011-06-19 Martin Rudalics <rudalics@gmx.at>
8679
8680 * window.el (display-buffer-other-window-means-other-frame):
8681 Call display-buffer-normalize-alist.
8682 (display-buffer-normalize-specifiers-1): Rename to
8683 display-buffer-normalize-argument. New argument other-frame.
8684 Rewrite.
8685 (display-buffer-normalize-specifiers-2): Rename to
8686 display-buffer-normalize-options.
8687 (display-buffer-normalize-alist-1): New function.
8688 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
8689 display-buffer-normalize-alist.
8690 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
8691 (display-buffer-normalize-options-inhibit): New variable.
8692 (display-buffer-normalize-specifiers): Rewrite calling
8693 display-buffer-normalize-alist,
8694 display-buffer-normalize-argument, and
8695 display-buffer-normalize-options. Don't call the latter if
8696 display-buffer-normalize-options-inhibit is non-nil.
8697 (frame-auto-delete): New option.
8698 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
8699 (window-list-no-nils, window-state-ignored-parameters)
8700 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
8701 (window-state-put-1, window-state-put-2, window-state-put):
8702 New functions.
9a028c23
MR
8703 (display-buffer-normalize-options): Move special-display-p group
8704 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 8705
6d10d800
CY
87062011-06-18 Chong Yidong <cyd@stupidchicken.com>
8707
6420d28b
CY
8708 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8709 groups (Bug#8776).
8710 (rx-submatch-n): New function.
8711 (rx): Document it.
8712
ddb8b596
CY
8713 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8714 (Bug#8768).
8715
8716 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8717
77080289
CY
8718 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8719
61dfb316
CY
8720 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8721 anytime existing face settings are present (Bug#8889).
8722
6d10d800
CY
8723 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8724 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8725 Remove unused argument.
8726
be3fb2b8
MR
87272011-06-18 Martin Rudalics <rudalics@gmx.at>
8728
bcd70d97
SM
8729 * window.el (display-buffer-default-specifiers):
8730 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
8731 pop-up-window-min-width, and another reuse-window specifier
8732 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
8733 (display-buffer-normalize-specifiers-2):
8734 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
8735 pop-up-windows is unset. Add a reuse-window specifier for the
8736 case popping up a new window fails.
8737 (special-display-popup-frame): Remove double quoting.
28dec25a 8738 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 8739
1c6d8c76
SM
87402011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8741
8742 * shell.el (shell-completion-vars): Set pcomplete-termination-string
8743 according to comint-completion-addsuffix.
8744
8745 * pcomplete.el: Convert to lexical binding and fix bug#8819.
8746 (pcomplete-suffix-list): Mark as obsolete.
8747 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8748 pcomplete-seen in the closure.
8749 (pcomplete-comint-setup): Setup completion-at-point as well.
8750 (pcomplete--entries): New function.
8751 (pcomplete--env-regexp): New var.
8752 (pcomplete-entries): Rewrite to work with partial-completion and
8753 without relying on pcomplete-suffix-list.
8754 (pcomplete-pare-list): Remove, unused.
8755
25aef8b8
MR
87562011-06-17 Martin Rudalics <rudalics@gmx.at>
8757
8758 * window.el (display-buffer-alist): Set pop-up-window-min-height
8759 and pop-up-window-min-width in default value. Reported by
8760 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
8761 other-window-means-other-frame.
8762 (display-buffer-macro-specifiers): Comment out entry for
8763 other-window specifier.
8764 (display-buffer-other-window-means-other-frame): New function.
8765 (display-buffer-normalize-specifiers-1): New arguments
8766 buffer-name and label. Treat other-window case specially.
8767 (display-buffer-normalize-specifiers-2): Treat other-window case
8768 specially.
8769 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
8770 (display-buffer-normalize-specifiers):
8771 Call display-buffer-normalize-specifiers-3.
25aef8b8 8772
dbad4f69
MR
87732011-06-17 Martin Rudalics <rudalics@gmx.at>
8774
8775 * window.el (same-window-p): Fix two typos introduced when
8776 adding with-no-warnings.
d1067961
MR
8777 (display-buffer-normalize-specifiers-1): Don't check
8778 pop-up-frames for 'unset initialization.
8779 (display-buffer-normalize-specifiers-2): Major rewrite using
8780 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8781 (pop-up-frames, display-buffer-reuse-frames)
8782 (display-buffer-mark-dedicated): Don't initialize to 'unset.
8783 Suggested by David Engster <deng@randomsample.de>.
8784 (even-window-heights): Initialize to 'unset.
8785 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
8786 (display-buffer-macro-specifiers): Don't pop up a new frame in the
8787 other window case.
dbad4f69 8788
9b9c9e3a
MR
87892011-06-16 Martin Rudalics <rudalics@gmx.at>
8790
bcd70d97
SM
8791 * window.el (display-buffer-normalize-specifiers-1):
8792 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 8793 second argument of display-buffer (Bug#8865).
981d5c09
MR
8794 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8795 (switch-to-buffer-other-window-same-frame)
8796 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
8797 Adams (Bug#8875).
9c2755e9
MR
8798 (display-buffer): Don't check noninteractive when calling
8799 display-buffer-pop-up-frame.
8800 (display-buffer-pop-up-frame): Never pop up a frame in
8801 noninteractive mode (Bug#8857).
67222e1d
MR
8802 (enlarge-window, shrink-window): Don't report an error when the
8803 window can't be resized as requested (Bug#8862).
9b9c9e3a 8804
2b75be67
SM
88052011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8806
9ffdd3ba
SM
8807 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8808
cb581a67
SM
8809 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8810
2b75be67
SM
8811 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8812
8c0e3589
AM
88132011-06-15 Alan Mackenzie <acm@muc.de>
8814
cb581a67
SM
8815 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8816 for declarators, disable knr checking to speed up for normal files.
8817 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 8818
b96e6cde
LMI
88192011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8820
4bba86e6
LMI
8821 * net/network-stream.el (open-network-stream): Add the keyword
8822 :always-query-capabilities for the case where you want to force a
8823 `plain' network connection, but the protocol still requires the
8824 capabilitiy command (i.e., SMTP and EHLO).
8825
2b75be67 8826 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
8827 consistency with other `-live-p' functions.
8828
efdcdbf8
SM
88292011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8830
8831 * window.el (same-window-buffer-names, same-window-regexps)
8832 (special-display-frame-alist, special-display-popup-frame)
8833 (special-display-function, special-display-buffer-names)
8834 (special-display-regexps, pop-up-frame-alist)
8835 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8836 (pop-up-windows, split-window-preferred-function)
8837 (split-height-threshold, split-width-threshold, even-window-heights)
8838 (display-buffer-mark-dedicated): Don't encourage the use of
8839 display-buffer-alist from Elisp code.
8840
c5cde042
DN
88412011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
8842
8843 * progmodes/python.el (python-mode): Derive from prog-mode.
8844 * progmodes/ps-mode.el (ps-mode):
8845 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 8846 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
8847 * progmodes/ld-script.el (ld-script-mode): Likewise.
8848
baa1c9ab
MR
88492011-06-15 Martin Rudalics <rudalics@gmx.at>
8850
8851 * window.el (display-buffer-alist): Trim default value to avoid
8852 popping up a new frame (Bug#8857) or reusing an arbitrary window
8853 on another frame.
8854 (display-buffer): Do not fall back on popping up a new frame in
8855 batch mode (Bug#8857).
8856
c5dd5a51
CY
88572011-06-14 Chong Yidong <cyd@stupidchicken.com>
8858
8859 * cus-theme.el (describe-theme-1): Use custom-theme-p.
8860 (custom-theme-summary): New function.
8861 (customize-themes): Use it.
8862
d647b7c4
GM
88632011-06-13 Glenn Morris <rgm@gnu.org>
8864
8865 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8866
9481c002
MR
88672011-06-13 Martin Rudalics <rudalics@gmx.at>
8868
357f93d2
MR
8869 * help.el (help-window): Remove variable.
8870 (help-window-point-marker, temp-buffer-max-height)
8871 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8872 (help-print-return-message): Don't set help-window.
8873 (resize-temp-buffer-window): Rewrite cod eand doc-string.
8874 (help-window-setup-finish): Remove.
8875 (help-window-display-message, help-window-setup)
8876 (with-help-window): Major rewrite based on new
8877 display-buffer-window variable.
8878
8879 * help-mode.el (help-mode-finish): Remove help-window related
8880 code.
8881
8882 * view.el (view-exits-all-viewing-windows): Remove reference to
8883 view-return-to-alist in doc-string.
8884 (view-return-to-alist): Make obsolete.
8885 (view-buffer): Call pop-to-buffer-same-window and remove
8886 undo-window code.
8887 (view-buffer-other-window): Call pop-to-buffer-other-window and
8888 simplify code. Ignore second argument.
8889 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8890 simplify code. Ignore second argument.
8891 (view-return-to-alist-update): Make obsolete.
8892 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8893 Rewrite using quit-restore window parameters.
2b75be67
SM
8894 (view-mode-exit): Rename second argument to EXIT-ONLY.
8895 Rewrite using quit-restore-window.
357f93d2
MR
8896 (View-exit, View-exit-and-edit, View-leave, View-quit)
8897 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8898 appropriate arguments.
8899 (view-end-message): Use quit-restore window parameter.
8900
9481c002
MR
8901 * window.el (display-buffer-function): Rewrite doc-string.
8902 (display-buffer-window, display-buffer-alist): New variables.
8903 (display-buffer-split-specifiers)
8904 (display-buffer-side-specifiers)
8905 (display-buffer-macro-specifiers): New constants.
8906 (display-buffer-even-window-sizes, display-buffer-set-height)
8907 (display-buffer-set-width, display-buffer-select-window)
8908 (display-buffer-in-window, display-buffer-reuse-window)
8909 (display-buffer-split-window-1, display-buffer-split-window)
8910 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8911 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8912 (display-buffer-in-side-window, normalize-buffer-to-display)
8913 (display-buffer-normalize-specifiers-1)
8914 (display-buffer-normalize-specifiers-2)
2b75be67
SM
8915 (display-buffer-normalize-specifiers, display-buffer-frame):
8916 New functions.
9481c002
MR
8917 (display-buffer): Major rewrite.
8918 (display-buffer-other-window, display-buffer-other-frame)
8919 (pop-to-buffer, switch-to-buffer-other-window)
8920 (switch-to-buffer-other-frame): Rewrite.
8921 (display-buffer-same-window, display-buffer-same-frame)
8922 (display-buffer-same-frame-other-window)
8923 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8924 (pop-to-buffer-other-window)
8925 (pop-to-buffer-same-frame-other-window)
8926 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8927 (switch-to-buffer-other-window-same-frame): New functions.
8928 (same-window-p, special-display-p): Rewrite disabling warnings.
8929 Make obsolete.
8930 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8931 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8932 Make obsolete
8933 (same-window-buffer-names, same-window-regexps)
8934 (special-display-frame-alist, special-display-popup-frame)
8935 (special-display-function, special-display-buffer-names)
8936 (special-display-regexps, pop-up-frame-alist)
8937 (pop-up-frame-function, split-window-preferred-function)
8938 (split-height-threshold, split-width-threshold)
8939 (even-window-heights): Make obsolete.
8940
9db51aca
GM
89412011-06-12 Glenn Morris <rgm@gnu.org>
8942
8943 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 8944 Misc simplifications.
9db51aca 8945
39cffb44
MR
89462011-06-12 Martin Rudalics <rudalics@gmx.at>
8947
8948 * window.el (window-safely-shrinkable-p): Restore function which
8949 was inadvertently removed in change from 2011-06-11. Declare as
8950 obsolete.
8951
2b75be67
SM
8952 * calendar/calendar.el (calendar-generate-window):
8953 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
8954 window-safely-shrinkable-p.
8955
a8955be7
GM
89562011-06-12 Glenn Morris <rgm@gnu.org>
8957
8958 * progmodes/fortran.el (fortran-mode-syntax-table):
8959 * progmodes/f90.el (f90-mode-syntax-table):
8960 Set % to punctuation. (Bug#8820)
8961 (f90-find-tag-default): Remove, no longer needed.
8962
f0d4059d
DC
89632011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8964
8965 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8966
1100a63c
CY
89672011-06-11 Chong Yidong <cyd@stupidchicken.com>
8968
8969 * image.el (image-animated-p): Return animation delay in seconds.
8970 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8971 (image-animate-timeout): Remove DELAY argument. Don't assume
8972 every subimage has the same delay; get it from image-animated-p.
8973 (image-animate): Caller changed.
8974
def722bf
MA
89752011-06-11 Michael Albinus <michael.albinus@gmx.de>
8976
8977 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8978 to ignored backtrace functions.
8979
0a2bb1a9
GM
89802011-06-11 Glenn Morris <rgm@gnu.org>
8981
8982 * calendar/appt.el (appt-disp-window-function): Doc fix.
8983 (appt-check): Handle overlapping appointments. (Bug#8337)
8984
6198ccd0
MR
89852011-06-11 Martin Rudalics <rudalics@gmx.at>
8986
8987 * window.el (window-tree-1, window-tree): New functions, moving
8988 the latter to window.el.
8989 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8990 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8991 (bw-refresh-edges): Remove.
8992 (balance-windows-1, balance-windows-2): New functions.
8993 (balance-windows): Rewrite in terms of window tree functions,
8994 balance-windows-1 and balance-windows-2.
8995 (bw-adjust-window): Remove.
8996 (balance-windows-area-adjust): New function with functionality of
8997 bw-adjust-window but using resize-window.
2b75be67
SM
8998 (set-window-text-height): Rewrite doc-string.
8999 Use normalize-live-window and resize-window.
9000 (enlarge-window-horizontally, shrink-window-horizontally):
9001 Rename argument to DELTA.
6198ccd0
MR
9002 (window-buffer-height): New function.
9003 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9004 Rewrite using new window resize routines.
2b75be67
SM
9005 (kill-buffer-and-window, mouse-autoselect-window-select):
9006 Use ignore-errors instead of condition-case.
6198ccd0
MR
9007 (quit-window): Call delete-frame instead of delete-windows-on
9008 for the only buffer on frame.
9009
9397e56f
MR
90102011-06-10 Martin Rudalics <rudalics@gmx.at>
9011
9012 * loadup.el (top-level): Load window before files for the sake
9013 of replace-buffer-in-windows.
9014
9015 * files.el (read-buffer-to-switch)
9016 (switch-to-buffer-other-window)
2b75be67
SM
9017 (switch-to-buffer-other-frame, display-buffer-other-frame):
9018 Move to window.el.
9397e56f
MR
9019
9020 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9021 (previous-buffer): Move to window.el.
9022
9023 * bindings.el (unbury-buffer): Move to window.el.
9024
9025 * window.el (delete-other-windows-vertically): Move after
9026 definition of delete-other-windows.
9027 (other-window, delete-windows-on, replace-buffer-in-windows):
9028 Move here from window.c.
9029 (record-window-buffer, unrecord-window-buffer)
9030 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9031 (switch-to-next-buffer): New functions.
9032 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9033 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
9034 (previous-buffer): Move here from simple.el.
9035 Call switch-to-prev-buffer.
9397e56f
MR
9036 (bury-buffer): Move here from buffer.c. Switch to previous
9037 buffer when window cannot be deleted.
9038 (unbury-buffer): Move here from bindings.el.
9039 (ctl-x-map): Move binding for other-window from window.c to
9040 here.
9041 (read-buffer-to-switch, switch-to-buffer-other-window)
9042 (switch-to-buffer-other-frame): Move here from files.el.
9043 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
9044 (switch-to-buffer): Move here from buffer.c.
9045 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 9046
562dd5e9
MR
90472011-06-10 Martin Rudalics <rudalics@gmx.at>
9048
9049 * window.el (window-min-height, window-min-width): Move here
9050 from window.c. Add defcustoms and rewrite doc-strings.
9051 (resize-mini-window, resize-window): New functions.
9052 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9053 Move here from window.c.
9054 (maximize-window, minimize-window): New functions.
9055 (delete-window, delete-other-windows, split-window): Move here
9056 from window.c.
9057 (window-split-min-size): New function.
9058 (split-window-keep-point): Mention split-window-above-each-other
9059 instead of split-window-vertically.
2b75be67 9060 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
9061 Rename split-window-vertically to split-window-above-each-other
9062 and provide defalias for old definition.
9063 (split-window-side-by-side, split-window-horizontally):
9064 Rename split-window-horizontally to split-window-side-by-side
9065 and provide defalias for the old definition.
562dd5e9
MR
9066 (ctl-x-map): Move bindings for delete-window,
9067 delete-other-windows and enlarge-window here from window.c.
9068 Replace bindings for split-window-vertically and
9069 split-window-horizontally by bindings for
9070 split-window-above-each-other and split-window-side-by-side.
9071
9072 * cus-start.el (all): Remove entries for window-min-height and
9073 window-min-width. Add entries for window-splits and
9074 window-nest.
9075
f0da764a
GM
90762011-06-09 Glenn Morris <rgm@gnu.org>
9077
80675c21
GM
9078 * calendar/appt.el (appt-mode-line): New function.
9079 (appt-check, appt-disp-window): Use it.
9080
f0da764a
GM
9081 * files.el (hack-one-local-variable-eval-safep):
9082 Allow minor-modes with explicit +/-1 arguments.
9083
59f623b7
TZ
90842011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9085
9086 * term/xterm.el (xterm): Add defgroup.
9087 (xterm-extra-capabilities): Add defcustom to supply known xterm
9088 capabilities, skip querying them, or query them (default).
9089 (terminal-init-xterm): Use it.
9090 (terminal-init-xterm-modify-other-keys): New function to set up
9091 modifyOtherKeys support to simplify `terminal-init-xterm'.
9092
9aab8e0d
MR
90932011-06-09 Martin Rudalics <rudalics@gmx.at>
9094
9095 * window.el (resize-window-reset, resize-window-reset-1)
9096 (resize-subwindows-skip-p, resize-subwindows-normal)
9097 (resize-subwindows, resize-other-windows, resize-this-window)
9098 (resize-root-window, resize-root-window-vertically)
9099 (window-deletable-p, window-or-subwindow-p)
9100 (frame-root-window-p): New functions.
9101
e8b08aee
GM
91022011-06-09 Glenn Morris <rgm@gnu.org>
9103
9104 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9105 (ange-ftp-get-files): Use it.
9106
254c37a5
AK
91072011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9108
9109 * mail/sendmail.el (mail-recover-1, mail-recover):
9110 * files.el (recover-file, recover-session):
9111 Handle dired-listing-switches not being just a single short option.
9112
35d7dbd3
GM
91132011-06-09 Glenn Morris <rgm@gnu.org>
9114
9115 * calendar/appt.el (appt-display-message, appt-disp-window):
9116 Handle lists of appointments.
9117
387522b2
MR
91182011-06-08 Martin Rudalics <rudalics@gmx.at>
9119
2b75be67
SM
9120 * window.el (one-window-p): Move down in code.
9121 Rewrite doc-string.
9122 (window-current-scroll-bars): Rewrite doc-string.
9123 Normalize live window argument.
387522b2
MR
9124 (walk-windows, get-window-with-predicate, count-windows):
9125 Rewrite doc-string. Use window-list-1.
9126 (window-in-direction-2, window-in-direction, get-mru-window):
9127 New functions.
9128
d8e4b68b 91292011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
9130
9131 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9132 Doc fix (Bug#8713).
9133
91342011-06-08 Chong Yidong <cyd@stupidchicken.com>
9135
9136 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9137
91382011-06-08 Juanma Barranquero <lekktu@gmail.com>
9139
9140 * loadhist.el (unload-feature-special-hooks):
9141 Add `comint-output-filter-functions'.
9142
0de12c52
IK
91432011-06-08 Ivan Kanis <gnu@kanis.fr>
9144
9145 * calendar/appt.el (appt-check): Move some initializations into the let.
9146
f3d1777e
MR
91472011-06-08 Martin Rudalics <rudalics@gmx.at>
9148
9149 * window.el (window-height): Defalias to window-total-height.
9150 (window-width): Defalias to window-body-width.
9151
18af70d0
CY
91522011-06-07 Chong Yidong <cyd@stupidchicken.com>
9153
9154 * image-mode.el (image-toggle-animation): New command.
9155 (image-mode-map): Bind it to RET.
9156 (image-mode): Update message.
9157 (image-toggle-display-image): Avoid a spurious cache flush.
9158 (image-transform-rotation): Doc fix.
9159 (image-transform-properties): Return quickly in the normal case.
9160 (image-animate-loop): Rename from image-animate-max-time.
9161
2b75be67 9162 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
9163 (create-animated-image): Remove unnecessary function.
9164 (image-animate): Rename from image-animate-start. New arg.
2b75be67 9165 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
9166 (image-animate-timer): Use car-safe.
9167 (image-animate-timeout): Rename argument.
9168
190b47e6
MR
91692011-06-07 Martin Rudalics <rudalics@gmx.at>
9170
9171 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
9172 window.c. Rename first argument to ALL-FRAMES.
9173 Rephrase doc-strings.
9174 (get-buffer-window-list): Rewrite using window-list-1.
9175 Rephrase doc-string.
a1511caf
MR
9176 (window-safe-min-height, window-safe-min-width): New constants.
9177 (window-size-ignore, window-min-size, window-min-size-1)
9178 (window-sizable, window-sizable-p, window-size-fixed-1)
9179 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9180 (window-max-delta-1, window-max-delta, window-resizable)
9181 (window-resizable-p, window-total-height, window-total-width)
9182 (window-body-width): New functions.
9183 (window-full-height-p, window-full-width-p): Rewrite using
9184 window-total-size.
9185 (window-body-height): Rewrite using window-body-size.
190b47e6 9186
85cc1f11
MR
91872011-06-06 Martin Rudalics <rudalics@gmx.at>
9188
9189 * window.el (window-right, window-left, window-child)
9190 (window-child-count, window-last-child, window-any-p)
9191 (normalize-live-buffer, normalize-live-frame)
9192 (normalize-any-window, normalize-live-window)
9193 (window-iso-combination-p, window-iso-combined-p)
9194 (window-iso-combinations)
9195 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9196 (windows-with-parameter, window-with-parameter)
9197 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
9198 (window-atom-check, window-side-check, window-check):
9199 New functions.
85cc1f11
MR
9200 (ignore-window-parameters, window-sides, window-sides-vertical)
9201 (window-sides-slots): New variables.
9202 (window-size-fixed): Move down in code. Minor doc-string fix.
9203
e7156492
AS
92042011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9205
9206 * comint.el (comint-dynamic-complete-as-filename)
9207 (comint-dynamic-complete-filename): Correctly call
9208 completion-in-region.
9209
7e821d0d
DD
92102011-06-05 Deniz Dogan <deniz@dogan.se>
9211
9212 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9213 in last change.
9214
ac09b8a1
DD
92152011-06-05 Deniz Dogan <deniz@dogan.se>
9216
9217 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9218 (rcirc): Use it to prompt for encryption.
9219
34699b85
RW
92202011-06-05 Roland Winkler <winkler@gnu.org>
9221
9222 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9223 (bibtex-search-entries): New command bound to C-c C-a.
9224 (bibtex-display-entries): New function.
9225
004dedd3
RW
92262011-06-05 Roland Winkler <winkler@gnu.org>
9227
9228 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9229 (bibtex-insert-kill): After yanking insert newline if necessary.
9230 (bibtex-initialize): Call bibtex-string-files-init only once.
9231 (bibtex-mode): Do not call easy-menu-add.
9232 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9233 (bibtex-yank): Set arg properly if nil.
9234
022fe7ce
RW
92352011-06-05 Roland Winkler <winkler@gnu.org>
9236
2b75be67
SM
9237 * textmodes/bibtex.el (bibtex-search-entry-globally):
9238 New variable.
022fe7ce
RW
9239 (bibtex-search-entry): Use it.
9240
b7c3692a
RW
92412011-06-05 Roland Winkler <winkler@gnu.org>
9242
9243 * textmodes/bibtex.el (bibtex-entry-format): New option
9244 sort-fields.
9245 (bibtex-format-entry, bibtex-reformat): Honor this option.
9246 (bibtex-parse-entry): Return fields in proper order.
9247
8eda563d
JB
92482011-06-05 Juanma Barranquero <lekktu@gmail.com>
9249
9250 * doc-view.el (doc-view-remove-if): Move computation of result out
9251 of `dolist' to silence misleading lexical-binding warning.
9252
7dbe3dbc
CY
92532011-06-04 Chong Yidong <cyd@stupidchicken.com>
9254
9255 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9256 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9257
0c33dd17
MA
92582011-06-04 Michael Albinus <michael.albinus@gmx.de>
9259
9260 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9261 "SunOS 5.10".
9262
f8f91c2b
MA
92632011-06-04 Michael Albinus <michael.albinus@gmx.de>
9264
9265 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9266 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9267 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9268 (tramp-parse-putty):
9269 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9270 (tramp-completion-function-alist-ssh)
9271 (tramp-completion-function-alist-telnet)
9272 (tramp-completion-function-alist-su)
9273 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9274 cookie.
9275
9276 * net/tramp-ftp.el:
9277 * net/tramp-sh.el:
9278 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9279 load "tramp.el" `tramp-set-completion-function'.
9280
e17d9003
SM
92812011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9282
9283 * shell.el: Require and use pcomplete.
9284 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9285 (shell-completion-vars): Set pcomplete-default-completion-function.
9286
6c4cab03
DD
92872011-06-04 Deniz Dogan <deniz@dogan.se>
9288
9289 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9290 `memq' (Bug#8799).
9291
ea9fafe0
SM
92922011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9293
9294 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9295
b3e945d3
JB
92962011-06-02 Juanma Barranquero <lekktu@gmail.com>
9297
9298 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9299 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9300 * vc/log-view.el (log-view-beginning-of-defun):
9301 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9302 (smerge-refine-forward, smerge-refine-chopup-region):
9303 Silence warning for unused `dotimes' counter variables.
9304
7d520089
SM
93052011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9306
9307 * net/tramp.el (tramp-with-progress-reporter): Rename from
9308 with-progress-reporter. Use `declare'.
9309 * net/tramp-smb.el:
9310 * net/tramp-sh.el:
9311 * net/tramp-gvfs.el: Update all uses.
9312
a1c2400f
JB
93132011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9314
9315 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9316 buffer isn't killed before making it current.
9317
2403c841
SM
93182011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9319
9320 Silence various byte-compiler warnings.
9321 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9322 `access-type' and new obsolescence format.
9323 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9324 new format.
9325 (byte-compile-check-variable): New `access-type' argument.
9326 Only warn if the access-type is obsolete.
9327 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9328 (byte-compile-variable-set): Adjust callers.
9329 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9330 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9331 setting it as obsolete.
9332 * simple.el (minibuffer-completing-symbol):
9333 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9334 access as obsolete.
9335 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9336 obsolete yet.
9337 * international/quail.el (quail-mouse-choose-completion): Remove unused
9338 code referring to obsolete var.
9339 (quail-choose-completion-string): Remove.
9340 * server.el (server-clients-with, server-kill-buffer-query-function)
9341 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9342 * proced.el (proced-send-signal):
9343 * emacs-lisp/lisp.el (lisp-complete-symbol):
9344 Replace completion-annotate-function with completion-extra-properties.
9345
2462470b
SM
93462011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9347
fb5b2591
SM
9348 * simple.el (goto-line): Use read-number.
9349 (overriding-map-is-bound): Remove.
9350 (saved-overriding-map): Change default.
9351 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9352 Take the map as argument.
9353 (universal-argument, negative-argument, digit-argument): Use it.
9354 (restore-overriding-map): Adjust.
9355 (do-auto-fill): Use fill-forward-paragraph.
9356 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9357
fd6fa53f
SM
9358 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9359 (minibuffer-inactive-mode): New major mode.
9360 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9361 the *Messages* buffer" hack.
9362 (mouse-popup-menubar): Don't burp if the event is a normal key.
9363
2462470b
SM
9364 Miscellaneous tweaks.
9365 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9366 lexical scoping as in subr.el's dolist and dotimes.
9367 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9368 Silence compiler warning.
9369 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9370 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9371 * international/ccl.el (ccl-compile): Trivial simplification.
9372 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9373 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9374 `printflag' argument.
9375 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9376 Purecopy the whole obsolescence data.
9377
108bf785
LL
93782011-06-01 Leo Liu <sdl.web@gmail.com>
9379
9380 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9381 improve doc-string as suggested by Marco Pessotto
9382 <melmothx@gmail.com>.
9383 (rcirc-print): Fix last change.
9384
30a23501
SM
93852011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9386
9387 * minibuffer.el (complete-with-action): Return nil for the metadata and
9388 boundaries of non-functional tables.
9389 (completion-table-dynamic): Return nil for the metadata.
9390 (completion-table-with-terminator): Add default case, using
9391 complete-with-action.
9392 (completion--metadata): New function.
9393 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9394 to try and avoid pathological performance problems.
9395 (completion--embedded-envvar-table): Return `category' metadata.
9396
bcd54f83
LMI
93972011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9398
9399 * subr.el (process-alive-p): New tiny convenience function.
9400
e227544d
SM
94012011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9402
9403 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9404 content but also its previous major mode.
9405
e8296fdc
HE
94062011-05-31 Helmut Eller <eller.helmut@gmail.com>
9407
4d61f28d 9408 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
9409 *Backtrace* buffer when we exit with C-M-c.
9410
620c53a6
SM
94112011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9412
9413 * minibuffer.el: Add metadata method to completion tables.
9414 (completion-category-overrides): New defcustom.
9415 (completion-metadata, completion--field-metadata)
9416 (completion-metadata-get, completion--styles)
9417 (completion--cycle-threshold): New functions.
9418 (completion-try-completion, completion-all-completions):
9419 Add `metadata' argument to choose completion-styles.
9420 (completion--do-completion): Use metadata to choose cycling.
9421 (completion-all-sorted-completions): Use metadata for sorting.
9422 Remove :completion-cycle-penalty which is not needed any more.
9423 (completion--try-word-completion): Add `metadata' argument.
9424 (minibuffer-completion-help): Check metadata for annotation function
9425 and sorting.
9426 (completion-file-name-table): Return `category' metadata.
9427 (minibuffer-completing-file-name): Make obsolete.
9428 * simple.el (minibuffer-completing-symbol): Make obsolete.
9429 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9430 completion-try-completion.
9431
1257e755
SM
94322011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9433
9434 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9435
3767e706
LL
94362011-05-30 Leo Liu <sdl.web@gmail.com>
9437
9438 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
9439 (rcirc-print): Decode all incoming messages (bug#8744).
9440 (rcirc-decode-coding-system): Allow value nil for automatic coding
9441 system detection.
3767e706 9442
d1a5d56a
GM
94432011-06-01 Glenn Morris <rgm@gnu.org>
9444
9445 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9446
e8cbec34
CY
94472011-05-29 Chong Yidong <cyd@stupidchicken.com>
9448
9449 * image.el (image-animate-max-time): Allow nil and t values.
9450 Default to nil.
9451 (create-animated-image): Doc fix.
9452 (image-animate-start): Remove second arg; just use
9453 image-animate-max-time.
9454 (image-animate-timeout): Doc fix. Args changed.
9455
9456 * image-mode.el (image-toggle-display-image): Ensure that the
9457 image spec passed to the animate timer is the same object as in
58179cce 9458 the buffer's display property (Bug#6981).
e8cbec34
CY
9459 (image-transform-properties): Doc fix.
9460
9461 * image.el (image-animate-max-time): Default to nil.
9462
159daf87
MR
94632011-05-29 Martin Rudalics <rudalics@gmx.at>
9464
9465 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9466 entire buffer list (Bug#8184).
9467
d66c4c7c
CY
94682011-05-29 Chong Yidong <cyd@stupidchicken.com>
9469
9470 * image.el (imagemagick-types-inhibit)
9471 (imagemagick-register-types): Doc fix.
9472
80aec780
DD
94732011-05-29 Deniz Dogan <deniz@dogan.se>
9474
9475 * net/rcirc.el (rcirc): Use the user's stored encryption method by
9476 default.
9477
1dd3c2d9
CY
94782011-05-29 Chong Yidong <cyd@stupidchicken.com>
9479
9480 * select.el: Don't perform clipboard-manager saving in hooks;
9481 leave the hooks empty.
9482
60e56523
LL
94832011-05-28 Leo Liu <sdl.web@gmail.com>
9484
9485 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9486 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
9487 (occur-edit-mode): New major mode (Bug#8463).
9488 (occur-after-change-function): New function.
9489 (occur-engine): Give Occur tags a read-only property.
9490
2b1e1a22
KR
94912011-05-28 Kevin Ryde <user42@zip.com.au>
9492
9493 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9494
5d344e88
CY
94952011-05-28 Chong Yidong <cyd@stupidchicken.com>
9496
8e6ca83d
CY
9497 * bindings.el (help-echo): Make the initial non-indicator dash
9498 empty on graphical terminals (Bug#7295).
9499
5d344e88
CY
9500 * files.el (auto-mode-alist): Move config rule after the
9501 in-stripping one (Bug#8547).
9502
bfbbace7
CY
9503 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9504
fbeba6e2
CY
9505 * startup.el (normal-splash-screen): Remove gratuitous mode-line
9506 setting (Bug#8740).
9507
60ed8c72
AA
95082011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
9509
4ac619f0
AA
9510 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9511 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9512 (Bug#8539).
60ed8c72 9513
23db196e
CY
95142011-05-28 Chong Yidong <cyd@stupidchicken.com>
9515
9516 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9517
5012f24c
DK
95182011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
9519
9520 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9521 (hs-hide-block-at-point, hs-find-block-beginning)
9522 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9523 (Bug#8279).
9524
6a639b16
GM
95252011-05-28 Glenn Morris <rgm@gnu.org>
9526
9527 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9528
d43eaf2c
CY
95292011-05-28 Chong Yidong <cyd@stupidchicken.com>
9530
5199bde1
CY
9531 * help-fns.el (describe-function-1): If the function is a derived
9532 major mode, print the parent mode.
9533
d43eaf2c
CY
9534 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9535 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9536
423428a8
SM
95372011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9538
0ff8e1ba 9539 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 9540 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
9541 * progmodes/etags.el (tags-completion-at-point-function):
9542 * info-look.el (info-lookup-completions-at-point): Mark as
9543 non-exclusive.
9544 (info-complete): Adjust accordingly.
9545
423428a8
SM
9546 * info-look.el: Convert to lexical-binding and completion-at-point.
9547 (info-lookup-completions-at-point): New function.
9548 (info-complete): Use it and completion-in-region.
9549
b74aa22b
DA
95502011-05-28 Drew Adams <drew.adams@oracle.com>
9551
9552 * isearch.el: Let M-e start with point at the first mismatched char.
9553 (isearch-fail-pos): New function.
9554 (isearch-edit-string): Use it.
9555
66e2e71d
DK
95562011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9557
9558 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9559
b1890b0f 95602011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
9561
9562 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9563 traversal functions for avl-trees.
9564 (avl-tree--stack): New struct.
9565 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9566 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
9567 (avl-tree--do-enter): Add optional `updatefun' arg.
9568 Change return value.
eb95d01d 9569 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
9570 (avl-tree--do-delete): Add `test' and `nilflag' args.
9571 Change return value.
eb95d01d
TC
9572 (avl-tree-member): Add optional `nilflag'
9573 (avl-tree-member-p): New function.
9574 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9575 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9576 (avl-tree-stack-empty-p): New functions.
9577
3769ddcf
TC
9578 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9579 avl-tree--del-balance1 and make it work both ways.
9580 (avl-tree--del-balance2): Remove.
9581 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9582 make it work both ways.
9583 (avl-tree--enter-balance2): Remove.
9584 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9585 New macros.
9586 (avl-tree--mapc, avl-tree-map): Add direction argument.
9587
eb95d01d 95882011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
9589
9590 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9591
a9f737ee
CY
95922011-05-27 Chong Yidong <cyd@stupidchicken.com>
9593
9594 * select.el: Support clipboard managers with built-in function
9595 x-clipboard-manager-save, via delete-frame-functions and
9596 kill-emacs-hook.
9597 (xselect-convert-to-targets): Add MULTIPLE target to list.
9598 (xselect-convert-to-save-targets): New function.
9599
c92a1e54
KH
96002011-05-27 Kenichi Handa <handa@m17n.org>
9601
9602 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9603 let-binding rfc2047-encode-encoded-words to nil.
9604
e145f188
GM
96052011-05-27 Glenn Morris <rgm@gnu.org>
9606
5ec8a862
GM
9607 * mail/emacsbug.el: Don't require url-util.
9608
4b29d9fb
GM
9609 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9610
e145f188
GM
9611 * files.el (set-auto-mode):
9612 Also respect mode: entries at the end of the file. (Bug#8586)
9613
7d15102b
GM
96142011-05-26 Glenn Morris <rgm@gnu.org>
9615
98f593b8
GM
9616 * files.el (hack-local-variables-prop-line, hack-local-variables):
9617 Downcase mode names, as seems to be traditional.
27b48e63 9618 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 9619
7d15102b
GM
9620 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9621 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
9622
51d5b4ec
JD
96232011-05-25 Julien Danjou <julien@danjou.info>
9624
9625 * textmodes/rst.el (rst-define-level-faces): Do not define face
9626 symbol if it is already defined.
9627
91513f63
VB
96282011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
9629
9630 * play/5x5.el (5x5-new-game, 5x5-randomize):
9631 Reset 5x5-solver-output to nil when a new grid is cast.
9632 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9633 these debugging traces, as defmacro breaks the compiled code.
9634
4d90d6d0
DK
96352011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9636
9637 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9638
e1b90ef6
LL
96392011-05-24 Leo Liu <sdl.web@gmail.com>
9640
9641 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9642 (vc-bzr-sha1): Adapt.
9643
d8e4b68b 9644 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
9645
9646 * bindings.el: Provide sha1 feature.
9647
db0406bb 96482011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
9649
9650 * mail/sendmail.el: Require `rfc2047'.
9651 (mail-insert-from-field): Do not perform RFC2047 encoding.
9652 (mail-encode-header): New function.
9653 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
9654 buffer to the return value of select-message-coding-system.
9655 Call mail-encode-header.
b8d747b9
KH
9656
9657 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9658
db0406bb 96592011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 9660
4d90d6d0
DK
9661 * mail/supercite.el (sc-default-cite-frame):
9662 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 9663
eb8a5e9b
GM
96642011-05-24 Glenn Morris <rgm@gnu.org>
9665
f8630703
GM
9666 * progmodes/python.el (brm-menu): Declare.
9667
8831bbed
GM
9668 * emulation/viper.el (viper-set-hooks): Declare.
9669
eb8a5e9b
GM
9670 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9671 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9672 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9673 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9674 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9675 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9676
a2a25d24
SM
96772011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9678
9679 Add an :exit-function for completion-at-point.
9680
9681 * minibuffer.el (completion--done): New fun.
9682 (completion--do-completion): Use it. New arg `expect-exact'.
9683 (minibuffer-complete, minibuffer-complete-word): Don't output message,
9684 since completion--do-completion does it for us now.
9685 (minibuffer-force-complete): Use completion--done and
9686 completion--replace. Handle sole-completion case with more care.
9687 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9688 (completion-extra-properties): New var.
9689 (completion-annotate-function): Make obsolete.
9690 (minibuffer-completion-help): Adjust accordingly.
9691 Use completion-list-insert-choice-function.
9692 (completion-at-point, completion-help-at-point):
9693 Bind completion-extra-properties.
9694 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9695 * simple.el (completion-list-insert-choice-function): New var.
9696 (completion-setup-function): Preserve it.
9697 (choose-completion): Pay attention to it, shuffle the code a bit.
9698 (choose-completion-string): New arg `insert-function'.
9699
9700 * textmodes/bibtex.el: Convert to lexical binding.
9701 (bibtex-mode-map): Use completion-at-point.
9702 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9703 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9704 (bibtex-complete): Define as obsolete alias.
9705 (bibtex-complete-internal): Remove.
9706 (bibtex-format-entry): Remove unused sub-group in regexp.
9707 * shell.el (shell--command-completion-data)
9708 (shell-environment-variable-completion):
9709 * pcomplete.el (pcomplete-completions-at-point):
9710 * comint.el (comint--complete-file-name-data): Use :exit-function
9711 instead of completion-table-with-terminator so it also works for
9712 choose-completion.
9713
e44e373d
SM
97142011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9715
4f91a816
SM
9716 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9717
782fc819
SM
9718 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9719 (bug#8710).
9720
e44e373d
SM
9721 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9722
381987c3
KM
97232011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
9724
9725 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9726 customization variable and implement: If non-nil, auto-fill will
9727 be inhibited while on topic's header line.
9728
b776bc70
VB
97292011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
9730
9731 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 9732 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
9733 always have a solution in grid size = 5 cases.
9734 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9735 (5x5-solver-output, 5x5-log-buffer): New vars.
9736 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9737 Make these variables buffer local to achieve 5x5 multi-session-ness.
9738 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9739 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9740 (5x5-solve-suggest): New funs.
9741 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9742 randomize a grid so that we ensure that there is always a solution.
9743 (5x5-make-random-grid): Allow other movement than flipping.
9744
7de88b6e
KR
97452011-05-23 Kevin Ryde <user42@zip.com.au>
9746
9747 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 9748 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
9749 advice and passes PREDICATE.
9750
b1ef1257
SM
97512011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9752
bbca48fe
SM
9753 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9754 byte-compile-lambda if it's actually a lambda.
9755
b1ef1257
SM
9756 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9757 Fix function quoting. Use backquote better.
9758
92a9cc65
YS
97592011-05-22 Yuanle Song <sylecn@gmail.com>
9760
9761 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9762 matching (Bug#8516).
9763
f0fb8059
JA
97642011-01-22 Jari Aalto <jari.aalto@cante.net>
9765
9766 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9767 different face (Bug#8178).
9768
d5b44c93
CY
97692011-05-22 Chong Yidong <cyd@stupidchicken.com>
9770
9771 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9772 defface (Bug#8144).
9773
79106a44
SM
97742011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
9775
9c848d8a
SM
9776 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9777 funcall as well (bug#8712). Warn when performing those conversions.
9778 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9779
79106a44
SM
9780 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9781
88dfa756
GM
97822011-05-22 Glenn Morris <rgm@gnu.org>
9783
9784 * files.el (hack-local-variables-prop-line): Small simplifications.
9785 (hack-local-variables, hack-local-variables-prop-line):
9786 If MODE-ONLY, return the mode, rather than just `t'.
9787
b7cf2c79
SM
97882011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9789
9790 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9791
3f1a8558
GM
97922011-05-21 Glenn Morris <rgm@gnu.org>
9793
7e4ccca3
GM
9794 * files.el (hack-local-variables-prop-line, hack-local-variables):
9795 If only interested in the mode, don't bother doing the other stuff.
9796
637d46ca
GM
9797 * image-mode.el (image-after-revert-hook):
9798 Redraw all frames on which the image is visible. (Bug#8567)
9799
973d955b
GM
9800 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
9801
3f1a8558
GM
9802 * wid-edit.el (widget-checklist-match-inline):
9803 Fix 2011-04-19 change. (Bug#8649)
9804
96479927
SM
98052011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
9806
1dcf791f
SM
9807 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9808 Also allow singlespace after single-letter capitals followed by a dot.
9809
96479927
SM
9810 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9811 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9812
35fd0881
N
98132011-05-20 Nix <nix@esperi.org.uk>
9814
9815 * files.el (basic-save-buffer-2):
9816 Fix handling of break-hardlink-on-save with non-existent files.
9817
82745640
DD
98182011-05-19 Deniz Dogan <deniz@dogan.se>
9819
9820 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 9821 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 9822
4a720484
GM
98232011-05-19 Glenn Morris <rgm@gnu.org>
9824
d1f21341
GM
9825 * progmodes/f90.el (f90-type-def-re):
9826 Handle "type, bind(c)". (Bug#8691)
9827
4a720484
GM
9828 * emacs-lisp/autoload.el (batch-update-autoloads):
9829 Set autoload-excludes by parsing loadup.el rather than Makefiles.
9830
2fb0a219
MA
98312011-05-18 Michael Albinus <michael.albinus@gmx.de>
9832
9833 * net/tramp.el (tramp-process-actions): Set "first-password-request"
9834 property for the correct connection in case of multihops.
9835
e565dd37
GM
98362011-05-18 Glenn Morris <rgm@gnu.org>
9837
c2571358 9838 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
9839 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9840
e565dd37
GM
9841 Rationalize calendar handling of day and month abbrev-arrays.
9842 * calendar/calendar.el (calendar-customized-p): New function.
9843 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9844 (calendar-day-name-array, calendar-month-name-array): Doc fix.
9845 Add :set function.
9846 (calendar-abbrev-length, calendar-day-abbrev-array)
9847 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9848 (calendar-day-abbrev-array, calendar-month-abbrev-array):
9849 Elements may no longer be nil.
9850 (calendar-day-name, calendar-month-name):
9851 Update for changed nature of abbrev arrays.
9852 * calendar/diary-lib.el (diary-name-pattern):
9853 Update for changed nature of abbrev arrays.
9854 (diary-mark-entries-1): Update calendar-make-alist calls.
9855 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9856 * calendar/cal-html.el (cal-html-day-abbrev-array):
9857 Simply inherit from calendar-day-abbrev-array.
9858
1d99a745
SM
98592011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9860
9861 * progmodes/grep.el (grep-mode): Disable default
9862 compilation-directory-matcher setting (bug#8684).
9863
7c1d9aa0
MA
98642011-05-17 Michael Albinus <michael.albinus@gmx.de>
9865
9866 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9867 instead of "head" and "tail". There were problems with SunOS 5.9,
9868 and it performs better.
9869
3952e9d8
GM
98702011-05-17 Glenn Morris <rgm@gnu.org>
9871
2dd12e7f
GM
9872 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9873
e4157b9c
GM
9874 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9875 Replace obsolete function.
9876
8e249bbd
GM
9877 * shell.el (pcomplete-parse-arguments-function): Declare.
9878
3952e9d8
GM
9879 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9880 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9881 (appt-check): Doc fixes.
9882 (appt-disp-window-function, appt-delete-window-function):
9883 Remove needless special case in custom :type.
9884 (appt-display-count): Default to 0, not nil.
9885 (appt-check): Reset appt-display-count to 0, not nil.
9886
c71a0d48 98872011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 9888
c71a0d48
GM
9889 * progmodes/python.el (python-font-lock-keywords):
9890 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 9891
31d55be9
SM
98922011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9893
9894 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9895
3bfacb2f
KR
98962011-05-16 Kevin Ryde <user42@zip.com.au>
9897
9898 * info-look.el (makefile-automake-mode): New setups, looking in
9899 automake manual, then makefile-mode.
9900 (makefile-mode): Remove automake manual, have it just in
9901 makefile-automake-mode since there's various things different or
9902 not relevant to plain make.
9903 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9904 believe a hypothetical automake-mode would go to makefile-mode,
9905 not the other way around.
9906
c8e83751
CY
99072011-05-15 Chong Yidong <cyd@stupidchicken.com>
9908
5e9e35cd
CY
9909 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9910 hunk-end tags (Bug#8672).
9911
c8e83751
CY
9912 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9913 vc-annotate-show-diff-revision-at-line (Bug#8671).
9914
50b23e5a
GM
99152011-05-14 Glenn Morris <rgm@gnu.org>
9916
7210a739
GM
9917 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9918 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
9919 (change-log-font-lock-keywords): Also handle multiple author lines
9920 with leading tabs. (Bug#8644)
7210a739 9921
4691905a
GM
9922 * calendar/appt.el (appt-check): Rename some local variables.
9923 Some simplification/reordering.
9924
50b23e5a
GM
9925 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9926 (feedmail-sendmail-f-doesnt-sell-me-out)
9927 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9928 (feedmail-debug-sit-for, feedmail-queue-express-hook)
9929 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
9930 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9931 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
9932 (feedmail-binmail-gnulinuxish-template):
9933 Rename from feedmail-binmail-linuxish-template.
9934 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9935 Use insert-buffer-substring.
9936
215cda7c
BC
99372011-05-14 Bill Carpenter <bill@carpenter.org>
9938
9939 * mail/feedmail.el (feedmail-patch-level): Increase.
9940 (feedmail-debug): New custom group.
9941 (feedmail-confirm-outgoing-timeout)
9942 (feedmail-sendmail-f-doesnt-sell-me-out)
9943 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9944 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9945 (feedmail-sender-line, feedmail-from-line)
9946 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 9947 (feedmail-spray-this-address)
215cda7c
BC
9948 (feedmail-spray-address-fiddle-plex-list)
9949 (feedmail-queue-use-send-time-for-date)
9950 (feedmail-queue-use-send-time-for-message-id)
9951 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9952 (feedmail-buffer-eating-function):
9953 Doc fixes.
9954 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9955 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9956 (feedmail-message-action-scroll-down): New functions.
9957 (feedmail-queue-directory, feedmail-queue-draft-directory):
9958 Use expand-file-name.
9959 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9960 Remove C-v help entry.
9961 (feedmail-queue-buffer-file-name): New variable.
9962 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9963 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9964 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9965 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9966 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9967 (feedmail-message-action-toggle-spray)
9968 (feedmail-run-the-queue-no-prompts)
9969 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9970 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9971 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9972 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9973 (feedmail-envelope-deducer, feedmail-fiddle-from)
9974 (feedmail-fiddle-sender, feedmail-default-date-generator)
9975 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9976 (feedmail-fiddle-spray-address)
9977 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9978 (feedmail-fiddle-list-of-fiddle-plexes)
9979 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9980 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9981 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9982 Change default. Doc fix.
9983 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9984 (feedmail-binmail-linuxish-template): New constant.
9985 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9986 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9987 (feedmail-send-it): Add debug call.
9988 Use feedmail-queue-buffer-file-name, and
9989 feedmail-send-it-immediately-wrapper.
9990 (feedmail-message-action-send): Add debug call.
9991 Use feedmail-send-it-immediately-wrapper.
9992 (feedmail-queue-express-to-queue): Add debug call.
9993 Run feedmail-queue-express-hook.
9994 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9995 (feedmail-message-action-help-blat):
9996 Rename from feedmail-queue-send-edit-prompt-help-first.
9997 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9998 Check line-endings. Handle errors better.
9999 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10000 Doc fix. Add debug call.
10001 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10002 Use feedmail-queue-send-edit-prompt-inner.
10003 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10004 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10005 from feedmail-queue-send-edit-prompt.
10006 (feedmail-queue-send-edit-prompt-help)
10007 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10008 (feedmail-tidy-up-slug): Add debug call.
10009 Respect feedmail-queue-slug-suspect-regexp.
10010 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10011 (feedmail-dump-message-to-queue): Add debug call.
10012 Expand queue-directory.
10013 (feedmail-dump-message-to-queue): Change message slightly.
10014 Use feedmail-say-chatter.
10015 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10016 (feedmail-send-it-immediately-wrapper): New function.
10017 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10018 Insert empty string rather than newline. Handle full-frame case.
10019 Use catch/throw. Use feedmail-say-chatter.
10020 (feedmail-fiddle-from): Try mail-host-address.
10021 (feedmail-default-message-id-generator): Doc fix.
10022 Bind system-time-locale. Handle missing end.
10023 (feedmail-fiddle-x-mailer): Add debug call.
10024 Handle feedmail-x-mailer-line being nil.
10025 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10026 Add debug call. Use buffer-substring-no-properties.
10027 (feedmail-say-debug, feedmail-say-chatter): New functions.
10028 (feedmail-find-eoh): Give an explicit error.
10029
42c7e61e
UJ
100302011-05-13 Ulf Jasper <ulf.jasper@web.de>
10031
c2571358 10032 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 10033 family from helvetica to sans.
c2571358 10034 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10035 etc/images/newsticker.
10036
c2571358 10037 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
10038 family from helvetica to sans.
10039
10040 * net/newst-plainview.el (newsticker-new-item-face)
10041 (newsticker-old-item-face, newsticker-immortal-item-face)
10042 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 10043 (newsticker-statistics-face): Change default family from
42c7e61e 10044 helvetica to sans.
c2571358 10045 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10046 etc/images/newsticker.
10047
10048 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
10049 (newsticker--process-auto-mark-filter-match): : Tell user about
10050 auto-marking.
10051
8497a297
DV
100522011-05-13 Didier Verna <didier@xemacs.org>
10053
10054 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
10055 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10056 TODO entries.
8497a297
DV
10057 (lisp-lambda-list-keyword-parameter-indentation)
10058 (lisp-lambda-list-keyword-parameter-alignment)
10059 (lisp-lambda-list-keyword-alignment): New customizable user options.
10060 (lisp-indent-defun-method): Improve docstring.
10061 (extended-loop-p): Fix comment.
10062 (lisp-indent-lambda-list-keywords-regexp): New variable.
10063 (lisp-indent-lambda-list): New function.
10064 (lisp-indent-259): Use it.
10065 (lisp-indent-defmethod): Support for more than one
10066 method qualifier and properly indent methods lambda-lists.
10067 (defgeneric): Provide a missing common-lisp-indent-function property.
10068
f278f87f
SM
100692011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10070
10071 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10072 bounds for the empty string (bug#8667).
10073
5233edd7
GM
100742011-05-13 Glenn Morris <rgm@gnu.org>
10075
5237a44f
GM
10076 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10077
8340026c 10078 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 10079 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 10080
5233edd7 10081 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 10082 (appt-time-msg-list): Doc fix.
a5464014 10083 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 10084
92d10796
AS
100852011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10086
10087 * progmodes/ld-script.el (ld-script-keywords)
10088 (ld-script-builtins): Update keywords list.
10089
914a0ae1
SM
100902011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10091
c89be45f
SM
10092 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10093
914a0ae1
SM
10094 * shell.el (shell-completion-vars): New function.
10095 (shell-mode):
10096 * simple.el (read-shell-command): Use it.
10097 (blink-matching-open): No need for " [...]" in minibuffer-message.
10098
98dc3df3
GM
100992011-05-12 Glenn Morris <rgm@gnu.org>
10100
10101 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10102 (appt-check): Simplify.
10103
d2fc7e3d 101042011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 10105
4d61f28d 10106 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
10107 literal "/dev/null".
10108
d2fc7e3d 101092011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
10110
10111 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10112 Fix typo.
10113
d2fc7e3d 101142011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 10115
3f254caa
SM
10116 * progmodes/which-func.el (which-function):
10117 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
10118 which might not be defined (Bug#8260).
10119
d45885f7
GM
101202011-05-12 Glenn Morris <rgm@gnu.org>
10121
10122 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10123 Let byte-compile-initial-macro-environment always take precedence.
10124
488086f4
SM
101252011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10126
10127 * net/rcirc.el: Add support for SSL/TLS connections.
10128 (rcirc-server-alist): New field `encryption'.
10129 (rcirc): Check `encryption' settings.
10130 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10131 Merge make-local-variable into `set'.
10132 (rcirc--connection-open-p): New function.
10133 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10134 the process is not a network process (e.g. running gnutls-cli).
10135 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10136 Make rcirc-(en|de)code-coding-system local here.
10137 (rcirc-mode): Merge make-local-variable into `set'.
10138 (rcirc-parent-buffer): Make permanent buffer-local.
10139 (rcirc-multiline-minor-mode): Don't do it here.
10140 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10141 there's no server buffer.
10142
7d3b9d44
GM
101432011-05-11 Glenn Morris <rgm@gnu.org>
10144
f64049c6
GM
10145 * newcomment.el (comment-kill): Prefix "unused" local.
10146
93c9df73
GM
10147 * term/w32console.el (get-screen-color): Declare.
10148
7d3b9d44
GM
10149 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10150 Handle symbol elements of byte-compile-initial-macro-environment.
10151
9e2dd53f
LL
101522011-05-10 Leo Liu <sdl.web@gmail.com>
10153
488086f4
SM
10154 * bookmark.el (bookmark-bmenu-mode-map):
10155 Bind bookmark-bmenu-search to `/'.
8b340240 10156
9e2dd53f 10157 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
10158 (footnote-unicode-string, footnote-unicode-regexp): New variable.
10159 (Footnote-unicode): New function.
10160 (footnote-style-alist): Add unicode style to the list.
10161 (footnote-style): Doc fix.
9e2dd53f 10162
79b70037
GM
101632011-05-10 Jim Meyering <meyering@redhat.com>
10164
10165 Fix doubled-word typos.
10166 * international/quail.el (quail-insert-kbd-layout): and and -> and
10167 * kermit.el: and and -> and
10168 * net/ldap.el (ldap-search-internal): to to -> to
10169 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10170 * progmodes/js.el (js-mode): and and -> and
10171 * textmodes/artist.el (artist-move-to-xy): at at -> at
10172 (artist-draw-region-trim-line-endings): if if -> if
10173 And Safetyc -> Safety.
10174 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10175
b8f82dc1 101762011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 10177 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
10178
10179 * files.el (hack-one-local-variable-eval-safep):
10180 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10181
4f99f44b
GM
101822011-05-10 Glenn Morris <rgm@gnu.org>
10183
10184 * calendar/diary-lib.el (diary-list-entries-hook)
10185 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10186 (diary-nongregorian-marking-hook, diary-list-entries)
10187 (diary-include-other-diary-files, diary-mark-entries)
10188 (diary-mark-included-diary-files): Doc fixes.
10189
84f29e6b
JB
101902011-05-09 Juanma Barranquero <lekktu@gmail.com>
10191
10192 * misc.el: Require tabulated-list.el during compilation.
10193
9bedd73a
CY
101942011-05-09 Chong Yidong <cyd@stupidchicken.com>
10195
488086f4
SM
10196 * progmodes/compile.el (compilation-start):
10197 Run compilation-filter-hook for the async case too.
9bedd73a
CY
10198 (compilation-filter-hook): Doc fix.
10199
797c735c
DD
102002011-05-09 Deniz Dogan <deniz@dogan.se>
10201
10202 * wdired.el: Remove outdated installation comment. Fix usage
10203 comment.
10204
5f4b1dfe
JB
102052011-05-09 Juanma Barranquero <lekktu@gmail.com>
10206
10207 * misc.el: Implement new command `list-dynamic-libraries'.
10208 (list-dynamic-libraries--loaded-only-p): New variable.
10209 (list-dynamic-libraries--refresh): New function.
10210 (list-dynamic-libraries): New command.
10211
4c44026c
CY
102122011-05-09 Chong Yidong <cyd@stupidchicken.com>
10213
488086f4
SM
10214 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10215 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
10216 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10217 higher priority to avoid clobbering by gnu.
10218
027f966d
CY
102192011-05-08 Chong Yidong <cyd@stupidchicken.com>
10220
10221 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10222 if the face has existing theme settings (Bug#8454).
10223
085f5d7d
CY
102242011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10225
488086f4
SM
10226 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10227 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 10228
2a86a00c
RS
10229 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10230 special file names `.' and `..' (Bug#8259).
10231
d9c54a06
CY
102322011-05-08 Chong Yidong <cyd@stupidchicken.com>
10233
488086f4
SM
10234 * progmodes/grep.el (grep-mode-font-lock-keywords):
10235 Remove buffer-changing entries.
d9c54a06
CY
10236 (grep-filter): New function.
10237 (grep-mode): Add it to compilation-filter-hook.
10238
10239 * progmodes/compile.el (compilation-filter-hook)
10240 (compilation-filter-start): New defvars.
10241 (compilation-filter): Call compilation-filter-hook prior to
10242 updating the process mark.
10243
c4662635
SM
102442011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10245
10246 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10247
b0512a1d
EZ
102482011-05-07 Eli Zaretskii <eliz@gnu.org>
10249
605c9376
EZ
10250 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10251 mailclient-send-it even if window-system is nil. (Bug#8595)
10252
c4662635
SM
10253 * term/w32console.el (terminal-init-w32console):
10254 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
10255 background-mode. (Bug#8597)
10256
d1dc2cc2
SM
102572011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10258
10259 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10260 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10261 New functions.
10262 (defgeneric, eieio--defmethod): Use them.
10263 (eieio-defgeneric): Remove.
10264 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10265
915d1300
GM
102662011-05-07 Glenn Morris <rgm@gnu.org>
10267
a3961c3e
GM
10268 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10269 Use let rather than let*.
10270 (timeclock-find-discrep): Remove unused local.
10271
314347b9
GM
10272 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10273
915d1300
GM
10274 * calendar/appt.el (appt-time-msg-list): Doc fix.
10275
275b59b0
NF
102762011-05-06 Noah Friedman <friedman@splode.com>
10277
10278 * apropos.el (apropos-print-doc): Only use
10279 emacs-lisp-docstring-fill-column when it is bound to an integer,
10280 per that variable's documentation.
10281
6c19f744
SM
102822011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10283
10284 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 10285 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 10286
60f884b2
GM
102872011-05-06 Glenn Morris <rgm@gnu.org>
10288
5006e634
GM
10289 * calendar/appt.el (appt-message-warning-time): Doc fix.
10290 (appt-warning-time-regexp): New option.
10291 (appt-make-list): Respect appt-message-warning-time.
10292
548d0a63
GM
10293 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10294 New options.
10295 (diary-add-to-list): Strip comments from the displayed string.
10296 (diary-mode): Set comment-start and comment-end.
10297
60f884b2
GM
10298 * vc/diff-mode.el (smerge-refine-subst): Declare.
10299 (diff-refine-hunk): Don't require smerge-mode when compiling.
10300
989681bb
JB
103012011-05-06 Juanma Barranquero <lekktu@gmail.com>
10302
10303 * simple.el (list-processes): Return nil as the docstring says.
10304
a6bc05e1
MA
103052011-05-05 Michael Albinus <michael.albinus@gmx.de>
10306
10307 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10308 to "".
10309 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10310 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10311 determining of binary transfer. (Bug#7383)
10312
23c22e9a
MA
103132011-05-05 Michael Albinus <michael.albinus@gmx.de>
10314
c4662635
SM
10315 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10316 Fix port computation bug. (Bug#8618)
23c22e9a 10317
0bff894f
GM
103182011-05-05 Glenn Morris <rgm@gnu.org>
10319
b8296902
GM
10320 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10321
1f522ce8
GM
10322 * simple.el (shell-dynamic-complete-functions)
10323 (comint-dynamic-complete-functions): Declare.
10324
cf5bee67
GM
10325 * net/network-stream.el (gnutls-negotiate):
10326 * simple.el (tabulated-list-print): Fix declarations.
10327
10328 * progmodes/gud.el (syntax-symbol, syntax-point):
10329 Remove unnecessary and incorrect declarations.
10330
0bff894f
GM
10331 * emacs-lisp/check-declare.el (check-declare-scan):
10332 Handle byte-compile-initial-macro-environment in bytecomp.el
10333
9869b3ae
SM
103342011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10335
10336 Fix earlier half-done eieio-defmethod change (bug#8338).
10337 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10338 Streamline and change calling convention.
10339 (defmethod): Adjust accordingly and simplify.
10340 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10341 new eieio--defmethod.
10342 (slot-boundp): Minor CSE simplification.
10343
9c1d5ac5
MZ
103442011-05-05 Milan Zamazal <pdm@zamazal.org>
10345
10346 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10347 (glasses-make-readable): Use glasses-separate-capital-groups.
10348
455c834e
JB
103492011-05-05 Juanma Barranquero <lekktu@gmail.com>
10350
10351 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10352 (warning-series): Doc fix.
10353 (display-warning): Don't try to create the buffer if we just found it.
10354
9ed7c8cb
CY
103552011-05-04 Chong Yidong <cyd@stupidchicken.com>
10356
10357 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10358 (autoload-find-generated-file): New function.
10359 (generate-file-autoloads): Bind generated-autoload-file to
10360 buffer-file-name.
9869b3ae
SM
10361 (update-file-autoloads, update-directory-autoloads):
10362 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
10363 output file (Bug#7989).
10364 (batch-update-autoloads): Doc fix.
10365
0898ca10
JB
103662011-05-04 Juanma Barranquero <lekktu@gmail.com>
10367
10368 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10369
31dfb76c
GM
103702011-05-04 Glenn Morris <rgm@gnu.org>
10371
f330b642
GM
10372 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10373 function, so it follows changes in calendar-date-style.
10374 (diary-fancy-date-matcher): New function.
10375 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10376 (diary-fancy-font-lock-fontify-region-function):
10377 Use diary-fancy-date-pattern as a function.
10378
31dfb76c
GM
10379 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10380 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10381
48e79d6a
TZ
103822011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10383
10384 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10385 instead of positional arguments. Allow :keylist and :crlfiles
10386 arguments.
10387 (open-gnutls-stream): Call it.
10388
10389 * net/network-stream.el (network-stream-open-starttls): Adjust to
10390 call `gnutls-negotiate' with :process and :hostname arguments.
10391
dd5a5ee0
SM
103922011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10393
ef80fc09
SM
10394 * minibuffer.el (completion--message): New function.
10395 (completion--do-completion, minibuffer-complete)
10396 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10397 (completion--do-completion): Don't ignore completion-auto-help when in
10398 icomplete-mode.
10399
dd5a5ee0
SM
10400 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10401 internal encoding (e.g. tibetan zero is not whitespace).
10402 (global-whitespace-mode): Prefer save-current-buffer.
10403 (whitespace-trailing-regexp): Remove useless save-match-data.
10404 (whitespace-empty-at-bob-regexp): Minor simplification.
10405
b7d22a83
CY
104062011-05-03 Chong Yidong <cyd@stupidchicken.com>
10407
10408 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10409
5192af46
AM
104102011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10411
10412 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 10413 Use `concat' to create string for insertion.
5192af46 10414
5767d190
SM
104152011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10416
10417 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10418 Avoid open-line which runs post-self-insert-hook.
10419 (bibtex-fill-entry): Remove unused `end' var.
10420
bf242939
AM
104212011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10422
5767d190
SM
10423 * textmodes/ispell.el (ispell-add-per-file-word-list):
10424 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 10425
25666126
LL
104262011-05-03 Leo Liu <sdl.web@gmail.com>
10427
10428 * isearch.el (isearch-yank-pop): New command.
5767d190 10429 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
10430 (isearch-forward): Mention it.
10431
52d3c2d0
SM
104322011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10433
1bcace58
SM
10434 * simple.el (minibuffer-complete-shell-command): Remove.
10435 (minibuffer-local-shell-command-map): Use completion-at-point.
10436 (read-shell-command): Setup completion vars here instead.
10437 (read-expression-map): Bind TAB to symbol completion.
10438
52d3c2d0
SM
10439 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10440 error directly rather via storing it into `results'.
10441
35813471
LL
104422011-05-02 Leo Liu <sdl.web@gmail.com>
10443
10444 * vc/diff.el: Fix description.
10445
e793a940
LMI
104462011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10447
10448 * server.el (server-eval-at): New function.
10449
8de66e05
LMI
104502011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10451
10452 * net/network-stream.el (open-network-stream): Take a :nowait
10453 parameter and pass it on to `make-network-process'.
10454 (network-stream-open-plain): Ditto.
10455
dcb79f20
AS
104562011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10457
10458 * faces.el (face-spec-set-match-display): Don't match toolkit
10459 options on terminal frames.
10460
14a7fbd8
SM
104612011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10462
7eabc1be
SM
10463 * progmodes/pascal.el: Use lexical binding.
10464 (pascal-mode-map): Remove author preferences.
10465
14a7fbd8
SM
10466 * pcomplete.el (pcomplete-std-complete): Don't abuse
10467 completion-at-point.
10468
50f84510
JB
104692011-04-28 Juanma Barranquero <lekktu@gmail.com>
10470
6e087a44
JB
10471 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10472 removing code that has been dead since 1991 or so.
10473
50f84510
JB
10474 * startup.el (command-line): When warning about "_emacs", use a
10475 delayed warning to allow the user to filter it out.
10476
0ba690bd
DD
104772011-04-28 Deniz Dogan <deniz@dogan.se>
10478
10479 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10480 user has not joined.
10481
08abfaad
SM
104822011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10483
10484 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10485 aren't any completions at point.
10486
638f053a
JB
104872011-04-28 Juanma Barranquero <lekktu@gmail.com>
10488
10489 * subr.el (display-delayed-warnings): New function.
10490 (delayed-warnings-hook): New variable.
10491
8fff8daa
SM
104922011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10493
08abfaad
SM
10494 * minibuffer.el (completion-at-point, completion-help-at-point):
10495 Don't presume that a given completion-at-point-function will always
10496 use the same calling convention.
10497
8fff8daa
SM
10498 * pcomplete.el (pcomplete-completions-at-point):
10499 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10500 pcomplete-seen is non-nil.
10501 (pcomplete-comint-setup): Also recognize the new comint/shell
10502 completion functions.
10503 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10504 pcomplete-seen is non-nil.
10505
841a1577 105062011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 10507
841a1577 10508 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 10509 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 10510 the first character in the entry. This allows for code to add its
211ec907
UJ
10511 own uid to the entry.
10512 (icalendar--convert-float-to-ical): Add export of
10513 `diary-float'-entries save for those with the optional DAY
10514 argument.
10515
2a782793
DC
105162011-04-27 Daniel Colascione <dan.colascione@gmail.com>
10517
10518 * subr.el (shell-quote-argument): Use alternate escaping strategy
10519 when we spot a variable reference in a string.
10520
0438ce91
DC
105212011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10522
10523 * cus-start.el (all): Define customization for debug-on-event.
10524
841a1577 105252011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
10526
10527 * subr.el (shell-quote-argument): Escape correctly under Windows.
10528
d090ed6c
SM
105292011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10530
10531 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10532
bfd31217
MA
105332011-04-25 Michael Albinus <michael.albinus@gmx.de>
10534
d090ed6c
SM
10535 * net/tramp.el (tramp-process-actions): Add POS argument.
10536 Delete region between POS and (pos).
bfd31217 10537
d090ed6c
SM
10538 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10539 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
10540 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10541
10542 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10543 position in `tramp-process-actions' call.
10544
10545 * net/trampver.el: Update release number.
10546
e92f3bd3
SM
105472011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10548
850256b5
SM
10549 * custom.el (defcustom): Obey lexical-binding.
10550
e92f3bd3
SM
10551 Fix octave-inf completion problems reported by Alexander Klimov.
10552 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10553 Inherit from octave-mode-syntax-table.
10554 (inferior-octave-mode): Set info-lookup-mode.
10555 (inferior-octave-completion-at-point): New function.
10556 (inferior-octave-complete): Use it and completion-in-region.
10557 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10558 comint-filename-completion.
10559 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10560 symbol elements which shouldn't be word elements.
10561 (octave-font-lock-keywords, octave-beginning-of-defun)
10562 (octave-function-header-regexp): Adjust regexps accordingly.
10563 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10564
cd22b309
JB
105652011-04-25 Juanma Barranquero <lekktu@gmail.com>
10566
10567 * net/gnutls.el (gnutls-errorp): Declare before first use.
10568
8b492194
TZ
105692011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10570
10571 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10572 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 10573 default trustfile exists before going to use it. Add missing
5a5fa834 10574 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
10575 Reported by Claudio Bley <claudio.bley@gmail.com>.
10576 (open-gnutls-stream): Add usage example.
10577
10578 * net/network-stream.el (network-stream-open-starttls): Give host
10579 parameter to `gnutls-negotiate'.
10580 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 10581 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 10582
841a1577 105832011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 10584
cd22b309
JB
10585 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10586 Use correct match group (bug#8438).
05842630 10587
3ba7869c
CY
105882011-04-24 Chong Yidong <cyd@stupidchicken.com>
10589
512e3ae1
CY
10590 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10591 (package-menu--generate): New arg specifying packages to show.
10592 (package-menu-refresh, package-menu-execute, list-packages):
10593 Callers changed.
10594 (package-show-package-list): New function, replacing deleted
10595 package--list-packages (renamed because it is non-internal).
10596
10597 * finder.el (finder-list-matches): Use package-show-package-list
10598 instead of deleted package--list-packages.
10599
e92f3bd3
SM
10600 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10601 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
10602 (vc-annotate-mode-map): Bind it to RET.
10603
7031be6d
UR
106042011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10605
10606 * progmodes/etags.el (next-file): Don't use set-buffer to change
10607 buffers (Bug#8478).
10608
4ef177aa
CY
106092011-04-24 Chong Yidong <cyd@stupidchicken.com>
10610
c8d173eb
CY
10611 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10612
4ef177aa
CY
10613 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10614 (apropos-accumulator): Doc fix.
10615 (apropos-function, apropos-macro, apropos-command)
10616 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10617 (apropos-plist): Add face property.
10618 (apropos-symbols-internal): Fix indentation.
10619 (apropos-print): Simplify help, and recognize apropos-multi-type.
10620 (apropos-print-doc): Use button-type-get to extract the button's
10621 face property. Fill docstring (Bug#8352).
10622
4ffd0d6b 106232011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
10624
10625 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10626
c6c32125 10627 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 10628 (mpuz-mode-map): Use mapc.
c6c32125
JB
10629 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10630 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10631 Fix typos in docstrings.
10632
58d468b4
JB
10633 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10634 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10635
6470c3c6
JB
10636 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10637
4ffd0d6b 106382011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
10639
10640 * minibuffer.el (completion--do-completion): Avoid the "Next char
10641 not unique" prompt if icomplete-mode is enabled (Bug#5849).
10642
3ad8bad0
CY
10643 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10644 mouse-2 into unread-command-events, it is interpreted correctly.
10645
71d73c9c 10646 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 10647 (image-toggle-display): Doc fix.
71d73c9c 10648
841a1577 106492011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 10650
4ffd0d6b
GM
10651 * textmodes/page.el (what-page): Use line-number-at-pos to
10652 calculate line number (Bug#6825).
6e1dbaa9 10653
c2fb1b60
JB
106542011-04-22 Juanma Barranquero <lekktu@gmail.com>
10655
10656 * eshell/esh-mode.el (find-tag-interactive): Declare function.
10657 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10658 Pass argument NO-DEFAULT to `find-tag-interactive'.
10659
e02f48d7
JB
106602011-04-22 Juanma Barranquero <lekktu@gmail.com>
10661
10662 Lexical-binding cleanup.
10663
10664 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10665 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10666 * progmodes/ada-prj.el (ada-prj-initialize-values)
10667 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10668 (ada-prj-show-value):
10669 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10670 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10671 (antlr-invalidate-context-cache, antlr-options-menu-filter)
10672 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10673 * progmodes/bug-reference.el (bug-reference-push-button):
10674 * progmodes/fortran.el (fortran-line-length):
10675 * progmodes/glasses.el (glasses-change):
10676 * progmodes/octave-mod.el (octave-fill-paragraph):
10677 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10678 (python-pdbtrack-grub-for-buffer, python-sentinel):
10679 * progmodes/sql.el (sql-save-connection):
10680 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10681 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10682 Mark unused parameters.
10683
10684 * progmodes/compile.el (compilation--flush-directory-cache)
10685 (compilation--flush-parse, compile-internal): Mark unused parameters.
10686 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10687 (compilation-next-error-function): Remove unused variable `timestamp'.
10688
10689 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10690 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10691
10692 * progmodes/dcl-mode.el (dcl-end-of-command):
10693 Remove unused variable `start'.
10694 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10695 (dcl-option-value-basic, dcl-option-value-offset)
10696 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10697 Mark unused parameters.
10698 (dcl-save-local-variable): Remove unused variable `val'.
10699 (mode): Declare.
10700
10701 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10702 Mark unused parameters.
10703 (delphi-ignore-changes): Move before first use.
10704 (delphi-charset-token-at): Remove unused variable `start'.
10705 (delphi-else-start): Remove unused variable `if-count'.
10706 (delphi-comment-block-start, delphi-comment-block-end):
10707 Remove unused variable `kind'.
10708 (delphi-indent-line): Remove unused variable `new-point'.
10709
10710 * progmodes/ebrowse.el (ebrowse-files-list)
10711 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10712 Mark unused parameters. Don't quote `lambda'.
10713 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10714 Don't quote `lambda'.
10715 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10716 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10717 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10718 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10719 Use `ignore-errors'.
10720 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10721 (ebrowse-view/find-file-and-search-pattern)
10722 (ebrowse-view/find-member-declaration/definition):
10723 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10724 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10725 Rename parameter PREFIX-ARG to PREFIX.
10726 (ebrowse-tags-read-name): Remove unused variables `start' and
10727 `member-info'.
10728 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10729 to `tags-file'.
10730
10731 * progmodes/etags.el (local-find-tag-hook): Declare.
10732 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10733 Mark unused parameters.
10734
10735 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10736 (executable-interpret): Mark unused parameter.
10737
10738 * progmodes/flymake.el (flymake-process-sentinel)
10739 (flymake-after-change-function)
10740 (flymake-create-temp-with-folder-structure)
10741 (flymake-get-include-dirs-dot): Mark unused parameters.
10742 (flymake-safe-delete-directory): Remove unused variable `err'.
10743
10744 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10745 (speedbar-timer-fn, speedbar-line-text)
10746 (speedbar-change-expand-button-char, speedbar-delete-subblock)
10747 (speedbar-center-buffer-smartly): Declare functions.
10748 (gdb-find-watch-expression): Remove unused variable `array'.
10749 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10750 (gdb-starting): Mark unused parameters.
10751 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10752 (gdb-table-string): Remove unused variable `res'.
10753 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10754 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10755 (gdb-display-buffer): Remove unused variable `cur-size'.
10756
10757 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10758 allow lexical-binding compilation.
10759 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10760 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10761 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10762 Mark unused parameters.
10763 (gud-gdb-marker-filter): Remove unused variable `match'.
10764 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10765 lambda expressions and funcall them, instead of using `fset'.
10766
10767 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10768 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10769
10770 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10771 variable `header-beg'; use `let'.
10772
10773 * progmodes/icon.el (indent-icon-exp): Remove unused variables
10774 `restart', `last-sexp' and `at-do'.
10775
10776 * progmodes/js.el (js--debug): Mark unused parameter.
10777 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10778 (js--splice-into-items): Remove unused variable `item'.
10779 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10780
10781 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10782 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10783 (makefile-complete): Remove unused variable `try'.
10784 (makefile-fill-paragraph, makefile-match-function-end):
10785 Mark unused parameters.
10786
10787 * progmodes/octave-inf.el (inferior-octave-complete):
10788 Remove unused variable `proc'.
10789 (inferior-octave-output-digest): Mark unused parameter.
10790
10791 * progmodes/perl-mode.el (perl-calculate-indent):
10792 Remove unused variable `err'.
10793
10794 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10795 (prolog-indent-line): Mark unused parameters.
10796 (prolog-indent-line): Remove unused variable `beg'.
10797
10798 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10799 (reporter-dont-compact-list): Declare.
10800
10801 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10802 Remove unused variable `char'.
10803 (sh-debug): Mark unused parameter.
10804 (sh-get-indent-info): Remove unused variable `start'.
10805 (sh-calculate-indent): Remove unused variable `var'.
10806
10807 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10808 (simula-electric-keyword): Remove unused variable `null'.
10809 (simula-search-backward, simula-search-forward): Remove unused
10810 variables `begin' and `end'.
10811
10812 * progmodes/vera-mode.el (vera-guess-basic-syntax):
10813 Remove unused variable `pos'.
10814 (vera-electric-tab, vera-comment-uncomment-region):
10815 Mark unused parameters.
10816 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10817
7ede3b65
CY
108182011-04-22 Chong Yidong <cyd@stupidchicken.com>
10819
10820 * emacs-lisp/package.el (package--builtins, package-alist)
10821 (package-load-descriptor, package-built-in-p, package-activate)
10822 (define-package, package-installed-p)
10823 (package-compute-transaction, package-buffer-info)
10824 (package--push): Doc fix. Distinguish more clearly between
10825 version strings and version lists.
10826
121656e9
JB
108272011-04-21 Juanma Barranquero <lekktu@gmail.com>
10828
10829 Lexical-binding cleanup.
10830
10831 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10832 (5x5-make-mutate-best):
10833 * play/fortune.el (fortune-in-buffer):
10834 * play/gomoku.el (gomoku-init-display):
10835 * play/solitaire.el (solitaire, solitaire-do-check):
10836 * play/tetris.el (tetris-default-update-speed-function):
10837 Mark unused parameters.
10838
10839 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10840 (bubbles--shift): Remove unused variable `char-org'.
10841 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
10842 (bubbles--show-images): Remove unused variable `char'.
10843
10844 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10845 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10846 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10847 (decipher-analyze-buffer): Use ?\s.
10848 (decipher-make-checkpoint): Remove unused variable `mapping'.
10849
10850 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10851
10852 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10853 Remove unused variable `result'; use `let'.
10854
10855 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10856 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10857 (gametree-children-shown-p, gametree-compute-reduced-score):
10858 Use `ignore-errors'.
10859
10860 * play/handwrite.el (ps-lpr-switches): Declare.
10861 (handwrite): Remove unused variables `pmin' and `lastp'.
10862
10863 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10864
10865 * play/landmark.el (landmark-init-display)
10866 (landmark-update-naught-weights): Mark unused parameters.
10867 (landmark-y): Remove unused variable `noise'. Simplify.
10868 (landmark-human-plays): Remove unused variable `score'.
10869
10870 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10871 (mpuz-try-proposal): Remove unused variable `game'.
10872
10873 * play/zone.el (life-patterns): Declare.
10874
80f499c7
JB
108752011-04-20 Juanma Barranquero <lekktu@gmail.com>
10876
10877 * vc/vc.el (ediff-vc-internal): Declare function.
10878
024ff170
SM
108792011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10880
c0a193ea
SM
10881 * shell.el: Use lexical-binding and std completion UI.
10882 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10883 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10884 comint-preoutput-filter-functions rather than on
10885 comint-output-filter-functions.
10886 (shell-command-completion, shell--command-completion-data)
10887 (shell-filename-completion, shell-environment-variable-completion)
10888 (shell-c-a-p-replace-by-expanded-directory): New functions.
10889 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10890 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10891 (shell-dynamic-complete-environment-variable): Use them.
10892 (shell-dynamic-complete-as-environment-variable)
10893 (shell-dynamic-complete-as-command): Remove.
10894 (shell-match-partial-variable): Match past point.
10895 * comint.el: Clean up use of completion-at-point-functions.
10896 (comint-completion-at-point): New function.
10897 (comint-mode): Use it completion-at-point-functions.
10898 (comint-dynamic-complete): Make it obsolete.
10899 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10900 (comint-c-a-p-replace-by-expanded-history): New function.
10901 (comint-dynamic-complete-functions)
10902 (comint-replace-by-expanded-history): Use it.
10903 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10904 termination strings. Try harder to avoid second try-completion.
10905 (completion-in-region-mode-map): Disable bindings that don't work yet.
10906
2dbaa080
SM
10907 * comint.el: Use lexical-binding. Require CL.
10908 (comint-dynamic-complete-functions): Use comint-filename-completion.
10909 (comint-completion-addsuffix): Tweak custom type.
10910 (comint-filename-completion, comint--common-suffix)
10911 (comint--common-quoted-suffix, comint--table-subvert)
10912 (comint--complete-file-name-data): New functions.
10913 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10914 (comint-dynamic-list-filename-completions): Use them.
10915 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 10916
2dbaa080
SM
10917 * minibuffer.el (completion-in-region-mode):
10918 Keep completion-in-region-mode--predicate global.
10919 (completion-in-region--postch):
10920 Assume completion-in-region-mode--predicate is not null.
10921
c79a6f38
SM
10922 * progmodes/flymake.el (flymake-start-syntax-check-process):
10923 Obey `dir'. Simplify.
10924
024ff170
SM
10925 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10926 we're in VC after all.
10927
1c6c854e
CS
109282011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10929
10930 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 10931 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
10932 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10933
bed7f140
SM
109342011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10935
332e62ab
SM
10936 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10937 add sanity check.
10938
bed7f140
SM
10939 * obsolete/erc-hecomplete.el: Make obsolete.
10940 * obsolete/: Standardize obsolescence info in the header.
10941
f195c582
GM
109422011-04-20 Glenn Morris <rgm@gnu.org>
10943
10944 * calendar/solar.el (solar-horizontal-coordinates):
10945 Use the longitude argument rather than `calendar-longitude'.
10946 (solar-date-next-longitude): Remove unused locals.
10947
cb79b8c0
VJL
109482011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10949
10950 * whitespace.el: New version 13.2.1.
10951
109522011-04-20 felix <EmacsWiki> (tiny change)
10953
d8e4b68b 10954 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
10955 switching between major modes on a file.
10956
602ea69d
SM
109572011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10958
10959 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10960 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10961 multi-line comments as well.
10962
06b60517
JB
109632011-04-19 Juanma Barranquero <lekktu@gmail.com>
10964
10965 Lexical-binding cleanup.
10966
10967 * arc-mode.el (archive-mode-revert):
10968 * cmuscheme.el (scheme-interactively-start-process):
10969 * custom.el (custom-initialize-delay):
10970 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10971 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10972 * emacs-lock.el (emacs-lock-clear-sentinel):
10973 * ezimage.el (defezimage):
10974 * follow.el (follow-avoid-tail-recenter):
10975 * fringe.el (set-fringe-mode-1):
10976 * generic-x.el (bat-generic-mode-compile):
10977 * help-mode.el (help-info-variable, help-do-xref)
10978 (help-mode-revert-buffer):
10979 * help.el (view-emacs-todo):
10980 * iswitchb.el (iswitchb-completion-help):
10981 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10982 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10983 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10984 * locate.el (locate-update):
10985 * longlines.el (longlines-encode-region)
10986 (longlines-after-change-function):
10987 * outline.el (outline-isearch-open-invisible):
10988 * ps-def.el (declare-function, charset-dimension, char-width)
10989 (encode-char):
10990 * ps-mule.el (ps-mule-plot-string):
10991 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10992 (recentf-edit-list-select, recentf-edit-list-validate)
10993 (recentf-open-files-action):
10994 * rect.el (delete-whitespace-rectangle-line)
10995 (rectangle-number-line-callback):
10996 * register.el (window-configuration-to-register)
10997 (frame-configuration-to-register):
10998 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10999 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11000 (xselect-convert-to-targets, xselect-convert-to-delete)
11001 (xselect-convert-to-filename, xselect-convert-to-charpos)
11002 (xselect-convert-to-lineno, xselect-convert-to-colno)
11003 (xselect-convert-to-os, xselect-convert-to-host)
11004 (xselect-convert-to-user, xselect-convert-to-class)
11005 (xselect-convert-to-name, xselect-convert-to-integer)
11006 (xselect-convert-to-atom, xselect-convert-to-identity):
11007 * subr.el (declare, ignore, process-kill-without-query)
11008 (text-clone-maintain):
11009 * terminal.el (te-get-char, te-tic-sentinel):
11010 * tool-bar.el (tool-bar-make-keymap):
11011 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11012 * type-break.el (type-break-mode, type-break-noninteractive-query):
11013 * view.el (View-back-to-mark):
11014 * wid-browse.el (widget-browse-action, widget-browse-widget)
11015 (widget-browse-widgets, widget-browse-sexp):
11016 * widget.el (define-widget-keywords):
11017 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11018 Mark unused parameters.
11019
11020 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11021 (align-areas): Remove unused variable `look'.
11022 (align-region): Remove unused variables `real-end' and `pos-list'.
11023
11024 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11025
11026 * bindings.el (mode-line-modified, mode-line-remote):
11027 Mark unused parameters.
11028 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11029
11030 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11031 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11032
11033 * comint.el (comint-history-isearch-pop-state)
11034 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11035 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11036 (comint-substitute-in-file-name): Doc fix.
11037
11038 * completion.el (cmpl-statistics-block): Mark unused parameter.
11039 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11040 (save-completions-to-file, load-completions-from-file):
11041 Remove unused local variable `e'.
11042
11043 * composite.el (compose-chars): Remove unused variable `len'.
11044 (lgstring-insert-glyph): Remove unused variable `g'.
11045 (compose-glyph-string): Remove unused variables `ascent',
11046 `descent', `lbearing' and `rbearing'.
11047 (compose-glyph-string-relative): Remove unused variables
11048 `lbearing', `rbearing' and `wadjust'.
11049 (compose-gstring-for-graphic): Remove unused variables `header',
11050 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11051 (compose-gstring-for-terminal): Remove unused variables `header'
11052 and `nchars'. Use `let', not `let*'.
11053
11054 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11055 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11056 (Custom-buffer-done, custom-buffer-create-internal)
11057 (custom-browse-visibility-action, custom-browse-group-tag-action)
11058 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11059 (widget-magic-mouse-down-action, custom-toggle-parent)
11060 (custom-add-parent-links, custom-toggle-hide-variable)
11061 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11062 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11063 (custom-face-menu-create, custom-variable-menu-create, get)
11064 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11065 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11066 (customize-apropos): Remove unused variable `tests'.
11067 (custom-group-value-create): Remove unused variable `hidden-p'.
11068 (sort-fold-case): Declare.
11069
11070 * cus-theme.el (custom-reset-standard-faces-list)
11071 (custom-reset-standard-variables-list): Declare.
11072 (customize-create-theme, custom-theme-revert, custom-theme-write)
11073 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11074 Mark unused parameters.
11075
11076 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11077
11078 * delim-col.el (delimit-columns-max): Move defvar before first use.
11079
11080 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 11081 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
11082
11083 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11084 (auto-insert): Declare.
11085 (desktop-restore-file-buffer): Rename desktop-* parameters;
11086 mark unused ones.
11087 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11088 (desktop-buffer): Rename desktop-* parameters.
11089
11090 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11091 (dframe-reposition-frame-xemacs, dframe-help-echo)
11092 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11093 Mark unused parameters.
11094
11095 * dired-aux.el (backup-extract-version-start, overwrite-query)
11096 (overwrite-backup-query, rename-regexp-query)
11097 (rename-non-directory-query): Declare.
11098 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11099 (dired-add-entry): Remove unused variable `orig-file-name'.
11100 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11101 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11102 `dired-copy-preserve-time' directly.
11103 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11104 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11105
11106 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11107 (dired-virtual-revert, dired-make-relative-symlink):
11108 Mark unused parameters.
11109 (manual-program): Declare.
11110 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11111 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11112 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11113
11114 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11115
11116 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11117
11118 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11119 Declare.
11120
11121 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11122
11123 * electric.el (Electric-command-loop): Rename parameter
11124 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11125
11126 * expand.el (expand-in-literal): Remove unused variable `here'.
11127
11128 * facemenu.el (facemenu-add-new-color):
11129 Remove unused variable `docstring'.
11130
11131 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11132 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11133 (face-attr-construct): Mark unused parameter. Doc fix.
11134 (read-color): Remove unused variable `hex-string'.
11135
11136 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11137 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11138 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11139 (display-buffer-other-frame): Remove unused variable `old-window'.
11140 (kill-buffer-hook): Declare.
11141 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11142 Mark unused parameters.
11143 (after-find-file): Pass 1 to `auto-save-mode', not t.
11144
11145 * files-x.el (auto-insert): Declare.
11146 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11147
11148 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 11149 variable `buf'. Mark unused parameter.
06b60517
JB
11150 (find-lisp-insert-directory): Mark unused parameter.
11151
11152 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11153 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11154 (format-common-tail): Remove, unused.
11155 (format-deannotate-region): Remove unused variable `loc'.
11156 (format-annotate-region): Remove unused variable `p'.
11157 (format-annotate-single-property-change): Remove unused variables
11158 `default' and `tail'.
11159
11160 * forms.el (read-file-filter): Declare.
11161 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11162
11163 * frame.el (frame-creation-function-alist): Mark unused parameter.
11164 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11165
11166 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11167 Remove unused parameters.
11168 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11169 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11170
11171 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11172 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11173 (hfy-prepare-tag-map): Mark unused parameters.
11174 (htmlfontify-buffer): Use `called-interactively-p'.
11175
11176 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11177 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11178 (ibuffer-do-occur): Mark unused parameters.
11179 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11180 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11181
11182 * ibuffer.el: Don't quote `lambda'.
11183 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11184 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11185 Mark unused parameters.
11186
11187 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11188 (ido-completing-read): Mark unused parameters.
11189 (ido-copy-current-word): Mark unused parameters;
11190 remove unused variable `name'.
11191 (ido-sort-merged-list): Remove unused parameter `dirs'.
11192
11193 * ielm.el (ielm-input-sender): Mark unused parameter.
11194 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11195 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11196 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11197 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11198 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11199
11200 * image-dired.el (image-dired-display-thumbs): Remove unused
11201 variables `curr-file' and `count'.
11202 (image-dired-remove-tag): Remove unused variable `start'.
11203 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11204 variable `curr-file'
11205 (image-dired-rotate-original): Remove unused variable `temp-file'.
11206 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11207 Remove unused variable `file'.
11208 (image-dired-gallery-generate): Remove unused variable `curr'.
11209 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11210
11211 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11212
11213 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11214
11215 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11216
11217 * isearch.el (minibuffer-history-symbol): Declare.
11218 (isearch-edit-string): Remove unused variable `err'.
11219 (isearch-message-prefix, isearch-message-suffix):
11220 Mark unused parameters.
11221
11222 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11223
11224 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11225
11226 * makesum.el (double-column): Remove unused variable `cnt'.
11227
11228 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11229 (ido-ignore-item-temp-list): Declare.
11230
11231 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11232 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11233 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11234 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11235 `mouse-col-delta'.
11236
11237 * mouse-sel.el (mouse-extend-internal):
11238 Remove unused variable `orig-window-frame'.
11239
11240 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11241 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11242 Move declarations before first use.
11243 (pcomplete-opt): Mark unused parameters; doc fix.
11244
11245 * proced.el (proced-revert): Mark unused parameter.
11246 (proced-send-signal): Remove unused variable `err'.
11247
11248 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11249 Rename parameter PREFIX-ARG to ARG.
11250 (ps-basic-plot-string, ps-basic-plot-whitespace):
11251 Mark unused parameters.
11252
11253 * replace.el (replace-count): Define.
11254 (occur-revert-function): Mark unused parameters.
11255 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11256 (isearch-case-fold-search, isearch-string): Declare.
11257 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11258 bind `case-fold-search'. Remove unused variables `beg' and `end',
11259 and simplify.
11260 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11261 COUNT and bind `replace-count'.
11262 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11263 to COUNT.
11264
11265 * savehist.el (print-readably, print-string-length): Declare.
11266
11267 * shadowfile.el (shadow-expand-cluster-in-file-name):
11268 Remove unused variable `cluster'.
11269 (shadow-copy-file): Remove unused variable `i'.
11270 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11271 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11272 (shadow-define-literal-group, shadow-define-regexp-group)
11273 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11274
11275 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11276 (shell): Use `called-interactively-p'.
11277 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11278
11279 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11280 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11281 (delete-backward-char): Remove unused variable `ocol'.
11282 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11283 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11284 (event-apply-hyper-modifier, event-apply-shift-modifier)
11285 (event-apply-control-modifier, event-apply-meta-modifier):
11286 Mark unused parameters.
11287 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11288 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11289
11290 * speedbar.el (speedbar-ignored-directory-expressions)
11291 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11292 (speedbar-find-file, speedbar-dir-follow)
11293 (speedbar-directory-buttons-follow, speedbar-tag-find)
11294 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11295 (speedbar-buffers-line-directory, speedbar-buffer-click):
11296 Mark unused parameters.
11297 (speedbar-tag-file): Remove unused variable `mode'.
11298 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11299
11300 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11301
11302 * talk.el (talk): Remove unused variable `display'.
11303
11304 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11305 (tar-write-region-annotate): Mark unused parameter.
11306
11307 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11308 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11309 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11310 warning by another.
11311
11312 * time-stamp.el (time-stamp-string-preprocess):
11313 Remove unused variable `require-padding'.
11314
11315 * tree-widget.el (widget-glyph-enable): Declare.
11316 (tree-widget-action): Mark unused parameter.
11317
11318 * w32-fns.el (x-get-selection): Mark unused parameter.
11319 (autoload-make-program, generated-autoload-file): Declare.
11320
11321 * wdired.el (wdired-revert): Mark unused parameters.
11322 (wdired-xcase-word): Remove unused variable `err'.
11323
11324 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11325 (whitespace-help-scroll): Remove unused variable `data-help'.
11326
11327 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11328 (widget-image-insert, widget-after-change, default)
11329 (widget-default-format-handler, widget-default-notify)
11330 (widget-default-prompt-value, widget-info-link-action)
11331 (widget-url-link-action, widget-function-link-action)
11332 (widget-variable-link-action, widget-file-link-action)
11333 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11334 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11335 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11336 (widget-insert-button-action, widget-delete-button-action, visibility)
11337 (widget-documentation-link-action, widget-documentation-string-action)
11338 (widget-const-prompt-value, widget-regexp-match, symbol)
11339 (widget-coding-system-prompt-value)
11340 (widget-key-sequence-value-to-external, sexp)
11341 (widget-sexp-value-to-internal, character, vector, cons)
11342 (widget-choice-prompt-value, widget-boolean-prompt-value)
11343 (widget-color--choose-action): Mark unused parameters.
11344 (widget-item-match-inline, widget-choice-match-inline)
11345 (widget-checklist-match, widget-checklist-match-inline)
11346 (widget-group-match): Rename parameter VALUES to VALS.
11347 (widget-field-value-set): Remove unused variable `size'.
11348 (widget-color-action): Remove unused variables `value' and `start'.
11349
11350 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 11351 variable `dir'. Doc fix.
06b60517
JB
11352 (windmove-find-other-window): Don't pass it.
11353
11354 * window.el (count-windows): Mark unused parameter.
11355 (bw-adjust-window): Remove unused variable `err'.
11356
11357 * woman.el (woman-file-name): Remove unused variable `default'.
11358 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11359 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11360 (global-font-lock-mode): Declare.
11361 (woman-decode-region): Mark unused parameter.
11362 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11363
11364 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11365 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11366 (x-dnd-handle-moz-url): Remove unused variable `title'.
11367 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11368
11369 * xml.el (xml-parse-tag, xml-parse-attlist):
11370 Remove unused variable `pos'.
11371
bc4f7f3d
GM
113722011-04-19 Glenn Morris <rgm@gnu.org>
11373
11374 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11375 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11376 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11377 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11378 * calendar/cal-html.el (cal-html-insert-minical):
11379 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11380 (calendar-mark-date-pattern):
11381 Prefix "unused" locals.
11382
11383 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11384 optional argument `style'.
11385
11386 * calendar/appt.el (appt-make-list):
11387 * calendar/cal-china.el (calendar-chinese-date-string):
11388 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11389 (diary-hebrew-yahrzeit):
11390 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11391 * calendar/calendar.el (calendar-generate-window):
11392 * calendar/time-date.el (time-to-days):
11393 Remove unused local variables.
11394
16a43933
CY
113952011-04-18 Chong Yidong <cyd@stupidchicken.com>
11396
11397 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11398 glyphless-char-display table.
11399 (tabulated-list-glyphless-char-display): New var.
11400
7eed1860
SS
114012011-04-18 Sam Steingold <sds@gnu.org>
11402
11403 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11404 to acknowledgments.
11405
4d2d1ccd
GM
114062011-04-17 Glenn Morris <rgm@gnu.org>
11407
11408 * calendar/diary-lib.el (diary-sexp-entry):
11409 * calendar/holidays.el (holiday-sexp):
11410 Set debug-on-error rather than the removed stack-trace-on-error.
11411
239da61d
GM
114122011-04-16 Glenn Morris <rgm@gnu.org>
11413
11414 * progmodes/f90.el: Use lexical-binding.
11415 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11416
8b05752a
SM
114172011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11418
daca8ba5
SM
11419 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11420 (mail-mode): Setup mailalias completion here instead.
11421 * mail/mailalias.el: Use lexical-binding.
11422 (pattern, mailalias-done): Declare dynamic.
11423 (mail-completion-at-point-function): New function, from mail-complete.
11424 (mail-complete): Use it.
11425 (mail-completion-expand): New function.
11426 (mail-get-names): Use it.
11427 (mail-directory, mail-directory-process, mail-directory-stream):
11428 Don't use `pattern' for lexically bound arg.
11429
6f542485
SM
11430 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11431
037e7c3f
SM
11432 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11433 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11434 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11435
8b05752a
SM
11436 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11437 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11438 (byte-interactive-p): Define them again, for use when inlining
11439 old code.
11440
49093f60
JB
114412011-04-15 Juanma Barranquero <lekktu@gmail.com>
11442
11443 * loadup.el: Use `string-to-number', not `string-to-int'.
11444
b5b8e7de
SM
114452011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11446
11447 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11448 gud-gdb-complete-command.
11449 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11450 (gud-gdb-completion-at-point): New function.
11451 (gud-gdb-completions): Remove.
11452
f42efeb5
MA
114532011-04-14 Michael Albinus <michael.albinus@gmx.de>
11454
49093f60
JB
11455 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11456 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11457 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11458 whether `executable-find' is bound.
f42efeb5
MA
11459
11460 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11461
e240cc21
SM
114622011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11463
11464 * minibuffer.el (completion-in-region-mode-predicate)
11465 (completion-in-region-mode--predicate): New vars.
11466 (completion-in-region, completion-in-region--postch)
11467 (completion-in-region-mode): Use them.
11468 (completion--capf-wrapper): Also return the hook function.
11469 (completion-at-point, completion-help-at-point):
11470 Adjust and provide a predicate.
c2bd2ab0
SM
11471
11472 Preserve arg names for advice of subr and lexical functions (bug#8457).
11473 * help-fns.el (help-function-arglist): Consolidate the subr and
11474 new-byte-code cases. Add argument `preserve-names' to extract names
11475 from the docstring when needed.
11476 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11477 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11478 (ad-arglist): Use help-function-arglist's new arg.
11479 (ad-definition-type): Use cond.
11480
c183f693
JB
114812011-04-13 Juanma Barranquero <lekktu@gmail.com>
11482
06641a47
JB
11483 * autorevert.el (auto-revert-handler):
11484 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11485 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11486 Don't quote lambda.
11487
c183f693
JB
11488 * image-mode.el (image-transform-set-scale):
11489 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11490
1e3b6001
G
114912011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11492
11493 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 11494 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
11495 Upgrades via gnutls-cli are too slow to be done opportunistically.
11496
2d6af8dd
JB
114972011-04-12 Juanma Barranquero <lekktu@gmail.com>
11498
11499 * dframe.el (dframe-current-frame): Remove spurious quote.
11500
c0749a51
GM
115012011-04-12 Glenn Morris <rgm@gnu.org>
11502
088d0d61
GM
11503 * calendar/cal-tex.el (cal-tex-end-document):
11504 Try to automatically use latin1 input if needed.
11505
c0749a51
GM
11506 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11507 Don't try to cons a mark onto an empty element.
11508
5c90fde0
LL
115092011-04-11 Leo Liu <sdl.web@gmail.com>
11510
11511 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11512 buffers.
11513 (ido-kill-buffer-at-head): Support killing virtual buffers.
11514
369e974d
CY
115152011-04-10 Chong Yidong <cyd@stupidchicken.com>
11516
11517 * minibuffer.el (completion-show-inline-help): New var.
11518 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
11519 (minibuffer-force-complete, minibuffer-complete-word):
11520 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
11521
11522 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11523 to avoid interference from inline help (Bug#5849).
11524
37f1c930
LL
115252011-04-10 Leo Liu <sdl.web@gmail.com>
11526
099c39a4
JB
11527 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11528 Fix typo.
37f1c930 11529
a32d4040
CY
115302011-04-09 Chong Yidong <cyd@stupidchicken.com>
11531
11532 * image-mode.el (image-toggle-display-image): Signal an error if
11533 not in Image mode.
11534 (image-transform-mode, image-transform-resize)
11535 (image-transform-set-rotation): Doc fix.
daca8ba5 11536 (image-transform-set-resize): Delete.
a32d4040
CY
11537 (image-transform-set-scale, image-transform-fit-to-height)
11538 (image-transform-fit-to-width): Handle image-toggle-display-image
11539 and image-transform-resize directly.
11540
099c39a4 115412011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
11542
11543 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
11544 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11545 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
11546 (doc-view-mode-map): Add bindings for the new functions.
11547
099c39a4 115482011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 11549
4d61f28d 11550 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
11551 Fix typo in docstring.
11552
3726838a
EZ
115532011-04-08 Eli Zaretskii <eliz@gnu.org>
11554
04f33f1e
EZ
11555 * files.el (file-size-human-readable): Produce one digit after
11556 decimal, like "ls -lh" does.
11557
11558 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11559 the file size representation.
11560
3726838a
EZ
11561 * simple.el (list-processes): If async subprocesses are not
11562 available, error out with a clear error message.
11563
cbb59342
CY
115642011-04-08 Chong Yidong <cyd@stupidchicken.com>
11565
11566 * help.el (help-form-show): New function, to be called from C.
11567 Put help-form output in a buffer named differently than *Help*.
11568
e3971c44
EZ
115692011-04-08 Eli Zaretskii <eliz@gnu.org>
11570
11571 * files.el (file-size-human-readable): New function.
11572
11573 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11574 computing the representation inline. Don't require `cl'.
11575
12544bbe
GM
115762011-04-08 Glenn Morris <rgm@gnu.org>
11577
a1de6c6a
GM
11578 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11579
3c4671f4
GM
11580 * net/browse-url.el (browse-url-firefox):
11581 Test system-type, not system-configuration.
11582
b605679c
GM
11583 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11584 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11585 Use log-edit-empty-buffer-p. (Bug#7598)
11586
56442f0c
GM
11587 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11588 (rlogin-mode-map): Initialize in the defvar.
11589 (rlogin): Use ignore-errors.
11590
12544bbe
GM
11591 * replace.el (occur-mode-map): Some fixes for menu items.
11592
eb237b0f
AH
115932011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11594
11595 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
11596
7d668f2c
CY
115972011-04-06 Chong Yidong <cyd@stupidchicken.com>
11598
e67a13ab
CY
11599 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11600 issuing unused warnings.
11601
11602 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11603 macro directly.
11604
7d668f2c
CY
11605 * simple.el: Lisp reimplement of list-processes. Based on an
11606 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11607 (process-menu-mode): New major mode.
11608 (list-processes--refresh, list-processes):
11609 (process-menu-visit-buffer): New functions.
11610
11611 * files.el (save-buffers-kill-emacs): Don't assume any return
11612 value of list-processes, which is undocumented anyway.
11613
a83ec3c9
CY
116142011-04-06 Chong Yidong <cyd@stupidchicken.com>
11615
11616 * emacs-lisp/tabulated-list.el: New file.
11617
e91a96fe
CY
11618 * emacs-lisp/package.el: Use Tabulated List mode.
11619 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11620 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11621 table format using Tabulated List mode variables.
11622 (package--push): New macro, replacing package-list-maybe-add.
11623 (package-menu--generate): Use package--push. Renamed from
11624 package--generate-package-list.
11625 (package-menu-refresh, list-packages): Use it.
daca8ba5 11626 (package-menu--print-info): Rename from package-print-package.
e91a96fe 11627 Return insertion data instead of inserting it directly.
099c39a4
JB
11628 (package-menu-describe-package, package-menu-execute):
11629 Use tabulated-list-get-id.
e91a96fe
CY
11630 (package-menu-mark-delete, package-menu-mark-install)
11631 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
11632 (package-menu-mark-obsolete-for-deletion):
11633 Use tabulated-list-put-tag.
e91a96fe
CY
11634 (package--list-packages, package-menu-revert)
11635 (package-menu-get-package, package-menu-get-version)
11636 (package-menu-sort-by-column): Functions deleted.
11637 (package-menu-package-list, package-menu-sort-key): Vars deleted.
11638 (package-menu--status-predicate, package-menu--version-predicate)
11639 (package-menu--name-predicate)
11640 (package-menu--description-predicate): Handle arguments in the
11641 Tabulated List format.
11642 (package-list-packages-no-fetch): Call list-packages.
11643
3e214b50
JB
116442011-04-06 Juanma Barranquero <lekktu@gmail.com>
11645
11646 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 11647 (after-find-file): Don't bind it.
3e214b50
JB
11648 (revert-buffer-in-progress-p): New variable.
11649 (revert-buffer): Bind it.
11650 Pass nil for `after-find-file-from-revert-buffer'.
11651
11652 * saveplace.el (save-place-find-file-hook): Use new variable
11653 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11654
3f0f1700
GM
116552011-04-06 Glenn Morris <rgm@gnu.org>
11656
c0274801
GM
11657 * Makefile.in (AUTOGEN_VCS): New variable.
11658 (autoloads): Use $AUTOGEN_VCS.
11659
3f0f1700
GM
11660 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11661 * calendar/calendar.el (calendar-mode-map):
11662 Check for toolkit scroll bars. (Bug#8305)
11663
41ea9e48
CY
116642011-04-05 Chong Yidong <cyd@stupidchicken.com>
11665
11666 * minibuffer.el (completion-in-region--postch)
11667 (completion-in-region-mode): Remove unnecessary messages.
11668
6194c800
JB
116692011-04-05 Juanma Barranquero <lekktu@gmail.com>
11670
33256f14
JB
11671 * font-lock.el (font-lock-refresh-defaults):
11672 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11673 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11674
6194c800
JB
11675 * info.el (Info-directory-list, Info-read-node-name-2)
11676 (Info-split-parameter-string): Doc fixes.
11677 (Info-virtual-nodes): Reflow docstring.
11678 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11679 (Info-apropos-toc-nodes, info-finder, Info-get-token)
11680 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11681 Fix typos in docstrings.
11682 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11683 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11684 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11685 (Info-restore-desktop-buffer): Mark unused parameters.
11686 (Info-directory-find-file, Info-directory-find-node)
11687 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11688 (Info-virtual-index-find-node, Info-apropos-find-file)
11689 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 11690 Mark unused parameters; fix typos in docstrings.
6194c800
JB
11691 (Info-virtual-index): Remove unused local variable `nodename'.
11692
b87a8200 116932011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 11694
b87a8200
DD
11695 * net/rcirc.el: Update my e-mail address.
11696 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 11697
3b2ff876
CY
116982011-04-05 Chong Yidong <cyd@stupidchicken.com>
11699
11700 * startup.el (command-line): Save the cursor's theme-face
11701 directly, instead of using face-override-spec.
11702
11703 * custom.el (load-theme): Minor optimization in assigning faces.
11704
8d17e7ca
JB
117052011-04-04 Juanma Barranquero <lekktu@gmail.com>
11706
11707 * help-fns.el (describe-variable): Complete all variables having
11708 documentation, including keywords.
11709 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11710
2fbc1934
JB
117112011-04-04 Juanma Barranquero <lekktu@gmail.com>
11712
11713 Convert to lexical-binding.
11714
11715 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11716 (bs--get-marked-string, bs--get-modified-string)
11717 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11718 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11719 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11720
11721 * ehelp.el (electric-help-execute-extended)
11722 (electric-help-ctrl-x-prefix):
11723 * hexl.el (hexl-revert-buffer-function):
11724 * linum.el (linum-after-change, linum-after-scroll):
11725 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11726
11727 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11728
74f50695
DU
117292011-04-04 Daiki Ueno <ueno@unixuser.org>
11730
11731 * epa-dired.el:
11732 * epa-mail.el:
11733 * epa-hook.el:
11734 * epa-file.el:
11735 * epa.el:
11736 * epg.el: Use lexical binding.
11737
c11325f7
CY
117382011-04-03 Chong Yidong <cyd@stupidchicken.com>
11739
0d9e9a12
CY
11740 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11741
c11325f7 11742 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
11743 dictionary case for flyspell-mark-duplications-exceptions.
11744 Use regexp matching for languages.
c11325f7
CY
11745 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11746 default dictionary (Bug#7926).
11747
da91b5f2
CY
117482011-04-02 Chong Yidong <cyd@stupidchicken.com>
11749
099c39a4
JB
11750 * emacs-lisp/package.el (package--with-work-buffer):
11751 Recognize https URLs.
da91b5f2 11752
099c39a4
JB
11753 * net/network-stream.el: Move from gnus/proto-stream.el.
11754 Change prefix to network-stream throughout.
da91b5f2
CY
11755 (open-protocol-stream): Merge into open-network-stream, leaving
11756 open-protocol-stream as an alias. Handle nil BUFFER args.
11757
11758 * subr.el (open-network-stream): Move to net/network-stream.el.
11759
afa8e9f6
GM
117602011-04-02 Glenn Morris <rgm@gnu.org>
11761
1d2e369d
GM
11762 * find-dired.el (find-exec-terminator): New option.
11763 (find-ls-option): Test for -ls support.
11764 (find-ls-subdir-switches): Test for -b in find-ls-option.
11765 (find-dired, find-grep-dired): Doc fixes.
11766 (find-dired): Use find-exec-terminator.
11767
8abb7da8 11768 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
11769 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11770 (find-name-arg): Remove purecopy.
8abb7da8 11771
f3ca7378
GM
11772 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11773 (grep-compute-defaults): Check for `-exec COMMAND +' support.
11774 Set grep-find-use-xargs, grep-find-command, and grep-find-template
11775 accordingly. Don't add the null-device if not needed.
11776
afa8e9f6
GM
11777 * files.el (save-some-buffers): Doc fix.
11778
35eae264
EZ
117792011-04-02 Eli Zaretskii <eliz@gnu.org>
11780
11781 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11782
26b51db5
JB
117832011-04-01 Juanma Barranquero <lekktu@gmail.com>
11784
11785 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11786 Use `dolist' rather than `mapcar'.
11787
7200d79c
SM
117882011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11789
03408648 11790 Add lexical binding.
7200d79c 11791
03408648
SM
11792 * subr.el (apply-partially): Use new closures rather than CL.
11793 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11794 (dolist, dotimes): Use slightly different expansion for lexical code.
11795 (functionp): Move to C.
11796 (letrec): New macro.
11797 (with-wrapper-hook): Use it and apply-partially instead of CL.
11798 (eval-after-load): Preserve lexical-binding.
11799 (save-window-excursion, with-output-to-temp-buffer): Turn them
11800 into macros.
7200d79c 11801
03408648
SM
11802 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11803
11804 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11805 than the arglist.
11806 (help-add-fundoc-usage): Don't add `Not documented'.
11807 (help-function-arglist): Handle closures, subroutines, and new
11808 byte-code-functions.
11809 (help-make-usage): Remove leading underscores.
11810 (describe-function-1): Handle closures.
11811 (describe-variable): Use special-variable-p for completion.
11812
11813 * files.el (lexical-binding): Declare safe.
f488fb65 11814
03408648
SM
11815 * emacs-lisp/pcase.el: Don't use destructuring-bind.
11816 (pcase--memoize): Rename from pcase-memoize. Change weakness.
11817 (pcase): Add `let' pattern.
11818 Change memoization so it actually works.
11819 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11820 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11821 <let>: New case.
f488fb65 11822
03408648
SM
11823 * emacs-lisp/macroexp.el: Use lexical binding.
11824 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
11825 Don't convert ' to #' without checking that it's indeed quoting
11826 a lambda.
11827
11828 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 11829 Use eval-sexp-add-defvars.
03408648
SM
11830 (eval-sexp-add-defvars): New fun.
11831
11832 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11833
11834 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11835 Don't autoload.
11836 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11837 than the internal `byte-compile-lambda'.
11838 (defmethod): Don't hide code under quotes.
11839 (eieio-defmethod): New `code' argument.
11840
11841 * emacs-lisp/eieio-comp.el: Remove.
11842
11843 * emacs-lisp/edebug.el (edebug-eval-defun)
11844 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11845 (edebug-toggle): Avoid `eval'.
11846
11847 * emacs-lisp/disass.el (disassemble-internal): Handle new
11848 `closure' objects.
11849 (disassemble-1): Handle new byte codes.
11850
11851 * emacs-lisp/cl.el (pushnew): Silence warning.
11852
11853 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11854 (cl-byte-compile-throw): Remove.
11855 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11856
11857 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11858 closures.
11859
11860 * emacs-lisp/cconv.el: New file.
11861
11862 * emacs-lisp/bytecomp.el: Use lexical binding instead of
11863 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
11864 (byte-compile-initial-macro-environment):
11865 Handle declare-function here.
11866 (byte-compile--lexical-environment): New var.
11867 (byte-stack-ref, byte-stack-set, byte-discardN)
11868 (byte-discardN-preserve-tos): New lap codes.
11869 (byte-interactive-p): Don't use any more.
11870 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11871 New macros.
11872 (byte-compile-lapcode): Use them and handle new lap codes.
11873 (byte-compile-obsolete): Remove.
11874 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11875 (byte-compile-arglist-warn): Check late def of inlinable funs.
11876 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11877 since they should have been expanded by now.
11878 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11879 (byte-compile-from-buffer): Remove unused second arg.
11880 (byte-compile-preprocess): New function.
11881 (byte-compile-toplevel-file-form): New function to distinguish
11882 file-form calls from outside from file-form calls from hunk-handlers.
11883 (byte-compile-file-form): Simplify.
11884 (byte-compile-file-form-defsubst): Remove.
11885 (byte-compile-file-form-defmumble): Simplify now that
11886 byte-compile-lambda always returns a byte-code-function.
11887 (byte-compile): Preprocess.
11888 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11889 Remove, not used any more.
11890 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11891 (byte-compile-make-args-desc): New funs.
11892 (byte-compile-lambda): Handle lexical functions. Always return
11893 a byte-code-function.
11894 (byte-compile-reserved-constants): New var, to make up room for
11895 closed-over variables.
11896 (byte-compile-constants-vector): Obey it.
11897 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11898 (byte-compile-macroexpand-declare-function): New function.
11899 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11900 byte-code-functions.
11901 (byte-compile-form): Check obsolescence here.
11902 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11903 (byte-compile-variable-ref): Remove.
11904 (byte-compile-dynamic-variable-op): New fun.
11905 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11906 (byte-compile-variable-set): New funs.
11907 (byte-compile-discard): Add 2 args.
11908 (byte-compile-stack-ref, byte-compile-stack-set)
11909 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11910 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11911 macroexpand-all instead.
11912 (byte-compile-quote-form): Remove.
11913 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11914 (byte-compile-bind, byte-compile-unbind): New funs.
11915 (byte-compile-let): Handle let* and lexical binding.
11916 (byte-compile-let*): Remove.
11917 (byte-compile-catch, byte-compile-unwind-protect)
11918 (byte-compile-track-mouse, byte-compile-condition-case):
11919 Handle a new :fun-body form, used for lexical scoping.
11920 (byte-compile-save-window-excursion)
11921 (byte-compile-with-output-to-temp-buffer): Remove.
11922 (byte-compile-defun): Simplify.
11923 (byte-compile-stack-adjustment): New fun.
11924 (byte-compile-out): Use it.
11925 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11926
11927 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11928 handler any more.
11929
11930 * emacs-lisp/byte-opt.el: Use lexical binding.
11931 (byte-inline-lapcode): Remove (to bytecomp).
11932 (byte-compile-inline-expand): Pay attention to inlining to/from
11933 lexically bound code.
11934 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11935 any more.
11936 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11937 any more and don't call compiler-macros.
11938 (byte-compile-splice-in-already-compiled-code): Remove.
11939 (byte-code): Don't inline any more.
11940 (disassemble-offset): Receive `bytes' as argument rather than via
11941 dynamic scoping.
11942 (byte-compile-tag-number): Declare before first use.
11943 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11944 `return' even if make-spliceable.
11945 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11946 obsolete interactive-p.
11947 (byte-optimize-lapcode): Optimize new lap-codes.
11948 Don't trip up on new form of `byte-constant' lap code.
11949
11950 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11951
11952 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11953
11954 * custom.el (custom-initialize-default, custom-declare-variable):
11955 Use `defvar'.
11956
11957 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11958 New variables.
11959 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11960 (COMPILE_FIRST): Add macroexp and cconv.
11961 * makefile.w32-in: Mirror changes in Makefile.in.
11962
11963 * vc/cvs-status.el:
11964 * vc/diff-mode.el:
11965 * vc/log-edit.el:
11966 * vc/log-view.el:
11967 * vc/smerge-mode.el:
11968 * textmodes/bibtex-style.el:
11969 * textmodes/css.el:
11970 * startup.el:
11971 * uniquify.el:
da91b5f2
CY
11972 * minibuffer.el:
11973 * newcomment.el:
11974 * reveal.el:
11975 * server.el:
11976 * mpc.el:
11977 * emacs-lisp/smie.el:
11978 * doc-view.el:
11979 * dired.el:
03408648
SM
11980 * abbrev.el: Use lexical binding.
11981
0f0c1f27
EZ
119822011-04-01 Eli Zaretskii <eliz@gnu.org>
11983
11984 * info.el (info-display-manual): New function.
11985
c82b2579
SM
119862011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11987
11988 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11989
221ddf68
TH
119902011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11991
11992 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 11993 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 11994
cba6e77e
GM
119952011-03-31 Glenn Morris <rgm@gnu.org>
11996
e040639f
GM
11997 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11998
cba6e77e
GM
11999 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12000
6d0f1c9e
CS
120012011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12002
12003 * progmodes/python.el (python-default-interpreter)
12004 (python-python-command-args, python-jython-command-args)
12005 (python-which-shell, python-which-args, python-which-bufname)
12006 (python-file-queue, python-comint-output-filter-function)
12007 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12008 variables and functions.
12009
3e2d70fd
SM
120102011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12011
12012 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12013 (completion-in-region-mode): New minor mode.
12014 (completion-in-region): Use it.
12015 (completion-in-region--data, completion-in-region-mode-map): New vars.
12016 (completion-in-region--postch): New function.
12017 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12018 New vars.
12019 (completion--capf-wrapper): New function.
12020 (completion-at-point): Use it to track well-behavedness of
12021 hook functions.
12022 (completion-help-at-point): New command.
12023
f3e4086c
JM
120242011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12025
12026 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12027 syntax class to search for whitespace on a single line
12028 (Message-ID: <4D938140.4030905@redhat.com>).
12029
eb7ffc14
LL
120302011-03-30 Leo Liu <sdl.web@gmail.com>
12031
12032 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12033 New commands.
12034 (edit-abbrevs-map): Bind them here.
12035 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12036
d806ab68
KM
120372011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12038
12039 * allout.el (allout-hide-by-annotation, allout-flag-region):
12040 Reduce possibility of overlay leakage by making them volatile.
12041
12042 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12043 hash is not shared between buffers. Mode initialization is
12044 responsible for giving it a useful starting value.
12045 (allout-item-span): Reduce possibility of overlay leakage by
12046 making them volatile.
12047 (allout-widgets-count-buttons-in-region): Add diagnostic function
12048 for tracking down button overlay leaks.
12049
ea622834
LL
120502011-03-29 Leo Liu <sdl.web@gmail.com>
12051
12052 * ido.el (ido-read-internal): Use the default history var
12053 minibuffer-history if no HISTORY is specified.
12054
b62f8267
G
120552011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12056
03408648
SM
12057 * net/imap.el (imap-shell-open, imap-process-connection-type):
12058 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
12059 Kerberos, SSL, other subprocesses.
12060
947b6566
LL
120612011-03-28 Leo Liu <sdl.web@gmail.com>
12062
12063 * abbrev.el (abbrev-table-empty-p): New function.
12064 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12065 nonempty ones. (Bug#5937)
12066
5ffb62aa
JD
120672011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12068
12069 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12070
7a097943
LL
120712011-03-27 Leo Liu <sdl.web@gmail.com>
12072
12073 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12074 for foreground and background colors.
12075 (ansi-color-make-color-map): Adapt.
12076
c5b40130
LL
120772011-03-25 Leo Liu <sdl.web@gmail.com>
12078
1f48f7d2
LL
12079 * midnight.el (midnight-time-float): Remove. Note it calculates
12080 the microsecond component incorrectly and seconds-to-time does the
12081 same job.
625897ec 12082 Remove redundant (require 'timer).
1f48f7d2 12083
c5b40130
LL
12084 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12085 (ido-completions): Remove unused arguments. (Bug#8329)
12086
d86d2721
SM
120872011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12088
12089 * minibuffer.el (completion--flush-all-sorted-completions):
12090 Remove itself from hook.
12091 (completion-at-point): Let the functions perform the completion
12092 immediately and return nil or t.
12093 * comint.el (comint-dynamic-complete-functions): Now identical to
12094 completion-at-point-functions.
12095 (comint-dynamic-list-input-ring): Remove unused var `index'.
12096 (comint--match-partial-filename, comint--unquote&expand-filename):
12097 New funs, split from comint-match-partial-filename.
12098 (comint-dynamic-complete): Use completion-at-point.
12099 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12100
e8974c48
DA
121012011-03-24 Drew Adams <drew.adams@oracle.com>
12102
12103 * thingatpt.el: Support `defun'.
12104
def71b5e
LL
121052011-03-23 Leo Liu <sdl.web@gmail.com>
12106
cb5af48e
LL
12107 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12108
def71b5e
LL
12109 * help-mode.el (help-mode-finish): Tweak regexp.
12110
927c53e7
GM
121112011-03-23 Glenn Morris <rgm@gnu.org>
12112
18d05bed
GM
12113 * eshell/esh-opt.el (eshell-eval-using-options):
12114 Do not bind unused local variable `eshell-option-stub'.
12115
927c53e7
GM
12116 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12117
9d0da923
JB
121182011-03-22 Juanma Barranquero <lekktu@gmail.com>
12119
12120 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12121 keymap variable in `with-no-warnings' to avoid a warning when the
12122 keymap has been already `defconst'ed.
12123
4b978a67
LL
121242011-03-22 Leo Liu <sdl.web@gmail.com>
12125
12126 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12127 encode all chars in abbrevs; otherwise use emacs-mule or
12128 utf-8-emacs. (Bug#8308)
12129
5fd62452
JB
121302011-03-22 Juanma Barranquero <lekktu@gmail.com>
12131
0b1596c6
JB
12132 * simple.el (backward-delete-char-untabify):
12133 Avoid warning about using `delete-backward-char'.
12134
5fd62452
JB
12135 * image.el (image-type-file-name-regexps): Make it variable.
12136 `imagemagick-register-types' modifies it, and the user may want
12137 to add new extensions for known image types.
12138 (imagemagick-register-types): Throw error if not using ImageMagick.
12139
0b4e93f1
LL
121402011-03-22 Leo Liu <sdl.web@gmail.com>
12141
12142 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12143 located before rcirc-prompt-end-marker.
12144 (rcirc-complete): Error if point is not after rcirc prompt.
12145 Handle the case when table is nil.
9882e214 12146 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 12147
fccee4ab
CY
121482011-03-22 Chong Yidong <cyd@stupidchicken.com>
12149
12150 * custom.el (custom--inhibit-theme-enable): Make it affect only
12151 custom-theme-set-variables and custom-theme-set-faces.
12152 (provide-theme): Ignore custom--inhibit-theme-enable.
12153 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12154 (custom-enabling-themes): Delete variable.
d86d2721
SM
12155 (enable-theme): Accept only loaded themes as arguments.
12156 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
12157 (custom-enabled-themes): Forbid themes from setting this.
12158 Eliminate use of custom-enabling-themes.
12159 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 12160
af896da6
LL
121612011-03-21 Leo Liu <sdl.web@gmail.com>
12162
12163 * ido.el (ido-read-internal): Add ido-selected to history instead
12164 of user input.
12165
78f64af0
SM
121662011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12167
12168 * subr.el (deferred-action-list, deferred-action-function):
12169 Mark obsolete.
12170
b16ac1ec
LL
121712011-03-21 Leo Liu <sdl.web@gmail.com>
12172
810f7698
LL
12173 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12174 change on 2011-02-13 (bug#8309).
12175
b16ac1ec
LL
12176 * minibuffer.el (read-file-name-function): Change default value.
12177 (read-file-name--defaults): Rename from read-file-name-defaults.
12178 (read-file-name-default): Rename from read-file-name.
12179 (read-file-name): Call read-file-name-function.
12180
4e05e67e
GM
121812011-03-21 Glenn Morris <rgm@gnu.org>
12182
12183 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12184 Doc fixes.
12185
4359915b
CY
121862011-03-21 Chong Yidong <cyd@stupidchicken.com>
12187
12188 * cus-theme.el: Add missing provide statement.
12189 (customize-create-theme): Extract theme value correctly.
12190 (custom-theme-visit-theme): Autoload.
12191 (customize-create-theme): Prompt before inserting default faces.
12192
1fe275ee
JB
121932011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12194
12195 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12196 units and musical notes.
12197
cd394be1 121982011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
12199
12200 * ido.el (ido-read-internal): Use completing-read-default.
12201 (ido-completing-read): Fix compatibility with completing-read.
12202
7d476bde
CO
122032011-03-20 Christian Ohler <ohler@gnu.org>
12204
12205 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12206 (ert-delete-all-tests): Use `called-interactively-p' rather than
12207 `interactive-p'.
12208 (ert--make-xrefs-region): Respect END.
12209
fe0fb33e
CY
122102011-03-19 Chong Yidong <cyd@stupidchicken.com>
12211
ff854b0b
CY
12212 * dired-aux.el (dired-create-directory): Signal an error if the
12213 directory already exists (Bug#8246).
12214
fe0fb33e
CY
12215 * facemenu.el (list-colors-display): Call list-faces-display
12216 inside with-help-window.
12217 (list-colors-print): Use display property to align the final
12218 column, instead of checking window-width.
12219
576bce32
EZ
122202011-03-19 Eli Zaretskii <eliz@gnu.org>
12221
4d61f28d 12222 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
12223 windows-nt systems.
12224 (emerge-protect-metachars): Quote correctly for ms-dos and
12225 windows-nt systems.
12226
89c41d68 122272011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
12228
12229 * info.el (info-initialize): Replace all uses of `:' with
12230 path-separator for compatibility with non-Unix systems.
12231 Cache quoting of path-separator. (Bug#8258)
12232
b14e3e21 122332011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
12234
12235 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12236 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12237 (mouse-avoidance-mode): Fix typos in docstrings.
12238
4525ce3e
CY
122392011-03-19 Chong Yidong <cyd@stupidchicken.com>
12240
12241 * startup.el (package-subdirectory-regexp): Move from package.el.
12242 Omit \\` and \\', and let callers add them.
12243
12244 * emacs-lisp/package.el (package-strip-version)
12245 (package-load-all-descriptors): Add \\` and \\' to
12246 package-subdirectory-regexp before using it.
12247 (package-untar-buffer): New arg DIR; ensure that file untars only
12248 into this expected directory. Remove superfluous delete-region.
12249 (package-unpack): Caller changed.
12250 (package-tar-file-info): Use package-subdirectory-regexp.
12251
a904a09a 122522011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 12253
a904a09a
SM
12254 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12255 diff-mode-shared-map (bug#8284).
12256 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
12257
122582011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12259
12260 * calendar/time-date.el (format-seconds): Use assoc instead of
12261 assoc-string, since assoc-string doesn't exist in XEmacs.
12262
171fc304
JB
122632011-03-17 Juanma Barranquero <lekktu@gmail.com>
12264
12265 * custom.el (custom-known-themes): Reflow docstring.
12266 (custom-theme-load-path): Fix typo in docstring.
12267 (load-theme): Fix typo in error message.
12268 (custom-available-themes, custom-variable-theme-value):
12269 Use `let', not `let*'.
12270
d71990a1
JB
122712011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12272
12273 * calc/README: Mention inclusion of musical notes.
12274
12275 * calc/calc-units.el (calc-lu-quant): Rename from
12276 `calc-logunits-quantity'.
12277 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12278 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12279 (calc-db): Rename from `calc-dblevel'.
12280 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12281 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12282 (calc-np): Rename from `calc-nplevel'.
12283 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12284 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12285 (calc-lu-plus): Rename from `calc-logunits-add'.
12286 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12287 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12288 (calc-lu-minus): Rename from `calc-logunits-sub'.
12289 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12290 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12291 (calc-lu-times): Rename from `calc-logunits-mul'.
12292 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12293 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12294 (calc-lu-divide): Rename from `calc-logunits-div'.
12295 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12296 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12297
12298 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12299 functions being autoloaded.
12300
12301 * calc/calc.el (calc-lu-power-reference): Rename from
12302 `calc-logunits-power-reference'.
12303 (calc-lu-field-reference): Rename from
12304 `calc-logunits-field-reference'.
12305
7a71b18d
GM
12306 * calc/calc-help.el (calc-l-prefix-help):
12307 Mention musical note functions.
d71990a1 12308
40c2934b
SM
123092011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12310
12311 * minibuffer.el (completion-all-sorted-completions):
12312 Use :completion-cycle-penalty text property if present.
12313
b0911414
KM
123142011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12315
12316 * allout.el (allout-yank-processing): Adjust for new rebulleting
12317 regime so bullet being yanked is used without prompting the user
12318 for a choice.
12319
8a05b668
JB
123202011-03-16 Juanma Barranquero <lekktu@gmail.com>
12321
12322 * startup.el (command-line): Warn the user that _emacs is deprecated.
12323
5ba5fb81
JB
123242011-03-16 Juanma Barranquero <lekktu@gmail.com>
12325
12326 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12327 (delphi-verbose, delphi-comment-face, delphi-string-face)
12328 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12329 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12330 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12331 (delphi-new-comment-line, delphi-font-lock-defaults)
12332 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12333 Fix typos in docstrings.
12334
2dab465b
KM
123352011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12336
5ba5fb81 12337 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
12338 Invert the roles of character and string values for INSTEAD, so a
12339 string is used for the more common case of a defaulting prompt.
12340
0adf5618
SM
123412011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12342
12343 * progmodes/ruby-mode.el (ruby-backward-sexp):
12344 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12345 * play/gamegrid.el (gamegrid-make-face):
12346 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12347 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12348 * notifications.el (notifications-notify):
12349 * net/xesam.el (xesam-search-engines):
12350 * net/quickurl.el (quickurl-list-insert):
12351 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12352
d72700e5
CY
123532011-03-15 Chong Yidong <cyd@stupidchicken.com>
12354
12355 * startup.el (command-line): Update package subdirectory regexp.
12356
49c5410a
SM
123572011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12358
c6eee9aa
SM
12359 * allout.el (allout-abbreviate-flattened-numbering)
12360 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12361
49c5410a
SM
12362 * subr.el (read-char-choice): Only show the cursor after the prompt,
12363 not after the answer.
12364
047b2bb9
KR
123652011-03-15 Kevin Ryde <user42@zip.com.au>
12366
12367 * help-fns.el (variable-at-point): Skip leading quotes, if any
12368 (bug#8253).
12369
0a57d256
SM
123702011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12371
12372 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12373 warning message.
12374
77c992bc
MA
123752011-03-14 Michael Albinus <michael.albinus@gmx.de>
12376
12377 * shell.el (shell): When called interactively, offer to change the
12378 shell file name on remote hosts.
12379
eebc475d
TZ
123802011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12381
12382 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12383 integration for LDAP parameters. The host, base, user or binddn,
12384 and secret tokens can be specified in a netrc file, for instance.
12385 This is optional because an `auth-source' parameter must be
12386 specified in the search attributes.
12387
9d05d1ba
JB
123882011-03-13 Juanma Barranquero <lekktu@gmail.com>
12389
12390 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12391
09d9db2c
GM
123922011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12393
12394 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12395 into declaration. Remove redundant and harmful binding.
12396
123972011-03-12 Eli Zaretskii <eliz@gnu.org>
12398
12399 * files.el (file-ownership-preserved-p): Pass `integer' as an
12400 explicit 2nd argument to `file-attributes'. If the file's owner
12401 is the Administrators group on Windows, and the current user is
12402 Administrator, consider that a match.
12403
12404 * server.el (server-ensure-safe-dir): Consider server directory
12405 safe on MS-Windows if its owner is the Administrators group while
12406 the current Emacs user is Administrator. Use `=' to compare
12407 numerical UIDs, since they could be integers or floats.
12408
219bd536
JB
124092011-03-12 Juanma Barranquero <lekktu@gmail.com>
12410
12411 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12412
f3afd36b
MA
124132011-03-12 Michael Albinus <michael.albinus@gmx.de>
12414
12415 Sync with Tramp 2.2.1.
12416
12417 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12418
12419 * net/trampver.el: Update release number.
12420
3aaaa6f1
SM
124212011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12422
94642599
SM
12423 * progmodes/compile.el (compilation--previous-directory): Fix up
12424 various nil/dead-marker mismatches (bug#8014).
12425 (compilation-directory-properties, compilation-error-properties):
12426 Don't call it at a position past the one we're about to change.
12427
3aaaa6f1
SM
12428 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12429 Disable obsolescence warnings in the file that declares it.
12430
14239447
KM
124312011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12432
099c39a4
JB
12433 * allout-widgets.el (allout-widgets-tally):
12434 Initialize allout-widgets-tally as a hash table rather than nil to
12435 prevent mode-line redisplay warnings. Also, clarify the module
12436 description and fix a comment typo.
14239447 12437
135e287c
JB
124382011-03-11 Juanma Barranquero <lekktu@gmail.com>
12439
12440 * help-fns.el (describe-variable): Don't complete keywords.
12441 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12442
ffbf300e
CY
124432011-03-10 Chong Yidong <cyd@stupidchicken.com>
12444
ba08b241
CY
12445 * emacs-lisp/package.el (package-version-join): Impose a standard
12446 string representation for pre/alpha/beta version lists.
12447 (package-unpack-single): Standardize the directory name by passing
12448 it through package-version-join.
12449 (package-strip-rcs-id): Accept any version string that does not
12450 signal an error in version-to-list.
ffbf300e 12451
f346fd6b
MA
124522011-03-10 Michael Albinus <michael.albinus@gmx.de>
12453
12454 * simple.el (delete-trailing-whitespace): Return nil for the
12455 benefit of `write-file-functions'.
12456
ccb55d27
GM
124572011-03-10 Glenn Morris <rgm@gnu.org>
12458
5ceaac0c
GM
12459 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12460
02da65ff
GM
12461 * vc/vc-git.el (vc-git-program): New option.
12462 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12463 (vc-git--call): Use it.
12464
b2f603cc
GM
12465 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12466
5772caab
GM
12467 * cus-edit.el (Custom-newline): If no button at point, look
12468 for a subgroup button at start-of-line. (Bug#2298)
12469
ccb55d27
GM
12470 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12471
ec6ecaed
JD
124722011-03-10 Julien Danjou <julien@danjou.info>
12473
12474 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12475 `cursor-type' is nil.
12476
9d5aa01d
JB
124772011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
12478
12479 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12480
b6a5875b
KM
124812011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
12482
7a71b18d 12483 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
12484 preserves the existing header prefix, rebulleting it if necessary,
12485 rather than replacing it. This is necessary for proper operation
12486 of cooperative addons like allout-widgets.
1154d12e
JB
12487 (allout-make-topic-prefix, allout-rebullet-heading):
12488 Change SOLICIT arg to INSTEAD, and interpret additionally a string
12489 value as alternate bullet to be used, instead of prompting the user
12490 for a bullet character.
b6a5875b 12491
ee545c35
MA
124922011-03-09 Michael Albinus <michael.albinus@gmx.de>
12493
d86d2721
SM
12494 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12495 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
12496 `tramp-default-port'.
12497
c47971d7
DD
124982011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12499
12500 * net/rcirc.el (rcirc-handler-001): Remove useless
12501 with-rcirc-process-buffer.
12502 (rcirc-check-auth-status): Swap arguments to string-match.
12503
13522cb4
GM
125042011-03-09 Glenn Morris <rgm@gnu.org>
12505
0be6f4f1
GM
12506 * shell.el (shell-mode):
12507 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
12508
13522cb4
GM
12509 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12510 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
12511
515de2e3
CY
125122011-03-08 Chong Yidong <cyd@stupidchicken.com>
12513
12514 * emacs-lisp/package.el (package-refresh-contents)
12515 (package-menu-execute): Use condition-case-no-debug.
12516
b511b994
MA
125172011-03-08 Michael Albinus <michael.albinus@gmx.de>
12518
12519 * simple.el (shell-command-to-string): Use `process-file'.
12520
12521 * emacs-lisp/package.el (package-tar-file-info): Handle also
12522 remote files.
12523
d86d2721
SM
12524 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12525 Use `equal' for upload base check.
b511b994 12526
25bbfb31
AM
125272011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12528
12529 * textmodes/texinfo.el (texinfo-environments):
12530 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
12531
be996521
GM
125322011-03-08 Glenn Morris <rgm@gnu.org>
12533
e9c8529f
GM
12534 * cus-start.el (cursor-in-non-selected-windows):
12535 Fix :set quoting oddness. (Bug#8192)
12536
be996521
GM
12537 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12538 in some setf expressions. (Bug#2159)
12539
2bb5649e
CY
125402011-03-08 Chong Yidong <cyd@stupidchicken.com>
12541
12542 * custom.el (custom-available-themes): Return themes in
12543 alphabetical order.
12544
33383987 12545See ChangeLog.15 for earlier changes.
e3d51b27
MR
12546
12547;; Local Variables:
12548;; coding: utf-8
e3d51b27
MR
12549;; End:
12550
acaf905b 12551 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
12552
12553 This file is part of GNU Emacs.
12554
12555 GNU Emacs is free software: you can redistribute it and/or modify
12556 it under the terms of the GNU General Public License as published by
12557 the Free Software Foundation, either version 3 of the License, or
12558 (at your option) any later version.
12559
12560 GNU Emacs is distributed in the hope that it will be useful,
12561 but WITHOUT ANY WARRANTY; without even the implied warranty of
12562 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12563 GNU General Public License for more details.
12564
12565 You should have received a copy of the GNU General Public License
12566 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.