1 2012-04-16 Glenn Morris <rgm@gnu.org>
3 * emacs-lisp/cl-extra.el (*random-state*):
4 Remove unnecessary declaration.
6 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8 * play/cookie1.el (cookie-snarf):
9 Give an explicit error if input file cannot be read.
11 * play/yow.el (yow-file): Use expand-file-name rather than concat.
13 * progmodes/perl-mode.el (c-macro-expand):
14 Remove unnecessary autoload (it is in loaddefs.el).
16 * textmodes/picture.el (picture-desired-column)
17 (picture-update-desired-column): Convert comments to doc-strings.
18 (picture-substitute): Remove function.
19 (picture-mode-map): Initialize in the defvar.
21 * woman.el: Remove eval-after-load for tar-mode.
22 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
23 (woman-tar-extract-file): Autoload it.
25 * frame.el (automatic-hscrolling): Make this alias obsolete.
27 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
29 * ispell.el (ispell-set-spellchecker-params): Post-process
30 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
31 (ispell-dictionary-base-alist): Revert to original XEmacs
32 friendly version for default. [:alpha:] will be added in
33 `ispell-set-spellchecker-params' if needed
35 2012-04-16 Chong Yidong <cyd@gnu.org>
37 * image.el (imagemagick--extension-regexp): New variable.
38 (imagemagick-register-types): Use it.
39 (imagemagick-types-inhibit): Add :set function. Allow new value
40 of t to inhibit all types.
42 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
45 * loadup.el (fboundp): Preload regexp-opt, needed by
46 imagemagick-register-types.
48 2012-04-15 Chong Yidong <cyd@gnu.org>
50 * frame.el (scrolling): Remove nearly unused customization group.
52 * scroll-all.el (scroll-all-mode): Move to windows group.
54 2012-04-15 Chong Yidong <cyd@gnu.org>
56 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
58 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
60 Avoid the use of ((lambda ...) ...) in lexical-binding code.
61 * emacs-lisp/easy-mmode.el (define-minor-mode):Use funcall (bug#11241).
63 2012-04-15 Glenn Morris <rgm@gnu.org>
65 * simple.el (process-file-side-effects): Doc fix.
67 2012-04-15 Glenn Morris <rgm@gnu.org>
69 * international/mule-cmds.el (set-language-environment): Doc fix.
71 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
73 * server.el (server-auth-key, server-generate-key): Doc fixes.
74 (server-get-auth-key): Doc fix. Use `string-match-p'.
75 (server-start): Reflow docstring.
77 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
79 * server.el (server-generate-key): `called-interactively-p'
82 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
84 * server.el (server-auth-key): New variable.
85 (server-generate-key, server-get-auth-key): New function.
86 (server-start): Use the new variable and functions to allow
87 setting a permanent server key (bug#9423).
89 2012-04-14 Leo Liu <sdl.web@gmail.com>
91 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
93 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
96 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
97 Emacs uses American spelling.
99 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
101 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
102 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
103 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
104 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
106 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
108 * progmodes/which-func.el (which-func-modes): Change default.
110 2012-04-14 Kim F. Storm <storm@cua.dk>
112 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
113 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
115 2012-04-14 Chong Yidong <cyd@gnu.org>
117 * custom.el (custom-theme-set-variables): Doc fix.
119 2012-04-14 Glenn Morris <rgm@gnu.org>
121 * international/mule.el (set-auto-coding-for-load): Doc fix.
123 2012-04-14 Alan Mackenzie <acm@muc.de>
125 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
126 imenu work again for Objective C Mode. Correct the *-index values,
127 these having been disturbed by a previous change in 2011-08.
129 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
130 Correct two search limits.
132 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
134 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
136 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
138 * international/characters.el: Fix sorting.
140 2012-04-14 Eli Zaretskii <eliz@gnu.org>
142 * international/characters.el: Add more missing Latin case pairs.
144 2012-04-14 Glenn Morris <rgm@gnu.org>
146 * files.el (dir-locals-set-class-variables): Doc fix.
148 2012-04-14 Eli Zaretskii <eliz@gnu.org>
150 * international/characters.el: Add set-case-syntax-pair call for
151 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
152 counterpart. (Bug#11209)
154 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
156 2012-04-14 Glenn Morris <rgm@gnu.org>
158 * calendar/holidays.el (calendar-check-holidays): Doc fix.
160 2012-04-14 Eli Zaretskii <eliz@gnu.org>
162 * textmodes/ispell.el (ispell-dictionary-base-alist):
165 2012-04-14 Chong Yidong <cyd@gnu.org>
167 * net/rcirc.el (rcirc-cmd-quit):
168 Revert 2012-03-18 change (Bug#11192).
170 2012-04-14 Glenn Morris <rgm@gnu.org>
172 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
174 2012-04-14 Eli Zaretskii <eliz@gnu.org>
176 * minibuffer.el (completion-in-region-mode-map):
177 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
179 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
181 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
183 2012-04-13 Masatake YAMATO <yamato@redhat.com>
185 * minibuffer.el (minibuffer-local-filename-syntax): New variable
186 to allow `C-M-f' and `C-M-b' to move to the nearest path
187 separator (bug#9511).
189 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
191 * avoid.el: Require cl when compiling. And also move the
192 `provide' to the end.
194 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
196 * avoid.el (mouse-avoidance-banish-position): New variable.
197 (mouse-avoidance-banish-destination): Use it (bug#10165).
199 2012-04-13 Leo Liu <sdl.web@gmail.com>
201 * progmodes/which-func.el (which-func-modes): Add objc-mode.
203 2012-04-13 Ken Brown <kbrown@cornell.edu>
205 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
206 this is no longer needed now that cygstart understands file:// URLs.
207 (browse-url-filename-alist): For the same reason, don't modify
208 file:// URLs on Cygwin.
210 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
212 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
213 the region on shift if the binding is already shifted (bug#11221).
215 2012-04-12 Glenn Morris <rgm@gnu.org>
217 * mail/mailpost.el: Move to obsolete/.
219 2012-04-12 Drew Adams <drew.adams@oracle.com>
221 * imenu.el (imenu--generic-function): Ignore invisible definitions
224 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
226 * hexl.el (hexl-bits): New variable.
227 (hexl-options): Mention the variable in the doc string.
228 (hexl-rulerise, hexl-line-displen): New functions.
229 (hexl-mode): Mention the new variable.
230 (hexl-mode, hexl-current-address, hexl-current-address):
232 (hexl-ascii-start-column): New function.
233 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
234 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
236 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
238 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
239 '("-i" ENCODING), in 2 separate command-line arguments, to specify
240 the encoding, as expected by hunspell.
242 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
244 * battery.el (battery--linux-sysfs-regexp): New const.
245 (battery-status-function): Use it. Remove yeeloong special case.
246 (battery-yeeloong-sysfs): Remove.
247 (battery-echo-area-format): Remove yeeloong special case.
249 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
251 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
252 Reported by Noah Friedman.
254 * subr.el (read-passwd): Use read-string.
256 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
258 * vcursor.el (vcursor-move): Increase the priority of the overlay
261 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
263 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
264 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
266 2012-04-11 William Stevenson <yhvh2000@gmail.com>
268 * textmodes/artist.el (artist-mode): Convert artist-mode to use
269 define-minor-mode (bug#10760).
271 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
273 * lisp/progmodes/grep.el (rgrep): Tweak the find command line so
274 that directories matching `grep-find-ignored-files' won't be
277 2012-04-11 Chong Yidong <cyd@gnu.org>
279 * startup.el (command-line): Remove support for long-obsolete
280 variable font-lock-face-attributes.
282 2012-04-11 Glenn Morris <rgm@gnu.org>
284 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
286 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
288 * window.el (window--state-get-1): Obey window-point-insertion-type.
290 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
292 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
293 to previous function when point is on the first character of a
294 function. Take care of that in `narrow-to-defun' (bug#6157).
296 2012-04-11 Glenn Morris <rgm@gnu.org>
298 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
299 not just file-errors.
301 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
302 (vc-bzr-sha1): Use internal sha1.
304 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
306 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
308 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
310 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
311 that start in the middle of the line (bug#10496).
313 2012-04-10 Dan Nicolaescu <dann@gnu.org>
315 * battery.el (battery-linux-proc-acpi): Only one battery is
316 discharged at a time, but that seems to confuse battery.el when
317 computing `rate-type' for the battery not being discharged
320 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
322 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
324 * international/quail.el: Use dolist and simplify.
325 (quail-define-package, quail-update-keyboard-layout)
326 (quail-define-rules): Use dolist.
327 (quail-insert-kbd-layout, quail-get-translation): CSE.
329 * tmm.el: Use dolist, remove left over hook.
330 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
332 (calendar-load-hook): Don't mess with it.
334 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
335 Use derived-mode-p. Run the diff asynchronously.
337 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
339 * obsolete/mouse-sel.el: Add an Obsolete-since header.
341 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
343 * misc.el: Display absolute path of loaded DLLs (bug#10424).
344 (list-dynamic-libraries--loaded): New function.
345 (list-dynamic-libraries--refresh): Use it.
347 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
349 * progmodes/python.el (python-fill-paragraph):
350 Make python-fill-region in a multiline string work when font-lock is
353 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
355 * language/european.el (cp775): Add oem/legacy (en)coding on
356 DOS/MS Windows for the Baltic languages. There are still plenty
357 of texts written in this encoding/codepage (bug#6519).
359 2012-04-10 Glenn Morris <rgm@gnu.org>
361 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
362 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
364 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
366 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
367 next-line "n" and previous-line "p" in order to make recentf more
368 consistent with ibuffer, dired or org-mode (bug#9387).
370 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
372 * image.el (put-image): Return the overlay created instead of the
373 optional input string (bug#7834). Note that this may break code
374 that is (for some reason or other) depending on `put-image'
375 returning the string.
377 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
379 * simple.el (zap-to-char): Allow zapping using input methods
382 * textmodes/fill.el (fill-region): Leave point and mark where they
383 were before filling (bug#5399).
385 2012-04-09 Glenn Morris <rgm@gnu.org>
387 * version.el (emacs-bzr-get-version):
388 Handle lightweight checkouts of local branches.
390 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
392 * international/characters.el: Recover lost case pairs. (Bug#11209)
394 2012-04-09 Chong Yidong <cyd@gnu.org>
396 * custom.el (custom-variable-p): Return nil for non-symbol
397 arguments instead of signaling an error.
398 (user-variable-p): Obsolete alias for custom-variable-p.
400 * apropos.el (apropos-variable):
401 * files-x.el (read-file-local-variable):
402 * simple.el (set-variable):
403 * woman.el (woman-mini-help):
404 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
406 2012-04-09 Glenn Morris <rgm@gnu.org>
408 * startup.el (normal-top-level): Don't look for leim-list.el
409 in places where it will not be found. (Bug#910)
411 * international/mule-cmds.el (set-default-coding-systems):
412 * files.el (normal-mode):
413 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
414 This function was removed with ucs-tables.el in 2008.
416 2012-04-08 Eli Zaretskii <eliz@gnu.org>
418 * textmodes/ispell.el (ispell-check-version): For hunspell, set
419 ispell-encoding8-command to "-i", without a trailing space.
420 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
421 separate command-line arguments, to specify the encoding, since
422 that's how hunspell expects it.
424 2012-04-08 Glenn Morris <rgm@gnu.org>
426 * loadup.el: Load bindings before cus-start.
427 This reduces somewhat the number of "rogue" settings in emacs -Q.
429 2012-04-07 Glenn Morris <rgm@gnu.org>
431 * version.el (emacs-bzr-get-version): New function.
432 (emacs-bzr-version): New variable.
433 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
434 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
436 2012-04-07 Eli Zaretskii <eliz@gnu.org>
438 * international/uni-bidi.el, international/uni-category.el:
439 * international/uni-combining.el, international/uni-decimal.el:
440 * international/uni-decomposition.el, international/uni-digit.el:
441 * international/uni-lowercase.el, international/uni-mirrored.el:
442 * international/uni-name.el, international/uni-numeric.el:
443 * international/uni-titlecase.el, international/uni-uppercase.el:
444 Update for Unicode 6.1.
446 2012-04-07 Eli Zaretskii <eliz@gnu.org>
448 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
450 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
452 * window.el (shrink-window): Mention the `window-min-height'
453 variable in the doc string.
455 2012-04-05 Bastien Guerry <bzg@altern.org>
457 * color.el (color-lighten-name): Fix typo.
459 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
461 * server.el (server--on-display-p): New function.
462 (server--on-display-p): Use it.
464 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
466 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
469 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
471 * comint.el (comint--common-quoted-suffix): Check string boundary
472 before comparing (bug#11158).
473 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
475 2012-04-04 Chong Yidong <cyd@gnu.org>
477 * minibuffer.el (completion-extra-properties): Doc fix.
479 * subr.el (delayed-warnings-hook): Doc fix.
481 2012-04-04 Daiki Ueno <ueno@unixuser.org>
483 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
484 selection (Bug#11159).
485 (epa-insert-keys): Inform that the default public key will be
486 exported if no key is selected.
488 2012-04-04 Richard Stallman <rms@gnu.org>
490 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
492 2012-04-03 Chong Yidong <cyd@gnu.org>
494 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
495 mail-insert-file, not its obsolete alias mail-attach-file.
497 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
499 * notifications.el (notifications-notify): Fix docstring.
501 2012-04-02 Glenn Morris <rgm@gnu.org>
503 * emacs-lisp/authors.el (authors-aliases): Another addition.
505 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
507 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
508 `tramp-compat-call-process' instead of `tramp-local-call-process'.
509 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
511 2012-04-01 Chong Yidong <cyd@gnu.org>
513 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
514 Handle root directory properly.
515 (copy-directory): Caller changed.
517 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
518 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
520 2012-03-31 Glenn Morris <rgm@gnu.org>
522 * term/xterm.el (xterm-extra-capabilities): Doc fix.
524 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
526 * calendar/calendar.el (calendar-window-list)
527 (calendar-hide-window): Restore. (Bug#11140)
528 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
530 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
532 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
534 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
535 Check if file is a symlink (Bug#10489).
537 * files.el (copy-directory): Likewise.
539 2012-03-30 Chong Yidong <cyd@gnu.org>
541 * image.el (imagemagick-types-inhibit)
542 (imagemagick-register-types): Doc fix.
544 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
546 * ispell.el (ispell-get-extended-character-mode): Disable
547 extended-char-mode for hunspell. hunspell does not support it
548 and treats ~word as ordinary words in pipe mode.
550 2012-03-30 Glenn Morris <rgm@gnu.org>
552 * tutorial.el (help-with-tutorial): Ensure local variables don't
553 happen to make the buffer read-only. (Bug#11127)
555 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
557 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
558 (perl-calculate-indent): Return `noindent' in strings.
560 2012-03-28 Sam Steingold <sds@gnu.org>
562 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
563 instead of the broken adhockery which does not prevent calendar
564 buffers from being displayed at random after exit.
565 (calendar-window-list, calendar-hide-window): Remove the broken
568 2012-03-28 Glenn Morris <rgm@gnu.org>
570 * replace.el (query-replace-map): Doc fix.
572 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
574 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
575 contents. (Bug#11109)
577 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
579 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
581 (avl-tree--check, avl-tree--check-node): New funs.
583 2012-03-27 Martin Rudalics <rudalics@gmx.at>
585 * window.el (switch-to-visible-buffer): New option.
586 (switch-to-prev-buffer, switch-to-next-buffer):
587 Observe switch-to-visible-buffer. Make sure that checking for a window
588 showing a buffer already is done on the same frame.
590 2012-03-27 Glenn Morris <rgm@gnu.org>
592 * startup.el (mail-host-address): Doc fix.
594 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
596 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
599 2012-03-26 Ami Fischman <ami@fischman.org>
601 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
603 2012-03-26 Glenn Morris <rgm@gnu.org>
605 * files.el (save-buffers-kill-emacs): Doc fix.
607 * startup.el (normal-top-level, command-line, command-line-1):
608 Give them doc strings.
610 2012-03-25 Eli Zaretskii <eliz@gnu.org>
612 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
613 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
615 2012-03-25 Chong Yidong <cyd@gnu.org>
617 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
618 theme if it was previously enabled before (Bug#11031).
620 * cus-theme.el (custom-theme-write-faces): Retrieve current face
621 spec with custom-face-get-current-spec if its :shown-value is not
622 determined yet (Bug#9337).
623 (customize-create-theme, custom-theme-revert): Doc fixes.
625 * button.el (button-at): Minor addition to docstring.
627 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
629 * vc/vc.el (vc-merge): Fix a prompt.
631 2012-03-24 Chong Yidong <cyd@gnu.org>
633 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
636 * button.el (button-at): Minor addition to docstring.
638 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
640 * newcomment.el (comment-choose-indent): No space after BOL.
642 2012-03-22 Sam Steingold <sds@gnu.org>
644 * window.el (switch-to-prev-buffer): Revert last patch because the
645 bug turned out to be an advertised feature (Elisp manual 28.14).
647 2012-03-22 Glenn Morris <rgm@gnu.org>
649 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
650 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
652 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
654 * net/network-stream.el (network-stream-open-starttls): Make error
655 message under Windows be less misleading.
657 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
659 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
660 understands (bug#9942).
662 2012-03-22 Chong Yidong <cyd@gnu.org>
664 * simple.el (end-of-visible-line): Handle return value of
665 next-single-property-change properly (Bug#9371).
667 2012-03-22 Kenichi Handa <handa@m17n.org>
669 * international/quail.el (quail-insert-kbd-layout): Fix previous
670 change. To avoid unwanted bidi reordering, use
671 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
673 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
675 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
676 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
677 (ruby-beginning-of-indent): Be more careful with the difference
678 between word-boundary and symbol boundary.
679 (ruby-mode-syntax-table): Make : a symbol constituent.
681 2012-03-21 Andreas Politz <politza@fh-trier.de>
683 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
685 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
687 * progmodes/etags.el (tags-completion-at-point-function):
690 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
692 2012-03-21 Sam Steingold <sds@gnu.org>
694 * progmodes/etags.el (tags-completion-at-point-function):
695 Avoid the error when point is inside the pattern.
697 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
699 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
702 2012-03-21 Drew Adams <drew.adams@oracle.com>
704 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
706 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
708 * ido.el (ido-set-current-directory, ido-read-internal)
709 (ido-choose-completion-string, ido-completion-help): Handle nil
710 value of ido-completion-buffer (Bug#11008).
712 2012-03-21 Sam Steingold <sds@gnu.org>
714 * window.el (switch-to-prev-buffer): Do not switch to a visible
715 window previous buffer, just like with the frame previous buffers.
717 2012-03-21 Chong Yidong <cyd@gnu.org>
719 * faces.el (make-face, make-empty-face, copy-face):
720 * face-remap.el (face-remap-add-relative, face-remap-set-base):
723 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
725 * wid-edit.el (widget-complete-field): Remove (bug#11051).
726 (widget-complete): Remove broken use of it.
728 2012-03-20 Chong Yidong <cyd@gnu.org>
730 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
731 Use string-width and truncate-string-width to handle arbitrary
734 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
736 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
737 to draw rectangles, not squares. (Regression introduced by revno
738 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
740 2012-03-18 Chong Yidong <cyd@gnu.org>
742 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
743 it is not yet defined (for temacs).
745 2012-03-18 Leo Liu <sdl.web@gmail.com>
747 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
749 2012-03-17 Eli Zaretskii <eliz@gnu.org>
751 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
752 (ispell-choices-win-default-height, ispell-silently-savep)
753 (ispell-dictionary-alist, ispell-encoding8-command)
754 (ispell-check-version, ispell-aspell-find-dictionary)
755 (ispell-valid-dictionary-list, ispell-words-keyword)
756 (ispell-get-word, ispell-internal-change-dictionary)
757 (ispell-region, ispell-skip-region-list)
758 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
759 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
760 (ispell-message-text-end, ispell-message)
761 (ispell-buffer-local-parsing): Doc fix.
763 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
765 * htmlfontify.el: Add support for code block fontification for ODT
767 (hfy-optimisations): Define new option
769 (hfy-fontify-buffer): Honor above setting.
770 (hfy-begin-span, hfy-end-span): New routines factored out form
771 `hfy-fontify-buffer'.
772 (hfy-begin-span-handler, hfy-end-span-handler): New variables
773 that permit insertion of custom tags.
774 (hfy-fontify-buffer): Use above handlers.
775 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
776 (hfy-face-to-css): Re-defined to be a variable.
777 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
778 over multiple runs. This is made possible by having the caller let
779 bind a special variable `hfy-user-sheet-assoc'.
780 (htmlfontify-string): New defun.
781 (hfy-compile-face-map): Make sure that the last char in the
782 buffer is correctly fontified.
783 (hfy-face-resolve-face): Whitespace only change.
785 2012-03-17 Eli Zaretskii <eliz@gnu.org>
787 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
790 2012-03-16 Leo Liu <sdl.web@gmail.com>
792 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
794 2012-03-16 Alan Mackenzie <acm@muc.de>
796 Further optimise the handling of large macros.
798 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
799 limit to a call of `c-literal-limits'.
800 (c-determine-+ve-limit): New function.
801 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
802 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
803 In CASE 5B, restrict a search limit to 500.
804 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
806 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
807 Restrict macro bounds to +-500 from after-change's BEG END.
809 2012-03-16 Leo Liu <sdl.web@gmail.com>
811 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
813 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
815 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
816 `special-mode' setting of `buffer-read-only'. (Bug#11010)
818 2012-03-16 Glenn Morris <rgm@gnu.org>
820 * view.el (view-buffer, view-buffer-other-window)
821 (view-buffer-other-frame): Doc fixes re special mode-class.
823 * subr.el (eval-after-load): If named feature is provided not from
824 a file, run after-load forms. (Bug#10946)
826 * calendar/calendar.el (calendar-insert-at-column):
827 Handle non-unit-width characters a bit better. (Bug#10978)
829 2012-03-15 Chong Yidong <cyd@gnu.org>
831 * emacs-lisp/ring.el (ring-extend): New function.
832 (ring-insert+extend): Extend the ring correctly (Bug#11019).
834 * comint.el (comint-read-input-ring)
835 (comint-add-to-input-history): Grow comint-input-ring lazily.
837 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
839 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
840 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
842 * imenu.el: Fix multiple inheritance breakage (bug#9199).
843 (imenu-add-to-menubar): Don't add a redundant index.
844 (imenu-update-menubar): Handle a dynamically composed keymap.
846 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
848 * mail/sendmail.el (mail-encode-header):
849 Bind rfc2047-encode-encoded-words to nil.
851 2012-03-13 Glenn Morris <rgm@gnu.org>
853 * calendar/calendar.el (calendar-string-spread):
854 Handle non-unit-width characters a bit better. (Bug#10978)
856 2012-03-13 Leo Liu <sdl.web@gmail.com>
858 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
859 directory and file as argument (Bug#10822).
861 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
863 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
864 For dynamically generated code, follow $PC.
865 (gdb-disassembly-handler-custom): Handle no function name case.
867 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
869 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
870 * emulation/ws-mode.el (ws-query-replace):
871 * sort.el (sort-regexp-fields):
872 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
874 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
876 * dabbrev.el: Fix cycle completion order (bug#10963).
877 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
878 (dabbrev-completion): Don't use an obarray; provide
879 a cycle-sort-function.
881 2012-03-12 Leo Liu <sdl.web@gmail.com>
883 * simple.el (kill-new): Use equal-including-properties for comparison.
884 (kill-do-not-save-duplicates): Doc fix.
886 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
888 * dabbrev.el: Fix cycle completion (bug#10963).
889 Use lexical binding and wrap to 80 columns.
890 (dabbrev-completion): Delay computing the list of completions.
892 2012-03-12 Kenichi Handa <handa@m17n.org>
894 * international/quail.el (quail-insert-kbd-layout): Surround each
895 row by LRO and PDF instead of inserting many LRMs. Pad the left
896 and right of each non-spacing marks. Insert invisible space
897 between lower and upper characters to prevent composition.
899 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
901 * minibuffer.el (minibuffer-complete): Don't get confused when the
902 function is run twice via different commands (bug#10958).
903 (complete-with-action): Fix docstring.
905 2012-03-12 Chong Yidong <cyd@gnu.org>
907 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
908 (nxml-completion-at-point-function): New function.
910 (nxml-bind-meta-tab-to-complete-flag): Default to t.
912 * emacs-lisp/package.el (package-unpack, package-unpack-single):
913 Load generated autoloads file before byte compiling (Bug#10970).
914 (package--make-autoloads-and-compile): New helper fun.
916 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
918 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
920 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
922 * autorevert.el (auto-revert-handler): Ensure, that
923 file-readable-p is applied only for local files or in
924 auto-revert-tail-mode.
926 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
928 * server.el (server-eval-at): Handle non-tcp connections.
929 Decode result string.
931 * server.el (server-msg-size): New constant.
932 (server-reply-print): New function.
933 (server-eval-and-print): Use it.
934 (server-eval-at): Use server-quote-arg and server-unquote-arg.
937 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
939 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
942 2012-03-11 Chong Yidong <cyd@gnu.org>
944 * simple.el (goto-line): Doc fix (Bug#9938).
946 * subr.el (save-window-excursion): Doc fix (Bug#9979).
948 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
949 when finished (Bug#10963).
951 2012-03-11 Martin Rudalics <rudalics@gmx.at>
953 * window.el (split-window-below): Fix bug in case where
954 split-window-keep-point is nil (Bug#10971).
956 2012-03-11 Juri Linkov <juri@jurta.org>
958 * replace.el (replace-highlight): Set isearch-word to nil
959 unconditionally. (Bug#10887)
961 2012-03-10 Eli Zaretskii <eliz@gnu.org>
963 * net/mairix.el (mairix-replace-invalid-chars): Rename from
964 mairix-replace-illegal-chars; all callers changed. Don't remove
965 ^, ~, and = characters: they are meaningful in mairix search specs.
966 (mairix-widget-create-query): Add usage information about mairix
967 search forms: negating words, searching for substrings, etc.
969 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
971 * international/fontset.el (font-encoding-alist): Add an entry for
974 2012-03-10 Richard Stallman <rms@gnu.org>
976 * mail/sendmail.el (mail-encode-header):
977 Set rfc2047-encode-encoded-words.
979 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
981 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
982 view buffer means not swapped.
983 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
984 (rmail-write-region-annotate): Error if real text has disappeared.
986 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
988 2012-03-10 Chong Yidong <cyd@gnu.org>
990 * emulation/cua-rect.el (cua--init-rectangles):
991 * emulation/cua-base.el (cua--init-keymaps):
992 Add delete-forward-char to remappings (Bug#9666).
994 2012-03-10 Martin Rudalics <rudalics@gmx.at>
996 * speedbar.el (speedbar-unhighlight-one-tag-line):
997 Avoid unhighlighting due to frame switching (Bug#10275).
999 2012-03-10 Chong Yidong <cyd@gnu.org>
1001 * minibuffer.el (completion-in-region, completion-help-at-point):
1002 Give the completion field overlay a high priority (Bug#6830).
1004 * dired.el (dired-goto-file): Recognize absolute file name
1005 listings (Bug#7126).
1006 (dired-goto-file-1): New helper function.
1007 (dired-toggle-read-only): Inhibit warnings.
1009 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
1011 * net/dbus.el (dbus-property-handler): Return empty array if
1012 there are no properties.
1014 2012-03-09 Leo Liu <sdl.web@gmail.com>
1016 * savehist.el (savehist-printable): Stricter check for string
1019 2012-03-09 Eli Zaretskii <eliz@gnu.org>
1021 * mail/smtpmail.el (smtpmail-send-it):
1022 Bind coding-system-for-write to *-unix, so that FCC files are kept in
1025 2012-03-09 Glenn Morris <rgm@gnu.org>
1027 * files.el (dir-locals-find-file):
1028 Don't check result is regular, readable.
1029 (dir-locals-read-from-file): Demote errors.
1031 2012-03-08 Eli Zaretskii <eliz@gnu.org>
1033 * international/quail.el (quail-insert-kbd-layout):
1034 Insert invisible LRM characters before each character in a keyboard
1035 layout cell, to prevent their reordering by bidi display engine.
1036 For details, see the discussion in
1037 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1039 2012-03-08 Alan Mackenzie <acm@muc.de>
1041 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1042 the starting position; make it extend the marked region when
1043 invoked repeatedly - all under appropriate circumstances.
1044 Fixes bugs #5525, #10906.
1046 2012-03-08 Glenn Morris <rgm@gnu.org>
1048 * files.el (locate-dominating-file, dir-locals-find-file):
1049 Undo 2012-03-06 change.
1051 2012-03-07 Eli Zaretskii <eliz@gnu.org>
1053 * international/quail.el (quail-help):
1054 Force bidi-paragraph-direction be left-to-right. See discussion in
1055 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1058 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
1060 Avoid superfluous registering of signals. (Bug#10807)
1062 * notifications.el (notifications-on-action-object)
1063 (notifications-on-close-object): New defvars.
1064 (notifications-on-action-signal, notifications-on-closed-signal):
1065 Unregister the signal if not needed any longer.
1066 (notifications-notify): Register `notifications-action-signal' or
1067 `notifications-closed-signal', if :on-action or :on-close has been
1070 2012-03-07 Chong Yidong <cyd@gnu.org>
1072 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1075 2012-03-06 Glenn Morris <rgm@gnu.org>
1077 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1078 (x-disown-selection-internal, x-get-selection-internal):
1079 Doc fix (add arglist signatures). (Bug#10783)
1081 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1083 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1084 Handle breakpoints with no "type".
1086 2012-03-06 Glenn Morris <rgm@gnu.org>
1088 * files.el (locate-dominating-file): Add optional predicate argument.
1089 (dir-locals-find-file): Make use of above change.
1091 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1093 * info.el (Info-insert-dir): Also try "dir.gz".
1095 2012-03-06 Glenn Morris <rgm@gnu.org>
1097 * files.el (dir-locals-find-file):
1098 Ignore non-readable or non-regular files. (Bug#10928)
1100 * files.el (locate-dominating-file): Doc fix.
1102 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1104 * calendar/calendar.el (calendar-set-mode-line):
1105 `getenv' returns a string. (Bug#10951)
1107 2012-03-05 Leo Liu <sdl.web@gmail.com>
1109 * simple.el (backward-delete-char-untabify): Constrain point to
1112 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1114 2012-03-05 Chong Yidong <cyd@gnu.org>
1116 * simple.el (count-words): If called from Lisp, return the word
1117 count, for symmetry with `count-lines'. Arglist changed.
1118 (count-words--message): Args changed. Consolidate counting code
1119 from count-words and count-words-region.
1120 (count-words-region): Caller changed.
1121 (count-lines-region): Make it an obsolete alias.
1123 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1125 * saveplace.el (save-place-to-alist)
1126 (save-place-ignore-files-regexp): Allow value nil to disable this
1129 2012-03-04 Chong Yidong <cyd@gnu.org>
1131 * faces.el (face-spec-reset-face): For the default face, reset the
1132 attributes to default values (Bug#10748).
1134 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1136 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1137 previous patch: Check `message-send-mail-function', and not the
1138 default function (bug#10897).
1140 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
1142 * notifications.el (notifications-on-action-signal)
1143 (notifications-on-closed-signal): Check for unique service name of
1144 incoming event. Fix error in removing entry.
1145 (top): Register for signals with wildcard service name.
1146 (notifications-notify): Use daemon unique service name for map entries.
1148 2012-03-04 Chong Yidong <cyd@gnu.org>
1150 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
1152 2012-03-04 Glenn Morris <rgm@gnu.org>
1154 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1155 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1156 (expand-abbrev, define-abbrev-table): Doc fixes.
1158 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1160 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1161 `message-default-send-mail-function' and not `send-mail-function'
1162 when doing the prompting for `sendmail-query-once' before sending
1163 in Message buffers (bug#10897).
1165 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1166 This is inconsistent with all the other stream functions, which leave
1167 the setting up to the higher levels (if so wanted) (bug#10931).
1169 2012-03-02 Alan Mackenzie <acm@muc.de>
1171 Depessimize the handling of very large macros.
1173 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1174 (c-macro-cache-syntactic): New variables to implement a one
1175 element macro cache.
1176 (c-invalidate-macro-cache): New function.
1177 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1178 Adapt to use the new cache.
1179 (c-state-safe-place): Use better the cache of safe positions.
1180 (c-state-semi-nonlit-pos-cache)
1181 (c-state-semi-nonlit-pos-cache-limit):
1182 New variables for...
1183 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1184 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
1185 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1186 Use c-state-semi-safe-place.
1188 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1189 Add c-invalidate-macro-cache to the C, C++, Obj entries.
1191 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
1193 * jka-compr.el (jka-compr-call-process):
1194 Apply `file-accessible-directory-p' only when the default directory is
1197 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
1199 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1200 access of FILE2, if FILE1 does not exist.
1202 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1203 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1205 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1206 Add "PAGER=" to `process-environment'.
1208 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1210 * progmodes/sql.el: Bug fix
1211 (sql-get-login-ext): Save login values in globals.
1212 (sql-get-login): Use new version of `sql-get-login-ext'.
1213 (sql-interactive-mode): Set global `sql-connection' to nil.
1214 (sql-connect): Set global values for connection.
1215 (sql-product-interactive): Save global values as buffer local.
1217 2012-02-29 Leo Liu <sdl.web@gmail.com>
1219 * abbrev.el (define-abbrevs): Reset sys to nil.
1221 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1223 * files.el (file-equal-p): Rename from `files-equal-p'.
1224 Return nil when one or both files don't exist.
1225 (file-subdir-of-p): Now only top directory must exists,
1226 return nil if it doesn't.
1227 (copy-directory): No need to test with `file-subdir-of-p' after
1229 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1232 2012-02-28 Glenn Morris <rgm@gnu.org>
1234 * shell.el (shell-mode):
1235 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1236 * play/landmark.el (landmark-font-lock-face-O):
1237 * play/handwrite.el (handwrite):
1238 * play/gomoku.el (gomoku-O):
1239 * net/browse-url.el (browse-url-browser-display):
1240 * international/mule.el (define-charset):
1241 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1242 * filesets.el (filesets-find-file-delay):
1243 * eshell/em-xtra.el (eshell-xtra):
1244 * eshell/em-unix.el (eshell-grep):
1245 * emulation/viper.el (viper-mode):
1246 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1247 * emacs-lisp/easymenu.el (easy-menu-define):
1248 * calendar/timeclock.el (timeclock-use-display-time):
1250 * bookmark.el (bookmark-save-flag):
1251 Doc fix (standardize possessive apostrophe usage).
1253 2012-02-27 Chong Yidong <cyd@gnu.org>
1255 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1256 Fix key-binding lookup for ESC key (Bug#9146).
1258 * font-lock.el (font-lock-specified-p): Rename from
1259 font-lock-spec-present. Callers changed.
1261 2012-02-27 Daniel Hackney <dan@haxney.org>
1263 * emacs-lisp/package.el (package-compute-transaction):
1264 Handle holding a package version to t in package-load-list.
1266 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
1268 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1269 (tramp-get-inode, tramp-get-device): Use cached values.
1271 2012-02-26 Alan Mackenzie <acm@muc.de>
1273 Check there is a font-lock specification before doing initial
1276 * font-core.el (font-lock-mode): Move the conditional from
1277 :after-hook to font-lock-initial-fontify.
1278 (font-lock-default-function): Move the check for a specification
1279 to font-lock-spec-present.
1281 * font-lock.el (font-lock-initial-fontify): Call ...
1282 (font-lock-spec-present): New function.
1284 2012-02-26 Jim Blandy <jimb@red-bean.com>
1286 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1287 (gdb-send): Apply it to the operand of the '-interpreter-exec
1288 console' command, so that we can pass arguments with (say) quotes
1289 in them. Store exact string sent in gdb-debug-log (Bug#10765).
1291 2012-02-26 Chong Yidong <cyd@gnu.org>
1293 * help-fns.el (describe-function-1): Clarify description of
1294 remapping (Bug#10844).
1296 * files.el (files-equal-p): Doc fix.
1297 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
1298 and quit the loop once a mismatch is found.
1300 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
1302 * bs.el (bs--show-with-configuration): Don't throw an error
1303 if the window cannot be split; otherwise, subsequent calls to
1304 bs-show fail, restoring a stale window config. (Bug#10882)
1306 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
1308 * term/ns-win.el (global-map): Bind ns-drag-file to
1309 ns-find-file (Bug#5855, Bug#10050).
1311 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
1313 * calendar/parse-time.el (parse-time-string): Allow extractor to
1316 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
1318 * net/tramp.el (tramp-file-name-for-operation):
1319 Add `files-equal-p' and `file-subdir-of-p'.
1321 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1322 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1323 Add COPY-CONTENTS argument.
1325 2012-02-25 Chong Yidong <cyd@gnu.org>
1327 Add custom groups for VC backends, for consistency with vc-bzr.
1329 * vc/vc-arch.el (vc-arch):
1330 * vc/vc-cvs.el (vc-cvs):
1331 * vc/vc-git.el (vc-git):
1332 * vc/vc-hg.el (vc-hg):
1333 * vc/vc-mtn.el (vc-mtn):
1334 * vc/vc-rcs.el (vc-rcs):
1335 * vc/vc-sccs.el (vc-sccs):
1336 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1337 All relevant defcustoms reassigned.
1339 2012-02-25 Chong Yidong <cyd@gnu.org>
1341 * newcomment.el (comment-styles): Add autoload (Bug#10868).
1343 * term/x-win.el (x-initialize-window-system): Reduce default for
1344 x-selection-timeout to 5 seconds (Bug#8869).
1346 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1348 * files.el (file-subdir-of-p): Fix typo.
1350 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1352 * files.el (files-equal-p, file-subdir-of-p): New functions.
1353 (copy-directory): Error when trying to copy a directory on itself.
1354 Add missing copy-contents arg to tramp handler.
1355 * dired-aux.el (dired-copy-file-recursive): Same.
1356 (dired-create-files): Modify destination when source is equal to
1357 dest when copying files.
1358 Return also when dest is a subdir of source. (Bug#10489)
1360 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
1362 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1365 2012-02-23 Alan Mackenzie <acm@muc.de>
1367 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1368 parameter "after-hook:" to allow the expansion to run code after
1369 the execution of the mode hooks.
1371 * font-lock.el (font-lock-initial-fontify): New function extracted
1372 from font-lock-mode-internal.
1374 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
1377 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1379 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1380 (completion--cache-all-sorted-completions): New function.
1381 (completion-all-sorted-completions): Use it.
1382 (completion--do-completion, minibuffer-force-complete):
1383 Use it to re-instate the flush hook.
1385 * icomplete.el (icomplete-completions): Replace last fix with a better
1388 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1390 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1391 when it might call us back infinitely (bug#10797).
1393 2012-02-23 Glenn Morris <rgm@gnu.org>
1395 * minibuffer.el (completion-category-overrides): Doc fix.
1397 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1399 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1400 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1402 2012-02-23 Glenn Morris <rgm@gnu.org>
1404 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
1405 (authors-obsolete-files-regexps, authors-ignored-files)
1406 (authors-ambiguous-files, authors-renamed-files-alist):
1409 2012-02-23 Juri Linkov <juri@jurta.org>
1411 * isearch.el (isearch-occur): Sync interactive spec with occur's
1412 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1414 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1416 2012-02-22 Juri Linkov <juri@jurta.org>
1418 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1419 (ucs-insert): Doc fix. Check for hex digits in the string.
1420 Don't display `nil' in the error message. (Bug#10857)
1422 2012-02-22 Alan Mackenzie <acm@muc.de>
1424 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
1426 2012-02-22 Glenn Morris <rgm@gnu.org>
1428 * ffap.el (ffap-c-path):
1429 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1431 2012-02-22 Chong Yidong <cyd@gnu.org>
1433 * custom.el (load-theme): Doc fix.
1435 2012-02-22 Glenn Morris <rgm@gnu.org>
1437 * dired-x.el (dired-guess-shell-alist-default):
1438 Remove escape sequences from nroff output. (Bug#172)
1440 2012-02-21 Glenn Morris <rgm@gnu.org>
1442 * vc/emerge.el (emerge-defvar-local):
1443 Set `permanent-local' property rather than unused `preserved'.
1445 * textmodes/picture.el (picture-delete-char): New alias.
1446 (picture-mode-map): Use it. (Bug#10860)
1447 (picture-mode): Doc fix.
1449 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
1451 * newcomment.el (uncomment-region-default): Remove unused binding.
1453 2012-02-21 Glenn Morris <rgm@gnu.org>
1455 * textmodes/picture.el (picture-motion, picture-motion-reverse)
1456 (picture-self-insert, picture-tab-chars): Doc fix.
1457 (picture-mode-map): Fix C-a, C-e.
1459 2012-02-20 Glenn Morris <rgm@gnu.org>
1461 * emacs-lisp/authors.el (authors-aliases): Add another entry.
1463 2012-02-20 Leo Liu <sdl.web@gmail.com>
1465 * icomplete.el (icomplete-completions): Check FROM arg before
1466 passing to substring (Bug#10850).
1468 2012-02-19 Chong Yidong <cyd@gnu.org>
1470 * comint.el: Require ansi-color.
1471 (comint-output-filter-functions): Add ansi-color-process-output.
1473 * ansi-color.el: Don't set comint-output-filter-functions; it is
1474 now in the initial value defined in comint.el.
1475 (ansi-color-apply-face-function): New variable.
1476 (ansi-color-apply-on-region): Use it.
1477 (ansi-color-apply-overlay-face): New function.
1479 * shell.el (shell): No need to require ansi-color.
1480 (shell-mode): Use ansi-color-apply-face-function to highlight
1481 color escapes using font-lock-face property (Bug#10835).
1483 2012-02-19 Chong Yidong <cyd@gnu.org>
1485 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1486 mode-line formats (Bug#10839).
1488 2012-02-18 Glenn Morris <rgm@gnu.org>
1490 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1492 * mail/undigest.el (unforward-rmail-message): Doc fix.
1494 * saveplace.el (save-place-ignore-files-regexp): Add :version.
1496 2012-02-18 Eli Zaretskii <eliz@gnu.org>
1498 * international/characters.el (script-list): Sync with the latest
1499 Unicode Character Database.
1501 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
1503 * international/titdic-cnv.el: Remove duplicate coding tag.
1504 * language/cham.el: Likewise.
1505 * language/tai-viet.el: Likewise.
1507 2012-02-18 Glenn Morris <rgm@gnu.org>
1509 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1510 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1511 (calendar-bahai-all-holidays-flag, calendar-other-dates):
1512 * calendar/diary-lib.el (diary-abbreviated-year-flag):
1513 * calendar/holidays.el (holiday-bahai-holidays)
1514 (calendar-holidays, list-holidays):
1515 Use utf-8 Bahá'í in doc-strings, menus, etc.
1517 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
1519 * saveplace.el (save-place-ignore-files-regexp): New variable
1520 allowing for excluding files from saving their location of point.
1521 The default value matches the temporary commit message editing
1522 files from Git, SVN, Bazaar, and Mercurial.
1523 (save-place-to-alist): Use it.
1525 2012-02-17 Lawrence Mitchell <wence@gmx.li>
1526 Stefan Monnier <monnier@iro.umontreal.ca>
1528 * newcomment.el (uncomment-region-default): Don't leave extra space
1529 when an arg is provided (bug#8150).
1531 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1533 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
1535 2012-02-17 Glenn Morris <rgm@gnu.org>
1537 * net/socks.el: Require network-stream. (Bug#10599)
1539 2012-02-17 Kenichi Handa <handa@m17n.org>
1541 * international/charprop.el:
1542 * international/uni-name.el:
1543 * international/uni-old-name.el:
1544 * international/uni-comment.el: Regenerate.
1546 2012-02-16 Glenn Morris <rgm@gnu.org>
1548 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1549 Interactively in calendar buffer, give an error if not on a date.
1551 2012-02-15 Glenn Morris <rgm@gnu.org>
1553 * shell.el (shell-delimiter-argument-list):
1554 Revert 2011-02-17 change. (Bug#8027)
1556 2012-02-15 Chong Yidong <cyd@gnu.org>
1558 * minibuffer.el (completion-at-point-functions): Doc fix.
1560 * custom.el (defcustom): Doc fix; note use of defvar.
1562 2012-02-15 Glenn Morris <rgm@gnu.org>
1564 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1567 2012-02-14 Glenn Morris <rgm@gnu.org>
1569 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1571 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
1573 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1574 way the ports list is computed.
1575 (smtpmail-query-smtp-server): Prompt the user for a port number if
1576 we can't connect to any of the standard ports (bug#10810).
1578 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
1580 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1582 2012-02-13 Glenn Morris <rgm@gnu.org>
1584 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
1586 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1588 * net/gnutls.el (gnutls-trustfiles): New variable.
1589 (gnutls-negotiate): Use it.
1591 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1593 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1594 does its stuff if Gnus is running.
1596 2012-02-13 Alan Mackenzie <acm@muc.de>
1598 Fix a loop in c-set-fl-decl-start.
1600 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
1601 c-backward-syntactic-ws actually moves backwards.
1603 2012-02-13 Leo Liu <sdl.web@gmail.com>
1605 * net/rcirc.el (rcirc-markup-attributes): Move point to the
1606 beginning so that all \C-o chars are removed.
1608 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1610 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
1612 2012-02-12 Alan Mackenzie <acm@muc.de>
1614 Fix infinite loop with long macros.
1615 * cc-engine.el (c-state-safe-place): Handle macros properly.
1617 2012-02-12 Chong Yidong <cyd@gnu.org>
1619 * window.el (display-buffer): Doc fix (Bug#10785).
1621 2012-02-12 Glenn Morris <rgm@gnu.org>
1623 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1624 (x-disown-selection-internal, x-get-selection-internal):
1625 Sync docs with the xselect.c versions.
1627 * allout-widgets.el: Add missing license notice.
1629 2012-02-11 Glenn Morris <rgm@gnu.org>
1631 * select.el (x-get-selection-internal, x-own-selection-internal)
1632 (x-disown-selection-internal):
1633 * x-dnd.el (x-get-selection-internal): Update declarations.
1635 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1637 * window.el (window-sides-slots):
1638 * tool-bar.el (tool-bar-position):
1639 * term/xterm.el (xterm-extra-capabilities):
1640 * ses.el (ses-self-reference-early-detection):
1641 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1642 (verilog-auto-wire-type)
1643 (verilog-auto-delete-trailing-whitespace)
1644 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1645 (verilog-auto-tieoff-declaration):
1646 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1647 (sql-oracle-statement-starters, sql-oracle-scan-on):
1648 * progmodes/prolog.el (prolog-align-comments-flag)
1649 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1650 (prolog-left-indent-regexp, prolog-paren-indent-p)
1651 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1652 (prolog-types, prolog-mode-specificators)
1653 (prolog-determinism-specificators, prolog-directives)
1654 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1655 (prolog-electric-dot-flag)
1656 (prolog-electric-dot-full-predicate-template)
1657 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1658 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1659 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1660 (prolog-program-switches, prolog-prompt-regexp)
1661 (prolog-debug-on-string, prolog-debug-off-string)
1662 (prolog-trace-on-string, prolog-trace-off-string)
1663 (prolog-zip-on-string, prolog-zip-off-string)
1664 (prolog-use-standard-consult-compile-method-flag)
1665 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1666 (prolog-imenu-max-lines, prolog-info-predicate-index)
1667 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1668 (prolog-char-quote-workaround):
1669 * progmodes/cc-vars.el (c-defun-tactic):
1670 * net/tramp.el (tramp-encoding-command-interactive)
1671 (tramp-local-end-of-line):
1672 * net/soap-client.el (soap-client):
1673 * net/netrc.el (netrc-file):
1674 * net/gnutls.el (gnutls):
1675 * minibuffer.el (completion-category-overrides)
1676 (completion-cycle-threshold)
1677 (completion-pcm-complete-word-inserts-delimiters):
1678 * man.el (Man-name-local-regexp):
1679 * mail/feedmail.el (feedmail-display-full-frame):
1680 * international/characters.el (glyphless-char-display-control):
1681 * eshell/em-ls.el (eshell-ls-date-format):
1682 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1683 (lisp-lambda-list-keyword-parameter-indentation)
1684 (lisp-lambda-list-keyword-parameter-alignment):
1685 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1686 * dired-x.el (dired-omit-verbose):
1687 * cus-theme.el (custom-theme-allow-multiple-selections):
1688 * calc/calc.el (calc-highlight-selections-with-faces)
1689 (calc-lu-field-reference, calc-lu-power-reference)
1690 (calc-note-threshold):
1691 * battery.el (battery-mode-line-limit):
1692 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1693 (archive-7z-update):
1694 * allout.el (allout-prefixed-keybindings)
1695 (allout-unprefixed-keybindings)
1696 (allout-inhibit-auto-fill-on-headline)
1697 (allout-flattened-numbering-abbreviation):
1698 * allout-widgets.el (allout-widgets-auto-activation)
1699 (allout-widgets-icons-dark-subdir)
1700 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1701 (allout-widgets-theme-dark-background)
1702 (allout-widgets-theme-light-background)
1703 (allout-widgets-item-image-properties-emacs)
1704 (allout-widgets-item-image-properties-xemacs)
1705 (allout-widgets-run-unit-tests-on-load)
1706 (allout-widgets-time-decoration-activity)
1707 (allout-widgets-hook-error-post-time)
1708 (allout-widgets-track-decoration):
1709 Add missing :version tags to new defcustoms and defgroups.
1711 * progmodes/sql.el (sql-ansi-statement-starters)
1712 (sql-oracle-statement-starters): Add custom type.
1714 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1715 (prolog-system-version): Give it a type.
1717 2012-02-11 Eli Zaretskii <eliz@gnu.org>
1719 * term/pc-win.el (x-select-text, x-selection-owner-p)
1720 (x-own-selection-internal, x-disown-selection-internal)
1721 (x-get-selection-internal): Sync doc strings and argument lists
1722 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1724 2012-02-11 Leo Liu <sdl.web@gmail.com>
1726 * progmodes/python.el (python-end-of-statement): Fix infinite
1729 2012-02-10 Glenn Morris <rgm@gnu.org>
1731 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1732 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1734 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1736 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1737 about SMTP before checking the From header.
1739 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
1740 into own function for reuse by emacsbug.el.
1742 2012-02-10 Leo Liu <sdl.web@gmail.com>
1744 * subr.el (condition-case-unless-debug): Rename from
1745 condition-case-no-debug. All callers changed.
1746 (with-demoted-errors): Fix caller.
1748 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1749 * nxml/rng-valid.el (rng-do-some-validation):
1750 * emacs-lisp/package.el (package-refresh-contents)
1751 (package-menu-execute):
1752 * desktop.el (desktop-create-buffer):
1753 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1755 2012-02-10 Glenn Morris <rgm@gnu.org>
1757 * textmodes/bibtex.el:
1758 Add missing :version tags for new/changed defcustoms.
1760 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1762 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
1764 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1765 (smtpmail-via-smtp): Use it, or fall back on the From address.
1766 (smtpmail-send-it): Ditto.
1768 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1770 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1771 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1772 (byte-compile-tmp-var): New const.
1773 (byte-compile-defvar): Use it to minimize .elc size.
1774 Just use `defvar' rather than simulate it (bug#10761).
1776 2012-02-09 Glenn Morris <rgm@gnu.org>
1778 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1780 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1783 * progmodes/compile.el (compilation-error-screen-columns)
1784 (compilation-first-column, compilation-filter-start): Doc fixes.
1786 * vc/log-view.el (log-view-toggle-entry-display):
1787 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1789 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1790 (report-emacs-bug-can-use-xdg-email):
1791 (report-emacs-bug-insert-to-mailer): Doc fixes.
1792 (report-emacs-bug): Message fix.
1794 * net/browse-url.el (browse-url-can-use-xdg-open)
1795 (browse-url-xdg-open): Doc fixes.
1797 * electric.el (electric-indent-mode, electric-pair-mode)
1798 (electric-layout-rules, electric-layout-mode): Doc fixes.
1799 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1801 2012-02-08 Martin Rudalics <rudalics@gmx.at>
1803 * server.el (server-unselect-display): Don't inadvertently kill
1804 the current buffer. (Bug#10729)
1806 2012-02-08 Glenn Morris <rgm@gnu.org>
1808 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1809 (sql-list-table): Doc fixes.
1811 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1812 Comment out (does nothing).
1814 * completion.el (dynamic-completion-mode):
1815 * dirtrack.el (dirtrack-debug-mode):
1816 * electric.el (electric-layout-mode):
1817 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1818 * face-remap.el (text-scale-mode, buffer-face-mode):
1819 * iimage.el (iimage-mode):
1820 * image-mode.el (image-transform-mode):
1821 * minibuffer.el (completion-in-region-mode):
1822 * scroll-lock.el (scroll-lock-mode):
1823 * simple.el (next-error-follow-minor-mode):
1824 * tar-mode.el (tar-subfile-mode):
1825 * tooltip.el (tooltip-mode):
1826 * vcursor.el (vcursor-use-vcursor-map):
1827 * wid-browse.el (widget-minor-mode):
1828 * emulation/tpu-edt.el (tpu-edt-mode):
1829 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1830 * international/iso-ascii.el (iso-ascii-mode):
1831 * language/thai-util.el (thai-word-mode):
1832 * mail/supercite.el (sc-minor-mode):
1833 * net/goto-addr.el (goto-address-mode):
1834 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1835 * progmodes/cwarn.el (cwarn-mode):
1836 * progmodes/flymake.el (flymake-mode):
1837 * progmodes/glasses.el (glasses-mode):
1838 * progmodes/hideshow.el (hs-minor-mode):
1839 * progmodes/pascal.el (pascal-outline-mode):
1840 * textmodes/enriched.el (enriched-mode):
1841 * vc/smerge-mode.el (smerge-mode):
1842 Doc fixes (minor mode argument).
1844 2012-02-07 Eli Zaretskii <eliz@gnu.org>
1846 * ls-lisp.el (ls-lisp-sanitize): New function.
1847 (ls-lisp-insert-directory): Use it to fix or remove any elements
1848 in file-alist with missing attributes. (Bug#4673)
1850 2012-02-07 Alan Mackenzie <acm@muc.de>
1852 Fix spurious recognition of c-in-knr-argdecl.
1854 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1855 putative K&R region.
1857 2012-02-07 Alan Mackenzie <acm@muc.de>
1859 * progmodes/cc-engine.el (c-forward-objc-directive):
1860 Prevent looping in "#pragma mark @implementation".
1862 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
1864 * notifications.el (notifications-on-closed-signal): Make `reason'
1865 optional. (Bug#10744)
1867 2012-02-07 Glenn Morris <rgm@gnu.org>
1869 * emacs-lisp/easy-mmode.el (define-minor-mode):
1870 Doc fixes for the macro and the mode it defines.
1872 * image.el (imagemagick-types-inhibit): Doc fix.
1874 * cus-start.el (imagemagick-render-type): Add it.
1876 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1878 * progmodes/cc-mode.el
1879 (c-standard-font-lock-fontify-region-function): Set the default at
1880 load time, too, so that `font-lock-fontify-buffer' can be called
1881 without setting up the entire mode first. This fixes a bug in
1882 `mm-inline-text' with C MIME parts.
1884 2012-02-06 Chong Yidong <cyd@gnu.org>
1886 * simple.el (list-processes--refresh): Delete exited processes
1889 * comint.el (comint-next-prompt): next-single-char-property-change
1890 and prev-single-char-property-change never return nil (Bug#8657).
1892 * custom.el (defcustom): Doc fix (Bug#9711).
1894 2012-02-05 Chong Yidong <cyd@gnu.org>
1896 * cus-edit.el (custom-variable-reset-backup): Quote the value
1897 before storing it in the customized-value property (Bug#6712).
1898 (custom-display): Add a customization type tag.
1899 (custom-buffer-create-internal): Improve tooltip message.
1901 * wid-edit.el (widget-field-value-get): New optional arg to
1902 suppress trailing whitespace truncation.
1903 (character): Use it (Bug#2689).
1905 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1907 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1908 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1910 2012-02-05 Chong Yidong <cyd@gnu.org>
1912 * cus-edit.el (custom-variable-value-create): For mismatched
1913 types, show the current value (Bug#7600).
1915 * custom.el (defcustom): Doc fix.
1917 2012-02-05 Glenn Morris <rgm@gnu.org>
1919 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1921 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
1923 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1924 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1925 (pp-last-sexp): Use `looking-at-p'.
1927 2012-02-04 Glenn Morris <rgm@gnu.org>
1929 * files.el (revert-buffer):
1930 Doc fix (mention revert-buffer-in-progress-p).
1932 * emacs-lisp/ert-x.el (ert-simulate-command):
1933 Check deferred-action-list (which is obsolete) is bound.
1935 * subr.el (with-wrapper-hook): Doc fixes.
1937 * simple.el (filter-buffer-substring-functions)
1938 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1940 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1942 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1943 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1945 2012-02-04 Leo Liu <sdl.web@gmail.com>
1947 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1949 2012-02-04 Glenn Morris <rgm@gnu.org>
1951 * image.el (image-extension-data): Add obsolete alias.
1953 * isearch.el (isearch-update): Doc fix.
1955 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1957 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1959 2012-02-03 Glenn Morris <rgm@gnu.org>
1961 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1962 (image-animate-timeout): Doc fix.
1964 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1966 2012-02-02 Glenn Morris <rgm@gnu.org>
1968 * server.el (server-auth-dir): Doc fix.
1969 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1971 * subr.el (run-mode-hooks): Doc fix.
1973 2012-02-02 Juri Linkov <juri@jurta.org>
1975 * image-mode.el (image-toggle-display-image): Remove tautological
1976 `major-mode' from the `derived-mode-p' test.
1978 2012-02-02 Kenichi Handa <handa@m17n.org>
1980 * composite.el (compose-region): Cancel previous change.
1982 2012-02-02 Kenichi Handa <handa@m17n.org>
1984 * composite.el (compose-region, compose-string): Signal error for
1985 a null string component (Bug#6988).
1987 2012-02-01 Chong Yidong <cyd@gnu.org>
1989 * view.el (view-buffer-other-window, view-buffer-other-frame):
1990 Handle special modes like view-buffer (Bug#10650).
1991 (view-buffer): Simplify.
1993 * frame.el (set-frame-font): Tweak meaning of third argument.
1995 * dynamic-setting.el (font-setting-change-default-font):
1996 Use set-frame-font (Bug#9982).
1998 2012-02-01 Glenn Morris <rgm@gnu.org>
2000 * progmodes/compile.el (compilation-internal-error-properties):
2001 Respect compilation-first-column in the "*compilation*" buffer.
2003 * emacs-lisp/easy-mmode.el (define-minor-mode):
2004 Relax :variable's test for a named function.
2006 2012-01-31 Alan Mackenzie <acm@muc.de>
2008 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2011 2012-01-31 Chong Yidong <cyd@gnu.org>
2013 * frame.el (set-frame-font): New arg ALL-FRAMES.
2015 * menu-bar.el (menu-set-font): Use set-frame-font.
2017 * faces.el (face-spec-reset-face): Don't apply unspecified
2018 attribute values to the default face.
2020 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
2022 * progmodes/cwarn.el (cwarn): Remove dead link.
2023 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2024 Remove * from defcustom docstrings.
2025 (turn-on-cwarn-mode): Make obsolete.
2026 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2027 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2029 2012-01-31 Glenn Morris <rgm@gnu.org>
2031 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2032 Fix :variable handling of mode a symbol not equal to modefun.
2033 Allow named functions to be used as the cdr of :variable.
2035 2012-01-30 Glenn Morris <rgm@gnu.org>
2037 * emacs-lisp/authors.el (authors-fixed-entries):
2038 Remove reference to deleted file rnewspost.el.
2040 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
2042 * window.el (window-with-parameter): Remove unused variable `windows'.
2043 (window--side-check): Remove unused variable `code'.
2044 (window--resize-siblings): Remove unused variable `first'.
2045 (adjust-window-trailing-edge): Remove unused variable `failed'.
2046 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2047 Use `let', not `let*'.
2048 (balance-windows-2): Remove unused variable `found'.
2049 (window--state-put-2): Remove unused variable `splits'.
2050 (window-state-put): Remove unused variable `selected'.
2051 (same-window-p): Use `string-match-p'.
2052 (display-buffer-assq-regexp): Remove unused variable `value'.
2053 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2054 Mark argument ALIST as ignored.
2055 (pop-to-buffer): Remove unused variable `old-window'.
2057 2012-01-29 Eli Zaretskii <eliz@gnu.org>
2059 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2060 and .lzma compressed files.
2062 2012-01-29 Chong Yidong <cyd@gnu.org>
2064 * frame.el (window-system-default-frame-alist): Doc fix.
2066 * dynamic-setting.el (font-setting-change-default-font): Don't
2067 change the default face if SET-FONT argument is non-nil (Bug#9982).
2069 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2071 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2073 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
2075 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2076 breakpoints in files outside current directory (Bug#6098).
2078 2012-01-29 Chong Yidong <cyd@gnu.org>
2080 * progmodes/python.el: Require ansi-color at top-level.
2082 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2083 Define and use in Emacs Lisp mode (Bug#9360).
2084 (lisp-mode-abbrev-table): Add doc.
2085 (lisp-mode-variables): Don't set local-abbrev-table.
2086 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2088 2012-01-28 Roland Winkler <winkler@gnu.org>
2090 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2092 2012-01-28 Roland Winkler <winkler@gnu.org>
2094 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2095 (bibtex-set-dialect): Use it. Either set global values of
2096 dialect-dependent variables or bind these variables buffer-locally
2098 (bibtex-mode): Call bibtex-set-dialect via
2099 hack-local-variables-hook.
2100 (bibtex-dialect): Update docstring.
2101 Add safe-local-variable predicate.
2102 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2104 (bibtex-mode-map): Define menu for each dialect.
2105 (bibtex-entry): Fix docstring.
2107 2012-01-28 Chong Yidong <cyd@gnu.org>
2109 * eshell/esh-arg.el (eshell-quote-argument): New function.
2111 * eshell/esh-ext.el (eshell-invoke-batch-file):
2112 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2113 first arg to eshell-parse-command (Bug#10523).
2115 2012-01-28 Drew Adams <drew.adams@oracle.com>
2117 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2118 `default-directory' is non-nil.
2120 2012-01-28 Eli Zaretskii <eliz@gnu.org>
2122 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2123 line that displays system-configuration-options. (Bug#9924)
2125 2012-01-28 Drew Adams <drew.adams@oracle.com>
2127 * descr-text.el (describe-char): Show information about POS, in
2128 addition to information about the character at POS. Improve and
2129 update the doc string. Change "code point" to "code point in
2130 charset", to avoid confusion with the character's Unicode code
2131 point shown above that. (Bug#10129)
2133 2012-01-28 Eli Zaretskii <eliz@gnu.org>
2135 * descr-text.el (describe-char): Show the raw character, not only
2136 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2137 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2140 2012-01-28 Phil Hagelberg <phil@hagelb.org>
2142 * emacs-lisp/package.el (package-install):
2143 Run package-refresh-contents if there is no archive yet (Bug#9798).
2145 2012-01-28 Chong Yidong <cyd@gnu.org>
2147 * emacs-lisp/package.el (package-maybe-load-descriptor):
2148 New function, split from package-maybe-load-descriptor.
2149 (package-maybe-load-descriptor): Use it.
2150 (package-download-transaction): Fully load required packages
2151 inside the loop, so that `require' calls work (Bug#10593).
2152 (package-install): No need to call package-initialize now.
2154 2012-01-28 Chong Yidong <cyd@gnu.org>
2156 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2158 * tooltip.el (tooltip-mode): Doc fix.
2159 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2161 * frame.el (set-cursor-color): Doc fix (Bug#352).
2163 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2164 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2166 * cus-edit.el (custom-buffer-create-internal): Fix search button
2168 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2170 2012-01-27 Eduard Wiebe <usenet@pusto.de>
2172 * dired.el (dired-mark-files-regexp):
2173 Include any subdirectory components. (Bug#10445)
2175 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2177 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2178 Handle [host]:port syntax. (Bug#10533)
2180 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
2182 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2184 2012-01-26 Glenn Morris <rgm@gnu.org>
2186 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2187 * term.el (term-raw-escape-map): Use Control-X-prefix.
2188 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2190 2012-01-25 Martin Rudalics <rudalics@gmx.at>
2192 * window.el (window-state-get, window--state-get-1): Don't deal
2193 with fixed-sizeness of windows. Simplify code.
2195 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2197 * window.el (window--state-get-1, window--state-put-2):
2198 Don't save and restore the mark.
2200 2012-01-25 Chong Yidong <cyd@gnu.org>
2202 * custom.el (custom-variable-p): Doc fix.
2204 2012-01-25 Glenn Morris <rgm@gnu.org>
2206 * dired.el (dired-goto-file): Handle some of the more common
2207 characters that `ls -b' escapes. (Bug#10596)
2209 * progmodes/compile.el (compilation-next-error-function):
2210 Respect compilation-first-column in the "*compilation*" buffer.
2211 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2213 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2215 2012-01-24 Glenn Morris <rgm@gnu.org>
2217 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2219 2012-01-24 Julien Danjou <julien@danjou.info>
2221 * color.el (color-rgb-to-hsl): Fix value computing.
2222 (color-hue-to-rgb): New function.
2223 (color-hsl-to-rgb): New function.
2224 (color-clamp, color-saturate-hsl, color-saturate-name)
2225 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2226 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2228 2012-01-24 Glenn Morris <rgm@gnu.org>
2230 * vc/vc-rcs.el (vc-rcs-create-tag):
2231 * vc/vc-sccs.el (vc-sccs-create-tag):
2232 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2234 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2236 * eshell/esh-util.el (eshell-read-hosts-file):
2237 Skip comment lines. (Bug#10549)
2239 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2241 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
2243 * subr.el (display-delayed-warnings): Doc fix.
2244 (collapse-delayed-warnings): New function to collapse identical
2246 (delayed-warnings-hook): Add it.
2248 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
2250 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2252 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2253 properties, when "login-as" is set.
2255 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2256 (tramp-default-user-alist): Don't add "pscp".
2257 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2258 property "login-as", if set. (Bug#10530)
2260 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
2262 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2263 "plink1" and "psftp". (Bug#10530)
2265 2012-01-21 Kenichi Handa <handa@m17n.org>
2267 * international/mule-cmds.el (prefer-coding-system): Show a
2268 warning message if the default value of file-name-coding-system
2271 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2273 * windmove.el (windmove-reference-loc):
2274 Fix windmove-reference-loc miscalculation.
2276 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2278 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2281 2012-01-21 Glenn Morris <rgm@gnu.org>
2283 * international/mule.el (auto-coding-alist): Add .tbz.
2285 * files.el (local-enable-local-variables): Doc fix.
2286 (inhibit-local-variables-regexps): Rename from
2287 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
2288 Doc fix. Add some extensions from auto-coding-alist.
2289 (inhibit-local-variables-suffixes):
2290 Rename from inhibit-first-line-modes-suffixes. Doc fix.
2291 (inhibit-local-variables-p):
2292 New function, extracted from set-auto-mode-1.
2293 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
2294 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
2295 (hack-local-variables): Doc fix. Make the mode-only case
2296 respect enable-local-variables and friends.
2297 Respect inhibit-local-variables-regexps for file-locals, but
2298 not for directory-locals.
2299 (set-visited-file-name):
2300 Take account of inhibit-local-variables-regexps.
2301 Whether it applies may change as the file name is changed.
2302 * jka-cmpr-hook.el (jka-compr-install):
2303 * jka-compr.el (jka-compr-uninstall):
2304 Update for inhibit-first-line-modes-suffixes name change.
2306 2012-01-20 Martin Rudalics <rudalics@gmx.at>
2308 * help-macro.el (make-help-screen): Temporarily restore original
2309 binding for minor-mode-map-alist (Bug#10454).
2311 2012-01-19 Julien Danjou <julien@danjou.info>
2313 * color.el (color-name-to-rgb): Use the white color to find the max
2314 color component value and return correctly computed values.
2315 (color-name-to-rgb): Add missing float conversion for max value.
2317 2012-01-19 Martin Rudalics <rudalics@gmx.at>
2319 * window.el (window--state-get-1, window-state-get): Do not use
2320 special state value for window-persistent-parameters.
2321 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
2322 (window--state-put-2): Reset all window parameters to nil before
2323 assigning values of persistent parameters.
2325 2012-01-18 Alan Mackenzie <acm@muc.de>
2327 Eliminate sluggishness and hangs in fontification of "semicolon
2330 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2331 Change value 10000 -> 3000.
2332 (c-state-safe-place): Reformulate so it doesn't stack up an
2333 infinite number of wrong entries in c-state-nonlit-pos-cache.
2334 (c-determine-limit-get-base, c-determine-limit): New functions to
2335 determine backward search limits disregarding literals.
2336 (c-find-decl-spots): Amend commenting.
2337 (c-cheap-inside-bracelist-p): New function which detects "={".
2339 * progmodes/cc-fonts.el
2340 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2342 (c-font-lock-declarations): Fix an occurrence of point being
2343 undefined. Check additionally for point being in a bracelist or
2344 near a macro invocation without a semicolon so as to avoid a
2345 fruitless time consuming search for a declarator. Give a more
2346 precise search limit for declarators using the new
2349 2012-01-18 Glenn Morris <rgm@gnu.org>
2351 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2352 (set-auto-mode): Doc fixes.
2354 2012-01-17 Glenn Morris <rgm@gnu.org>
2356 * isearch.el (search-nonincremental-instead): Fix doc typo.
2358 * dired.el (dired-insert-directory): Handle newlines in directory name.
2359 (dired-build-subdir-alist): Unescape newlines in directory name.
2361 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
2363 * net/tramp.el (tramp-local-end-of-line): New defcustom.
2364 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2365 (tramp-action-terminal): Use it. (Bug#10530)
2367 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2369 * minibuffer.el (completion--replace): Strip properties (bug#10062).
2371 2012-01-16 Martin Rudalics <rudalics@gmx.at>
2373 * window.el (window-state-ignored-parameters): Remove variable.
2374 (window--state-get-1): Rename argument MARKERS to IGNORE.
2375 Handle persistent window parameters. Make copy of clone-of
2376 parameter only if requested. (Bug#10348)
2377 (window--state-put-2): Install a window parameter only if it has
2378 a non-nil value or an existing parameter shall be overwritten.
2380 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
2382 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2384 2012-01-14 Eli Zaretskii <eliz@gnu.org>
2386 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2387 don't pass the (nil) value of `upnode' to string-match.
2389 2012-01-14 Chong Yidong <cyd@gnu.org>
2391 * startup.el (command-line): Fix X resource class for cursorColor.
2392 Fix values recognized by the cursorBlink resource.
2394 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2396 * epg.el (epg--make-temp-file): Avoid permission race condition
2397 when running on old Emacs versions (bug#10403).
2399 2012-01-14 Glenn Morris <rgm@gnu.org>
2401 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2403 2012-01-13 Alan Mackenzie <acm@muc.de>
2405 Fix filling for when filladapt mode is enabled.
2407 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2408 c-mask-paragraph, pass in `fill-paragraph' rather than
2409 `fill-region-as-paragraph'. (This is a reversion of a previous
2411 * progmodes/cc-mode.el (c-basic-common-init):
2412 Make fill-paragraph-handle-comment buffer local and set it to nil.
2414 2012-01-13 Glenn Morris <rgm@gnu.org>
2416 * dired.el (dired-switches-escape-p): New function.
2417 (dired-insert-directory): Use dired-switches-escape-p.
2418 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2420 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2422 2012-01-12 Glenn Morris <rgm@gnu.org>
2424 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2425 changes in adaptive-fill-regexp. (Bug#10276)
2427 2012-01-11 Alan Mackenzie <acm@muc.de>
2429 Fix Emacs bug #10463 - put `widen's around the critical spots.
2431 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2432 widen around each invocation of c-state-pp-to-literal. Remove an
2433 unused let variable.
2435 2012-01-11 Glenn Morris <rgm@gnu.org>
2437 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
2440 2012-01-10 Chong Yidong <cyd@gnu.org>
2442 * net/network-stream.el (network-stream-open-starttls):
2443 Avoid emitting a confusing error message when the server gives a bad
2444 response to the capability command.
2446 2012-01-10 Glenn Morris <rgm@gnu.org>
2448 * mail/unrmail.el (unrmail): Tweak previous change.
2450 2012-01-09 Chong Yidong <cyd@gnu.org>
2452 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2454 2012-01-08 Alan Mackenzie <acm@muc.de>
2456 Optimise font locking in long enum definitions.
2458 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2459 arm to a cond form to handle enums.
2460 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2461 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2463 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
2465 * files.el (move-file-to-trash): Preserve default file modes on error.
2468 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2470 * faces.el (set-face-attribute): Clarify the meaning of the nil
2473 * subr.el (with-selected-frame): Mention that the selected frame
2474 is restored (bug#9980).
2476 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2479 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
2480 (password-read): Don't autoload unused function.
2482 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
2484 * progmodes/which-func.el (which-func-mode): Turn into a
2485 non-interactive function and mark as obsolete (bug#10428).
2487 2012-01-06 Chong Yidong <cyd@gnu.org>
2489 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2490 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2491 functions, along with 1 and -1.
2493 2012-01-06 Eli Zaretskii <eliz@gnu.org>
2495 * time.el (display-time-load-average)
2496 (display-time-default-load-average): Doc fixes. See the thread
2498 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2501 2012-01-06 Glenn Morris <rgm@gnu.org>
2503 * mail/unrmail.el (unrmail): Give an explicit error if the input file
2504 has no messages. (Bug#10377)
2506 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2507 than Info-edit. (Bug#10385)
2509 * time.el (display-time-load-average, display-time-next-load-average):
2512 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2513 local setting of buffer-read-only to the input buffer. (Bug#10419)
2515 * calendar/calendar.el (calendar-mode):
2516 Locally set scroll-margin to 0. (Bug#10379)
2518 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
2520 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
2522 2012-01-05 Glenn Morris <rgm@gnu.org>
2524 * eshell/em-unix.el (diff-no-select): Autoload it.
2525 (eshell/diff): Use diff-no-select. (Bug#10420)
2527 2012-01-05 Chong Yidong <cyd@gnu.org>
2529 * shell.el (shell-dynamic-complete-functions): Revert last change.
2530 (shell-command-completion-function): New function.
2531 (shell-completion-vars): Use it to implement
2532 shell-completion-execonly (Bug#10417).
2534 * custom.el (enable-theme): Don't set custom-safe-themes.
2536 * cus-theme.el (custom-theme-merge-theme):
2537 Ignore custom-enabled-themes and custom-safe-themes.
2539 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
2541 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2542 first prompt in `sql-interacive-mode'.
2543 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
2545 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
2546 (sql-product-interactive): Bug fix: Set `sql-buffer' in
2547 context of original buffer. Invoke `sql-login-hook'.
2549 2012-01-04 Eli Zaretskii <eliz@gnu.org>
2551 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2552 letters in cite-prefix.
2554 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2556 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2558 2012-01-03 Chong Yidong <cyd@gnu.org>
2560 * shell.el (shell-dynamic-complete-functions):
2561 Put pcomplete-completions-at-point, so as to try
2562 comint-filename-completion first (Bug#10417).
2564 2012-01-02 Richard Stallman <rms@gnu.org>
2566 * battery.el (battery-status-function):
2567 Detect when to use battery-yeeloong-sysfs.
2568 (battery-echo-area-format): Add string for Yeeloong.
2569 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2570 (battery-yeeloong-sysfs): New function.
2572 2012-01-02 Chong Yidong <cyd@gnu.org>
2574 * dirtrack.el (dirtrack-list): Eliminate unused third element.
2575 (dirtrack): Merge code for handling relative filenames in prompt
2576 from shell-dir-cookie-watcher.
2577 (dirtrack-debug-message): New arg to avoid excess format calls.
2579 * shell.el (shell-dir-cookie-re): Variable deleted.
2580 (shell-dir-cookie-watcher): Function deleted.
2581 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2584 2012-01-01 Eli Zaretskii <eliz@gnu.org>
2586 * term/w32-win.el (dynamic-library-alist) <gnutls>:
2587 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
2590 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
2592 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2594 2011-12-31 Eli Zaretskii <eliz@gnu.org>
2596 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2597 headers of non-MIME messages, when rmail-enable-mime is non-nil.
2599 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
2601 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2602 also for alternative shells.
2603 (tramp-open-connection-setup-interactive-shell): Check, whether
2604 the shell is a busybox.
2605 (tramp-send-command): Don't suppress multiple prompts for
2606 busyboxes, it hurts.
2608 2011-12-28 Chong Yidong <cyd@gnu.org>
2610 * progmodes/gdb-mi.el (gdb-get-source-file-list)
2611 (gdb-get-source-file): Move mode line update to
2612 gdb-get-source-file (Bug#10087).
2614 2011-12-25 Chong Yidong <cyd@gnu.org>
2616 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2617 gud-gdb-marker-filter without taking it as an argument.
2618 (gud-gdb-run-command-fetch-lines): Caller changed.
2619 (gud-gdb-completion-function): New variable.
2620 (gud-gdb-completion-at-point): Use it.
2621 (gud-gdb-completions-1): Split from gud-gdb-completions.
2623 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2624 function as separate arguments.
2625 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2626 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2627 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2628 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2629 (gdb-stopped, def-gdb-auto-update-trigger)
2630 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
2631 (gdb-get-changed-registers, gdb-get-main-selected-frame):
2633 (gud-gdbmi-completions): New function.
2634 (gdb): Use it for generating the completion table.
2636 2011-12-24 Alan Mackenzie <acm@muc.de>
2638 Introduce a mechanism to widen the region used in context font
2639 locking. Use this to protect declarations from losing their contexts.
2641 * progmodes/cc-langs.el (c-before-font-lock-functions):
2642 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
2643 (c-before-context-fontification-functions): New defvar, a list of
2644 functions to be run just before context (etc.) font locking.
2646 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
2647 New, functionality extracted from
2648 c-neutralize-syntax-in-and-mark-CPP.
2649 (c-in-after-change-fontification): New variable.
2650 (c-after-change): Set c-in-after-change-fontification.
2651 (c-set-fl-decl-start): Rejig its interface, so it can be called
2652 from both after-change and context fontifying.
2653 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2655 (c-standard-font-lock-fontify-region-function): New variable.
2656 (c-font-lock-fontify-region): New function.
2658 2011-12-24 Juri Linkov <juri@jurta.org>
2660 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2663 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
2665 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2666 existence of source file. (Bug#10325)
2668 2011-12-23 Alan Mackenzie <acm@muc.de>
2670 Fix unstable fontification inside templates.
2672 * progmodes/cc-langs.el (c-before-font-lock-functions):
2673 Newly created from the singular version. The (c c++ objc) entry now
2674 additionally has c-set-fl-decl-start. The other languages (apart
2675 from AWK) have that as a single entry.
2677 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2678 The functionality for "local" declarations has been extracted to
2679 c-set-fl-decl-start.
2681 * progmodes/cc-mode.el (c-common-init, c-after-change):
2682 Changes due to pluralisation of c-before-font-lock-functions.
2683 (c-set-fl-decl-start): New function, extracted from
2684 c-font-lock-enclosing-decls and enhanced.
2686 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
2688 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2690 2011-12-22 Juri Linkov <juri@jurta.org>
2692 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
2694 2011-12-22 Chong Yidong <cyd@gnu.org>
2696 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2698 2011-12-21 Drew Adams <drew.adams@oracle.com>
2700 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2702 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2704 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2706 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2708 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2709 highlighting and support. Fix up comments for capitalization.
2710 (cfengine-mode-debug): New var.
2711 (cfengine3-mode): Change the modeline indicator to "CFE3".
2712 (cfengine3-font-lock-keywords): Improve defun highlighting.
2713 (cfengine2-actions): Rename from `cfengine-actions'.
2714 (cfengine2-font-lock-keywords): Rename from
2715 `cfengine-font-lock-keywords'.
2716 (cfengine2-imenu-expression): Rename from
2717 `cfengine-imenu-expression'.
2718 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2719 (cfengine2-beginning-of-defun): Rename from
2720 `cfengine-beginning-of-defun'.
2721 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2722 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2723 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2724 modeline indicator to "CFE2".
2725 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2726 (cfengine-mode-abbrevs): Mark obsolete.
2728 2011-12-21 Chong Yidong <cyd@gnu.org>
2730 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2733 2011-12-20 Martin Rudalics <rudalics@gmx.at>
2735 * window.el (window-normalize-buffer-to-display): Remove.
2736 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2738 2011-12-19 Chong Yidong <cyd@gnu.org>
2740 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2741 Don't signal an error in a predicate function; return non-nil.
2742 (vc-dir-mark-file): Move the error here.
2743 (vc-dir-mark-unmark): If acting on the region, keep going if one
2744 of the entries cannot be marked/unmarked.
2745 (vc-dir-mark-all-files): If current entry is a directory, mark
2746 only child files, as documented.
2748 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2750 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2751 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2754 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2756 * term/ns-win.el (ns-get-selection-internal)
2757 (ns-store-selection-internal): Declare.
2758 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2759 Declare as obsolete.
2760 (ns-get-pasteboard, ns-paste-secondary):
2761 Use ns-get-selection-internal.
2762 (ns-set-pasteboard, ns-copy-including-secondary):
2763 Use ns-store-selection-internal.
2765 2011-12-17 Chong Yidong <cyd@gnu.org>
2767 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
2768 (vc-deduce-fileset): Doc fix.
2770 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2772 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2774 2011-12-13 Sam Steingold <sds@gnu.org>
2776 * man.el (Man-getpage-in-background): When running under a
2777 window-system, ignore $MANWIDTH and $COLUMNS.
2779 2011-12-15 Kenichi Handa <handa@m17n.org>
2781 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2782 (setup-ethiopic-environment-internal): Comment out key-binding for
2783 ethio-toggle-punctuation.
2785 2011-12-13 Alan Mackenzie <acm@muc.de>
2787 Add the switch statement to AWK Mode.
2789 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
2790 "default" to the keywords regexp.
2792 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
2793 expression as the rest.
2794 (c-nonlabel-token-key): Allow string literals for AWK.
2795 Refactor for the other modes.
2797 Large brace-block initialisation makes CC Mode slow: Fix.
2798 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
2799 routines. Limit backward searching in c-font-lock-enclosing.decl.
2801 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2802 pp-state and literal type in addition to the limits.
2803 (c-state-safe-place): New defun, extracted from c-state-literal-at.
2804 (c-state-literal-at): Use the above new defun.
2805 (c-slow-in-literal, c-fast-in-literal): Remove.
2806 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
2808 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2809 being in a literal. Add a limit for backward searching.
2811 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2814 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2816 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2818 2011-12-13 Martin Rudalics <rudalics@gmx.at>
2820 * window.el (delete-other-windows): Use correct frame in call to
2821 window-with-parameter.
2823 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2825 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2826 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2827 (makefile-gmake-statements, makefile-makepp-statements):
2828 Use it and add new makepp keywords.
2829 (makefile-makepp-font-lock-keywords): Add new patterns.
2830 (makefile-match-function-end): Match new [...] and [[...]].
2832 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
2834 * ses.el (ses-call-printer-return, ses-cell-property-get)
2835 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2836 (ses-create-cell-variable, ses-reset-header-string)
2837 (ses-cell-set-formula, ses-repair-cell-reference-all)
2838 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2839 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2840 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2841 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2842 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2843 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2844 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2845 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2846 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2847 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2848 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2849 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2851 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2853 * ses.el: The overall change is to add cell renaming, that is
2854 setting fancy names for cell symbols other than name matching
2855 "\\`[A-Z]+[0-9]+\\'" regexp .
2856 (ses-create-cell-variable): New defun.
2857 (ses-relocate-formula): Relocate formulas only for cells the
2858 symbols of which are not renamed, i.e. symbols whose names do not
2859 match regexp "\\`[A-Z]+[0-9]+\\'".
2860 (ses-relocate-all): Relocate values only for cells the symbols of
2861 which are not renamed.
2862 (ses-load): Create cells variables as the (ses-cell ...) are read,
2863 in order to check row col consistency with cell symbol name only
2864 for cells that are not renamed.
2865 (ses-replace-name-in-formula): New defun.
2866 (ses-rename-cell): New defun.
2868 2011-12-11 Chong Yidong <cyd@gnu.org>
2870 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2871 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2873 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2875 * window.el (other-window): Fix docstring.
2877 2011-12-10 Eli Zaretskii <eliz@gnu.org>
2879 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
2880 `from' or `to' address before taking its substring.
2881 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
2882 encoded name is chopped in the middle of the encoded string, and
2883 thus displayed encoded.
2885 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
2887 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2889 2011-12-10 Eli Zaretskii <eliz@gnu.org>
2891 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2892 to use texinfo-update-node and commands that call it if the
2893 Texinfo file uses @node lines without next/prev/up pointers.
2894 Correct outdated description about texinfo-master-menu.
2895 (texinfo-all-menus-update, texinfo-master-menu)
2896 (texinfo-update-node, texinfo-every-node-update)
2897 (texinfo-multiple-files-update): Doc fix. Warn against updating
2898 all the @node lines.
2899 (texinfo-master-menu): Only call texinfo-update-node if the prefix
2900 argument is numeric. Explain better in the doc string what the
2901 function really does.
2902 (texinfo-insert-master-menu-list): Improve the error message
2903 displayed if there's no menu in the Top node.
2904 (Bug#2975) See also this thread:
2905 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2907 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2909 * speedbar.el (speedbar-supported-extension-expressions):
2910 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2912 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
2914 * printing.el (pr-mode-alist):
2915 * simple.el (filter-buffer-substring-functions)
2916 (completion-list-insert-choice-function):
2917 * window.el (window-with-parameter, window-atom-root)
2918 (window-sides-slots, window-size-fixed, window-min-delta)
2919 (window-max-delta, window--resize-mini-window)
2920 (window--resize-child-windows-normal, window-tree)
2921 (delete-other-windows, quit-window, split-window)
2922 (display-buffer-record-window, special-display-buffer-names)
2923 (special-display-regexps, special-display-popup-frame)
2924 (same-window-p, split-window-sensibly)
2925 (display-buffer-overriding-action, display-buffer-alist)
2926 (display-buffer-base-action, display-buffer, switch-to-buffer)
2927 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2928 (fit-window-to-buffer, recenter-positions)
2929 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2930 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2931 and remove unneeded backslashes in docstrings.
2933 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2935 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2937 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2938 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2940 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2941 when reading the makefile (bug#10116).
2943 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2945 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2948 2011-12-06 Glenn Morris <rgm@gnu.org>
2950 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2952 2011-12-06 Chong Yidong <cyd@gnu.org>
2954 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2956 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
2958 * textmodes/table.el (table-shorten-cell): Fix typo.
2960 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2962 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2964 2011-12-05 Eli Zaretskii <eliz@gnu.org>
2966 * descr-text.el (describe-char): Fix display of strong
2967 right-to-left characters and directional embeddings and overrides.
2969 * simple.el (what-cursor-position): Fix display of codepoints of
2970 strong right-to-left characters.
2972 2011-12-05 Chong Yidong <cyd@gnu.org>
2974 * faces.el (read-color): Doc fix.
2976 2011-12-05 Glenn Morris <rgm@gnu.org>
2978 * align.el (align--set-marker): Add doc-string.
2979 Don't try to move something that is not a marker. (Bug#10216)
2981 2011-12-04 Glenn Morris <rgm@gnu.org>
2983 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2984 overly zealous deletion of trailing whitespace.
2986 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
2988 * server.el (server-delete-client): On Windows, do not try to delete
2990 (server-process-filter): On Windows, treat requests for a tty frame as
2991 if they were for a GUI frame if the running server is in GUI mode.
2993 2011-12-03 Glenn Morris <rgm@gnu.org>
2995 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2997 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2999 * electric.el: Streamline electric-indent's hook.
3000 (electric-indent-chars): Revert to simple list.
3001 (electric-indent-functions): New var.
3002 (electric-indent-post-self-insert-function): Use it.
3004 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3005 there's no inferior buffer (bug#10196).
3006 (prolog-consult-compile): Don't use toggle-read-only.
3008 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
3010 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3011 interrupt. (Bug#10187)
3013 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3015 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3018 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3021 2011-12-02 Juri Linkov <juri@jurta.org>
3023 * info.el (Info-search): Display "end of manual" when Isearch
3024 reaches the end of single-file Info manual. (Bug#9918)
3026 2011-12-02 Eli Zaretskii <eliz@gnu.org>
3028 * isearch.el (isearch-message-prefix): Run the input method part
3029 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3031 2011-12-02 Juri Linkov <juri@jurta.org>
3033 * isearch.el (isearch-occur): Use `word-search-regexp' for
3035 (isearch-search-and-update): Add condition for `isearch-word' and
3036 call `word-search-regexp'. (Bug#10145)
3038 2011-12-01 Glenn Morris <rgm@gnu.org>
3040 * eshell/em-hist.el (eshell-hist-initialize):
3041 Handle eshell-history-size nil and HISTSIZE set or unset.
3042 (eshell-history-file-name, eshell-history-size): Fix custom type.
3044 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3046 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3048 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
3050 * progmodes/verilog-mode.el (verilog-pretty-expr):
3051 Rework verilog-pretty-expr to handle new assignment operators in system
3052 verilog, such as += *= and the like.
3053 (verilog-assignment-operator-re): Regular expression to find the
3054 assigment operator in a verilog assignment.
3055 (verilog-assignment-operation-re): Regular expression to find an
3056 assignment statement for pretty-expr.
3057 (verilog-in-attribute-p): Query returns true if point is in an
3058 attribute context; used to skip these for expression line up from
3060 (verilog-in-parameter-p): Query returns true if point is in an
3061 parameter definition context; used to skip these for expression
3062 line up from pretty-expr.
3063 (verilog-in-parenthesis-p): Query returns true if point is in a
3064 parenthetical expression, specifically ( ) but not [ ] or { };
3065 used by pretty-expr.
3066 (verilog-just-one-space): If there is no space, don't add one.
3067 (verilog-get-lineup-indent-2): Specifically skip just attribute
3068 contexts for expression lineup, rather than skipping all
3069 parenthetical expressions.
3070 (verilog-calculate-indent): Fix comment, and fix indent.
3071 (verilog-do-indent): Indent declarations in lists (suggested by
3073 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3075 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3078 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
3080 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3081 parameters with embedded comments. Reported by Ray Stevens.
3082 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3083 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3084 Reported by Tim Holt.
3085 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3086 instantiated by upper module causing wrong expansion until AUTOed a
3087 second time. Reported by K C Buckenmaier.
3088 (verilog-diff-auto): Fix showing .* as a difference when
3089 `verilog-auto-star-save' off. Reported by Dan Dever.
3090 (verilog-auto-reset, verilog-read-always-signals)
3091 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3092 temporary signals in reset list if
3093 verilog-auto-reset-blocking-in-non is nil, and match assignment
3094 style to each signal's assignment type, bug381.
3095 Reported by Thomas Esposito.
3096 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3097 (verilog-uvm-statement-re): Support UVM indentation and
3098 highlighting, with old OVM keywords only.
3099 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
3100 Support AUTOTIEOFF creating non-wire data types.
3101 Suggested by Jonathan Greenlaw.
3102 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3103 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3104 (verilog-inject-sense, verilog-read-inst-pins)
3105 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3106 Fix mismatching parenthesis inside commented out code when deleting
3107 AUTOINST, bug383. Reported by Jonathan Greenlaw.
3108 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3109 non-numeric vector width. Reported by Alex Reed.
3110 (verilog-auto-ascii-enum): Add "onehot" option to work around not
3111 detecting signals with parameter widths. Reported by Alex Reed.
3112 (verilog-auto-delete-trailing-whitespace):
3113 With `verilog-auto-delete-trailing-whitespace' remove trailing
3114 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3115 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3116 Fix verilog-scan-cache corruption when running user AUTO expansion
3117 hooks that call indentation routines.
3118 (verilog-simplify-range-expression): Fix typo ignoring lower case
3120 (verilog-delete-auto): Fix delete-autos to also remove user created
3121 automatics, as long as they start with AUTO.
3122 (verilog-batch-diff-auto, verilog-diff-auto)
3123 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3124 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3125 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3126 (verilog-in-paren-quick, verilog-re-search-backward-quick)
3127 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3128 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
3129 is disabled and its cache will get corrupt, causing AUTOS not to
3130 expand. Instead use only -quick functions.
3131 (verilog-scan-region): Fix scanning over escaped quotes.
3132 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3133 (verilog-re-search-backward-quick)
3134 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3135 related functions now ignore strings, to fix misparsing of strings
3136 with magic comments embedded in them.
3137 (verilog-read-auto-template):
3138 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3139 Reported by Brad Dobbie.
3140 (verilog-read-auto-template):
3141 Fix 'verilog-auto-inst-template-numbers' with comments.
3142 Reported by Brad Dobbie.
3143 (verilog-auto-inst, verilog-auto-inst-param)
3144 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3145 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3146 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
3147 debugging templates without merge conflicts, bug357.
3148 Reported by Brad Dobbie.
3149 (verilog-read-auto-template):
3150 Fix verilog-auto-inst-template-numbers with multiple templates.
3151 Reported by Brad Dobbie.
3152 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3153 abbrevs so user won't be asked to save.
3154 (verilog-read-auto-lisp-present): Fix to start at beginning of
3155 buffer in case called outside of verilog-auto.
3156 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3157 to "X-2". Reported by Matthew Myers.
3158 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3159 all inputs from module templates. Reported by Leith Johnson.
3160 (verilog-module-inside-filename-p): Fix locating programs as with
3162 (verilog-auto-inst-port): Fix vl-width expressions when using
3163 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3164 (verilog-decls-get-regs, verilog-decls-get-signals,
3165 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3166 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3167 verilog-read-decls): Combine reg and wire structures into one var
3168 structure to represent SystemVerilog concepts.
3169 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3170 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
3171 (verilog-auto-wire-type, verilog-insert-definition):
3172 Add verilog-auto-wire-type and AUTOLOGIC to support using
3173 SystemVerilog "logic" keyword instead of "wire"/"reg".
3174 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3175 to declares outputs that also have assignments (presumably in an
3176 ifdef or generate if so there's not a driver conflict).
3177 Reported by Matthew Myers.
3178 (verilog-auto-declare-nettype, verilog-insert-definition):
3179 Add verilog-auto-declare-nettype to fix declarations using
3180 `default_nettype none. Reported by Julian Gorfajn.
3181 (verilog-read-always-signals-recurse, verilog-read-decls)
3182 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3183 malformed end statement, bug325. Reported by Joshua Wise and
3185 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3186 (verilog-inst-comment-re): Fix not deleting Interfaced comment
3187 when expanding .* in interfaces, bug320.
3188 Reported by Pierre-David Pfister.
3189 (verilog-read-module-name): Fix import statements between module
3190 name and open parenthesis, bug317.
3191 Reported by Pierre-David Pfister.
3192 (verilog-simplify-range-expression): Fix simplification of
3193 multiplications inside AUTOWIRE connections, bug303.
3194 (verilog-auto-inst-port): Support parameter expansion in
3195 multidimensional arrays.
3196 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3197 after "assert property". Reported by Julian Gorfajn.
3198 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3199 with multiplication, bug303.
3200 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3201 Reported by Jan Frode Lonnum.
3203 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
3205 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3206 (hfy-shell-file-name, hfy-shell):
3207 * international/fontset.el (x-decompose-font-name): Fix typos.
3209 2011-11-29 Ken Brown <kbrown@cornell.edu>
3211 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3212 (gdb-version): Remove defvar.
3213 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3214 (gdb-gud-context-command, gdb-non-stop-handler)
3215 (gdb-current-context-command, gdb-stopped): Use it.
3216 (gdb-init-1): Enable pretty printing here.
3217 (gdb-non-stop-handler): Don't enable pretty-printing here.
3218 Check to see if the target supports non-stop mode; if not, turn off
3219 non-stop mode. Use the following.
3220 (gdb-check-target-async): New defun.
3221 (gud-watch, gdb-stopped): Fix whitespace.
3222 (gdb-get-source-file): Don't try to display the source file if
3223 `gdb-main-file' is nil.
3225 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3227 * align.el: Try to generate fewer markers (bug#10047).
3228 (align--set-marker): New macro.
3229 (align-region): Use it.
3231 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3233 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3235 2011-11-29 Chong Yidong <cyd@gnu.org>
3237 * indent.el (indent-for-tab-command, indent-according-to-mode):
3239 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3241 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
3243 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3244 aware of remote file names. (Bug#10124)
3246 2011-11-29 Chong Yidong <cyd@gnu.org>
3248 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3250 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3252 * files.el (find-file): Don't use force-same-window (bug#10144).
3253 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3254 use pop-to-buffer if the selected window can't be used.
3255 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3257 2011-11-28 Eli Zaretskii <eliz@gnu.org>
3259 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3262 2011-11-28 Chong Yidong <cyd@gnu.org>
3264 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3266 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
3268 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3269 gdb-get-source-file-list on gdb-create-source-file-list.
3271 2011-11-26 Eli Zaretskii <eliz@gnu.org>
3273 * whitespace.el (whitespace-newline): Use a different foreground
3274 color for 16-color light-background displays.
3276 2011-11-24 Chong Yidong <cyd@gnu.org>
3278 * window.el (display-buffer--special-action): Doc fix.
3280 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
3282 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3283 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3284 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3285 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3286 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3287 (avl-tree-stack-first):
3288 * emacs-lisp/cconv.el (cconv--analyse-use):
3289 * net/gnutls.el (gnutls-negotiate): Fix typos.
3291 2011-11-24 Glenn Morris <rgm@gnu.org>
3293 * lpr.el (lpr-windows-system, lpr-lp-system):
3294 * mail/binhex.el (binhex-begin-line):
3295 * progmodes/grep.el (grep-history, grep-find-history):
3296 * textmodes/flyspell.el:
3297 * vc/pcvs-defs.el (cvs-global-menu):
3298 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3299 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3300 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3302 * net/tls.el: Fix case of "GnuTLS".
3304 * paths.el (rmail-file-name): Format doc-string for make-docfile.
3306 * version.el (emacs-build-system): Give it a doc-string.
3308 2011-11-24 Juri Linkov <juri@jurta.org>
3310 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3312 2011-11-24 Glenn Morris <rgm@gnu.org>
3314 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3315 if called on a non-mime message just toggle the headers. (Bug#8006)
3317 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
3319 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3320 (allout-lead-with-comment-string, allout-structure-deleted-hook)
3321 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3322 (allout-rebullet-heading, allout-open-sibtopic)
3323 (allout-toggle-current-subtree-encryption)
3324 (allout-toggle-subtree-encryption, allout-encrypt-string)
3325 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3326 (allout-distinctive-bullets-string, allout-auto-activation):
3327 * window.el (window-normalize-buffer-to-display):
3328 * progmodes/verilog-mode.el (verilog-batch-indent):
3329 * textmodes/bibtex.el (bibtex-field-braces-opt)
3330 (bibtex-field-strings-opt):
3331 * vc/cvs-status.el (cvs-tree-merge):
3334 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
3336 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3337 `non-essential' to t, in order to avoid remote connections.
3339 2011-11-23 Eli Zaretskii <eliz@gnu.org>
3341 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3342 On MS-DOS and MS-Windows, compare with loaddefs.el
3345 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3347 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
3349 2011-11-23 Glenn Morris <rgm@gnu.org>
3351 * paths.el (rmail-file-name): Reformat the doc-string so that it
3354 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3355 (rmail-auto-file): Ignore case in the "special" field names,
3356 as mail-fetch-field does for all others.
3358 * mail/rmail.el (rmail-forward):
3359 * mail/rmailkwd.el (rmail-set-label):
3360 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3361 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
3363 * mail/rmail.el (rmail-current-message): Doc fix.
3365 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
3367 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3369 * server.el (server-eval-and-print): Allow C-g (bug#6585).
3371 2011-11-22 Glenn Morris <rgm@gnu.org>
3373 * mail/rmailmm.el (test-rmail-mime-handler)
3374 (test-rmail-mime-bulk-handler)
3375 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3377 2011-11-21 Juri Linkov <juri@jurta.org>
3379 * calc/calc.el (calc-read-key-sequence):
3380 Let-bind `input-method-function' to nil. (Bug#10018)
3382 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3384 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3385 Tell the caller that the next line needs recomputation, even
3386 though it doesn't start a sexp (bug#10094).
3388 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3390 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3392 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3394 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3395 Use force-same-window.
3397 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
3399 * descr-text.el (describe-char-unicode-data):
3400 * json.el (json-string-escape):
3401 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3402 (Footnote-unicode, Footnote-style-p):
3403 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3405 2011-11-20 Chong Yidong <cyd@gnu.org>
3407 * window.el (replace-buffer-in-windows): Restore interactive spec.
3409 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3411 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3413 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3414 (byte-compile-global-not-obsolete-vars): New var.
3415 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3417 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3419 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
3421 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3422 * progmodes/pascal.el (electric-pascal-equal):
3423 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3424 * xml.el (xml-substitute-special): Fix typos.
3426 2011-11-20 Glenn Morris <rgm@gnu.org>
3428 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3429 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3431 (rmail-decode-mime-charset): Mark as obsolete.
3433 * mail/rmailsum.el (rmail-message-regexp-p-1):
3434 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3435 Before using mime functions, check they are set. (Bug#10077)
3437 2011-11-19 Juri Linkov <juri@jurta.org>
3439 * info.el (Info-finder-find-node): Use `package--builtins' instead
3440 of `package-alist'. Use node names formed by the pattern "Keyword "
3441 and the keyword name.
3443 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3445 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
3447 2011-11-19 Juri Linkov <juri@jurta.org>
3449 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3450 that calls `revert-buffer' on all Info buffers. (Bug#9915)
3451 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3452 `old-history', `old-history-forward'. Add let-binding
3453 `window-selected'. Remove calls to `kill-buffer',
3454 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
3455 before calling `Info-find-node', so `Info-find-node-2' will reread
3456 the Info file. Restore window positions only when `window-selected'
3459 2011-11-19 Juri Linkov <juri@jurta.org>
3461 * isearch.el (isearch-lazy-highlight-new-loop):
3462 Remove condition `(not isearch-error)'. (Bug#9918)
3464 * misearch.el (multi-isearch-search-fun): Add condition
3465 `(not bound)' to ignore lazy-highlighting search.
3466 Add the search-failed message "end of multi" when the end of
3467 multi-sequence is reached. Uncapitalize the search-failed
3468 message "Repeat for next buffer".
3470 * info.el (Info-search): Add the search-failed message
3471 "end of the manual" when the end of the manual is reached
3474 2011-11-19 Juri Linkov <juri@jurta.org>
3476 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3477 Use non-destructive `remove' instead of `delete' because
3478 `Info-history-list' stored to `Info-isearch-initial-history-list' in
3479 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3481 2011-11-19 Juri Linkov <juri@jurta.org>
3483 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3484 to nil instead of binding `search-ring' and `regexp-search-ring'.
3487 2011-11-19 Eli Zaretskii <eliz@gnu.org>
3489 * simple.el (line-move): Force movement by logical lines for any
3490 hscrolled window, not only when auto-hscroll-mode is on.
3491 (line-move-visual): Update doc string to that effect. (Bug#10076)
3493 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3495 * language/european.el (macintosh): Define as alias for mac-roman.
3497 2011-11-19 Eli Zaretskii <eliz@gnu.org>
3499 * mail/rmailmm.el (rmail-mime-display-header)
3500 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3501 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3502 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3503 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3504 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3506 (rmail-mime-entity-segment): To get past the tagline, move forward
3507 2 more lines, to account for the 2 empty lines that precede and
3508 follow the line with the buttons.
3509 (rmail-mime-update-tagline): Move one more line, to get past the
3510 empty line that follows the buttons in the tagline. (Bug#9520)
3512 2011-11-19 Martin Rudalics <rudalics@gmx.at>
3514 * window.el (window-max-delta-1, window-min-delta-1)
3515 (window-min-size-1, window-state-get-1, window-state-put-1)
3516 (window-state-put-2): Use "window--" prefix.
3518 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3520 * emacs-lisp/smie.el: Improve warnings and conflict detection.
3521 (smie-warning-count): New var.
3522 (smie-set-prec2tab): Use it.
3523 (smie-bnf->prec2): Improve warnings. Add docstring.
3524 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3525 (smie-bnf--set-class): New function.
3526 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
3529 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3530 (compilation-error-properties, compilation-move-to-column):
3531 Handle compilation-first-column while in the target buffer.
3533 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3534 Don't hardcode point-min==1.
3536 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3537 (eshell-rewrite-for-command): Remove workaround.
3538 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3539 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3540 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3542 * files-x.el (modify-file-local-variable): Obey commenting conventions.
3544 2011-11-17 Glenn Morris <rgm@gnu.org>
3546 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3547 Ignore buffer-local generated-autoload-file if it is the same
3548 as the global value. (Bug#10049)
3550 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
3552 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3553 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3554 (reftex-toc-previous-heading, reftex-toc-max-level)
3555 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3556 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3557 (reftex-toc-do-promote, reftex-toc-promote-prepare)
3558 (reftex-toc-promote-action, reftex-toc-extract-section-number)
3559 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3560 (reftex-toc-rename-label, reftex-toc-visit-location)
3561 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3562 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3563 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3564 leaving "*toc*" only for references to the buffer.
3566 2011-11-17 Martin Rudalics <rudalics@gmx.at>
3568 * window.el (window-resize, delete-window, split-window):
3569 Replace window-splits by window-combination-resize.
3570 * cus-start.el (window-splits): Replace by window-combination-resize.
3572 2011-11-17 Glenn Morris <rgm@gnu.org>
3574 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3575 Make bash entry derive from sh entry, not shell entry.
3577 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
3579 * net/tramp-cache.el (tramp-flush-file-property): Flush also
3580 properties of linked files. (Bug#9879)
3582 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3585 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
3587 * menu-bar.el (menu-bar-file-menu):
3588 * printing.el (pr-ps-utility):
3589 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3590 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3591 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3592 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3593 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3594 (icalendar--convert-cyclic-to-ical)
3595 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3596 (icalendar--convert-ical-to-diary)
3597 (icalendar--convert-recurring-to-diary)
3598 (icalendar--convert-non-recurring-all-day-to-diary)
3599 (icalendar-import-format-sample):
3600 * progmodes/idlw-shell.el (idlwave-shell-mode):
3601 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3602 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3603 (vhdl-ps-print-init): Fix typos.
3605 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
3607 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3608 FSF and collapse date sequence, obscure author/maintainer email address
3609 better, remove extra version line, track relocation of author's webpage.
3611 * progmodes/python.el (python-pdbtrack-input-prompt)
3612 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3613 regular python pdb prompts. Adjustments shamelessly taken exactly as
3614 suggested in EmacsWiki page (tiny change):
3615 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
3617 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
3619 * expand.el (expand-pos, expand-index, expand-point):
3620 Remove redundant info from docstring.
3621 (expand-add-abbrevs): Doc fix.
3622 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3623 (expand-sample-perl-mode-expand-list): Fix typos.
3625 * net/dbus.el (dbus-event-member-name):
3626 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3627 * term/pc-win.el (msdos-create-frame-with-faces):
3628 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3630 2011-11-16 Martin Rudalics <rudalics@gmx.at>
3632 * window.el (split-window, window-state-get-1)
3633 (window-state-put-1, window-state-put-2): Rename occurrences of
3634 window-nest to window-combination-limit.
3635 * cus-start.el (window-nest): Rename to window-combination-limit.
3637 2011-11-16 Chong Yidong <cyd@gnu.org>
3639 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3642 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3644 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3645 `completing-read' will remove *Completions* and will preserve
3646 current-buffer for us.
3647 (tmm-add-prompt): Users of *Completions* will always (re)set its
3649 (tmm-old-comp-map): Remove.
3651 2011-11-16 Glenn Morris <rgm@gnu.org>
3653 * mail/rmailedit.el: Require rmailmm when compiling.
3654 (rmail-old-mime-state): New declaration.
3655 (rmail-edit-current-message): If editing a mime message,
3656 edit the "raw" message from the mbox buffer.
3657 (rmail-cease-edit): Handle mime messages. (Bug#9840)
3659 2011-11-15 Glenn Morris <rgm@gnu.org>
3661 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3662 which wasn't being used. Add optional arg to force given state.
3663 (rmail-mime): Add optional arg to force given state.
3665 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
3667 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3668 * frame.el (display-mm-dimensions-alist):
3669 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3670 (outline-move-subtree-down):
3671 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3672 (newsticker--treeview-do-get-node):
3673 * net/quickurl.el (quickurl-list-buffer-name):
3674 * progmodes/dcl-mode.el (dcl-mode):
3675 * progmodes/gdb-mi.el (gdb-mapcar*):
3676 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3678 2011-11-15 Glenn Morris <rgm@gnu.org>
3680 * mail/rmail.el (rmail-file-coding-system): It's only ever used
3681 in a boolean sense, so just make it a boolean, and fix the doc.
3682 (rmail-show-mime-function, rmail-mime-feature)
3683 (rmail-require-mime-maybe): Doc fixes.
3684 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3686 * mail/rmailmm.el (rmail-show-mime): Doc fix.
3688 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
3690 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3691 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3692 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3693 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3695 2011-11-15 Glenn Morris <rgm@gnu.org>
3697 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3698 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3699 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3700 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3701 (rmail-mime, rmail-show-mime): Doc fixes.
3703 * term/ns-win.el (mode-line-frame-identification):
3704 Leave it alone. (Bug#10051)
3706 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3708 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3709 Handle empty buffers. (Bug#9978)
3711 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
3713 * international/mule.el (define-charset):
3714 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3715 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3716 * progmodes/verilog-mode.el (verilog-backward-token):
3717 * textmodes/ispell.el (lookup-words):
3718 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3720 2011-11-14 Glenn Morris <rgm@gnu.org>
3722 * progmodes/executable.el
3723 (executable-make-buffer-file-executable-if-script-p):
3724 Handle file-modes returning nil.
3726 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3727 message - not necessary, and causes problems. (Bug#9831)
3729 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3731 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3733 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3734 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
3735 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3737 2011-11-12 Martin Rudalics <rudalics@gmx.at>
3739 * window.el (window-resize, delete-window): Use window-splits
3740 variable instead of function.
3741 (window-state-get-1, window-state-put-2, window-state-put):
3742 Don't deal with windows' splits status.
3744 2011-11-12 Glenn Morris <rgm@gnu.org>
3746 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3747 (apropos-documentation): Doc fixes.
3749 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
3751 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3752 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3754 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3756 * electric.el (electric-indent-post-self-insert-function): Make it
3757 possible for a char to only indent in some circumstances.
3758 (electric-indent-mode): Simplify.
3760 2011-11-11 Martin Rudalics <rudalics@gmx.at>
3762 * window.el (windows-with-parameter): Remove unused function.
3763 (windows-at-side): Rename to window-at-side-list.
3764 (window-check, window-atom-check, window-atom-check-1)
3765 (window-side-check, window-size-ignore, window-size-fixed-1)
3766 (window-in-direction-2): Prefix with "window--".
3767 (window-tree-1): Rename to window--subtree, fix doc-string.
3769 2011-11-11 Glenn Morris <rgm@gnu.org>
3771 * subr.el (eval-after-load): If FILE is already loaded,
3772 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3774 2011-11-10 Glenn Morris <rgm@gnu.org>
3776 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3777 Call svn via vc-svn-command rather than vc-do-command.
3778 (vc-svn-command): Add --non-interactive. (Bug#9993)
3779 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3781 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3782 Add toggle-read-only. (Bug#7292)
3783 * files.el (toggle-read-only): Mention that it should only
3784 be used interactively. (Bug#10006)
3786 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3788 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3789 Adjust regexp for OCaml warnings.
3791 * electric.el (electric-pair-post-self-insert-function): Let user
3792 turn it off buffer-locally (bug#9932).
3794 * progmodes/python.el (python-beginning-of-statement):
3797 * progmodes/compile.el: Better handle TABs (bug#9749).
3798 (compilation-internal-error-properties)
3799 (compilation-next-error-function): Obey the target buffer's
3800 compilation-error-screen-columns.
3802 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
3804 * progmodes/meta-mode.el: Remove obsolete comments.
3805 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3806 Fix typos in docstrings.
3808 2011-11-09 Martin Rudalics <rudalics@gmx.at>
3810 * window.el (window-size-fixed-p): Rewrite doc-string.
3811 (window-resizable-p): Rename to window--resizable-p. Update callers.
3812 (window--resizable): New function. Make all callers of
3813 window-resizable call window--resizable instead.
3814 (window-resizable): Rewrite in terms of window--resizable.
3816 2011-11-08 Glenn Morris <rgm@gnu.org>
3818 * progmodes/delphi.el (delphi-mode-syntax-table):
3819 Let define-derived-mode define a proper syntax table. (Bug#9994)
3821 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3823 * window.el: Stay away from defsubst.
3824 (window-list-no-nils): Remove.
3825 (window-state-get-1, window-state-get): Use backquote instead.
3827 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3829 * emacs-lisp/find-func.el (find-function-read):
3830 Fix incorrect use of default argument in `completing-read'.
3832 2011-11-08 Martin Rudalics <rudalics@gmx.at>
3834 * window.el (display-buffer-function, special-display-function):
3835 Mention display-buffer-record-window but do not mention
3836 help-setup parameter in doc-strings.
3837 (window-min-delta): Fix doc-string typo.
3839 2011-11-08 Chong Yidong <cyd@gnu.org>
3841 * window.el (window-total-height, window-total-width): Doc fix.
3842 (window-body-size): Move from C.
3843 (window-body-height, window-body-width): Move to C.
3845 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3847 * window.el: Make special-display like display-buffer-alist (bug#9532).
3848 (display-buffer--special-action): New function, morphed
3849 from display-buffer--special.
3850 (display-buffer): Use it to handle special-display-buffers at higher
3851 priority (just after display-buffer-alist).
3852 (display-buffer-fallback-action, display-buffer--other-frame-action)
3853 (pop-to-buffer-same-window): Remove display-buffer--special.
3855 2011-11-07 Glenn Morris <rgm@gnu.org>
3857 * calendar/cal-menu.el (cal-menu-set-date-title):
3858 Do nothing if not in a calendar. (Bug#9976)
3860 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3862 * files.el (find-file): Always use selected-window.
3864 2011-11-07 Martin Rudalics <rudalics@gmx.at>
3866 * window.el (window-combinations): Make WINDOW argument
3867 mandatory. Rewrite doc-string.
3868 (walk-window-subtree, window-atom-check, window-min-delta)
3869 (window-max-delta, window--resize-this-window)
3870 (window--resize-root-window-vertically, window-tree)
3871 (balance-windows, window-state-put): Rewrite doc-strings as to
3872 not mention the term "subwindow".
3873 (window--resize-subwindows-skip-p): Rename to
3874 window--resize-child-windows-skip-p.
3875 (window--resize-subwindows-normal): Rename to
3876 window--resize-child-windows-normal.
3877 (window--resize-subwindows): Rename to
3878 window--resize-child-windows.
3879 (window-or-subwindow-p): Rename to window--in-subtree-p.
3881 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3883 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3884 Ensure that mbox format messages end in two newlines (Bug#9974).
3886 2011-11-06 Chong Yidong <cyd@gnu.org>
3888 * window.el (window-combination-p): Function deleted; its
3889 side-effect is not used in any existing code.
3890 (window-combinations, window-combined-p): Call window-*-child
3893 2011-11-05 Chong Yidong <cyd@gnu.org>
3895 * window.el (window-valid-p): Rename from window-any-p.
3896 (window-size-ignore, window-state-get): Callers changed.
3897 (window-normalize-window): Rename from window-normalize-any-window.
3898 New arg LIVE-ONLY, replacing window-normalize-live-window.
3899 (window-normalize-live-window): Delete.
3900 (window-combination-p, window-combined-p, window-combinations)
3901 (walk-window-subtree, window-atom-root, window-min-size)
3902 (window-sizable, window-sizable-p, window-size-fixed-p)
3903 (window-min-delta, window-max-delta, window-resizable)
3904 (window-resizable-p, window-full-height-p, window-full-width-p)
3905 (window-current-scroll-bars, window-point-1, set-window-point-1)
3906 (window-at-side-p, window-in-direction, window-resize)
3907 (adjust-window-trailing-edge, maximize-window, minimize-window)
3908 (window-deletable-p, delete-window, delete-other-windows)
3909 (record-window-buffer, unrecord-window-buffer)
3910 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3911 (quit-window, split-window, window-state-put)
3912 (set-window-text-height, fit-window-to-buffer)
3913 (shrink-window-if-larger-than-buffer): Callers changed.
3915 2011-11-04 Eli Zaretskii <eliz@gnu.org>
3917 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3918 rfc2047-decode-string.
3919 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3922 * window.el (window-body-height, window-body-width): Mention in
3923 the doc string that the return values are in frame's canonical
3926 2011-11-03 Alan Mackenzie <acm@muc.de>
3928 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3929 change in cc-engine.el.
3931 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3933 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3935 2011-11-02 Martin Rudalics <rudalics@gmx.at>
3937 * window.el (quit-window): Call unrecord-window-buffer after
3938 showing another buffer in the window. (Bug#9937)
3939 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
3941 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
3943 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3944 Accept status with more than 9 shelves. (Bug#9935)
3945 Reported by Colin D Bennett <colin@gibibit.com>.
3947 2011-11-01 Martin Rudalics <rudalics@gmx.at>
3949 * help.el (with-help-window): Don't reference
3950 temp-buffer-show-specifiers in doc-string.
3952 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3954 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3957 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3959 * whitespace.el: New version 13.2.2.
3960 (whitespace-newline-mode): Disable properly. Reported by Sarah
3963 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
3965 * net/newst-treeview.el: Remove "Time-stamp".
3966 (newsticker--group-manage-orphan-feeds): Do not call
3967 newsticker--treeview-tree-update.
3968 (newsticker-treeview-update, newsticker-treeview):
3969 Call newsticker--treeview-tree-update if necessary.
3971 2011-10-30 Martin Rudalics <rudalics@gmx.at>
3973 * window.el (window-iso-combination-p, window-iso-combined-p)
3974 (window-iso-combinations): Remove "iso-" infix.
3975 Suggested by Chong Yidong.
3976 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3977 (window-max-delta-1, window-resize, window--resize-siblings)
3978 (window--resize-this-window, adjust-window-trailing-edge)
3979 (split-window, balance-windows-1)
3980 (shrink-window-if-larger-than-buffer):
3981 * calendar/calendar.el (calendar-generate-window):
3982 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3984 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3986 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3987 in place (bug#9907).
3988 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3989 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3990 (eshell-structure-basic-command, eshell-rewrite-while-command)
3991 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3992 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3993 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3994 (eshell-do-pipelines-synchronously, eshell-eval-command):
3995 Use backquotes and prefer setq to set.
3996 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3997 (eshell-macrop): Use functionp.
3998 (eshell-do-eval): Handle multiple expressions in `while' body.
4000 2011-10-30 Chong Yidong <cyd@gnu.org>
4002 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4003 instead of set-mark (Bug#9810).
4005 2011-10-30 Chong Yidong <cyd@gnu.org>
4007 * window.el (split-window-below, split-window-right): Rename from
4008 split-window-above-each-other and split-window-side-by-side
4009 respectively. All callers changed.
4010 (split-window-sensibly, split-window-sensibly): Use them.
4011 (split-window-keep-point): Doc fix.
4013 * isearch.el: Add isearch-scroll property to split-window-below
4014 and split-window-right.
4016 * follow.el (follow-mode):
4017 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4018 * progmodes/ada-xref.el (ada-gdb-application):
4019 * emulation/vip.el (vip-buffer-in-two-windows):
4020 * image-dired.el (image-dired-dired-with-window-configuration):
4021 * dired-x.el (dired-do-find-marked-files):
4022 * dired.el (dired-pop-to-buffer):
4023 * bs.el (bs--show-with-configuration):
4024 * vc/emerge.el (emerge-setup-windows):
4025 * textmodes/two-column.el (2C-two-columns):
4026 * textmodes/reftex-toc.el (reftex-toc):
4027 * progmodes/gdb-mi.el (gdb-setup-windows):
4028 * progmodes/fortran.el (fortran-window-create):
4029 * net/newst-treeview.el (newsticker--treeview-window-init):
4030 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4031 * emulation/tpu-edt.el (tpu-gold-map):
4032 * emulation/crisp.el (crisp-mode-map):
4033 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4035 2011-10-29 Chong Yidong <cyd@gnu.org>
4037 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4039 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4041 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4042 forged Ispell output (Bug#7904).
4044 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4046 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4048 * doc-view.el: Avoid ugly errors about not finding nil.
4049 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4050 (doc-view-dvipdf-program, doc-view-unoconv-program)
4051 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4052 Avoid nil or absolute file name as default value.
4053 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4055 2011-10-28 Alan Mackenzie <acm@muc.de>
4057 * progmodes/cc-defs.el (c-version): -> 5.32.2.
4059 2011-10-28 Alan Mackenzie <acm@muc.de>
4061 Amend the handling of c-beginning/end-of-defun in nested declaration
4064 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4065 cc-langs.el. Change it to a defcustom.
4067 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4070 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4071 Prevent "class foo : bar" being spuriously recognized as a label.
4073 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
4074 Add parameter `inclusive' (to include enclosing braces in the region).
4075 (c-widen-to-enclosing-decl-scope): New function.
4076 (c-while-widening-to-decl-block): New macro.
4077 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4078 outward for defun boundaries, and correspondingly change symbol
4079 `respect-enclosure' to `go-outward'.
4080 (c-declaration-limits): Change algorithm to report only the "innermost"
4083 2011-10-28 Deniz Dogan <deniz@dogan.se>
4085 * net/rcirc.el (rcirc-mode): Use hard newlines.
4087 2011-10-28 Alan Mackenzie <acm@muc.de>
4089 Amend to indent and fontify macros "which include their own semicolon"
4090 correctly, using the "virtual semicolon" mechanism.
4092 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
4094 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4095 Recode to scan one line at a time rather than having \n and \r
4096 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
4097 (c-forward-label): Amend for virtual semicolons.
4098 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
4100 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4101 of the new C macros.
4103 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
4104 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4105 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
4106 (c-opt-cpp-macro-define): Make into a full language variable.
4107 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4108 AWK Mode (including \n, \r) removed, no longer needed.
4110 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4111 Invoke c-make-macro-with-semi-re.
4113 * progmodes/cc-vars.el (c-macro-with-semi-re):
4114 (c-macro-names-with-semicolon): New variables.
4115 (c-make-macro-with-semi-re): New function.
4117 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4119 * vc/log-edit.el: Fill empty field rather than adding new one.
4120 (log-edit-add-field): New function.
4121 (log-edit-insert-changelog): Use it.
4123 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4125 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4127 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4129 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4130 (gdb--check-interpreter): New function.
4133 2011-10-27 Glenn Morris <rgm@gnu.org>
4135 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4136 (least-positive-float, least-negative-float)
4137 (least-positive-normalized-float, least-negative-normalized-float)
4138 (float-epsilon, float-negative-epsilon):
4139 Remove unnecessary declarations.
4141 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4142 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4143 (least-positive-float, least-negative-float)
4144 (least-positive-normalized-float, least-negative-normalized-float)
4145 (float-epsilon, float-negative-epsilon): Add doc-strings,
4146 based on those in cl.texi.
4148 * files.el (set-visited-file-name): If the major-mode changed,
4149 reload the local variables. (Bug#9796)
4151 2011-10-27 Chong Yidong <cyd@gnu.org>
4153 * subr.el (change-major-mode-after-body-hook): New hook.
4154 (run-mode-hooks): Run it.
4156 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4157 Use change-major-mode-before-body-hook.
4159 * simple.el (fundamental-mode):
4160 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4161 change introducing fundamental-mode-hook.
4163 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
4165 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
4167 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
4169 * ido.el (ido-file-name-all-completions-1): Do not require
4170 tramp.el explicitly. (Bug#7583)
4172 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4174 * progmodes/octave-mod.el:
4175 * progmodes/octave-inf.el: Update maintainer.
4177 2011-10-26 Chong Yidong <cyd@gnu.org>
4179 * subr.el (with-wrapper-hook): Rewrite doc.
4181 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
4183 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
4184 filenames "/method:foo:". (Bug#9793)
4186 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4188 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4191 2011-10-24 Glenn Morris <rgm@gnu.org>
4193 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4195 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
4197 * notifications.el: Add the requirement of a running D-Bus session
4198 bus to the Commentary.
4200 2011-10-24 Juri Linkov <juri@jurta.org>
4202 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4203 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4206 2011-10-24 Juri Linkov <juri@jurta.org>
4208 * info.el (Info-following-node-name-re): Add newline to the list
4209 of allowed characters for leading space. (Bug#9824)
4211 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4213 * progmodes/octave-inf.el (inferior-octave-mode-map):
4214 Fix C-c C-h binding.
4215 * progmodes/octave-mod.el (octave-help): Remove.
4217 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
4219 Sync with Tramp 2.2.3.
4221 * net/tramp-cache.el (top): Pacify byte-compiler using
4222 `init-file-user' and `site-run-file'.
4224 * net/trampver.el: Update release number.
4226 2011-10-23 Chong Yidong <cyd@gnu.org>
4228 * files.el (toggle-read-only): Remove obsolete comment about
4231 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4232 for toggle-read-only. Note that this hasn't called vc-next-action
4233 since 2008-05-02, though it wasn't documented at the time.
4235 * vc/ediff-init.el (ediff-toggle-read-only-function):
4236 Use toggle-read-only.
4238 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4240 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4243 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4244 correct faulty logical expression.
4245 (c-parse-state-state, c-record-parse-state-state):
4246 (c-replay-parse-state-state): New defvar/defuns.
4247 (c-debug-parse-state): Use new functions.
4249 2011-10-22 Martin Rudalics <rudalics@gmx.at>
4251 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
4252 last fix. Use window-in-direction correctly.
4254 2011-10-21 Chong Yidong <cyd@gnu.org>
4256 * progmodes/idlwave.el (idlwave-mode):
4257 * progmodes/vera-mode.el (vera-mode): No need to set
4258 require-final-newline; that's done in prog-mode.
4259 Suggested by Stefan Monnier.
4261 2011-10-21 Martin Rudalics <rudalics@gmx.at>
4263 * mouse.el (mouse-drag-window-above)
4264 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4265 (mouse-drag-mode-line-1, mouse-drag-header-line)
4266 (mouse-drag-vertical-line-rightward-window): Remove.
4267 (mouse-drag-line): New function.
4268 (mouse-drag-mode-line, mouse-drag-header-line)
4269 (mouse-drag-vertical-line): Call mouse-drag-line.
4270 * window.el (window-at-side-p, windows-at-side): New functions.
4272 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
4274 * tar-mode.el (tar-grind-file-mode):
4275 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4277 2011-10-21 Chong Yidong <cyd@gnu.org>
4279 * progmodes/idlwave.el (idlwave-mode):
4280 * progmodes/vera-mode.el (vera-mode):
4281 Use mode-require-final-newline.
4283 2011-10-20 Glenn Morris <rgm@gnu.org>
4285 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
4287 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
4289 * emulation/cua-base.el (cua-set-mark): Fix case of string.
4291 2011-10-20 Chong Yidong <cyd@gnu.org>
4293 * emulation/cua-base.el (cua-mode):
4294 * mail/footnote.el (footnote-mode):
4295 * mail/mailabbrev.el (mail-abbrevs-mode):
4296 * net/xesam.el (xesam-minor-mode):
4297 * progmodes/bug-reference.el (bug-reference-mode):
4298 * progmodes/cap-words.el (capitalized-words-mode):
4299 * progmodes/compile.el (compilation-minor-mode)
4300 (compilation-shell-minor-mode):
4301 * progmodes/gud.el (gud-tooltip-mode):
4302 * progmodes/hideif.el (hide-ifdef-mode):
4303 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4304 * progmodes/subword.el (subword-mode):
4305 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4306 * progmodes/which-func.el (which-function-mode):
4307 * term/tvi970.el (tvi970-set-keypad-mode):
4308 * term/vt100.el (vt100-wide-mode):
4309 * textmodes/flyspell.el (flyspell-mode):
4310 * textmodes/ispell.el (ispell-minor-mode):
4311 * textmodes/nroff-mode.el (nroff-electric-mode):
4312 * textmodes/paragraphs.el (use-hard-newlines):
4313 * textmodes/refill.el (refill-mode):
4314 * textmodes/reftex.el (reftex-mode):
4315 * textmodes/rst.el (rst-minor-mode):
4316 * textmodes/sgml-mode.el (html-autoview-mode)
4317 (sgml-electric-tag-pair-mode):
4318 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4319 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4320 * emulation/crisp.el (crisp-mode):
4321 * emacs-lisp/eldoc.el (eldoc-mode):
4322 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4323 minor mode behavior.
4325 2011-10-19 Juri Linkov <juri@jurta.org>
4327 * descr-text.el (describe-char): Add #x2010 and #x2011 to
4328 the list of hard-coded chars with escape-glyph face.
4330 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4332 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4334 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
4336 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4339 2011-10-19 Glenn Morris <rgm@gnu.org>
4341 * vc/vc-bzr.el (vc-bzr-after-dir-status):
4342 Ignore ignored files. (Bug#9726)
4344 2011-10-19 Chong Yidong <cyd@gnu.org>
4346 Doc fix for minor modes, stating that an omitted argument enables
4347 the mode unconditionally when called from Lisp.
4349 * abbrev.el (abbrev-mode):
4350 * allout.el (allout-mode):
4351 * autoinsert.el (auto-insert-mode):
4352 * autoarg.el (autoarg-mode, autoarg-kp-mode):
4353 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4354 (global-auto-revert-mode):
4355 * battery.el (display-battery-mode):
4356 * composite.el (global-auto-composition-mode)
4357 (auto-composition-mode):
4358 * delsel.el (delete-selection-mode):
4359 * desktop.el (desktop-save-mode):
4360 * dired-x.el (dired-omit-mode):
4361 * dirtrack.el (dirtrack-mode):
4362 * doc-view.el (doc-view-minor-mode):
4363 * double.el (double-mode):
4364 * electric.el (electric-indent-mode, electric-pair-mode):
4365 * emacs-lock.el (emacs-lock-mode):
4366 * epa-hook.el (auto-encryption-mode):
4367 * follow.el (follow-mode):
4368 * font-core.el (font-lock-mode):
4369 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4370 * help.el (temp-buffer-resize-mode):
4371 * hilit-chg.el (highlight-changes-mode)
4372 (highlight-changes-visible-mode):
4373 * hi-lock.el (hi-lock-mode):
4374 * hl-line.el (hl-line-mode, global-hl-line-mode):
4375 * icomplete.el (icomplete-mode):
4376 * ido.el (ido-everywhere):
4377 * image-file.el (auto-image-file-mode):
4378 * image-mode.el (image-minor-mode):
4379 * iswitchb.el (iswitchb-mode):
4380 * jka-cmpr-hook.el (auto-compression-mode):
4381 * linum.el (linum-mode):
4382 * longlines.el (longlines-mode):
4383 * master.el (master-mode):
4384 * mb-depth.el (minibuffer-depth-indicate-mode):
4385 * menu-bar.el (menu-bar-mode):
4386 * minibuf-eldef.el (minibuffer-electric-default-mode):
4387 * mouse-sel.el (mouse-sel-mode):
4388 * msb.el (msb-mode):
4389 * mwheel.el (mouse-wheel-mode):
4390 * outline.el (outline-minor-mode):
4391 * paren.el (show-paren-mode):
4392 * recentf.el (recentf-mode):
4393 * reveal.el (reveal-mode, global-reveal-mode):
4394 * rfn-eshadow.el (file-name-shadow-mode):
4395 * ruler-mode.el (ruler-mode):
4396 * savehist.el (savehist-mode):
4397 * scroll-all.el (scroll-all-mode):
4398 * scroll-bar.el (scroll-bar-mode):
4399 * server.el (server-mode):
4400 * shell.el (shell-dirtrack-mode):
4401 * simple.el (auto-fill-mode, transient-mark-mode)
4402 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4403 (line-number-mode, column-number-mode, size-indication-mode)
4404 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4405 * strokes.el (strokes-mode):
4406 * time.el (display-time-mode):
4407 * t-mouse.el (gpm-mouse-mode):
4408 * tool-bar.el (tool-bar-mode):
4409 * tooltip.el (tooltip-mode):
4410 * type-break.el (type-break-mode-line-message-mode)
4411 (type-break-query-mode):
4412 * view.el (view-mode):
4413 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4414 (global-whitespace-mode, global-whitespace-newline-mode):
4415 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4417 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4418 Fix autogenerated docstring.
4420 2011-10-19 Juri Linkov <juri@jurta.org>
4422 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4423 by checking environment variables "DESKTOP_SESSION" and
4424 "XDG_CURRENT_DESKTOP". (Bug#9779)
4426 2011-10-19 Juri Linkov <juri@jurta.org>
4428 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4429 (browse-url-chromium-program, browse-url-chromium-arguments):
4431 (browse-url-default-browser): Check for `browse-url-chromium' and
4432 call `browse-url-chromium-program'.
4433 (browse-url-chromium): New command. (Bug#9779)
4435 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
4437 * facemenu.el (list-colors-duplicates): On Windows, detect more
4438 duplicates by assuming that only colors matching "^System" are
4439 special "system colors". (Bug#9722)
4441 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4443 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4444 to distinguish the author from the committer.
4446 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
4448 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4450 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
4452 * international/mule.el (sgml-html-meta-auto-coding-function):
4453 Add support for detecting encoding in HTML5 specified only as
4454 <meta charset="UTF-8">. Implementation just makes http-equiv and
4455 content-type parts from HTML4 encoding string optional. (Bug#9716)
4457 2011-10-18 Glenn Morris <rgm@gnu.org>
4459 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
4461 2011-10-18 Chong Yidong <cyd@gnu.org>
4463 * faces.el (cursor): Doc fix.
4465 2011-10-17 Chong Yidong <cyd@gnu.org>
4467 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4469 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
4471 * dirtrack.el (dirtrack): Support shell buffers with path
4472 prefixes, e.g. tramp-based remote shells. (Bug#9647)
4474 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
4476 * json.el: Bump version to 1.3 and note change in History.
4477 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4479 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4481 * comint.el (comint-insert-input, comint-send-input)
4482 (comint-get-old-input-default, comint-backward-matching-input)
4483 (comint-next-prompt): Use nil instead of `input' for field property of
4484 past user input (bug#114).
4486 * minibuffer.el (completion--replace): Inherit surrounding properties
4488 (minibuffer-complete-and-exit): Use it.
4490 * comint.el (comint--table-subvert): Quote the all-completions output
4493 2011-10-17 Martin Rudalics <rudalics@gmx.at>
4495 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4497 * menu-bar.el (menu-bar-file-menu): Add entry for making new
4498 window on right of selected. (Bug#9350) Reword other window
4499 entries and separate them from frame entries.
4501 2011-10-15 Glenn Morris <rgm@gnu.org>
4503 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4506 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
4508 * net/network-stream.el (network-stream-open-starttls):
4509 Improve detection of failure due to lack of TLS support.
4511 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4512 putting the input text in front and in bold.
4514 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4516 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4518 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4521 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4522 unread-command-events rather than pushing yet-another event.
4524 2011-10-14 Eli Zaretskii <eliz@gnu.org>
4526 * mail/sendmail.el (sendmail-query-once): Improve the wording of
4527 the explanation of the possible choices. Make the options passed
4528 to completing-read shorter.
4530 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4532 * textmodes/flyspell.el (flyspell-large-region): Make sure
4533 extended character mode is used if defined (Bug#1339).
4535 2011-10-13 Eli Zaretskii <eliz@gnu.org>
4537 * simple.el (what-cursor-position): Fix the display of the
4538 character info for LRE, LRO, RLE, and RLO characters by appending
4541 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
4543 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4544 even in case of error; add debug spec; simplify data flow.
4545 (with-timeout-handler): Remove.
4547 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
4549 Fix Bug#6019, Bug#9315.
4551 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4552 complete `buffer-file-name', the local file name part could look
4553 remotely (for example on VMS).
4555 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4556 `tramp-run-real-handler'.
4557 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4558 already quoted by '"'.
4560 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4561 Let `file-name-handler-alist' be nil, the local file name part
4562 could look remotely (for example on VMS).
4564 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4566 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4568 (flyspell-post-command-hook): ...to here.
4570 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4572 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4574 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
4575 using completion. Protect against "slow" callers.
4576 Remove the "message hack".
4578 2011-10-11 Juri Linkov <juri@jurta.org>
4580 * isearch.el (isearch-lazy-highlight-word): New variable.
4581 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4584 2011-10-11 Glenn Morris <rgm@gnu.org>
4586 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4587 like f90-previous-statement does.
4589 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4591 * eshell/eshell.el (eshell-command): History should be saved
4592 only in interactive use, to avoid error.
4594 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4596 * minibuffer.el (completion-file-name-table): Fix last change,
4597 i.e. ignore normal errors but not the other ones.
4599 2011-10-10 Martin Rudalics <rudalics@gmx.at>
4601 * window.el (special-display-buffer-names)
4602 (special-display-regexps): Remove some remnants of earlier
4603 changes from doc-strings.
4604 (quit-windows-on): New function.
4606 * vc/vc.el (vc-revert, vc-rollback):
4607 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4608 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
4609 (Bug#6183) (Bug#7074) (Bug#7447)
4611 2011-10-09 Martin Rudalics <rudalics@gmx.at>
4613 * window.el (frame-auto-hide-function): Add version tag.
4616 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
4618 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4621 2011-10-09 Leo Liu <sdl.web@gmail.com>
4623 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4626 2011-10-08 Glenn Morris <rgm@gnu.org>
4628 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4629 before the first code statement zero indent. (Bug#9690)
4631 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
4633 * simple.el (count-words-region): Always count in the region.
4634 Report the number of lines and characters too.
4635 (count-words): New command, which counts in the buffer if the
4636 region is inactive, as count-words-region used to.
4637 (count-words--message): New function. Handle plurals.
4638 (count-lines-region): Make it an alias for count-words-region.
4640 * bindings.el (esc-map): Replace count-lines-region with
4643 2011-10-08 Martin Rudalics <rudalics@gmx.at>
4645 * window.el (window--delete): Delete dedicated frame
4646 unconditionally when argument KILL is non-nil. (Bug#9699)
4647 (switch-to-buffer): Fix doc-string typo.
4649 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4651 * eshell/eshell.el (eshell-command): Avoid using hooks.
4653 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
4655 * bindings.el ([M-left],[M-right]): Bind to left-word and
4656 right-word respectively.
4658 2011-10-07 Glenn Morris <rgm@gnu.org>
4660 * cus-start.el (debug-on-quit): Fix custom type.
4662 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4664 * subr.el (define-key-after): Clarify that the function is not
4665 useful for non-menu keymaps.
4667 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4669 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4671 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
4672 in current minibuffer (Fix bug with recursive minibuffers).
4674 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
4676 * progmodes/gdb-mi.el (gdb): Doc fix.
4678 2011-10-05 Martin Rudalics <rudalics@gmx.at>
4680 * window.el (frame-auto-hide-function): New option replacing
4681 frame-auto-delete. Suggested by Stefan Monnier.
4682 (window--delete): Call frame-auto-hide-function instead of
4683 investigating frame-auto-delete.
4684 (window-point-1, set-window-point-1): New functions.
4685 (window-in-direction, record-window-buffer, window-state-get-1)
4686 (display-buffer-record-window): Use window-point-1 instead of
4688 (set-window-buffer-start-and-point): Use set-window-point-1.
4690 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4692 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4694 2011-10-05 Glenn Morris <rgm@gnu.org>
4696 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4697 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
4699 2011-10-05 Leo Liu <sdl.web@gmail.com>
4701 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4702 works with buffer object.
4704 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4706 * mpc.el (mpc-tool-bar-map): Add labels.
4708 2011-10-04 Glenn Morris <rgm@gnu.org>
4710 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4712 2011-10-04 Martin Rudalics <rudalics@gmx.at>
4714 * window.el (window--delete): New function.
4715 (frame-auto-delete): Resuscitate option.
4716 (bury-buffer, replace-buffer-in-windows)
4717 (quit-window): Rewrite using window--delete.
4718 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4719 Pass display-buffer-mark-dedicated to window--display-buffer-2
4722 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4724 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4725 returns a list (bug#9554). Add remote file name completion.
4726 * comint.el (comint--table-subvert): Curry and get quote&unquote
4727 functions as arguments.
4728 (comint--complete-file-name-data): Adjust call accordingly.
4729 * pcomplete.el (pcomplete--table-subvert): Remove.
4730 (pcomplete-completions-at-point): Use comint--table-subvert instead.
4732 * minibuffer.el (completion-table-case-fold): Use currying.
4733 (completion--styles-type, completion--cycling-threshold-type):
4735 (completion-styles, completion-category-overrides)
4736 (completion-cycle-threshold): Use them.
4737 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4738 completion-table-case-fold.
4740 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
4742 * minibuffer.el (completion-category-overrides): Fix type of styles
4743 and add more user friendly tags (bug#9660).
4745 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4747 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4748 (mule-input-method-string): New widget.
4749 (default-input-method, language-info-custom-alist): Use it.
4751 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4753 * pcomplete.el: Require comint.
4754 (pcomplete--common-suffix): Remove.
4755 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4756 (pcomplete--table-subvert): Sync with comint--table-subvert.
4757 (pcomplete--entries): Use comint-completion-file-name-table.
4758 * comint.el (comint-unquote-filename): Simplify.
4759 (comint-completion-file-name-table): New function (bug#9616).
4760 (comint--complete-file-name-data): Use it.
4762 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4763 (pcmpl-gnu-tar-buffer): Remove.
4764 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
4765 around. Make sure pcomplete-suffix-list is only changed temporarily.
4766 Don't look inside the tar's file if it's too large.
4768 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
4770 * cus-edit.el (custom-mode-map):
4771 * epa.el (epa-key-list-mode-map):
4772 * man.el (Man-mode-map):
4773 * startup.el (splash-screen-keymap):
4774 * simple.el (special-mode-map): Use scroll-up-command and
4775 scroll-down-command.
4777 * progmodes/idlw-help.el (idlwave-help-mode-map):
4778 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4779 * net/newst-plainview.el (newsticker-mode-map):
4780 * emulation/ws-mode.el (wordstar-mode-map):
4781 * emulation/vi.el (vi-com-map):
4782 * calc/calc-graph.el (calc-graph-show-dumb):
4783 * term/sun.el (terminal-init-sun):
4784 * term/ns-win.el (global-map):
4785 * progmodes/grep.el (grep-mode-map):
4786 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4787 * mail/rmail.el (rmail-mode-map):
4788 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4790 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4791 custom-safe-themes as special.
4793 2011-10-01 Julien Danjou <julien@danjou.info>
4795 * notifications.el (notifications-notify): Fix docstring.
4797 2011-10-01 Per Starbäck <per@starback.se>
4799 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4801 2011-09-30 Martin Rudalics <rudalics@gmx.at>
4803 * startup.el (command-line-1): Fix last fix by inserting
4804 initial-scratch-message into *scratch* before displaying it.
4805 (Bug#9605) and (Bug#9636)
4807 2011-09-29 Eli Zaretskii <eliz@gnu.org>
4809 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4810 window is hscrolled, move by logical lines. (Bug#9607)
4811 (line-move-visual): Update the doc string to the above effect.
4813 2011-09-29 Martin Rudalics <rudalics@gmx.at>
4815 * window.el (display-buffer-record-window): When WINDOW is the
4816 selected window use `point' instead of `window-point'. (Bug#9626)
4818 * startup.el (command-line-1): Use insert-before-markers when
4819 inserting initial-scratch-message. (Bug#9605)
4821 * help.el (help-window): Remove variable.
4823 2011-09-29 Glenn Morris <rgm@gnu.org>
4825 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4827 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
4829 * descr-text.el (describe-char-categories): Accept category
4830 descriptions more than one line long.
4832 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4834 * simple.el (delete-trailing-whitespace): Fix last change.
4836 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4837 Don't confuse "y => 3" as the beginning of a `y' operation.
4839 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4840 object has more than 4 slots (bug#9613).
4842 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
4844 * subr.el (with-output-to-temp-buffer):
4845 * net/quickurl.el (quickurl, quickurl-browse-url):
4846 Fix typos in docstrings.
4848 2011-09-27 Eli Zaretskii <eliz@gnu.org>
4850 * minibuffer.el (completion-styles)
4851 (completion-category-overrides): Cross reference each other in doc
4854 2011-09-27 Glenn Morris <rgm@gnu.org>
4856 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4857 to split-string. (Bug#9606)
4859 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4861 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4864 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
4866 * emacs-lisp/package.el (list-packages): Fix echo area message.
4868 2011-09-27 Leo Liu <sdl.web@gmail.com>
4870 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4872 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
4874 * net/dbus.el (dbus-unregister-object): Don't release services for
4875 registered signals. (Bug#9581)
4877 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4879 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4880 function that picks between cfengine 2 and 3 support
4881 automatically. Update docs accordingly.
4883 2011-09-22 Kenichi Handa <handa@m17n.org>
4885 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4887 (indian-itrans-v5-table-for-tamil): New variable.
4888 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4890 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4892 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4893 that's true if the current command involved collapsing of text.
4894 It's reset to false at the beginning of the next command.
4895 (allout-post-command-business): Move the cursor to the beginning
4896 of entry if the cursor is hidden and collapsing activity just
4899 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
4901 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4902 tracking (Bug#9541).
4904 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
4906 * net/newst-reader.el (newsticker-html-renderer)
4907 (newsticker-show-news): Automatically load html rendering package
4908 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4909 because w3m-fill-column is let-bound" and the error "Symbol's value
4910 as variable is void: w3m-fill-column".
4912 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
4914 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4915 Release services only if they are defined. (Bug#9581)
4917 2011-09-23 Richard Stallman <rms@gnu.org>
4919 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4920 distinguish start of paragraph from start of its text.
4922 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4924 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4925 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4926 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4928 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4930 * international/mule-diag.el (mule-diag): Insert a newline after
4931 each fontset description.
4933 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4935 * simple.el (delete-trailing-whitespace):
4936 Document last change; simplify.
4938 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4940 * simple.el (delete-trailing-whitespace): Also delete
4941 extra newlines at the end of the buffer.
4943 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4944 (picture-newline): Use forward-line so as to ignore fields.
4946 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4948 * subr.el (with-wrapper-hook): Fix edebug spec.
4950 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4952 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4955 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
4957 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4958 Fix nasty bug using wrong cached values.
4960 2011-09-23 Alan Mackenzie <acm@muc.de>
4962 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4964 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
4966 * window.el (pop-to-buffer): Ensure right window is selected if we
4967 chose another frame.
4969 2011-09-22 Eli Zaretskii <eliz@gnu.org>
4971 * simple.el (what-cursor-position): Use get-char-property-change
4972 and next-single-char-property-change, to be able to show display
4973 properties that come from overlays as well as text properties.
4975 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
4977 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4979 * cmuscheme.el (run-scheme, switch-to-scheme):
4980 * cus-edit.el (customize-group, custom-buffer-create)
4984 * mail/sendmail.el (mail):
4985 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4987 2011-09-22 Richard Stallman <rms@gnu.org>
4989 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4990 move back only to line beg, don't move back over blank lines.
4992 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
4994 * files.el (copy-directory): Set directory attributes only in case
4995 they could be retrieved from the source directory. (Bug#9565)
4997 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4999 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5000 (hs-find-block-beginning, hs-hide-level-recursive):
5001 Ignore strings as well as comments. (Bug#9502)
5003 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5005 * progmodes/sql.el (sql-comint-postgres):
5006 Convert port number to a string. (Bug#9566)
5008 2011-09-22 Martin Rudalics <rudalics@gmx.at>
5010 * window.el (quit-window): Undedicate window when switching to
5011 previous buffer. Reported by Thierry Volpiatto
5012 <thierry.volpiatto@gmail.com>.
5013 (special-display-popup-frame): When popping up a new frame reset
5014 its previous buffers to nil. Simplify code.
5016 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
5018 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5019 and process filter, as done also in `shell-command'.
5021 2011-09-21 Martin Rudalics <rudalics@gmx.at>
5023 * window.el (set-window-buffer-start-and-point):
5024 Call set-window-start with NOFORCE argument t.
5025 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5026 (quit-window): Reword doc-string. Handle new format of
5027 quit-restore parameter. Don't delete window if it has a
5028 previous buffer we can show instead of the present one.
5029 (display-buffer-record-window): Rewrite using a new format for
5030 the quit-restore window parameter
5031 (special-display-popup-frame, display-buffer-same-window)
5032 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5033 (display-buffer-pop-up-window, display-buffer-use-some-window):
5034 Adapt symbol passed to display-buffer-record-window.
5035 * help.el (help-window-setup): Handle new format of quit-restore
5038 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5040 * faces.el (face-list): Fix docstring (bug#9564).
5042 * window.el (display-buffer--action-function-custom-type):
5043 Don't include internal functions in the Custom interface.
5045 2011-09-20 Juri Linkov <juri@jurta.org>
5047 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5048 (Info-forward-node, Info-backward-node, Info-next-preorder)
5049 (Info-last-preorder): Use it. (Bug#9528)
5051 2011-09-20 Juri Linkov <juri@jurta.org>
5053 * info.el (Info-last-preorder): Visit last menu item only when
5054 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5056 2011-09-20 Julien Danjou <julien@danjou.info>
5058 * password-cache.el (password-cache-remove): Remove entries even if the
5059 value is nil, so that password with a nil value (negative caching) is
5060 possible to invalidate.
5062 2011-09-20 Lawrence Mitchell <wence@gmx.li>
5064 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5065 all whitespace around breakpoint. (Bug#9553)
5066 (f90-find-breakpoint): Only break at whitespace inside a comment.
5068 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5070 * minibuffer.el (completion-file-name-table): Keep track of errors.
5071 (completion-table-with-predicate): Handle the case where pred1 is nil.
5072 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5074 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5076 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5077 (debugger-return-value): Signal an error if the debugging context does
5078 not await any return value.
5080 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5081 * image-mode.el (image-toggle-display-text)
5082 (image-toggle-display-image): Stay away from evil `intangible'.
5084 2011-09-19 Leo Liu <sdl.web@gmail.com>
5086 * replace.el (occur-revert-arguments): Make it permanent-local.
5087 (occur-mode): Don't call font-lock-defontify.
5089 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
5091 * net/ldap.el (ldap-search-internal): Don't push empty search
5094 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5096 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5098 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
5100 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5101 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5103 2011-09-18 Juri Linkov <juri@jurta.org>
5105 * buff-menu.el (Buffer-menu-mode-map):
5106 * dired.el (dired-mode-map):
5107 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5108 (lisp-interaction-mode-map):
5109 * emacs-lisp/package.el (package-menu-mode-map):
5110 * epa.el (epa-key-list-mode-map):
5111 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5112 (menu-bar-options-menu):
5113 * outline.el (outline-mode-menu-bar-map):
5114 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5115 * vc/vc-dir.el (vc-dir-menu-map):
5116 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5117 Capitalize non-function content words in menu item strings.
5119 * dired.el (dired-mode-map): Add menu item for
5120 `image-dired-dired-toggle-marked-thumbs'.
5122 2011-09-18 Juri Linkov <juri@jurta.org>
5124 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5125 to `isearch-case-fold-search' and restore its original value
5126 after the `isearch-mode' call.
5128 2011-09-18 Juri Linkov <juri@jurta.org>
5130 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5131 because `zgrep' returns 1 for successful matches (bug#9226).
5133 2011-09-18 Juri Linkov <juri@jurta.org>
5135 * info.el (Info-extract-menu-node-name): Check the second match
5136 for empty string (second test-case of bug#9528).
5137 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5138 intermediate nodes to the history (first test-case of bug#9528).
5140 2011-09-18 Juri Linkov <juri@jurta.org>
5142 * info.el (Info-mode-syntax-table): New variable.
5143 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
5145 2011-09-18 Juri Linkov <juri@jurta.org>
5147 * info.el (Info-file-supports-index-cookies):
5148 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5149 outputs one more line for long file names (bug#4142).
5151 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
5153 * newcomment.el (comment-normalize-vars): If prompting for
5154 comment-start, set comment-start-skip too (Bug#8424).
5156 2011-09-18 Johan Bockgård <bojohan@gnu.org>
5158 * icomplete.el: Fix previous fix of Bug#5849.
5159 (icomplete-mode): Don't set completion-show-inline-help.
5160 (icomplete-minibuffer-setup): Set completion-show-inline-help
5161 locally during icompletion.
5163 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
5165 * woman.el (woman2-process-escapes): Don't delete unrecognized
5168 * files.el (inhibit-first-line-modes-regexps): Add image files.
5169 (hack-local-variables-prop-line): Return nil for malformed
5170 prop-lines (Bug#9044).
5172 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
5174 * net/tramp.el (top): Don't require 'shell.
5175 (tramp-methods): Fix docstring.
5176 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
5177 Return complete remote file name. Handle "smb" case.
5178 Use `tramp-tmpdir', if defined for the respective method.
5179 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5181 * net/tramp-compat.el (top): Require 'shell.
5183 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5184 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5185 `tramp-current-host'.
5186 (tramp-get-remote-tmpdir): Remove.
5188 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5189 `tramp-tmpdir' entries.
5190 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5191 (tramp-smb-handle-file-attributes): Ignore errors.
5192 (tramp-smb-wait-for-output): Check also for process end.
5194 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5196 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5197 when sending QUIT (bug#9312).
5199 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
5201 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5202 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5203 occur-mode-display-occurrence.
5204 (occur-edit-mode): Add usage message.
5205 (occur-cease-edit): New command.
5206 (occur-after-change-function): Use text properties to find the
5207 position of the prefix text.
5208 (occur-engine): Set stickiness of prefix text properties.
5210 2011-09-17 Glenn Morris <rgm@gnu.org>
5212 * progmodes/etags.el (complete-tag):
5213 Fix call to completion-in-region. (Bug#9526)
5215 2011-09-17 Juri Linkov <juri@jurta.org>
5217 * textmodes/ispell.el (ispell-word): Add to the error message
5218 the word, ispell program name and current dictionary (bug#9121).
5219 (ispell-tex-arg-end): Capitalize "error" in the error message.
5221 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5223 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5226 2011-09-17 Juri Linkov <juri@jurta.org>
5228 * window.el (window-safe-min-height, window-safe-min-width):
5229 Fix typos (followup to bug#9522).
5231 2011-09-17 Sven Joachim <svenjoac@gmx.de>
5233 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5235 2011-09-16 Eli Zaretskii <eliz@gnu.org>
5237 * simple.el (line-move): If goal-column is set, move by logical
5238 lines, not by display lines. (Bug#971)
5239 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5240 to reflect the above change.
5242 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5244 * image.el (imagemagick-register-types): Use regexp-opt.
5246 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
5248 * window.el (display-buffer-base-action): Rename from
5249 display-buffer-default-action. Make default value empty.
5250 (display-buffer-overriding-action): Convert to defvar.
5251 (display-buffer-fallback-action): New var.
5253 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
5255 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5257 (package--add-to-archive-contents): If there is a duplicate entry
5258 with an older version, remove it.
5259 (package-menu-mark-delete, package-menu-mark-install)
5260 (package-menu-mark-unmark): Make unused args optional.
5261 (package-menu-mark-obsolete-for-deletion):
5262 Use package-menu-get-status instead of a regexp search.
5263 (package-menu-get-status): Use tabulated-list-entry.
5264 (package-menu-mark-upgrades): New command.
5265 (package-menu-mode-map): Bind it to U. Add it to menu bar.
5266 (package-menu-execute): Do installation before deletion.
5267 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5268 instead of checking major-mode.
5269 (package-menu--find-upgrades): New function.
5271 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5273 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5274 passwords in the log buffer.
5275 (smtpmail-process-filter): Update the process marker so that the
5276 "broken by peer" status message is inserted in the right place.
5278 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5280 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5281 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5282 bibtex-completion-at-point-function.
5283 (bibtex-completion-at-point-function): Use them.
5285 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5287 * mpc.el (mpc-constraints-tag-lookup): New function.
5288 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5289 also to browser "album|playlist".
5291 2011-09-14 Juri Linkov <juri@jurta.org>
5293 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
5294 (isearch-edit-string): Use length of `isearch-string' when
5295 `isearch-fail-pos' returns nil.
5296 (isearch-message): Remove duplicate code and call
5297 `isearch-fail-pos' with arg `t'.
5299 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
5301 * replace.el (occur-mode-goto-occurrence): Don't force using other
5304 * dired-aux.el (dired-do-chmod): Don't provide initial input.
5306 2011-09-14 Martin Rudalics <rudalics@gmx.at>
5308 * window.el (display-buffer-window): Remove.
5309 (display-buffer-record-window): Use help-setup window parameter
5310 instead of variable display-buffer-window.
5311 (display-buffer-function, special-display-buffer-names)
5312 (special-display-function): Mention help-setup parameter instead
5313 of display-buffer-window in doc-string.
5314 * help.el (help-window-setup): New argument help-window.
5315 Use help-window-setup parameter instead of display-buffer-window.
5316 Reword some messages.
5317 (with-help-window): Pass window used for displaying the buffer
5318 to help-window-setup. Don't set display-buffer-window.
5320 2011-09-13 Glenn Morris <rgm@gnu.org>
5322 * emacs-lisp/debug.el (debugger-make-xrefs):
5323 Preserve point. (Bug#9462)
5325 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
5327 * window.el (window-deletable-p): Use next-frame.
5329 2011-09-13 Martin Rudalics <rudalics@gmx.at>
5331 * window.el (window-auto-delete): Remove.
5332 (window-deletable-p): Remove argument FORCE. Don't deal with
5333 dedication and previous buffers.
5334 (switch-to-prev-buffer): Don't delete window.
5335 (delete-windows-on): Delete a window's frame if and only if the
5336 window is dedicated.
5337 (replace-buffer-in-windows): Delete buffer's window or frame if
5338 and only if window is dedicated.
5339 (quit-window): Handle quit-restore as before last change.
5340 (bury-buffer): Delete window only if window-deletable-p returns t.
5342 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
5344 * window.el (window-deletable-p): Never delete the last frame on a
5347 2011-09-13 Glenn Morris <rgm@gnu.org>
5349 * help.el (describe-key-briefly): Copy previous standard-output change.
5351 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
5353 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
5355 2011-09-13 Glenn Morris <rgm@gnu.org>
5357 * emacs-lisp/lisp-mode.el (lisp-indent-function):
5358 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5360 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
5362 * dired-aux.el (dired-mark-read-string): Don't return default
5363 value on empty input (Bug#9361).
5364 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5365 Omit initial minibuffer contents.
5366 (dired-do-chmod): Signal an error on empty input.
5367 (dired-mark-read-string): Don't return default on empty input.
5369 * files.el (file-modes-symbolic-to-number): Doc fix.
5371 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5373 * international/mule-cmds.el (ucs-completions): Remove.
5374 (read-char-by-name): Use complete-with-action instead; add metadata.
5376 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
5378 * window.el (display-buffer--action-function-custom-type)
5379 (display-buffer--action-custom-type): New vars.
5380 (display-buffer-alist, display-buffer-default-action)
5381 (display-buffer-overriding-action): Add defcustom types.
5383 * frame.el (delete-other-frames): Doc fix (Bug#276).
5385 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5387 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5389 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
5391 Change modes that used same-window-* vars to use switch-to-buffer.
5393 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5394 Use switch-to-buffer.
5396 * cus-edit.el (customize-group, custom-buffer-create)
5397 (customize-browse, custom-buffer-create-other-window):
5398 Use switch-to-buffer or switch-to-buffer-other-window.
5400 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5401 (Info-prev, Info-up, Info-speedbar-goto-node)
5402 (info-display-manual): Use switch-to-buffer.
5403 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5405 * mail/sendmail.el (mail): Use switch-to-buffer.
5406 (mail-recover): Use switch-to-buffer-other-window.
5408 * cmuscheme.el (run-scheme, switch-to-scheme):
5411 * net/rlogin.el (rlogin):
5412 * net/telnet.el (telnet, rsh):
5413 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5415 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5417 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5419 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5421 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5422 so don't mention it (bug#9301).
5423 (dired-sort-toggle-or-edit): Clarify string further.
5425 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5426 match `x', `w32' and `ns', like the manual says (bug#9029).
5428 * subr.el (eval-after-load): Doc string clarification (bug#9125).
5429 (process-kill-buffer-query-function): Mention the buffer name in
5432 * image-mode.el (image-next-line): The line parameter is mandatory
5435 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5436 which can be useful (bug#9301).
5438 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5440 * subr.el (match-string): Mention that the current buffer should
5441 be the same as the search was done in (bug#9282).
5443 * facemenu.el: Disable the remove-* commands if the mark isn't
5446 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
5448 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5450 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5452 * replace.el (occur-mode-goto-occurrence)
5453 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5456 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5459 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5460 special-display and same-window variables.
5461 (mail-other-window): Use switch-to-buffer-other-window.
5462 (mail-other-frame): USe switch-to-buffer-other-frame.
5464 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5465 Use display-buffer-other-frame.
5466 (gdb-display-gdb-buffer): Use pop-to-buffer.
5468 * progmodes/gud.el (gud-goto-info): Use info-other-window.
5470 * progmodes/python.el: Don't set same-window-buffer-names.
5472 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5474 * window.el (display-buffer-alist): Add *Python*.
5476 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
5478 * window.el (display-buffer-alist): Add entry for buffers
5479 previously handled same-window-*.
5480 (display-buffer-alist, display-buffer-default-action)
5481 (display-buffer-overriding-action): Mark as risky.
5482 (display-buffer-alist): Document action function changes.
5483 (display-buffer--same-window-action)
5484 (display-buffer--other-frame-action): New variables.
5485 (switch-to-buffer, display-buffer-other-frame): Use them.
5486 (display-buffer): Rename reuse-frame entry to reusable-frames.
5487 (display-buffer-reuse-selected-window): Function deleted.
5488 (display-buffer-reuse-window): Handle reusable-frames alist entry.
5489 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5490 (display-buffer-special): New function.
5491 (display-buffer--maybe-pop-up-frame-or-window): Rename from
5492 display-buffer-reuse-or-pop-window. Split off special-display
5493 part into display-buffer-special.
5494 (display-buffer-use-some-window): Don't perform any special
5495 pop-up-frames handling.
5496 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
5497 (display-buffer--maybe-same-window): Rename from
5498 display-buffer-maybe-same-window.
5500 * info.el: Don't set same-window-regexps.
5501 (info-setup): New function.
5502 (info-other-window, info): Call it.
5504 * cus-edit.el: Don't set same-window-regexps.
5505 (customize-group): New argument.
5506 (customize-group-other-window): Use it.
5507 (customize-face, customize-face-other-window): Likewise.
5508 (custom-buffer-create-other-window): Use pop-to-buffer directly.
5512 * progmodes/gud.el: Don't set same-window-regexps.
5518 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5520 2011-09-10 Juri Linkov <juri@jurta.org>
5522 * isearch.el (isearch-edit-string): Remove obsolete mention of
5523 `C-w' (`isearch-yank-word-or-char') from docstring.
5524 (isearch-query-replace): Fix typo in docstring (bug#9466).
5526 2011-09-10 Juri Linkov <juri@jurta.org>
5528 * paren.el (show-paren-function): Don't show escaped parens.
5529 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
5531 2011-09-10 Eli Zaretskii <eliz@gnu.org>
5533 * mail/sendmail.el (mml-to-mime, mml-attach-file)
5534 (mm-default-file-encoding): Remove autoload forms, they are
5535 replaced with autoload cookies in mml.el and mm-encode.el.
5536 (mail-add-attachment): New command.
5537 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5538 (mail-mode): Mention mail-insert-file and mail-add-attachment in
5540 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5542 2011-09-10 Reuben Thomas <rrt@sc3d.org>
5544 * simple.el (count-words-region): Use buffer if there's no region
5547 2011-09-09 Juri Linkov <juri@jurta.org>
5549 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5550 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5551 (wdired-isearch-filter-read-only): New function. (Bug#6362)
5553 2011-09-09 Alan Mackenzie <acm@muc.de>
5555 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5556 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
5558 2011-09-09 Eli Zaretskii <eliz@gnu.org>
5560 Fix for Savannah bug#9392.
5561 * simple.el (mail-encode-mml): New defvar.
5563 * mail/rmail.el (mail-encode-mml): Add a defvar.
5564 (rmail-enable-mime-composing): Default to t.
5565 (rmail-forward): Use MIME method of forwarding only if both
5566 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5567 Set mail-encode-mml non-nil if the MIME method was used.
5569 * mail/sendmail.el (mml-to-mime): Add autoload form.
5570 (mail-encode-mml): Add a defvar.
5571 (mail-mode): Make mail-encode-mml buffer-local and initialize it
5573 (mail-send): If mail-encode-mml is non-nil, run the outgoing
5574 message through mml-to-mime, and reset mail-encode-mml to nil.
5576 2011-09-09 Glenn Morris <rgm@gnu.org>
5578 * woman.el (woman-if-body): When processing an .el block,
5579 do not delete the next .el block as well. (Bug#9447)
5580 (woman-special-characters): Add oq, cq, and hy characters.
5582 2011-09-08 Martin Rudalics <rudalics@gmx.at>
5584 * window.el (window-deletable-p): Make sure window is live before
5585 invoking window-prev-buffers.
5587 2011-09-08 Leo Liu <sdl.web@gmail.com>
5589 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
5591 2011-09-08 Juri Linkov <juri@jurta.org>
5593 * progmodes/compile.el (compilation-environment): Make it
5594 a defcustom (bug#8340).
5596 2011-09-08 Martin Rudalics <rudalics@gmx.at>
5598 * window.el (frame-auto-delete): Rename to window-auto-delete.
5599 Make it control auto-deletion of windows and/or frames.
5600 (window-deletable-p): New argument FORCE. Rewrite conditions
5601 for deleting window/frame. (Bug#9419)
5602 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5603 Rewrite handling of case when window/frame can be deleted.
5604 (delete-windows-on): Call window-deletable-p with new FORCE
5605 argument t. (Bug#9456)
5607 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
5609 * help-mode.el (help-mode): Restore autoload.
5611 2011-09-07 Juri Linkov <juri@jurta.org>
5613 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5614 `compilation-environment'. Set buffer-local
5615 `compilation-environment' to `thisenv' later after (funcall mode).
5618 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
5619 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5620 instead of replacing its value. (Bug#8340)
5622 2011-09-07 Juri Linkov <juri@jurta.org>
5624 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5625 based on text properties put by `grep-filter' instead of matching
5627 (grep-mode): Set buffer-local `compilation-error-screen-columns'
5628 to the value of `grep-error-screen-columns' (bug#9438).
5630 2011-09-07 Juri Linkov <juri@jurta.org>
5632 * simple.el (next-error-highlight, next-error-highlight-no-select):
5635 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5637 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5638 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
5640 2011-09-07 Leo Liu <sdl.web@gmail.com>
5642 * net/rcirc.el (rcirc-mode): Conditionally initialize
5645 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5647 * emacs-lisp/find-func.el (find-function-C-source): Only set
5648 find-function-C-source-directory after checking that we found a source
5649 file there (bug#9440).
5651 2011-09-06 Alan Mackenzie <acm@muc.de>
5653 * isearch.el (isearch-other-meta-char): Wherever a key list is
5654 unread, "unread" the prefix arg, too. This fixes bug #8901.
5656 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5658 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5660 2011-09-05 Juri Linkov <juri@jurta.org>
5662 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5664 2011-09-05 Juri Linkov <juri@jurta.org>
5666 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5667 keeping point where processing of grep matches begins, and
5668 continue to delete remaining escape sequences from the same point.
5669 (grep-filter): Make leading zero optional in "0?1;31m" because
5670 git-grep emits "\033[1;31m" escape sequences unlike expected
5671 "\033[01;31m" as GNU Grep does (bug#9408).
5672 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5674 2011-09-05 Juri Linkov <juri@jurta.org>
5676 * subr.el (y-or-n-p): Capitalize "yes".
5678 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
5680 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
5681 `tramp-cache-unload-hook' where appropriate.
5682 (tramp-methods): Rename `tramp-remote-sh' to
5683 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
5684 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5686 * net/tramp-sh.el (top): Don't require 'shell.
5687 (tramp-methods): Add `tramp-remote-shell' and
5688 `tramp-remote-shell-args' entries.
5689 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5690 (tramp-sh-handle-shell-command): Remove.
5691 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5692 Use `tramp-remote-shell'.
5694 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
5696 * mail/sendmail.el (sendmail-query-once-function): Delete.
5697 (sendmail-query-once): Save directly to send-mail-function.
5698 Update message-send-mail-function too.
5700 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5702 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5704 * progmodes/python.el (python-mode-map): Use correct function to
5705 start python interpreter from menu-bar (as reported by Geert
5707 (inferior-python-mode-map): Fix typo.
5708 (python-shell-map): Remove.
5710 2011-09-03 Deniz Dogan <deniz@dogan.se>
5712 * net/rcirc.el (rcirc-print): Simplify code for
5713 rcirc-scroll-show-maximum-output. There is no need to walk
5714 through all windows to find the right one.
5716 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5718 * help.el (help-return-method): Doc fix.
5720 2011-09-03 Martin Rudalics <rudalics@gmx.at>
5722 * window.el (window-deletable-p): Don't return a non-nil value
5723 when there's a buffer that was shown in the window before.
5725 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5726 Set window's previous buffers to nil.
5728 2011-09-03 Eli Zaretskii <eliz@gnu.org>
5730 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5731 newline before and after the tag line, so it doesn't interfere
5732 with determining the paragraph direction of bidirectional text.
5734 2011-09-03 Leo Liu <sdl.web@gmail.com>
5736 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5738 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
5740 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
5741 (pop-to-buffer): Change interactive spec. Pass second argument
5742 directly to display-buffer.
5743 (display-buffer): Fix interactive spec. Use functionp to
5744 distinguish between a function and a list of functions.
5746 * abbrev.el (edit-abbrevs):
5747 * arc-mode.el (archive-extract):
5748 * autoinsert.el (auto-insert):
5749 * bookmark.el (bookmark-bmenu-list):
5750 * files.el (find-file):
5751 * view.el (view-buffer):
5752 * progmodes/compile.el (compilation-goto-locus):
5753 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5755 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
5757 * window.el (display-buffer-alist): Doc fix.
5758 (display-buffer): Add docstring. Don't treat
5759 display-buffer-default specially.
5760 (display-buffer-reuse-selected-window)
5761 (display-buffer-same-window, display-buffer-maybe-same-window)
5762 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5763 (display-buffer-pop-up-window)
5764 (display-buffer-reuse-or-pop-window)
5765 (display-buffer-use-some-window): New functions.
5766 (display-buffer-default-action): Use them.
5767 (display-buffer-default): Delete.
5768 (pop-to-buffer-1): Fix choice of actions.
5770 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5772 * minibuffer.el (completion--insert-strings): Don't get confused by
5773 completion entries that end with an LF char.
5775 2011-09-01 Eli Zaretskii <eliz@gnu.org>
5777 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5779 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
5781 * window.el (display-buffer): Restore interactive spec.
5782 (display-buffer-same-window, display-buffer-other-window):
5784 (pop-to-buffer-1): New function. Use the above.
5785 (pop-to-buffer, pop-to-buffer-same-window): Use it.
5786 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
5788 * view.el (view-buffer-other-window, view-buffer-other-frame):
5789 Just use pop-to-buffer.
5791 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5793 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5795 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5797 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5799 2011-08-31 Richard Stallman <rms@gnu.org>
5801 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5802 of the separation of rmail-view-buffer from rmail-buffer.
5803 If you say no to "replace original", the decrypt is in the
5804 view buffer. If you say yes, the decrypt goes into the
5807 2011-08-31 Martin Rudalics <rudalics@gmx.at>
5809 * window.el (display-buffer-window): Rewrite doc-string.
5810 (display-buffer-record-window): New function.
5811 (display-buffer-macro-specifiers)
5812 (display-buffer-even-window-sizes, display-buffer-set-height)
5813 (display-buffer-set-width, display-buffer-in-window)
5814 (display-buffer-reuse-window, display-buffer-split-specifiers)
5815 (display-buffer-side-specifiers, display-buffer-split-window-1)
5816 (display-buffer-split-window, display-buffer-split-atom-window)
5817 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5818 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5819 (display-buffer-other-window-means-other-frame)
5820 (display-buffer-normalize-special)
5821 (display-buffer-normalize-default)
5822 (display-buffer-normalize-argument)
5823 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5824 (display-buffer-normalize-specifiers, display-buffer-frame)
5825 (display-buffer-same-window, display-buffer-same-frame)
5826 (display-buffer-other-window)
5827 (display-buffer-same-frame-other-window)
5828 (display-buffer-other-frame, pop-to-buffer-same-window)
5829 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5830 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5831 (switch-to-buffer-same-frame)
5832 (switch-to-buffer-other-window-same-frame)
5833 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5834 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5835 (display-buffer-alist-set): Remove.
5836 (display-buffer-function, special-display-buffer-names)
5837 (special-display-regexps, special-display-function):
5838 In doc-string refer to display-buffer-window and quit-restore
5840 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5841 (special-display-frame-alist, special-display-popup-frame)
5842 (same-window-buffer-names, same-window-regexps, same-window-p)
5843 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5844 (split-window-preferred-function, split-height-threshold)
5845 (split-width-threshold, window-splittable-p)
5846 (split-window-sensibly, window--try-to-split-window)
5847 (window--frame-usable-p, even-window-heights)
5848 (window--even-window-heights, window--display-buffer-1)
5849 (window--display-buffer-2, display-buffer-other-frame):
5850 Restore old Emacs 23 code, order and doc-strings where applicable.
5851 (display-buffer-default, display-buffer-assq-regexp): New functions.
5852 (display-buffer-alist): Rewrite doc-string.
5853 (display-buffer-default-action)
5854 (display-buffer-overriding-action): New variables.
5855 (display-buffer, switch-to-buffer): Rewrite.
5856 (pop-to-buffer): Restore Emacs 23 behavior but use
5857 window-normalize-buffer-to-display.
5858 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5859 Restore Emacs 23 behavior but use
5860 window-normalize-buffer-to-switch-to.
5861 (pop-to-buffer-same-window): Rewrite.
5862 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5863 Rewrite using Emacs 23 options.
5865 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
5867 * net/tramp.el (tramp-root-regexp): Remove.
5868 (tramp-completion-file-name-regexp-unified)
5869 (tramp-completion-file-name-regexp-separate)
5870 (tramp-completion-file-name-regexp-url): Don't use leading volume
5871 letter on win32 systems. (Bug#5303, Bug#9311)
5872 (tramp-drop-volume-letter): Simplify definition.
5873 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5875 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5877 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5880 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5882 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5884 2011-08-29 Juri Linkov <juri@jurta.org>
5886 * isearch.el (isearch-done): Don't display message "Mark saved"
5887 when arg `edit' is non-nil to prevent its flicker in the echo area.
5889 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
5891 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5892 obsolete packages for deletion.
5894 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5896 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5897 (help-mode): Derive help-mode from special-mode. Don't invoke
5898 view-mode from help-mode.
5899 (help-xref-override-view-map): Remove.
5900 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5901 view-mode is not used anymore.
5903 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
5905 * server.el (server-port): Doc fix.
5907 * cus-theme.el (custom-theme-choose-mode): Inherit from
5908 special-mode (Bug#9124).
5909 (custom-theme-choose-mode-map): Add special-mode to parent.
5911 2011-08-28 Alan Mackenzie <acm@muc.de>
5913 * progmodes/cc-fonts.el
5914 (c-make-font-lock-BO-decl-search-function): New function.
5915 (c-basic-matchers-after - "Fontify the clauses after various
5916 keywords"): Extract the three keyword lists for the 3 erroneous
5917 constructs from the list of four, and use the new function above
5918 in place of an old one.
5920 2011-08-28 Deniz Dogan <deniz@dogan.se>
5922 * net/rcirc.el (rcirc-insert-prev-input)
5923 (rcirc-insert-next-input): Remove unused argument.
5925 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5927 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5929 2011-08-27 Alan Mackenzie <acm@muc.de>
5931 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5932 handle function pointer parameters properly.
5934 2011-08-27 Martin Rudalics <rudalics@gmx.at>
5936 * window.el (display-buffer-reuse-window): Fix case where
5937 selected window was reused with non-nil OTHER-WINDOW argument.
5940 2011-08-27 Deniz Dogan <deniz@dogan.se>
5942 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5943 oftc's NickServ messages.
5945 2011-08-27 Glenn Morris <rgm@gnu.org>
5947 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5949 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
5951 * emacs-lisp/package.el (package-install): Call package-initialize
5952 if called interactively.
5954 2011-08-26 Leo Liu <sdl.web@gmail.com>
5956 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5958 2011-08-25 Juri Linkov <juri@jurta.org>
5960 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5961 `search-whitespace-regexp' (bug#9364).
5963 2011-08-25 Juri Linkov <juri@jurta.org>
5965 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5966 `regexp-search-ring' to their global values to protect from
5967 updating by `read-from-minibuffer' (bug#9185).
5969 2011-08-25 Juri Linkov <juri@jurta.org>
5971 * textmodes/ispell.el (ispell-command-loop): Add newline
5972 at the end of the "Use option `i'..." line.
5974 2011-08-25 Juri Linkov <juri@jurta.org>
5976 * battery.el (display-battery-mode): If `battery-status-function'
5977 or `battery-mode-line-format' is nil, display the message and set
5978 `display-battery-mode' to nil (bug#9363).
5980 2011-08-25 Eli Zaretskii <eliz@gnu.org>
5982 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5983 bidi-string-mark-left-to-right; they are unnecessary now.
5985 2011-08-25 Deniz Dogan <deniz@dogan.se>
5987 * net/quickurl.el: Documentation typo fixes.
5989 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
5991 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5993 2011-08-25 Glenn Morris <rgm@gnu.org>
5995 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5997 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5998 (smtpmail-via-smtp): Handle nil response from smtp.
6000 2011-08-24 Juri Linkov <juri@jurta.org>
6002 * proced.el (proced-marked): Inherit from `error' instead of
6003 `font-lock-warning-face'.
6005 * ibuffer.el (ibuffer-marked-face): Change default face from
6006 `font-lock-warning-face' to `warning'.
6007 (ibuffer-deletion-face): Change default face from
6008 `font-lock-type-face' to `error'.
6010 * battery.el (battery-update): Use the face `error' instead of
6011 `font-lock-warning-face' (bug#6117).
6013 2011-08-24 Juri Linkov <juri@jurta.org>
6015 * faces.el (success): Change face color from "Green3" to
6016 "ForestGreen" on light background (bug#9353).
6018 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
6020 * window.el (quit-window): Rename from quit-restore-window.
6021 Use same arglist as old quit-window.
6022 (frame-auto-delete): Doc fix.
6024 * view.el (view-mode-exit): Use quit-window.
6026 2011-08-24 Juri Linkov <juri@jurta.org>
6028 * isearch.el (isearch-ring-adjust1): Start visiting previous
6029 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6030 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6031 for empty search string (when the last search string is reused
6032 automatically) to adjust the isearch ring to the last element and
6033 prepare the correct index for further M-p commands (bug#9185).
6035 2011-08-24 Kenichi Handa <handa@m17n.org>
6037 * international/ucs-normalize.el: If decomposition property of
6038 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6040 (nfd, nfkd): Likewise.
6042 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6044 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6045 from process filters aren't reliably transmitted to the surrounding
6046 accept-process-output.
6047 (mpc-proc-check): New function.
6048 (mpc-proc-sync): Use it (bug#8293)
6050 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6052 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6053 Add compatibility functions (bug#9313).
6055 2011-08-23 Eli Zaretskii <eliz@gnu.org>
6057 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6059 * international/uni-bidi.el: Regenerate.
6061 2011-08-23 Kenichi Handa <handa@m17n.org>
6063 * international/charprop.el:
6064 * international/uni-bidi.el:
6065 * international/uni-category.el:
6066 * international/uni-combining.el:
6067 * international/uni-comment.el:
6068 * international/uni-decimal.el:
6069 * international/uni-decomposition.el:
6070 * international/uni-digit.el:
6071 * international/uni-lowercase.el:
6072 * international/uni-mirrored.el:
6073 * international/uni-name.el:
6074 * international/uni-numeric.el:
6075 * international/uni-old-name.el:
6076 * international/uni-titlecase.el:
6077 * international/uni-uppercase.el: Regenerate.
6079 2011-08-23 Martin Rudalics <rudalics@gmx.at>
6081 * help.el (help-window-setup): Fix message displayed when other
6082 window is reused. (Bug#9341)
6084 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6086 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6087 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6089 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6091 * shell.el (shell-parse-pcomplete-arguments): New function.
6092 (shell-completion-vars): Use it instead (bug#9160).
6094 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6096 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6097 strings and comments (bug#9333).
6099 * emacs-lisp/debug.el (debug-arglist): New function.
6100 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6101 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6103 2011-08-22 Juri Linkov <juri@jurta.org>
6105 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6106 Revert regexp that highlights output switches to its old
6107 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6109 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6110 to check for empty output (bug#9226).
6112 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
6114 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6115 symbol-constituent as the default, as that stops font-lock from
6116 working properly (Bug#8843).
6118 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6120 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6121 `coding-system-for-*' around the process open call to avoid
6122 auth-source side effects.
6123 (smtpmail-try-auth-methods): Expand the secret password.
6124 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6127 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
6129 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6131 * emacs-lisp/find-func.el (find-function-noselect): New arg
6134 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6135 signal an error for built-in functions (Bug#6664).
6137 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6139 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6140 (smtpmail-try-auth-methods): Use it.
6142 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
6144 * font-lock.el (font-lock-fontify-region)
6145 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6146 (font-lock-default-unfontify-buffer)
6147 (font-lock-default-fontify-region)
6148 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6150 * progmodes/compile.el (compilation-error-properties):
6151 Fix confusion between file struct and message struct (Bug#9319).
6152 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6155 * net/browse-url.el (browse-url-firefox): Don't call
6156 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6158 2011-08-20 Glenn Morris <rgm@gnu.org>
6160 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6162 * tutorial.el (tutorial--default-keys): Update some default bindings.
6164 * files.el (hack-local-variables): Fully ignore case for "mode:".
6166 2011-08-20 Alan Mackenzie <acm@muc.de>
6168 Resolve invalid use of a regexp in regexp-opt.
6170 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6171 detection for a java annotation.
6173 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
6174 detection for a java annotation.
6176 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6178 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6180 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
6182 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6185 2011-08-20 Alan Mackenzie <acm@muc.de>
6187 Fontify CPP expressions correctly when starting in the middle of
6188 such a construct. Mainly for when jit-lock etc. starts a chunk
6191 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
6193 (c-make-font-lock-search-form): New function, extracted from
6194 c-make-font-lock-search-function.
6195 (c-make-font-lock-search-function): Use the above function.
6196 (c-make-font-lock-context-search-function): New function.
6197 (c-cpp-matchers): Enhance the preprocessor expression case with
6199 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6200 which takes an expression.
6202 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6204 2011-08-20 Martin Rudalics <rudalics@gmx.at>
6206 * window.el (display-buffer-reuse-window)
6207 (display-buffer-pop-up-window): Don't reuse or split a side
6210 2011-08-19 Glenn Morris <rgm@gnu.org>
6212 * files.el (hack-local-variables-prop-line, hack-local-variables):
6213 Downcase "Mode:". (Bug#9331)
6215 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
6217 * international/characters.el: Add L and R categories.
6219 * subr.el (bidi-string-mark-left-to-right): Rename from
6220 string-mark-left-to-right. Use category search.
6222 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6224 2011-08-18 Juri Linkov <juri@jurta.org>
6226 * faces.el (error, warning, success): New faces with definitions
6227 copied from old default values of `font-lock-warning-face',
6228 `compilation-warning', `compilation-info' (bug#6117).
6230 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6232 * progmodes/compile.el (compilation-error): Inherit from `error'.
6233 (compilation-warning): Inherit from `warning'.
6234 (compilation-info): Inherit from `success'.
6236 * dired.el (dired-marked): Inherit from `warning'.
6237 (dired-flagged): Inherit from `error'.
6239 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6241 * mail/smtpmail.el (auth-source): Require to avoid problems with
6242 binding variables (bug#9298). Also clean up some unused
6245 * net/network-stream.el (network-stream-open-starttls):
6246 Support using starttls.el without using gnutls-cli.
6248 2011-08-17 Juri Linkov <juri@jurta.org>
6250 * progmodes/grep.el (rgrep): Handle the case when
6251 `grep-find-command' is a cons cell (bug#9278).
6253 2011-08-17 Martin Rudalics <rudalics@gmx.at>
6255 * window.el (display-buffer-pop-up-frame): Run frame creation
6256 function with BUFFER current (as special-display-popup-frame
6257 does). Reported by Drew Adams.
6259 2011-08-17 Daiki Ueno <ueno@unixuser.org>
6261 * epa-mail.el: Simplify GnuPG group expansion using
6263 (epa-mail-group-alist, epa-mail-group-modtime)
6264 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6265 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6266 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6269 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
6271 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6273 2011-08-16 Alan Mackenzie <acm@muc.de>
6275 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6276 Correct, to avoid the inside of macros.
6278 2011-08-16 Richard Stallman <rms@gnu.org>
6280 * epa-mail.el: Handle GnuPG group definitions.
6281 (epa-mail-group-alist, epa-mail-group-modtime)
6282 (epa-mail-gnupg-conf-file): New variables.
6283 (epa-mail-parse-groups, epa-mail-sync-groups)
6284 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6285 (epa-mail-expand-recipients): New functions.
6286 (epa-mail-encrypt): Call epa-mail-expand-recipients.
6288 * mail/rmail.el (rmail-epa-decrypt): New command.
6290 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6291 Don't bind buffer-read-only, just inhibit-read-only.
6292 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6293 (epa-decrypt-armor-in-region): Make error message clearer.
6295 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6297 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6298 and "a2b" to "ab" for `prefix'.
6300 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
6302 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6304 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
6305 Fourquet (Bug#8804).
6307 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
6309 * startup.el (argi): Declare as global variable (bug#9275).
6311 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
6313 * subr.el (string-mark-left-to-right): Search the entire string
6314 for RTL script, not just the terminating character. Doc fix.
6316 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6318 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6320 (js--regexp-literal, js-syntax-propertize-function): Remove.
6321 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6322 (js-mode-map): Don't rebind electric keys.
6323 (js-insert-and-indent): Remove.
6324 (js-mode): Setup electric-layout and electric-indent instead.
6326 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6328 2011-08-12 Daiki Ueno <ueno@unixuser.org>
6330 * epa.el (epa-progress-callback-function): Fix the logic of
6331 displaying progress.
6332 * epa-file.el (epa-file-insert-file-contents): Make progress
6333 display more user-friendly.
6334 (epa-file-write-region): Ditto.
6336 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
6338 * subr.el (string-mark-left-to-right): New function.
6340 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6341 Use string-mark-left-to-right.
6342 (list-buffers-noselect): Caller changed.
6344 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6345 Use string-mark-left-to-right.
6346 (tabulated-list-print): Recenter after moving point.
6348 2011-08-10 Juri Linkov <juri@jurta.org>
6350 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6351 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6352 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6354 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
6356 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6359 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
6361 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6362 character. (Bug#6594)
6364 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
6366 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6367 (image-dired--with-db-file): New macro.
6368 (image-dired-write-tags, image-dired-remove-tag)
6369 (image-dired-create-gallery-lists, image-dired-write-comments)
6370 (image-dired-get-comment, image-dired-mark-tagged-files)
6371 (image-dired-list-tags, image-dired-gallery-generate): Use it.
6372 (image-dired-gallery-generate): Use insert-file-contents.
6374 * time.el (display-time-world-list, display-time-world-display):
6375 * time-stamp.el (time-stamp-string):
6376 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6377 set-time-zone-rule (Bug#7337).
6379 2011-08-08 Daiki Ueno <ueno@unixuser.org>
6381 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6382 (epg-error-to-string, epg-errors-to-string): New function.
6383 (epg-wait-for-completion): Reverse errors list.
6384 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6385 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6386 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6387 (epg-sign-keys, epg-generate-key-from-file)
6388 (epg-generate-key-from-string): Format errors by using
6389 epg-errors-to-string (bug#9255).
6390 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6392 2011-08-07 Juri Linkov <juri@jurta.org>
6394 * faces.el (list-faces-display): Remove extra angle bracket
6395 from `help-mode-map'.
6397 * info.el (Info-history-toc-nodes): Doc fix.
6399 * longlines.el (longlines-mode): Doc fix.
6401 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6403 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6404 of statements and in a few more cases (bug#9183).
6406 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6408 (cl-transform-lambda): Use them (bug#9239).
6410 2011-08-05 Martin Rudalics <rudalics@gmx.at>
6412 * window.el (display-buffer-same-window)
6413 (display-buffer-same-frame, display-buffer-other-window)
6414 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6415 (pop-to-buffer-other-window)
6416 (pop-to-buffer-same-frame-other-window)
6417 (pop-to-buffer-other-frame): Make them defuns.
6418 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6420 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6422 * subr.el (make-composed-keymap): Move from C. Change calling
6423 convention, and improve docstring to bring attention to a subtle point.
6424 * minibuffer.el (completing-read-default): Adjust accordingly.
6426 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
6428 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6429 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6431 * net/trampver.el: Update release number.
6433 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6435 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6438 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6440 * mail/sendmail.el (sendmail-query-once): Restore the current
6441 buffer after querying (bug#9074).
6443 * dired.el (dired-flagged): Use different faces for marked and
6444 flagged files (bug#6117).
6446 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6449 * ido.el (ido-mode): Switch off the message if called
6452 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6453 before 587, since it appears that that's more likely to work for
6456 * cus-edit.el (custom-file): When running under emacs -q, always
6457 refuse to save the customizations, even if the .emacs file doesn't
6460 * info.el: Remove the `Info-beginning-of-buffer' function
6463 * net/network-stream.el (network-stream-open-starttls):
6464 Use `starttls-available-p' to see whether starttls.el can be used.
6466 2011-08-01 Martin Rudalics <rudalics@gmx.at>
6468 * window.el (display-buffer-in-window): Don't set dedicated status
6469 of window here (Bug#9215).
6470 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6471 (display-buffer-pop-up-side-window)
6472 (display-buffer-in-side-window): Set dedicated status of window here.
6474 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6476 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6477 before binding generated-autoload-file.
6479 2011-08-01 Deniz Dogan <deniz@dogan.se>
6481 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6483 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
6485 Sync with Tramp 2.2.2.
6487 * net/trampver.el: Update release number.
6489 2011-07-30 Juri Linkov <juri@jurta.org>
6491 * dired-aux.el (dired-touch-initial): Remove function.
6492 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6493 current time, and `default' to the last modification time of the
6494 current marked file (bug#6887).
6496 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
6498 * simple.el (goto-line): Use string-to-number to provide a
6499 numeric argument to read-number (bug#9163).
6501 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
6503 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6504 connection process, it could be nil.
6506 2011-07-27 Leo Liu <sdl.web@gmail.com>
6508 Simplify url handling in rcirc-mode.
6510 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6511 (rcirc-browse-url-at-mouse): Remove.
6512 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6514 2011-07-26 Alan Mackenzie <acm@muc.de>
6516 Fontify bitfield declarations properly.
6518 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6519 (c-symbol-chars): Now exported as a lang variable.
6520 (c-not-primitive-type-keywords): New lang variable.
6522 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6523 QT keyword "more" to prevent "more slots: ...." being spuriously
6524 parsed as a bitfield declaration.
6526 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6527 Refactor and enhance to handle bitfield declarations.
6528 (c-punctuation-in): New function.
6529 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6530 declarations properly.
6532 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
6534 * calendar/icalendar.el (icalendar--all-events): Take care of
6535 multiple vcalendars in a single file.
6536 (icalendar--convert-float-to-ical): Checkdoc fixes.
6538 2011-07-25 Deniz Dogan <deniz@dogan.se>
6540 * image.el (insert-image): Clarifying docstring.
6542 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
6544 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6545 `tramp-send-command-and-check' if there is no error.
6546 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6548 2011-07-22 Alan Mackenzie <acm@muc.de>
6550 Prevent cc-langs.elc being loaded at run time.
6552 * progmodes/cc-mode.el: Remove two autoload forms which loaded
6555 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
6556 "(require 'cc-langs)". Quote a form so it will evaluate at
6557 (cc-mode's) compilation time.
6559 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
6561 * net/tramp.el (tramp-file-name-handler): Avoid recursive
6564 2011-07-21 Martin Rudalics <rudalics@gmx.at>
6566 * window.el (display-buffer-pop-up-window)
6567 (display-buffer-pop-up-side-window)
6568 (display-buffer-in-side-window): Call display-buffer-set-height
6569 and display-buffer-set-width after setting the new window's
6570 buffer so `fit-window-to-buffer' and friends work on the right buffer.
6572 2011-07-20 Sam Steingold <sds@gnu.org>
6574 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6575 (etags-tags-included-tables): Call `convert-standard-filename' on
6576 the file names contained in TAGS so that windows Emacs can handle
6577 TAGS files created by cygwin ctags.
6579 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
6581 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6582 which apparently didn't work.
6584 2011-07-19 Roland Winkler <winkler@gnu.org>
6586 * proced.el (proced-send-signal): For *Marked Processes* buffer
6587 put point at beginning of buffer.
6589 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
6591 * proced.el (proced-format): Make header lines align with the text
6594 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6596 * view.el (view-buffer): Allow running in `special' modes if we're
6597 visiting a file (bug#8615).
6599 2011-07-19 Martin Rudalics <rudalics@gmx.at>
6601 * window.el (display-buffer-alist-of-strings-p)
6602 (display-buffer-alist-set-1, display-buffer-alist-set-2):
6604 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6607 2011-07-18 Alan Mackenzie <acm@muc.de>
6609 Fontify declarators properly when, e.g., a jit-lock chunk begins
6610 inside a declaration.
6612 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6614 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6616 (c-complex-decl-matchers): Insert reference to
6617 c-font-lock-enclosing-decls.
6619 * progmodes/cc-engine.el (c-backward-single-comment):
6620 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6621 to nil around calls to (forward-comment -1).
6623 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6625 * image.el (put-image): Doc typo fix.
6627 * progmodes/etags.el (tags-search): Doc typo fix.
6629 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6630 password if we get errors 550 to 554.
6632 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6634 * net/gnutls.el (gnutls-log-level): Remove.
6636 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6637 indentation character (bug#6380).
6639 * files.el (buffer-offer-save): Made permanently local (bug#6241).
6641 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6642 to clarify what the problem is (bug#4291).
6644 * simple.el (current-kill): Clarify what
6645 `interprogram-paste-function' does (bug#7500).
6646 (auto-fill-mode): Document `auto-fill-function' in relation to
6647 `auto-fill-mode' (bug#2470).
6649 2011-07-16 Lawrence Mitchell <wence@gmx.li>
6651 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6652 method if slot is read-only (bug#9035).
6654 2011-07-16 Martin Rudalics <rudalics@gmx.at>
6656 * frame.el (select-frame-set-input-focus): New argument NORECORD.
6657 * window.el (pop-to-buffer): Select window used even if it was
6658 selected before, see discussion of (Bug#8615), (Bug#6954).
6659 Pass argument NORECORD on to select-frame-set-input-focus.
6661 2011-07-15 Glenn Morris <rgm@gnu.org>
6663 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
6666 2011-07-09 Lawrence Mitchell <wence@gmx.li>
6668 * net/gnutls.el (gnutls-min-prime-bits): New variable.
6669 (gnutls-negotiate): Use it.
6671 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6673 * net/gnutls.el (gnutls-negotiate):
6674 Upcase `gnutls-algorithm-priority'.
6676 2011-07-15 Glenn Morris <rgm@gnu.org>
6678 * jka-compr.el (jka-compr-verbose): Move from here...
6679 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
6680 Add missing :version tag.
6681 * info.el: No need to require jka-compr when compiling.
6683 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6685 * net/gnutls.el (gnutls-algorithm-priority): New variable.
6686 (gnutls-negotiate): Use it.
6688 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6690 * info.el (Info-beginning-of-buffer): New command.
6691 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6692 announcing `b' as the key (bug#8325).
6693 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
6695 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6697 * international/mule-cmds.el
6698 (describe-specified-language-support): Make the error message
6701 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6703 * isearch.el (isearch-barrier): Add a doc string, since it's
6704 mentioned in a function doc string (bug#8678).
6706 2011-07-15 Martin Rudalics <rudalics@gmx.at>
6708 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6709 buffer argument (Bug#9083) and self-identifying label argument.
6711 2011-07-15 Glenn Morris <rgm@gnu.org>
6713 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6715 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6717 * man.el (Man-fontify-manpage): Fix message when formatting the
6718 man page (bug#7929).
6720 2011-07-14 Eli Zaretskii <eliz@gnu.org>
6722 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6723 argument LRM; if non-nil, append an invisible LRM character to the
6725 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6726 last argument non-nil, when formatting buffer names.
6727 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6728 paragraph direction.
6730 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6732 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6733 the man page name (bug#7929).
6735 * image.el (put-image): Mention the `put-image' overlay property
6738 * scroll-bar.el (set-scroll-bar-mode): Mention that
6739 `scroll-bar-mode' lists the values (bug#7772).
6741 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6744 * rect.el (apply-on-rectangle): Return the point after the last
6746 (string-rectangle): Go to the point after the last operation
6749 * printing.el (pr-toggle-region): Clarify the documentation
6750 slightly (bug#7493).
6752 * time.el (display-time-update):
6753 Allow `display-time-mail-function' to return nil (bug#7158).
6754 Fix suggested by Detlev Zundel.
6756 * vc/diff.el (diff): Clarify the order the file names are read
6759 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6760 the doc string (bug#7015).
6762 * font-lock.el (font-lock-maximum-decoration): Mention what
6763 numeric levels mean (bug#6935).
6765 * startup.el (initial-buffer-choice): Don't mention the `none'
6766 selection, which is against policy.
6768 2011-07-14 Martin Rudalics <rudalics@gmx.at>
6770 * window.el (display-buffer-normalize-special):
6771 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
6773 2011-07-14 Eli Zaretskii <eliz@gnu.org>
6775 * subr.el (version<, version<=, version=): Mention "-CVS" and
6776 "-12345" alpha version numbers.
6778 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
6780 * bindings.el: Add advertised binding for set-mark-command
6783 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
6785 * bindings.el (mode-line-other-buffer):
6786 * bookmark.el (bookmark-bmenu-2-window):
6787 * bs.el (bs-cycle-next, bs-cycle-previous):
6788 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6791 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6794 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
6796 * follow.el (follow-debug-message, follow-redisplay):
6797 * jka-cmpr-hook.el (with-auto-compression-mode):
6798 Fix typos in docstrings.
6800 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6802 * subr.el (with-silent-modifications): Clarify somewhat what the
6803 macro inhibits (bug#6525).
6805 * simple.el (eval-expression): Note what it does if called
6806 interactively (bug#6495).
6808 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
6810 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6811 Use pop-to-buffer buffer-or-name if it is nil.
6813 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6814 Remove switch-to-buffer.
6816 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6818 * files.el (make-directory): Clarify that an error will be raised
6819 if there's an error (bug#6397).
6821 * startup.el (initial-buffer-choice): Add `none' as a choice
6824 * subr.el (add-hook): Clarify section about buffer-local hooks
6827 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6829 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
6831 * tabify.el (untabify): Preserve the current column so that point
6832 doesn't move (bug#6032).
6834 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6836 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6837 Rewrite to avoid awkward possessive "s" (bug#5986).
6839 2011-07-13 Glenn Morris <rgm@gnu.org>
6841 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6842 (dired-insert-directory): Give a message the first time
6843 if ls is found not to support --dired.
6845 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6847 * simple.el (toggle-truncate-lines): Clarify what is toggled
6848 (bug#5580). Text by Drew Adams.
6850 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
6852 * simple.el (blink-matching-open): Make the error message from the
6853 last change less verbose.
6855 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6857 * font-lock.el (font-lock-comment-face): Use the high contrast
6858 "yellow" color for font-lock-comment-face on low color terminals
6859 using a dark background color (bug#4221).
6861 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6863 * dired.el (dired-insert-set-properties): Make the doc string
6864 reflect what it does now (bug#5325).
6866 * simple.el (blink-matching-open): Say that we were unable to find
6867 the match within the limit, if we're limited (bug#5122).
6869 * international/mule-cmds.el (prefer-coding-system): Add an
6872 * progmodes/etags.el (tags-search): Document `file-list-form'
6875 2011-07-13 Lawrence Mitchell <wence@gmx.li>
6877 * net/browse-url.el (browse-url-default-browser)
6878 (browse-url-browser-function): Make the default browser choice a
6879 bit more logical (bug#4300). Also clean up the doc string.
6881 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
6883 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6884 binary endings (bug#4440).
6886 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6888 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6889 which can be pretty annoying (bug#8971).
6891 * jka-compr.el (jka-compr-verbose): New variable, and use
6892 throughout (bug#8971).
6894 * info.el (Info-find-file): Fall back on the installation
6895 directory if we can't find the info node anywhere else.
6897 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6899 * vc/vc.el (vc-revert-file):
6900 Don't set file time-stamp in the past. (Bug#5181)
6902 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6904 * files.el (after-find-file): Give a better error message when
6905 trying to find a symlink that points to a file that doesn't exist
6908 * progmodes/cc-vars.el: Remove (probably) misleading comment
6911 2011-07-12 Johan Bockgård <bojohan@gnu.org>
6913 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6915 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
6917 * mouse-sel.el: Hack restoring functionality, while keeping
6918 compatibility with 2010-07-03 changes to mouse selection.
6919 (mouse-sel-primary-overlay): New var.
6920 (mouse-sel-selection-alist): Use it.
6921 (mouse-sel-mode): Doc fix; remove points that are default features
6924 2011-07-12 Johan Bockgård <bojohan@gnu.org>
6926 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6927 Fix previous fix (bug#2490).
6929 2011-07-12 Roland Winkler <winkler@gnu.org>
6931 * textmodes/bibtex.el (bibtex-initialize):
6932 Use pop-to-buffer-same-window.
6933 (bibtex-search-entries): Fix interactive call.
6935 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6937 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6938 Fontise bytecomp Error lines more correctly (bug#2490).
6939 Fix suggested by Johan Bockgård.
6941 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6943 * dired-x.el (dired-guess-default): Use `delete-dups'.
6945 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
6947 * dired.el (dired-mark-prompt):
6948 * dired-aux.el (dired-read-shell-command): Doc fix.
6950 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6952 * mail/sendmail.el (sendmail-query-once):
6953 Use `customize-save-variable' unconditionally, now that it works under
6956 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6958 * cus-edit.el (custom-file): Take an optional no-error variable.
6959 (customize-save-variable): Set the variable, and give a warning if
6960 running under "emacs -q".
6962 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
6964 * loadhist.el (unload-feature-special-hooks):
6965 Add `auto-coding-functions', `fill-nobreak-predicate' and
6966 `find-directory-functions' (bug#5327).
6968 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6970 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6972 * cus-edit.el (custom-guess-name-alist): -alist variables should
6973 use the `alist' type (bug#3120). Suggested by Drew Adams.
6975 * printing.el: Add documentation to all the `pr-toggle-' commands.
6977 2011-07-11 Leo Liu <sdl.web@gmail.com>
6979 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6980 backends where it makes sense (bug#2623).
6982 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6984 * dired-x.el (dired-guess-default): Remove duplicate shell command
6986 (dired-guess-default): Fix grammar in doc string (bug#2028).
6987 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
6989 * subr.el (remove-duplicates): New conveniency function.
6991 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6993 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6996 2011-07-10 Martin Rudalics <rudalics@gmx.at>
6998 * window.el (display-buffer-normalize-default): Don't invert
6999 meaning of even-window-heights. Reported by Eli Zaretskii
7002 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7004 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7006 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
7008 * window.el (display-buffer): Fix arguments to
7009 display-buffer-reuse-window in last change.
7011 * faces.el (link): Use a less saturated blue on light backgrounds.
7013 * startup.el (fancy-startup-text, fancy-about-text)
7014 (fancy-startup-tail): Use font-lock faces, for background safety.
7016 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7018 * emulation/viper-cmd.el (viper-change-state-to-vi):
7019 Limit triggering of abbrev expansion (Bug#9038).
7021 2011-07-09 Martin Rudalics <rudalics@gmx.at>
7023 * window.el (display-buffer-default-specifiers): Remove.
7024 (display-buffer-macro-specifiers): Remove default specifiers.
7025 (display-buffer-alist): Default to nil.
7026 (display-buffer-reuse-window): New optional argument other-window.
7027 (display-buffer-pop-up-window): Allow splitting internal
7028 windows. Check whether a live window was created.
7029 (display-buffer-other-window-means-other-frame)
7030 (display-buffer-normalize-arguments): Rename to
7031 display-buffer-normalize-argument and rewrite. Set the
7032 other-window specifier.
7033 (display-buffer-normalize-special): New function.
7034 (display-buffer-normalize-options): Rename to
7035 display-buffer-normalize-default and rewrite.
7036 (display-buffer-normalize-options-inhibit): Remove.
7037 (display-buffer-normalize-specifiers): Rewrite.
7038 (display-buffer): Process other-window specifier and call
7039 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7041 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
7042 (display-buffer-alist-set): Don't handle 'unset default values.
7043 (display-buffer-in-window, display-buffer-alist-set):
7044 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
7045 <tassilo@member.fsf.org>.
7047 2011-07-09 Leo Liu <sdl.web@gmail.com>
7049 * register.el (insert-register): Restore accidental change on
7050 2011-06-26. (Bug#9028)
7052 2011-07-09 Glenn Morris <rgm@gnu.org>
7054 * subr.el (remq): Handle the empty list. (Bug#9024)
7056 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7058 * mail/sendmail.el (send-mail-function): No longer delay custom
7060 * custom.el (custom-initialize-delay): Doc fix.
7062 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7064 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7066 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
7068 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7069 human-friendly prompt.
7071 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7073 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7074 provided by a particular plugin.
7076 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7078 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7079 save customizations (with "emacs -Q"), just set the variable
7080 instead of erroring out.
7082 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7084 2011-07-08 Juri Linkov <juri@jurta.org>
7086 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7087 (archive-zip-update-case): Use 7z if found by `executable-find'.
7088 The order of searching the available programs is the same as in
7089 `archive-zip-extract' (bug#8968).
7091 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7093 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7094 (menu-bar-options-menu): Tweak descriptions.
7096 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7098 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7099 menu items into verb phrases (bug#1421). Also refill to fit under
7102 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7104 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7105 (Info-read-node-name): Doc fix (Bug#1084).
7107 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7108 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7109 (end-of-sexp, beginning-of-sexp)
7110 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7111 (forward-symbol, forward-same-syntax, word-at-point)
7112 (sentence-at-point): Doc fix (Bug#1144).
7114 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7116 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7117 should cover it (bug#1281).
7119 * cus-edit.el (custom-show): Mark as obsolete.
7121 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
7122 negotiation fails, then possibly try again with a non-encrypted
7123 connection (bug#9017).
7125 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7128 2011-07-07 Richard Stallman <rms@gnu.org>
7130 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7131 property, and handle its changed format.
7132 Look for the correct line number.
7133 Use file's line contents (but not past first =) to find
7134 correct line in message.
7136 2011-07-07 Kenichi Handa <handa@m17n.org>
7138 * international/characters.el (build-unicode-category-table):
7140 (unicode-category-table): Set it by unicode-property-table-internal.
7142 * international/mule-cmds.el (char-code-property-alist): Move to
7144 (get-char-code-property): Call unicode-property-table-internal to
7145 load a file. Call get-unicode-property-internal where necessary.
7146 (put-char-code-property): Call unicode-property-table-internal to
7147 load a file. Call put-unicode-property-internal where necessary.
7148 put-unicode-property-internal where necessary.
7149 (char-code-property-description):
7150 Call unicode-property-table-internal to load a file.
7152 * international/charprop.el:
7153 * international/uni-bidi.el:
7154 * international/uni-category.el:
7155 * international/uni-combining.el:
7156 * international/uni-comment.el:
7157 * international/uni-decimal.el:
7158 * international/uni-decomposition.el:
7159 * international/uni-digit.el:
7160 * international/uni-lowercase.el:
7161 * international/uni-mirrored.el:
7162 * international/uni-name.el:
7163 * international/uni-numeric.el:
7164 * international/uni-old-name.el:
7165 * international/uni-titlecase.el:
7166 * international/uni-uppercase.el: Regenerate.
7168 * loadup.el: Load international/charprop.el before
7169 international/characters.
7171 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7173 * window.el (next-buffer, previous-buffer): Signal an error if
7174 called from a minibuffer window.
7176 * bindings.el: Revert 2011-07-04 change.
7178 2011-07-06 Richard Stallman <rms@gnu.org>
7180 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7181 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7182 Treat markers like ints.
7183 (rmail-mime-entity): Doc fix.
7185 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7187 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7188 defcustom again for backwards compatibility.
7190 * simple.el (shell-command-on-region): Fill.
7192 * dired-aux.el (dired-kill-line): Add a doc string.
7194 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7195 to "\\sw\\|\\s_" (bug#358).
7197 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7198 (dired-unmark-backward): Ditto.
7199 (dired-flag-backup-files): Ditto.
7201 * dired-x.el (dired-mark-sexp): Ditto.
7203 2011-07-06 Richard Stallman <rms@gnu.org>
7205 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7206 (rmail-mime-entity): New arg TRUNCATED.
7207 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7209 (rmail-mime-save): Warn if entity is truncated.
7210 (rmail-mime-toggle-hidden): Likewise, for showing.
7211 (rmail-mime-process-multipart): Record when an entity is truncated.
7213 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7214 if ENTITY is a string.
7216 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7218 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
7219 of faces when `M-C-x'-ing their definitions (bug#8378).
7220 Also clean up the code slightly.
7222 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
7223 because that makes the colors go away.
7225 * mail/sendmail.el (send-mail-function): Change the default to
7226 `sendmail-query-once'.
7227 (sendmail-query-once): Add an autoload cookie.
7229 * net/network-stream.el (network-stream-open-starttls): Try using
7230 a plain connection even if the server offered STARTTLS, and we
7231 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7232 capability. This should make smtpmail.el work in slightly more
7235 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
7237 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7239 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7241 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7243 * progmodes/sql.el: Version 3.0
7244 (sql-product-alist): Add product :completion-object,
7245 :completion-column, and :statement attributes.
7246 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
7247 (sql-mode-syntax-table): Mark all punctuation.
7248 (sql-font-lock-keywords-builder): Temporarily remove fallback on
7250 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
7251 (sql-mode-oracle-font-lock-keywords): Improve.
7252 (sql-oracle-show-reserved-words): New function for development.
7253 (sql-product-font-lock): Simplify for source code buffers.
7254 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7256 (sql-highlight-product): Set product specific syntax table.
7257 (sql-mode-map): Add statement movement functions.
7258 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7260 (sql-statement-regexp, sql-beginning-of-statement)
7261 (sql-end-of-statement, sql-signum): New functions.
7262 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
7263 (sql-show-sqli-buffer): Bug fix.
7264 (sql-interactive-mode): Store connection data as buffer local.
7265 (sql-connect): Add NEW-NAME parameter. Redesign interaction
7266 with sql-interactive-mode.
7267 (sql-save-connection): Save buffer local settings.
7268 (sql-connection-menu-filter): Change menu entry name.
7269 (sql-product-interactive): Bug fix.
7270 (sql-preoutput-hold): New variable.
7271 (sql-interactive-remove-continuation-prompt): Bug fixes.
7272 (sql-debug-redirect): New variable.
7273 (sql-str-literal): New function.
7274 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
7276 (sql-oracle-save-settings, sql-oracle-restore-settings)
7277 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7278 (sql-completion-object, sql-completion-column)
7279 (sql-completion-sqlbuf): New variables.
7280 (sql-build-completions-1, sql-build-completions)
7281 (sql-try-completion): New functions.
7282 (sql-read-table-name): Use them.
7283 (sql-contains-names): New buffer local variable.
7284 (sql-list-all, sql-list-table): Use it.
7285 (sql-oracle-completion-types): New variable.
7286 (sql-oracle-completion-object, sql-sqlite-completion-object)
7287 (sql-postgres-completion-object): New functions.
7289 2011-07-06 Glenn Morris <rgm@gnu.org>
7291 * window.el (pop-to-buffer): Doc fix.
7293 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
7295 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7297 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
7299 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7301 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
7303 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
7305 * button.el (button): Inherit from link face. Suggested by Dan
7308 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7310 * progmodes/gdb-mi.el: Fit in 80 columns.
7311 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7314 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7315 if imenu is simply not configured (bug#8941).
7317 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7319 * allout.el (allout-post-undo-hook): New allout outline-change
7320 event hook to signal undo activity.
7321 (allout-post-command-business): Run allout-post-undo-hook if an
7323 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7324 * allout-widgets.el (allout-widgets-after-undo-function):
7325 Ensure the integrity of the current item's decoration after it has been
7326 in the vicinity of an undo.
7327 (allout-widgets-mode): Include allout-widgets-after-undo-function
7328 on the new allout-post-undo-hook.
7330 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7332 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7333 Let define-derived-mode define it.
7334 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7335 cycles of abbrev-table inheritance (bug#8998).
7337 2011-07-05 Roland Winkler <winkler@gnu.org>
7339 * textmodes/bibtex.el: Add support for biblatex.
7340 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7341 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7342 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7343 (bibtex-entry-alist, bibtex-field-alist): New variables.
7344 (bibtex-entry-field-alist): Obsolete alias for
7345 bibtex-BibTeX-entry-alist.
7346 (bibtex-entry-alist, bibtex-field-alist): New widgets.
7347 (bibtex-set-dialect): New command.
7348 (bibtex-entry-type, bibtex-entry-head)
7349 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7350 Bind via bibtex-set-dialect.
7351 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7352 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7353 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7354 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7355 Define via bibtex-set-dialect.
7356 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7357 Obey bibtex-no-opt-remove-re.
7358 (bibtex-vec-push, bibtex-vec-incr): New functions.
7359 (bibtex-format-entry, bibtex-field-list)
7360 (bibtex-print-help-message, bibtex-validate)
7361 (bibtex-search-entries): Use new format of bibtex-entry-alist.
7363 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7365 * progmodes/compile.el (compilation-goto-locus):
7366 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7367 * bs.el (bs-cycle-next, bs-cycle-previous):
7368 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7369 * bindings.el (mode-line-other-buffer):
7370 * autoinsert.el (auto-insert):
7371 * arc-mode.el (archive-extract):
7372 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7374 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
7376 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7377 Fix check of `emacs-lock-unlockable-modes'.
7378 Coerce true values of `emacs-lock--try-unlocking' to t.
7380 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
7382 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7383 * emacs-lock.el: New file.
7385 2011-07-05 Julien Danjou <julien@danjou.info>
7387 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7388 than `boundp' to check if face is set.
7390 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
7392 * register.el (registerv-make):
7393 * window.el (window-min-height): Fix typos in docstrings.
7395 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7397 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7400 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
7402 * server.el (server-execute): Catch quit and call
7403 `server-return-error' to pass the error back to emacsclient and
7404 close the connection (bug#8942).
7406 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
7408 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7409 insecure exception for current topic. Also note that auto-saves
7410 are handled differently.
7412 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7413 State variables for tracking auto-save inhibition situation.
7415 (allout-write-contents-hook-handler): Rename from
7416 'allout-write-file-hook-handler', and describe how it depends on
7417 write-contents-functions sensitivity to non-nil value to prevent
7420 (allout-auto-save-hook-handler): Remove. auto-save does not check
7421 this in individual buffers, only in the starting buffer, so this
7422 is not the right way for us to inhibit auto-save in a buffer
7423 according to its condition.
7425 (allout-mode): Use new allout-write-contents-hook-handler, and
7426 only with write-contents-functions. Remove auto-save provisions -
7427 they're implemented elsewhere.
7429 (allout-before-change-handler): If undo is in progress, note that
7430 for attention of allout-post-command-business.
7432 (allout-post-command-business): If the command we're following was
7433 an undo, check for change in the status of encrypted items and
7434 adjust auto-save inhibitions accordingly.
7436 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7437 according to whether there are or aren't any plain-text topics
7440 (allout-inhibit-auto-save-info-for-decryption):
7441 Adjust buffer-saved-size and some allout state to inhibit auto-saves
7442 if there are plain-text topics pending encryption.
7444 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7445 buffer-saved-size and some allout state to not inhibit auto-saves
7446 if there are no longer any plain-text topics pending encryption.
7448 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7449 No longer provide for exemption of the current topic.
7451 2011-07-04 Juri Linkov <juri@jurta.org>
7453 Add 7z operations to delete and save changed members (bug#8968).
7454 * arc-mode.el (archive-7z-expunge, archive-7z-update):
7456 (archive-7z-write-file-member): New function.
7457 (archive-7z-summarize): Fix the number of dashes in the
7460 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7462 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7465 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
7467 * bindings.el: Ignore next-buffer and previous-buffer in
7468 minibuffer-local-map.
7470 * font-lock.el (font-lock-builtin-face): Change light background
7471 color to dark slate blue (Bug#6693).
7473 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
7475 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7477 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7479 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7480 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7481 Add switch-to-buffer.
7483 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7485 * isearch.el (isearch-search-fun-function): Clarify further the
7486 meaning of the function returned.
7488 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
7490 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7492 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7493 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7495 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
7496 `tramp-default-remote-path' does not exist.
7497 (tramp-send-command-and-read): New optional argument NOERROR.
7498 (tramp-open-connection-setup-interactive-shell)
7499 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7500 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7501 (tramp-process-sentinel): Flush also process' connection property.
7502 (tramp-sh-handle-start-file-process): Do not set process
7503 sentinel. It is done now ...
7504 (tramp-maybe-open-connection): ... here. (Bug#8929)
7506 2011-07-04 MON KEY <monkey@sandpframing.com>
7508 * play/animate.el (animate-string): Doc fixes and allow changing
7509 the buffer name (bug#5417).
7511 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7513 * play/animate.el (animation-buffer-name): Rename from *animate*.
7515 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
7517 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7518 This is simpler and helps future-proof the code.
7519 (timer-until): Use time-subtract and float-time.
7520 (timer--time-less-p): Use time-less-p.
7522 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
7524 * type-break.el (timep): Use the value of `float-time' to avoid a
7525 byte-compiler warning.
7527 * server.el (server-eval-and-print): Return any result, even nil.
7529 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
7531 * type-break.el: Accept time formats that the builtins accept.
7532 (timep, type-break-time-difference): Accept any format that
7533 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7534 This is simpler and helps future-proof the code.
7535 (type-break-time-difference): Round rather than ignoring
7536 subseconds components.
7538 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7540 * info.el (Info-apropos-matches): Make non-interactive, since it
7541 doesn't seem to do anything useful as a command (bug#8829).
7543 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
7545 * frame.el (frame-background-mode, frame-set-background-mode):
7547 (frame-default-terminal-background): New function.
7549 * custom.el (custom-push-theme): Don't record faces in `changed'
7550 theme; this doesn't work correctly for per-frame face settings.
7551 (disable-theme): Use face-set-after-frame-default to reset faces.
7552 (custom--frame-color-default): New function.
7554 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7556 * dired.el (dired-flagging-regexp): Remove unused variable
7559 2011-03-29 Kevin Ryde <user42@zip.com.au>
7561 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7562 `perl-Test2' extend to match possible "fail #N" rep count
7565 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7567 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7568 `smtpmail-via-smtp' now returns the error instead of nil.
7570 * isearch.el (isearch-search-fun-function): Clarify the doc string
7573 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
7575 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7576 unnecessary spaces (bug#8987).
7578 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7580 * net/network-stream.el (open-network-stream): Use the
7581 :end-of-capability command thoughout.
7583 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7585 * net/network-stream.el (open-network-stream): Add the
7586 :end-of-capability command parameter, used by pop3.el.
7588 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7590 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7592 * fringe.el (fringe-query-style): Remove redundant text " (type ?
7593 for list)" (bug#6475).
7595 * files.el (file-expand-wildcards): Ignore non-readable
7596 sub-directories while trying to find matches instead of signaling
7597 an error (bug#6297).
7599 * man.el (Man-reference-regexp): Allow matching possible
7600 word-wrapped references (bug#6289).
7602 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7603 for consistency with the other vc buffers (bug#6197).
7604 (vc-checkin): Ditto.
7606 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7608 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7610 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7612 * custom.el (defcustom): Clarify that :set is only used in the
7613 Customize user interface (bug#6089).
7615 * progmodes/flymake.el (flymake-mode): If the buffer isn't
7616 associated with a file, refuse to run instead of erroring out
7619 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7620 the doc string, since it appears that using `fill-column' always
7621 controls the width (bug#7845).
7623 * simple.el (shell-command-on-region): Say where the error output
7624 went if `shell-command-default-error-buffer' is set (bug#6857).
7626 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
7628 * allout.el (allout-yank-processing): Adjust cursor position for
7629 backwards-deleted space.
7631 (allout-rebullet-heading): Register changes with
7632 allout-exposure-changed-hook, so the modified topic is properly
7635 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7637 * minibuffer.el (completion-in-region): Document PREDICATE
7640 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7641 of keyword/argument pairs (bug#6904).
7643 * replace.el (multi-occur):
7644 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
7646 2011-07-02 Drew Adams <drew.adams@oracle.com>
7648 * dired.el (dired-mark-if): Make the message about whether it's
7649 marking or unmarking clearer (bug#8523).
7651 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7653 * disp-table.el (display-table-print-array): New function.
7654 (describe-display-table): Use it to print the vectors more pretty
7657 2011-07-02 Martin Rudalics <rudalics@gmx.at>
7659 * window.el (window-state-get-1): Don't assign clone numbers.
7660 Add clone-of item to list of window parameters.
7661 (window-state-put-2): Don't process clone numbers.
7662 (display-buffer-alist): Fix doc-string.
7664 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7666 * subr.el (remq): Don't allocate if it's not needed.
7667 (keymap--menu-item-binding, keymap--menu-item-with-binding)
7668 (keymap--merge-bindings): New functions.
7669 (keymap-canonicalize): Use them to refine the canonicalization.
7670 * minibuffer.el (minibuffer-local-completion-map)
7671 (minibuffer-local-must-match-map): Move initialization from C.
7672 (minibuffer-local-filename-completion-map): Move initialization from C;
7673 don't inherit from anything here.
7674 (minibuffer-local-filename-must-match-map): Make obsolete.
7675 (completing-read-default): Use make-composed-keymap to combine
7676 minibuffer-local-filename-completion-map with either
7677 minibuffer-local-must-match-map or
7678 minibuffer-local-filename-completion-map.
7680 2011-07-01 Glenn Morris <rgm@gnu.org>
7682 * type-break.el (type-break-time-sum): Use dolist.
7684 * textmodes/flyspell.el (flyspell-word-search-backward):
7685 Replace CL function.
7687 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7689 * mouse.el (mouse--strip-first-event): New function.
7690 (function-key-map): Use it to map fringe clicks to normal clicks
7693 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7694 (vc-bzr-revision-completion-table): Add support for annotate and date.
7696 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7697 inherit from parent.
7699 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7701 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
7702 (dired-show-file-type): Doc fixup (bug#8818).
7704 * dired.el (dired-mode): Fix up the doc string as suggested by
7705 Drew Adams (bug#8817).
7707 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7708 cookie, since the manual says that it should be possible to add
7709 this function to `find-file-hook' (bug#8709).
7711 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7713 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7714 here. Noted Ted Zlatanov as the maintainer.
7715 (cfengine-common-settings, cfengine-common-syntax): New functions
7716 to set up common things between `cfengine-mode' and
7718 (cfengine3-mode): New mode.
7719 (cfengine3-defuns cfengine3-defuns-regex
7720 (cfengine3-class-selector-regex cfengine3-category-regex)
7721 (cfengine3-vartypes cfengine3-font-lock-keywords)
7722 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
7723 (cfengine3-indent-line): Add from cfengine3.el.
7725 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
7727 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7729 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7731 2011-07-01 Martin Rudalics <rudalics@gmx.at>
7733 * window.el (same-window-buffer-names, same-window-regexps)
7734 (same-window-p, special-display-frame-alist)
7735 (special-display-popup-frame, special-display-function)
7736 (special-display-buffer-names, special-display-regexps)
7737 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7738 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7739 (split-window-preferred-function, split-height-threshold)
7740 (split-width-threshold, even-window-heights)
7741 (display-buffer-mark-dedicated, window-splittable-p)
7742 (split-window-sensibly, window-safely-shrinkable-p):
7744 (display-buffer): Don't spread args with function specifier
7745 because special-display-popup-frame won't like it.
7747 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7749 Time-stamp simplifications and fixes.
7750 These improve accuracy slightly, and future-proof the code
7751 against some potential changes to current-time format.
7753 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7754 by using time-since and float-time.
7756 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7757 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7758 + NNN microseconds".
7760 * type-break.el (type-break-time-sum): Rewrite using time-add.
7762 * play/hanoi.el (hanoi-current-time-float): Remove.
7763 All uses replaced by float-time.
7765 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7766 This yields a more-accurate answer.
7767 (rng-time-to-float): Remove; no longer needed.
7769 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7771 * calendar/timeclock.el (timeclock-seconds-to-time):
7772 Defalias to seconds-to-time, since they're the same thing.
7774 * emacs-lisp/elp.el (elp-elapsed-time):
7775 * emacs-lisp/benchmark.el (benchmark-elapse):
7776 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7778 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7780 * window.el (bury-buffer): Don't iconify the only frame.
7781 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7782 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7784 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
7786 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7787 Add mouse-yank-primary.
7789 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7791 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7793 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7795 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7796 (find-library-name): Use it to find relative load names when provided
7797 absolute file name (bug#8803).
7799 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7801 * textmodes/flyspell.el (flyspell-word): Consider words that
7802 differ only in case as potential doublons (bug#5687).
7804 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7805 Remove two rather uninteresting debugging-like messages to make
7806 debbugs.el more silent.
7808 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7809 a password-like phrase.
7811 2011-06-30 Masatake YAMATO <yamato@redhat.com>
7813 * progmodes/cc-guess.el: New file.
7815 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
7817 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7818 derived from `c-basic-common-init'.
7820 * progmodes/cc-mode.el (top-level): Require cc-guess.
7821 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7823 2011-06-30 Lawrence Mitchell <wence@gmx.li>
7825 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7827 2011-06-30 Alan Mackenzie <acm@muc.de>
7829 * progmodes/cc-engine.el (c-guess-continued-construct):
7830 Correct the handling of template-args-cont, particularly for when font
7831 lock is disabled. Name this case as "CASE G".
7833 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7835 * allout.el (allout-yank-processing): Fix injection of extra space
7836 between bullet and non-whitespace character in first topic when
7837 pasting, ensuring that the actual spacing in the pasted topic
7838 following the bullet char is preserved. This extra space was
7839 causing pasted encrypted topics to get a decrypted status even
7840 when the content was actually still encrypted. Now the decryption
7841 status from before the paste is preserved.
7843 (allout-flag-region): Set all allout overlays so they evaporate
7844 when reduced to zero length (evanescent), to prevent overlay
7847 2011-06-30 Glenn Morris <rgm@gnu.org>
7849 * w32-fns.el (w32-charset-info-alist): Declare.
7851 * find-dired.el (find-grep-options): Simplify.
7853 * term/ns-win.el (ns-set-resource): Declare.
7855 * ses.el (row, col): Declare dynamic variables honestly.
7857 * textmodes/reftex-parse.el (index-tags): Declare.
7859 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
7861 * cus-edit.el (customize-push-and-save): New function.
7863 * files.el (hack-local-variables-confirm): Use it.
7865 * custom.el (load-theme): New arg NO-CONFIRM.
7866 Use customize-push-and-save (Bug#8720).
7867 (custom-enabled-themes): Doc fix.
7869 * cus-theme.el (customize-create-theme)
7870 (custom-theme-merge-theme): Callers to load-theme changed.
7872 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7874 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7875 short URLs have at least one dot in them (bug #7614).
7877 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7878 nil, because using a pty is apparently too slow (bug #895).
7880 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7882 * mail/sendmail.el (sendmail-query-once): New function.
7883 (sendmail-query-once-function): New variable.
7885 2011-06-29 Glenn Morris <rgm@gnu.org>
7887 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7889 * ses.el (top-level): Require cl when compiling.
7890 (ses-set-localvars): Fix error statement.
7891 Call it at compile time to silence a storm of warnings.
7893 2011-06-29 Martin Rudalics <rudalics@gmx.at>
7895 * window.el (normalize-live-buffer): Rename to
7896 window-normalize-buffer.
7897 (normalize-live-frame): Rename to window-normalize-frame.
7898 (normalize-any-window): Rename to window-normalize-any-window.
7899 (normalize-live-window): Rename to window-normalize-live-window.
7900 (make-window-atom): Rename to window-make-atom.
7901 (window-resize-reset): Rename to window--resize-reset.
7902 (window-resize-reset-1): Rename to window--resize-reset-1.
7903 (resize-mini-window): Rename to window--resize-mini-window.
7904 (resize-subwindows-skip-p): Rename to
7905 window--resize-subwindows-skip-p.
7906 (resize-subwindows-normal): Rename to
7907 window--resize-subwindows-normal.
7908 (resize-subwindows): Rename to window--resize-subwindows.
7909 (resize-other-windows): Rename to window--resize-siblings.
7910 (resize-this-window): Rename to window--resize-this-window.
7911 (resize-root-window): Rename to window--resize-root-window.
7912 (resize-root-window-vertically): Rename to
7913 window--resize-root-window-vertically.
7914 (normalize-buffer-to-display): Rename to
7915 window-normalize-buffer-to-display.
7916 (normalize-buffer-to-switch-to): Rename to
7917 window-normalize-buffer-to-switch-to.
7918 Correspondingly update all callers of the functions listed
7920 (display-buffer-alist, display-buffer-normalize-arguments)
7921 (display-buffer-normalize-options, display-buffer)
7922 (display-buffer-alist-set): Use "function" instead of
7925 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
7927 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7928 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7929 debbugs.gnu.org. Mention acknowledgment email.
7931 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7933 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7934 buffer multibyteness, since it shouldn't matter.
7936 2011-06-28 Martin Rudalics <rudalics@gmx.at>
7938 * window.el (display-buffer-in-side-window): Handle dedicated
7939 windows as in display-buffer-reuse-window.
7940 (display-buffer-normalize-alist): Use value of override
7942 (display-buffer-normalize-specifiers): Use value of
7943 other-window-means-other-frame specifier.
7944 (display-buffer-alist): Rewrite some texts in widgets.
7945 (display-buffer): Spread arguments when calling function
7946 specified by fun-with-args.
7948 2011-06-28 Deniz Dogan <deniz@dogan.se>
7950 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7953 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7954 selectors (Bug#5732).
7955 (css-proprietary-nmstart-re): Use `regexp-opt'.
7957 2011-06-27 Jari Aalto <jari.aalto@cante.net>
7959 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7960 (eshell-ls-date-format): New defcustom.
7961 (eshell-ls-file): Use it.
7963 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7965 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7967 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7969 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7970 (ange-ftp-make-tmp-name): New arg.
7971 (ange-ftp-file-local-copy): Use it.
7973 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
7975 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7976 no-conversion (Bug#8870).
7978 2011-06-27 Martin Rudalics <rudalics@gmx.at>
7980 * window.el (window-right, window-left, window-child)
7981 (window-child-count, window-last-child)
7982 (window-iso-combination-p, walk-window-tree-1)
7983 (window-atom-check-1, window-tree-1, delete-window)
7984 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7985 new naming conventions - window-vchild, window-hchild,
7986 window-next and window-prev are now called window-top-child,
7987 window-left-child, window-next-sibling and window-prev-sibling
7989 (resize-window-reset): Rename to window-resize-reset.
7990 (resize-window-reset-1): Rename to window-resize-reset-1.
7991 (resize-window): Rename to window-resize.
7992 (window-min-height, window-min-width)
7993 (resize-mini-window, resize-this-window, resize-root-window)
7994 (resize-root-window-vertically, adjust-window-trailing-edge)
7995 (enlarge-window, shrink-window, maximize-window)
7996 (minimize-window, delete-window, quit-restore-window)
7997 (split-window, balance-windows, balance-windows-area-adjust)
7998 (balance-windows-area, window-state-put-2)
7999 (display-buffer-even-window-sizes, display-buffer-set-height)
8000 (display-buffer-set-width, set-window-text-height)
8001 (fit-window-to-buffer): Rename all "resize-window" prefixed
8002 calls to use the "window-resize" prefix convention.
8003 (display-buffer-alist): Fix symbol for label specifier.
8004 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8005 corresponding specifier.
8006 Reported by Juanma Barranquero <lekktu@gmail.com>.
8008 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8010 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8012 (ses-call-printer): Does not pass an empty string to formatter when the
8013 cell is empty to keep from barking printer Calc math-format-value.
8015 2011-06-27 Richard Stallman <rms@gnu.org>
8017 * battery.el (battery-mode-line-limit): New variable.
8018 (battery-update): Handle it.
8020 * mail/rmailmm.el (rmail-mime-process-multipart):
8021 Handle truncated messages.
8023 2011-06-27 Glenn Morris <rgm@gnu.org>
8025 * progmodes/flymake.el (flymake-err-line-patterns):
8026 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8028 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8030 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
8031 (ses--clean-!, ses--clean-_): New functions.
8032 (ses-range): Add configurability of readout order, and conversion
8035 * ses.el (ses-repair-cell-reference-all): New function.
8036 (ses-cell-symbol): Set macro as safe, so that it can be used in
8039 * ses.el: Update cycle detection algorithm.
8040 (ses-localvars): Add ses--Dijkstra-attempt-nb and
8041 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
8042 (ses-set-localvars): New function.
8043 (ses-make-cell): Add property-list as a cell element.
8044 (ses-cell-property-get-fun, ses-cell-property-get)
8045 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
8046 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8048 (ses-cell-property-set, ses-cell-property-pop)
8049 (ses-cell-property-get-handle): New macro.
8050 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8051 New aliases, used for code readability.
8052 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8054 (ses-self-reference-early-detection): New defcustom.
8055 (ses-formula-references): Robustify against self-referring cells.
8056 (ses-mode): Use ses-set-localvars.
8057 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8058 before lauching the update processing.
8059 (ses-initialize-Dijkstra-attempt): New function.
8060 (ses-recalculate-cell): Update for cycle detection based on
8063 * ses.el: Fix commenting and indenting convention.
8065 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8067 * bs.el (bs-cycle-next): Complete last change.
8069 2011-06-27 Drew Adams <drew.adams@oracle.com>
8071 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8073 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8075 * net/network-stream.el (network-stream-open-starttls):
8076 Don't re-get capabilities unless we've reestablished connection.
8077 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8079 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8080 to binary to possibly avoid line encoding issues on Windows (among
8083 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8085 * net/network-stream.el (open-network-stream): Return an :error
8086 saying what the problem was, if possible.
8088 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8091 * net/network-stream.el (network-stream-open-starttls): If we
8092 wanted to use STARTTLS, and the server offered it, but we weren't
8093 able to because we had no STARTTLS support, then close the connection.
8094 (open-network-stream): Return an :error element, if present.
8096 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
8098 * hl-line.el (hl-line-sticky-flag): Doc fix.
8099 (global-hl-line-sticky-flag): New option (Bug#8323).
8100 (global-hl-line-highlight): Obey it.
8102 * vc/vc.el (vc-revert-show-diff): Default to t.
8104 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8106 * allout-widgets.el (allout-widgets-post-command-business):
8107 Stop decorating intermediate isearch matches. They're not being
8108 undecorated when an isearch is continued past, and isearch
8109 automatically collapses them. This leads to "widget leaks", where
8110 decorated items accumulate in collapsed areas. Lines with lots of
8111 hidden widgets can slow down cursor travel, substantially.
8112 Too much complicated machinery would be needed to ensure undecoration,
8113 so we're doing without this nicety.
8115 (allout-widgets-tally-string): Don't try to do a hash-table-count
8116 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8117 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8118 *Messages* when allout-widgets-maintain-tally is t.
8120 2011-06-26 Martin Rudalics <rudalics@gmx.at>
8122 * window.el (display-buffer-normalize-argument): Rename to
8123 display-buffer-normalize-arguments. Handle special meaning of
8124 LABEL argument. Respect special-display-function when popping up
8125 a new frame. Fix code searching for a window showing the buffer
8127 (display-buffer-normalize-specifiers):
8128 Call display-buffer-normalize-arguments.
8129 (display-buffer-in-window): Don't undedicate the window if its
8130 buffer remains the same.
8131 Reported by Drew Adams <drew.adams@oracle.com>.
8132 (display-buffer-alist): Add choice for same-window macro
8134 (display-buffer): Mention special meaning of LABEL argument in
8135 doc-string. Fix quoting. Don't pop up a new frame even as
8138 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
8140 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8141 avoid deleting the current window in some cases (bug#8911).
8143 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8145 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8148 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8150 * net/network-stream.el (network-stream-open-starttls):
8151 Use built-in TLS support if `gnutls-available-p' is true.
8152 (network-stream-open-tls): Ditto.
8154 2011-06-26 Leo Liu <sdl.web@gmail.com>
8156 * register.el (registerv): New struct.
8157 (registerv-make): New function.
8158 (jump-to-register, describe-register-1, insert-register):
8159 Support the jump-func, print-func and insert-func slot of a registerv
8162 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
8164 * vc/vc.el (vc-revert-show-diff): New defcustom.
8165 (vc-diff-internal): New arg specifying diff buffer.
8166 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8167 reuse an existing *vc-diff* buffer (Bug#8927).
8169 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8171 2011-06-26 Glenn Morris <rgm@gnu.org>
8173 * progmodes/f90.el (f90-critical-indent): New option.
8174 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8175 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8176 (f90-mode): Doc fix.
8177 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8178 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8179 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8180 (f90-match-end): Handle block, critical.
8182 2011-06-25 Glenn Morris <rgm@gnu.org>
8184 * calendar/diary-lib.el (diary-included-files): Doc fix.
8185 (diary-include-files): New function, extracted from
8186 diary-include-other-diary-files and diary-mark-included-diary-files.
8187 (diary-include-other-diary-files, diary-mark-included-diary-files):
8188 Just call diary-include-files.
8189 (diary-mark-entries): Reset diary-included-files on first call.
8191 * calendar/diary-lib.el (diary-mark-entries)
8192 (diary-mark-included-diary-files):
8193 Visit included diary-files in temp buffers.
8195 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8196 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8197 (f90-start-block-re, f90-imenu-generic-expression)
8198 (f90-looking-at-program-block-start, f90-no-block-limit):
8199 Add support for submodules.
8201 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8202 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
8204 2011-06-25 Eli Zaretskii <eliz@gnu.org>
8206 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8207 buffer-file-type before setting its value, to avoid disastrous
8208 global effects on decoding files for DOS/Windows systems. (Bug#8780)
8210 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
8212 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8214 * ses.el (ses-unload-function):
8215 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8217 * proced.el (proced-unload-function):
8218 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8220 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8222 * server.el (server-create-window-system-frame): Add parameters arg.
8223 (server-process-filter): Doc fix. Handle frame-parameters.
8225 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
8227 Fix bug#8730, bug#8781.
8229 * loadhist.el (unload--set-major-mode): New function.
8230 (unload-feature): Use it.
8232 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8233 (python-unload-function): New function.
8235 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8237 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8239 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8241 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8242 the candidates list.
8244 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
8246 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8248 2011-06-23 Richard Stallman <rms@gnu.org>
8250 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8251 (rmail-variables): Set next-error-move-function.
8252 (rmail-what-message): Take argument POS.
8253 (rmail-next-error-move): New function.
8255 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8257 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8258 messages for adjacent non-terminals.
8260 2011-06-23 Richard Stallman <rms@gnu.org>
8262 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
8263 (rmail-show-message-1): Preserve buffer modified flag.
8264 (rmail-start-mail): Don't specify use of rmail-mail-return;
8265 that's done by mail-bury now.
8266 (rmail-mail-return): Handle arg NEWBUF.
8268 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
8270 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8273 2011-06-23 Martin Rudalics <rudalics@gmx.at>
8275 * window.el (get-lru-window, get-mru-window)
8276 (get-largest-window): Never return a minibuffer window.
8277 (display-buffer-pop-up-window): Fix a bug that could lead to
8278 reusing the minibuffer window.
8279 (display-buffer): Pass original specifier argument to
8280 display-buffer-function instead of the normalized one.
8281 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8283 2011-06-22 Leo Liu <sdl.web@gmail.com>
8285 * minibuffer.el (completing-read-function)
8286 (completing-read-default): Move from minibuf.c
8288 2011-06-22 Richard Stallman <rms@gnu.org>
8290 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8291 to Rmail even if not started by a special Rmail command.
8293 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8294 Copy the buffer currently showing just one message.
8296 2011-06-22 Roland Winkler <winkler@gnu.org>
8298 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8299 (bibtex-clean-entry): First delete the old key so that a
8300 customized algorithm for generating the new key does not get
8301 confused by the old key.
8302 (bibtex-url): Obey regexp of first step.
8303 (bibtex-search-entries): Do not use add-to-list with local
8306 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8308 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8309 stored a user name, then query for the password first, instead of
8310 waiting for SMTP to give an error message and the trying again.
8312 2011-06-22 Lawrence Mitchell <wence@gmx.li>
8314 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8315 BUFFER in call-process.
8317 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8319 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8321 (smtpmail-try-auth-methods): Require user name and password from
8324 2011-06-22 Martin Rudalics <rudalics@gmx.at>
8326 * window.el (display-buffer-default-specifiers)
8327 (display-buffer-alist): Remove entries for pop-up-frame-alist.
8328 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
8329 (split-window): Normalize SIDE argument (Bug#8916).
8331 * frame.el (pop-up-frame-alist, pop-up-frame-function)
8332 (special-display-frame-alist, special-display-popup-frame):
8333 Remove duplicate declarations. These are now in window.el.
8335 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8337 * mail/smtpmail.el (smtpmail-via-smtp):
8338 Set :use-starttls-if-possible so that we always use STARTTLS if the
8339 server supports it. SMTP servers that support STARTTLS commonly
8342 * net/network-stream.el (network-stream-open-starttls): Support
8343 upgrading to STARTTLS always, even if we don't have built-in support.
8344 (open-network-stream): Add the :always-query-capabilities keyword.
8346 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8347 upgrades with `open-network-stream', and rely solely on
8348 auth-source for all credentials. Big changes throughout the file,
8350 (smtpmail-auth-credentials): Remove.
8351 (smtpmail-starttls-credentials): Remove.
8352 (smtpmail-via-smtp): Check for servers saying they want AUTH after
8355 * net/network-stream.el (network-stream-open-starttls):
8356 Provide support for client certificates both for external and built-in
8358 (auth-source): Require.
8359 (open-network-stream): Document the :client-certificate keyword.
8360 (network-stream-certificate): Change cert-cert to cert and
8363 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
8365 * net/tramp-cache.el (top): Don't load the persistency file when
8366 "emacs -Q" has been called.
8368 2011-06-21 Tim Harper <timcharper@gmail.com>
8370 * term/ns-win.el (ns-initialize-window-system):
8371 Set application-specific `ApplePressAndHoldEnabled' system
8372 resource to NO as it is not yet supported by the NS port.
8374 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
8376 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8377 (list-dynamic-libraries): ...not here.
8379 2011-06-21 Leo Liu <sdl.web@gmail.com>
8381 * subr.el (sha1): Implement sha1 using secure-hash.
8383 2011-06-21 Martin Rudalics <rudalics@gmx.at>
8385 * window.el (display-buffer-alist): In default value do not
8386 enforce searching a window on any but the selected frame.
8387 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8388 (display-buffer-select-window): Remove function.
8389 (display-buffer-in-window): When a window on another frame gets
8390 reused, do not select it any more but just raise its frame if
8391 necessary (Bug#8851) and (Bug#8856).
8392 (display-buffer-normalize-options): Handle pop-up-frames related
8393 options more faithfully.
8394 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8395 window if it is on another frame.
8396 (display-buffer-alist, display-buffer-default-specifiers):
8397 Don't make new frame unsplittable by default.
8398 (display-buffer-normalize-argument): Fix doc-string typo and use
8399 'same-frame-other-window instead of 'other-window when associating
8400 with display-buffer-macro-specifiers.
8402 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8404 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8406 (5x5-mode-map, 5x5-mode-menu): Bind them.
8407 (5x5-draw-grid): Tweak the solver's rendering.
8409 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8411 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8412 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8414 2011-06-21 Drew Adams <drew.adams@oracle.com>
8416 * menu-bar.el: Use function variable instead of switch-to-buffer.
8417 (menu-bar-select-buffer-function): New variable.
8418 (menu-bar-update-buffers): Use it (bug#8876).
8420 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8422 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8425 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8427 * x-dnd.el (x-dnd-version-from-flags)
8428 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8429 and long as number (Bug#8899).
8430 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8432 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8434 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
8435 (completion-try-completion, completion-all-completions): Compute the
8436 metadata argument if it's missing; make it optional (bug#8795).
8438 * wid-edit.el: Use lex-bind and move towards completion-at-point.
8439 (widget-complete): Use new :completion-function property.
8440 (widget-completions-at-point): New function.
8441 (default): Use :completion-function instead of :complete.
8442 (widget-default-completions): Rename from widget-default-complete;
8444 (widget-string-complete, widget-file-complete, widget-color-complete):
8446 (file, symbol, function, variable, coding-system, color):
8447 * international/mule-cmds.el (default-input-method, charset)
8448 (language-info-custom-alist):
8449 * cus-edit.el (face): Use new property :completions.
8451 * progmodes/pascal.el (pascal-completions-at-point): New function.
8452 (pascal-mode): Use it.
8453 (pascal-mode-map): Use completion-at-point.
8454 (pascal-toggle-completions): Make obsolete.
8455 (pascal-complete-word, pascal-show-completions):
8456 * progmodes/octave-mod.el (octave-complete-symbol):
8457 Redefine as obsolete alias.
8458 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8459 Signal absence of completion info for old Octave,
8460 (inferior-octave-complete): Redefine as obsolete alias.
8461 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8462 (meta-completions-at-point): Rename from meta-complete-symbol and
8463 adapt it for use on completion-at-point-functions.
8464 (meta-common-mode): Use it.
8465 (meta-looking-at-backward, meta-match-buffer): Remove.
8466 (meta-complete-symbol): Redefine as obsolete alias.
8467 (meta-common-mode-map): Use completion-at-point.
8468 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8469 (makefile-mode-map): Use completion-at-point.
8470 (makefile-completions-at-point): Rename from makefile-complete and
8471 adapt it for use on completion-at-point-functions.
8472 (makefile-mode): Use it.
8473 (makefile-complete): Redefine as obsolete alias.
8475 2011-06-20 Deniz Dogan <deniz@dogan.se>
8477 * net/rcirc.el: Delete trailing whitespaces once and for all.
8479 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
8481 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8483 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
8485 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8487 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8489 2011-06-19 Martin Rudalics <rudalics@gmx.at>
8491 * window.el (display-buffer-other-window-means-other-frame):
8492 Call display-buffer-normalize-alist.
8493 (display-buffer-normalize-specifiers-1): Rename to
8494 display-buffer-normalize-argument. New argument other-frame.
8496 (display-buffer-normalize-specifiers-2): Rename to
8497 display-buffer-normalize-options.
8498 (display-buffer-normalize-alist-1): New function.
8499 (display-buffer-normalize-specifiers-3): Rename to
8500 display-buffer-normalize-alist.
8501 Call display-buffer-normalize-alist-1.
8502 (display-buffer-normalize-options-inhibit): New variable.
8503 (display-buffer-normalize-specifiers): Rewrite calling
8504 display-buffer-normalize-alist,
8505 display-buffer-normalize-argument, and
8506 display-buffer-normalize-options. Don't call the latter if
8507 display-buffer-normalize-options-inhibit is non-nil.
8508 (frame-auto-delete): New option.
8509 (window-deletable-p): Use frame-auto-delete.
8510 (window-list-no-nils, window-state-ignored-parameters)
8511 (window-state-get-1, window-state-get, window-state-put-list)
8512 (window-state-put-1, window-state-put-2, window-state-put):
8514 (display-buffer-normalize-options): Move special-display-p group
8515 after pop-up-frame group (Bug#8851) and (Bug#8856).
8517 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
8519 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8521 (rx-submatch-n): New function.
8524 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8527 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8529 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8531 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8532 anytime existing face settings are present (Bug#8889).
8534 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8535 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8536 Remove unused argument.
8538 2011-06-18 Martin Rudalics <rudalics@gmx.at>
8540 * window.el (display-buffer-default-specifiers):
8541 Remove pop-up-frame. Add pop-up-window-min-height,
8542 pop-up-window-min-width, and another reuse-window specifier
8543 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
8544 (display-buffer-normalize-specifiers-2):
8545 Handle split-height-threshold and split-width-threshold also when
8546 pop-up-windows is unset. Add a reuse-window specifier for the
8547 case popping up a new window fails.
8548 (special-display-popup-frame): Remove double quoting.
8549 (display-buffer-normalize-specifiers-1): Fix thinko.
8551 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8553 * shell.el (shell-completion-vars): Set pcomplete-termination-string
8554 according to comint-completion-addsuffix.
8556 * pcomplete.el: Convert to lexical binding and fix bug#8819.
8557 (pcomplete-suffix-list): Mark as obsolete.
8558 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8559 pcomplete-seen in the closure.
8560 (pcomplete-comint-setup): Setup completion-at-point as well.
8561 (pcomplete--entries): New function.
8562 (pcomplete--env-regexp): New var.
8563 (pcomplete-entries): Rewrite to work with partial-completion and
8564 without relying on pcomplete-suffix-list.
8565 (pcomplete-pare-list): Remove, unused.
8567 2011-06-17 Martin Rudalics <rudalics@gmx.at>
8569 * window.el (display-buffer-alist): Set pop-up-window-min-height
8570 and pop-up-window-min-width in default value. Reported by
8571 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
8572 other-window-means-other-frame.
8573 (display-buffer-macro-specifiers): Comment out entry for
8574 other-window specifier.
8575 (display-buffer-other-window-means-other-frame): New function.
8576 (display-buffer-normalize-specifiers-1): New arguments
8577 buffer-name and label. Treat other-window case specially.
8578 (display-buffer-normalize-specifiers-2): Treat other-window case
8580 (display-buffer-normalize-specifiers-3): New function.
8581 (display-buffer-normalize-specifiers):
8582 Call display-buffer-normalize-specifiers-3.
8584 2011-06-17 Martin Rudalics <rudalics@gmx.at>
8586 * window.el (same-window-p): Fix two typos introduced when
8587 adding with-no-warnings.
8588 (display-buffer-normalize-specifiers-1): Don't check
8589 pop-up-frames for 'unset initialization.
8590 (display-buffer-normalize-specifiers-2): Major rewrite using
8591 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8592 (pop-up-frames, display-buffer-reuse-frames)
8593 (display-buffer-mark-dedicated): Don't initialize to 'unset.
8594 Suggested by David Engster <deng@randomsample.de>.
8595 (even-window-heights): Initialize to 'unset.
8596 (display-buffer-alist-set): Handle new 'unset initializations.
8597 (display-buffer-macro-specifiers): Don't pop up a new frame in the
8600 2011-06-16 Martin Rudalics <rudalics@gmx.at>
8602 * window.el (display-buffer-normalize-specifiers-1):
8603 Respect current value of pop-up-frames for most reasonable values of
8604 second argument of display-buffer (Bug#8865).
8605 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8606 (switch-to-buffer-other-window-same-frame)
8607 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
8609 (display-buffer): Don't check noninteractive when calling
8610 display-buffer-pop-up-frame.
8611 (display-buffer-pop-up-frame): Never pop up a frame in
8612 noninteractive mode (Bug#8857).
8613 (enlarge-window, shrink-window): Don't report an error when the
8614 window can't be resized as requested (Bug#8862).
8616 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8618 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8620 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8622 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8624 2011-06-15 Alan Mackenzie <acm@muc.de>
8626 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8627 for declarators, disable knr checking to speed up for normal files.
8628 2: Refactor, replacing a sequence of nested if forms by a cond form.
8630 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8632 * net/network-stream.el (open-network-stream): Add the keyword
8633 :always-query-capabilities for the case where you want to force a
8634 `plain' network connection, but the protocol still requires the
8635 capabilitiy command (i.e., SMTP and EHLO).
8637 * subr.el (process-live-p): Rename from `process-alive-p' for
8638 consistency with other `-live-p' functions.
8640 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8642 * window.el (same-window-buffer-names, same-window-regexps)
8643 (special-display-frame-alist, special-display-popup-frame)
8644 (special-display-function, special-display-buffer-names)
8645 (special-display-regexps, pop-up-frame-alist)
8646 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8647 (pop-up-windows, split-window-preferred-function)
8648 (split-height-threshold, split-width-threshold, even-window-heights)
8649 (display-buffer-mark-dedicated): Don't encourage the use of
8650 display-buffer-alist from Elisp code.
8652 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
8654 * progmodes/python.el (python-mode): Derive from prog-mode.
8655 * progmodes/ps-mode.el (ps-mode):
8656 * progmodes/mixal-mode.el (mixal-mode):
8657 * progmodes/cfengine.el (cfengine-mode):
8658 * progmodes/ld-script.el (ld-script-mode): Likewise.
8660 2011-06-15 Martin Rudalics <rudalics@gmx.at>
8662 * window.el (display-buffer-alist): Trim default value to avoid
8663 popping up a new frame (Bug#8857) or reusing an arbitrary window
8665 (display-buffer): Do not fall back on popping up a new frame in
8666 batch mode (Bug#8857).
8668 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
8670 * cus-theme.el (describe-theme-1): Use custom-theme-p.
8671 (custom-theme-summary): New function.
8672 (customize-themes): Use it.
8674 2011-06-13 Glenn Morris <rgm@gnu.org>
8676 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8678 2011-06-13 Martin Rudalics <rudalics@gmx.at>
8680 * help.el (help-window): Remove variable.
8681 (help-window-point-marker, temp-buffer-max-height)
8682 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8683 (help-print-return-message): Don't set help-window.
8684 (resize-temp-buffer-window): Rewrite cod eand doc-string.
8685 (help-window-setup-finish): Remove.
8686 (help-window-display-message, help-window-setup)
8687 (with-help-window): Major rewrite based on new
8688 display-buffer-window variable.
8690 * help-mode.el (help-mode-finish): Remove help-window related
8693 * view.el (view-exits-all-viewing-windows): Remove reference to
8694 view-return-to-alist in doc-string.
8695 (view-return-to-alist): Make obsolete.
8696 (view-buffer): Call pop-to-buffer-same-window and remove
8698 (view-buffer-other-window): Call pop-to-buffer-other-window and
8699 simplify code. Ignore second argument.
8700 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8701 simplify code. Ignore second argument.
8702 (view-return-to-alist-update): Make obsolete.
8703 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8704 Rewrite using quit-restore window parameters.
8705 (view-mode-exit): Rename second argument to EXIT-ONLY.
8706 Rewrite using quit-restore-window.
8707 (View-exit, View-exit-and-edit, View-leave, View-quit)
8708 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8709 appropriate arguments.
8710 (view-end-message): Use quit-restore window parameter.
8712 * window.el (display-buffer-function): Rewrite doc-string.
8713 (display-buffer-window, display-buffer-alist): New variables.
8714 (display-buffer-split-specifiers)
8715 (display-buffer-side-specifiers)
8716 (display-buffer-macro-specifiers): New constants.
8717 (display-buffer-even-window-sizes, display-buffer-set-height)
8718 (display-buffer-set-width, display-buffer-select-window)
8719 (display-buffer-in-window, display-buffer-reuse-window)
8720 (display-buffer-split-window-1, display-buffer-split-window)
8721 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8722 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8723 (display-buffer-in-side-window, normalize-buffer-to-display)
8724 (display-buffer-normalize-specifiers-1)
8725 (display-buffer-normalize-specifiers-2)
8726 (display-buffer-normalize-specifiers, display-buffer-frame):
8728 (display-buffer): Major rewrite.
8729 (display-buffer-other-window, display-buffer-other-frame)
8730 (pop-to-buffer, switch-to-buffer-other-window)
8731 (switch-to-buffer-other-frame): Rewrite.
8732 (display-buffer-same-window, display-buffer-same-frame)
8733 (display-buffer-same-frame-other-window)
8734 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8735 (pop-to-buffer-other-window)
8736 (pop-to-buffer-same-frame-other-window)
8737 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8738 (switch-to-buffer-other-window-same-frame): New functions.
8739 (same-window-p, special-display-p): Rewrite disabling warnings.
8741 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8742 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8744 (same-window-buffer-names, same-window-regexps)
8745 (special-display-frame-alist, special-display-popup-frame)
8746 (special-display-function, special-display-buffer-names)
8747 (special-display-regexps, pop-up-frame-alist)
8748 (pop-up-frame-function, split-window-preferred-function)
8749 (split-height-threshold, split-width-threshold)
8750 (even-window-heights): Make obsolete.
8752 2011-06-12 Glenn Morris <rgm@gnu.org>
8754 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
8755 Misc simplifications.
8757 2011-06-12 Martin Rudalics <rudalics@gmx.at>
8759 * window.el (window-safely-shrinkable-p): Restore function which
8760 was inadvertently removed in change from 2011-06-11. Declare as
8763 * calendar/calendar.el (calendar-generate-window):
8764 Use window-iso-combined-p instead of combination of one-window-p and
8765 window-safely-shrinkable-p.
8767 2011-06-12 Glenn Morris <rgm@gnu.org>
8769 * progmodes/fortran.el (fortran-mode-syntax-table):
8770 * progmodes/f90.el (f90-mode-syntax-table):
8771 Set % to punctuation. (Bug#8820)
8772 (f90-find-tag-default): Remove, no longer needed.
8774 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8776 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8778 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
8780 * image.el (image-animated-p): Return animation delay in seconds.
8781 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8782 (image-animate-timeout): Remove DELAY argument. Don't assume
8783 every subimage has the same delay; get it from image-animated-p.
8784 (image-animate): Caller changed.
8786 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
8788 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8789 to ignored backtrace functions.
8791 2011-06-11 Glenn Morris <rgm@gnu.org>
8793 * calendar/appt.el (appt-disp-window-function): Doc fix.
8794 (appt-check): Handle overlapping appointments. (Bug#8337)
8796 2011-06-11 Martin Rudalics <rudalics@gmx.at>
8798 * window.el (window-tree-1, window-tree): New functions, moving
8799 the latter to window.el.
8800 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8801 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8802 (bw-refresh-edges): Remove.
8803 (balance-windows-1, balance-windows-2): New functions.
8804 (balance-windows): Rewrite in terms of window tree functions,
8805 balance-windows-1 and balance-windows-2.
8806 (bw-adjust-window): Remove.
8807 (balance-windows-area-adjust): New function with functionality of
8808 bw-adjust-window but using resize-window.
8809 (set-window-text-height): Rewrite doc-string.
8810 Use normalize-live-window and resize-window.
8811 (enlarge-window-horizontally, shrink-window-horizontally):
8812 Rename argument to DELTA.
8813 (window-buffer-height): New function.
8814 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8815 Rewrite using new window resize routines.
8816 (kill-buffer-and-window, mouse-autoselect-window-select):
8817 Use ignore-errors instead of condition-case.
8818 (quit-window): Call delete-frame instead of delete-windows-on
8819 for the only buffer on frame.
8821 2011-06-10 Martin Rudalics <rudalics@gmx.at>
8823 * loadup.el (top-level): Load window before files for the sake
8824 of replace-buffer-in-windows.
8826 * files.el (read-buffer-to-switch)
8827 (switch-to-buffer-other-window)
8828 (switch-to-buffer-other-frame, display-buffer-other-frame):
8831 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8832 (previous-buffer): Move to window.el.
8834 * bindings.el (unbury-buffer): Move to window.el.
8836 * window.el (delete-other-windows-vertically): Move after
8837 definition of delete-other-windows.
8838 (other-window, delete-windows-on, replace-buffer-in-windows):
8839 Move here from window.c.
8840 (record-window-buffer, unrecord-window-buffer)
8841 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8842 (switch-to-next-buffer): New functions.
8843 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8844 from simple.el. Call switch-to-next-buffer.
8845 (previous-buffer): Move here from simple.el.
8846 Call switch-to-prev-buffer.
8847 (bury-buffer): Move here from buffer.c. Switch to previous
8848 buffer when window cannot be deleted.
8849 (unbury-buffer): Move here from bindings.el.
8850 (ctl-x-map): Move binding for other-window from window.c to
8852 (read-buffer-to-switch, switch-to-buffer-other-window)
8853 (switch-to-buffer-other-frame): Move here from files.el.
8854 (normalize-buffer-to-switch-to): New functions.
8855 (switch-to-buffer): Move here from buffer.c.
8856 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
8858 2011-06-10 Martin Rudalics <rudalics@gmx.at>
8860 * window.el (window-min-height, window-min-width): Move here
8861 from window.c. Add defcustoms and rewrite doc-strings.
8862 (resize-mini-window, resize-window): New functions.
8863 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8864 Move here from window.c.
8865 (maximize-window, minimize-window): New functions.
8866 (delete-window, delete-other-windows, split-window): Move here
8868 (window-split-min-size): New function.
8869 (split-window-keep-point): Mention split-window-above-each-other
8870 instead of split-window-vertically.
8871 (split-window-above-each-other, split-window-vertically):
8872 Rename split-window-vertically to split-window-above-each-other
8873 and provide defalias for old definition.
8874 (split-window-side-by-side, split-window-horizontally):
8875 Rename split-window-horizontally to split-window-side-by-side
8876 and provide defalias for the old definition.
8877 (ctl-x-map): Move bindings for delete-window,
8878 delete-other-windows and enlarge-window here from window.c.
8879 Replace bindings for split-window-vertically and
8880 split-window-horizontally by bindings for
8881 split-window-above-each-other and split-window-side-by-side.
8883 * cus-start.el (all): Remove entries for window-min-height and
8884 window-min-width. Add entries for window-splits and
8887 2011-06-09 Glenn Morris <rgm@gnu.org>
8889 * calendar/appt.el (appt-mode-line): New function.
8890 (appt-check, appt-disp-window): Use it.
8892 * files.el (hack-one-local-variable-eval-safep):
8893 Allow minor-modes with explicit +/-1 arguments.
8895 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8897 * term/xterm.el (xterm): Add defgroup.
8898 (xterm-extra-capabilities): Add defcustom to supply known xterm
8899 capabilities, skip querying them, or query them (default).
8900 (terminal-init-xterm): Use it.
8901 (terminal-init-xterm-modify-other-keys): New function to set up
8902 modifyOtherKeys support to simplify `terminal-init-xterm'.
8904 2011-06-09 Martin Rudalics <rudalics@gmx.at>
8906 * window.el (resize-window-reset, resize-window-reset-1)
8907 (resize-subwindows-skip-p, resize-subwindows-normal)
8908 (resize-subwindows, resize-other-windows, resize-this-window)
8909 (resize-root-window, resize-root-window-vertically)
8910 (window-deletable-p, window-or-subwindow-p)
8911 (frame-root-window-p): New functions.
8913 2011-06-09 Glenn Morris <rgm@gnu.org>
8915 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8916 (ange-ftp-get-files): Use it.
8918 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8920 * mail/sendmail.el (mail-recover-1, mail-recover):
8921 * files.el (recover-file, recover-session):
8922 Handle dired-listing-switches not being just a single short option.
8924 2011-06-09 Glenn Morris <rgm@gnu.org>
8926 * calendar/appt.el (appt-display-message, appt-disp-window):
8927 Handle lists of appointments.
8929 2011-06-08 Martin Rudalics <rudalics@gmx.at>
8931 * window.el (one-window-p): Move down in code.
8933 (window-current-scroll-bars): Rewrite doc-string.
8934 Normalize live window argument.
8935 (walk-windows, get-window-with-predicate, count-windows):
8936 Rewrite doc-string. Use window-list-1.
8937 (window-in-direction-2, window-in-direction, get-mru-window):
8940 2011-06-08 Reuben Thomas <rrt@sc3d.org>
8942 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8945 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
8947 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8949 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
8951 * loadhist.el (unload-feature-special-hooks):
8952 Add `comint-output-filter-functions'.
8954 2011-06-08 Ivan Kanis <gnu@kanis.fr>
8956 * calendar/appt.el (appt-check): Move some initializations into the let.
8958 2011-06-08 Martin Rudalics <rudalics@gmx.at>
8960 * window.el (window-height): Defalias to window-total-height.
8961 (window-width): Defalias to window-body-width.
8963 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
8965 * image-mode.el (image-toggle-animation): New command.
8966 (image-mode-map): Bind it to RET.
8967 (image-mode): Update message.
8968 (image-toggle-display-image): Avoid a spurious cache flush.
8969 (image-transform-rotation): Doc fix.
8970 (image-transform-properties): Return quickly in the normal case.
8971 (image-animate-loop): Rename from image-animate-max-time.
8973 * image.el (image-animate-max-time): Move to image-mode.el.
8974 (create-animated-image): Remove unnecessary function.
8975 (image-animate): Rename from image-animate-start. New arg.
8976 (image-animate-stop): Remove; just use image-animate-timer.
8977 (image-animate-timer): Use car-safe.
8978 (image-animate-timeout): Rename argument.
8980 2011-06-07 Martin Rudalics <rudalics@gmx.at>
8982 * window.el (get-lru-window, get-largest-window): Move here from
8983 window.c. Rename first argument to ALL-FRAMES.
8984 Rephrase doc-strings.
8985 (get-buffer-window-list): Rewrite using window-list-1.
8986 Rephrase doc-string.
8987 (window-safe-min-height, window-safe-min-width): New constants.
8988 (window-size-ignore, window-min-size, window-min-size-1)
8989 (window-sizable, window-sizable-p, window-size-fixed-1)
8990 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8991 (window-max-delta-1, window-max-delta, window-resizable)
8992 (window-resizable-p, window-total-height, window-total-width)
8993 (window-body-width): New functions.
8994 (window-full-height-p, window-full-width-p): Rewrite using
8996 (window-body-height): Rewrite using window-body-size.
8998 2011-06-06 Martin Rudalics <rudalics@gmx.at>
9000 * window.el (window-right, window-left, window-child)
9001 (window-child-count, window-last-child, window-any-p)
9002 (normalize-live-buffer, normalize-live-frame)
9003 (normalize-any-window, normalize-live-window)
9004 (window-iso-combination-p, window-iso-combined-p)
9005 (window-iso-combinations)
9006 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9007 (windows-with-parameter, window-with-parameter)
9008 (window-atom-root, make-window-atom, window-atom-check-1)
9009 (window-atom-check, window-side-check, window-check):
9011 (ignore-window-parameters, window-sides, window-sides-vertical)
9012 (window-sides-slots): New variables.
9013 (window-size-fixed): Move down in code. Minor doc-string fix.
9015 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9017 * comint.el (comint-dynamic-complete-as-filename)
9018 (comint-dynamic-complete-filename): Correctly call
9019 completion-in-region.
9021 2011-06-05 Deniz Dogan <deniz@dogan.se>
9023 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9026 2011-06-05 Deniz Dogan <deniz@dogan.se>
9028 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9029 (rcirc): Use it to prompt for encryption.
9031 2011-06-05 Roland Winkler <winkler@gnu.org>
9033 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9034 (bibtex-search-entries): New command bound to C-c C-a.
9035 (bibtex-display-entries): New function.
9037 2011-06-05 Roland Winkler <winkler@gnu.org>
9039 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9040 (bibtex-insert-kill): After yanking insert newline if necessary.
9041 (bibtex-initialize): Call bibtex-string-files-init only once.
9042 (bibtex-mode): Do not call easy-menu-add.
9043 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9044 (bibtex-yank): Set arg properly if nil.
9046 2011-06-05 Roland Winkler <winkler@gnu.org>
9048 * textmodes/bibtex.el (bibtex-search-entry-globally):
9050 (bibtex-search-entry): Use it.
9052 2011-06-05 Roland Winkler <winkler@gnu.org>
9054 * textmodes/bibtex.el (bibtex-entry-format): New option
9056 (bibtex-format-entry, bibtex-reformat): Honor this option.
9057 (bibtex-parse-entry): Return fields in proper order.
9059 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
9061 * doc-view.el (doc-view-remove-if): Move computation of result out
9062 of `dolist' to silence misleading lexical-binding warning.
9064 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
9066 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9067 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9069 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
9071 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9074 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
9076 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9077 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9078 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9079 (tramp-parse-putty):
9080 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9081 (tramp-completion-function-alist-ssh)
9082 (tramp-completion-function-alist-telnet)
9083 (tramp-completion-function-alist-su)
9084 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9089 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9090 load "tramp.el" `tramp-set-completion-function'.
9092 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9094 * shell.el: Require and use pcomplete.
9095 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9096 (shell-completion-vars): Set pcomplete-default-completion-function.
9098 2011-06-04 Deniz Dogan <deniz@dogan.se>
9100 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9103 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9105 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9107 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
9109 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9110 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9111 * vc/log-view.el (log-view-beginning-of-defun):
9112 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9113 (smerge-refine-forward, smerge-refine-chopup-region):
9114 Silence warning for unused `dotimes' counter variables.
9116 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9118 * net/tramp.el (tramp-with-progress-reporter): Rename from
9119 with-progress-reporter. Use `declare'.
9122 * net/tramp-gvfs.el: Update all uses.
9124 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9126 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9127 buffer isn't killed before making it current.
9129 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9131 Silence various byte-compiler warnings.
9132 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9133 `access-type' and new obsolescence format.
9134 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9136 (byte-compile-check-variable): New `access-type' argument.
9137 Only warn if the access-type is obsolete.
9138 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9139 (byte-compile-variable-set): Adjust callers.
9140 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9141 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9142 setting it as obsolete.
9143 * simple.el (minibuffer-completing-symbol):
9144 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9146 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9148 * international/quail.el (quail-mouse-choose-completion): Remove unused
9149 code referring to obsolete var.
9150 (quail-choose-completion-string): Remove.
9151 * server.el (server-clients-with, server-kill-buffer-query-function)
9152 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9153 * proced.el (proced-send-signal):
9154 * emacs-lisp/lisp.el (lisp-complete-symbol):
9155 Replace completion-annotate-function with completion-extra-properties.
9157 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9159 * simple.el (goto-line): Use read-number.
9160 (overriding-map-is-bound): Remove.
9161 (saved-overriding-map): Change default.
9162 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9163 Take the map as argument.
9164 (universal-argument, negative-argument, digit-argument): Use it.
9165 (restore-overriding-map): Adjust.
9166 (do-auto-fill): Use fill-forward-paragraph.
9167 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9169 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9170 (minibuffer-inactive-mode): New major mode.
9171 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9172 the *Messages* buffer" hack.
9173 (mouse-popup-menubar): Don't burp if the event is a normal key.
9175 Miscellaneous tweaks.
9176 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9177 lexical scoping as in subr.el's dolist and dotimes.
9178 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9179 Silence compiler warning.
9180 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9181 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9182 * international/ccl.el (ccl-compile): Trivial simplification.
9183 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9184 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9185 `printflag' argument.
9186 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9187 Purecopy the whole obsolescence data.
9189 2011-06-01 Leo Liu <sdl.web@gmail.com>
9191 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9192 improve doc-string as suggested by Marco Pessotto
9193 <melmothx@gmail.com>.
9194 (rcirc-print): Fix last change.
9196 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9198 * minibuffer.el (complete-with-action): Return nil for the metadata and
9199 boundaries of non-functional tables.
9200 (completion-table-dynamic): Return nil for the metadata.
9201 (completion-table-with-terminator): Add default case, using
9202 complete-with-action.
9203 (completion--metadata): New function.
9204 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9205 to try and avoid pathological performance problems.
9206 (completion--embedded-envvar-table): Return `category' metadata.
9208 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9210 * subr.el (process-alive-p): New tiny convenience function.
9212 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9214 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9215 content but also its previous major mode.
9217 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
9219 * emacs-lisp/debug.el (debug): Restore the previous content of the
9220 *Backtrace* buffer when we exit with C-M-c.
9222 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9224 * minibuffer.el: Add metadata method to completion tables.
9225 (completion-category-overrides): New defcustom.
9226 (completion-metadata, completion--field-metadata)
9227 (completion-metadata-get, completion--styles)
9228 (completion--cycle-threshold): New functions.
9229 (completion-try-completion, completion-all-completions):
9230 Add `metadata' argument to choose completion-styles.
9231 (completion--do-completion): Use metadata to choose cycling.
9232 (completion-all-sorted-completions): Use metadata for sorting.
9233 Remove :completion-cycle-penalty which is not needed any more.
9234 (completion--try-word-completion): Add `metadata' argument.
9235 (minibuffer-completion-help): Check metadata for annotation function
9237 (completion-file-name-table): Return `category' metadata.
9238 (minibuffer-completing-file-name): Make obsolete.
9239 * simple.el (minibuffer-completing-symbol): Make obsolete.
9240 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9241 completion-try-completion.
9243 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9245 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9247 2011-05-30 Leo Liu <sdl.web@gmail.com>
9249 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
9250 (rcirc-print): Decode all incoming messages (bug#8744).
9251 (rcirc-decode-coding-system): Allow value nil for automatic coding
9254 2011-06-01 Glenn Morris <rgm@gnu.org>
9256 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9258 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9260 * image.el (image-animate-max-time): Allow nil and t values.
9262 (create-animated-image): Doc fix.
9263 (image-animate-start): Remove second arg; just use
9264 image-animate-max-time.
9265 (image-animate-timeout): Doc fix. Args changed.
9267 * image-mode.el (image-toggle-display-image): Ensure that the
9268 image spec passed to the animate timer is the same object as in
9269 the buffer's display property (Bug#6981).
9270 (image-transform-properties): Doc fix.
9272 * image.el (image-animate-max-time): Default to nil.
9274 2011-05-29 Martin Rudalics <rudalics@gmx.at>
9276 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9277 entire buffer list (Bug#8184).
9279 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9281 * image.el (imagemagick-types-inhibit)
9282 (imagemagick-register-types): Doc fix.
9284 2011-05-29 Deniz Dogan <deniz@dogan.se>
9286 * net/rcirc.el (rcirc): Use the user's stored encryption method by
9289 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9291 * select.el: Don't perform clipboard-manager saving in hooks;
9292 leave the hooks empty.
9294 2011-05-28 Leo Liu <sdl.web@gmail.com>
9296 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9297 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
9298 (occur-edit-mode): New major mode (Bug#8463).
9299 (occur-after-change-function): New function.
9300 (occur-engine): Give Occur tags a read-only property.
9302 2011-05-28 Kevin Ryde <user42@zip.com.au>
9304 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9306 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
9308 * bindings.el (help-echo): Make the initial non-indicator dash
9309 empty on graphical terminals (Bug#7295).
9311 * files.el (auto-mode-alist): Move config rule after the
9312 in-stripping one (Bug#8547).
9314 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9316 * startup.el (normal-splash-screen): Remove gratuitous mode-line
9319 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
9321 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9322 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9325 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
9327 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9329 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
9331 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9332 (hs-hide-block-at-point, hs-find-block-beginning)
9333 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9336 2011-05-28 Glenn Morris <rgm@gnu.org>
9338 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9340 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
9342 * help-fns.el (describe-function-1): If the function is a derived
9343 major mode, print the parent mode.
9345 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9346 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9348 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9350 * minibuffer.el (completion--capf-wrapper): Check applicability before
9351 returning non-nil for non-exclusive completion data.
9352 * progmodes/etags.el (tags-completion-at-point-function):
9353 * info-look.el (info-lookup-completions-at-point): Mark as
9355 (info-complete): Adjust accordingly.
9357 * info-look.el: Convert to lexical-binding and completion-at-point.
9358 (info-lookup-completions-at-point): New function.
9359 (info-complete): Use it and completion-in-region.
9361 2011-05-28 Drew Adams <drew.adams@oracle.com>
9363 * isearch.el: Let M-e start with point at the first mismatched char.
9364 (isearch-fail-pos): New function.
9365 (isearch-edit-string): Use it.
9367 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9369 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9371 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
9373 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9374 traversal functions for avl-trees.
9375 (avl-tree--stack): New struct.
9376 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9377 (avl-tree-enter): Add optional `updatefun' arg.
9378 (avl-tree--do-enter): Add optional `updatefun' arg.
9379 Change return value.
9380 (avl-tree-delete): Add optional `test' and `nilflag' args.
9381 (avl-tree--do-delete): Add `test' and `nilflag' args.
9382 Change return value.
9383 (avl-tree-member): Add optional `nilflag'
9384 (avl-tree-member-p): New function.
9385 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9386 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9387 (avl-tree-stack-empty-p): New functions.
9389 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9390 avl-tree--del-balance1 and make it work both ways.
9391 (avl-tree--del-balance2): Remove.
9392 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9393 make it work both ways.
9394 (avl-tree--enter-balance2): Remove.
9395 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9397 (avl-tree--mapc, avl-tree-map): Add direction argument.
9399 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
9401 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9403 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
9405 * select.el: Support clipboard managers with built-in function
9406 x-clipboard-manager-save, via delete-frame-functions and
9408 (xselect-convert-to-targets): Add MULTIPLE target to list.
9409 (xselect-convert-to-save-targets): New function.
9411 2011-05-27 Kenichi Handa <handa@m17n.org>
9413 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9414 let-binding rfc2047-encode-encoded-words to nil.
9416 2011-05-27 Glenn Morris <rgm@gnu.org>
9418 * mail/emacsbug.el: Don't require url-util.
9420 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9422 * files.el (set-auto-mode):
9423 Also respect mode: entries at the end of the file. (Bug#8586)
9425 2011-05-26 Glenn Morris <rgm@gnu.org>
9427 * files.el (hack-local-variables-prop-line, hack-local-variables):
9428 Downcase mode names, as seems to be traditional.
9429 (hack-local-variables, hack-local-variables-apply): Doc fixes.
9431 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9432 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
9434 2011-05-25 Julien Danjou <julien@danjou.info>
9436 * textmodes/rst.el (rst-define-level-faces): Do not define face
9437 symbol if it is already defined.
9439 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
9441 * play/5x5.el (5x5-new-game, 5x5-randomize):
9442 Reset 5x5-solver-output to nil when a new grid is cast.
9443 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9444 these debugging traces, as defmacro breaks the compiled code.
9446 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9448 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9450 2011-05-24 Leo Liu <sdl.web@gmail.com>
9452 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9453 (vc-bzr-sha1): Adapt.
9455 * sha1.el: Remove. Function `sha1' is now builtin.
9457 * bindings.el: Provide sha1 feature.
9459 2011-05-24 Kenichi Handa <handa@m17n.org>
9461 * mail/sendmail.el: Require `rfc2047'.
9462 (mail-insert-from-field): Do not perform RFC2047 encoding.
9463 (mail-encode-header): New function.
9464 (sendmail-send-it): Set buffer-file-coding-system of the work
9465 buffer to the return value of select-message-coding-system.
9466 Call mail-encode-header.
9468 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9470 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
9472 * mail/supercite.el (sc-default-cite-frame):
9473 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
9475 2011-05-24 Glenn Morris <rgm@gnu.org>
9477 * progmodes/python.el (brm-menu): Declare.
9479 * emulation/viper.el (viper-set-hooks): Declare.
9481 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9482 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9483 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9484 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9485 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9486 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9488 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9490 Add an :exit-function for completion-at-point.
9492 * minibuffer.el (completion--done): New fun.
9493 (completion--do-completion): Use it. New arg `expect-exact'.
9494 (minibuffer-complete, minibuffer-complete-word): Don't output message,
9495 since completion--do-completion does it for us now.
9496 (minibuffer-force-complete): Use completion--done and
9497 completion--replace. Handle sole-completion case with more care.
9498 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9499 (completion-extra-properties): New var.
9500 (completion-annotate-function): Make obsolete.
9501 (minibuffer-completion-help): Adjust accordingly.
9502 Use completion-list-insert-choice-function.
9503 (completion-at-point, completion-help-at-point):
9504 Bind completion-extra-properties.
9505 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9506 * simple.el (completion-list-insert-choice-function): New var.
9507 (completion-setup-function): Preserve it.
9508 (choose-completion): Pay attention to it, shuffle the code a bit.
9509 (choose-completion-string): New arg `insert-function'.
9511 * textmodes/bibtex.el: Convert to lexical binding.
9512 (bibtex-mode-map): Use completion-at-point.
9513 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9514 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9515 (bibtex-complete): Define as obsolete alias.
9516 (bibtex-complete-internal): Remove.
9517 (bibtex-format-entry): Remove unused sub-group in regexp.
9518 * shell.el (shell--command-completion-data)
9519 (shell-environment-variable-completion):
9520 * pcomplete.el (pcomplete-completions-at-point):
9521 * comint.el (comint--complete-file-name-data): Use :exit-function
9522 instead of completion-table-with-terminator so it also works for
9525 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9527 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9529 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9532 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9534 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
9536 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9537 customization variable and implement: If non-nil, auto-fill will
9538 be inhibited while on topic's header line.
9540 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
9542 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
9543 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
9544 always have a solution in grid size = 5 cases.
9545 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9546 (5x5-solver-output, 5x5-log-buffer): New vars.
9547 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9548 Make these variables buffer local to achieve 5x5 multi-session-ness.
9549 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9550 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9551 (5x5-solve-suggest): New funs.
9552 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9553 randomize a grid so that we ensure that there is always a solution.
9554 (5x5-make-random-grid): Allow other movement than flipping.
9556 2011-05-23 Kevin Ryde <user42@zip.com.au>
9558 * emacs-lisp/advice.el (ad-read-advised-function):
9559 Use `function-called-at-point' as the default, if it has
9560 advice and passes PREDICATE.
9562 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9564 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9565 byte-compile-lambda if it's actually a lambda.
9567 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9568 Fix function quoting. Use backquote better.
9570 2011-05-22 Yuanle Song <sylecn@gmail.com>
9572 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9573 matching (Bug#8516).
9575 2011-01-22 Jari Aalto <jari.aalto@cante.net>
9577 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9578 different face (Bug#8178).
9580 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
9582 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9585 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
9587 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9588 funcall as well (bug#8712). Warn when performing those conversions.
9589 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9591 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9593 2011-05-22 Glenn Morris <rgm@gnu.org>
9595 * files.el (hack-local-variables-prop-line): Small simplifications.
9596 (hack-local-variables, hack-local-variables-prop-line):
9597 If MODE-ONLY, return the mode, rather than just `t'.
9599 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9601 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9603 2011-05-21 Glenn Morris <rgm@gnu.org>
9605 * files.el (hack-local-variables-prop-line, hack-local-variables):
9606 If only interested in the mode, don't bother doing the other stuff.
9608 * image-mode.el (image-after-revert-hook):
9609 Redraw all frames on which the image is visible. (Bug#8567)
9611 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
9613 * wid-edit.el (widget-checklist-match-inline):
9614 Fix 2011-04-19 change. (Bug#8649)
9616 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
9618 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9619 Also allow singlespace after single-letter capitals followed by a dot.
9621 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9622 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9624 2011-05-20 Nix <nix@esperi.org.uk>
9626 * files.el (basic-save-buffer-2):
9627 Fix handling of break-hardlink-on-save with non-existent files.
9629 2011-05-19 Deniz Dogan <deniz@dogan.se>
9631 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9632 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
9634 2011-05-19 Glenn Morris <rgm@gnu.org>
9636 * progmodes/f90.el (f90-type-def-re):
9637 Handle "type, bind(c)". (Bug#8691)
9639 * emacs-lisp/autoload.el (batch-update-autoloads):
9640 Set autoload-excludes by parsing loadup.el rather than Makefiles.
9642 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
9644 * net/tramp.el (tramp-process-actions): Set "first-password-request"
9645 property for the correct connection in case of multihops.
9647 2011-05-18 Glenn Morris <rgm@gnu.org>
9649 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
9650 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9652 Rationalize calendar handling of day and month abbrev-arrays.
9653 * calendar/calendar.el (calendar-customized-p): New function.
9654 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9655 (calendar-day-name-array, calendar-month-name-array): Doc fix.
9657 (calendar-abbrev-length, calendar-day-abbrev-array)
9658 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9659 (calendar-day-abbrev-array, calendar-month-abbrev-array):
9660 Elements may no longer be nil.
9661 (calendar-day-name, calendar-month-name):
9662 Update for changed nature of abbrev arrays.
9663 * calendar/diary-lib.el (diary-name-pattern):
9664 Update for changed nature of abbrev arrays.
9665 (diary-mark-entries-1): Update calendar-make-alist calls.
9666 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9667 * calendar/cal-html.el (cal-html-day-abbrev-array):
9668 Simply inherit from calendar-day-abbrev-array.
9670 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9672 * progmodes/grep.el (grep-mode): Disable default
9673 compilation-directory-matcher setting (bug#8684).
9675 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
9677 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9678 instead of "head" and "tail". There were problems with SunOS 5.9,
9679 and it performs better.
9681 2011-05-17 Glenn Morris <rgm@gnu.org>
9683 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9685 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9686 Replace obsolete function.
9688 * shell.el (pcomplete-parse-arguments-function): Declare.
9690 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9691 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9692 (appt-check): Doc fixes.
9693 (appt-disp-window-function, appt-delete-window-function):
9694 Remove needless special case in custom :type.
9695 (appt-display-count): Default to 0, not nil.
9696 (appt-check): Reset appt-display-count to 0, not nil.
9698 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
9700 * progmodes/python.el (python-font-lock-keywords):
9701 Add the Python 3.X keyword "nonlocal" (bug#8639).
9703 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9705 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9707 2011-05-16 Kevin Ryde <user42@zip.com.au>
9709 * info-look.el (makefile-automake-mode): New setups, looking in
9710 automake manual, then makefile-mode.
9711 (makefile-mode): Remove automake manual, have it just in
9712 makefile-automake-mode since there's various things different or
9713 not relevant to plain make.
9714 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9715 believe a hypothetical automake-mode would go to makefile-mode,
9716 not the other way around.
9718 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
9720 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9721 hunk-end tags (Bug#8672).
9723 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9724 vc-annotate-show-diff-revision-at-line (Bug#8671).
9726 2011-05-14 Glenn Morris <rgm@gnu.org>
9728 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9729 in the middle of an existing one with multiple authors. (Bug#8645)
9730 (change-log-font-lock-keywords): Also handle multiple author lines
9731 with leading tabs. (Bug#8644)
9733 * calendar/appt.el (appt-check): Rename some local variables.
9734 Some simplification/reordering.
9736 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9737 (feedmail-sendmail-f-doesnt-sell-me-out)
9738 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9739 (feedmail-debug-sit-for, feedmail-queue-express-hook)
9740 (feedmail-queue-runner-message-sender): Set :version.
9741 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9742 (bbdb-dwim-net-address, vm-mail): Declare.
9743 (feedmail-binmail-gnulinuxish-template):
9744 Rename from feedmail-binmail-linuxish-template.
9745 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9746 Use insert-buffer-substring.
9748 2011-05-14 Bill Carpenter <bill@carpenter.org>
9750 * mail/feedmail.el (feedmail-patch-level): Increase.
9751 (feedmail-debug): New custom group.
9752 (feedmail-confirm-outgoing-timeout)
9753 (feedmail-sendmail-f-doesnt-sell-me-out)
9754 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9755 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9756 (feedmail-sender-line, feedmail-from-line)
9757 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
9758 (feedmail-spray-this-address)
9759 (feedmail-spray-address-fiddle-plex-list)
9760 (feedmail-queue-use-send-time-for-date)
9761 (feedmail-queue-use-send-time-for-message-id)
9762 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9763 (feedmail-buffer-eating-function):
9765 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9766 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9767 (feedmail-message-action-scroll-down): New functions.
9768 (feedmail-queue-directory, feedmail-queue-draft-directory):
9769 Use expand-file-name.
9770 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9771 Remove C-v help entry.
9772 (feedmail-queue-buffer-file-name): New variable.
9773 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9774 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9775 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9776 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9777 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9778 (feedmail-message-action-toggle-spray)
9779 (feedmail-run-the-queue-no-prompts)
9780 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9781 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9782 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9783 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9784 (feedmail-envelope-deducer, feedmail-fiddle-from)
9785 (feedmail-fiddle-sender, feedmail-default-date-generator)
9786 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9787 (feedmail-fiddle-spray-address)
9788 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9789 (feedmail-fiddle-list-of-fiddle-plexes)
9790 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9791 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9792 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9793 Change default. Doc fix.
9794 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9795 (feedmail-binmail-linuxish-template): New constant.
9796 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9797 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9798 (feedmail-send-it): Add debug call.
9799 Use feedmail-queue-buffer-file-name, and
9800 feedmail-send-it-immediately-wrapper.
9801 (feedmail-message-action-send): Add debug call.
9802 Use feedmail-send-it-immediately-wrapper.
9803 (feedmail-queue-express-to-queue): Add debug call.
9804 Run feedmail-queue-express-hook.
9805 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9806 (feedmail-message-action-help-blat):
9807 Rename from feedmail-queue-send-edit-prompt-help-first.
9808 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9809 Check line-endings. Handle errors better.
9810 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9811 Doc fix. Add debug call.
9812 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9813 Use feedmail-queue-send-edit-prompt-inner.
9814 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9815 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9816 from feedmail-queue-send-edit-prompt.
9817 (feedmail-queue-send-edit-prompt-help)
9818 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9819 (feedmail-tidy-up-slug): Add debug call.
9820 Respect feedmail-queue-slug-suspect-regexp.
9821 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9822 (feedmail-dump-message-to-queue): Add debug call.
9823 Expand queue-directory.
9824 (feedmail-dump-message-to-queue): Change message slightly.
9825 Use feedmail-say-chatter.
9826 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9827 (feedmail-send-it-immediately-wrapper): New function.
9828 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9829 Insert empty string rather than newline. Handle full-frame case.
9830 Use catch/throw. Use feedmail-say-chatter.
9831 (feedmail-fiddle-from): Try mail-host-address.
9832 (feedmail-default-message-id-generator): Doc fix.
9833 Bind system-time-locale. Handle missing end.
9834 (feedmail-fiddle-x-mailer): Add debug call.
9835 Handle feedmail-x-mailer-line being nil.
9836 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9837 Add debug call. Use buffer-substring-no-properties.
9838 (feedmail-say-debug, feedmail-say-chatter): New functions.
9839 (feedmail-find-eoh): Give an explicit error.
9841 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
9843 * net/newst-treeview.el (newsticker-treeview-face): Change default
9844 family from helvetica to sans.
9845 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
9846 etc/images/newsticker.
9848 * net/newst-reader.el (newsticker-feed-face): Change default
9849 family from helvetica to sans.
9851 * net/newst-plainview.el (newsticker-new-item-face)
9852 (newsticker-old-item-face, newsticker-immortal-item-face)
9853 (newsticker-obsolete-item-face, newsticker-date-face)
9854 (newsticker-statistics-face): Change default family from
9856 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
9857 etc/images/newsticker.
9859 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9860 (newsticker--process-auto-mark-filter-match): : Tell user about
9863 2011-05-13 Didier Verna <didier@xemacs.org>
9865 Common Lisp indentation improvements on defmethod and lambda-lists.
9866 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9868 (lisp-lambda-list-keyword-parameter-indentation)
9869 (lisp-lambda-list-keyword-parameter-alignment)
9870 (lisp-lambda-list-keyword-alignment): New customizable user options.
9871 (lisp-indent-defun-method): Improve docstring.
9872 (extended-loop-p): Fix comment.
9873 (lisp-indent-lambda-list-keywords-regexp): New variable.
9874 (lisp-indent-lambda-list): New function.
9875 (lisp-indent-259): Use it.
9876 (lisp-indent-defmethod): Support for more than one
9877 method qualifier and properly indent methods lambda-lists.
9878 (defgeneric): Provide a missing common-lisp-indent-function property.
9880 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9882 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9883 bounds for the empty string (bug#8667).
9885 2011-05-13 Glenn Morris <rgm@gnu.org>
9887 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9889 * mail/sendmail.el (sendmail-program): Try executable-find first.
9890 (sendmail-send-it): `sendmail-program' cannot be unbound.
9892 * calendar/appt.el (appt-make-list): Simplify.
9893 (appt-time-msg-list): Doc fix.
9894 (appt-check): Change mode-line message at the time of the appointment.
9896 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9898 * progmodes/ld-script.el (ld-script-keywords)
9899 (ld-script-builtins): Update keywords list.
9901 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9903 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9905 * shell.el (shell-completion-vars): New function.
9907 * simple.el (read-shell-command): Use it.
9908 (blink-matching-open): No need for " [...]" in minibuffer-message.
9910 2011-05-12 Glenn Morris <rgm@gnu.org>
9912 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9913 (appt-check): Simplify.
9915 2011-05-12 Eli Zaretskii <eliz@gnu.org>
9917 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
9918 literal "/dev/null".
9920 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9922 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9925 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
9927 * progmodes/which-func.el (which-function):
9928 Use add-log-current-defun instead of add-log-current-defun-function,
9929 which might not be defined (Bug#8260).
9931 2011-05-12 Glenn Morris <rgm@gnu.org>
9933 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9934 Let byte-compile-initial-macro-environment always take precedence.
9936 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9938 * net/rcirc.el: Add support for SSL/TLS connections.
9939 (rcirc-server-alist): New field `encryption'.
9940 (rcirc): Check `encryption' settings.
9941 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9942 Merge make-local-variable into `set'.
9943 (rcirc--connection-open-p): New function.
9944 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9945 the process is not a network process (e.g. running gnutls-cli).
9946 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9947 Make rcirc-(en|de)code-coding-system local here.
9948 (rcirc-mode): Merge make-local-variable into `set'.
9949 (rcirc-parent-buffer): Make permanent buffer-local.
9950 (rcirc-multiline-minor-mode): Don't do it here.
9951 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9952 there's no server buffer.
9954 2011-05-11 Glenn Morris <rgm@gnu.org>
9956 * newcomment.el (comment-kill): Prefix "unused" local.
9958 * term/w32console.el (get-screen-color): Declare.
9960 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9961 Handle symbol elements of byte-compile-initial-macro-environment.
9963 2011-05-10 Leo Liu <sdl.web@gmail.com>
9965 * bookmark.el (bookmark-bmenu-mode-map):
9966 Bind bookmark-bmenu-search to `/'.
9968 * mail/footnote.el: Convert to utf-8 encoding.
9969 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9970 (Footnote-unicode): New function.
9971 (footnote-style-alist): Add unicode style to the list.
9972 (footnote-style): Doc fix.
9974 2011-05-10 Jim Meyering <meyering@redhat.com>
9976 Fix doubled-word typos.
9977 * international/quail.el (quail-insert-kbd-layout): and and -> and
9978 * kermit.el: and and -> and
9979 * net/ldap.el (ldap-search-internal): to to -> to
9980 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9981 * progmodes/js.el (js-mode): and and -> and
9982 * textmodes/artist.el (artist-move-to-xy): at at -> at
9983 (artist-draw-region-trim-line-endings): if if -> if
9984 And Safetyc -> Safety.
9985 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9987 2011-05-10 Glenn Morris <rgm@gnu.org>
9988 Stefan Monnier <monnier@iro.umontreal.ca>
9990 * files.el (hack-one-local-variable-eval-safep):
9991 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9993 2011-05-10 Glenn Morris <rgm@gnu.org>
9995 * calendar/diary-lib.el (diary-list-entries-hook)
9996 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9997 (diary-nongregorian-marking-hook, diary-list-entries)
9998 (diary-include-other-diary-files, diary-mark-entries)
9999 (diary-mark-included-diary-files): Doc fixes.
10001 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
10003 * misc.el: Require tabulated-list.el during compilation.
10005 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
10007 * progmodes/compile.el (compilation-start):
10008 Run compilation-filter-hook for the async case too.
10009 (compilation-filter-hook): Doc fix.
10011 2011-05-09 Deniz Dogan <deniz@dogan.se>
10013 * wdired.el: Remove outdated installation comment. Fix usage
10016 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
10018 * misc.el: Implement new command `list-dynamic-libraries'.
10019 (list-dynamic-libraries--loaded-only-p): New variable.
10020 (list-dynamic-libraries--refresh): New function.
10021 (list-dynamic-libraries): New command.
10023 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
10025 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10026 Fix the ant regexp to handle end-line and end-column info from jikes.
10027 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10028 higher priority to avoid clobbering by gnu.
10030 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
10032 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10033 if the face has existing theme settings (Bug#8454).
10035 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10037 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10038 Only match variables declared via `my' or `our' (Bug#8261).
10040 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10041 special file names `.' and `..' (Bug#8259).
10043 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
10045 * progmodes/grep.el (grep-mode-font-lock-keywords):
10046 Remove buffer-changing entries.
10047 (grep-filter): New function.
10048 (grep-mode): Add it to compilation-filter-hook.
10050 * progmodes/compile.el (compilation-filter-hook)
10051 (compilation-filter-start): New defvars.
10052 (compilation-filter): Call compilation-filter-hook prior to
10053 updating the process mark.
10055 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10057 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10059 2011-05-07 Eli Zaretskii <eliz@gnu.org>
10061 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10062 mailclient-send-it even if window-system is nil. (Bug#8595)
10064 * term/w32console.el (terminal-init-w32console):
10065 Call get-screen-color and use its output to set the frame
10066 background-mode. (Bug#8597)
10068 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10070 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10071 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10073 (defgeneric, eieio--defmethod): Use them.
10074 (eieio-defgeneric): Remove.
10075 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10077 2011-05-07 Glenn Morris <rgm@gnu.org>
10079 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10080 Use let rather than let*.
10081 (timeclock-find-discrep): Remove unused local.
10083 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10085 * calendar/appt.el (appt-time-msg-list): Doc fix.
10087 2011-05-06 Noah Friedman <friedman@splode.com>
10089 * apropos.el (apropos-print-doc): Only use
10090 emacs-lisp-docstring-fill-column when it is bound to an integer,
10091 per that variable's documentation.
10093 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10095 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
10096 and warnings are not silently discarded (e.g. use -d instead of -P).
10098 2011-05-06 Glenn Morris <rgm@gnu.org>
10100 * calendar/appt.el (appt-message-warning-time): Doc fix.
10101 (appt-warning-time-regexp): New option.
10102 (appt-make-list): Respect appt-message-warning-time.
10104 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10106 (diary-add-to-list): Strip comments from the displayed string.
10107 (diary-mode): Set comment-start and comment-end.
10109 * vc/diff-mode.el (smerge-refine-subst): Declare.
10110 (diff-refine-hunk): Don't require smerge-mode when compiling.
10112 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
10114 * simple.el (list-processes): Return nil as the docstring says.
10116 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
10118 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10120 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10121 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10122 determining of binary transfer. (Bug#7383)
10124 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
10126 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10127 Fix port computation bug. (Bug#8618)
10129 2011-05-05 Glenn Morris <rgm@gnu.org>
10131 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10133 * simple.el (shell-dynamic-complete-functions)
10134 (comint-dynamic-complete-functions): Declare.
10136 * net/network-stream.el (gnutls-negotiate):
10137 * simple.el (tabulated-list-print): Fix declarations.
10139 * progmodes/gud.el (syntax-symbol, syntax-point):
10140 Remove unnecessary and incorrect declarations.
10142 * emacs-lisp/check-declare.el (check-declare-scan):
10143 Handle byte-compile-initial-macro-environment in bytecomp.el
10145 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10147 Fix earlier half-done eieio-defmethod change (bug#8338).
10148 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10149 Streamline and change calling convention.
10150 (defmethod): Adjust accordingly and simplify.
10151 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10152 new eieio--defmethod.
10153 (slot-boundp): Minor CSE simplification.
10155 2011-05-05 Milan Zamazal <pdm@zamazal.org>
10157 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10158 (glasses-make-readable): Use glasses-separate-capital-groups.
10160 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
10162 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10163 (warning-series): Doc fix.
10164 (display-warning): Don't try to create the buffer if we just found it.
10166 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
10168 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10169 (autoload-find-generated-file): New function.
10170 (generate-file-autoloads): Bind generated-autoload-file to
10172 (update-file-autoloads, update-directory-autoloads):
10173 Use autoload-find-generated-file. If called interactively, prompt for
10174 output file (Bug#7989).
10175 (batch-update-autoloads): Doc fix.
10177 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
10179 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10181 2011-05-04 Glenn Morris <rgm@gnu.org>
10183 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10184 function, so it follows changes in calendar-date-style.
10185 (diary-fancy-date-matcher): New function.
10186 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10187 (diary-fancy-font-lock-fontify-region-function):
10188 Use diary-fancy-date-pattern as a function.
10190 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10191 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10193 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10195 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10196 instead of positional arguments. Allow :keylist and :crlfiles
10198 (open-gnutls-stream): Call it.
10200 * net/network-stream.el (network-stream-open-starttls): Adjust to
10201 call `gnutls-negotiate' with :process and :hostname arguments.
10203 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10205 * minibuffer.el (completion--message): New function.
10206 (completion--do-completion, minibuffer-complete)
10207 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10208 (completion--do-completion): Don't ignore completion-auto-help when in
10211 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10212 internal encoding (e.g. tibetan zero is not whitespace).
10213 (global-whitespace-mode): Prefer save-current-buffer.
10214 (whitespace-trailing-regexp): Remove useless save-match-data.
10215 (whitespace-empty-at-bob-regexp): Minor simplification.
10217 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
10219 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10221 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10223 * textmodes/ispell.el (ispell-add-per-file-word-list):
10224 Use `concat' to create string for insertion.
10226 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10228 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10229 Avoid open-line which runs post-self-insert-hook.
10230 (bibtex-fill-entry): Remove unused `end' var.
10232 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10234 * textmodes/ispell.el (ispell-add-per-file-word-list):
10235 Protect against `nil' value of `comment-start' (Bug#8579).
10237 2011-05-03 Leo Liu <sdl.web@gmail.com>
10239 * isearch.el (isearch-yank-pop): New command.
10240 (isearch-mode-map): Bind it to `M-y'.
10241 (isearch-forward): Mention it.
10243 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10245 * simple.el (minibuffer-complete-shell-command): Remove.
10246 (minibuffer-local-shell-command-map): Use completion-at-point.
10247 (read-shell-command): Setup completion vars here instead.
10248 (read-expression-map): Bind TAB to symbol completion.
10250 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10251 error directly rather via storing it into `results'.
10253 2011-05-02 Leo Liu <sdl.web@gmail.com>
10255 * vc/diff.el: Fix description.
10257 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10259 * server.el (server-eval-at): New function.
10261 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10263 * net/network-stream.el (open-network-stream): Take a :nowait
10264 parameter and pass it on to `make-network-process'.
10265 (network-stream-open-plain): Ditto.
10267 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10269 * faces.el (face-spec-set-match-display): Don't match toolkit
10270 options on terminal frames.
10272 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10274 * progmodes/pascal.el: Use lexical binding.
10275 (pascal-mode-map): Remove author preferences.
10277 * pcomplete.el (pcomplete-std-complete): Don't abuse
10278 completion-at-point.
10280 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
10282 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10283 removing code that has been dead since 1991 or so.
10285 * startup.el (command-line): When warning about "_emacs", use a
10286 delayed warning to allow the user to filter it out.
10288 2011-04-28 Deniz Dogan <deniz@dogan.se>
10290 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10291 user has not joined.
10293 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10295 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10296 aren't any completions at point.
10298 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
10300 * subr.el (display-delayed-warnings): New function.
10301 (delayed-warnings-hook): New variable.
10303 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10305 * minibuffer.el (completion-at-point, completion-help-at-point):
10306 Don't presume that a given completion-at-point-function will always
10307 use the same calling convention.
10309 * pcomplete.el (pcomplete-completions-at-point):
10310 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10311 pcomplete-seen is non-nil.
10312 (pcomplete-comint-setup): Also recognize the new comint/shell
10313 completion functions.
10314 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10315 pcomplete-seen is non-nil.
10317 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
10319 * calendar/icalendar.el (diary-lib): Add require statement.
10320 (icalendar--create-uid): Read out a uid from a text-property on
10321 the first character in the entry. This allows for code to add its
10322 own uid to the entry.
10323 (icalendar--convert-float-to-ical): Add export of
10324 `diary-float'-entries save for those with the optional DAY
10327 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
10329 * subr.el (shell-quote-argument): Use alternate escaping strategy
10330 when we spot a variable reference in a string.
10332 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10334 * cus-start.el (all): Define customization for debug-on-event.
10336 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10338 * subr.el (shell-quote-argument): Escape correctly under Windows.
10340 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10342 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10344 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
10346 * net/tramp.el (tramp-process-actions): Add POS argument.
10347 Delete region between POS and (pos).
10349 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10350 Use `nil' position in `tramp-process-actions' call.
10351 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10353 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10354 position in `tramp-process-actions' call.
10356 * net/trampver.el: Update release number.
10358 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10360 * custom.el (defcustom): Obey lexical-binding.
10362 Fix octave-inf completion problems reported by Alexander Klimov.
10363 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10364 Inherit from octave-mode-syntax-table.
10365 (inferior-octave-mode): Set info-lookup-mode.
10366 (inferior-octave-completion-at-point): New function.
10367 (inferior-octave-complete): Use it and completion-in-region.
10368 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10369 comint-filename-completion.
10370 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10371 symbol elements which shouldn't be word elements.
10372 (octave-font-lock-keywords, octave-beginning-of-defun)
10373 (octave-function-header-regexp): Adjust regexps accordingly.
10374 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10376 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
10378 * net/gnutls.el (gnutls-errorp): Declare before first use.
10380 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10382 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10383 verify-error, and verify-hostname-error parameters. Check whether
10384 default trustfile exists before going to use it. Add missing
10385 argument to gnutls-message-maybe call. Return value.
10386 Reported by Claudio Bley <claudio.bley@gmail.com>.
10387 (open-gnutls-stream): Add usage example.
10389 * net/network-stream.el (network-stream-open-starttls): Give host
10390 parameter to `gnutls-negotiate'.
10391 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
10392 * subr.el (shell-quote-argument): Escape correctly under Windows.
10394 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
10396 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10397 Use correct match group (bug#8438).
10399 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
10401 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10402 (package-menu--generate): New arg specifying packages to show.
10403 (package-menu-refresh, package-menu-execute, list-packages):
10405 (package-show-package-list): New function, replacing deleted
10406 package--list-packages (renamed because it is non-internal).
10408 * finder.el (finder-list-matches): Use package-show-package-list
10409 instead of deleted package--list-packages.
10411 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10412 Based on a previous implementation by Juanma Barranquero (Bug#8366).
10413 (vc-annotate-mode-map): Bind it to RET.
10415 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10417 * progmodes/etags.el (next-file): Don't use set-buffer to change
10418 buffers (Bug#8478).
10420 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
10422 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10424 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10425 (apropos-accumulator): Doc fix.
10426 (apropos-function, apropos-macro, apropos-command)
10427 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10428 (apropos-plist): Add face property.
10429 (apropos-symbols-internal): Fix indentation.
10430 (apropos-print): Simplify help, and recognize apropos-multi-type.
10431 (apropos-print-doc): Use button-type-get to extract the button's
10432 face property. Fill docstring (Bug#8352).
10434 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
10436 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10438 * play/mpuz.el (mpuz-silent): Doc fix.
10439 (mpuz-mode-map): Use mapc.
10440 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10441 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10442 Fix typos in docstrings.
10444 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10445 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10447 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10449 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
10451 * minibuffer.el (completion--do-completion): Avoid the "Next char
10452 not unique" prompt if icomplete-mode is enabled (Bug#5849).
10454 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10455 mouse-2 into unread-command-events, it is interpreted correctly.
10457 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
10458 (image-toggle-display): Doc fix.
10460 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
10462 * textmodes/page.el (what-page): Use line-number-at-pos to
10463 calculate line number (Bug#6825).
10465 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
10467 * eshell/esh-mode.el (find-tag-interactive): Declare function.
10468 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10469 Pass argument NO-DEFAULT to `find-tag-interactive'.
10471 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
10473 Lexical-binding cleanup.
10475 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10476 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10477 * progmodes/ada-prj.el (ada-prj-initialize-values)
10478 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10479 (ada-prj-show-value):
10480 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10481 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10482 (antlr-invalidate-context-cache, antlr-options-menu-filter)
10483 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10484 * progmodes/bug-reference.el (bug-reference-push-button):
10485 * progmodes/fortran.el (fortran-line-length):
10486 * progmodes/glasses.el (glasses-change):
10487 * progmodes/octave-mod.el (octave-fill-paragraph):
10488 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10489 (python-pdbtrack-grub-for-buffer, python-sentinel):
10490 * progmodes/sql.el (sql-save-connection):
10491 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10492 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10493 Mark unused parameters.
10495 * progmodes/compile.el (compilation--flush-directory-cache)
10496 (compilation--flush-parse, compile-internal): Mark unused parameters.
10497 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10498 (compilation-next-error-function): Remove unused variable `timestamp'.
10500 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10501 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10503 * progmodes/dcl-mode.el (dcl-end-of-command):
10504 Remove unused variable `start'.
10505 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10506 (dcl-option-value-basic, dcl-option-value-offset)
10507 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10508 Mark unused parameters.
10509 (dcl-save-local-variable): Remove unused variable `val'.
10512 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10513 Mark unused parameters.
10514 (delphi-ignore-changes): Move before first use.
10515 (delphi-charset-token-at): Remove unused variable `start'.
10516 (delphi-else-start): Remove unused variable `if-count'.
10517 (delphi-comment-block-start, delphi-comment-block-end):
10518 Remove unused variable `kind'.
10519 (delphi-indent-line): Remove unused variable `new-point'.
10521 * progmodes/ebrowse.el (ebrowse-files-list)
10522 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10523 Mark unused parameters. Don't quote `lambda'.
10524 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10525 Don't quote `lambda'.
10526 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10527 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10528 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10529 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10530 Use `ignore-errors'.
10531 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10532 (ebrowse-view/find-file-and-search-pattern)
10533 (ebrowse-view/find-member-declaration/definition):
10534 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10535 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10536 Rename parameter PREFIX-ARG to PREFIX.
10537 (ebrowse-tags-read-name): Remove unused variables `start' and
10539 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10542 * progmodes/etags.el (local-find-tag-hook): Declare.
10543 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10544 Mark unused parameters.
10546 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10547 (executable-interpret): Mark unused parameter.
10549 * progmodes/flymake.el (flymake-process-sentinel)
10550 (flymake-after-change-function)
10551 (flymake-create-temp-with-folder-structure)
10552 (flymake-get-include-dirs-dot): Mark unused parameters.
10553 (flymake-safe-delete-directory): Remove unused variable `err'.
10555 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10556 (speedbar-timer-fn, speedbar-line-text)
10557 (speedbar-change-expand-button-char, speedbar-delete-subblock)
10558 (speedbar-center-buffer-smartly): Declare functions.
10559 (gdb-find-watch-expression): Remove unused variable `array'.
10560 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10561 (gdb-starting): Mark unused parameters.
10562 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10563 (gdb-table-string): Remove unused variable `res'.
10564 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10565 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10566 (gdb-display-buffer): Remove unused variable `cur-size'.
10568 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10569 allow lexical-binding compilation.
10570 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10571 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10572 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10573 Mark unused parameters.
10574 (gud-gdb-marker-filter): Remove unused variable `match'.
10575 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10576 lambda expressions and funcall them, instead of using `fset'.
10578 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10579 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10581 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10582 variable `header-beg'; use `let'.
10584 * progmodes/icon.el (indent-icon-exp): Remove unused variables
10585 `restart', `last-sexp' and `at-do'.
10587 * progmodes/js.el (js--debug): Mark unused parameter.
10588 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10589 (js--splice-into-items): Remove unused variable `item'.
10590 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10592 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10593 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10594 (makefile-complete): Remove unused variable `try'.
10595 (makefile-fill-paragraph, makefile-match-function-end):
10596 Mark unused parameters.
10598 * progmodes/octave-inf.el (inferior-octave-complete):
10599 Remove unused variable `proc'.
10600 (inferior-octave-output-digest): Mark unused parameter.
10602 * progmodes/perl-mode.el (perl-calculate-indent):
10603 Remove unused variable `err'.
10605 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10606 (prolog-indent-line): Mark unused parameters.
10607 (prolog-indent-line): Remove unused variable `beg'.
10609 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10610 (reporter-dont-compact-list): Declare.
10612 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10613 Remove unused variable `char'.
10614 (sh-debug): Mark unused parameter.
10615 (sh-get-indent-info): Remove unused variable `start'.
10616 (sh-calculate-indent): Remove unused variable `var'.
10618 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10619 (simula-electric-keyword): Remove unused variable `null'.
10620 (simula-search-backward, simula-search-forward): Remove unused
10621 variables `begin' and `end'.
10623 * progmodes/vera-mode.el (vera-guess-basic-syntax):
10624 Remove unused variable `pos'.
10625 (vera-electric-tab, vera-comment-uncomment-region):
10626 Mark unused parameters.
10627 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10629 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
10631 * emacs-lisp/package.el (package--builtins, package-alist)
10632 (package-load-descriptor, package-built-in-p, package-activate)
10633 (define-package, package-installed-p)
10634 (package-compute-transaction, package-buffer-info)
10635 (package--push): Doc fix. Distinguish more clearly between
10636 version strings and version lists.
10638 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
10640 Lexical-binding cleanup.
10642 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10643 (5x5-make-mutate-best):
10644 * play/fortune.el (fortune-in-buffer):
10645 * play/gomoku.el (gomoku-init-display):
10646 * play/solitaire.el (solitaire, solitaire-do-check):
10647 * play/tetris.el (tetris-default-update-speed-function):
10648 Mark unused parameters.
10650 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10651 (bubbles--shift): Remove unused variable `char-org'.
10652 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
10653 (bubbles--show-images): Remove unused variable `char'.
10655 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10656 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10657 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10658 (decipher-analyze-buffer): Use ?\s.
10659 (decipher-make-checkpoint): Remove unused variable `mapping'.
10661 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10663 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10664 Remove unused variable `result'; use `let'.
10666 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10667 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10668 (gametree-children-shown-p, gametree-compute-reduced-score):
10669 Use `ignore-errors'.
10671 * play/handwrite.el (ps-lpr-switches): Declare.
10672 (handwrite): Remove unused variables `pmin' and `lastp'.
10674 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10676 * play/landmark.el (landmark-init-display)
10677 (landmark-update-naught-weights): Mark unused parameters.
10678 (landmark-y): Remove unused variable `noise'. Simplify.
10679 (landmark-human-plays): Remove unused variable `score'.
10681 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10682 (mpuz-try-proposal): Remove unused variable `game'.
10684 * play/zone.el (life-patterns): Declare.
10686 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
10688 * vc/vc.el (ediff-vc-internal): Declare function.
10690 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10692 * shell.el: Use lexical-binding and std completion UI.
10693 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10694 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10695 comint-preoutput-filter-functions rather than on
10696 comint-output-filter-functions.
10697 (shell-command-completion, shell--command-completion-data)
10698 (shell-filename-completion, shell-environment-variable-completion)
10699 (shell-c-a-p-replace-by-expanded-directory): New functions.
10700 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10701 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10702 (shell-dynamic-complete-environment-variable): Use them.
10703 (shell-dynamic-complete-as-environment-variable)
10704 (shell-dynamic-complete-as-command): Remove.
10705 (shell-match-partial-variable): Match past point.
10706 * comint.el: Clean up use of completion-at-point-functions.
10707 (comint-completion-at-point): New function.
10708 (comint-mode): Use it completion-at-point-functions.
10709 (comint-dynamic-complete): Make it obsolete.
10710 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10711 (comint-c-a-p-replace-by-expanded-history): New function.
10712 (comint-dynamic-complete-functions)
10713 (comint-replace-by-expanded-history): Use it.
10714 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10715 termination strings. Try harder to avoid second try-completion.
10716 (completion-in-region-mode-map): Disable bindings that don't work yet.
10718 * comint.el: Use lexical-binding. Require CL.
10719 (comint-dynamic-complete-functions): Use comint-filename-completion.
10720 (comint-completion-addsuffix): Tweak custom type.
10721 (comint-filename-completion, comint--common-suffix)
10722 (comint--common-quoted-suffix, comint--table-subvert)
10723 (comint--complete-file-name-data): New functions.
10724 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10725 (comint-dynamic-list-filename-completions): Use them.
10726 (comint-dynamic-simple-complete): Make obsolete.
10728 * minibuffer.el (completion-in-region-mode):
10729 Keep completion-in-region-mode--predicate global.
10730 (completion-in-region--postch):
10731 Assume completion-in-region-mode--predicate is not null.
10733 * progmodes/flymake.el (flymake-start-syntax-check-process):
10734 Obey `dir'. Simplify.
10736 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10737 we're in VC after all.
10739 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10741 * vc/vc.el (vc-diff-build-argument-list-internal)
10742 (vc-version-ediff, vc-ediff): New commands.
10743 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10745 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10747 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10750 * obsolete/erc-hecomplete.el: Make obsolete.
10751 * obsolete/: Standardize obsolescence info in the header.
10753 2011-04-20 Glenn Morris <rgm@gnu.org>
10755 * calendar/solar.el (solar-horizontal-coordinates):
10756 Use the longitude argument rather than `calendar-longitude'.
10757 (solar-date-next-longitude): Remove unused locals.
10759 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10761 * whitespace.el: New version 13.2.1.
10763 2011-04-20 felix <EmacsWiki> (tiny change)
10765 * whitespace.el (global-whitespace-mode): Keep highlight when
10766 switching between major modes on a file.
10768 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10770 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10771 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10772 multi-line comments as well.
10774 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
10776 Lexical-binding cleanup.
10778 * arc-mode.el (archive-mode-revert):
10779 * cmuscheme.el (scheme-interactively-start-process):
10780 * custom.el (custom-initialize-delay):
10781 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10782 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10783 * emacs-lock.el (emacs-lock-clear-sentinel):
10784 * ezimage.el (defezimage):
10785 * follow.el (follow-avoid-tail-recenter):
10786 * fringe.el (set-fringe-mode-1):
10787 * generic-x.el (bat-generic-mode-compile):
10788 * help-mode.el (help-info-variable, help-do-xref)
10789 (help-mode-revert-buffer):
10790 * help.el (view-emacs-todo):
10791 * iswitchb.el (iswitchb-completion-help):
10792 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10793 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10794 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10795 * locate.el (locate-update):
10796 * longlines.el (longlines-encode-region)
10797 (longlines-after-change-function):
10798 * outline.el (outline-isearch-open-invisible):
10799 * ps-def.el (declare-function, charset-dimension, char-width)
10801 * ps-mule.el (ps-mule-plot-string):
10802 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10803 (recentf-edit-list-select, recentf-edit-list-validate)
10804 (recentf-open-files-action):
10805 * rect.el (delete-whitespace-rectangle-line)
10806 (rectangle-number-line-callback):
10807 * register.el (window-configuration-to-register)
10808 (frame-configuration-to-register):
10809 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10810 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10811 (xselect-convert-to-targets, xselect-convert-to-delete)
10812 (xselect-convert-to-filename, xselect-convert-to-charpos)
10813 (xselect-convert-to-lineno, xselect-convert-to-colno)
10814 (xselect-convert-to-os, xselect-convert-to-host)
10815 (xselect-convert-to-user, xselect-convert-to-class)
10816 (xselect-convert-to-name, xselect-convert-to-integer)
10817 (xselect-convert-to-atom, xselect-convert-to-identity):
10818 * subr.el (declare, ignore, process-kill-without-query)
10819 (text-clone-maintain):
10820 * terminal.el (te-get-char, te-tic-sentinel):
10821 * tool-bar.el (tool-bar-make-keymap):
10822 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10823 * type-break.el (type-break-mode, type-break-noninteractive-query):
10824 * view.el (View-back-to-mark):
10825 * wid-browse.el (widget-browse-action, widget-browse-widget)
10826 (widget-browse-widgets, widget-browse-sexp):
10827 * widget.el (define-widget-keywords):
10828 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10829 Mark unused parameters.
10831 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10832 (align-areas): Remove unused variable `look'.
10833 (align-region): Remove unused variables `real-end' and `pos-list'.
10835 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10837 * bindings.el (mode-line-modified, mode-line-remote):
10838 Mark unused parameters.
10839 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10841 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10842 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10844 * comint.el (comint-history-isearch-pop-state)
10845 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10846 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10847 (comint-substitute-in-file-name): Doc fix.
10849 * completion.el (cmpl-statistics-block): Mark unused parameter.
10850 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10851 (save-completions-to-file, load-completions-from-file):
10852 Remove unused local variable `e'.
10854 * composite.el (compose-chars): Remove unused variable `len'.
10855 (lgstring-insert-glyph): Remove unused variable `g'.
10856 (compose-glyph-string): Remove unused variables `ascent',
10857 `descent', `lbearing' and `rbearing'.
10858 (compose-glyph-string-relative): Remove unused variables
10859 `lbearing', `rbearing' and `wadjust'.
10860 (compose-gstring-for-graphic): Remove unused variables `header',
10861 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10862 (compose-gstring-for-terminal): Remove unused variables `header'
10863 and `nchars'. Use `let', not `let*'.
10865 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10866 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10867 (Custom-buffer-done, custom-buffer-create-internal)
10868 (custom-browse-visibility-action, custom-browse-group-tag-action)
10869 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10870 (widget-magic-mouse-down-action, custom-toggle-parent)
10871 (custom-add-parent-links, custom-toggle-hide-variable)
10872 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10873 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10874 (custom-face-menu-create, custom-variable-menu-create, get)
10875 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10876 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10877 (customize-apropos): Remove unused variable `tests'.
10878 (custom-group-value-create): Remove unused variable `hidden-p'.
10879 (sort-fold-case): Declare.
10881 * cus-theme.el (custom-reset-standard-faces-list)
10882 (custom-reset-standard-variables-list): Declare.
10883 (customize-create-theme, custom-theme-revert, custom-theme-write)
10884 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10885 Mark unused parameters.
10887 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10889 * delim-col.el (delimit-columns-max): Move defvar before first use.
10891 * descr-text.el (describe-char-categories): Don't quote `lambda'.
10892 (describe-char): Don't quote `lambda'. Mark unused parameter.
10894 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10895 (auto-insert): Declare.
10896 (desktop-restore-file-buffer): Rename desktop-* parameters;
10898 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10899 (desktop-buffer): Rename desktop-* parameters.
10901 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10902 (dframe-reposition-frame-xemacs, dframe-help-echo)
10903 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10904 Mark unused parameters.
10906 * dired-aux.el (backup-extract-version-start, overwrite-query)
10907 (overwrite-backup-query, rename-regexp-query)
10908 (rename-non-directory-query): Declare.
10909 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10910 (dired-add-entry): Remove unused variable `orig-file-name'.
10911 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10912 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10913 `dired-copy-preserve-time' directly.
10914 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10915 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10917 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10918 (dired-virtual-revert, dired-make-relative-symlink):
10919 Mark unused parameters.
10920 (manual-program): Declare.
10921 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10922 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10923 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10925 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10927 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10929 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10932 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10934 * electric.el (Electric-command-loop): Rename parameter
10935 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10937 * expand.el (expand-in-literal): Remove unused variable `here'.
10939 * facemenu.el (facemenu-add-new-color):
10940 Remove unused variable `docstring'.
10942 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10943 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10944 (face-attr-construct): Mark unused parameter. Doc fix.
10945 (read-color): Remove unused variable `hex-string'.
10947 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10948 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10949 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10950 (display-buffer-other-frame): Remove unused variable `old-window'.
10951 (kill-buffer-hook): Declare.
10952 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10953 Mark unused parameters.
10954 (after-find-file): Pass 1 to `auto-save-mode', not t.
10956 * files-x.el (auto-insert): Declare.
10957 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10959 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
10960 variable `buf'. Mark unused parameter.
10961 (find-lisp-insert-directory): Mark unused parameter.
10963 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10964 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10965 (format-common-tail): Remove, unused.
10966 (format-deannotate-region): Remove unused variable `loc'.
10967 (format-annotate-region): Remove unused variable `p'.
10968 (format-annotate-single-property-change): Remove unused variables
10969 `default' and `tail'.
10971 * forms.el (read-file-filter): Declare.
10972 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10974 * frame.el (frame-creation-function-alist): Mark unused parameter.
10975 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10977 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10978 Remove unused parameters.
10979 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10980 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10982 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10983 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10984 (hfy-prepare-tag-map): Mark unused parameters.
10985 (htmlfontify-buffer): Use `called-interactively-p'.
10987 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10988 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10989 (ibuffer-do-occur): Mark unused parameters.
10990 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10991 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10993 * ibuffer.el: Don't quote `lambda'.
10994 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10995 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10996 Mark unused parameters.
10998 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10999 (ido-completing-read): Mark unused parameters.
11000 (ido-copy-current-word): Mark unused parameters;
11001 remove unused variable `name'.
11002 (ido-sort-merged-list): Remove unused parameter `dirs'.
11004 * ielm.el (ielm-input-sender): Mark unused parameter.
11005 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11006 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11007 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11008 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11009 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11011 * image-dired.el (image-dired-display-thumbs): Remove unused
11012 variables `curr-file' and `count'.
11013 (image-dired-remove-tag): Remove unused variable `start'.
11014 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11015 variable `curr-file'
11016 (image-dired-rotate-original): Remove unused variable `temp-file'.
11017 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11018 Remove unused variable `file'.
11019 (image-dired-gallery-generate): Remove unused variable `curr'.
11020 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11022 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11024 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11026 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11028 * isearch.el (minibuffer-history-symbol): Declare.
11029 (isearch-edit-string): Remove unused variable `err'.
11030 (isearch-message-prefix, isearch-message-suffix):
11031 Mark unused parameters.
11033 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11035 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11037 * makesum.el (double-column): Remove unused variable `cnt'.
11039 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11040 (ido-ignore-item-temp-list): Declare.
11042 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11043 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11044 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11045 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11048 * mouse-sel.el (mouse-extend-internal):
11049 Remove unused variable `orig-window-frame'.
11051 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11052 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11053 Move declarations before first use.
11054 (pcomplete-opt): Mark unused parameters; doc fix.
11056 * proced.el (proced-revert): Mark unused parameter.
11057 (proced-send-signal): Remove unused variable `err'.
11059 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11060 Rename parameter PREFIX-ARG to ARG.
11061 (ps-basic-plot-string, ps-basic-plot-whitespace):
11062 Mark unused parameters.
11064 * replace.el (replace-count): Define.
11065 (occur-revert-function): Mark unused parameters.
11066 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11067 (isearch-case-fold-search, isearch-string): Declare.
11068 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11069 bind `case-fold-search'. Remove unused variables `beg' and `end',
11071 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11072 COUNT and bind `replace-count'.
11073 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11076 * savehist.el (print-readably, print-string-length): Declare.
11078 * shadowfile.el (shadow-expand-cluster-in-file-name):
11079 Remove unused variable `cluster'.
11080 (shadow-copy-file): Remove unused variable `i'.
11081 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11082 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11083 (shadow-define-literal-group, shadow-define-regexp-group)
11084 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11086 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11087 (shell): Use `called-interactively-p'.
11088 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11090 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11091 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11092 (delete-backward-char): Remove unused variable `ocol'.
11093 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11094 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11095 (event-apply-hyper-modifier, event-apply-shift-modifier)
11096 (event-apply-control-modifier, event-apply-meta-modifier):
11097 Mark unused parameters.
11098 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11099 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11101 * speedbar.el (speedbar-ignored-directory-expressions)
11102 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11103 (speedbar-find-file, speedbar-dir-follow)
11104 (speedbar-directory-buttons-follow, speedbar-tag-find)
11105 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11106 (speedbar-buffers-line-directory, speedbar-buffer-click):
11107 Mark unused parameters.
11108 (speedbar-tag-file): Remove unused variable `mode'.
11109 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11111 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11113 * talk.el (talk): Remove unused variable `display'.
11115 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11116 (tar-write-region-annotate): Mark unused parameter.
11118 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11119 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11120 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11121 warning by another.
11123 * time-stamp.el (time-stamp-string-preprocess):
11124 Remove unused variable `require-padding'.
11126 * tree-widget.el (widget-glyph-enable): Declare.
11127 (tree-widget-action): Mark unused parameter.
11129 * w32-fns.el (x-get-selection): Mark unused parameter.
11130 (autoload-make-program, generated-autoload-file): Declare.
11132 * wdired.el (wdired-revert): Mark unused parameters.
11133 (wdired-xcase-word): Remove unused variable `err'.
11135 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11136 (whitespace-help-scroll): Remove unused variable `data-help'.
11138 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11139 (widget-image-insert, widget-after-change, default)
11140 (widget-default-format-handler, widget-default-notify)
11141 (widget-default-prompt-value, widget-info-link-action)
11142 (widget-url-link-action, widget-function-link-action)
11143 (widget-variable-link-action, widget-file-link-action)
11144 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11145 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11146 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11147 (widget-insert-button-action, widget-delete-button-action, visibility)
11148 (widget-documentation-link-action, widget-documentation-string-action)
11149 (widget-const-prompt-value, widget-regexp-match, symbol)
11150 (widget-coding-system-prompt-value)
11151 (widget-key-sequence-value-to-external, sexp)
11152 (widget-sexp-value-to-internal, character, vector, cons)
11153 (widget-choice-prompt-value, widget-boolean-prompt-value)
11154 (widget-color--choose-action): Mark unused parameters.
11155 (widget-item-match-inline, widget-choice-match-inline)
11156 (widget-checklist-match, widget-checklist-match-inline)
11157 (widget-group-match): Rename parameter VALUES to VALS.
11158 (widget-field-value-set): Remove unused variable `size'.
11159 (widget-color-action): Remove unused variables `value' and `start'.
11161 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
11162 variable `dir'. Doc fix.
11163 (windmove-find-other-window): Don't pass it.
11165 * window.el (count-windows): Mark unused parameter.
11166 (bw-adjust-window): Remove unused variable `err'.
11168 * woman.el (woman-file-name): Remove unused variable `default'.
11169 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11170 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11171 (global-font-lock-mode): Declare.
11172 (woman-decode-region): Mark unused parameter.
11173 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11175 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11176 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11177 (x-dnd-handle-moz-url): Remove unused variable `title'.
11178 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11180 * xml.el (xml-parse-tag, xml-parse-attlist):
11181 Remove unused variable `pos'.
11183 2011-04-19 Glenn Morris <rgm@gnu.org>
11185 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11186 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11187 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11188 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11189 * calendar/cal-html.el (cal-html-insert-minical):
11190 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11191 (calendar-mark-date-pattern):
11192 Prefix "unused" locals.
11194 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11195 optional argument `style'.
11197 * calendar/appt.el (appt-make-list):
11198 * calendar/cal-china.el (calendar-chinese-date-string):
11199 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11200 (diary-hebrew-yahrzeit):
11201 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11202 * calendar/calendar.el (calendar-generate-window):
11203 * calendar/time-date.el (time-to-days):
11204 Remove unused local variables.
11206 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
11208 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11209 glyphless-char-display table.
11210 (tabulated-list-glyphless-char-display): New var.
11212 2011-04-18 Sam Steingold <sds@gnu.org>
11214 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11215 to acknowledgments.
11217 2011-04-17 Glenn Morris <rgm@gnu.org>
11219 * calendar/diary-lib.el (diary-sexp-entry):
11220 * calendar/holidays.el (holiday-sexp):
11221 Set debug-on-error rather than the removed stack-trace-on-error.
11223 2011-04-16 Glenn Morris <rgm@gnu.org>
11225 * progmodes/f90.el: Use lexical-binding.
11226 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11228 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11230 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11231 (mail-mode): Setup mailalias completion here instead.
11232 * mail/mailalias.el: Use lexical-binding.
11233 (pattern, mailalias-done): Declare dynamic.
11234 (mail-completion-at-point-function): New function, from mail-complete.
11235 (mail-complete): Use it.
11236 (mail-completion-expand): New function.
11237 (mail-get-names): Use it.
11238 (mail-directory, mail-directory-process, mail-directory-stream):
11239 Don't use `pattern' for lexically bound arg.
11241 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11243 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11244 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11245 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11247 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11248 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11249 (byte-interactive-p): Define them again, for use when inlining
11252 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
11254 * loadup.el: Use `string-to-number', not `string-to-int'.
11256 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11258 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11259 gud-gdb-complete-command.
11260 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11261 (gud-gdb-completion-at-point): New function.
11262 (gud-gdb-completions): Remove.
11264 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
11266 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11267 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11268 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11269 whether `executable-find' is bound.
11271 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11273 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11275 * minibuffer.el (completion-in-region-mode-predicate)
11276 (completion-in-region-mode--predicate): New vars.
11277 (completion-in-region, completion-in-region--postch)
11278 (completion-in-region-mode): Use them.
11279 (completion--capf-wrapper): Also return the hook function.
11280 (completion-at-point, completion-help-at-point):
11281 Adjust and provide a predicate.
11283 Preserve arg names for advice of subr and lexical functions (bug#8457).
11284 * help-fns.el (help-function-arglist): Consolidate the subr and
11285 new-byte-code cases. Add argument `preserve-names' to extract names
11286 from the docstring when needed.
11287 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11288 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11289 (ad-arglist): Use help-function-arglist's new arg.
11290 (ad-definition-type): Use cond.
11292 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
11294 * autorevert.el (auto-revert-handler):
11295 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11296 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11297 Don't quote lambda.
11299 * image-mode.el (image-transform-set-scale):
11300 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11302 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11304 * net/network-stream.el (network-stream-open-starttls): Only do
11305 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
11306 Upgrades via gnutls-cli are too slow to be done opportunistically.
11308 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
11310 * dframe.el (dframe-current-frame): Remove spurious quote.
11312 2011-04-12 Glenn Morris <rgm@gnu.org>
11314 * calendar/cal-tex.el (cal-tex-end-document):
11315 Try to automatically use latin1 input if needed.
11317 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11318 Don't try to cons a mark onto an empty element.
11320 2011-04-11 Leo Liu <sdl.web@gmail.com>
11322 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11324 (ido-kill-buffer-at-head): Support killing virtual buffers.
11326 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
11328 * minibuffer.el (completion-show-inline-help): New var.
11329 (completion--do-completion, minibuffer-complete)
11330 (minibuffer-force-complete, minibuffer-complete-word):
11331 Inhibit minibuffer messages if completion-show-inline-help is nil.
11333 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11334 to avoid interference from inline help (Bug#5849).
11336 2011-04-10 Leo Liu <sdl.web@gmail.com>
11338 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11341 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
11343 * image-mode.el (image-toggle-display-image): Signal an error if
11345 (image-transform-mode, image-transform-resize)
11346 (image-transform-set-rotation): Doc fix.
11347 (image-transform-set-resize): Delete.
11348 (image-transform-set-scale, image-transform-fit-to-height)
11349 (image-transform-fit-to-width): Handle image-toggle-display-image
11350 and image-transform-resize directly.
11352 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
11354 * doc-view.el (doc-view-fit-width-to-window)
11355 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11356 New functions for fitting the shown image to the Emacs window size.
11357 (doc-view-mode-map): Add bindings for the new functions.
11359 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
11361 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
11362 Fix typo in docstring.
11364 2011-04-08 Eli Zaretskii <eliz@gnu.org>
11366 * files.el (file-size-human-readable): Produce one digit after
11367 decimal, like "ls -lh" does.
11369 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11370 the file size representation.
11372 * simple.el (list-processes): If async subprocesses are not
11373 available, error out with a clear error message.
11375 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
11377 * help.el (help-form-show): New function, to be called from C.
11378 Put help-form output in a buffer named differently than *Help*.
11380 2011-04-08 Eli Zaretskii <eliz@gnu.org>
11382 * files.el (file-size-human-readable): New function.
11384 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11385 computing the representation inline. Don't require `cl'.
11387 2011-04-08 Glenn Morris <rgm@gnu.org>
11389 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11391 * net/browse-url.el (browse-url-firefox):
11392 Test system-type, not system-configuration.
11394 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11395 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11396 Use log-edit-empty-buffer-p. (Bug#7598)
11398 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11399 (rlogin-mode-map): Initialize in the defvar.
11400 (rlogin): Use ignore-errors.
11402 * replace.el (occur-mode-map): Some fixes for menu items.
11404 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11406 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
11408 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
11410 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11411 issuing unused warnings.
11413 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11416 * simple.el: Lisp reimplement of list-processes. Based on an
11417 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11418 (process-menu-mode): New major mode.
11419 (list-processes--refresh, list-processes):
11420 (process-menu-visit-buffer): New functions.
11422 * files.el (save-buffers-kill-emacs): Don't assume any return
11423 value of list-processes, which is undocumented anyway.
11425 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
11427 * emacs-lisp/tabulated-list.el: New file.
11429 * emacs-lisp/package.el: Use Tabulated List mode.
11430 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11431 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11432 table format using Tabulated List mode variables.
11433 (package--push): New macro, replacing package-list-maybe-add.
11434 (package-menu--generate): Use package--push. Renamed from
11435 package--generate-package-list.
11436 (package-menu-refresh, list-packages): Use it.
11437 (package-menu--print-info): Rename from package-print-package.
11438 Return insertion data instead of inserting it directly.
11439 (package-menu-describe-package, package-menu-execute):
11440 Use tabulated-list-get-id.
11441 (package-menu-mark-delete, package-menu-mark-install)
11442 (package-menu-mark-unmark, package-menu-backup-unmark)
11443 (package-menu-mark-obsolete-for-deletion):
11444 Use tabulated-list-put-tag.
11445 (package--list-packages, package-menu-revert)
11446 (package-menu-get-package, package-menu-get-version)
11447 (package-menu-sort-by-column): Functions deleted.
11448 (package-menu-package-list, package-menu-sort-key): Vars deleted.
11449 (package-menu--status-predicate, package-menu--version-predicate)
11450 (package-menu--name-predicate)
11451 (package-menu--description-predicate): Handle arguments in the
11452 Tabulated List format.
11453 (package-list-packages-no-fetch): Call list-packages.
11455 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
11457 * files.el (after-find-file-from-revert-buffer): Remove variable.
11458 (after-find-file): Don't bind it.
11459 (revert-buffer-in-progress-p): New variable.
11460 (revert-buffer): Bind it.
11461 Pass nil for `after-find-file-from-revert-buffer'.
11463 * saveplace.el (save-place-find-file-hook): Use new variable
11464 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11466 2011-04-06 Glenn Morris <rgm@gnu.org>
11468 * Makefile.in (AUTOGEN_VCS): New variable.
11469 (autoloads): Use $AUTOGEN_VCS.
11471 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11472 * calendar/calendar.el (calendar-mode-map):
11473 Check for toolkit scroll bars. (Bug#8305)
11475 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
11477 * minibuffer.el (completion-in-region--postch)
11478 (completion-in-region-mode): Remove unnecessary messages.
11480 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
11482 * font-lock.el (font-lock-refresh-defaults):
11483 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11484 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11486 * info.el (Info-directory-list, Info-read-node-name-2)
11487 (Info-split-parameter-string): Doc fixes.
11488 (Info-virtual-nodes): Reflow docstring.
11489 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11490 (Info-apropos-toc-nodes, info-finder, Info-get-token)
11491 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11492 Fix typos in docstrings.
11493 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11494 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11495 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11496 (Info-restore-desktop-buffer): Mark unused parameters.
11497 (Info-directory-find-file, Info-directory-find-node)
11498 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11499 (Info-virtual-index-find-node, Info-apropos-find-file)
11500 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
11501 Mark unused parameters; fix typos in docstrings.
11502 (Info-virtual-index): Remove unused local variable `nodename'.
11504 2011-04-05 Deniz Dogan <deniz@dogan.se>
11506 * net/rcirc.el: Update my e-mail address.
11507 (rcirc-mode-map): Remove M-o binding.
11509 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
11511 * startup.el (command-line): Save the cursor's theme-face
11512 directly, instead of using face-override-spec.
11514 * custom.el (load-theme): Minor optimization in assigning faces.
11516 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
11518 * help-fns.el (describe-variable): Complete all variables having
11519 documentation, including keywords.
11520 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11522 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
11524 Convert to lexical-binding.
11526 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11527 (bs--get-marked-string, bs--get-modified-string)
11528 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11529 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11530 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11532 * ehelp.el (electric-help-execute-extended)
11533 (electric-help-ctrl-x-prefix):
11534 * hexl.el (hexl-revert-buffer-function):
11535 * linum.el (linum-after-change, linum-after-scroll):
11536 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11538 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11540 2011-04-04 Daiki Ueno <ueno@unixuser.org>
11547 * epg.el: Use lexical binding.
11549 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
11551 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11553 * textmodes/flyspell.el (flyspell-word): Recognize default
11554 dictionary case for flyspell-mark-duplications-exceptions.
11555 Use regexp matching for languages.
11556 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11557 default dictionary (Bug#7926).
11559 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
11561 * emacs-lisp/package.el (package--with-work-buffer):
11562 Recognize https URLs.
11564 * net/network-stream.el: Move from gnus/proto-stream.el.
11565 Change prefix to network-stream throughout.
11566 (open-protocol-stream): Merge into open-network-stream, leaving
11567 open-protocol-stream as an alias. Handle nil BUFFER args.
11569 * subr.el (open-network-stream): Move to net/network-stream.el.
11571 2011-04-02 Glenn Morris <rgm@gnu.org>
11573 * find-dired.el (find-exec-terminator): New option.
11574 (find-ls-option): Test for -ls support.
11575 (find-ls-subdir-switches): Test for -b in find-ls-option.
11576 (find-dired, find-grep-dired): Doc fixes.
11577 (find-dired): Use find-exec-terminator.
11579 * find-dired.el (find-ls-option, find-ls-subdir-switches)
11580 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11581 (find-name-arg): Remove purecopy.
11583 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11584 (grep-compute-defaults): Check for `-exec COMMAND +' support.
11585 Set grep-find-use-xargs, grep-find-command, and grep-find-template
11586 accordingly. Don't add the null-device if not needed.
11588 * files.el (save-some-buffers): Doc fix.
11590 2011-04-02 Eli Zaretskii <eliz@gnu.org>
11592 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11594 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
11596 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11597 Use `dolist' rather than `mapcar'.
11599 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11601 Add lexical binding.
11603 * subr.el (apply-partially): Use new closures rather than CL.
11604 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11605 (dolist, dotimes): Use slightly different expansion for lexical code.
11606 (functionp): Move to C.
11607 (letrec): New macro.
11608 (with-wrapper-hook): Use it and apply-partially instead of CL.
11609 (eval-after-load): Preserve lexical-binding.
11610 (save-window-excursion, with-output-to-temp-buffer): Turn them
11613 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11615 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11617 (help-add-fundoc-usage): Don't add `Not documented'.
11618 (help-function-arglist): Handle closures, subroutines, and new
11619 byte-code-functions.
11620 (help-make-usage): Remove leading underscores.
11621 (describe-function-1): Handle closures.
11622 (describe-variable): Use special-variable-p for completion.
11624 * files.el (lexical-binding): Declare safe.
11626 * emacs-lisp/pcase.el: Don't use destructuring-bind.
11627 (pcase--memoize): Rename from pcase-memoize. Change weakness.
11628 (pcase): Add `let' pattern.
11629 Change memoization so it actually works.
11630 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11631 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11634 * emacs-lisp/macroexp.el: Use lexical binding.
11635 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
11636 Don't convert ' to #' without checking that it's indeed quoting
11639 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
11640 Use eval-sexp-add-defvars.
11641 (eval-sexp-add-defvars): New fun.
11643 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11645 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11647 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11648 than the internal `byte-compile-lambda'.
11649 (defmethod): Don't hide code under quotes.
11650 (eieio-defmethod): New `code' argument.
11652 * emacs-lisp/eieio-comp.el: Remove.
11654 * emacs-lisp/edebug.el (edebug-eval-defun)
11655 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11656 (edebug-toggle): Avoid `eval'.
11658 * emacs-lisp/disass.el (disassemble-internal): Handle new
11660 (disassemble-1): Handle new byte codes.
11662 * emacs-lisp/cl.el (pushnew): Silence warning.
11664 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11665 (cl-byte-compile-throw): Remove.
11666 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11668 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11671 * emacs-lisp/cconv.el: New file.
11673 * emacs-lisp/bytecomp.el: Use lexical binding instead of
11674 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
11675 (byte-compile-initial-macro-environment):
11676 Handle declare-function here.
11677 (byte-compile--lexical-environment): New var.
11678 (byte-stack-ref, byte-stack-set, byte-discardN)
11679 (byte-discardN-preserve-tos): New lap codes.
11680 (byte-interactive-p): Don't use any more.
11681 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11683 (byte-compile-lapcode): Use them and handle new lap codes.
11684 (byte-compile-obsolete): Remove.
11685 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11686 (byte-compile-arglist-warn): Check late def of inlinable funs.
11687 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11688 since they should have been expanded by now.
11689 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11690 (byte-compile-from-buffer): Remove unused second arg.
11691 (byte-compile-preprocess): New function.
11692 (byte-compile-toplevel-file-form): New function to distinguish
11693 file-form calls from outside from file-form calls from hunk-handlers.
11694 (byte-compile-file-form): Simplify.
11695 (byte-compile-file-form-defsubst): Remove.
11696 (byte-compile-file-form-defmumble): Simplify now that
11697 byte-compile-lambda always returns a byte-code-function.
11698 (byte-compile): Preprocess.
11699 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11700 Remove, not used any more.
11701 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11702 (byte-compile-make-args-desc): New funs.
11703 (byte-compile-lambda): Handle lexical functions. Always return
11704 a byte-code-function.
11705 (byte-compile-reserved-constants): New var, to make up room for
11706 closed-over variables.
11707 (byte-compile-constants-vector): Obey it.
11708 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11709 (byte-compile-macroexpand-declare-function): New function.
11710 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11711 byte-code-functions.
11712 (byte-compile-form): Check obsolescence here.
11713 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11714 (byte-compile-variable-ref): Remove.
11715 (byte-compile-dynamic-variable-op): New fun.
11716 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11717 (byte-compile-variable-set): New funs.
11718 (byte-compile-discard): Add 2 args.
11719 (byte-compile-stack-ref, byte-compile-stack-set)
11720 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11721 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11722 macroexpand-all instead.
11723 (byte-compile-quote-form): Remove.
11724 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11725 (byte-compile-bind, byte-compile-unbind): New funs.
11726 (byte-compile-let): Handle let* and lexical binding.
11727 (byte-compile-let*): Remove.
11728 (byte-compile-catch, byte-compile-unwind-protect)
11729 (byte-compile-track-mouse, byte-compile-condition-case):
11730 Handle a new :fun-body form, used for lexical scoping.
11731 (byte-compile-save-window-excursion)
11732 (byte-compile-with-output-to-temp-buffer): Remove.
11733 (byte-compile-defun): Simplify.
11734 (byte-compile-stack-adjustment): New fun.
11735 (byte-compile-out): Use it.
11736 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11738 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11741 * emacs-lisp/byte-opt.el: Use lexical binding.
11742 (byte-inline-lapcode): Remove (to bytecomp).
11743 (byte-compile-inline-expand): Pay attention to inlining to/from
11744 lexically bound code.
11745 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11747 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11748 any more and don't call compiler-macros.
11749 (byte-compile-splice-in-already-compiled-code): Remove.
11750 (byte-code): Don't inline any more.
11751 (disassemble-offset): Receive `bytes' as argument rather than via
11753 (byte-compile-tag-number): Declare before first use.
11754 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11755 `return' even if make-spliceable.
11756 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11757 obsolete interactive-p.
11758 (byte-optimize-lapcode): Optimize new lap-codes.
11759 Don't trip up on new form of `byte-constant' lap code.
11761 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11763 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11765 * custom.el (custom-initialize-default, custom-declare-variable):
11768 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11770 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11771 (COMPILE_FIRST): Add macroexp and cconv.
11772 * makefile.w32-in: Mirror changes in Makefile.in.
11774 * vc/cvs-status.el:
11778 * vc/smerge-mode.el:
11779 * textmodes/bibtex-style.el:
11780 * textmodes/css.el:
11788 * emacs-lisp/smie.el:
11791 * abbrev.el: Use lexical binding.
11793 2011-04-01 Eli Zaretskii <eliz@gnu.org>
11795 * info.el (info-display-manual): New function.
11797 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11799 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11801 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11803 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
11804 an entry for that server in rcirc-authinfo. (Bug#8385)
11806 2011-03-31 Glenn Morris <rgm@gnu.org>
11808 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11810 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11812 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11814 * progmodes/python.el (python-default-interpreter)
11815 (python-python-command-args, python-jython-command-args)
11816 (python-which-shell, python-which-args, python-which-bufname)
11817 (python-file-queue, python-comint-output-filter-function)
11818 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11819 variables and functions.
11821 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11823 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11824 (completion-in-region-mode): New minor mode.
11825 (completion-in-region): Use it.
11826 (completion-in-region--data, completion-in-region-mode-map): New vars.
11827 (completion-in-region--postch): New function.
11828 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11830 (completion--capf-wrapper): New function.
11831 (completion-at-point): Use it to track well-behavedness of
11833 (completion-help-at-point): New command.
11835 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11837 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11838 syntax class to search for whitespace on a single line
11839 (Message-ID: <4D938140.4030905@redhat.com>).
11841 2011-03-30 Leo Liu <sdl.web@gmail.com>
11843 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11845 (edit-abbrevs-map): Bind them here.
11846 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11848 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11850 * allout.el (allout-hide-by-annotation, allout-flag-region):
11851 Reduce possibility of overlay leakage by making them volatile.
11853 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11854 hash is not shared between buffers. Mode initialization is
11855 responsible for giving it a useful starting value.
11856 (allout-item-span): Reduce possibility of overlay leakage by
11857 making them volatile.
11858 (allout-widgets-count-buttons-in-region): Add diagnostic function
11859 for tracking down button overlay leaks.
11861 2011-03-29 Leo Liu <sdl.web@gmail.com>
11863 * ido.el (ido-read-internal): Use the default history var
11864 minibuffer-history if no HISTORY is specified.
11866 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11868 * net/imap.el (imap-shell-open, imap-process-connection-type):
11869 Use imap-process-connection-type for 'shell' streams as well as
11870 Kerberos, SSL, other subprocesses.
11872 2011-03-28 Leo Liu <sdl.web@gmail.com>
11874 * abbrev.el (abbrev-table-empty-p): New function.
11875 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11876 nonempty ones. (Bug#5937)
11878 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11880 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11882 2011-03-27 Leo Liu <sdl.web@gmail.com>
11884 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11885 for foreground and background colors.
11886 (ansi-color-make-color-map): Adapt.
11888 2011-03-25 Leo Liu <sdl.web@gmail.com>
11890 * midnight.el (midnight-time-float): Remove. Note it calculates
11891 the microsecond component incorrectly and seconds-to-time does the
11893 Remove redundant (require 'timer).
11895 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11896 (ido-completions): Remove unused arguments. (Bug#8329)
11898 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11900 * minibuffer.el (completion--flush-all-sorted-completions):
11901 Remove itself from hook.
11902 (completion-at-point): Let the functions perform the completion
11903 immediately and return nil or t.
11904 * comint.el (comint-dynamic-complete-functions): Now identical to
11905 completion-at-point-functions.
11906 (comint-dynamic-list-input-ring): Remove unused var `index'.
11907 (comint--match-partial-filename, comint--unquote&expand-filename):
11908 New funs, split from comint-match-partial-filename.
11909 (comint-dynamic-complete): Use completion-at-point.
11910 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11912 2011-03-24 Drew Adams <drew.adams@oracle.com>
11914 * thingatpt.el: Support `defun'.
11916 2011-03-23 Leo Liu <sdl.web@gmail.com>
11918 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11920 * help-mode.el (help-mode-finish): Tweak regexp.
11922 2011-03-23 Glenn Morris <rgm@gnu.org>
11924 * eshell/esh-opt.el (eshell-eval-using-options):
11925 Do not bind unused local variable `eshell-option-stub'.
11927 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11929 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
11931 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11932 keymap variable in `with-no-warnings' to avoid a warning when the
11933 keymap has been already `defconst'ed.
11935 2011-03-22 Leo Liu <sdl.web@gmail.com>
11937 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11938 encode all chars in abbrevs; otherwise use emacs-mule or
11939 utf-8-emacs. (Bug#8308)
11941 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
11943 * simple.el (backward-delete-char-untabify):
11944 Avoid warning about using `delete-backward-char'.
11946 * image.el (image-type-file-name-regexps): Make it variable.
11947 `imagemagick-register-types' modifies it, and the user may want
11948 to add new extensions for known image types.
11949 (imagemagick-register-types): Throw error if not using ImageMagick.
11951 2011-03-22 Leo Liu <sdl.web@gmail.com>
11953 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11954 located before rcirc-prompt-end-marker.
11955 (rcirc-complete): Error if point is not after rcirc prompt.
11956 Handle the case when table is nil.
11957 (rcirc-user-authenticated): Define to fix compiler warning.
11959 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
11961 * custom.el (custom--inhibit-theme-enable): Make it affect only
11962 custom-theme-set-variables and custom-theme-set-faces.
11963 (provide-theme): Ignore custom--inhibit-theme-enable.
11964 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11965 (custom-enabling-themes): Delete variable.
11966 (enable-theme): Accept only loaded themes as arguments.
11967 Ignore the special custom-enabled-themes variable.
11968 (custom-enabled-themes): Forbid themes from setting this.
11969 Eliminate use of custom-enabling-themes.
11970 (custom-push-theme): Quote "changed" custom var entry.
11972 2011-03-21 Leo Liu <sdl.web@gmail.com>
11974 * ido.el (ido-read-internal): Add ido-selected to history instead
11977 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11979 * subr.el (deferred-action-list, deferred-action-function):
11982 2011-03-21 Leo Liu <sdl.web@gmail.com>
11984 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11985 change on 2011-02-13 (bug#8309).
11987 * minibuffer.el (read-file-name-function): Change default value.
11988 (read-file-name--defaults): Rename from read-file-name-defaults.
11989 (read-file-name-default): Rename from read-file-name.
11990 (read-file-name): Call read-file-name-function.
11992 2011-03-21 Glenn Morris <rgm@gnu.org>
11994 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11997 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
11999 * cus-theme.el: Add missing provide statement.
12000 (customize-create-theme): Extract theme value correctly.
12001 (custom-theme-visit-theme): Autoload.
12002 (customize-create-theme): Prompt before inserting default faces.
12004 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12006 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12007 units and musical notes.
12009 2011-03-20 Leo Liu <sdl.web@gmail.com>
12011 * ido.el (ido-read-internal): Use completing-read-default.
12012 (ido-completing-read): Fix compatibility with completing-read.
12014 2011-03-20 Christian Ohler <ohler@gnu.org>
12016 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12017 (ert-delete-all-tests): Use `called-interactively-p' rather than
12019 (ert--make-xrefs-region): Respect END.
12021 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
12023 * dired-aux.el (dired-create-directory): Signal an error if the
12024 directory already exists (Bug#8246).
12026 * facemenu.el (list-colors-display): Call list-faces-display
12027 inside with-help-window.
12028 (list-colors-print): Use display property to align the final
12029 column, instead of checking window-width.
12031 2011-03-19 Eli Zaretskii <eliz@gnu.org>
12033 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
12034 windows-nt systems.
12035 (emerge-protect-metachars): Quote correctly for ms-dos and
12036 windows-nt systems.
12038 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
12040 * info.el (info-initialize): Replace all uses of `:' with
12041 path-separator for compatibility with non-Unix systems.
12042 Cache quoting of path-separator. (Bug#8258)
12044 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
12046 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12047 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12048 (mouse-avoidance-mode): Fix typos in docstrings.
12050 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
12052 * startup.el (package-subdirectory-regexp): Move from package.el.
12053 Omit \\` and \\', and let callers add them.
12055 * emacs-lisp/package.el (package-strip-version)
12056 (package-load-all-descriptors): Add \\` and \\' to
12057 package-subdirectory-regexp before using it.
12058 (package-untar-buffer): New arg DIR; ensure that file untars only
12059 into this expected directory. Remove superfluous delete-region.
12060 (package-unpack): Caller changed.
12061 (package-tar-file-info): Use package-subdirectory-regexp.
12063 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12065 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12066 diff-mode-shared-map (bug#8284).
12067 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
12069 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12071 * calendar/time-date.el (format-seconds): Use assoc instead of
12072 assoc-string, since assoc-string doesn't exist in XEmacs.
12074 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
12076 * custom.el (custom-known-themes): Reflow docstring.
12077 (custom-theme-load-path): Fix typo in docstring.
12078 (load-theme): Fix typo in error message.
12079 (custom-available-themes, custom-variable-theme-value):
12080 Use `let', not `let*'.
12082 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12084 * calc/README: Mention inclusion of musical notes.
12086 * calc/calc-units.el (calc-lu-quant): Rename from
12087 `calc-logunits-quantity'.
12088 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12089 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12090 (calc-db): Rename from `calc-dblevel'.
12091 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12092 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12093 (calc-np): Rename from `calc-nplevel'.
12094 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12095 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12096 (calc-lu-plus): Rename from `calc-logunits-add'.
12097 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12098 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12099 (calc-lu-minus): Rename from `calc-logunits-sub'.
12100 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12101 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12102 (calc-lu-times): Rename from `calc-logunits-mul'.
12103 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12104 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12105 (calc-lu-divide): Rename from `calc-logunits-div'.
12106 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12107 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12109 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12110 functions being autoloaded.
12112 * calc/calc.el (calc-lu-power-reference): Rename from
12113 `calc-logunits-power-reference'.
12114 (calc-lu-field-reference): Rename from
12115 `calc-logunits-field-reference'.
12117 * calc/calc-help.el (calc-l-prefix-help):
12118 Mention musical note functions.
12120 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12122 * minibuffer.el (completion-all-sorted-completions):
12123 Use :completion-cycle-penalty text property if present.
12125 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12127 * allout.el (allout-yank-processing): Adjust for new rebulleting
12128 regime so bullet being yanked is used without prompting the user
12131 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
12133 * startup.el (command-line): Warn the user that _emacs is deprecated.
12135 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
12137 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12138 (delphi-verbose, delphi-comment-face, delphi-string-face)
12139 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12140 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12141 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12142 (delphi-new-comment-line, delphi-font-lock-defaults)
12143 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12144 Fix typos in docstrings.
12146 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12148 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
12149 Invert the roles of character and string values for INSTEAD, so a
12150 string is used for the more common case of a defaulting prompt.
12152 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12154 * progmodes/ruby-mode.el (ruby-backward-sexp):
12155 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12156 * play/gamegrid.el (gamegrid-make-face):
12157 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12158 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12159 * notifications.el (notifications-notify):
12160 * net/xesam.el (xesam-search-engines):
12161 * net/quickurl.el (quickurl-list-insert):
12162 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12164 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
12166 * startup.el (command-line): Update package subdirectory regexp.
12168 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12170 * allout.el (allout-abbreviate-flattened-numbering)
12171 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12173 * subr.el (read-char-choice): Only show the cursor after the prompt,
12174 not after the answer.
12176 2011-03-15 Kevin Ryde <user42@zip.com.au>
12178 * help-fns.el (variable-at-point): Skip leading quotes, if any
12181 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12183 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12186 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
12188 * shell.el (shell): When called interactively, offer to change the
12189 shell file name on remote hosts.
12191 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12193 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12194 integration for LDAP parameters. The host, base, user or binddn,
12195 and secret tokens can be specified in a netrc file, for instance.
12196 This is optional because an `auth-source' parameter must be
12197 specified in the search attributes.
12199 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
12201 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12203 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12205 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12206 into declaration. Remove redundant and harmful binding.
12208 2011-03-12 Eli Zaretskii <eliz@gnu.org>
12210 * files.el (file-ownership-preserved-p): Pass `integer' as an
12211 explicit 2nd argument to `file-attributes'. If the file's owner
12212 is the Administrators group on Windows, and the current user is
12213 Administrator, consider that a match.
12215 * server.el (server-ensure-safe-dir): Consider server directory
12216 safe on MS-Windows if its owner is the Administrators group while
12217 the current Emacs user is Administrator. Use `=' to compare
12218 numerical UIDs, since they could be integers or floats.
12220 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
12222 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12224 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
12226 Sync with Tramp 2.2.1.
12228 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12230 * net/trampver.el: Update release number.
12232 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12234 * progmodes/compile.el (compilation--previous-directory): Fix up
12235 various nil/dead-marker mismatches (bug#8014).
12236 (compilation-directory-properties, compilation-error-properties):
12237 Don't call it at a position past the one we're about to change.
12239 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12240 Disable obsolescence warnings in the file that declares it.
12242 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12244 * allout-widgets.el (allout-widgets-tally):
12245 Initialize allout-widgets-tally as a hash table rather than nil to
12246 prevent mode-line redisplay warnings. Also, clarify the module
12247 description and fix a comment typo.
12249 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
12251 * help-fns.el (describe-variable): Don't complete keywords.
12252 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12254 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
12256 * emacs-lisp/package.el (package-version-join): Impose a standard
12257 string representation for pre/alpha/beta version lists.
12258 (package-unpack-single): Standardize the directory name by passing
12259 it through package-version-join.
12260 (package-strip-rcs-id): Accept any version string that does not
12261 signal an error in version-to-list.
12263 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
12265 * simple.el (delete-trailing-whitespace): Return nil for the
12266 benefit of `write-file-functions'.
12268 2011-03-10 Glenn Morris <rgm@gnu.org>
12270 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12272 * vc/vc-git.el (vc-git-program): New option.
12273 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12274 (vc-git--call): Use it.
12276 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12278 * cus-edit.el (Custom-newline): If no button at point, look
12279 for a subgroup button at start-of-line. (Bug#2298)
12281 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12283 2011-03-10 Julien Danjou <julien@danjou.info>
12285 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12286 `cursor-type' is nil.
12288 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
12290 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12292 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
12294 * allout.el: Change so yank of distinctive-bullet items
12295 preserves the existing header prefix, rebulleting it if necessary,
12296 rather than replacing it. This is necessary for proper operation
12297 of cooperative addons like allout-widgets.
12298 (allout-make-topic-prefix, allout-rebullet-heading):
12299 Change SOLICIT arg to INSTEAD, and interpret additionally a string
12300 value as alternate bullet to be used, instead of prompting the user
12301 for a bullet character.
12303 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
12305 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12306 Do not use `tramp-file-name-port', because this returns also
12307 `tramp-default-port'.
12309 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12311 * net/rcirc.el (rcirc-handler-001): Remove useless
12312 with-rcirc-process-buffer.
12313 (rcirc-check-auth-status): Swap arguments to string-match.
12315 2011-03-09 Glenn Morris <rgm@gnu.org>
12317 * shell.el (shell-mode):
12318 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
12320 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12321 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
12323 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
12325 * emacs-lisp/package.el (package-refresh-contents)
12326 (package-menu-execute): Use condition-case-no-debug.
12328 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
12330 * simple.el (shell-command-to-string): Use `process-file'.
12332 * emacs-lisp/package.el (package-tar-file-info): Handle also
12335 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12336 Use `equal' for upload base check.
12338 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12340 * textmodes/texinfo.el (texinfo-environments):
12341 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
12343 2011-03-08 Glenn Morris <rgm@gnu.org>
12345 * cus-start.el (cursor-in-non-selected-windows):
12346 Fix :set quoting oddness. (Bug#8192)
12348 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12349 in some setf expressions. (Bug#2159)
12351 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
12353 * custom.el (custom-available-themes): Return themes in
12354 alphabetical order.
12356 See ChangeLog.15 for earlier changes.
12358 ;; Local Variables:
12362 Copyright (C) 2011-2012 Free Software Foundation, Inc.
12364 This file is part of GNU Emacs.
12366 GNU Emacs is free software: you can redistribute it and/or modify
12367 it under the terms of the GNU General Public License as published by
12368 the Free Software Foundation, either version 3 of the License, or
12369 (at your option) any later version.
12371 GNU Emacs is distributed in the hope that it will be useful,
12372 but WITHOUT ANY WARRANTY; without even the implied warranty of
12373 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12374 GNU General Public License for more details.
12376 You should have received a copy of the GNU General Public License
12377 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.