Allow further `mouse-avoid-mode' customisations
[emacs.git] / lisp / ChangeLog
blob87163f1cae80775b2f416886092358b3eefa065d
1 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3         * avoid.el (mouse-avoidance-banish-position): New variable.
4         (mouse-avoidance-banish-destination): Use it (bug#10165).
6 2012-04-13  Leo Liu  <sdl.web@gmail.com>
8         * progmodes/which-func.el (which-func-modes): Add objc-mode.
10 2012-04-13  Ken Brown  <kbrown@cornell.edu>
12         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
13         this is no longer needed now that cygstart understands file://
14         URLs.
15         (browse-url-filename-alist): For the same reason, don't modify
16         file:// URLs on Cygwin.
18 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
20         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
21         the region on shift if the binding is already shifted (bug#11221).
23 2012-04-12  Glenn Morris  <rgm@gnu.org>
25         * mail/mailpost.el: Move to obsolete/.
27 2012-04-12  Drew Adams  <drew.adams@oracle.com>
29         * imenu.el (imenu--generic-function): Ignore invisible definitions
30         (bug#10123).
32 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
34         * hexl.el (hexl-bits): New variable.
35         (hexl-options): Mention the variable in the doc string.
36         (hexl-rulerise): New function.
37         (hexl-line-displen): New function
38         (hexl-mode): Mention the new variable.
39         (hexl-mode, hexl-current-address, hexl-current-address): Use the
40         displen.
41         (hexl-ascii-start-column): New function.
42         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
43         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
45 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
47         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
48         '("-i" ENCODING), in 2 separate command-line arguments, to specify
49         the encoding, as expected by hunspell.
51 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
53         * battery.el (battery--linux-sysfs-regexp): New const.
54         (battery-status-function): Use it.  Remove yeeloong special case.
55         (battery-yeeloong-sysfs): Remove.
56         (battery-echo-area-format): Remove yeeloong special case.
58 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
60         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
61         Reported by Noah Friedman.
63         * subr.el (read-passwd): Use read-string.
65 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
67         * vcursor.el (vcursor-move): Increase the priority of the overlay
68         (bug#9663).
70 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
72         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
73         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
75 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
77         * textmodes/artist.el (artist-mode): Convert artist-mode to use
78         define-minor-mode (bug#10760).
80 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
82         * lisp/progmodes/grep.el (rgrep): Tweak the find command line so
83         that directories matching `grep-find-ignored-files' won't be
84         pruned (bug#10351).
86 2012-04-11  Chong Yidong  <cyd@gnu.org>
88         * startup.el (command-line): Remove support for long-obsolete
89         variable font-lock-face-attributes.
91 2012-04-11  Glenn Morris  <rgm@gnu.org>
93         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
95 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
97         * window.el (window--state-get-1): Obey window-point-insertion-type.
99 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
101         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
102         to previous function when point is on the first character of a
103         function. Take care of that in `narrow-to-defun' (bug#6157).
105 2012-04-11  Glenn Morris  <rgm@gnu.org>
107         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
108         not just file-errors.
110         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
111         (vc-bzr-sha1): Use internal sha1.
113 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
115         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
117 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
119         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
120         that start in the middle of the line (bug#10496).
122 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
124         * battery.el (battery-linux-proc-acpi): Only one battery is
125         discharged at a time, but that seems to confuse battery.el when
126         computing `rate-type' for the battery not being discharged
127         (bug#10332).
129 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
131         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
133         * international/quail.el: Use dolist and simplify.
134         (quail-define-package, quail-update-keyboard-layout)
135         (quail-define-rules): Use dolist.
136         (quail-insert-kbd-layout, quail-get-translation): CSE.
138         * tmm.el: Use dolist, remove left over hook.
139         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
140         Use dolist.
141         (calendar-load-hook): Don't mess with it.
143         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
144         Use derived-mode-p.  Run the diff asynchronously.
146 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
148         * obsolete/mouse-sel.el: Add an Obsolete-since header.
150 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
152         * misc.el: Display absolute path of loaded DLLs (bug#10424).
153         (list-dynamic-libraries--loaded): New function.
154         (list-dynamic-libraries--refresh): Use it.
156 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
158         * progmodes/python.el (python-fill-paragraph):
159         Make python-fill-region in a multiline string work when font-lock is
160         disabled (bug#7018).
162 2012-04-10  Laimonas Vėbra  <laimonas.vebra@gmail.com>  (tiny change)
164         * language/european.el (cp775): Add oem/legacy (en)coding on
165         DOS/MS Windows for the Baltic languages. There are still plenty of
166         texts written in this encoding/codepage (bug#6519).
168 2012-04-10  Glenn Morris  <rgm@gnu.org>
170         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
171         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
173 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
175         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
176         next-line "n" and previous-line "p" in order to make recentf more
177         consistent with ibuffer, dired or org-mode (bug#9387).
179 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
181         * image.el (put-image): Return the overlay created instead of the
182         optional input string (bug#7834).  Note that this may break code
183         that is (for some reason or other) depending on `put-image'
184         returning the string.
186         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
188         * simple.el (zap-to-char): Allow zapping using input methods
189         (bug#1580).
191         * textmodes/fill.el (fill-region): Leave point and mark where they
192         were before filling (bug#5399).
194 2012-04-09  Glenn Morris  <rgm@gnu.org>
196         * version.el (emacs-bzr-get-version):
197         Handle lightweight checkouts of local branches.
199 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
201         * international/characters.el: Recover lost case pairs.  (Bug#11209)
203 2012-04-09  Chong Yidong  <cyd@gnu.org>
205         * custom.el (custom-variable-p): Return nil for non-symbol
206         arguments instead of signaling an error.
207         (user-variable-p): Obsolete alias for custom-variable-p.
209         * apropos.el (apropos-variable):
210         * files-x.el (read-file-local-variable):
211         * simple.el (set-variable):
212         * woman.el (woman-mini-help):
213         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
215 2012-04-09  Glenn Morris  <rgm@gnu.org>
217         * startup.el (normal-top-level): Don't look for leim-list.el
218         in places where it will not be found.  (Bug#910)
220         * international/mule-cmds.el (set-default-coding-systems):
221         * files.el (normal-mode):
222         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
223         This function was removed with ucs-tables.el in 2008.
225 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
227         * textmodes/ispell.el (ispell-check-version): For hunspell, set
228         ispell-encoding8-command to "-i", without a trailing space.
229         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
230         separate command-line arguments, to specify the encoding, since
231         that's how hunspell expects it.
233 2012-04-08  Glenn Morris  <rgm@gnu.org>
235         * loadup.el: Load bindings before cus-start.
236         This reduces somewhat the number of "rogue" settings in emacs -Q.
238 2012-04-07  Glenn Morris  <rgm@gnu.org>
240         * version.el (emacs-bzr-get-version): New function.
241         (emacs-bzr-version): New variable.
242         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
243         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
245 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
247         * international/uni-bidi.el, international/uni-category.el:
248         * international/uni-combining.el, international/uni-decimal.el:
249         * international/uni-decomposition.el, international/uni-digit.el:
250         * international/uni-lowercase.el, international/uni-mirrored.el:
251         * international/uni-name.el, international/uni-numeric.el:
252         * international/uni-titlecase.el, international/uni-uppercase.el:
253         Update for Unicode 6.1.
255 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
257         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
259 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
261         * window.el (shrink-window): Mention the `window-min-height'
262         variable in the doc string.
264 2012-04-05  Bastien Guerry  <bzg@altern.org>
266         * color.el (color-lighten-name): Fix typo.
268 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
270         * server.el (server--on-display-p): New function.
271         (server--on-display-p): Use it.
273 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
275         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
276         (bug#11145).
278 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
280         * comint.el (comint--common-quoted-suffix): Check string boundary
281         before comparing (bug#11158).
282         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
284 2012-04-04  Chong Yidong  <cyd@gnu.org>
286         * minibuffer.el (completion-extra-properties): Doc fix.
288         * subr.el (delayed-warnings-hook): Doc fix.
290 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
292         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
293         selection (Bug#11159).
294         (epa-insert-keys): Inform that the default public key will be
295         exported if no key is selected.
297 2012-04-04  Richard Stallman  <rms@gnu.org>
299         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
301 2012-04-03  Chong Yidong  <cyd@gnu.org>
303         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
304         mail-insert-file, not its obsolete alias mail-attach-file.
306 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
308         * notifications.el (notifications-notify): Fix docstring.
310 2012-04-02  Glenn Morris  <rgm@gnu.org>
312         * emacs-lisp/authors.el (authors-aliases): Another addition.
314 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
316         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
317         `tramp-compat-call-process' instead of `tramp-local-call-process'.
318         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
320 2012-04-01  Chong Yidong  <cyd@gnu.org>
322         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
323         Handle root directory properly.
324         (copy-directory): Caller changed.
326         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
327         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
329 2012-03-31  Glenn Morris  <rgm@gnu.org>
331         * term/xterm.el (xterm-extra-capabilities): Doc fix.
333         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
335         * calendar/calendar.el (calendar-window-list)
336         (calendar-hide-window): Restore.  (Bug#11140)
337         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
339         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
341 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
343         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
344         Check if file is a symlink (Bug#10489).
346         * files.el (copy-directory): Likewise.
348 2012-03-30  Chong Yidong  <cyd@gnu.org>
350         * image.el (imagemagick-types-inhibit)
351         (imagemagick-register-types): Doc fix.
353 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
355         * ispell.el (ispell-get-extended-character-mode): Disable
356         extended-char-mode for hunspell. hunspell does not support it and
357         treats ~word as ordinary words in pipe mode.
359 2012-03-30  Glenn Morris  <rgm@gnu.org>
361         * tutorial.el (help-with-tutorial): Ensure local variables don't
362         happen to make the buffer read-only.  (Bug#11127)
364 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
366         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
367         (perl-calculate-indent): Return `noindent' in strings.
369 2012-03-28  Sam Steingold  <sds@gnu.org>
371         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
372         instead of the broken adhockery which does not prevent calendar
373         buffers from being displayed at random after exit.
374         (calendar-window-list, calendar-hide-window): Remove the broken
375         adhockery.
377 2012-03-28  Glenn Morris  <rgm@gnu.org>
379         * replace.el (query-replace-map): Doc fix.
381 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
383         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
384         contents.  (Bug#11109)
386 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
388         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
389         (bug#11077).
390         (avl-tree--check, avl-tree--check-node): New funs.
392 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
394         * window.el (switch-to-visible-buffer): New option.
395         (switch-to-prev-buffer, switch-to-next-buffer):
396         Observe switch-to-visible-buffer.  Make sure that checking for a window
397         showing a buffer already is done on the same frame.
399 2012-03-27  Glenn Morris  <rgm@gnu.org>
401         * startup.el (mail-host-address): Doc fix.
403 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
405         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
406         than 197 variables.
408 2012-03-26  Ami Fischman  <ami@fischman.org>
410         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
412 2012-03-26  Glenn Morris  <rgm@gnu.org>
414         * files.el (save-buffers-kill-emacs): Doc fix.
416         * startup.el (normal-top-level, command-line, command-line-1):
417         Give them doc strings.
419 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
421         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
422         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
424 2012-03-25  Chong Yidong  <cyd@gnu.org>
426         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
427         theme if it was previously enabled before (Bug#11031).
429         * cus-theme.el (custom-theme-write-faces): Retrieve current face
430         spec with custom-face-get-current-spec if its :shown-value is not
431         determined yet (Bug#9337).
432         (customize-create-theme, custom-theme-revert): Doc fixes.
434         * button.el (button-at): Minor addition to docstring.
436 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
438         * vc/vc.el (vc-merge): Fix a prompt.
440 2012-03-24  Chong Yidong  <cyd@gnu.org>
442         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
443         point (Bug#9623).
445         * button.el (button-at): Minor addition to docstring.
447 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
449         * newcomment.el (comment-choose-indent): No space after BOL.
451 2012-03-22  Sam Steingold  <sds@gnu.org>
453         * window.el (switch-to-prev-buffer): Revert last patch because the
454         bug turned out to be an advertised feature (Elisp manual 28.14).
456 2012-03-22  Glenn Morris  <rgm@gnu.org>
458         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
459         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
461 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
463         * net/network-stream.el (network-stream-open-starttls): Make error
464         message under Windows be less misleading.
466 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
468         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
469         understands (bug#9942).
471 2012-03-22  Chong Yidong  <cyd@gnu.org>
473         * simple.el (end-of-visible-line): Handle return value of
474         next-single-property-change properly (Bug#9371).
476 2012-03-22  Kenichi Handa  <handa@m17n.org>
478         * international/quail.el (quail-insert-kbd-layout): Fix previous
479         change.  To avoid unwanted bidi reordering, use
480         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
482 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
484         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
485         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
486         (ruby-beginning-of-indent): Be more careful with the difference
487         between word-boundary and symbol boundary.
488         (ruby-mode-syntax-table): Make : a symbol constituent.
490 2012-03-21  Andreas Politz  <politza@fh-trier.de>
492         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
494 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
496         * progmodes/etags.el (tags-completion-at-point-function):
497         Improve last fix.
499         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
501 2012-03-21  Sam Steingold  <sds@gnu.org>
503         * progmodes/etags.el (tags-completion-at-point-function):
504         Avoid the error when point is inside the pattern.
506 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
508         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
509         line (Bug#10855).
511 2012-03-21  Drew Adams  <drew.adams@oracle.com>
513         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
515 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
517         * ido.el (ido-set-current-directory, ido-read-internal)
518         (ido-choose-completion-string, ido-completion-help): Handle nil
519         value of ido-completion-buffer (Bug#11008).
521 2012-03-21  Sam Steingold  <sds@gnu.org>
523         * window.el (switch-to-prev-buffer): Do not switch to a visible
524         window previous buffer, just like with the frame previous buffers.
526 2012-03-21  Chong Yidong  <cyd@gnu.org>
528         * faces.el (make-face, make-empty-face, copy-face):
529         * face-remap.el (face-remap-add-relative, face-remap-set-base):
530         Doc fixes.
532 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
534         * wid-edit.el (widget-complete-field): Remove (bug#11051).
535         (widget-complete): Remove broken use of it.
537 2012-03-20  Chong Yidong  <cyd@gnu.org>
539         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
540         Use string-width and truncate-string-width to handle arbitrary
541         characters.
543 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
545         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
546         to draw rectangles, not squares.  (Regression introduced by revno
547         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
549 2012-03-18  Chong Yidong  <cyd@gnu.org>
551         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
552         it is not yet defined (for temacs).
554 2012-03-18  Leo Liu  <sdl.web@gmail.com>
556         * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
558 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
560         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
561         (ispell-choices-win-default-height, ispell-silently-savep)
562         (ispell-dictionary-alist, ispell-encoding8-command)
563         (ispell-check-version, ispell-aspell-find-dictionary)
564         (ispell-valid-dictionary-list, ispell-words-keyword)
565         (ispell-get-word, ispell-internal-change-dictionary)
566         (ispell-region, ispell-skip-region-list)
567         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
568         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
569         (ispell-message-text-end, ispell-message)
570         (ispell-buffer-local-parsing): Doc fix.
572 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
574         * htmlfontify.el: Add support for code block fontification for ODT
575         export (Bug #9914).
576         (hfy-optimisations): Define new option
577         `body-text-only'
578         (hfy-fontify-buffer): Honor above setting.
579         (hfy-begin-span, hfy-end-span): New routines factored out form
580         `hfy-fontify-buffer'.
581         (hfy-begin-span-handler, hfy-end-span-handler): New variables
582         that permit insertion of custom tags.
583         (hfy-fontify-buffer): Use above handlers.
584         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
585         (hfy-face-to-css): Re-defined to be a variable.
586         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
587         over multiple runs. This is made possible by having the caller let
588         bind a special variable `hfy-user-sheet-assoc'.
589         (htmlfontify-string): New defun.
590         (hfy-compile-face-map): Make sure that the last char in the
591         buffer is correctly fontified.
592         (hfy-face-resolve-face): Whitespace only change.
594 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
596         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
597         message more clear.
599 2012-03-16  Leo Liu  <sdl.web@gmail.com>
601         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
603 2012-03-16  Alan Mackenzie  <acm@muc.de>
605         Further optimise the handling of large macros.
607         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
608         limit to a call of `c-literal-limits'.
609         (c-determine-+ve-limit): New function.
610         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
611         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
612         In CASE 5B, restrict a search limit to 500.
613         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
615         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
616         Restrict macro bounds to +-500 from after-change's BEG END.
618 2012-03-16  Leo Liu  <sdl.web@gmail.com>
620         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
622 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
624         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
625         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
627 2012-03-16  Glenn Morris  <rgm@gnu.org>
629         * view.el (view-buffer, view-buffer-other-window)
630         (view-buffer-other-frame): Doc fixes re special mode-class.
632         * subr.el (eval-after-load): If named feature is provided not from
633         a file, run after-load forms.  (Bug#10946)
635         * calendar/calendar.el (calendar-insert-at-column):
636         Handle non-unit-width characters a bit better.  (Bug#10978)
638 2012-03-15  Chong Yidong  <cyd@gnu.org>
640         * emacs-lisp/ring.el (ring-extend): New function.
641         (ring-insert+extend): Extend the ring correctly (Bug#11019).
643         * comint.el (comint-read-input-ring)
644         (comint-add-to-input-history): Grow comint-input-ring lazily.
646 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
648         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
649         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
651         * imenu.el: Fix multiple inheritance breakage (bug#9199).
652         (imenu-add-to-menubar): Don't add a redundant index.
653         (imenu-update-menubar): Handle a dynamically composed keymap.
655 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
657         * mail/sendmail.el (mail-encode-header):
658         Bind rfc2047-encode-encoded-words to nil.
660 2012-03-13  Glenn Morris  <rgm@gnu.org>
662         * calendar/calendar.el (calendar-string-spread):
663         Handle non-unit-width characters a bit better.  (Bug#10978)
665 2012-03-13  Leo Liu  <sdl.web@gmail.com>
667         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
668         directory and file as argument (Bug#10822).
670 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
672         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
673         For dynamically generated code, follow $PC.
674         (gdb-disassembly-handler-custom): Handle no function name case.
676 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
678         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
679         * emulation/ws-mode.el (ws-query-replace):
680         * sort.el (sort-regexp-fields):
681         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
683 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
685         * dabbrev.el: Fix cycle completion order (bug#10963).
686         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
687         (dabbrev-completion): Don't use an obarray; provide
688         a cycle-sort-function.
690 2012-03-12  Leo Liu  <sdl.web@gmail.com>
692         * simple.el (kill-new): Use equal-including-properties for comparison.
693         (kill-do-not-save-duplicates): Doc fix.
695 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
697         * dabbrev.el: Fix cycle completion (bug#10963).
698         Use lexical binding and wrap to 80 columns.
699         (dabbrev-completion): Delay computing the list of completions.
701 2012-03-12  Kenichi Handa  <handa@m17n.org>
703         * international/quail.el (quail-insert-kbd-layout): Surround each
704         row by LRO and PDF instead of inserting many LRMs.  Pad the left
705         and right of each non-spacing marks.  Insert invisible space
706         between lower and upper characters to prevent composition.
708 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
710         * minibuffer.el (minibuffer-complete): Don't get confused when the
711         function is run twice via different commands (bug#10958).
712         (complete-with-action): Fix docstring.
714 2012-03-12  Chong Yidong  <cyd@gnu.org>
716         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
717         (nxml-completion-at-point-function): New function.
718         (nxml-mode): Use it.
719         (nxml-bind-meta-tab-to-complete-flag): Default to t.
721         * emacs-lisp/package.el (package-unpack, package-unpack-single):
722         Load generated autoloads file before byte compiling (Bug#10970).
723         (package--make-autoloads-and-compile): New helper fun.
725 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
727         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
729 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
731         * autorevert.el (auto-revert-handler): Ensure, that
732         file-readable-p is applied only for local files or in
733         auto-revert-tail-mode.
735 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
737         * server.el (server-eval-at): Handle non-tcp connections.
738         Decode result string.
740         * server.el (server-msg-size): New constant.
741         (server-reply-print): New function.
742         (server-eval-and-print): Use it.
743         (server-eval-at): Use server-quote-arg and server-unquote-arg.
744         Handle -print-nonl.
746 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
748         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
749         (Bug#10987).
751 2012-03-11  Chong Yidong  <cyd@gnu.org>
753         * simple.el (goto-line): Doc fix (Bug#9938).
755         * subr.el (save-window-excursion): Doc fix (Bug#9979).
757         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
758         when finished (Bug#10963).
760 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
762         * window.el (split-window-below): Fix bug in case where
763         split-window-keep-point is nil (Bug#10971).
765 2012-03-11  Juri Linkov  <juri@jurta.org>
767         * replace.el (replace-highlight): Set isearch-word to nil
768         unconditionally.  (Bug#10887)
770 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
772         * net/mairix.el (mairix-replace-invalid-chars): Rename from
773         mairix-replace-illegal-chars; all callers changed.  Don't remove
774         ^, ~, and = characters: they are meaningful in mairix search specs.
775         (mairix-widget-create-query): Add usage information about mairix
776         search forms: negating words, searching for substrings, etc.
778 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
780         * international/fontset.el (font-encoding-alist): Add an entry for
781         ksx1001 (Bug#5667).
783 2012-03-10  Richard Stallman  <rms@gnu.org>
785         * mail/sendmail.el (mail-encode-header):
786         Set rfc2047-encode-encoded-words.
788         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
790         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
791         view buffer means not swapped.
792         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
793         (rmail-write-region-annotate): Error if real text has disappeared.
795         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
797 2012-03-10  Chong Yidong  <cyd@gnu.org>
799         * emulation/cua-rect.el (cua--init-rectangles):
800         * emulation/cua-base.el (cua--init-keymaps):
801         Add delete-forward-char to remappings (Bug#9666).
803 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
805         * speedbar.el (speedbar-unhighlight-one-tag-line):
806         Avoid unhighlighting due to frame switching (Bug#10275).
808 2012-03-10  Chong Yidong  <cyd@gnu.org>
810         * minibuffer.el (completion-in-region, completion-help-at-point):
811         Give the completion field overlay a high priority (Bug#6830).
813         * dired.el (dired-goto-file): Recognize absolute file name
814         listings (Bug#7126).
815         (dired-goto-file-1): New helper function.
816         (dired-toggle-read-only): Inhibit warnings.
818 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
820         * net/dbus.el: (dbus-property-handler): Return empty array if
821         there are no properties.
823 2012-03-09  Leo Liu  <sdl.web@gmail.com>
825         * savehist.el (savehist-printable): Stricter check for string
826         value (Bug#10937).
828 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
830         * mail/smtpmail.el (smtpmail-send-it):
831         Bind coding-system-for-write to *-unix, so that FCC files are kept in
832         valid mbox format.
834 2012-03-09  Glenn Morris  <rgm@gnu.org>
836         * files.el (dir-locals-find-file):
837         Don't check result is regular, readable.
838         (dir-locals-read-from-file): Demote errors.
840 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
842         * international/quail.el (quail-insert-kbd-layout):
843         Insert invisible LRM characters before each character in a keyboard
844         layout cell, to prevent their reordering by bidi display engine.
845         For details, see the discussion in
846         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
848 2012-03-08  Alan Mackenzie  <acm@muc.de>
850         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
851         the starting position; make it extend the marked region when
852         invoked repeatedly - all under appropriate circumstances.
853         Fixes bugs #5525, #10906.
855 2012-03-08  Glenn Morris  <rgm@gnu.org>
857         * files.el (locate-dominating-file, dir-locals-find-file):
858         Undo 2012-03-06 change.
860 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
862         * international/quail.el (quail-help):
863         Force bidi-paragraph-direction be left-to-right.  See discussion in
864         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
865         for the reason.
867 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
869         Avoid superfluous registering of signals.  (Bug#10807)
871         * notifications.el (notifications-on-action-object)
872         (notifications-on-close-object): New defvars.
873         (notifications-on-action-signal, notifications-on-closed-signal):
874         Unregister the signal if not needed any longer.
875         (notifications-notify): Register `notifications-action-signal' or
876         `notifications-closed-signal', if :on-action or :on-close has been
877         passed as argument.
879 2012-03-07  Chong Yidong  <cyd@gnu.org>
881         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
882         non-X platforms.
884 2012-03-06  Glenn Morris  <rgm@gnu.org>
886         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
887         (x-disown-selection-internal, x-get-selection-internal):
888         Doc fix (add arglist signatures).  (Bug#10783)
890 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
892         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
893         Handle breakpoints with no "type".
895 2012-03-06  Glenn Morris  <rgm@gnu.org>
897         * files.el (locate-dominating-file): Add optional predicate argument.
898         (dir-locals-find-file): Make use of above change.
900 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
902         * info.el (Info-insert-dir): Also try "dir.gz".
904 2012-03-06  Glenn Morris  <rgm@gnu.org>
906         * files.el (dir-locals-find-file):
907         Ignore non-readable or non-regular files.  (Bug#10928)
909         * files.el (locate-dominating-file): Doc fix.
911 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
913         * calendar/calendar.el (calendar-set-mode-line):
914         `getenv' returns a string.  (Bug#10951)
916 2012-03-05  Leo Liu  <sdl.web@gmail.com>
918         * simple.el (backward-delete-char-untabify): Constrain point to
919         field (Bug#10939).
921         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
923 2012-03-05  Chong Yidong  <cyd@gnu.org>
925         * simple.el (count-words): If called from Lisp, return the word
926         count, for symmetry with `count-lines'.  Arglist changed.
927         (count-words--message): Args changed.  Consolidate counting code
928         from count-words and count-words-region.
929         (count-words-region): Caller changed.
930         (count-lines-region): Make it an obsolete alias.
932 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
934         * saveplace.el (save-place-to-alist)
935         (save-place-ignore-files-regexp): Allow value nil to disable this
936         feature.
938 2012-03-04  Chong Yidong  <cyd@gnu.org>
940         * faces.el (face-spec-reset-face): For the default face, reset the
941         attributes to default values (Bug#10748).
943 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
945         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
946         previous patch: Check `message-send-mail-function', and not the
947         default function (bug#10897).
949 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
951         * notifications.el (notifications-on-action-signal)
952         (notifications-on-closed-signal): Check for unique service name of
953         incoming event.  Fix error in removing entry.
954         (top): Register for signals with wildcard service name.
955         (notifications-notify): Use daemon unique service name for map entries.
957 2012-03-04  Chong Yidong  <cyd@gnu.org>
959         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
961 2012-03-04  Glenn Morris  <rgm@gnu.org>
963         * abbrev.el (copy-abbrev-table, abbrev-table-p)
964         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
965         (expand-abbrev, define-abbrev-table): Doc fixes.
967 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
969         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
970         `message-default-send-mail-function' and not `send-mail-function'
971         when doing the prompting for `sendmail-query-once' before sending
972         in Message buffers (bug#10897).
974         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
975         This is inconsistent with all the other stream functions, which leave
976         the setting up to the higher levels (if so wanted) (bug#10931).
978 2012-03-02  Alan Mackenzie  <acm@muc.de>
980         Depessimize the handling of very large macros.
982         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
983         (c-macro-cache-syntactic): New variables to implement a one
984         element macro cache.
985         (c-invalidate-macro-cache): New function.
986         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
987         Adapt to use the new cache.
988         (c-state-safe-place): Use better the cache of safe positions.
989         (c-state-semi-nonlit-pos-cache)
990         (c-state-semi-nonlit-pos-cache-limit):
991         New variables for...
992         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
993         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
994         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
995         Use c-state-semi-safe-place.
997         * progmodes/cc-langs.el (c-get-state-before-change-functions):
998         Add c-invalidate-macro-cache to the C, C++, Obj entries.
1000 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
1002         * jka-compr.el (jka-compr-call-process):
1003         Apply `file-accessible-directory-p' only when the default directory is
1004         not remote.
1006 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
1008         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
1009         access of FILE2, if FILE1 does not exist.
1011         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1012         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1014         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1015         Add "PAGER=" to `process-environment'.
1017 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
1019         * progmodes/sql.el: Bug fix
1020         (sql-get-login-ext): Save login values in globals.
1021         (sql-get-login): Use new version of `sql-get-login-ext'.
1022         (sql-interactive-mode): Set global `sql-connection' to nil.
1023         (sql-connect): Set global values for connection.
1024         (sql-product-interactive): Save global values as buffer local.
1026 2012-02-29  Leo Liu  <sdl.web@gmail.com>
1028         * abbrev.el (define-abbrevs): Reset sys to nil.
1030 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1032         * files.el (file-equal-p): Rename from `files-equal-p'.
1033         Return nil when one or both files don't exist.
1034         (file-subdir-of-p): Now only top directory must exists,
1035         return nil if it doesn't.
1036         (copy-directory): No need to test with `file-subdir-of-p' after
1037         creating dir.
1038         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1039         to `file-equal-p'.
1041 2012-02-28  Glenn Morris  <rgm@gnu.org>
1043         * shell.el (shell-mode):
1044         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1045         * play/landmark.el (landmark-font-lock-face-O):
1046         * play/handwrite.el (handwrite):
1047         * play/gomoku.el (gomoku-O):
1048         * net/browse-url.el (browse-url-browser-display):
1049         * international/mule.el (define-charset):
1050         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1051         * filesets.el (filesets-find-file-delay):
1052         * eshell/em-xtra.el (eshell-xtra):
1053         * eshell/em-unix.el (eshell-grep):
1054         * emulation/viper.el (viper-mode):
1055         * emacs-lisp/regexp-opt.el (regexp-opt-group):
1056         * emacs-lisp/easymenu.el (easy-menu-define):
1057         * calendar/timeclock.el (timeclock-use-display-time):
1058         * bs.el (bs-mode):
1059         * bookmark.el (bookmark-save-flag):
1060         Doc fix (standardize possessive apostrophe usage).
1062 2012-02-27  Chong Yidong  <cyd@gnu.org>
1064         * emulation/viper-cmd.el (viper-intercept-ESC-key):
1065         Fix key-binding lookup for ESC key (Bug#9146).
1067         * font-lock.el (font-lock-specified-p): Rename from
1068         font-lock-spec-present.  Callers changed.
1070 2012-02-27  Daniel Hackney  <dan@haxney.org>
1072         * emacs-lisp/package.el (package-compute-transaction):
1073         Handle holding a package version to t in package-load-list.
1075 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
1077         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1078         (tramp-get-inode, tramp-get-device): Use cached values.
1080 2012-02-26  Alan Mackenzie  <acm@muc.de>
1082         Check there is a font-lock specification before doing initial
1083         fontification.
1085         * font-core.el (font-lock-mode): Move the conditional from
1086         :after-hook to font-lock-initial-fontify.
1087         (font-lock-default-function): Move the check for a specification
1088         to font-lock-spec-present.
1090         * font-lock.el (font-lock-initial-fontify): Call ...
1091         (font-lock-spec-present): New function.
1093 2012-02-26  Jim Blandy  <jimb@red-bean.com>
1095         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1096         (gdb-send): Apply it to the operand of the '-interpreter-exec
1097         console' command, so that we can pass arguments with (say) quotes
1098         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
1100 2012-02-26  Chong Yidong  <cyd@gnu.org>
1102         * help-fns.el (describe-function-1): Clarify description of
1103         remapping (Bug#10844).
1105         * files.el (files-equal-p): Doc fix.
1106         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
1107         and quit the loop once a mismatch is found.
1109 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
1111         * bs.el (bs--show-with-configuration): Don't throw an error
1112         if the window cannot be split; otherwise, subsequent calls to
1113         bs-show fail, restoring a stale window config.  (Bug#10882)
1115 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
1117         * term/ns-win.el (global-map): Bind ns-drag-file to
1118         ns-find-file (Bug#5855, Bug#10050).
1120 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
1122         * calendar/parse-time.el (parse-time-string): Allow extractor to
1123         return nil.
1125 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
1127         * net/tramp.el (tramp-file-name-for-operation):
1128         Add `files-equal-p' and `file-subdir-of-p'.
1130         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1131         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1132         Add COPY-CONTENTS argument.
1134 2012-02-25  Chong Yidong  <cyd@gnu.org>
1136         Add custom groups for VC backends, for consistency with vc-bzr.
1138         * vc/vc-arch.el (vc-arch):
1139         * vc/vc-cvs.el (vc-cvs):
1140         * vc/vc-git.el (vc-git):
1141         * vc/vc-hg.el (vc-hg):
1142         * vc/vc-mtn.el (vc-mtn):
1143         * vc/vc-rcs.el (vc-rcs):
1144         * vc/vc-sccs.el (vc-sccs):
1145         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1146         All relevant defcustoms reassigned.
1148 2012-02-25  Chong Yidong  <cyd@gnu.org>
1150         * newcomment.el (comment-styles): Add autoload (Bug#10868).
1152         * term/x-win.el (x-initialize-window-system): Reduce default for
1153         x-selection-timeout to 5 seconds (Bug#8869).
1155 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1157         * files.el (file-subdir-of-p): Fix typo.
1159 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1161         * files.el (files-equal-p, file-subdir-of-p): New functions.
1162         (copy-directory): Error when trying to copy a directory on itself.
1163         Add missing copy-contents arg to tramp handler.
1164         * dired-aux.el (dired-copy-file-recursive): Same.
1165         (dired-create-files): Modify destination when source is equal to
1166         dest when copying files.
1167         Return also when dest is a subdir of source.  (Bug#10489)
1169 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
1171         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1172         (Bug#10874)
1174 2012-02-23  Alan Mackenzie  <acm@muc.de>
1176         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1177         parameter "after-hook:" to allow the expansion to run code after
1178         the execution of the mode hooks.
1180         * font-lock.el (font-lock-initial-fontify): New function extracted
1181         from font-lock-mode-internal.
1183         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
1184         :after-hook.
1186 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1188         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1189         (completion--cache-all-sorted-completions): New function.
1190         (completion-all-sorted-completions): Use it.
1191         (completion--do-completion, minibuffer-force-complete):
1192         Use it to re-instate the flush hook.
1194         * icomplete.el (icomplete-completions): Replace last fix with a better
1195         one (bug#10850).
1197 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
1199         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1200         when it might call us back infinitely (bug#10797).
1202 2012-02-23  Glenn Morris  <rgm@gnu.org>
1204         * minibuffer.el (completion-category-overrides): Doc fix.
1206 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1208         * minibuffer.el (completion-table-with-context): Fix inf-loop.
1209         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1211 2012-02-23  Glenn Morris  <rgm@gnu.org>
1213         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
1214         (authors-obsolete-files-regexps, authors-ignored-files)
1215         (authors-ambiguous-files, authors-renamed-files-alist):
1216         Add more entries.
1218 2012-02-23  Juri Linkov  <juri@jurta.org>
1220         * isearch.el (isearch-occur): Sync interactive spec with occur's
1221         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
1223         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1225 2012-02-22  Juri Linkov  <juri@jurta.org>
1227         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1228         (ucs-insert): Doc fix.  Check for hex digits in the string.
1229         Don't display `nil' in the error message.  (Bug#10857)
1231 2012-02-22  Alan Mackenzie  <acm@muc.de>
1233         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
1235 2012-02-22  Glenn Morris  <rgm@gnu.org>
1237         * ffap.el (ffap-c-path):
1238         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
1240 2012-02-22  Chong Yidong  <cyd@gnu.org>
1242         * custom.el (load-theme): Doc fix.
1244 2012-02-22  Glenn Morris  <rgm@gnu.org>
1246         * dired-x.el (dired-guess-shell-alist-default):
1247         Remove escape sequences from nroff output.  (Bug#172)
1249 2012-02-21  Glenn Morris  <rgm@gnu.org>
1251         * vc/emerge.el (emerge-defvar-local):
1252         Set `permanent-local' property rather than unused `preserved'.
1254         * textmodes/picture.el (picture-delete-char): New alias.
1255         (picture-mode-map): Use it.  (Bug#10860)
1256         (picture-mode): Doc fix.
1258 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
1260         * newcomment.el (uncomment-region-default): Remove unused binding.
1262 2012-02-21  Glenn Morris  <rgm@gnu.org>
1264         * textmodes/picture.el (picture-motion, picture-motion-reverse)
1265         (picture-self-insert, picture-tab-chars): Doc fix.
1266         (picture-mode-map): Fix C-a, C-e.
1268 2012-02-20  Glenn Morris  <rgm@gnu.org>
1270         * emacs-lisp/authors.el (authors-aliases): Add another entry.
1272 2012-02-20  Leo Liu  <sdl.web@gmail.com>
1274         * icomplete.el (icomplete-completions): Check FROM arg before
1275         passing to substring (Bug#10850).
1277 2012-02-19  Chong Yidong  <cyd@gnu.org>
1279         * comint.el: Require ansi-color.
1280         (comint-output-filter-functions): Add ansi-color-process-output.
1282         * ansi-color.el: Don't set comint-output-filter-functions; it is
1283         now in the initial value defined in comint.el.
1284         (ansi-color-apply-face-function): New variable.
1285         (ansi-color-apply-on-region): Use it.
1286         (ansi-color-apply-overlay-face): New function.
1288         * shell.el (shell): No need to require ansi-color.
1289         (shell-mode): Use ansi-color-apply-face-function to highlight
1290         color escapes using font-lock-face property (Bug#10835).
1292 2012-02-19  Chong Yidong  <cyd@gnu.org>
1294         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1295         mode-line formats (Bug#10839).
1297 2012-02-18  Glenn Morris  <rgm@gnu.org>
1299         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1301         * mail/undigest.el (unforward-rmail-message): Doc fix.
1303         * saveplace.el (save-place-ignore-files-regexp): Add :version.
1305 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
1307         * international/characters.el (script-list): Sync with the latest
1308         Unicode Character Database.
1310 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
1312         * international/titdic-cnv.el: Remove duplicate coding tag.
1313         * language/cham.el: Likewise.
1314         * language/tai-viet.el: Likewise.
1316 2012-02-18  Glenn Morris  <rgm@gnu.org>
1318         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1319         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1320         (calendar-bahai-all-holidays-flag, calendar-other-dates):
1321         * calendar/diary-lib.el (diary-abbreviated-year-flag):
1322         * calendar/holidays.el (holiday-bahai-holidays)
1323         (calendar-holidays, list-holidays):
1324         Use utf-8 Bahá'í in doc-strings, menus, etc.
1326 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
1328         * saveplace.el (save-place-ignore-files-regexp): New variable
1329         allowing for excluding files from saving their location of point.
1330         The default value matches the temporary commit message editing
1331         files from Git, SVN, Bazaar, and Mercurial.
1332         (save-place-to-alist): Use it.
1334 2012-02-17  Lawrence Mitchell <wence@gmx.li>
1335             Stefan Monnier  <monnier@iro.umontreal.ca>
1337         * newcomment.el (uncomment-region-default): Don't leave extra space
1338         when an arg is provided (bug#8150).
1340 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
1342         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
1344 2012-02-17  Glenn Morris  <rgm@gnu.org>
1346         * net/socks.el: Require network-stream.  (Bug#10599)
1348 2012-02-17  Kenichi Handa  <handa@m17n.org>
1350         * international/charprop.el:
1351         * international/uni-name.el:
1352         * international/uni-old-name.el:
1353         * international/uni-comment.el: Regenerate.
1355 2012-02-16  Glenn Morris  <rgm@gnu.org>
1357         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1358         Interactively in calendar buffer, give an error if not on a date.
1360 2012-02-15  Glenn Morris  <rgm@gnu.org>
1362         * shell.el (shell-delimiter-argument-list):
1363         Revert 2011-02-17 change.  (Bug#8027)
1365 2012-02-15  Chong Yidong  <cyd@gnu.org>
1367         * minibuffer.el (completion-at-point-functions): Doc fix.
1369         * custom.el (defcustom): Doc fix; note use of defvar.
1371 2012-02-15  Glenn Morris  <rgm@gnu.org>
1373         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1374         Doc fixes.
1376 2012-02-14  Glenn Morris  <rgm@gnu.org>
1378         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1380 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
1382         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1383         way the ports list is computed.
1384         (smtpmail-query-smtp-server): Prompt the user for a port number if
1385         we can't connect to any of the standard ports (bug#10810).
1387 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
1389         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1391 2012-02-13  Glenn Morris  <rgm@gnu.org>
1393         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
1395 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
1397         * net/gnutls.el (gnutls-trustfiles): New variable.
1398         (gnutls-negotiate): Use it.
1400 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
1402         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1403         does its stuff if Gnus is running.
1405 2012-02-13  Alan Mackenzie  <acm@muc.de>
1407         Fix a loop in c-set-fl-decl-start.
1409         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
1410         c-backward-syntactic-ws actually moves backwards.
1412 2012-02-13  Leo Liu  <sdl.web@gmail.com>
1414         * net/rcirc.el (rcirc-markup-attributes): Move point to the
1415         beginning so that all \C-o chars are removed.
1417 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
1419         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
1421 2012-02-12  Alan Mackenzie  <acm@muc.de>
1423         Fix infinite loop with long macros.
1424         * cc-engine.el (c-state-safe-place): Handle macros properly.
1426 2012-02-12  Chong Yidong  <cyd@gnu.org>
1428         * window.el (display-buffer): Doc fix (Bug#10785).
1430 2012-02-12  Glenn Morris  <rgm@gnu.org>
1432         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1433         (x-disown-selection-internal, x-get-selection-internal):
1434         Sync docs with the xselect.c versions.
1436         * allout-widgets.el: Add missing license notice.
1438 2012-02-11  Glenn Morris  <rgm@gnu.org>
1440         * select.el (x-get-selection-internal, x-own-selection-internal)
1441         (x-disown-selection-internal):
1442         * x-dnd.el (x-get-selection-internal): Update declarations.
1444         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1446         * window.el (window-sides-slots):
1447         * tool-bar.el (tool-bar-position):
1448         * term/xterm.el (xterm-extra-capabilities):
1449         * ses.el (ses-self-reference-early-detection):
1450         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1451         (verilog-auto-wire-type)
1452         (verilog-auto-delete-trailing-whitespace)
1453         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1454         (verilog-auto-tieoff-declaration):
1455         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1456         (sql-oracle-statement-starters, sql-oracle-scan-on):
1457         * progmodes/prolog.el (prolog-align-comments-flag)
1458         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1459         (prolog-left-indent-regexp, prolog-paren-indent-p)
1460         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1461         (prolog-types, prolog-mode-specificators)
1462         (prolog-determinism-specificators, prolog-directives)
1463         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1464         (prolog-electric-dot-flag)
1465         (prolog-electric-dot-full-predicate-template)
1466         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1467         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1468         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1469         (prolog-program-switches, prolog-prompt-regexp)
1470         (prolog-debug-on-string, prolog-debug-off-string)
1471         (prolog-trace-on-string, prolog-trace-off-string)
1472         (prolog-zip-on-string, prolog-zip-off-string)
1473         (prolog-use-standard-consult-compile-method-flag)
1474         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1475         (prolog-imenu-max-lines, prolog-info-predicate-index)
1476         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1477         (prolog-char-quote-workaround):
1478         * progmodes/cc-vars.el (c-defun-tactic):
1479         * net/tramp.el (tramp-encoding-command-interactive)
1480         (tramp-local-end-of-line):
1481         * net/soap-client.el (soap-client):
1482         * net/netrc.el (netrc-file):
1483         * net/gnutls.el (gnutls):
1484         * minibuffer.el (completion-category-overrides)
1485         (completion-cycle-threshold)
1486         (completion-pcm-complete-word-inserts-delimiters):
1487         * man.el (Man-name-local-regexp):
1488         * mail/feedmail.el (feedmail-display-full-frame):
1489         * international/characters.el (glyphless-char-display-control):
1490         * eshell/em-ls.el (eshell-ls-date-format):
1491         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1492         (lisp-lambda-list-keyword-parameter-indentation)
1493         (lisp-lambda-list-keyword-parameter-alignment):
1494         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1495         * dired-x.el (dired-omit-verbose):
1496         * cus-theme.el (custom-theme-allow-multiple-selections):
1497         * calc/calc.el (calc-highlight-selections-with-faces)
1498         (calc-lu-field-reference, calc-lu-power-reference)
1499         (calc-note-threshold):
1500         * battery.el (battery-mode-line-limit):
1501         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1502         (archive-7z-update):
1503         * allout.el (allout-prefixed-keybindings)
1504         (allout-unprefixed-keybindings)
1505         (allout-inhibit-auto-fill-on-headline)
1506         (allout-flattened-numbering-abbreviation):
1507         * allout-widgets.el (allout-widgets-auto-activation)
1508         (allout-widgets-icons-dark-subdir)
1509         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1510         (allout-widgets-theme-dark-background)
1511         (allout-widgets-theme-light-background)
1512         (allout-widgets-item-image-properties-emacs)
1513         (allout-widgets-item-image-properties-xemacs)
1514         (allout-widgets-run-unit-tests-on-load)
1515         (allout-widgets-time-decoration-activity)
1516         (allout-widgets-hook-error-post-time)
1517         (allout-widgets-track-decoration):
1518         Add missing :version tags to new defcustoms and defgroups.
1520         * progmodes/sql.el (sql-ansi-statement-starters)
1521         (sql-oracle-statement-starters): Add custom type.
1523         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1524         (prolog-system-version): Give it a type.
1526 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
1528         * term/pc-win.el (x-select-text, x-selection-owner-p)
1529         (x-own-selection-internal, x-disown-selection-internal)
1530         (x-get-selection-internal): Sync doc strings and argument lists
1531         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
1533 2012-02-11  Leo Liu  <sdl.web@gmail.com>
1535         * progmodes/python.el (python-end-of-statement): Fix infinite
1536         loop.  (Bug#10788)
1538 2012-02-10  Glenn Morris  <rgm@gnu.org>
1540         * international/mule-cmds.el (unify-8859-on-encoding-mode)
1541         (unify-8859-on-decoding-mode): Properly mark as obsolete.
1543 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
1545         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1546         about SMTP before checking the From header.
1548         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
1549         into own function for reuse by emacsbug.el.
1551 2012-02-10  Leo Liu  <sdl.web@gmail.com>
1553         * subr.el (condition-case-unless-debug): Rename from
1554         condition-case-no-debug.  All callers changed.
1555         (with-demoted-errors): Fix caller.
1557         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1558         * nxml/rng-valid.el (rng-do-some-validation):
1559         * emacs-lisp/package.el (package-refresh-contents)
1560         (package-menu-execute):
1561         * desktop.el (desktop-create-buffer):
1562         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1564 2012-02-10  Glenn Morris  <rgm@gnu.org>
1566         * textmodes/bibtex.el:
1567         Add missing :version tags for new/changed defcustoms.
1569         * files.el (remote-file-name-inhibit-cache): Doc fixes.
1571 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
1573         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1574         (smtpmail-via-smtp): Use it, or fall back on the From address.
1575         (smtpmail-send-it): Ditto.
1577 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1579         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1580         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
1581         (byte-compile-tmp-var): New const.
1582         (byte-compile-defvar): Use it to minimize .elc size.
1583         Just use `defvar' rather than simulate it (bug#10761).
1585 2012-02-09  Glenn Morris  <rgm@gnu.org>
1587         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
1589         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1590         Add :version tags.
1592         * progmodes/compile.el (compilation-error-screen-columns)
1593         (compilation-first-column, compilation-filter-start): Doc fixes.
1595         * vc/log-view.el (log-view-toggle-entry-display):
1596         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1598         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1599         (report-emacs-bug-can-use-xdg-email):
1600         (report-emacs-bug-insert-to-mailer): Doc fixes.
1601         (report-emacs-bug): Message fix.
1603         * net/browse-url.el (browse-url-can-use-xdg-open)
1604         (browse-url-xdg-open): Doc fixes.
1606         * electric.el (electric-indent-mode, electric-pair-mode)
1607         (electric-layout-rules, electric-layout-mode): Doc fixes.
1608         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1610 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
1612         * server.el (server-unselect-display): Don't inadvertently kill
1613         the current buffer.  (Bug#10729)
1615 2012-02-08  Glenn Morris  <rgm@gnu.org>
1617         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1618         (sql-list-table): Doc fixes.
1620         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1621         Comment out (does nothing).
1623         * completion.el (dynamic-completion-mode):
1624         * dirtrack.el (dirtrack-debug-mode):
1625         * electric.el (electric-layout-mode):
1626         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1627         * face-remap.el (text-scale-mode, buffer-face-mode):
1628         * iimage.el (iimage-mode):
1629         * image-mode.el (image-transform-mode):
1630         * minibuffer.el (completion-in-region-mode):
1631         * scroll-lock.el (scroll-lock-mode):
1632         * simple.el (next-error-follow-minor-mode):
1633         * tar-mode.el (tar-subfile-mode):
1634         * tooltip.el (tooltip-mode):
1635         * vcursor.el (vcursor-use-vcursor-map):
1636         * wid-browse.el (widget-minor-mode):
1637         * emulation/tpu-edt.el (tpu-edt-mode):
1638         * emulation/tpu-extras.el (tpu-cursor-free-mode):
1639         * international/iso-ascii.el (iso-ascii-mode):
1640         * language/thai-util.el (thai-word-mode):
1641         * mail/supercite.el (sc-minor-mode):
1642         * net/goto-addr.el (goto-address-mode):
1643         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1644         * progmodes/cwarn.el (cwarn-mode):
1645         * progmodes/flymake.el (flymake-mode):
1646         * progmodes/glasses.el (glasses-mode):
1647         * progmodes/hideshow.el (hs-minor-mode):
1648         * progmodes/pascal.el (pascal-outline-mode):
1649         * textmodes/enriched.el (enriched-mode):
1650         * vc/smerge-mode.el (smerge-mode):
1651         Doc fixes (minor mode argument).
1653 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
1655         * ls-lisp.el (ls-lisp-sanitize): New function.
1656         (ls-lisp-insert-directory): Use it to fix or remove any elements
1657         in file-alist with missing attributes.  (Bug#4673)
1659 2012-02-07  Alan Mackenzie  <acm@muc.de>
1661         Fix spurious recognition of c-in-knr-argdecl.
1663         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1664         putative K&R region.
1666 2012-02-07  Alan Mackenzie  <acm@muc.de>
1668         * progmodes/cc-engine.el (c-forward-objc-directive):
1669         Prevent looping in "#pragma mark @implementation".
1671 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
1673         * notifications.el (notifications-on-closed-signal): Make `reason'
1674         optional.  (Bug#10744)
1676 2012-02-07  Glenn Morris  <rgm@gnu.org>
1678         * emacs-lisp/easy-mmode.el (define-minor-mode):
1679         Doc fixes for the macro and the mode it defines.
1681         * image.el (imagemagick-types-inhibit): Doc fix.
1683         * cus-start.el (imagemagick-render-type): Add it.
1685 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
1687         * progmodes/cc-mode.el
1688         (c-standard-font-lock-fontify-region-function): Set the default at
1689         load time, too, so that `font-lock-fontify-buffer' can be called
1690         without setting up the entire mode first.  This fixes a bug in
1691         `mm-inline-text' with C MIME parts.
1693 2012-02-06  Chong Yidong  <cyd@gnu.org>
1695         * simple.el (list-processes--refresh): Delete exited processes
1696         (Bug#8094).
1698         * comint.el (comint-next-prompt): next-single-char-property-change
1699         and prev-single-char-property-change never return nil (Bug#8657).
1701         * custom.el (defcustom): Doc fix (Bug#9711).
1703 2012-02-05  Chong Yidong  <cyd@gnu.org>
1705         * cus-edit.el (custom-variable-reset-backup): Quote the value
1706         before storing it in the customized-value property (Bug#6712).
1707         (custom-display): Add a customization type tag.
1708         (custom-buffer-create-internal): Improve tooltip message.
1710         * wid-edit.el (widget-field-value-get): New optional arg to
1711         suppress trailing whitespace truncation.
1712         (character): Use it (Bug#2689).
1714 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
1716         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1717         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1719 2012-02-05  Chong Yidong  <cyd@gnu.org>
1721         * cus-edit.el (custom-variable-value-create): For mismatched
1722         types, show the current value (Bug#7600).
1724         * custom.el (defcustom): Doc fix.
1726 2012-02-05  Glenn Morris  <rgm@gnu.org>
1728         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1730 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
1732         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1733         (pp-buffer): Use `ignore-errors', `looking-at-p'.
1734         (pp-last-sexp): Use `looking-at-p'.
1736 2012-02-04  Glenn Morris  <rgm@gnu.org>
1738         * files.el (revert-buffer):
1739         Doc fix (mention revert-buffer-in-progress-p).
1741         * emacs-lisp/ert-x.el (ert-simulate-command):
1742         Check deferred-action-list (which is obsolete) is bound.
1744         * subr.el (with-wrapper-hook): Doc fixes.
1746         * simple.el (filter-buffer-substring-functions)
1747         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1749 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
1751         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1752         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
1754 2012-02-04  Leo Liu  <sdl.web@gmail.com>
1756         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1758 2012-02-04  Glenn Morris  <rgm@gnu.org>
1760         * image.el (image-extension-data): Add obsolete alias.
1762         * isearch.el (isearch-update): Doc fix.
1764         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1766         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1768 2012-02-03  Glenn Morris  <rgm@gnu.org>
1770         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
1771         (image-animate-timeout): Doc fix.
1773         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1775 2012-02-02  Glenn Morris  <rgm@gnu.org>
1777         * server.el (server-auth-dir): Doc fix.
1778         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
1780         * subr.el (run-mode-hooks): Doc fix.
1782 2012-02-02  Juri Linkov  <juri@jurta.org>
1784         * image-mode.el (image-toggle-display-image): Remove tautological
1785         `major-mode' from the `derived-mode-p' test.
1787 2012-02-02  Kenichi Handa  <handa@m17n.org>
1789         * composite.el (compose-region): Cancel previous change.
1791 2012-02-02  Kenichi Handa  <handa@m17n.org>
1793         * composite.el (compose-region, compose-string): Signal error for
1794         a null string component (Bug#6988).
1796 2012-02-01  Chong Yidong  <cyd@gnu.org>
1798         * view.el (view-buffer-other-window, view-buffer-other-frame):
1799         Handle special modes like view-buffer (Bug#10650).
1800         (view-buffer): Simplify.
1802         * frame.el (set-frame-font): Tweak meaning of third argument.
1804         * dynamic-setting.el (font-setting-change-default-font):
1805         Use set-frame-font (Bug#9982).
1807 2012-02-01  Glenn Morris  <rgm@gnu.org>
1809         * progmodes/compile.el (compilation-internal-error-properties):
1810         Respect compilation-first-column in the "*compilation*" buffer.
1812         * emacs-lisp/easy-mmode.el (define-minor-mode):
1813         Relax :variable's test for a named function.
1815 2012-01-31  Alan Mackenzie  <acm@muc.de>
1817         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1818         off by one error.
1820 2012-01-31  Chong Yidong  <cyd@gnu.org>
1822         * frame.el (set-frame-font): New arg ALL-FRAMES.
1824         * menu-bar.el (menu-set-font): Use set-frame-font.
1826         * faces.el (face-spec-reset-face): Don't apply unspecified
1827         attribute values to the default face.
1829 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
1831         * progmodes/cwarn.el (cwarn): Remove dead link.
1832         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1833         Remove * from defcustom docstrings.
1834         (turn-on-cwarn-mode): Make obsolete.
1835         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1836         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1838 2012-01-31  Glenn Morris  <rgm@gnu.org>
1840         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1841         Fix :variable handling of mode a symbol not equal to modefun.
1842         Allow named functions to be used as the cdr of :variable.
1844 2012-01-30  Glenn Morris  <rgm@gnu.org>
1846         * emacs-lisp/authors.el (authors-fixed-entries):
1847         Remove reference to deleted file rnewspost.el.
1849 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
1851         * window.el (window-with-parameter): Remove unused variable `windows'.
1852         (window--side-check): Remove unused variable `code'.
1853         (window--resize-siblings): Remove unused variable `first'.
1854         (adjust-window-trailing-edge): Remove unused variable `failed'.
1855         (window-deletable-p, window--delete): Remove unused variable `buffer'.
1856         Use `let', not `let*'.
1857         (balance-windows-2): Remove unused variable `found'.
1858         (window--state-put-2): Remove unused variable `splits'.
1859         (window-state-put): Remove unused variable `selected'.
1860         (same-window-p): Use `string-match-p'.
1861         (display-buffer-assq-regexp): Remove unused variable `value'.
1862         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1863         Mark argument ALIST as ignored.
1864         (pop-to-buffer): Remove unused variable `old-window'.
1866 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
1868         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1869         and .lzma compressed files.
1871 2012-01-29  Chong Yidong  <cyd@gnu.org>
1873         * frame.el (window-system-default-frame-alist): Doc fix.
1875         * dynamic-setting.el (font-setting-change-default-font): Don't
1876         change the default face if SET-FONT argument is non-nil (Bug#9982).
1878 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
1880         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1882 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
1884         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1885         breakpoints in files outside current directory (Bug#6098).
1887 2012-01-29  Chong Yidong  <cyd@gnu.org>
1889         * progmodes/python.el: Require ansi-color at top-level.
1891         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1892         Define and use in Emacs Lisp mode (Bug#9360).
1893         (lisp-mode-abbrev-table): Add doc.
1894         (lisp-mode-variables): Don't set local-abbrev-table.
1895         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1897 2012-01-28  Roland Winkler  <winkler@gnu.org>
1899         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1901 2012-01-28  Roland Winkler  <winkler@gnu.org>
1903         * textmodes/bibtex.el (bibtex-entry-alist): New function.
1904         (bibtex-set-dialect): Use it.  Either set global values of
1905         dialect-dependent variables or bind these variables buffer-locally
1906         (Bug#10254).
1907         (bibtex-mode): Call bibtex-set-dialect via
1908         hack-local-variables-hook.
1909         (bibtex-dialect): Update docstring.
1910         Add safe-local-variable predicate.
1911         (bibtex-entry-alist, bibtex-field-alist): Initialize via
1912         bibtex-set-dialect.
1913         (bibtex-mode-map): Define menu for each dialect.
1914         (bibtex-entry): Fix docstring.
1916 2012-01-28  Chong Yidong  <cyd@gnu.org>
1918         * eshell/esh-arg.el (eshell-quote-argument): New function.
1920         * eshell/esh-ext.el (eshell-invoke-batch-file):
1921         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1922         first arg to eshell-parse-command (Bug#10523).
1924 2012-01-28  Drew Adams  <drew.adams@oracle.com>
1926         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1927         `default-directory' is non-nil.
1929 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
1931         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1932         line that displays system-configuration-options.  (Bug#9924)
1934 2012-01-28  Drew Adams  <drew.adams@oracle.com>
1936         * descr-text.el (describe-char): Show information about POS, in
1937         addition to information about the character at POS.  Improve and
1938         update the doc string.  Change "code point" to "code point in
1939         charset", to avoid confusion with the character's Unicode code
1940         point shown above that.  (Bug#10129)
1942 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
1944         * descr-text.el (describe-char): Show the raw character, not only
1945         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
1946         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1947         for the reasons.
1949 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
1951         * emacs-lisp/package.el (package-install):
1952         Run package-refresh-contents if there is no archive yet (Bug#9798).
1954 2012-01-28  Chong Yidong  <cyd@gnu.org>
1956         * emacs-lisp/package.el (package-maybe-load-descriptor):
1957         New function, split from package-maybe-load-descriptor.
1958         (package-maybe-load-descriptor): Use it.
1959         (package-download-transaction): Fully load required packages
1960         inside the loop, so that `require' calls work (Bug#10593).
1961         (package-install): No need to call package-initialize now.
1963 2012-01-28  Chong Yidong  <cyd@gnu.org>
1965         * simple.el (deactivate-mark): Doc fix (Bug#8614).
1967         * tooltip.el (tooltip-mode): Doc fix.
1968         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1970         * frame.el (set-cursor-color): Doc fix (Bug#352).
1972         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1973         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1975         * cus-edit.el (custom-buffer-create-internal): Fix search button
1976         action (Bug#10542).
1977         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
1979 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
1981         * dired.el (dired-mark-files-regexp):
1982         Include any subdirectory components.  (Bug#10445)
1984 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
1986         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1987         Handle [host]:port syntax.  (Bug#10533)
1989 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
1991         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1993 2012-01-26  Glenn Morris  <rgm@gnu.org>
1995         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1996         * term.el (term-raw-escape-map): Use Control-X-prefix.
1997         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
1999 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
2001         * window.el (window-state-get, window--state-get-1): Don't deal
2002         with fixed-sizeness of windows.  Simplify code.
2004 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
2006         * window.el (window--state-get-1, window--state-put-2):
2007         Don't save and restore the mark.
2009 2012-01-25  Chong Yidong  <cyd@gnu.org>
2011         * custom.el (custom-variable-p): Doc fix.
2013 2012-01-25  Glenn Morris  <rgm@gnu.org>
2015         * dired.el (dired-goto-file): Handle some of the more common
2016         characters that `ls -b' escapes.  (Bug#10596)
2018         * progmodes/compile.el (compilation-next-error-function):
2019         Respect compilation-first-column in the "*compilation*" buffer.
2020         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
2022         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
2024 2012-01-24  Glenn Morris  <rgm@gnu.org>
2026         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
2028 2012-01-24  Julien Danjou  <julien@danjou.info>
2030         * color.el (color-rgb-to-hsl): Fix value computing.
2031         (color-hue-to-rgb): New function.
2032         (color-hsl-to-rgb): New function.
2033         (color-clamp, color-saturate-hsl, color-saturate-name)
2034         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2035         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2037 2012-01-24  Glenn Morris  <rgm@gnu.org>
2039         * vc/vc-rcs.el (vc-rcs-create-tag):
2040         * vc/vc-sccs.el (vc-sccs-create-tag):
2041         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
2043 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
2045         * eshell/esh-util.el (eshell-read-hosts-file):
2046         Skip comment lines.  (Bug#10549)
2048         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
2050 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
2052         * subr.el (display-delayed-warnings): Doc fix.
2053         (collapse-delayed-warnings): New function to collapse identical
2054         adjacent warnings.
2055         (delayed-warnings-hook): Add it.
2057 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
2059         * net/tramp.el (tramp-action-login): Set connection property "login-as".
2061         * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2062         properties, when "login-as" is set.
2064         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2065         (tramp-default-user-alist): Don't add "pscp".
2066         (tramp-do-copy-or-rename-file-out-of-band): Use connection
2067         property "login-as", if set.  (Bug#10530)
2069 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
2071         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2072         "plink1" and "psftp".  (Bug#10530)
2074 2012-01-21  Kenichi Handa  <handa@m17n.org>
2076         * international/mule-cmds.el (prefer-coding-system): Show a
2077         warning message if the default value of file-name-coding-system
2078         was not changed.
2080 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
2082         * windmove.el (windmove-reference-loc):
2083         Fix windmove-reference-loc miscalculation.
2085 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
2087         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2088         default unit.
2090 2012-01-21  Glenn Morris  <rgm@gnu.org>
2092         * international/mule.el (auto-coding-alist): Add .tbz.
2094         * files.el (local-enable-local-variables): Doc fix.
2095         (inhibit-local-variables-regexps): Rename from
2096         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
2097         Doc fix.  Add some extensions from auto-coding-alist.
2098         (inhibit-local-variables-suffixes):
2099         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
2100         (inhibit-local-variables-p):
2101         New function, extracted from set-auto-mode-1.
2102         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
2103         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
2104         (hack-local-variables): Doc fix.  Make the mode-only case
2105         respect enable-local-variables and friends.
2106         Respect inhibit-local-variables-regexps for file-locals, but
2107         not for directory-locals.
2108         (set-visited-file-name):
2109         Take account of inhibit-local-variables-regexps.
2110         Whether it applies may change as the file name is changed.
2111         * jka-cmpr-hook.el (jka-compr-install):
2112         * jka-compr.el (jka-compr-uninstall):
2113         Update for inhibit-first-line-modes-suffixes name change.
2115 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
2117         * help-macro.el (make-help-screen): Temporarily restore original
2118         binding for minor-mode-map-alist (Bug#10454).
2120 2012-01-19  Julien Danjou  <julien@danjou.info>
2122         * color.el (color-name-to-rgb): Use the white color to find the max
2123         color component value and return correctly computed values.
2124         (color-name-to-rgb): Add missing float conversion for max value.
2126 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
2128         * window.el (window--state-get-1, window-state-get): Do not use
2129         special state value for window-persistent-parameters.
2130         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
2131         (window--state-put-2): Reset all window parameters to nil before
2132         assigning values of persistent parameters.
2134 2012-01-18  Alan Mackenzie  <acm@muc.de>
2136         Eliminate sluggishness and hangs in fontification of "semicolon
2137         deserts".
2139         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2140         Change value 10000 -> 3000.
2141         (c-state-safe-place): Reformulate so it doesn't stack up an
2142         infinite number of wrong entries in c-state-nonlit-pos-cache.
2143         (c-determine-limit-get-base, c-determine-limit): New functions to
2144         determine backward search limits disregarding literals.
2145         (c-find-decl-spots): Amend commenting.
2146         (c-cheap-inside-bracelist-p): New function which detects "={".
2148         * progmodes/cc-fonts.el
2149         (c-make-font-lock-BO-decl-search-function): Give a limit to a
2150         backward search.
2151         (c-font-lock-declarations): Fix an occurrence of point being
2152         undefined.  Check additionally for point being in a bracelist or
2153         near a macro invocation without a semicolon so as to avoid a
2154         fruitless time consuming search for a declarator.  Give a more
2155         precise search limit for declarators using the new
2156         c-determine-limit.
2158 2012-01-18  Glenn Morris  <rgm@gnu.org>
2160         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2161         (set-auto-mode): Doc fixes.
2163 2012-01-17  Glenn Morris  <rgm@gnu.org>
2165         * isearch.el (search-nonincremental-instead): Fix doc typo.
2167         * dired.el (dired-insert-directory): Handle newlines in directory name.
2168         (dired-build-subdir-alist): Unescape newlines in directory name.
2170 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
2172         * net/tramp.el (tramp-local-end-of-line): New defcustom.
2173         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2174         (tramp-action-terminal): Use it.  (Bug#10530)
2176 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2178         * minibuffer.el (completion--replace): Strip properties (bug#10062).
2180 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
2182         * window.el (window-state-ignored-parameters): Remove variable.
2183         (window--state-get-1): Rename argument MARKERS to IGNORE.
2184         Handle persistent window parameters.  Make copy of clone-of
2185         parameter only if requested.  (Bug#10348)
2186         (window--state-put-2): Install a window parameter only if it has
2187         a non-nil value or an existing parameter shall be overwritten.
2189 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
2191         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2193 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
2195         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2196         don't pass the (nil) value of `upnode' to string-match.
2198 2012-01-14  Chong Yidong  <cyd@gnu.org>
2200         * startup.el (command-line): Fix X resource class for cursorColor.
2201         Fix values recognized by the cursorBlink resource.
2203 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
2205         * epg.el (epg--make-temp-file): Avoid permission race condition
2206         when running on old Emacs versions (bug#10403).
2208 2012-01-14  Glenn Morris  <rgm@gnu.org>
2210         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2212 2012-01-13  Alan Mackenzie  <acm@muc.de>
2214         Fix filling for when filladapt mode is enabled.
2216         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2217         c-mask-paragraph, pass in `fill-paragraph' rather than
2218         `fill-region-as-paragraph'.  (This is a reversion of a previous
2219         change.)
2220         * progmodes/cc-mode.el (c-basic-common-init):
2221         Make fill-paragraph-handle-comment buffer local and set it to nil.
2223 2012-01-13  Glenn Morris  <rgm@gnu.org>
2225         * dired.el (dired-switches-escape-p): New function.
2226         (dired-insert-directory): Use dired-switches-escape-p.
2227         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
2229         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
2231 2012-01-12  Glenn Morris  <rgm@gnu.org>
2233         * mail/sendmail.el (mail-mode): Update paragraph-separate for
2234         changes in adaptive-fill-regexp.  (Bug#10276)
2236 2012-01-11  Alan Mackenzie  <acm@muc.de>
2238         Fix Emacs bug #10463 - put `widen's around the critical spots.
2240         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2241         widen around each invocation of c-state-pp-to-literal.  Remove an
2242         unused let variable.
2244 2012-01-11  Glenn Morris  <rgm@gnu.org>
2246         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
2247         Doc fix.
2249 2012-01-10  Chong Yidong  <cyd@gnu.org>
2251         * net/network-stream.el (network-stream-open-starttls):
2252         Avoid emitting a confusing error message when the server gives a bad
2253         response to the capability command.
2255 2012-01-10  Glenn Morris  <rgm@gnu.org>
2257         * mail/unrmail.el (unrmail): Tweak previous change.
2259 2012-01-09  Chong Yidong  <cyd@gnu.org>
2261         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2263 2012-01-08  Alan Mackenzie  <acm@muc.de>
2265         Optimise font locking in long enum definitions.
2267         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2268         arm to a cond form to handle enums.
2269         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2270         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2272 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
2274         * files.el (move-file-to-trash): Preserve default file modes on error.
2275         (Bug#10401)
2277 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2279         * faces.el (set-face-attribute): Clarify the meaning of the nil
2280         frame (bug#10294).
2282         * subr.el (with-selected-frame): Mention that the selected frame
2283         is restored (bug#9980).
2285         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2286         (bug#9759).
2288         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
2289         (password-read): Don't autoload unused function.
2291 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
2293         * progmodes/which-func.el (which-func-mode): Turn into a
2294         non-interactive function and mark as obsolete (bug#10428).
2296 2012-01-06  Chong Yidong  <cyd@gnu.org>
2298         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2299         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2300         functions, along with 1 and -1.
2302 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
2304         * time.el (display-time-load-average)
2305         (display-time-default-load-average): Doc fixes.  See the thread
2306         starting at
2307         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2308         for the details.
2310 2012-01-06  Glenn Morris  <rgm@gnu.org>
2312         * mail/unrmail.el (unrmail): Give an explicit error if the input file
2313         has no messages.  (Bug#10377)
2315         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2316         than Info-edit.  (Bug#10385)
2318         * time.el (display-time-load-average, display-time-next-load-average):
2319         Doc fixes.
2321         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2322         local setting of buffer-read-only to the input buffer.  (Bug#10419)
2324         * calendar/calendar.el (calendar-mode):
2325         Locally set scroll-margin to 0.  (Bug#10379)
2327 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
2329         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
2331 2012-01-05  Glenn Morris  <rgm@gnu.org>
2333         * eshell/em-unix.el (diff-no-select): Autoload it.
2334         (eshell/diff): Use diff-no-select.  (Bug#10420)
2336 2012-01-05  Chong Yidong  <cyd@gnu.org>
2338         * shell.el (shell-dynamic-complete-functions): Revert last change.
2339         (shell-command-completion-function): New function.
2340         (shell-completion-vars): Use it to implement
2341         shell-completion-execonly (Bug#10417).
2343         * custom.el (enable-theme): Don't set custom-safe-themes.
2345         * cus-theme.el (custom-theme-merge-theme):
2346         Ignore custom-enabled-themes and custom-safe-themes.
2348 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
2350         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2351         first prompt in `sql-interacive-mode'.
2352         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
2353         keywords.
2354         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
2355         (sql-product-interactive): Bug fix: Set `sql-buffer' in
2356         context of original buffer.  Invoke `sql-login-hook'.
2358 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
2360         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2361         letters in cite-prefix.
2363 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2365         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2367 2012-01-03  Chong Yidong  <cyd@gnu.org>
2369         * shell.el (shell-dynamic-complete-functions):
2370         Put pcomplete-completions-at-point, so as to try
2371         comint-filename-completion first (Bug#10417).
2373 2012-01-02  Richard Stallman  <rms@gnu.org>
2375         * battery.el (battery-status-function):
2376         Detect when to use battery-yeeloong-sysfs.
2377         (battery-echo-area-format): Add string for Yeeloong.
2378         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2379         (battery-yeeloong-sysfs): New function.
2381 2012-01-02  Chong Yidong  <cyd@gnu.org>
2383         * dirtrack.el (dirtrack-list): Eliminate unused third element.
2384         (dirtrack): Merge code for handling relative filenames in prompt
2385         from shell-dir-cookie-watcher.
2386         (dirtrack-debug-message): New arg to avoid excess format calls.
2388         * shell.el (shell-dir-cookie-re): Variable deleted.
2389         (shell-dir-cookie-watcher): Function deleted.
2390         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2391         with dirtrack-mode.
2393 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
2395         * term/w32-win.el (dynamic-library-alist) <gnutls>:
2396         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
2397         libgnutls-26.dll.
2399 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
2401         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2403 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
2405         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2406         headers of non-MIME messages, when rmail-enable-mime is non-nil.
2408 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
2410         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2411         also for alternative shells.
2412         (tramp-open-connection-setup-interactive-shell): Check, whether
2413         the shell is a busybox.
2414         (tramp-send-command): Don't suppress multiple prompts for
2415         busyboxes, it hurts.
2417 2011-12-28  Chong Yidong  <cyd@gnu.org>
2419         * progmodes/gdb-mi.el (gdb-get-source-file-list)
2420         (gdb-get-source-file): Move mode line update to
2421         gdb-get-source-file (Bug#10087).
2423 2011-12-25  Chong Yidong  <cyd@gnu.org>
2425         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2426         gud-gdb-marker-filter without taking it as an argument.
2427         (gud-gdb-run-command-fetch-lines): Caller changed.
2428         (gud-gdb-completion-function): New variable.
2429         (gud-gdb-completion-at-point): Use it.
2430         (gud-gdb-completions-1): Split from gud-gdb-completions.
2432         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2433         function as separate arguments.
2434         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2435         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2436         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2437         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2438         (gdb-stopped, def-gdb-auto-update-trigger)
2439         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
2440         (gdb-get-changed-registers, gdb-get-main-selected-frame):
2441         Callers changed.
2442         (gud-gdbmi-completions): New function.
2443         (gdb): Use it for generating the completion table.
2445 2011-12-24  Alan Mackenzie  <acm@muc.de>
2447         Introduce a mechanism to widen the region used in context font
2448         locking.  Use this to protect declarations from losing their contexts.
2450         * progmodes/cc-langs.el (c-before-font-lock-functions):
2451         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
2452         (c-before-context-fontification-functions): New defvar, a list of
2453         functions to be run just before context (etc.) font locking.
2455         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
2456         New, functionality extracted from
2457         c-neutralize-syntax-in-and-mark-CPP.
2458         (c-in-after-change-fontification): New variable.
2459         (c-after-change): Set c-in-after-change-fontification.
2460         (c-set-fl-decl-start): Rejig its interface, so it can be called
2461         from both after-change and context fontifying.
2462         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2463         New functions.
2464         (c-standard-font-lock-fontify-region-function): New variable.
2465         (c-font-lock-fontify-region): New function.
2467 2011-12-24  Juri Linkov  <juri@jurta.org>
2469         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2470         (Bug#10348)
2472 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
2474         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2475         existence of source file.  (Bug#10325)
2477 2011-12-23  Alan Mackenzie  <acm@muc.de>
2479         Fix unstable fontification inside templates.
2481         * progmodes/cc-langs.el (c-before-font-lock-functions):
2482         Newly created from the singular version.  The (c c++ objc) entry now
2483         additionally has c-set-fl-decl-start.  The other languages (apart
2484         from AWK) have that as a single entry.
2486         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2487         The functionality for "local" declarations has been extracted to
2488         c-set-fl-decl-start.
2490         * progmodes/cc-mode.el (c-common-init, c-after-change):
2491         Changes due to pluralisation of c-before-font-lock-functions.
2492         (c-set-fl-decl-start): New function, extracted from
2493         c-font-lock-enclosing-decls and enhanced.
2495 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
2497         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2499 2011-12-22  Juri Linkov  <juri@jurta.org>
2501         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
2503 2011-12-22  Chong Yidong  <cyd@gnu.org>
2505         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2507 2011-12-21  Drew Adams  <drew.adams@oracle.com>
2509         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
2511 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
2513         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2515 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
2517         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
2518         highlighting and support.  Fix up comments for capitalization.
2519         (cfengine-mode-debug): New var.
2520         (cfengine3-mode): Change the modeline indicator to "CFE3".
2521         (cfengine3-font-lock-keywords): Improve defun highlighting.
2522         (cfengine2-actions): Rename from `cfengine-actions'.
2523         (cfengine2-font-lock-keywords): Rename from
2524         `cfengine-font-lock-keywords'.
2525         (cfengine2-imenu-expression): Rename from
2526         `cfengine-imenu-expression'.
2527         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2528         (cfengine2-beginning-of-defun): Rename from
2529         `cfengine-beginning-of-defun'.
2530         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2531         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2532         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
2533         modeline indicator to "CFE2".
2534         (cfengine-mode): Defalias to `cfengine-auto-mode'.
2535         (cfengine-mode-abbrevs): Mark obsolete.
2537 2011-12-21  Chong Yidong  <cyd@gnu.org>
2539         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2540         filename argument.
2542 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
2544         * window.el (window-normalize-buffer-to-display): Remove.
2545         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2547 2011-12-19  Chong Yidong  <cyd@gnu.org>
2549         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2550         Don't signal an error in a predicate function; return non-nil.
2551         (vc-dir-mark-file): Move the error here.
2552         (vc-dir-mark-unmark): If acting on the region, keep going if one
2553         of the entries cannot be marked/unmarked.
2554         (vc-dir-mark-all-files): If current entry is a directory, mark
2555         only child files, as documented.
2557 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2559         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2560         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2561         addition.
2563 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
2565         * term/ns-win.el (ns-get-selection-internal)
2566         (ns-store-selection-internal): Declare.
2567         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2568         Declare as obsolete.
2569         (ns-get-pasteboard, ns-paste-secondary):
2570         Use ns-get-selection-internal.
2571         (ns-set-pasteboard,  ns-copy-including-secondary):
2572         Use ns-store-selection-internal.
2574 2011-12-17  Chong Yidong  <cyd@gnu.org>
2576         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
2577         (vc-deduce-fileset): Doc fix.
2579 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
2581         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2583 2011-12-13  Sam Steingold  <sds@gnu.org>
2585         * man.el (Man-getpage-in-background): When running under a
2586         window-system, ignore $MANWIDTH and $COLUMNS.
2588 2011-12-15  Kenichi Handa  <handa@m17n.org>
2590         * language/ethio-util.el: Change coding tag to utf-8-emacs.
2591         (setup-ethiopic-environment-internal): Comment out key-binding for
2592         ethio-toggle-punctuation.
2594 2011-12-13  Alan Mackenzie  <acm@muc.de>
2596         Add the switch statement to AWK Mode.
2598         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
2599         "default" to the keywords regexp.
2601         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
2602         expression as the rest.
2603         (c-nonlabel-token-key): Allow string literals for AWK.
2604         Refactor for the other modes.
2606         Large brace-block initialisation makes CC Mode slow: Fix.
2607         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
2608         routines.  Limit backward searching in c-font-lock-enclosing.decl.
2610         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2611         pp-state and literal type in addition to the limits.
2612         (c-state-safe-place): New defun, extracted from c-state-literal-at.
2613         (c-state-literal-at): Use the above new defun.
2614         (c-slow-in-literal, c-fast-in-literal): Remove.
2615         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
2617         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2618         being in a literal.  Add a limit for backward searching.
2620         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2621         c-slow-in-literal.
2623 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2625         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2627 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
2629         * window.el (delete-other-windows): Use correct frame in call to
2630         window-with-parameter.
2632 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
2634         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2635         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2636         (makefile-gmake-statements, makefile-makepp-statements):
2637         Use it and add new makepp keywords.
2638         (makefile-makepp-font-lock-keywords): Add new patterns.
2639         (makefile-match-function-end): Match new [...] and [[...]].
2641 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
2643         * ses.el (ses-call-printer-return, ses-cell-property-get)
2644         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2645         (ses-create-cell-variable, ses-reset-header-string)
2646         (ses-cell-set-formula, ses-repair-cell-reference-all)
2647         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2648         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2649         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2650         (ses-aset-with-undo, ses-load, ses-truncate-cell)
2651         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2652         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2653         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2654         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2655         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2656         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2657         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2658         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2660 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2662         * ses.el: The overall change is to add cell renaming, that is
2663         setting fancy names for cell symbols other than name matching
2664         "\\`[A-Z]+[0-9]+\\'" regexp .
2665         (ses-create-cell-variable): New defun.
2666         (ses-relocate-formula): Relocate formulas only for cells the
2667         symbols of which are not renamed, i.e. symbols whose names do not
2668         match regexp "\\`[A-Z]+[0-9]+\\'".
2669         (ses-relocate-all): Relocate values only for cells the symbols of
2670         which are not renamed.
2671         (ses-load): Create cells variables as the (ses-cell ...) are read,
2672         in order to check row col consistency with cell symbol name only
2673         for cells that are not renamed.
2674         (ses-replace-name-in-formula): New defun.
2675         (ses-rename-cell): New defun.
2677 2011-12-11  Chong Yidong  <cyd@gnu.org>
2679         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2680         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2682 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
2684         * window.el (other-window): Fix docstring.
2686 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
2688         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
2689         `from' or `to' address before taking its substring.
2690         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
2691         encoded name is chopped in the middle of the encoded string, and
2692         thus displayed encoded.
2694 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
2696         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2698 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
2700         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
2701         to use texinfo-update-node and commands that call it if the
2702         Texinfo file uses @node lines without next/prev/up pointers.
2703         Correct outdated description about texinfo-master-menu.
2704         (texinfo-all-menus-update, texinfo-master-menu)
2705         (texinfo-update-node, texinfo-every-node-update)
2706         (texinfo-multiple-files-update): Doc fix.  Warn against updating
2707         all the @node lines.
2708         (texinfo-master-menu): Only call texinfo-update-node if the prefix
2709         argument is numeric.  Explain better in the doc string what the
2710         function really does.
2711         (texinfo-insert-master-menu-list): Improve the error message
2712         displayed if there's no menu in the Top node.
2713         (Bug#2975)  See also this thread:
2714         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2716 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
2718         * speedbar.el (speedbar-supported-extension-expressions):
2719         Add .adb and .ads, commonly used for Ada source code (bug#10256).
2721 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
2723         * printing.el (pr-mode-alist):
2724         * simple.el (filter-buffer-substring-functions)
2725         (completion-list-insert-choice-function):
2726         * window.el (window-with-parameter, window-atom-root)
2727         (window-sides-slots, window-size-fixed, window-min-delta)
2728         (window-max-delta, window--resize-mini-window)
2729         (window--resize-child-windows-normal, window-tree)
2730         (delete-other-windows, quit-window, split-window)
2731         (display-buffer-record-window, special-display-buffer-names)
2732         (special-display-regexps, special-display-popup-frame)
2733         (same-window-p, split-window-sensibly)
2734         (display-buffer-overriding-action, display-buffer-alist)
2735         (display-buffer-base-action, display-buffer, switch-to-buffer)
2736         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2737         (fit-window-to-buffer, recenter-positions)
2738         (mouse-autoselect-window-state, mouse-autoselect-window-select):
2739         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2740         and remove unneeded backslashes in docstrings.
2742 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2744         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2746         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2747         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2748         end in ".mk".
2749         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2750         when reading the makefile (bug#10116).
2752 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2754         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2755         (bug#10116).
2757 2011-12-06  Glenn Morris  <rgm@gnu.org>
2759         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2761 2011-12-06  Chong Yidong  <cyd@gnu.org>
2763         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2765 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
2767         * textmodes/table.el (table-shorten-cell): Fix typo.
2769 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
2771         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2773 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
2775         * descr-text.el (describe-char): Fix display of strong
2776         right-to-left characters and directional embeddings and overrides.
2778         * simple.el (what-cursor-position): Fix display of codepoints of
2779         strong right-to-left characters.
2781 2011-12-05  Chong Yidong  <cyd@gnu.org>
2783         * faces.el (read-color): Doc fix.
2785 2011-12-05  Glenn Morris  <rgm@gnu.org>
2787         * align.el (align--set-marker): Add doc-string.
2788         Don't try to move something that is not a marker.  (Bug#10216)
2790 2011-12-04  Glenn Morris  <rgm@gnu.org>
2792         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2793         overly zealous deletion of trailing whitespace.
2795 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
2797         * server.el (server-delete-client): On Windows, do not try to delete
2798         the only terminal.
2799         (server-process-filter): On Windows, treat requests for a tty frame as
2800         if they were for a GUI frame if the running server is in GUI mode.
2802 2011-12-03  Glenn Morris  <rgm@gnu.org>
2804         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
2806 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2808         * electric.el: Streamline electric-indent's hook.
2809         (electric-indent-chars): Revert to simple list.
2810         (electric-indent-functions): New var.
2811         (electric-indent-post-self-insert-function): Use it.
2813         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2814         there's no inferior buffer (bug#10196).
2815         (prolog-consult-compile): Don't use toggle-read-only.
2817 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
2819         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2820         interrupt.  (Bug#10187)
2822 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2824         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2825         (bug#9160).
2827         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2828         (bug#10191).
2830 2011-12-02  Juri Linkov  <juri@jurta.org>
2832         * info.el (Info-search): Display "end of manual" when Isearch
2833         reaches the end of single-file Info manual.  (Bug#9918)
2835 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
2837         * isearch.el (isearch-message-prefix): Run the input method part
2838         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
2840 2011-12-02  Juri Linkov  <juri@jurta.org>
2842         * isearch.el (isearch-occur): Use `word-search-regexp' for
2843         `isearch-word'.
2844         (isearch-search-and-update): Add condition for `isearch-word' and
2845         call `word-search-regexp'.  (Bug#10145)
2847 2011-12-01  Glenn Morris  <rgm@gnu.org>
2849         * eshell/em-hist.el (eshell-hist-initialize):
2850         Handle eshell-history-size nil and HISTSIZE set or unset.
2851         (eshell-history-file-name, eshell-history-size): Fix custom type.
2853 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2855         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2857 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
2859         * progmodes/verilog-mode.el (verilog-pretty-expr):
2860         Rework verilog-pretty-expr to handle new assignment operators in system
2861         verilog, such as += *= and the like.
2862         (verilog-assignment-operator-re): Regular expression to find the
2863         assigment operator in a verilog assignment.
2864         (verilog-assignment-operation-re): Regular expression to find an
2865         assignment statement for pretty-expr.
2866         (verilog-in-attribute-p): Query returns true if point is in an
2867         attribute context; used to skip these for expression line up from
2868         pretty-expr.
2869         (verilog-in-parameter-p): Query returns true if point is in an
2870         parameter definition context; used to skip these for expression
2871         line up from pretty-expr.
2872         (verilog-in-parenthesis-p): Query returns true if point is in a
2873         parenthetical expression, specifically ( ) but not [ ] or { };
2874         used by pretty-expr.
2875         (verilog-just-one-space): If there is no space, don't add one.
2876         (verilog-get-lineup-indent-2): Specifically skip just attribute
2877         contexts for expression lineup, rather than skipping all
2878         parenthetical expressions.
2879         (verilog-calculate-indent): Fix comment, and fix indent.
2880         (verilog-do-indent): Indent declarations in lists (suggested by
2881         Joachim Lechner).
2882         (verilog-mode-abbrev-table): Populate abbrev mode with the various
2883         skeleton items.
2884         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2885         by Alain Mellan).
2887 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
2889         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2890         parameters with embedded comments.  Reported by Ray Stevens.
2891         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2892         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2893         Reported by Tim Holt.
2894         (verilog-auto): Fix AUTOing a upper module then AUTOing module
2895         instantiated by upper module causing wrong expansion until AUTOed a
2896         second time.  Reported by K C Buckenmaier.
2897         (verilog-diff-auto): Fix showing .* as a difference when
2898         `verilog-auto-star-save' off.  Reported by Dan Dever.
2899         (verilog-auto-reset, verilog-read-always-signals)
2900         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2901         temporary signals in reset list if
2902         verilog-auto-reset-blocking-in-non is nil, and match assignment
2903         style to each signal's assignment type, bug381.
2904         Reported by Thomas Esposito.
2905         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2906         (verilog-uvm-statement-re): Support UVM indentation and
2907         highlighting, with old OVM keywords only.
2908         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
2909         Support AUTOTIEOFF creating non-wire data types.
2910         Suggested by Jonathan Greenlaw.
2911         (verilog-auto-insert-lisp, verilog-delete-to-paren)
2912         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2913         (verilog-inject-sense, verilog-read-inst-pins)
2914         (verilog-read-sub-decls, verilog-read-sub-decls-line):
2915         Fix mismatching parenthesis inside commented out code when deleting
2916         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
2917         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2918         non-numeric vector width.  Reported by Alex Reed.
2919         (verilog-auto-ascii-enum): Add "onehot" option to work around not
2920         detecting signals with parameter widths.  Reported by Alex Reed.
2921         (verilog-auto-delete-trailing-whitespace):
2922         With `verilog-auto-delete-trailing-whitespace' remove trailing
2923         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
2924         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2925         Fix verilog-scan-cache corruption when running user AUTO expansion
2926         hooks that call indentation routines.
2927         (verilog-simplify-range-expression): Fix typo ignoring lower case
2928         identifiers.
2929         (verilog-delete-auto): Fix delete-autos to also remove user created
2930         automatics, as long as they start with AUTO.
2931         (verilog-batch-diff-auto, verilog-diff-auto)
2932         (verilog-diff-function): Add `verilog-diff-auto' and bind to
2933         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
2934         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2935         (verilog-in-paren-quick, verilog-re-search-backward-quick)
2936         (verilog-re-search-forward-quick, verilog-syntax-ppss):
2937         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
2938         is disabled and its cache will get corrupt, causing AUTOS not to
2939         expand.  Instead use only -quick functions.
2940         (verilog-scan-region): Fix scanning over escaped quotes.
2941         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2942         (verilog-re-search-backward-quick)
2943         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2944         related functions now ignore strings, to fix misparsing of strings
2945         with magic comments embedded in them.
2946         (verilog-read-auto-template):
2947         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2948         Reported by Brad Dobbie.
2949         (verilog-read-auto-template):
2950         Fix 'verilog-auto-inst-template-numbers' with comments.
2951         Reported by Brad Dobbie.
2952         (verilog-auto-inst, verilog-auto-inst-param)
2953         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2954         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
2955         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
2956         debugging templates without merge conflicts, bug357.
2957         Reported by Brad Dobbie.
2958         (verilog-read-auto-template):
2959         Fix verilog-auto-inst-template-numbers with multiple templates.
2960         Reported by Brad Dobbie.
2961         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2962         abbrevs so user won't be asked to save.
2963         (verilog-read-auto-lisp-present): Fix to start at beginning of
2964         buffer in case called outside of verilog-auto.
2965         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2966         to "X-2".  Reported by Matthew Myers.
2967         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2968         all inputs from module templates.  Reported by Leith Johnson.
2969         (verilog-module-inside-filename-p): Fix locating programs as with
2970         modules.
2971         (verilog-auto-inst-port): Fix vl-width expressions when using
2972         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
2973         (verilog-decls-get-regs, verilog-decls-get-signals,
2974         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2975         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2976         verilog-read-decls): Combine reg and wire structures into one var
2977         structure to represent SystemVerilog concepts.
2978         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2979         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
2980         (verilog-auto-wire-type, verilog-insert-definition):
2981         Add verilog-auto-wire-type and AUTOLOGIC to support using
2982         SystemVerilog "logic" keyword instead of "wire"/"reg".
2983         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2984         to declares outputs that also have assignments (presumably in an
2985         ifdef or generate if so there's not a driver conflict).
2986         Reported by Matthew Myers.
2987         (verilog-auto-declare-nettype, verilog-insert-definition):
2988         Add verilog-auto-declare-nettype to fix declarations using
2989         `default_nettype none.  Reported by Julian Gorfajn.
2990         (verilog-read-always-signals-recurse, verilog-read-decls)
2991         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2992         malformed end statement, bug325.  Reported by Joshua Wise and
2993         Andrew Drake.
2994         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2995         (verilog-inst-comment-re): Fix not deleting Interfaced comment
2996         when expanding .* in interfaces, bug320.
2997         Reported by Pierre-David Pfister.
2998         (verilog-read-module-name): Fix import statements between module
2999         name and open parenthesis, bug317.
3000         Reported by Pierre-David Pfister.
3001         (verilog-simplify-range-expression): Fix simplification of
3002         multiplications inside AUTOWIRE connections, bug303.
3003         (verilog-auto-inst-port): Support parameter expansion in
3004         multidimensional arrays.
3005         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3006         after "assert property".  Reported by Julian Gorfajn.
3007         (verilog-simplify-range-expression): Fix "couldn't merge" errors
3008         with multiplication, bug303.
3009         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3010         Reported by Jan Frode Lonnum.
3012 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
3014         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3015         (hfy-shell-file-name, hfy-shell):
3016         * international/fontset.el (x-decompose-font-name): Fix typos.
3018 2011-11-29  Ken Brown  <kbrown@cornell.edu>
3020         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3021         (gdb-version): Remove defvar.
3022         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3023         (gdb-gud-context-command, gdb-non-stop-handler)
3024         (gdb-current-context-command, gdb-stopped): Use it.
3025         (gdb-init-1): Enable pretty printing here.
3026         (gdb-non-stop-handler): Don't enable pretty-printing here.
3027         Check to see if the target supports non-stop mode; if not, turn off
3028         non-stop mode.  Use the following.
3029         (gdb-check-target-async): New defun.
3030         (gud-watch, gdb-stopped): Fix whitespace.
3031         (gdb-get-source-file): Don't try to display the source file if
3032         `gdb-main-file' is nil.
3034 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3036         * align.el: Try to generate fewer markers (bug#10047).
3037         (align--set-marker): New macro.
3038         (align-region): Use it.
3040 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3042         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3044 2011-11-29  Chong Yidong  <cyd@gnu.org>
3046         * indent.el (indent-for-tab-command, indent-according-to-mode):
3047         Doc fix.
3048         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
3050 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
3052         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3053         aware of remote file names.  (Bug#10124)
3055 2011-11-29  Chong Yidong  <cyd@gnu.org>
3057         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3059 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3061         * files.el (find-file): Don't use force-same-window (bug#10144).
3062         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3063         use pop-to-buffer if the selected window can't be used.
3064         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3066 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
3068         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3069         special-mode-map.
3071 2011-11-28  Chong Yidong  <cyd@gnu.org>
3073         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3075 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
3077         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3078           gdb-get-source-file-list on gdb-create-source-file-list.
3080 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
3082         * whitespace.el (whitespace-newline): Use a different foreground
3083         color for 16-color light-background displays.
3085 2011-11-24  Chong Yidong  <cyd@gnu.org>
3087         * window.el (display-buffer--special-action): Doc fix.
3089 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
3091         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3092         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3093         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3094         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3095         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3096         (avl-tree-stack-first):
3097         * emacs-lisp/cconv.el (cconv--analyse-use):
3098         * net/gnutls.el (gnutls-negotiate): Fix typos.
3100 2011-11-24  Glenn Morris  <rgm@gnu.org>
3102         * lpr.el (lpr-windows-system, lpr-lp-system):
3103         * mail/binhex.el (binhex-begin-line):
3104         * progmodes/grep.el (grep-history, grep-find-history):
3105         * textmodes/flyspell.el:
3106         * vc/pcvs-defs.el (cvs-global-menu):
3107         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3108         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3109         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3111         * net/tls.el: Fix case of "GnuTLS".
3113         * paths.el (rmail-file-name): Format doc-string for make-docfile.
3115         * version.el (emacs-build-system): Give it a doc-string.
3117 2011-11-24  Juri Linkov  <juri@jurta.org>
3119         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3121 2011-11-24  Glenn Morris  <rgm@gnu.org>
3123         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3124         if called on a non-mime message just toggle the headers.  (Bug#8006)
3126 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
3128         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3129         (allout-lead-with-comment-string, allout-structure-deleted-hook)
3130         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3131         (allout-rebullet-heading, allout-open-sibtopic)
3132         (allout-toggle-current-subtree-encryption)
3133         (allout-toggle-subtree-encryption, allout-encrypt-string)
3134         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3135         (allout-distinctive-bullets-string, allout-auto-activation):
3136         * window.el (window-normalize-buffer-to-display):
3137         * progmodes/verilog-mode.el (verilog-batch-indent):
3138         * textmodes/bibtex.el (bibtex-field-braces-opt)
3139         (bibtex-field-strings-opt):
3140         * vc/cvs-status.el (cvs-tree-merge):
3141         Fix typos.
3143 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
3145         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3146         `non-essential' to t, in order to avoid remote connections.
3148 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
3150         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3151         On MS-DOS and MS-Windows, compare with loaddefs.el
3152         case-insensitively.
3154 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
3156         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
3158 2011-11-23  Glenn Morris  <rgm@gnu.org>
3160         * paths.el (rmail-file-name): Reformat the doc-string so that it
3161         is picked up.
3163         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3164         (rmail-auto-file): Ignore case in the "special" field names,
3165         as mail-fetch-field does for all others.
3167         * mail/rmail.el (rmail-forward):
3168         * mail/rmailkwd.el (rmail-set-label):
3169         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3170         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
3172         * mail/rmail.el (rmail-current-message): Doc fix.
3174         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
3176 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3178         * server.el (server-eval-and-print): Allow C-g (bug#6585).
3180 2011-11-22  Glenn Morris  <rgm@gnu.org>
3182         * mail/rmailmm.el (test-rmail-mime-handler)
3183         (test-rmail-mime-bulk-handler)
3184         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3186 2011-11-21  Juri Linkov  <juri@jurta.org>
3188         * calc/calc.el (calc-read-key-sequence):
3189         Let-bind `input-method-function' to nil.  (Bug#10018)
3191 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3193         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3194         Tell the caller that the next line needs recomputation, even
3195         though it doesn't start a sexp (bug#10094).
3197 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3199         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3201 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3203         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3204         Use force-same-window.
3206 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
3208         * descr-text.el (describe-char-unicode-data):
3209         * json.el (json-string-escape):
3210         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3211         (Footnote-unicode, Footnote-style-p):
3212         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3214 2011-11-20  Chong Yidong  <cyd@gnu.org>
3216         * window.el (replace-buffer-in-windows): Restore interactive spec.
3218 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3220         * electric.el (electric-indent-mode): Fix last change (too optimistic).
3222         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3223         (byte-compile-global-not-obsolete-vars): New var.
3224         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3225         Use it.
3226         (byte-compile-warn-obsolete): Align text with the one in *Help*.
3228 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
3230         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3231         * progmodes/pascal.el (electric-pascal-equal):
3232         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3233         * xml.el (xml-substitute-special): Fix typos.
3235 2011-11-20  Glenn Morris  <rgm@gnu.org>
3237         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3238         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3239         Doc fixes.
3240         (rmail-decode-mime-charset): Mark as obsolete.
3242         * mail/rmailsum.el (rmail-message-regexp-p-1):
3243         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3244         Before using mime functions, check they are set.  (Bug#10077)
3246 2011-11-19  Juri Linkov  <juri@jurta.org>
3248         * info.el (Info-finder-find-node): Use `package--builtins' instead
3249         of `package-alist'.  Use node names formed by the pattern "Keyword "
3250         and the keyword name.
3252 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
3254         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
3256 2011-11-19  Juri Linkov  <juri@jurta.org>
3258         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3259         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
3260         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3261         `old-history', `old-history-forward'.  Add let-binding
3262         `window-selected'.  Remove calls to `kill-buffer',
3263         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
3264         before calling `Info-find-node', so `Info-find-node-2' will reread
3265         the Info file.  Restore window positions only when `window-selected'
3266         is non-nil.
3268 2011-11-19  Juri Linkov  <juri@jurta.org>
3270         * isearch.el (isearch-lazy-highlight-new-loop):
3271         Remove condition `(not isearch-error)'.  (Bug#9918)
3273         * misearch.el (multi-isearch-search-fun): Add condition
3274         `(not bound)' to ignore lazy-highlighting search.
3275         Add the search-failed message "end of multi" when the end of
3276         multi-sequence is reached.  Uncapitalize the search-failed
3277         message "Repeat for next buffer".
3279         * info.el (Info-search): Add the search-failed message
3280         "end of the manual" when the end of the manual is reached
3281         in Isearch mode.
3283 2011-11-19  Juri Linkov  <juri@jurta.org>
3285         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3286         Use non-destructive `remove' instead of `delete' because
3287         `Info-history-list' stored to `Info-isearch-initial-history-list' in
3288         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3290 2011-11-19  Juri Linkov  <juri@jurta.org>
3292         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3293         to nil instead of binding `search-ring' and `regexp-search-ring'.
3294         (Bug#9185)
3296 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
3298         * simple.el (line-move): Force movement by logical lines for any
3299         hscrolled window, not only when auto-hscroll-mode is on.
3300         (line-move-visual): Update doc string to that effect.  (Bug#10076)
3302 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
3304         * language/european.el (macintosh): Define as alias for mac-roman.
3306 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
3308         * mail/rmailmm.el (rmail-mime-display-header)
3309         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3310         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3311         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3312         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3313         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3314         of a raw aref.
3315         (rmail-mime-entity-segment): To get past the tagline, move forward
3316         2 more lines, to account for the 2 empty lines that precede and
3317         follow the line with the buttons.
3318         (rmail-mime-update-tagline): Move one more line, to get past the
3319         empty line that follows the buttons in the tagline.  (Bug#9520)
3321 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
3323         * window.el (window-max-delta-1, window-min-delta-1)
3324         (window-min-size-1, window-state-get-1, window-state-put-1)
3325         (window-state-put-2): Use "window--" prefix.
3327 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3329         * emacs-lisp/smie.el: Improve warnings and conflict detection.
3330         (smie-warning-count): New var.
3331         (smie-set-prec2tab): Use it.
3332         (smie-bnf->prec2): Improve warnings.  Add docstring.
3333         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3334         (smie-bnf--set-class): New function.
3335         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
3336         corner case.
3338         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3339         (compilation-error-properties, compilation-move-to-column):
3340         Handle compilation-first-column while in the target buffer.
3342         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3343         Don't hardcode point-min==1.
3345         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3346         (eshell-rewrite-for-command): Remove workaround.
3347         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3348         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3349         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3351         * files-x.el (modify-file-local-variable): Obey commenting conventions.
3353 2011-11-17  Glenn Morris  <rgm@gnu.org>
3355         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3356         Ignore buffer-local generated-autoload-file if it is the same
3357         as the global value.  (Bug#10049)
3359 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
3361         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3362         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3363         (reftex-toc-previous-heading, reftex-toc-max-level)
3364         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3365         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3366         (reftex-toc-do-promote, reftex-toc-promote-prepare)
3367         (reftex-toc-promote-action, reftex-toc-extract-section-number)
3368         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3369         (reftex-toc-rename-label, reftex-toc-visit-location)
3370         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3371         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3372         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3373         leaving "*toc*" only for references to the buffer.
3375 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
3377         * window.el (window-resize, delete-window, split-window):
3378         Replace window-splits by window-combination-resize.
3379         * cus-start.el (window-splits): Replace by window-combination-resize.
3381 2011-11-17  Glenn Morris  <rgm@gnu.org>
3383         * progmodes/sh-script.el (sh-font-lock-keywords-var):
3384         Make bash entry derive from sh entry, not shell entry.
3386 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
3388         * net/tramp-cache.el (tramp-flush-file-property): Flush also
3389         properties of linked files.  (Bug#9879)
3391         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3392         local file name.
3394 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
3396         * menu-bar.el (menu-bar-file-menu):
3397         * printing.el (pr-ps-utility):
3398         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3399         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3400         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3401         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3402         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3403         (icalendar--convert-cyclic-to-ical)
3404         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3405         (icalendar--convert-ical-to-diary)
3406         (icalendar--convert-recurring-to-diary)
3407         (icalendar--convert-non-recurring-all-day-to-diary)
3408         (icalendar-import-format-sample):
3409         * progmodes/idlw-shell.el (idlwave-shell-mode):
3410         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3411         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3412         (vhdl-ps-print-init): Fix typos.
3414 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
3416         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3417         FSF and collapse date sequence, obscure author/maintainer email address
3418         better, remove extra version line, track relocation of author's webpage.
3420         * progmodes/python.el (python-pdbtrack-input-prompt)
3421         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3422         regular python pdb prompts.  Adjustments shamelessly taken exactly as
3423         suggested in EmacsWiki page (tiny change):
3424         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
3426 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
3428         * expand.el (expand-pos, expand-index, expand-point):
3429         Remove redundant info from docstring.
3430         (expand-add-abbrevs): Doc fix.
3431         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3432         (expand-sample-perl-mode-expand-list): Fix typos.
3434         * net/dbus.el (dbus-event-member-name):
3435         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3436         * term/pc-win.el (msdos-create-frame-with-faces):
3437         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3439 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
3441         * window.el (split-window, window-state-get-1)
3442         (window-state-put-1, window-state-put-2): Rename occurrences of
3443         window-nest to window-combination-limit.
3444         * cus-start.el (window-nest): Rename to window-combination-limit.
3446 2011-11-16  Chong Yidong  <cyd@gnu.org>
3448         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3449         regexp (Bug#10033).
3451 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3453         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3454         `completing-read' will remove *Completions* and will preserve
3455         current-buffer for us.
3456         (tmm-add-prompt): Users of *Completions* will always (re)set its
3457         major mode.
3458         (tmm-old-comp-map): Remove.
3460 2011-11-16  Glenn Morris  <rgm@gnu.org>
3462         * mail/rmailedit.el: Require rmailmm when compiling.
3463         (rmail-old-mime-state): New declaration.
3464         (rmail-edit-current-message): If editing a mime message,
3465         edit the "raw" message from the mbox buffer.
3466         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
3468 2011-11-15  Glenn Morris  <rgm@gnu.org>
3470         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3471         which wasn't being used.  Add optional arg to force given state.
3472         (rmail-mime): Add optional arg to force given state.
3474 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
3476         * allout.el (allout-encryption-plaintext-sanitization-regexps):
3477         * frame.el (display-mm-dimensions-alist):
3478         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3479         (outline-move-subtree-down):
3480         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3481         (newsticker--treeview-do-get-node):
3482         * net/quickurl.el (quickurl-list-buffer-name):
3483         * progmodes/dcl-mode.el (dcl-mode):
3484         * progmodes/gdb-mi.el (gdb-mapcar*):
3485         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3487 2011-11-15  Glenn Morris  <rgm@gnu.org>
3489         * mail/rmail.el (rmail-file-coding-system): It's only ever used
3490         in a boolean sense, so just make it a boolean, and fix the doc.
3491         (rmail-show-mime-function, rmail-mime-feature)
3492         (rmail-require-mime-maybe): Doc fixes.
3493         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3495         * mail/rmailmm.el (rmail-show-mime): Doc fix.
3497 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
3499         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3500         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3501         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3502         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3504 2011-11-15  Glenn Morris  <rgm@gnu.org>
3506         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3507         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3508         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3509         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3510         (rmail-mime, rmail-show-mime): Doc fixes.
3512         * term/ns-win.el (mode-line-frame-identification):
3513         Leave it alone.  (Bug#10051)
3515         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
3517         * mail/rmailout.el (rmail-output-to-rmail-buffer):
3518         Handle empty buffers.  (Bug#9978)
3520 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
3522         * international/mule.el (define-charset):
3523         * mail/rmailmm.el (rmail-mime-find-header-encoding):
3524         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3525         * progmodes/verilog-mode.el (verilog-backward-token):
3526         * textmodes/ispell.el (lookup-words):
3527         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3529 2011-11-14  Glenn Morris  <rgm@gnu.org>
3531         * progmodes/executable.el
3532         (executable-make-buffer-file-executable-if-script-p):
3533         Handle file-modes returning nil.
3535         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3536         message - not necessary, and causes problems.  (Bug#9831)
3538         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3540         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3542         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3543         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
3544         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3546 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
3548         * window.el (window-resize, delete-window): Use window-splits
3549         variable instead of function.
3550         (window-state-get-1, window-state-put-2, window-state-put):
3551         Don't deal with windows' splits status.
3553 2011-11-12  Glenn Morris  <rgm@gnu.org>
3555         * apropos.el (apropos-do-all, apropos-library, apropos-value)
3556         (apropos-documentation): Doc fixes.
3558 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
3560         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3561         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3563 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3565         * electric.el (electric-indent-post-self-insert-function): Make it
3566         possible for a char to only indent in some circumstances.
3567         (electric-indent-mode): Simplify.
3569 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
3571         * window.el (windows-with-parameter): Remove unused function.
3572         (windows-at-side): Rename to window-at-side-list.
3573         (window-check, window-atom-check, window-atom-check-1)
3574         (window-side-check, window-size-ignore, window-size-fixed-1)
3575         (window-in-direction-2): Prefix with "window--".
3576         (window-tree-1): Rename to window--subtree, fix doc-string.
3578 2011-11-11  Glenn Morris  <rgm@gnu.org>
3580         * subr.el (eval-after-load): If FILE is already loaded,
3581         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
3583 2011-11-10  Glenn Morris  <rgm@gnu.org>
3585         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3586         Call svn via vc-svn-command rather than vc-do-command.
3587         (vc-svn-command): Add --non-interactive.  (Bug#9993)
3588         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3590         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3591         Add toggle-read-only.  (Bug#7292)
3592         * files.el (toggle-read-only): Mention that it should only
3593         be used interactively.  (Bug#10006)
3595 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3597         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3598         Adjust regexp for OCaml warnings.
3600         * electric.el (electric-pair-post-self-insert-function): Let user
3601         turn it off buffer-locally (bug#9932).
3603         * progmodes/python.el (python-beginning-of-statement):
3604         Rewrite (bug#2703).
3606         * progmodes/compile.el: Better handle TABs (bug#9749).
3607         (compilation-internal-error-properties)
3608         (compilation-next-error-function): Obey the target buffer's
3609         compilation-error-screen-columns.
3611 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
3613         * progmodes/meta-mode.el: Remove obsolete comments.
3614         (meta-right-comment-regexp, meta-ignore-comment-regexp):
3615         Fix typos in docstrings.
3617 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
3619         * window.el (window-size-fixed-p): Rewrite doc-string.
3620         (window-resizable-p): Rename to window--resizable-p.  Update callers.
3621         (window--resizable): New function.  Make all callers of
3622         window-resizable call window--resizable instead.
3623         (window-resizable): Rewrite in terms of window--resizable.
3625 2011-11-08  Glenn Morris  <rgm@gnu.org>
3627         * progmodes/delphi.el (delphi-mode-syntax-table):
3628         Let define-derived-mode define a proper syntax table.  (Bug#9994)
3630 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3632         * window.el: Stay away from defsubst.
3633         (window-list-no-nils): Remove.
3634         (window-state-get-1, window-state-get): Use backquote instead.
3636 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3638         * emacs-lisp/find-func.el (find-function-read):
3639         Fix incorrect use of default argument in `completing-read'.
3641 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
3643         * window.el (display-buffer-function, special-display-function):
3644         Mention display-buffer-record-window but do not mention
3645         help-setup parameter in doc-strings.
3646         (window-min-delta): Fix doc-string typo.
3648 2011-11-08  Chong Yidong  <cyd@gnu.org>
3650         * window.el (window-total-height, window-total-width): Doc fix.
3651         (window-body-size): Move from C.
3652         (window-body-height, window-body-width): Move to C.
3654 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3656         * window.el: Make special-display like display-buffer-alist (bug#9532).
3657         (display-buffer--special-action): New function, morphed
3658         from display-buffer--special.
3659         (display-buffer): Use it to handle special-display-buffers at higher
3660         priority (just after display-buffer-alist).
3661         (display-buffer-fallback-action, display-buffer--other-frame-action)
3662         (pop-to-buffer-same-window): Remove display-buffer--special.
3664 2011-11-07  Glenn Morris  <rgm@gnu.org>
3666         * calendar/cal-menu.el (cal-menu-set-date-title):
3667         Do nothing if not in a calendar.  (Bug#9976)
3669 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3671         * files.el (find-file): Always use selected-window.
3673 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
3675         * window.el (window-combinations): Make WINDOW argument
3676         mandatory.  Rewrite doc-string.
3677         (walk-window-subtree, window-atom-check, window-min-delta)
3678         (window-max-delta, window--resize-this-window)
3679         (window--resize-root-window-vertically, window-tree)
3680         (balance-windows, window-state-put): Rewrite doc-strings as to
3681         not mention the term "subwindow".
3682         (window--resize-subwindows-skip-p): Rename to
3683         window--resize-child-windows-skip-p.
3684         (window--resize-subwindows-normal): Rename to
3685         window--resize-child-windows-normal.
3686         (window--resize-subwindows): Rename to
3687         window--resize-child-windows.
3688         (window-or-subwindow-p): Rename to window--in-subtree-p.
3690 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
3692         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3693         Ensure that mbox format messages end in two newlines (Bug#9974).
3695 2011-11-06  Chong Yidong  <cyd@gnu.org>
3697         * window.el (window-combination-p): Function deleted; its
3698         side-effect is not used in any existing code.
3699         (window-combinations, window-combined-p): Call window-*-child
3700         directly.
3702 2011-11-05  Chong Yidong  <cyd@gnu.org>
3704         * window.el (window-valid-p): Rename from window-any-p.
3705         (window-size-ignore, window-state-get): Callers changed.
3706         (window-normalize-window): Rename from window-normalize-any-window.
3707         New arg LIVE-ONLY, replacing window-normalize-live-window.
3708         (window-normalize-live-window): Delete.
3709         (window-combination-p, window-combined-p, window-combinations)
3710         (walk-window-subtree, window-atom-root, window-min-size)
3711         (window-sizable, window-sizable-p, window-size-fixed-p)
3712         (window-min-delta, window-max-delta, window-resizable)
3713         (window-resizable-p, window-full-height-p, window-full-width-p)
3714         (window-current-scroll-bars, window-point-1, set-window-point-1)
3715         (window-at-side-p, window-in-direction, window-resize)
3716         (adjust-window-trailing-edge, maximize-window, minimize-window)
3717         (window-deletable-p, delete-window, delete-other-windows)
3718         (record-window-buffer, unrecord-window-buffer)
3719         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3720         (quit-window, split-window, window-state-put)
3721         (set-window-text-height, fit-window-to-buffer)
3722         (shrink-window-if-larger-than-buffer): Callers changed.
3724 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
3726         * mail/rmail.el (rmail-simplified-subject): Decode subject with
3727         rfc2047-decode-string.
3728         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3729         warnings.
3731         * window.el (window-body-height, window-body-width): Mention in
3732         the doc string that the return values are in frame's canonical
3733         units.  (Bug#9949)
3735 2011-11-03  Alan Mackenzie  <acm@muc.de>
3737         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3738         change in cc-engine.el.
3740 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3742         * window.el (switch-to-buffer): Use `force-same-window' interactively.
3744 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
3746         * window.el (quit-window): Call unrecord-window-buffer after
3747         showing another buffer in the window.  (Bug#9937)
3748         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
3750 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
3752         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3753         Accept status with more than 9 shelves.  (Bug#9935)
3754         Reported by Colin D Bennett <colin@gibibit.com>.
3756 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
3758         * help.el (with-help-window): Don't reference
3759         temp-buffer-show-specifiers in doc-string.
3761 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
3763         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3764         menu-item.
3766 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3768         * whitespace.el: New version 13.2.2.
3769         (whitespace-newline-mode): Disable properly.  Reported by Sarah
3770         <EmacsWiki>.
3772 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
3774         * net/newst-treeview.el: Remove "Time-stamp".
3775         (newsticker--group-manage-orphan-feeds): Do not call
3776         newsticker--treeview-tree-update.
3777         (newsticker-treeview-update, newsticker-treeview):
3778         Call newsticker--treeview-tree-update if necessary.
3780 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
3782         * window.el (window-iso-combination-p, window-iso-combined-p)
3783         (window-iso-combinations): Remove "iso-" infix.
3784         Suggested by Chong Yidong.
3785         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3786         (window-max-delta-1, window-resize, window--resize-siblings)
3787         (window--resize-this-window, adjust-window-trailing-edge)
3788         (split-window, balance-windows-1)
3789         (shrink-window-if-larger-than-buffer):
3790         * calendar/calendar.el (calendar-generate-window):
3791         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3793 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3795         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3796         in place (bug#9907).
3797         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3798         (eshell-rewrite-if-command, eshell-rewrite-for-command)
3799         (eshell-structure-basic-command, eshell-rewrite-while-command)
3800         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3801         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3802         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3803         (eshell-do-pipelines-synchronously, eshell-eval-command):
3804         Use backquotes and prefer setq to set.
3805         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3806         (eshell-macrop): Use functionp.
3807         (eshell-do-eval): Handle multiple expressions in `while' body.
3809 2011-10-30  Chong Yidong  <cyd@gnu.org>
3811         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3812         instead of set-mark (Bug#9810).
3814 2011-10-30  Chong Yidong  <cyd@gnu.org>
3816         * window.el (split-window-below, split-window-right): Rename from
3817         split-window-above-each-other and split-window-side-by-side
3818         respectively.  All callers changed.
3819         (split-window-sensibly, split-window-sensibly): Use them.
3820         (split-window-keep-point): Doc fix.
3822         * isearch.el: Add isearch-scroll property to split-window-below
3823         and split-window-right.
3825         * follow.el (follow-mode):
3826         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3827         * progmodes/ada-xref.el (ada-gdb-application):
3828         * emulation/vip.el (vip-buffer-in-two-windows):
3829         * image-dired.el (image-dired-dired-with-window-configuration):
3830         * dired-x.el (dired-do-find-marked-files):
3831         * dired.el (dired-pop-to-buffer):
3832         * bs.el (bs--show-with-configuration):
3833         * vc/emerge.el (emerge-setup-windows):
3834         * textmodes/two-column.el (2C-two-columns):
3835         * textmodes/reftex-toc.el (reftex-toc):
3836         * progmodes/gdb-mi.el (gdb-setup-windows):
3837         * progmodes/fortran.el (fortran-window-create):
3838         * net/newst-treeview.el (newsticker--treeview-window-init):
3839         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3840         * emulation/tpu-edt.el (tpu-gold-map):
3841         * emulation/crisp.el (crisp-mode-map):
3842         * calendar/calendar.el (calendar-basic-setup): Callers changed.
3844 2011-10-29  Chong Yidong  <cyd@gnu.org>
3846         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3848         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3850         * textmodes/flyspell.el (flyspell-word): Fix char offset for
3851         forged Ispell output (Bug#7904).
3853         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3855 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3857         * doc-view.el: Avoid ugly errors about not finding nil.
3858         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3859         (doc-view-dvipdf-program, doc-view-unoconv-program)
3860         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3861         Avoid nil or absolute file name as default value.
3862         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3864 2011-10-28  Alan Mackenzie  <acm@muc.de>
3866         * progmodes/cc-defs.el (c-version): -> 5.32.2.
3868 2011-10-28  Alan Mackenzie  <acm@muc.de>
3870         Amend the handling of c-beginning/end-of-defun in nested declaration
3871         scopes.
3873         * progmodes/cc-vars.el (c-defun-tactic): Move here from
3874         cc-langs.el.  Change it to a defcustom.
3876         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3877         cc-vars.el.
3879         * progmodes/cc-engine.el (c-beginning-of-statement-1):
3880         Prevent "class foo : bar" being spuriously recognized as a label.
3882         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
3883         Add parameter `inclusive' (to include enclosing braces in the region).
3884         (c-widen-to-enclosing-decl-scope): New function.
3885         (c-while-widening-to-decl-block): New macro.
3886         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3887         outward for defun boundaries, and correspondingly change symbol
3888         `respect-enclosure' to `go-outward'.
3889         (c-declaration-limits): Change algorithm to report only the "innermost"
3890         defun's boundaries.
3892 2011-10-28  Deniz Dogan  <deniz@dogan.se>
3894         * net/rcirc.el (rcirc-mode): Use hard newlines.
3896 2011-10-28  Alan Mackenzie  <acm@muc.de>
3898         Amend to indent and fontify macros "which include their own semicolon"
3899         correctly, using the "virtual semicolon" mechanism.
3901         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
3903         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3904         Recode to scan one line at a time rather than having \n and \r
3905         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
3906         (c-forward-label): Amend for virtual semicolons.
3907         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
3909         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3910         of the new C macros.
3912         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
3913         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3914         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
3915         (c-opt-cpp-macro-define): Make into a full language variable.
3916         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3917         AWK Mode (including \n, \r) removed, no longer needed.
3919         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3920         Invoke c-make-macro-with-semi-re.
3922         * progmodes/cc-vars.el (c-macro-with-semi-re):
3923         (c-macro-names-with-semicolon): New variables.
3924         (c-make-macro-with-semi-re): New function.
3926 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3928         * vc/log-edit.el: Fill empty field rather than adding new one.
3929         (log-edit-add-field): New function.
3930         (log-edit-insert-changelog): Use it.
3932 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
3934         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3936 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3938         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3939         (gdb--check-interpreter): New function.
3940         (gdb): Use it.
3942 2011-10-27  Glenn Morris  <rgm@gnu.org>
3944         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3945         (least-positive-float, least-negative-float)
3946         (least-positive-normalized-float, least-negative-normalized-float)
3947         (float-epsilon, float-negative-epsilon):
3948         Remove unnecessary declarations.
3950         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3951         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3952         (least-positive-float, least-negative-float)
3953         (least-positive-normalized-float, least-negative-normalized-float)
3954         (float-epsilon, float-negative-epsilon): Add doc-strings,
3955         based on those in cl.texi.
3957         * files.el (set-visited-file-name): If the major-mode changed,
3958         reload the local variables.  (Bug#9796)
3960 2011-10-27  Chong Yidong  <cyd@gnu.org>
3962         * subr.el (change-major-mode-after-body-hook): New hook.
3963         (run-mode-hooks): Run it.
3965         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3966         Use change-major-mode-before-body-hook.
3968         * simple.el (fundamental-mode):
3969         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3970         change introducing fundamental-mode-hook.
3972 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
3974         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
3976 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
3978         * ido.el (ido-file-name-all-completions-1): Do not require
3979         tramp.el explicitly.  (Bug#7583)
3981 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3983         * progmodes/octave-mod.el:
3984         * progmodes/octave-inf.el: Update maintainer.
3986 2011-10-26  Chong Yidong  <cyd@gnu.org>
3988         * subr.el (with-wrapper-hook): Rewrite doc.
3990 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
3992         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
3993         filenames "/method:foo:".  (Bug#9793)
3995 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3997         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3998         (bug#9865).
4000 2011-10-24  Glenn Morris  <rgm@gnu.org>
4002         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
4004 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
4006         * notifications.el: Add the requirement of a running D-Bus session
4007         bus to the Commentary.
4009 2011-10-24  Juri Linkov  <juri@jurta.org>
4011         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4012         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4013         (Bug#9364)
4015 2011-10-24  Juri Linkov  <juri@jurta.org>
4017         * info.el (Info-following-node-name-re): Add newline to the list
4018         of allowed characters for leading space.  (Bug#9824)
4020 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4022         * progmodes/octave-inf.el (inferior-octave-mode-map):
4023         Fix C-c C-h binding.
4024         * progmodes/octave-mod.el (octave-help): Remove.
4026 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
4028         Sync with Tramp 2.2.3.
4030         * net/tramp-cache.el (top): Pacify byte-compiler using
4031         `init-file-user' and `site-run-file'.
4033         * net/trampver.el: Update release number.
4035 2011-10-23  Chong Yidong  <cyd@gnu.org>
4037         * files.el (toggle-read-only): Remove obsolete comment about
4038         version control.
4040         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4041         for toggle-read-only.  Note that this hasn't called vc-next-action
4042         since 2008-05-02, though it wasn't documented at the time.
4044         * vc/ediff-init.el (ediff-toggle-read-only-function):
4045         Use toggle-read-only.
4047 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
4049         Fix bug #9560, sporadic wrong indentation; improve instrumentation
4050         of c-parse-state.
4052         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4053         correct faulty logical expression.
4054         (c-parse-state-state, c-record-parse-state-state):
4055         (c-replay-parse-state-state): New defvar/defuns.
4056         (c-debug-parse-state): Use new functions.
4058 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
4060         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
4061         last fix.  Use window-in-direction correctly.
4063 2011-10-21  Chong Yidong  <cyd@gnu.org>
4065         * progmodes/idlwave.el (idlwave-mode):
4066         * progmodes/vera-mode.el (vera-mode): No need to set
4067         require-final-newline; that's done in prog-mode.
4068         Suggested by Stefan Monnier.
4070 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
4072         * mouse.el (mouse-drag-window-above)
4073         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4074         (mouse-drag-mode-line-1, mouse-drag-header-line)
4075         (mouse-drag-vertical-line-rightward-window): Remove.
4076         (mouse-drag-line): New function.
4077         (mouse-drag-mode-line, mouse-drag-header-line)
4078         (mouse-drag-vertical-line): Call mouse-drag-line.
4079         * window.el (window-at-side-p, windows-at-side): New functions.
4081 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
4083         * tar-mode.el (tar-grind-file-mode):
4084         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
4086 2011-10-21  Chong Yidong  <cyd@gnu.org>
4088         * progmodes/idlwave.el (idlwave-mode):
4089         * progmodes/vera-mode.el (vera-mode):
4090         Use mode-require-final-newline.
4092 2011-10-20  Glenn Morris  <rgm@gnu.org>
4094         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
4096 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
4098         * emulation/cua-base.el (cua-set-mark): Fix case of string.
4100 2011-10-20  Chong Yidong  <cyd@gnu.org>
4102         * emulation/cua-base.el (cua-mode):
4103         * mail/footnote.el (footnote-mode):
4104         * mail/mailabbrev.el (mail-abbrevs-mode):
4105         * net/xesam.el (xesam-minor-mode):
4106         * progmodes/bug-reference.el (bug-reference-mode):
4107         * progmodes/cap-words.el (capitalized-words-mode):
4108         * progmodes/compile.el (compilation-minor-mode)
4109         (compilation-shell-minor-mode):
4110         * progmodes/gud.el (gud-tooltip-mode):
4111         * progmodes/hideif.el (hide-ifdef-mode):
4112         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4113         * progmodes/subword.el (subword-mode):
4114         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4115         * progmodes/which-func.el (which-function-mode):
4116         * term/tvi970.el (tvi970-set-keypad-mode):
4117         * term/vt100.el (vt100-wide-mode):
4118         * textmodes/flyspell.el (flyspell-mode):
4119         * textmodes/ispell.el (ispell-minor-mode):
4120         * textmodes/nroff-mode.el (nroff-electric-mode):
4121         * textmodes/paragraphs.el (use-hard-newlines):
4122         * textmodes/refill.el (refill-mode):
4123         * textmodes/reftex.el (reftex-mode):
4124         * textmodes/rst.el (rst-minor-mode):
4125         * textmodes/sgml-mode.el (html-autoview-mode)
4126         (sgml-electric-tag-pair-mode):
4127         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4128         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4129         * emulation/crisp.el (crisp-mode):
4130         * emacs-lisp/eldoc.el (eldoc-mode):
4131         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4132         minor mode behavior.
4134 2011-10-19  Juri Linkov  <juri@jurta.org>
4136         * descr-text.el (describe-char): Add #x2010 and #x2011 to
4137         the list of hard-coded chars with escape-glyph face.
4139 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4141         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4143 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
4145         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4146         running process.
4148 2011-10-19  Glenn Morris  <rgm@gnu.org>
4150         * vc/vc-bzr.el (vc-bzr-after-dir-status):
4151         Ignore ignored files.  (Bug#9726)
4153 2011-10-19  Chong Yidong  <cyd@gnu.org>
4155         Doc fix for minor modes, stating that an omitted argument enables
4156         the mode unconditionally when called from Lisp.
4158         * abbrev.el (abbrev-mode):
4159         * allout.el (allout-mode):
4160         * autoinsert.el (auto-insert-mode):
4161         * autoarg.el (autoarg-mode, autoarg-kp-mode):
4162         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4163         (global-auto-revert-mode):
4164         * battery.el (display-battery-mode):
4165         * composite.el (global-auto-composition-mode)
4166         (auto-composition-mode):
4167         * delsel.el (delete-selection-mode):
4168         * desktop.el (desktop-save-mode):
4169         * dired-x.el (dired-omit-mode):
4170         * dirtrack.el (dirtrack-mode):
4171         * doc-view.el (doc-view-minor-mode):
4172         * double.el (double-mode):
4173         * electric.el (electric-indent-mode, electric-pair-mode):
4174         * emacs-lock.el (emacs-lock-mode):
4175         * epa-hook.el (auto-encryption-mode):
4176         * follow.el (follow-mode):
4177         * font-core.el (font-lock-mode):
4178         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4179         * help.el (temp-buffer-resize-mode):
4180         * hilit-chg.el (highlight-changes-mode)
4181         (highlight-changes-visible-mode):
4182         * hi-lock.el (hi-lock-mode):
4183         * hl-line.el (hl-line-mode, global-hl-line-mode):
4184         * icomplete.el (icomplete-mode):
4185         * ido.el (ido-everywhere):
4186         * image-file.el (auto-image-file-mode):
4187         * image-mode.el (image-minor-mode):
4188         * iswitchb.el (iswitchb-mode):
4189         * jka-cmpr-hook.el (auto-compression-mode):
4190         * linum.el (linum-mode):
4191         * longlines.el (longlines-mode):
4192         * master.el (master-mode):
4193         * mb-depth.el (minibuffer-depth-indicate-mode):
4194         * menu-bar.el (menu-bar-mode):
4195         * minibuf-eldef.el (minibuffer-electric-default-mode):
4196         * mouse-sel.el (mouse-sel-mode):
4197         * msb.el (msb-mode):
4198         * mwheel.el (mouse-wheel-mode):
4199         * outline.el (outline-minor-mode):
4200         * paren.el (show-paren-mode):
4201         * recentf.el (recentf-mode):
4202         * reveal.el (reveal-mode, global-reveal-mode):
4203         * rfn-eshadow.el (file-name-shadow-mode):
4204         * ruler-mode.el (ruler-mode):
4205         * savehist.el (savehist-mode):
4206         * scroll-all.el (scroll-all-mode):
4207         * scroll-bar.el (scroll-bar-mode):
4208         * server.el (server-mode):
4209         * shell.el (shell-dirtrack-mode):
4210         * simple.el (auto-fill-mode, transient-mark-mode)
4211         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4212         (line-number-mode, column-number-mode, size-indication-mode)
4213         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4214         * strokes.el (strokes-mode):
4215         * time.el (display-time-mode):
4216         * t-mouse.el (gpm-mouse-mode):
4217         * tool-bar.el (tool-bar-mode):
4218         * tooltip.el (tooltip-mode):
4219         * type-break.el (type-break-mode-line-message-mode)
4220         (type-break-query-mode):
4221         * view.el (view-mode):
4222         * whitespace.el (whitespace-mode, whitespace-newline-mode)
4223         (global-whitespace-mode, global-whitespace-newline-mode):
4224         * xt-mouse.el (xterm-mouse-mode): Doc fix.
4226         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4227         Fix autogenerated docstring.
4229 2011-10-19  Juri Linkov  <juri@jurta.org>
4231         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4232         by checking environment variables "DESKTOP_SESSION" and
4233         "XDG_CURRENT_DESKTOP".  (Bug#9779)
4235 2011-10-19  Juri Linkov  <juri@jurta.org>
4237         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4238         (browse-url-chromium-program, browse-url-chromium-arguments):
4239         New defcustoms.
4240         (browse-url-default-browser): Check for `browse-url-chromium' and
4241         call `browse-url-chromium-program'.
4242         (browse-url-chromium): New command.  (Bug#9779)
4244 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
4246         * facemenu.el (list-colors-duplicates): On Windows, detect more
4247         duplicates by assuming that only colors matching "^System" are
4248         special "system colors".  (Bug#9722)
4250 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4252         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4253         to distinguish the author from the committer.
4255 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
4257         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4259 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
4261         * international/mule.el (sgml-html-meta-auto-coding-function):
4262         Add support for detecting encoding in HTML5 specified only as
4263         <meta charset="UTF-8">.  Implementation just makes http-equiv and
4264         content-type parts from HTML4 encoding string optional.  (Bug#9716)
4266 2011-10-18  Glenn Morris  <rgm@gnu.org>
4268         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
4270 2011-10-18  Chong Yidong  <cyd@gnu.org>
4272         * faces.el (cursor): Doc fix.
4274 2011-10-17  Chong Yidong  <cyd@gnu.org>
4276         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4278 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
4280         * dirtrack.el (dirtrack): Support shell buffers with path
4281         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
4283 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
4285         * json.el: Bump version to 1.3 and note change in History.
4286         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4288 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4290         * comint.el (comint-insert-input, comint-send-input)
4291         (comint-get-old-input-default, comint-backward-matching-input)
4292         (comint-next-prompt): Use nil instead of `input' for field property of
4293         past user input (bug#114).
4295         * minibuffer.el (completion--replace): Inherit surrounding properties
4296         (bug#114).
4297         (minibuffer-complete-and-exit): Use it.
4299         * comint.el (comint--table-subvert): Quote the all-completions output
4300         (bug#9160).
4302 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
4304         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4306         * menu-bar.el (menu-bar-file-menu): Add entry for making new
4307         window on right of selected.  (Bug#9350) Reword other window
4308         entries and separate them from frame entries.
4310 2011-10-15  Glenn Morris  <rgm@gnu.org>
4312         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4313         Doc fixes.
4315 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
4317         * net/network-stream.el (network-stream-open-starttls):
4318         Improve detection of failure due to lack of TLS support.
4320         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4321         putting the input text in front and in bold.
4323 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4325         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4327         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4328         empty buffer.
4330         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4331         unread-command-events rather than pushing yet-another event.
4333 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
4335         * mail/sendmail.el (sendmail-query-once): Improve the wording of
4336         the explanation of the possible choices.  Make the options passed
4337         to completing-read shorter.
4339 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4341         * textmodes/flyspell.el (flyspell-large-region): Make sure
4342         extended character mode is used if defined (Bug#1339).
4344 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
4346         * simple.el (what-cursor-position): Fix the display of the
4347         character info for LRE, LRO, RLE, and RLO characters by appending
4348         an invisible PDF.
4350 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4352         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4353         even in case of error; add debug spec; simplify data flow.
4354         (with-timeout-handler): Remove.
4356 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
4358         Fix Bug#6019, Bug#9315.
4360         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4361         complete `buffer-file-name', the local file name part could look
4362         remotely (for example on VMS).
4364         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4365         `tramp-run-real-handler'.
4366         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4367         already quoted by '"'.
4369         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4370         Let `file-name-handler-alist' be nil, the local file name part
4371         could look remotely (for example on VMS).
4373 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4375         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4376         from here...
4377         (flyspell-post-command-hook): ...to here.
4379 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4381         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4382         if not needed.
4383         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
4384         using completion.  Protect against "slow" callers.
4385         Remove the "message hack".
4387 2011-10-11  Juri Linkov  <juri@jurta.org>
4389         * isearch.el (isearch-lazy-highlight-word): New variable.
4390         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4391         Use it.  (Bug#9727)
4393 2011-10-11  Glenn Morris  <rgm@gnu.org>
4395         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4396         like f90-previous-statement does.
4398 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4400         * eshell/eshell.el (eshell-command): History should be saved
4401         only in interactive use, to avoid error.
4403 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4405         * minibuffer.el (completion-file-name-table): Fix last change,
4406         i.e. ignore normal errors but not the other ones.
4408 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
4410         * window.el (special-display-buffer-names)
4411         (special-display-regexps): Remove some remnants of earlier
4412         changes from doc-strings.
4413         (quit-windows-on): New function.
4415         * vc/vc.el (vc-revert, vc-rollback):
4416         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4417         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
4418         (Bug#6183) (Bug#7074) (Bug#7447)
4420 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
4422         * window.el (frame-auto-hide-function): Add version tag.
4423         (Bug#9699)
4425 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
4427         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4428         condition.
4430 2011-10-09  Leo Liu  <sdl.web@gmail.com>
4432         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4433         (Bug#9701)
4435 2011-10-08  Glenn Morris  <rgm@gnu.org>
4437         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4438         before the first code statement zero indent.  (Bug#9690)
4440 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
4442         * simple.el (count-words-region): Always count in the region.
4443         Report the number of lines and characters too.
4444         (count-words): New command, which counts in the buffer if the
4445         region is inactive, as count-words-region used to.
4446         (count-words--message): New function.  Handle plurals.
4447         (count-lines-region): Make it an alias for count-words-region.
4449         * bindings.el (esc-map): Replace count-lines-region with
4450         count-words-region.
4452 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
4454         * window.el (window--delete): Delete dedicated frame
4455         unconditionally when argument KILL is non-nil.  (Bug#9699)
4456         (switch-to-buffer): Fix doc-string typo.
4458 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4460         * eshell/eshell.el (eshell-command): Avoid using hooks.
4462 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
4464         * bindings.el ([M-left],[M-right]): Bind to left-word and
4465         right-word respectively.
4467 2011-10-07  Glenn Morris  <rgm@gnu.org>
4469         * cus-start.el (debug-on-quit): Fix custom type.
4471 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4473         * subr.el (define-key-after): Clarify that the function is not
4474         useful for non-menu keymaps.
4476         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4478 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4480         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
4481         in current minibuffer (Fix bug with recursive minibuffers).
4483 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
4485         * progmodes/gdb-mi.el (gdb): Doc fix.
4487 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
4489         * window.el (frame-auto-hide-function): New option replacing
4490         frame-auto-delete.  Suggested by Stefan Monnier.
4491         (window--delete): Call frame-auto-hide-function instead of
4492         investigating frame-auto-delete.
4493         (window-point-1, set-window-point-1): New functions.
4494         (window-in-direction, record-window-buffer, window-state-get-1)
4495         (display-buffer-record-window): Use window-point-1 instead of
4496         window-point.
4497         (set-window-buffer-start-and-point): Use set-window-point-1.
4499 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4501         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4503 2011-10-05  Glenn Morris  <rgm@gnu.org>
4505         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4506         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
4508 2011-10-05  Leo Liu  <sdl.web@gmail.com>
4510         * subr.el (read-char-choice): Fix argument to buffer-live-p which
4511         works with buffer object.
4513 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4515         * mpc.el (mpc-tool-bar-map): Add labels.
4517 2011-10-04  Glenn Morris  <rgm@gnu.org>
4519         * calendar/holidays.el (calendar-check-holidays): Doc fix.
4521 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
4523         * window.el (window--delete): New function.
4524         (frame-auto-delete): Resuscitate option.
4525         (bury-buffer, replace-buffer-in-windows)
4526         (quit-window): Rewrite using window--delete.
4527         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4528         Pass display-buffer-mark-dedicated to window--display-buffer-2
4529         (Bug#9639).
4531 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4533         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4534         returns a list (bug#9554).  Add remote file name completion.
4535         * comint.el (comint--table-subvert): Curry and get quote&unquote
4536         functions as arguments.
4537         (comint--complete-file-name-data): Adjust call accordingly.
4538         * pcomplete.el (pcomplete--table-subvert): Remove.
4539         (pcomplete-completions-at-point): Use comint--table-subvert instead.
4541         * minibuffer.el (completion-table-case-fold): Use currying.
4542         (completion--styles-type, completion--cycling-threshold-type):
4543         New constants.
4544         (completion-styles, completion-category-overrides)
4545         (completion-cycle-threshold): Use them.
4546         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4547         completion-table-case-fold.
4549 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
4551         * minibuffer.el (completion-category-overrides): Fix type of styles
4552         and add more user friendly tags (bug#9660).
4554 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4556         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4557         (mule-input-method-string): New widget.
4558         (default-input-method, language-info-custom-alist): Use it.
4560 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4562         * pcomplete.el: Require comint.
4563         (pcomplete--common-suffix): Remove.
4564         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4565         (pcomplete--table-subvert): Sync with comint--table-subvert.
4566         (pcomplete--entries): Use comint-completion-file-name-table.
4567         * comint.el (comint-unquote-filename): Simplify.
4568         (comint-completion-file-name-table): New function (bug#9616).
4569         (comint--complete-file-name-data): Use it.
4571         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4572         (pcmpl-gnu-tar-buffer): Remove.
4573         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
4574         around.  Make sure pcomplete-suffix-list is only changed temporarily.
4575         Don't look inside the tar's file if it's too large.
4577 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
4579         * cus-edit.el (custom-mode-map):
4580         * epa.el (epa-key-list-mode-map):
4581         * man.el (Man-mode-map):
4582         * startup.el (splash-screen-keymap):
4583         * simple.el (special-mode-map): Use scroll-up-command and
4584         scroll-down-command.
4586         * progmodes/idlw-help.el (idlwave-help-mode-map):
4587         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4588         * net/newst-plainview.el (newsticker-mode-map):
4589         * emulation/ws-mode.el (wordstar-mode-map):
4590         * emulation/vi.el (vi-com-map):
4591         * calc/calc-graph.el (calc-graph-show-dumb):
4592         * term/sun.el (terminal-init-sun):
4593         * term/ns-win.el (global-map):
4594         * progmodes/grep.el (grep-mode-map):
4595         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4596         * mail/rmail.el (rmail-mode-map):
4597         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4599         * custom.el (custom-safe-themes, load-theme): Treat value of t for
4600         custom-safe-themes as special.
4602 2011-10-01  Julien Danjou  <julien@danjou.info>
4604         * notifications.el (notifications-notify): Fix docstring.
4606 2011-10-01  Per Starbäck  <per@starback.se>
4608         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
4610 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
4612         * startup.el (command-line-1): Fix last fix by inserting
4613         initial-scratch-message into *scratch* before displaying it.
4614         (Bug#9605) and (Bug#9636)
4616 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
4618         * simple.el (line-move): If auto-hscroll-mode is disabled and the
4619         window is hscrolled, move by logical lines.  (Bug#9607)
4620         (line-move-visual): Update the doc string to the above effect.
4622 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
4624         * window.el (display-buffer-record-window): When WINDOW is the
4625         selected window use `point' instead of `window-point'.  (Bug#9626)
4627         * startup.el (command-line-1): Use insert-before-markers when
4628         inserting initial-scratch-message.  (Bug#9605)
4630         * help.el (help-window): Remove variable.
4632 2011-09-29  Glenn Morris  <rgm@gnu.org>
4634         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4636 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
4638         * descr-text.el (describe-char-categories): Accept category
4639         descriptions more than one line long.
4641 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4643         * simple.el (delete-trailing-whitespace): Fix last change.
4645         * progmodes/perl-mode.el (perl-syntax-propertize-function):
4646         Don't confuse "y => 3" as the beginning of a `y' operation.
4648         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4649         object has more than 4 slots (bug#9613).
4651 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
4653         * subr.el (with-output-to-temp-buffer):
4654         * net/quickurl.el (quickurl, quickurl-browse-url):
4655         Fix typos in docstrings.
4657 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
4659         * minibuffer.el (completion-styles)
4660         (completion-category-overrides): Cross reference each other in doc
4661         strings.
4663 2011-09-27  Glenn Morris  <rgm@gnu.org>
4665         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4666         to split-string.  (Bug#9606)
4668 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4670         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4671         (bug#9615).
4673 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
4675         * emacs-lisp/package.el (list-packages): Fix echo area message.
4677 2011-09-27  Leo Liu  <sdl.web@gmail.com>
4679         * ido.el (ido-read-internal): Accept cons cell HIST arg.
4681 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
4683         * net/dbus.el (dbus-unregister-object): Don't release services for
4684         registered signals.  (Bug#9581)
4686 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
4688         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4689         function that picks between cfengine 2 and 3 support
4690         automatically.  Update docs accordingly.
4692 2011-09-22  Kenichi Handa  <handa@m17n.org>
4694         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4695         ZERO.
4696         (indian-itrans-v5-table-for-tamil): New variable.
4697         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4699 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
4701         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4702         that's true if the current command involved collapsing of text.
4703         It's reset to false at the beginning of the next command.
4704         (allout-post-command-business): Move the cursor to the beginning
4705         of entry if the cursor is hidden and collapsing activity just
4706         happened.
4708 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
4710         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4711         tracking (Bug#9541).
4713 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
4715         * net/newst-reader.el (newsticker-html-renderer)
4716         (newsticker-show-news): Automatically load html rendering package
4717         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
4718         because w3m-fill-column is let-bound" and the error "Symbol's value
4719         as variable is void: w3m-fill-column".
4721 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
4723         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4724         Release services only if they are defined.  (Bug#9581)
4726 2011-09-23  Richard Stallman  <rms@gnu.org>
4728         * textmodes/paragraphs.el (forward-sentence): For backwards case,
4729         distinguish start of paragraph from start of its text.
4731         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4733         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4734         (rmail-generate-viewer-buffer): Put that hook on view buffer.
4735         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4737 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
4739         * international/mule-diag.el (mule-diag): Insert a newline after
4740         each fontset description.
4742 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4744         * simple.el (delete-trailing-whitespace):
4745         Document last change; simplify.
4747 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
4749         * simple.el (delete-trailing-whitespace): Also delete
4750         extra newlines at the end of the buffer.
4752         * textmodes/picture.el: Make motion commands obey shift-select-mode.
4753         (picture-newline): Use forward-line so as to ignore fields.
4755 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4757         * subr.el (with-wrapper-hook): Fix edebug spec.
4759 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4761         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4762         (bug#4538).
4764 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
4766         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4767         Fix nasty bug using wrong cached values.
4769 2011-09-23  Alan Mackenzie  <acm@muc.de>
4771         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4773 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
4775         * window.el (pop-to-buffer): Ensure right window is selected if we
4776         chose another frame.
4778 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
4780         * simple.el (what-cursor-position): Use get-char-property-change
4781         and next-single-char-property-change, to be able to show display
4782         properties that come from overlays as well as text properties.
4784 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
4786         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4788         * cmuscheme.el (run-scheme, switch-to-scheme):
4789         * cus-edit.el (customize-group, custom-buffer-create)
4790         (customize-browse):
4791         * info.el (info):
4792         * shell.el (shell):
4793         * mail/sendmail.el (mail):
4794         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4796 2011-09-22  Richard Stallman  <rms@gnu.org>
4798         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4799         move back only to line beg, don't move back over blank lines.
4801 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
4803         * files.el (copy-directory): Set directory attributes only in case
4804         they could be retrieved from the source directory.  (Bug#9565)
4806 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
4808         * progmodes/hideshow.el (hs-looking-at-block-start-p)
4809         (hs-find-block-beginning, hs-hide-level-recursive):
4810         Ignore strings as well as comments.  (Bug#9502)
4812 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
4814         * progmodes/sql.el (sql-comint-postgres):
4815         Convert port number to a string.  (Bug#9566)
4817 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
4819         * window.el (quit-window): Undedicate window when switching to
4820         previous buffer.  Reported by Thierry Volpiatto
4821         <thierry.volpiatto@gmail.com>.
4822         (special-display-popup-frame): When popping up a new frame reset
4823         its previous buffers to nil.  Simplify code.
4825 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
4827         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4828         and process filter, as done also in `shell-command'.
4830 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
4832         * window.el (set-window-buffer-start-and-point):
4833         Call set-window-start with NOFORCE argument t.
4834         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4835         (quit-window): Reword doc-string.  Handle new format of
4836         quit-restore parameter.  Don't delete window if it has a
4837         previous buffer we can show instead of the present one.
4838         (display-buffer-record-window): Rewrite using a new format for
4839         the quit-restore window parameter
4840         (special-display-popup-frame, display-buffer-same-window)
4841         (display-buffer-reuse-window, display-buffer-pop-up-frame)
4842         (display-buffer-pop-up-window, display-buffer-use-some-window):
4843         Adapt symbol passed to display-buffer-record-window.
4844         * help.el (help-window-setup): Handle new format of quit-restore
4845         parameter.
4847 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4849         * faces.el (face-list): Fix docstring (bug#9564).
4851         * window.el (display-buffer--action-function-custom-type):
4852         Don't include internal functions in the Custom interface.
4854 2011-09-20  Juri Linkov  <juri@jurta.org>
4856         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4857         (Info-forward-node, Info-backward-node, Info-next-preorder)
4858         (Info-last-preorder): Use it.  (Bug#9528)
4860 2011-09-20  Juri Linkov  <juri@jurta.org>
4862         * info.el (Info-last-preorder): Visit last menu item only when
4863         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4865 2011-09-20  Julien Danjou  <julien@danjou.info>
4867         * password-cache.el (password-cache-remove): Remove entries even if the
4868         value is nil, so that password with a nil value (negative caching) is
4869         possible to invalidate.
4871 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
4873         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4874         all whitespace around breakpoint.  (Bug#9553)
4875         (f90-find-breakpoint): Only break at whitespace inside a comment.
4877 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4879         * minibuffer.el (completion-file-name-table): Keep track of errors.
4880         (completion-table-with-predicate): Handle the case where pred1 is nil.
4881         * pcomplete.el (pcomplete-completions-at-point): Simplify.
4883 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4885         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4886         (debugger-return-value): Signal an error if the debugging context does
4887         not await any return value.
4889         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4890         * image-mode.el (image-toggle-display-text)
4891         (image-toggle-display-image): Stay away from evil `intangible'.
4893 2011-09-19  Leo Liu  <sdl.web@gmail.com>
4895         * replace.el (occur-revert-arguments): Make it permanent-local.
4896         (occur-mode): Don't call font-lock-defontify.
4898 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
4900         * net/ldap.el (ldap-search-internal): Don't push empty search
4901         result (Bug#9508).
4903 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4905         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4907 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
4909         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4910         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4912 2011-09-18  Juri Linkov  <juri@jurta.org>
4914         * buff-menu.el (Buffer-menu-mode-map):
4915         * dired.el (dired-mode-map):
4916         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4917         (lisp-interaction-mode-map):
4918         * emacs-lisp/package.el (package-menu-mode-map):
4919         * epa.el (epa-key-list-mode-map):
4920         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4921         (menu-bar-options-menu):
4922         * outline.el (outline-mode-menu-bar-map):
4923         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4924         * vc/vc-dir.el (vc-dir-menu-map):
4925         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4926         Capitalize non-function content words in menu item strings.
4928         * dired.el (dired-mode-map): Add menu item for
4929         `image-dired-dired-toggle-marked-thumbs'.
4931 2011-09-18  Juri Linkov  <juri@jurta.org>
4933         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4934         to `isearch-case-fold-search' and restore its original value
4935         after the `isearch-mode' call.
4937 2011-09-18  Juri Linkov  <juri@jurta.org>
4939         * progmodes/grep.el (grep-process-setup): Don't check code for 1
4940         because `zgrep' returns 1 for successful matches (bug#9226).
4942 2011-09-18  Juri Linkov  <juri@jurta.org>
4944         * info.el (Info-extract-menu-node-name): Check the second match
4945         for empty string (second test-case of bug#9528).
4946         (Info-last-preorder): Let-bind `Info-history' to nil to not add
4947         intermediate nodes to the history (first test-case of bug#9528).
4949 2011-09-18  Juri Linkov  <juri@jurta.org>
4951         * info.el (Info-mode-syntax-table): New variable.
4952         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
4954 2011-09-18  Juri Linkov  <juri@jurta.org>
4956         * info.el (Info-file-supports-index-cookies):
4957         Increment line-beginning-position's arg from 3 to 4 because makeinfo
4958         outputs one more line for long file names (bug#4142).
4960 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
4962         * newcomment.el (comment-normalize-vars): If prompting for
4963         comment-start, set comment-start-skip too (Bug#8424).
4965 2011-09-18  Johan Bockgård  <bojohan@gnu.org>
4967         * icomplete.el: Fix previous fix of Bug#5849.
4968         (icomplete-mode): Don't set completion-show-inline-help.
4969         (icomplete-minibuffer-setup): Set completion-show-inline-help
4970         locally during icompletion.
4972 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
4974         * woman.el (woman2-process-escapes): Don't delete unrecognized
4975         escapes (Bug#7843).
4977         * files.el (inhibit-first-line-modes-regexps): Add image files.
4978         (hack-local-variables-prop-line): Return nil for malformed
4979         prop-lines (Bug#9044).
4981 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
4983         * net/tramp.el (top): Don't require 'shell.
4984         (tramp-methods): Fix docstring.
4985         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
4986         Return complete remote file name.  Handle "smb" case.
4987         Use `tramp-tmpdir', if defined for the respective method.
4988         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4990         * net/tramp-compat.el (top): Require 'shell.
4992         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4993         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4994         `tramp-current-host'.
4995         (tramp-get-remote-tmpdir): Remove.
4997         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4998         `tramp-tmpdir' entries.
4999         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5000         (tramp-smb-handle-file-attributes): Ignore errors.
5001         (tramp-smb-wait-for-output): Check also for process end.
5003 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5005         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5006         when sending QUIT (bug#9312).
5008 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
5010         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5011         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5012         occur-mode-display-occurrence.
5013         (occur-edit-mode): Add usage message.
5014         (occur-cease-edit): New command.
5015         (occur-after-change-function): Use text properties to find the
5016         position of the prefix text.
5017         (occur-engine): Set stickiness of prefix text properties.
5019 2011-09-17  Glenn Morris  <rgm@gnu.org>
5021         * progmodes/etags.el (complete-tag):
5022         Fix call to completion-in-region.  (Bug#9526)
5024 2011-09-17  Juri Linkov  <juri@jurta.org>
5026         * textmodes/ispell.el (ispell-word): Add to the error message
5027         the word, ispell program name and current dictionary (bug#9121).
5028         (ispell-tex-arg-end): Capitalize "error" in the error message.
5030 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
5032         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5033         check.  (Bug#4251)
5035 2011-09-17  Juri Linkov  <juri@jurta.org>
5037         * window.el (window-safe-min-height, window-safe-min-width):
5038         Fix typos (followup to bug#9522).
5040 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
5042         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5044 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
5046         * simple.el (line-move): If goal-column is set, move by logical
5047         lines, not by display lines.  (Bug#971)
5048         (next-line, previous-line, goal-column, line-move-visual): Doc fix
5049         to reflect the above change.
5051 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5053         * image.el (imagemagick-register-types): Use regexp-opt.
5055 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
5057         * window.el (display-buffer-base-action): Rename from
5058         display-buffer-default-action.  Make default value empty.
5059         (display-buffer-overriding-action): Convert to defvar.
5060         (display-buffer-fallback-action): New var.
5062 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
5064         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5065         declaration.
5066         (package--add-to-archive-contents): If there is a duplicate entry
5067         with an older version, remove it.
5068         (package-menu-mark-delete, package-menu-mark-install)
5069         (package-menu-mark-unmark): Make unused args optional.
5070         (package-menu-mark-obsolete-for-deletion):
5071         Use package-menu-get-status instead of a regexp search.
5072         (package-menu-get-status): Use tabulated-list-entry.
5073         (package-menu-mark-upgrades): New command.
5074         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
5075         (package-menu-execute): Do installation before deletion.
5076         (package-menu-refresh, package-menu-execute): Use derived-mode-p
5077         instead of checking major-mode.
5078         (package-menu--find-upgrades): New function.
5080 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5082         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5083         passwords in the log buffer.
5084         (smtpmail-process-filter): Update the process marker so that the
5085         "broken by peer" status message is inserted in the right place.
5087 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5089         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5090         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5091         bibtex-completion-at-point-function.
5092         (bibtex-completion-at-point-function): Use them.
5094         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5096         * mpc.el (mpc-constraints-tag-lookup): New function.
5097         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5098         also to browser "album|playlist".
5100 2011-09-14  Juri Linkov  <juri@jurta.org>
5102         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
5103         (isearch-edit-string): Use length of `isearch-string' when
5104         `isearch-fail-pos' returns nil.
5105         (isearch-message): Remove duplicate code and call
5106         `isearch-fail-pos' with arg `t'.
5108 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
5110         * replace.el (occur-mode-goto-occurrence): Don't force using other
5111         window (Bug#9499).
5113         * dired-aux.el (dired-do-chmod): Don't provide initial input.
5115 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
5117         * window.el (display-buffer-window): Remove.
5118         (display-buffer-record-window): Use help-setup window parameter
5119         instead of variable display-buffer-window.
5120         (display-buffer-function, special-display-buffer-names)
5121         (special-display-function): Mention help-setup parameter instead
5122         of display-buffer-window in doc-string.
5123         * help.el (help-window-setup): New argument help-window.
5124         Use help-window-setup parameter instead of display-buffer-window.
5125         Reword some messages.
5126         (with-help-window): Pass window used for displaying the buffer
5127         to help-window-setup.  Don't set display-buffer-window.
5129 2011-09-13  Glenn Morris  <rgm@gnu.org>
5131         * emacs-lisp/debug.el (debugger-make-xrefs):
5132         Preserve point.  (Bug#9462)
5134 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
5136         * window.el (window-deletable-p): Use next-frame.
5138 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
5140         * window.el (window-auto-delete): Remove.
5141         (window-deletable-p): Remove argument FORCE.  Don't deal with
5142         dedication and previous buffers.
5143         (switch-to-prev-buffer): Don't delete window.
5144         (delete-windows-on): Delete a window's frame if and only if the
5145         window is dedicated.
5146         (replace-buffer-in-windows): Delete buffer's window or frame if
5147         and only if window is dedicated.
5148         (quit-window): Handle quit-restore as before last change.
5149         (bury-buffer): Delete window only if window-deletable-p returns t.
5151 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
5153         * window.el (window-deletable-p): Never delete the last frame on a
5154         given terminal.
5156 2011-09-13  Glenn Morris  <rgm@gnu.org>
5158         * help.el (describe-key-briefly): Copy previous standard-output change.
5160 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
5162         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
5164 2011-09-13  Glenn Morris  <rgm@gnu.org>
5166         * emacs-lisp/lisp-mode.el (lisp-indent-function):
5167         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5169 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
5171         * dired-aux.el (dired-mark-read-string): Don't return default
5172         value on empty input (Bug#9361).
5173         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5174         Omit initial minibuffer contents.
5175         (dired-do-chmod): Signal an error on empty input.
5176         (dired-mark-read-string): Don't return default on empty input.
5178         * files.el (file-modes-symbolic-to-number): Doc fix.
5180 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5182         * international/mule-cmds.el (ucs-completions): Remove.
5183         (read-char-by-name): Use complete-with-action instead; add metadata.
5185 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
5187         * window.el (display-buffer--action-function-custom-type)
5188         (display-buffer--action-custom-type): New vars.
5189         (display-buffer-alist, display-buffer-default-action)
5190         (display-buffer-overriding-action): Add defcustom types.
5192         * frame.el (delete-other-frames): Doc fix (Bug#276).
5194 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5196         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5198 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
5200         Change modes that used same-window-* vars to use switch-to-buffer.
5202         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5203         Use switch-to-buffer.
5205         * cus-edit.el (customize-group, custom-buffer-create)
5206         (customize-browse, custom-buffer-create-other-window):
5207         Use switch-to-buffer or switch-to-buffer-other-window.
5209         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5210         (Info-prev, Info-up, Info-speedbar-goto-node)
5211         (info-display-manual): Use switch-to-buffer.
5212         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5214         * mail/sendmail.el (mail): Use switch-to-buffer.
5215         (mail-recover): Use switch-to-buffer-other-window.
5217         * cmuscheme.el (run-scheme, switch-to-scheme):
5218         * ielm.el (ielm):
5219         * shell.el (shell):
5220         * net/rlogin.el (rlogin):
5221         * net/telnet.el (telnet, rsh):
5222         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5224 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
5226         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5228 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5230         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5231         so don't mention it (bug#9301).
5232         (dired-sort-toggle-or-edit): Clarify string further.
5234         * faces.el (face-spec-set-match-display): Make `(type graphic)'
5235         match `x', `w32' and `ns', like the manual says (bug#9029).
5237         * subr.el (eval-after-load): Doc string clarification (bug#9125).
5238         (process-kill-buffer-query-function): Mention the buffer name in
5239         the query.
5241         * image-mode.el (image-next-line): The line parameter is mandatory
5242         (bug#9258).
5244         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5245         which can be useful (bug#9301).
5247         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5249         * subr.el (match-string): Mention that the current buffer should
5250         be the same as the search was done in (bug#9282).
5252         * facemenu.el: Disable the remove-* commands if the mark isn't
5253         active (bug#9162).
5255 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
5257         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5258         of display-buffer.
5259         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5261         * replace.el (occur-mode-goto-occurrence)
5262         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5263         and display-buffer.
5265         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5266         display-buffer.
5268         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5269         special-display and same-window variables.
5270         (mail-other-window): Use switch-to-buffer-other-window.
5271         (mail-other-frame): USe switch-to-buffer-other-frame.
5273         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5274         Use display-buffer-other-frame.
5275         (gdb-display-gdb-buffer): Use pop-to-buffer.
5277         * progmodes/gud.el (gud-goto-info): Use info-other-window.
5279         * progmodes/python.el: Don't set same-window-buffer-names.
5281         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5283         * window.el (display-buffer-alist): Add *Python*.
5285 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
5287         * window.el (display-buffer-alist): Add entry for buffers
5288         previously handled same-window-*.
5289         (display-buffer-alist, display-buffer-default-action)
5290         (display-buffer-overriding-action): Mark as risky.
5291         (display-buffer-alist): Document action function changes.
5292         (display-buffer--same-window-action)
5293         (display-buffer--other-frame-action): New variables.
5294         (switch-to-buffer, display-buffer-other-frame): Use them.
5295         (display-buffer): Rename reuse-frame entry to reusable-frames.
5296         (display-buffer-reuse-selected-window): Function deleted.
5297         (display-buffer-reuse-window): Handle reusable-frames alist entry.
5298         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5299         (display-buffer-special): New function.
5300         (display-buffer--maybe-pop-up-frame-or-window): Rename from
5301         display-buffer-reuse-or-pop-window.  Split off special-display
5302         part into display-buffer-special.
5303         (display-buffer-use-some-window): Don't perform any special
5304         pop-up-frames handling.
5305         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
5306         (display-buffer--maybe-same-window): Rename from
5307         display-buffer-maybe-same-window.
5309         * info.el: Don't set same-window-regexps.
5310         (info-setup): New function.
5311         (info-other-window, info): Call it.
5313         * cus-edit.el: Don't set same-window-regexps.
5314         (customize-group): New argument.
5315         (customize-group-other-window): Use it.
5316         (customize-face, customize-face-other-window): Likewise.
5317         (custom-buffer-create-other-window): Use pop-to-buffer directly.
5319         * net/rlogin.el:
5320         * net/telnet.el:
5321         * progmodes/gud.el: Don't set same-window-regexps.
5323         * cmuscheme.el:
5324         * ielm.el:
5325         * shell.el:
5326         * mail/sendmail.el:
5327         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5329 2011-09-10  Juri Linkov  <juri@jurta.org>
5331         * isearch.el (isearch-edit-string): Remove obsolete mention of
5332         `C-w' (`isearch-yank-word-or-char') from docstring.
5333         (isearch-query-replace): Fix typo in docstring (bug#9466).
5335 2011-09-10  Juri Linkov  <juri@jurta.org>
5337         * paren.el (show-paren-function): Don't show escaped parens.
5338         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
5340 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
5342         * mail/sendmail.el (mml-to-mime, mml-attach-file)
5343         (mm-default-file-encoding): Remove autoload forms, they are
5344         replaced with autoload cookies in mml.el and mm-encode.el.
5345         (mail-add-attachment): New command.
5346         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5347         (mail-mode): Mention mail-insert-file and mail-add-attachment in
5348         the doc string.
5349         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5351 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
5353         * simple.el (count-words-region): Use buffer if there's no region
5354         (bug#9429).
5356 2011-09-09  Juri Linkov  <juri@jurta.org>
5358         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5359         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5360         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
5362 2011-09-09  Alan Mackenzie  <acm@muc.de>
5364         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5365         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
5367 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
5369         Fix for Savannah bug#9392.
5370         * simple.el (mail-encode-mml): New defvar.
5372         * mail/rmail.el (mail-encode-mml): Add a defvar.
5373         (rmail-enable-mime-composing): Default to t.
5374         (rmail-forward): Use MIME method of forwarding only if both
5375         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5376         Set mail-encode-mml non-nil if the MIME method was used.
5378         * mail/sendmail.el (mml-to-mime): Add autoload form.
5379         (mail-encode-mml): Add a defvar.
5380         (mail-mode): Make mail-encode-mml buffer-local and initialize it
5381         to nil.
5382         (mail-send): If mail-encode-mml is non-nil, run the outgoing
5383         message through mml-to-mime, and reset mail-encode-mml to nil.
5385 2011-09-09  Glenn Morris  <rgm@gnu.org>
5387         * woman.el (woman-if-body): When processing an .el block,
5388         do not delete the next .el block as well.  (Bug#9447)
5389         (woman-special-characters): Add oq, cq, and hy characters.
5391 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
5393         * window.el (window-deletable-p): Make sure window is live before
5394         invoking window-prev-buffers.
5396 2011-09-08  Leo Liu  <sdl.web@gmail.com>
5398         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
5400 2011-09-08  Juri Linkov  <juri@jurta.org>
5402         * progmodes/compile.el (compilation-environment): Make it
5403         a defcustom (bug#8340).
5405 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
5407         * window.el (frame-auto-delete): Rename to window-auto-delete.
5408         Make it control auto-deletion of windows and/or frames.
5409         (window-deletable-p): New argument FORCE.  Rewrite conditions
5410         for deleting window/frame.  (Bug#9419)
5411         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5412         Rewrite handling of case when window/frame can be deleted.
5413         (delete-windows-on): Call window-deletable-p with new FORCE
5414         argument t.  (Bug#9456)
5416 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
5418         * help-mode.el (help-mode): Restore autoload.
5420 2011-09-07  Juri Linkov  <juri@jurta.org>
5422         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5423         `compilation-environment'.  Set buffer-local
5424         `compilation-environment' to `thisenv' later after (funcall mode).
5425         (Bug#8340)
5427         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
5428         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5429         instead of replacing its value.  (Bug#8340)
5431 2011-09-07  Juri Linkov  <juri@jurta.org>
5433         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5434         based on text properties put by `grep-filter' instead of matching
5435         escape sequences.
5436         (grep-mode): Set buffer-local `compilation-error-screen-columns'
5437         to the value of `grep-error-screen-columns' (bug#9438).
5439 2011-09-07  Juri Linkov  <juri@jurta.org>
5441         * simple.el (next-error-highlight, next-error-highlight-no-select):
5442         Doc fix (bug#9432).
5444 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
5446         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5447         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
5449 2011-09-07  Leo Liu  <sdl.web@gmail.com>
5451         * net/rcirc.el (rcirc-mode): Conditionally initialize
5452         rcirc-input-ring.
5454 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5456         * emacs-lisp/find-func.el (find-function-C-source): Only set
5457         find-function-C-source-directory after checking that we found a source
5458         file there (bug#9440).
5460 2011-09-06  Alan Mackenzie  <acm@muc.de>
5462         * isearch.el (isearch-other-meta-char): Wherever a key list is
5463         unread, "unread" the prefix arg, too.  This fixes bug #8901.
5465 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
5467         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5469 2011-09-05  Juri Linkov  <juri@jurta.org>
5471         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5473 2011-09-05  Juri Linkov  <juri@jurta.org>
5475         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5476         keeping point where processing of grep matches begins, and
5477         continue to delete remaining escape sequences from the same point.
5478         (grep-filter): Make leading zero optional in "0?1;31m" because
5479         git-grep emits "\033[1;31m" escape sequences unlike expected
5480         "\033[01;31m" as GNU Grep does (bug#9408).
5481         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5483 2011-09-05  Juri Linkov  <juri@jurta.org>
5485         * subr.el (y-or-n-p): Capitalize "yes".
5487 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
5489         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
5490         `tramp-cache-unload-hook' where appropriate.
5491         (tramp-methods): Rename `tramp-remote-sh' to
5492         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
5493         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5495         * net/tramp-sh.el (top): Don't require 'shell.
5496         (tramp-methods): Add `tramp-remote-shell' and
5497         `tramp-remote-shell-args' entries.
5498         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5499         (tramp-sh-handle-shell-command): Remove.
5500         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5501         Use `tramp-remote-shell'.
5503 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
5505         * mail/sendmail.el (sendmail-query-once-function): Delete.
5506         (sendmail-query-once): Save directly to send-mail-function.
5507         Update message-send-mail-function too.
5509         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5511 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
5513         * progmodes/python.el (python-mode-map): Use correct function to
5514         start python interpreter from menu-bar (as reported by Geert
5515         Kloosterman).
5516         (inferior-python-mode-map): Fix typo.
5517         (python-shell-map): Remove.
5519 2011-09-03  Deniz Dogan  <deniz@dogan.se>
5521         * net/rcirc.el (rcirc-print): Simplify code for
5522         rcirc-scroll-show-maximum-output.  There is no need to walk
5523         through all windows to find the right one.
5525 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
5527         * help.el (help-return-method): Doc fix.
5529 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
5531         * window.el (window-deletable-p): Don't return a non-nil value
5532         when there's a buffer that was shown in the window before.
5533         (Bug#9419)
5534         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5535         Set window's previous buffers to nil.
5537 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
5539         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5540         newline before and after the tag line, so it doesn't interfere
5541         with determining the paragraph direction of bidirectional text.
5543 2011-09-03  Leo Liu  <sdl.web@gmail.com>
5545         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
5547 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
5549         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
5550         (pop-to-buffer): Change interactive spec.  Pass second argument
5551         directly to display-buffer.
5552         (display-buffer): Fix interactive spec.  Use functionp to
5553         distinguish between a function and a list of functions.
5555         * abbrev.el (edit-abbrevs):
5556         * arc-mode.el (archive-extract):
5557         * autoinsert.el (auto-insert):
5558         * bookmark.el (bookmark-bmenu-list):
5559         * files.el (find-file):
5560         * view.el (view-buffer):
5561         * progmodes/compile.el (compilation-goto-locus):
5562         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5564 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
5566         * window.el (display-buffer-alist): Doc fix.
5567         (display-buffer): Add docstring.  Don't treat
5568         display-buffer-default specially.
5569         (display-buffer-reuse-selected-window)
5570         (display-buffer-same-window, display-buffer-maybe-same-window)
5571         (display-buffer-reuse-window, display-buffer-pop-up-frame)
5572         (display-buffer-pop-up-window)
5573         (display-buffer-reuse-or-pop-window)
5574         (display-buffer-use-some-window): New functions.
5575         (display-buffer-default-action): Use them.
5576         (display-buffer-default): Delete.
5577         (pop-to-buffer-1): Fix choice of actions.
5579 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5581         * minibuffer.el (completion--insert-strings): Don't get confused by
5582         completion entries that end with an LF char.
5584 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
5586         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5588 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
5590         * window.el (display-buffer): Restore interactive spec.
5591         (display-buffer-same-window, display-buffer-other-window):
5592         New functions.
5593         (pop-to-buffer-1): New function.  Use the above.
5594         (pop-to-buffer, pop-to-buffer-same-window): Use it.
5595         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
5597         * view.el (view-buffer-other-window, view-buffer-other-frame):
5598         Just use pop-to-buffer.
5600 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5602         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
5604 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
5606         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
5608 2011-08-31  Richard Stallman  <rms@gnu.org>
5610         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5611         of the separation of rmail-view-buffer from rmail-buffer.
5612         If you say no to "replace original", the decrypt is in the
5613         view buffer.  If you say yes, the decrypt goes into the
5614         rmail buffer also.
5616 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
5618         * window.el (display-buffer-window): Rewrite doc-string.
5619         (display-buffer-record-window): New function.
5620         (display-buffer-macro-specifiers)
5621         (display-buffer-even-window-sizes, display-buffer-set-height)
5622         (display-buffer-set-width, display-buffer-in-window)
5623         (display-buffer-reuse-window, display-buffer-split-specifiers)
5624         (display-buffer-side-specifiers, display-buffer-split-window-1)
5625         (display-buffer-split-window, display-buffer-split-atom-window)
5626         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5627         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5628         (display-buffer-other-window-means-other-frame)
5629         (display-buffer-normalize-special)
5630         (display-buffer-normalize-default)
5631         (display-buffer-normalize-argument)
5632         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5633         (display-buffer-normalize-specifiers, display-buffer-frame)
5634         (display-buffer-same-window, display-buffer-same-frame)
5635         (display-buffer-other-window)
5636         (display-buffer-same-frame-other-window)
5637         (display-buffer-other-frame, pop-to-buffer-same-window)
5638         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5639         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5640         (switch-to-buffer-same-frame)
5641         (switch-to-buffer-other-window-same-frame)
5642         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5643         (display-buffer-alist-set-1, display-buffer-alist-set-2)
5644         (display-buffer-alist-set): Remove.
5645         (display-buffer-function, special-display-buffer-names)
5646         (special-display-regexps, special-display-function):
5647         In doc-string refer to display-buffer-window and quit-restore
5648         parameter.
5649         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5650         (special-display-frame-alist, special-display-popup-frame)
5651         (same-window-buffer-names, same-window-regexps, same-window-p)
5652         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5653         (split-window-preferred-function, split-height-threshold)
5654         (split-width-threshold, window-splittable-p)
5655         (split-window-sensibly, window--try-to-split-window)
5656         (window--frame-usable-p, even-window-heights)
5657         (window--even-window-heights, window--display-buffer-1)
5658         (window--display-buffer-2, display-buffer-other-frame):
5659         Restore old Emacs 23 code, order and doc-strings where applicable.
5660         (display-buffer-default, display-buffer-assq-regexp): New functions.
5661         (display-buffer-alist): Rewrite doc-string.
5662         (display-buffer-default-action)
5663         (display-buffer-overriding-action): New variables.
5664         (display-buffer, switch-to-buffer): Rewrite.
5665         (pop-to-buffer): Restore Emacs 23 behavior but use
5666         window-normalize-buffer-to-display.
5667         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5668         Restore Emacs 23 behavior but use
5669         window-normalize-buffer-to-switch-to.
5670         (pop-to-buffer-same-window): Rewrite.
5671         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5672         Rewrite using Emacs 23 options.
5674 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
5676         * net/tramp.el (tramp-root-regexp): Remove.
5677         (tramp-completion-file-name-regexp-unified)
5678         (tramp-completion-file-name-regexp-separate)
5679         (tramp-completion-file-name-regexp-url): Don't use leading volume
5680         letter on win32 systems.  (Bug#5303, Bug#9311)
5681         (tramp-drop-volume-letter): Simplify definition.
5682         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5684 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5686         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5687         (bug#9356).
5689 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
5691         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5693 2011-08-29  Juri Linkov  <juri@jurta.org>
5695         * isearch.el (isearch-done): Don't display message "Mark saved"
5696         when arg `edit' is non-nil to prevent its flicker in the echo area.
5698 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
5700         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5701         obsolete packages for deletion.
5703 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
5705         * help-mode.el (help-mode-map): Add special-mode-map to parent.
5706         (help-mode): Derive help-mode from special-mode.  Don't invoke
5707         view-mode from help-mode.
5708         (help-xref-override-view-map): Remove.
5709         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5710         view-mode is not used anymore.
5712 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
5714         * server.el (server-port): Doc fix.
5716         * cus-theme.el (custom-theme-choose-mode): Inherit from
5717         special-mode (Bug#9124).
5718         (custom-theme-choose-mode-map): Add special-mode to parent.
5720 2011-08-28  Alan Mackenzie  <acm@muc.de>
5722         * progmodes/cc-fonts.el
5723         (c-make-font-lock-BO-decl-search-function): New function.
5724         (c-basic-matchers-after - "Fontify the clauses after various
5725         keywords"): Extract the three keyword lists for the 3 erroneous
5726         constructs from the list of four, and use the new function above
5727         in place of an old one.
5729 2011-08-28  Deniz Dogan  <deniz@dogan.se>
5731         * net/rcirc.el (rcirc-insert-prev-input)
5732         (rcirc-insert-next-input): Remove unused argument.
5734 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5736         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5738 2011-08-27  Alan Mackenzie  <acm@muc.de>
5740         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5741         handle function pointer parameters properly.
5743 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
5745         * window.el (display-buffer-reuse-window): Fix case where
5746         selected window was reused with non-nil OTHER-WINDOW argument.
5747         (Bug#9381)
5749 2011-08-27  Deniz Dogan  <deniz@dogan.se>
5751         * net/rcirc.el (rcirc-check-auth-status): Adding support for
5752         oftc's NickServ messages.
5754 2011-08-27  Glenn Morris  <rgm@gnu.org>
5756         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
5758 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
5760         * emacs-lisp/package.el (package-install): Call package-initialize
5761         if called interactively.
5763 2011-08-26  Leo Liu  <sdl.web@gmail.com>
5765         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
5767 2011-08-25  Juri Linkov  <juri@jurta.org>
5769         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5770         `search-whitespace-regexp' (bug#9364).
5772 2011-08-25  Juri Linkov  <juri@jurta.org>
5774         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5775         `regexp-search-ring' to their global values to protect from
5776         updating by `read-from-minibuffer' (bug#9185).
5778 2011-08-25  Juri Linkov  <juri@jurta.org>
5780         * textmodes/ispell.el (ispell-command-loop): Add newline
5781         at the end of the "Use option `i'..." line.
5783 2011-08-25  Juri Linkov  <juri@jurta.org>
5785         * battery.el (display-battery-mode): If `battery-status-function'
5786         or `battery-mode-line-format' is nil, display the message and set
5787         `display-battery-mode' to nil (bug#9363).
5789 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
5791         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5792         bidi-string-mark-left-to-right; they are unnecessary now.
5794 2011-08-25  Deniz Dogan  <deniz@dogan.se>
5796         * net/quickurl.el: Documentation typo fixes.
5798 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
5800         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5802 2011-08-25  Glenn Morris  <rgm@gnu.org>
5804         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5806         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5807         (smtpmail-via-smtp): Handle nil response from smtp.
5809 2011-08-24  Juri Linkov  <juri@jurta.org>
5811         * proced.el (proced-marked): Inherit from `error' instead of
5812         `font-lock-warning-face'.
5814         * ibuffer.el (ibuffer-marked-face): Change default face from
5815         `font-lock-warning-face' to `warning'.
5816         (ibuffer-deletion-face): Change default face from
5817         `font-lock-type-face' to `error'.
5819         * battery.el (battery-update): Use the face `error' instead of
5820         `font-lock-warning-face' (bug#6117).
5822 2011-08-24  Juri Linkov  <juri@jurta.org>
5824         * faces.el (success): Change face color from "Green3" to
5825         "ForestGreen" on light background (bug#9353).
5827 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
5829         * window.el (quit-window): Rename from quit-restore-window.
5830         Use same arglist as old quit-window.
5831         (frame-auto-delete): Doc fix.
5833         * view.el (view-mode-exit): Use quit-window.
5835 2011-08-24  Juri Linkov  <juri@jurta.org>
5837         * isearch.el (isearch-ring-adjust1): Start visiting previous
5838         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5839         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5840         for empty search string (when the last search string is reused
5841         automatically) to adjust the isearch ring to the last element and
5842         prepare the correct index for further M-p commands (bug#9185).
5844 2011-08-24  Kenichi Handa  <handa@m17n.org>
5846         * international/ucs-normalize.el: If decomposition property of
5847         CHAR is the default one (i.e. a list of CHAR itself), treat it as
5848         nil.
5849         (nfd, nfkd): Likewise.
5851 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5853         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5854         from process filters aren't reliably transmitted to the surrounding
5855         accept-process-output.
5856         (mpc-proc-check): New function.
5857         (mpc-proc-sync): Use it (bug#8293)
5859 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5861         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5862         Add compatibility functions (bug#9313).
5864 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
5866         * cus-start.el (all): Add entry for bidi-paragraph-direction.
5868         * international/uni-bidi.el: Regenerate.
5870 2011-08-23  Kenichi Handa  <handa@m17n.org>
5872         * international/charprop.el:
5873         * international/uni-bidi.el:
5874         * international/uni-category.el:
5875         * international/uni-combining.el:
5876         * international/uni-comment.el:
5877         * international/uni-decimal.el:
5878         * international/uni-decomposition.el:
5879         * international/uni-digit.el:
5880         * international/uni-lowercase.el:
5881         * international/uni-mirrored.el:
5882         * international/uni-name.el:
5883         * international/uni-numeric.el:
5884         * international/uni-old-name.el:
5885         * international/uni-titlecase.el:
5886         * international/uni-uppercase.el: Regenerate.
5888 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
5890         * help.el (help-window-setup): Fix message displayed when other
5891         window is reused.  (Bug#9341)
5893 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5895         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5896         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5898         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5899         Mark obsolete.
5900         * shell.el (shell-parse-pcomplete-arguments): New function.
5901         (shell-completion-vars): Use it instead (bug#9160).
5903 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5905         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5906         strings and comments (bug#9333).
5908         * emacs-lisp/debug.el (debug-arglist): New function.
5909         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
5910         (debug-on-entry-1): Handle interpreted closures (bug#9120).
5912 2011-08-22  Juri Linkov  <juri@jurta.org>
5914         * progmodes/compile.el (compilation-mode-font-lock-keywords):
5915         Revert regexp that highlights output switches to its old
5916         pre-2010-10-28 value and remove one `?' from it (bug#9319).
5918         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5919         to check for empty output (bug#9226).
5921 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
5923         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5924         symbol-constituent as the default, as that stops font-lock from
5925         working properly (Bug#8843).
5927 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5929         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5930         `coding-system-for-*' around the process open call to avoid
5931         auth-source side effects.
5932         (smtpmail-try-auth-methods): Expand the secret password.
5933         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5934         probe hangs.
5936 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
5938         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5940         * emacs-lisp/find-func.el (find-function-noselect): New arg
5941         lisp-only.
5943         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5944         signal an error for built-in functions (Bug#6664).
5946 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5948         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5949         (smtpmail-try-auth-methods): Use it.
5951 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
5953         * font-lock.el (font-lock-fontify-region)
5954         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5955         (font-lock-default-unfontify-buffer)
5956         (font-lock-default-fontify-region)
5957         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5959         * progmodes/compile.el (compilation-error-properties):
5960         Fix confusion between file struct and message struct (Bug#9319).
5961         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5962         `ant' regexp.
5964         * net/browse-url.el (browse-url-firefox): Don't call
5965         browse-url-firefox-sentinel unless using -remote (Bug#9328).
5967 2011-08-20  Glenn Morris  <rgm@gnu.org>
5969         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5971         * tutorial.el (tutorial--default-keys): Update some default bindings.
5973         * files.el (hack-local-variables): Fully ignore case for "mode:".
5975 2011-08-20  Alan Mackenzie  <acm@muc.de>
5977         Resolve invalid use of a regexp in regexp-opt.
5979         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5980         detection for a java annotation.
5982         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
5983         detection for a java annotation.
5985         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5986         handling for java.
5987         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5989 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
5991         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5992         (Bug#9274).
5994 2011-08-20  Alan Mackenzie  <acm@muc.de>
5996         Fontify CPP expressions correctly when starting in the middle of
5997         such a construct.  Mainly for when jit-lock etc. starts a chunk
5998         here.
6000         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
6001         variable.
6002         (c-make-font-lock-search-form): New function, extracted from
6003         c-make-font-lock-search-function.
6004         (c-make-font-lock-search-function): Use the above function.
6005         (c-make-font-lock-context-search-function): New function.
6006         (c-cpp-matchers): Enhance the preprocessor expression case with
6007         the above function
6008         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6009         which takes an expression.
6011         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6013 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
6015         * window.el (display-buffer-reuse-window)
6016         (display-buffer-pop-up-window): Don't reuse or split a side
6017         window.
6019 2011-08-19  Glenn Morris  <rgm@gnu.org>
6021         * files.el (hack-local-variables-prop-line, hack-local-variables):
6022         Downcase "Mode:".  (Bug#9331)
6024 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
6026         * international/characters.el: Add L and R categories.
6028         * subr.el (bidi-string-mark-left-to-right): Rename from
6029         string-mark-left-to-right.  Use category search.
6031         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6033 2011-08-18  Juri Linkov  <juri@jurta.org>
6035         * faces.el (error, warning, success): New faces with definitions
6036         copied from old default values of `font-lock-warning-face',
6037         `compilation-warning', `compilation-info' (bug#6117).
6039         * font-lock.el (font-lock-warning-face): Inherit from `error'.
6041         * progmodes/compile.el (compilation-error): Inherit from `error'.
6042         (compilation-warning): Inherit from `warning'.
6043         (compilation-info): Inherit from `success'.
6045         * dired.el (dired-marked): Inherit from `warning'.
6046         (dired-flagged): Inherit from `error'.
6048 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6050         * mail/smtpmail.el (auth-source): Require to avoid problems with
6051         binding variables (bug#9298).  Also clean up some unused
6052         autoloads.
6054         * net/network-stream.el (network-stream-open-starttls):
6055         Support using starttls.el without using gnutls-cli.
6057 2011-08-17  Juri Linkov  <juri@jurta.org>
6059         * progmodes/grep.el (rgrep): Handle the case when
6060         `grep-find-command' is a cons cell (bug#9278).
6062 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
6064         * window.el (display-buffer-pop-up-frame): Run frame creation
6065         function with BUFFER current (as special-display-popup-frame
6066         does).  Reported by Drew Adams.
6068 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
6070         * epa-mail.el: Simplify GnuPG group expansion using
6071         epg-expand-group.
6072         (epa-mail-group-alist, epa-mail-group-modtime)
6073         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6074         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6075         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6076         Remove.
6078 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
6080         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6082 2011-08-16  Alan Mackenzie  <acm@muc.de>
6084         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6085         Correct, to avoid the inside of macros.
6087 2011-08-16  Richard Stallman  <rms@gnu.org>
6089         * epa-mail.el: Handle GnuPG group definitions.
6090         (epa-mail-group-alist, epa-mail-group-modtime)
6091         (epa-mail-gnupg-conf-file): New variables.
6092         (epa-mail-parse-groups, epa-mail-sync-groups)
6093         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6094         (epa-mail-expand-recipients): New functions.
6095         (epa-mail-encrypt): Call epa-mail-expand-recipients.
6097         * mail/rmail.el (rmail-epa-decrypt): New command.
6099         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6100         Don't bind buffer-read-only, just inhibit-read-only.
6101         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6102         (epa-decrypt-armor-in-region): Make error message clearer.
6104 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6106         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6107         and "a2b" to "ab" for `prefix'.
6109 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
6111         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6112         filter groups.
6113         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
6114         Fourquet (Bug#8804).
6116 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
6118         * startup.el (argi): Declare as global variable (bug#9275).
6120 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
6122         * subr.el (string-mark-left-to-right): Search the entire string
6123         for RTL script, not just the terminating character.  Doc fix.
6125 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6127         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6128         New function.
6129         (js--regexp-literal, js-syntax-propertize-function): Remove.
6130         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6131         (js-mode-map): Don't rebind electric keys.
6132         (js-insert-and-indent): Remove.
6133         (js-mode): Setup electric-layout and electric-indent instead.
6135         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6137 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
6139         * epa.el (epa-progress-callback-function): Fix the logic of
6140         displaying progress.
6141         * epa-file.el (epa-file-insert-file-contents): Make progress
6142         display more user-friendly.
6143         (epa-file-write-region): Ditto.
6145 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
6147         * subr.el (string-mark-left-to-right): New function.
6149         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6150         Use string-mark-left-to-right.
6151         (list-buffers-noselect): Caller changed.
6153         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6154         Use string-mark-left-to-right.
6155         (tabulated-list-print): Recenter after moving point.
6157 2011-08-10  Juri Linkov  <juri@jurta.org>
6159         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6160         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6161         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6163 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
6165         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6166         (Bug#7554).
6168 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
6170         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6171         character.  (Bug#6594)
6173 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
6175         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6176         (image-dired--with-db-file): New macro.
6177         (image-dired-write-tags, image-dired-remove-tag)
6178         (image-dired-create-gallery-lists, image-dired-write-comments)
6179         (image-dired-get-comment, image-dired-mark-tagged-files)
6180         (image-dired-list-tags, image-dired-gallery-generate): Use it.
6181         (image-dired-gallery-generate): Use insert-file-contents.
6183         * time.el (display-time-world-list, display-time-world-display):
6184         * time-stamp.el (time-stamp-string):
6185         * vc/add-log.el (add-change-log-entry): Use setenv instead of
6186         set-time-zone-rule (Bug#7337).
6188 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
6190         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6191         (epg-error-to-string, epg-errors-to-string): New function.
6192         (epg-wait-for-completion): Reverse errors list.
6193         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6194         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6195         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6196         (epg-sign-keys, epg-generate-key-from-file)
6197         (epg-generate-key-from-string): Format errors by using
6198         epg-errors-to-string (bug#9255).
6199         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6201 2011-08-07  Juri Linkov  <juri@jurta.org>
6203         * faces.el (list-faces-display): Remove extra angle bracket
6204         from `help-mode-map'.
6206         * info.el (Info-history-toc-nodes): Doc fix.
6208         * longlines.el (longlines-mode): Doc fix.
6210 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6212         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6213         of statements and in a few more cases (bug#9183).
6215         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6216         New functions.
6217         (cl-transform-lambda): Use them (bug#9239).
6219 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
6221         * window.el (display-buffer-same-window)
6222         (display-buffer-same-frame, display-buffer-other-window)
6223         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6224         (pop-to-buffer-other-window)
6225         (pop-to-buffer-same-frame-other-window)
6226         (pop-to-buffer-other-frame): Make them defuns.
6227         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6229 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6231         * subr.el (make-composed-keymap): Move from C.  Change calling
6232         convention, and improve docstring to bring attention to a subtle point.
6233         * minibuffer.el (completing-read-default): Adjust accordingly.
6235 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
6237         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6238         (tramp-open-shell): Use `tramp-shell-quote-argument'.
6240         * net/trampver.el: Update release number.
6242 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6244         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6245         "in" (bug#9190).
6247 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6249         * mail/sendmail.el (sendmail-query-once): Restore the current
6250         buffer after querying (bug#9074).
6252         * dired.el (dired-flagged): Use different faces for marked and
6253         flagged files (bug#6117).
6255         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6256         (bug#4433).
6258         * ido.el (ido-mode): Switch off the message if called
6259         non-interactively.
6261         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6262         before 587, since it appears that that's more likely to work for
6263         more people.
6265         * cus-edit.el (custom-file): When running under emacs -q, always
6266         refuse to save the customizations, even if the .emacs file doesn't
6267         exist.
6269         * info.el: Remove the `Info-beginning-of-buffer' function
6270         (bug#8325).
6272         * net/network-stream.el (network-stream-open-starttls):
6273         Use `starttls-available-p' to see whether starttls.el can be used.
6275 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
6277         * window.el (display-buffer-in-window): Don't set dedicated status
6278         of window here (Bug#9215).
6279         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6280         (display-buffer-pop-up-side-window)
6281         (display-buffer-in-side-window): Set dedicated status of window here.
6283 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6285         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6286         before binding generated-autoload-file.
6288 2011-08-01  Deniz Dogan  <deniz@dogan.se>
6290         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6292 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
6294         Sync with Tramp 2.2.2.
6296         * net/trampver.el: Update release number.
6298 2011-07-30  Juri Linkov  <juri@jurta.org>
6300         * dired-aux.el (dired-touch-initial): Remove function.
6301         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6302         current time, and `default' to the last modification time of the
6303         current marked file (bug#6887).
6305 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
6307         * simple.el (goto-line): Use string-to-number to provide a
6308         numeric argument to read-number (bug#9163).
6310 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
6312         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6313         connection process, it could be nil.
6315 2011-07-27  Leo Liu  <sdl.web@gmail.com>
6317         Simplify url handling in rcirc-mode.
6319         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6320         (rcirc-browse-url-at-mouse): Remove.
6321         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6323 2011-07-26  Alan Mackenzie  <acm@muc.de>
6325         Fontify bitfield declarations properly.
6327         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6328         (c-symbol-chars): Now exported as a lang variable.
6329         (c-not-primitive-type-keywords): New lang variable.
6331         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6332         QT keyword "more" to prevent "more slots: ...." being spuriously
6333         parsed as a bitfield declaration.
6335         * progmodes/cc-engine.el (c-beginning-of-statement-1):
6336         Refactor and enhance to handle bitfield declarations.
6337         (c-punctuation-in): New function.
6338         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6339         declarations properly.
6341 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
6343         * calendar/icalendar.el (icalendar--all-events): Take care of
6344         multiple vcalendars in a single file.
6345         (icalendar--convert-float-to-ical): Checkdoc fixes.
6347 2011-07-25  Deniz Dogan  <deniz@dogan.se>
6349         * image.el (insert-image): Clarifying docstring.
6351 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
6353         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6354         `tramp-send-command-and-check' if there is no error.
6355         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6357 2011-07-22  Alan Mackenzie  <acm@muc.de>
6359         Prevent cc-langs.elc being loaded at run time.
6361         * progmodes/cc-mode.el: Remove two autoload forms which loaded
6362         cc-langs.
6364         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
6365         "(require 'cc-langs)".  Quote a form so it will evaluate at
6366         (cc-mode's) compilation time.
6368 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
6370         * net/tramp.el (tramp-file-name-handler): Avoid recursive
6371         loading.  (Bug#9114)
6373 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
6375         * window.el (display-buffer-pop-up-window)
6376         (display-buffer-pop-up-side-window)
6377         (display-buffer-in-side-window): Call display-buffer-set-height
6378         and display-buffer-set-width after setting the new window's
6379         buffer so `fit-window-to-buffer' and friends work on the right buffer.
6381 2011-07-20  Sam Steingold  <sds@gnu.org>
6383         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6384         (etags-tags-included-tables): Call `convert-standard-filename' on
6385         the file names contained in TAGS so that windows Emacs can handle
6386         TAGS files created by cygwin ctags.
6388 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6390         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6391         which apparently didn't work.
6393 2011-07-19  Roland Winkler  <winkler@gnu.org>
6395         * proced.el (proced-send-signal): For *Marked Processes* buffer
6396         put point at beginning of buffer.
6398 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
6400         * proced.el (proced-format): Make header lines align with the text
6401         (bug#1779).
6403 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6405         * view.el (view-buffer): Allow running in `special' modes if we're
6406         visiting a file (bug#8615).
6408 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
6410         * window.el (display-buffer-alist-of-strings-p)
6411         (display-buffer-alist-set-1, display-buffer-alist-set-2):
6412         New functions.
6413         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6414         more accurately.
6416 2011-07-18  Alan Mackenzie  <acm@muc.de>
6418         Fontify declarators properly when, e.g., a jit-lock chunk begins
6419         inside a declaration.
6421         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6423         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6424         New function.
6425         (c-complex-decl-matchers): Insert reference to
6426         c-font-lock-enclosing-decls.
6428         * progmodes/cc-engine.el (c-backward-single-comment):
6429         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6430         to nil around calls to (forward-comment -1).
6432 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6434         * image.el (put-image): Doc typo fix.
6436         * progmodes/etags.el (tags-search): Doc typo fix.
6438         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6439         password if we get errors 550 to 554.
6441 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6443         * net/gnutls.el (gnutls-log-level): Remove.
6445         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6446         indentation character (bug#6380).
6448         * files.el (buffer-offer-save): Made permanently local (bug#6241).
6450         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6451         to clarify what the problem is (bug#4291).
6453         * simple.el (current-kill): Clarify what
6454         `interprogram-paste-function' does (bug#7500).
6455         (auto-fill-mode): Document `auto-fill-function' in relation to
6456         `auto-fill-mode' (bug#2470).
6458 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
6460         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6461         method if slot is read-only (bug#9035).
6463 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
6465         * frame.el (select-frame-set-input-focus): New argument NORECORD.
6466         * window.el (pop-to-buffer): Select window used even if it was
6467         selected before, see discussion of (Bug#8615), (Bug#6954).
6468         Pass argument NORECORD on to select-frame-set-input-focus.
6470 2011-07-15  Glenn Morris  <rgm@gnu.org>
6472         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
6473         Respect help-form.
6475 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
6477         * net/gnutls.el (gnutls-min-prime-bits): New variable.
6478         (gnutls-negotiate): Use it.
6480 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6482         * net/gnutls.el (gnutls-negotiate):
6483         Upcase `gnutls-algorithm-priority'.
6485 2011-07-15  Glenn Morris  <rgm@gnu.org>
6487         * jka-compr.el (jka-compr-verbose): Move from here...
6488         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
6489         Add missing :version tag.
6490         * info.el: No need to require jka-compr when compiling.
6492 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6494         * net/gnutls.el (gnutls-algorithm-priority): New variable.
6495         (gnutls-negotiate): Use it.
6497         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6499         * info.el (Info-beginning-of-buffer): New command.
6500         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6501         announcing `b' as the key (bug#8325).
6502         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
6504         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6506         * international/mule-cmds.el
6507         (describe-specified-language-support): Make the error message
6508         clearer (bug#8905).
6510         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6512         * isearch.el (isearch-barrier): Add a doc string, since it's
6513         mentioned in a function doc string (bug#8678).
6515 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
6517         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6518         buffer argument (Bug#9083) and self-identifying label argument.
6520 2011-07-15  Glenn Morris  <rgm@gnu.org>
6522         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
6524 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6526         * man.el (Man-fontify-manpage): Fix message when formatting the
6527         man page (bug#7929).
6529 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
6531         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6532         argument LRM; if non-nil, append an invisible LRM character to the
6533         buffer name.
6534         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6535         last argument non-nil, when formatting buffer names.
6536         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6537         paragraph direction.
6539 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6541         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6542         the man page name (bug#7929).
6544         * image.el (put-image): Mention the `put-image' overlay property
6545         (bug#7834).
6547         * scroll-bar.el (set-scroll-bar-mode): Mention that
6548         `scroll-bar-mode' lists the values (bug#7772).
6550         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6551         command (bug#7729).
6553         * rect.el (apply-on-rectangle): Return the point after the last
6554         operation.
6555         (string-rectangle): Go to the point after the last operation
6556         (bug#7522).
6558         * printing.el (pr-toggle-region): Clarify the documentation
6559         slightly (bug#7493).
6561         * time.el (display-time-update):
6562         Allow `display-time-mail-function' to return nil (bug#7158).
6563         Fix suggested by Detlev Zundel.
6565         * vc/diff.el (diff): Clarify the order the file names are read
6566         (bug#7111).
6568         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6569         the doc string (bug#7015).
6571         * font-lock.el (font-lock-maximum-decoration): Mention what
6572         numeric levels mean (bug#6935).
6574         * startup.el (initial-buffer-choice): Don't mention the `none'
6575         selection, which is against policy.
6577 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
6579         * window.el (display-buffer-normalize-special):
6580         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
6582 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
6584         * subr.el (version<, version<=, version=): Mention "-CVS" and
6585         "-12345" alpha version numbers.
6587 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
6589         * bindings.el: Add advertised binding for set-mark-command
6590         (Bug#5772).
6592 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
6594         * bindings.el (mode-line-other-buffer):
6595         * bookmark.el (bookmark-bmenu-2-window):
6596         * bs.el (bs-cycle-next, bs-cycle-previous):
6597         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6598         switch-to-buffer.
6600         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6601         Delete.
6603 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
6605         * follow.el (follow-debug-message, follow-redisplay):
6606         * jka-cmpr-hook.el (with-auto-compression-mode):
6607         Fix typos in docstrings.
6609 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6611         * subr.el (with-silent-modifications): Clarify somewhat what the
6612         macro inhibits (bug#6525).
6614         * simple.el (eval-expression): Note what it does if called
6615         interactively (bug#6495).
6617 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
6619         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6620         Use pop-to-buffer buffer-or-name if it is nil.
6622         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6623         Remove switch-to-buffer.
6625 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6627         * files.el (make-directory): Clarify that an error will be raised
6628         if there's an error (bug#6397).
6630         * startup.el (initial-buffer-choice): Add `none' as a choice
6631         (bug#6234).
6633         * subr.el (add-hook): Clarify section about buffer-local hooks
6634         (bug#6218).
6636         * dired.el (dired-flagged): Clarify doc string (bug#6117).
6638 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
6640         * tabify.el (untabify): Preserve the current column so that point
6641         doesn't move (bug#6032).
6643 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6645         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6646         Rewrite to avoid awkward possessive "s" (bug#5986).
6648 2011-07-13  Glenn Morris  <rgm@gnu.org>
6650         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
6651         (dired-insert-directory): Give a message the first time
6652         if ls is found not to support --dired.
6654 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6656         * simple.el (toggle-truncate-lines): Clarify what is toggled
6657         (bug#5580).  Text by Drew Adams.
6659 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
6661         * simple.el (blink-matching-open): Make the error message from the
6662         last change less verbose.
6664 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
6666         * font-lock.el (font-lock-comment-face): Use the high contrast
6667         "yellow" color for font-lock-comment-face on low color terminals
6668         using a dark background color (bug#4221).
6670 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6672         * dired.el (dired-insert-set-properties): Make the doc string
6673         reflect what it does now (bug#5325).
6675         * simple.el (blink-matching-open): Say that we were unable to find
6676         the match within the limit, if we're limited (bug#5122).
6678         * international/mule-cmds.el (prefer-coding-system): Add an
6679         example (bug#4869).
6681         * progmodes/etags.el (tags-search): Document `file-list-form'
6682         (bug#4731).
6684 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
6686         * net/browse-url.el (browse-url-default-browser)
6687         (browse-url-browser-function): Make the default browser choice a
6688         bit more logical (bug#4300).  Also clean up the doc string.
6690 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
6692         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6693         binary endings (bug#4440).
6695 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6697         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6698         which can be pretty annoying (bug#8971).
6700         * jka-compr.el (jka-compr-verbose): New variable, and use
6701         throughout (bug#8971).
6703         * info.el (Info-find-file): Fall back on the installation
6704         directory if we can't find the info node anywhere else.
6706 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
6708         * vc/vc.el (vc-revert-file):
6709         Don't set file time-stamp in the past.  (Bug#5181)
6711 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6713         * files.el (after-find-file): Give a better error message when
6714         trying to find a symlink that points to a file that doesn't exist
6715         (bug#4398).
6717         * progmodes/cc-vars.el: Remove (probably) misleading comment
6718         (bug#4396).
6720 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
6722         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6724 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
6726         * mouse-sel.el: Hack restoring functionality, while keeping
6727         compatibility with 2010-07-03 changes to mouse selection.
6728         (mouse-sel-primary-overlay): New var.
6729         (mouse-sel-selection-alist): Use it.
6730         (mouse-sel-mode): Doc fix; remove points that are default features
6731         of mouse.el.
6733 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
6735         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6736         Fix previous fix (bug#2490).
6738 2011-07-12  Roland Winkler  <winkler@gnu.org>
6740         * textmodes/bibtex.el (bibtex-initialize):
6741         Use pop-to-buffer-same-window.
6742         (bibtex-search-entries): Fix interactive call.
6744 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6746         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6747         Fontise bytecomp Error lines more correctly (bug#2490).
6748         Fix suggested by Johan Bockgård.
6750         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6752         * dired-x.el (dired-guess-default): Use `delete-dups'.
6754 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
6756         * dired.el (dired-mark-prompt):
6757         * dired-aux.el (dired-read-shell-command): Doc fix.
6759 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6761         * mail/sendmail.el (sendmail-query-once):
6762         Use `customize-save-variable' unconditionally, now that it works under
6763         emacs -Q.
6765         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6767         * cus-edit.el (custom-file): Take an optional no-error variable.
6768         (customize-save-variable): Set the variable, and give a warning if
6769         running under "emacs -q".
6771 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
6773         * loadhist.el (unload-feature-special-hooks):
6774         Add `auto-coding-functions', `fill-nobreak-predicate' and
6775         `find-directory-functions' (bug#5327).
6777 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6779         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6781         * cus-edit.el (custom-guess-name-alist): -alist variables should
6782         use the `alist' type (bug#3120).  Suggested by Drew Adams.
6784         * printing.el: Add documentation to all the `pr-toggle-' commands.
6786 2011-07-11  Leo Liu  <sdl.web@gmail.com>
6788         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6789         backends where it makes sense (bug#2623).
6791 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6793         * dired-x.el (dired-guess-default): Remove duplicate shell command
6794         entries (bug#2028).
6795         (dired-guess-default): Fix grammar in doc string (bug#2028).
6796         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
6798         * subr.el (remove-duplicates): New conveniency function.
6800 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6802         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6803         (bug#1526).
6805 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
6807         * window.el (display-buffer-normalize-default): Don't invert
6808         meaning of even-window-heights.  Reported by Eli Zaretskii
6809         <eliz@gnu.org>.
6811 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
6813         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6815 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
6817         * window.el (display-buffer): Fix arguments to
6818         display-buffer-reuse-window in last change.
6820         * faces.el (link): Use a less saturated blue on light backgrounds.
6822         * startup.el (fancy-startup-text, fancy-about-text)
6823         (fancy-startup-tail): Use font-lock faces, for background safety.
6825 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
6827         * emulation/viper-cmd.el (viper-change-state-to-vi):
6828         Limit triggering of abbrev expansion (Bug#9038).
6830 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
6832         * window.el (display-buffer-default-specifiers): Remove.
6833         (display-buffer-macro-specifiers): Remove default specifiers.
6834         (display-buffer-alist): Default to nil.
6835         (display-buffer-reuse-window): New optional argument other-window.
6836         (display-buffer-pop-up-window): Allow splitting internal
6837         windows.  Check whether a live window was created.
6838         (display-buffer-other-window-means-other-frame)
6839         (display-buffer-normalize-arguments): Rename to
6840         display-buffer-normalize-argument and rewrite.  Set the
6841         other-window specifier.
6842         (display-buffer-normalize-special): New function.
6843         (display-buffer-normalize-options): Rename to
6844         display-buffer-normalize-default and rewrite.
6845         (display-buffer-normalize-options-inhibit): Remove.
6846         (display-buffer-normalize-specifiers): Rewrite.
6847         (display-buffer): Process other-window specifier and call
6848         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
6849         more faithfully.
6850         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
6851         (display-buffer-alist-set): Don't handle 'unset default values.
6852         (display-buffer-in-window, display-buffer-alist-set):
6853         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
6854         <tassilo@member.fsf.org>.
6856 2011-07-09  Leo Liu  <sdl.web@gmail.com>
6858         * register.el (insert-register): Restore accidental change on
6859         2011-06-26.  (Bug#9028)
6861 2011-07-09  Glenn Morris  <rgm@gnu.org>
6863         * subr.el (remq): Handle the empty list.  (Bug#9024)
6865 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
6867         * mail/sendmail.el (send-mail-function): No longer delay custom
6868         initialization.
6869         * custom.el (custom-initialize-delay): Doc fix.
6871 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6873         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6875 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
6877         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6878         human-friendly prompt.
6880 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6882         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6883         provided by a particular plugin.
6885 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6887         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6888         save customizations (with "emacs -Q"), just set the variable
6889         instead of erroring out.
6891         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6893 2011-07-08  Juri Linkov  <juri@jurta.org>
6895         * arc-mode.el (archive-zip-expunge, archive-zip-update)
6896         (archive-zip-update-case): Use 7z if found by `executable-find'.
6897         The order of searching the available programs is the same as in
6898         `archive-zip-extract' (bug#8968).
6900 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
6902         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6903         (menu-bar-options-menu): Tweak descriptions.
6905 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6907         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6908         menu items into verb phrases (bug#1421).  Also refill to fit under
6909         80 columns.
6911 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
6913         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6914         (Info-read-node-name): Doc fix (Bug#1084).
6916         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6917         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6918         (end-of-sexp, beginning-of-sexp)
6919         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6920         (forward-symbol, forward-same-syntax, word-at-point)
6921         (sentence-at-point): Doc fix (Bug#1144).
6923 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6925         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6926         should cover it (bug#1281).
6928         * cus-edit.el (custom-show): Mark as obsolete.
6930         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
6931         negotiation fails, then possibly try again with a non-encrypted
6932         connection (bug#9017).
6934         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6935         be used.
6937 2011-07-07  Richard Stallman  <rms@gnu.org>
6939         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6940         property, and handle its changed format.
6941         Look for the correct line number.
6942         Use file's line contents (but not past first =) to find
6943         correct line in message.
6945 2011-07-07  Kenichi Handa  <handa@m17n.org>
6947         * international/characters.el (build-unicode-category-table):
6948         Delete it.
6949         (unicode-category-table): Set it by unicode-property-table-internal.
6951         * international/mule-cmds.el (char-code-property-alist): Move to
6952         to src/chartab.c.
6953         (get-char-code-property): Call unicode-property-table-internal to
6954         load a file.  Call get-unicode-property-internal where necessary.
6955         (put-char-code-property): Call unicode-property-table-internal to
6956         load a file.  Call put-unicode-property-internal where necessary.
6957         put-unicode-property-internal where necessary.
6958         (char-code-property-description):
6959         Call unicode-property-table-internal to load a file.
6961         * international/charprop.el:
6962         * international/uni-bidi.el:
6963         * international/uni-category.el:
6964         * international/uni-combining.el:
6965         * international/uni-comment.el:
6966         * international/uni-decimal.el:
6967         * international/uni-decomposition.el:
6968         * international/uni-digit.el:
6969         * international/uni-lowercase.el:
6970         * international/uni-mirrored.el:
6971         * international/uni-name.el:
6972         * international/uni-numeric.el:
6973         * international/uni-old-name.el:
6974         * international/uni-titlecase.el:
6975         * international/uni-uppercase.el: Regenerate.
6977         * loadup.el: Load international/charprop.el before
6978         international/characters.
6980 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
6982         * window.el (next-buffer, previous-buffer): Signal an error if
6983         called from a minibuffer window.
6985         * bindings.el: Revert 2011-07-04 change.
6987 2011-07-06  Richard Stallman  <rms@gnu.org>
6989         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6990         (rmail-mime-insert-bulk, rmail-mime-insert-text):
6991         Treat markers like ints.
6992         (rmail-mime-entity): Doc fix.
6994 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6996         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6997         defcustom again for backwards compatibility.
6999         * simple.el (shell-command-on-region): Fill.
7001         * dired-aux.el (dired-kill-line): Add a doc string.
7003         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7004         to "\\sw\\|\\s_" (bug#358).
7006         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7007         (dired-unmark-backward): Ditto.
7008         (dired-flag-backup-files): Ditto.
7010         * dired-x.el (dired-mark-sexp): Ditto.
7012 2011-07-06  Richard Stallman  <rms@gnu.org>
7014         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7015         (rmail-mime-entity): New arg TRUNCATED.
7016         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7017         New functions.
7018         (rmail-mime-save): Warn if entity is truncated.
7019         (rmail-mime-toggle-hidden): Likewise, for showing.
7020         (rmail-mime-process-multipart): Record when an entity is truncated.
7022         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7023         if ENTITY is a string.
7025 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7027         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
7028         of faces when `M-C-x'-ing their definitions (bug#8378).
7029         Also clean up the code slightly.
7031         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
7032         because that makes the colors go away.
7034         * mail/sendmail.el (send-mail-function): Change the default to
7035         `sendmail-query-once'.
7036         (sendmail-query-once): Add an autoload cookie.
7038         * net/network-stream.el (network-stream-open-starttls): Try using
7039         a plain connection even if the server offered STARTTLS, and we
7040         kinda wanted to use it, if Emacs doesn't have any STARTTLS
7041         capability.  This should make smtpmail.el work in slightly more
7042         configurations.
7044 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
7046         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7047         New defun.
7048         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7050 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
7052         * progmodes/sql.el: Version 3.0
7053         (sql-product-alist): Add product :completion-object,
7054         :completion-column, and :statement attributes.
7055         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
7056         (sql-mode-syntax-table): Mark all punctuation.
7057         (sql-font-lock-keywords-builder): Temporarily remove fallback on
7058         ansi keywords.
7059         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
7060         (sql-mode-oracle-font-lock-keywords): Improve.
7061         (sql-oracle-show-reserved-words): New function for development.
7062         (sql-product-font-lock): Simplify for source code buffers.
7063         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7064         New functions.
7065         (sql-highlight-product): Set product specific syntax table.
7066         (sql-mode-map): Add statement movement functions.
7067         (sql-ansi-statement-starters, sql-oracle-statement-starters):
7068         New variable.
7069         (sql-statement-regexp, sql-beginning-of-statement)
7070         (sql-end-of-statement, sql-signum): New functions.
7071         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
7072         (sql-show-sqli-buffer): Bug fix.
7073         (sql-interactive-mode): Store connection data as buffer local.
7074         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
7075         with sql-interactive-mode.
7076         (sql-save-connection): Save buffer local settings.
7077         (sql-connection-menu-filter): Change menu entry name.
7078         (sql-product-interactive): Bug fix.
7079         (sql-preoutput-hold): New variable.
7080         (sql-interactive-remove-continuation-prompt): Bug fixes.
7081         (sql-debug-redirect): New variable.
7082         (sql-str-literal): New function.
7083         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
7084         Redesign.
7085         (sql-oracle-save-settings, sql-oracle-restore-settings)
7086         (sql-oracle-list-all, sql-oracle-list-table): New functions.
7087         (sql-completion-object, sql-completion-column)
7088         (sql-completion-sqlbuf): New variables.
7089         (sql-build-completions-1, sql-build-completions)
7090         (sql-try-completion): New functions.
7091         (sql-read-table-name): Use them.
7092         (sql-contains-names): New buffer local variable.
7093         (sql-list-all, sql-list-table): Use it.
7094         (sql-oracle-completion-types): New variable.
7095         (sql-oracle-completion-object, sql-sqlite-completion-object)
7096         (sql-postgres-completion-object): New functions.
7098 2011-07-06  Glenn Morris  <rgm@gnu.org>
7100         * window.el (pop-to-buffer): Doc fix.
7102 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
7104         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7106 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
7108         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7110         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
7112 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
7114         * button.el (button): Inherit from link face.  Suggested by Dan
7115         Nicolaescu.
7117 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7119         * progmodes/gdb-mi.el: Fit in 80 columns.
7120         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7121         switch-to-buffer.
7123         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7124         if imenu is simply not configured (bug#8941).
7126 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
7128         * allout.el (allout-post-undo-hook): New allout outline-change
7129         event hook to signal undo activity.
7130         (allout-post-command-business): Run allout-post-undo-hook if an
7131         undo just occurred.
7132         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7133         * allout-widgets.el (allout-widgets-after-undo-function):
7134         Ensure the integrity of the current item's decoration after it has been
7135         in the vicinity of an undo.
7136         (allout-widgets-mode): Include allout-widgets-after-undo-function
7137         on the new allout-post-undo-hook.
7139 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7141         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7142         Let define-derived-mode define it.
7143         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7144         cycles of abbrev-table inheritance (bug#8998).
7146 2011-07-05  Roland Winkler  <winkler@gnu.org>
7148         * textmodes/bibtex.el: Add support for biblatex.
7149         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7150         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7151         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7152         (bibtex-entry-alist, bibtex-field-alist): New variables.
7153         (bibtex-entry-field-alist): Obsolete alias for
7154         bibtex-BibTeX-entry-alist.
7155         (bibtex-entry-alist, bibtex-field-alist): New widgets.
7156         (bibtex-set-dialect): New command.
7157         (bibtex-entry-type, bibtex-entry-head)
7158         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7159         Bind via bibtex-set-dialect.
7160         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7161         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7162         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7163         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7164         Define via bibtex-set-dialect.
7165         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7166         Obey bibtex-no-opt-remove-re.
7167         (bibtex-vec-push, bibtex-vec-incr): New functions.
7168         (bibtex-format-entry, bibtex-field-list)
7169         (bibtex-print-help-message, bibtex-validate)
7170         (bibtex-search-entries): Use new format of bibtex-entry-alist.
7172 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7174         * progmodes/compile.el (compilation-goto-locus):
7175         * net/tramp-cmds.el (tramp-append-tramp-buffers):
7176         * bs.el (bs-cycle-next, bs-cycle-previous):
7177         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7178         * bindings.el (mode-line-other-buffer):
7179         * autoinsert.el (auto-insert):
7180         * arc-mode.el (archive-extract):
7181         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7183 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
7185         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7186         Fix check of `emacs-lock-unlockable-modes'.
7187         Coerce true values of `emacs-lock--try-unlocking' to t.
7189 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
7191         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7192         * emacs-lock.el: New file.
7194 2011-07-05  Julien Danjou  <julien@danjou.info>
7196         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7197         than `boundp' to check if face is set.
7199 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
7201         * register.el (registerv-make):
7202         * window.el (window-min-height): Fix typos in docstrings.
7204 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
7206         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7207         Update doc string.
7209 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
7211         * server.el (server-execute): Catch quit and call
7212         `server-return-error' to pass the error back to emacsclient and
7213         close the connection (bug#8942).
7215 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
7217         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7218         insecure exception for current topic.  Also note that auto-saves
7219         are handled differently.
7221         (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7222         State variables for tracking auto-save inhibition situation.
7224         (allout-write-contents-hook-handler): Rename from
7225         'allout-write-file-hook-handler', and describe how it depends on
7226         write-contents-functions sensitivity to non-nil value to prevent
7227         file write.
7229         (allout-auto-save-hook-handler): Remove.  auto-save does not check
7230         this in individual buffers, only in the starting buffer, so this
7231         is not the right way for us to inhibit auto-save in a buffer
7232         according to its condition.
7234         (allout-mode): Use new allout-write-contents-hook-handler, and
7235         only with write-contents-functions.  Remove auto-save provisions -
7236         they're implemented elsewhere.
7238         (allout-before-change-handler): If undo is in progress, note that
7239         for attention of allout-post-command-business.
7241         (allout-post-command-business): If the command we're following was
7242         an undo, check for change in the status of encrypted items and
7243         adjust auto-save inhibitions accordingly.
7245         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7246         according to whether there are or aren't any plain-text topics
7247         pending encryption.
7249         (allout-inhibit-auto-save-info-for-decryption):
7250         Adjust buffer-saved-size and some allout state to inhibit auto-saves
7251         if there are plain-text topics pending encryption.
7253         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7254         buffer-saved-size and some allout state to not inhibit auto-saves
7255         if there are no longer any plain-text topics pending encryption.
7257         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7258         No longer provide for exemption of the current topic.
7260 2011-07-04  Juri Linkov  <juri@jurta.org>
7262         Add 7z operations to delete and save changed members (bug#8968).
7263         * arc-mode.el (archive-7z-expunge, archive-7z-update):
7264         New defcustoms.
7265         (archive-7z-write-file-member): New function.
7266         (archive-7z-summarize): Fix the number of dashes in the
7267         listing output.
7269 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7271         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7272         (bug#8958).
7274 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
7276         * bindings.el: Ignore next-buffer and previous-buffer in
7277         minibuffer-local-map.
7279         * font-lock.el (font-lock-builtin-face): Change light background
7280         color to dark slate blue (Bug#6693).
7282 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
7284         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7286 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7288         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7289         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7290         Add switch-to-buffer.
7292 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7294         * isearch.el (isearch-search-fun-function): Clarify further the
7295         meaning of the function returned.
7297 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
7299         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7301         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7302         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7303         Use it.
7304         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
7305         `tramp-default-remote-path' does not exist.
7306         (tramp-send-command-and-read): New optional argument NOERROR.
7307         (tramp-open-connection-setup-interactive-shell)
7308         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7309         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7310         (tramp-process-sentinel): Flush also process' connection property.
7311         (tramp-sh-handle-start-file-process): Do not set process
7312         sentinel.  It is done now ...
7313         (tramp-maybe-open-connection): ... here.  (Bug#8929)
7315 2011-07-04  MON KEY  <monkey@sandpframing.com>
7317         * play/animate.el (animate-string): Doc fixes and allow changing
7318         the buffer name (bug#5417).
7320 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7322         * play/animate.el (animation-buffer-name): Rename from *animate*.
7324 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
7326         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7327         This is simpler and helps future-proof the code.
7328         (timer-until): Use time-subtract and float-time.
7329         (timer--time-less-p): Use time-less-p.
7331 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
7333         * type-break.el (timep): Use the value of `float-time' to avoid a
7334         byte-compiler warning.
7336         * server.el (server-eval-and-print): Return any result, even nil.
7338 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
7340         * type-break.el: Accept time formats that the builtins accept.
7341         (timep, type-break-time-difference): Accept any format that
7342         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7343         This is simpler and helps future-proof the code.
7344         (type-break-time-difference): Round rather than ignoring
7345         subseconds components.
7347 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7349         * info.el (Info-apropos-matches): Make non-interactive, since it
7350         doesn't seem to do anything useful as a command (bug#8829).
7352 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
7354         * frame.el (frame-background-mode, frame-set-background-mode):
7355         Move from faces.el.
7356         (frame-default-terminal-background): New function.
7358         * custom.el (custom-push-theme): Don't record faces in `changed'
7359         theme; this doesn't work correctly for per-frame face settings.
7360         (disable-theme): Use face-set-after-frame-default to reset faces.
7361         (custom--frame-color-default): New function.
7363 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7365         * dired.el (dired-flagging-regexp): Remove unused variable
7366         (bug#8769).
7368 2011-03-29  Kevin Ryde  <user42@zip.com.au>
7370         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7371         `perl-Test2' extend to match possible "fail #N" rep count
7372         (bug#8377).
7374 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7376         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7377         `smtpmail-via-smtp' now returns the error instead of nil.
7379         * isearch.el (isearch-search-fun-function): Clarify the doc string
7380         (bug#8101).
7382 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
7384         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7385         unnecessary spaces (bug#8987).
7387 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7389         * net/network-stream.el (open-network-stream): Use the
7390         :end-of-capability command thoughout.
7392 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
7394         * net/network-stream.el (open-network-stream): Add the
7395         :end-of-capability command parameter, used by pop3.el.
7397 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7399         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7401         * fringe.el (fringe-query-style): Remove redundant text " (type ?
7402         for list)" (bug#6475).
7404         * files.el (file-expand-wildcards): Ignore non-readable
7405         sub-directories while trying to find matches instead of signaling
7406         an error (bug#6297).
7408         * man.el (Man-reference-regexp): Allow matching possible
7409         word-wrapped references (bug#6289).
7411         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7412         for consistency with the other vc buffers (bug#6197).
7413         (vc-checkin): Ditto.
7415         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7417         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7419 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7421         * custom.el (defcustom): Clarify that :set is only used in the
7422         Customize user interface (bug#6089).
7424         * progmodes/flymake.el (flymake-mode): If the buffer isn't
7425         associated with a file, refuse to run instead of erroring out
7426         (bug#6084).
7428         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7429         the doc string, since it appears that using `fill-column' always
7430         controls the width (bug#7845).
7432         * simple.el (shell-command-on-region): Say where the error output
7433         went if `shell-command-default-error-buffer' is set (bug#6857).
7435 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
7437         * allout.el (allout-yank-processing): Adjust cursor position for
7438         backwards-deleted space.
7440         (allout-rebullet-heading): Register changes with
7441         allout-exposure-changed-hook, so the modified topic is properly
7442         decorated.
7444 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7446         * minibuffer.el (completion-in-region): Document PREDICATE
7447         (bug#7136).
7449         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7450         of keyword/argument pairs (bug#6904).
7452         * replace.el (multi-occur):
7453         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
7455 2011-07-02  Drew Adams  <drew.adams@oracle.com>
7457         * dired.el (dired-mark-if): Make the message about whether it's
7458         marking or unmarking clearer (bug#8523).
7460 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7462         * disp-table.el (display-table-print-array): New function.
7463         (describe-display-table): Use it to print the vectors more pretty
7464         (Bug#8859).
7466 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
7468         * window.el (window-state-get-1): Don't assign clone numbers.
7469         Add clone-of item to list of window parameters.
7470         (window-state-put-2): Don't process clone numbers.
7471         (display-buffer-alist): Fix doc-string.
7473 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7475         * subr.el (remq): Don't allocate if it's not needed.
7476         (keymap--menu-item-binding, keymap--menu-item-with-binding)
7477         (keymap--merge-bindings): New functions.
7478         (keymap-canonicalize): Use them to refine the canonicalization.
7479         * minibuffer.el (minibuffer-local-completion-map)
7480         (minibuffer-local-must-match-map): Move initialization from C.
7481         (minibuffer-local-filename-completion-map): Move initialization from C;
7482         don't inherit from anything here.
7483         (minibuffer-local-filename-must-match-map): Make obsolete.
7484         (completing-read-default): Use make-composed-keymap to combine
7485         minibuffer-local-filename-completion-map with either
7486         minibuffer-local-must-match-map or
7487         minibuffer-local-filename-completion-map.
7489 2011-07-01  Glenn Morris  <rgm@gnu.org>
7491         * type-break.el (type-break-time-sum): Use dolist.
7493         * textmodes/flyspell.el (flyspell-word-search-backward):
7494         Replace CL function.
7496 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7498         * mouse.el (mouse--strip-first-event): New function.
7499         (function-key-map): Use it to map fringe clicks to normal clicks
7500         by default.
7502         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7503         (vc-bzr-revision-completion-table): Add support for annotate and date.
7505         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7506         inherit from parent.
7508 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7510         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
7511         (dired-show-file-type): Doc fixup (bug#8818).
7513         * dired.el (dired-mode): Fix up the doc string as suggested by
7514         Drew Adams (bug#8817).
7516         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7517         cookie, since the manual says that it should be possible to add
7518         this function to `find-file-hook' (bug#8709).
7520 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
7522         * progmodes/cfengine.el: Moved all cfengine3.el functionality
7523         here.  Noted Ted Zlatanov as the maintainer.
7524         (cfengine-common-settings, cfengine-common-syntax): New functions
7525         to set up common things between `cfengine-mode' and
7526         `cfengine3-mode'.
7527         (cfengine3-mode): New mode.
7528         (cfengine3-defuns cfengine3-defuns-regex
7529         (cfengine3-class-selector-regex cfengine3-category-regex)
7530         (cfengine3-vartypes cfengine3-font-lock-keywords)
7531         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
7532         (cfengine3-indent-line): Add from cfengine3.el.
7534 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
7536         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7538         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7540 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
7542         * window.el (same-window-buffer-names, same-window-regexps)
7543         (same-window-p, special-display-frame-alist)
7544         (special-display-popup-frame, special-display-function)
7545         (special-display-buffer-names, special-display-regexps)
7546         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7547         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7548         (split-window-preferred-function, split-height-threshold)
7549         (split-width-threshold, even-window-heights)
7550         (display-buffer-mark-dedicated, window-splittable-p)
7551         (split-window-sensibly, window-safely-shrinkable-p):
7552         Un-obsolete.
7553         (display-buffer): Don't spread args with function specifier
7554         because special-display-popup-frame won't like it.
7556 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
7558         Time-stamp simplifications and fixes.
7559         These improve accuracy slightly, and future-proof the code
7560         against some potential changes to current-time format.
7562         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7563         by using time-since and float-time.
7565         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7566         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
7567         + NNN microseconds".
7569         * type-break.el (type-break-time-sum): Rewrite using time-add.
7571         * play/hanoi.el (hanoi-current-time-float): Remove.
7572         All uses replaced by float-time.
7574         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7575         This yields a more-accurate answer.
7576         (rng-time-to-float): Remove; no longer needed.
7578         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7580         * calendar/timeclock.el (timeclock-seconds-to-time):
7581         Defalias to seconds-to-time, since they're the same thing.
7583         * emacs-lisp/elp.el (elp-elapsed-time):
7584         * emacs-lisp/benchmark.el (benchmark-elapse):
7585         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7587 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7589         * window.el (bury-buffer): Don't iconify the only frame.
7590         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7591         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
7593 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
7595         * eshell/em-smart.el (eshell-smart-display-navigate-list):
7596         Add mouse-yank-primary.
7598 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
7600         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7602 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7604         * emacs-lisp/find-func.el (find-library--load-name): New fun.
7605         (find-library-name): Use it to find relative load names when provided
7606         absolute file name (bug#8803).
7608 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7610         * textmodes/flyspell.el (flyspell-word): Consider words that
7611         differ only in case as potential doublons (bug#5687).
7613         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7614         Remove two rather uninteresting debugging-like messages to make
7615         debbugs.el more silent.
7617         * comint.el (comint-password-prompt-regexp): Accept "Response" as
7618         a password-like phrase.
7620 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
7622         * progmodes/cc-guess.el: New file.
7624         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
7626         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7627         derived from `c-basic-common-init'.
7629         * progmodes/cc-mode.el (top-level): Require cc-guess.
7630         (c-basic-common-init): Use `cc-choose-style-for-mode'.
7632 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
7634         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7636 2011-06-30  Alan Mackenzie  <acm@muc.de>
7638         * progmodes/cc-engine.el (c-guess-continued-construct):
7639         Correct the handling of template-args-cont, particularly for when font
7640         lock is disabled.  Name this case as "CASE G".
7642 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
7644         * allout.el (allout-yank-processing): Fix injection of extra space
7645         between bullet and non-whitespace character in first topic when
7646         pasting, ensuring that the actual spacing in the pasted topic
7647         following the bullet char is preserved.  This extra space was
7648         causing pasted encrypted topics to get a decrypted status even
7649         when the content was actually still encrypted.  Now the decryption
7650         status from before the paste is preserved.
7652         (allout-flag-region): Set all allout overlays so they evaporate
7653         when reduced to zero length (evanescent), to prevent overlay
7654         leakage.
7656 2011-06-30  Glenn Morris  <rgm@gnu.org>
7658         * w32-fns.el (w32-charset-info-alist): Declare.
7660         * find-dired.el (find-grep-options): Simplify.
7662         * term/ns-win.el (ns-set-resource): Declare.
7664         * ses.el (row, col): Declare dynamic variables honestly.
7666         * textmodes/reftex-parse.el (index-tags): Declare.
7668 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
7670         * cus-edit.el (customize-push-and-save): New function.
7672         * files.el (hack-local-variables-confirm): Use it.
7674         * custom.el (load-theme): New arg NO-CONFIRM.
7675         Use customize-push-and-save (Bug#8720).
7676         (custom-enabled-themes): Doc fix.
7678         * cus-theme.el (customize-create-theme)
7679         (custom-theme-merge-theme): Callers to load-theme changed.
7681 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7683         * thingatpt.el (thing-at-point-short-url-regexp): Require that
7684         short URLs have at least one dot in them (bug #7614).
7686         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7687         nil, because using a pty is apparently too slow (bug #895).
7689 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7691         * mail/sendmail.el (sendmail-query-once): New function.
7692         (sendmail-query-once-function): New variable.
7694 2011-06-29  Glenn Morris  <rgm@gnu.org>
7696         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7698         * ses.el (top-level): Require cl when compiling.
7699         (ses-set-localvars): Fix error statement.
7700         Call it at compile time to silence a storm of warnings.
7702 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
7704         * window.el (normalize-live-buffer): Rename to
7705         window-normalize-buffer.
7706         (normalize-live-frame): Rename to window-normalize-frame.
7707         (normalize-any-window): Rename to window-normalize-any-window.
7708         (normalize-live-window): Rename to window-normalize-live-window.
7709         (make-window-atom): Rename to window-make-atom.
7710         (window-resize-reset): Rename to window--resize-reset.
7711         (window-resize-reset-1): Rename to window--resize-reset-1.
7712         (resize-mini-window): Rename to window--resize-mini-window.
7713         (resize-subwindows-skip-p): Rename to
7714         window--resize-subwindows-skip-p.
7715         (resize-subwindows-normal): Rename to
7716         window--resize-subwindows-normal.
7717         (resize-subwindows): Rename to window--resize-subwindows.
7718         (resize-other-windows): Rename to window--resize-siblings.
7719         (resize-this-window): Rename to window--resize-this-window.
7720         (resize-root-window): Rename to window--resize-root-window.
7721         (resize-root-window-vertically): Rename to
7722         window--resize-root-window-vertically.
7723         (normalize-buffer-to-display): Rename to
7724         window-normalize-buffer-to-display.
7725         (normalize-buffer-to-switch-to): Rename to
7726         window-normalize-buffer-to-switch-to.
7727         Correspondingly update all callers of the functions listed
7728         above.
7729         (display-buffer-alist, display-buffer-normalize-arguments)
7730         (display-buffer-normalize-options, display-buffer)
7731         (display-buffer-alist-set): Use "function" instead of
7732         "fun-with-args".
7734 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
7736         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7737         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
7738         debbugs.gnu.org.  Mention acknowledgment email.
7740 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7742         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7743         buffer multibyteness, since it shouldn't matter.
7745 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
7747         * window.el (display-buffer-in-side-window): Handle dedicated
7748         windows as in display-buffer-reuse-window.
7749         (display-buffer-normalize-alist): Use value of override
7750         specifier.
7751         (display-buffer-normalize-specifiers): Use value of
7752         other-window-means-other-frame specifier.
7753         (display-buffer-alist): Rewrite some texts in widgets.
7754         (display-buffer): Spread arguments when calling function
7755         specified by fun-with-args.
7757 2011-06-28  Deniz Dogan  <deniz@dogan.se>
7759         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7760         Unnest `let'.
7762         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7763         selectors (Bug#5732).
7764         (css-proprietary-nmstart-re): Use `regexp-opt'.
7766 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
7768         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7769         (eshell-ls-date-format): New defcustom.
7770         (eshell-ls-file): Use it.
7772 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7774         * help-fns.el (describe-variable): Fix message for terminal-local vars.
7776 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
7778         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7779         (ange-ftp-make-tmp-name): New arg.
7780         (ange-ftp-file-local-copy): Use it.
7782 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
7784         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7785         no-conversion (Bug#8870).
7787 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
7789         * window.el (window-right, window-left, window-child)
7790         (window-child-count, window-last-child)
7791         (window-iso-combination-p, walk-window-tree-1)
7792         (window-atom-check-1, window-tree-1, delete-window)
7793         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7794         new naming conventions - window-vchild, window-hchild,
7795         window-next and window-prev are now called window-top-child,
7796         window-left-child, window-next-sibling and window-prev-sibling
7797         respectively.
7798         (resize-window-reset): Rename to window-resize-reset.
7799         (resize-window-reset-1): Rename to window-resize-reset-1.
7800         (resize-window): Rename to window-resize.
7801         (window-min-height, window-min-width)
7802         (resize-mini-window, resize-this-window, resize-root-window)
7803         (resize-root-window-vertically, adjust-window-trailing-edge)
7804         (enlarge-window, shrink-window, maximize-window)
7805         (minimize-window, delete-window, quit-restore-window)
7806         (split-window, balance-windows, balance-windows-area-adjust)
7807         (balance-windows-area, window-state-put-2)
7808         (display-buffer-even-window-sizes, display-buffer-set-height)
7809         (display-buffer-set-width, set-window-text-height)
7810         (fit-window-to-buffer): Rename all "resize-window" prefixed
7811         calls to use the "window-resize" prefix convention.
7812         (display-buffer-alist): Fix symbol for label specifier.
7813         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7814         corresponding specifier.
7815         Reported by Juanma Barranquero <lekktu@gmail.com>.
7817 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7819         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7820         convention.
7821         (ses-call-printer): Does not pass an empty string to formatter when the
7822         cell is empty to keep from barking printer Calc math-format-value.
7824 2011-06-27  Richard Stallman  <rms@gnu.org>
7826         * battery.el (battery-mode-line-limit): New variable.
7827         (battery-update): Handle it.
7829         * mail/rmailmm.el (rmail-mime-process-multipart):
7830         Handle truncated messages.
7832 2011-06-27  Glenn Morris  <rgm@gnu.org>
7834         * progmodes/flymake.el (flymake-err-line-patterns):
7835         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
7837 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7839         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
7840         (ses--clean-!, ses--clean-_): New functions.
7841         (ses-range): Add configurability of readout order, and conversion
7842         to Calc vector.
7844         * ses.el (ses-repair-cell-reference-all): New function.
7845         (ses-cell-symbol): Set macro as safe, so that it can be used in
7846         formulas.
7848         * ses.el: Update cycle detection algorithm.
7849         (ses-localvars): Add ses--Dijkstra-attempt-nb and
7850         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
7851         (ses-set-localvars): New function.
7852         (ses-make-cell): Add property-list as a cell element.
7853         (ses-cell-property-get-fun, ses-cell-property-get)
7854         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
7855         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7856         New functions.
7857         (ses-cell-property-set, ses-cell-property-pop)
7858         (ses-cell-property-get-handle): New macro.
7859         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7860         New aliases, used for code readability.
7861         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7862         cycle detection.
7863         (ses-self-reference-early-detection): New defcustom.
7864         (ses-formula-references): Robustify against self-referring cells.
7865         (ses-mode): Use ses-set-localvars.
7866         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7867         before lauching the update processing.
7868         (ses-initialize-Dijkstra-attempt): New function.
7869         (ses-recalculate-cell): Update for cycle detection based on
7870         Dijkstra algorithm.
7872         * ses.el: Fix commenting and indenting convention.
7874 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7876         * bs.el (bs-cycle-next): Complete last change.
7878 2011-06-27  Drew Adams  <drew.adams@oracle.com>
7880         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7882 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7884         * net/network-stream.el (network-stream-open-starttls):
7885         Don't re-get capabilities unless we've reestablished connection.
7886         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7888         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7889         to binary to possibly avoid line encoding issues on Windows (among
7890         other things).
7892 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7894         * net/network-stream.el (open-network-stream): Return an :error
7895         saying what the problem was, if possible.
7897         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7898         server.
7900         * net/network-stream.el (network-stream-open-starttls): If we
7901         wanted to use STARTTLS, and the server offered it, but we weren't
7902         able to because we had no STARTTLS support, then close the connection.
7903         (open-network-stream): Return an :error element, if present.
7905 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
7907         * hl-line.el (hl-line-sticky-flag): Doc fix.
7908         (global-hl-line-sticky-flag): New option (Bug#8323).
7909         (global-hl-line-highlight): Obey it.
7911         * vc/vc.el (vc-revert-show-diff): Default to t.
7913 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
7915         * allout-widgets.el (allout-widgets-post-command-business):
7916         Stop decorating intermediate isearch matches.  They're not being
7917         undecorated when an isearch is continued past, and isearch
7918         automatically collapses them.  This leads to "widget leaks", where
7919         decorated items accumulate in collapsed areas.  Lines with lots of
7920         hidden widgets can slow down cursor travel, substantially.
7921         Too much complicated machinery would be needed to ensure undecoration,
7922         so we're doing without this nicety.
7924         (allout-widgets-tally-string): Don't try to do a hash-table-count
7925         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
7926         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7927         *Messages* when allout-widgets-maintain-tally is t.
7929 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
7931         * window.el (display-buffer-normalize-argument): Rename to
7932         display-buffer-normalize-arguments.  Handle special meaning of
7933         LABEL argument.  Respect special-display-function when popping up
7934         a new frame.  Fix code searching for a window showing the buffer
7935         on another frame.
7936         (display-buffer-normalize-specifiers):
7937         Call display-buffer-normalize-arguments.
7938         (display-buffer-in-window): Don't undedicate the window if its
7939         buffer remains the same.
7940         Reported by Drew Adams <drew.adams@oracle.com>.
7941         (display-buffer-alist): Add choice for same-window macro
7942         specfier.
7943         (display-buffer): Mention special meaning of LABEL argument in
7944         doc-string.  Fix quoting.  Don't pop up a new frame even as
7945         fallback.
7947 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
7949         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7950         avoid deleting the current window in some cases (bug#8911).
7952 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
7954         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7955         (Bug#8934)
7957 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7959         * net/network-stream.el (network-stream-open-starttls):
7960         Use built-in TLS support if `gnutls-available-p' is true.
7961         (network-stream-open-tls): Ditto.
7963 2011-06-26  Leo Liu  <sdl.web@gmail.com>
7965         * register.el (registerv): New struct.
7966         (registerv-make): New function.
7967         (jump-to-register, describe-register-1, insert-register):
7968         Support the jump-func, print-func and insert-func slot of a registerv
7969         struct.  (Bug#8415)
7971 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
7973         * vc/vc.el (vc-revert-show-diff): New defcustom.
7974         (vc-diff-internal): New arg specifying diff buffer.
7975         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
7976         reuse an existing *vc-diff* buffer (Bug#8927).
7978         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7980 2011-06-26  Glenn Morris  <rgm@gnu.org>
7982         * progmodes/f90.el (f90-critical-indent): New option.
7983         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7984         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7985         (f90-mode): Doc fix.
7986         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7987         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7988         (f90-beginning-of-block, f90-next-block, f90-indent-region)
7989         (f90-match-end): Handle block, critical.
7991 2011-06-25  Glenn Morris  <rgm@gnu.org>
7993         * calendar/diary-lib.el (diary-included-files): Doc fix.
7994         (diary-include-files): New function, extracted from
7995         diary-include-other-diary-files and diary-mark-included-diary-files.
7996         (diary-include-other-diary-files, diary-mark-included-diary-files):
7997         Just call diary-include-files.
7998         (diary-mark-entries): Reset diary-included-files on first call.
8000         * calendar/diary-lib.el (diary-mark-entries)
8001         (diary-mark-included-diary-files):
8002         Visit included diary-files in temp buffers.
8004         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8005         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8006         (f90-start-block-re, f90-imenu-generic-expression)
8007         (f90-looking-at-program-block-start, f90-no-block-limit):
8008         Add support for submodules.
8010         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8011         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
8013 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
8015         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8016         buffer-file-type before setting its value, to avoid disastrous
8017         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
8019 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
8021         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8023         * ses.el (ses-unload-function):
8024         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8026         * proced.el (proced-unload-function):
8027         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8029 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
8031         * server.el (server-create-window-system-frame): Add parameters arg.
8032         (server-process-filter): Doc fix.  Handle frame-parameters.
8034 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
8036         Fix bug#8730, bug#8781.
8038         * loadhist.el (unload--set-major-mode): New function.
8039         (unload-feature): Use it.
8041         * progmodes/python.el (python-after-info-look): Add autoload cookie.
8042         (python-unload-function): New function.
8044 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8046         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8048 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
8050         * net/browse-url.el (browse-url-firefox-program): Add icecat to
8051         the candidates list.
8053 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
8055         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8057 2011-06-23  Richard Stallman  <rms@gnu.org>
8059         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8060         (rmail-variables): Set next-error-move-function.
8061         (rmail-what-message): Take argument POS.
8062         (rmail-next-error-move): New function.
8064 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8066         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8067         messages for adjacent non-terminals.
8069 2011-06-23  Richard Stallman  <rms@gnu.org>
8071         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
8072         (rmail-show-message-1): Preserve buffer modified flag.
8073         (rmail-start-mail): Don't specify use of rmail-mail-return;
8074         that's done by mail-bury now.
8075         (rmail-mail-return): Handle arg NEWBUF.
8077 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
8079         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8080         SIZE is a number.
8082 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
8084         * window.el (get-lru-window, get-mru-window)
8085         (get-largest-window): Never return a minibuffer window.
8086         (display-buffer-pop-up-window): Fix a bug that could lead to
8087         reusing the minibuffer window.
8088         (display-buffer): Pass original specifier argument to
8089         display-buffer-function instead of the normalized one.
8090         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8092 2011-06-22  Leo Liu  <sdl.web@gmail.com>
8094         * minibuffer.el (completing-read-function)
8095         (completing-read-default): Move from minibuf.c
8097 2011-06-22  Richard Stallman  <rms@gnu.org>
8099         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8100         to Rmail even if not started by a special Rmail command.
8102         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8103         Copy the buffer currently showing just one message.
8105 2011-06-22  Roland Winkler  <winkler@gnu.org>
8107         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8108         (bibtex-clean-entry): First delete the old key so that a
8109         customized algorithm for generating the new key does not get
8110         confused by the old key.
8111         (bibtex-url): Obey regexp of first step.
8112         (bibtex-search-entries): Do not use add-to-list with local
8113         list-var.
8115 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8117         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8118         stored a user name, then query for the password first, instead of
8119         waiting for SMTP to give an error message and the trying again.
8121 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
8123         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8124         BUFFER in call-process.
8126 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8128         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8129         QUIT twice.
8130         (smtpmail-try-auth-methods): Require user name and password from
8131         auth-source.
8133 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
8135         * window.el (display-buffer-default-specifiers)
8136         (display-buffer-alist): Remove entries for pop-up-frame-alist.
8137         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
8138         (split-window): Normalize SIDE argument (Bug#8916).
8140         * frame.el (pop-up-frame-alist, pop-up-frame-function)
8141         (special-display-frame-alist, special-display-popup-frame):
8142         Remove duplicate declarations.  These are now in window.el.
8144 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8146         * mail/smtpmail.el (smtpmail-via-smtp):
8147         Set :use-starttls-if-possible so that we always use STARTTLS if the
8148         server supports it.  SMTP servers that support STARTTLS commonly
8149         require it.
8151         * net/network-stream.el (network-stream-open-starttls): Support
8152         upgrading to STARTTLS always, even if we don't have built-in support.
8153         (open-network-stream): Add the :always-query-capabilities keyword.
8155         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8156         upgrades with `open-network-stream', and rely solely on
8157         auth-source for all credentials.  Big changes throughout the file,
8158         but in particular:
8159         (smtpmail-auth-credentials): Remove.
8160         (smtpmail-starttls-credentials): Remove.
8161         (smtpmail-via-smtp): Check for servers saying they want AUTH after
8162         MAIL FROM, too.
8164         * net/network-stream.el (network-stream-open-starttls):
8165         Provide support for client certificates both for external and built-in
8166         STARTTLS.
8167         (auth-source): Require.
8168         (open-network-stream): Document the :client-certificate keyword.
8169         (network-stream-certificate): Change cert-cert to cert and
8170         cert-key to key.
8172 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
8174         * net/tramp-cache.el (top): Don't load the persistency file when
8175         "emacs -Q" has been called.
8177 2011-06-21  Tim Harper  <timcharper@gmail.com>
8179         * term/ns-win.el (ns-initialize-window-system):
8180         Set application-specific `ApplePressAndHoldEnabled' system
8181         resource to NO as it is not yet supported by the NS port.
8183 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
8185         * misc.el (list-dynamic-libraries--refresh): Compute header here...
8186         (list-dynamic-libraries): ...not here.
8188 2011-06-21  Leo Liu  <sdl.web@gmail.com>
8190         * subr.el (sha1): Implement sha1 using secure-hash.
8192 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
8194         * window.el (display-buffer-alist): In default value do not
8195         enforce searching a window on any but the selected frame.
8196         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8197         (display-buffer-select-window): Remove function.
8198         (display-buffer-in-window): When a window on another frame gets
8199         reused, do not select it any more but just raise its frame if
8200         necessary (Bug#8851) and (Bug#8856).
8201         (display-buffer-normalize-options): Handle pop-up-frames related
8202         options more faithfully.
8203         (pop-to-buffer): Don't rely on `display-buffer' selecting the
8204         window if it is on another frame.
8205         (display-buffer-alist, display-buffer-default-specifiers):
8206         Don't make new frame unsplittable by default.
8207         (display-buffer-normalize-argument): Fix doc-string typo and use
8208         'same-frame-other-window instead of 'other-window when associating
8209         with display-buffer-macro-specifiers.
8211 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
8213         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8214         New functions.
8215         (5x5-mode-map, 5x5-mode-menu): Bind them.
8216         (5x5-draw-grid): Tweak the solver's rendering.
8218 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8220         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8221         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8223 2011-06-21  Drew Adams  <drew.adams@oracle.com>
8225         * menu-bar.el: Use function variable instead of switch-to-buffer.
8226         (menu-bar-select-buffer-function): New variable.
8227         (menu-bar-update-buffers): Use it (bug#8876).
8229 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8231         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8232         variable's status.
8234 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
8236         * x-dnd.el (x-dnd-version-from-flags)
8237         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8238         and long as number (Bug#8899).
8239         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8241 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8243         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
8244         (completion-try-completion, completion-all-completions): Compute the
8245         metadata argument if it's missing; make it optional (bug#8795).
8247         * wid-edit.el: Use lex-bind and move towards completion-at-point.
8248         (widget-complete): Use new :completion-function property.
8249         (widget-completions-at-point): New function.
8250         (default): Use :completion-function instead of :complete.
8251         (widget-default-completions): Rename from widget-default-complete;
8252         Rewrite.
8253         (widget-string-complete, widget-file-complete, widget-color-complete):
8254         Remove functions.
8255         (file, symbol, function, variable, coding-system, color):
8256         * international/mule-cmds.el (default-input-method, charset)
8257         (language-info-custom-alist):
8258         * cus-edit.el (face): Use new property :completions.
8260         * progmodes/pascal.el (pascal-completions-at-point): New function.
8261         (pascal-mode): Use it.
8262         (pascal-mode-map): Use completion-at-point.
8263         (pascal-toggle-completions): Make obsolete.
8264         (pascal-complete-word, pascal-show-completions):
8265         * progmodes/octave-mod.el (octave-complete-symbol):
8266         Redefine as obsolete alias.
8267         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8268         Signal absence of completion info for old Octave,
8269         (inferior-octave-complete): Redefine as obsolete alias.
8270         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8271         (meta-completions-at-point): Rename from meta-complete-symbol and
8272         adapt it for use on completion-at-point-functions.
8273         (meta-common-mode): Use it.
8274         (meta-looking-at-backward, meta-match-buffer): Remove.
8275         (meta-complete-symbol): Redefine as obsolete alias.
8276         (meta-common-mode-map): Use completion-at-point.
8277         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8278         (makefile-mode-map): Use completion-at-point.
8279         (makefile-completions-at-point): Rename from makefile-complete and
8280         adapt it for use on completion-at-point-functions.
8281         (makefile-mode): Use it.
8282         (makefile-complete): Redefine as obsolete alias.
8284 2011-06-20  Deniz Dogan  <deniz@dogan.se>
8286         * net/rcirc.el: Delete trailing whitespaces once and for all.
8288 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
8290         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8292 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
8294         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8296         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8298 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
8300         * window.el (display-buffer-other-window-means-other-frame):
8301         Call display-buffer-normalize-alist.
8302         (display-buffer-normalize-specifiers-1): Rename to
8303         display-buffer-normalize-argument.  New argument other-frame.
8304         Rewrite.
8305         (display-buffer-normalize-specifiers-2): Rename to
8306         display-buffer-normalize-options.
8307         (display-buffer-normalize-alist-1): New function.
8308         (display-buffer-normalize-specifiers-3): Rename to
8309         display-buffer-normalize-alist.
8310         Call display-buffer-normalize-alist-1.
8311         (display-buffer-normalize-options-inhibit): New variable.
8312         (display-buffer-normalize-specifiers): Rewrite calling
8313         display-buffer-normalize-alist,
8314         display-buffer-normalize-argument, and
8315         display-buffer-normalize-options.  Don't call the latter if
8316         display-buffer-normalize-options-inhibit is non-nil.
8317         (frame-auto-delete): New option.
8318         (window-deletable-p): Use frame-auto-delete.
8319         (window-list-no-nils, window-state-ignored-parameters)
8320         (window-state-get-1, window-state-get, window-state-put-list)
8321         (window-state-put-1, window-state-put-2, window-state-put):
8322         New functions.
8323         (display-buffer-normalize-options): Move special-display-p group
8324         after pop-up-frame group (Bug#8851) and (Bug#8856).
8326 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
8328         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8329         groups (Bug#8776).
8330         (rx-submatch-n): New function.
8331         (rx): Document it.
8333         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8334         (Bug#8768).
8336         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8338         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8340         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8341         anytime existing face settings are present (Bug#8889).
8343         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8344         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8345         Remove unused argument.
8347 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
8349         * window.el (display-buffer-default-specifiers):
8350         Remove pop-up-frame.  Add pop-up-window-min-height,
8351         pop-up-window-min-width, and another reuse-window specifier
8352         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
8353         (display-buffer-normalize-specifiers-2):
8354         Handle split-height-threshold and split-width-threshold also when
8355         pop-up-windows is unset.  Add a reuse-window specifier for the
8356         case popping up a new window fails.
8357         (special-display-popup-frame): Remove double quoting.
8358         (display-buffer-normalize-specifiers-1): Fix thinko.
8360 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8362         * shell.el (shell-completion-vars): Set pcomplete-termination-string
8363         according to comint-completion-addsuffix.
8365         * pcomplete.el: Convert to lexical binding and fix bug#8819.
8366         (pcomplete-suffix-list): Mark as obsolete.
8367         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8368         pcomplete-seen in the closure.
8369         (pcomplete-comint-setup): Setup completion-at-point as well.
8370         (pcomplete--entries): New function.
8371         (pcomplete--env-regexp): New var.
8372         (pcomplete-entries): Rewrite to work with partial-completion and
8373         without relying on pcomplete-suffix-list.
8374         (pcomplete-pare-list): Remove, unused.
8376 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
8378         * window.el (display-buffer-alist): Set pop-up-window-min-height
8379         and pop-up-window-min-width in default value.  Reported by
8380         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
8381         other-window-means-other-frame.
8382         (display-buffer-macro-specifiers): Comment out entry for
8383         other-window specifier.
8384         (display-buffer-other-window-means-other-frame): New function.
8385         (display-buffer-normalize-specifiers-1): New arguments
8386         buffer-name and label.  Treat other-window case specially.
8387         (display-buffer-normalize-specifiers-2): Treat other-window case
8388         specially.
8389         (display-buffer-normalize-specifiers-3): New function.
8390         (display-buffer-normalize-specifiers):
8391         Call display-buffer-normalize-specifiers-3.
8393 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
8395         * window.el (same-window-p): Fix two typos introduced when
8396         adding with-no-warnings.
8397         (display-buffer-normalize-specifiers-1): Don't check
8398         pop-up-frames for 'unset initialization.
8399         (display-buffer-normalize-specifiers-2): Major rewrite using
8400         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8401         (pop-up-frames, display-buffer-reuse-frames)
8402         (display-buffer-mark-dedicated): Don't initialize to 'unset.
8403         Suggested by David Engster <deng@randomsample.de>.
8404         (even-window-heights): Initialize to 'unset.
8405         (display-buffer-alist-set): Handle new 'unset initializations.
8406         (display-buffer-macro-specifiers): Don't pop up a new frame in the
8407         other window case.
8409 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
8411         * window.el (display-buffer-normalize-specifiers-1):
8412         Respect current value of pop-up-frames for most reasonable values of
8413         second argument of display-buffer (Bug#8865).
8414         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8415         (switch-to-buffer-other-window-same-frame)
8416         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
8417         Adams (Bug#8875).
8418         (display-buffer): Don't check noninteractive when calling
8419         display-buffer-pop-up-frame.
8420         (display-buffer-pop-up-frame): Never pop up a frame in
8421         noninteractive mode (Bug#8857).
8422         (enlarge-window, shrink-window): Don't report an error when the
8423         window can't be resized as requested (Bug#8862).
8425 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8427         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8429         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8431         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8433 2011-06-15  Alan Mackenzie  <acm@muc.de>
8435         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8436         for declarators, disable knr checking to speed up for normal files.
8437         2: Refactor, replacing a sequence of nested if forms by a cond form.
8439 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8441         * net/network-stream.el (open-network-stream): Add the keyword
8442         :always-query-capabilities for the case where you want to force a
8443         `plain' network connection, but the protocol still requires the
8444         capabilitiy command (i.e., SMTP and EHLO).
8446         * subr.el (process-live-p): Rename from `process-alive-p' for
8447         consistency with other `-live-p' functions.
8449 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8451         * window.el (same-window-buffer-names, same-window-regexps)
8452         (special-display-frame-alist, special-display-popup-frame)
8453         (special-display-function, special-display-buffer-names)
8454         (special-display-regexps, pop-up-frame-alist)
8455         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8456         (pop-up-windows, split-window-preferred-function)
8457         (split-height-threshold, split-width-threshold, even-window-heights)
8458         (display-buffer-mark-dedicated): Don't encourage the use of
8459         display-buffer-alist from Elisp code.
8461 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
8463         * progmodes/python.el (python-mode): Derive from prog-mode.
8464         * progmodes/ps-mode.el (ps-mode):
8465         * progmodes/mixal-mode.el (mixal-mode):
8466         * progmodes/cfengine.el (cfengine-mode):
8467         * progmodes/ld-script.el (ld-script-mode): Likewise.
8469 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
8471         * window.el (display-buffer-alist): Trim default value to avoid
8472         popping up a new frame (Bug#8857) or reusing an arbitrary window
8473         on another frame.
8474         (display-buffer): Do not fall back on popping up a new frame in
8475         batch mode (Bug#8857).
8477 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
8479         * cus-theme.el (describe-theme-1): Use custom-theme-p.
8480         (custom-theme-summary): New function.
8481         (customize-themes): Use it.
8483 2011-06-13  Glenn Morris  <rgm@gnu.org>
8485         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8487 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
8489         * help.el (help-window): Remove variable.
8490         (help-window-point-marker, temp-buffer-max-height)
8491         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8492         (help-print-return-message): Don't set help-window.
8493         (resize-temp-buffer-window): Rewrite cod eand doc-string.
8494         (help-window-setup-finish): Remove.
8495         (help-window-display-message, help-window-setup)
8496         (with-help-window): Major rewrite based on new
8497         display-buffer-window variable.
8499         * help-mode.el (help-mode-finish): Remove help-window related
8500         code.
8502         * view.el (view-exits-all-viewing-windows): Remove reference to
8503         view-return-to-alist in doc-string.
8504         (view-return-to-alist): Make obsolete.
8505         (view-buffer): Call pop-to-buffer-same-window and remove
8506         undo-window code.
8507         (view-buffer-other-window): Call pop-to-buffer-other-window and
8508         simplify code.  Ignore second argument.
8509         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8510         simplify code.  Ignore second argument.
8511         (view-return-to-alist-update): Make obsolete.
8512         (view-mode-enter): Rename second argument to QUIT-RESTORE.
8513         Rewrite using quit-restore window parameters.
8514         (view-mode-exit): Rename second argument to EXIT-ONLY.
8515         Rewrite using quit-restore-window.
8516         (View-exit, View-exit-and-edit, View-leave, View-quit)
8517         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8518         appropriate arguments.
8519         (view-end-message): Use quit-restore window parameter.
8521         * window.el (display-buffer-function): Rewrite doc-string.
8522         (display-buffer-window, display-buffer-alist): New variables.
8523         (display-buffer-split-specifiers)
8524         (display-buffer-side-specifiers)
8525         (display-buffer-macro-specifiers): New constants.
8526         (display-buffer-even-window-sizes, display-buffer-set-height)
8527         (display-buffer-set-width, display-buffer-select-window)
8528         (display-buffer-in-window, display-buffer-reuse-window)
8529         (display-buffer-split-window-1, display-buffer-split-window)
8530         (display-buffer-split-atom-window, display-buffer-pop-up-window)
8531         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8532         (display-buffer-in-side-window, normalize-buffer-to-display)
8533         (display-buffer-normalize-specifiers-1)
8534         (display-buffer-normalize-specifiers-2)
8535         (display-buffer-normalize-specifiers, display-buffer-frame):
8536         New functions.
8537         (display-buffer): Major rewrite.
8538         (display-buffer-other-window, display-buffer-other-frame)
8539         (pop-to-buffer, switch-to-buffer-other-window)
8540         (switch-to-buffer-other-frame): Rewrite.
8541         (display-buffer-same-window, display-buffer-same-frame)
8542         (display-buffer-same-frame-other-window)
8543         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8544         (pop-to-buffer-other-window)
8545         (pop-to-buffer-same-frame-other-window)
8546         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8547         (switch-to-buffer-other-window-same-frame): New functions.
8548         (same-window-p, special-display-p): Rewrite disabling warnings.
8549         Make obsolete.
8550         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8551         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8552         Make obsolete
8553         (same-window-buffer-names, same-window-regexps)
8554         (special-display-frame-alist, special-display-popup-frame)
8555         (special-display-function, special-display-buffer-names)
8556         (special-display-regexps, pop-up-frame-alist)
8557         (pop-up-frame-function, split-window-preferred-function)
8558         (split-height-threshold, split-width-threshold)
8559         (even-window-heights): Make obsolete.
8561 2011-06-12  Glenn Morris  <rgm@gnu.org>
8563         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
8564         Misc simplifications.
8566 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
8568         * window.el (window-safely-shrinkable-p): Restore function which
8569         was inadvertently removed in change from 2011-06-11.  Declare as
8570         obsolete.
8572         * calendar/calendar.el (calendar-generate-window):
8573         Use window-iso-combined-p instead of combination of one-window-p and
8574         window-safely-shrinkable-p.
8576 2011-06-12  Glenn Morris  <rgm@gnu.org>
8578         * progmodes/fortran.el (fortran-mode-syntax-table):
8579         * progmodes/f90.el (f90-mode-syntax-table):
8580         Set % to punctuation.  (Bug#8820)
8581         (f90-find-tag-default): Remove, no longer needed.
8583 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
8585         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8587 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
8589         * image.el (image-animated-p): Return animation delay in seconds.
8590         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8591         (image-animate-timeout): Remove DELAY argument.  Don't assume
8592         every subimage has the same delay; get it from image-animated-p.
8593         (image-animate): Caller changed.
8595 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
8597         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8598         to ignored backtrace functions.
8600 2011-06-11  Glenn Morris  <rgm@gnu.org>
8602         * calendar/appt.el (appt-disp-window-function): Doc fix.
8603         (appt-check): Handle overlapping appointments.  (Bug#8337)
8605 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
8607         * window.el (window-tree-1, window-tree): New functions, moving
8608         the latter to window.el.
8609         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8610         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8611         (bw-refresh-edges): Remove.
8612         (balance-windows-1, balance-windows-2): New functions.
8613         (balance-windows): Rewrite in terms of window tree functions,
8614         balance-windows-1 and balance-windows-2.
8615         (bw-adjust-window): Remove.
8616         (balance-windows-area-adjust): New function with functionality of
8617         bw-adjust-window but using resize-window.
8618         (set-window-text-height): Rewrite doc-string.
8619         Use normalize-live-window and resize-window.
8620         (enlarge-window-horizontally, shrink-window-horizontally):
8621         Rename argument to DELTA.
8622         (window-buffer-height): New function.
8623         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8624         Rewrite using new window resize routines.
8625         (kill-buffer-and-window, mouse-autoselect-window-select):
8626         Use ignore-errors instead of condition-case.
8627         (quit-window): Call delete-frame instead of delete-windows-on
8628         for the only buffer on frame.
8630 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
8632         * loadup.el (top-level): Load window before files for the sake
8633         of replace-buffer-in-windows.
8635         * files.el (read-buffer-to-switch)
8636         (switch-to-buffer-other-window)
8637         (switch-to-buffer-other-frame, display-buffer-other-frame):
8638         Move to window.el.
8640         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8641         (previous-buffer): Move to window.el.
8643         * bindings.el (unbury-buffer): Move to window.el.
8645         * window.el (delete-other-windows-vertically): Move after
8646         definition of delete-other-windows.
8647         (other-window, delete-windows-on, replace-buffer-in-windows):
8648         Move here from window.c.
8649         (record-window-buffer, unrecord-window-buffer)
8650         (set-window-buffer-start-and-point, switch-to-prev-buffer)
8651         (switch-to-next-buffer): New functions.
8652         (get-next-valid-buffer, last-buffer, next-buffer): Move here
8653         from simple.el.  Call switch-to-next-buffer.
8654         (previous-buffer): Move here from simple.el.
8655         Call switch-to-prev-buffer.
8656         (bury-buffer): Move here from buffer.c.  Switch to previous
8657         buffer when window cannot be deleted.
8658         (unbury-buffer): Move here from bindings.el.
8659         (ctl-x-map): Move binding for other-window from window.c to
8660         here.
8661         (read-buffer-to-switch, switch-to-buffer-other-window)
8662         (switch-to-buffer-other-frame): Move here from files.el.
8663         (normalize-buffer-to-switch-to): New functions.
8664         (switch-to-buffer): Move here from buffer.c.
8665         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
8667 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
8669         * window.el (window-min-height, window-min-width): Move here
8670         from window.c.  Add defcustoms and rewrite doc-strings.
8671         (resize-mini-window, resize-window): New functions.
8672         (adjust-window-trailing-edge, enlarge-window, shrink-window):
8673         Move here from window.c.
8674         (maximize-window, minimize-window): New functions.
8675         (delete-window, delete-other-windows, split-window): Move here
8676         from window.c.
8677         (window-split-min-size): New function.
8678         (split-window-keep-point): Mention split-window-above-each-other
8679         instead of split-window-vertically.
8680         (split-window-above-each-other, split-window-vertically):
8681         Rename split-window-vertically to split-window-above-each-other
8682         and provide defalias for old definition.
8683         (split-window-side-by-side, split-window-horizontally):
8684         Rename split-window-horizontally to split-window-side-by-side
8685         and provide defalias for the old definition.
8686         (ctl-x-map): Move bindings for delete-window,
8687         delete-other-windows and enlarge-window here from window.c.
8688         Replace bindings for split-window-vertically and
8689         split-window-horizontally by bindings for
8690         split-window-above-each-other and split-window-side-by-side.
8692         * cus-start.el (all): Remove entries for window-min-height and
8693         window-min-width.  Add entries for window-splits and
8694         window-nest.
8696 2011-06-09  Glenn Morris  <rgm@gnu.org>
8698         * calendar/appt.el (appt-mode-line): New function.
8699         (appt-check, appt-disp-window): Use it.
8701         * files.el (hack-one-local-variable-eval-safep):
8702         Allow minor-modes with explicit +/-1 arguments.
8704 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
8706         * term/xterm.el (xterm): Add defgroup.
8707         (xterm-extra-capabilities): Add defcustom to supply known xterm
8708         capabilities, skip querying them, or query them (default).
8709         (terminal-init-xterm): Use it.
8710         (terminal-init-xterm-modify-other-keys): New function to set up
8711         modifyOtherKeys support to simplify `terminal-init-xterm'.
8713 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
8715         * window.el (resize-window-reset, resize-window-reset-1)
8716         (resize-subwindows-skip-p, resize-subwindows-normal)
8717         (resize-subwindows, resize-other-windows, resize-this-window)
8718         (resize-root-window, resize-root-window-vertically)
8719         (window-deletable-p, window-or-subwindow-p)
8720         (frame-root-window-p): New functions.
8722 2011-06-09  Glenn Morris  <rgm@gnu.org>
8724         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8725         (ange-ftp-get-files): Use it.
8727 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
8729         * mail/sendmail.el (mail-recover-1, mail-recover):
8730         * files.el (recover-file, recover-session):
8731         Handle dired-listing-switches not being just a single short option.
8733 2011-06-09  Glenn Morris  <rgm@gnu.org>
8735         * calendar/appt.el (appt-display-message, appt-disp-window):
8736         Handle lists of appointments.
8738 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
8740         * window.el (one-window-p): Move down in code.
8741         Rewrite doc-string.
8742         (window-current-scroll-bars): Rewrite doc-string.
8743         Normalize live window argument.
8744         (walk-windows, get-window-with-predicate, count-windows):
8745         Rewrite doc-string.  Use window-list-1.
8746         (window-in-direction-2, window-in-direction, get-mru-window):
8747         New functions.
8749 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
8751         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8752         Doc fix (Bug#8713).
8754 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
8756         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8758 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
8760         * loadhist.el (unload-feature-special-hooks):
8761         Add `comint-output-filter-functions'.
8763 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
8765         * calendar/appt.el (appt-check): Move some initializations into the let.
8767 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
8769         * window.el (window-height): Defalias to window-total-height.
8770         (window-width): Defalias to window-body-width.
8772 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
8774         * image-mode.el (image-toggle-animation): New command.
8775         (image-mode-map): Bind it to RET.
8776         (image-mode): Update message.
8777         (image-toggle-display-image): Avoid a spurious cache flush.
8778         (image-transform-rotation): Doc fix.
8779         (image-transform-properties): Return quickly in the normal case.
8780         (image-animate-loop): Rename from image-animate-max-time.
8782         * image.el (image-animate-max-time): Move to image-mode.el.
8783         (create-animated-image): Remove unnecessary function.
8784         (image-animate): Rename from image-animate-start.  New arg.
8785         (image-animate-stop): Remove; just use image-animate-timer.
8786         (image-animate-timer): Use car-safe.
8787         (image-animate-timeout): Rename argument.
8789 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
8791         * window.el (get-lru-window, get-largest-window): Move here from
8792         window.c.  Rename first argument to ALL-FRAMES.
8793         Rephrase doc-strings.
8794         (get-buffer-window-list): Rewrite using window-list-1.
8795         Rephrase doc-string.
8796         (window-safe-min-height, window-safe-min-width): New constants.
8797         (window-size-ignore, window-min-size, window-min-size-1)
8798         (window-sizable, window-sizable-p, window-size-fixed-1)
8799         (window-size-fixed-p, window-min-delta-1, window-min-delta)
8800         (window-max-delta-1, window-max-delta, window-resizable)
8801         (window-resizable-p, window-total-height, window-total-width)
8802         (window-body-width): New functions.
8803         (window-full-height-p, window-full-width-p): Rewrite using
8804         window-total-size.
8805         (window-body-height): Rewrite using window-body-size.
8807 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
8809         * window.el (window-right, window-left, window-child)
8810         (window-child-count, window-last-child, window-any-p)
8811         (normalize-live-buffer, normalize-live-frame)
8812         (normalize-any-window, normalize-live-window)
8813         (window-iso-combination-p, window-iso-combined-p)
8814         (window-iso-combinations)
8815         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8816         (windows-with-parameter, window-with-parameter)
8817         (window-atom-root, make-window-atom, window-atom-check-1)
8818         (window-atom-check, window-side-check, window-check):
8819         New functions.
8820         (ignore-window-parameters, window-sides, window-sides-vertical)
8821         (window-sides-slots): New variables.
8822         (window-size-fixed): Move down in code.  Minor doc-string fix.
8824 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
8826         * comint.el (comint-dynamic-complete-as-filename)
8827         (comint-dynamic-complete-filename): Correctly call
8828         completion-in-region.
8830 2011-06-05  Deniz Dogan  <deniz@dogan.se>
8832         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8833         in last change.
8835 2011-06-05  Deniz Dogan  <deniz@dogan.se>
8837         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8838         (rcirc): Use it to prompt for encryption.
8840 2011-06-05  Roland Winkler  <winkler@gnu.org>
8842         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8843         (bibtex-search-entries): New command bound to C-c C-a.
8844         (bibtex-display-entries): New function.
8846 2011-06-05  Roland Winkler  <winkler@gnu.org>
8848         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8849         (bibtex-insert-kill): After yanking insert newline if necessary.
8850         (bibtex-initialize): Call bibtex-string-files-init only once.
8851         (bibtex-mode): Do not call easy-menu-add.
8852         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8853         (bibtex-yank): Set arg properly if nil.
8855 2011-06-05  Roland Winkler  <winkler@gnu.org>
8857         * textmodes/bibtex.el (bibtex-search-entry-globally):
8858         New variable.
8859         (bibtex-search-entry): Use it.
8861 2011-06-05  Roland Winkler  <winkler@gnu.org>
8863         * textmodes/bibtex.el (bibtex-entry-format): New option
8864         sort-fields.
8865         (bibtex-format-entry, bibtex-reformat): Honor this option.
8866         (bibtex-parse-entry): Return fields in proper order.
8868 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
8870         * doc-view.el (doc-view-remove-if): Move computation of result out
8871         of `dolist' to silence misleading lexical-binding warning.
8873 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
8875         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8876         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8878 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
8880         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8881         "SunOS 5.10".
8883 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
8885         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8886         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8887         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8888         (tramp-parse-putty):
8889         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8890         (tramp-completion-function-alist-ssh)
8891         (tramp-completion-function-alist-telnet)
8892         (tramp-completion-function-alist-su)
8893         (tramp-completion-function-alist-putty): Set `tramp-autoload'
8894         cookie.
8896         * net/tramp-ftp.el:
8897         * net/tramp-sh.el:
8898         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8899         load "tramp.el" `tramp-set-completion-function'.
8901 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8903         * shell.el: Require and use pcomplete.
8904         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8905         (shell-completion-vars): Set pcomplete-default-completion-function.
8907 2011-06-04  Deniz Dogan  <deniz@dogan.se>
8909         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8910         `memq' (Bug#8799).
8912 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8914         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8916 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
8918         * bs.el (bs--mark-unmark, bs--nth-wrapper):
8919         * mpc.el (mpc-select-extend, mpc-songpointer-context):
8920         * vc/log-view.el (log-view-beginning-of-defun):
8921         * vc/smerge-mode.el (smerge-apply-resolution-patch)
8922         (smerge-refine-forward, smerge-refine-chopup-region):
8923         Silence warning for unused `dotimes' counter variables.
8925 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8927         * net/tramp.el (tramp-with-progress-reporter): Rename from
8928         with-progress-reporter.  Use `declare'.
8929         * net/tramp-smb.el:
8930         * net/tramp-sh.el:
8931         * net/tramp-gvfs.el: Update all uses.
8933 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
8935         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8936         buffer isn't killed before making it current.
8938 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8940         Silence various byte-compiler warnings.
8941         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8942         `access-type' and new obsolescence format.
8943         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8944         new format.
8945         (byte-compile-check-variable): New `access-type' argument.
8946         Only warn if the access-type is obsolete.
8947         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8948         (byte-compile-variable-set): Adjust callers.
8949         * help-fns.el (describe-variable): Adjust to new obsolescence format.
8950         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8951         setting it as obsolete.
8952         * simple.el (minibuffer-completing-symbol):
8953         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8954         access as obsolete.
8955         * minibuffer.el (minibuffer-completing-file-name): Don't make it
8956         obsolete yet.
8957         * international/quail.el (quail-mouse-choose-completion): Remove unused
8958         code referring to obsolete var.
8959         (quail-choose-completion-string): Remove.
8960         * server.el (server-clients-with, server-kill-buffer-query-function)
8961         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8962         * proced.el (proced-send-signal):
8963         * emacs-lisp/lisp.el (lisp-complete-symbol):
8964         Replace completion-annotate-function with completion-extra-properties.
8966 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8968         * simple.el (goto-line): Use read-number.
8969         (overriding-map-is-bound): Remove.
8970         (saved-overriding-map): Change default.
8971         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8972         Take the map as argument.
8973         (universal-argument, negative-argument, digit-argument): Use it.
8974         (restore-overriding-map): Adjust.
8975         (do-auto-fill): Use fill-forward-paragraph.
8976         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8978         * minibuffer.el (minibuffer-inactive-mode-map): New var.
8979         (minibuffer-inactive-mode): New major mode.
8980         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8981         the *Messages* buffer" hack.
8982         (mouse-popup-menubar): Don't burp if the event is a normal key.
8984         Miscellaneous tweaks.
8985         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8986         lexical scoping as in subr.el's dolist and dotimes.
8987         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8988         Silence compiler warning.
8989         * thingatpt.el (forward-whitespace): Trivial coding style fix.
8990         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8991         * international/ccl.el (ccl-compile): Trivial simplification.
8992         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8993         * emacs-lisp/testcover.el (testcover-end): Remove spurious
8994         `printflag' argument.
8995         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8996         Purecopy the whole obsolescence data.
8998 2011-06-01  Leo Liu  <sdl.web@gmail.com>
9000         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9001         improve doc-string as suggested by Marco Pessotto
9002         <melmothx@gmail.com>.
9003         (rcirc-print): Fix last change.
9005 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9007         * minibuffer.el (complete-with-action): Return nil for the metadata and
9008         boundaries of non-functional tables.
9009         (completion-table-dynamic): Return nil for the metadata.
9010         (completion-table-with-terminator): Add default case, using
9011         complete-with-action.
9012         (completion--metadata): New function.
9013         (completion-all-sorted-completions, minibuffer-completion-help): Use it
9014         to try and avoid pathological performance problems.
9015         (completion--embedded-envvar-table): Return `category' metadata.
9017 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9019         * subr.el (process-alive-p): New tiny convenience function.
9021 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9023         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9024         content but also its previous major mode.
9026 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
9028         * emacs-lisp/debug.el (debug): Restore the previous content of the
9029         *Backtrace* buffer when we exit with C-M-c.
9031 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9033         * minibuffer.el: Add metadata method to completion tables.
9034         (completion-category-overrides): New defcustom.
9035         (completion-metadata, completion--field-metadata)
9036         (completion-metadata-get, completion--styles)
9037         (completion--cycle-threshold): New functions.
9038         (completion-try-completion, completion-all-completions):
9039         Add `metadata' argument to choose completion-styles.
9040         (completion--do-completion): Use metadata to choose cycling.
9041         (completion-all-sorted-completions): Use metadata for sorting.
9042         Remove :completion-cycle-penalty which is not needed any more.
9043         (completion--try-word-completion): Add `metadata' argument.
9044         (minibuffer-completion-help): Check metadata for annotation function
9045         and sorting.
9046         (completion-file-name-table): Return `category' metadata.
9047         (minibuffer-completing-file-name): Make obsolete.
9048         * simple.el (minibuffer-completing-symbol): Make obsolete.
9049         * icomplete.el (icomplete-completions): Pass new `metadata' param to
9050         completion-try-completion.
9052 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9054         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9056 2011-05-30  Leo Liu  <sdl.web@gmail.com>
9058         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
9059         (rcirc-print): Decode all incoming messages (bug#8744).
9060         (rcirc-decode-coding-system): Allow value nil for automatic coding
9061         system detection.
9063 2011-06-01  Glenn Morris  <rgm@gnu.org>
9065         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9067 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
9069         * image.el (image-animate-max-time): Allow nil and t values.
9070         Default to nil.
9071         (create-animated-image): Doc fix.
9072         (image-animate-start): Remove second arg; just use
9073         image-animate-max-time.
9074         (image-animate-timeout): Doc fix.  Args changed.
9076         * image-mode.el (image-toggle-display-image): Ensure that the
9077         image spec passed to the animate timer is the same object as in
9078         the buffer's display property (Bug#6981).
9079         (image-transform-properties): Doc fix.
9081         * image.el (image-animate-max-time): Default to nil.
9083 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
9085         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9086         entire buffer list (Bug#8184).
9088 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
9090         * image.el (imagemagick-types-inhibit)
9091         (imagemagick-register-types): Doc fix.
9093 2011-05-29  Deniz Dogan  <deniz@dogan.se>
9095         * net/rcirc.el (rcirc): Use the user's stored encryption method by
9096         default.
9098 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
9100         * select.el: Don't perform clipboard-manager saving in hooks;
9101         leave the hooks empty.
9103 2011-05-28  Leo Liu  <sdl.web@gmail.com>
9105         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9106         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
9107         (occur-edit-mode): New major mode (Bug#8463).
9108         (occur-after-change-function): New function.
9109         (occur-engine): Give Occur tags a read-only property.
9111 2011-05-28  Kevin Ryde  <user42@zip.com.au>
9113         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9115 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
9117         * bindings.el (help-echo): Make the initial non-indicator dash
9118         empty on graphical terminals (Bug#7295).
9120         * files.el (auto-mode-alist): Move config rule after the
9121         in-stripping one (Bug#8547).
9123         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9125         * startup.el (normal-splash-screen): Remove gratuitous mode-line
9126         setting (Bug#8740).
9128 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
9130         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9131         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9132         (Bug#8539).
9134 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
9136         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9138 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
9140         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9141         (hs-hide-block-at-point, hs-find-block-beginning)
9142         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9143         (Bug#8279).
9145 2011-05-28  Glenn Morris  <rgm@gnu.org>
9147         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
9149 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
9151         * help-fns.el (describe-function-1): If the function is a derived
9152         major mode, print the parent mode.
9154         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9155         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9157 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9159         * minibuffer.el (completion--capf-wrapper): Check applicability before
9160         returning non-nil for non-exclusive completion data.
9161         * progmodes/etags.el (tags-completion-at-point-function):
9162         * info-look.el (info-lookup-completions-at-point): Mark as
9163         non-exclusive.
9164         (info-complete): Adjust accordingly.
9166         * info-look.el: Convert to lexical-binding and completion-at-point.
9167         (info-lookup-completions-at-point): New function.
9168         (info-complete): Use it and completion-in-region.
9170 2011-05-28  Drew Adams  <drew.adams@oracle.com>
9172         * isearch.el: Let M-e start with point at the first mismatched char.
9173         (isearch-fail-pos): New function.
9174         (isearch-edit-string): Use it.
9176 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
9178         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9180 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
9182         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
9183         traversal functions for avl-trees.
9184         (avl-tree--stack): New struct.
9185         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9186         (avl-tree-enter): Add optional `updatefun' arg.
9187         (avl-tree--do-enter): Add optional `updatefun' arg.
9188         Change return value.
9189         (avl-tree-delete): Add optional `test' and `nilflag' args.
9190         (avl-tree--do-delete): Add `test' and `nilflag' args.
9191         Change return value.
9192         (avl-tree-member): Add optional `nilflag'
9193         (avl-tree-member-p): New function.
9194         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9195         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9196         (avl-tree-stack-empty-p): New functions.
9198         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9199         avl-tree--del-balance1 and make it work both ways.
9200         (avl-tree--del-balance2): Remove.
9201         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9202         make it work both ways.
9203         (avl-tree--enter-balance2): Remove.
9204         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9205         New macros.
9206         (avl-tree--mapc, avl-tree-map): Add direction argument.
9208 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
9210         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9212 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
9214         * select.el: Support clipboard managers with built-in function
9215         x-clipboard-manager-save, via delete-frame-functions and
9216         kill-emacs-hook.
9217         (xselect-convert-to-targets): Add MULTIPLE target to list.
9218         (xselect-convert-to-save-targets): New function.
9220 2011-05-27  Kenichi Handa  <handa@m17n.org>
9222         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9223         let-binding rfc2047-encode-encoded-words to nil.
9225 2011-05-27  Glenn Morris  <rgm@gnu.org>
9227         * mail/emacsbug.el: Don't require url-util.
9229         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
9231         * files.el (set-auto-mode):
9232         Also respect mode: entries at the end of the file.  (Bug#8586)
9234 2011-05-26  Glenn Morris  <rgm@gnu.org>
9236         * files.el (hack-local-variables-prop-line, hack-local-variables):
9237         Downcase mode names, as seems to be traditional.
9238         (hack-local-variables, hack-local-variables-apply): Doc fixes.
9240         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9241         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
9243 2011-05-25  Julien Danjou  <julien@danjou.info>
9245         * textmodes/rst.el (rst-define-level-faces): Do not define face
9246         symbol if it is already defined.
9248 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
9250         * play/5x5.el (5x5-new-game, 5x5-randomize):
9251         Reset 5x5-solver-output to nil when a new grid is cast.
9252         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9253         these debugging traces, as defmacro breaks the compiled code.
9255 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
9257         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9259 2011-05-24  Leo Liu  <sdl.web@gmail.com>
9261         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9262         (vc-bzr-sha1): Adapt.
9264         * sha1.el: Remove.  Function `sha1' is now builtin.
9266         * bindings.el: Provide sha1 feature.
9268 2011-05-24  Kenichi Handa  <handa@m17n.org>
9270         * mail/sendmail.el: Require `rfc2047'.
9271         (mail-insert-from-field): Do not perform RFC2047 encoding.
9272         (mail-encode-header): New function.
9273         (sendmail-send-it): Set buffer-file-coding-system of the work
9274         buffer to the return value of select-message-coding-system.
9275         Call mail-encode-header.
9277         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9279 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
9281         * mail/supercite.el (sc-default-cite-frame):
9282         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
9284 2011-05-24  Glenn Morris  <rgm@gnu.org>
9286         * progmodes/python.el (brm-menu): Declare.
9288         * emulation/viper.el (viper-set-hooks): Declare.
9290         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9291         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9292         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9293         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9294         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9295         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9297 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9299         Add an :exit-function for completion-at-point.
9301         * minibuffer.el (completion--done): New fun.
9302         (completion--do-completion): Use it.  New arg `expect-exact'.
9303         (minibuffer-complete, minibuffer-complete-word): Don't output message,
9304         since completion--do-completion does it for us now.
9305         (minibuffer-force-complete): Use completion--done and
9306         completion--replace.  Handle sole-completion case with more care.
9307         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9308         (completion-extra-properties): New var.
9309         (completion-annotate-function): Make obsolete.
9310         (minibuffer-completion-help): Adjust accordingly.
9311         Use completion-list-insert-choice-function.
9312         (completion-at-point, completion-help-at-point):
9313         Bind completion-extra-properties.
9314         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9315         * simple.el (completion-list-insert-choice-function): New var.
9316         (completion-setup-function): Preserve it.
9317         (choose-completion): Pay attention to it, shuffle the code a bit.
9318         (choose-completion-string): New arg `insert-function'.
9320         * textmodes/bibtex.el: Convert to lexical binding.
9321         (bibtex-mode-map): Use completion-at-point.
9322         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9323         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9324         (bibtex-complete): Define as obsolete alias.
9325         (bibtex-complete-internal): Remove.
9326         (bibtex-format-entry): Remove unused sub-group in regexp.
9327         * shell.el (shell--command-completion-data)
9328         (shell-environment-variable-completion):
9329         * pcomplete.el (pcomplete-completions-at-point):
9330         * comint.el (comint--complete-file-name-data): Use :exit-function
9331         instead of completion-table-with-terminator so it also works for
9332         choose-completion.
9334 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9336         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9338         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9339         (bug#8710).
9341         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9343 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
9345         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9346         customization variable and implement: If non-nil, auto-fill will
9347         be inhibited while on topic's header line.
9349 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
9351         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
9352         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
9353         always have a solution in grid size = 5 cases.
9354         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9355         (5x5-solver-output, 5x5-log-buffer): New vars.
9356         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9357         Make these variables buffer local to achieve 5x5 multi-session-ness.
9358         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9359         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9360         (5x5-solve-suggest): New funs.
9361         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9362         randomize a grid so that we ensure that there is always a solution.
9363         (5x5-make-random-grid): Allow other movement than flipping.
9365 2011-05-23  Kevin Ryde  <user42@zip.com.au>
9367         * emacs-lisp/advice.el (ad-read-advised-function):
9368         Use `function-called-at-point' as the default, if it has
9369         advice and passes PREDICATE.
9371 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9373         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9374         byte-compile-lambda if it's actually a lambda.
9376         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9377         Fix function quoting.  Use backquote better.
9379 2011-05-22  Yuanle Song  <sylecn@gmail.com>
9381         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9382         matching (Bug#8516).
9384 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
9386         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9387         different face (Bug#8178).
9389 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
9391         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9392         defface (Bug#8144).
9394 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9396         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9397         funcall as well (bug#8712).  Warn when performing those conversions.
9398         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9400         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9402 2011-05-22  Glenn Morris  <rgm@gnu.org>
9404         * files.el (hack-local-variables-prop-line): Small simplifications.
9405         (hack-local-variables, hack-local-variables-prop-line):
9406         If MODE-ONLY, return the mode, rather than just `t'.
9408 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9410         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9412 2011-05-21  Glenn Morris  <rgm@gnu.org>
9414         * files.el (hack-local-variables-prop-line, hack-local-variables):
9415         If only interested in the mode, don't bother doing the other stuff.
9417         * image-mode.el (image-after-revert-hook):
9418         Redraw all frames on which the image is visible.  (Bug#8567)
9420         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
9422         * wid-edit.el (widget-checklist-match-inline):
9423         Fix 2011-04-19 change.  (Bug#8649)
9425 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9427         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9428         Also allow singlespace after single-letter capitals followed by a dot.
9430         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9431         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9433 2011-05-20  Nix  <nix@esperi.org.uk>
9435         * files.el (basic-save-buffer-2):
9436         Fix handling of break-hardlink-on-save with non-existent files.
9438 2011-05-19  Deniz Dogan  <deniz@dogan.se>
9440         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9441         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
9443 2011-05-19  Glenn Morris  <rgm@gnu.org>
9445         * progmodes/f90.el (f90-type-def-re):
9446         Handle "type, bind(c)".  (Bug#8691)
9448         * emacs-lisp/autoload.el (batch-update-autoloads):
9449         Set autoload-excludes by parsing loadup.el rather than Makefiles.
9451 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
9453         * net/tramp.el (tramp-process-actions): Set "first-password-request"
9454         property for the correct connection in case of multihops.
9456 2011-05-18  Glenn Morris  <rgm@gnu.org>
9458         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
9459         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9461         Rationalize calendar handling of day and month abbrev-arrays.
9462         * calendar/calendar.el (calendar-customized-p): New function.
9463         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9464         (calendar-day-name-array, calendar-month-name-array): Doc fix.
9465         Add :set function.
9466         (calendar-abbrev-length, calendar-day-abbrev-array)
9467         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9468         (calendar-day-abbrev-array, calendar-month-abbrev-array):
9469         Elements may no longer be nil.
9470         (calendar-day-name, calendar-month-name):
9471         Update for changed nature of abbrev arrays.
9472         * calendar/diary-lib.el (diary-name-pattern):
9473         Update for changed nature of abbrev arrays.
9474         (diary-mark-entries-1): Update calendar-make-alist calls.
9475         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9476         * calendar/cal-html.el (cal-html-day-abbrev-array):
9477         Simply inherit from calendar-day-abbrev-array.
9479 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9481         * progmodes/grep.el (grep-mode): Disable default
9482         compilation-directory-matcher setting (bug#8684).
9484 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
9486         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9487         instead of "head" and "tail".  There were problems with SunOS 5.9,
9488         and it performs better.
9490 2011-05-17  Glenn Morris  <rgm@gnu.org>
9492         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9494         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9495         Replace obsolete function.
9497         * shell.el (pcomplete-parse-arguments-function): Declare.
9499         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9500         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9501         (appt-check): Doc fixes.
9502         (appt-disp-window-function, appt-delete-window-function):
9503         Remove needless special case in custom :type.
9504         (appt-display-count): Default to 0, not nil.
9505         (appt-check): Reset appt-display-count to 0, not nil.
9507 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
9509         * progmodes/python.el (python-font-lock-keywords):
9510         Add the Python 3.X keyword "nonlocal" (bug#8639).
9512 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9514         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9516 2011-05-16  Kevin Ryde  <user42@zip.com.au>
9518         * info-look.el (makefile-automake-mode): New setups, looking in
9519         automake manual, then makefile-mode.
9520         (makefile-mode): Remove automake manual, have it just in
9521         makefile-automake-mode since there's various things different or
9522         not relevant to plain make.
9523         (makefile-mode): Remove "other-modes" non-existent automake-mode,
9524         believe a hypothetical automake-mode would go to makefile-mode,
9525         not the other way around.
9527 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
9529         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9530         hunk-end tags (Bug#8672).
9532         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9533         vc-annotate-show-diff-revision-at-line (Bug#8671).
9535 2011-05-14  Glenn Morris  <rgm@gnu.org>
9537         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9538         in the middle of an existing one with multiple authors.  (Bug#8645)
9539         (change-log-font-lock-keywords): Also handle multiple author lines
9540         with leading tabs.  (Bug#8644)
9542         * calendar/appt.el (appt-check): Rename some local variables.
9543         Some simplification/reordering.
9545         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9546         (feedmail-sendmail-f-doesnt-sell-me-out)
9547         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9548         (feedmail-debug-sit-for, feedmail-queue-express-hook)
9549         (feedmail-queue-runner-message-sender): Set :version.
9550         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9551         (bbdb-dwim-net-address, vm-mail): Declare.
9552         (feedmail-binmail-gnulinuxish-template):
9553         Rename from feedmail-binmail-linuxish-template.
9554         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9555         Use insert-buffer-substring.
9557 2011-05-14  Bill Carpenter  <bill@carpenter.org>
9559         * mail/feedmail.el (feedmail-patch-level): Increase.
9560         (feedmail-debug): New custom group.
9561         (feedmail-confirm-outgoing-timeout)
9562         (feedmail-sendmail-f-doesnt-sell-me-out)
9563         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9564         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9565         (feedmail-sender-line, feedmail-from-line)
9566         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
9567         (feedmail-spray-this-address)
9568         (feedmail-spray-address-fiddle-plex-list)
9569         (feedmail-queue-use-send-time-for-date)
9570         (feedmail-queue-use-send-time-for-message-id)
9571         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9572         (feedmail-buffer-eating-function):
9573         Doc fixes.
9574         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9575         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9576         (feedmail-message-action-scroll-down): New functions.
9577         (feedmail-queue-directory, feedmail-queue-draft-directory):
9578         Use expand-file-name.
9579         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9580         Remove C-v help entry.
9581         (feedmail-queue-buffer-file-name): New variable.
9582         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9583         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9584         (feedmail-message-action-send-strong, feedmail-message-action-edit)
9585         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9586         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9587         (feedmail-message-action-toggle-spray)
9588         (feedmail-run-the-queue-no-prompts)
9589         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9590         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9591         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9592         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9593         (feedmail-envelope-deducer, feedmail-fiddle-from)
9594         (feedmail-fiddle-sender, feedmail-default-date-generator)
9595         (feedmail-fiddle-date, feedmail-fiddle-message-id)
9596         (feedmail-fiddle-spray-address)
9597         (feedmail-fiddle-list-of-spray-fiddle-plexes)
9598         (feedmail-fiddle-list-of-fiddle-plexes)
9599         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9600         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9601         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9602         Change default.  Doc fix.
9603         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9604         (feedmail-binmail-linuxish-template): New constant.
9605         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
9606         Respect feedmail-sendmail-f-doesnt-sell-me-out.
9607         (feedmail-send-it): Add debug call.
9608         Use feedmail-queue-buffer-file-name, and
9609         feedmail-send-it-immediately-wrapper.
9610         (feedmail-message-action-send): Add debug call.
9611         Use feedmail-send-it-immediately-wrapper.
9612         (feedmail-queue-express-to-queue): Add debug call.
9613         Run feedmail-queue-express-hook.
9614         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
9615         (feedmail-message-action-help-blat):
9616         Rename from feedmail-queue-send-edit-prompt-help-first.
9617         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
9618         Check line-endings.  Handle errors better.
9619         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9620         Doc fix.  Add debug call.
9621         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
9622         Use feedmail-queue-send-edit-prompt-inner.
9623         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9624         (feedmail-queue-send-edit-prompt-inner): New function, extracted
9625         from feedmail-queue-send-edit-prompt.
9626         (feedmail-queue-send-edit-prompt-help)
9627         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9628         (feedmail-tidy-up-slug): Add debug call.
9629         Respect feedmail-queue-slug-suspect-regexp.
9630         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9631         (feedmail-dump-message-to-queue): Add debug call.
9632         Expand queue-directory.
9633         (feedmail-dump-message-to-queue): Change message slightly.
9634         Use feedmail-say-chatter.
9635         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
9636         (feedmail-send-it-immediately-wrapper): New function.
9637         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
9638         Insert empty string rather than newline.  Handle full-frame case.
9639         Use catch/throw.  Use feedmail-say-chatter.
9640         (feedmail-fiddle-from): Try mail-host-address.
9641         (feedmail-default-message-id-generator): Doc fix.
9642         Bind system-time-locale.  Handle missing end.
9643         (feedmail-fiddle-x-mailer): Add debug call.
9644         Handle feedmail-x-mailer-line being nil.
9645         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9646         Add debug call.  Use buffer-substring-no-properties.
9647         (feedmail-say-debug, feedmail-say-chatter): New functions.
9648         (feedmail-find-eoh): Give an explicit error.
9650 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
9652         * net/newst-treeview.el (newsticker-treeview-face): Change default
9653         family from helvetica to sans.
9654         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
9655         etc/images/newsticker.
9657         * net/newst-reader.el (newsticker-feed-face): Change default
9658         family from helvetica to sans.
9660         * net/newst-plainview.el (newsticker-new-item-face)
9661         (newsticker-old-item-face, newsticker-immortal-item-face)
9662         (newsticker-obsolete-item-face, newsticker-date-face)
9663         (newsticker-statistics-face): Change default family from
9664         helvetica to sans.
9665         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
9666         etc/images/newsticker.
9668         * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9669         (newsticker--process-auto-mark-filter-match): : Tell user about
9670         auto-marking.
9672 2011-05-13  Didier Verna  <didier@xemacs.org>
9674         Common Lisp indentation improvements on defmethod and lambda-lists.
9675         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9676         TODO entries.
9677         (lisp-lambda-list-keyword-parameter-indentation)
9678         (lisp-lambda-list-keyword-parameter-alignment)
9679         (lisp-lambda-list-keyword-alignment): New customizable user options.
9680         (lisp-indent-defun-method): Improve docstring.
9681         (extended-loop-p): Fix comment.
9682         (lisp-indent-lambda-list-keywords-regexp): New variable.
9683         (lisp-indent-lambda-list): New function.
9684         (lisp-indent-259): Use it.
9685         (lisp-indent-defmethod): Support for more than one
9686         method qualifier and properly indent methods lambda-lists.
9687         (defgeneric): Provide a missing common-lisp-indent-function property.
9689 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9691         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9692         bounds for the empty string (bug#8667).
9694 2011-05-13  Glenn Morris  <rgm@gnu.org>
9696         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9698         * mail/sendmail.el (sendmail-program): Try executable-find first.
9699         (sendmail-send-it): `sendmail-program' cannot be unbound.
9701         * calendar/appt.el (appt-make-list): Simplify.
9702         (appt-time-msg-list): Doc fix.
9703         (appt-check): Change mode-line message at the time of the appointment.
9705 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
9707         * progmodes/ld-script.el (ld-script-keywords)
9708         (ld-script-builtins): Update keywords list.
9710 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9712         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9714         * shell.el (shell-completion-vars): New function.
9715         (shell-mode):
9716         * simple.el (read-shell-command): Use it.
9717         (blink-matching-open): No need for " [...]" in minibuffer-message.
9719 2011-05-12  Glenn Morris  <rgm@gnu.org>
9721         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9722         (appt-check): Simplify.
9724 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
9726         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
9727         literal "/dev/null".
9729 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9731         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9732         Fix typo.
9734 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
9736         * progmodes/which-func.el (which-function):
9737         Use add-log-current-defun instead of add-log-current-defun-function,
9738         which might not be defined (Bug#8260).
9740 2011-05-12  Glenn Morris  <rgm@gnu.org>
9742         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9743         Let byte-compile-initial-macro-environment always take precedence.
9745 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9747         * net/rcirc.el: Add support for SSL/TLS connections.
9748         (rcirc-server-alist): New field `encryption'.
9749         (rcirc): Check `encryption' settings.
9750         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
9751         Merge make-local-variable into `set'.
9752         (rcirc--connection-open-p): New function.
9753         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9754         the process is not a network process (e.g. running gnutls-cli).
9755         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9756         Make rcirc-(en|de)code-coding-system local here.
9757         (rcirc-mode): Merge make-local-variable into `set'.
9758         (rcirc-parent-buffer): Make permanent buffer-local.
9759         (rcirc-multiline-minor-mode): Don't do it here.
9760         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9761         there's no server buffer.
9763 2011-05-11  Glenn Morris  <rgm@gnu.org>
9765         * newcomment.el (comment-kill): Prefix "unused" local.
9767         * term/w32console.el (get-screen-color): Declare.
9769         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9770         Handle symbol elements of byte-compile-initial-macro-environment.
9772 2011-05-10  Leo Liu  <sdl.web@gmail.com>
9774         * bookmark.el (bookmark-bmenu-mode-map):
9775         Bind bookmark-bmenu-search to `/'.
9777         * mail/footnote.el: Convert to utf-8 encoding.
9778         (footnote-unicode-string, footnote-unicode-regexp): New variable.
9779         (Footnote-unicode): New function.
9780         (footnote-style-alist): Add unicode style to the list.
9781         (footnote-style): Doc fix.
9783 2011-05-10  Jim Meyering  <meyering@redhat.com>
9785         Fix doubled-word typos.
9786         * international/quail.el (quail-insert-kbd-layout): and and -> and
9787         * kermit.el: and and -> and
9788         * net/ldap.el (ldap-search-internal): to to -> to
9789         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9790         * progmodes/js.el (js-mode): and and -> and
9791         * textmodes/artist.el (artist-move-to-xy): at at -> at
9792         (artist-draw-region-trim-line-endings): if if -> if
9793         And Safetyc -> Safety.
9794         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9796 2011-05-10  Glenn Morris  <rgm@gnu.org>
9797             Stefan Monnier  <monnier@iro.umontreal.ca>
9799         * files.el (hack-one-local-variable-eval-safep):
9800         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
9802 2011-05-10  Glenn Morris  <rgm@gnu.org>
9804         * calendar/diary-lib.el (diary-list-entries-hook)
9805         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9806         (diary-nongregorian-marking-hook, diary-list-entries)
9807         (diary-include-other-diary-files, diary-mark-entries)
9808         (diary-mark-included-diary-files): Doc fixes.
9810 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
9812         * misc.el: Require tabulated-list.el during compilation.
9814 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
9816         * progmodes/compile.el (compilation-start):
9817         Run compilation-filter-hook for the async case too.
9818         (compilation-filter-hook): Doc fix.
9820 2011-05-09  Deniz Dogan  <deniz@dogan.se>
9822         * wdired.el: Remove outdated installation comment.  Fix usage
9823         comment.
9825 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
9827         * misc.el: Implement new command `list-dynamic-libraries'.
9828         (list-dynamic-libraries--loaded-only-p): New variable.
9829         (list-dynamic-libraries--refresh): New function.
9830         (list-dynamic-libraries): New command.
9832 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
9834         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9835         Fix the ant regexp to handle end-line and end-column info from jikes.
9836         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
9837         higher priority to avoid clobbering by gnu.
9839 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
9841         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9842         if the face has existing theme settings (Bug#8454).
9844 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
9846         * progmodes/perl-mode.el (perl-imenu-generic-expression):
9847         Only match variables declared via `my' or `our' (Bug#8261).
9849         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9850         special file names `.' and `..' (Bug#8259).
9852 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
9854         * progmodes/grep.el (grep-mode-font-lock-keywords):
9855         Remove buffer-changing entries.
9856         (grep-filter): New function.
9857         (grep-mode): Add it to compilation-filter-hook.
9859         * progmodes/compile.el (compilation-filter-hook)
9860         (compilation-filter-start): New defvars.
9861         (compilation-filter): Call compilation-filter-hook prior to
9862         updating the process mark.
9864 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9866         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9868 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
9870         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9871         mailclient-send-it even if window-system is nil.  (Bug#8595)
9873         * term/w32console.el (terminal-init-w32console):
9874         Call get-screen-color and use its output to set the frame
9875         background-mode.  (Bug#8597)
9877 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9879         Make bytecomp.el understand that defmethod defines funs (bug#8631).
9880         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9881         New functions.
9882         (defgeneric, eieio--defmethod): Use them.
9883         (eieio-defgeneric): Remove.
9884         (defmethod): Call defgeneric in a way visible to the byte-compiler.
9886 2011-05-07  Glenn Morris  <rgm@gnu.org>
9888         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9889         Use let rather than let*.
9890         (timeclock-find-discrep): Remove unused local.
9892         * calendar/diary-lib.el (diary-comment-start): Doc fix.
9894         * calendar/appt.el (appt-time-msg-list): Doc fix.
9896 2011-05-06  Noah Friedman  <friedman@splode.com>
9898         * apropos.el (apropos-print-doc): Only use
9899         emacs-lisp-docstring-fill-column when it is bound to an integer,
9900         per that variable's documentation.
9902 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9904         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
9905         and warnings are not silently discarded (e.g. use -d instead of -P).
9907 2011-05-06  Glenn Morris  <rgm@gnu.org>
9909         * calendar/appt.el (appt-message-warning-time): Doc fix.
9910         (appt-warning-time-regexp): New option.
9911         (appt-make-list): Respect appt-message-warning-time.
9913         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9914         New options.
9915         (diary-add-to-list): Strip comments from the displayed string.
9916         (diary-mode): Set comment-start and comment-end.
9918         * vc/diff-mode.el (smerge-refine-subst): Declare.
9919         (diff-refine-hunk): Don't require smerge-mode when compiling.
9921 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
9923         * simple.el (list-processes): Return nil as the docstring says.
9925 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
9927         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9928         to "".
9929         (ange-ftp-write-region, ange-ftp-insert-file-contents)
9930         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9931         determining of binary transfer.  (Bug#7383)
9933 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
9935         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9936         Fix port computation bug.  (Bug#8618)
9938 2011-05-05  Glenn Morris  <rgm@gnu.org>
9940         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9942         * simple.el (shell-dynamic-complete-functions)
9943         (comint-dynamic-complete-functions): Declare.
9945         * net/network-stream.el (gnutls-negotiate):
9946         * simple.el (tabulated-list-print): Fix declarations.
9948         * progmodes/gud.el (syntax-symbol, syntax-point):
9949         Remove unnecessary and incorrect declarations.
9951         * emacs-lisp/check-declare.el (check-declare-scan):
9952         Handle byte-compile-initial-macro-environment in bytecomp.el
9954 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9956         Fix earlier half-done eieio-defmethod change (bug#8338).
9957         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9958         Streamline and change calling convention.
9959         (defmethod): Adjust accordingly and simplify.
9960         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9961         new eieio--defmethod.
9962         (slot-boundp): Minor CSE simplification.
9964 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
9966         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9967         (glasses-make-readable): Use glasses-separate-capital-groups.
9969 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
9971         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9972         (warning-series): Doc fix.
9973         (display-warning): Don't try to create the buffer if we just found it.
9975 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
9977         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9978         (autoload-find-generated-file): New function.
9979         (generate-file-autoloads): Bind generated-autoload-file to
9980         buffer-file-name.
9981         (update-file-autoloads, update-directory-autoloads):
9982         Use autoload-find-generated-file.  If called interactively, prompt for
9983         output file (Bug#7989).
9984         (batch-update-autoloads): Doc fix.
9986 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
9988         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9990 2011-05-04  Glenn Morris  <rgm@gnu.org>
9992         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9993         function, so it follows changes in calendar-date-style.
9994         (diary-fancy-date-matcher): New function.
9995         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9996         (diary-fancy-font-lock-fontify-region-function):
9997         Use diary-fancy-date-pattern as a function.
9999         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10000         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
10002 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
10004         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10005         instead of positional arguments.  Allow :keylist and :crlfiles
10006         arguments.
10007         (open-gnutls-stream): Call it.
10009         * net/network-stream.el (network-stream-open-starttls): Adjust to
10010         call `gnutls-negotiate' with :process and :hostname arguments.
10012 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10014         * minibuffer.el (completion--message): New function.
10015         (completion--do-completion, minibuffer-complete)
10016         (minibuffer-force-complete, minibuffer-complete-word): Use it.
10017         (completion--do-completion): Don't ignore completion-auto-help when in
10018         icomplete-mode.
10020         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10021         internal encoding (e.g. tibetan zero is not whitespace).
10022         (global-whitespace-mode): Prefer save-current-buffer.
10023         (whitespace-trailing-regexp): Remove useless save-match-data.
10024         (whitespace-empty-at-bob-regexp): Minor simplification.
10026 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
10028         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10030 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
10032         * textmodes/ispell.el (ispell-add-per-file-word-list):
10033         Use `concat' to create string for insertion.
10035 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10037         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10038         Avoid open-line which runs post-self-insert-hook.
10039         (bibtex-fill-entry): Remove unused `end' var.
10041 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
10043         * textmodes/ispell.el (ispell-add-per-file-word-list):
10044         Protect against `nil' value of `comment-start' (Bug#8579).
10046 2011-05-03  Leo Liu  <sdl.web@gmail.com>
10048         * isearch.el (isearch-yank-pop): New command.
10049         (isearch-mode-map): Bind it to `M-y'.
10050         (isearch-forward): Mention it.
10052 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10054         * simple.el (minibuffer-complete-shell-command): Remove.
10055         (minibuffer-local-shell-command-map): Use completion-at-point.
10056         (read-shell-command): Setup completion vars here instead.
10057         (read-expression-map): Bind TAB to symbol completion.
10059         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10060         error directly rather via storing it into `results'.
10062 2011-05-02  Leo Liu  <sdl.web@gmail.com>
10064         * vc/diff.el: Fix description.
10066 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10068         * server.el (server-eval-at): New function.
10070 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10072         * net/network-stream.el (open-network-stream): Take a :nowait
10073         parameter and pass it on to `make-network-process'.
10074         (network-stream-open-plain): Ditto.
10076 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
10078         * faces.el (face-spec-set-match-display): Don't match toolkit
10079         options on terminal frames.
10081 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10083         * progmodes/pascal.el: Use lexical binding.
10084         (pascal-mode-map): Remove author preferences.
10086         * pcomplete.el (pcomplete-std-complete): Don't abuse
10087         completion-at-point.
10089 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
10091         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10092         removing code that has been dead since 1991 or so.
10094         * startup.el (command-line): When warning about "_emacs", use a
10095         delayed warning to allow the user to filter it out.
10097 2011-04-28  Deniz Dogan  <deniz@dogan.se>
10099         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10100         user has not joined.
10102 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10104         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10105         aren't any completions at point.
10107 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
10109         * subr.el (display-delayed-warnings): New function.
10110         (delayed-warnings-hook): New variable.
10112 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10114         * minibuffer.el (completion-at-point, completion-help-at-point):
10115         Don't presume that a given completion-at-point-function will always
10116         use the same calling convention.
10118         * pcomplete.el (pcomplete-completions-at-point):
10119         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
10120         pcomplete-seen is non-nil.
10121         (pcomplete-comint-setup): Also recognize the new comint/shell
10122         completion functions.
10123         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10124         pcomplete-seen is non-nil.
10126 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
10128         * calendar/icalendar.el (diary-lib): Add require statement.
10129         (icalendar--create-uid): Read out a uid from a text-property on
10130         the first character in the entry.  This allows for code to add its
10131         own uid to the entry.
10132         (icalendar--convert-float-to-ical): Add export of
10133         `diary-float'-entries save for those with the optional DAY
10134         argument.
10136 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
10138         * subr.el (shell-quote-argument): Use alternate escaping strategy
10139         when we spot a variable reference in a string.
10141 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
10143         * cus-start.el (all): Define customization for debug-on-event.
10145 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
10147         * subr.el (shell-quote-argument): Escape correctly under Windows.
10149 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10151         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10153 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
10155         * net/tramp.el (tramp-process-actions): Add POS argument.
10156         Delete region between POS and (pos).
10158         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10159         Use `nil' position in `tramp-process-actions' call.
10160         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10162         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10163         position in `tramp-process-actions' call.
10165         * net/trampver.el: Update release number.
10167 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10169         * custom.el (defcustom): Obey lexical-binding.
10171         Fix octave-inf completion problems reported by Alexander Klimov.
10172         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10173         Inherit from octave-mode-syntax-table.
10174         (inferior-octave-mode): Set info-lookup-mode.
10175         (inferior-octave-completion-at-point): New function.
10176         (inferior-octave-complete): Use it and completion-in-region.
10177         (inferior-octave-dynamic-complete-functions): Use it as well, and use
10178         comint-filename-completion.
10179         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10180         symbol elements which shouldn't be word elements.
10181         (octave-font-lock-keywords, octave-beginning-of-defun)
10182         (octave-function-header-regexp): Adjust regexps accordingly.
10183         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10185 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
10187         * net/gnutls.el (gnutls-errorp): Declare before first use.
10189 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
10191         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10192         verify-error, and verify-hostname-error parameters.  Check whether
10193         default trustfile exists before going to use it.  Add missing
10194         argument to gnutls-message-maybe call.  Return value.
10195         Reported by Claudio Bley <claudio.bley@gmail.com>.
10196         (open-gnutls-stream): Add usage example.
10198         * net/network-stream.el (network-stream-open-starttls): Give host
10199         parameter to `gnutls-negotiate'.
10200         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
10201         * subr.el (shell-quote-argument): Escape correctly under Windows.
10203 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
10205         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10206         Use correct match group (bug#8438).
10208 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
10210         * emacs-lisp/package.el (package-built-in-p): Fix typo.
10211         (package-menu--generate): New arg specifying packages to show.
10212         (package-menu-refresh, package-menu-execute, list-packages):
10213         Callers changed.
10214         (package-show-package-list): New function, replacing deleted
10215         package--list-packages (renamed because it is non-internal).
10217         * finder.el (finder-list-matches): Use package-show-package-list
10218         instead of deleted package--list-packages.
10220         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10221         Based on a previous implementation by Juanma Barranquero (Bug#8366).
10222         (vc-annotate-mode-map): Bind it to RET.
10224 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
10226         * progmodes/etags.el (next-file): Don't use set-buffer to change
10227         buffers (Bug#8478).
10229 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
10231         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10233         * apropos.el (apropos-label-face): Avoid variable-pitch face.
10234         (apropos-accumulator): Doc fix.
10235         (apropos-function, apropos-macro, apropos-command)
10236         (apropos-variable, apropos-face, apropos-group, apropos-widget)
10237         (apropos-plist): Add face property.
10238         (apropos-symbols-internal): Fix indentation.
10239         (apropos-print): Simplify help, and recognize apropos-multi-type.
10240         (apropos-print-doc): Use button-type-get to extract the button's
10241         face property.  Fill docstring (Bug#8352).
10243 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
10245         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10247         * play/mpuz.el (mpuz-silent): Doc fix.
10248         (mpuz-mode-map): Use mapc.
10249         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10250         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10251         Fix typos in docstrings.
10253         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10254         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10256         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10258 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
10260         * minibuffer.el (completion--do-completion): Avoid the "Next char
10261         not unique" prompt if icomplete-mode is enabled (Bug#5849).
10263         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10264         mouse-2 into unread-command-events, it is interpreted correctly.
10266         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
10267         (image-toggle-display): Doc fix.
10269 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
10271         * textmodes/page.el (what-page): Use line-number-at-pos to
10272         calculate line number (Bug#6825).
10274 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
10276         * eshell/esh-mode.el (find-tag-interactive): Declare function.
10277         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10278         Pass argument NO-DEFAULT to `find-tag-interactive'.
10280 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
10282         Lexical-binding cleanup.
10284         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10285         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10286         * progmodes/ada-prj.el (ada-prj-initialize-values)
10287         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10288         (ada-prj-show-value):
10289         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10290         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10291         (antlr-invalidate-context-cache, antlr-options-menu-filter)
10292         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10293         * progmodes/bug-reference.el (bug-reference-push-button):
10294         * progmodes/fortran.el (fortran-line-length):
10295         * progmodes/glasses.el (glasses-change):
10296         * progmodes/octave-mod.el (octave-fill-paragraph):
10297         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10298         (python-pdbtrack-grub-for-buffer, python-sentinel):
10299         * progmodes/sql.el (sql-save-connection):
10300         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10301         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10302         Mark unused parameters.
10304         * progmodes/compile.el (compilation--flush-directory-cache)
10305         (compilation--flush-parse, compile-internal): Mark unused parameters.
10306         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10307         (compilation-next-error-function): Remove unused variable `timestamp'.
10309         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10310         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10312         * progmodes/dcl-mode.el (dcl-end-of-command):
10313         Remove unused variable `start'.
10314         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10315         (dcl-option-value-basic, dcl-option-value-offset)
10316         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10317         Mark unused parameters.
10318         (dcl-save-local-variable): Remove unused variable `val'.
10319         (mode): Declare.
10321         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10322         Mark unused parameters.
10323         (delphi-ignore-changes): Move before first use.
10324         (delphi-charset-token-at): Remove unused variable `start'.
10325         (delphi-else-start): Remove unused variable `if-count'.
10326         (delphi-comment-block-start, delphi-comment-block-end):
10327         Remove unused variable `kind'.
10328         (delphi-indent-line): Remove unused variable `new-point'.
10330         * progmodes/ebrowse.el (ebrowse-files-list)
10331         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10332         Mark unused parameters.  Don't quote `lambda'.
10333         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10334         Don't quote `lambda'.
10335         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10336         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10337         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10338         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10339         Use `ignore-errors'.
10340         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10341         (ebrowse-view/find-file-and-search-pattern)
10342         (ebrowse-view/find-member-declaration/definition):
10343         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10344         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10345         Rename parameter PREFIX-ARG to PREFIX.
10346         (ebrowse-tags-read-name): Remove unused variables `start' and
10347         `member-info'.
10348         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10349         to `tags-file'.
10351         * progmodes/etags.el (local-find-tag-hook): Declare.
10352         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10353         Mark unused parameters.
10355         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10356         (executable-interpret): Mark unused parameter.
10358         * progmodes/flymake.el (flymake-process-sentinel)
10359         (flymake-after-change-function)
10360         (flymake-create-temp-with-folder-structure)
10361         (flymake-get-include-dirs-dot): Mark unused parameters.
10362         (flymake-safe-delete-directory): Remove unused variable `err'.
10364         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10365         (speedbar-timer-fn, speedbar-line-text)
10366         (speedbar-change-expand-button-char, speedbar-delete-subblock)
10367         (speedbar-center-buffer-smartly): Declare functions.
10368         (gdb-find-watch-expression): Remove unused variable `array'.
10369         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10370         (gdb-starting): Mark unused parameters.
10371         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10372         (gdb-table-string): Remove unused variable `res'.
10373         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10374         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10375         (gdb-display-buffer): Remove unused variable `cur-size'.
10377         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10378         allow lexical-binding compilation.
10379         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10380         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10381         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10382         Mark unused parameters.
10383         (gud-gdb-marker-filter): Remove unused variable `match'.
10384         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10385         lambda expressions and funcall them, instead of using `fset'.
10387         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10388         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10390         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10391         variable `header-beg'; use `let'.
10393         * progmodes/icon.el (indent-icon-exp): Remove unused variables
10394         `restart', `last-sexp' and `at-do'.
10396         * progmodes/js.el (js--debug): Mark unused parameter.
10397         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10398         (js--splice-into-items): Remove unused variable `item'.
10399         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10401         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10402         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10403         (makefile-complete): Remove unused variable `try'.
10404         (makefile-fill-paragraph, makefile-match-function-end):
10405         Mark unused parameters.
10407         * progmodes/octave-inf.el (inferior-octave-complete):
10408         Remove unused variable `proc'.
10409         (inferior-octave-output-digest): Mark unused parameter.
10411         * progmodes/perl-mode.el (perl-calculate-indent):
10412         Remove unused variable `err'.
10414         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10415         (prolog-indent-line): Mark unused parameters.
10416         (prolog-indent-line): Remove unused variable `beg'.
10418         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10419         (reporter-dont-compact-list): Declare.
10421         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10422         Remove unused variable `char'.
10423         (sh-debug): Mark unused parameter.
10424         (sh-get-indent-info): Remove unused variable `start'.
10425         (sh-calculate-indent): Remove unused variable `var'.
10427         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10428         (simula-electric-keyword): Remove unused variable `null'.
10429         (simula-search-backward, simula-search-forward): Remove unused
10430         variables `begin' and `end'.
10432         * progmodes/vera-mode.el (vera-guess-basic-syntax):
10433         Remove unused variable `pos'.
10434         (vera-electric-tab, vera-comment-uncomment-region):
10435         Mark unused parameters.
10436         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10438 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
10440         * emacs-lisp/package.el (package--builtins, package-alist)
10441         (package-load-descriptor, package-built-in-p, package-activate)
10442         (define-package, package-installed-p)
10443         (package-compute-transaction, package-buffer-info)
10444         (package--push): Doc fix.  Distinguish more clearly between
10445         version strings and version lists.
10447 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
10449         Lexical-binding cleanup.
10451         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10452         (5x5-make-mutate-best):
10453         * play/fortune.el (fortune-in-buffer):
10454         * play/gomoku.el (gomoku-init-display):
10455         * play/solitaire.el (solitaire, solitaire-do-check):
10456         * play/tetris.el (tetris-default-update-speed-function):
10457         Mark unused parameters.
10459         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10460         (bubbles--shift): Remove unused variable `char-org'.
10461         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
10462         (bubbles--show-images): Remove unused variable `char'.
10464         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10465         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10466         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10467         (decipher-analyze-buffer): Use ?\s.
10468         (decipher-make-checkpoint): Remove unused variable `mapping'.
10470         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10472         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10473         Remove unused variable `result'; use `let'.
10475         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10476         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10477         (gametree-children-shown-p, gametree-compute-reduced-score):
10478         Use `ignore-errors'.
10480         * play/handwrite.el (ps-lpr-switches): Declare.
10481         (handwrite): Remove unused variables `pmin' and `lastp'.
10483         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10485         * play/landmark.el (landmark-init-display)
10486         (landmark-update-naught-weights): Mark unused parameters.
10487         (landmark-y): Remove unused variable `noise'.  Simplify.
10488         (landmark-human-plays): Remove unused variable `score'.
10490         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10491         (mpuz-try-proposal): Remove unused variable `game'.
10493         * play/zone.el (life-patterns): Declare.
10495 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
10497         * vc/vc.el (ediff-vc-internal): Declare function.
10499 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10501         * shell.el: Use lexical-binding and std completion UI.
10502         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10503         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10504         comint-preoutput-filter-functions rather than on
10505         comint-output-filter-functions.
10506         (shell-command-completion, shell--command-completion-data)
10507         (shell-filename-completion, shell-environment-variable-completion)
10508         (shell-c-a-p-replace-by-expanded-directory): New functions.
10509         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10510         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10511         (shell-dynamic-complete-environment-variable): Use them.
10512         (shell-dynamic-complete-as-environment-variable)
10513         (shell-dynamic-complete-as-command): Remove.
10514         (shell-match-partial-variable): Match past point.
10515         * comint.el: Clean up use of completion-at-point-functions.
10516         (comint-completion-at-point): New function.
10517         (comint-mode): Use it completion-at-point-functions.
10518         (comint-dynamic-complete): Make it obsolete.
10519         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10520         (comint-c-a-p-replace-by-expanded-history): New function.
10521         (comint-dynamic-complete-functions)
10522         (comint-replace-by-expanded-history): Use it.
10523         * minibuffer.el (completion-table-with-terminator): Allow dynamic
10524         termination strings.  Try harder to avoid second try-completion.
10525         (completion-in-region-mode-map): Disable bindings that don't work yet.
10527         * comint.el: Use lexical-binding.  Require CL.
10528         (comint-dynamic-complete-functions): Use comint-filename-completion.
10529         (comint-completion-addsuffix): Tweak custom type.
10530         (comint-filename-completion, comint--common-suffix)
10531         (comint--common-quoted-suffix, comint--table-subvert)
10532         (comint--complete-file-name-data): New functions.
10533         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10534         (comint-dynamic-list-filename-completions): Use them.
10535         (comint-dynamic-simple-complete): Make obsolete.
10537         * minibuffer.el (completion-in-region-mode):
10538         Keep completion-in-region-mode--predicate global.
10539         (completion-in-region--postch):
10540         Assume completion-in-region-mode--predicate is not null.
10542         * progmodes/flymake.el (flymake-start-syntax-check-process):
10543         Obey `dir'.  Simplify.
10545         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10546         we're in VC after all.
10548 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
10550         * vc/vc.el (vc-diff-build-argument-list-internal)
10551         (vc-version-ediff, vc-ediff): New commands.
10552         (vc-version-diff): Use vc-diff-build-argument-list-internal.
10554 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10556         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10557         add sanity check.
10559         * obsolete/erc-hecomplete.el: Make obsolete.
10560         * obsolete/: Standardize obsolescence info in the header.
10562 2011-04-20  Glenn Morris  <rgm@gnu.org>
10564         * calendar/solar.el (solar-horizontal-coordinates):
10565         Use the longitude argument rather than `calendar-longitude'.
10566         (solar-date-next-longitude): Remove unused locals.
10568 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
10570         * whitespace.el: New version 13.2.1.
10572 2011-04-20  felix  <EmacsWiki>  (tiny change)
10574         * whitespace.el (global-whitespace-mode): Keep highlight when
10575         switching between major modes on a file.
10577 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10579         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10580         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10581         multi-line comments as well.
10583 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
10585         Lexical-binding cleanup.
10587         * arc-mode.el (archive-mode-revert):
10588         * cmuscheme.el (scheme-interactively-start-process):
10589         * custom.el (custom-initialize-delay):
10590         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10591         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10592         * emacs-lock.el (emacs-lock-clear-sentinel):
10593         * ezimage.el (defezimage):
10594         * follow.el (follow-avoid-tail-recenter):
10595         * fringe.el (set-fringe-mode-1):
10596         * generic-x.el (bat-generic-mode-compile):
10597         * help-mode.el (help-info-variable, help-do-xref)
10598         (help-mode-revert-buffer):
10599         * help.el (view-emacs-todo):
10600         * iswitchb.el (iswitchb-completion-help):
10601         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10602         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10603         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10604         * locate.el (locate-update):
10605         * longlines.el (longlines-encode-region)
10606         (longlines-after-change-function):
10607         * outline.el (outline-isearch-open-invisible):
10608         * ps-def.el (declare-function, charset-dimension, char-width)
10609         (encode-char):
10610         * ps-mule.el (ps-mule-plot-string):
10611         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10612         (recentf-edit-list-select, recentf-edit-list-validate)
10613         (recentf-open-files-action):
10614         * rect.el (delete-whitespace-rectangle-line)
10615         (rectangle-number-line-callback):
10616         * register.el (window-configuration-to-register)
10617         (frame-configuration-to-register):
10618         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10619         * select.el (xselect-convert-to-string, xselect-convert-to-length)
10620         (xselect-convert-to-targets, xselect-convert-to-delete)
10621         (xselect-convert-to-filename, xselect-convert-to-charpos)
10622         (xselect-convert-to-lineno, xselect-convert-to-colno)
10623         (xselect-convert-to-os, xselect-convert-to-host)
10624         (xselect-convert-to-user, xselect-convert-to-class)
10625         (xselect-convert-to-name, xselect-convert-to-integer)
10626         (xselect-convert-to-atom, xselect-convert-to-identity):
10627         * subr.el (declare, ignore, process-kill-without-query)
10628         (text-clone-maintain):
10629         * terminal.el (te-get-char, te-tic-sentinel):
10630         * tool-bar.el (tool-bar-make-keymap):
10631         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10632         * type-break.el (type-break-mode, type-break-noninteractive-query):
10633         * view.el (View-back-to-mark):
10634         * wid-browse.el (widget-browse-action, widget-browse-widget)
10635         (widget-browse-widgets, widget-browse-sexp):
10636         * widget.el (define-widget-keywords):
10637         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10638         Mark unused parameters.
10640         * align.el (align-adjust-col-for-rule): Mark unused parameter.
10641         (align-areas): Remove unused variable `look'.
10642         (align-region): Remove unused variables `real-end' and `pos-list'.
10644         * apropos.el (apropos-score-doc): Remove unused variable `i'.
10646         * bindings.el (mode-line-modified, mode-line-remote):
10647         Mark unused parameters.
10648         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10650         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10651         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10653         * comint.el (comint-history-isearch-pop-state)
10654         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10655         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10656         (comint-substitute-in-file-name): Doc fix.
10658         * completion.el (cmpl-statistics-block): Mark unused parameter.
10659         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10660         (save-completions-to-file, load-completions-from-file):
10661         Remove unused local variable `e'.
10663         * composite.el (compose-chars): Remove unused variable `len'.
10664         (lgstring-insert-glyph): Remove unused variable `g'.
10665         (compose-glyph-string): Remove unused variables `ascent',
10666         `descent', `lbearing' and `rbearing'.
10667         (compose-glyph-string-relative): Remove unused variables
10668         `lbearing', `rbearing' and `wadjust'.
10669         (compose-gstring-for-graphic): Remove unused variables `header',
10670         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
10671         (compose-gstring-for-terminal): Remove unused variables `header'
10672         and `nchars'.  Use `let', not `let*'.
10674         * cus-edit.el (Custom-set, Custom-save, custom-reset)
10675         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10676         (Custom-buffer-done, custom-buffer-create-internal)
10677         (custom-browse-visibility-action, custom-browse-group-tag-action)
10678         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10679         (widget-magic-mouse-down-action, custom-toggle-parent)
10680         (custom-add-parent-links, custom-toggle-hide-variable)
10681         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10682         (custom-toggle-hide-face, face, hook, custom-group-link-action)
10683         (custom-face-menu-create, custom-variable-menu-create, get)
10684         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10685         (custom-reset-standard-save-and-update): Remove unused variable `value'.
10686         (customize-apropos): Remove unused variable `tests'.
10687         (custom-group-value-create): Remove unused variable `hidden-p'.
10688         (sort-fold-case): Declare.
10690         * cus-theme.el (custom-reset-standard-faces-list)
10691         (custom-reset-standard-variables-list): Declare.
10692         (customize-create-theme, custom-theme-revert, custom-theme-write)
10693         (custom-theme-choose-mode, customize-themes, custom-theme-save):
10694         Mark unused parameters.
10696         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10698         * delim-col.el (delimit-columns-max): Move defvar before first use.
10700         * descr-text.el (describe-char-categories): Don't quote `lambda'.
10701         (describe-char): Don't quote `lambda'.  Mark unused parameter.
10703         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10704         (auto-insert): Declare.
10705         (desktop-restore-file-buffer): Rename desktop-* parameters;
10706         mark unused ones.
10707         (desktop-create-buffer): Rename desktop-* parameters and bind them.
10708         (desktop-buffer): Rename desktop-* parameters.
10710         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10711         (dframe-reposition-frame-xemacs, dframe-help-echo)
10712         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10713         Mark unused parameters.
10715         * dired-aux.el (backup-extract-version-start, overwrite-query)
10716         (overwrite-backup-query, rename-regexp-query)
10717         (rename-non-directory-query): Declare.
10718         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10719         (dired-add-entry): Remove unused variable `orig-file-name'.
10720         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10721         Use parameter PRESERVE-TIME instead of accessing dynamic variable
10722         `dired-copy-preserve-time' directly.
10723         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10724         (dired-insert-subdir-newpos): Rename unused variable `pos'.
10726         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10727         (dired-virtual-revert, dired-make-relative-symlink):
10728         Mark unused parameters.
10729         (manual-program): Declare.
10730         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10731         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10732         wrapped in `with-no-warnings' to avoid replacing one warning by another.
10734         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10736         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10738         * echistory.el (electric-history-in-progress, Helper-return-blurb):
10739         Declare.
10741         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10743         * electric.el (Electric-command-loop): Rename parameter
10744         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10746         * expand.el (expand-in-literal): Remove unused variable `here'.
10748         * facemenu.el (facemenu-add-new-color):
10749         Remove unused variable `docstring'.
10751         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10752         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10753         (face-attr-construct): Mark unused parameter.  Doc fix.
10754         (read-color): Remove unused variable `hex-string'.
10756         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10757         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10758         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10759         (display-buffer-other-frame): Remove unused variable `old-window'.
10760         (kill-buffer-hook): Declare.
10761         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10762         Mark unused parameters.
10763         (after-find-file): Pass 1 to `auto-save-mode', not t.
10765         * files-x.el (auto-insert): Declare.
10766         (modify-file-local-variable-prop-line): Remove unused variable `val'.
10768         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
10769         variable `buf'.  Mark unused parameter.
10770         (find-lisp-insert-directory): Mark unused parameter.
10772         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10773         (format-encode-region): Remove unused variables `cur-buf' and `result'.
10774         (format-common-tail): Remove, unused.
10775         (format-deannotate-region): Remove unused variable `loc'.
10776         (format-annotate-region): Remove unused variable `p'.
10777         (format-annotate-single-property-change): Remove unused variables
10778         `default' and `tail'.
10780         * forms.el (read-file-filter): Declare.
10781         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10783         * frame.el (frame-creation-function-alist): Mark unused parameter.
10784         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10786         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10787         Remove unused parameters.
10788         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10789         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10791         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10792         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10793         (hfy-prepare-tag-map): Mark unused parameters.
10794         (htmlfontify-buffer): Use `called-interactively-p'.
10796         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10797         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10798         (ibuffer-do-occur): Mark unused parameters.
10799         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10800         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10802         * ibuffer.el: Don't quote `lambda'.
10803         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10804         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10805         Mark unused parameters.
10807         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10808         (ido-completing-read): Mark unused parameters.
10809         (ido-copy-current-word): Mark unused parameters;
10810         remove unused variable `name'.
10811         (ido-sort-merged-list): Remove unused parameter `dirs'.
10813         * ielm.el (ielm-input-sender): Mark unused parameter.
10814         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10815         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10816         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10817         `ielm-string' as a dynamic variable accessible from the IELM prompt.
10818         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
10820         * image-dired.el (image-dired-display-thumbs): Remove unused
10821         variables `curr-file' and `count'.
10822         (image-dired-remove-tag): Remove unused variable `start'.
10823         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10824         variable `curr-file'
10825         (image-dired-rotate-original): Remove unused variable `temp-file'.
10826         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10827         Remove unused variable `file'.
10828         (image-dired-gallery-generate): Remove unused variable `curr'.
10829         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10831         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10833         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10835         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10837         * isearch.el (minibuffer-history-symbol): Declare.
10838         (isearch-edit-string): Remove unused variable `err'.
10839         (isearch-message-prefix, isearch-message-suffix):
10840         Mark unused parameters.
10842         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10844         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10846         * makesum.el (double-column): Remove unused variable `cnt'.
10848         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10849         (ido-ignore-item-temp-list): Declare.
10851         * mouse-drag.el (mouse-drag-throw): Remove unused variables
10852         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10853         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10854         (mouse-drag-drag): Remove unused variables `mouse-delta' and
10855         `mouse-col-delta'.
10857         * mouse-sel.el (mouse-extend-internal):
10858         Remove unused variable `orig-window-frame'.
10860         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10861         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10862         Move declarations before first use.
10863         (pcomplete-opt): Mark unused parameters; doc fix.
10865         * proced.el (proced-revert): Mark unused parameter.
10866         (proced-send-signal): Remove unused variable `err'.
10868         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10869         Rename parameter PREFIX-ARG to ARG.
10870         (ps-basic-plot-string, ps-basic-plot-whitespace):
10871         Mark unused parameters.
10873         * replace.el (replace-count): Define.
10874         (occur-revert-function): Mark unused parameters.
10875         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10876         (isearch-case-fold-search, isearch-string): Declare.
10877         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10878         bind `case-fold-search'.  Remove unused variables `beg' and `end',
10879         and simplify.
10880         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10881         COUNT and bind `replace-count'.
10882         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10883         to COUNT.
10885         * savehist.el (print-readably, print-string-length): Declare.
10887         * shadowfile.el (shadow-expand-cluster-in-file-name):
10888         Remove unused variable `cluster'.
10889         (shadow-copy-file): Remove unused variable `i'.
10890         (shadow-noquery, shadow-clusters, shadow-site-cluster)
10891         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10892         (shadow-define-literal-group, shadow-define-regexp-group)
10893         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10895         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10896         (shell): Use `called-interactively-p'.
10897         (shell-directory-tracker): Remove unused variable `chdir-failure'.
10899         * simple.el (compilation-context-lines, comint-file-name-quote-list)
10900         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10901         (delete-backward-char): Remove unused variable `ocol'.
10902         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10903         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10904         (event-apply-hyper-modifier, event-apply-shift-modifier)
10905         (event-apply-control-modifier, event-apply-meta-modifier):
10906         Mark unused parameters.
10907         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10908         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10910         * speedbar.el (speedbar-ignored-directory-expressions)
10911         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10912         (speedbar-find-file, speedbar-dir-follow)
10913         (speedbar-directory-buttons-follow, speedbar-tag-find)
10914         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10915         (speedbar-buffers-line-directory, speedbar-buffer-click):
10916         Mark unused parameters.
10917         (speedbar-tag-file): Remove unused variable `mode'.
10918         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10920         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10922         * talk.el (talk): Remove unused variable `display'.
10924         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10925         (tar-write-region-annotate): Mark unused parameter.
10927         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10928         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10929         Declare them, wrapped in `with-no-warnings' to avoid replacing one
10930         warning by another.
10932         * time-stamp.el (time-stamp-string-preprocess):
10933         Remove unused variable `require-padding'.
10935         * tree-widget.el (widget-glyph-enable): Declare.
10936         (tree-widget-action): Mark unused parameter.
10938         * w32-fns.el (x-get-selection): Mark unused parameter.
10939         (autoload-make-program, generated-autoload-file): Declare.
10941         * wdired.el (wdired-revert): Mark unused parameters.
10942         (wdired-xcase-word): Remove unused variable `err'.
10944         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10945         (whitespace-help-scroll): Remove unused variable `data-help'.
10947         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10948         (widget-image-insert, widget-after-change, default)
10949         (widget-default-format-handler, widget-default-notify)
10950         (widget-default-prompt-value, widget-info-link-action)
10951         (widget-url-link-action, widget-function-link-action)
10952         (widget-variable-link-action, widget-file-link-action)
10953         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10954         (widget-field-prompt-internal, widget-field-action, widget-field-match)
10955         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10956         (widget-insert-button-action, widget-delete-button-action, visibility)
10957         (widget-documentation-link-action, widget-documentation-string-action)
10958         (widget-const-prompt-value, widget-regexp-match, symbol)
10959         (widget-coding-system-prompt-value)
10960         (widget-key-sequence-value-to-external, sexp)
10961         (widget-sexp-value-to-internal, character, vector, cons)
10962         (widget-choice-prompt-value, widget-boolean-prompt-value)
10963         (widget-color--choose-action): Mark unused parameters.
10964         (widget-item-match-inline, widget-choice-match-inline)
10965         (widget-checklist-match, widget-checklist-match-inline)
10966         (widget-group-match): Rename parameter VALUES to VALS.
10967         (widget-field-value-set): Remove unused variable `size'.
10968         (widget-color-action): Remove unused variables `value' and `start'.
10970         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
10971         variable `dir'.  Doc fix.
10972         (windmove-find-other-window): Don't pass it.
10974         * window.el (count-windows): Mark unused parameter.
10975         (bw-adjust-window): Remove unused variable `err'.
10977         * woman.el (woman-file-name): Remove unused variable `default'.
10978         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10979         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10980         (global-font-lock-mode): Declare.
10981         (woman-decode-region): Mark unused parameter.
10982         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10984         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10985         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10986         (x-dnd-handle-moz-url): Remove unused variable `title'.
10987         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10989         * xml.el (xml-parse-tag, xml-parse-attlist):
10990         Remove unused variable `pos'.
10992 2011-04-19  Glenn Morris  <rgm@gnu.org>
10994         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10995         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10996         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10997         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10998         * calendar/cal-html.el (cal-html-insert-minical):
10999         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11000         (calendar-mark-date-pattern):
11001         Prefix "unused" locals.
11003         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11004         optional argument `style'.
11006         * calendar/appt.el (appt-make-list):
11007         * calendar/cal-china.el (calendar-chinese-date-string):
11008         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11009         (diary-hebrew-yahrzeit):
11010         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11011         * calendar/calendar.el (calendar-generate-window):
11012         * calendar/time-date.el (time-to-days):
11013         Remove unused local variables.
11015 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
11017         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11018         glyphless-char-display table.
11019         (tabulated-list-glyphless-char-display): New var.
11021 2011-04-18  Sam Steingold  <sds@gnu.org>
11023         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11024         to acknowledgments.
11026 2011-04-17  Glenn Morris  <rgm@gnu.org>
11028         * calendar/diary-lib.el (diary-sexp-entry):
11029         * calendar/holidays.el (holiday-sexp):
11030         Set debug-on-error rather than the removed stack-trace-on-error.
11032 2011-04-16  Glenn Morris  <rgm@gnu.org>
11034         * progmodes/f90.el: Use lexical-binding.
11035         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11037 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11039         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11040         (mail-mode): Setup mailalias completion here instead.
11041         * mail/mailalias.el: Use lexical-binding.
11042         (pattern, mailalias-done): Declare dynamic.
11043         (mail-completion-at-point-function): New function, from mail-complete.
11044         (mail-complete): Use it.
11045         (mail-completion-expand): New function.
11046         (mail-get-names): Use it.
11047         (mail-directory, mail-directory-process, mail-directory-stream):
11048         Don't use `pattern' for lexically bound arg.
11050         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11052         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11053         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11054         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11056         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11057         (byte-save-window-excursion, byte-temp-output-buffer-setup)
11058         (byte-interactive-p): Define them again, for use when inlining
11059         old code.
11061 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
11063         * loadup.el: Use `string-to-number', not `string-to-int'.
11065 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11067         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11068         gud-gdb-complete-command.
11069         (gud-gdb-completions): New function, from gud-gdb-complete-command.
11070         (gud-gdb-completion-at-point): New function.
11071         (gud-gdb-completions): Remove.
11073 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
11075         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11076         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
11077         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11078         whether `executable-find' is bound.
11080         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11082 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11084         * minibuffer.el (completion-in-region-mode-predicate)
11085         (completion-in-region-mode--predicate): New vars.
11086         (completion-in-region, completion-in-region--postch)
11087         (completion-in-region-mode): Use them.
11088         (completion--capf-wrapper): Also return the hook function.
11089         (completion-at-point, completion-help-at-point):
11090         Adjust and provide a predicate.
11092         Preserve arg names for advice of subr and lexical functions (bug#8457).
11093         * help-fns.el (help-function-arglist): Consolidate the subr and
11094         new-byte-code cases.  Add argument `preserve-names' to extract names
11095         from the docstring when needed.
11096         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11097         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11098         (ad-arglist): Use help-function-arglist's new arg.
11099         (ad-definition-type): Use cond.
11101 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
11103         * autorevert.el (auto-revert-handler):
11104         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11105         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11106         Don't quote lambda.
11108         * image-mode.el (image-transform-set-scale):
11109         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11111 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11113         * net/network-stream.el (network-stream-open-starttls): Only do
11114         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
11115         Upgrades via gnutls-cli are too slow to be done opportunistically.
11117 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
11119         * dframe.el (dframe-current-frame): Remove spurious quote.
11121 2011-04-12  Glenn Morris  <rgm@gnu.org>
11123         * calendar/cal-tex.el (cal-tex-end-document):
11124         Try to automatically use latin1 input if needed.
11126         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11127         Don't try to cons a mark onto an empty element.
11129 2011-04-11  Leo Liu  <sdl.web@gmail.com>
11131         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11132         buffers.
11133         (ido-kill-buffer-at-head): Support killing virtual buffers.
11135 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
11137         * minibuffer.el (completion-show-inline-help): New var.
11138         (completion--do-completion, minibuffer-complete)
11139         (minibuffer-force-complete, minibuffer-complete-word):
11140         Inhibit minibuffer messages if completion-show-inline-help is nil.
11142         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11143         to avoid interference from inline help (Bug#5849).
11145 2011-04-10  Leo Liu  <sdl.web@gmail.com>
11147         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11148         Fix typo.
11150 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
11152         * image-mode.el (image-toggle-display-image): Signal an error if
11153         not in Image mode.
11154         (image-transform-mode, image-transform-resize)
11155         (image-transform-set-rotation): Doc fix.
11156         (image-transform-set-resize): Delete.
11157         (image-transform-set-scale, image-transform-fit-to-height)
11158         (image-transform-fit-to-width): Handle image-toggle-display-image
11159         and image-transform-resize directly.
11161 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
11163         * doc-view.el (doc-view-fit-width-to-window)
11164         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11165         New functions for fitting the shown image to the Emacs window size.
11166         (doc-view-mode-map): Add bindings for the new functions.
11168 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
11170         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
11171         Fix typo in docstring.
11173 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
11175         * files.el (file-size-human-readable): Produce one digit after
11176         decimal, like "ls -lh" does.
11178         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11179         the file size representation.
11181         * simple.el (list-processes): If async subprocesses are not
11182         available, error out with a clear error message.
11184 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
11186         * help.el (help-form-show): New function, to be called from C.
11187         Put help-form output in a buffer named differently than *Help*.
11189 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
11191         * files.el (file-size-human-readable): New function.
11193         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11194         computing the representation inline.  Don't require `cl'.
11196 2011-04-08  Glenn Morris  <rgm@gnu.org>
11198         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11200         * net/browse-url.el (browse-url-firefox):
11201         Test system-type, not system-configuration.
11203         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11204         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11205         Use log-edit-empty-buffer-p.  (Bug#7598)
11207         * net/rlogin.el (rlogin-process-connection-type): Simplify.
11208         (rlogin-mode-map): Initialize in the defvar.
11209         (rlogin): Use ignore-errors.
11211         * replace.el (occur-mode-map): Some fixes for menu items.
11213 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
11215         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
11217 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
11219         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11220         issuing unused warnings.
11222         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11223         macro directly.
11225         * simple.el: Lisp reimplement of list-processes.  Based on an
11226         earlier reimplementation by Leo Liu, but using tabulated-list.el.
11227         (process-menu-mode): New major mode.
11228         (list-processes--refresh, list-processes):
11229         (process-menu-visit-buffer): New functions.
11231         * files.el (save-buffers-kill-emacs): Don't assume any return
11232         value of list-processes, which is undocumented anyway.
11234 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
11236         * emacs-lisp/tabulated-list.el: New file.
11238         * emacs-lisp/package.el: Use Tabulated List mode.
11239         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11240         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
11241         table format using Tabulated List mode variables.
11242         (package--push): New macro, replacing package-list-maybe-add.
11243         (package-menu--generate): Use package--push.  Renamed from
11244         package--generate-package-list.
11245         (package-menu-refresh, list-packages): Use it.
11246         (package-menu--print-info): Rename from package-print-package.
11247         Return insertion data instead of inserting it directly.
11248         (package-menu-describe-package, package-menu-execute):
11249         Use tabulated-list-get-id.
11250         (package-menu-mark-delete, package-menu-mark-install)
11251         (package-menu-mark-unmark, package-menu-backup-unmark)
11252         (package-menu-mark-obsolete-for-deletion):
11253         Use tabulated-list-put-tag.
11254         (package--list-packages, package-menu-revert)
11255         (package-menu-get-package, package-menu-get-version)
11256         (package-menu-sort-by-column): Functions deleted.
11257         (package-menu-package-list, package-menu-sort-key): Vars deleted.
11258         (package-menu--status-predicate, package-menu--version-predicate)
11259         (package-menu--name-predicate)
11260         (package-menu--description-predicate): Handle arguments in the
11261         Tabulated List format.
11262         (package-list-packages-no-fetch): Call list-packages.
11264 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
11266         * files.el (after-find-file-from-revert-buffer): Remove variable.
11267         (after-find-file): Don't bind it.
11268         (revert-buffer-in-progress-p): New variable.
11269         (revert-buffer): Bind it.
11270         Pass nil for `after-find-file-from-revert-buffer'.
11272         * saveplace.el (save-place-find-file-hook): Use new variable
11273         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11275 2011-04-06  Glenn Morris  <rgm@gnu.org>
11277         * Makefile.in (AUTOGEN_VCS): New variable.
11278         (autoloads): Use $AUTOGEN_VCS.
11280         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11281         * calendar/calendar.el (calendar-mode-map):
11282         Check for toolkit scroll bars.  (Bug#8305)
11284 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
11286         * minibuffer.el (completion-in-region--postch)
11287         (completion-in-region-mode): Remove unnecessary messages.
11289 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
11291         * font-lock.el (font-lock-refresh-defaults):
11292         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11293         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11295         * info.el (Info-directory-list, Info-read-node-name-2)
11296         (Info-split-parameter-string): Doc fixes.
11297         (Info-virtual-nodes): Reflow docstring.
11298         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11299         (Info-apropos-toc-nodes, info-finder, Info-get-token)
11300         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11301         Fix typos in docstrings.
11302         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11303         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11304         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11305         (Info-restore-desktop-buffer): Mark unused parameters.
11306         (Info-directory-find-file, Info-directory-find-node)
11307         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11308         (Info-virtual-index-find-node, Info-apropos-find-file)
11309         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
11310         Mark unused parameters; fix typos in docstrings.
11311         (Info-virtual-index): Remove unused local variable `nodename'.
11313 2011-04-05  Deniz Dogan  <deniz@dogan.se>
11315         * net/rcirc.el: Update my e-mail address.
11316         (rcirc-mode-map): Remove M-o binding.
11318 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
11320         * startup.el (command-line): Save the cursor's theme-face
11321         directly, instead of using face-override-spec.
11323         * custom.el (load-theme): Minor optimization in assigning faces.
11325 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
11327         * help-fns.el (describe-variable): Complete all variables having
11328         documentation, including keywords.
11329         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11331 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
11333         Convert to lexical-binding.
11335         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11336         (bs--get-marked-string, bs--get-modified-string)
11337         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11338         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11339         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11341         * ehelp.el (electric-help-execute-extended)
11342         (electric-help-ctrl-x-prefix):
11343         * hexl.el (hexl-revert-buffer-function):
11344         * linum.el (linum-after-change, linum-after-scroll):
11345         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11347         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11349 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
11351         * epa-dired.el:
11352         * epa-mail.el:
11353         * epa-hook.el:
11354         * epa-file.el:
11355         * epa.el:
11356         * epg.el: Use lexical binding.
11358 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
11360         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11362         * textmodes/flyspell.el (flyspell-word): Recognize default
11363         dictionary case for flyspell-mark-duplications-exceptions.
11364         Use regexp matching for languages.
11365         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11366         default dictionary (Bug#7926).
11368 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
11370         * emacs-lisp/package.el (package--with-work-buffer):
11371         Recognize https URLs.
11373         * net/network-stream.el: Move from gnus/proto-stream.el.
11374         Change prefix to network-stream throughout.
11375         (open-protocol-stream): Merge into open-network-stream, leaving
11376         open-protocol-stream as an alias.  Handle nil BUFFER args.
11378         * subr.el (open-network-stream): Move to net/network-stream.el.
11380 2011-04-02  Glenn Morris  <rgm@gnu.org>
11382         * find-dired.el (find-exec-terminator): New option.
11383         (find-ls-option): Test for -ls support.
11384         (find-ls-subdir-switches): Test for -b in find-ls-option.
11385         (find-dired, find-grep-dired): Doc fixes.
11386         (find-dired): Use find-exec-terminator.
11388         * find-dired.el (find-ls-option, find-ls-subdir-switches)
11389         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11390         (find-name-arg): Remove purecopy.
11392         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11393         (grep-compute-defaults): Check for `-exec COMMAND +' support.
11394         Set grep-find-use-xargs, grep-find-command, and grep-find-template
11395         accordingly.  Don't add the null-device if not needed.
11397         * files.el (save-some-buffers): Doc fix.
11399 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
11401         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11403 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
11405         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11406         Use `dolist' rather than `mapcar'.
11408 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11410         Add lexical binding.
11412         * subr.el (apply-partially): Use new closures rather than CL.
11413         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11414         (dolist, dotimes): Use slightly different expansion for lexical code.
11415         (functionp): Move to C.
11416         (letrec): New macro.
11417         (with-wrapper-hook): Use it and apply-partially instead of CL.
11418         (eval-after-load): Preserve lexical-binding.
11419         (save-window-excursion, with-output-to-temp-buffer): Turn them
11420         into macros.
11422         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11424         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11425         than the arglist.
11426         (help-add-fundoc-usage): Don't add `Not documented'.
11427         (help-function-arglist): Handle closures, subroutines, and new
11428         byte-code-functions.
11429         (help-make-usage): Remove leading underscores.
11430         (describe-function-1): Handle closures.
11431         (describe-variable): Use special-variable-p for completion.
11433         * files.el (lexical-binding): Declare safe.
11435         * emacs-lisp/pcase.el: Don't use destructuring-bind.
11436         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
11437         (pcase): Add `let' pattern.
11438         Change memoization so it actually works.
11439         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11440         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11441         <let>: New case.
11443         * emacs-lisp/macroexp.el: Use lexical binding.
11444         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
11445         Don't convert ' to #' without checking that it's indeed quoting
11446         a lambda.
11448         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
11449         Use eval-sexp-add-defvars.
11450         (eval-sexp-add-defvars): New fun.
11452         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11454         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11455         Don't autoload.
11456         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11457         than the internal `byte-compile-lambda'.
11458         (defmethod): Don't hide code under quotes.
11459         (eieio-defmethod): New `code' argument.
11461         * emacs-lisp/eieio-comp.el: Remove.
11463         * emacs-lisp/edebug.el (edebug-eval-defun)
11464         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11465         (edebug-toggle): Avoid `eval'.
11467         * emacs-lisp/disass.el (disassemble-internal): Handle new
11468         `closure' objects.
11469         (disassemble-1): Handle new byte codes.
11471         * emacs-lisp/cl.el (pushnew): Silence warning.
11473         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11474         (cl-byte-compile-throw): Remove.
11475         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11477         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11478         closures.
11480         * emacs-lisp/cconv.el: New file.
11482         * emacs-lisp/bytecomp.el: Use lexical binding instead of
11483         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
11484         (byte-compile-initial-macro-environment):
11485         Handle declare-function here.
11486         (byte-compile--lexical-environment): New var.
11487         (byte-stack-ref, byte-stack-set, byte-discardN)
11488         (byte-discardN-preserve-tos): New lap codes.
11489         (byte-interactive-p): Don't use any more.
11490         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11491         New macros.
11492         (byte-compile-lapcode): Use them and handle new lap codes.
11493         (byte-compile-obsolete): Remove.
11494         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11495         (byte-compile-arglist-warn): Check late def of inlinable funs.
11496         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11497         since they should have been expanded by now.
11498         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11499         (byte-compile-from-buffer): Remove unused second arg.
11500         (byte-compile-preprocess): New function.
11501         (byte-compile-toplevel-file-form): New function to distinguish
11502         file-form calls from outside from file-form calls from hunk-handlers.
11503         (byte-compile-file-form): Simplify.
11504         (byte-compile-file-form-defsubst): Remove.
11505         (byte-compile-file-form-defmumble): Simplify now that
11506         byte-compile-lambda always returns a byte-code-function.
11507         (byte-compile): Preprocess.
11508         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11509         Remove, not used any more.
11510         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11511         (byte-compile-make-args-desc): New funs.
11512         (byte-compile-lambda): Handle lexical functions.  Always return
11513         a byte-code-function.
11514         (byte-compile-reserved-constants): New var, to make up room for
11515         closed-over variables.
11516         (byte-compile-constants-vector): Obey it.
11517         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11518         (byte-compile-macroexpand-declare-function): New function.
11519         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11520         byte-code-functions.
11521         (byte-compile-form): Check obsolescence here.
11522         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11523         (byte-compile-variable-ref): Remove.
11524         (byte-compile-dynamic-variable-op): New fun.
11525         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11526         (byte-compile-variable-set): New funs.
11527         (byte-compile-discard): Add 2 args.
11528         (byte-compile-stack-ref, byte-compile-stack-set)
11529         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11530         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11531         macroexpand-all instead.
11532         (byte-compile-quote-form): Remove.
11533         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11534         (byte-compile-bind, byte-compile-unbind): New funs.
11535         (byte-compile-let): Handle let* and lexical binding.
11536         (byte-compile-let*): Remove.
11537         (byte-compile-catch, byte-compile-unwind-protect)
11538         (byte-compile-track-mouse, byte-compile-condition-case):
11539         Handle a new :fun-body form, used for lexical scoping.
11540         (byte-compile-save-window-excursion)
11541         (byte-compile-with-output-to-temp-buffer): Remove.
11542         (byte-compile-defun): Simplify.
11543         (byte-compile-stack-adjustment): New fun.
11544         (byte-compile-out): Use it.
11545         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11547         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11548         handler any more.
11550         * emacs-lisp/byte-opt.el: Use lexical binding.
11551         (byte-inline-lapcode): Remove (to bytecomp).
11552         (byte-compile-inline-expand): Pay attention to inlining to/from
11553         lexically bound code.
11554         (byte-compile-unfold-lambda): Don't handle byte-code-functions
11555         any more.
11556         (byte-optimize-form-code-walker): Don't handle save-window-excursion
11557         any more and don't call compiler-macros.
11558         (byte-compile-splice-in-already-compiled-code): Remove.
11559         (byte-code): Don't inline any more.
11560         (disassemble-offset): Receive `bytes' as argument rather than via
11561         dynamic scoping.
11562         (byte-compile-tag-number): Declare before first use.
11563         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11564         `return' even if make-spliceable.
11565         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11566         obsolete interactive-p.
11567         (byte-optimize-lapcode): Optimize new lap-codes.
11568         Don't trip up on new form of `byte-constant' lap code.
11570         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11572         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11574         * custom.el (custom-initialize-default, custom-declare-variable):
11575         Use `defvar'.
11577         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11578         New variables.
11579         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11580         (COMPILE_FIRST): Add macroexp and cconv.
11581         * makefile.w32-in: Mirror changes in Makefile.in.
11583         * vc/cvs-status.el:
11584         * vc/diff-mode.el:
11585         * vc/log-edit.el:
11586         * vc/log-view.el:
11587         * vc/smerge-mode.el:
11588         * textmodes/bibtex-style.el:
11589         * textmodes/css.el:
11590         * startup.el:
11591         * uniquify.el:
11592         * minibuffer.el:
11593         * newcomment.el:
11594         * reveal.el:
11595         * server.el:
11596         * mpc.el:
11597         * emacs-lisp/smie.el:
11598         * doc-view.el:
11599         * dired.el:
11600         * abbrev.el: Use lexical binding.
11602 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
11604         * info.el (info-display-manual): New function.
11606 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11608         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11610 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
11612         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
11613         an entry for that server in rcirc-authinfo.  (Bug#8385)
11615 2011-03-31  Glenn Morris  <rgm@gnu.org>
11617         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11619         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11621 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
11623         * progmodes/python.el (python-default-interpreter)
11624         (python-python-command-args, python-jython-command-args)
11625         (python-which-shell, python-which-args, python-which-bufname)
11626         (python-file-queue, python-comint-output-filter-function)
11627         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11628         variables and functions.
11630 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
11632         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11633         (completion-in-region-mode): New minor mode.
11634         (completion-in-region): Use it.
11635         (completion-in-region--data, completion-in-region-mode-map): New vars.
11636         (completion-in-region--postch): New function.
11637         (completion--capf-misbehave-funs, completion--capf-safe-funs):
11638         New vars.
11639         (completion--capf-wrapper): New function.
11640         (completion-at-point): Use it to track well-behavedness of
11641         hook functions.
11642         (completion-help-at-point): New command.
11644 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
11646         * vc/add-log.el (add-change-log-entry): Don't use whitespace
11647         syntax class to search for whitespace on a single line
11648         (Message-ID: <4D938140.4030905@redhat.com>).
11650 2011-03-30  Leo Liu  <sdl.web@gmail.com>
11652         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11653         New commands.
11654         (edit-abbrevs-map): Bind them here.
11655         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
11657 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
11659         * allout.el (allout-hide-by-annotation, allout-flag-region):
11660         Reduce possibility of overlay leakage by making them volatile.
11662         * allout-widgets.el (allout-widgets-tally): Define as nil so the
11663         hash is not shared between buffers.  Mode initialization is
11664         responsible for giving it a useful starting value.
11665         (allout-item-span): Reduce possibility of overlay leakage by
11666         making them volatile.
11667         (allout-widgets-count-buttons-in-region): Add diagnostic function
11668         for tracking down button overlay leaks.
11670 2011-03-29  Leo Liu  <sdl.web@gmail.com>
11672         * ido.el (ido-read-internal): Use the default history var
11673         minibuffer-history if no HISTORY is specified.
11675 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
11677         * net/imap.el (imap-shell-open, imap-process-connection-type):
11678         Use imap-process-connection-type for 'shell' streams as well as
11679         Kerberos, SSL, other subprocesses.
11681 2011-03-28  Leo Liu  <sdl.web@gmail.com>
11683         * abbrev.el (abbrev-table-empty-p): New function.
11684         (prepare-abbrev-list-buffer): Place empty abbrev tables after
11685         nonempty ones.  (Bug#5937)
11687 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
11689         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11691 2011-03-27  Leo Liu  <sdl.web@gmail.com>
11693         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11694         for foreground and background colors.
11695         (ansi-color-make-color-map): Adapt.
11697 2011-03-25  Leo Liu  <sdl.web@gmail.com>
11699         * midnight.el (midnight-time-float): Remove.  Note it calculates
11700         the microsecond component incorrectly and seconds-to-time does the
11701         same job.
11702         Remove redundant (require 'timer).
11704         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11705         (ido-completions): Remove unused arguments.  (Bug#8329)
11707 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11709         * minibuffer.el (completion--flush-all-sorted-completions):
11710         Remove itself from hook.
11711         (completion-at-point): Let the functions perform the completion
11712         immediately and return nil or t.
11713         * comint.el (comint-dynamic-complete-functions): Now identical to
11714         completion-at-point-functions.
11715         (comint-dynamic-list-input-ring): Remove unused var `index'.
11716         (comint--match-partial-filename, comint--unquote&expand-filename):
11717         New funs, split from comint-match-partial-filename.
11718         (comint-dynamic-complete): Use completion-at-point.
11719         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11721 2011-03-24  Drew Adams  <drew.adams@oracle.com>
11723         * thingatpt.el: Support `defun'.
11725 2011-03-23  Leo Liu  <sdl.web@gmail.com>
11727         * abbrevlist.el: Move to obsolete/abbrevlist.el.
11729         * help-mode.el (help-mode-finish): Tweak regexp.
11731 2011-03-23  Glenn Morris  <rgm@gnu.org>
11733         * eshell/esh-opt.el (eshell-eval-using-options):
11734         Do not bind unused local variable `eshell-option-stub'.
11736         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11738 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
11740         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11741         keymap variable in `with-no-warnings' to avoid a warning when the
11742         keymap has been already `defconst'ed.
11744 2011-03-22  Leo Liu  <sdl.web@gmail.com>
11746         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11747         encode all chars in abbrevs; otherwise use emacs-mule or
11748         utf-8-emacs.  (Bug#8308)
11750 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
11752         * simple.el (backward-delete-char-untabify):
11753         Avoid warning about using `delete-backward-char'.
11755         * image.el (image-type-file-name-regexps): Make it variable.
11756         `imagemagick-register-types' modifies it, and the user may want
11757         to add new extensions for known image types.
11758         (imagemagick-register-types): Throw error if not using ImageMagick.
11760 2011-03-22  Leo Liu  <sdl.web@gmail.com>
11762         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11763         located before rcirc-prompt-end-marker.
11764         (rcirc-complete): Error if point is not after rcirc prompt.
11765         Handle the case when table is nil.
11766         (rcirc-user-authenticated): Define to fix compiler warning.
11768 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
11770         * custom.el (custom--inhibit-theme-enable): Make it affect only
11771         custom-theme-set-variables and custom-theme-set-faces.
11772         (provide-theme): Ignore custom--inhibit-theme-enable.
11773         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11774         (custom-enabling-themes): Delete variable.
11775         (enable-theme): Accept only loaded themes as arguments.
11776         Ignore the special custom-enabled-themes variable.
11777         (custom-enabled-themes): Forbid themes from setting this.
11778         Eliminate use of custom-enabling-themes.
11779         (custom-push-theme): Quote "changed" custom var entry.
11781 2011-03-21  Leo Liu  <sdl.web@gmail.com>
11783         * ido.el (ido-read-internal): Add ido-selected to history instead
11784         of user input.
11786 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11788         * subr.el (deferred-action-list, deferred-action-function):
11789         Mark obsolete.
11791 2011-03-21  Leo Liu  <sdl.web@gmail.com>
11793         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11794         change on 2011-02-13 (bug#8309).
11796         * minibuffer.el (read-file-name-function): Change default value.
11797         (read-file-name--defaults): Rename from read-file-name-defaults.
11798         (read-file-name-default): Rename from read-file-name.
11799         (read-file-name): Call read-file-name-function.
11801 2011-03-21  Glenn Morris  <rgm@gnu.org>
11803         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11804         Doc fixes.
11806 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
11808         * cus-theme.el: Add missing provide statement.
11809         (customize-create-theme): Extract theme value correctly.
11810         (custom-theme-visit-theme): Autoload.
11811         (customize-create-theme): Prompt before inserting default faces.
11813 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
11815         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11816         units and musical notes.
11818 2011-03-20  Leo Liu  <sdl.web@gmail.com>
11820         * ido.el (ido-read-internal): Use completing-read-default.
11821         (ido-completing-read): Fix compatibility with completing-read.
11823 2011-03-20  Christian Ohler  <ohler@gnu.org>
11825         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11826         (ert-delete-all-tests): Use `called-interactively-p' rather than
11827         `interactive-p'.
11828         (ert--make-xrefs-region): Respect END.
11830 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
11832         * dired-aux.el (dired-create-directory): Signal an error if the
11833         directory already exists (Bug#8246).
11835         * facemenu.el (list-colors-display): Call list-faces-display
11836         inside with-help-window.
11837         (list-colors-print): Use display property to align the final
11838         column, instead of checking window-width.
11840 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
11842         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
11843         windows-nt systems.
11844         (emerge-protect-metachars): Quote correctly for ms-dos and
11845         windows-nt systems.
11847 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
11849         * info.el (info-initialize): Replace all uses of `:' with
11850         path-separator for compatibility with non-Unix systems.
11851         Cache quoting of path-separator.  (Bug#8258)
11853 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
11855         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11856         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11857         (mouse-avoidance-mode): Fix typos in docstrings.
11859 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
11861         * startup.el (package-subdirectory-regexp): Move from package.el.
11862         Omit \\` and \\', and let callers add them.
11864         * emacs-lisp/package.el (package-strip-version)
11865         (package-load-all-descriptors): Add \\` and \\' to
11866         package-subdirectory-regexp before using it.
11867         (package-untar-buffer): New arg DIR; ensure that file untars only
11868         into this expected directory.  Remove superfluous delete-region.
11869         (package-unpack): Caller changed.
11870         (package-tar-file-info): Use package-subdirectory-regexp.
11872 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11874         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11875         diff-mode-shared-map (bug#8284).
11876         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
11878 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11880         * calendar/time-date.el (format-seconds): Use assoc instead of
11881         assoc-string, since assoc-string doesn't exist in XEmacs.
11883 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
11885         * custom.el (custom-known-themes): Reflow docstring.
11886         (custom-theme-load-path): Fix typo in docstring.
11887         (load-theme): Fix typo in error message.
11888         (custom-available-themes, custom-variable-theme-value):
11889         Use `let', not `let*'.
11891 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
11893         * calc/README: Mention inclusion of musical notes.
11895         * calc/calc-units.el (calc-lu-quant): Rename from
11896         `calc-logunits-quantity'.
11897         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11898         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11899         (calc-db): Rename from `calc-dblevel'.
11900         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11901         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11902         (calc-np): Rename from `calc-nplevel'.
11903         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11904         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11905         (calc-lu-plus): Rename from `calc-logunits-add'.
11906         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11907         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11908         (calc-lu-minus): Rename from `calc-logunits-sub'.
11909         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11910         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11911         (calc-lu-times): Rename from `calc-logunits-mul'.
11912         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11913         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11914         (calc-lu-divide): Rename from `calc-logunits-div'.
11915         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11916         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11918         * calc/calc-ext.el (calc-init-extensions): Update the names of the
11919         functions being autoloaded.
11921         * calc/calc.el (calc-lu-power-reference): Rename from
11922         `calc-logunits-power-reference'.
11923         (calc-lu-field-reference): Rename from
11924         `calc-logunits-field-reference'.
11926         * calc/calc-help.el (calc-l-prefix-help):
11927         Mention musical note functions.
11929 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11931         * minibuffer.el (completion-all-sorted-completions):
11932         Use :completion-cycle-penalty text property if present.
11934 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
11936         * allout.el (allout-yank-processing): Adjust for new rebulleting
11937         regime so bullet being yanked is used without prompting the user
11938         for a choice.
11940 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
11942         * startup.el (command-line): Warn the user that _emacs is deprecated.
11944 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
11946         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11947         (delphi-verbose, delphi-comment-face, delphi-string-face)
11948         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11949         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11950         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11951         (delphi-new-comment-line, delphi-font-lock-defaults)
11952         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11953         Fix typos in docstrings.
11955 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
11957         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
11958         Invert the roles of character and string values for INSTEAD, so a
11959         string is used for the more common case of a defaulting prompt.
11961 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11963         * progmodes/ruby-mode.el (ruby-backward-sexp):
11964         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11965         * play/gamegrid.el (gamegrid-make-face):
11966         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11967         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11968         * notifications.el (notifications-notify):
11969         * net/xesam.el (xesam-search-engines):
11970         * net/quickurl.el (quickurl-list-insert):
11971         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11973 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
11975         * startup.el (command-line): Update package subdirectory regexp.
11977 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11979         * allout.el (allout-abbreviate-flattened-numbering)
11980         (allout-mode-deactivate-hook): Fix up obsolescence "date".
11982         * subr.el (read-char-choice): Only show the cursor after the prompt,
11983         not after the answer.
11985 2011-03-15  Kevin Ryde  <user42@zip.com.au>
11987         * help-fns.el (variable-at-point): Skip leading quotes, if any
11988         (bug#8253).
11990 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11992         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11993         warning message.
11995 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
11997         * shell.el (shell): When called interactively, offer to change the
11998         shell file name on remote hosts.
12000 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
12002         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12003         integration for LDAP parameters.  The host, base, user or binddn,
12004         and secret tokens can be specified in a netrc file, for instance.
12005         This is optional because an `auth-source' parameter must be
12006         specified in the search attributes.
12008 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
12010         * help.el (describe-mode): Link to the mode's definition (bug#8185).
12012 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12014         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12015         into declaration.  Remove redundant and harmful binding.
12017 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
12019         * files.el (file-ownership-preserved-p): Pass `integer' as an
12020         explicit 2nd argument to `file-attributes'.  If the file's owner
12021         is the Administrators group on Windows, and the current user is
12022         Administrator, consider that a match.
12024         * server.el (server-ensure-safe-dir): Consider server directory
12025         safe on MS-Windows if its owner is the Administrators group while
12026         the current Emacs user is Administrator.  Use `=' to compare
12027         numerical UIDs, since they could be integers or floats.
12029 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
12031         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12033 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
12035         Sync with Tramp 2.2.1.
12037         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12039         * net/trampver.el: Update release number.
12041 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12043         * progmodes/compile.el (compilation--previous-directory): Fix up
12044         various nil/dead-marker mismatches (bug#8014).
12045         (compilation-directory-properties, compilation-error-properties):
12046         Don't call it at a position past the one we're about to change.
12048         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12049         Disable obsolescence warnings in the file that declares it.
12051 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
12053         * allout-widgets.el (allout-widgets-tally):
12054         Initialize allout-widgets-tally as a hash table rather than nil to
12055         prevent mode-line redisplay warnings.  Also, clarify the module
12056         description and fix a comment typo.
12058 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
12060         * help-fns.el (describe-variable): Don't complete keywords.
12061         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12063 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
12065         * emacs-lisp/package.el (package-version-join): Impose a standard
12066         string representation for pre/alpha/beta version lists.
12067         (package-unpack-single): Standardize the directory name by passing
12068         it through package-version-join.
12069         (package-strip-rcs-id): Accept any version string that does not
12070         signal an error in version-to-list.
12072 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
12074         * simple.el (delete-trailing-whitespace): Return nil for the
12075         benefit of `write-file-functions'.
12077 2011-03-10  Glenn Morris  <rgm@gnu.org>
12079         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12081         * vc/vc-git.el (vc-git-program): New option.
12082         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12083         (vc-git--call): Use it.
12085         * eshell/esh-util.el (eshell-condition-case): Doc fix.
12087         * cus-edit.el (Custom-newline): If no button at point, look
12088         for a subgroup button at start-of-line.  (Bug#2298)
12090         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12092 2011-03-10  Julien Danjou  <julien@danjou.info>
12094         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12095         `cursor-type' is nil.
12097 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
12099         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12101 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
12103         * allout.el: Change so yank of distinctive-bullet items
12104         preserves the existing header prefix, rebulleting it if necessary,
12105         rather than replacing it.  This is necessary for proper operation
12106         of cooperative addons like allout-widgets.
12107         (allout-make-topic-prefix, allout-rebullet-heading):
12108         Change SOLICIT arg to INSTEAD, and interpret additionally a string
12109         value as alternate bullet to be used, instead of prompting the user
12110         for a bullet character.
12112 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
12114         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12115         Do not use `tramp-file-name-port', because this returns also
12116         `tramp-default-port'.
12118 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
12120         * net/rcirc.el (rcirc-handler-001): Remove useless
12121         with-rcirc-process-buffer.
12122         (rcirc-check-auth-status): Swap arguments to string-match.
12124 2011-03-09  Glenn Morris  <rgm@gnu.org>
12126         * shell.el (shell-mode):
12127         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
12129         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12130         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
12132 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
12134         * emacs-lisp/package.el (package-refresh-contents)
12135         (package-menu-execute): Use condition-case-no-debug.
12137 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
12139         * simple.el (shell-command-to-string): Use `process-file'.
12141         * emacs-lisp/package.el (package-tar-file-info): Handle also
12142         remote files.
12144         * emacs-lisp/package-x.el (package-upload-buffer-internal):
12145         Use `equal' for upload base check.
12147 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
12149         * textmodes/texinfo.el (texinfo-environments):
12150         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
12152 2011-03-08  Glenn Morris  <rgm@gnu.org>
12154         * cus-start.el (cursor-in-non-selected-windows):
12155         Fix :set quoting oddness.  (Bug#8192)
12157         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12158         in some setf expressions.  (Bug#2159)
12160 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
12162         * custom.el (custom-available-themes): Return themes in
12163         alphabetical order.
12165 See ChangeLog.15 for earlier changes.
12167 ;; Local Variables:
12168 ;; coding: utf-8
12169 ;; End:
12171   Copyright (C) 2011-2012  Free Software Foundation, Inc.
12173   This file is part of GNU Emacs.
12175   GNU Emacs is free software: you can redistribute it and/or modify
12176   it under the terms of the GNU General Public License as published by
12177   the Free Software Foundation, either version 3 of the License, or
12178   (at your option) any later version.
12180   GNU Emacs is distributed in the hope that it will be useful,
12181   but WITHOUT ANY WARRANTY; without even the implied warranty of
12182   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12183   GNU General Public License for more details.
12185   You should have received a copy of the GNU General Public License
12186   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.